Advertisement
PasterXIV

Untitled

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