Advertisement
PixelDerpIsUber2

Untitled

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