Goo345

Warden Edit

Jul 21st, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.20 KB | None | 0 0
  1. --//==================================================================\\--
  2. --|| CREATED BY SHACKLUSTER | EDITED BY SHYIME
  3. --\\==================================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28. sick.SoundId = "rbxassetid://142603362"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 1
  32. sick:Play()
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50. Class_Name = "₩₳ⱤĐɆ₦.exe"
  51. Editor_Name = "SHYIME"
  52.  
  53.  
  54. --//=================================\\
  55. --|| USEFUL VALUES
  56. --\\=================================//
  57.  
  58. Animation_Speed = 3
  59. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  60. local Speed = 15
  61. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  63. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  64. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  65. local DAMAGEMULTIPLIER = 1
  66. local ANIM = "Idle"
  67. local ATTACK = false
  68. local EQUIPPED = false
  69. local HOLD = false
  70. local COMBO = 1
  71. local Rooted = false
  72. local SINE = 0
  73. local KEYHOLD = false
  74. local CHANGE = 2 / Animation_Speed
  75. local WALKINGANIM = false
  76. local VALUE1 = false
  77. local VALUE2 = false
  78. local ROBLOXIDLEANIMATION = IT("Animation")
  79. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  80. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  81. --ROBLOXIDLEANIMATION.Parent = Humanoid
  82. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  83. WEAPONGUI.Name = "Weapon GUI"
  84. local Effects = IT("Folder", Character)
  85. Effects.Name = "Effects"
  86. local ANIMATOR = Humanoid.Animator
  87. local ANIMATE = Character.Animate
  88. local UNANCHOR = true
  89. local PLAYMAINANIM = true
  90. local BOLTSOUNDS = {168586621,168586586,178452241}
  91.  
  92. --//=================================\\
  93. --\\=================================//
  94.  
  95.  
  96. --//=================================\\
  97. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  98. --\\=================================//
  99.  
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "ArtificialHB"
  102.  
  103. script:WaitForChild("ArtificialHB")
  104.  
  105. frame = Frame_Speed
  106. tf = 0
  107. allowframeloss = false
  108. tossremainder = false
  109. lastframe = tick()
  110. script.ArtificialHB:Fire()
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.ArtificialHB:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.ArtificialHB:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131.  
  132. --//=================================\\
  133. --\\=================================//
  134. print(Class_Name.." Loaded")
  135. print(Editor_Name.." Edited This")
  136. --//=================================\\
  137. --|| SOME FUNCTIONS
  138. --\\=================================//
  139.  
  140. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  141. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  142. end
  143.  
  144. function PositiveAngle(NUMBER)
  145. if NUMBER >= 0 then
  146. NUMBER = 0
  147. end
  148. return NUMBER
  149. end
  150.  
  151. function NegativeAngle(NUMBER)
  152. if NUMBER <= 0 then
  153. NUMBER = 0
  154. end
  155. return NUMBER
  156. end
  157.  
  158. function Swait(NUMBER)
  159. if NUMBER == 0 or NUMBER == nil then
  160. ArtificialHB.Event:wait()
  161. else
  162. for i = 1, NUMBER do
  163. ArtificialHB.Event:wait()
  164. end
  165. end
  166. end
  167.  
  168. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  169. local NEWMESH = IT(MESH)
  170. if MESH == "SpecialMesh" then
  171. NEWMESH.MeshType = MESHTYPE
  172. if MESHID ~= "nil" and MESHID ~= "" then
  173. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  174. end
  175. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  176. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  177. end
  178. end
  179. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  180. NEWMESH.Scale = SCALE
  181. NEWMESH.Parent = PARENT
  182. return NEWMESH
  183. end
  184.  
  185. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  186. local NEWPART = IT("Part")
  187. NEWPART.formFactor = FORMFACTOR
  188. NEWPART.Reflectance = REFLECTANCE
  189. NEWPART.Transparency = TRANSPARENCY
  190. NEWPART.CanCollide = false
  191. NEWPART.Locked = true
  192. NEWPART.Anchored = true
  193. if ANCHOR == false then
  194. NEWPART.Anchored = false
  195. end
  196. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  197. NEWPART.Name = NAME
  198. NEWPART.Size = SIZE
  199. NEWPART.Position = Torso.Position
  200. NEWPART.Material = MATERIAL
  201. NEWPART:BreakJoints()
  202. NEWPART.Parent = PARENT
  203. return NEWPART
  204. end
  205.  
  206. local function weldBetween(a, b)
  207. local weldd = Instance.new("ManualWeld")
  208. weldd.Part0 = a
  209. weldd.Part1 = b
  210. weldd.C0 = CFrame.new()
  211. weldd.C1 = b.CFrame:inverse() * a.CFrame
  212. weldd.Parent = a
  213. return weldd
  214. end
  215.  
  216.  
  217. function QuaternionFromCFrame(cf)
  218. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  219. local trace = m00 + m11 + m22
  220. if trace > 0 then
  221. local s = math.sqrt(1 + trace)
  222. local recip = 0.5 / s
  223. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  224. else
  225. local i = 0
  226. if m11 > m00 then
  227. i = 1
  228. end
  229. if m22 > (i == 0 and m00 or m11) then
  230. i = 2
  231. end
  232. if i == 0 then
  233. local s = math.sqrt(m00 - m11 - m22 + 1)
  234. local recip = 0.5 / s
  235. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  236. elseif i == 1 then
  237. local s = math.sqrt(m11 - m22 - m00 + 1)
  238. local recip = 0.5 / s
  239. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  240. elseif i == 2 then
  241. local s = math.sqrt(m22 - m00 - m11 + 1)
  242. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  243. end
  244. end
  245. end
  246.  
  247. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  248. local xs, ys, zs = x + x, y + y, z + z
  249. local wx, wy, wz = w * xs, w * ys, w * zs
  250. local xx = x * xs
  251. local xy = x * ys
  252. local xz = x * zs
  253. local yy = y * ys
  254. local yz = y * zs
  255. local zz = z * zs
  256. 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))
  257. end
  258.  
  259. function QuaternionSlerp(a, b, t)
  260. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  261. local startInterp, finishInterp;
  262. if cosTheta >= 0.0001 then
  263. if (1 - cosTheta) > 0.0001 then
  264. local theta = ACOS(cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((1 - t) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = 1 - t
  270. finishInterp = t
  271. end
  272. else
  273. if (1 + cosTheta) > 0.0001 then
  274. local theta = ACOS(-cosTheta)
  275. local invSinTheta = 1 / SIN(theta)
  276. startInterp = SIN((t - 1) * theta) * invSinTheta
  277. finishInterp = SIN(t * theta) * invSinTheta
  278. else
  279. startInterp = t - 1
  280. finishInterp = t
  281. end
  282. end
  283. 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
  284. end
  285.  
  286. function Clerp(a, b, t)
  287. local qa = {QuaternionFromCFrame(a)}
  288. local qb = {QuaternionFromCFrame(b)}
  289. local ax, ay, az = a.x, a.y, a.z
  290. local bx, by, bz = b.x, b.y, b.z
  291. local _t = 1 - t
  292. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  293. end
  294.  
  295. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  296. local frame = IT("Frame")
  297. frame.BackgroundTransparency = TRANSPARENCY
  298. frame.BorderSizePixel = BORDERSIZEPIXEL
  299. frame.Position = POSITION
  300. frame.Size = SIZE
  301. frame.BackgroundColor3 = COLOR
  302. frame.BorderColor3 = BORDERCOLOR
  303. frame.Name = NAME
  304. frame.Parent = PARENT
  305. return frame
  306. end
  307.  
  308. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  309. local label = IT("TextLabel")
  310. label.BackgroundTransparency = 1
  311. label.Size = UD2(1, 0, 1, 0)
  312. label.Position = UD2(0, 0, 0, 0)
  313. label.TextColor3 = TEXTCOLOR
  314. label.TextStrokeTransparency = STROKETRANSPARENCY
  315. label.TextTransparency = TRANSPARENCY
  316. label.FontSize = TEXTFONTSIZE
  317. label.Font = TEXTFONT
  318. label.BorderSizePixel = BORDERSIZEPIXEL
  319. label.TextScaled = false
  320. label.Text = TEXT
  321. label.Name = NAME
  322. label.Parent = PARENT
  323. return label
  324. end
  325.  
  326. function NoOutlines(PART)
  327. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  328. end
  329.  
  330. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  331. local NEWWELD = IT(TYPE)
  332. NEWWELD.Part0 = PART0
  333. NEWWELD.Part1 = PART1
  334. NEWWELD.C0 = C0
  335. NEWWELD.C1 = C1
  336. NEWWELD.Parent = PARENT
  337. return NEWWELD
  338. end
  339.  
  340. local S = IT("Sound")
  341. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  342. local NEWSOUND = nil
  343. coroutine.resume(coroutine.create(function()
  344. NEWSOUND = S:Clone()
  345. NEWSOUND.Parent = PARENT
  346. NEWSOUND.Volume = VOLUME
  347. NEWSOUND.Pitch = PITCH
  348. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  349. NEWSOUND:play()
  350. if DOESLOOP == true then
  351. NEWSOUND.Looped = true
  352. else
  353. repeat wait(1) until NEWSOUND.Playing == false
  354. NEWSOUND:remove()
  355. end
  356. end))
  357. return NEWSOUND
  358. end
  359.  
  360.  
  361. local EyeSizes={
  362. NumberSequenceKeypoint.new(0,2,0),
  363. NumberSequenceKeypoint.new(1,0,0)
  364. }
  365. local EyeTrans={
  366. NumberSequenceKeypoint.new(0,0.5,0),
  367. NumberSequenceKeypoint.new(1,1,0)
  368. }
  369. local PE=Instance.new("ParticleEmitter",nil)
  370. PE.LightEmission=.8
  371. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  372. PE.Size=NumberSequence.new(EyeSizes)
  373. PE.Transparency=NumberSequence.new(EyeTrans)
  374. PE.Lifetime=NumberRange.new(0.35,1)
  375. PE.Rotation=NumberRange.new(0,360)
  376. PE.Rate=100
  377. PE.VelocitySpread = 10000
  378. PE.Acceleration = Vector3.new(0,85,0)
  379. PE.Drag = 5
  380. PE.Speed = NumberRange.new(0.1,5)
  381. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  382. PE.ZOffset = 0.5
  383. PE.Name = "PE"
  384. PE.Enabled = false
  385.  
  386. function Fire(art)
  387. local PARTICLES = PE:Clone()
  388. PARTICLES.Parent = art
  389. PARTICLES.Enabled = true
  390. return PARTICLES
  391. end
  392.  
  393. function CFrameFromTopBack(at, top, back)
  394. local right = top:Cross(back)
  395. 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)
  396. end
  397.  
  398. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  399. function WACKYEFFECT(Table)
  400. local TYPE = (Table.EffectType or "Sphere")
  401. local SIZE = (Table.Size or VT(1,1,1))
  402. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  403. local TRANSPARENCY = (Table.Transparency or 0)
  404. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  405. local CFRAME = (Table.CFrame or Torso.CFrame)
  406. local MOVEDIRECTION = (Table.MoveToPos or nil)
  407. local ROTATION1 = (Table.RotationX or 0)
  408. local ROTATION2 = (Table.RotationY or 0)
  409. local ROTATION3 = (Table.RotationZ or 0)
  410. local MATERIAL = (Table.Material or "Neon")
  411. local COLOR = (Table.Color or C3(1,1,1))
  412. local TIME = (Table.Time or 45)
  413. local SOUNDID = (Table.SoundID or nil)
  414. local SOUNDPITCH = (Table.SoundPitch or nil)
  415. local SOUNDVOLUME = (Table.SoundVolume or nil)
  416. coroutine.resume(coroutine.create(function()
  417. local PLAYSSOUND = false
  418. local SOUND = nil
  419. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
  420. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  421. PLAYSSOUND = true
  422. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  423. end
  424. EFFECT.Color = COLOR
  425. local MSH = nil
  426. if TYPE == "Sphere" then
  427. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  428. elseif TYPE == "Block" or TYPE == "Box" then
  429. MSH = IT("BlockMesh",EFFECT)
  430. MSH.Scale = SIZE
  431. elseif TYPE == "Wave" then
  432. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  433. elseif TYPE == "Ring" then
  434. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  435. elseif TYPE == "Slash" then
  436. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  437. elseif TYPE == "Round Slash" then
  438. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  439. elseif TYPE == "Swirl" then
  440. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  441. elseif TYPE == "Skull" then
  442. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  443. elseif TYPE == "Crystal" then
  444. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  445. end
  446. if MSH ~= nil then
  447. local MOVESPEED = nil
  448. if MOVEDIRECTION ~= nil then
  449. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  450. end
  451. local GROWTH = SIZE - ENDSIZE
  452. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  453. if TYPE == "Block" then
  454. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  455. else
  456. EFFECT.CFrame = CFRAME
  457. end
  458. for LOOP = 1, TIME+1 do
  459. Swait()
  460. MSH.Scale = MSH.Scale - GROWTH/TIME
  461. if TYPE == "Wave" then
  462. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  463. end
  464. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  465. if TYPE == "Block" then
  466. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  467. else
  468. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  469. end
  470. if MOVEDIRECTION ~= nil then
  471. local ORI = EFFECT.Orientation
  472. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  473. EFFECT.Orientation = ORI
  474. end
  475. end
  476. if PLAYSSOUND == false then
  477. EFFECT:remove()
  478. else
  479. repeat wait(1) until SOUND.Playing == false
  480. EFFECT:remove()
  481. end
  482. else
  483. if PLAYSSOUND == false then
  484. EFFECT:remove()
  485. else
  486. repeat Swait() until SOUND.Playing == false
  487. EFFECT:remove()
  488. end
  489. end
  490. end))
  491. end
  492.  
  493. function MakeForm(PART,TYPE)
  494. if TYPE == "Cyl" then
  495. local MSH = IT("CylinderMesh",PART)
  496. elseif TYPE == "Ball" then
  497. local MSH = IT("SpecialMesh",PART)
  498. MSH.MeshType = "Sphere"
  499. elseif TYPE == "Wedge" then
  500. local MSH = IT("SpecialMesh",PART)
  501. MSH.MeshType = "Wedge"
  502. end
  503. end
  504.  
  505. Debris = game:GetService("Debris")
  506.  
  507. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  508. local DIRECTION = CF(StartPos,EndPos).lookVector
  509. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  510. end
  511.  
  512. local HATWELD = nil
  513. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  514. PLAYMAINANIM = false
  515. if WhichPose == "Cast1" then
  516. for i=0, Time, 0.1 / Animation_Speed do
  517. Swait()
  518. if Magic == true then
  519. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  520. end
  521. if Gyro ~= nil and Gyro ~= false then
  522. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  523. end
  524. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  528. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  529. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  530. end
  531. elseif WhichPose == "Cast2" then
  532. for i=0, Time, 0.1 / Animation_Speed do
  533. Swait()
  534. if Magic == true then
  535. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  536. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  537. end
  538. if Gyro ~= nil and Gyro ~= false then
  539. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  540. end
  541. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  545. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  546. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  547. end
  548. elseif WhichPose == "RightArmUp" then
  549. for i=0, Time, 0.1 / Animation_Speed do
  550. Swait()
  551. if Magic == true then
  552. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  553. end
  554. if Gyro ~= nil and Gyro ~= false then
  555. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  556. end
  557. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  561. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  562. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  563. end
  564. elseif WhichPose == "Taunt" then
  565. for i=0, Time, 0.1 / Animation_Speed do
  566. Swait()
  567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  571. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  572. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  573. end
  574. HATWELD.Part0 = RightArm
  575. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  576. CreateSound(137473066,Torso,10,1,false)
  577. for i=0, Time*2, 0.1 / Animation_Speed do
  578. Swait()
  579. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  585. end
  586. for i=0, Time, 0.1 / Animation_Speed do
  587. Swait()
  588. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  589. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  590. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  591. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  592. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  593. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  594. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  595. end
  596. HATWELD.Part0 = Head
  597. HATWELD.C0 = CF(0,0.35,0)
  598. elseif WhichPose == "Prepare key" then
  599. for i=0, Time, 0.1 / Animation_Speed do
  600. Swait()
  601. if Gyro ~= nil and Gyro ~= false then
  602. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  603. end
  604. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  606. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  607. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  608. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  609. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  610. end
  611. elseif WhichPose == "Turn key" then
  612. for i=0, Time, 0.1 / Animation_Speed do
  613. Swait()
  614. if Gyro ~= nil and Gyro ~= false then
  615. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  616. end
  617. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  618. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  619. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  620. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  621. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  622. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  623. end
  624. end
  625. PLAYMAINANIM = true
  626. end
  627.  
  628. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  629. function Lightning(Table)
  630. local Color = Table.Color or C3(1,1,1)
  631. local StartPos = Table.Start or Torso.Position
  632. local EndPos = Table.End or Mouse.Hit.p
  633. local SegmentLength = Table.SegmentL or 2
  634. local Thickness = Table.Thickness or 0.1
  635. local Dissapear = Table.DoesFade or false
  636. local Parent = Table.Ignore or Character
  637. local MaxDist = Table.MaxDist or 400
  638. local Branches = Table.Branches or false
  639. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  640. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  641. local LIGHTNINGMODEL = IT("Model",Effects)
  642. LIGHTNINGMODEL.Name = "Lightning"
  643. local LastBolt = nil
  644. for E = 1, DISTANCE do
  645. local ExtraSize = (DISTANCE-E)/15
  646. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  647. PART.Color = Color
  648. MakeForm(PART,"Cyl")
  649. if LastBolt == nil then
  650. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  651. else
  652. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  653. end
  654. LastBolt = PART
  655. if Branches == true then
  656. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  657. if CHOICE == 1 then
  658. local LASTBRANCH = nil
  659. for i = 1, MRANDOM(2,5) do
  660. local ExtraSize2 = ((DISTANCE-E)/25)/i
  661. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  662. PART.Color = Color
  663. MakeForm(PART,"Cyl")
  664. if LASTBRANCH == nil then
  665. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  666. else
  667. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  668. end
  669. LASTBRANCH = PART
  670. end
  671. end
  672. end
  673. end
  674. if Dissapear == true then
  675. coroutine.resume(coroutine.create(function()
  676. for i = 1, 10 do
  677. Swait()
  678. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  679. if c.ClassName == "Part" then
  680. c.Transparency = i/10
  681. end
  682. end
  683. end
  684. LIGHTNINGMODEL:remove()
  685. end))
  686. elseif Dissapear == false then
  687. Debris:AddItem(LIGHTNINGMODEL,0.1)
  688. end
  689. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  690. end
  691.  
  692. --//=================================\\
  693. --|| WEAPON CREATION
  694. --\\=================================//
  695.  
  696. for i = 1, 15 do
  697. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  698. FACE.Color = C3(0,0,0)
  699. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  700. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  701. end
  702. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(2,0.2,2),false)
  703. MakeForm(HAT1,"Cyl")
  704. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  705. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(2.01,0.15,2.01),false)
  706. BELT.Color = C3(15/255,15/255,15/255)
  707. MakeForm(BELT,"Cyl")
  708. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  709. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.3,2.2,1.3),false)
  710. MakeForm(HAT2,"Cyl")
  711. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  712. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.31,0.2,1.31),false)
  713. BELT.Color = C3(15/255,15/255,15/255)
  714. MakeForm(BELT,"Cyl")
  715. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  716. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  717. MakeForm(GEM,"Ball")
  718. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  719. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  720. MakeForm(GEM,"Ball")
  721. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  722. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  723. MakeForm(GEM,"Ball")
  724. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  725. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  726. MakeForm(GEM,"Ball")
  727. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  728. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.31,0.1,1.31),false)
  729. BELT.Color = C3(15/255,15/255,15/255)
  730. MakeForm(BELT,"Cyl")
  731. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  732. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.31,0.1,1.31),false)
  733. BELT.Color = C3(15/255,15/255,15/255)
  734. MakeForm(BELT,"Cyl")
  735. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  736. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.31,0.1,1.31),false)
  737. BELT.Color = C3(15/255,15/255,15/255)
  738. MakeForm(BELT,"Cyl")
  739. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  740. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.31,0.1,1.31),false)
  741. BELT.Color = C3(15/255,15/255,15/255)
  742. MakeForm(BELT,"Cyl")
  743. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  744. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Crimson", "Hat", VT(1.3,0.5,1.3),false)
  745. MakeForm(BELT,"Ball")
  746. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  747. Humanoid.DisplayDistanceType = "None"
  748. local naeeym2 = IT("BillboardGui",Character)
  749. naeeym2.AlwaysOnTop = true
  750. naeeym2.Size = UDim2.new(5,35,2,15)
  751. naeeym2.StudsOffset = Vector3.new(0,3,0)
  752. naeeym2.MaxDistance = 75
  753. naeeym2.Adornee = Character.Head
  754. naeeym2.Name = "Name"
  755. naeeym2.PlayerToHideFrom = Player
  756. local tecks2 = IT("TextLabel",naeeym2)
  757. tecks2.BackgroundTransparency = 1
  758. tecks2.TextScaled = true
  759. tecks2.BorderSizePixel = 0
  760. tecks2.Text = "Mr Red Sparkles Time"
  761. tecks2.Font = "Bodoni"
  762. tecks2.TextSize = 30
  763. tecks2.TextStrokeTransparency = 0.5
  764. tecks2.TextColor3 = C3(0,0,0)
  765. tecks2.TextStrokeColor3 = BRICKC"Really red".Color
  766. tecks2.Size = UDim2.new(1,0,0.5,0)
  767. tecks2.Parent = naeeym2
  768. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  769. MakeForm(EYE,"Ball")
  770. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  771. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  772. MakeForm(EYE,"Ball")
  773. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  774. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  775. MakeForm(EYE,"Ball")
  776. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  777. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  778. MakeForm(EYE,"Ball")
  779. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  780.  
  781. local top = Instance.new("Shirt")
  782. top.ShirtTemplate = "rbxassetid://181829091"
  783. top.Parent = Character
  784. top.Name = "Cloth"
  785. local bottom = Instance.new("Pants")
  786. bottom.PantsTemplate = "rbxassetid://181828029"
  787. bottom.Parent = Character
  788. bottom.Name = "Cloth"
  789. for _, c in pairs(Character:GetChildren()) do
  790. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  791. c.Material = "Neon"
  792. if c:FindFirstChildOfClass("ParticleEmitter") then
  793. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  794. end
  795. c.Color = C3(1,1,1)
  796. if c == Head then
  797. if c:FindFirstChild("face") then
  798. c.face:remove()
  799. end
  800. end
  801. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  802. c:remove()
  803. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  804. c:remove()
  805. end
  806. end
  807. local BODY = {}
  808. for _, c in pairs(Character:GetDescendants()) do
  809. if c:IsA("BasePart") and c.Name ~= "Handle" then
  810. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  811. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  812. end
  813. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  814. elseif c:IsA("JointInstance") then
  815. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  816. end
  817. end
  818. for e = 1, #BODY do
  819. if BODY[e] ~= nil then
  820. local STUFF = BODY[e]
  821. local PART = STUFF[1]
  822. local PARENT = STUFF[2]
  823. local MATERIAL = STUFF[3]
  824. local COLOR = STUFF[4]
  825. local TRANSPARENCY = STUFF[5]
  826. if PART.ClassName == "Part" and PART ~= RootPart then
  827. PART.Material = MATERIAL
  828. PART.Color = COLOR
  829. PART.Transparency = TRANSPARENCY
  830. end
  831. PART.AncestryChanged:Connect(function()
  832. PART.Parent = PARENT
  833. end)
  834. end
  835. end
  836. function refit()
  837. Character.Parent = workspace
  838. for e = 1, #BODY do
  839. if BODY[e] ~= nil then
  840. local STUFF = BODY[e]
  841. local PART = STUFF[1]
  842. local PARENT = STUFF[2]
  843. local MATERIAL = STUFF[3]
  844. local COLOR = STUFF[4]
  845. local TRANSPARENCY = STUFF[5]
  846. if PART.ClassName == "Part" and PART ~= RootPart then
  847. PART.Material = MATERIAL
  848. PART.Color = COLOR
  849. PART.Transparency = TRANSPARENCY
  850. end
  851. if PART.Parent ~= PARENT then
  852. Humanoid:remove()
  853. PART.Parent = PARENT
  854. Humanoid = IT("Humanoid",Character)
  855. end
  856. end
  857. end
  858. end
  859. local SKILLTEXTCOLOR = BRICKC"".Color
  860. local SKILLFONT = "Bodoni"
  861. local SKILLTEXTSIZE = 7
  862.  
  863. Humanoid.Died:connect(function()
  864. refit()
  865. end)
  866.  
  867. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 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")
  868. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 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")
  869. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  870. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  871. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  872. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50,0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  873. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23,0, 0.60, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  874. local SKILL8FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50,0, 0.60, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  875. local SKILL9FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365,0, 0.50, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  876.  
  877. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warden Zap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  878. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Warden Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  879. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inferno Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  880. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  881. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Prison Key", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  882. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E] Warden's Portal", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  883. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[Q] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  884. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[F] Warden's Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
  885. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[R] Warden's Ultra Attack", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  886.  
  887. --//=================================\\
  888. --|| DAMAGING
  889. --\\=================================//
  890.  
  891. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  892. local CHILDREN = workspace:GetDescendants()
  893. for index, CHILD in pairs(CHILDREN) do
  894. if CHILD.ClassName == "Model" and CHILD ~= Character then
  895. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  896. if HUM then
  897. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  898. if TORSO then
  899. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  900. CHILD:BreakJoints()
  901. if FLING ~= 0 then
  902. for _, c in pairs(CHILD:GetChildren()) do
  903. if c:IsA("BasePart") and c.Transparency == 0 then
  904. if BURN == true then
  905. Fire(c)
  906. end
  907. local bv = Instance.new("BodyVelocity")
  908. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  909. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  910. bv.Parent = c
  911. Debris:AddItem(bv,0.05)
  912. end
  913. end
  914. end
  915. end
  916. end
  917. end
  918. end
  919. end
  920. end
  921.  
  922. --//=================================\\
  923. --|| ATTACK FUNCTIONS AND STUFF
  924. --\\=================================//
  925. Player_Size = 1
  926.  
  927. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  928. if DoesCourontine == false then
  929. local Direction = CF(Part.Position,ToLocation)
  930. local Distance = (Part.Position - ToLocation).magnitude
  931. for i = 1, AmountOfTime do
  932. Swait()
  933. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  934. Direction = Part.CFrame
  935. end
  936. Part:remove()
  937. elseif DoesCourontine == true then
  938. coroutine.resume(coroutine.create(function()
  939. local Direction = CF(Part.Position,ToLocation)
  940. local Distance = (Part.Position - ToLocation).magnitude
  941. for i = 1, AmountOfTime do
  942. Swait()
  943. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  944. Direction = Part.CFrame
  945. end
  946. Part:remove()
  947. end))
  948. end
  949. end
  950.  
  951. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  952. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  953. wave.Color = COLOR
  954. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  955. wave.CFrame = CFRAME
  956. coroutine.resume(coroutine.create(function(PART)
  957. for i = 1, WAIT do
  958. Swait()
  959. mesh.Scale = mesh.Scale + GROW
  960. wave.Transparency = wave.Transparency + (1/WAIT)
  961. if wave.Transparency > 0.99 then
  962. wave:remove()
  963. end
  964. end
  965. end))
  966. end
  967.  
  968. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  969. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  970. wave.Color = COLOR
  971. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  972. wave.CFrame = CFRAME
  973. coroutine.resume(coroutine.create(function(PART)
  974. for i = 1, WAIT do
  975. Swait()
  976. mesh.Scale = mesh.Scale + GROW
  977. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  978. if DOESROT == true then
  979. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  980. end
  981. wave.Transparency = wave.Transparency + (0.5/WAIT)
  982. if wave.Transparency > 0.99 then
  983. wave:remove()
  984. end
  985. end
  986. end))
  987. end
  988.  
  989. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  990. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  991. local mesh = nil
  992. if KIND == "Base" then
  993. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  994. elseif KIND == "Thin" then
  995. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  996. elseif KIND == "Round" then
  997. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  998. end
  999. wave.CFrame = CFRAME
  1000. coroutine.resume(coroutine.create(function(PART)
  1001. for i = 1, WAIT do
  1002. Swait()
  1003. mesh.Scale = mesh.Scale + GROW/10
  1004. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1005. if wave.Transparency > 0.99 then
  1006. wave:remove()
  1007. end
  1008. end
  1009. end))
  1010. end
  1011.  
  1012. function killnearest(position,range,maxstrength)
  1013. for i,v in ipairs(workspace:GetChildren()) do
  1014. local body = v:GetChildren()
  1015. for part = 1, #body do
  1016. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1017. if(body[part].Position - position).Magnitude < range then
  1018. if v.ClassName == "Model" then
  1019. v:BreakJoints()
  1020. end
  1021. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1022. local bv = Instance.new("BodyVelocity")
  1023. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1024. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1025. bv.Parent = body[part]
  1026. Debris:AddItem(bv,0.2)
  1027. end
  1028. end
  1029. end
  1030. if v.ClassName == "Part" then
  1031. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1032. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1033. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1034. end
  1035. end
  1036. end
  1037. end
  1038.  
  1039. function Supernova()
  1040. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1041. if HITFLOOR ~= nil then
  1042. local HITBODIES = {}
  1043. ATTACK = true
  1044. Rooted = true
  1045. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  1046. MakeForm(ABSOLUTE,"Ball")
  1047. CreateSound("429459101", ABSOLUTE, 10, 1)
  1048. for i=0, 4, 0.1 / Animation_Speed do
  1049. Swait()
  1050. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1051. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1052. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1053. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  1054. MakeForm(CHARGE,"Ball")
  1055. CHARGE.Color = C3(255,0,0)
  1056. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1057. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1058. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1059. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1062. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1063. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1064. end
  1065. CreateSound("907330103", Head, 10, 1.2)
  1066. for i = 1, 75 do
  1067. Swait()
  1068. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1069. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1070. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1071. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1072. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1073. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1074. end
  1075. coroutine.resume(coroutine.create(function()
  1076. for i = 1, 13 do
  1077. for e = 1, 8 do
  1078. Swait()
  1079. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(255,0,0),VT(0,0,0))
  1080. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Reakky red".Color,VT(i,0.3,i)*2)
  1081. end
  1082. for i = 1, 5 do
  1083. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  1084. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(255,0,0),VT(0,0,0))
  1085. end
  1086. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  1087. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(255,0,0),VT(i,i*2,i))
  1088. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1089. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1090. killnearest(ABSOLUTE.Position,i*18,i)
  1091. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1092. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  1093. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(255,0,0),VT(i,i,i))
  1094. end
  1095. ABSOLUTE.Transparency = 1
  1096. Debris:AddItem(ABSOLUTE,10)
  1097. end))
  1098. ATTACK = false
  1099. Rooted = false
  1100. end
  1101. end
  1102.  
  1103.  
  1104. local ENERGYSOUND = 1417051162
  1105. local BEAMSOUND = 1417056781
  1106. local EXPLOSIONSOUND = 1417056081
  1107. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(1.01,0.3,1.01),false)
  1108.  
  1109. function Charge(TIME,GYRO)
  1110. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1111. local G = nil
  1112. if GYRO == true then
  1113. G = IT("BodyGyro",RootPart)
  1114. G.D = 250
  1115. G.P = 200000
  1116. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1117. end
  1118. for i=0, TIME, 0.1 / Animation_Speed do
  1119. Swait()
  1120. if G then
  1121. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1122. end
  1123. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1124. 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)
  1125. 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)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1128. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 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)
  1129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 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)
  1130. end
  1131. SND:remove()
  1132. if G then
  1133. return G
  1134. end
  1135. end
  1136.  
  1137. function Beam()
  1138. ATTACK = true
  1139. Rooted = false
  1140. local GRAV = IT("BodyPosition",RootPart)
  1141. GRAV.D = 75
  1142. GRAV.P = 20000
  1143. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1144. GRAV.Position = RootPart.Position
  1145. local GYRO = Charge(2,true)
  1146. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Beam", VT(15,15,0))
  1147. MakeForm(BEAM,"Ball")
  1148. CreateSound(BEAMSOUND,BEAM,10,1,false)
  1149. CreateSound(BEAMSOUND,BEAM,10,0.9,false)
  1150. CreateSound(BEAMSOUND,BEAM,10,0.8,false)
  1151. for i = 1, 150 do
  1152. Swait()
  1153. BEAM.Size = BEAM.Size + VT(-0.1,-0.1,2)
  1154. ApplyAoE(BEAM.CFrame*CF(0,0,-BEAM.Size.Z/2).p,BEAM.Size.Y/2,50,200,0,false)
  1155. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BEAM.CFrame*CF(0,0,BEAM.Size.Z/2), MoveToPos = BEAM.CFrame*CF(0,0,BEAM.Size.Z/2)*ANGLES(RAD(90),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0.3,-25).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1156. BEAM.CFrame = CF(Torso.Position,Torso.CFrame*CF(0,0,-1).p)*CF(0,0,-2-(BEAM.Size.Z/2))
  1157. 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)
  1158. 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)
  1159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1161. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 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)
  1162. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 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)
  1163. end
  1164. GRAV:remove()
  1165. BEAM:remove()
  1166. GYRO:remove()
  1167. ATTACK = false
  1168. Rooted = false
  1169. end
  1170.  
  1171. local asd = Instance.new("ParticleEmitter")
  1172. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1173. asd.LightEmission = .1
  1174. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1175. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1176. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1177. asd.Transparency = bbb
  1178. asd.Size = aaa
  1179. asd.ZOffset = .9
  1180. asd.Acceleration = Vector3.new(0, -15, 0)
  1181. asd.LockedToPart = false
  1182. asd.EmissionDirection = "Back"
  1183. asd.Lifetime = NumberRange.new(1, 2)
  1184. asd.Rotation = NumberRange.new(-100, 100)
  1185. asd.RotSpeed = NumberRange.new(-100, 100)
  1186. asd.Speed = NumberRange.new(10)
  1187. asd.Enabled = false
  1188. asd.VelocitySpread = 999
  1189.  
  1190. local Particle = IT("ParticleEmitter",nil)
  1191. Particle.Enabled = false
  1192. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1193. Particle.LightEmission = 0.5
  1194. Particle.Rate = 150
  1195. Particle.ZOffset = 1
  1196. Particle.Rotation = NumberRange.new(-180, 180)
  1197. Particle.RotSpeed = NumberRange.new(-180, 180)
  1198. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1199. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  1200.  
  1201. function ParticleEmitter(Table)
  1202. local PRTCL = Particle:Clone()
  1203. local Speed = Table.Speed or 5
  1204. local Drag = Table.Drag or 0
  1205. local Size1 = Table.Size1 or 1
  1206. local Size2 = Table.Size2 or 5
  1207. local Lifetime1 = Table.Lifetime1 or 1
  1208. local Lifetime2 = Table.Lifetime2 or 1.5
  1209. local Parent = Table.Parent or Torso
  1210. local Emit = Table.Emit or 100
  1211. local Offset = Table.Offset or 360
  1212. local Acel = Table.Acel or VT(0,0,0)
  1213. local Enabled = Table.Enabled or false
  1214. PRTCL.Parent = Parent
  1215. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1216. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1217. PRTCL.Speed = NumberRange.new(Speed)
  1218. PRTCL.VelocitySpread = Offset
  1219. PRTCL.Drag = Drag
  1220. PRTCL.Acceleration = Acel
  1221. if Enabled == false then
  1222. PRTCL:Emit(Emit)
  1223. Debris:AddItem(PRTCL,Lifetime2)
  1224. else
  1225. PRTCL.Enabled = true
  1226. end
  1227. return PRTCL
  1228. end
  1229.  
  1230. function Lift()
  1231. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1232. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1233. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1234. if TORSO and HUM.Health > 0 then
  1235. ATTACK = true
  1236. Rooted = false
  1237. local GYRO = IT("BodyGyro",RootPart)
  1238. GYRO.D = 275
  1239. GYRO.P = 20000
  1240. GYRO.MaxTorque = VT(0,40000,0)
  1241. for i=0, 0.8, 0.1 / Animation_Speed do
  1242. Swait()
  1243. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1244. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1248. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1250. end
  1251. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1252. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1253. local grav = Instance.new("BodyPosition",TORSO)
  1254. grav.D = 1500
  1255. grav.P = 20000
  1256. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1257. grav.position = TORSO.Position+VT(0,15,0)
  1258. Debris:AddItem(grav,10)
  1259. Debris:AddItem(MAGIC,10)
  1260. CreateSound(902204346, Torso, 7, 1, false)
  1261. CreateSound(902204346, TORSO, 7, 1, false)
  1262. for i=0, 1, 0.1 / Animation_Speed do
  1263. Swait()
  1264. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1268. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. end
  1271. GYRO:remove()
  1272. ATTACK = false
  1273. Rooted = false
  1274. end
  1275. end
  1276. end
  1277.  
  1278.  
  1279. local Decal = IT("Decal")
  1280.  
  1281. function Warden_Wave()
  1282. ATTACK = true
  1283. Rooted = false
  1284. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1285. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  1286. local decal = Decal:Clone()
  1287. decal.Parent = O1
  1288. decal.Face = "Top"
  1289. decal.Texture = "http://www.roblox.com/asset/?id=224018677"
  1290. local decal2 = Decal:Clone()
  1291. decal2.Parent = O1
  1292. decal2.Face = "Bottom"
  1293. decal2.Texture = "http://www.roblox.com/asset/?id=224018677"
  1294. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1295. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  1296. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  1297. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  1298. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  1299. local decal = Decal:Clone()
  1300. decal.Parent = O2
  1301. decal.Face = "Top"
  1302. decal.Texture = "http://www.roblox.com/asset/?id=224018677"
  1303. local decal2 = Decal:Clone()
  1304. decal2.Parent = O2
  1305. decal2.Face = "Bottom"
  1306. decal2.Texture = "http://www.roblox.com/asset/?id=224018677"
  1307. CreateSound("1530657980", O1, 10, 1.5)
  1308. CreateSound("1530657980", O2, 10, 1.5)
  1309. for i = 1, 75 do
  1310. Swait()
  1311. O1.Size = O1.Size + VT(0.1,0,0.1)
  1312. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  1313. O2.Size = O2.Size + VT(0.1,0,0.1)
  1314. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1315. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1317. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1319. end
  1320. Rooted = true
  1321. UNANCHOR = false
  1322. RootPart.Anchored = true
  1323. VALUE1 = true
  1324. for i = 1, 15 do
  1325. Swait()
  1326. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  1327. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1329. end
  1330. RootPart.CFrame = ROOT.CFrame
  1331. ROOT:remove()
  1332. for i = 1, 15 do
  1333. Swait()
  1334. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  1335. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1336. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1337. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1338. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1339. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1340. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. end
  1342. VALUE1 = false
  1343. coroutine.resume(coroutine.create(function()
  1344. for i = 1, 75 do
  1345. Swait()
  1346. O1.Size = O1.Size - VT(0.1,0,0.1)
  1347. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1348. O2.Size = O2.Size - VT(0.1,0,0.1)
  1349. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1350. end
  1351. O1:remove()
  1352. O2:remove()
  1353. end))
  1354. UNANCHOR = true
  1355. RootPart.Anchored = false
  1356. ATTACK = false
  1357. Rooted = false
  1358. end
  1359.  
  1360. function Warden_Zap()
  1361. ATTACK = true
  1362. Rooted = false
  1363. local GYRO = IT("BodyGyro",RootPart)
  1364. GYRO.D = 750
  1365. GYRO.P = 20000
  1366. GYRO.MaxTorque = VT(0,40000000,0)
  1367. CreateSound(348663022,RightArm,1.5,2,false)
  1368. Pose("Cast1",0.8,1,true,GYRO)
  1369. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
  1370. local Hitpos = LightningTable.End
  1371. ApplyAoE(Hitpos,10,35)
  1372. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1373. for i = 1, 4 do
  1374. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1375. end
  1376. Pose("Cast1",0.8,1,true)
  1377. GYRO:remove()
  1378. ATTACK = false
  1379. Rooted = false
  1380. end
  1381.  
  1382. function Warden_Thunder()
  1383. ATTACK = true
  1384. Rooted = false
  1385. local GYRO = IT("BodyGyro",RootPart)
  1386. GYRO.D = 750
  1387. GYRO.P = 20000
  1388. GYRO.MaxTorque = VT(0,40000000,0)
  1389. CreateSound(469345336,Torso,3,2,false)
  1390. Pose("Cast2",1.5,2,true,GYRO)
  1391. coroutine.resume(coroutine.create(function()
  1392. local FRAME = RootPart.CFrame
  1393. for i = 1, 25 do
  1394. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  1395. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
  1396. local Hitpos = LightningTable.End
  1397. ApplyAoE(Hitpos,20,15)
  1398. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1399. for i = 1, 4 do
  1400. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1401. end
  1402. wait(0.05)
  1403. end
  1404. end))
  1405. Pose("Cast2",1.5,0.7,true)
  1406. GYRO:remove()
  1407. ATTACK = false
  1408. Rooted = false
  1409. end
  1410.  
  1411. function Inferno_Ring()
  1412. ATTACK = true
  1413. Rooted = false
  1414. local GYRO = IT("BodyGyro",RootPart)
  1415. GYRO.D = 750
  1416. GYRO.P = 20000
  1417. GYRO.MaxTorque = VT(0,40000000,0)
  1418. local FIRE = IT("Model",Effects)
  1419. FIRE.Name = "Fire"
  1420. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  1421. FIRE.PrimaryPart = MAIN
  1422. local FIRES = {}
  1423. for i = 1, 45 do
  1424. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  1425. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  1426. local F = Fire(PRT)
  1427. table.insert(FIRES,F)
  1428. end
  1429. repeat
  1430. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  1431. Pose("Cast1",1.5,0.01,false,GYRO)
  1432. until HOLD == true
  1433. coroutine.resume(coroutine.create(function()
  1434. for i = 1, 4 do
  1435. ApplyAoE(MAIN.Position,21,-15,true)
  1436. CreateSound(463598785,MAIN,3,1,false)
  1437. for E = 1, #FIRES do
  1438. if FIRES[E] ~= nil then
  1439. FIRES[E].Acceleration = VT(0,300,0)
  1440. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  1441. end
  1442. end
  1443. wait(0.3)
  1444. end
  1445. for E = 1, #FIRES do
  1446. if FIRES[E] ~= nil then
  1447. FIRES[E].Enabled = false
  1448. end
  1449. end
  1450. Debris:AddItem(FIRE,5)
  1451. end))
  1452. CreateSound(1249690399,RightArm,3,1,false)--GGNORE
  1453. Pose("RightArmUp",1.5,0.5,true)
  1454. GYRO:remove()
  1455. ATTACK = false
  1456. Rooted = false
  1457. end
  1458.  
  1459. function Warden_Wall()
  1460. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  1461. if HITFLOOR ~= nil then
  1462. if HITFLOOR.Anchored == true then
  1463. local WALL = HITFLOOR:Clone()
  1464. WALL.Size = VT(45,45,5)
  1465. WALL.Parent = Effects
  1466. WALL.Name = "Wall"
  1467. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  1468. CreateSound(130972023,WALL,5,0.8,false)
  1469. ATTACK = true
  1470. Rooted = true
  1471. local HIT = WALL.Touched:Connect(function(hit)
  1472. if hit.Parent ~= Character then
  1473. hit:BreakJoints()
  1474. end
  1475. end)
  1476. coroutine.resume(coroutine.create(function()
  1477. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1478. for i = 1, 90 do
  1479. Swait()
  1480. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  1481. end
  1482. HIT:disconnect()
  1483. wait(5)
  1484. for i = 1, 46 do
  1485. Swait()
  1486. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  1487. end
  1488. WALL:remove()
  1489. end))
  1490. Pose("RightArmUp",1.5,1.2,true)
  1491. ATTACK = false
  1492. Rooted = false
  1493. end
  1494. end
  1495. end
  1496.  
  1497. function Prison_Key()
  1498. if Mouse.Target ~= nil then
  1499. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1500. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1501. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1502. local GYRO = IT("BodyGyro",RootPart)
  1503. GYRO.D = 750
  1504. GYRO.P = 20000
  1505. GYRO.MaxTorque = VT(0,40000000,0)
  1506. local grav = Instance.new("BodyPosition",TORSO)
  1507. grav.D = 15
  1508. grav.P = 20000
  1509. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1510. grav.position = TORSO.Position
  1511. local GYRO2 = IT("BodyGyro",TORSO)
  1512. GYRO2.D = 750
  1513. GYRO2.P = 20000
  1514. GYRO2.MaxTorque = VT(0,40000000,0)
  1515. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1516. grav.Name = "Jail"
  1517. local LOCKPARTS = {}
  1518. ATTACK = true
  1519. Rooted = false
  1520. local LOCK = IT("Model",Effects)
  1521. LOCK.Name = "Lock"
  1522. local LOCK2 = IT("Model",LOCK)
  1523. LOCK2.Name = "Metal"
  1524. --CREATE LOCK--
  1525. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  1526. LOCK.PrimaryPart = BASE
  1527. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1528. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  1529. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1530. MakeForm(PRT,"Cyl")
  1531. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  1532. PRT.Color = C3(0,0,0)
  1533. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1534. MakeForm(PRT,"Cyl")
  1535. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  1536. PRT.Color = C3(0,0,0)
  1537. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1538. for i = 1, 45 do
  1539. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1540. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1541. end
  1542. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1543. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1544. LOCK2.PrimaryPart = PRT
  1545. ---------------
  1546. local CHILDREN = LOCK:GetDescendants()
  1547. for index, CHILD in pairs(CHILDREN) do
  1548. if CHILD:IsA("BasePart") then
  1549. CHILD.Transparency = 1
  1550. end
  1551. end
  1552. for i = 1, 75 do
  1553. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1554. Swait()
  1555. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1556. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1557. local CHILDREN = LOCK:GetDescendants()
  1558. for index, CHILD in pairs(CHILDREN) do
  1559. if CHILD:IsA("BasePart") then
  1560. CHILD.Transparency = CHILD.Transparency - 1/75
  1561. end
  1562. end
  1563. end
  1564. HUM.DisplayDistanceType = "None"
  1565. local KEY = IT("Model",Effects)
  1566. KEY.Name = "Key"
  1567. --CREATE KEY--
  1568. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  1569. KEY.PrimaryPart = KBASE
  1570. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1571. local WLD = weldBetween(RightArm,KBASE)
  1572. for i = 1, 45 do
  1573. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  1574. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1575. weldBetween(KBASE,PRT)
  1576. end
  1577. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  1578. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1579. weldBetween(KBASE,PRT)
  1580. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  1581. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1582. weldBetween(KBASE,PRT)
  1583. --------------
  1584. Rooted = true
  1585. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1586. coroutine.resume(coroutine.create(function()
  1587. for i = 1, 10 do
  1588. Swait()
  1589. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1590. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1591. end
  1592. CreateSound(1149318312,BASE,5,1,false)
  1593. CreateSound(160772554,BASE,3,1,false)
  1594. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1595. for i = 1, 4 do
  1596. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1597. end
  1598. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1599. wait(1)
  1600. TORSO.Parent.Parent = LOCK
  1601. for i = 1, 75 do
  1602. Swait()
  1603. local CHILDREN = KEY:GetDescendants()
  1604. for index, CHILD in pairs(CHILDREN) do
  1605. if CHILD:IsA("BasePart") then
  1606. CHILD.Transparency = i/25
  1607. end
  1608. end
  1609. local CHILDREN = LOCK:GetDescendants()
  1610. for index, CHILD in pairs(CHILDREN) do
  1611. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1612. CHILD.Transparency = CHILD.Transparency + 1/75
  1613. elseif CHILD.ClassName == "Decal" then
  1614. CHILD.Transparency = CHILD.Transparency + 1/75
  1615. end
  1616. end
  1617. end
  1618. TORSO.Parent:ClearAllChildren()
  1619. KEY:remove()
  1620. LOCK:remove()
  1621. end))
  1622. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1623. GYRO:remove()
  1624. ATTACK = false
  1625. Rooted = false
  1626. end
  1627. end
  1628. end
  1629.  
  1630. function Hat()
  1631. ATTACK = true
  1632. Rooted = false
  1633. Pose("Taunt",0.4,1.2,false)
  1634. ATTACK = false
  1635. Rooted = false
  1636. end
  1637.  
  1638. --//=================================\\
  1639. --|| ASSIGN THINGS TO KEYS
  1640. --\\=================================//
  1641.  
  1642. function MouseDown(Mouse)
  1643. HOLD = true
  1644. if ATTACK == false then
  1645. end
  1646. end
  1647.  
  1648. function MouseUp(Mouse)
  1649. HOLD = false
  1650. end
  1651.  
  1652. function KeyDown(Key)
  1653. KEYHOLD = true
  1654. if Key == "z" and ATTACK == false then
  1655. Warden_Zap()
  1656. end
  1657.  
  1658. if Key == "f" and ATTACK == false then
  1659. Beam()
  1660. end
  1661.  
  1662. if Key == "e" and ATTACK == false then
  1663. Warden_Wave()
  1664. end
  1665.  
  1666. if Key == "q" and ATTACK == false then
  1667. Lift()
  1668. end
  1669.  
  1670. if Key == "r" and ATTACK == false then
  1671. Supernova()
  1672. end
  1673.  
  1674. if Key == "m" and ATTACK == false then
  1675.  
  1676. end
  1677.  
  1678. if Key == "b" and ATTACK == false then
  1679. Warden_Thunder()
  1680. end
  1681.  
  1682. if Key == "c" and ATTACK == false then
  1683. Inferno_Ring()
  1684. end
  1685.  
  1686. if Key == "v" and ATTACK == false then
  1687. Warden_Wall()
  1688. end
  1689.  
  1690. if Key == "x" and ATTACK == false then
  1691. Prison_Key()
  1692. end
  1693.  
  1694. if Key == "t" and ATTACK == false then
  1695. Hat()
  1696. end
  1697. end
  1698.  
  1699. function KeyUp(Key)
  1700. KEYHOLD = false
  1701. end
  1702.  
  1703. Mouse.Button1Down:connect(function(NEWKEY)
  1704. MouseDown(NEWKEY)
  1705. end)
  1706. Mouse.Button1Up:connect(function(NEWKEY)
  1707. MouseUp(NEWKEY)
  1708. end)
  1709. Mouse.KeyDown:connect(function(NEWKEY)
  1710. KeyDown(NEWKEY)
  1711. end)
  1712. Mouse.KeyUp:connect(function(NEWKEY)
  1713. KeyUp(NEWKEY)
  1714. end)
  1715.  
  1716. --//=================================\\
  1717. --\\=================================//
  1718.  
  1719.  
  1720. function unanchor()
  1721. if UNANCHOR == true then
  1722. g = Character:GetChildren()
  1723. for i = 1, #g do
  1724. if g[i].ClassName == "Part" then
  1725. g[i].Anchored = false
  1726. end
  1727. end
  1728. end
  1729. end
  1730.  
  1731.  
  1732. --//=================================\\
  1733. --|| WRAP THE WHOLE SCRIPT UP
  1734. --\\=================================//
  1735.  
  1736. Humanoid.Changed:connect(function(Jump)
  1737. if Jump == "Jump" and (Disable_Jump == true) then
  1738. Humanoid.Jump = false
  1739. end
  1740. end)
  1741.  
  1742. while true do
  1743. Swait()
  1744. script.Parent = WEAPONGUI
  1745. Humanoid.Parent = Character
  1746. if Humanoid then
  1747. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1748. IDLEANIMATION:Play()
  1749. end
  1750. if ANIMATE.Parent == Character then
  1751. ANIMATE:Destroy()
  1752. end
  1753. SINE = SINE + CHANGE
  1754. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1755. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1756. Humanoid.HipHeight = 1
  1757. Humanoid.Name = "Warden"
  1758. Humanoid.PlatformStand = false
  1759. if PLAYMAINANIM == true then
  1760. if TORSOVELOCITY < 1 then
  1761. 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)
  1762. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1763. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1764. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1765. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1767. elseif TORSOVELOCITY > 1 then
  1768. 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)
  1769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  1774. end
  1775. end
  1776. unanchor()
  1777. Humanoid.MaxHealth = "inf"
  1778. Humanoid.Health = "inf"
  1779. if Rooted == false then
  1780. Disable_Jump = false
  1781. Humanoid.WalkSpeed = Speed
  1782. elseif Rooted == true then
  1783. Disable_Jump = true
  1784. Humanoid.WalkSpeed = 0
  1785. end
  1786. for _, c in pairs(Character:GetChildren()) do
  1787. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1788. c.Material = "Neon"
  1789. if c:FindFirstChildOfClass("ParticleEmitter") then
  1790. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1791. end
  1792. c.Color = C3(1,1,1)
  1793. if c == Head then
  1794. if c:FindFirstChild("face") then
  1795. c.face:remove()
  1796. end
  1797. end
  1798. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1799. c:remove()
  1800. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1801. c:remove()
  1802. end
  1803. end
  1804. sick.SoundId = "rbxassetid://1567323605"
  1805. sick.Looped = true
  1806. sick.Pitch = 1
  1807. sick.Volume = 3
  1808. sick:Resume()
  1809. sick.Parent = Torso
  1810. refit()
  1811. if Head:FindFirstChildOfClass("Sound") then
  1812. Head:FindFirstChildOfClass("Sound"):remove()
  1813. end
  1814. end
  1815. game.Lighting.TimeOfDay = "00:00:00"
  1816. game.Lighting.FogEnd = 50
  1817. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  1818.  
  1819. --//=================================\\
  1820. --\\=================================//
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826. --//====================================================\\--
  1827. --|| END OF SCRIPT
  1828. --\\====================================================//--
Add Comment
Please, Sign In to add comment