Advertisement
ericdesouza

double ruin

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