Eventide


SUBMITTED BY: Pamlau

DATE: March 8, 2017, 10:30 a.m.

FORMAT: Lua

SIZE: 7.2 kB

HITS: 297

  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. mouse.KeyDown:connect(function(Key)
  48. local key = Key:lower()
  49. if key == "q" and q.Value then
  50. q.Value = false
  51. local Run = game:GetService("RunService")
  52. local LeftShoulder = m:findFirstChild'Torso':findFirstChild'Left Shoulder'
  53. local RightShoulder = m:findFirstChild'Torso':findFirstChild'Right Shoulder'
  54. local p1 = Instance.new("Part",m)
  55. local raise = coroutine.wrap(function()
  56. for i = 1, 10 do
  57. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, -.15)
  58. game:service'RunService'.RenderStepped:wait(.005)
  59. end
  60. end)
  61. raise()
  62. p1.Size = Vector3.new(2,2,2)
  63. p1.CanCollide = false
  64. p1.Material = "Neon"
  65. p1.BrickColor = BrickColor.new("Electric blue")
  66. p1.Shape = 0
  67. local y = Instance.new("BodyVelocity")
  68. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  69. y.velocity = (mouse.Hit.p - m.HumanoidRootPart.CFrame.p).unit * 200
  70. y.Parent = p1
  71. p1.CFrame = m.Torso.CFrame*CFrame.new(math.random(-3,3),math.random(-1,2.5),-6)
  72. p1.Touched:connect(function(hit)
  73. local hum = hit.Parent:findFirstChild'Humanoid'
  74. if hum ~= nil and hit.Parent.Name ~= p.Name then
  75. local damage = coroutine.wrap(function()
  76. local cf = p1.CFrame
  77. game.Debris:AddItem(bv,0)
  78. hum.WalkSpeed = 0
  79. hit.Parent.Torso.Anchored = true
  80. hit.Parent.Head.Anchored = true
  81. p1.Anchored = true
  82. game.Debris:AddItem(p1,2)
  83. for i = 0,20 do
  84. if p1 ~= nil then
  85. game:service'RunService'.RenderStepped:wait(.03)
  86. hum.Health = hum.Health - math.random(1,2)
  87. local p1s = p1.Size
  88. p1.Size = p1s:lerp(Vector3.new(30,30,30),0.2)
  89. p1.CFrame = cf
  90. hit.Parent.Torso.Anchored = false
  91. hit.Parent.Head.Anchored = false
  92. end
  93. end
  94. end)
  95. damage()
  96. elseif hum == nil then
  97. game.Debris:AddItem(p1,0)
  98. end
  99. end)
  100. game:service'RunService'.RenderStepped:wait(.05)
  101. game.Debris:AddItem(p1, 5)
  102. local lower = coroutine.wrap(function()
  103. for i = 1, 10 do
  104. LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(0, 0, .15)
  105. game:service'RunService'.RenderStepped:wait(.005)
  106. end
  107. end)
  108. lower()
  109. q.Value = true
  110. end
  111. if key == "e" and e.Value then
  112. e.Value = false
  113. local Run = game:GetService("RunService")
  114. local LeftShoulder = m:findFirstChild'Torso':findFirstChild'Left Shoulder'
  115. local RightShoulder = m:findFirstChild'Torso':findFirstChild'Right Shoulder'
  116. local p1 = Instance.new("Part",m)
  117. local raise = coroutine.wrap(function()
  118. for i = 1, 10 do
  119. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, .15)
  120. game:service'RunService'.RenderStepped:wait(.005)
  121. end
  122. end)
  123. raise()
  124. p1.Size = Vector3.new(2,2,2)
  125. p1.CanCollide = false
  126. p1.Material = "Neon"
  127. p1.BrickColor = BrickColor.new("Electric blue")
  128. p1.Shape = 0
  129. local y = Instance.new("BodyVelocity")
  130. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  131. y.velocity = (mouse.Hit.p - m.HumanoidRootPart.CFrame.p).unit * 200
  132. y.Parent = p1
  133. p1.CFrame = m.Torso.CFrame*CFrame.new(math.random(-3,3),math.random(-1,2.5),-6)
  134. p1.Touched:connect(function(hit)
  135. local hum = hit.Parent:findFirstChild'Humanoid'
  136. if hum ~= nil and hit.Parent.Name ~= p.Name then
  137. local damage = coroutine.wrap(function()
  138. local cf = p1.CFrame
  139. game.Debris:AddItem(bv,0)
  140. hum.WalkSpeed = 0
  141. hit.Parent.Torso.Anchored = true
  142. hit.Parent.Head.Anchored = true
  143. p1.Anchored = true
  144. game.Debris:AddItem(p1,2)
  145. for i = 0,20 do
  146. if p1 ~= nil then
  147. game:service'RunService'.RenderStepped:wait(.03)
  148. hum.Health = hum.Health - math.random(1,2)
  149. local p1s = p1.Size
  150. p1.Size = p1s:lerp(Vector3.new(30,30,30),0.2)
  151. p1.CFrame = cf
  152. hit.Parent.Torso.Anchored = false
  153. hit.Parent.Head.Anchored = false
  154. end
  155. end
  156. end)
  157. damage()
  158. elseif hum == nil then
  159. game.Debris:AddItem(p1,0)
  160. end
  161. end)
  162. game:service'RunService'.RenderStepped:wait(.05)
  163. game.Debris:AddItem(p1, 5)
  164. local lower = coroutine.wrap(function()
  165. for i = 1, 10 do
  166. RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0, 0, -.15)
  167. game:service'RunService'.RenderStepped:wait(.005)
  168. end
  169. end)
  170. lower()
  171. e.Value = true
  172. end
  173. if key == "f" then
  174. local dash = coroutine.wrap(function()
  175. local part = Instance.new("Part")
  176. part.Size = Vector3.new(4,4,4)
  177. part.Parent =m
  178. part.CFrame = m.Torso.CFrame
  179. part.Anchored = false
  180. part.CanCollide = false
  181. part.Material = "Neon"
  182. part.BrickColor = BrickColor.new("Electric blue")
  183. local t = part:Clone()
  184. local s = Instance.new("Part")
  185. t.Parent = m
  186. local y = Instance.new("BodyVelocity")
  187. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  188. y.velocity = m.Torso.CFrame.lookVector*200
  189. y.Parent = m.Torso
  190. game.Debris:AddItem(y,0.5)
  191. repeat
  192. game:service'RunService'.RenderStepped:wait()
  193. t.CFrame = m.Torso.CFrame
  194. t.Transparency = t.Transparency + 0.08
  195. until t.Transparency > 1
  196. game:service'RunService'.RenderStepped:wait()
  197. t:remove()
  198. wait(0.5)
  199. end)
  200. dash()
  201. end
  202. if key == "t" and t.Value then
  203. t.Value = false
  204. elseif key == "t" and not t.Value then
  205. t.Value = true
  206. end
  207. while not t.Value do
  208. game:service'RunService'.RenderStepped:wait()
  209. local pad = coroutine.wrap(function()
  210. part.CFrame = m.Torso.CFrame*CFrame.new(0,-3.485,0)
  211. end)
  212. pad()
  213. end
  214. while t.Value do
  215. game:service'RunService'.RenderStepped:wait()
  216. local repad = coroutine.wrap(function()
  217. part.CFrame = CFrame.new(math.random(99999,999999),math.random(99999,999999),math.random(99999,999999))
  218. end)
  219. repad()
  220. end
  221. while game:service'RunService'.RenderStepped:wait() do
  222. local detect = coroutine.wrap(function()
  223. for i,players in pairs(game:service'Players':GetChildren()) do
  224. if players.Character:findFirstChild'Torso'.Transparency > 0 then
  225. local mark = Instance.new("Part",game.Workspace.Camera)
  226. mark.Size = Vector3.new(1,1,1)
  227. mark.Name = players.Character.Name
  228. mark.BrickColor = BrickColor.new("Electric blue")
  229. mark.Material = "Neon"
  230. local w = Instance.new("Weld",mark)
  231. w.Part0 = mark
  232. w.Part1 = players.Character.Torso
  233. game.Debris:AddItem(mark,1)
  234. end
  235. end
  236. end)
  237. detect()
  238. end
  239. end)

comments powered by Disqus