Advertisement
thekingofnoobgod45

auto punch

Feb 2nd, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1.  
  2. ---Dont Mind This!
  3. local function create()
  4. mouse=game.Players.LocalPlayer:GetMouse()
  5. tool=Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  6. tool.RequiresHandle=false
  7. tool.Name="Click Teleport"
  8. tool.Activated:connect(function()
  9. local pos=mouse.Hit+Vector3.new(0,2.5,0)
  10. pos=CFrame.new(pos.X,pos.Y,pos.Z)
  11. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=pos
  12. end)
  13. end
  14. create()
  15. game.Players.LocalPlayer.CharacterAdded:connect(create)
  16.  
  17.  
  18.  
  19.  
  20.  
  21. ---All stand with E strongPunch
  22. local player = game.Players.LocalPlayer
  23. local Mouse = player:GetMouse()
  24. Mouse.KeyDown:connect(function(key)
  25. if key == "e" then
  26. local player2 = game.Players.LocalPlayer
  27. local character2 = player2.Character
  28. player2.Backpack.StrongPunch.RemoteEvent:FireServer()
  29. local p = Instance.new("Part", character2.Effects)
  30. game.Debris:AddItem(p, 0.3)
  31. p.CanCollide = false
  32. p.Anchored = false
  33. local RightArm = character2["Right Arm"]
  34. p.Size = RightArm.Size
  35. p.Transparency = 1
  36. local w = Instance.new("Weld", p)
  37. w.Part0 = RightArm
  38. w.Part1 = p
  39. p.Touched:connect(function(hit)
  40. local ehum = hit.Parent:findFirstChild("Humanoid")
  41. if ehum ~= character2.Humanoid then
  42. player2.Backpack.StrongPunch.Damage:FireServer(hit, ehum)
  43. end
  44. end)
  45. end
  46. end)
  47.  
  48.  
  49.  
  50.  
  51. ---Hierophant Green
  52. local player = game.Players.LocalPlayer
  53. local player2 = game.Players.LocalPlayer
  54. character2 = player2.Character
  55. local Mouse = player:GetMouse()
  56. Mouse.KeyDown:connect(function(key)
  57. if key == "q" then
  58. player2.Backpack.EmeraldSplash.RemoteEvent:FireServer(true, 10)
  59. player2.Backpack.EmeraldSplash.RemoteEvent:FireServer(false, 10, Mouse.Hit.p)
  60. end
  61. end)
  62. local player = game.Players.LocalPlayer
  63. local player2 = game.Players.LocalPlayer
  64. character2 = player2.Character
  65. local Mouse = player:GetMouse()
  66. Mouse.KeyDown:connect(function(key)
  67. if key == "e" then
  68. player2.Backpack.Barrier.RemoteEvent:FireServer(false, 20)
  69. player2.Backpack.Barrier.RemoteEvent:FireServer(true, 20)
  70. end
  71. end)
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78. ---Silver Chariot
  79. local player = game.Players.LocalPlayer
  80. local player2 = game.Players.LocalPlayer
  81. local character2 = player2.Character
  82. local Mouse = player:GetMouse()
  83. Mouse.KeyDown:connect(function(key)
  84. if key =="t" then
  85. game:GetService("Players").LocalPlayer.Backpack.SwordThrow.RemoteEvent:FireServer(Mouse.Hit.p)
  86. end
  87. end)
  88.  
  89.  
  90.  
  91.  
  92. ---The Hand
  93. local player = game.Players.LocalPlayer
  94. local player2 = game.Players.LocalPlayer
  95. local character2 = player2.Character
  96. local Mouse = player:GetMouse()
  97. Mouse.KeyDown:connect(function(key)
  98. if key =="e" then
  99. game:GetService("Players").LocalPlayer.Backpack.Scrape1.RemoteEvent:FireServer(Mouse.Hit.p)
  100. end
  101. end)
  102. local player = game.Players.LocalPlayer
  103. local player2 = game.Players.LocalPlayer
  104. local character2 = player2.Character
  105. local Mouse = player:GetMouse()
  106. Mouse.KeyDown:connect(function(key)
  107. if key =="r" then
  108. game:GetService("Players").LocalPlayer.Backpack.Scrape2.RemoteEvent:FireServer(Mouse.Hit.p)
  109. end
  110. end)
  111.  
  112. local List = {} --Array of player's HumanoidRootPart
  113. function GetAllPlayers() --Gives you all thje characters of all players in the game currentenly
  114. local namesOfPlayers = {}
  115. for i,Player in ipairs(game:GetService("Players"):GetChildren()) do
  116. table.insert(namesOfPlayers,Player.Name)
  117. end
  118.  
  119. for i,v in ipairs(workspace:GetChildren()) do
  120. for i,Player in ipairs(namesOfPlayers) do
  121. if v.Name == Player then
  122. local humanoidRoot = v:FindFirstChild("HumanoidRootPart")
  123. table.insert(List,humanoidRoot)
  124. end
  125. end
  126. end
  127. end
  128. local player = game.Players.LocalPlayer -- Your Player
  129. local Mouse = player:GetMouse()
  130. Mouse.KeyDown:connect(function(key)
  131. if key == "f" then
  132. List = {}
  133. GetAllPlayers() -- Get all player's HumanoidRootPart
  134. player.Backpack:findFirstChild("Scrape3").RemoteEvent:FireServer(
  135. List -- The list of everyone HumanoidRootPart
  136. )
  137. end
  138. end)
  139.  
  140.  
  141.  
  142.  
  143.  
  144. ---Crazy Diamond
  145. local player = game.Players.LocalPlayer
  146. local player2 = game.Players.LocalPlayer
  147. local character2 = player2.Character
  148. local Mouse = player:GetMouse()
  149. Mouse.KeyDown:connect(function(key)
  150. if key =="g" then
  151. game:GetService("Players").LocalPlayer.Backpack.Wall.RemoteEvent:FireServer()
  152. end
  153. end)
  154. local player = game.Players.LocalPlayer
  155. local player2 = game.Players.LocalPlayer
  156. local character2 = player2.Character
  157. local Mouse = player:GetMouse()
  158. Mouse.KeyDown:connect(function(key)
  159. if key =="r" then
  160. game:GetService("Players").LocalPlayer.Backpack.BloodThrow.RemoteEvent:FireServer(Mouse.Hit.p)
  161. end
  162. end)
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171. ---Star Plat
  172. local player = game.Players.LocalPlayer
  173. local Mouse = player:GetMouse()
  174. Mouse.KeyDown:connect(function(key)
  175. if key == "r" then
  176. local player2 = game.Players.LocalPlayer
  177. local character2 = player2.Character
  178. player2.Backpack:FindFirstChild("Star Finger").RemoteEvent:FireServer()
  179. do
  180. local p = Instance.new("Part", character2)
  181. game.Debris:AddItem(p, 0.25)
  182. p.CanCollide = false
  183. p.Anchored = false
  184. local RightArm = character2["Right Arm"]
  185. p.Size = Vector3.new(10, 0.2, 0.4)
  186. p.Transparency = 1
  187. local w = Instance.new("Weld", p)
  188. w.Part0 = RightArm
  189. w.Part1 = p
  190. w.C0 = CFrame.new(0.3, -6, -0.25) * CFrame.Angles(0, 0, math.rad(90))
  191. p.Touched:connect(function(hit)
  192. local ehum = hit.Parent:findFirstChild("Humanoid")
  193. if ehum ~= character2.Humanoid then
  194. player2.Backpack:FindFirstChild("Star Finger").Damage:FireServer(hit)
  195. end
  196. end)
  197. end
  198. end
  199. end)
  200. local player = game.Players.LocalPlayer
  201. local Mouse = player:GetMouse()
  202. Mouse.KeyDown:connect(function(key)
  203. if key == "g" then
  204. local player2 = game.Players.LocalPlayer
  205. local character2 = player2.Character
  206. game.Players.LocalPlayer.Backpack.Leap.RemoteEvent:FireServer()
  207. local p = Instance.new("Part", character2.Effects)
  208. game.Debris:AddItem(p, 0.3)
  209. p.CanCollide = false
  210. p.Anchored = false
  211. local RightArm = character2["Right Leg"]
  212. p.Size = RightLeg.Size
  213. p.Transparency = 1
  214. local w = Instance.new("Weld", p)
  215. w.Part0 = RightLeg
  216. w.Part1 = p
  217. local RightArm = character2["Left Leg"]
  218. p.Size = LeftLeg.Size
  219. p.Transparency = 1
  220. local w = Instance.new("Weld", p)
  221. w.Part0 = LeftLeg
  222. w.Part1 = p
  223. p.Touched:connect(function(jump)
  224. local ehum = hit.Parent:findFirstChild("Humanoid")
  225. if ehum ~= character2.Humanoid then
  226. game.Players.LocalPlayer.Backpack.Leap.RemoteEvent:FireServer()
  227. end
  228. end)
  229. end
  230. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement