Advertisement
Hellotop2

Untitled

Feb 9th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. wait(1)
  2. -- Objects
  3.  
  4. local JailbreakBypass = Instance.new("ScreenGui")
  5. local Back_ground = Instance.new("Frame")
  6. local speed_button = Instance.new("TextButton")
  7. local gravity_button = Instance.new("TextButton")
  8. local ver_sion = Instance.new("TextLabel")
  9.  
  10. -- Properties
  11.  
  12. JailbreakBypass.Name = "JailbreakBypass"
  13. JailbreakBypass.Parent = game.CoreGui
  14. JailbreakBypass.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Back_ground.Name = "Back_ground"
  17. Back_ground.Parent = JailbreakBypass
  18. Back_ground.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  19. Back_ground.BorderSizePixel = 0
  20. Back_ground.Position = UDim2.new(0.334793478, 0, 0.465301484, 0)
  21. Back_ground.Size = UDim2.new(0, 313, 0, 133)
  22.  
  23. speed_button.Name = "speed_button"
  24. speed_button.Parent = Back_ground
  25. speed_button.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  26. speed_button.BorderSizePixel = 0
  27. speed_button.Position = UDim2.new(0.0990415365, 0, 0.353383452, 0)
  28. speed_button.Size = UDim2.new(0, 114, 0, 38)
  29. speed_button.Font = Enum.Font.SourceSansLight
  30. speed_button.Text = "Speed"
  31. speed_button.TextColor3 = Color3.new(1, 1, 1)
  32. speed_button.TextScaled = true
  33. speed_button.TextSize = 14
  34. speed_button.TextWrapped = true
  35.  
  36. gravity_button.Name = "gravity_button"
  37. gravity_button.Parent = Back_ground
  38. gravity_button.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  39. gravity_button.BorderSizePixel = 0
  40. gravity_button.Position = UDim2.new(0.536741197, 0, 0.353383452, 0)
  41. gravity_button.Size = UDim2.new(0, 114, 0, 38)
  42. gravity_button.Font = Enum.Font.SourceSansLight
  43. gravity_button.Text = "Gravity"
  44. gravity_button.TextColor3 = Color3.new(1, 1, 1)
  45. gravity_button.TextScaled = true
  46. gravity_button.TextSize = 14
  47. gravity_button.TextWrapped = true
  48.  
  49. ver_sion.Name = "ver_sion"
  50. ver_sion.Parent = Back_ground
  51. ver_sion.BackgroundColor3 = Color3.new(1, 1, 1)
  52. ver_sion.BackgroundTransparency = 1
  53. ver_sion.Position = UDim2.new(0, 0, 0.812030077, 0)
  54. ver_sion.Size = UDim2.new(0, 108, 0, 25)
  55. ver_sion.Font = Enum.Font.SourceSansLight
  56. ver_sion.Text = "v0.0.1"
  57. ver_sion.TextColor3 = Color3.new(0, 0, 0)
  58. ver_sion.TextScaled = true
  59. ver_sion.TextSize = 14
  60. ver_sion.TextWrapped = true
  61. ver_sion.TextXAlignment = Enum.TextXAlignment.Left
  62. speed_button.MouseButton1Click:connect(function()
  63. _G.WS = 100;
  64. local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
  65. Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  66. Humanoid.WalkSpeed = _G.WS;
  67. end)
  68. Humanoid.WalkSpeed = _G.WS;
  69. end)
  70. gravity_button.MouseButton1Click:connect(function()
  71. workspace.Gravity = 42
  72. end)
  73. local UserInputService,gui,dragging,dragInput,dragStart,startPos = game:GetService("UserInputService"),Back_ground
  74.  
  75. local function update(input)
  76. local delta = input.Position - dragStart
  77. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  78. end
  79.  
  80. gui.InputBegan:Connect(function(input)
  81. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  82. dragging = true
  83. dragStart = input.Position
  84. startPos = gui.Position
  85.  
  86. input.Changed:Connect(function()
  87. if input.UserInputState == Enum.UserInputState.End then
  88. dragging = false
  89. end
  90. end)
  91. end
  92. end)
  93.  
  94. gui.InputChanged:Connect(function(input)
  95. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  96. dragInput = input
  97. end
  98. end)
  99.  
  100. UserInputService.InputChanged:Connect(function(input)
  101. if input == dragInput and dragging then
  102. update(input)
  103. end
  104. end)
  105. while wait() do
  106. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  107. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  108. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  109. local color = Color3.new(r, g, b)
  110. gravity_button.BackgroundColor3 = color
  111. speed_button.BackgroundColor3 = color
  112. ver_sion.TextColor3 = color
  113. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement