Advertisement
DerpyFox

dadadas

Apr 6th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. spawn(function()
  2. while true do
  3. wait(0.1)
  4. if game.Players.LocalPlayer.Character.Humanoid.Health == 0 then
  5. Frame.Visible = false
  6. Frame_2.Visible = false
  7. end
  8. end
  9. end)
  10.  
  11. function haveTools()
  12. local a = false
  13. local b = false
  14. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  15. if v:IsA("Tool") then
  16. if v ~= nil then
  17. a = true
  18. else
  19. a = false
  20. end
  21. end
  22. end
  23. for i,k in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  24. if k:IsA("Tool") then
  25. if k ~= nil then
  26. b = true
  27. else
  28. b = false
  29. end
  30. end
  31. end
  32. return a or b
  33. end
  34.  
  35. power = math.huge
  36. unholding = true
  37. spawn(function()
  38. while unholding do
  39. wait()
  40. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  41. end
  42. end)
  43. plr = game.Players.LocalPlayer
  44. mouse = plr:GetMouse()
  45. mouse.KeyDown:connect(function(key)
  46. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  47. if key == "f" then
  48. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  49. AnimationId = "846744780"
  50. else
  51. AnimationId = "204062532"
  52. end
  53. local Anim = Instance.new("Animation")
  54. Anim.AnimationId = "rbxassetid://"..AnimationId
  55. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  56. k:Play() --Play the animation
  57. k:AdjustSpeed(1) --Set '1' to any value you want to adjust the animation speed.
  58. unholding = false
  59. wait()
  60. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") == nil then
  61. game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  62. end
  63. wait(1)
  64. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  65. unholding = true
  66. end
  67. end
  68. end)
  69.  
  70. plr = game.Players.LocalPlayer
  71. mouse = plr:GetMouse()
  72. mouse.KeyDown:connect(function(key)
  73. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  74. if key == "c" then
  75. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  76. AnimationId = "675025570"
  77. else
  78. AnimationId = "218504594"
  79. end
  80. local Anim = Instance.new("Animation")
  81. Anim.AnimationId = "rbxassetid://"..AnimationId
  82. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  83. k:Play() --Play the animation
  84. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  85. k:AdjustSpeed(3.4) --Set '1' to any value you want to adjust the animation speed.
  86. else
  87. k:AdjustSpeed(1)
  88. end
  89. unholding = false
  90. wait()
  91. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") == nil then
  92. game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
  93. end
  94. wait(1)
  95. game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  96. unholding = true
  97. end
  98. end
  99. end)
  100.  
  101. -- Press Q or E to move up or down. Q is down, E is up.
  102. -- Press R or T to change WalkSpeed. R is slower, T is faster.
  103. if haveTools() == false then
  104. local LocalPlayer = game:GetService("Players").LocalPlayer
  105. for _, hat in pairs(LocalPlayer.Character.Humanoid:GetAccessories()) do
  106. if hat.Handle ~= nil then
  107. local tool = Instance.new("Tool", LocalPlayer.Backpack)
  108. tool.Name = hat.Name
  109. local hathandle = hat.Handle
  110. hathandle:FindFirstChildOfClass("Weld").Part1 = nil
  111. hathandle.Parent = tool
  112. hathandle.Massless = true
  113. end
  114. break
  115. end
  116. end
  117. game.Players.LocalPlayer.Character.Animate.toolnone.ToolNoneAnim.AnimationId = "nil"
  118. wait()
  119. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  120. local noclip = true
  121. game:GetService('RunService').Stepped:connect(function()
  122. if noclip then
  123. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  124. end
  125. end)
  126. wait()
  127. game.Players.LocalPlayer.Character.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  128. wait()
  129. spawn(function()
  130. while game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 do
  131. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  132. if (v:IsA("Tool")) then
  133. v.GripPos = Vector3.new(0,power,250)
  134. end
  135. end
  136. wait()
  137. end
  138. end)
  139. spawn(function()
  140. while game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 do
  141. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  142. if (v:IsA("Tool")) then
  143. v.GripPos = Vector3.new(0,power,250)
  144. end
  145. end
  146. wait()
  147. end
  148. end)
  149. plr = game.Players.LocalPlayer
  150. mouse = plr:GetMouse()
  151. mouse.KeyDown:connect(function(key)
  152. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  153. if key == "q" then
  154. end
  155. end
  156. end)
  157. plr = game.Players.LocalPlayer
  158. mouse = plr:GetMouse()
  159. mouse.KeyDown:connect(function(key)
  160. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  161. if key == "e" then
  162. end
  163. end
  164. end)
  165. plr = game.Players.LocalPlayer
  166. mouse = plr:GetMouse()
  167. mouse.KeyDown:connect(function(key)
  168. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  169. if key == "r" then
  170. end
  171. end
  172. end)
  173. plr = game.Players.LocalPlayer
  174. mouse = plr:GetMouse()
  175. mouse.KeyDown:connect(function(key)
  176. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  177. if key == "t" then
  178. end
  179. end
  180. end)
  181. repeat
  182. local noclip = true
  183. wait()
  184. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  185. wait()
  186. noclip = false
  187. plr = game.Players.LocalPlayer
  188. mouse = plr:GetMouse()
  189. mouse.KeyDown:connect(function(key)
  190. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  191. if key == "q" then
  192. end
  193. end
  194. end)
  195. plr = game.Players.LocalPlayer
  196. mouse = plr:GetMouse()
  197. mouse.KeyDown:connect(function(key)
  198. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  199. if key == "e" then
  200. end
  201. end
  202. end)
  203. plr = game.Players.LocalPlayer
  204. mouse = plr:GetMouse()
  205. mouse.KeyDown:connect(function(key)
  206. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  207. if key == "r" then
  208. end
  209. end
  210. end)
  211. plr = game.Players.LocalPlayer
  212. mouse = plr:GetMouse()
  213. mouse.KeyDown:connect(function(key)
  214. if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
  215. if key == "t" then
  216. end
  217. end
  218. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement