Advertisement
gray_alli28codesrbx

aaaaaaaaaaa

Aug 7th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 210.15 KB | None | 0 0
  1. -----------//MASTER OF ELEMENTS\\-----------
  2. --[[Movelist
  3. Q = Water Barrier
  4. E = Rock Tower Blast
  5. R = Fireball
  6. T = Taunt
  7. F = Avatar state(Press again to turn back to nomal, makes you insanely powerful!)
  8. Y = Pulsar
  9. U = Rock Shield
  10. P = Hellstorm
  11. G = Large Gust
  12. H = Wind Rush(Press again to stop)
  13. J = The Zerstörer
  14. K = Hydra
  15. L = The Twister
  16. C = Water totem(When active, makes all rock attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  17. V = Fire totem(When active, makes all fire attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  18. B = Air totem(When active, makes all air attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  19. N = Rock totem(When active, makes all water attacks do more damage)(Only one can be activated at a time)(Press again to stop)
  20. ---------]]
  21.  
  22. --And here's another one leaked! Stop stealing from me skids.--
  23. --Please go easy on the moves, this script can hit the part limit VERY fast, so be warned.--
  24. --To be honest, i dislike making Vereus, to see so many skids getting butthurt about it saddens me, it was piss easy to make and it's incredibly unoriginal.--
  25. --You see the amount of attacks? This is what i'm capable of when my shit DOESN'T get stolen whilst in development, take note skids.--
  26. --This is my biggest project yet.--
  27. --For the people who had it before the leak, cry about it, for the people who didn't have it before the leak, enjoy it!--
  28.  
  29. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  30. do
  31. script.Parent = owner.Character
  32. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  33. local function NewFakeEvent()
  34. local Bind = Instance.new("BindableEvent")
  35. local Fake;Fake = {Connections = {},
  36. fakeEvent=true;
  37. Connect=function(self,Func)
  38. Bind.Event:connect(Func)
  39. self.Connections[Bind] = true
  40. return setmetatable({Connected = true},{
  41. __index = function (self,Index)
  42. if Index:lower() == "disconnect" then
  43. return function() Fake.Connections[Bind] = false;self.Connected = false end
  44. end
  45. return Fake[Index]
  46. end;
  47. __tostring = function() return "Connection" end;
  48. })
  49. end}
  50. Fake.connect = Fake.Connect;return Fake;
  51. end
  52. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  53. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  54. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  55. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  56. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  57. local function TriggerEvent(self,Event,...)
  58. local Trigger = Mouse[Event]
  59. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  60. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  61. end
  62. end
  63. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  64. Event.OnServerEvent:Connect(function(FiredBy,Input)
  65. if FiredBy.Name ~= owner.Name then return end
  66. if Input.MouseEvent then
  67. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  68. else
  69. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  70. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  71. for _,Action in pairs(ContextActionService.Actions) do
  72. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  73. end
  74. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  75. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  76. end
  77. end)
  78. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  79. Event.Parent = NLS([[
  80. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  81. local Input = function(Input,gameProcessedEvent)
  82. if gameProcessedEvent then return end
  83. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  84. end
  85. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  86. local Hit,Target
  87. while wait(1/30) do
  88. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  89. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  90. end
  91. end
  92. ]],owner.Character)
  93. end
  94. RealGame = game;game = setmetatable({},{
  95. __index = function (self,Index)
  96. local Sandbox = function (Thing)
  97. if Thing:IsA("Player") then
  98. local RealPlayer = Thing
  99. return setmetatable({},{
  100. __index = function (self,Index)
  101. local Type = type(RealPlayer[Index])
  102. if Type == "function" then
  103. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  104. return function (self)return InternalData["Mouse"] end
  105. end
  106. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  107. end
  108. return RealPlayer[Index]
  109. end;
  110. __tostring = function(self) return RealPlayer.Name end
  111. })
  112. end
  113. end
  114. if RealGame[Index] then
  115. local Type = type(RealGame[Index])
  116. if Type == "function" then
  117. if Index:lower() == "getservice" or Index:lower() == "service" then
  118. return function (self,Service)
  119. local FakeServices = {
  120. ["players"] = function()
  121. return setmetatable({},{
  122. __index = function (self2,Index2)
  123. local RealService = RealGame:GetService(Service)
  124. local Type2 = type(Index2)
  125. if Type2 == "function" then
  126. return function (self,...) return RealService[Index2](RealService,...)end
  127. else
  128. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  129. return RealService[Index2]
  130. end
  131. end;
  132. __tostring = function(self) return RealGame:GetService(Service).Name end
  133. })
  134. end;
  135. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  136. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  137. ["runservice"] = function()
  138. return setmetatable({},{
  139. __index = function(self2,Index2)
  140. local RealService = RealGame:GetService(Service)
  141. local Type2 = type(Index2)
  142. if Type2 == "function" then
  143. return function (self,...) return RealService[Index2](RealService,...) end
  144. else
  145. local RunServices = {
  146. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  147. ["renderstepped"] = function() return RealService["Stepped"] end
  148. }
  149. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  150. return RealService[Index2]
  151. end
  152. end
  153. })
  154. end
  155. }
  156. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  157. return RealGame:GetService(Service)
  158. end
  159. end
  160. return function (self,...) return RealGame[Index](RealGame,...) end
  161. else
  162. if game:GetService(Index) then return game:GetService(Index) end
  163. return RealGame[Index]
  164. end
  165. end
  166. return nil
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  169.  
  170. Player=game:GetService("Players").LocalPlayer
  171. Character=Player.Character
  172. Character.Humanoid.Name = "noneofurbusiness"
  173. hum = Character.noneofurbusiness
  174. LeftArm=Character["Left Arm"]
  175. LeftLeg=Character["Left Leg"]
  176. RightArm=Character["Right Arm"]
  177. RightLeg=Character["Right Leg"]
  178. Root=Character["HumanoidRootPart"]
  179. Head=Character["Head"]
  180. Torso=Character["Torso"]
  181. Neck=Torso["Neck"]
  182. attacking = false
  183. laughing = false
  184. running = false
  185. touchedistrue = false
  186. throw1 = true
  187. throw2 = false
  188. downpress = false
  189. id = 2435339444
  190. taim = nil
  191. change = 0
  192. ws = 90
  193. avatarstate = false
  194. hpheight = 5
  195. appi = false
  196. dontforgetthisbool = false
  197. ravagewind = false
  198. fireball1 = true
  199. firsttimewtr = false
  200. nottouched = false
  201. nottouched2 = false
  202. fireball2 = false
  203. breakwaterm = false
  204. tauntdebounce = false
  205. allowlev = true
  206. position = nil
  207. spwt = false
  208. MseGuide = true
  209. tornadobounce = false
  210. bbv = false
  211. levitate = false
  212. firsttime = false
  213. apocalypse = false
  214. powvol = 0
  215. waterp = false
  216. spinwater = false
  217. settime = 0
  218. waterz = false
  219. winddashing = false
  220. bluetotem = false
  221. browntotem = false
  222. redtotem = false
  223. whitetotem = false
  224. sine = 0
  225. t = 0
  226. dgs = 75
  227. mouse = Player:GetMouse()
  228. RunSrv = game:GetService("RunService")
  229. RenderStepped = game:GetService("RunService").RenderStepped
  230. removeuseless = game:GetService("Debris")
  231. grasstable={}
  232. watertable={}
  233. colortable={"Bright yellow","Bright orange"}
  234. colortable2={"Cyan","Light Royal blue"}
  235. pitchtable={1.1,1.05,1,.95,.9,.95,.8,.75,1.001,1.2}
  236. gottalktable = {2489876894,2489876696,2489876326,2489876052,2489875728}
  237. got = #gottalktable
  238. gottalktable2 = {2492598999,2492599159,2492599503,2492599303,2492599663,2492599795,2492599925,2492600097,2492600455,2492600258}
  239. got2 = #gottalktable2
  240. randompitch = #pitchtable
  241. colors = #colortable
  242. colors2 = #colortable2
  243.  
  244. screenGui = Instance.new("ScreenGui")
  245. screenGui.Parent = script.Parent
  246.  
  247. local HEADLERP = Instance.new("ManualWeld")
  248. HEADLERP.Parent = Head
  249. HEADLERP.Part0 = Head
  250. HEADLERP.Part1 = Head
  251. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  252.  
  253. local TORSOLERP = Instance.new("ManualWeld")
  254. TORSOLERP.Parent = Root
  255. TORSOLERP.Part0 = Torso
  256. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  257.  
  258. local ROOTLERP = Instance.new("ManualWeld")
  259. ROOTLERP.Parent = Root
  260. ROOTLERP.Part0 = Root
  261. ROOTLERP.Part1 = Torso
  262. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  263.  
  264. local RIGHTARMLERP = Instance.new("ManualWeld")
  265. RIGHTARMLERP.Parent = RightArm
  266. RIGHTARMLERP.Part0 = RightArm
  267. RIGHTARMLERP.Part1 = Torso
  268. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  269.  
  270. local LEFTARMLERP = Instance.new("ManualWeld")
  271. LEFTARMLERP.Parent = LeftArm
  272. LEFTARMLERP.Part0 = LeftArm
  273. LEFTARMLERP.Part1 = Torso
  274. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  275.  
  276. local RIGHTLEGLERP = Instance.new("ManualWeld")
  277. RIGHTLEGLERP.Parent = RightLeg
  278. RIGHTLEGLERP.Part0 = RightLeg
  279. RIGHTLEGLERP.Part1 = Torso
  280. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  281.  
  282. local LEFTLEGLERP = Instance.new("ManualWeld")
  283. LEFTLEGLERP.Parent = LeftLeg
  284. LEFTLEGLERP.Part0 = LeftLeg
  285. LEFTLEGLERP.Part1 = Torso
  286. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  287.  
  288. local function weldBetween(a, b)
  289. local weld = Instance.new("ManualWeld", a)
  290. weld.Part0 = a
  291. weld.Part1 = b
  292. weld.C0 = a.CFrame:inverse() * b.CFrame
  293. return weld
  294. end
  295.  
  296. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  297. A = Instance.new("Attachment", PARENT)
  298. A.Position = POSITION1
  299. A.Name = "A"
  300. B = Instance.new("Attachment", PARENT)
  301. B.Position = POSITION2
  302. B.Name = "B"
  303. tr1 = Instance.new("Trail", PARENT)
  304. tr1.Attachment0 = A
  305. tr1.Attachment1 = B
  306. tr1.Enabled = true
  307. tr1.Lifetime = LIFETIME
  308. tr1.TextureMode = "Static"
  309. tr1.LightInfluence = 0
  310. tr1.Color = COLOR
  311. tr1.Transparency = NumberSequence.new(0, 1)
  312. end
  313.  
  314. coroutine.wrap(function()
  315. while wait() do
  316. if allowlev then
  317. hum.HipHeight = hpheight
  318. end
  319. hum.WalkSpeed = ws
  320. LeftArm.BrickColor = BrickColor.new("Really black")
  321. RightArm.BrickColor = BrickColor.new("Really black")
  322. Head.BrickColor = BrickColor.new("Really black")
  323. end
  324. end)()
  325. godmode = coroutine.wrap(function()
  326. for i,v in pairs(Character:GetChildren()) do
  327. if v:IsA("BasePart") and v ~= Root then
  328. v.Anchored = false
  329. end
  330. end
  331. while true do
  332. hum.MaxHealth = math.huge
  333. wait(0.0000001)
  334. hum.Health = math.huge
  335. wait()
  336. end
  337. end)
  338. godmode()
  339. ff = Instance.new("ForceField", Character)
  340.  
  341. coroutine.wrap(function()
  342. for i,v in pairs(Character:GetChildren()) do
  343. if v.Name == "Animate" then v:Remove()
  344. end
  345. end
  346. end)()
  347.  
  348. function damagealll(Radius,Position)
  349. local Returning = {}
  350. for _,v in pairs(workspace:GetChildren()) do
  351. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  352. if v:FindFirstChild("Torso") then
  353. local Mag = (v.Torso.Position - Position).magnitude
  354. if Mag < Radius then
  355. table.insert(Returning,v)
  356. end
  357. elseif v:FindFirstChild("UpperTorso") then
  358. local Mag = (v.UpperTorso.Position - Position).magnitude
  359. if Mag < Radius then
  360. table.insert(Returning,v)
  361. end
  362. end
  363. end
  364. end
  365. return Returning
  366. end
  367.  
  368. ArtificialHB = Instance.new("BindableEvent", script)
  369. ArtificialHB.Name = "Heartbeat"
  370. script:WaitForChild("Heartbeat")
  371.  
  372. frame = 1 / 60
  373. tf = 0
  374. allowframeloss = false
  375. tossremainder = false
  376.  
  377.  
  378. lastframe = tick()
  379. script.Heartbeat:Fire()
  380.  
  381.  
  382. game:GetService("RunService").Heartbeat:connect(function(s, p)
  383. tf = tf + s
  384. if tf >= frame then
  385. if allowframeloss then
  386. script.Heartbeat:Fire()
  387. lastframe = tick()
  388. else
  389. for i = 1, math.floor(tf / frame) do
  390. script.Heartbeat:Fire()
  391. end
  392. lastframe = tick()
  393. end
  394. if tossremainder then
  395. tf = 0
  396. else
  397. tf = tf - frame * math.floor(tf / frame)
  398. end
  399. end
  400. end)
  401.  
  402. function swait(num)
  403. if num == 0 or num == nil then
  404. game:service("RunService").Stepped:wait(0)
  405. else
  406. for i = 0, num do
  407. game:service("RunService").Stepped:wait(0)
  408. end
  409. end
  410. end
  411.  
  412. doomtheme = Instance.new("Sound", Torso)
  413. doomtheme.Volume = 3
  414. doomtheme.Name = "doomtheme"
  415. doomtheme.Looped = true
  416. doomtheme.SoundId = "rbxassetid://"..id
  417. doomtheme:Play()
  418.  
  419. Powerup = Instance.new("Sound",Torso)
  420. Powerup.Volume = powvol
  421. Powerup.SoundId = "rbxassetid://2492215919"
  422. Powerup.Name = "powerup"
  423. Powerup:Play()
  424. Powerup.Looped = true
  425.  
  426. Torso.ChildRemoved:connect(function(removed)
  427. if removed.Name == "doomtheme" then
  428. doomtheme = Instance.new("Sound", Torso)
  429. if avatarstate then
  430. doomtheme.Volume = 6
  431. else
  432. doomtheme.Volume = 3
  433. end
  434. doomtheme.Name = "doomtheme"
  435. doomtheme.Looped = true
  436. if avatarstate then
  437. doomtheme.SoundId = "rbxassetid://2497727458"
  438. else
  439. doomtheme.SoundId = "rbxassetid://"..id
  440. end
  441. doomtheme:Play()
  442. end
  443. end)
  444.  
  445. coroutine.wrap(function()
  446. while wait() do
  447. pcall(function()
  448. Powerup.Volume = powvol
  449. end)
  450. end
  451. end)()
  452.  
  453. Torso.ChildRemoved:connect(function(removed)
  454. if removed.Name == "powerup" then
  455. Powerup = Instance.new("Sound",Torso)
  456. Powerup.Volume = powvol
  457. Powerup.SoundId = "rbxassetid://2492215919"
  458. Powerup.Name = "powerup"
  459. Powerup:Play()
  460. Powerup.Looped = true
  461. end
  462. end)
  463.  
  464. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  465. so = Instance.new("Sound")
  466. so.Parent = PARENT
  467. so.SoundId = "rbxassetid://"..ID
  468. so.Volume = VOL
  469. so.Looped = LOOP
  470. so:Play()
  471. removeuseless:AddItem(so,REMOVE)
  472. end
  473.  
  474. mouse.KeyDown:connect(function(Press)
  475. Press=Press:lower()
  476. if Press=='m' then
  477. if debounce then return end
  478. debounce = true
  479. attacking = true
  480. allowlev = false
  481. dontforgetthisbool = true
  482. coroutine.wrap(function()
  483. while dontforgetthisbool do
  484. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 0*math.sin(sine/12)),math.rad(0),math.rad(0)),.1)
  485. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.7,1.705,-.2) * CFrame.Angles(math.rad(-10),math.rad(-0),math.rad(75 + 1 *math.sin(sine/12))),.1)
  486. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,1.705,-.2) * CFrame.Angles(math.rad(-10),math.rad(-0),math.rad(-75 - 1 *math.sin(sine/12))),.1)
  487. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.7, 1.8,0) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(10 + 2 * math.sin(sine/12))), 0.1)
  488. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.7, 1.8,0) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-10 - 2 * math.sin(sine/12))), 0.1)
  489. swait()
  490. end
  491. end)()
  492. craterloc = Instance.new("Part",Torso)
  493. craterloc.Size = Vector3.new(1,1,1)
  494. craterloc.Transparency = 0
  495. craterloc.Anchored = false
  496. craterloc.CanCollide = false
  497. craterlocweld = weldBetween(craterloc,levitatewave)
  498. bnmv = 0
  499. for i = 1, 75 do
  500. bnmv = bnmv + 15
  501. grassblocks = Instance.new("Part",Torso)
  502. grassblocks.Size = Vector3.new(1,1,1)
  503. grassblocks.Material = "Grass"
  504. grassblocks.Anchored = false
  505. grassblocks.Transparency = 0
  506. grassblocks.CanCollide = false
  507. grassblocks.Name = "nme"
  508. grassblockswld = weldBetween(grassblocks,craterloc)
  509. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  510. removeuseless:AddItem(grassblocks,25)
  511. crater2 = Instance.new("Part",Torso)
  512. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  513. crater2.Size = Vector3.new(6.5,6.5,6.5)
  514. crater2.Anchored = true
  515. crater2.Name = "cr2"
  516. crater2.CanCollide = false
  517. crater2.Transparency = 1
  518. crater2.Material = "Grass"
  519. crater2.BrickColor = BrickColor.new("Bright green")
  520. grassblockswld:Remove()
  521. end
  522. grassblockswld:Remove()
  523. for i,v in pairs(Torso:GetChildren()) do
  524. if v.Name == "nme" then
  525. v.Anchored = true
  526. end
  527. end
  528. coroutine.wrap(function()
  529. for i = 1, 100 do
  530. swait()
  531. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  532. v.Transparency = v.Transparency + .05
  533. end
  534. end
  535. end
  536. end)()
  537. elesize = .1
  538. coroutine.wrap(function()
  539. for i = 1, 10 do
  540. shockwef = Instance.new("Part",Torso)
  541. shockwef.Anchored = true
  542. shockwef.CanCollide = false
  543. shockwef.Size = Vector3.new(4,4,4)
  544. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  545. shockwef.BrickColor = BrickColor.new("White")
  546. shockwef.Transparency = .5
  547. shockwef.Material = "Neon"
  548. shockwef.Name = "corodaad"
  549. removeuseless:AddItem(shockwef,5)
  550. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  551. swait()
  552. end
  553. for i = 1, 25 do
  554. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  555. swait()
  556. end
  557. end)()
  558. for i = 1, 100 do
  559. elesize = elesize + .25
  560. for i,v in pairs(Torso:GetChildren()) do
  561. if v.Name == "nme" then
  562. elementblock = Instance.new("Part",Torso)
  563. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  564. elementblock.Transparency = 0
  565. elementblock.Anchored = true
  566. elementblock.CanCollide = false
  567. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  568. elementblock.Material = "Grass"
  569. elementblock.BrickColor = BrickColor.new("Bright green")
  570. elementblock.Name = "ele"
  571. removeuseless:AddItem(elementblock,1.5)
  572. craterswoo = v
  573. v.CFrame = v.CFrame * CFrame.new(2,0,2)
  574. end
  575. end
  576. swait()
  577. end
  578. for i,v in pairs(Torso:GetChildren()) do
  579. if v.Name == "nme" then
  580. v:Remove()
  581. end
  582. end
  583. for i,v in pairs(Torso:GetChildren()) do
  584. if v.Name == "cr2" then
  585. v:Remove()
  586. end
  587. end
  588. craterloc:Remove()
  589. craterloc = Instance.new("Part",Torso)
  590. craterloc.Size = Vector3.new(1,1,1)
  591. craterloc.Transparency = 0
  592. craterloc.Anchored = false
  593. craterloc.CanCollide = false
  594. craterlocweld = weldBetween(craterloc,levitatewave)
  595. bnmv = 0
  596. for i = 1, 75 do
  597. bnmv = bnmv + 15
  598. grassblocks = Instance.new("Part",Torso)
  599. grassblocks.Size = Vector3.new(1,1,1)
  600. grassblocks.Material = "Grass"
  601. grassblocks.Anchored = false
  602. grassblocks.Transparency = 0
  603. grassblocks.CanCollide = false
  604. grassblocks.Name = "nme"
  605. grassblockswld = weldBetween(grassblocks,craterloc)
  606. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  607. removeuseless:AddItem(grassblocks,25)
  608. crater2 = Instance.new("Part",Torso)
  609. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  610. crater2.Size = Vector3.new(6.5,6.5,6.5)
  611. crater2.Anchored = true
  612. crater2.Name = "cr2"
  613. crater2.CanCollide = false
  614. crater2.Transparency = 1
  615. crater2.Material = "Grass"
  616. crater2.BrickColor = BrickColor.new("Cyan")
  617. grassblockswld:Remove()
  618. end
  619. grassblockswld:Remove()
  620. for i,v in pairs(Torso:GetChildren()) do
  621. if v.Name == "nme" then
  622. v.Anchored = true
  623. end
  624. end
  625. coroutine.wrap(function()
  626. for i = 1, 100 do
  627. swait()
  628. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  629. v.Transparency = v.Transparency + .05
  630. end
  631. end
  632. end
  633. end)()
  634. elesize = .1
  635. coroutine.wrap(function()
  636. for i = 1, 10 do
  637. shockwef = Instance.new("Part",Torso)
  638. shockwef.Anchored = true
  639. shockwef.CanCollide = false
  640. shockwef.Size = Vector3.new(4,4,4)
  641. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  642. shockwef.BrickColor = BrickColor.new("White")
  643. shockwef.Transparency = .5
  644. shockwef.Material = "Neon"
  645. shockwef.Name = "corodaad"
  646. removeuseless:AddItem(shockwef,5)
  647. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  648. swait()
  649. end
  650. for i = 1, 25 do
  651. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  652. swait()
  653. end
  654. end)()
  655. for i = 1, 100 do
  656. elesize = elesize + .25
  657. for i,v in pairs(Torso:GetChildren()) do
  658. if v.Name == "nme" then
  659. colors = colortable[math.random(1,#colortable)]
  660. elementblock = Instance.new("Part",Torso)
  661. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  662. elementblock.Transparency = .5
  663. elementblock.Anchored = true
  664. elementblock.CanCollide = false
  665. elementblock.Material = "Neon"
  666. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  667. elementblock.BrickColor = BrickColor.new(colors)
  668. elementblock.Name = "ele"
  669. removeuseless:AddItem(elementblock,1.5)
  670. craterswoo = v
  671. v.CFrame = v.CFrame * CFrame.new(2,0,2)
  672. end
  673. end
  674. swait()
  675. end
  676. for i,v in pairs(Torso:GetChildren()) do
  677. if v.Name == "nme" then
  678. v:Remove()
  679. end
  680. end
  681. for i,v in pairs(Torso:GetChildren()) do
  682. if v.Name == "cr2" then
  683. v:Remove()
  684. end
  685. end
  686. craterloc:Remove()
  687. craterloc = Instance.new("Part",Torso)
  688. craterloc.Size = Vector3.new(1,1,1)
  689. craterloc.Transparency = 0
  690. craterloc.Anchored = false
  691. craterloc.CanCollide = false
  692. craterlocweld = weldBetween(craterloc,levitatewave)
  693. bnmv = 0
  694. for i = 1, 75 do
  695. bnmv = bnmv + 15
  696. grassblocks = Instance.new("Part",Torso)
  697. grassblocks.Size = Vector3.new(1,1,1)
  698. grassblocks.Material = "Grass"
  699. grassblocks.Anchored = false
  700. grassblocks.Transparency = 0
  701. grassblocks.CanCollide = false
  702. grassblocks.Name = "nme"
  703. grassblockswld = weldBetween(grassblocks,craterloc)
  704. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  705. removeuseless:AddItem(grassblocks,25)
  706. crater2 = Instance.new("Part",Torso)
  707. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  708. crater2.Size = Vector3.new(6.5,6.5,6.5)
  709. crater2.Anchored = true
  710. crater2.Name = "cr2"
  711. crater2.CanCollide = false
  712. crater2.Transparency = 1
  713. crater2.Material = "Grass"
  714. crater2.BrickColor = BrickColor.new("Cyan")
  715. grassblockswld:Remove()
  716. end
  717. grassblockswld:Remove()
  718. for i,v in pairs(Torso:GetChildren()) do
  719. if v.Name == "nme" then
  720. v.Anchored = true
  721. end
  722. end
  723. coroutine.wrap(function()
  724. for i = 1, 100 do
  725. swait()
  726. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  727. v.Transparency = v.Transparency + .05
  728. end
  729. end
  730. end
  731. end)()
  732. elesize = .1
  733. coroutine.wrap(function()
  734. for i = 1, 10 do
  735. shockwef = Instance.new("Part",Torso)
  736. shockwef.Anchored = true
  737. shockwef.CanCollide = false
  738. shockwef.Size = Vector3.new(4,4,4)
  739. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  740. shockwef.BrickColor = BrickColor.new("White")
  741. shockwef.Transparency = .5
  742. shockwef.Material = "Neon"
  743. shockwef.Name = "corodaad"
  744. removeuseless:AddItem(shockwef,5)
  745. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  746. swait()
  747. end
  748. for i = 1, 25 do
  749. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  750. swait()
  751. end
  752. end)()
  753. for i = 1, 100 do
  754. elesize = elesize + .25
  755. for i,v in pairs(Torso:GetChildren()) do
  756. if v.Name == "nme" then
  757. colors2 = colortable2[math.random(1,#colortable2)]
  758. elementblock = Instance.new("Part",Torso)
  759. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  760. elementblock.Transparency = .5
  761. elementblock.Anchored = true
  762. elementblock.CanCollide = false
  763. elementblock.Material = "Neon"
  764. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  765. elementblock.BrickColor = BrickColor.new(colors2)
  766. elementblock.Name = "ele"
  767. removeuseless:AddItem(elementblock,1.5)
  768. craterswoo = v
  769. v.CFrame = v.CFrame * CFrame.new(2,0,2)
  770. end
  771. end
  772. swait()
  773. end
  774. for i,v in pairs(Torso:GetChildren()) do
  775. if v.Name == "nme" then
  776. v:Remove()
  777. end
  778. end
  779. for i,v in pairs(Torso:GetChildren()) do
  780. if v.Name == "cr2" then
  781. v:Remove()
  782. end
  783. end
  784. craterloc:Remove()
  785. craterloc = Instance.new("Part",Torso)
  786. craterloc.Size = Vector3.new(1,1,1)
  787. craterloc.Transparency = 0
  788. craterloc.Anchored = false
  789. craterloc.CanCollide = false
  790. craterlocweld = weldBetween(craterloc,levitatewave)
  791. bnmv = 0
  792. for i = 1, 100 do
  793. bnmv = bnmv + 15
  794. grassblocks = Instance.new("Part",Torso)
  795. grassblocks.Size = Vector3.new(1,1,1)
  796. grassblocks.Material = "Grass"
  797. grassblocks.Anchored = false
  798. grassblocks.Transparency = 0
  799. grassblocks.CanCollide = false
  800. grassblocks.Name = "nme"
  801. grassblockswld = weldBetween(grassblocks,craterloc)
  802. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  803. removeuseless:AddItem(grassblocks,25)
  804. crater2 = Instance.new("Part",Torso)
  805. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  806. crater2.Size = Vector3.new(6.5,6.5,6.5)
  807. crater2.Anchored = true
  808. crater2.Name = "cr2"
  809. crater2.CanCollide = false
  810. crater2.Transparency = 1
  811. crater2.Material = "Neon"
  812. crater2.BrickColor = BrickColor.new("White")
  813. grassblockswld:Remove()
  814. end
  815. grassblockswld:Remove()
  816. for i,v in pairs(Torso:GetChildren()) do
  817. if v.Name == "nme" then
  818. v.Anchored = true
  819. end
  820. end
  821. coroutine.wrap(function()
  822. for i = 1, 100 do
  823. swait()
  824. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  825. v.Transparency = v.Transparency + .05
  826. end
  827. end
  828. end
  829. end)()
  830. elesize = .1
  831. coroutine.wrap(function()
  832. for i = 1, 10 do
  833. shockwef = Instance.new("Part",Torso)
  834. shockwef.Anchored = true
  835. shockwef.CanCollide = false
  836. shockwef.Size = Vector3.new(4,4,4)
  837. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  838. shockwef.BrickColor = BrickColor.new("White")
  839. shockwef.Transparency = .5
  840. shockwef.Material = "Neon"
  841. shockwef.Name = "corodaad"
  842. removeuseless:AddItem(shockwef,5)
  843. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  844. swait()
  845. end
  846. for i = 1, 25 do
  847. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(2,2,2) v.Transparency = v.Transparency + .05 end end
  848. swait()
  849. end
  850. end)()
  851. for i = 1, 75 do
  852. elesize = elesize + .25
  853. for i,v in pairs(Torso:GetChildren()) do
  854. if v.Name == "nme" then
  855. elementblock = Instance.new("Part",Torso)
  856. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  857. elementblock.Transparency = .5
  858. elementblock.Anchored = true
  859. elementblock.CanCollide = false
  860. elementblock.Material = "Neon"
  861. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  862. elementblock.BrickColor = BrickColor.new("White")
  863. elementblock.Name = "ele"
  864. removeuseless:AddItem(elementblock,1.5)
  865. craterswoo = v
  866. v.CFrame = v.CFrame * CFrame.new(2,0,2)
  867. end
  868. end
  869. swait()
  870. end
  871. for i,v in pairs(Torso:GetChildren()) do
  872. if v.Name == "nme" then
  873. v:Remove()
  874. end
  875. end
  876. for i,v in pairs(Torso:GetChildren()) do
  877. if v.Name == "cr2" then
  878. v:Remove()
  879. end
  880. end
  881. craterloc:Remove()
  882. for i = 1, 2 do
  883. swait()
  884. craterloc = Instance.new("Part",Torso)
  885. craterloc.Size = Vector3.new(1,1,1)
  886. craterloc.Transparency = 0
  887. craterloc.Anchored = false
  888. craterloc.CanCollide = false
  889. craterlocweld = weldBetween(craterloc,levitatewave)
  890. bnmv = 0
  891. for i = 1, 40 do
  892. bnmv = bnmv + 15
  893. grassblocks = Instance.new("Part",Torso)
  894. grassblocks.Size = Vector3.new(1,1,1)
  895. grassblocks.Material = "Grass"
  896. grassblocks.Anchored = false
  897. grassblocks.Transparency = 0
  898. grassblocks.CanCollide = false
  899. grassblocks.Name = "nme"
  900. grassblockswld = weldBetween(grassblocks,craterloc)
  901. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  902. removeuseless:AddItem(grassblocks,25)
  903. crater2 = Instance.new("Part",Torso)
  904. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  905. crater2.Size = Vector3.new(6.5,6.5,6.5)
  906. crater2.Anchored = true
  907. crater2.Name = "cr2"
  908. crater2.CanCollide = false
  909. crater2.Transparency = 1
  910. crater2.Material = "Grass"
  911. crater2.BrickColor = BrickColor.new("Bright green")
  912. grassblockswld:Remove()
  913. end
  914. grassblockswld:Remove()
  915. for i,v in pairs(Torso:GetChildren()) do
  916. if v.Name == "nme" then
  917. v.Anchored = true
  918. end
  919. end
  920. coroutine.wrap(function()
  921. for i = 1, 100 do
  922. swait()
  923. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  924. v.Transparency = v.Transparency + .025
  925. end
  926. end
  927. end
  928. end)()
  929. elesize = .1
  930. coroutine.wrap(function()
  931. for i = 1, 10 do
  932. shockwef = Instance.new("Part",Torso)
  933. shockwef.Anchored = true
  934. shockwef.CanCollide = false
  935. shockwef.Size = Vector3.new(4,4,4)
  936. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  937. shockwef.BrickColor = BrickColor.new("White")
  938. shockwef.Transparency = .5
  939. shockwef.Material = "Neon"
  940. shockwef.Name = "corodaad"
  941. removeuseless:AddItem(shockwef,5)
  942. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  943. swait()
  944. end
  945. for i = 1, 25 do
  946. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  947. swait()
  948. end
  949. end)()
  950. for i = 1, 40 do
  951. elesize = elesize + 1
  952. for i,v in pairs(Torso:GetChildren()) do
  953. if v.Name == "nme" then
  954. elementblock = Instance.new("Part",Torso)
  955. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  956. elementblock.Transparency = 0
  957. elementblock.Anchored = true
  958. elementblock.CanCollide = false
  959. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  960. elementblock.Material = "Grass"
  961. elementblock.BrickColor = BrickColor.new("Bright green")
  962. elementblock.Name = "ele"
  963. removeuseless:AddItem(elementblock,3)
  964. craterswoo = v
  965. v.CFrame = v.CFrame * CFrame.new(3,0,12)
  966. end
  967. end
  968. swait()
  969. end
  970. for i,v in pairs(Torso:GetChildren()) do
  971. if v.Name == "nme" then
  972. v:Remove()
  973. end
  974. end
  975. for i,v in pairs(Torso:GetChildren()) do
  976. if v.Name == "cr2" then
  977. v:Remove()
  978. end
  979. end
  980. craterloc:Remove()
  981. craterloc = Instance.new("Part",Torso)
  982. craterloc.Size = Vector3.new(1,1,1)
  983. craterloc.Transparency = 0
  984. craterloc.Anchored = false
  985. craterloc.CanCollide = false
  986. craterlocweld = weldBetween(craterloc,levitatewave)
  987. bnmv = 0
  988. for i = 1, 40 do
  989. bnmv = bnmv + 15
  990. grassblocks = Instance.new("Part",Torso)
  991. grassblocks.Size = Vector3.new(1,1,1)
  992. grassblocks.Material = "Grass"
  993. grassblocks.Anchored = false
  994. grassblocks.Transparency = 0
  995. grassblocks.CanCollide = false
  996. grassblocks.Name = "nme"
  997. grassblockswld = weldBetween(grassblocks,craterloc)
  998. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  999. removeuseless:AddItem(grassblocks,25)
  1000. crater2 = Instance.new("Part",Torso)
  1001. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1002. crater2.Size = Vector3.new(6.5,6.5,6.5)
  1003. crater2.Anchored = true
  1004. crater2.Name = "cr2"
  1005. crater2.CanCollide = false
  1006. crater2.Transparency = 1
  1007. crater2.Material = "Grass"
  1008. crater2.BrickColor = BrickColor.new("Cyan")
  1009. grassblockswld:Remove()
  1010. end
  1011. grassblockswld:Remove()
  1012. for i,v in pairs(Torso:GetChildren()) do
  1013. if v.Name == "nme" then
  1014. v.Anchored = true
  1015. end
  1016. end
  1017. coroutine.wrap(function()
  1018. for i = 1, 100 do
  1019. swait()
  1020. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  1021. v.Transparency = v.Transparency + .025
  1022. end
  1023. end
  1024. end
  1025. end)()
  1026. elesize = .1
  1027. coroutine.wrap(function()
  1028. for i = 1, 10 do
  1029. shockwef = Instance.new("Part",Torso)
  1030. shockwef.Anchored = true
  1031. shockwef.CanCollide = false
  1032. shockwef.Size = Vector3.new(4,4,4)
  1033. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1034. shockwef.BrickColor = BrickColor.new("White")
  1035. shockwef.Transparency = .5
  1036. shockwef.Material = "Neon"
  1037. shockwef.Name = "corodaad"
  1038. removeuseless:AddItem(shockwef,5)
  1039. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1040. swait()
  1041. end
  1042. for i = 1, 25 do
  1043. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1044. swait()
  1045. end
  1046. end)()
  1047. for i = 1, 40 do
  1048. elesize = elesize + 1
  1049. for i,v in pairs(Torso:GetChildren()) do
  1050. if v.Name == "nme" then
  1051. colors = colortable[math.random(1,#colortable)]
  1052. elementblock = Instance.new("Part",Torso)
  1053. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  1054. elementblock.Transparency = .5
  1055. elementblock.Anchored = true
  1056. elementblock.CanCollide = false
  1057. elementblock.Material = "Neon"
  1058. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1059. elementblock.BrickColor = BrickColor.new(colors)
  1060. elementblock.Name = "ele"
  1061. removeuseless:AddItem(elementblock,3)
  1062. craterswoo = v
  1063. v.CFrame = v.CFrame * CFrame.new(3,0,12)
  1064. end
  1065. end
  1066. swait()
  1067. end
  1068. for i,v in pairs(Torso:GetChildren()) do
  1069. if v.Name == "nme" then
  1070. v:Remove()
  1071. end
  1072. end
  1073. for i,v in pairs(Torso:GetChildren()) do
  1074. if v.Name == "cr2" then
  1075. v:Remove()
  1076. end
  1077. end
  1078. craterloc:Remove()
  1079. craterloc = Instance.new("Part",Torso)
  1080. craterloc.Size = Vector3.new(1,1,1)
  1081. craterloc.Transparency = 0
  1082. craterloc.Anchored = false
  1083. craterloc.CanCollide = false
  1084. craterlocweld = weldBetween(craterloc,levitatewave)
  1085. bnmv = 0
  1086. for i = 1, 40 do
  1087. bnmv = bnmv + 15
  1088. grassblocks = Instance.new("Part",Torso)
  1089. grassblocks.Size = Vector3.new(1,1,1)
  1090. grassblocks.Material = "Grass"
  1091. grassblocks.Anchored = false
  1092. grassblocks.Transparency = 0
  1093. grassblocks.CanCollide = false
  1094. grassblocks.Name = "nme"
  1095. grassblockswld = weldBetween(grassblocks,craterloc)
  1096. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  1097. removeuseless:AddItem(grassblocks,25)
  1098. crater2 = Instance.new("Part",Torso)
  1099. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1100. crater2.Size = Vector3.new(6.5,6.5,6.5)
  1101. crater2.Anchored = true
  1102. crater2.Name = "cr2"
  1103. crater2.CanCollide = false
  1104. crater2.Transparency = 1
  1105. crater2.Material = "Grass"
  1106. crater2.BrickColor = BrickColor.new("Cyan")
  1107. grassblockswld:Remove()
  1108. end
  1109. grassblockswld:Remove()
  1110. for i,v in pairs(Torso:GetChildren()) do
  1111. if v.Name == "nme" then
  1112. v.Anchored = true
  1113. end
  1114. end
  1115. coroutine.wrap(function()
  1116. for i = 1, 100 do
  1117. swait()
  1118. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  1119. v.Transparency = v.Transparency + .025
  1120. end
  1121. end
  1122. end
  1123. end)()
  1124. elesize = .1
  1125. coroutine.wrap(function()
  1126. for i = 1, 10 do
  1127. shockwef = Instance.new("Part",Torso)
  1128. shockwef.Anchored = true
  1129. shockwef.CanCollide = false
  1130. shockwef.Size = Vector3.new(4,4,4)
  1131. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1132. shockwef.BrickColor = BrickColor.new("White")
  1133. shockwef.Transparency = .5
  1134. shockwef.Material = "Neon"
  1135. shockwef.Name = "corodaad"
  1136. removeuseless:AddItem(shockwef,5)
  1137. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1138. swait()
  1139. end
  1140. for i = 1, 25 do
  1141. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1142. swait()
  1143. end
  1144. end)()
  1145. for i = 1, 40 do
  1146. elesize = elesize + 1
  1147. for i,v in pairs(Torso:GetChildren()) do
  1148. if v.Name == "nme" then
  1149. colors2 = colortable2[math.random(1,#colortable2)]
  1150. elementblock = Instance.new("Part",Torso)
  1151. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  1152. elementblock.Transparency = .5
  1153. elementblock.Anchored = true
  1154. elementblock.CanCollide = false
  1155. elementblock.Material = "Neon"
  1156. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1157. elementblock.BrickColor = BrickColor.new(colors2)
  1158. elementblock.Name = "ele"
  1159. removeuseless:AddItem(elementblock,3)
  1160. craterswoo = v
  1161. v.CFrame = v.CFrame * CFrame.new(3,0,12)
  1162. end
  1163. end
  1164. swait()
  1165. end
  1166. for i,v in pairs(Torso:GetChildren()) do
  1167. if v.Name == "nme" then
  1168. v:Remove()
  1169. end
  1170. end
  1171. for i,v in pairs(Torso:GetChildren()) do
  1172. if v.Name == "cr2" then
  1173. v:Remove()
  1174. end
  1175. end
  1176. craterloc:Remove()
  1177. craterloc = Instance.new("Part",Torso)
  1178. craterloc.Size = Vector3.new(1,1,1)
  1179. craterloc.Transparency = 0
  1180. craterloc.Anchored = false
  1181. craterloc.CanCollide = false
  1182. craterlocweld = weldBetween(craterloc,levitatewave)
  1183. bnmv = 0
  1184. for i = 1, 40 do
  1185. bnmv = bnmv + 15
  1186. grassblocks = Instance.new("Part",Torso)
  1187. grassblocks.Size = Vector3.new(1,1,1)
  1188. grassblocks.Material = "Grass"
  1189. grassblocks.Anchored = false
  1190. grassblocks.Transparency = 0
  1191. grassblocks.CanCollide = false
  1192. grassblocks.Name = "nme"
  1193. grassblockswld = weldBetween(grassblocks,craterloc)
  1194. grassblockswld.C0 = CFrame.new(-15,0,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  1195. removeuseless:AddItem(grassblocks,25)
  1196. crater2 = Instance.new("Part",Torso)
  1197. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1198. crater2.Size = Vector3.new(6.5,6.5,6.5)
  1199. crater2.Anchored = true
  1200. crater2.Name = "cr2"
  1201. crater2.CanCollide = false
  1202. crater2.Transparency = 1
  1203. crater2.Material = "Neon"
  1204. crater2.BrickColor = BrickColor.new("White")
  1205. grassblockswld:Remove()
  1206. end
  1207. grassblockswld:Remove()
  1208. for i,v in pairs(Torso:GetChildren()) do
  1209. if v.Name == "nme" then
  1210. v.Anchored = true
  1211. end
  1212. end
  1213. coroutine.wrap(function()
  1214. for i = 1, 100 do
  1215. swait()
  1216. for i,v in pairs(Torso:GetChildren()) do if v.Name == "ele" then
  1217. v.Transparency = v.Transparency + .025
  1218. end
  1219. end
  1220. end
  1221. end)()
  1222. elesize = .1
  1223. coroutine.wrap(function()
  1224. for i = 1, 10 do
  1225. shockwef = Instance.new("Part",Torso)
  1226. shockwef.Anchored = true
  1227. shockwef.CanCollide = false
  1228. shockwef.Size = Vector3.new(4,4,4)
  1229. shockwef.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1230. shockwef.BrickColor = BrickColor.new("White")
  1231. shockwef.Transparency = .5
  1232. shockwef.Material = "Neon"
  1233. shockwef.Name = "corodaad"
  1234. removeuseless:AddItem(shockwef,5)
  1235. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1236. swait()
  1237. end
  1238. for i = 1, 25 do
  1239. for i,v in pairs(Torso:GetChildren()) do if v.Name == "corodaad" then v.Size = v.Size + Vector3.new(5,5,5) v.Transparency = v.Transparency + .05 end end
  1240. swait()
  1241. end
  1242. end)()
  1243. for i = 1, 40 do
  1244. elesize = elesize + 1
  1245. for i,v in pairs(Torso:GetChildren()) do
  1246. if v.Name == "nme" then
  1247. elementblock = Instance.new("Part",Torso)
  1248. elementblock.Size = Vector3.new(3.5+elesize,3.5+elesize,3.5+elesize)
  1249. elementblock.Transparency = .5
  1250. elementblock.Anchored = true
  1251. elementblock.CanCollide = false
  1252. elementblock.Material = "Neon"
  1253. elementblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1254. elementblock.BrickColor = BrickColor.new("White")
  1255. elementblock.Name = "ele"
  1256. removeuseless:AddItem(elementblock,3)
  1257. craterswoo = v
  1258. v.CFrame = v.CFrame * CFrame.new(3,0,12)
  1259. end
  1260. end
  1261. swait()
  1262. end
  1263. for i,v in pairs(Torso:GetChildren()) do
  1264. if v.Name == "nme" then
  1265. v:Remove()
  1266. end
  1267. end
  1268. for i,v in pairs(Torso:GetChildren()) do
  1269. if v.Name == "cr2" then
  1270. v:Remove()
  1271. end
  1272. end
  1273. craterloc:Remove()
  1274. end
  1275. elseif Press=='n' then
  1276. if debounce then return end
  1277. if bluetotem then return end
  1278. if whitetotem then return end
  1279. if redtotem then return end
  1280. if browntotem then
  1281. debounce = true
  1282. particlemiter1.Enabled = false
  1283. particlemiter2.Enabled = false
  1284. particlemiter4.Enabled = false
  1285. particlemiter5.Enabled = false
  1286. particlemiter6.Enabled = false
  1287. particlemiter7.Enabled = false
  1288. SOUND(locbrick,1119859528,8,false,5)
  1289. coroutine.wrap(function()
  1290. for i = 1, 35 do
  1291. swait()
  1292. powvol = powvol - .075
  1293. for i,v in pairs(Torso:GetChildren()) do
  1294. if v.Name == "crator" then
  1295. v.Transparency = v.Transparency + .05
  1296. end
  1297. end
  1298. end
  1299. for i,v in pairs(Torso:GetChildren()) do
  1300. if v.Name == "crator" then
  1301. v:Remove()
  1302. end
  1303. end
  1304. end)()
  1305. for i = 1, 5 do
  1306. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1307. swait()
  1308. end
  1309. for i = 1, 15 do
  1310. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-2,0)
  1311. swait()
  1312. end
  1313. browntotem = false
  1314. rockttm:Remove()
  1315. debounce = false
  1316. else
  1317. ws = 16
  1318. browntotem = true
  1319. debounce = true
  1320. attacking = true
  1321. got = gottalktable[math.random(1,#gottalktable)]
  1322. smh = Instance.new("Sound", Head)
  1323. if avatarstate then
  1324. smh.Volume = 10
  1325. else
  1326. smh.Volume = 8
  1327. end
  1328. smh.SoundId = "http://www.roblox.com/asset/?id="..got
  1329. smh.Looped = false
  1330. if avatarstate then
  1331. smh.Pitch = .85
  1332. else
  1333. smh.Pitch = 1
  1334. end
  1335. smh:Play()
  1336. removeuseless:AddItem(smh,5)
  1337. g1 = Instance.new("BodyGyro", Root)
  1338. g1.D = 175
  1339. g1.P = 20000
  1340. g1.MaxTorque = Vector3.new(0,9000,0)
  1341. for i = 1, 15 do
  1342. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1343. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  1344. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  1345. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  1346. swait()
  1347. end
  1348. particlecolor = ColorSequence.new(BrickColor.new("Earth green").Color)
  1349. particlemiter1.Enabled = true
  1350. particlemiter2.Enabled = true
  1351. particlemiter4.Enabled = true
  1352. particlemiter5.Enabled = true
  1353. particlemiter6.Enabled = true
  1354. particlemiter7.Enabled = true
  1355. rockttm = Instance.new("Part", Torso)
  1356. rockttm.Size = Vector3.new(0.5, 0.5, 0.5)
  1357. rockttm.Material = "Neon"
  1358. rockttm.BrickColor = BrickColor.new("Earth green")
  1359. rockttm.Transparency = .5
  1360. rockttm.Anchored = true
  1361. rockttm.CanCollide = false
  1362. rockttm.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-15,0) * CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4)))
  1363. ttmmeshrock = Instance.new("SpecialMesh", rockttm)
  1364. ttmmeshrock.Scale = Vector3.new(.1,.1,.1)
  1365. ttmmeshrock.MeshId = "rbxassetid://574506349"
  1366. coroutine.wrap(function()
  1367. locbrick = Instance.new("Part",Torso)
  1368. locbrick.Size = Vector3.new(1,1,1)
  1369. locbrick.Transparency = 1
  1370. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  1371. locbrick.CanCollide = false
  1372. locbrick.Anchored = true
  1373. locbrick2 = Instance.new("Part",workspace)
  1374. locbrick2.Size = Vector3.new(1,1,1)
  1375. locbrick2.Transparency = 1
  1376. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  1377. locbrick2.CanCollide = false
  1378. locbrick2weld = weldBetween(locbrick2,locbrick)
  1379. zxp2 = 0
  1380. for i = 1, 65 do
  1381. zxp2 = zxp2 + 5
  1382. crater = Instance.new("Part",Torso)
  1383. crater.BrickColor = BrickColor.new("Earth green")
  1384. crater.Size = Vector3.new(5,5,5)
  1385. crater.Transparency = 1
  1386. crater.Name = "crator"
  1387. craterweld = weldBetween(crater,locbrick2)
  1388. craterweld.C0 = craterweld.C0 * CFrame.new(2.5,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp2),math.rad(0))
  1389. crater2 = Instance.new("Part",Torso)
  1390. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1391. crater2.Size = Vector3.new(4,4,4)
  1392. crater2.Anchored = true
  1393. crater2.Material = "Grass"
  1394. crater2.Name = "crator"
  1395. crater2.BrickColor = BrickColor.new("Bright green")
  1396. end
  1397. end)()
  1398. shockwave = Instance.new("Part", Torso)
  1399. shockwave.Size = Vector3.new(1,1,1)
  1400. shockwave.CanCollide = false
  1401. shockwave.Anchored = true
  1402. shockwave.Transparency = .5
  1403. shockwave.BrickColor = BrickColor.new("White")
  1404. shockwave.CFrame = CFrame.new(mouse.Hit.p)
  1405. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1406. shockwavemesh.Scale = Vector3.new(7,3,7)
  1407. shockwavemesh.MeshId = "rbxassetid://20329976"
  1408. removeuseless:AddItem(shockwave,4)
  1409. shockwave2 = Instance.new("Part", Torso)
  1410. shockwave2.Size = Vector3.new(1,1,1)
  1411. shockwave2.CanCollide = false
  1412. shockwave2.Anchored = true
  1413. shockwave2.Transparency = .5
  1414. shockwave2.BrickColor = BrickColor.new("White")
  1415. shockwave2.CFrame = CFrame.new(mouse.Hit.p)
  1416. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1417. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1418. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1419. removeuseless:AddItem(shockwave2,4)
  1420. coroutine.wrap(function()
  1421. for i = 1, 30 do
  1422. swait()
  1423. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1424. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1425. shockwave.Transparency = shockwave.Transparency + 0.025
  1426. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1427. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,.5,3)
  1428. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.6,4)
  1429. end
  1430. end)()
  1431. SOUND(locbrick,1119859528,8,false,5)
  1432. coroutine.wrap(function()
  1433. for i = 1, 10 do
  1434. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,2,0)
  1435. swait()
  1436. end
  1437. for i = 1, 8 do
  1438. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1439. swait()
  1440. end
  1441. for i = 1, 5 do
  1442. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-.25,0)
  1443. swait()
  1444. end
  1445. end)()
  1446. for i = 1, 35 do
  1447. powvol = powvol + .075
  1448. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  1449. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  1450. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  1451. swait()
  1452. end
  1453. removeuseless:AddItem(g1,.001)
  1454. debounce = false
  1455. attacking = false
  1456. ws = 90
  1457. end
  1458. elseif Press=='b' then
  1459. if debounce then return end
  1460. if bluetotem then return end
  1461. if browntotem then return end
  1462. if redtotem then return end
  1463. if whitetotem then
  1464. debounce = true
  1465. particlemiter1.Enabled = false
  1466. particlemiter2.Enabled = false
  1467. particlemiter4.Enabled = false
  1468. particlemiter5.Enabled = false
  1469. particlemiter6.Enabled = false
  1470. particlemiter7.Enabled = false
  1471. SOUND(locbrick,1119859528,8,false,5)
  1472. coroutine.wrap(function()
  1473. for i = 1, 35 do
  1474. swait()
  1475. powvol = powvol - .075
  1476. for i,v in pairs(Torso:GetChildren()) do
  1477. if v.Name == "crator" then
  1478. v.Transparency = v.Transparency + .05
  1479. end
  1480. end
  1481. end
  1482. for i,v in pairs(Torso:GetChildren()) do
  1483. if v.Name == "crator" then
  1484. v:Remove()
  1485. end
  1486. end
  1487. end)()
  1488. for i = 1, 5 do
  1489. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1490. swait()
  1491. end
  1492. for i = 1, 15 do
  1493. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-2,0)
  1494. swait()
  1495. end
  1496. whitetotem = false
  1497. rockttm:Remove()
  1498. debounce = false
  1499. else
  1500. ws = 16
  1501. whitetotem = true
  1502. debounce = true
  1503. attacking = true
  1504. got = gottalktable[math.random(1,#gottalktable)]
  1505. smh = Instance.new("Sound", Head)
  1506. if avatarstate then
  1507. smh.Volume = 10
  1508. else
  1509. smh.Volume = 8
  1510. end
  1511. smh.SoundId = "http://www.roblox.com/asset/?id="..got
  1512. smh.Looped = false
  1513. if avatarstate then
  1514. smh.Pitch = .85
  1515. else
  1516. smh.Pitch = 1
  1517. end
  1518. smh:Play()
  1519. removeuseless:AddItem(smh,5)
  1520. g1 = Instance.new("BodyGyro", Root)
  1521. g1.D = 175
  1522. g1.P = 20000
  1523. g1.MaxTorque = Vector3.new(0,9000,0)
  1524. for i = 1, 15 do
  1525. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1526. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  1527. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  1528. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  1529. swait()
  1530. end
  1531. particlecolor = ColorSequence.new(BrickColor.new("White").Color)
  1532. particlemiter1.Enabled = true
  1533. particlemiter2.Enabled = true
  1534. particlemiter4.Enabled = true
  1535. particlemiter5.Enabled = true
  1536. particlemiter6.Enabled = true
  1537. particlemiter7.Enabled = true
  1538. rockttm = Instance.new("Part", Torso)
  1539. rockttm.Size = Vector3.new(0.5, 0.5, 0.5)
  1540. rockttm.Material = "Neon"
  1541. rockttm.BrickColor = BrickColor.new("White")
  1542. rockttm.Transparency = .5
  1543. rockttm.Anchored = true
  1544. rockttm.CanCollide = false
  1545. rockttm.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-15,0) * CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4)))
  1546. ttmmeshrock = Instance.new("SpecialMesh", rockttm)
  1547. ttmmeshrock.Scale = Vector3.new(.1,.1,.1)
  1548. ttmmeshrock.MeshId = "rbxassetid://574506349"
  1549. coroutine.wrap(function()
  1550. locbrick = Instance.new("Part",Torso)
  1551. locbrick.Size = Vector3.new(1,1,1)
  1552. locbrick.Transparency = 1
  1553. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  1554. locbrick.CanCollide = false
  1555. locbrick.Anchored = true
  1556. locbrick2 = Instance.new("Part",workspace)
  1557. locbrick2.Size = Vector3.new(1,1,1)
  1558. locbrick2.Transparency = 1
  1559. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  1560. locbrick2.CanCollide = false
  1561. locbrick2weld = weldBetween(locbrick2,locbrick)
  1562. zxp2 = 0
  1563. for i = 1, 65 do
  1564. zxp2 = zxp2 + 5
  1565. crater = Instance.new("Part",Torso)
  1566. crater.BrickColor = BrickColor.new("White")
  1567. crater.Size = Vector3.new(5,5,5)
  1568. crater.Transparency = 1
  1569. crater.Name = "crator"
  1570. craterweld = weldBetween(crater,locbrick2)
  1571. craterweld.C0 = craterweld.C0 * CFrame.new(2.5,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp2),math.rad(0))
  1572. crater2 = Instance.new("Part",Torso)
  1573. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1574. crater2.Size = Vector3.new(4,4,4)
  1575. crater2.Anchored = true
  1576. crater2.Material = "Grass"
  1577. crater2.Name = "crator"
  1578. crater2.BrickColor = BrickColor.new("Bright green")
  1579. end
  1580. end)()
  1581. shockwave = Instance.new("Part", Torso)
  1582. shockwave.Size = Vector3.new(1,1,1)
  1583. shockwave.CanCollide = false
  1584. shockwave.Anchored = true
  1585. shockwave.Transparency = .5
  1586. shockwave.BrickColor = BrickColor.new("White")
  1587. shockwave.CFrame = CFrame.new(mouse.Hit.p)
  1588. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1589. shockwavemesh.Scale = Vector3.new(7,3,7)
  1590. shockwavemesh.MeshId = "rbxassetid://20329976"
  1591. removeuseless:AddItem(shockwave,4)
  1592. shockwave2 = Instance.new("Part", Torso)
  1593. shockwave2.Size = Vector3.new(1,1,1)
  1594. shockwave2.CanCollide = false
  1595. shockwave2.Anchored = true
  1596. shockwave2.Transparency = .5
  1597. shockwave2.BrickColor = BrickColor.new("White")
  1598. shockwave2.CFrame = CFrame.new(mouse.Hit.p)
  1599. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1600. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1601. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1602. removeuseless:AddItem(shockwave2,4)
  1603. coroutine.wrap(function()
  1604. for i = 1, 30 do
  1605. swait()
  1606. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1607. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1608. shockwave.Transparency = shockwave.Transparency + 0.025
  1609. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1610. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,.5,3)
  1611. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.6,4)
  1612. end
  1613. end)()
  1614. SOUND(locbrick,1119859528,8,false,5)
  1615. coroutine.wrap(function()
  1616. for i = 1, 10 do
  1617. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,2,0)
  1618. swait()
  1619. end
  1620. for i = 1, 8 do
  1621. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1622. swait()
  1623. end
  1624. for i = 1, 5 do
  1625. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-.25,0)
  1626. swait()
  1627. end
  1628. end)()
  1629. for i = 1, 35 do
  1630. powvol = powvol + .075
  1631. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  1632. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  1633. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  1634. swait()
  1635. end
  1636. removeuseless:AddItem(g1,.001)
  1637. debounce = false
  1638. attacking = false
  1639. ws = 90
  1640.  
  1641. end
  1642. elseif Press=='v' then
  1643. if debounce then return end
  1644. if bluetotem then return end
  1645. if browntotem then return end
  1646. if whitetotem then return end
  1647. if redtotem then
  1648. debounce = true
  1649. particlemiter1.Enabled = false
  1650. particlemiter2.Enabled = false
  1651. particlemiter4.Enabled = false
  1652. particlemiter5.Enabled = false
  1653. particlemiter6.Enabled = false
  1654. particlemiter7.Enabled = false
  1655. SOUND(locbrick,1119859528,8,false,5)
  1656. coroutine.wrap(function()
  1657. for i = 1, 35 do
  1658. swait()
  1659. powvol = powvol - .075
  1660. for i,v in pairs(Torso:GetChildren()) do
  1661. if v.Name == "crator" then
  1662. v.Transparency = v.Transparency + .05
  1663. end
  1664. end
  1665. end
  1666. for i,v in pairs(Torso:GetChildren()) do
  1667. if v.Name == "crator" then
  1668. v:Remove()
  1669. end
  1670. end
  1671. end)()
  1672. for i = 1, 5 do
  1673. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1674. swait()
  1675. end
  1676. for i = 1, 15 do
  1677. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-2,0)
  1678. swait()
  1679. end
  1680. redtotem = false
  1681. rockttm:Remove()
  1682. debounce = false
  1683. else
  1684. ws = 16
  1685. redtotem = true
  1686. debounce = true
  1687. attacking = true
  1688. got = gottalktable[math.random(1,#gottalktable)]
  1689. smh = Instance.new("Sound", Head)
  1690. if avatarstate then
  1691. smh.Volume = 10
  1692. else
  1693. smh.Volume = 8
  1694. end
  1695. smh.SoundId = "http://www.roblox.com/asset/?id="..got
  1696. smh.Looped = false
  1697. if avatarstate then
  1698. smh.Pitch = .85
  1699. else
  1700. smh.Pitch = 1
  1701. end
  1702. smh:Play()
  1703. removeuseless:AddItem(smh,10)
  1704. g1 = Instance.new("BodyGyro", Root)
  1705. g1.D = 175
  1706. g1.P = 20000
  1707. g1.MaxTorque = Vector3.new(0,9000,0)
  1708. for i = 1, 15 do
  1709. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1710. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  1711. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  1712. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  1713. swait()
  1714. end
  1715. particlecolor = ColorSequence.new(BrickColor.new("Bright yellow").Color)
  1716. particlemiter1.Enabled = true
  1717. particlemiter2.Enabled = true
  1718. particlemiter4.Enabled = true
  1719. particlemiter5.Enabled = true
  1720. particlemiter6.Enabled = true
  1721. particlemiter7.Enabled = true
  1722. rockttm = Instance.new("Part", Torso)
  1723. rockttm.Size = Vector3.new(0.5, 0.5, 0.5)
  1724. rockttm.Material = "Neon"
  1725. rockttm.BrickColor = BrickColor.new("Bright yellow")
  1726. rockttm.Transparency = .5
  1727. rockttm.Anchored = true
  1728. rockttm.CanCollide = false
  1729. rockttm.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-15,0) * CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4)))
  1730. ttmmeshrock = Instance.new("SpecialMesh", rockttm)
  1731. ttmmeshrock.Scale = Vector3.new(.1,.1,.1)
  1732. ttmmeshrock.MeshId = "rbxassetid://574506349"
  1733. coroutine.wrap(function()
  1734. locbrick = Instance.new("Part",Torso)
  1735. locbrick.Size = Vector3.new(1,1,1)
  1736. locbrick.Transparency = 1
  1737. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  1738. locbrick.CanCollide = false
  1739. locbrick.Anchored = true
  1740. locbrick2 = Instance.new("Part",workspace)
  1741. locbrick2.Size = Vector3.new(1,1,1)
  1742. locbrick2.Transparency = 1
  1743. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  1744. locbrick2.CanCollide = false
  1745. locbrick2weld = weldBetween(locbrick2,locbrick)
  1746. zxp2 = 0
  1747. for i = 1, 65 do
  1748. zxp2 = zxp2 + 5
  1749. crater = Instance.new("Part",Torso)
  1750. crater.BrickColor = BrickColor.new("Bright yellow")
  1751. crater.Size = Vector3.new(5,5,5)
  1752. crater.Transparency = 1
  1753. crater.Name = "crator"
  1754. craterweld = weldBetween(crater,locbrick2)
  1755. craterweld.C0 = craterweld.C0 * CFrame.new(2.5,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp2),math.rad(0))
  1756. crater2 = Instance.new("Part",Torso)
  1757. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1758. crater2.Size = Vector3.new(4,4,4)
  1759. crater2.Anchored = true
  1760. crater2.Material = "Grass"
  1761. crater2.Name = "crator"
  1762. crater2.BrickColor = BrickColor.new("Bright green")
  1763. end
  1764. end)()
  1765. shockwave = Instance.new("Part", Torso)
  1766. shockwave.Size = Vector3.new(1,1,1)
  1767. shockwave.CanCollide = false
  1768. shockwave.Anchored = true
  1769. shockwave.Transparency = .5
  1770. shockwave.BrickColor = BrickColor.new("White")
  1771. shockwave.CFrame = CFrame.new(mouse.Hit.p)
  1772. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1773. shockwavemesh.Scale = Vector3.new(7,3,7)
  1774. shockwavemesh.MeshId = "rbxassetid://20329976"
  1775. removeuseless:AddItem(shockwave,4)
  1776. shockwave2 = Instance.new("Part", Torso)
  1777. shockwave2.Size = Vector3.new(1,1,1)
  1778. shockwave2.CanCollide = false
  1779. shockwave2.Anchored = true
  1780. shockwave2.Transparency = .5
  1781. shockwave2.BrickColor = BrickColor.new("White")
  1782. shockwave2.CFrame = CFrame.new(mouse.Hit.p)
  1783. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1784. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1785. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1786. removeuseless:AddItem(shockwave2,4)
  1787. coroutine.wrap(function()
  1788. for i = 1, 30 do
  1789. swait()
  1790. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1791. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1792. shockwave.Transparency = shockwave.Transparency + 0.025
  1793. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1794. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,.5,3)
  1795. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.6,4)
  1796. end
  1797. end)()
  1798. SOUND(locbrick,1119859528,8,false,5)
  1799. coroutine.wrap(function()
  1800. for i = 1, 10 do
  1801. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,2,0)
  1802. swait()
  1803. end
  1804. for i = 1, 8 do
  1805. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1806. swait()
  1807. end
  1808. for i = 1, 5 do
  1809. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-.25,0)
  1810. swait()
  1811. end
  1812. end)()
  1813. for i = 1, 35 do
  1814. powvol = powvol + .075
  1815. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  1816. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  1817. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  1818. swait()
  1819. end
  1820. removeuseless:AddItem(g1,.001)
  1821. debounce = false
  1822. attacking = false
  1823. ws = 90
  1824. end
  1825. elseif Press=='c' then
  1826. if debounce then return end
  1827. if redtotem then return end
  1828. if browntotem then return end
  1829. if whitetotem then return end
  1830. if bluetotem then
  1831. debounce = true
  1832. particlemiter1.Enabled = false
  1833. particlemiter2.Enabled = false
  1834. particlemiter4.Enabled = false
  1835. particlemiter5.Enabled = false
  1836. particlemiter6.Enabled = false
  1837. particlemiter7.Enabled = false
  1838. SOUND(locbrick,1119859528,8,false,5)
  1839. coroutine.wrap(function()
  1840. for i = 1, 35 do
  1841. swait()
  1842. powvol = powvol - .075
  1843. for i,v in pairs(Torso:GetChildren()) do
  1844. if v.Name == "crator" then
  1845. v.Transparency = v.Transparency + .05
  1846. end
  1847. end
  1848. end
  1849. for i,v in pairs(Torso:GetChildren()) do
  1850. if v.Name == "crator" then
  1851. v:Remove()
  1852. end
  1853. end
  1854. end)()
  1855. for i = 1, 5 do
  1856. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1857. swait()
  1858. end
  1859. for i = 1, 15 do
  1860. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-2,0)
  1861. swait()
  1862. end
  1863. bluetotem = false
  1864. rockttm:Remove()
  1865. debounce = false
  1866. else
  1867. ws = 16
  1868. bluetotem = true
  1869. debounce = true
  1870. attacking = true
  1871. got = gottalktable[math.random(1,#gottalktable)]
  1872. smh = Instance.new("Sound", Head)
  1873. if avatarstate then
  1874. smh.Volume = 10
  1875. else
  1876. smh.Volume = 8
  1877. end
  1878. smh.SoundId = "http://www.roblox.com/asset/?id="..got
  1879. smh.Looped = false
  1880. if avatarstate then
  1881. smh.Pitch = .85
  1882. else
  1883. smh.Pitch = 1
  1884. end
  1885. smh:Play()
  1886. removeuseless:AddItem(smh,5)
  1887. g1 = Instance.new("BodyGyro", Root)
  1888. g1.D = 175
  1889. g1.P = 20000
  1890. g1.MaxTorque = Vector3.new(0,9000,0)
  1891. for i = 1, 15 do
  1892. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1893. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  1894. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  1895. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  1896. swait()
  1897. end
  1898. particlecolor = ColorSequence.new(Color3.new(0, 5, 255))
  1899. particlemiter1.Enabled = true
  1900. particlemiter2.Enabled = true
  1901. particlemiter4.Enabled = true
  1902. particlemiter5.Enabled = true
  1903. particlemiter6.Enabled = true
  1904. particlemiter7.Enabled = true
  1905. rockttm = Instance.new("Part", Torso)
  1906. rockttm.Size = Vector3.new(0.5, 0.5, 0.5)
  1907. rockttm.Material = "Neon"
  1908. rockttm.BrickColor = BrickColor.new("Cyan")
  1909. rockttm.Transparency = .5
  1910. rockttm.Anchored = true
  1911. rockttm.CanCollide = false
  1912. rockttm.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-15,0) * CFrame.Angles(math.rad(math.random(-4,4)),math.rad(math.random(-4,4)),math.rad(math.random(-4,4)))
  1913. ttmmeshrock = Instance.new("SpecialMesh", rockttm)
  1914. ttmmeshrock.Scale = Vector3.new(.1,.1,.1)
  1915. ttmmeshrock.MeshId = "rbxassetid://574506349"
  1916. coroutine.wrap(function()
  1917. locbrick = Instance.new("Part",Torso)
  1918. locbrick.Size = Vector3.new(1,1,1)
  1919. locbrick.Transparency = 1
  1920. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  1921. locbrick.CanCollide = false
  1922. locbrick.Anchored = true
  1923. locbrick2 = Instance.new("Part",workspace)
  1924. locbrick2.Size = Vector3.new(1,1,1)
  1925. locbrick2.Transparency = 1
  1926. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  1927. locbrick2.CanCollide = false
  1928. locbrick2weld = weldBetween(locbrick2,locbrick)
  1929. zxp2 = 0
  1930. for i = 1, 65 do
  1931. zxp2 = zxp2 + 5
  1932. crater = Instance.new("Part",Torso)
  1933. crater.BrickColor = BrickColor.new("Cyan")
  1934. crater.Size = Vector3.new(5,5,5)
  1935. crater.Transparency = 1
  1936. crater.Name = "crator"
  1937. craterweld = weldBetween(crater,locbrick2)
  1938. craterweld.C0 = craterweld.C0 * CFrame.new(2.5,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp2),math.rad(0))
  1939. crater2 = Instance.new("Part",Torso)
  1940. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1941. crater2.Size = Vector3.new(4,4,4)
  1942. crater2.Anchored = true
  1943. crater2.Material = "Grass"
  1944. crater2.Name = "crator"
  1945. crater2.BrickColor = BrickColor.new("Bright green")
  1946. end
  1947. end)()
  1948. shockwave = Instance.new("Part", Torso)
  1949. shockwave.Size = Vector3.new(1,1,1)
  1950. shockwave.CanCollide = false
  1951. shockwave.Anchored = true
  1952. shockwave.Transparency = .5
  1953. shockwave.BrickColor = BrickColor.new("White")
  1954. shockwave.CFrame = CFrame.new(mouse.Hit.p)
  1955. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1956. shockwavemesh.Scale = Vector3.new(7,3,7)
  1957. shockwavemesh.MeshId = "rbxassetid://20329976"
  1958. removeuseless:AddItem(shockwave,4)
  1959. shockwave2 = Instance.new("Part", Torso)
  1960. shockwave2.Size = Vector3.new(1,1,1)
  1961. shockwave2.CanCollide = false
  1962. shockwave2.Anchored = true
  1963. shockwave2.Transparency = .5
  1964. shockwave2.BrickColor = BrickColor.new("White")
  1965. shockwave2.CFrame = CFrame.new(mouse.Hit.p)
  1966. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1967. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1968. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1969. removeuseless:AddItem(shockwave2,4)
  1970. coroutine.wrap(function()
  1971. for i = 1, 30 do
  1972. swait()
  1973. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1974. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1975. shockwave.Transparency = shockwave.Transparency + 0.025
  1976. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1977. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,.5,3)
  1978. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.6,4)
  1979. end
  1980. end)()
  1981. SOUND(locbrick,1119859528,8,false,5)
  1982. coroutine.wrap(function()
  1983. for i = 1, 10 do
  1984. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,2,0)
  1985. swait()
  1986. end
  1987. for i = 1, 8 do
  1988. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,.25,0)
  1989. swait()
  1990. end
  1991. for i = 1, 5 do
  1992. rockttm.CFrame = rockttm.CFrame * CFrame.new(0,-.25,0)
  1993. swait()
  1994. end
  1995. end)()
  1996. for i = 1, 35 do
  1997. powvol = powvol + .075
  1998. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  1999. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  2000. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  2001. swait()
  2002. end
  2003. removeuseless:AddItem(g1,.001)
  2004. debounce = false
  2005. attacking = false
  2006. ws = 90
  2007. end
  2008. elseif Press=='l' then
  2009. if debounce then return end
  2010. if tornadobounce then return end
  2011. tornadobounce = true
  2012. debounce = true
  2013. attacking = true
  2014. coroutine.wrap(function()
  2015. local tornadopart = Instance.new("Part",Torso)
  2016. tornadopart.Size = Vector3.new(10,10,10)
  2017. tornadopart.CanCollide = false
  2018. tornadopart.Transparency = 1
  2019. tornadopart.CFrame = CFrame.new(mouse.Hit.p)
  2020. tornadopart.Anchored = true
  2021. tornadopart.BrickColor = BrickColor.new("White")
  2022. tornadopart.Material = "Neon"
  2023. tornadopart.Name = "tornblock"
  2024. tornsound = Instance.new("Sound",tornadopart)
  2025. tornsound.Volume = 0
  2026. tornsound.SoundId = "rbxassetid://151051389"
  2027. tornsound:Play()
  2028. tornsound.Looped = true
  2029. wrn = Instance.new("Sound",workspace)
  2030. wrn.Volume = 1
  2031. wrn.SoundId = "rbxassetid://130767714"
  2032. wrn:Play()
  2033. local tornadopart2 = Instance.new("Part",Torso)
  2034. tornadopart2.Size = Vector3.new(20,20,20)
  2035. tornadopart2.CanCollide = false
  2036. tornadopart2.Transparency = 1
  2037. tornadopart2.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,12,0)
  2038. tornadopart2.Anchored = true
  2039. tornadopart2.BrickColor = BrickColor.new("White")
  2040. tornadopart2.Material = "Neon"
  2041. tornadopart2.Name = "tornblock2"
  2042. local tornadopart3 = Instance.new("Part",Torso)
  2043. tornadopart3.Size = Vector3.new(30,30,30)
  2044. tornadopart3.CanCollide = false
  2045. tornadopart3.Transparency = 1
  2046. tornadopart3.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,24,0)
  2047. tornadopart3.Anchored = true
  2048. tornadopart3.BrickColor = BrickColor.new("White")
  2049. tornadopart3.Material = "Neon"
  2050. tornadopart3.Name = "tornblock3"
  2051. local tornadopart4 = Instance.new("Part",Torso)
  2052. tornadopart4.Size = Vector3.new(40,40,40)
  2053. tornadopart4.CanCollide = false
  2054. tornadopart4.Transparency = 1
  2055. tornadopart4.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,36,0)
  2056. tornadopart4.Anchored = true
  2057. tornadopart4.BrickColor = BrickColor.new("White")
  2058. tornadopart4.Material = "Neon"
  2059. tornadopart4.Name = "tornblock4"
  2060. local tornadopart5 = Instance.new("Part",Torso)
  2061. tornadopart5.Size = Vector3.new(50,50,50)
  2062. tornadopart5.CanCollide = false
  2063. tornadopart5.Transparency = 1
  2064. tornadopart5.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,48,0)
  2065. tornadopart5.Anchored = true
  2066. tornadopart5.BrickColor = BrickColor.new("White")
  2067. tornadopart5.Material = "Neon"
  2068. tornadopart5.Name = "tornblock5"
  2069. local tornadopart6 = Instance.new("Part",Torso)
  2070. tornadopart6.Size = Vector3.new(70,70,70)
  2071. tornadopart6.CanCollide = false
  2072. tornadopart6.Transparency = 1
  2073. tornadopart6.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,80,0)
  2074. tornadopart6.Anchored = true
  2075. tornadopart6.BrickColor = BrickColor.new("White")
  2076. tornadopart6.Material = "Neon"
  2077. tornadopart6.Name = "tornblock6"
  2078. local tornadopart7 = Instance.new("Part",Torso)
  2079. tornadopart7.Size = Vector3.new(90,90,90)
  2080. tornadopart7.CanCollide = false
  2081. tornadopart7.Transparency = 1
  2082. tornadopart7.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,150,0)
  2083. tornadopart7.Anchored = true
  2084. tornadopart7.BrickColor = BrickColor.new("White")
  2085. tornadopart7.Material = "Neon"
  2086. tornadopart7.Name = "tornblock7"
  2087. local tornadopart8 = Instance.new("Part",Torso)
  2088. tornadopart8.Size = Vector3.new(110,110,110)
  2089. tornadopart8.CanCollide = false
  2090. tornadopart8.Transparency = 1
  2091. tornadopart8.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,220,0)
  2092. tornadopart8.Anchored = true
  2093. tornadopart8.BrickColor = BrickColor.new("White")
  2094. tornadopart8.Material = "Neon"
  2095. tornadopart8.Name = "tornblock8"
  2096. wind = Instance.new("Part", Torso)
  2097. wind.Size = Vector3.new(0.5, 0.5, 0.5)
  2098. wind.Material = "Neon"
  2099. wind.BrickColor = BrickColor.new("Really white")
  2100. wind.Transparency = 1
  2101. wind.Anchored = true
  2102. wind.CanCollide = false
  2103. wind.CFrame = tornadopart.CFrame * CFrame.new(0,120,0)
  2104. windMESH = Instance.new("SpecialMesh", wind)
  2105. windMESH.Scale = Vector3.new(40.5,70.5,40.5)
  2106. windMESH.MeshId = "rbxassetid://168892432"
  2107. wind2 = Instance.new("Part", Torso)
  2108. wind2.Size = Vector3.new(0.5, 0.5, 0.5)
  2109. wind2.Material = "Neon"
  2110. wind2.BrickColor = BrickColor.new("Really white")
  2111. wind2.Transparency = 1
  2112. wind2.Anchored = true
  2113. wind2.CanCollide = false
  2114. wind2.CFrame = tornadopart.CFrame * CFrame.new(0,120,0)
  2115. windMESH2 = Instance.new("SpecialMesh", wind2)
  2116. windMESH2.Scale = Vector3.new(40.5,70.5,40.5)
  2117. windMESH2.MeshId = "rbxassetid://168892432"
  2118. wind3 = Instance.new("Part", Torso)
  2119. wind3.Size = Vector3.new(0.5, 0.5, 0.5)
  2120. wind3.Material = "Neon"
  2121. wind3.BrickColor = BrickColor.new("Really white")
  2122. wind3.Transparency = 1
  2123. wind3.Anchored = true
  2124. wind3.CanCollide = false
  2125. wind3.CFrame = tornadopart.CFrame * CFrame.new(0,160,0)
  2126. windMESH3 = Instance.new("SpecialMesh", wind3)
  2127. windMESH3.Scale = Vector3.new(70.5,100.5,70.5)
  2128. windMESH3.MeshId = "rbxassetid://168892432"
  2129. wind4 = Instance.new("Part", Torso)
  2130. wind4.Size = Vector3.new(0.5, 0.5, 0.5)
  2131. wind4.Material = "Neon"
  2132. wind4.BrickColor = BrickColor.new("Really white")
  2133. wind4.Transparency = 1
  2134. wind4.Anchored = true
  2135. wind4.CanCollide = false
  2136. wind4.CFrame = tornadopart.CFrame * CFrame.new(0,120,0)
  2137. windMESH4 = Instance.new("SpecialMesh", wind4)
  2138. windMESH4.Scale = Vector3.new(70.5,100.5,70.5)
  2139. windMESH4.MeshId = "rbxassetid://168892432"
  2140. coroutine.wrap(function()
  2141. for i = 1, 20 do
  2142. tornsound.Volume = tornsound.Volume + .5
  2143. wind.Transparency = wind.Transparency - .002
  2144. wind2.Transparency = wind2.Transparency - .002
  2145. wind3.Transparency = wind3.Transparency - .001
  2146. wind4.Transparency = wind4.Transparency - .001
  2147. tornadopart.Transparency = tornadopart.Transparency -.025
  2148. tornadopart2.Transparency = tornadopart2.Transparency -.025
  2149. tornadopart3.Transparency = tornadopart3.Transparency -.025
  2150. tornadopart4.Transparency = tornadopart4.Transparency -.025
  2151. tornadopart5.Transparency = tornadopart5.Transparency -.025
  2152. tornadopart6.Transparency = tornadopart6.Transparency -.025
  2153. tornadopart7.Transparency = tornadopart7.Transparency -.025
  2154. tornadopart8.Transparency = tornadopart8.Transparency -.025
  2155. swait()
  2156. end
  2157. end)()
  2158. coroutine.wrap(function()
  2159. coroutine.wrap(function()
  2160. for i = 1, 110 do
  2161. swait(10)
  2162. Hit = damagealll(52,tornadopart.Position)
  2163. for _,v in pairs(Hit) do
  2164. if whitetotem then
  2165. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(12,26))
  2166. elseif avatarstate then
  2167. v:FindFirstChildOfClass("Humanoid"):BreakJoints()
  2168. else
  2169. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(8,17))
  2170. end
  2171. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2172. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2173. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2174. vel.velocity = CFrame.new(torso.Position,tornadopart.Position).lookVector*175
  2175. removeuseless:AddItem(vel,.1)
  2176. end
  2177. end
  2178. end)()
  2179. to3 = 0
  2180. to4 = 0
  2181. for i = 1, 1200 do
  2182. to3 = to3 + 2
  2183. to4 = to4 - 2
  2184. local grasssblockss = Instance.new("Part",Torso)
  2185. grasssblockss.Size = Vector3.new(math.random(8,11),math.random(8,11),math.random(8,11))
  2186. grasssblockss.Material = "Grass"
  2187. grasssblockss.CanCollide = false
  2188. grasssblockss.Anchored = true
  2189. grasssblockss.BrickColor = BrickColor.new("Bright green")
  2190. grasssblockss.CFrame = tornadopart.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2191. grasssblockss.Name = "grasssblockss"
  2192. removeuseless:AddItem(grasssblockss,2)
  2193. local sk = Instance.new("Part",Torso)
  2194. sk.CanCollide = false
  2195. sk.Anchored = true
  2196. sk.BrickColor = BrickColor.new("White")
  2197. sk.Name = "sk"
  2198. sk.CFrame = tornadopart.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2199. local skmesh = Instance.new("SpecialMesh",sk)
  2200. skmesh.MeshId = "rbxassetid://662586858"
  2201. skmesh.Name = "wave"
  2202. skmesh.Scale = Vector3.new(.04,.01,.04)
  2203. removeuseless:AddItem(sk,2)
  2204. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wave" then
  2205. v.Scale = v.Scale + Vector3.new(0.05,0,.05)
  2206. v.Parent.Transparency = v.Parent.Transparency + .05
  2207. end
  2208. end
  2209. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "grasssblockss" then
  2210. v.CFrame = v.CFrame * CFrame.new(0,4,0)
  2211. v.Transparency = v.Transparency + .035
  2212. end
  2213. end
  2214. wind.CFrame = wind.CFrame * CFrame.Angles(0,math.rad(0+17),0)
  2215. wind2.CFrame = wind2.CFrame * CFrame.Angles(0,math.rad(0-17),0)
  2216. wind3.CFrame = wind3.CFrame * CFrame.Angles(0,math.rad(0+12),0)
  2217. wind4.CFrame = wind4.CFrame * CFrame.Angles(0,math.rad(0-12),0)
  2218. tornadopart.CFrame = tornadopart.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2219. tornadopart2.CFrame = tornadopart2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2220. tornadopart3.CFrame = tornadopart3.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2221. tornadopart4.CFrame = tornadopart4.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2222. tornadopart5.CFrame = tornadopart5.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2223. tornadopart6.CFrame = tornadopart6.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2224. tornadopart7.CFrame = tornadopart7.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2225. tornadopart8.CFrame = tornadopart8.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2226. swait()
  2227. end
  2228. for i = 1, 20 do
  2229. tornsound.Volume = tornsound.Volume - .5
  2230. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "grasssblockss" then
  2231. v.CFrame = v.CFrame * CFrame.new(0,4,0)
  2232. v.Transparency = v.Transparency + .1
  2233. end
  2234. end
  2235. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wave" then
  2236. v.Scale = v.Scale + Vector3.new(0.05,0,.05)
  2237. v.Parent.Transparency = v.Parent.Transparency + .1
  2238. end
  2239. end
  2240. wind.Transparency = wind.Transparency + .002
  2241. wind2.Transparency = wind2.Transparency + .002
  2242. wind3.Transparency = wind3.Transparency + .001
  2243. wind4.Transparency = wind4.Transparency + .001
  2244. tornadopart.Transparency = tornadopart.Transparency + .025
  2245. tornadopart2.Transparency = tornadopart2.Transparency + .025
  2246. tornadopart3.Transparency = tornadopart3.Transparency + .025
  2247. tornadopart4.Transparency = tornadopart4.Transparency + .025
  2248. tornadopart5.Transparency = tornadopart5.Transparency + .025
  2249. tornadopart6.Transparency = tornadopart6.Transparency + .025
  2250. tornadopart7.Transparency = tornadopart7.Transparency + .025
  2251. tornadopart8.Transparency = tornadopart8.Transparency + .025
  2252. swait()
  2253. end
  2254. wind:Remove()
  2255. wind2:Remove()
  2256. wind3:Remove()
  2257. wind4:Remove()
  2258. tornsound:Remove()----ignore this ugly mess pl0x
  2259. tornadopart:Remove()
  2260. tornadopart2:Remove()
  2261. tornadopart3:Remove()
  2262. tornadopart4:Remove()
  2263. tornadopart5:Remove()
  2264. tornadopart6:Remove()
  2265. tornadopart7:Remove()
  2266. tornadopart8:Remove()
  2267. tornadobounce = false
  2268. end)()
  2269. end)()
  2270. for i = 1, 20 do
  2271. sk = Instance.new("Part",Torso)
  2272. sk.CanCollide = false
  2273. sk.Anchored = true
  2274. sk.BrickColor = BrickColor.new("White")
  2275. sk.Name = "sk"
  2276. sk.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2277. local skmesh = Instance.new("SpecialMesh",sk)
  2278. skmesh.MeshId = "rbxassetid://662586858"
  2279. skmesh.Name = "wave2"
  2280. skmesh.Scale = Vector3.new(.02,.01,.02)
  2281. removeuseless:AddItem(sk,2)
  2282. end
  2283. for i = 1, 3 do
  2284. blastwave = Instance.new("Part",Torso)
  2285. blastwave.Size = Vector3.new(1,1,1)
  2286. blastwave.CanCollide = false
  2287. blastwave.Material = "Neon"
  2288. blastwave.Anchored = true
  2289. blastwave.Transparency = .6
  2290. blastwave.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2291. blastwave.BrickColor = BrickColor.new("White")
  2292. blastwave.Name = "zin"
  2293. removeuseless:AddItem(blastwave,2)
  2294. end
  2295. SOUND(Torso,2458107258,8,false,5)
  2296. g1 = Instance.new("BodyGyro", Root)
  2297. g1.D = 175
  2298. g1.P = 20000
  2299. g1.MaxTorque = Vector3.new(0,9000,0)
  2300. for i = 1, 22 do
  2301. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(39 - 12 * math.sin(sine/12)),0,0),.4)
  2302. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,.75,0) * CFrame.Angles(math.rad(10),math.rad(5),math.rad(-35)),.4)
  2303. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,.75,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.4)
  2304. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wave2" then
  2305. v.Scale = v.Scale + Vector3.new(0.03,0,.03)
  2306. v.Parent.Transparency = v.Parent.Transparency + .05
  2307. end
  2308. end
  2309. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "zin" then
  2310. v.Size = v.Size + Vector3.new(4,4,4)
  2311. v.Transparency = v.Transparency + .05
  2312. end
  2313. end
  2314. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2315. swait()
  2316. end
  2317. removeuseless:AddItem(g1,.001)
  2318. attacking = false
  2319. debounce = false
  2320. elseif Press=='k' then
  2321. if debounce then return end
  2322. debounce = true
  2323. attacking = true
  2324. waterz = true
  2325. ws = 0
  2326. g1 = Instance.new("BodyGyro", Root)
  2327. g1.D = 175
  2328. g1.P = 20000
  2329. g1.MaxTorque = Vector3.new(0,9000,0)
  2330. if avatarstate then
  2331. for i = 1, 7 do
  2332. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2333. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.8)
  2334. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.8)
  2335. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.8)
  2336. swait()
  2337. end
  2338. else
  2339. for i = 1, 15 do
  2340. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2341. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  2342. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  2343. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  2344. swait()
  2345. end
  2346. end
  2347. SOUND(Torso,169486406,8,false,5)
  2348. coroutine.wrap(function()
  2349. if avatarstate then
  2350. for i = 1, 7 do
  2351. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.8)
  2352. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.8)
  2353. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.8)
  2354. swait()
  2355. end
  2356. else
  2357. for i = 1, 15 do
  2358. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  2359. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  2360. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  2361. swait()
  2362. end
  2363. end
  2364. end)()
  2365. for i = 1, 6 do
  2366. waterblock = Instance.new("Part",Torso)
  2367. waterblock.Size = Vector3.new(4,4,4)
  2368. waterblock.Transparency = .6
  2369. waterblock.Anchored = true
  2370. waterblock.CanCollide = false
  2371. waterblock.BrickColor = BrickColor.new("Cyan")
  2372. waterblock.Material = "Neon"
  2373. waterblock.Name = "water"
  2374. waterblock.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),-15,math.random(-15,15))
  2375. end
  2376. coroutine.wrap(function()
  2377. while waterz do
  2378. swait()
  2379. colors2 = colortable2[math.random(1,#colortable2)]
  2380. for i,v in pairs(Torso:GetChildren()) do
  2381. if v.Name == "water" then
  2382. waterwv = Instance.new("Part",v)
  2383. waterwv.Size = Vector3.new(5,5,5)
  2384. waterwv.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2385. waterwv.Anchored = false
  2386. waterwv.CanCollide = false
  2387. waterwv.Name = "waterv"
  2388. waterwv.Material = "Neon"
  2389. waterwv.BrickColor = BrickColor.new(colors2)
  2390. removeuseless:AddItem(waterwv,2)
  2391. end
  2392. end
  2393. for i,v in pairs(Torso:GetDescendants()) do
  2394. if v.Name == "waterv" then
  2395. v.Size = v.Size - Vector3.new(.35,.35,.35)
  2396. v.Transparency = v.Transparency + .02
  2397. end
  2398. end
  2399. swait()
  2400. end
  2401. end)()
  2402. if avatarstate then
  2403. for i = 1, 13 do
  2404. for i,v in pairs(Torso:GetChildren()) do
  2405. if v.Name == "water" then
  2406. v.CFrame = v.CFrame * CFrame.new(0,0 + 2,0)
  2407. end
  2408. end
  2409. swait()
  2410. end
  2411. else
  2412. for i = 1, 25 do
  2413. for i,v in pairs(Torso:GetChildren()) do
  2414. if v.Name == "water" then
  2415. v.CFrame = v.CFrame * CFrame.new(0,0 + 1,0)
  2416. end
  2417. end
  2418. swait()
  2419. end
  2420. end
  2421. wait(.5)
  2422. ws = 12
  2423. coroutine.wrap(function()
  2424. if avatarstate then
  2425. for i = 1, 38 do
  2426. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  2427. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10*math.sin(sine/12)),math.rad(-40),math.rad(0)),.4)
  2428. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .4)
  2429. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.4)
  2430. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.4)
  2431. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-25),math.rad(-140)),.4)
  2432. swait()
  2433. end
  2434. else
  2435. for i = 1, 75 do
  2436. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2437. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10*math.sin(sine/12)),math.rad(-40),math.rad(0)),.2)
  2438. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .2)
  2439. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.2)
  2440. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  2441. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-25),math.rad(-140)),.2)
  2442. swait()
  2443. end
  2444. end
  2445. end)()
  2446. if avatarstate then
  2447. for i = 1, 39 do
  2448. for i,v in pairs(Torso:GetChildren()) do
  2449. if v.Name == "water" then
  2450. v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position) * CFrame.new(0,10,0),.1)
  2451. end
  2452. end
  2453. swait()
  2454. end
  2455. else
  2456. for i = 1, 75 do
  2457. for i,v in pairs(Torso:GetChildren()) do
  2458. if v.Name == "water" then
  2459. v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position) * CFrame.new(0,10,0),.05)
  2460. end
  2461. end
  2462. swait()
  2463. end
  2464. end
  2465. for i,v in pairs(Torso:GetChildren()) do
  2466. if v.Name == "water" then
  2467. v:Remove()
  2468. end
  2469. end
  2470. waterb = Instance.new("Part",Torso)
  2471. waterb.Size = Vector3.new(1,1,1)
  2472. waterb.Transparency = 1
  2473. waterb.CFrame = CFrame.new(rightlocation.Position) * CFrame.new(0,10,0)
  2474. waterb.Anchored = true
  2475. waterb.CanCollide = false
  2476. waterb.Name = "waterbx"
  2477. SOUND(rightlocation,413682983,9,false,10)
  2478. coroutine.wrap(function()
  2479. waterb2 = Instance.new("Part",Torso)
  2480. waterb2.Size = Vector3.new(10,10,10)
  2481. waterb2.Transparency = 0
  2482. waterb2.CFrame = CFrame.new(rightlocation.Position) * CFrame.new(0,10,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2483. waterb2.Anchored = true
  2484. waterb2.CanCollide = false
  2485. waterb2.Name = "waterb"
  2486. waterb2.Material = "Neon"
  2487. for i = 1, 30 do
  2488. waterb2.Size = waterb2.Size + Vector3.new(3,3,3)
  2489. waterb2.Transparency = waterb2.Transparency + .05
  2490. swait()
  2491. end
  2492. waterb2:Remove()
  2493. end)()
  2494. coroutine.wrap(function()
  2495. for i = 1, 25 do
  2496. swait()
  2497. sk = Instance.new("Part",Torso)
  2498. sk.CanCollide = false
  2499. sk.Anchored = true
  2500. sk.BrickColor = BrickColor.new(colors2)
  2501. sk.Name = "sk"
  2502. sk.CFrame = waterb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2503. skmesh = Instance.new("SpecialMesh",sk)
  2504. skmesh.MeshId = "rbxassetid://662586858"
  2505. skmesh.Name = "firewave"
  2506. skmesh.Scale = Vector3.new(.04,.01,.04)
  2507. removeuseless:AddItem(sk,2)
  2508. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  2509. v.Scale = v.Scale + Vector3.new(0.03,0,.03)
  2510. v.Parent.Transparency = v.Parent.Transparency + .05
  2511. end
  2512. end
  2513. end
  2514. for i = 1, 30 do
  2515. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  2516. v.Scale = v.Scale + Vector3.new(0.03,0,.03)
  2517. v.Parent.Transparency = v.Parent.Transparency + .05
  2518. end
  2519. end
  2520. swait()
  2521. end
  2522. end)()
  2523. coroutine.wrap(function()
  2524. while waterz do
  2525. colors2 = colortable2[math.random(1,#colortable2)]
  2526. blwater = Instance.new("Part",Torso)
  2527. blwater.Size = Vector3.new(10,10,10)
  2528. blwater.Transparency = .5
  2529. blwater.BrickColor = BrickColor.new(colors2)
  2530. blwater.Material = "Neon"
  2531. blwater.Anchored = false
  2532. blwater.CanCollide = false
  2533. blwater.CFrame = waterb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2534. blwater.Name = "blyat"
  2535. removeuseless:AddItem(blwater,2)
  2536. for i,v in pairs(Torso:GetChildren()) do
  2537. if v.Name == "blyat" then
  2538. v.Size = v.Size - Vector3.new(.25,.25,.25)
  2539. v.Transparency = v.Transparency + .025
  2540. end
  2541. end
  2542. swait()
  2543. end
  2544. end)()
  2545. for i = 1, 25 do
  2546. waterb.CFrame = CFrame.new(rightlocation.Position) * CFrame.new(0,10,0)
  2547. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.6, 1.9, 0.2) * CFrame.Angles(math.rad(-85), math.rad(120), math.rad(-20)), 0.5)
  2548. swait()
  2549. end
  2550. waterb:Remove()
  2551. waterz = false
  2552. local waterb = Instance.new("Part",Torso)
  2553. waterb.Size = Vector3.new(1,1,1)
  2554. waterb.Transparency = 1
  2555. waterb.CFrame = CFrame.new(rightlocation.Position) * CFrame.new(0,10,0)
  2556. waterb.Anchored = false
  2557. waterb.CanCollide = false
  2558. waterb.Name = "waterbx2"
  2559. bov = Instance.new("BodyVelocity",waterb)
  2560. bov.maxForce = Vector3.new(99999,99999,99999)
  2561. waterb.CFrame = CFrame.new(waterb.Position,mouse.Hit.p)
  2562. bov.velocity = waterb.CFrame.lookVector*220
  2563. local alreadyhit = false
  2564. waterb.Touched:connect(function(hit)
  2565. if hit.Name ~= "blyat" and hit.Name ~= "firewave" and hit.Name ~= "waterb" and hit.Name ~= "sk" and hit.Name ~= "beeg" then
  2566. if alreadyhit then return end
  2567. alreadyhit = true
  2568. waterb.Anchored = true
  2569. Hit = damagealll(38,waterb.Position)
  2570. for _,v in pairs(Hit) do
  2571. if bluetotem then
  2572. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(48,72))
  2573. elseif avatarstate then
  2574. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  2575. else
  2576. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(39,52))
  2577. end
  2578. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2579. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2580. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2581. vel.velocity = CFrame.new(waterb.Position,torso.Position).lookVector*175
  2582. removeuseless:AddItem(vel,.1)
  2583. end
  2584. local exploblue = Instance.new("Part",Torso)
  2585. exploblue.Name = "bluex"
  2586. exploblue.Size = Vector3.new(6,6,6)
  2587. exploblue.Anchored = true
  2588. exploblue.Transparency = .6
  2589. exploblue.CanCollide = false
  2590. exploblue.CFrame = waterb.CFrame
  2591. exploblue.Material = "Neon"
  2592. exploblue.Shape = "Ball"
  2593. exploblue.BrickColor = BrickColor.new(colors2)
  2594. SOUND(exploblue,2350560656,8,false,5)
  2595. local exploblue2 = Instance.new("Part",Torso)
  2596. exploblue2.Name = "bluex"
  2597. exploblue2.Size = Vector3.new(4,4,4)
  2598. exploblue2.Anchored = true
  2599. exploblue2.Transparency = .4
  2600. exploblue2.CanCollide = false
  2601. exploblue2.CFrame = waterb.CFrame
  2602. exploblue2.Material = "Neon"
  2603. exploblue2.Shape = "Ball"
  2604. exploblue2.BrickColor = BrickColor.new(colors2)
  2605. local exploblue3 = Instance.new("Part",Torso)
  2606. exploblue3.Name = "bluex"
  2607. exploblue3.Transparency = .2
  2608. exploblue3.Size = Vector3.new(2,2,2)
  2609. exploblue3.Anchored = true
  2610. exploblue3.CanCollide = false
  2611. exploblue3.CFrame = waterb.CFrame
  2612. exploblue3.Material = "Neon"
  2613. exploblue3.Shape = "Ball"
  2614. exploblue3.BrickColor = BrickColor.new(colors2)
  2615. waterb:Remove()
  2616. for i = 1, 25 do
  2617. sk = Instance.new("Part",Torso)
  2618. sk.CanCollide = false
  2619. sk.Anchored = true
  2620. sk.BrickColor = BrickColor.new(colors2)
  2621. sk.Name = "sk"
  2622. sk.CFrame = exploblue.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2623. skmesh = Instance.new("SpecialMesh",sk)
  2624. skmesh.MeshId = "rbxassetid://662586858"
  2625. skmesh.Name = "lolwtf"
  2626. skmesh.Scale = Vector3.new(.04,.01,.04)
  2627. end
  2628. for i = 1, 15 do
  2629. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "lolwtf" then
  2630. v.Scale = v.Scale + Vector3.new(0.04,0,.04)
  2631. end
  2632. end
  2633. exploblue.Size = exploblue.Size + Vector3.new(4,4,4)
  2634. exploblue2.Size = exploblue2.Size + Vector3.new(4,4,4)
  2635. exploblue3.Size = exploblue3.Size + Vector3.new(4,4,4)
  2636. swait()
  2637. end
  2638. for i = 1, 15 do
  2639. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "lolwtf" then
  2640. v.Scale = v.Scale + Vector3.new(0.02,0,.02)
  2641. end
  2642. end
  2643. exploblue.Size = exploblue.Size + Vector3.new(2,2,2)
  2644. exploblue2.Size = exploblue2.Size + Vector3.new(2,2,2)
  2645. exploblue3.Size = exploblue3.Size + Vector3.new(2,2,2)
  2646. swait()
  2647. end
  2648. for i = 1, 40 do
  2649. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "lolwtf" then
  2650. v.Scale = v.Scale - Vector3.new(0.04,0,.04)
  2651. v.Parent.Transparency = v.Parent.Transparency + .05
  2652. end
  2653. end
  2654. exploblue.Transparency = exploblue.Transparency + .025
  2655. exploblue2.Transparency = exploblue2.Transparency + .025
  2656. exploblue3.Transparency = exploblue3.Transparency + .025
  2657. exploblue.Size = exploblue.Size - Vector3.new(3,3,3)
  2658. exploblue2.Size = exploblue2.Size - Vector3.new(3,3,3)
  2659. exploblue3.Size = exploblue3.Size - Vector3.new(3,3,3)
  2660. swait()
  2661. end
  2662. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "lolwtf" then
  2663. v:Remove()
  2664. end
  2665. end
  2666. exploblue:Remove()
  2667. exploblue2:Remove()
  2668. exploblue3:Remove()
  2669. print(hit.Name)
  2670. end
  2671. end)
  2672. coroutine.wrap(function()
  2673. for i = 1, 350 do
  2674. if breakwaterm then break end
  2675. colors2 = colortable2[math.random(1,#colortable2)]
  2676. blwater = Instance.new("Part",Torso)
  2677. blwater.Size = Vector3.new(10,10,10)
  2678. blwater.Transparency = .5
  2679. blwater.BrickColor = BrickColor.new(colors2)
  2680. blwater.Material = "Neon"
  2681. blwater.Anchored = false
  2682. blwater.CanCollide = false
  2683. blwater.CFrame = waterb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2684. blwater.Name = "blyat"
  2685. removeuseless:AddItem(blwater,2)
  2686. for i,v in pairs(Torso:GetChildren()) do
  2687. if v.Name == "blyat" then
  2688. v.Size = v.Size - Vector3.new(.25,.25,.25)
  2689. v.Transparency = v.Transparency + .025
  2690. end
  2691. end
  2692. swait()
  2693. end
  2694. pcall(function()
  2695. waterb:Remove()
  2696. end)
  2697. end)()
  2698. for i = 1, 50 do
  2699. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(40),0),.4)
  2700. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5)
  2701. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5)
  2702. swait()
  2703. end
  2704. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  2705. debounce = false
  2706. attacking = false
  2707. removeuseless:AddItem(g1,.001)
  2708. ws = 90
  2709. elseif Press=='j' then
  2710. if debounce then return end
  2711. if nottouched then return end
  2712. nottouched = true
  2713. nottouched2 = true
  2714. debounce = true
  2715. attacking = true
  2716. ws = 6
  2717. fireballsize = 0
  2718. fireballsize2 = 0
  2719. phjv = 0
  2720. phjl = 0
  2721. g1 = Instance.new("BodyGyro", Root)
  2722. g1.D = 175
  2723. g1.P = 20000
  2724. g1.MaxTorque = Vector3.new(0,9000,0)
  2725. bigfireball = Instance.new("Part",Torso)
  2726. bigfireball.Anchored = true
  2727. bigfireball.CanCollide = false
  2728. bigfireball.Size = Vector3.new(2,2,2)
  2729. bigfireball.BrickColor = BrickColor.new(colors)
  2730. bigfireball.Material = "Neon"
  2731. bigfireball.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2732. bigfireball2 = bigfireball:Clone()
  2733. bigfireball2.Parent = Torso
  2734. bigfireball2.Name = "beeg"
  2735. bigfireball2.BrickColor = BrickColor.new(colors)
  2736. bigfireball2.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2737. ohno = Instance.new("Sound",bigfireball)
  2738. ohno.SoundId = "rbxassetid://2469853862"
  2739. ohno.Volume = 9
  2740. ohno:Play()
  2741. firsound = Instance.new("Sound",bigfireball)
  2742. firsound.SoundId = "rbxassetid://2371433183"
  2743. firsound.Volume = 0
  2744. firsound.Looped = true
  2745. firsound:Play()
  2746. for i = 1, 350 do
  2747. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2748. firsound.Volume = firsound.Volume + .05
  2749. phjv = phjv + .225
  2750. phjl = phjl + .225
  2751. fireballsize = fireballsize + .005
  2752. fireballsize2 = fireballsize2 + .0152
  2753. bigfireball2.CFrame = Root.CFrame * CFrame.new(6,phjv,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2754. bigfireball.CFrame = Root.CFrame * CFrame.new(6,phjl,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2755. bigfireball.Size = bigfireball.Size + Vector3.new(.25,.25,.25)
  2756. bigfireball2.Size = bigfireball2.Size + Vector3.new(.25,.25,.25)
  2757. wshockwave = Instance.new("Part", Torso)
  2758. wshockwave.Size = Vector3.new(1,1,1)
  2759. wshockwave.CanCollide = false
  2760. wshockwave.Anchored = true
  2761. wshockwave.Name = "wsw"
  2762. wshockwave.Transparency = .45
  2763. wshockwave.BrickColor = BrickColor.new(colors)
  2764. wshockwave.CFrame = CFrame.new(bigfireball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2765. wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  2766. wshockwavemesh.Scale = Vector3.new(1,.05,1)
  2767. wshockwavemesh.Name = "wswm"
  2768. wshockwavemesh.MeshId = "rbxassetid://20329976"
  2769. removeuseless:AddItem(wshockwave,2)
  2770. for i,v in pairs(Torso:GetDescendants()) do
  2771. if v.Name == "wswm" then
  2772. v.Parent.Transparency = v.Parent.Transparency + 0.05
  2773. v.Scale = v.Scale + Vector3.new(fireballsize,0,fireballsize2)
  2774. end
  2775. end
  2776. sk = Instance.new("Part",Torso)
  2777. sk.CanCollide = false
  2778. sk.Anchored = true
  2779. sk.BrickColor = BrickColor.new(colors)
  2780. sk.Name = "sk"
  2781. sk.CFrame = bigfireball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2782. skmesh = Instance.new("SpecialMesh",sk)
  2783. skmesh.MeshId = "rbxassetid://662586858"
  2784. skmesh.Name = "firewave"
  2785. skmesh.Scale = Vector3.new(.04,.01,.04)
  2786. removeuseless:AddItem(sk,2)
  2787. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  2788. v.Scale = v.Scale + Vector3.new(fireballsize/10,0,fireballsize/10)
  2789. v.Parent.Transparency = v.Parent.Transparency + .05
  2790. end
  2791. end
  2792. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2793. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10*math.sin(sine/12)),math.rad(0),math.rad(0)),.2)
  2794. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .2)
  2795. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.2)
  2796. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  2797. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-25),math.rad(-140)),.3)
  2798. swait()
  2799. end
  2800. coroutine.wrap(function()
  2801. for i = 1, 45 do
  2802. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  2803. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  2804. v.Parent.Transparency = v.Parent.Transparency + .05
  2805. end
  2806. end
  2807. for i,v in pairs(Torso:GetDescendants()) do
  2808. if v.Name == "wswm" then
  2809. v.Parent.Transparency = v.Parent.Transparency + 0.05
  2810. v.Scale = v.Scale + Vector3.new(4,0,4)
  2811. end
  2812. end
  2813. swait()
  2814. end
  2815. end)()
  2816. for i = 1, 75 do
  2817. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  2818. firsound.Volume = firsound.Volume - .05
  2819. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10*math.sin(sine/12)),math.rad(0),math.rad(0)),.2)
  2820. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .2)
  2821. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.2)
  2822. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  2823. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-25),math.rad(-140)),.3)
  2824. bigfireball2.CFrame = Root.CFrame * CFrame.new(6,phjv,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2825. bigfireball.CFrame = Root.CFrame * CFrame.new(6,phjl,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2826. swait()
  2827. end
  2828. removeuseless:AddItem(g1,.001)
  2829. for i = 1, 35 do
  2830. firsound.Volume = firsound.Volume - .05
  2831. bigfireball2.CFrame = Root.CFrame * CFrame.new(6,phjv,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2832. bigfireball.CFrame = Root.CFrame * CFrame.new(6,phjl,0) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2833. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(5),math.rad(20)),.3)
  2834. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-40),0),.4)
  2835. swait()
  2836. end
  2837. firsound:Remove()
  2838. lozz = bigfireball.Size
  2839. bigfireball.Anchored = false
  2840. bigfireball.Transparency = 1
  2841. bigfireball.Size = Vector3.new(5,5,5)
  2842. coroutine.wrap(function()
  2843. bov = Instance.new("BodyVelocity",bigfireball)
  2844. bov.maxForce = Vector3.new(99999,99999,99999)
  2845. bigfireball.CFrame = CFrame.new(bigfireball.Position,mouse.Hit.p)
  2846. bov.velocity = bigfireball.CFrame.lookVector*75
  2847. coroutine.wrap(function()
  2848. for i = 1, 45 do
  2849. bigfireball2.Size = bigfireball2.Size + Vector3.new(4,4,4)
  2850. bigfireball2.Transparency = bigfireball2.Transparency + .05
  2851. swait()
  2852. end
  2853. end)()
  2854. function explo()
  2855. SOUND(bigfireball,240795638,36,false,10)
  2856. colors = colortable[math.random(1,#colortable)]
  2857. bigfireexplosion = bigfireball:Clone()
  2858. bigfireexplosion.Parent = Torso
  2859. bigfireexplosion.Size = smke.Size + Vector3.new(120,120,120)
  2860. bigfireexplosion.BrickColor = BrickColor.new(colors)
  2861. bigfireexplosion.CFrame = bigfireball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2862. colors = colortable[math.random(1,#colortable)]
  2863. bigfireexplosion2 = bigfireball:Clone()
  2864. bigfireexplosion2.Parent = Torso
  2865. bigfireexplosion2.Size = smke.Size + Vector3.new(120,120,120)
  2866. bigfireexplosion2.BrickColor = BrickColor.new(colors)
  2867. bigfireexplosion2.CFrame = bigfireball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2868. coroutine.wrap(function()
  2869. for i = 1, 25 do
  2870. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  2871. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  2872. v.Parent.Transparency = v.Parent.Transparency + .08
  2873. end
  2874. end
  2875. bigfireexplosion.Size = bigfireexplosion.Size + Vector3.new(10,10,10)
  2876. bigfireexplosion.Transparency = bigfireexplosion.Transparency + .05
  2877. bigfireexplosion2.Size = bigfireexplosion2.Size + Vector3.new(10,10,10)
  2878. bigfireexplosion2.Transparency = bigfireexplosion2.Transparency + .05
  2879. swait()
  2880. end
  2881. bigfireexplosion:Remove()
  2882. bigfireexplosion2:Remove()
  2883. end)()
  2884. rlplosion = Instance.new("Part",Torso)
  2885. rlplosion.Size = Vector3.new(100,100,100)
  2886. rlplosion.BrickColor = BrickColor.new(colors)
  2887. rlplosion.Material = "Neon"
  2888. rlplosion.Anchored = true
  2889. rlplosion.Shape = "Ball"
  2890. rlplosion.CanCollide = false
  2891. rlplosion.CFrame = bigfireball.CFrame
  2892. deadlyring = Instance.new("Part", Torso)
  2893. deadlyring.Size = Vector3.new(5, 5, 5)
  2894. deadlyring.Transparency = 0.7
  2895. deadlyring.BrickColor = BrickColor.new("White")
  2896. deadlyring.Anchored = true
  2897. deadlyring.CanCollide = false
  2898. deadlyring.CFrame = rlplosion.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2899. deadlyringh = Instance.new("SpecialMesh", deadlyring)
  2900. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2901. deadlyringh.Scale = Vector3.new(8, 8, .1)
  2902. deadlyring2 = Instance.new("Part", Torso)
  2903. deadlyring2.Size = Vector3.new(5, 5, 5)
  2904. deadlyring2.Transparency = 0.7
  2905. deadlyring2.BrickColor = BrickColor.new("White")
  2906. deadlyring2.Anchored = true
  2907. deadlyring2.CanCollide = false
  2908. deadlyring2.CFrame = rlplosion.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  2909. deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
  2910. deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2911. deadlyringh2.Scale = Vector3.new(8, 8, .1)
  2912. deadlywave = Instance.new("Part",Torso)
  2913. deadlywave.Size = Vector3.new(18,1,18)
  2914. deadlywave.CanCollide = false
  2915. deadlywave.Anchored = true
  2916. deadlywave.Transparency = .5
  2917. deadlywave.BrickColor = BrickColor.new("White")
  2918. deadlywave.CFrame = CFrame.new(rlplosion.Position)
  2919. deadlywavemesh = Instance.new("SpecialMesh", deadlywave)
  2920. deadlywavemesh.Scale = Vector3.new(15,60,15)
  2921. deadlywavemesh.MeshId = "rbxassetid://20329976"
  2922. deadlywave2 = Instance.new("Part",Torso)
  2923. deadlywave2.Size = Vector3.new(1,1,1)
  2924. deadlywave2.CanCollide = false
  2925. deadlywave2.Anchored = true
  2926. deadlywave2.Transparency = .5
  2927. deadlywave2.BrickColor = BrickColor.new("White")
  2928. deadlywave2.CFrame = CFrame.new(rlplosion.Position)
  2929. deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2)
  2930. deadlywave2mesh.Scale = Vector3.new(60,5,60)
  2931. deadlywave2mesh.MeshId = "rbxassetid://20329976"
  2932. rlplosions = 5
  2933. for i = 1, 250 do
  2934. rlplosions = rlplosions + 1
  2935. Hit = damagealll(80+rlplosions,rlplosion.Position)
  2936. for _,v in pairs(Hit) do
  2937. if redtotem then
  2938. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(5,15))
  2939. elseif avatarstate then
  2940. v.FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  2941. else
  2942. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,8))
  2943. end
  2944. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2945. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2946. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2947. vel.velocity = CFrame.new(rlplosion.Position,torso.Position).lookVector*125
  2948. removeuseless:AddItem(vel,.1)
  2949. end
  2950. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(5, 5, 0)
  2951. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(5, 5, 0)
  2952. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
  2953. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
  2954. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+21),0)
  2955. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
  2956. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(4,0,4)
  2957. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(5,0,5)
  2958. rlplosion.Size = rlplosion.Size + Vector3.new(2.5,2.5,2.5)
  2959. swait()
  2960. end
  2961. for i = 1, 50 do
  2962. ohno.Volume = ohno.Volume - .2
  2963. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(5, 5, 0)
  2964. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(5, 5, 0)
  2965. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
  2966. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
  2967. deadlyring.Transparency = deadlyring.Transparency + .05
  2968. deadlyring2.Transparency = deadlyring2.Transparency + .05
  2969. deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  2970. deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
  2971. deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4)
  2972. deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5)
  2973. deadlywave.Transparency = deadlywave.Transparency + .05
  2974. deadlywave2.Transparency = deadlywave2.Transparency + .05
  2975. rlplosion.Size = rlplosion.Size + Vector3.new(1,1,1)
  2976. rlplosion.Transparency = rlplosion.Transparency + 0.02
  2977. swait()
  2978. end
  2979. deadlyring:Remove()
  2980. deadlyring2:Remove()
  2981. deadlywave:Remove()
  2982. deadlywave2:Remove()
  2983. rlplosion:Remove()
  2984. bigfireball:Remove()
  2985. touchedistrue = false
  2986. nottouched = false
  2987. end
  2988. bigfireball.Touched:connect(function(hitza)
  2989. if hitza.Name ~= "smke" and hitza.Name ~= "sk" and hitza.Name ~= "beeg" and hitza.Name ~= "wsw" then
  2990. if touchedistrue then return end
  2991. touchedistrue = true
  2992. nottouched2 = false
  2993. bigfireball.Anchored = true
  2994. bov:Remove()
  2995. explo()
  2996. end
  2997. end)
  2998. coroutine.wrap(function()
  2999. while nottouched2 do
  3000. swait(10)
  3001. colors = colortable[math.random(1,#colortable)]
  3002. smke = Instance.new("Part",Torso)
  3003. smke.Size = lozz
  3004. smke.BrickColor = BrickColor.new(colors)
  3005. smke.Anchored = true
  3006. smke.CanCollide = false
  3007. smke.Material = "Neon"
  3008. smke.Name = "smke"
  3009. smke.CFrame = bigfireball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3010. removeuseless:AddItem(smke,3)
  3011. end
  3012. end)()
  3013. while nottouched2 do
  3014. swait()
  3015. for i,v in pairs(Torso:GetDescendants()) do
  3016. if v.Name == "smke" then
  3017. v.Transparency = v.Transparency + .02
  3018. end
  3019. end
  3020. sk = Instance.new("Part",Torso)
  3021. sk.CanCollide = false
  3022. sk.Anchored = true
  3023. sk.BrickColor = BrickColor.new(colors)
  3024. sk.Name = "sk"
  3025. sk.CFrame = bigfireball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3026. skmesh = Instance.new("SpecialMesh",sk)
  3027. skmesh.MeshId = "rbxassetid://662586858"
  3028. skmesh.Name = "firewave"
  3029. skmesh.Scale = Vector3.new(.04,.01,.04)
  3030. removeuseless:AddItem(sk,2)
  3031. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "firewave" then
  3032. v.Scale = v.Scale + Vector3.new(fireballsize/10,0,fireballsize/10)
  3033. v.Parent.Transparency = v.Parent.Transparency + .05
  3034. end
  3035. end
  3036. swait()
  3037. end
  3038. end)()
  3039. for i = 1, 50 do
  3040. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(40),0),.4)
  3041. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5)
  3042. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5)
  3043. swait()
  3044. end
  3045. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  3046. coroutine.wrap(function()
  3047. for i = 1, 1000 do
  3048. if touchedistrue == true then break end
  3049. swait()
  3050. end
  3051. if not touchedistrue then
  3052. touchedistrue = true
  3053. nottouched2 = false
  3054. explo()
  3055. end
  3056. end)()
  3057. attacking = false
  3058. debounce = false
  3059. ws = 90
  3060. elseif Press=='h' then
  3061. if winddashing then
  3062. ws = 0
  3063. winddashing = false
  3064. tornad:Remove()
  3065. pzp4:Remove()
  3066. pzp3:Remove()
  3067. pzp2:Remove()
  3068. earthquak:Remove()
  3069. removeuseless:AddItem(g1,.001)
  3070. attacking = false
  3071. allowlev = true
  3072. SOUND(Torso,1619519574,8,false,5)
  3073. for i = 1, 35 do
  3074. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3075. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  3076. v.Parent.Transparency = v.Parent.Transparency + .05
  3077. end
  3078. end
  3079. windball.Size = windball.Size + Vector3.new(1,1,1)
  3080. windball.Transparency = windball.Transparency + .05
  3081. swait()
  3082. end
  3083. windball:Remove()
  3084. debounce = false
  3085. ws = 90
  3086. else
  3087. if debounce then return end
  3088. debounce = true
  3089. attacking = true
  3090. allowlev = false
  3091. ws = 0
  3092. for i = 1, 25 do
  3093. sk = Instance.new("Part",Torso)
  3094. sk.CanCollide = false
  3095. sk.Anchored = true
  3096. sk.BrickColor = BrickColor.new("White")
  3097. sk.Name = "sk"
  3098. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3099. skmesh = Instance.new("SpecialMesh",sk)
  3100. skmesh.MeshId = "rbxassetid://662586858"
  3101. skmesh.Name = "windwave"
  3102. skmesh.Scale = Vector3.new(.04,.01,.04)
  3103. removeuseless:AddItem(sk,2)
  3104. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3105. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  3106. v.Parent.Transparency = v.Parent.Transparency + .05
  3107. end
  3108. end
  3109. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(29 - 12 * math.sin(sine/12)),0,0),.05)
  3110. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,.75,0) * CFrame.Angles(math.rad(10),math.rad(5),math.rad(-35)),.05)
  3111. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,.75,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.05)
  3112. hum.HipHeight = hum.HipHeight + .1
  3113. swait()
  3114. end
  3115. coroutine.wrap(function()
  3116. for i = 1, 45 do
  3117. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3118. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  3119. v.Parent.Transparency = v.Parent.Transparency + .05
  3120. end
  3121. end
  3122. swait()
  3123. end
  3124. end)()
  3125. SOUND(Torso,2458107258,8,false,5)
  3126. groundrum = Instance.new("Sound",Torso)
  3127. groundrum.SoundId = "rbxassetid://1265219916"
  3128. groundrum.Volume = 10
  3129. groundrum.Pitch = 1.5
  3130. groundrum:Play()
  3131. removeuseless:AddItem(groundrum,4)
  3132. hum.HipHeight = 0
  3133. wait(.2)
  3134. Hit = damagealll(31,Torso.Position)
  3135. for _,v in pairs(Hit) do
  3136. if whitetotem then
  3137. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(38,52))
  3138. elseif avatarstate then
  3139. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  3140. else
  3141. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(24,35))
  3142. end
  3143. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3144. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3145. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3146. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*125
  3147. removeuseless:AddItem(vel,.1)
  3148. end
  3149. coroutine.wrap(function()
  3150. bnmv = 0
  3151. craterloc = Instance.new("Part",Torso)
  3152. craterloc.Size = Vector3.new(1,1,1)
  3153. craterloc.Transparency = 1
  3154. craterloc.Anchored = false
  3155. craterloc.CanCollide = false
  3156. craterlocweld = weldBetween(craterloc,Root)
  3157. removeuseless:AddItem(craterloc,25)
  3158. shockwave = Instance.new("Part", Torso)
  3159. shockwave.Size = Vector3.new(1,1,1)
  3160. shockwave.CanCollide = false
  3161. shockwave.Anchored = true
  3162. shockwave.Transparency = .5
  3163. shockwave.BrickColor = BrickColor.new("White")
  3164. shockwave.CFrame = CFrame.new(craterloc.Position)
  3165. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  3166. shockwavemesh.Scale = Vector3.new(7,14,7)
  3167. shockwavemesh.MeshId = "rbxassetid://20329976"
  3168. shockwave2 = Instance.new("Part", Torso)
  3169. shockwave2.Size = Vector3.new(1,1,1)
  3170. shockwave2.CanCollide = false
  3171. shockwave2.Anchored = true
  3172. shockwave2.Transparency = .5
  3173. shockwave2.BrickColor = BrickColor.new("White")
  3174. shockwave2.CFrame = CFrame.new(craterloc.Position)
  3175. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  3176. shockwavemesh2.Scale = Vector3.new(5,14,5)
  3177. shockwavemesh2.MeshId = "rbxassetid://20329976"
  3178. coroutine.wrap(function()
  3179. for i = 1, 30 do
  3180. swait()
  3181. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  3182. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  3183. shockwave.Transparency = shockwave.Transparency + 0.025
  3184. shockwave2.Transparency = shockwave2.Transparency + 0.025
  3185. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(6,1,6)
  3186. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(6,1,6)
  3187. end
  3188. shockwave:Remove()
  3189. shockwave2:Remove()
  3190. end)()
  3191. for i = 1, 75 do
  3192. bnmv = bnmv + 15
  3193. grassblocks = Instance.new("Part",craterloc)
  3194. grassblocks.Size = Vector3.new(1,1,1)
  3195. grassblocks.Material = "Grass"
  3196. grassblocks.Anchored = false
  3197. grassblocks.Transparency = 1
  3198. grassblocks.CanCollide = false
  3199. grassblockswld = weldBetween(grassblocks,craterloc)
  3200. grassblockswld.C0 = CFrame.new(-15,8.5,0) * CFrame.Angles(math.rad(0),math.rad(bnmv),0)
  3201. removeuseless:AddItem(grassblocks,25)
  3202. crater2 = Instance.new("Part",Torso)
  3203. crater2.CFrame = grassblocks.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3204. crater2.Size = Vector3.new(6.5,6.5,6.5)
  3205. crater2.Anchored = true
  3206. crater2.Name = "cr2"
  3207. crater2.Material = "Grass"
  3208. crater2.BrickColor = BrickColor.new("Bright green")
  3209. end
  3210. end)()
  3211. for i = 1, 45 do
  3212. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4, 1, 0.501) * CFrame.Angles(math.rad(-80), math.rad(-5), math.rad(0)), 0.3)
  3213. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  3214. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-80), math.rad(-10), math.rad(0)), 0.3)
  3215. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.2, .8) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.3)
  3216. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, -.34) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(10)), 0.3)
  3217. swait()
  3218. end
  3219. for i = 1, 50 do
  3220. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-0), math.rad(-0), math.rad(0)), 0.08)
  3221. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.08)
  3222. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.08)
  3223. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.08)
  3224. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.08)
  3225. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.5,0)* CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)),.08)
  3226. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)),.08)
  3227. swait()
  3228. end
  3229. SOUND(Torso,2466413404,8,false,6)
  3230. coroutine.wrap(function()
  3231. for i = 1, 25 do
  3232. sk = Instance.new("Part",Torso)
  3233. sk.CanCollide = false
  3234. sk.Anchored = true
  3235. sk.BrickColor = BrickColor.new("White")
  3236. sk.Name = "sk"
  3237. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3238. skmesh = Instance.new("SpecialMesh",sk)
  3239. skmesh.MeshId = "rbxassetid://662586858"
  3240. skmesh.Name = "windwave"
  3241. skmesh.Scale = Vector3.new(.01,.01,.01)
  3242. removeuseless:AddItem(sk,4)
  3243. end
  3244. for i = 1, 25 do
  3245. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3246. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  3247. v.Parent.Transparency = v.Parent.Transparency + .01
  3248. end
  3249. end
  3250. swait()
  3251. end
  3252. for i = 1, 25 do
  3253. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3254. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3255. v.Parent.Transparency = v.Parent.Transparency + .05
  3256. end
  3257. end
  3258. swait()
  3259. end
  3260. end)()
  3261. windball = Instance.new("Part",Torso)
  3262. windball.Size = Vector3.new(20,20,20)
  3263. windball.Shape = "Ball"
  3264. windball.CanCollide = false
  3265. windball.Anchored = true
  3266. windball.Material = "Neon"
  3267. windball.CFrame = Root.CFrame
  3268. windball.Transparency = 1
  3269. for i = 1, 75 do
  3270. windball.CFrame = Root.CFrame
  3271. windball.Transparency = windball.Transparency - 0.02
  3272. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(29),0,0),.2)
  3273. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,.75,0) * CFrame.Angles(math.rad(40),math.rad(5),math.rad(-35)),.2)
  3274. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,.75,0)* CFrame.Angles(math.rad(40),math.rad(-5),math.rad(35)),.2)
  3275. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 1.9, .39) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.2)
  3276. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 1.9, .39) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.2)
  3277. swait()
  3278. end
  3279. windball2 = windball:Clone()
  3280. windball2.Parent = Torso
  3281. windball.Transparency = .5
  3282. coroutine.wrap(function()
  3283. for i = 1, 25 do
  3284. sk = Instance.new("Part",Torso)
  3285. sk.CanCollide = false
  3286. sk.Anchored = true
  3287. sk.BrickColor = BrickColor.new("White")
  3288. sk.Name = "sk"
  3289. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3290. skmesh = Instance.new("SpecialMesh",sk)
  3291. skmesh.MeshId = "rbxassetid://662586858"
  3292. skmesh.Name = "windwave"
  3293. skmesh.Scale = Vector3.new(.01,.01,.01)
  3294. removeuseless:AddItem(sk,4)
  3295. end
  3296. for i = 1, 25 do
  3297. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3298. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  3299. v.Parent.Transparency = v.Parent.Transparency + .01
  3300. end
  3301. end
  3302. swait()
  3303. end
  3304. for i = 1, 25 do
  3305. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3306. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3307. v.Parent.Transparency = v.Parent.Transparency + .05
  3308. end
  3309. end
  3310. swait()
  3311. end
  3312. end)()
  3313. SOUND(Torso,1619519574,8,false,5)
  3314. for i = 1, 50 do
  3315. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "cr2" then
  3316. v.Transparency = v.Transparency + .02
  3317. end
  3318. end
  3319. windball2.Size = windball2.Size + Vector3.new(4,4,4)
  3320. windball2.Transparency = windball2.Transparency + .05
  3321. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.05)
  3322. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.05)
  3323. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(25 + 5 * math.sin(sine/12))), 0.05)
  3324. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(-25 - 5 * math.sin(sine/12))), 0.05)
  3325. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-41 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 15, math.cos(10 * math.cos(sine/10))), 0.05)
  3326. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.05)
  3327. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.05)
  3328. swait()
  3329. end
  3330. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "cr2" then
  3331. v:Remove()
  3332. end
  3333. end
  3334. windball.Anchored = false
  3335. windballweld = weldBetween(windball,Torso)
  3336. windball2:Remove()
  3337. pzp = Instance.new("Part",Torso)
  3338. pzp.Size = Vector3.new(1,1,1)
  3339. pzp.CanCollide = false
  3340. pzp.Transparency = 1
  3341. pzpweld = weldBetween(pzp,Torso)
  3342. pzpweld.C0 = CFrame.new(0,0,0)
  3343. pzp2 = Instance.new("Part",Torso)
  3344. pzp2.Size = Vector3.new(1,1,1)
  3345. pzp2.CanCollide = false
  3346. pzp2.Transparency = 1
  3347. pzpweld2 = weldBetween(pzp2,pzp)
  3348. pzpweld2.C0 = CFrame.new(12,3,0)
  3349. pzp3 = Instance.new("Part",Torso)
  3350. pzp3.Size = Vector3.new(1,1,1)
  3351. pzp3.CanCollide = false
  3352. pzp3.Transparency = 1
  3353. pzpweld3 = weldBetween(pzp3,pzp)
  3354. pzpweld3.C0 = CFrame.new(-12,3,0)
  3355. pzp4 = Instance.new("Part",Torso)
  3356. pzp4.Size = Vector3.new(1,1,1)
  3357. pzp4.CanCollide = false
  3358. pzp4.Transparency = 1
  3359. pzpweld4 = weldBetween(pzp4,Root)
  3360. pzpweld4.C0 = CFrame.new(0,0,10.5)
  3361. earthquak = Instance.new("Sound",Torso)
  3362. earthquak.Volume = 9
  3363. earthquak.SoundId = "rbxassetid://2017948224"
  3364. earthquak.Looped = true
  3365. earthquak:Play()
  3366. tornad = Instance.new("Sound",windball)
  3367. tornad.Volume = 10
  3368. tornad.Looped = true
  3369. tornad.SoundId = "rbxassetid://1245010022"
  3370. tornad:Play()
  3371. g1 = Instance.new("BodyGyro", Root)
  3372. g1.D = 175
  3373. g1.P = 20000
  3374. g1.MaxTorque = Vector3.new(0,9000,0)
  3375. winddashing = true
  3376. while winddashing do
  3377. Hit = damagealll(35,Torso.Position)
  3378. for _,v in pairs(Hit) do
  3379. if whitetotem then
  3380. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4,6))
  3381. else
  3382. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(1,3))
  3383. end
  3384. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3385. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3386. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3387. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*190
  3388. removeuseless:AddItem(vel,.1)
  3389. end
  3390. if mouse.Target ~= nil then
  3391. sk = Instance.new("Part",Torso)
  3392. sk.CanCollide = false
  3393. sk.Anchored = true
  3394. sk.BrickColor = BrickColor.new("White")
  3395. sk.Name = "sk"
  3396. sk.CFrame = pzp4.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3397. skmesh = Instance.new("SpecialMesh",sk)
  3398. skmesh.MeshId = "rbxassetid://662586858"
  3399. skmesh.Name = "windwave"
  3400. skmesh.Scale = Vector3.new(.01,.01,.01)
  3401. removeuseless:AddItem(sk,4)
  3402. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3403. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  3404. v.Parent.Transparency = v.Parent.Transparency + .025
  3405. end
  3406. end
  3407. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(25 + 5 * math.sin(sine/12))), 0.5)
  3408. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(-25 - 5 * math.sin(sine/12))), 0.5)
  3409. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.Angles(math.rad(-41), math.rad(0), math.rad(0)), 0.5)
  3410. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.5)
  3411. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.5)
  3412. earthquak.Volume = 9
  3413. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  3414. Root.CFrame = Root.CFrame * CFrame.new(0,0,-4)
  3415. coroutine.wrap(function()
  3416. local grassblocks = Instance.new("Part",Torso)
  3417. grassblocks.Size = Vector3.new(6,6,6)
  3418. grassblocks.Material = "Grass"
  3419. grassblocks.BrickColor = BrickColor.new("Bright green")
  3420. grassblocks.Anchored = true
  3421. grassblocks.Transparency = 0
  3422. grassblocks.CanCollide = false
  3423. grassblocks.CFrame = pzp3.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3424. local grassblocks2 = Instance.new("Part",Torso)
  3425. grassblocks2.Size = Vector3.new(6,6,6)
  3426. grassblocks2.Material = "Grass"
  3427. grassblocks2.Anchored = true
  3428. grassblocks2.BrickColor = BrickColor.new("Bright green")
  3429. grassblocks2.Transparency = 0
  3430. grassblocks2.CanCollide = false
  3431. grassblocks2.CFrame = pzp2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3432. wait(2)
  3433. for i = 1, 25 do
  3434. grassblocks.Transparency = grassblocks.Transparency + .05
  3435. grassblocks2.Transparency = grassblocks2.Transparency + .05
  3436. swait()
  3437. end
  3438. grassblocks:Remove()
  3439. grassblocks2:Remove()
  3440. end)()
  3441. else
  3442. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "windwave" then
  3443. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  3444. v.Parent.Transparency = v.Parent.Transparency + .01
  3445. end
  3446. end
  3447. earthquak.Volume = 0
  3448. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.4)
  3449. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.4)
  3450. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.4)
  3451. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.4)
  3452. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)
  3453. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  3454. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  3455. end
  3456. swait()
  3457. end
  3458. end
  3459. elseif Press=='f' then
  3460. if avatarstate then return end
  3461. if debounce then return end
  3462. debounce = true
  3463. attacking = true
  3464. allowlev = false
  3465. avatarstatee = Instance.new("Sound",Torso)
  3466. avatarstatee.SoundId = "rbxassetid://2496371442"
  3467. avatarstatee.Volume = 10
  3468. avatarstatee:Play()
  3469. coroutine.wrap(function()
  3470. for i = 1, 100 do
  3471. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.9, -.2) * CFrame.Angles(math.rad(-25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.05)
  3472. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 1.9, -.2) * CFrame.Angles(math.rad(-25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.05)
  3473. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.75,.5) * CFrame.Angles(math.rad(-60),math.rad(-20 + 1 *math.sin(sine/12)),0),.05)
  3474. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.75,.5) * CFrame.Angles(math.rad(-60),math.rad(20 - 1 * math.sin(sine/12)),0),.05)
  3475. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-60),0,0),.05)
  3476. swait()
  3477. end
  3478. end)()
  3479. for i = 1, 140 do
  3480. doomtheme.Volume = doomtheme.Volume - .05
  3481. swait()
  3482. end
  3483. doomtheme.Volume = 6
  3484. doomtheme:Play()
  3485. levitatewave3 = Instance.new("Part", Torso)
  3486. levitatewave3.Size = Vector3.new(1,1,1)
  3487. levitatewave3.CanCollide = false
  3488. levitatewave3.Anchored = false
  3489. levitatewave3.Transparency = .75
  3490. levitatewave3.BrickColor = BrickColor.new("White")
  3491. levitatewave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  3492. levitatewavemesh3 = Instance.new("SpecialMesh", levitatewave3)
  3493. levitatewavemesh3.Scale = Vector3.new(11,1.25,11)
  3494. levitatewavemesh3.MeshId = "rbxassetid://20329976"
  3495. levitatewaveweld3 = weldBetween(levitatewave3,locbrick1)
  3496. levitatewave4 = Instance.new("Part", Torso)
  3497. levitatewave4.Size = Vector3.new(1,1,1)
  3498. levitatewave4.CanCollide = false
  3499. levitatewave4.Anchored = false
  3500. levitatewave4.Transparency = .75
  3501. levitatewave4.BrickColor = BrickColor.new("White")
  3502. levitatewave4.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  3503. levitatewavemesh4 = Instance.new("SpecialMesh", levitatewave4)
  3504. levitatewavemesh4.Scale = Vector3.new(15,2,15)
  3505. levitatewavemesh4.MeshId = "rbxassetid://20329976"
  3506. levitatewaveweld4 = weldBetween(levitatewave4,locbrick1)
  3507. levitatewave5 = Instance.new("Part", Torso)
  3508. levitatewave5.Size = Vector3.new(1,1,1)
  3509. levitatewave5.CanCollide = false
  3510. levitatewave5.Anchored = false
  3511. levitatewave5.Transparency = .75
  3512. levitatewave5.BrickColor = BrickColor.new("White")
  3513. levitatewave5.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  3514. levitatewavemesh5 = Instance.new("SpecialMesh", levitatewave5)
  3515. levitatewavemesh5.Scale = Vector3.new(24,6,24)
  3516. levitatewavemesh5.MeshId = "rbxassetid://20329976"
  3517. levitatewaveweld5 = weldBetween(levitatewave5,locbrick1)
  3518. levitatewave6 = Instance.new("Part", Torso)
  3519. levitatewave6.Size = Vector3.new(1,1,1)
  3520. levitatewave6.CanCollide = false
  3521. levitatewave6.Anchored = false
  3522. levitatewave6.Transparency = .75
  3523. levitatewave6.BrickColor = BrickColor.new("White")
  3524. levitatewave6.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  3525. levitatewavemesh6 = Instance.new("SpecialMesh", levitatewave6)
  3526. levitatewavemesh6.Scale = Vector3.new(23,6,23)
  3527. levitatewavemesh6.MeshId = "rbxassetid://20329976"
  3528. levitatewaveweld6 = weldBetween(levitatewave6,locbrick1)
  3529. windblocks3 = Instance.new("Part",Torso)
  3530. windblocks3.Size = Vector3.new(1,1,1)
  3531. windblocks3.Transparency = 1
  3532. windblocks3.Anchored = false
  3533. windblocks3.CanCollide = false
  3534. windblocks3weld = weldBetween(windblocks3,Root)
  3535.  
  3536. windblocks4 = Instance.new("Part",Torso)
  3537. windblocks4.Size = Vector3.new(1,1,1)
  3538. windblocks4.Transparency = 1
  3539. windblocks4.Anchored = false
  3540. windblocks4.CanCollide = false
  3541. windblocks4weld = weldBetween(windblocks4,Root)
  3542. windring3 = Instance.new("Part", Torso)
  3543. windring3.Size = Vector3.new(1, 1, 1)
  3544. windring3.Transparency = .9
  3545. windring3.Anchored = false
  3546. windring3.BrickColor = BrickColor.new("Really white")
  3547. windring3.CanCollide = false
  3548. ringh3 = Instance.new("SpecialMesh", windring3)
  3549. ringh3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3550. ringh3.Scale = Vector3.new(39, 39, 4)
  3551. windring3weld = weldBetween(windring3,windblocks3)
  3552. windring4 = Instance.new("Part", Torso)
  3553. windring4.Size = Vector3.new(1, 1, 1)
  3554. windring4.Transparency = .9
  3555. windring4.Anchored = false
  3556. windring4.BrickColor = BrickColor.new("Really white")
  3557. windring4.CanCollide = false
  3558. ringh4 = Instance.new("SpecialMesh", windring4)
  3559. ringh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3560. ringh4.Scale = Vector3.new(39, 39, 4)
  3561. windring4weld = weldBetween(windring4,windblocks4)
  3562. wind3 = Instance.new("Part", Torso)
  3563. wind3.Size = Vector3.new(0.5, 0.5, 0.5)
  3564. wind3.Material = "Neon"
  3565. wind3.BrickColor = BrickColor.new("Really white")
  3566. wind3.Transparency = .88
  3567. wind3.CanCollide = false
  3568. windMESH3 = Instance.new("SpecialMesh", wind3)
  3569. windMESH3.Scale = Vector3.new(9.5,9.5,9.5)
  3570. windMESH3.MeshId = "rbxassetid://168892432"
  3571. windWeld3 = weldBetween(wind3,Root)
  3572. windWeld3.C0 = CFrame.new(0,-10,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  3573. wind4 = Instance.new("Part", Torso)
  3574. wind4.Size = Vector3.new(0.5, 0.5, 0.5)
  3575. wind4.Material = "Neon"
  3576. wind4.BrickColor = BrickColor.new("Really white")
  3577. wind4.Transparency = .96
  3578. wind4.CanCollide = false
  3579. windMESH4 = Instance.new("SpecialMesh", wind4)
  3580. windMESH4.Scale = Vector3.new(12,12,12)
  3581. windMESH4.MeshId = "rbxassetid://168892432"
  3582. windWeld4 = weldBetween(wind4,Root)
  3583. windWeld4.C0 = CFrame.new(0,-10,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  3584. waind = 0
  3585. for i = 1, 50 do
  3586. waind = waind + 5
  3587. local windblockss = Instance.new("Part",Torso)
  3588. windblockss.Material = "Neon"
  3589. windblockss.BrickColor = BrickColor.new("White")
  3590. windblockss.Anchored = true
  3591. windblockss.Transparency = .5
  3592. windblockss.CanCollide = false
  3593. windblockss.Size = Vector3.new(5+waind,5+waind,5+waind)
  3594. windblockss.Name = "waind2"
  3595. windblockss.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3596. removeuseless:AddItem(windblockss,6)
  3597. coroutine.wrap(function()
  3598. for i = 1, 40 do
  3599. windblockss.Transparency = windblockss.Transparency + .025
  3600. swait()
  3601. end
  3602. windblockss:Remove()
  3603. end)()
  3604. swait(1)
  3605. end
  3606. avatarstate = true
  3607. debounce = false
  3608. attacking = false
  3609. allowlev = true
  3610. elseif Press=='g' then
  3611. if debounce then return end
  3612. debounce = true
  3613. attacking = true
  3614. allowlev = false
  3615. ws = 6
  3616. g1 = Instance.new("BodyGyro", Root)
  3617. g1.D = 175
  3618. g1.P = 20000
  3619. g1.MaxTorque = Vector3.new(0,9000,0)
  3620. coroutine.wrap(function()
  3621. for i = 1, 85 do
  3622. coroutine.wrap(function()
  3623. local WindBlastw = Instance.new("Part",Torso)
  3624. WindBlastw.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3625. WindBlastw.Material = "Neon"
  3626. WindBlastw.BrickColor = BrickColor.new("White")
  3627. WindBlastw.Transparency = .75
  3628. WindBlastw.Size = Vector3.new(1,1,1)
  3629. WindBlastw.Anchored = true
  3630. WindBlastw.CanCollide = false
  3631. local WindBlastx = Instance.new("Part",Torso)
  3632. WindBlastx.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3633. WindBlastx.Material = "Neon"
  3634. WindBlastx.BrickColor = BrickColor.new("White")
  3635. WindBlastx.Transparency = .75
  3636. WindBlastx.Size = Vector3.new(1,1,1)
  3637. WindBlastx.Anchored = true
  3638. WindBlastx.CanCollide = false
  3639. for i = 1, 25 do
  3640. WindBlastx.Size = WindBlastx.Size + Vector3.new(2,2,2)
  3641. WindBlastx.Transparency = WindBlastx.Transparency + .05
  3642. WindBlastw.Size = WindBlastw.Size + Vector3.new(2,2,2)
  3643. WindBlastw.Transparency = WindBlastw.Transparency + .05
  3644. swait()
  3645. end
  3646. WindBlastx:Remove()
  3647. WindBlastw:Remove()
  3648. end)()
  3649. sk = Instance.new("Part",Torso)
  3650. sk.CanCollide = false
  3651. sk.Anchored = true
  3652. sk.BrickColor = BrickColor.new("White")
  3653. sk.Name = "sk"
  3654. sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3655. skmesh = Instance.new("SpecialMesh",sk)
  3656. skmesh.MeshId = "rbxassetid://662586858"
  3657. skmesh.Name = "windwave"
  3658. skmesh.Scale = Vector3.new(.04,.01,.04)
  3659. removeuseless:AddItem(sk,2)
  3660. sk2 = Instance.new("Part",Torso)
  3661. sk2.CanCollide = false
  3662. sk2.Anchored = true
  3663. sk2.BrickColor = BrickColor.new("White")
  3664. sk2.Name = "sk2"
  3665. sk2.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3666. skmesh2 = Instance.new("SpecialMesh",sk2)
  3667. skmesh2.MeshId = "rbxassetid://662586858"
  3668. skmesh2.Name = "windwave2"
  3669. skmesh2.Scale = Vector3.new(.04,.01,.04)
  3670. removeuseless:AddItem(sk2,2)
  3671. for i,v in pairs(Torso:GetDescendants()) do
  3672. if v.Name == "windwave" then
  3673. v.Parent.Transparency = v.Parent.Transparency + .045
  3674. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3675. end
  3676. end
  3677. for i,v in pairs(Torso:GetDescendants()) do
  3678. if v.Name == "windwave2" then
  3679. v.Parent.Transparency = v.Parent.Transparency + .045
  3680. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3681. end
  3682. end
  3683. swait()
  3684. end
  3685. end)()
  3686. Wind = Instance.new("Sound",Torso)
  3687. Wind.Volume = 8
  3688. Wind.SoundId = "rbxassetid://147348734"
  3689. Wind.Pitch = 1.2
  3690. Wind:Play()
  3691. removeuseless:AddItem(Wind,6)
  3692. for i = 1, 85 do
  3693. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  3694. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.3)
  3695. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(20),math.rad(-140)),.3)
  3696. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(140)),.3)
  3697. swait()
  3698. end
  3699. coroutine.wrap(function()
  3700. for i = 1, 15 do
  3701. sk = Instance.new("Part",Torso)
  3702. sk.CanCollide = false
  3703. sk.Anchored = true
  3704. sk.BrickColor = BrickColor.new("White")
  3705. sk.Name = "sk"
  3706. sk.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3707. skmesh = Instance.new("SpecialMesh",sk)
  3708. skmesh.MeshId = "rbxassetid://662586858"
  3709. skmesh.Name = "xm"
  3710. skmesh.Scale = Vector3.new(.04,.01,.04)
  3711. removeuseless:AddItem(sk,2)
  3712. sk2 = Instance.new("Part",Torso)
  3713. sk2.CanCollide = false
  3714. sk2.Anchored = true
  3715. sk2.BrickColor = BrickColor.new("White")
  3716. sk2.Name = "sk2"
  3717. sk2.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3718. skmesh2 = Instance.new("SpecialMesh",sk2)
  3719. skmesh2.MeshId = "rbxassetid://662586858"
  3720. skmesh2.Name = "mx"
  3721. skmesh2.Scale = Vector3.new(.04,.01,.04)
  3722. removeuseless:AddItem(sk2,2)
  3723. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mx" then
  3724. v.Scale = v.Scale + Vector3.new(.03,0,.03)
  3725. v.Parent.Transparency = v.Parent.Transparency + .05
  3726. end
  3727. end
  3728. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "xm" then
  3729. v.Scale = v.Scale + Vector3.new(.03,0,.03)
  3730. v.Parent.Transparency = v.Parent.Transparency + .05
  3731. end
  3732. end
  3733. swait()
  3734. end
  3735. for i = 1, 45 do
  3736. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "mx" then
  3737. v.Scale = v.Scale + Vector3.new(.03,0,.03)
  3738. v.Parent.Transparency = v.Parent.Transparency + .05
  3739. end
  3740. end
  3741. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "xm" then
  3742. v.Scale = v.Scale + Vector3.new(.03,0,.03)
  3743. v.Parent.Transparency = v.Parent.Transparency + .05
  3744. end
  3745. end
  3746. swait()
  3747. end
  3748. end)()
  3749. removeuseless:AddItem(g1,.001)
  3750. coroutine.wrap(function()
  3751. for i = 1, 50 do
  3752. swait()
  3753. for i,v in pairs(Torso:GetDescendants()) do
  3754. if v.Name == "windwave" then
  3755. v.Parent.Transparency = v.Parent.Transparency + .045
  3756. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3757. end
  3758. end
  3759. for i,v in pairs(Torso:GetDescendants()) do
  3760. if v.Name == "windwave2" then
  3761. v.Parent.Transparency = v.Parent.Transparency + .045
  3762. v.Scale = v.Scale + Vector3.new(.005,0,.005)
  3763. end
  3764. end
  3765. end
  3766. end)()
  3767. ws = 0
  3768. SOUND(Torso,2458107258,10,false,4)
  3769. coroutine.wrap(function()
  3770. local blastpart = Instance.new("Part",Torso)
  3771. SOUND(blastpart,479309152,8,true,50)
  3772. blastpart.Size = Vector3.new(5,5,5)
  3773. blastpart.Name = "blastpart"
  3774. blastpart.Anchored = true
  3775. blastpart.Transparency = 1
  3776. blastpart.CanCollide = false
  3777. blastpart.CFrame = Root.CFrame
  3778. local locationblast = Instance.new("Part",blastpart)
  3779. locationblast.Size = Vector3.new(5,5,5)
  3780. locationblast.CanCollide = false
  3781. locationblast.Anchored = true
  3782. locationblast.Transparency = 1
  3783. locationblast.CFrame = blastpart.CFrame * CFrame.new(-5,0,0)
  3784. local locationblast2 = Instance.new("Part",blastpart)
  3785. locationblast2.Size = Vector3.new(1,1,1)
  3786. locationblast2.CanCollide = false
  3787. locationblast2.Anchored = true
  3788. locationblast2.Transparency = 1
  3789. locationblast2.CFrame = blastpart.CFrame * CFrame.new(-5,0,0)
  3790. for i = 1, 175 do
  3791. Hit = damagealll(58,blastpart.Position)
  3792. for _,v in pairs(Hit) do
  3793. if whitetotem then
  3794. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(2,8))
  3795. elseif avatarstate then
  3796. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  3797. else
  3798. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(6,12))
  3799. end
  3800. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3801. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3802. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3803. vel.velocity = CFrame.new(blastpart.Position,torso.Position).lookVector*100
  3804. removeuseless:AddItem(vel,.1)
  3805. end
  3806. coroutine.wrap(function()
  3807. local sk = Instance.new("Part",Torso)
  3808. sk.CanCollide = false
  3809. sk.Anchored = true
  3810. sk.BrickColor = BrickColor.new("White")
  3811. sk.Name = "sk"
  3812. sk.CFrame = locationblast.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3813. local skmesh = Instance.new("SpecialMesh",sk)
  3814. skmesh.MeshId = "rbxassetid://662586858"
  3815. skmesh.Name = "windwave"
  3816. skmesh.Scale = Vector3.new(.04,.01,.04)
  3817. removeuseless:AddItem(sk,2)
  3818. local sk2 = Instance.new("Part",Torso)
  3819. sk2.CanCollide = false
  3820. sk2.Anchored = true
  3821. sk2.BrickColor = BrickColor.new("White")
  3822. sk2.Name = "sk2"
  3823. sk2.CFrame = locationblast2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3824. local skmesh2 = Instance.new("SpecialMesh",sk2)
  3825. skmesh2.MeshId = "rbxassetid://662586858"
  3826. skmesh2.Name = "windwave2"
  3827. skmesh2.Scale = Vector3.new(.04,.01,.04)
  3828. removeuseless:AddItem(sk,2)
  3829. local WindBlast = Instance.new("Part",Torso)
  3830. WindBlast.CFrame = blastpart.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3831. WindBlast.Material = "Neon"
  3832. WindBlast.Transparency = .6
  3833. WindBlast.Size = Vector3.new(42,42,42)
  3834. WindBlast.Anchored = true
  3835. WindBlast.CanCollide = false
  3836. for i = 1, 25 do
  3837. skmesh2.Scale = skmesh2.Scale + Vector3.new(.09,0,.09)
  3838. skmesh.Scale = skmesh.Scale + Vector3.new(.09,0,.09)
  3839. skmesh.Parent.Transparency = skmesh.Parent.Transparency + 0.04
  3840. skmesh2.Parent.Transparency = skmesh2.Parent.Transparency + 0.04
  3841. WindBlast.Transparency = WindBlast.Transparency + 0.022
  3842. swait()
  3843. end
  3844. sk:Remove()
  3845. sk2:Remove()
  3846. WindBlast:Remove()
  3847. end)()
  3848. blastpart.CFrame = blastpart.CFrame * CFrame.new(0,0,0-4.5)
  3849. locationblast2.CFrame = blastpart.CFrame * CFrame.new(10,-8,0)
  3850. locationblast.CFrame = blastpart.CFrame * CFrame.new(-10,-8,0)
  3851. locationblast2.Size = Vector3.new(1,1,1)
  3852. locationblast.Size = Vector3.new(1,1,1)
  3853. swait()
  3854. end
  3855. locationblast:Remove()
  3856. blastpart:Remove()
  3857. locationblast2:Remove()
  3858. end)()
  3859. for i = 1, 35 do
  3860. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  3861. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,.8,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(3)), .3)
  3862. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,.8,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(-3)), .3)
  3863. swait()
  3864. end
  3865. ws = 90
  3866. allowlev = true
  3867. attacking = false
  3868. debounce = false
  3869. elseif Press=='q' then
  3870. if debounce then return end
  3871. attacking = true
  3872. debounce = true
  3873. if spwt then
  3874. SOUND(Torso,339027743,8,false,4)
  3875. coroutine.wrap(function()
  3876. for i = 1, 10 do
  3877. sk = Instance.new("Part",Torso)
  3878. sk.CanCollide = false
  3879. sk.Anchored = true
  3880. sk.BrickColor = BrickColor.new(colors2)
  3881. sk.Name = "sk"
  3882. sk.CFrame = waterlocbrick2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3883. skmesh = Instance.new("SpecialMesh",sk)
  3884. skmesh.MeshId = "rbxassetid://662586858"
  3885. skmesh.Name = "sklol3"
  3886. skmesh.Scale = Vector3.new(.04,.01,.04)
  3887. removeuseless:AddItem(sk,2)
  3888. end
  3889. for i = 1, 25 do
  3890. for i,v in pairs(Torso:GetDescendants()) do
  3891. if v.Name == "sklol3" then
  3892. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  3893. end
  3894. end
  3895. swait()
  3896. end
  3897. end)()
  3898. coroutine.wrap(function()
  3899. for i = 1, 10 do
  3900. sk = Instance.new("Part",Torso)
  3901. sk.CanCollide = false
  3902. sk.Anchored = true
  3903. sk.BrickColor = BrickColor.new(colors2)
  3904. sk.Name = "sk"
  3905. sk.CFrame = waterlocbrick.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3906. skmesh = Instance.new("SpecialMesh",sk)
  3907. skmesh.MeshId = "rbxassetid://662586858"
  3908. skmesh.Name = "sklol4"
  3909. skmesh.Scale = Vector3.new(.04,.01,.04)
  3910. removeuseless:AddItem(sk,2)
  3911. end
  3912. for i = 1, 25 do
  3913. for i,v in pairs(Torso:GetDescendants()) do
  3914. if v.Name == "sklol4" then
  3915. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  3916. end
  3917. end
  3918. swait()
  3919. end
  3920. end)()
  3921. waterwaveb = Instance.new("Part",Torso)
  3922. waterwaveb.CFrame = waterlocbrick.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3923. waterwaveb.Size = Vector3.new(1,1,1)
  3924. waterwaveb.BrickColor = BrickColor.new(colors2)
  3925. waterwaveb.Transparency = .2
  3926. waterwaveb.CanCollide = false
  3927. waterwaveb.Anchored = true
  3928. waterwaveb.Material = "Neon"
  3929. waterwaveb2 = Instance.new("Part",Torso)
  3930. waterwaveb2.CFrame = waterlocbrick2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3931. waterwaveb2.Size = Vector3.new(1,1,1)
  3932. waterwaveb2.BrickColor = BrickColor.new(colors2)
  3933. waterwaveb2.Transparency = .2
  3934. waterwaveb2.CanCollide = false
  3935. waterwaveb2.Anchored = true
  3936. waterwaveb2.Material = "Neon"
  3937. coroutine.wrap(function()
  3938. for i = 1, 25 do
  3939. sow = sow - 0.25
  3940. waterwaveb.Size = waterwaveb.Size + Vector3.new(.9,.9,.9)
  3941. waterwaveb2.Size = waterwaveb2.Size + Vector3.new(.9,.9,.9)
  3942. waterwaveb.Transparency = waterwaveb.Transparency + .05
  3943. waterwaveb2.Transparency = waterwaveb2.Transparency + .05
  3944. swait()
  3945. end
  3946. spinwater = false
  3947. pxcbrick:Remove()
  3948. waterlocbrick:Remove()
  3949. waterlocbrick2:Remove()
  3950. waterwaveb:Remove()
  3951. waterwaveb2:Remove()
  3952. spwt = false
  3953. attacking = false
  3954. debounce = false
  3955. end)()
  3956. else
  3957. ws = 0
  3958. spinwater = true
  3959. spwt = true
  3960. coroutine.wrap(function()
  3961. local shockwave = Instance.new("Part",Torso)
  3962. shockwave.Shape = "Ball"
  3963. shockwave.Size = Vector3.new(1,1,1)
  3964. shockwave.Transparency = 0
  3965. shockwave.Anchored = true
  3966. shockwave.CanCollide = false
  3967. shockwave.BrickColor = BrickColor.new("Cyan")
  3968. shockwave.CFrame = Torso.CFrame
  3969. shockwave.Material = "Neon"
  3970. coroutine.wrap(function()
  3971. coroutine.wrap(function()
  3972. for i = 1, 50 do
  3973. for i,v in pairs(Torso:GetDescendants()) do
  3974. if v.Name == "sklol2" then
  3975. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  3976. v.Parent.Transparency = v.Parent.Transparency + 0.05
  3977. end
  3978. end
  3979. swait()
  3980. end
  3981. end)()
  3982. for i = 1, 15 do
  3983. swait()
  3984. sk = Instance.new("Part",Torso)
  3985. sk.CanCollide = false
  3986. sk.Anchored = true
  3987. sk.Material = "Neon"
  3988. sk.BrickColor = BrickColor.new(colors2)
  3989. sk.Name = "sk2"
  3990. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  3991. skmesh = Instance.new("SpecialMesh",sk)
  3992. skmesh.MeshId = "rbxassetid://662586858"
  3993. skmesh.Name = "sklol2"
  3994. skmesh.Scale = Vector3.new(.09,.01,.09)
  3995. removeuseless:AddItem(sk,2)
  3996. end
  3997. end)()
  3998. for i = 1, 30 do
  3999. shockwave.Size = shockwave.Size + Vector3.new(4,4,4)
  4000. shockwave.Transparency = shockwave.Transparency + .045
  4001. swait()
  4002. end
  4003. end)()
  4004. SOUND(Torso,2136440257,8,false,8)
  4005. SOUND(Torso,169486406,10,false,4)
  4006. coroutine.wrap(function()
  4007. pxcbrick = Instance.new("Part",Root)
  4008. pxcbrick.Size = Vector3.new(1,1,1)
  4009. pxcbrick.CanCollide = false
  4010. pxcbrick.Transparency = 1
  4011. pxcbrickweld = weldBetween(pxcbrick,Torso)
  4012. waterlocbrick = Instance.new("Part",Torso)
  4013. waterlocbrick.Size = Vector3.new(1,1,1)
  4014. waterlocbrick.Anchored = false
  4015. waterlocbrick.Transparency = 1
  4016. waterlocbrick.CanCollide = false
  4017. wazx = weldBetween(waterlocbrick,pxcbrick)
  4018. wazx.C0 = CFrame.new(0,0,0)
  4019. waterlocbrick2 = Instance.new("Part",Torso)
  4020. waterlocbrick2.Size = Vector3.new(1,1,1)
  4021. waterlocbrick2.Anchored = false
  4022. waterlocbrick2.Transparency = 1
  4023. waterlocbrick2.CanCollide = false
  4024. wazx2 = weldBetween(waterlocbrick2,pxcbrick)
  4025. wazx2.C0 = CFrame.new(0,0,0)
  4026. coroutine.wrap(function()
  4027. sow = 5
  4028. while spinwater do
  4029. colors2 = colortable2[math.random(1,#colortable2)]
  4030. waterwave = Instance.new("Part",waterlocbrick)
  4031. waterwave.BrickColor = BrickColor.new(colors2)
  4032. waterwave.Size = Vector3.new(sow,sow,sow)
  4033. waterwave.CFrame = waterlocbrick.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4034. waterwave.CanCollide = false
  4035. waterwave.Material = "Neon"
  4036. waterwave.Transparency = .4
  4037. waterwave.Name = "waterwave"
  4038. removeuseless:AddItem(waterwave,1.3)
  4039. waterwave2 = Instance.new("Part",waterlocbrick2)
  4040. waterwave2.BrickColor = BrickColor.new(colors2)
  4041. waterwave2.Size = Vector3.new(sow,sow,sow)
  4042. waterwave2.Material = "Neon"
  4043. waterwave2.Transparency = .4
  4044. waterwave2.CFrame = waterlocbrick2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4045. waterwave2.CanCollide = false
  4046. waterwave2.Name = "waterwave2"
  4047. removeuseless:AddItem(waterwave2,1.3)
  4048. for i,v in pairs(waterlocbrick:GetDescendants()) do
  4049. if v.Name == "waterwave" then
  4050. v.Size = v.Size - Vector3.new(.3,.3,.3)
  4051. end
  4052. end
  4053. for i,v in pairs(waterlocbrick2:GetDescendants()) do
  4054. if v.Name == "waterwave2" then
  4055. v.Size = v.Size - Vector3.new(.3,.3,.3)
  4056. end
  4057. end
  4058. swait(.1)
  4059. end
  4060. end)()
  4061. for i = 1, 70 do
  4062. wazx.C0 = wazx.C0:lerp(CFrame.new(-15,0,0),.1)
  4063. wazx2.C0 = wazx2.C0:lerp(CFrame.new(15,0,0),.1)
  4064. swait()
  4065. end
  4066. mb = 25
  4067. for i = 1, 40 do
  4068. pxcbrickweld.C0 = pxcbrickweld.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(25),0),.05)
  4069. swait()
  4070. end
  4071. coroutine.wrap(function()
  4072. coroutine.wrap(function()
  4073. if firsttimewtr then return end
  4074. firsttimewtr = true
  4075. while true do
  4076. for i,v in pairs(Torso:GetDescendants()) do
  4077. if v.Name == "sklol4" then
  4078. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  4079. v.Parent.Transparency = v.Parent.Transparency + .05
  4080. end
  4081. end
  4082. for i,v in pairs(Torso:GetDescendants()) do
  4083. if v.Name == "sklol3" then
  4084. v.Scale = v.Scale + Vector3.new(.01,0,.01)
  4085. v.Parent.Transparency = v.Parent.Transparency + .05
  4086. end
  4087. end
  4088. swait()
  4089. end
  4090. end)()
  4091. while spinwater do
  4092. swait(15)
  4093. Hit = damagealll(14,waterlocbrick2.Position)
  4094. for _,v in pairs(Hit) do
  4095. coroutine.wrap(function()
  4096. for i = 1, 10 do
  4097. sk = Instance.new("Part",Torso)
  4098. sk.CanCollide = false
  4099. sk.Anchored = true
  4100. sk.BrickColor = BrickColor.new(colors2)
  4101. sk.Name = "sk"
  4102. sk.CFrame = waterlocbrick2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4103. skmesh = Instance.new("SpecialMesh",sk)
  4104. skmesh.MeshId = "rbxassetid://662586858"
  4105. skmesh.Name = "sklol3"
  4106. skmesh.Scale = Vector3.new(.04,.01,.04)
  4107. removeuseless:AddItem(sk,2)
  4108. end
  4109. end)()
  4110. if bluetotem then
  4111. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(35,50))
  4112. elseif avatarstate then
  4113. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  4114. else
  4115. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(25,35))
  4116. end
  4117. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4118. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4119. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4120. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*125
  4121. removeuseless:AddItem(vel,.1)
  4122. SOUND(waterlocbrick2,169486406,10,false,4)
  4123. end
  4124. Hit = damagealll(14,waterlocbrick.Position)
  4125. for _,v in pairs(Hit) do
  4126. coroutine.wrap(function()
  4127. for i = 1, 10 do
  4128. sk = Instance.new("Part",Torso)
  4129. sk.CanCollide = false
  4130. sk.Anchored = true
  4131. sk.BrickColor = BrickColor.new(colors2)
  4132. sk.Name = "sk"
  4133. sk.CFrame = waterlocbrick.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4134. skmesh = Instance.new("SpecialMesh",sk)
  4135. skmesh.MeshId = "rbxassetid://662586858"
  4136. skmesh.Name = "sklol4"
  4137. skmesh.Scale = Vector3.new(.04,.01,.04)
  4138. removeuseless:AddItem(sk,2)
  4139. end
  4140. end)()
  4141. if bluetotem then
  4142. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(35,50))
  4143. else
  4144. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(25,35))
  4145. end
  4146. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4147. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4148. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4149. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*125
  4150. removeuseless:AddItem(vel,.1)
  4151. SOUND(waterlocbrick,169486406,10,false,4)
  4152. end
  4153. swait()
  4154. end
  4155. end)()
  4156. while spinwater do
  4157. mb = mb - 3
  4158. pxcbrickweld.C0 = pxcbrickweld.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(mb),0),.1)
  4159. swait()
  4160. end
  4161. end)()
  4162. for i = 1, 110 do
  4163. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),0,0),.05)
  4164. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,.75,0) * CFrame.Angles(math.rad(10),math.rad(5),math.rad(-35)),.05)
  4165. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,.75,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.05)
  4166. swait()
  4167. end
  4168. ws = 90
  4169. attacking = false
  4170. debounce = false
  4171. end
  4172. elseif Press=='p' then
  4173. if debounce then return end
  4174. debounce = true
  4175. attacking = true
  4176. apocalypse = true
  4177. ws = 0
  4178. coroutine.wrap(function()
  4179. colors = colortable[math.random(1,#colortable)]
  4180. local shockwave = Instance.new("Part",Torso)
  4181. shockwave.Shape = "Ball"
  4182. shockwave.Size = Vector3.new(1,1,1)
  4183. shockwave.Transparency = 0
  4184. shockwave.Anchored = true
  4185. shockwave.CanCollide = false
  4186. shockwave.BrickColor = BrickColor.new(colors)
  4187. shockwave.CFrame = Torso.CFrame
  4188. shockwave.Material = "Neon"
  4189. for i = 1, 30 do
  4190. shockwave.Size = shockwave.Size + Vector3.new(4,4,4)
  4191. shockwave.Transparency = shockwave.Transparency + .045
  4192. swait()
  4193. end
  4194. end)()
  4195. explosionsound = Instance.new("Sound",Torso)
  4196. explosionsound.Volume = 10
  4197. explosionsound.Pitch = 1
  4198. explosionsound:Play()
  4199. explosionsound.SoundId = "rbxassetid://1327085116"
  4200. coroutine.wrap(function()
  4201. while apocalypse do
  4202. swait(10)
  4203. if avatarstate then
  4204. Hit = damagealll(60,Torso.Position)
  4205. else
  4206. Hit = damagealll(32,Torso.Position)
  4207. end
  4208. for _,v in pairs(Hit) do
  4209. if redtotem then
  4210. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(22,29))
  4211. elseif avatarstate then
  4212. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  4213. else
  4214. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(12,22))
  4215. end
  4216. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4217. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4218. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4219. vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*60
  4220. removeuseless:AddItem(vel,.1)
  4221. end
  4222. explosionsound:Play()
  4223. end
  4224. end)()
  4225. coroutine.wrap(function()
  4226. while apocalypse do
  4227. swait(.3)
  4228. wshockwave = Instance.new("Part", Torso)
  4229. wshockwave.Size = Vector3.new(1,1,1)
  4230. wshockwave.CanCollide = false
  4231. wshockwave.Anchored = true
  4232. wshockwave.Transparency = .45
  4233. wshockwave.BrickColor = BrickColor.new(colors)
  4234. wshockwave.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4235. wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  4236. wshockwavemesh.Scale = Vector3.new(1,.05,1)
  4237. wshockwavemesh.Name = "wswm"
  4238. wshockwavemesh.MeshId = "rbxassetid://20329976"
  4239. removeuseless:AddItem(wshockwave,2)
  4240. fairebalz = Instance.new("Part",Torso)
  4241. fairebalz.Size = Vector3.new(.1,.1,.1)
  4242. fairebalz.Transparency = 0
  4243. fairebalz.Name = "fairebalz"
  4244. fairebalz.BrickColor = BrickColor.new(colors)
  4245. fairebalz.Anchored = true
  4246. fairebalz.CanCollide = false
  4247. fairebalz.Material = "Neon"
  4248. fairebalz.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4249. removeuseless:AddItem(fairebalz,1)
  4250. sk = Instance.new("Part",Torso)
  4251. sk.CanCollide = false
  4252. sk.Anchored = true
  4253. sk.BrickColor = BrickColor.new(colors)
  4254. sk.Name = "sk"
  4255. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  4256. skmesh = Instance.new("SpecialMesh",sk)
  4257. skmesh.MeshId = "rbxassetid://662586858"
  4258. skmesh.Name = "sklol"
  4259. skmesh.Scale = Vector3.new(.09,.05,.09)
  4260. removeuseless:AddItem(sk,2)
  4261. if not avatarstate then
  4262. for i,v in pairs(Torso:GetDescendants()) do
  4263. if v.Name == "sklol" then
  4264. v.Parent.Transparency = v.Parent.Transparency + 0.06
  4265. v.Scale = v.Scale + Vector3.new(.03,.001,.03)
  4266. end
  4267. end
  4268. for i,v in pairs(Torso:GetDescendants()) do
  4269. if v.Name == "wswm" then
  4270. v.Parent.Transparency = v.Parent.Transparency + 0.05
  4271. v.Scale = v.Scale + Vector3.new(2,0,2)
  4272. end
  4273. end
  4274. for i,v in pairs(Torso:GetDescendants()) do
  4275. if v.Name == "fairebalz" then
  4276. v.Transparency = v.Transparency + 0.05
  4277. v.Size = v.Size + Vector3.new(.45,.45,.45)
  4278. end
  4279. end
  4280. else
  4281. for i,v in pairs(Torso:GetDescendants()) do
  4282. if v.Name == "sklol" then
  4283. v.Parent.Transparency = v.Parent.Transparency + 0.06
  4284. v.Scale = v.Scale + Vector3.new(.06,.002,.06)
  4285. end
  4286. end
  4287. for i,v in pairs(Torso:GetDescendants()) do
  4288. if v.Name == "wswm" then
  4289. v.Parent.Transparency = v.Parent.Transparency + 0.05
  4290. v.Scale = v.Scale + Vector3.new(4,0,4)
  4291. end
  4292. end
  4293. for i,v in pairs(Torso:GetDescendants()) do
  4294. if v.Name == "fairebalz" then
  4295. v.Transparency = v.Transparency + 0.05
  4296. v.Size = v.Size + Vector3.new(.9,.9,.9)
  4297. end
  4298. end
  4299. end
  4300. end
  4301. end)()
  4302. for i = 1, 135 do
  4303. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(29 - 12 * math.sin(sine/12)),0,0),.05)
  4304. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:Lerp(CFrame.new(-1.65,.75,0) * CFrame.Angles(math.rad(10),math.rad(5),math.rad(-35)),.05)
  4305. LEFTARMLERP.C0 = LEFTARMLERP.C0:Lerp(CFrame.new(1.65,.75,0)* CFrame.Angles(math.rad(10),math.rad(-5),math.rad(35)),.05)
  4306. swait()
  4307. end
  4308. wait(.1)
  4309. coroutine.wrap(function()
  4310. for i = 1, 30 do
  4311. for i,v in pairs(Torso:GetDescendants()) do
  4312. if v.Name == "sklol" then
  4313. v.Parent.Transparency = v.Parent.Transparency + 0.06
  4314. v.Scale = v.Scale + Vector3.new(.03,.001,.03)
  4315. end
  4316. end
  4317. for i,v in pairs(Torso:GetDescendants()) do
  4318. if v.Name == "fairebalz" then
  4319. v.Transparency = v.Transparency + 0.05
  4320. v.Size = v.Size + Vector3.new(.25,.25,.25)
  4321. end
  4322. end
  4323. for i,v in pairs(Torso:GetDescendants()) do
  4324. if v.Name == "wswm" then
  4325. v.Parent.Transparency = v.Parent.Transparency + 0.05
  4326. v.Scale = v.Scale + Vector3.new(2,0,2)
  4327. end
  4328. end
  4329. swait()
  4330. end
  4331. end)()
  4332. apocalypse = false
  4333. attacking = false
  4334. debounce = false
  4335. ws = 90
  4336. removeuseless:AddItem(explosionsound,5)
  4337. elseif Press=='u' then
  4338. if debounce then return end
  4339. debounce = true
  4340. attacking = true
  4341. ws = 16
  4342. g1 = Instance.new("BodyGyro", Root)
  4343. g1.D = 175
  4344. g1.P = 20000
  4345. g1.MaxTorque = Vector3.new(0,9000,0)
  4346. if avatarstate then
  4347. for i = 1, 5 do
  4348. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  4349. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.8)
  4350. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.8)
  4351. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.8)
  4352. swait()
  4353. end
  4354. else
  4355. for i = 1, 15 do
  4356. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  4357. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0),.4)
  4358. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  4359. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  4360. swait()
  4361. end
  4362. end
  4363. ws = 0
  4364. removeuseless:AddItem(g1,.001)
  4365. shieldlocbrick = Instance.new("Part",Torso)
  4366. shieldlocbrick.Size = Vector3.new(1,1,1)
  4367. shieldlocbrick.Anchored = true
  4368. shieldlocbrick.Transparency = 1
  4369. shieldlocbrick.CanCollide = false
  4370. shieldlocbrick.CFrame = Root.CFrame * CFrame.new(0,-6,-24)
  4371. Hit = damagealll(25,shieldlocbrick.Position)
  4372. for _,v in pairs(Hit) do
  4373. if browntotem then
  4374. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(12,24))
  4375. else
  4376. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(6,12))
  4377. end
  4378. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4379. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4380. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4381. vel.velocity = CFrame.new(shieldlocbrick.Position,torso.Position).lookVector*75
  4382. removeuseless:AddItem(vel,.1)
  4383. end
  4384. removeuseless:AddItem(shieldlocbrick,5)
  4385. SOUND(shieldlocbrick,1119859528,8,false,5)
  4386. coroutine.wrap(function()
  4387. local grshield = Instance.new("Part",Torso)
  4388. grshield.Material = "Grass"
  4389. grshield.Anchored = true
  4390. grshield.BrickColor = BrickColor.new("Bright green")
  4391. grshield.Size = Vector3.new(4,math.random(42,48),12)
  4392. grshield.CFrame = Root.CFrame * CFrame.new(0,-30,-18) * CFrame.Angles(math.rad(math.random(-8,-3)),math.rad(math.random(82,98)),math.rad(math.random(-20,-15)))
  4393. local grshield2 = Instance.new("Part",Torso)
  4394. grshield2.Material = "Grass"
  4395. grshield2.Anchored = true
  4396. grshield2.BrickColor = BrickColor.new("Bright green")
  4397. grshield2.Size = Vector3.new(4,math.random(42,48),12)
  4398. grshield2.CFrame = Root.CFrame * CFrame.new(8,-30,-18) * CFrame.Angles(math.rad(math.random(-8,-3)),math.rad(math.random(82,98)),math.rad(math.random(-20,-15)))
  4399. local grshield3 = Instance.new("Part",Torso)
  4400. grshield3.Material = "Grass"
  4401. grshield3.Anchored = true
  4402. grshield3.BrickColor = BrickColor.new("Bright green")
  4403. grshield3.Size = Vector3.new(4,math.random(42,48),12)
  4404. grshield3.CFrame = Root.CFrame * CFrame.new(-8,-30,-18) * CFrame.Angles(math.rad(math.random(-8,-3)),math.rad(math.random(82,98)),math.rad(math.random(-20,-15)))
  4405. local grshield4 = Instance.new("Part",Torso)
  4406. grshield4.Material = "Grass"
  4407. grshield4.Anchored = true
  4408. grshield4.BrickColor = BrickColor.new("Bright green")
  4409. grshield4.Size = Vector3.new(4,math.random(42,48),12)
  4410. grshield4.CFrame = Root.CFrame * CFrame.new(16,-30,-18) * CFrame.Angles(math.rad(math.random(-8,-3)),math.rad(math.random(82,98)),math.rad(math.random(-20,-15)))
  4411. local grshield5 = Instance.new("Part",Torso)
  4412. grshield5.Material = "Grass"
  4413. grshield5.Anchored = true
  4414. grshield5.BrickColor = BrickColor.new("Bright green")
  4415. grshield5.Size = Vector3.new(4,math.random(42,48),12)
  4416. grshield5.CFrame = Root.CFrame * CFrame.new(-16,-30,-18) * CFrame.Angles(math.rad(math.random(-8,-3)),math.rad(math.random(82,98)),math.rad(math.random(-20,-15)))
  4417. for i = 1, 15 do
  4418. grshield.CFrame = grshield.CFrame * CFrame.new(0,2,0)
  4419. grshield2.CFrame = grshield2.CFrame * CFrame.new(0,2,0)
  4420. grshield3.CFrame = grshield3.CFrame * CFrame.new(0,2,0)
  4421. grshield4.CFrame = grshield4.CFrame * CFrame.new(0,2,0)
  4422. grshield5.CFrame = grshield5.CFrame * CFrame.new(0,2,0)
  4423. swait()
  4424. end
  4425. for i = 1, 5 do
  4426. grshield.CFrame = grshield.CFrame * CFrame.new(0,.2,0)
  4427. grshield2.CFrame = grshield2.CFrame * CFrame.new(0,.2,0)
  4428. grshield3.CFrame = grshield3.CFrame * CFrame.new(0,.2,0)
  4429. grshield4.CFrame = grshield4.CFrame * CFrame.new(0,.2,0)
  4430. grshield5.CFrame = grshield5.CFrame * CFrame.new(0,.2,0)
  4431. swait()
  4432. end
  4433. for i = 1, 5 do
  4434. grshield.CFrame = grshield.CFrame * CFrame.new(0,-.2,0)
  4435. grshield2.CFrame = grshield2.CFrame * CFrame.new(0,-.2,0)
  4436. grshield3.CFrame = grshield3.CFrame * CFrame.new(0,-.2,0)
  4437. grshield4.CFrame = grshield4.CFrame * CFrame.new(0,-.2,0)
  4438. grshield5.CFrame = grshield5.CFrame * CFrame.new(0,-.2,0)
  4439. swait()
  4440. end
  4441. wait(30)
  4442. for i = 1, 6 do
  4443. grshield.CFrame = grshield.CFrame * CFrame.new(0,.4,0)
  4444. grshield2.CFrame = grshield2.CFrame * CFrame.new(0,.4,0)
  4445. grshield3.CFrame = grshield3.CFrame * CFrame.new(0,.4,0)
  4446. grshield4.CFrame = grshield4.CFrame * CFrame.new(0,.4,0)
  4447. grshield5.CFrame = grshield5.CFrame * CFrame.new(0,.4,0)
  4448. swait()
  4449. end
  4450. for i = 1, 30 do
  4451. grshield.Transparency = grshield.Transparency + .025
  4452. grshield2.Transparency = grshield2.Transparency + .025
  4453. grshield3.Transparency = grshield3.Transparency + .025
  4454. grshield4.Transparency = grshield4.Transparency + .025
  4455. grshield5.Transparency = grshield5.Transparency + .025
  4456. grshield.CFrame = grshield.CFrame * CFrame.new(0,-2,0)
  4457. grshield2.CFrame = grshield2.CFrame * CFrame.new(0,-2,0)
  4458. grshield3.CFrame = grshield3.CFrame * CFrame.new(0,-2,0)
  4459. grshield4.CFrame = grshield4.CFrame * CFrame.new(0,-2,0)
  4460. grshield5.CFrame = grshield5.CFrame * CFrame.new(0,-2,0)
  4461. swait()
  4462. end
  4463. grshield:Remove()
  4464. grshield2:Remove()
  4465. grshield3:Remove()
  4466. grshield4:Remove()
  4467. grshield5:Remove()
  4468. end)()
  4469. if avatarstate then
  4470. for i = 1, 5 do
  4471. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.8)
  4472. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.8)
  4473. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.8)
  4474. swait()
  4475. end
  4476. else
  4477. for i = 1, 15 do
  4478. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),0,0),.4)
  4479. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  4480. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  4481. swait()
  4482. end
  4483. end
  4484. debounce = false
  4485. attacking = false
  4486. ws = 90
  4487. elseif Press=='x' then
  4488. id = 2435339444
  4489. doomtheme.SoundId = "rbxassetid://"..id
  4490. doomtheme:Play()
  4491. elseif Press=='z' then
  4492. id = 2327920334
  4493. doomtheme.SoundId = "rbxassetid://"..id
  4494. doomtheme:Play()
  4495. elseif Press=='y' then
  4496. if debounce then return end
  4497. debounce = true
  4498. attacking = true
  4499. allowlev = false
  4500. zxm={}
  4501. ws = 0
  4502. waterball = Instance.new("Part",Torso)
  4503. waterball.Size = Vector3.new(25,25,25)
  4504. waterball.Transparency = .9
  4505. waterball.Shape = "Ball"
  4506. waterball.BrickColor = BrickColor.new("Cyan")
  4507. waterball.Anchored = true
  4508. waterball.Material = "Neon"
  4509. waterball.CanCollide = false
  4510. waterball.CFrame = Root.CFrame
  4511. waterp = true
  4512. coroutine.wrap(function()
  4513. while waterball.Transparency > 0 do
  4514. waterball.CFrame = Root.CFrame
  4515. waterblockk = Instance.new("Part",Torso)
  4516. waterblockk.Material = waterblocks.Material
  4517. waterblockk.BrickColor = waterblocks.BrickColor
  4518. waterblockk.CanCollide = false
  4519. waterblockk.Anchored = true
  4520. waterblockk.Size = Vector3.new(2,2,2)
  4521. waterblockk.Name = "nd"
  4522. waterblockk.Transparency = .25
  4523. table.insert(zxm,waterblockk)
  4524. waterblockk.CFrame = Root.CFrame * CFrame.new(math.random(-18,18),math.random(-18,18),math.random(-18,18)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  4525. removeuseless:AddItem(waterblockk,.75)
  4526. swait(5)
  4527. end
  4528. end)()
  4529. coroutine.wrap(function()
  4530. while waterball.Transparency > 0 do
  4531. waterball.Transparency = waterball.Transparency - 0.0050
  4532. for i,v in pairs(zxm) do
  4533. v.Transparency = v.Transparency + .05
  4534. v.CFrame = v.CFrame:lerp(CFrame.new(Root.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) ,.09)
  4535. end
  4536. swait()
  4537. end
  4538. waterp = false
  4539. for i = 1, 25 do
  4540. for i,v in pairs(zxm) do
  4541. v.Transparency = v.Transparency + .05
  4542. v.Size = v.Size + Vector3.new(.5,.5,.5)
  4543. end
  4544. swait()
  4545. end
  4546. end)()
  4547. for i = 1, 20 do
  4548. waterball.Size = waterball.Size - Vector3.new(.85,.85,.85)
  4549. waterball.CFrame = Root.CFrame
  4550. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.5)
  4551. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(80),math.rad(0)), 0.3)
  4552. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87),math.rad(-88),math.rad(0)), 0.3)
  4553. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .9) * CFrame.Angles(math.rad(20), math.rad(-1), math.rad(-3)), 0.25)
  4554. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(1), math.rad(3)), 0.25)
  4555. swait()
  4556. end
  4557. while wait() do
  4558. if not waterp then break end
  4559. end
  4560. wshockwave = Instance.new("Part", Torso)
  4561. wshockwave.Size = Vector3.new(1,1,1)
  4562. wshockwave.CanCollide = false
  4563. wshockwave.Anchored = true
  4564. wshockwave.Transparency = 1
  4565. wshockwave.BrickColor = BrickColor.new("Cyan")
  4566. wshockwave.CFrame = CFrame.new(waterball.Position) * CFrame.new(0,-9,0)
  4567. wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  4568. wshockwavemesh.Scale = Vector3.new(1,3,1)
  4569. wshockwavemesh.MeshId = "rbxassetid://20329976"
  4570. wshockwave2 = Instance.new("Part", Torso)
  4571. wshockwave2.Size = Vector3.new(1,1,1)
  4572. wshockwave2.CanCollide = false
  4573. wshockwave2.Anchored = true
  4574. wshockwave2.Transparency = 1
  4575. wshockwave2.BrickColor = BrickColor.new("Cyan")
  4576. wshockwave2.CFrame = CFrame.new(waterball.Position) * CFrame.new(0,-9,0)
  4577. wshockwavemesh2 = Instance.new("SpecialMesh", wshockwave2)
  4578. wshockwavemesh2.Scale = Vector3.new(2,3,2)
  4579. wshockwavemesh2.MeshId = "rbxassetid://20329976"
  4580. waterball2 = waterball:Clone()
  4581. waterball2.Parent = Torso
  4582. waterball2.Transparency = .25
  4583. waterball3 = waterball:Clone()
  4584. waterball3.Parent = Torso
  4585. waterball3.Transparency = .5
  4586. waterball4 = waterball:Clone()
  4587. waterball4.Parent = Torso
  4588. waterball4.Transparency = .75
  4589. fkd = Instance.new("Sound",Torso)
  4590. fkd.SoundId = "rbxassetid://2136442504"
  4591. fkd.Volume = 8
  4592. fkd:Play()
  4593. dbw = 25
  4594. for i = 1, 6 do
  4595. wshockwave.CFrame = CFrame.new(waterball.Position) * CFrame.new(0,-9,0)
  4596. wshockwave2.CFrame = CFrame.new(waterball.Position) * CFrame.new(0,-9,0)
  4597. wshockwave.Transparency = 1
  4598. wshockwave2.Transparency = 1
  4599. wshockwavemesh2.Scale = Vector3.new(4,3,4)
  4600. wshockwavemesh.Scale = Vector3.new(2,3,2)
  4601. dbw = dbw + 25
  4602. swait()
  4603. if avatarstate then
  4604. Hit = damagealll(120,waterball.Position)
  4605. else
  4606. Hit = damagealll(65,waterball.Position)
  4607. end
  4608. for _,v in pairs(Hit) do
  4609. if bluetotem then
  4610. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(55,72))
  4611. elseif avatarstate then
  4612. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  4613. else
  4614. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(34,62))
  4615. end
  4616. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4617. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4618. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4619. vel.velocity = CFrame.new(waterball.Position,torso.Position).lookVector*dbw
  4620. removeuseless:AddItem(vel,.1)
  4621. end
  4622. if avatarstate then
  4623. for i = 1, 35 do
  4624. waterball.CFrame = Root.CFrame
  4625. waterball2.CFrame = Root.CFrame
  4626. waterball3.CFrame = Root.CFrame
  4627. waterball4.CFrame = Root.CFrame
  4628. wshockwave.Transparency = wshockwave.Transparency - .015
  4629. wshockwave2.Transparency = wshockwave2.Transparency - .015
  4630. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0)
  4631. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-15),0)
  4632. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(7,.89,7)
  4633. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(8,2,8)
  4634. waterball2.Size = waterball2.Size + Vector3.new(2,2,2)
  4635. waterball3.Size = waterball3.Size + Vector3.new(4,4,4)
  4636. waterball4.Size = waterball4.Size + Vector3.new(6,6,6)
  4637. swait()
  4638. end
  4639. for i = 1, 25 do
  4640. waterball.CFrame = Root.CFrame
  4641. waterball2.CFrame = Root.CFrame
  4642. waterball3.CFrame = Root.CFrame
  4643. waterball4.CFrame = Root.CFrame
  4644. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  4645. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0)
  4646. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3.5,.87,3.5)
  4647. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(4,1,4)
  4648. waterball2.Size = waterball2.Size + Vector3.new(1,1,1)
  4649. waterball3.Size = waterball3.Size + Vector3.new(2,2,2)
  4650. waterball4.Size = waterball4.Size + Vector3.new(3,3,3)
  4651. swait()
  4652. end
  4653. for i = 1, 40 do
  4654. waterball.CFrame = Root.CFrame
  4655. waterball2.CFrame = Root.CFrame
  4656. waterball3.CFrame = Root.CFrame
  4657. waterball4.CFrame = Root.CFrame
  4658. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  4659. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-20),0)
  4660. wshockwave.Transparency = wshockwave.Transparency +.03
  4661. wshockwave2.Transparency = wshockwave2.Transparency + .03
  4662. wshockwavemesh.Scale = wshockwavemesh.Scale - Vector3.new(14,4,14)
  4663. wshockwavemesh2.Scale = wshockwavemesh2.Scale - Vector3.new(16,6,16)
  4664. waterball2.Size = waterball2.Size - Vector3.new(4,4,4)
  4665. waterball3.Size = waterball3.Size - Vector3.new(8,8,8)
  4666. waterball4.Size = waterball4.Size - Vector3.new(12,12,12)
  4667. swait()
  4668. end
  4669. else
  4670. for i = 1, 35 do
  4671. waterball.CFrame = Root.CFrame
  4672. waterball2.CFrame = Root.CFrame
  4673. waterball3.CFrame = Root.CFrame
  4674. waterball4.CFrame = Root.CFrame
  4675. wshockwave.Transparency = wshockwave.Transparency - .015
  4676. wshockwave2.Transparency = wshockwave2.Transparency - .015
  4677. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0)
  4678. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-15),0)
  4679. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(3.5,.4375,3.5)
  4680. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(4,1,4)
  4681. waterball2.Size = waterball2.Size + Vector3.new(1,1,1)
  4682. waterball3.Size = waterball3.Size + Vector3.new(2,2,2)
  4683. waterball4.Size = waterball4.Size + Vector3.new(3,3,3)
  4684. swait()
  4685. end
  4686. for i = 1, 25 do
  4687. waterball.CFrame = Root.CFrame
  4688. waterball2.CFrame = Root.CFrame
  4689. waterball3.CFrame = Root.CFrame
  4690. waterball4.CFrame = Root.CFrame
  4691. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
  4692. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0)
  4693. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(1.75,.4375,1.75)
  4694. wshockwavemesh2.Scale = wshockwavemesh2.Scale + Vector3.new(2,.5,2)
  4695. waterball2.Size = waterball2.Size + Vector3.new(.5,.5,.5)
  4696. waterball3.Size = waterball3.Size + Vector3.new(1,1,1)
  4697. waterball4.Size = waterball4.Size + Vector3.new(1.5,1.5,1.5)
  4698. swait()
  4699. end
  4700. for i = 1, 40 do
  4701. waterball.CFrame = Root.CFrame
  4702. waterball2.CFrame = Root.CFrame
  4703. waterball3.CFrame = Root.CFrame
  4704. waterball4.CFrame = Root.CFrame
  4705. wshockwave.CFrame = wshockwave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
  4706. wshockwave2.CFrame = wshockwave2.CFrame * CFrame.Angles(0,math.rad(0-20),0)
  4707. wshockwave.Transparency = wshockwave.Transparency +.03
  4708. wshockwave2.Transparency = wshockwave2.Transparency + .03
  4709. wshockwavemesh.Scale = wshockwavemesh.Scale - Vector3.new(7,2,7)
  4710. wshockwavemesh2.Scale = wshockwavemesh2.Scale - Vector3.new(8,3,8)
  4711. waterball2.Size = waterball2.Size - Vector3.new(2,2,2)
  4712. waterball3.Size = waterball3.Size - Vector3.new(4,4,4)
  4713. waterball4.Size = waterball4.Size - Vector3.new(6,6,6)
  4714. swait()
  4715. end
  4716. end
  4717. end
  4718. for i = 1, 50 do
  4719. waterball.CFrame = Root.CFrame
  4720. waterball2.CFrame = Root.CFrame
  4721. waterball3.CFrame = Root.CFrame
  4722. waterball4.CFrame = Root.CFrame
  4723. waterball.Transparency = waterball.Transparency + .025
  4724. waterball2.Transparency = waterball2.Transparency + .025
  4725. waterball3.Transparency = waterball3.Transparency + .035
  4726. waterball4.Transparency = waterball4.Transparency + .045
  4727. waterball.Size = waterball.Size + Vector3.new(.5,.5,.5)
  4728. waterball2.Size = waterball2.Size + Vector3.new(1,1,1)
  4729. waterball3.Size = waterball3.Size + Vector3.new(2,2,2)
  4730. waterball4.Size = waterball4.Size + Vector3.new(3,3,3)
  4731. swait()
  4732. end
  4733. wshockwave:Remove()
  4734. wshockwave2:Remove()
  4735. waterball:Remove()
  4736. waterball2:Remove()
  4737. waterball3:Remove()
  4738. waterball4:Remove()
  4739. attacking = false
  4740. debounce = false
  4741. waterp = false
  4742. allowlev = true
  4743. fkd:Remove()
  4744. ws = 90
  4745. elseif Press=='t' then
  4746. if tauntdebounce then return end
  4747. if debounce then return end
  4748. debounce = true
  4749. tauntdebounce = true
  4750. attacking = true
  4751. debounce = true
  4752. ws = 6
  4753. coroutine.wrap(function()
  4754. for i = 1, 125 do
  4755. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(22 - 12 * math.sin(sine/12)),0,0),.4)
  4756. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.4)
  4757. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.4)
  4758. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.4)
  4759. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.4)
  4760. swait()
  4761. end
  4762. attacking = false
  4763. debounce = false
  4764. ws = 90
  4765. end)()
  4766. got2 = gottalktable2[math.random(1,#gottalktable2)]
  4767. tauntsound = Instance.new("Sound", Head)
  4768. tauntsound.Volume = 10
  4769. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..got2
  4770. tauntsound.Looped = false
  4771. tauntsound:Play()
  4772. local b1 = Instance.new("BillboardGui",Head)
  4773. b1.Size = UDim2.new(0,4,0,1.6)
  4774. b1.StudsOffset = Vector3.new(0,0,0)
  4775. b1.Name = "ttau"
  4776. b1.AlwaysOnTop = true
  4777. b1.StudsOffset = Vector3.new(0,4,0)
  4778. b1.Adornee = Head
  4779. removeuseless:AddItem(b1,8)
  4780. local b2 = Instance.new("TextLabel",b1)
  4781. b2.BackgroundTransparency = 1
  4782. if tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492600258" then
  4783. b2.Text = "On your knees."
  4784. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492598999" then
  4785. b2.Text = "I've survived many battles."
  4786. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599159" then
  4787. b2.Text = "You do not impress."
  4788. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599303" then
  4789. b2.Text = "You would test a god?"
  4790. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599503" then
  4791. b2.Text = "You will respect my title!"
  4792. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599663" then
  4793. b2.Text = "I shall honor you with combat!"
  4794. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599795" then
  4795. b2.Text = "A lamb to the slaughter."
  4796. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492599925" then
  4797. b2.Text = "You're most worthy, to die by my hand."
  4798. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492600097" then
  4799. b2.Text = "Your soul burns!"
  4800. elseif tauntsound.SoundId == "http://www.roblox.com/asset/?id=2492600455" then
  4801. b2.Text = "Pathetic."
  4802. end
  4803. b2.Font = "Garamond"
  4804. b2.TextSize = 50
  4805. b2.Name = "lafftext"
  4806. b2.TextStrokeTransparency = 1
  4807. b2.Transparency = 1
  4808. b2.TextColor3 = BrickColor.new("Cyan").Color
  4809. b2.TextStrokeColor3 = Color3.new(0,0,0)
  4810. b2.Size = UDim2.new(1,0,.5,0)
  4811. coroutine.wrap(function()
  4812. for i = 1, 20 do
  4813. b2.Transparency = b2.Transparency - .05
  4814. b2.TextStrokeTransparency = b2.TextStrokeTransparency - .05
  4815. swait()
  4816. end
  4817. end)()
  4818. wait(tauntsound.TimeLength)
  4819. wait(3)
  4820. coroutine.wrap(function()
  4821. for i = 1, 20 do
  4822. b2.Transparency = b2.Transparency + .05
  4823. b2.TextStrokeTransparency = b2.TextStrokeTransparency + .05
  4824. swait()
  4825. end
  4826. end)()
  4827. tauntsound:Remove()
  4828. wait(1)
  4829. tauntdebounce = false
  4830. elseif Press=='r' then
  4831. if debounce then return end
  4832. if fireball1 then
  4833. SOUND(rightlocation,842332424,7,false,4)
  4834. fireball1 = false
  4835. fireball2 = true
  4836. attacking = true
  4837. debounce = true
  4838. appi = true
  4839. coroutine.wrap(function()
  4840. while appi do
  4841. swait()
  4842. if Root.Velocity.Magnitude > 2 and attacking == true then
  4843. position = "Idle3"
  4844. end
  4845. end
  4846. end)()
  4847. coroutine.wrap(function()
  4848. while appi do
  4849. swait()
  4850. settime = 0.05
  4851. sine = sine + change
  4852. if position == "Idle3" and attacking == true and appi == true then
  4853. change = .5
  4854. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.5)
  4855. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.5)
  4856. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.5)
  4857. end
  4858. end
  4859. end)()
  4860. ws = 65
  4861. g1 = Instance.new("BodyGyro", Root)
  4862. g1.D = 175
  4863. g1.P = 20000
  4864. g1.MaxTorque = Vector3.new(0,9000,0)
  4865. if avatarstate then
  4866. for i = 1, 5 do
  4867. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  4868. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.7)
  4869. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  4870. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(20), math.rad(-90)), 0.6)
  4871. swait()
  4872. end
  4873. else
  4874. for i = 1, 15 do
  4875. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  4876. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  4877. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  4878. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(20), math.rad(-90)), 0.3)
  4879. swait()
  4880. end
  4881. end
  4882. swoosh = Instance.new("Part",Head)
  4883. swoosh.Size = Vector3.new(1,1,1)
  4884. swoosh.CanCollide = false
  4885. swoosh.Anchored = false
  4886. swoosh.Name = "swoosh"
  4887. swoosh.Transparency = 1
  4888. swoosh.CFrame = rightlocation.CFrame
  4889. coroutine.wrap(function()
  4890. if bbv then return end
  4891. bbv = true
  4892. while wait(.08) do
  4893. for i,v in pairs(Head:GetDescendants()) do
  4894. if v.Name == "swoosh" then
  4895. Hit = damagealll(13,v.Position)
  4896. for _,v in pairs(Hit) do
  4897. if redtotem then
  4898. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(24,33))
  4899. elseif avatarstate then
  4900. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  4901. else
  4902. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(14,28))
  4903. end
  4904. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  4905. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  4906. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4907. vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*100
  4908. removeuseless:AddItem(vel,.1)
  4909. end
  4910. end
  4911. end
  4912. end
  4913. end)()
  4914. coroutine.wrap(function()
  4915. if firsttime then return end
  4916. firsttime = true
  4917. while wait() do
  4918. for i,v in pairs(RightArm:GetChildren()) do
  4919. if v.Name == "magiccc" then
  4920. v.Transparency = v.Transparency + .05
  4921. end
  4922. end
  4923. for i,v in pairs(Head:GetChildren()) do
  4924. if v.Name == "swoosh" then
  4925. magiccc = Instance.new("Part",RightArm)
  4926. magiccc.Material = "Neon"
  4927. magiccc.CanCollide = false
  4928. magiccc.Anchored = true
  4929. magiccc.Name = "magiccc"
  4930. magiccc.BrickColor = BrickColor.new(colors)
  4931. magiccc.Size = Vector3.new(5,5,5)
  4932. magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  4933. removeuseless:AddItem(magiccc,2)
  4934. end
  4935. end
  4936. end
  4937. end)()
  4938. bov = Instance.new("BodyVelocity",swoosh)
  4939. bov.maxForce = Vector3.new(99999,99999,99999)
  4940. swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p)
  4941. bov.velocity = swoosh.CFrame.lookVector*215
  4942. removeuseless:AddItem(swoosh,5)
  4943. if avatarstate then
  4944. for i = 1, 6 do
  4945. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.8)
  4946. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  4947. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.8)
  4948. swait()
  4949. end
  4950. else
  4951. for i = 1, 12 do
  4952. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  4953. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  4954. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  4955. swait()
  4956. end
  4957. end
  4958. ws = 90
  4959. appi = false
  4960. attacking = false
  4961. debounce = false
  4962. removeuseless:AddItem(g1,.01)
  4963. elseif fireball2 then
  4964. SOUND(leftlocation,842332424,7,false,4)
  4965. fireball1 = true
  4966. fireball2 = false
  4967. attacking = true
  4968. debounce = true
  4969. appi = true
  4970. coroutine.wrap(function()
  4971. while appi do
  4972. swait()
  4973. if Root.Velocity.Magnitude > 2 and attacking == true then
  4974. position = "Idle3"
  4975. end
  4976. end
  4977. end)()
  4978. coroutine.wrap(function()
  4979. while appi do
  4980. swait()
  4981. settime = 0.05
  4982. sine = sine + change
  4983. if position == "Idle3" and attacking == true and appi == true then
  4984. change = .5
  4985. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .5)
  4986. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.5)
  4987. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.5)
  4988. end
  4989. end
  4990. end)()
  4991. ws = 65
  4992. g1 = Instance.new("BodyGyro", Root)
  4993. g1.D = 175
  4994. g1.P = 20000
  4995. g1.MaxTorque = Vector3.new(0,9000,0)
  4996. if avatarstate then
  4997. for i = 1, 5 do
  4998. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  4999. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.7)
  5000. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  5001. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.6)
  5002. swait()
  5003. end
  5004. else
  5005. for i = 1, 15 do
  5006. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  5007. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  5008. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  5009. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.3)
  5010. swait()
  5011. end
  5012. end
  5013. swoosh = Instance.new("Part",Head)
  5014. swoosh.Size = Vector3.new(1,1,1)
  5015. swoosh.CanCollide = false
  5016. swoosh.Anchored = false
  5017. swoosh.Name = "swoosh"
  5018. swoosh.Transparency = 1
  5019. swoosh.CFrame = leftlocation.CFrame
  5020. coroutine.wrap(function()
  5021. if firsttime then return end
  5022. firsttime = true
  5023. while wait() do
  5024. for i,v in pairs(RightArm:GetChildren()) do
  5025. if v.Name == "magiccc" then
  5026. v.Transparency = v.Transparency + .05
  5027. end
  5028. end
  5029. for i,v in pairs(Head:GetChildren()) do
  5030. if v.Name == "swoosh" then
  5031. magiccc = Instance.new("Part",RightArm)
  5032. magiccc.Material = "Neon"
  5033. magiccc.CanCollide = false
  5034. magiccc.Anchored = true
  5035. magiccc.Name = "magiccc"
  5036. magiccc.BrickColor = BrickColor.new(colors)
  5037. magiccc.Size = Vector3.new(5,5,5)
  5038. magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  5039. removeuseless:AddItem(magiccc,2)
  5040. end
  5041. end
  5042. end
  5043. end)()
  5044. bov = Instance.new("BodyVelocity",swoosh)
  5045. bov.maxForce = Vector3.new(99999,99999,99999)
  5046. swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p)
  5047. bov.velocity = swoosh.CFrame.lookVector*215
  5048. removeuseless:AddItem(swoosh,5)
  5049. if avatarstate then
  5050. for i = 1, 6 do
  5051. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.8)
  5052. LEFTARMLERP.C1 = CFrame.new(0,0,0)
  5053. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.8)
  5054. swait()
  5055. end
  5056. else
  5057. for i = 1, 12 do
  5058. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  5059. LEFTARMLERP.C1 = CFrame.new(0,0,0)
  5060. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
  5061. swait()
  5062. end
  5063. end
  5064. ws = 90
  5065. attacking = false
  5066. debounce = false
  5067. appi = false
  5068. removeuseless:AddItem(g1,.01)
  5069. end
  5070. elseif Press=='e' then
  5071. if throw1 then
  5072. if debounce then return end
  5073. throw1 = false
  5074. throw2 = true
  5075. debounce = true
  5076. attacking = true
  5077. appi = true
  5078. ws = 12
  5079. g1 = Instance.new("BodyGyro", Root)
  5080. g1.D = 175
  5081. g1.P = 20000
  5082. g1.MaxTorque = Vector3.new(0,9000,0)
  5083. coroutine.wrap(function()
  5084. while appi do
  5085. swait()
  5086. if Root.Velocity.Magnitude > 2 and attacking == true then
  5087. position = "Idle3"
  5088. end
  5089. end
  5090. end)()
  5091. coroutine.wrap(function()
  5092. while appi do
  5093. swait()
  5094. settime = 0.05
  5095. sine = sine + change
  5096. if position == "Idle3" and attacking == true and appi == true then
  5097. change = .5
  5098. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .5)
  5099. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.5)
  5100. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.5)
  5101. end
  5102. end
  5103. end)()
  5104. if avatarstate then
  5105. for i = 1, 5 do
  5106. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  5107. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(0)),.8)
  5108. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.8)
  5109. swait()
  5110. end
  5111. else
  5112. for i = 1, 15 do
  5113. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  5114. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(0)),.4)
  5115. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(30),0),.4)
  5116. swait()
  5117. end
  5118. end
  5119. if mouse.Target ~= nil then
  5120. biggrassblock = Instance.new("Part",Torso)
  5121. biggrassblock.Size = Vector3.new(math.random(15,18),50,math.random(15,18))
  5122. biggrassblock.Anchored = true
  5123. biggrassblock.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-10,0) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  5124. biggrassblock.CanCollide = true
  5125. biggrassblock.Material = "Slate"
  5126. biggrassblock.BrickColor = BrickColor.new("Earth green")
  5127. removeuseless:AddItem(biggrassblock,10)
  5128. coroutine.wrap(function()
  5129. local locbrick = Instance.new("Part",biggrassblock)
  5130. locbrick.Size = Vector3.new(1,1,1)
  5131. locbrick.Transparency = 1
  5132. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  5133. locbrick.CanCollide = false
  5134. locbrick.Anchored = true
  5135. local locbrick2 = Instance.new("Part",biggrassblock)
  5136. locbrick2.Size = Vector3.new(1,1,1)
  5137. locbrick2.Transparency = 1
  5138. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  5139. locbrick2.CanCollide = false
  5140. locbrick2weld = weldBetween(locbrick2,locbrick)
  5141. local shockwave = Instance.new("Part", Torso)
  5142. shockwave.Size = Vector3.new(1,1,1)
  5143. shockwave.CanCollide = false
  5144. shockwave.Anchored = true
  5145. shockwave.Transparency = .5
  5146. shockwave.BrickColor = BrickColor.new("White")
  5147. shockwave.CFrame = CFrame.new(locbrick.Position)
  5148. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  5149. shockwavemesh.Scale = Vector3.new(7,3,7)
  5150. shockwavemesh.MeshId = "rbxassetid://20329976"
  5151. local shockwave2 = Instance.new("Part", Torso)
  5152. shockwave2.Size = Vector3.new(1,1,1)
  5153. shockwave2.CanCollide = false
  5154. shockwave2.Anchored = true
  5155. shockwave2.Transparency = .5
  5156. shockwave2.BrickColor = BrickColor.new("White")
  5157. shockwave2.CFrame = CFrame.new(locbrick.Position)
  5158. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  5159. shockwavemesh2.Scale = Vector3.new(5,3,5)
  5160. shockwavemesh2.MeshId = "rbxassetid://20329976"
  5161. zxp = 0
  5162. for i = 1, 75 do
  5163. zxp = zxp + 5
  5164. crater = Instance.new("Part",Torso)
  5165. crater.BrickColor = biggrassblock.BrickColor
  5166. crater.Size = Vector3.new(5,5,5)
  5167. crater.Transparency = 1
  5168. craterweld = weldBetween(crater,locbrick2)
  5169. craterweld.C0 = craterweld.C0 * CFrame.new(15,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp),math.rad(0))
  5170. removeuseless:AddItem(crater,1)
  5171. crater2 = Instance.new("Part",Torso)
  5172. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  5173. crater2.Size = Vector3.new(13,13,13)
  5174. crater2.Anchored = true
  5175. crater2.Material = "Grass"
  5176. crater2.BrickColor = BrickColor.new("Bright green")
  5177. removeuseless:AddItem(crater2,15)
  5178. end
  5179. for i = 1, 30 do
  5180. swait()
  5181. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  5182. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  5183. shockwave.Transparency = shockwave.Transparency + 0.025
  5184. shockwave2.Transparency = shockwave2.Transparency + 0.025
  5185. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(6,1,6)
  5186. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(6,1,6)
  5187. end
  5188. end)()
  5189. coroutine.wrap(function()
  5190. for i = 1, 10 do
  5191. swait()
  5192. biggrassblock.CFrame = biggrassblock.CFrame * CFrame.new(0,2.7,0)
  5193. end
  5194. end)()
  5195. groundrum = Instance.new("Sound",biggrassblock)
  5196. groundrum.SoundId = "rbxassetid://1265219916"
  5197. groundrum.Volume = 10
  5198. groundrum.Pitch = 1.5
  5199. groundrum:Play()
  5200. Hit = damagealll(30,biggrassblock.Position)
  5201. for _,v in pairs(Hit) do
  5202. if browntotem then
  5203. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(36,64))
  5204. elseif avatarstate then
  5205. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  5206. else
  5207. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(32,48))
  5208. end
  5209. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  5210. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  5211. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  5212. vel.velocity = CFrame.new(biggrassblock.Position,torso.Position).lookVector*180
  5213. removeuseless:AddItem(vel,.1)
  5214. end
  5215. end
  5216. if avatarstate then
  5217. for i = 1, 7 do
  5218. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  5219. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),math.rad(20),math.rad(0)),.8)
  5220. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.8)
  5221. swait()
  5222. end
  5223. else
  5224. for i = 1, 15 do
  5225. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  5226. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),math.rad(20),math.rad(0)),.4)
  5227. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(12),math.rad(-1)),.4)
  5228. swait()
  5229. end
  5230. end
  5231. ws = 90
  5232. attacking = false
  5233. debounce = false
  5234. appi = false
  5235. removeuseless:AddItem(g1,.001)
  5236. elseif throw2 then
  5237. if debounce then return end
  5238. throw1 = true
  5239. throw2 = false
  5240. debounce = true
  5241. attacking = true
  5242. appi = true
  5243. ws = 12
  5244. g1 = Instance.new("BodyGyro", Root)
  5245. g1.D = 175
  5246. g1.P = 20000
  5247. g1.MaxTorque = Vector3.new(0,9000,0)
  5248. coroutine.wrap(function()
  5249. while appi do
  5250. swait()
  5251. if Root.Velocity.Magnitude > 2 and attacking == true then
  5252. position = "Idle3"
  5253. end
  5254. end
  5255. end)()
  5256. coroutine.wrap(function()
  5257. while appi do
  5258. swait()
  5259. settime = 0.05
  5260. sine = sine + change
  5261. if position == "Idle3" and attacking == true and appi == true then
  5262. change = .5
  5263. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.5)
  5264. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.5)
  5265. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.5)
  5266. end
  5267. end
  5268. end)()
  5269. if avatarstate then
  5270. for i = 1, 5 do
  5271. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  5272. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(20),math.rad(0)),.8)
  5273. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.8)
  5274. swait()
  5275. end
  5276. else
  5277. for i = 1, 15 do
  5278. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  5279. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(20),math.rad(0)),.4)
  5280. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,0,.2) * CFrame.Angles(math.rad(30),math.rad(-30),0),.4)
  5281. swait()
  5282. end
  5283. end
  5284. if mouse.Target ~= nil then
  5285. biggrassblock = Instance.new("Part",Torso)
  5286. biggrassblock.Size = Vector3.new(math.random(15,18),50,math.random(15,18))
  5287. biggrassblock.Anchored = true
  5288. biggrassblock.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,-10,0) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  5289. biggrassblock.CanCollide = true
  5290. biggrassblock.Material = "Slate"
  5291. biggrassblock.BrickColor = BrickColor.new("Earth green")
  5292. removeuseless:AddItem(biggrassblock,10)
  5293. locbrick = Instance.new("Part",biggrassblock)
  5294. locbrick.Size = Vector3.new(1,1,1)
  5295. locbrick.Transparency = 1
  5296. locbrick.CFrame = CFrame.new(mouse.Hit.p)
  5297. locbrick.CanCollide = false
  5298. locbrick.Anchored = true
  5299. shockwave = Instance.new("Part", Torso)
  5300. shockwave.Size = Vector3.new(1,1,1)
  5301. shockwave.CanCollide = false
  5302. shockwave.Anchored = true
  5303. shockwave.Transparency = .5
  5304. shockwave.BrickColor = BrickColor.new("White")
  5305. shockwave.CFrame = CFrame.new(locbrick.Position)
  5306. shockwavemesh = Instance.new("SpecialMesh", shockwave)
  5307. shockwavemesh.Scale = Vector3.new(7,3,7)
  5308. shockwavemesh.MeshId = "rbxassetid://20329976"
  5309. shockwave2 = Instance.new("Part", Torso)
  5310. shockwave2.Size = Vector3.new(1,1,1)
  5311. shockwave2.CanCollide = false
  5312. shockwave2.Anchored = true
  5313. shockwave2.Transparency = .5
  5314. shockwave2.BrickColor = BrickColor.new("White")
  5315. shockwave2.CFrame = CFrame.new(locbrick.Position)
  5316. shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  5317. shockwavemesh2.Scale = Vector3.new(5,3,5)
  5318. shockwavemesh2.MeshId = "rbxassetid://20329976"
  5319. locbrick2 = Instance.new("Part",biggrassblock)
  5320. locbrick2.Size = Vector3.new(1,1,1)
  5321. locbrick2.Transparency = 1
  5322. locbrick2.CFrame = CFrame.new(mouse.Hit.p)
  5323. locbrick2.CanCollide = false
  5324. locbrick2weld = weldBetween(locbrick2,locbrick)
  5325. zxp = 0
  5326. for i = 1, 75 do
  5327. zxp = zxp + 5
  5328. crater = Instance.new("Part",Torso)
  5329. crater.BrickColor = biggrassblock.BrickColor
  5330. crater.Size = Vector3.new(5,5,5)
  5331. crater.Transparency = 1
  5332. craterweld = weldBetween(crater,locbrick2)
  5333. craterweld.C0 = craterweld.C0 * CFrame.new(15,0,0) * CFrame.Angles(math.rad(0),math.rad(zxp),math.rad(0))
  5334. removeuseless:AddItem(crater,1)
  5335. crater2 = Instance.new("Part",Torso)
  5336. crater2.CFrame = crater.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  5337. crater2.Size = Vector3.new(13,13,13)
  5338. crater2.Anchored = true
  5339. crater2.Material = "Grass"
  5340. crater2.BrickColor = BrickColor.new("Bright green")
  5341. removeuseless:AddItem(crater2,15)
  5342. end
  5343. coroutine.wrap(function()
  5344. for i = 1, 30 do
  5345. swait()
  5346. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  5347. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  5348. shockwave.Transparency = shockwave.Transparency + 0.025
  5349. shockwave2.Transparency = shockwave2.Transparency + 0.025
  5350. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(6,1,6)
  5351. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(6,1,6)
  5352. end
  5353. end)()
  5354. coroutine.wrap(function()
  5355. for i = 1, 10 do
  5356. swait()
  5357. biggrassblock.CFrame = biggrassblock.CFrame * CFrame.new(0,2.7,0)
  5358. end
  5359. end)()
  5360. groundrum = Instance.new("Sound",biggrassblock)
  5361. groundrum.SoundId = "rbxassetid://1265219916"
  5362. groundrum.Volume = 10
  5363. groundrum.Pitch = 1.5
  5364. groundrum:Play()
  5365. Hit = damagealll(30,biggrassblock.Position)
  5366. for _,v in pairs(Hit) do
  5367. if browntotem then
  5368. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(54,64))
  5369. elseif avatarstate then
  5370. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  5371. else
  5372. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(46,62))
  5373. end
  5374. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  5375. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  5376. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  5377. vel.velocity = CFrame.new(biggrassblock.Position,torso.Position).lookVector*150
  5378. removeuseless:AddItem(vel,.1)
  5379. end
  5380. end
  5381. if avatarstate then
  5382. for i = 1, 7 do
  5383. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  5384. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),math.rad(-20),math.rad(0)),.8)
  5385. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.8)
  5386. swait()
  5387. end
  5388. else
  5389. for i = 1, 15 do
  5390. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  5391. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(20),math.rad(-20),math.rad(0)),.4)
  5392. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.35) * CFrame.Angles(math.rad(-110),math.rad(-12),math.rad(1)),.4)
  5393. swait()
  5394. end
  5395. end
  5396. ws = 90
  5397. attacking = false
  5398. debounce = false
  5399. appi = false
  5400. removeuseless:AddItem(g1,.001)
  5401. end
  5402. end
  5403. end)
  5404.  
  5405. particlecolor = ColorSequence.new(Color3.new(0, 5, 255))
  5406.  
  5407. particlemiter1 = Instance.new("ParticleEmitter", LeftArm)
  5408. particlemiter1.Enabled = false
  5409. particlemiter1.Color = particlecolor
  5410. particlemiter1.Texture = "rbxassetid://304437537"
  5411. particlemiter1.Lifetime = NumberRange.new(2.5)
  5412. particlemiter1.Size = NumberSequence.new(1,0)
  5413. particlemiter1.Rate = 25
  5414. particlemiter1.RotSpeed = NumberRange.new(70)
  5415. particlemiter1.Speed = NumberRange.new(0)
  5416. particlemiter2 = Instance.new("ParticleEmitter", RightArm)
  5417. particlemiter2.Enabled = false
  5418. particlemiter2.Color = particlecolor
  5419. particlemiter2.Texture = "rbxassetid://304437537"
  5420. particlemiter2.Lifetime = NumberRange.new(2.5)
  5421. particlemiter2.Size = NumberSequence.new(1,0)
  5422. particlemiter2.Rate = 25
  5423. particlemiter2.RotSpeed = NumberRange.new(70)
  5424. particlemiter2.Speed = NumberRange.new(0)
  5425. particlemiter4 = Instance.new("ParticleEmitter", LeftLeg)
  5426. particlemiter4.Enabled = false
  5427. particlemiter4.Color = particlecolor
  5428. particlemiter4.Texture = "rbxassetid://304437537"
  5429. particlemiter4.Lifetime = NumberRange.new(2.5)
  5430. particlemiter4.Size = NumberSequence.new(1,0)
  5431. particlemiter4.Rate = 25
  5432. particlemiter4.RotSpeed = NumberRange.new(70)
  5433. particlemiter4.Speed = NumberRange.new(0)
  5434. particlemiter5 = Instance.new("ParticleEmitter", RightLeg)
  5435. particlemiter5.Enabled = false
  5436. particlemiter5.Color = particlecolor
  5437. particlemiter5.Texture = "rbxassetid://304437537"
  5438. particlemiter5.Lifetime = NumberRange.new(2.5)
  5439. particlemiter5.Size = NumberSequence.new(1,0)
  5440. particlemiter5.Rate = 25
  5441. particlemiter5.RotSpeed = NumberRange.new(70)
  5442. particlemiter5.Speed = NumberRange.new(0)
  5443. particlemiter6 = Instance.new("ParticleEmitter", Torso)
  5444. particlemiter6.Enabled = false
  5445. particlemiter6.Color = particlecolor
  5446. particlemiter6.Texture = "rbxassetid://304437537"
  5447. particlemiter6.Lifetime = NumberRange.new(2.5)
  5448. particlemiter6.Size = NumberSequence.new(1,0)
  5449. particlemiter6.Rate = 25
  5450. particlemiter6.RotSpeed = NumberRange.new(70)
  5451. particlemiter6.Speed = NumberRange.new(0)
  5452. particlemiter7 = Instance.new("ParticleEmitter", Head)
  5453. particlemiter7.Enabled = false
  5454. particlemiter7.Color = particlecolor
  5455. particlemiter7.Texture = "rbxassetid://304437537"
  5456. particlemiter7.Lifetime = NumberRange.new(2.5)
  5457. particlemiter7.Size = NumberSequence.new(1,0)
  5458. particlemiter7.Rate = 25
  5459. particlemiter7.RotSpeed = NumberRange.new(70)
  5460. particlemiter7.Speed = NumberRange.new(0)
  5461.  
  5462. coroutine.wrap(function()
  5463. while wait() do
  5464. pcall(function()
  5465. particlemiter1.Color = particlecolor
  5466. particlemiter2.Color = particlecolor
  5467. particlemiter4.Color = particlecolor
  5468. particlemiter5.Color = particlecolor
  5469. particlemiter6.Color = particlecolor
  5470. particlemiter7.Color = particlecolor
  5471. end)
  5472. end
  5473. end)()
  5474.  
  5475. checks1 = coroutine.wrap(function() -------Checks
  5476. while true do
  5477. if Root.Velocity.Magnitude < 15 and running == false then
  5478. position = "Idle"
  5479. elseif Root.Velocity.Magnitude > 15 and running == false then
  5480. position = "Walking"
  5481. else
  5482. end
  5483. wait()
  5484. end
  5485. end)
  5486. checks1()
  5487.  
  5488. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  5489. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  5490. end
  5491.  
  5492. function ray2(StartPos, EndPos, Distance, Ignore)
  5493. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  5494. return ray(StartPos, DIRECTION, Distance, Ignore)
  5495. end
  5496.  
  5497. leftlocation = Instance.new("Part",LeftArm)
  5498. leftlocation.Size = Vector3.new(1,1,1)
  5499. leftlocation.Transparency = 1
  5500. leftlocationweld = weldBetween(leftlocation,LeftArm)
  5501. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  5502. rightlocation = Instance.new("Part",RightArm)
  5503. rightlocation.Size = Vector3.new(1,1,1)
  5504. rightlocation.Transparency = 1
  5505. rightlocationweld = weldBetween(rightlocation,RightArm)
  5506. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  5507.  
  5508. windblocks = Instance.new("Part",Torso)
  5509. windblocks.Size = Vector3.new(1,1,1)
  5510. windblocks.Transparency = 1
  5511. windblocks.Anchored = false
  5512. windblocks.CanCollide = false
  5513. windblocksweld = weldBetween(windblocks,Root)
  5514.  
  5515. windblocks2 = Instance.new("Part",Torso)
  5516. windblocks2.Size = Vector3.new(1,1,1)
  5517. windblocks2.Transparency = 1
  5518. windblocks2.Anchored = false
  5519. windblocks2.CanCollide = false
  5520. windblocks2weld = weldBetween(windblocks2,Root)
  5521.  
  5522. windring = Instance.new("Part", Torso)
  5523. windring.Size = Vector3.new(1, 1, 1)
  5524. windring.Transparency = .8
  5525. windring.Anchored = false
  5526. windring.BrickColor = BrickColor.new("Really white")
  5527. windring.CanCollide = false
  5528. ringh = Instance.new("SpecialMesh", windring)
  5529. ringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5530. ringh.Scale = Vector3.new(19, 19, 4)
  5531. windringweld = weldBetween(windring,windblocks)
  5532. windring2 = Instance.new("Part", Torso)
  5533. windring2.Size = Vector3.new(1, 1, 1)
  5534. windring2.Transparency = .8
  5535. windring2.Anchored = false
  5536. windring2.BrickColor = BrickColor.new("Really white")
  5537. windring2.CanCollide = false
  5538. ringh2 = Instance.new("SpecialMesh", windring2)
  5539. ringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5540. ringh2.Scale = Vector3.new(19, 19, 4)
  5541. windring2weld = weldBetween(windring2,windblocks2)
  5542. wind = Instance.new("Part", Torso)
  5543. wind.Size = Vector3.new(0.5, 0.5, 0.5)
  5544. wind.Material = "Neon"
  5545. wind.BrickColor = BrickColor.new("Really white")
  5546. wind.Transparency = .76
  5547. wind.CanCollide = false
  5548. windMESH = Instance.new("SpecialMesh", wind)
  5549. windMESH.Scale = Vector3.new(3.5,3.5,3.5)
  5550. windMESH.MeshId = "rbxassetid://168892432"
  5551. windWeld = weldBetween(wind,Root)
  5552. windWeld.C0 = CFrame.new(0,-10,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  5553. wind2 = Instance.new("Part", Torso)
  5554. wind2.Size = Vector3.new(0.5, 0.5, 0.5)
  5555. wind2.Material = "Neon"
  5556. wind2.BrickColor = BrickColor.new("Really white")
  5557. wind2.Transparency = .95
  5558. wind2.CanCollide = false
  5559. windMESH2 = Instance.new("SpecialMesh", wind2)
  5560. windMESH2.Scale = Vector3.new(6,6,6)
  5561. windMESH2.MeshId = "rbxassetid://168892432"
  5562. windWeld2 = weldBetween(wind2,Root)
  5563. windWeld2.C0 = CFrame.new(0,-10,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  5564.  
  5565. grasslocation = Instance.new("Part",Torso)
  5566. grasslocation.CFrame = Root.CFrame
  5567. grasslocation.Size = Vector3.new(1,1,1)
  5568. grasslocation.Transparency = 1
  5569. grasslocation.CanCollide = false
  5570. grasslocationweld = weldBetween(grasslocation,Root)
  5571. grasslocationweld.C0 = CFrame.Angles(math.rad(10),math.rad(10),0)
  5572. waterlocation = Instance.new("Part",Torso)
  5573. waterlocation.CFrame = Root.CFrame
  5574. waterlocation.Size = Vector3.new(1,1,1)
  5575. waterlocation.Transparency = 1
  5576. waterlocation.CanCollide = false
  5577. waterlocationweld = weldBetween(waterlocation,Root)
  5578. waterlocationweld.C0 = CFrame.Angles(math.rad(10),math.rad(10),0)
  5579. zp = 0
  5580. for i = 1, 14 do
  5581. zp = zp + 26
  5582. grassblocks = Instance.new("Part",Torso)
  5583. grassblocks.Size = Vector3.new(1.3,1.3,1.3)
  5584. grassblocks.Material = "Slate"
  5585. grassblocks.CanCollide = false
  5586. grassblocks.BrickColor = BrickColor.new("Earth green")
  5587. grassblocksweld = weldBetween(grassblocks,grasslocation)
  5588. grassblocksweld.C0 = CFrame.new(-7.5,0,0) * CFrame.Angles(math.rad(0),math.rad(zp),math.rad(0))
  5589. table.insert(grasstable,grassblocksweld)
  5590. end
  5591. for i = 1, 14 do
  5592. zp = zp + 26.1
  5593. waterblocks = Instance.new("Part",Torso)
  5594. waterblocks.Size = Vector3.new(1.3,1.3,1.3)
  5595. waterblocks.Material = "Neon"
  5596. waterblocks.CanCollide = false
  5597. waterblocks.Transparency = .5
  5598. waterblocks.BrickColor = BrickColor.new("Cyan")
  5599. waterblocksweld = weldBetween(waterblocks,waterlocation)
  5600. waterblocksweld.C0 = CFrame.new(-7.6,0,0) * CFrame.Angles(math.rad(0),math.rad(zp),math.rad(0))
  5601. table.insert(watertable,waterwblocks)
  5602. end
  5603.  
  5604. locbrick1 = Instance.new("Part",Torso)
  5605. locbrick1.Size = Vector3.new(1,1,1)
  5606. locbrick1.CanCollide = false
  5607. locbrick1.Transparency = 1
  5608. locbrick1weld = weldBetween(locbrick1,Root)
  5609. locbrick1weld.C0 = CFrame.new(0,9.5,0)
  5610.  
  5611. levitatewave = Instance.new("Part", Torso)
  5612. levitatewave.Size = Vector3.new(1,1,1)
  5613. levitatewave.CanCollide = false
  5614. levitatewave.Anchored = false
  5615. levitatewave.Transparency = .75
  5616. levitatewave.BrickColor = BrickColor.new("White")
  5617. levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  5618. levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
  5619. levitatewavemesh.Scale = Vector3.new(7,1.25,7)
  5620. levitatewavemesh.MeshId = "rbxassetid://20329976"
  5621. levitatewaveweld = weldBetween(levitatewave,locbrick1)
  5622. levitatewave2 = Instance.new("Part", Torso)
  5623. levitatewave2.Size = Vector3.new(1,1,1)
  5624. levitatewave2.CanCollide = false
  5625. levitatewave2.Anchored = false
  5626. levitatewave2.Transparency = .75
  5627. levitatewave2.BrickColor = BrickColor.new("White")
  5628. levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  5629. levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
  5630. levitatewavemesh2.Scale = Vector3.new(5.5,1,5.5)
  5631. levitatewavemesh2.MeshId = "rbxassetid://20329976"
  5632. levitatewaveweld2 = weldBetween(levitatewave2,locbrick1)
  5633.  
  5634. coroutine.wrap(function()
  5635. po = 0
  5636. xo = 0
  5637. to = 0
  5638. to2 = 0
  5639. lo = 0
  5640. mo = 0
  5641. while true do
  5642. swait()
  5643. colors = colortable[math.random(1,#colortable)]
  5644. to2 = to2 - 7
  5645. to = to + 14
  5646. po = po + 8
  5647. lo = lo - 8
  5648. xo = xo - 5
  5649. mo = mo + 5
  5650. hpheight = 6 + 1 * math.sin(sine/12)
  5651. windblocksweld.C0 = CFrame.Angles(math.rad(xo),math.rad(po),0)
  5652. windblocks2weld.C0 = CFrame.Angles(math.rad(lo),math.rad(mo),0)
  5653. if allowlev then
  5654. locbrick1weld.C0 = CFrame.new(0,8.7 + .7 * math.sin(sine/12),0)
  5655. end
  5656. levitatewaveweld2.C0 = CFrame.Angles(math.rad(0),math.rad(to),0)
  5657. levitatewaveweld.C0 = CFrame.Angles(math.rad(0),math.rad(-to),0)
  5658. if avatarstate then
  5659. windWeld4.C0 = CFrame.Angles(math.rad(0),math.rad(to),math.rad(0))
  5660. windWeld3.C0 = CFrame.Angles(math.rad(0),math.rad(to2),math.rad(0))
  5661. windblocks3weld.C0 = CFrame.Angles(math.rad(xo),math.rad(po),0)
  5662. windblocks4weld.C0 = CFrame.Angles(math.rad(lo),math.rad(mo),0)
  5663. levitatewaveweld3.C0 = CFrame.Angles(math.rad(0),math.rad(to),0)
  5664. levitatewaveweld4.C0 = CFrame.Angles(math.rad(0),math.rad(-to),0)
  5665. levitatewaveweld5.C0 = CFrame.Angles(math.rad(0),math.rad(to),0)
  5666. levitatewaveweld6.C0 = CFrame.Angles(math.rad(0),math.rad(-to),0)
  5667. end
  5668. waterlocationweld.C0 = CFrame.Angles(math.rad(0 * math.sin(sine/12)),math.rad(-to/6),math.rad(-40 * math.sin(sine/12)))
  5669. grasslocationweld.C0 = CFrame.Angles(math.rad(0 * math.sin(sine/12)),math.rad(to/6),math.rad(40 * math.sin(sine/12)))
  5670. windWeld.C0 = CFrame.Angles(math.rad(0),math.rad(to),math.rad(0))
  5671. windWeld2.C0 = CFrame.Angles(math.rad(0),math.rad(to2),math.rad(0))
  5672. end
  5673. end)()
  5674.  
  5675. OrgnC0 = Neck.C0
  5676. local movelimbs = coroutine.wrap(function()
  5677. while RunSrv.RenderStepped:wait() do
  5678. TrsoLV = Torso.CFrame.lookVector
  5679. Dist = nil
  5680. Diff = nil
  5681. if not MseGuide then
  5682. print("Failed to recognize")
  5683. else
  5684. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  5685. Dist = (Head.CFrame.p-Point).magnitude
  5686. Diff = Head.CFrame.Y-Point.Y
  5687. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  5688. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  5689. Diff2 = LeftArm.CFrame.Y-Point.Y
  5690. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  5691. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  5692. end
  5693. end
  5694. end)
  5695. movelimbs()
  5696. immortal = {}
  5697. for i,v in pairs(Character:GetDescendants()) do
  5698. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  5699. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  5700. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  5701. end
  5702. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  5703. elseif v:IsA("JointInstance") then
  5704. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  5705. end
  5706. end
  5707. for e = 1, #immortal do
  5708. if immortal[e] ~= nil then
  5709. local STUFF = immortal[e]
  5710. local PART = STUFF[1]
  5711. local PARENT = STUFF[2]
  5712. local MATERIAL = STUFF[3]
  5713. local COLOR = STUFF[4]
  5714. local TRANSPARENCY = STUFF[5]
  5715. if levitate then
  5716. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  5717. PART.Material = MATERIAL
  5718. PART.Color = COLOR
  5719. PART.Transparency = TRANSPARENCY
  5720. end
  5721. PART.AncestryChanged:connect(function()
  5722. PART.Parent = PARENT
  5723. end)
  5724. else
  5725. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  5726. PART.Material = MATERIAL
  5727. PART.Color = COLOR
  5728. PART.Transparency = TRANSPARENCY
  5729. end
  5730. PART.AncestryChanged:connect(function()
  5731. PART.Parent = PARENT
  5732. end)
  5733. end
  5734. end
  5735. end
  5736. function immortality()
  5737. for e = 1, #immortal do
  5738. if immortal[e] ~= nil then
  5739. local STUFF = immortal[e]
  5740. local PART = STUFF[1]
  5741. local PARENT = STUFF[2]
  5742. local MATERIAL = STUFF[3]
  5743. local COLOR = STUFF[4]
  5744. local TRANSPARENCY = STUFF[5]
  5745. if PART.ClassName == "Part" and PART == Root then
  5746. PART.Material = MATERIAL
  5747. PART.Color = COLOR
  5748. PART.Transparency = TRANSPARENCY
  5749. end
  5750. if PART.Parent ~= PARENT then
  5751. hum:Remove()
  5752. PART.Parent = PARENT
  5753. hum = Instance.new("Humanoid",Character)
  5754. if levitate then
  5755. eyo1:Remove()
  5756. eyo2:Remove()
  5757. end
  5758. hum.Name = "noneofurbusiness"
  5759. end
  5760. end
  5761. end
  5762. end
  5763. coroutine.wrap(function()
  5764. while true do
  5765. if hum.Health < .1 then
  5766. deadsound = Instance.new("Sound", Torso)
  5767. deadsound.Volume = 6
  5768. deadsound.SoundId = "rbxassetid://1411352723"
  5769. deadsound:Play()
  5770. immortality()
  5771. end
  5772. wait()
  5773. end
  5774. end)()
  5775.  
  5776. local anims = coroutine.wrap(function()
  5777. while true do
  5778. settime = 0.05
  5779. sine = sine + change
  5780. if position == "Walking" and attacking == false and running == false then
  5781. change = .5
  5782. walking = true
  5783. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.25)
  5784. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.25)
  5785. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(25 + 5 * math.sin(sine/12))), 0.25)
  5786. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(-25 - 5 * math.sin(sine/12))), 0.25)
  5787. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-41 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 15, math.cos(10 * math.cos(sine/10))), 0.25)
  5788. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.25)
  5789. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  5790. elseif position == "Idle" and attacking == false and running == false then
  5791. change = .5
  5792. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10*math.sin(sine/12)),math.rad(0),math.rad(0)),.2)
  5793. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
  5794. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .2)
  5795. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.2)
  5796. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.2)
  5797. end
  5798. swait()
  5799. end
  5800. end)
  5801. anims()
  5802. warn("Four elements combined to make one, powerful force. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement