Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local Frame_2 = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.0891622081, 0, 0.345161289, 0)
- Frame.Size = UDim2.new(0, 275, 0, 83)
- UICorner.Parent = Frame
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.fromRGB(112, 255, 35)
- Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0.121107295, 0, 0.129411772, 0)
- Frame_2.Size = UDim2.new(0, 215, 0, 60)
- UICorner_2.Parent = Frame_2
- TextButton.Parent = Frame_2
- TextButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0426600911, 0, 0.0870966762, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.FredokaOne
- TextButton.Text = "Edit Bypass"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 29.000
- UICorner_3.Parent = TextButton
- -- Scripts:
- local function TFSQWYG_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- function a()
- game.Players.LocalPlayer.PlayerGui.CanEdit.Value = true
- end
- b= script.Parent
- b.MouseButton1Click:Connect(a)
- end
- coroutine.wrap(TFSQWYG_fake_script)()
- local function KGNAEI_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- 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)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(KGNAEI_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement