Verhed

/-U<p-o,;p-o,/u-o-i/plu-/p-

Jul 24th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.62 KB | None | 0 0
  1. -- Objects
  2.  
  3. local CrossyGui = Instance.new("ScreenGui")
  4. local OpenFrame = Instance.new("Frame")
  5. local OpenButton = Instance.new("TextButton")
  6. local GuiFrame = Instance.new("Frame")
  7. local Title = Instance.new("TextLabel")
  8. local PlayersName = Instance.new("TextBox")
  9. local KillButton = Instance.new("TextButton")
  10. local Amount = Instance.new("TextBox")
  11. local SpeedButton = Instance.new("TextButton")
  12. local JumpPowerButton = Instance.new("TextButton")
  13. local FreezeButton = Instance.new("TextButton")
  14. local KillLoopButton = Instance.new("TextButton")
  15. local JumpTrollButton = Instance.new("TextButton")
  16. local CloseButton = Instance.new("TextButton")
  17. local Credits = Instance.new("TextLabel")
  18.  
  19. -- Properties
  20.  
  21. CrossyGui.Name = "CrossyGui"
  22. CrossyGui.Parent = game.Players.LocalPlayer.PlayerGui
  23.  
  24. OpenFrame.Name = "OpenFrame"
  25. OpenFrame.Parent = CrossyGui
  26. OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  27. OpenFrame.Position = UDim2.new(0, 0, 0.364175558, 0)
  28. OpenFrame.Size = UDim2.new(0, 47, 0, 46)
  29.  
  30. OpenButton.Name = "OpenButton"
  31. OpenButton.Parent = OpenFrame
  32. OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
  33. OpenButton.BackgroundTransparency = 1
  34. OpenButton.Size = UDim2.new(0, 47, 0, 50)
  35. OpenButton.Font = Enum.Font.SourceSans
  36. OpenButton.Text = "Open Gui"
  37. OpenButton.TextColor3 = Color3.new(1, 1, 1)
  38. OpenButton.TextScaled = true
  39. OpenButton.TextSize = 14
  40. OpenButton.TextWrapped = true
  41.  
  42. GuiFrame.Name = "GuiFrame"
  43. GuiFrame.Parent = CrossyGui
  44. GuiFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  45. GuiFrame.Position = UDim2.new(0.0690909103, 0, 0.0711743757, 0)
  46. GuiFrame.Size = UDim2.new(0, 389, 0, 293)
  47. GuiFrame.Visible = false
  48.  
  49. Title.Name = "Title"
  50. Title.Parent = GuiFrame
  51. Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  52. Title.Size = UDim2.new(0, 389, 0, 50)
  53. Title.Font = Enum.Font.SourceSans
  54. Title.Text = "CrossyGui"
  55. Title.TextColor3 = Color3.new(1, 1, 1)
  56. Title.TextScaled = true
  57. Title.TextSize = 14
  58. Title.TextWrapped = true
  59.  
  60. PlayersName.Name = "PlayersName"
  61. PlayersName.Parent = GuiFrame
  62. PlayersName.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  63. PlayersName.Position = UDim2.new(0.0334190205, 0, 0.214004576, 0)
  64. PlayersName.Size = UDim2.new(0, 200, 0, 27)
  65. PlayersName.Font = Enum.Font.SourceSans
  66. PlayersName.Text = "Players Name"
  67. PlayersName.TextColor3 = Color3.new(1, 1, 1)
  68. PlayersName.TextScaled = true
  69. PlayersName.TextSize = 14
  70. PlayersName.TextWrapped = true
  71.  
  72. KillButton.Name = "KillButton"
  73. KillButton.Parent = GuiFrame
  74. KillButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  75. KillButton.Position = UDim2.new(0.102827765, 0, 0.378106803, 0)
  76. KillButton.Size = UDim2.new(0, 143, 0, 35)
  77. KillButton.Font = Enum.Font.SourceSans
  78. KillButton.Text = "Kill"
  79. KillButton.TextColor3 = Color3.new(1, 1, 1)
  80. KillButton.TextScaled = true
  81. KillButton.TextSize = 14
  82. KillButton.TextWrapped = true
  83.  
  84. Amount.Name = "Amount"
  85. Amount.Parent = GuiFrame
  86. Amount.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  87. Amount.Position = UDim2.new(0.596401036, 0, 0.215671688, 0)
  88. Amount.Size = UDim2.new(0, 122, 0, 27)
  89. Amount.Font = Enum.Font.SourceSans
  90. Amount.Text = "Amount"
  91. Amount.TextColor3 = Color3.new(1, 1, 1)
  92. Amount.TextScaled = true
  93. Amount.TextSize = 14
  94. Amount.TextWrapped = true
  95.  
  96. SpeedButton.Name = "SpeedButton"
  97. SpeedButton.Parent = GuiFrame
  98. SpeedButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  99. SpeedButton.Position = UDim2.new(0.526992261, 0, 0.556313992, 0)
  100. SpeedButton.Size = UDim2.new(0, 164, 0, 35)
  101. SpeedButton.Font = Enum.Font.SourceSans
  102. SpeedButton.Text = "WalkSpeed"
  103. SpeedButton.TextColor3 = Color3.new(1, 1, 1)
  104. SpeedButton.TextScaled = true
  105. SpeedButton.TextSize = 14
  106. SpeedButton.TextWrapped = true
  107.  
  108. JumpPowerButton.Name = "JumpPowerButton"
  109. JumpPowerButton.Parent = GuiFrame
  110. JumpPowerButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  111. JumpPowerButton.Position = UDim2.new(0.105398454, 0, 0.556520879, 0)
  112. JumpPowerButton.Size = UDim2.new(0, 143, 0, 35)
  113. JumpPowerButton.Font = Enum.Font.SourceSans
  114. JumpPowerButton.Text = "JumpPower"
  115. JumpPowerButton.TextColor3 = Color3.new(1, 1, 1)
  116. JumpPowerButton.TextScaled = true
  117. JumpPowerButton.TextSize = 14
  118. JumpPowerButton.TextWrapped = true
  119.  
  120. FreezeButton.Name = "FreezeButton"
  121. FreezeButton.Parent = GuiFrame
  122. FreezeButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  123. FreezeButton.Position = UDim2.new(0.526992261, 0, 0.744001448, 0)
  124. FreezeButton.Size = UDim2.new(0, 164, 0, 35)
  125. FreezeButton.Font = Enum.Font.SourceSans
  126. FreezeButton.Text = "Freeze"
  127. FreezeButton.TextColor3 = Color3.new(1, 1, 1)
  128. FreezeButton.TextScaled = true
  129. FreezeButton.TextSize = 14
  130. FreezeButton.TextWrapped = true
  131.  
  132. KillLoopButton.Name = "KillLoopButton"
  133. KillLoopButton.Parent = GuiFrame
  134. KillLoopButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  135. KillLoopButton.Position = UDim2.new(0.102827765, 0, 0.744001448, 0)
  136. KillLoopButton.Size = UDim2.new(0, 143, 0, 35)
  137. KillLoopButton.Font = Enum.Font.SourceSans
  138. KillLoopButton.Text = "Loop Kill"
  139. KillLoopButton.TextColor3 = Color3.new(1, 1, 1)
  140. KillLoopButton.TextScaled = true
  141. KillLoopButton.TextSize = 14
  142. KillLoopButton.TextWrapped = true
  143.  
  144. JumpTrollButton.Name = "JumpTrollButton"
  145. JumpTrollButton.Parent = GuiFrame
  146. JumpTrollButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  147. JumpTrollButton.Position = UDim2.new(0.526992261, 0, 0.378839582, 0)
  148. JumpTrollButton.Size = UDim2.new(0, 164, 0, 35)
  149. JumpTrollButton.Font = Enum.Font.SourceSans
  150. JumpTrollButton.Text = "Jump Troll"
  151. JumpTrollButton.TextColor3 = Color3.new(1, 1, 1)
  152. JumpTrollButton.TextScaled = true
  153. JumpTrollButton.TextSize = 14
  154. JumpTrollButton.TextWrapped = true
  155.  
  156. CloseButton.Name = "CloseButton"
  157. CloseButton.Parent = GuiFrame
  158. CloseButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
  159. CloseButton.Position = UDim2.new(0.29305914, 0, 0.897610903, 0)
  160. CloseButton.Size = UDim2.new(0, 164, 0, 22)
  161. CloseButton.Font = Enum.Font.SourceSans
  162. CloseButton.Text = "Close Gui"
  163. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  164. CloseButton.TextScaled = true
  165. CloseButton.TextSize = 14
  166. CloseButton.TextWrapped = true
  167.  
  168. Credits.Name = "Credits"
  169. Credits.Parent = GuiFrame
  170. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Credits.BackgroundTransparency = 1
  172. Credits.Position = UDim2.new(-0.113110542, 0, 0.860068262, 0)
  173. Credits.Size = UDim2.new(0, 200, 0, 50)
  174. Credits.Font = Enum.Font.SourceSans
  175. Credits.Text = "Youtube.com/Xcrossy"
  176. Credits.TextColor3 = Color3.new(1, 1, 1)
  177. Credits.TextSize = 14
  178.  
  179. --scripts
  180. OpenButton.MouseButton1Click:connect(function()
  181. GuiFrame.Visible = true
  182. end)
  183.  
  184. CloseButton.MouseButton1Click:connect(function()
  185. GuiFrame.Visible = false
  186. end)
  187.  
  188. KillButton.MouseButton1Click:connect(function()
  189. local plr = PlayersName.Text
  190. game.Workspace[plr].Humanoid.Health = 0
  191. end)
  192.  
  193. JumpTrollButton.MouseButton1Click:connect(function()
  194. local plr = PlayersName.Text
  195. while wait() do
  196. game.Workspace[plr].Humanoid.Jump = true
  197. end
  198. end)
  199.  
  200. JumpPowerButton.MouseButton1Click:connect(function()
  201. local plr = PlayersName.Text
  202. local amount = Amount.Text
  203. game.Workspace[plr].Humanoid.JumpPower = Amount.Text
  204. end)
  205.  
  206. SpeedButton.MouseButton1Click:connect(function()
  207. local plr = PlayersName.Text
  208. local amount = Amount.Text
  209. game.Workspace[plr].Humanoid.WalkSpeed = Amount.Text
  210. end)
  211.  
  212. KillLoopButton.MouseButton1Click:connect(function()
  213. local plr = PlayersName.Text
  214. while true do
  215. wait()
  216. game.Workspace[plr].Humanoid.Health = 0
  217. end
  218. end)
  219.  
  220. FreezeButton.MouseButton1Click:connect(function()
  221. local plr = PlayersName.Text
  222. game.Workspace[plr].Humanoid.WalkSpeed = 0
  223. game.Workspace[plr].Humanoid.JumpPower = 0
  224. end)
Add Comment
Please, Sign In to add comment