Advertisement
Tetezaza1542

STAR EDIT

Aug 12th, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.46 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5. -- [[[
  6. --000000[[====================================================================================\\
  7. --000000[[ DEIVIS97 EDIT
  8. --000000[[====================================================================================//
  9. -- [[[
  10.  
  11. wait(0.2)
  12.  
  13.  
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. Torso.Transparency = 1
  36. local sick = Instance.new("Sound",Character)
  37. sick.SoundId = "rbxassetid://196739738"
  38. sick.Looped = true
  39. sick.Pitch = 1
  40. sick.Volume = 10
  41. sick:Play()
  42.  
  43. IT = Instance.new
  44. CF = CFrame.new
  45. VT = Vector3.new
  46. RAD = math.rad
  47. C3 = Color3.new
  48. UD2 = UDim2.new
  49. BRICKC = BrickColor.new
  50. ANGLES = CFrame.Angles
  51. EULER = CFrame.fromEulerAnglesXYZ
  52. COS = math.cos
  53. ACOS = math.acos
  54. SIN = math.sin
  55. ASIN = math.asin
  56. ABS = math.abs
  57. MRANDOM = math.random
  58. FLOOR = math.floor
  59.  
  60. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  61. local NEWMESH = IT(MESH)
  62. if MESH == "SpecialMesh" then
  63. NEWMESH.MeshType = MESHTYPE
  64. if MESHID ~= "nil" and MESHID ~= "" then
  65. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  66. end
  67. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  68. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  69. end
  70. end
  71. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  72. NEWMESH.Scale = SCALE
  73. NEWMESH.Parent = PARENT
  74. return NEWMESH
  75. end
  76.  
  77. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  78. local NEWPART = IT("Part")
  79. NEWPART.formFactor = FORMFACTOR
  80. NEWPART.Reflectance = REFLECTANCE
  81. NEWPART.Transparency = TRANSPARENCY
  82. NEWPART.CanCollide = false
  83. NEWPART.Locked = true
  84. NEWPART.Anchored = true
  85. if ANCHOR == false then
  86. NEWPART.Anchored = false
  87. end
  88. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  89. NEWPART.Name = NAME
  90. NEWPART.Size = SIZE
  91. NEWPART.Position = Torso.Position
  92. NEWPART.Material = MATERIAL
  93. NEWPART:BreakJoints()
  94. NEWPART.Parent = PARENT
  95. return NEWPART
  96. end
  97.  
  98. --//=================================\\
  99. --|| CUSTOMIZATION
  100. --\\=================================//
  101.  
  102. Class_Name = "Template"
  103. Weapon_Name = "Add-ons"
  104.  
  105. Custom_Colors = {
  106. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  107. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  108.  
  109. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  110. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  111. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  112. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  113. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  114.  
  115. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  116. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  117. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  118. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  119. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  120. }
  121.  
  122.  
  123. Player_Size = 1 --Size of the player.
  124. Animation_Speed = 3
  125. Animation_Speed2 = 1
  126. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  127.  
  128. local Speed = 16
  129. local Effects2 = {}
  130.  
  131. --//=================================\\
  132. --|| END OF CUSTOMIZATION
  133. --\\=================================//
  134.  
  135. local function weldBetween(a, b)
  136. local weldd = Instance.new("ManualWeld")
  137. weldd.Part0 = a
  138. weldd.Part1 = b
  139. weldd.C0 = CFrame.new()
  140. weldd.C1 = b.CFrame:inverse() * a.CFrame
  141. weldd.Parent = a
  142. return weldd
  143. end
  144.  
  145. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  146. local acs = Instance.new("Part")
  147. acs.CanCollide = false
  148. acs.Anchored = false
  149. acs.Size = Vector3.new(0,0,0)
  150. acs.CFrame = attachmentpart.CFrame
  151. acs.Parent = Character
  152. acs.BrickColor = color
  153. local meshs = Instance.new("SpecialMesh")
  154. meshs.MeshId = mesh
  155. meshs.TextureId = texture
  156. meshs.Parent = acs
  157. meshs.Scale = scale
  158. meshs.Offset = offset
  159. weldBetween(attachmentpart,acs)
  160. end
  161.  
  162. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  163. if TYPE == "Gem" then
  164. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  165. acs.Anchored = false
  166. acs.CanCollide = false
  167. acs.CFrame = PART.CFrame
  168. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  169. weldBetween(PART,acs)
  170. elseif TYPE == "Skull" then
  171. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  172. acs.Anchored = false
  173. acs.CanCollide = false
  174. acs.CFrame = PART.CFrame
  175. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  176. weldBetween(PART,acs)
  177. elseif TYPE == "Eye" then
  178. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  179. acs.Anchored = false
  180. acs.CanCollide = false
  181. acs.CFrame = PART.CFrame
  182. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  183. weldBetween(PART,acs)
  184. end
  185. end
  186.  
  187. --//=================================\\
  188. --|| USEFUL VALUES
  189. --\\=================================//
  190.  
  191. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  192. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  193. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  194. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  195. local CHANGEDEFENSE = 0
  196. local CHANGEDAMAGE = 0
  197. local CHANGEMOVEMENT = 0
  198. local ANIM = "Idle"
  199. local ATTACK = false
  200. local EQUIPPED = false
  201. local HOLD = false
  202. local COMBO = 1
  203. local Rooted = false
  204. local SINE = 0
  205. local KEYHOLD = false
  206. local CHANGE = 2 / Animation_Speed
  207. local WALKINGANIM = false
  208. local WALK = 0
  209. local VALUE1 = false
  210. local VALUE2 = false
  211. local ROBLOXIDLEANIMATION = IT("Animation")
  212. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  213. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  214. --ROBLOXIDLEANIMATION.Parent = Humanoid
  215. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  216. WEAPONGUI.Name = "Weapon GUI"
  217. local Weapon = IT("Model")
  218. Weapon.Name = Weapon_Name
  219. local Effects = IT("Folder", Weapon)
  220. Effects.Name = "Effects"
  221. local ANIMATOR = Humanoid.Animator
  222. local ANIMATE = Character.Animate
  223. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  224. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  225. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  226. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  227. local CASTSOUNDS = {"1369158","2974000","2974249"}
  228. local BOLTSOUNDS = {"821439273","224339201","168586586"}
  229. local TORNADOSOUND = "362395087"
  230. local UNANCHOR = true
  231.  
  232. local SKILLTEXTCOLOR = C3(0,255,255)
  233.  
  234. --//=================================\\
  235. --\\=================================//
  236.  
  237.  
  238. --//=================================\\
  239. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  240. --\\=================================//
  241.  
  242. ArtificialHB = Instance.new("BindableEvent", script)
  243. ArtificialHB.Name = "ArtificialHB"
  244.  
  245. script:WaitForChild("ArtificialHB")
  246.  
  247. frame = Frame_Speed
  248. tf = 0
  249. allowframeloss = false
  250. tossremainder = false
  251. lastframe = tick()
  252. script.ArtificialHB:Fire()
  253.  
  254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  255. tf = tf + s
  256. if tf >= frame then
  257. if allowframeloss then
  258. script.ArtificialHB:Fire()
  259. lastframe = tick()
  260. else
  261. for i = 1, math.floor(tf / frame) do
  262. script.ArtificialHB:Fire()
  263. end
  264. lastframe = tick()
  265. end
  266. if tossremainder then
  267. tf = 0
  268. else
  269. tf = tf - frame * math.floor(tf / frame)
  270. end
  271. end
  272. end)
  273.  
  274. --//=================================\\
  275. --\\=================================//
  276.  
  277.  
  278.  
  279.  
  280.  
  281. --//=================================\\
  282. --|| SOME FUNCTIONS
  283. --\\=================================//
  284.  
  285. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  286. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  287. end
  288.  
  289. function PositiveAngle(NUMBER)
  290. if NUMBER >= 0 then
  291. NUMBER = 0
  292. end
  293. return NUMBER
  294. end
  295.  
  296. function NegativeAngle(NUMBER)
  297. if NUMBER <= 0 then
  298. NUMBER = 0
  299. end
  300. return NUMBER
  301. end
  302.  
  303. function Swait(NUMBER)
  304. if NUMBER == 0 or NUMBER == nil then
  305. ArtificialHB.Event:wait()
  306. else
  307. for i = 1, NUMBER do
  308. ArtificialHB.Event:wait()
  309. end
  310. end
  311. end
  312.  
  313. function QuaternionFromCFrame(cf)
  314. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  315. local trace = m00 + m11 + m22
  316. if trace > 0 then
  317. local s = math.sqrt(1 + trace)
  318. local recip = 0.5 / s
  319. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  320. else
  321. local i = 0
  322. if m11 > m00 then
  323. i = 1
  324. end
  325. if m22 > (i == 0 and m00 or m11) then
  326. i = 2
  327. end
  328. if i == 0 then
  329. local s = math.sqrt(m00 - m11 - m22 + 1)
  330. local recip = 0.5 / s
  331. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  332. elseif i == 1 then
  333. local s = math.sqrt(m11 - m22 - m00 + 1)
  334. local recip = 0.5 / s
  335. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  336. elseif i == 2 then
  337. local s = math.sqrt(m22 - m00 - m11 + 1)
  338. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  339. end
  340. end
  341. end
  342.  
  343. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  344. local xs, ys, zs = x + x, y + y, z + z
  345. local wx, wy, wz = w * xs, w * ys, w * zs
  346. local xx = x * xs
  347. local xy = x * ys
  348. local xz = x * zs
  349. local yy = y * ys
  350. local yz = y * zs
  351. local zz = z * zs
  352. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  353. end
  354.  
  355. function QuaternionSlerp(a, b, t)
  356. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  357. local startInterp, finishInterp;
  358. if cosTheta >= 0.0001 then
  359. if (1 - cosTheta) > 0.0001 then
  360. local theta = ACOS(cosTheta)
  361. local invSinTheta = 1 / SIN(theta)
  362. startInterp = SIN((1 - t) * theta) * invSinTheta
  363. finishInterp = SIN(t * theta) * invSinTheta
  364. else
  365. startInterp = 1 - t
  366. finishInterp = t
  367. end
  368. else
  369. if (1 + cosTheta) > 0.0001 then
  370. local theta = ACOS(-cosTheta)
  371. local invSinTheta = 1 / SIN(theta)
  372. startInterp = SIN((t - 1) * theta) * invSinTheta
  373. finishInterp = SIN(t * theta) * invSinTheta
  374. else
  375. startInterp = t - 1
  376. finishInterp = t
  377. end
  378. end
  379. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  380. end
  381.  
  382. function Clerp(a, b, t)
  383. local qa = {QuaternionFromCFrame(a)}
  384. local qb = {QuaternionFromCFrame(b)}
  385. local ax, ay, az = a.x, a.y, a.z
  386. local bx, by, bz = b.x, b.y, b.z
  387. local _t = 1 - t
  388. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  389. end
  390.  
  391. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  392. local frame = IT("Frame")
  393. frame.BackgroundTransparency = TRANSPARENCY
  394. frame.BorderSizePixel = BORDERSIZEPIXEL
  395. frame.Position = POSITION
  396. frame.Size = SIZE
  397. frame.BackgroundColor3 = COLOR
  398. frame.BorderColor3 = BORDERCOLOR
  399. frame.Name = NAME
  400. frame.Parent = PARENT
  401. return frame
  402. end
  403.  
  404. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  405. local label = IT("TextLabel")
  406. label.BackgroundTransparency = 1
  407. label.Size = UD2(1, 0, 1, 0)
  408. label.Position = UD2(0, 0, 0, 0)
  409. label.TextColor3 = TEXTCOLOR
  410. label.TextStrokeTransparency = STROKETRANSPARENCY
  411. label.TextTransparency = TRANSPARENCY
  412. label.FontSize = TEXTFONTSIZE
  413. label.Font = TEXTFONT
  414. label.BorderSizePixel = BORDERSIZEPIXEL
  415. label.TextScaled = false
  416. label.Text = TEXT
  417. label.Name = NAME
  418. label.Parent = PARENT
  419. return label
  420. end
  421.  
  422. function NoOutlines(PART)
  423. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  424. end
  425.  
  426.  
  427. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  428. local NEWWELD = IT(TYPE)
  429. NEWWELD.Part0 = PART0
  430. NEWWELD.Part1 = PART1
  431. NEWWELD.C0 = C0
  432. NEWWELD.C1 = C1
  433. NEWWELD.Parent = PARENT
  434. return NEWWELD
  435. end
  436.  
  437. function CreateSound(ID, PARENT, VOLUME, PITCH)
  438. local NEWSOUND = nil
  439. coroutine.resume(coroutine.create(function()
  440. NEWSOUND = IT("Sound", PARENT)
  441. NEWSOUND.Volume = VOLUME
  442. NEWSOUND.Pitch = PITCH
  443. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  444. NEWSOUND:play()
  445. game:GetService("Debris"):AddItem(NEWSOUND, 20)
  446. end))
  447. return NEWSOUND
  448. end
  449.  
  450. function CFrameFromTopBack(at, top, back)
  451. local right = top:Cross(back)
  452. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  453. end
  454.  
  455. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  456. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  457. local mesh = IT("SpecialMesh",wave)
  458. mesh.MeshType = "FileMesh"
  459. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  460. mesh.Scale = SIZE
  461. mesh.Offset = VT(0,0,-SIZE.X/8)
  462. wave.CFrame = CFRAME
  463. coroutine.resume(coroutine.create(function(PART)
  464. for i = 1, WAIT do
  465. Swait()
  466. mesh.Scale = mesh.Scale + GROW
  467. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  468. if DOESROT == true then
  469. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  470. end
  471. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  472. if wave.Transparency > 0.99 then
  473. wave:remove()
  474. end
  475. end
  476. end))
  477. end
  478.  
  479. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  480. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  481. local mesh = IT("SpecialMesh",wave)
  482. mesh.MeshType = "FileMesh"
  483. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  484. mesh.Scale = SIZE
  485. mesh.Offset = VT(0,0,-SIZE.X/8)
  486. wave.CFrame = CFRAME
  487. coroutine.resume(coroutine.create(function(PART)
  488. for i = 1, WAIT do
  489. Swait()
  490. mesh.Scale = mesh.Scale + GROW
  491. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  492. if DOESROT == true then
  493. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  494. end
  495. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  496. if wave.Transparency > 0.99 then
  497. wave:remove()
  498. end
  499. end
  500. end))
  501. end
  502.  
  503. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  504. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  505. local mesh = IT("SpecialMesh",wave)
  506. mesh.MeshType = "FileMesh"
  507. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  508. mesh.Scale = SIZE
  509. mesh.Offset = VT(0,0,-SIZE.X/8)
  510. wave.CFrame = CFRAME
  511. coroutine.resume(coroutine.create(function(PART)
  512. for i = 1, WAIT do
  513. Swait()
  514. mesh.Scale = mesh.Scale + GROW
  515. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  516. if DOESROT == true then
  517. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  518. end
  519. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  520. if wave.Transparency > 0.99 then
  521. wave:remove()
  522. end
  523. end
  524. end))
  525. end
  526.  
  527. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  528. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  529. local mesh = IT("SpecialMesh",wave)
  530. mesh.MeshType = "FileMesh"
  531. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  532. mesh.Scale = SIZE
  533. mesh.Offset = VT(0,0,-SIZE.X/8)
  534. wave.CFrame = CFRAME
  535. coroutine.resume(coroutine.create(function(PART)
  536. for i = 1, WAIT do
  537. Swait()
  538. mesh.Scale = mesh.Scale + GROW
  539. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  540. if DOESROT == true then
  541. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  542. end
  543. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  544. if wave.Transparency > 0.99 then
  545. wave:remove()
  546. end
  547. end
  548. end))
  549. end
  550.  
  551. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  552. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  553. local mesh = IT("SpecialMesh",wave)
  554. mesh.MeshType = "FileMesh"
  555. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  556. mesh.Scale = SIZE
  557. wave.CFrame = CFRAME
  558. coroutine.resume(coroutine.create(function(PART)
  559. for i = 1, WAIT do
  560. Swait()
  561. mesh.Scale = mesh.Scale + GROW
  562. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  563. if DOESROT == true then
  564. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  565. end
  566. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  567. if wave.Transparency > 0.99 then
  568. wave:remove()
  569. end
  570. end
  571. end))
  572. end
  573.  
  574. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  575. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  576. local mesh = IT("SpecialMesh",wave)
  577. mesh.MeshType = "FileMesh"
  578. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  579. mesh.Scale = SIZE
  580. wave.CFrame = CFRAME
  581. coroutine.resume(coroutine.create(function(PART)
  582. for i = 1, WAIT do
  583. Swait()
  584. mesh.Scale = mesh.Scale + GROW
  585. if DOESROT == true then
  586. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  587. end
  588. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  589. if wave.Transparency > 0.99 then
  590. wave:remove()
  591. end
  592. end
  593. end))
  594. end
  595.  
  596. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  597. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  598. local mesh = IT("SpecialMesh",wave)
  599. mesh.MeshType = "FileMesh"
  600. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  601. mesh.Scale = SIZE
  602. mesh.Offset = VT(0,0,0)
  603. wave.CFrame = CFRAME
  604. coroutine.resume(coroutine.create(function(PART)
  605. for i = 1, WAIT do
  606. Swait()
  607. mesh.Scale = mesh.Scale + GROW
  608. if DOESROT == true then
  609. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  610. end
  611. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  612. if wave.Transparency > 0.99 then
  613. wave:remove()
  614. end
  615. end
  616. end))
  617. end
  618.  
  619. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  620. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  621. local mesh = IT("SpecialMesh",wave)
  622. mesh.MeshType = "Sphere"
  623. mesh.Scale = SIZE
  624. mesh.Offset = VT(0,0,0)
  625. wave.CFrame = CFRAME
  626. coroutine.resume(coroutine.create(function(PART)
  627. for i = 1, WAIT do
  628. Swait()
  629. mesh.Scale = mesh.Scale + GROW
  630. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  631. if wave.Transparency > 0.99 then
  632. wave:remove()
  633. end
  634. end
  635. end))
  636. end
  637.  
  638. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  639. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  640. wave.CFrame = CFRAME
  641. coroutine.resume(coroutine.create(function(PART)
  642. for i = 1, WAIT do
  643. Swait()
  644. wave.Size = wave.Size + GROW
  645. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  646. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  647. if wave.Transparency > 0.99 then
  648. wave:remove()
  649. end
  650. end
  651. end))
  652. end
  653.  
  654. function MakeForm(PART,TYPE)
  655. if TYPE == "Cyl" then
  656. local MSH = IT("CylinderMesh",PART)
  657. elseif TYPE == "Ball" then
  658. local MSH = IT("SpecialMesh",PART)
  659. MSH.MeshType = "Sphere"
  660. elseif TYPE == "Wedge" then
  661. local MSH = IT("SpecialMesh",PART)
  662. MSH.MeshType = "Wedge"
  663. end
  664. end
  665.  
  666. function CheckTableForString(Table, String)
  667. for i, v in pairs(Table) do
  668. if string.find(string.lower(String), string.lower(v)) then
  669. return true
  670. end
  671. end
  672. return false
  673. end
  674.  
  675. function CheckIntangible(Hit)
  676. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  677. if Hit and Hit.Parent then
  678. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  679. return true
  680. end
  681. end
  682. return false
  683. end
  684.  
  685. Debris = game:GetService("Debris")
  686.  
  687. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  688. local Direction = CFrame.new(StartPos, Vec).lookVector
  689. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  690. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  691. if RayHit and CheckIntangible(RayHit) then
  692. if DelayIfHit then
  693. wait()
  694. end
  695. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  696. end
  697. return RayHit, RayPos, RayNormal
  698. end
  699.  
  700. function turnto(position)
  701. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  702. end
  703.  
  704. --//=================================\\
  705. --|| SPEECH
  706. --\\=================================//
  707.  
  708. function chatfunc(text,waitt)
  709. local chat = coroutine.wrap(function()
  710. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  711. Character:FindFirstChild("TalkingBillBoard"):destroy()
  712. end
  713. local naeeym2 = Instance.new("BillboardGui",Character)
  714. naeeym2.Size = UDim2.new(0,100,0,40)
  715. naeeym2.StudsOffset = Vector3.new(0,5,0)
  716. naeeym2.Adornee = Character.Head
  717. naeeym2.Name = "TalkingBillBoard"
  718. naeeym2.AlwaysOnTop = true
  719. local tecks2 = Instance.new("TextLabel",naeeym2)
  720. tecks2.BackgroundTransparency = 1
  721. tecks2.BorderSizePixel = 0
  722. tecks2.Text = ""
  723. tecks2.Font = "SciFi"
  724. tecks2.TextSize = 30
  725. tecks2.TextStrokeTransparency = 1
  726. tecks2.TextColor3 = SKILLTEXTCOLOR
  727. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  728. tecks2.Size = UDim2.new(1,0,0.5,0)
  729. for i = 1,string.len(text),1 do
  730. tecks2.Text = string.sub(text,1,i)
  731. Swait()
  732. end
  733. wait(waitt)
  734. coroutine.resume(coroutine.create(function()
  735. for i = 1, 10 do
  736. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  737. Swait()
  738. end
  739. naeeym2:Destroy()
  740. end))
  741. end)
  742. chat()
  743. end
  744.  
  745. --//=================================\\
  746. --|| WEAPON CREATION
  747. --\\=================================//
  748.  
  749. function CreateGauntlet(LIMB,ROT,OFFSET)
  750. local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.025,2.025,1.025),false)
  751. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  752. FIST.CanCollide = true
  753. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.075,0.25,1.075),false)
  754. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  755. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,0.15,1.1),false)
  756. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  757. --ALL OF THE 04--
  758. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,0.5),false)
  759. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  760. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  761. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  762. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  763. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  764.  
  765. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  766. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  768. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  769. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  770. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,2.065,1.065),false)
  772. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/4, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  773. MakeForm(part,"Wedge")
  774. -----------------
  775. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.45,0.45),false)
  776. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  778. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  780. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  781.  
  782. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.075,2.075,1.075),false)
  783. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3.5, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  784. MakeForm(part,"Wedge")
  785. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,2.1,1.1),false)
  786. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3, 0.1, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  787. MakeForm(part,"Wedge")
  788. end
  789.  
  790. CreateGauntlet(RightArm,180,0.3)
  791. CreateGauntlet(LeftArm,0,-0.3)
  792. CreateGauntlet(RightLeg,180,0.3)
  793. CreateGauntlet(LeftLeg,0,-0.3)
  794.  
  795. function CreateTorso(LIMB,ROT,OFFSET)
  796. local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(2,2,1),false)
  797. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798. FIST.CanCollide = true
  799.  
  800. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,1.2),false)
  801. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  802. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,1.2),false)
  803. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  804. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,1.2),false)
  805. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  806.  
  807. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  808. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  809. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  810. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  811. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  812. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  813. -----------------
  814. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.45,0.45),false)
  815. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  816. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.2,0.2),false)
  817. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, -0.5, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  818. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.2,0.2),false)
  819. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0.5, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  820.  
  821. end
  822.  
  823. CreateTorso(Torso,360,-0.3)
  824.  
  825.  
  826. for _, c in pairs(Weapon:GetChildren()) do
  827. if c.ClassName == "Part" then
  828. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  829. end
  830. end
  831.  
  832. Weapon.Parent = Character
  833.  
  834. Humanoid.Died:connect(function()
  835. ATTACK = true
  836. end)
  837.  
  838. print(Class_Name.." loaded.")
  839.  
  840. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  841. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  842. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  843.  
  844. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Turret cannon", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  845. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Shield pulse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  846. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[1-8] Switch stance", C3(255,0,0), 6, "SciFi", 0, 2, 1, "Text 3")
  847.  
  848. --//=================================\\
  849. --|| DAMAGE FUNCTIONS
  850. --\\=================================//
  851.  
  852. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  853. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  854. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  855. local BODYGYRO = IT("BodyGyro", STATPART)
  856. local BODYPOSITION = IT("BodyPosition", STATPART)
  857. BODYPOSITION.P = 2000
  858. BODYPOSITION.D = 100
  859. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  860. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  861. game:GetService("Debris"):AddItem(STATPART ,5)
  862. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  863. BILLBOARDGUI.Adornee = STATPART
  864. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  865. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  866. BILLBOARDGUI.AlwaysOnTop = true
  867. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  868. TEXTLABEL.BackgroundTransparency = 1
  869. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  870. TEXTLABEL.Text = TEXT
  871. TEXTLABEL.Font = "SciFi"
  872. TEXTLABEL.FontSize="Size42"
  873. TEXTLABEL.TextColor3 = COLOR
  874. TEXTLABEL.TextStrokeTransparency = 1
  875. TEXTLABEL.TextScaled = true
  876. TEXTLABEL.TextWrapped = true
  877. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  878. if LABELTYPE == "Normal" then
  879. for i = 1, 20 do
  880. Swait()
  881. STATPART.Position = STATPART.Position + VT(0, (10-i)/10 ,0)
  882. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  883. end
  884. elseif LABELTYPE == "Debuff" then
  885. for i = 1, 20 do
  886. Swait()
  887. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  888. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  889. end
  890. elseif LABELTYPE == "Shock" then
  891. local ORIGIN = STATPART.Position
  892. for i = 1, 20 do
  893. Swait()
  894. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  895. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  896. end
  897. end
  898. THEPART.Parent = nil
  899. end),STATPART, BODYPOSITION, TEXTLABEL)
  900. end
  901.  
  902.  
  903. --//=================================\\
  904. --|| DAMAGING
  905. --\\=================================//
  906.  
  907. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  908. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  909. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  910. local dmg = math.random(min,max)
  911. if humanoid.Health > 0 then
  912. if beserk == true then
  913. humanoid.Health = 0
  914. else
  915. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  916. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  917. if math.random(1,100) < critrate+1 then
  918. humanoid.Health = humanoid.Health - dmg*critmultiplier
  919. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  920. else
  921. humanoid.Health = humanoid.Health - dmg
  922. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  923. end
  924. local defence = Instance.new("BoolValue",hit.Parent)
  925. defence.Name = ("HitBy"..Player.Name)
  926. game:GetService("Debris"):AddItem(defence, 0.1)
  927. end
  928. end
  929. end
  930. end
  931.  
  932. function AoEWarp(position,radius)
  933. for i,v in ipairs(workspace:GetChildren()) do
  934. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  935. local body = v:GetChildren()
  936. for part = 1, #body do
  937. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  938. if(body[part].Position - position).Magnitude < radius then
  939. if v.ClassName == "Model" then
  940. if v:FindFirstChild("Humanoid") then
  941. if v.Humanoid.Health ~= 0 then
  942. if body[part].Position.Y < position.Y+12 then
  943. print("Got "..v.Name)
  944. local defence = Instance.new("BoolValue",v)
  945. defence.Name = ("HitBy"..Player.Name)
  946. game:GetService("Debris"):AddItem(defence, 0.01)
  947. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  948. Warp(TORSO)
  949. end
  950. end
  951. end
  952. end
  953. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  954. end
  955. end
  956. end
  957. end
  958. end
  959. end
  960.  
  961. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  962. local dmg = math.random(min,max)
  963. for i,v in ipairs(workspace:GetChildren()) do
  964. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  965. local body = v:GetChildren()
  966. for part = 1, #body do
  967. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  968. if(body[part].Position - position).Magnitude < radius then
  969. if v.ClassName == "Model" then
  970. if v:FindFirstChild("Humanoid") then
  971. if v.Humanoid.Health ~= 0 then
  972. if CanBeDodgedByJumping == true then
  973. if body[part].Position.Y < position.Y+5 then
  974. if math.random(1,100) < critrate+1 then
  975. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  976. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  977. else
  978. v.Humanoid.Health = v.Humanoid.Health - dmg
  979. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  980. end
  981. local defence = Instance.new("BoolValue",v)
  982. defence.Name = ("HitBy"..Player.Name)
  983. game:GetService("Debris"):AddItem(defence, 0.1)
  984. end
  985. else
  986. if beserk == true then
  987. v.Humanoid.Health = 0
  988. end
  989. if math.random(1,100) < critrate+1 then
  990. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  991. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  992. else
  993. v.Humanoid.Health = v.Humanoid.Health - dmg
  994. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  995. end
  996. local defence = Instance.new("BoolValue",v)
  997. defence.Name = ("HitBy"..Player.Name)
  998. game:GetService("Debris"):AddItem(defence, 0.1)
  999. end
  1000. end
  1001. end
  1002. end
  1003. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1004. end
  1005. end
  1006. end
  1007. if v.ClassName == "Part" then
  1008. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1009. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015.  
  1016. function AoEStun(POS,RANGE,LAST,TYPE)
  1017. for i,v in ipairs(workspace:GetChildren()) do
  1018. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1019. local body = v:GetChildren()
  1020. for part = 1, #body do
  1021. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1022. if(body[part].Position - POS).Magnitude < RANGE then
  1023. if v.ClassName == "Model" then
  1024. if v:FindFirstChild("Humanoid") then
  1025. if v.Humanoid.Health ~= 0 then
  1026. if TYPE == "Stun" then
  1027. Stun(v.Humanoid,LAST)
  1028. elseif TYPE == "Freeze" then
  1029. Freeze(v.Humanoid,LAST)
  1030. end
  1031. local defence = Instance.new("BoolValue",v)
  1032. defence.Name = ("StunnedBy"..Player.Name)
  1033. game:GetService("Debris"):AddItem(defence, 0.1)
  1034. end
  1035. end
  1036. end
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042. end
  1043.  
  1044. function Warp(Victim)
  1045. print("Warping "..Victim.Name.."...")
  1046. Victim.Anchored = true
  1047. coroutine.resume(coroutine.create(function()
  1048. local GUI,GUI2 = CreateGUICircle(Victim)
  1049. CreateSound("1208650519", Victim, 10, 1)
  1050. for i = 1, 200 do
  1051. Swait()
  1052. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  1053. GUI2.Rotation = GUI2.Rotation + 2
  1054. end
  1055. CastWarpOutlines(Victim.Parent)
  1056. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1057. CreateSound("1177785010", Victim, 10, 1)
  1058. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1059. if HUMANOID ~= nil then
  1060. local dmg = MRANDOM(75,95)
  1061. HUMANOID.Health = HUMANOID.Health - dmg
  1062. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1063. end
  1064. for i = 1, 50 do
  1065. Swait()
  1066. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1067. GUI2.Rotation = GUI2.Rotation - 8
  1068. end
  1069. Victim.Anchored = false
  1070. GUI:remove()
  1071. end))
  1072. end
  1073.  
  1074. function Stun(HUMANOID,LAST)
  1075. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1076. HUMANOID.PlatformStand = true
  1077. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1078. defence.Name = ("StunnedBy"..Player.Name)
  1079. game:GetService("Debris"):AddItem(defence, LAST)
  1080. if HUMANOID.Parent:FindFirstChild("Head") then
  1081. StatLabel("Shock", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1082. end
  1083. coroutine.resume(coroutine.create(function()
  1084. Swait(LAST*100)
  1085. HUMANOID.PlatformStand = false
  1086. end))
  1087. end
  1088. end
  1089.  
  1090. function Freeze(HUMANOID,LAST)
  1091. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1092. local q = HUMANOID.Parent:GetChildren()
  1093. for i = 1, #q do
  1094. local bob = q[i]
  1095. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1096. if bob.Transparency < 1 then
  1097. bob.Anchored = true
  1098. local icelayer = bob:Clone()
  1099. icelayer.Parent = bob
  1100. icelayer.Material = "Ice"
  1101. icelayer.CanCollide = false
  1102. icelayer.BrickColor = BRICKC"Steel blue"
  1103. icelayer.Transparency = 0.5
  1104. icelayer.CFrame = bob.CFrame
  1105. icelayer.Name = "Ice"
  1106. icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1)
  1107. if icelayer:FindFirstChildOfClass("Decal") then
  1108. icelayer:FindFirstChildOfClass("Decal"):remove()
  1109. end
  1110. end
  1111. end
  1112. end
  1113. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1114. defence.Name = ("StunnedBy"..Player.Name)
  1115. game:GetService("Debris"):AddItem(defence, LAST)
  1116. if HUMANOID.Parent:FindFirstChild("Head") then
  1117. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Frozen!", C3(0.3, 0.3, 0.3))
  1118. end
  1119. coroutine.resume(coroutine.create(function()
  1120. Swait(LAST*100)
  1121. local q = HUMANOID.Parent:GetChildren()
  1122. for i = 1, #q do
  1123. local bob = q[i]
  1124. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1125. if bob.Transparency < 1 then
  1126. bob.Anchored = false
  1127. bob.Ice:remove()
  1128. end
  1129. end
  1130. end
  1131. end))
  1132. end
  1133. end
  1134.  
  1135. function killnearest(position,range,maxstrength)
  1136. for i,v in ipairs(workspace:GetChildren()) do
  1137. local body = v:GetChildren()
  1138. for part = 1, #body do
  1139. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1140. if(body[part].Position - position).Magnitude < range then
  1141. table.insert(Effects2,{body[part],"Evaporate",0.005,2,2,2,2})
  1142. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1143. end
  1144. end
  1145. end
  1146. if v.ClassName == "Part" then
  1147. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1148. table.insert(Effects2,{v,"Evaporate",0.005,2,2,2,2})
  1149. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1150. end
  1151. end
  1152. end
  1153. end
  1154.  
  1155. --//=================================\\
  1156. --|| ATTACK FUNCTIONS AND STUFF
  1157. --\\=================================//
  1158.  
  1159. function Stance1()
  1160. VALUE1 = 1
  1161. SKILL1TEXT.Text = "[Z] Turret cannon"
  1162. SKILL2TEXT.Text = "[X] Shield pulse"
  1163. sick.SoundId = "rbxassetid://196739738"
  1164. local wep = Weapon:GetChildren()
  1165. for part = 1, #wep do
  1166. if wep[part].ClassName == "Part" then
  1167. local P = wep[part]
  1168. if P.Name == "01-Type" then
  1169. P.Material = "Granite"
  1170. P.BrickColor = BRICKC"Pearl"
  1171. elseif P.Name == "02-Type" then
  1172. P.Material = "Metal"
  1173. P.BrickColor = BRICKC"Pearl"
  1174. elseif P.Name == "03-Type" then
  1175. P.Material = "Metal"
  1176. P.BrickColor = BRICKC"Really black"
  1177. elseif P.Name == "04-Type" then
  1178. P.Material = "Neon"
  1179. P.BrickColor = BRICKC"Pearl"
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. function Stance2()
  1186. VALUE1 = 2
  1187. SKILL1TEXT.Text = "[Z] Fireball"
  1188. SKILL2TEXT.Text = "[X] Fire field"
  1189. sick.SoundId = "rbxassetid://253050461"
  1190. local wep = Weapon:GetChildren()
  1191. for part = 1, #wep do
  1192. if wep[part].ClassName == "Part" then
  1193. local P = wep[part]
  1194. if P.Name == "01-Type" then
  1195. P.Material = "Granite"
  1196. P.BrickColor = BRICKC"Deep orange"
  1197. elseif P.Name == "02-Type" then
  1198. P.Material = "Metal"
  1199. P.BrickColor = BRICKC"Maroon"
  1200. elseif P.Name == "03-Type" then
  1201. P.Material = "Metal"
  1202. P.BrickColor = BRICKC"Really black"
  1203. elseif P.Name == "04-Type" then
  1204. P.Material = "Neon"
  1205. P.BrickColor = BRICKC"CGA brown"
  1206. end
  1207. end
  1208. end
  1209. end
  1210.  
  1211. function Stance3()
  1212. VALUE1 = 3
  1213. SKILL1TEXT.Text = "[Z] Icicle storm"
  1214. SKILL2TEXT.Text = "[X] Frost breath"
  1215. sick.SoundId = "rbxassetid://306681534"
  1216. local wep = Weapon:GetChildren()
  1217. for part = 1, #wep do
  1218. if wep[part].ClassName == "Part" then
  1219. local P = wep[part]
  1220. if P.Name == "01-Type" then
  1221. P.Material = "Marble"
  1222. P.BrickColor = BRICKC"Medium stone grey"
  1223. elseif P.Name == "02-Type" then
  1224. P.Material = "Neon"
  1225. P.BrickColor = BRICKC"Cyan"
  1226. elseif P.Name == "03-Type" then
  1227. P.Material = "Metal"
  1228. P.BrickColor = BRICKC"Cyan"
  1229. elseif P.Name == "04-Type" then
  1230. P.Material = "Ice"
  1231. P.BrickColor = BRICKC"Steel blue"
  1232. end
  1233. end
  1234. end
  1235. end
  1236.  
  1237. function Stance4()
  1238. VALUE1 = 4
  1239. SKILL1TEXT.Text = "[Z] Shriek"
  1240. SKILL2TEXT.Text = "[X] Bloodbath"
  1241. sick.SoundId = "rbxassetid://866334508"
  1242. local wep = Weapon:GetChildren()
  1243. for part = 1, #wep do
  1244. if wep[part].ClassName == "Part" then
  1245. local P = wep[part]
  1246. if P.Name == "01-Type" then
  1247. P.Material = "Cobblestone"
  1248. P.BrickColor = BRICKC"Really black"
  1249. elseif P.Name == "02-Type" then
  1250. P.Material = "Metal"
  1251. P.BrickColor = BRICKC"Maroon"
  1252. elseif P.Name == "03-Type" then
  1253. P.Material = "Metal"
  1254. P.BrickColor = BRICKC"Black"
  1255. elseif P.Name == "04-Type" then
  1256. P.Material = "Neon"
  1257. P.BrickColor = BRICKC"Really red"
  1258. end
  1259. end
  1260. end
  1261. end
  1262.  
  1263. function Stance5()
  1264. VALUE1 = 5
  1265. SKILL1TEXT.Text = "[Z] Rock throw"
  1266. SKILL2TEXT.Text = "[X] Earth tremor"
  1267. sick.SoundId = "rbxassetid://395520245"
  1268. local wep = Weapon:GetChildren()
  1269. for part = 1, #wep do
  1270. if wep[part].ClassName == "Part" then
  1271. local P = wep[part]
  1272. if P.Name == "01-Type" then
  1273. P.Material = "Cobblestone"
  1274. P.BrickColor = BRICKC"Rust"
  1275. elseif P.Name == "02-Type" then
  1276. P.Material = "Cobblestone"
  1277. P.BrickColor = BRICKC"CGA brown"
  1278. elseif P.Name == "03-Type" then
  1279. P.Material = "Marble"
  1280. P.BrickColor = BRICKC"Black"
  1281. elseif P.Name == "04-Type" then
  1282. P.Material = "Slate"
  1283. P.BrickColor = BRICKC"Pine cone"
  1284. end
  1285. end
  1286. end
  1287. end
  1288.  
  1289. function Stance6()
  1290. VALUE1 = 6
  1291. SKILL1TEXT.Text = "[Z] Radiant void"
  1292. SKILL2TEXT.Text = "[X] Void warp"
  1293. sick.SoundId = "rbxassetid://601021377"
  1294. local wep = Weapon:GetChildren()
  1295. for part = 1, #wep do
  1296. if wep[part].ClassName == "Part" then
  1297. local P = wep[part]
  1298. if P.Name == "01-Type" then
  1299. P.Material = "Granite"
  1300. P.BrickColor = BRICKC"Royal purple"
  1301. elseif P.Name == "02-Type" then
  1302. P.Material = "Slate"
  1303. P.BrickColor = BRICKC"Really black"
  1304. elseif P.Name == "03-Type" then
  1305. P.Material = "Metal"
  1306. P.BrickColor = BRICKC"Black"
  1307. elseif P.Name == "04-Type" then
  1308. P.Material = "Neon"
  1309. P.BrickColor = BRICKC"Royal purple"
  1310. end
  1311. end
  1312. end
  1313. end
  1314.  
  1315. function Stance7()
  1316. VALUE1 = 7
  1317. SKILL1TEXT.Text = "[Z] Divine glow"
  1318. SKILL2TEXT.Text = "[X] Divine evaporation"
  1319. sick.SoundId = "rbxassetid://965804171"
  1320. local wep = Weapon:GetChildren()
  1321. for part = 1, #wep do
  1322. if wep[part].ClassName == "Part" then
  1323. local P = wep[part]
  1324. if P.Name == "01-Type" then
  1325. P.Material = "Neon"
  1326. P.BrickColor = BRICKC"Stone grey"
  1327. elseif P.Name == "02-Type" then
  1328. P.Material = "Granite"
  1329. P.BrickColor = BRICKC"Gold"
  1330. elseif P.Name == "03-Type" then
  1331. P.Material = "Metal"
  1332. P.BrickColor = BRICKC"Gold"
  1333. elseif P.Name == "04-Type" then
  1334. P.Material = "Granite"
  1335. P.BrickColor = BRICKC"New Yeller"
  1336. end
  1337. end
  1338. end
  1339. end
  1340.  
  1341. function Stance8()
  1342. VALUE1 = 8
  1343. SKILL1TEXT.Text = "[Z] Leaf Storm"
  1344. SKILL2TEXT.Text = "[X] Leaf Field"
  1345. sick.SoundId = "rbxassetid://630020632"
  1346. local wep = Weapon:GetChildren()
  1347. for part = 1, #wep do
  1348. if wep[part].ClassName == "Part" then
  1349. local P = wep[part]
  1350. if P.Name == "01-Type" then
  1351. P.Material = "Granite"
  1352. P.BrickColor = BRICKC"1020"
  1353. elseif P.Name == "02-Type" then
  1354. P.Material = "Slate"
  1355. P.BrickColor = BRICKC"Really black"
  1356. elseif P.Name == "03-Type" then
  1357. P.Material = "Metal"
  1358. P.BrickColor = BRICKC"Shamrock"
  1359. elseif P.Name == "04-Type" then
  1360. P.Material = "Neon"
  1361. P.BrickColor = BRICKC"1020"
  1362. end
  1363. end
  1364. end
  1365. end
  1366.  
  1367. function Stance9()
  1368. VALUE1 = 9
  1369. SKILL1TEXT.Text = "[Z] Meteor"
  1370. SKILL2TEXT.Text = "[X] Selfexplosion"
  1371. sick.SoundId = "rbxassetid://1384301003"
  1372. local wep = Weapon:GetChildren()
  1373. for part = 1, #wep do
  1374. if wep[part].ClassName == "Part" then
  1375. local P = wep[part]
  1376. if P.Name == "01-Type" then
  1377. P.Material = "Granite"
  1378. P.BrickColor = BRICKC"Really black"
  1379. elseif P.Name == "02-Type" then
  1380. P.Material = "Neon"
  1381. P.BrickColor = BRICKC"Toothpaste"
  1382. elseif P.Name == "03-Type" then
  1383. P.Material = "Metal"
  1384. P.BrickColor = BRICKC"Really black"
  1385. elseif P.Name == "04-Type" then
  1386. P.Material = "Neon"
  1387. P.BrickColor = BRICKC"Toothpaste"
  1388. end
  1389. end
  1390. end
  1391. end
  1392.  
  1393.  
  1394. function createfireball(size,explosionsize,pos,velocity)
  1395. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1396. local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  1397. local FIREBALL = IT("Part",Effects)
  1398. FIREBALL.Shape = "Ball"
  1399. FIREBALL.Size = VT(size,size,size)
  1400. FIREBALL.Material = "Neon"
  1401. FIREBALL.CFrame = CF(pos)
  1402. FIREBALL.Transparency = 1
  1403. local bv = Instance.new("BodyVelocity")
  1404. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1405. bv.velocity = velocity
  1406. bv.Parent = FIREBALL
  1407. bv.Name = "MOVE"
  1408. local HIT = false
  1409. local harm = FIREBALL.Touched:Connect(function(hit)
  1410. if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  1411. HIT = true
  1412. coroutine.resume(coroutine.create(function()
  1413. FIREBALL.Anchored = true
  1414. FIREBALL.CanCollide = false
  1415. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  1416. AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true)
  1417. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0)
  1418. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0)
  1419. Swait(250)
  1420. FIREBALL:remove()
  1421. end))
  1422. end
  1423. end)
  1424. coroutine.resume(coroutine.create(function()
  1425. repeat
  1426. Swait()
  1427. MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0)
  1428. until HIT == true
  1429. end))
  1430. return FIREBALL
  1431. end
  1432.  
  1433. function AttackTemplate()
  1434. ATTACK = true
  1435. Rooted = false
  1436. for i=0, 1, 0.1 / Animation_Speed do
  1437. Swait()
  1438. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1442. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1443. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1444. end
  1445. ATTACK = false
  1446. Rooted = false
  1447. end
  1448.  
  1449. local asd = Instance.new("ParticleEmitter")
  1450. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1451. asd.LightEmission = .1
  1452. asd.Size = NumberSequence.new(0.2)
  1453. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1454. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1455. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1456. asd.Transparency = bbb
  1457. asd.Size = aaa
  1458. asd.ZOffset = .9
  1459. asd.Acceleration = Vector3.new(0, -15, 0)
  1460. asd.LockedToPart = false
  1461. asd.EmissionDirection = "Back"
  1462. asd.Lifetime = NumberRange.new(1, 2)
  1463. asd.Rotation = NumberRange.new(-100, 100)
  1464. asd.RotSpeed = NumberRange.new(-100, 100)
  1465. asd.Speed = NumberRange.new(25,35)
  1466. asd.Enabled = false
  1467. asd.VelocitySpread = 15
  1468.  
  1469. function getbloody(victim,amount)
  1470. local PART = IT("Part",Effects)
  1471. PART.Transparency = 1
  1472. PART.Size = victim.Size
  1473. PART.Anchored = true
  1474. PART.CanCollide = false
  1475. PART.CFrame = CF(victim.Position,Torso.Position)
  1476. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1477. Debris:AddItem(PART,5)
  1478. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1479. local prtcl = asd:Clone()
  1480. prtcl.Parent = PART
  1481. prtcl:Emit(amount*10)
  1482. end
  1483.  
  1484. function CreateMagicCircle()
  1485. local sinkhole = IT("Part")
  1486. sinkhole.Size = VT(0,0,0)
  1487. sinkhole.Parent = Effects
  1488. sinkhole.Material = "Neon"
  1489. sinkhole.Color = C3(0,0,0)
  1490. sinkhole.Anchored = true
  1491. sinkhole.CanCollide = false
  1492. sinkhole.Transparency = 1
  1493. local decal = IT("Decal",sinkhole)
  1494. decal.Face = "Top"
  1495. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1496. local decal2 = IT("Decal",sinkhole)
  1497. decal2.Face = "Bottom"
  1498. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1499. return sinkhole
  1500. end
  1501.  
  1502. function CreateLeafMagicCircle()
  1503. local sinkhole = IT("Part")
  1504. sinkhole.Size = VT(0,0,0)
  1505. sinkhole.Parent = Effects
  1506. sinkhole.Material = "Neon"
  1507. sinkhole.Color = C3(0,0,0)
  1508. sinkhole.Anchored = true
  1509. sinkhole.CanCollide = false
  1510. sinkhole.Transparency = 1
  1511. local decal = IT("Decal",sinkhole)
  1512. decal.Face = "Top"
  1513. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  1514. local decal2 = IT("Decal",sinkhole)
  1515. decal2.Face = "Bottom"
  1516. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  1517. return sinkhole
  1518. end
  1519.  
  1520. function CreateGUICircle(TARGET)
  1521. local GUI = Instance.new("BillboardGui",Character)
  1522. GUI.Size = UDim2.new(0,0,0,0)
  1523. GUI.Adornee = TARGET
  1524. local GUI2 = IT("ImageLabel",GUI)
  1525. GUI2.BackgroundTransparency = 1
  1526. GUI2.BorderSizePixel = 0
  1527. GUI2.Size = UDim2.new(1,0,1,0)
  1528. GUI2.SizeConstraint = "RelativeYY"
  1529. GUI.AlwaysOnTop = true
  1530. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1531. return GUI,GUI2
  1532. end
  1533.  
  1534. function CastWarpOutlines(TARGET)
  1535. coroutine.resume(coroutine.create(function()
  1536. local T = TARGET:GetChildren()
  1537. for i = 1, # T do
  1538. local child = T[i]
  1539. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1540. local clone = child:Clone()
  1541. clone.Parent = Effects
  1542. clone.Anchored = true
  1543. clone.CanCollide = false
  1544. clone:ClearAllChildren()
  1545. clone.CFrame = child.CFrame
  1546. if clone.Name == "Head" then
  1547. if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  1548. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1549. end
  1550. end
  1551. if clone.ClassName == "MeshPart" then
  1552. clone.TextureID = ""
  1553. end
  1554. clone.BrickColor = BRICKC"Black"
  1555. clone.Material = "Neon"
  1556. coroutine.resume(coroutine.create(function()
  1557. for i = 1, 200 do
  1558. Swait()
  1559. clone.Transparency = clone.Transparency + 0.005
  1560. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1561. end
  1562. clone:remove()
  1563. end))
  1564. end
  1565. end
  1566. end))
  1567. end
  1568.  
  1569. --Z MOVES--
  1570.  
  1571. function TurretCannon()
  1572. ATTACK = true
  1573. Rooted = false
  1574. for i=0, 2, 0.1 / Animation_Speed do
  1575. Swait()
  1576. turnto(Mouse.Hit.p)
  1577. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1578. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1579. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1580. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1581. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1582. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1583. end
  1584. Rooted = true
  1585. local TURRETS = {RightArm,LeftArm}
  1586. local soundeffect = IT("Sound",Torso)
  1587. soundeffect.SoundId = "rbxassetid://337638956"
  1588. soundeffect.Looped = true
  1589. soundeffect.Volume = 1
  1590. soundeffect.Playing = true
  1591. repeat
  1592. Swait()
  1593. turnto(Mouse.Hit.p)
  1594. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  1595. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"New Yeller",VT(0.3,0.3,0.3),0)
  1596. local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  1597. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1598. local bv = Instance.new("BodyVelocity")
  1599. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1600. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  1601. bv.Parent = BULLET
  1602. bv.Name = "PROJECTILEVELOCITY"
  1603. MakeForm(BULLET,"Ball")
  1604. local BOO = BULLET.Touched:Connect(function(hit)
  1605. dealdamage(hit,5,8,5,false,2,3)
  1606. end)
  1607. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  1608. until KEYHOLD == false
  1609. soundeffect:remove()
  1610. ATTACK = false
  1611. Rooted = false
  1612. end
  1613.  
  1614. function Meteor()
  1615. ATTACK = true
  1616. Rooted = false
  1617. for i=0, 2, 0.1 / Animation_Speed do
  1618. Swait()
  1619. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1620. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1623. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1624. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1625. end
  1626. local ROCK = IT("Part",Effects)
  1627. ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  1628. ROCK.Size = VT(25,25,25)
  1629. ROCK.Material = "Neon"
  1630. ROCK.Transparency = 1
  1631. ROCK.BrickColor = BRICKC"Crimson"
  1632. local WELD = weldBetween(RightArm,ROCK)
  1633. ROCK.CanCollide = false
  1634. for i = 1, 10 do
  1635. Swait()
  1636. ROCK.Transparency = ROCK.Transparency - 0.1
  1637. end
  1638. for i=0, 0.2, 0.1 / Animation_Speed do
  1639. Swait()
  1640. turnto(Mouse.Hit.p)
  1641. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1642. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1643. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1644. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1645. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1646. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1647. end
  1648. WELD:remove()
  1649. coroutine.resume(coroutine.create(function()
  1650. local POS = ROCK.Position
  1651. ROCK.Anchored = true
  1652. local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  1653. local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  1654. for i = 0, 1, 0.07 do
  1655. Swait()
  1656. ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  1657. end
  1658. ROCK.Anchored = false
  1659. ROCK.CanCollide = true
  1660. CreateWave(VT(40,40,40),25,CF(ROCK.Position),false,0,"Really black",VT(60,60,60),0.5)
  1661. AoEDamage(ROCK.Position,9999,9999,9999,9999,false,12,3,true)
  1662. Swait(500)
  1663. ROCK.Anchored = true
  1664. ROCK.CanCollide = false
  1665. for i = 1, 10 do
  1666. Swait()
  1667. ROCK.Transparency = ROCK.Transparency + 0.5
  1668. end
  1669. ROCK:remove()
  1670. end))
  1671. for i=0, 1.6, 0.1 / Animation_Speed do
  1672. Swait()
  1673. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1674. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1675. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1676. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1677. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1678. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1679. end
  1680. ATTACK = false
  1681. Rooted = false
  1682. end
  1683.  
  1684. function Fireball()
  1685. ATTACK = true
  1686. Rooted = true
  1687. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1688. CreateSound("169445572", RightArm, 2, 1.6)
  1689. for i=0, 5, 0.1 / Animation_Speed2 do
  1690. Swait()
  1691. MagicSphere(VT(2,2,2),35,RightArm.CFrame*CF(0,-1,0),FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-2/35,-2/35,-2/35),0.6)
  1692. turnto(Mouse.Hit.p)
  1693. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1694. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1695. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1697. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1698. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1699. end
  1700. local aimpos = Mouse.Hit.p
  1701. createfireball(2,8,RightArm.CFrame * CF(0,-2,0).p,CF(RightArm.CFrame * CF(0,-2,0).p,aimpos).lookVector*100)
  1702. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1703. Swait()
  1704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1708. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1710. end
  1711. ATTACK = false
  1712. Rooted = false
  1713. end
  1714.  
  1715. function IcicleStorm()
  1716. ATTACK = true
  1717. Rooted = false
  1718. local BulletHolder = IT("Folder",Weapon)
  1719. BulletHolder.Name = "Bullets"
  1720. game:GetService("Debris"):AddItem(BulletHolder, 30)
  1721. for i=0, 3, 0.1 / Animation_Speed do
  1722. Swait()
  1723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1729. end
  1730. CreateSound("333476017", Torso, 10, 1)
  1731. for i = 1, 25 do
  1732. Swait()
  1733. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1734. coroutine.resume(coroutine.create(function()
  1735. local gem = IT("Part",BulletHolder)
  1736. gem.Size = VT(0.2,0.2,0.2)
  1737. gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(25,50),math.random(-25,25))
  1738. gem.Anchored = true
  1739. gem.BrickColor = BRICKC"Steel blue"
  1740. local Cys = Instance.new("SpecialMesh", gem)
  1741. Cys.MeshType = "FileMesh"
  1742. Cys.MeshId = "rbxassetid://9756362"
  1743. Cys.Scale = Vector3.new(2,2,2)
  1744. end))
  1745. end
  1746. local IceHitSounds = {
  1747. "338594737",
  1748. "338594687",
  1749. "338594666",
  1750. "338594648",
  1751. "338594606",
  1752. "338594574",
  1753. "338594556",
  1754. "338594524",
  1755. "338594467"
  1756. }
  1757. coroutine.resume(coroutine.create(function()
  1758. q = BulletHolder:GetChildren()
  1759. for i = 1, #q do
  1760. Swait()
  1761. turnto(Mouse.Hit.p)
  1762. local bullet = q[i]
  1763. local bv = Instance.new("BodyVelocity")
  1764. bullet.Mesh.Scale = VT(2,2,5)
  1765. bullet.CFrame = CF(bullet.Position,Mouse.Hit.p)
  1766. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1767. bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*500
  1768. bv.Parent = bullet
  1769. bv.Name = "DASH"
  1770. bullet.Anchored = false
  1771. local paw = bullet.Touched:Connect(function(hit)
  1772. if bullet.Anchored == false then
  1773. CreateSound(IceHitSounds[math.random(1, #IceHitSounds)], bullet, 3, 1)
  1774. local cframe = bullet.CFrame
  1775. bullet.Anchored = true
  1776. table.insert(Effects2,{bullet,"Block1",0.015,0,0,0,2})
  1777. AoEDamage(bullet.Position,5,15,15,0,false,5,3,false)
  1778. if MRANDOM(1,45) == 1 then
  1779. AoEStun(bullet.Position,5,5,"Freeze")
  1780. end
  1781. end
  1782. end)
  1783. end
  1784. end))
  1785. ATTACK = false
  1786. Rooted = false
  1787. end
  1788.  
  1789. function Shriek()
  1790. ATTACK = true
  1791. Rooted = false
  1792. for i=0, 1, 0.1 / Animation_Speed do
  1793. Swait()
  1794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  1799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 , -0.8, -0.2) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1800. end
  1801. Rooted = true
  1802. CreateSound("439369949", Effects, 10, 1)
  1803. for i=0, 3, 0.1 / Animation_Speed do
  1804. Swait()
  1805. MagicSphere(VT(2,2,2),5,Head.CFrame,"Pearl",VT(35,35,35),0.97)
  1806. AoEDamage(Head.Position,65,3,5,4,false,12,3,false)
  1807. AoEStun(Head.Position,65,2,"Stun")
  1808. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1809. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)),1 / Animation_Speed)
  1810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1811. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1812. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 1 / Animation_Speed)
  1813. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.2) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1814. end
  1815. ATTACK = false
  1816. Rooted = false
  1817. end
  1818.  
  1819. function clerp(a, b, t)
  1820. return a:lerp(b, t)
  1821. end
  1822.  
  1823. function newBezier(startpos, pos2, pos3, endpos, t)
  1824. local A = clerp(startpos, pos2, t)
  1825. local B = clerp(pos2, pos3, t)
  1826. local C = clerp(pos3, endpos, t)
  1827. local lerp1 = clerp(A, B, t)
  1828. local lerp2 = clerp(B, C, t)
  1829. local cubic = clerp(lerp1, lerp2, t)
  1830. return cubic
  1831. end
  1832.  
  1833. function RockThrow()
  1834. ATTACK = true
  1835. Rooted = false
  1836. for i=0, 2, 0.1 / Animation_Speed do
  1837. Swait()
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1840. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1841. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1842. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1843. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1844. end
  1845. local ROCK = IT("Part",Effects)
  1846. ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  1847. ROCK.Size = VT(1.2,1.2,1.2)
  1848. ROCK.Material = "Cobblestone"
  1849. ROCK.Transparency = 1
  1850. ROCK.BrickColor = BRICKC"Pine Cone"
  1851. local WELD = weldBetween(RightArm,ROCK)
  1852. ROCK.CanCollide = false
  1853. for i = 1, 10 do
  1854. Swait()
  1855. ROCK.Transparency = ROCK.Transparency - 0.1
  1856. end
  1857. for i=0, 0.2, 0.1 / Animation_Speed do
  1858. Swait()
  1859. turnto(Mouse.Hit.p)
  1860. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1864. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1865. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1866. end
  1867. WELD:remove()
  1868. coroutine.resume(coroutine.create(function()
  1869. local POS = ROCK.Position
  1870. ROCK.Anchored = true
  1871. local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  1872. local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  1873. for i = 0, 1, 0.07 do
  1874. Swait()
  1875. ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  1876. end
  1877. ROCK.Anchored = false
  1878. ROCK.CanCollide = true
  1879. CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Pearl",VT(1,0.2,1),0.5)
  1880. AoEDamage(ROCK.Position,5,35,55,4,false,12,3,true)
  1881. Swait(500)
  1882. ROCK.Anchored = true
  1883. ROCK.CanCollide = false
  1884. for i = 1, 10 do
  1885. Swait()
  1886. ROCK.Transparency = ROCK.Transparency + 0.1
  1887. end
  1888. ROCK:remove()
  1889. end))
  1890. for i=0, 1.6, 0.1 / Animation_Speed do
  1891. Swait()
  1892. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1894. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1895. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1896. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1897. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1898. end
  1899. ATTACK = false
  1900. Rooted = false
  1901. end
  1902.  
  1903. function RadiantVoid()
  1904. ATTACK = true
  1905. Rooted = true
  1906. for i=0, 1, 0.1 / Animation_Speed do
  1907. Swait()
  1908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1914. end
  1915. local RING = CreateMagicCircle()
  1916. RING.CFrame = CF(RootPart.Position)*CF(0,-2.8,0)
  1917. CreateSound("1208650519", Torso, 10, 1)
  1918. for i = 1, 200 do
  1919. Swait()
  1920. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/15),RAD(0))
  1921. RING.Size = RING.Size + VT(1,0,1)
  1922. end
  1923. AoEWarp(RING.Position,RING.Size.X/2)
  1924. coroutine.resume(coroutine.create(function()
  1925. Swait(75)
  1926. for i = 1, 50 do
  1927. Swait()
  1928. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(-i/2),RAD(0))
  1929. RING.Size = RING.Size - VT(4,0,4)
  1930. end
  1931. RING:remove()
  1932. end))
  1933. ATTACK = false
  1934. Rooted = false
  1935. end
  1936.  
  1937. function DivineGlow()
  1938. ATTACK = true
  1939. Rooted = true
  1940. for i=0, 2, 0.1 / Animation_Speed do
  1941. Swait()
  1942. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,0.5),0.5)
  1943. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1944. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1945. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1946. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1947. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1948. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1949. end
  1950. CreateSound("3264923", Torso, 10, 3)
  1951. coroutine.resume(coroutine.create(function()
  1952. local FRAME = Torso.CFrame
  1953. MagicSphere(VT(3,3,3),450,FRAME,"New Yeller",VT(-3/550,-3/550,-3/550),0)
  1954. for i = 1, 450 do
  1955. Swait()
  1956. MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"New Yeller",VT(0.001,0.001,2.5),0.5)
  1957. AoEDamage(FRAME.p,35,3,5,-5,false,12,3,false)
  1958. end
  1959. MagicSphere(VT(6,6,6),70,FRAME,"New Yeller",VT(1,1,1),0)
  1960. MagicSphere(VT(5,5,5),70,FRAME,"Pearl",VT(1,1,1),0.5)
  1961. AoEDamage(FRAME.p,55,45,45,-5,false,2,30,false)
  1962. end))
  1963. ATTACK = false
  1964. Rooted = false
  1965. end
  1966.  
  1967.  
  1968. --X MOVES--
  1969.  
  1970. function ShieldPulse()
  1971. ATTACK = true
  1972. Rooted = false
  1973. for i=0, 1, 0.1 / Animation_Speed do
  1974. Swait()
  1975. turnto(Mouse.Hit.p)
  1976. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1980. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1982. end
  1983. local shield = IT("Part",Effects)
  1984. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  1985. shield.Size = VT(0.2,0.2,0.2)
  1986. shield.Anchored = true
  1987. shield.Material = "Neon"
  1988. shield.Color = C3(1,1,1)
  1989. shield.Transparency = 0.5
  1990. repeat
  1991. Swait()
  1992. turnto(Mouse.Hit.p)
  1993. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  1994. shield.Size = shield.Size + VT(0.07,0.07,0)
  1995. until KEYHOLD == false
  1996. local bv = Instance.new("BodyVelocity")
  1997. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1998. bv.velocity = RootPart.CFrame.lookVector*300
  1999. bv.Parent = shield
  2000. shield.Anchored = false
  2001. shield.CanCollide = false
  2002. bv.Name = "PROJECTILEVELOCITY"
  2003. local BOO = shield.Touched:Connect(function(hit)
  2004. dealdamage(hit,55,75,5,false,2,3)
  2005. end)
  2006. Debris:AddItem(shield,5)
  2007. ATTACK = false
  2008. Rooted = false
  2009. end
  2010.  
  2011. function FireField()
  2012. ATTACK = true
  2013. Rooted = true
  2014. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2015. Swait()
  2016. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2017. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2020. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2021. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2022. end
  2023. CreateSound("217767125", LeftArm, 10, 1)
  2024. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  2025. coroutine.resume(coroutine.create(function()
  2026. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2027. for i = 1, 450 do
  2028. Swait()
  2029. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2030. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2031. end
  2032. end))
  2033. for i=0, 1.5, 0.1 / Animation_Speed do
  2034. Swait()
  2035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2039. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2041. end
  2042. ATTACK = false
  2043. Rooted = false
  2044. end
  2045.  
  2046. function FrostBreath()
  2047. ATTACK = true
  2048. Rooted = true
  2049. for i=0, 2, 0.1 / Animation_Speed do
  2050. Swait()
  2051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2055. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2057. end
  2058. CreateSound("976606790", Head, 10, 2)
  2059. local IceColors = {"Steel blue","Cyan","Pastel blue-green"}
  2060. for i=0, 4, 0.1 / Animation_Speed do
  2061. Swait()
  2062. for i = 1, 6 do
  2063. AoEStun(Head.CFrame * CF(0,-0.4,-i*3).p,i*3,35,"Freeze")
  2064. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/15,i/10,i/15),0.7)
  2065. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/10,i/10,i/10),0.7)
  2066. end
  2067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2073. end
  2074. ATTACK = false
  2075. Rooted = false
  2076. end
  2077.  
  2078. function Bloodbath()
  2079. local HASSTARTED = false
  2080. local target = nil
  2081. local targettorso = nil
  2082. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2083. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2084. target = Mouse.Target.Parent.Humanoid
  2085. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2086. end
  2087. end
  2088. if target ~= nil then
  2089. CreateSound("305685800", Head, 10, 1)
  2090. targettorso.Anchored = true
  2091. HASSTARTED = true
  2092. ATTACK = true
  2093. Rooted = true
  2094. CastWarpOutlines(Character)
  2095. RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  2096. coroutine.resume(coroutine.create(function()
  2097. Swait(10*100)
  2098. if HASSTARTED == true then
  2099. ATTACK = false
  2100. Rooted = false
  2101. UNANCHOR = true
  2102. end
  2103. end))
  2104. UNANCHOR = false
  2105. RootPart.Anchored = true
  2106. coroutine.resume(coroutine.create(function()
  2107. for i=0, 3, 0.1 / Animation_Speed do
  2108. Swait()
  2109. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  2110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
  2111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  2112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  2113. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2114. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2115. end
  2116. for i=0, 3, 0.1 / Animation_Speed do
  2117. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  2118. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2119. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2120. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2121. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2122. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2123. end
  2124. getbloody(targettorso,25)
  2125. Swait(5)
  2126. targettorso:remove()
  2127. Swait(15)
  2128. ATTACK = false
  2129. Rooted = false
  2130. HASSTARTED = false
  2131. UNANCHOR = true
  2132. end))
  2133. end
  2134. end
  2135.  
  2136. function EarthTremor()
  2137. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2138. if HITFLOOR ~= nil then
  2139. ATTACK = true
  2140. Rooted = true
  2141. for i=0, 2, 0.1 / Animation_Speed do
  2142. Swait()
  2143. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2147. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2148. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.3 / Animation_Speed)
  2149. end
  2150. for i=0, 0.3, 0.1 / Animation_Speed do
  2151. Swait()
  2152. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2156. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2158. end
  2159. CreateSound("438666141", RightLeg, 5, 1)
  2160. local sinkhole = IT("Part")
  2161. sinkhole.Size = VT(35,0,35)
  2162. sinkhole.Parent = Effects
  2163. sinkhole.Material = "Neon"
  2164. sinkhole.Color = C3(0,0,0)
  2165. sinkhole.Anchored = true
  2166. sinkhole.CanCollide = false
  2167. sinkhole.Transparency = 1
  2168. local decal = IT("Decal",sinkhole)
  2169. decal.Face = "Top"
  2170. decal.Texture = "http://www.roblox.com/asset/?id=29268434"
  2171. decal.Transparency = 1
  2172. sinkhole.CFrame = CF(RightLeg.Position)*CF(0,-0.75,0)
  2173. AoEDamage(RightLeg.Position,35,15,25,4,false,32,7,true)
  2174. coroutine.resume(coroutine.create(function()
  2175. for i = 1, 5 do
  2176. Swait()
  2177. decal.Transparency = decal.Transparency - 0.2
  2178. end
  2179. Swait(500)
  2180. for i = 1, 5 do
  2181. Swait()
  2182. decal.Transparency = decal.Transparency + 0.2
  2183. end
  2184. sinkhole:remove()
  2185. end))
  2186. for i=0, 1, 0.1 / Animation_Speed do
  2187. Swait()
  2188. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2189. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2190. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2191. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2192. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2193. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2194. end
  2195. ATTACK = false
  2196. Rooted = false
  2197. end
  2198. end
  2199.  
  2200. function VoidWarp()
  2201. local HASSTARTED = false
  2202. local target = nil
  2203. local targettorso = nil
  2204. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2205. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2206. target = Mouse.Target.Parent.Humanoid
  2207. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2208. end
  2209. end
  2210. if target ~= nil then
  2211. ATTACK = true
  2212. Rooted = true
  2213. for i=0, 1.5, 0.1 / Animation_Speed do
  2214. Swait()
  2215. if targettorso ~= nil then
  2216. turnto(targettorso.Position)
  2217. end
  2218. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2219. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2220. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2221. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2222. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2223. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2224. end
  2225. if targettorso ~= nil then
  2226. local GUI,GUI3 = CreateGUICircle(targettorso)
  2227. local GUI2,GUI4 = CreateGUICircle(Torso)
  2228. CreateSound("1208650519", targettorso, 10, 1)
  2229. CreateSound("1208650519", Torso, 10, 1)
  2230. targettorso.Anchored = true
  2231. for i = 1, 200 do
  2232. Swait()
  2233. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  2234. GUI2.Size = GUI.Size
  2235. GUI3.Rotation = GUI3.Rotation + 2
  2236. GUI4.Rotation = GUI4.Rotation - 2
  2237. end
  2238. if targettorso ~= nil then
  2239. CastWarpOutlines(targettorso.Parent)
  2240. CastWarpOutlines(Character)
  2241. local TFrame = Torso.CFrame
  2242. local TTFrame = targettorso.CFrame
  2243. Torso.CFrame = TTFrame
  2244. targettorso.CFrame = TFrame
  2245. local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid")
  2246. local dmg = MRANDOM(75,95)
  2247. HUMANOID.Health = HUMANOID.Health - dmg
  2248. StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  2249. CreateSound("1177785010", targettorso, 10, 1)
  2250. CreateSound("1177785010", Torso, 10, 1)
  2251. HASSTARTED = true
  2252. coroutine.resume(coroutine.create(function()
  2253. for i = 1, 50 do
  2254. Swait()
  2255. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  2256. GUI2.Size = GUI.Size
  2257. GUI3.Rotation = GUI3.Rotation - 8
  2258. GUI4.Rotation = GUI4.Rotation + 8
  2259. end
  2260. GUI:remove()
  2261. GUI2:remove()
  2262. targettorso.Anchored = false
  2263. end))
  2264. end
  2265. if HASSTARTED == false then
  2266. GUI:remove()
  2267. GUI2:remove()
  2268. end
  2269. end
  2270. ATTACK = false
  2271. Rooted = false
  2272. end
  2273. end
  2274.  
  2275. function DivineEvaporation()
  2276. ATTACK = true
  2277. Rooted = false
  2278. for i=0, 6, 0.1 / Animation_Speed do
  2279. Swait()
  2280. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,1),0)
  2281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2287. end
  2288. CreateSound("3264923", Torso, 10, 1)
  2289. for i = 1, 50 do
  2290. MagicSphere(VT(0.2,0.2,0.2),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.005,0.005,0.1),0)
  2291. end
  2292. MagicSphere(VT(20,20,20),50,Torso.CFrame,"New Yeller",VT(0,0,0),0.9)
  2293. killnearest(Torso.Position,15,5)
  2294. ATTACK = false
  2295. Rooted = false
  2296. end
  2297.  
  2298. function Selfexplosion()
  2299. ATTACK = true
  2300. Rooted = false
  2301. for i=0, 6, 0.1 / Animation_Speed do
  2302. Swait()
  2303. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Toothpaste",VT(0.001,0.001,1),0)
  2304. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2310. end
  2311. CreateSound("3264923", Torso, 10, 1)
  2312. for i = 99, 100 do
  2313. MagicSphere(VT(5,5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really black",VT(0.005,0.005,0.1),0)
  2314. end
  2315. MagicSphere(VT(10,10,10),50,Torso.CFrame,"Really red",VT(0,0,0),0.9)
  2316. killnearest(Torso.Position,1000,10000)
  2317. ATTACK = false
  2318. Rooted = false
  2319. end
  2320.  
  2321. function LeafField()
  2322. ATTACK = true
  2323. Rooted = true
  2324. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2325. Swait()
  2326. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2330. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2332. end
  2333. CreateSound("217767125", LeftArm, 10, 1)
  2334. local FIREBALLCOLORS = {"Lime green", "Mint", "Forest green"}
  2335. coroutine.resume(coroutine.create(function()
  2336. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2337. for i = 1, 450 do
  2338. Swait()
  2339. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2340. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2341. end
  2342. end))
  2343. for i=0, 1.5, 0.1 / Animation_Speed do
  2344. Swait()
  2345. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2346. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2348. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2349. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2350. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2351. end
  2352. ATTACK = false
  2353. Rooted = false
  2354. end
  2355.  
  2356.  
  2357. function LeafStorm()
  2358. ATTACK = true
  2359. ATTACK = true
  2360. Rooted = false
  2361. for i=0, 2, 0.1 / Animation_Speed do
  2362. Swait()
  2363. turnto(Mouse.Hit.p)
  2364. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2366. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2367. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2368. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2369. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2370. end
  2371. Rooted = true
  2372. local TURRETS = {RightArm,LeftArm}
  2373. local soundeffect = IT("Sound",Torso)
  2374. soundeffect.SoundId = "rbxassetid://337638956"
  2375. soundeffect.Looped = true
  2376. soundeffect.Volume = 1
  2377. soundeffect.Playing = true
  2378. repeat
  2379. Swait()
  2380. turnto(Mouse.Hit.p)
  2381. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  2382. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"Shamrock",VT(0.3,0.3,0.3),0)
  2383. local BULLET = CreatePart(3, Effects, "Grass", 0, 0, "Shamrock", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  2384. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  2385. local bv = Instance.new("BodyVelocity")
  2386. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2387. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  2388. bv.Parent = BULLET
  2389. bv.Name = "PROJECTILEVELOCITY"
  2390. MakeForm(BULLET,"Ball")
  2391. local BOO = BULLET.Touched:Connect(function(hit)
  2392. dealdamage(hit,5,8,5,false,2,3)
  2393. end)
  2394. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  2395. until KEYHOLD == false
  2396. soundeffect:remove()
  2397. ATTACK = false
  2398. Rooted = false
  2399. end
  2400.  
  2401.  
  2402. --//=================================\\
  2403. --|| ASSIGN THINGS TO KEYS
  2404. --\\=================================//
  2405.  
  2406. function ChineseEarthquake()
  2407. Rooted = true
  2408. local icri = CreateSound("1177999394", Torso, 10, 1)
  2409. Swait(130)
  2410. local FRAME = Torso.CFrame
  2411. repeat
  2412. Swait()
  2413. Torso.CFrame = FRAME * CF(0,1,0)
  2414. Swait()
  2415. Torso.CFrame = FRAME
  2416. until icri.Playing == false
  2417. Rooted = false
  2418. end
  2419.  
  2420. function MouseDown(Mouse)
  2421. if ATTACK == false then
  2422. end
  2423. end
  2424.  
  2425. function MouseUp(Mouse)
  2426. HOLD = false
  2427. end
  2428.  
  2429. function KeyDown(Key)
  2430. KEYHOLD = true
  2431. if Rooted == false then
  2432. if Key == "z" and ATTACK == false then
  2433. if VALUE1 == 1 then
  2434. TurretCannon()
  2435. elseif VALUE1 == 2 then
  2436. Fireball()
  2437. elseif VALUE1 == 3 then
  2438. IcicleStorm()
  2439. elseif VALUE1 == 4 then
  2440. Shriek()
  2441. elseif VALUE1 == 5 then
  2442. RockThrow()
  2443. elseif VALUE1 == 6 then
  2444. RadiantVoid()
  2445. elseif VALUE1 == 7 then
  2446. DivineGlow()
  2447. elseif VALUE1 == 8 then
  2448. LeafStorm()
  2449. elseif VALUE1 == 9 then
  2450. Meteor()
  2451. end
  2452. end
  2453.  
  2454. if Key == "x" and ATTACK == false then
  2455. if VALUE1 == 1 then
  2456. ShieldPulse()
  2457. elseif VALUE1 == 2 then
  2458. FireField()
  2459. elseif VALUE1 == 3 then
  2460. FrostBreath()
  2461. elseif VALUE1 == 4 then
  2462. Bloodbath()
  2463. elseif VALUE1 == 5 then
  2464. EarthTremor()
  2465. elseif VALUE1 == 6 then
  2466. VoidWarp()
  2467. elseif VALUE1 == 7 then
  2468. DivineEvaporation()
  2469. elseif VALUE1 == 8 then
  2470. LeafField()
  2471. elseif VALUE1 == 9 then
  2472. Selfexplosion()
  2473. end
  2474. end
  2475.  
  2476. if Key == "1" and ATTACK == false then
  2477. Stance1()
  2478. end
  2479.  
  2480. if Key == "2" and ATTACK == false then
  2481. Stance2()
  2482. end
  2483.  
  2484. if Key == "3" and ATTACK == false then
  2485. Stance3()
  2486. end
  2487.  
  2488. if Key == "4" and ATTACK == false then
  2489. Stance4()
  2490. end
  2491.  
  2492. if Key == "5" and ATTACK == false then
  2493. Stance5()
  2494. end
  2495.  
  2496. if Key == "6" and ATTACK == false then
  2497. Stance6()
  2498. end
  2499.  
  2500. if Key == "7" and ATTACK == false then
  2501. Stance7()
  2502. end
  2503.  
  2504. if Key == "9" and ATTACK == false then
  2505. Stance9()
  2506. end
  2507.  
  2508. if Key == "8" and ATTACK == false then
  2509. Stance8()
  2510. end
  2511.  
  2512. if Key == "t" and ATTACK == false and VALUE1 == 5 then
  2513. ChineseEarthquake()
  2514. end
  2515. end
  2516. end
  2517.  
  2518. function KeyUp(Key)
  2519. KEYHOLD = false
  2520. end
  2521.  
  2522. Mouse.Button1Down:connect(function(NEWKEY)
  2523. MouseDown(NEWKEY)
  2524. end)
  2525. Mouse.Button1Up:connect(function(NEWKEY)
  2526. MouseUp(NEWKEY)
  2527. end)
  2528. Mouse.KeyDown:connect(function(NEWKEY)
  2529. KeyDown(NEWKEY)
  2530. end)
  2531. Mouse.KeyUp:connect(function(NEWKEY)
  2532. KeyUp(NEWKEY)
  2533. end)
  2534.  
  2535. --//=================================\\
  2536. --\\=================================//
  2537.  
  2538.  
  2539. function unanchor()
  2540. if UNANCHOR == true then
  2541. g = Character:GetChildren()
  2542. for i = 1, #g do
  2543. if g[i].ClassName == "Part" then
  2544. g[i].Anchored = false
  2545. end
  2546. end
  2547. end
  2548. end
  2549.  
  2550.  
  2551. --//=================================\\
  2552. --|| WRAP THE WHOLE SCRIPT UP
  2553. --\\=================================//
  2554.  
  2555. Humanoid.Changed:connect(function(Jump)
  2556. if Jump == "Jump" and (Disable_Jump == true) then
  2557. Humanoid.Jump = false
  2558. end
  2559. end)
  2560.  
  2561. VALUE1 = 1
  2562. Speed = 25
  2563.  
  2564. while true do
  2565. Swait()
  2566. ANIMATE.Parent = nil
  2567. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2568. IDLEANIMATION:Play()
  2569. SINE = SINE + CHANGE
  2570. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2571. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2572. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2573. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2574. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  2575. if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 and VALUE1 ~= 9 then
  2576. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2577. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2578. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2579. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2580. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2581. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2582. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2583. end
  2584. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2585. ANIM = "Jump"
  2586. if ATTACK == false then
  2587. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2588. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2589. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2590. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2591. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2592. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2593. end
  2594. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2595. ANIM = "Fall"
  2596. if ATTACK == false then
  2597. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2601. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2603. end
  2604. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2605. ANIM = "Idle"
  2606. if ATTACK == false then
  2607. if VALUE1 == 1 then
  2608. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2609. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2610. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2611. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2612. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2613. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2614. elseif VALUE1 == 2 then
  2615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2621. elseif VALUE1 == 3 then
  2622. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2623. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2624. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2625. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2626. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2627. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2628. elseif VALUE1 == 4 then
  2629. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2630. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2631. if MRANDOM(1,15) == 1 then
  2632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2633. end
  2634. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2635. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2636. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2637. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2638. elseif VALUE1 == 5 then
  2639. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2645. elseif VALUE1 == 6 then
  2646. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2647. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2648. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2650. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2651. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2652. elseif VALUE1 == 7 then
  2653. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2655. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2656. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2657. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2658. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2659. elseif VALUE1 == 8 then
  2660. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + -0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2661. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2662. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2663. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2664. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2665. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2666. elseif VALUE1 == 9 then
  2667. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2668. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2669. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2670. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2671. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2672. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2673. end
  2674. end
  2675. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2676. ANIM = "Walk"
  2677. WALK = WALK + 1 / Animation_Speed
  2678. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2679. WALK = 0
  2680. if WALKINGANIM == true then
  2681. WALKINGANIM = false
  2682. elseif WALKINGANIM == false then
  2683. WALKINGANIM = true
  2684. end
  2685. end
  2686. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2687. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2688. if ATTACK == false then
  2689. if VALUE1 < 4 or VALUE1 == 6 then
  2690. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2696. elseif VALUE1 == 4 then
  2697. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2699. if MRANDOM(1,15) == 1 then
  2700. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2701. end
  2702. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2703. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2704. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2705. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2706. elseif VALUE1 == 7 then
  2707. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2708. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2711. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2712. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2713. elseif VALUE1 == 5 then
  2714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2720. elseif VALUE1 == 8 then
  2721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2725. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2727. end
  2728. end
  2729. end
  2730. if #Effects2>0 then
  2731. for e=1,#Effects2 do
  2732. if Effects2[e]~=nil then
  2733. local Thing=Effects2[e]
  2734. if Thing~=nil then
  2735. local Part=Thing[1]
  2736. local Mode=Thing[2]
  2737. local Delay=Thing[3]
  2738. local IncX=Thing[4]
  2739. local IncY=Thing[5]
  2740. local IncZ=Thing[6]
  2741. local Part2=Thing[8]
  2742. if Thing[1].Transparency<=1 then
  2743. if Thing[2]=="Block1" then
  2744. Thing[1].CFrame=Thing[1].CFrame
  2745. Mesh=Thing[1].Mesh
  2746. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2747. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2748. elseif Thing[2]=="Cylinder" then
  2749. Mesh=Thing[1].Mesh
  2750. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2751. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2752. elseif Thing[2]=="Blood" then
  2753. Mesh=Thing[7]
  2754. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2755. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2756. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2757. elseif Thing[2]=="Elec" then
  2758. Mesh=Thing[1].Mesh
  2759. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2760. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2761. elseif Thing[2]=="Disappear" then
  2762. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2763. elseif Thing[2]=="Evaporate" then
  2764. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2765. local C = {-5,-2,2,5}
  2766. MagicSphere(VT(0,0,0),15,CF(Thing[1].CFrame*CF(C[MRANDOM(1,#C)],C[MRANDOM(1,#C)],C[MRANDOM(1,#C)]).p,Thing[1].Position),"New Yeller",VT(0.01,0.01,0.5),0.8)
  2767. end
  2768. else
  2769. Part.Parent=nil
  2770. table.remove(Effects2,e)
  2771. end
  2772. end
  2773. end
  2774. end
  2775. end
  2776. unanchor()
  2777. Humanoid.MaxHealth = "inf"
  2778. Humanoid.Health = "inf"
  2779. if Rooted == false then
  2780. Disable_Jump = false
  2781. Humanoid.WalkSpeed = Speed
  2782. elseif Rooted == true then
  2783. Disable_Jump = true
  2784. Humanoid.WalkSpeed = 0
  2785. end
  2786. local MATHS = {"0","1"}
  2787. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2788. Humanoid.PlatformStand = false
  2789. end
  2790.  
  2791. --//=================================\\
  2792. --\\=================================//
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798. --//====================================================\\--
  2799. --|| END OF SCRIPT
  2800. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement