Advertisement
erfecdwxsthgevfcd

Untitled

Jan 20th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13.  
  14. Frame.Parent = ScreenGui
  15. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  16. Frame.Position = UDim2.new(0.245548263, 0, 0.24857685, 0)
  17. Frame.Size = UDim2.new(0, 126, 0, 182)
  18.  
  19. TextButton.Parent = Frame
  20. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21. TextButton.Position = UDim2.new(0.111111112, 0, 0.401098907, 0)
  22. TextButton.Size = UDim2.new(0, 98, 0, 50)
  23. TextButton.Font = Enum.Font.SourceSans
  24. TextButton.Text = "Speed"
  25. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  26. TextButton.TextSize = 14.000
  27.  
  28. -- Scripts:
  29.  
  30. local function PKKYJAS_fake_script() -- Frame.draggable
  31. local script = Instance.new('Script', Frame)
  32.  
  33. local frame = script.Parent.Parent.Frame -- change riskexeui to whatever frame you want to make draggable
  34.  
  35. frame.Draggable = true
  36. frame.Selectable = true
  37. frame.Active = true
  38. frame.RobloxLocked = false
  39. end
  40. coroutine.wrap(PKKYJAS_fake_script)()
  41. local function LXSJ_fake_script() -- TextButton.Script
  42. local script = Instance.new('Script', TextButton)
  43.  
  44. script.Parent.MouseButton1Click:Connect(function()
  45. game.Players.FireTheMan789.Character.Humanoid.WalkSpeed = 250
  46. end)
  47. end
  48. coroutine.wrap(LXSJ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement