Advertisement
iiJosephCats205

Pain in the ass

Oct 11th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.LocalPlayer
  2. local Mouse = player:GetMouse()
  3.  
  4. local nothing = true
  5. local bunny = false
  6. local acrobat = false
  7. local destruct = false
  8. local destruct2 = false
  9.  
  10. local CurrentPower = Instance.new("ScreenGui")
  11. local Power = Instance.new("TextLabel")
  12. local TextLabel = Instance.new("TextLabel")
  13.  
  14. CurrentPower.Name = "CurrentPower"
  15. CurrentPower.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16.  
  17. Power.Name = "Power"
  18. Power.Parent = CurrentPower
  19. Power.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Power.BorderSizePixel = 0
  21. Power.Position = UDim2.new(0.75999999, 0, 0.899999976, -40)
  22. Power.Size = UDim2.new(0, 200, 0, 40)
  23. Power.Font = Enum.Font.Cartoon
  24. Power.Text = "Nothing"
  25. Power.TextColor3 = Color3.new(0, 0, 0)
  26. Power.TextScaled = true
  27. Power.TextSize = 14
  28. Power.TextWrapped = true
  29.  
  30. TextLabel.Parent = CurrentPower
  31. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TextLabel.BackgroundTransparency = 1
  33. TextLabel.Size = UDim2.new(1, 0, 0, 50)
  34. TextLabel.Font = Enum.Font.SourceSans
  35. TextLabel.Text = "FGF"
  36. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  37. TextLabel.TextScaled = true
  38. TextLabel.TextSize = 14
  39. TextLabel.TextWrapped = true
  40.  
  41. msg = " Welcome "..game.Players.LocalPlayer.Name.." "
  42. for i=1,#msg do
  43. TextLabel.Text = string.sub(msg,1.5,i)
  44. wait()
  45. end
  46. wait(2)
  47. TextLabel:Destroy()
  48.  
  49. function nani()
  50. nothing = true
  51. Power.Text = "Nothing"
  52. player.Character.Humanoid.WalkSpeed = 16
  53. player.Character.Humanoid.JumpPower = 50
  54. end
  55.  
  56. function nani2()
  57. nothing = false
  58. Power.Text = "Nothing"
  59. player.Character.Humanoid.WalkSpeed = 16
  60. player.Character.Humanoid.JumpPower = 50
  61. end
  62.  
  63. function bunnyOn()
  64. bunny = true
  65. Power.Text = "Bunny"
  66. player.Character.Humanoid.WalkSpeed = 25
  67. player.Character.Humanoid.JumpPower = 70
  68. end
  69.  
  70. function bunnyOff()
  71. bunny = false
  72. Power.Text = "Nothing"
  73. player.Character.Humanoid.WalkSpeed = 16
  74. player.Character.Humanoid.JumpPower = 50
  75. end
  76.  
  77. function acroOn()
  78. acrobat = true
  79. Power.Text = "Acrobat"
  80. player.Character.Humanoid.WalkSpeed = 50
  81. player.Character.Humanoid.JumpPower = 35
  82. end
  83.  
  84. function acroOff()
  85. acrobat = false
  86. Power.Text = "Nothing"
  87. player.Character.Humanoid.WalkSpeed = 16
  88. player.Character.Humanoid.JumpPower = 50
  89. end
  90.  
  91. function destructOn()
  92. destruct = true
  93. player.Character.Humanoid.WalkSpeed = 16
  94. player.Character.Humanoid.JumpPower = 50
  95. Power.Text = "Destruct"
  96. Mouse.Button1Down:Connect(function()
  97. local mT = Mouse.Target
  98. if mT.ClassName == "Part" and destruct == true then
  99. local part = Instance.new("Part",workspace)
  100. part:Destroy()
  101. part.Transparency = 1
  102. part.Anchored = true
  103. part.CanCollide = false
  104. part.CFrame = CFrame.new(Mouse.Hit.p)
  105. local ex = Instance.new("Explosion",workspace)
  106. ex.Position = part.Position
  107. ex.ExplosionType = "NoCraters"
  108. ex.DestroyJointRadiusPercent = 0
  109. end
  110. end)
  111. end
  112.  
  113. function destructOff()
  114. destruct = false
  115. Power.Text = "Nothing"
  116. player.Character.Humanoid.WalkSpeed = 16
  117. player.Character.Humanoid.JumpPower = 50
  118. end
  119.  
  120.  
  121. function destructOn2()
  122. destruct2 = true
  123. player.Character.Humanoid.WalkSpeed = 16
  124. player.Character.Humanoid.JumpPower = 50
  125. Power.Text = "Destruct (KILLS PLAYERS)"
  126. Mouse.Button1Down:Connect(function()
  127. local mT = Mouse.Target
  128. if mT.ClassName == "Part" and destruct == true then
  129. local part = Instance.new("Part",workspace)
  130. part:Destroy()
  131. part.Transparency = 1
  132. part.Anchored = true
  133. part.CanCollide = false
  134. part.CFrame = CFrame.new(Mouse.Hit.p)
  135. local ex = Instance.new("Explosion",workspace)
  136. ex.Position = part.Position
  137. ex.ExplosionType = "NoCraters"
  138. end
  139. end)
  140. end
  141.  
  142. function destructOff2()
  143. destruct2 = false
  144. Power.Text = "Nothing"
  145. player.Character.Humanoid.WalkSpeed = 16
  146. player.Character.Humanoid.JumpPower = 50
  147. end
  148.  
  149. Mouse.KeyDown:Connect(function(Key)
  150. Key = Key:lower()
  151. if Key == "q" and nothing == false then
  152. nani()
  153. elseif Key == "q" and nothing == true then
  154. nani2()
  155. end
  156.  
  157. if Key == "e" and bunny == false then
  158. bunnyOn()
  159. elseif Key == "e" and bunny == true then
  160. bunnyOff()
  161. end
  162.  
  163. if Key == "r" and acrobat == false then
  164. acroOn()
  165. elseif Key == "r" and acrobat == true then
  166. acroOff()
  167. end
  168.  
  169. if Key == "t" and destruct == false then
  170. destructOn()
  171. elseif Key == "t" and destruct == true then
  172. destructOff()
  173. end
  174.  
  175. if Key == "y" and destruct2 == false then
  176. destructOn2()
  177. elseif Key == "y" and destruct2 == true then
  178. destructOff2()
  179. end
  180.  
  181. end)
  182.  
  183. player.Character.Humanoid.Died:Connect(function()
  184. while wait() do
  185. local sound = Instance.new("Sound",workspace)
  186. sound.SoundId = "rbxassetid://534269232"
  187. sound:Play()
  188. sound.Ended:Connect(function()
  189. sound:Destroy()
  190. end)
  191. end
  192. Power.Text = "DEAD"
  193. return "WHY"
  194. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement