Run it
Copy the script and paste it into your executor.
--[[
Gui2Lua™
10zOfficial
Version 1.0.0
]]
-- Instances
local ScreenGui = Instance.new("ScreenGui")
local TextButton = Instance.new("TextButton")
-- Properties
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
TextButton.Parent = ScreenGui
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
TextButton.BorderColor3 = .(, , )
TextButton.BorderSizePixel =
TextButton.Position = .(, , , )
TextButton.Size = .(, , , )
TextButton.Font = .Font.SourceSans
TextButton.Text =
TextButton.TextColor3 = .(, , )
TextButton.TextSize =
TextButton.MouseButton1Click:(()
remote = .()
remote.Parent = .ReplicatedStorage
remote.Name =
remote:()
()
(:())()
)
UserInputService = :()
gui = TextButton
dragging
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
gui.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
gui.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = gui.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
gui.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
e

Universal