Advertisement
memberhero

Untitled

Nov 28th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.81 KB | None | 0 0
  1. --coolallball
  2. if game.Players.LocalPlayer.Character.Animate.Disabled==false then
  3. game.Players.LocalPlayer.Character.Animate.Disabled=true
  4. end
  5. wait()
  6. local Player=game.Players.LocalPlayer
  7. repeat wait()
  8. until Player
  9. local Char=Player.Character
  10. repeat wait()
  11. until Char
  12. local CurrentEffects={}
  13. local CurrentDamages={}
  14. local Human=Char.Humanoid
  15. --local LArm=Char["Left Arm"]
  16. --local RArm=Char["Right Arm"]
  17. ---local LLeg=Char["Left Leg"]
  18. ---local RLeg=Char["Right Leg"]
  19. local Torso=Char.Torso
  20. ---local RS=Torso["Right Shoulder"]
  21. ---local LS=Torso["Left Shoulder"]
  22. ---local RH=Torso["Right Hip"]
  23. ---local LH=Torso["Left Hip"]
  24. local Head=Char.Head
  25. --local Neck=Torso.Neck
  26. local RootPart=Char.HumanoidRootPart
  27. local RootJoint=RootPart.RootJoint
  28. local equipped=false
  29. local Debounce=false
  30. local Anim="Idle"
  31. local chat = game:GetService("Chat")
  32. local Mouse=Player:GetMouse()
  33. local Lighting=game.Lighting
  34. local cf=CFrame.new
  35. local v3=Vector3.new
  36. local c3=Color3.new
  37. local it=Instance.new
  38. local angles=CFrame.Angles
  39. local rad=math.rad
  40. local ran=math.random
  41. local huge=math.huge
  42. local attacking=false
  43. local attacktype=1
  44. local Portalling=false
  45. local p = game.Players.LocalPlayer
  46. local char = p.Character
  47. local mouse = p:GetMouse()
  48. local larm = char["Left Arm"]
  49. local rarm = char["Right Arm"]
  50. local lleg = char["Left Leg"]
  51. local rleg = char["Right Leg"]
  52. local hed = char.Head
  53. local torso = char.Torso
  54. local hum = char.Humanoid
  55. local cam = game.Workspace.CurrentCamera
  56. local root = char.HumanoidRootPart
  57. local deb = false
  58. local shot = 0
  59. local debris=game:service"Debris"
  60. local l = game:GetService("Lighting")
  61. local rs = game:GetService("RunService").RenderStepped
  62. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  63. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  64. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  65. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  66. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  67. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  68. r=game:service'RunService'.RenderStepped
  69. clerp=function(a,b,t)
  70. return a:lerp(b,t)
  71. end
  72.  
  73.  
  74. local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
  75. "Lime green",
  76. }
  77.  
  78. Debounces = {
  79. CanAttack = true;
  80. NoIdl = false;
  81. Slashing = false;
  82. Slashed = false;
  83. RPunch = false;
  84. Invisible = false;
  85. RPunched = false;
  86. LPunch = false;
  87. LPunched = false;
  88. }
  89. local Touche = {char.Name, }
  90.  
  91.  
  92. function genWeld(a,b)
  93. local w = Instance.new("Weld",a)
  94. w.Part0 = a
  95. w.Part1 = b
  96. return w
  97. end
  98. function weld(a, b)
  99. local weld = Instance.new("Weld")
  100. weld.Name = "W"
  101. weld.Part0 = a
  102. weld.Part1 = b
  103. weld.C0 = a.CFrame:inverse() * b.CFrame
  104. weld.Parent = a
  105. return weld;
  106. end
  107. ----------------------------------------------------
  108. function Lerp(c1,c2,al)
  109. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  110. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  111. for i,v in pairs(com1) do
  112. com1[i] = v+(com2[i]-v)*al
  113. end
  114. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  115. end
  116. ----------------------------------------------------
  117. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  118. local wld = Instance.new("Weld", wp1)
  119. wld.Part0 = wp0
  120. wld.Part1 = wp1
  121. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  122. end
  123. ----------------------------------------------------
  124. function weld5(part0, part1, c0, c1)
  125. weeld=Instance.new("Weld", part0)
  126. weeld.Part0=part0
  127. weeld.Part1=part1
  128. weeld.C0=c0
  129. weeld.C1=c1
  130. return weeld
  131. end
  132. ----------------------------------------------------
  133. function HasntTouched(plrname)
  134. local ret = true
  135. for _, v in pairs(Touche) do
  136. if v == plrname then
  137. ret = false
  138. end
  139. end
  140. return ret
  141. end
  142. ----------------------------------------------------
  143. newWeld(torso, larm, -1.5, 0.5, 0)
  144. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  145. newWeld(torso, rarm, 1.5, 0.5, 0)
  146. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  147. newWeld(torso, hed, 0, 1.5, 0)
  148. newWeld(torso, lleg, -0.5, -1, 0)
  149. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  150. newWeld(torso, rleg, 0.5, -1, 0)
  151. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  152. newWeld(root, torso, 0, -1, 0)
  153. torso.Weld.C1 = CFrame.new(0, -1, 0)
  154.  
  155.  
  156.  
  157. p = Instance.new("Part")
  158. p.BrickColor = BrickColor.new("Lime green")
  159. p.Transparency = 1
  160. TorsoColor = p.BrickColor
  161.  
  162. local Transforming = true
  163. Human.WalkSpeed = 0
  164. local fx = Instance.new("Part",Torso)
  165. wit = p.BrickColor.Color
  166. wit2 = Color3.new(0,255,0)
  167. local glowz = Instance.new("ParticleEmitter",fx)
  168. glowz.LightEmission = 1
  169. glowz.Texture = "rbxassetid://284205403"
  170. glowz.Color = ColorSequence.new(wit)
  171. glowz.Size = NumberSequence.new(5)
  172. glowz.Speed = NumberRange.new(25,50)
  173. glowz.LockedToPart = false
  174. glowz.Transparency = NumberSequence.new(0.75)
  175. glowz.RotSpeed = NumberRange.new(-2000,2000)
  176. glowz.Lifetime = NumberRange.new(1)
  177. glowz.Rate = 50000
  178. glowz.VelocitySpread = 9001
  179. local glowz2 = Instance.new("ParticleEmitter",fx)
  180. glowz2.LightEmission = 0.5
  181. glowz.Texture = "rbxassetid://284205403"
  182. glowz2.Color = ColorSequence.new(wit2)
  183. glowz2.Size = NumberSequence.new(5)
  184. glowz2.Speed = NumberRange.new(25,50)
  185. glowz2.LockedToPart = false
  186. glowz2.Transparency = NumberSequence.new(0.75)
  187. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  188. glowz2.Lifetime = NumberRange.new(1)
  189. glowz2.Rate = 50000
  190. glowz2.VelocitySpread = 9001
  191. fx.Anchored = true
  192. fx.Material = "Neon"
  193. fx.CanCollide = false
  194. fx.Locked = true
  195. fx.Transparency = 1
  196. fx.Material = "Neon"
  197. fx.Size = Vector3.new(1,1,1)
  198. fx.TopSurface = "SmoothNoOutlines"
  199. fx.BottomSurface = "SmoothNoOutlines"
  200. fx.BrickColor = BrickColor.new("Really black")
  201. fxm = Instance.new("SpecialMesh",fx)
  202. fxm.MeshType = "Sphere"
  203. local sa2 = Instance.new("Sound",Torso)
  204. sa2.SoundId = "rbxassetid://93724183"
  205. sa2.Pitch = 0.5
  206. sa2.Volume = 5
  207. sa2.Looped = false
  208. sa2:Play()
  209. local value = 1
  210. fxm.Scale = Vector3.new(1,1,1)
  211. for i = 1, 20 do rs:wait()
  212. value = value - 0.05
  213. fx.Transparency = fx.Transparency - (1/20)
  214. fx.CFrame = Torso.CFrame
  215. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  216. rs:wait()
  217. end
  218. ----------------------------------------------------
  219. GroundWave1 = function()
  220. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  221. local Colors = {"Pastel blue-green", "Really black"}
  222. local wave = Instance.new("Part", Torso)
  223. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  224. wave.Anchored = true
  225. wave.CanCollide = false
  226. wave.Locked = true
  227. wave.Size = Vector3.new(1, 1, 1)
  228. wave.TopSurface = "Smooth"
  229. wave.BottomSurface = "Smooth"
  230. wave.Transparency = 0.35
  231. wave.CFrame = HandCF
  232. wm = Instance.new("SpecialMesh", wave)
  233. wm.MeshId = "rbxassetid://3270017"
  234. coroutine.wrap(function()
  235. for i = 1, 30, 1 do
  236. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  237. wave.Size = wm.Scale
  238. wave.CFrame = HandCF
  239. wave.Transparency = i/30
  240. wait()
  241. end
  242. wait()
  243. wave:Destroy()
  244. end)()
  245. end
  246. ----------------------------------------------------
  247.  
  248.  
  249. GroundWave3 = function()
  250. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  251. local Colors = {"Lime green", "Lime green"}
  252. local wave = Instance.new("Part", torso)
  253. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  254. wave.Anchored = true
  255. wave.CanCollide = false
  256. wave.Locked = true
  257. wave.Size = Vector3.new(1, 1, 1)
  258. wave.TopSurface = "Smooth"
  259. wave.BottomSurface = "Smooth"
  260. wave.Transparency = 0.35
  261. wave.CFrame = HandCF
  262. wm = Instance.new("SpecialMesh", wave)
  263. wm.MeshId = "rbxassetid://3270017"
  264. coroutine.wrap(function()
  265. for i = 1, 14, 1 do
  266. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  267. wave.Size = wm.Scale
  268. wave.CFrame = HandCF
  269. wave.Transparency = i/14
  270. wait()
  271. end
  272. wait()
  273. wave:Destroy()
  274. end)()
  275. end
  276.  
  277.  
  278.  
  279.  
  280.  
  281. local acos = math.acos
  282. local sqrt = math.sqrt
  283. local Vec3 = Vector3.new
  284. local fromAxisAngle = CFrame.fromAxisAngle
  285.  
  286. local function toAxisAngle(CFr)
  287. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  288. local Angle = math.acos((R00+R11+R22-1)/2)
  289. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  290. A = A == 0 and 0.00001 or A
  291. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  292. B = B == 0 and 0.00001 or B
  293. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  294. C = C == 0 and 0.00001 or C
  295. local x = (R21-R12)/sqrt(A)
  296. local y = (R02-R20)/sqrt(B)
  297. local z = (R10-R01)/sqrt(C)
  298. return Vec3(x,y,z),Angle
  299. end
  300.  
  301. local acos = math.acos
  302. local sqrt = math.sqrt
  303. local Vec3 = Vector3.new
  304. local fromAxisAngle = CFrame.fromAxisAngle
  305.  
  306. local function toAxisAngle(CFr)
  307. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  308. local Angle = math.acos((R00+R11+R22-1)/2)
  309. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  310. A = A == 0 and 0.00001 or A
  311. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  312. B = B == 0 and 0.00001 or B
  313. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  314. C = C == 0 and 0.00001 or C
  315. local x = (R21-R12)/sqrt(A)
  316. local y = (R02-R20)/sqrt(B)
  317. local z = (R10-R01)/sqrt(C)
  318. return Vec3(x,y,z),Angle
  319. end
  320.  
  321. function ApplyTrig(Num,Func)
  322. local Min,Max = Func(0),Func(1)
  323. local i = Func(Num)
  324. return (i-Min)/(Max-Min)
  325. --[[if Func == "sin" then
  326. return (math.sin((1-Num)*math.pi)+1)/2
  327. elseif Func == "cos" then
  328. return (math.cos((1-Num)*math.pi)+1)/2
  329. end]]
  330. end
  331.  
  332. function LerpCFrame(CFrame1,CFrame2,Num)
  333. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  334. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  335. end
  336.  
  337.  
  338.  
  339. function Crater(Torso,Radius)
  340. Spawn(function()
  341. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  342. local Ignore = {}
  343. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  344. if v.Character ~= nil then
  345. Ignore[#Ignore+1] = v.Character
  346. end
  347. end
  348. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  349. if Hit == nil then return end
  350. local Parts = {}
  351. for i = 1,360,10 do
  352. local P = Instance.new("Part",Torso.Parent)
  353. P.Anchored = true
  354. P.FormFactor = "Custom"
  355. P.BrickColor = BrickColor.new("Lime green")
  356. P.Material = "Granite"
  357. P.TopSurface = "Smooth"
  358. P.BottomSurface = "Smooth"
  359. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  360. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  361. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  362. if math.random(0,5) == 0 then -- rubble
  363. local P = Instance.new("Part",Torso.Parent)
  364. P.Anchored = true
  365. P.FormFactor = "Custom"
  366. P.BrickColor = BrickColor.new("Lime green")
  367. P.Material = Hit.Material
  368. P.TopSurface = "Smooth"
  369. P.BottomSurface = "Smooth"
  370. P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
  371. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  372. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  373. end
  374. end
  375. for i = 0,1,0.05 do
  376. for i2,v in pairs(Parts) do
  377. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  378. end
  379. wait(0.02)
  380. end
  381. for i,v in pairs(Parts) do
  382. if v[1].Size.X > 2.1 then
  383. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  384. end
  385. v[1].Anchored = false
  386. end
  387. for i = 0,1,0.05 do
  388. for i2,v in pairs(Parts) do
  389. v[1].Transparency = i
  390. if i == 1 then
  391. v[1]:Destroy()
  392. elseif i >= 0.25 then
  393. v[1].CanCollide = false
  394. end
  395. end
  396. wait(0.02)
  397. end
  398. Parts = nil
  399. end)
  400. end
  401.  
  402.  
  403.  
  404. GroundWave = function()
  405. if Transforming == true then
  406. local value = 5
  407. local value2 = 10
  408. local value3 = 20
  409. local sa2 = Instance.new("Sound",Torso)
  410. sa2.SoundId = "rbxassetid://393621716"
  411. sa2.Pitch = 1
  412. sa2.Volume = 10
  413. sa2.Looped = false
  414. sa2:Play()
  415. local wave = Instance.new("Part", Torso)
  416. local glowz = Instance.new("ParticleEmitter",wave)
  417. glowz.LightEmission = 1
  418. glowz.Texture = "rbxassetid://284205403"
  419. glowz.Color = ColorSequence.new(wit)
  420. glowz.Size = NumberSequence.new(30)
  421. glowz.Speed = NumberRange.new(25,100)
  422. glowz.LockedToPart = false
  423. glowz.Transparency = NumberSequence.new(0.75)
  424. glowz.RotSpeed = NumberRange.new(-2000,2000)
  425. glowz.Lifetime = NumberRange.new(1)
  426. glowz.Rate = 50000
  427. glowz.VelocitySpread = 9001
  428. local glowz2 = Instance.new("ParticleEmitter",wave)
  429. glowz2.LightEmission = 1
  430. glowz.Texture = "rbxassetid://284205403"
  431. glowz2.Color = ColorSequence.new(wit)
  432. glowz2.Size = NumberSequence.new(30)
  433. glowz2.Speed = NumberRange.new(25,100)
  434. glowz2.LockedToPart = false
  435. glowz2.Transparency = NumberSequence.new(0.75)
  436. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  437. glowz2.Lifetime = NumberRange.new(1)
  438. glowz2.Rate = 50000
  439. glowz2.VelocitySpread = 9001
  440. wave.BrickColor = BrickColor.new("Really black")
  441. wave.Anchored = true
  442. wave.CanCollide = false
  443. wave.Locked = true
  444. wave.Size = Vector3.new(1, 1, 1)
  445. wave.TopSurface = "Smooth"
  446. wave.BottomSurface = "Smooth"
  447. wave.Transparency = 0.35
  448. wave.CFrame = fx.CFrame
  449. wave.Material = "Neon"
  450. wm = Instance.new("SpecialMesh", wave)
  451. wm.MeshType = "Sphere"
  452. wm.Scale = Vector3.new(1,1,1)
  453. local wave2 = Instance.new("Part", Torso)
  454. wave2.BrickColor = TorsoColor
  455. wave2.Anchored = true
  456. wave2.CanCollide = false
  457. wave2.Locked = true
  458. wave2.Size = Vector3.new(1, 1, 1)
  459. wave2.TopSurface = "Smooth"
  460. wave2.BottomSurface = "Smooth"
  461. wave2.Transparency = 0.35
  462. wave2.CFrame = fx.CFrame
  463. wave2.Material = "Neon"
  464. wm2 = Instance.new("SpecialMesh", wave2)
  465. wm2.MeshType = "FileMesh"
  466. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  467. wm2.Scale = Vector3.new(1,1,1)
  468. local wave3 = Instance.new("Part", Torso)
  469. wave3.BrickColor = BrickColor.new("Really black")
  470. wave3.Anchored = true
  471. wave3.CanCollide = false
  472. wave3.Locked = true
  473. wave3.Size = Vector3.new(1, 1, 1)
  474. wave3.TopSurface = "Smooth"
  475. wave3.BottomSurface = "Smooth"
  476. wave3.Transparency = 0.35
  477. wave3.CFrame = fx.CFrame
  478. wave3.Material = "Neon"
  479. wm3 = Instance.new("SpecialMesh", wave3)
  480. wm3.MeshType = "FileMesh"
  481. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  482. wm3.Scale = Vector3.new(1,1,1)
  483. coroutine.wrap(function()
  484. for i = 1, 18, 1 do
  485. value = value - 0.5
  486. value2 = value2 - 0.75*1.5
  487. value3 = value3 - 0.475*1.5
  488. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  489. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  490. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  491. --wave.Size = wm.Scale
  492. wave.CFrame = fx.CFrame
  493. wave.Transparency = i/14
  494. --wave2.Size = wm2.Scale
  495. wave2.CFrame = fx.CFrame
  496. wave2.Rotation = Vector3.new(90, 0, 0)
  497. wave2.Transparency = i/14
  498. --wave3.Size = wm3.Scale
  499. wave3.CFrame = fx.CFrame
  500. wave3.Rotation = Vector3.new(90, 0, 0)
  501. wave3.Transparency = i/14
  502. wait()
  503. glowz.Rate = 0
  504. glowz2.Rate = 0
  505. end
  506. wait()
  507. wave:Destroy()
  508. wave2:Destroy()
  509. wave3:Destroy()
  510. end)()
  511. elseif Transforming == false then
  512. wait()
  513. end
  514. end
  515.  
  516. for i = 1, 100 do rs:wait()
  517. fx.CFrame = Torso.CFrame
  518. end
  519.  
  520. spawn(function()
  521. while wait(1) do
  522. GroundWave()
  523. end
  524. end)
  525.  
  526. wait(4)
  527.  
  528. Transforming = false
  529.  
  530.  
  531.  
  532. local value2 = 1
  533. for i = 1, 20 do rs:wait()
  534. value2 = value2 - 0.05
  535. glowz.Rate = 0
  536. glowz2.Rate = 0
  537. fx.Transparency = fx.Transparency + (1/20)
  538. fx.CFrame = torso.CFrame
  539. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  540. rs:wait()
  541. end
  542. glowz:Destroy()
  543. glowz2:Destroy()
  544.  
  545. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  546. local valuer = 5
  547. local valuer2 = 10
  548. local valuer3 = 15
  549. local sa2 = Instance.new("Sound",torso)
  550. sa2.SoundId = "rbxassetid://130972023"
  551. sa2.Pitch = 1
  552. sa2.Volume = 5
  553. sa2.Looped = false
  554. sa2:Play()
  555. local sar2 = Instance.new("Sound",torso)
  556. sar2.SoundId = "rbxassetid://153274423"
  557. sar2.Pitch = 1
  558. sar2.Volume = 5
  559. sar2.Looped = false
  560. sar2:Play()
  561. local Mus = Instance.new("Sound",torso)
  562. Mus.SoundId = "rbxassetid://397952612"
  563. Mus.Pitch = 1
  564. Mus.Volume = 6
  565. Mus.Looped = true
  566. Mus:Play()
  567. Crater(torso,67)
  568. local wave = Instance.new("Part", torso)
  569. wave.BrickColor = TorsoColor
  570. wave.Anchored = true
  571. wave.CanCollide = false
  572. wave.Locked = true
  573. wave.Size = Vector3.new(1, 1, 1)
  574. wave.TopSurface = "Smooth"
  575. wave.BottomSurface = "Smooth"
  576. wave.Transparency = 0.35
  577. wave.CFrame = HandCF
  578. wm = Instance.new("SpecialMesh", wave)
  579. wm.MeshId = "rbxassetid://3270017"
  580. local wave2 = Instance.new("Part", torso)
  581. wave2.BrickColor = BrickColor.new("Really black")
  582. wave2.Anchored = true
  583. wave2.CanCollide = false
  584. wave2.Locked = true
  585. wave2.Size = Vector3.new(1, 1, 1)
  586. wave2.TopSurface = "Smooth"
  587. wave2.BottomSurface = "Smooth"
  588. wave2.Transparency = 0.35
  589. wave2.CFrame = HandCF
  590. wm2 = Instance.new("SpecialMesh", wave2)
  591. wm2.MeshId = "rbxassetid://3270017"
  592. local wave3 = Instance.new("Part", torso)
  593. wave3.BrickColor = TorsoColor
  594. wave3.Anchored = true
  595. wave3.CanCollide = false
  596. wave3.Locked = true
  597. wave3.Size = Vector3.new(1, 1, 1)
  598. wave3.TopSurface = "Smooth"
  599. wave3.BottomSurface = "Smooth"
  600. wave3.Transparency = 0.35
  601. wave3.CFrame = HandCF
  602. wm3 = Instance.new("SpecialMesh", wave3)
  603. wm3.MeshId = "rbxassetid://3270017"
  604. coroutine.wrap(function()
  605. for i = 1, 14, 1 do
  606. valuer = valuer - 0.35
  607. valuer2 = valuer - 0.45
  608. valuer3 = valuer3 - 0.475
  609. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  610. wave.Size = wm.Scale
  611. wave.CFrame = HandCF
  612. wave.Transparency = i/14
  613. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  614. wave2.Size = wm2.Scale
  615. wave2.CFrame = HandCF
  616. wave2.Transparency = i/14
  617. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  618. wave3.Size = wm2.Scale
  619. wave3.CFrame = HandCF
  620. wave3.Transparency = i/14
  621. wait()
  622. end
  623. wait()
  624. wave:Destroy()
  625. wave2:Destroy()
  626. end)()
  627. hum.WalkSpeed = 16
  628.  
  629. spawn(function()
  630. while wait(2)
  631. do
  632. GroundWave3()
  633. end
  634. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement