Universal Script 📌
12.6k Views
66 Executions

Chatgpt executer

Universal Script 📌
Glitchplayer20
Glitchplayer20Published 5
3 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This was made by chatgpt

Updates

  1. Script edited: Create script

View Raw
-- Function to make GUI draggable
local function makeDraggable(gui)
    local dragging
    local dragInput
    local dragStart
    local startPos
    
    local function update(input)
        local delta = input.Position - dragStart
        gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
    
    gui.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = gui.Position
            
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then
                    dragging = false
                end
            end)
        end
    end)
    
    gui.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
    
    game:GetService("UserInputService").InputChanged:Connect(function(input)
        if input == dragInput and dragging then
            update(input)
        end
    end)
end

-- Function to create GUI with message at the bottom


Comments

2
Log in to join the conversation. Login
ThunderMods's profile picture
ThunderModsOwner
Owner Badge
Owner
Keyless Script Creator Badge
Keyless Script Creator
Verified Badge
Verified User
3 years ago(edited)

Please stop uploading thumbnails unrelated to Roblox. Those posts are deleted and repeated offenses will get you banned from our platform.

2
SandDune's profile picture
SandDune3 years ago(edited)

"I CAN'T PICK UP MY PHONE ANYMORE"

1