Advertisement
XSleepyDemonX_17

GENOCIDE

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