Advertisement
123456789qwerty

Super Power Training Simulator GUI

Dec 16th, 2018
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.18 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Open = Instance.new("TextButton")
  3. local Frame = Instance.new("Frame")
  4. local SuperPowerTrainingSimulator = Instance.new("TextLabel")
  5. local AFKAUTOFARM = Instance.new("TextButton")
  6. local TextLabel = Instance.new("TextLabel")
  7. --Properties:
  8. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  9.  
  10. Open.Name = "Open"
  11. Open.Parent = ScreenGui
  12. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  13. Open.BorderSizePixel = 3
  14. Open.Position = UDim2.new(0, 0, 0.364864856, 0)
  15. Open.Size = UDim2.new(0, 141, 0, 50)
  16. Open.Font = Enum.Font.ArialBold
  17. Open.Text = "Open"
  18. Open.TextColor3 = Color3.new(0, 0, 0)
  19. Open.TextSize = 14
  20.  
  21. Frame.Parent = ScreenGui
  22. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  23. Frame.BorderSizePixel = 4
  24. Frame.Position = UDim2.new(0.212445006, 0, 0.449631453, 0)
  25. Frame.Size = UDim2.new(0, 337, 0, 145)
  26. Frame.Visible = false
  27.  
  28. SuperPowerTrainingSimulator.Name = "Super Power Training Simulator"
  29. SuperPowerTrainingSimulator.Parent = Frame
  30. SuperPowerTrainingSimulator.BackgroundColor3 = Color3.new(1, 1, 1)
  31. SuperPowerTrainingSimulator.BackgroundTransparency = 1
  32. SuperPowerTrainingSimulator.Position = UDim2.new(0.112878323, 0, -0.0413793139, 0)
  33. SuperPowerTrainingSimulator.Size = UDim2.new(0, 260, 0, 47)
  34. SuperPowerTrainingSimulator.Font = Enum.Font.ArialBold
  35. SuperPowerTrainingSimulator.Text = " Super Power Training Simulator"
  36. SuperPowerTrainingSimulator.TextColor3 = Color3.new(0, 0, 0)
  37. SuperPowerTrainingSimulator.TextSize = 20
  38.  
  39. AFKAUTOFARM.Name = "AFK AUTO FARM"
  40. AFKAUTOFARM.Parent = Frame
  41. AFKAUTOFARM.BackgroundColor3 = Color3.new(1, 1, 1)
  42. AFKAUTOFARM.BorderSizePixel = 3
  43. AFKAUTOFARM.Position = UDim2.new(0.201780409, 0, 0.324137926, 0)
  44. AFKAUTOFARM.Size = UDim2.new(0, 200, 0, 50)
  45. AFKAUTOFARM.Font = Enum.Font.ArialBold
  46. AFKAUTOFARM.Text = "AFK AUTO FARM"
  47. AFKAUTOFARM.TextColor3 = Color3.new(0, 0, 0)
  48. AFKAUTOFARM.TextSize = 18
  49. AFKAUTOFARM.MouseButton1Down:connect(function()
  50. _G.toggle = true --true ON | false OFF
  51. while _G.toggle do
  52. wait()
  53. local A =
  54. {
  55. [1] = "+JF1"
  56. }
  57. local AA = game:GetService("ReplicatedStorage").RemoteEvent
  58. AA:FireServer(A)
  59. wait()
  60. local B =
  61. {
  62. [1] = "+MS1"
  63. }
  64. local BB = game:GetService("ReplicatedStorage").RemoteEvent
  65. BB:FireServer(B)
  66. wait()
  67. local C =
  68. {
  69. [1] = "+FS1"
  70. }
  71. local CC = game:GetService("ReplicatedStorage").RemoteEvent
  72. CC:FireServer(C)
  73. wait()
  74. local D =
  75. {
  76. [1] = "+BT1"
  77. }
  78. local DD = game:GetService("ReplicatedStorage").RemoteEvent
  79. DD:FireServer(D)
  80. wait()
  81. local E =
  82. {
  83. [1] = "+PP1"
  84. }
  85. local EE = game:GetService("ReplicatedStorage").RemoteEvent
  86. EE:FireServer(E)
  87. wait()
  88. local F =
  89. {
  90. [1] = "+FS2"
  91. }
  92. local FF = game:GetService("ReplicatedStorage").RemoteEvent
  93. FF:FireServer(F)
  94. wait()
  95. local G =
  96. {
  97. [1] = "+FS3"
  98. }
  99. local GG = game:GetService("ReplicatedStorage").RemoteEvent
  100. GG:FireServer(G)
  101. end
  102. end)
  103.  
  104. TextLabel.Parent = Frame
  105. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  106. TextLabel.BackgroundTransparency = 1
  107. TextLabel.Position = UDim2.new(0.201780424, 0, 0.806896567, 0)
  108. TextLabel.Size = UDim2.new(0, 200, 0, 28)
  109. TextLabel.Font = Enum.Font.Fantasy
  110. TextLabel.Text = "Credit to (Bet) Made The Script"
  111. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  112. TextLabel.TextSize = 14
  113. -- Scripts:
  114. function SCRIPT_XVGS72_FAKESCRIPT() -- Open.LocalScript
  115. getfenv().script = Instance.new('LocalScript', Open)
  116.  
  117. script.Parent.MouseButton1Click:connect(function()
  118. if script.Parent.Parent.Frame.Visible == false then
  119. script.Parent.Parent.Frame.Visible = true
  120. script.Parent.Text = 'Close'
  121.  
  122. else
  123. script.Parent.Parent.Frame.Visible = false
  124. end script.Parent.Text = 'Open'
  125. end)
  126.  
  127. end
  128. coroutine.resume(coroutine.create(SCRIPT_XVGS72_FAKESCRIPT))
  129. function SCRIPT_YNGB76_FAKESCRIPT() -- Frame.LocalScript
  130. getfenv().script = Instance.new('LocalScript', Frame)
  131.  
  132. local UserInputService = game:GetService("UserInputService")
  133.  
  134. local gui = script.Parent
  135.  
  136. local dragging
  137. local dragInput
  138. local dragStart
  139. local startPos
  140.  
  141. local function update(input)
  142. local delta = input.Position - dragStart
  143. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  144. end
  145.  
  146. gui.InputBegan:Connect(function(input)
  147. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  148. dragging = true
  149. dragStart = input.Position
  150. startPos = gui.Position
  151.  
  152. input.Changed:Connect(function()
  153. if input.UserInputState == Enum.UserInputState.End then
  154. dragging = false
  155. end
  156. end)
  157. end
  158. end)
  159.  
  160. gui.InputChanged:Connect(function(input)
  161. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  162. dragInput = input
  163. end
  164. end)
  165.  
  166. UserInputService.InputChanged:Connect(function(input)
  167. if input == dragInput and dragging then
  168. update(input)
  169. end
  170. end)
  171.  
  172. end
  173. coroutine.resume(coroutine.create(SCRIPT_YNGB76_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement