Verhed

Untitled

Jul 6th, 2018
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.06 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local m = p.Character
  3. local mouse = p:GetMouse()
  4. local q = Instance.new("BoolValue")
  5. q.Value = true
  6. q.Name = "q"
  7. local e = Instance.new("BoolValue")
  8. e.Value = true
  9. e.Name = "e"
  10. local t = Instance.new("BoolValue")
  11. t.Value = true
  12. t.Name = "t"
  13. --------------------------------------------
  14. local part = Instance.new("Part")
  15. part.Size = Vector3.new(5,1,5)
  16. part.Parent = m
  17. part.CFrame = CFrame.new(math.random(99999,999999),math.random(99999,999999),math.random(99999,999999))
  18. part.Anchored = true
  19. part.CanCollide = true
  20. part.Material = "Neon"
  21. part.BrickColor = BrickColor.new("Electric blue")
  22. --------------------------------------------
  23. for i,hats in pairs(m:GetChildren()) do
  24. if hats.ClassName == "Hat" then
  25. hats:Destroy()
  26. end
  27. end
  28. for i,clothes in pairs(m:GetChildren()) do
  29. if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" then
  30. clothes:Destroy()
  31. end
  32. end
  33. local s = Instance.new("SpecialMesh",m:WaitForChild'Head')
  34. s.MeshId = "http://www.roblox.com/asset/?id=21057410"
  35. s.TextureId = "http://www.roblox.com/asset/?id=48544900"
  36. s.Scale = Vector3.new(1.05, 1.05, 1.05)
  37. m:WaitForChild'Head':WaitForChild'face':Destroy''
  38. local l = Instance.new("PointLight",m:WaitForChild'Head')
  39. l.Shadows = true
  40. l.Color = Color3.new(0,255,255)
  41. for i,limbs in pairs(m:GetChildren()) do
  42. if limbs.ClassName == "Part" then
  43. limbs.Material = "Neon"
  44. limbs.BrickColor = BrickColor.new("Electric blue")
  45. end
  46. end
  47.  
  48. mouse.KeyDown:connect(function(Key)
  49. local key = Key:lower()
  50. if key == "q" and q.Value then
  51. q.Value = false
  52. local Run = game:GetService("RunService")
  53. local LeftShoulder = m:findFirstChild'Torso':findFirstChild'Left Shoulder'
  54. local RightShoulder = m:findFirstChild'Torso':findFirstChild'Right Shoulder'
  55. local p1 = Instance.new("Part",m)
  56. local raise = coroutine.wrap(function()
  57. for i = 1, 10 do
  58. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -.15)
  59. game:service'RunService'.RenderStepped:wait(.005)
  60. end
  61. end)
  62. raise()
  63. p1.Size = Vector3.new(2,2,2)
  64. p1.CanCollide = false
  65. p1.Material = "Neon"
  66. p1.BrickColor = BrickColor.new("Electric blue")
  67. p1.Shape = 0
  68. local y = Instance.new("BodyVelocity")
  69. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  70. y.velocity = (mouse.Hit.p - m.HumanoidRootPart.CFrame.p).unit * 200
  71. y.Parent = p1
  72. p1.CFrame = m.Torso.CFrame*CFrame.new(math.random(-3,3),math.random(-1,2.5),-6)
  73. p1.Touched:connect(function(hit)
  74. local hum = hit.Parent:findFirstChild'Humanoid'
  75. if hum ~= nil and hit.Parent.Name ~= p.Name then
  76. local damage = coroutine.wrap(function()
  77. local cf = p1.CFrame
  78. game.Debris:AddItem(bv,0)
  79. hum.WalkSpeed = 0
  80. hit.Parent.Torso.Anchored = true
  81. hit.Parent.Head.Anchored = true
  82. p1.Anchored = true
  83. game.Debris:AddItem(p1,2)
  84. for i = 0,20 do
  85. if p1 ~= nil then
  86. game:service'RunService'.RenderStepped:wait(.03)
  87. hum.Health = hum.Health - math.random(1,2)
  88. local p1s = p1.Size
  89. p1.Size = p1s:lerp(Vector3.new(30,30,30),0.2)
  90. p1.CFrame = cf
  91. hit.Parent.Torso.Anchored = false
  92. hit.Parent.Head.Anchored = false
  93. end
  94. end
  95. end)
  96. damage()
  97. elseif hum == nil then
  98. game.Debris:AddItem(p1,0)
  99. end
  100. end)
  101. game:service'RunService'.RenderStepped:wait(.05)
  102. game.Debris:AddItem(p1, 5)
  103. local lower = coroutine.wrap(function()
  104. for i = 1, 10 do
  105. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, .15)
  106. game:service'RunService'.RenderStepped:wait(.005)
  107. end
  108. end)
  109. lower()
  110. q.Value = true
  111. end
  112. if key == "e" and e.Value then
  113. e.Value = false
  114. local Run = game:GetService("RunService")
  115. local LeftShoulder = m:findFirstChild'Torso':findFirstChild'Left Shoulder'
  116. local RightShoulder = m:findFirstChild'Torso':findFirstChild'Right Shoulder'
  117. local p1 = Instance.new("Part",m)
  118. local raise = coroutine.wrap(function()
  119. for i = 1, 10 do
  120. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, .15)
  121. game:service'RunService'.RenderStepped:wait(.005)
  122. end
  123. end)
  124. raise()
  125. p1.Size = Vector3.new(2,2,2)
  126. p1.CanCollide = false
  127. p1.Material = "Neon"
  128. p1.BrickColor = BrickColor.new("Electric blue")
  129. p1.Shape = 0
  130. local y = Instance.new("BodyVelocity")
  131. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  132. y.velocity = (mouse.Hit.p - m.HumanoidRootPart.CFrame.p).unit * 200
  133. y.Parent = p1
  134. p1.CFrame = m.Torso.CFrame*CFrame.new(math.random(-3,3),math.random(-1,2.5),-6)
  135. p1.Touched:connect(function(hit)
  136. local hum = hit.Parent:findFirstChild'Humanoid'
  137. if hum ~= nil and hit.Parent.Name ~= p.Name then
  138. local damage = coroutine.wrap(function()
  139. local cf = p1.CFrame
  140. game.Debris:AddItem(bv,0)
  141. hum.WalkSpeed = 0
  142. hit.Parent.Torso.Anchored = true
  143. hit.Parent.Head.Anchored = true
  144. p1.Anchored = true
  145. game.Debris:AddItem(p1,2)
  146. for i = 0,20 do
  147. if p1 ~= nil then
  148. game:service'RunService'.RenderStepped:wait(.03)
  149. hum.Health = hum.Health - math.random(1,2)
  150. local p1s = p1.Size
  151. p1.Size = p1s:lerp(Vector3.new(30,30,30),0.2)
  152. p1.CFrame = cf
  153. hit.Parent.Torso.Anchored = false
  154. hit.Parent.Head.Anchored = false
  155. end
  156. end
  157. end)
  158. damage()
  159. elseif hum == nil then
  160. game.Debris:AddItem(p1,0)
  161. end
  162. end)
  163. game:service'RunService'.RenderStepped:wait(.05)
  164. game.Debris:AddItem(p1, 5)
  165. local lower = coroutine.wrap(function()
  166. for i = 1, 10 do
  167. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -.15)
  168. game:service'RunService'.RenderStepped:wait(.005)
  169. end
  170. end)
  171. lower()
  172. e.Value = true
  173. end
  174. if key == "f" then
  175. local dash = coroutine.wrap(function()
  176. local part = Instance.new("Part")
  177. part.Size = Vector3.new(4,4,4)
  178. part.Parent =m
  179. part.CFrame = m.Torso.CFrame
  180. part.Anchored = false
  181. part.CanCollide = false
  182. part.Material = "Neon"
  183. part.BrickColor = BrickColor.new("Electric blue")
  184. local t = part:Clone()
  185. local s = Instance.new("Part")
  186. t.Parent = m
  187. local y = Instance.new("BodyVelocity")
  188. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  189. y.velocity = m.Torso.CFrame.lookVector*200
  190. y.Parent = m.Torso
  191. game.Debris:AddItem(y,0.5)
  192. repeat
  193. game:service'RunService'.RenderStepped:wait()
  194. t.CFrame = m.Torso.CFrame
  195. t.Transparency = t.Transparency + 0.08
  196. until t.Transparency > 1
  197. game:service'RunService'.RenderStepped:wait()
  198. t:remove()
  199. wait(0.5)
  200. end)
  201. dash()
  202. end
  203. if key == "t" and t.Value then
  204. t.Value = false
  205. elseif key == "t" and not t.Value then
  206. t.Value = true
  207. end
  208.  
  209. while not t.Value do
  210. game:service'RunService'.RenderStepped:wait()
  211. local pad = coroutine.wrap(function()
  212. part.CFrame = m.Torso.CFrame*CFrame.new(0,-3.485,0)
  213. end)
  214. pad()
  215. end
  216. while t.Value do
  217. game:service'RunService'.RenderStepped:wait()
  218. local repad = coroutine.wrap(function()
  219. part.CFrame = CFrame.new(math.random(99999,999999),math.random(99999,999999),math.random(99999,999999))
  220. end)
  221. repad()
  222. end
  223.  
  224. while game:service'RunService'.RenderStepped:wait() do
  225. local detect = coroutine.wrap(function()
  226. for i,players in pairs(game:service'Players':GetChildren()) do
  227. if players.Character:findFirstChild'Torso'.Transparency > 0 then
  228. local mark = Instance.new("Part",game.Workspace.Camera)
  229. mark.Size = Vector3.new(1,1,1)
  230. mark.Name = players.Character.Name
  231. mark.BrickColor = BrickColor.new("Electric blue")
  232. mark.Material = "Neon"
  233. local w = Instance.new("Weld",mark)
  234. w.Part0 = mark
  235. w.Part1 = players.Character.Torso
  236. game.Debris:AddItem(mark,1)
  237. end
  238. end
  239. end)
  240. detect()
  241. end
  242.  
  243. end)
Add Comment
Please, Sign In to add comment