Advertisement
xiaxiaokid

Untitled

Sep 19th, 2017
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.20 KB | None | 0 0
  1. local p = game.Players.LocalPlayer--300899323
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local rj = root.RootJoint
  14. local deb = false
  15. local shot = 0
  16. local stanceToggle = "Idle1"
  17. local l = game:GetService("Lighting")
  18. local rs = game:GetService("RunService").RenderStepped
  19. local hb = game:GetService("RunService").Heartbeat
  20. local Stepped = game:GetService("RunService").Stepped
  21. math.randomseed(os.time())
  22. local Transforming = true
  23. hum.WalkSpeed = 0
  24. local fx = Instance.new("Part",torso)
  25. wit = Color3.new(0, 1, 1), Color3.new(0.5, 0, 1)
  26. wit2 = Color3.new(0.5,0,1)
  27. local glowz = Instance.new("ParticleEmitter",fx)
  28. glowz.LightEmission = 1
  29. glowz.Texture = "rbxassetid://280516525"
  30. glowz.Color = ColorSequence.new(Color3.new(0, 1, 1), Color3.new(0.5, 0, 1))
  31. glowz.Size = NumberSequence.new(5)
  32. glowz.Speed = NumberRange.new(25,50)
  33. glowz.LockedToPart = false
  34. glowz.Transparency = NumberSequence.new(0.75)
  35. glowz.RotSpeed = NumberRange.new(-2000,2000)
  36. glowz.Lifetime = NumberRange.new(1)
  37. glowz.Rate = 5000
  38. glowz.VelocitySpread = 9001
  39. fx.Anchored = true
  40. fx.Material = "Neon"
  41. fx.CanCollide = false
  42. fx.Locked = true
  43. fx.Transparency = 1
  44. fx.Material = "Neon"
  45. fx.Size = Vector3.new(1,1,1)
  46. fx.TopSurface = "SmoothNoOutlines"
  47. fx.BottomSurface = "SmoothNoOutlines"
  48. fx.BrickColor = BrickColor.new("Really black")
  49. fxm = Instance.new("SpecialMesh",fx)
  50. fxm.MeshType = "Sphere"
  51. local sa2 = Instance.new("Sound",torso)
  52. sa2.SoundId = "rbxassetid://93724183"
  53. sa2.Pitch = 0.5
  54. sa2.Volume = 5
  55. sa2.Looped = false
  56. sa2:Play()
  57. local value = 1
  58. fxm.Scale = Vector3.new(1,1,1)
  59. for i = 1, 20 do rs:wait()
  60. value = value - 0.05
  61. fx.Transparency = fx.Transparency - (1/20)
  62. fx.CFrame = torso.CFrame
  63. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  64. rs:wait()
  65. end
  66. ----------------------------------------------------
  67. GroundWave1 = function()
  68. local Transforming = true
  69. hum.WalkSpeed = 0
  70. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  71. local Colors = {"White", "Really black"}
  72. local wave = Instance.new("Part", torso)
  73. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  74. wave.Anchored = true
  75. wave.CanCollide = false
  76. wave.Locked = true
  77. wave.Size = Vector3.new(1, 1, 1)
  78. wave.TopSurface = "Smooth"
  79. wave.BottomSurface = "Smooth"
  80. wave.Transparency = 0.35
  81. wave.CFrame = HandCF
  82. wm = Instance.new("SpecialMesh", wave)
  83. wm.MeshId = "rbxassetid://3270017"
  84. coroutine.wrap(function()
  85. for i = 1, 30, 1 do
  86. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  87. wave.Size = wm.Scale
  88. wave.CFrame = HandCF
  89. wave.Transparency = i/30
  90. wait()
  91. end
  92. wait()
  93. wave:Destroy()
  94. end)()
  95. end
  96. ----------------------------------------------------
  97. GroundWave = function()
  98. if Transforming == true then
  99. local value = 5
  100. local value2 = 10
  101. local value3 = 20
  102. local sa2 = Instance.new("Sound",torso)
  103. sa2.SoundId = "rbxassetid://413682983"
  104. sa2.Pitch = 1
  105. sa2.Volume = 10
  106. sa2.Looped = false
  107. sa2:Play()
  108. local wave = Instance.new("Part", torso)
  109. local glowz = Instance.new("ParticleEmitter",wave)
  110. glowz.LightEmission = 1
  111. glowz.Texture = "0"
  112. glowz.Color = ColorSequence.new(Color3.new(0, 1, 1), Color3.new(0.5, 0, 1))
  113. glowz.Size = NumberSequence.new(30)
  114. glowz.Speed = NumberRange.new(25,100)
  115. glowz.LockedToPart = false
  116. glowz.Transparency = NumberSequence.new(0.75)
  117. glowz.RotSpeed = NumberRange.new(-2000,2000)
  118. glowz.Lifetime = NumberRange.new(1)
  119. glowz.Rate = 5000
  120. glowz.VelocitySpread = 9001
  121.  
  122. wave.BrickColor = BrickColor.new("Toothpaste")
  123. wave.Anchored = true
  124. wave.CanCollide = false
  125. wave.Locked = true
  126. wave.Size = Vector3.new(1, 1, 1)
  127. wave.TopSurface = "Smooth"
  128. wave.BottomSurface = "Smooth"
  129. wave.Transparency = 0.35
  130. wave.CFrame = fx.CFrame
  131. wave.Material = "Neon"
  132. wm = Instance.new("SpecialMesh", wave)
  133. wm.MeshType = "Sphere"
  134. wm.Scale = Vector3.new(1,1,1)
  135. local wave2 = Instance.new("Part", torso)
  136. wave2.BrickColor = BrickColor.new("Toothpaste")
  137. wave2.Anchored = true
  138. wave2.CanCollide = false
  139. wave2.Locked = true
  140. wave2.Size = Vector3.new(1, 1, 1)
  141. wave2.TopSurface = "Smooth"
  142. wave2.BottomSurface = "Smooth"
  143. wave2.Transparency = 0.35
  144. wave2.CFrame = fx.CFrame
  145. wave2.Material = "Neon"
  146. wm2 = Instance.new("SpecialMesh", wave2)
  147. wm2.MeshType = "FileMesh"
  148. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  149. wm2.Scale = Vector3.new(1,1,1)
  150. local wave3 = Instance.new("Part", torso)
  151. wave3.BrickColor = BrickColor.new("Really black")
  152. wave3.Anchored = true
  153. wave3.CanCollide = false
  154. wave3.Locked = true
  155. wave3.Size = Vector3.new(1, 1, 1)
  156. wave3.TopSurface = "Smooth"
  157. wave3.BottomSurface = "Smooth"
  158. wave3.Transparency = 0.35
  159. wave3.CFrame = fx.CFrame
  160. wave3.Material = "Neon"
  161. wm3 = Instance.new("SpecialMesh", wave3)
  162. wm3.MeshType = "FileMesh"
  163. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  164. wm3.Scale = Vector3.new(1,1,1)
  165. coroutine.wrap(function()
  166. for i = 1, 18, 1 do
  167. value = value - 0.5
  168. value2 = value2 - 0.75*1.5
  169. value3 = value3 - 0.475*1.5
  170. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  171. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  172. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  173. --wave.Size = wm.Scale
  174. wave.CFrame = fx.CFrame
  175. wave.Transparency = i/14
  176. --wave2.Size = wm2.Scale
  177. wave2.CFrame = fx.CFrame
  178. wave2.Rotation = Vector3.new(90, 0, 0)
  179. wave2.Transparency = i/14
  180. --wave3.Size = wm3.Scale
  181. wave3.CFrame = fx.CFrame
  182. wave3.Rotation = Vector3.new(90, 0, 0)
  183. wave3.Transparency = i/14
  184. wait()
  185. glowz.Rate = 0
  186.  
  187. end
  188. wait()
  189. wave:Destroy()
  190. wave2:Destroy()
  191. wave3:Destroy()
  192. end)()
  193. elseif Transforming == false then
  194. wait()
  195. end
  196. end
  197.  
  198. for i = 1, 100 do rs:wait()
  199. fx.CFrame = torso.CFrame
  200. end
  201.  
  202. Spawn(function()
  203. while wait(1) do
  204. GroundWave()
  205. end
  206. end)
  207.  
  208. wait(4)
  209.  
  210. Transforming = false
  211.  
  212. local value2 = 1
  213. for i = 1, 20 do rs:wait()
  214. value2 = value2 - 0.05
  215. glowz.Rate = 0
  216.  
  217. fx.Transparency = fx.Transparency + (1/20)
  218. fx.CFrame = torso.CFrame
  219. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  220. rs:wait()
  221. end
  222. glowz:Destroy()
  223.  
  224.  
  225. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  226. local valuer = 5
  227. local valuer2 = 10
  228. local valuer3 = 15
  229. local sa2 = Instance.new("Sound",torso)
  230. sa2.SoundId = "rbxassetid://130972023"
  231. sa2.Pitch = 1
  232. sa2.Volume = 5
  233. sa2.Looped = false
  234. sa2:Play()
  235. local sar2 = Instance.new("Sound",torso)
  236. sar2.SoundId = "rbxassetid://153274423"
  237. sar2.Pitch = 1
  238. sar2.Volume = 5
  239. sar2.Looped = false
  240. sar2:Play()
  241. local wave = Instance.new("Part", torso)
  242. wave.BrickColor = BrickColor.new("Toothpaste")
  243. wave.Anchored = true
  244. wave.CanCollide = false
  245. wave.Locked = true
  246. wave.Size = Vector3.new(1, 1, 1)
  247. wave.TopSurface = "Smooth"
  248. wave.BottomSurface = "Smooth"
  249. wave.Transparency = 0.35
  250. wave.CFrame = HandCF
  251. wm = Instance.new("SpecialMesh", wave)
  252. wm.MeshId = "rbxassetid://3270017"
  253. local wave2 = Instance.new("Part", torso)
  254. wave2.BrickColor = BrickColor.new("Really black")
  255. wave2.Anchored = true
  256. wave2.CanCollide = false
  257. wave2.Locked = true
  258. wave2.Size = Vector3.new(1, 1, 1)
  259. wave2.TopSurface = "Smooth"
  260. wave2.BottomSurface = "Smooth"
  261. wave2.Transparency = 0.35
  262. wave2.CFrame = HandCF
  263. wm2 = Instance.new("SpecialMesh", wave2)
  264. wm2.MeshId = "rbxassetid://3270017"
  265. local wave3 = Instance.new("Part", torso)
  266. wave3.BrickColor = BrickColor.new("Toothpaste")
  267. wave3.Anchored = true
  268. wave3.CanCollide = false
  269. wave3.Locked = true
  270. wave3.Size = Vector3.new(1, 1, 1)
  271. wave3.TopSurface = "Smooth"
  272. wave3.BottomSurface = "Smooth"
  273. wave3.Transparency = 0.35
  274. wave3.CFrame = HandCF
  275. wm3 = Instance.new("SpecialMesh", wave3)
  276. wm3.MeshId = "rbxassetid://3270017"
  277. coroutine.wrap(function()
  278. for i = 1, 14, 1 do
  279. valuer = valuer - 0.35
  280. valuer2 = valuer - 0.45
  281. valuer3 = valuer3 - 0.475
  282. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  283. wave.Size = wm.Scale
  284. wave.CFrame = HandCF
  285. wave.Transparency = i/14
  286. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  287. wave2.Size = wm2.Scale
  288. wave2.CFrame = HandCF
  289. wave2.Transparency = i/14
  290. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  291. wave3.Size = wm2.Scale
  292. wave3.CFrame = HandCF
  293. wave3.Transparency = i/14
  294. wait()
  295. end
  296. wait()
  297. wave:Destroy()
  298. wave2:Destroy()
  299. end)()
  300. hum.WalkSpeed = 16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement