Advertisement
memberhero

Test3

Sep 2nd, 2018
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. local Player = game:GetService("Players").basstracker1970
  5. local Mouse,mouse,UserInputService,ContextActionService
  6. do
  7. script.Parent = Player.Character
  8. local CAS = {Actions={}}
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11. Event.Parent = Player.Character
  12. local fakeEvent = function()
  13. local t = {_fakeEvent=true}
  14. t.Connect = function(self,f)self.Function=f end
  15. t.connect = t.Connect
  16. return t
  17. end
  18. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20. function CAS:BindAction(name,fun,touch,...)
  21. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  22. end
  23. function CAS:UnbindAction(name)
  24. CAS.Actions[name] = nil
  25. end
  26. local function te(self,ev,...)
  27. local t = m[ev]
  28. if t and t._fakeEvent and t.Function then
  29. t.Function(...)
  30. end
  31. end
  32. m.TrigEvent = te
  33. UIS.TrigEvent = te
  34. Event.OnServerEvent:Connect(function(plr,io)
  35. if plr~=Player then return end
  36. if io.isMouse then
  37. m.Target = io.Target
  38. m.Hit = io.Hit
  39. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  40. if io.UserInputState == Enum.UserInputState.Begin then
  41. m:TrigEvent("Button1Down")
  42. else
  43. m:TrigEvent("Button1Up")
  44. end
  45. else
  46. for n,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. if io.UserInputState == Enum.UserInputState.Begin then
  54. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputBegan",io,false)
  56. else
  57. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent("InputEnded",io,false)
  59. end
  60. end
  61. end)
  62. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  63. end
  64.  
  65. wait(0.2)
  66. PlayerGui = Player.PlayerGui
  67. Cam = workspace.CurrentCamera
  68. Mouse = Player:GetMouse()
  69. Backpack = Player.Backpack
  70. Character = Player.Character
  71. Humanoid = Character.Humanoid
  72. RootPart = Character["HumanoidRootPart"]
  73. Torso = Character["Torso"]
  74. Head = Character["Head"]
  75. RightArm = Character["Right Arm"]
  76. LeftArm = Character["Left Arm"]
  77. RightLeg = Character["Right Leg"]
  78. LeftLeg = Character["Left Leg"]
  79. RootJoint = RootPart["RootJoint"]
  80. Neck = Torso["Neck"]
  81. RightShoulder = Torso["Right Shoulder"]
  82. LeftShoulder = Torso["Left Shoulder"]
  83. RightHip = Torso["Right Hip"]
  84. LeftHip = Torso["Left Hip"]
  85. local sick = Instance.new("Sound",Character)
  86. sick.SoundId = "rbxassetid://733456981"
  87. sick.Looped = true
  88. sick.Pitch = 1
  89. sick.Volume = 2
  90. sick.TimePosition = 115.5
  91. Character.Archivable = true
  92. Humanoid.DisplayDistanceType = "None"
  93.  
  94.  
  95.  
  96. IT = Instance.new
  97. CF = CFrame.new
  98. VT = Vector3.new
  99. RAD = math.rad
  100. C3 = Color3.new
  101. UD2 = UDim2.new
  102. BRICKC = BrickColor.new
  103. ANGLES = CFrame.Angles
  104. EULER = CFrame.fromEulerAnglesXYZ
  105. COS = math.cos
  106. ACOS = math.acos
  107. SIN = math.sin
  108. ASIN = math.asin
  109. ABS = math.abs
  110. MRANDOM = math.random
  111. FLOOR = math.floor
  112.  
  113. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  114. local NEWMESH = IT(MESH)
  115. if MESH == "SpecialMesh" then
  116. NEWMESH.MeshType = MESHTYPE
  117. if MESHID ~= "nil" and MESHID ~= "" then
  118. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  119. end
  120. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  121. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  122. end
  123. end
  124. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  125. NEWMESH.Scale = SCALE
  126. NEWMESH.Parent = PARENT
  127. return NEWMESH
  128. end
  129.  
  130. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  131. local NEWPART = IT("Part")
  132. NEWPART.formFactor = FORMFACTOR
  133. NEWPART.Reflectance = REFLECTANCE
  134. NEWPART.Transparency = TRANSPARENCY
  135. NEWPART.CanCollide = false
  136. NEWPART.Locked = true
  137. NEWPART.Anchored = true
  138. if ANCHOR == false then
  139. NEWPART.Anchored = false
  140. end
  141. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  142. NEWPART.Name = NAME
  143. NEWPART.Size = SIZE
  144. NEWPART.Position = Torso.Position
  145. NEWPART.Material = MATERIAL
  146. NEWPART:BreakJoints()
  147. NEWPART.Parent = PARENT
  148. return NEWPART
  149. end
  150.  
  151. --//=================================\\
  152. --|| CUSTOMIZATION
  153. --\\=================================//
  154.  
  155. Player_Size = 1 --Size of the player.
  156. Animation_Speed = 3
  157. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  158.  
  159. local Speed = 16
  160. local Effects2 = {}
  161.  
  162. --//=================================\\
  163. --|| END OF CUSTOMIZATION
  164. --\\=================================//
  165.  
  166. local function weldBetween(a, b)
  167. local weldd = Instance.new("ManualWeld")
  168. weldd.Part0 = a
  169. weldd.Part1 = b
  170. weldd.C0 = CFrame.new()
  171. weldd.C1 = b.CFrame:inverse() * a.CFrame
  172. weldd.Parent = a
  173. return weldd
  174. end
  175.  
  176. --//=================================\\
  177. --|| USEFUL VALUES
  178. --\\=================================//
  179.  
  180. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  181. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  182. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  183. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  184. local CHANGEDEFENSE = 0
  185. local CHANGEDAMAGE = 0
  186. local CHANGEMOVEMENT = 0
  187. local ANIM = "Idle"
  188. local ATTACK = false
  189. local EQUIPPED = false
  190. local HOLD = false
  191. local COMBO = 1
  192. local Rooted = false
  193. local SINE = 0
  194. local KEYHOLD = false
  195. local CHANGE = 2 / Animation_Speed
  196. local WALKINGANIM = false
  197. local WALK = 0
  198. local VALUE1 = false
  199. local VALUE2 = false
  200. local ROBLOXIDLEANIMATION = IT("Animation")
  201. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  202. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  203. --ROBLOXIDLEANIMATION.Parent = Humanoid
  204. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  205. WEAPONGUI.Name = "Weapon GUI"
  206. local Weapon = IT("Model")
  207. Weapon.Name = "Weapon"
  208. local Delete = IT("Model",Character)
  209. Delete.Name = "Banlist"
  210. local Effects = IT("Folder", Weapon)
  211. Effects.Name = "Effects"
  212. local ANIMATOR = Humanoid.Animator
  213. local ANIMATE = Character.Animate
  214. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  215. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  216. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  217. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  218. local UNANCHOR = true
  219. local PLAYMAINANIM = true
  220. local INTRO = false
  221. local TRANSFORMED = false
  222. local INSTANT = false
  223.  
  224.  
  225. --//=================================\\
  226. --\\=================================//
  227.  
  228.  
  229. --//=================================\\
  230. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  231. --\\=================================//
  232.  
  233. ArtificialHB = Instance.new("BindableEvent", script)
  234. ArtificialHB.Name = "ArtificialHB"
  235.  
  236. script:WaitForChild("ArtificialHB")
  237.  
  238. frame = Frame_Speed
  239. tf = 0
  240. allowframeloss = false
  241. tossremainder = false
  242. lastframe = tick()
  243. script.ArtificialHB:Fire()
  244.  
  245. game:GetService("RunService").Heartbeat:connect(function(s, p)
  246. tf = tf + s
  247. if tf >= frame then
  248. if allowframeloss then
  249. script.ArtificialHB:Fire()
  250. lastframe = tick()
  251. else
  252. for i = 1, math.floor(tf / frame) do
  253. script.ArtificialHB:Fire()
  254. end
  255. lastframe = tick()
  256. end
  257. if tossremainder then
  258. tf = 0
  259. else
  260. tf = tf - frame * math.floor(tf / frame)
  261. end
  262. end
  263. end)
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268.  
  269.  
  270.  
  271.  
  272. --//=================================\\
  273. --|| SOME FUNCTIONS
  274. --\\=================================//
  275.  
  276. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  277. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  278. end
  279.  
  280. function PositiveAngle(NUMBER)
  281. if NUMBER >= 0 then
  282. NUMBER = 0
  283. end
  284. return NUMBER
  285. end
  286.  
  287. function NegativeAngle(NUMBER)
  288. if NUMBER <= 0 then
  289. NUMBER = 0
  290. end
  291. return NUMBER
  292. end
  293.  
  294. function Swait(NUMBER)
  295. if NUMBER == 0 or NUMBER == nil then
  296. ArtificialHB.Event:wait()
  297. else
  298. for i = 1, NUMBER do
  299. ArtificialHB.Event:wait()
  300. end
  301. end
  302. end
  303.  
  304. function QuaternionFromCFrame(cf)
  305. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  306. local trace = m00 + m11 + m22
  307. if trace > 0 then
  308. local s = math.sqrt(1 + trace)
  309. local recip = 0.5 / s
  310. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  311. else
  312. local i = 0
  313. if m11 > m00 then
  314. i = 1
  315. end
  316. if m22 > (i == 0 and m00 or m11) then
  317. i = 2
  318. end
  319. if i == 0 then
  320. local s = math.sqrt(m00 - m11 - m22 + 1)
  321. local recip = 0.5 / s
  322. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  323. elseif i == 1 then
  324. local s = math.sqrt(m11 - m22 - m00 + 1)
  325. local recip = 0.5 / s
  326. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  327. elseif i == 2 then
  328. local s = math.sqrt(m22 - m00 - m11 + 1)
  329. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  330. end
  331. end
  332. end
  333.  
  334. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  335. local xs, ys, zs = x + x, y + y, z + z
  336. local wx, wy, wz = w * xs, w * ys, w * zs
  337. local xx = x * xs
  338. local xy = x * ys
  339. local xz = x * zs
  340. local yy = y * ys
  341. local yz = y * zs
  342. local zz = z * zs
  343. 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))
  344. end
  345.  
  346. function QuaternionSlerp(a, b, t)
  347. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  348. local startInterp, finishInterp;
  349. if cosTheta >= 0.0001 then
  350. if (1 - cosTheta) > 0.0001 then
  351. local theta = ACOS(cosTheta)
  352. local invSinTheta = 1 / SIN(theta)
  353. startInterp = SIN((1 - t) * theta) * invSinTheta
  354. finishInterp = SIN(t * theta) * invSinTheta
  355. else
  356. startInterp = 1 - t
  357. finishInterp = t
  358. end
  359. else
  360. if (1 + cosTheta) > 0.0001 then
  361. local theta = ACOS(-cosTheta)
  362. local invSinTheta = 1 / SIN(theta)
  363. startInterp = SIN((t - 1) * theta) * invSinTheta
  364. finishInterp = SIN(t * theta) * invSinTheta
  365. else
  366. startInterp = t - 1
  367. finishInterp = t
  368. end
  369. end
  370. 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
  371. end
  372.  
  373. function Clerp(a, b, t)
  374. local qa = {QuaternionFromCFrame(a)}
  375. local qb = {QuaternionFromCFrame(b)}
  376. local ax, ay, az = a.x, a.y, a.z
  377. local bx, by, bz = b.x, b.y, b.z
  378. local _t = 1 - t
  379. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  380. end
  381.  
  382. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  383. local frame = IT("Frame")
  384. frame.BackgroundTransparency = TRANSPARENCY
  385. frame.BorderSizePixel = BORDERSIZEPIXEL
  386. frame.Position = POSITION
  387. frame.Size = SIZE
  388. frame.BackgroundColor3 = COLOR
  389. frame.BorderColor3 = BORDERCOLOR
  390. frame.Name = NAME
  391. frame.Parent = PARENT
  392. return frame
  393. end
  394.  
  395. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  396. local label = IT("TextLabel")
  397. label.BackgroundTransparency = 1
  398. label.Size = UD2(1, 0, 1, 0)
  399. label.Position = UD2(0, 0, 0, 0)
  400. label.TextColor3 = TEXTCOLOR
  401. label.TextStrokeTransparency = STROKETRANSPARENCY
  402. label.TextTransparency = TRANSPARENCY
  403. label.FontSize = TEXTFONTSIZE
  404. label.Font = TEXTFONT
  405. label.BorderSizePixel = BORDERSIZEPIXEL
  406. label.TextScaled = false
  407. label.Text = TEXT
  408. label.Name = NAME
  409. label.Parent = PARENT
  410. return label
  411. end
  412.  
  413. function NoOutlines(PART)
  414. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  415. end
  416.  
  417.  
  418. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  419. local NEWWELD = IT(TYPE)
  420. NEWWELD.Part0 = PART0
  421. NEWWELD.Part1 = PART1
  422. NEWWELD.C0 = C0
  423. NEWWELD.C1 = C1
  424. NEWWELD.Parent = PARENT
  425. return NEWWELD
  426. end
  427.  
  428. function CreateSound(ID, PARENT, VOLUME, PITCH)
  429. local NEWSOUND = nil
  430. coroutine.resume(coroutine.create(function()
  431. NEWSOUND = IT("Sound", PARENT)
  432. NEWSOUND.Volume = VOLUME
  433. NEWSOUND.Pitch = PITCH
  434. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  435. Swait()
  436. NEWSOUND:play()
  437. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  438. end))
  439. return NEWSOUND
  440. end
  441.  
  442. function CFrameFromTopBack(at, top, back)
  443. local right = top:Cross(back)
  444. 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)
  445. end
  446.  
  447. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  448. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  449. local mesh = IT("SpecialMesh",wave)
  450. mesh.MeshType = "FileMesh"
  451. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  452. mesh.Scale = SIZE
  453. mesh.Offset = VT(0,0,0)
  454. wave.CFrame = CFRAME
  455. coroutine.resume(coroutine.create(function(PART)
  456. for i = 1, WAIT do
  457. Swait()
  458. mesh.Scale = mesh.Scale + GROW
  459. if DOESROT == true then
  460. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  461. end
  462. wave.Transparency = wave.Transparency + (0.5/WAIT)
  463. if wave.Transparency > 0.99 then
  464. wave:remove()
  465. end
  466. end
  467. end))
  468. end
  469.  
  470. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  471. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  472. local mesh = IT("SpecialMesh",wave)
  473. mesh.MeshType = "Sphere"
  474. mesh.Scale = SIZE
  475. mesh.Offset = VT(0,0,0)
  476. wave.CFrame = CFRAME
  477. coroutine.resume(coroutine.create(function(PART)
  478. for i = 1, WAIT do
  479. Swait()
  480. mesh.Scale = mesh.Scale + GROW
  481. wave.Transparency = wave.Transparency + (1/WAIT)
  482. if wave.Transparency > 0.99 then
  483. wave:remove()
  484. end
  485. end
  486. end))
  487. end
  488.  
  489. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  490. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  491. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  492. wave.CFrame = CFRAME
  493. coroutine.resume(coroutine.create(function(PART)
  494. for i = 1, WAIT do
  495. Swait()
  496. mesh.Scale = mesh.Scale * GROW
  497. wave.Transparency = wave.Transparency + (0.5/WAIT)
  498. if wave.Transparency > 0.99 then
  499. wave:remove()
  500. end
  501. end
  502. end))
  503. end
  504.  
  505. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  506. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  507. local mesh = IT("BlockMesh",wave)
  508. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  509. coroutine.resume(coroutine.create(function(PART)
  510. for i = 1, WAIT do
  511. Swait()
  512. mesh.Scale = mesh.Scale + GROW
  513. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  514. wave.Transparency = wave.Transparency + (1/WAIT)
  515. if wave.Transparency > 0.99 then
  516. wave:remove()
  517. end
  518. end
  519. end))
  520. end
  521.  
  522. function MakeForm(PART,TYPE)
  523. if TYPE == "Cyl" then
  524. local MSH = IT("CylinderMesh",PART)
  525. elseif TYPE == "Ball" then
  526. local MSH = IT("SpecialMesh",PART)
  527. MSH.MeshType = "Sphere"
  528. elseif TYPE == "Wedge" then
  529. local MSH = IT("SpecialMesh",PART)
  530. MSH.MeshType = "Wedge"
  531. end
  532. end
  533.  
  534. function CheckTableForString(Table, String)
  535. for i, v in pairs(Table) do
  536. if string.find(string.lower(String), string.lower(v)) then
  537. return true
  538. end
  539. end
  540. return false
  541. end
  542.  
  543. function CheckIntangible(Hit)
  544. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  545. if Hit and Hit.Parent then
  546. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  547. return true
  548. end
  549. end
  550. return false
  551. end
  552.  
  553. Debris = game:GetService("Debris")
  554.  
  555. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  556. local Direction = CFrame.new(StartPos, Vec).lookVector
  557. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  558. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  559. if RayHit and CheckIntangible(RayHit) then
  560. if DelayIfHit then
  561. wait()
  562. end
  563. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  564. end
  565. return RayHit, RayPos, RayNormal
  566. end
  567.  
  568. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  569. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  570. end
  571.  
  572. function turnto(position)
  573. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  574. end
  575.  
  576. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  577. PLAYMAINANIM = false
  578. if WhichPose == "Cast1" then
  579. for i=0, Time, 0.1 / Animation_Speed do
  580. Swait()
  581. if Magic == true then
  582. 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})
  583. end
  584. if Gyro ~= nil and Gyro ~= false then
  585. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  586. end
  587. 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)
  588. 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)
  589. 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)
  590. 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)
  591. 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)
  592. 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)
  593. end
  594. elseif WhichPose == "Cast2" then
  595. for i=0, Time, 0.1 / Animation_Speed do
  596. Swait()
  597. if Magic == true then
  598. 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})
  599. 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})
  600. end
  601. if Gyro ~= nil and Gyro ~= false then
  602. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  603. end
  604. 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)
  605. 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)
  606. 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)
  607. 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)
  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 == "RightArmUp" then
  612. for i=0, Time, 0.1 / Animation_Speed do
  613. Swait()
  614. if Magic == true then
  615. 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})
  616. end
  617. if Gyro ~= nil and Gyro ~= false then
  618. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  619. end
  620. 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)
  621. 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)
  622. 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)
  623. 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)
  624. 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)
  625. 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)
  626. end
  627. elseif WhichPose == "Taunt" then
  628. for i=0, Time, 0.1 / Animation_Speed do
  629. Swait()
  630. 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)
  631. 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)
  632. 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)
  633. 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)
  634. 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)
  635. 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)
  636. end
  637. CreateSound(221057812,Torso,10,1,false)
  638. for i=0, Time*2, 0.1 / Animation_Speed do
  639. Swait()
  640. 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)
  641. 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)
  642. 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)
  643. 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)
  644. 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)
  645. 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)
  646. end
  647. for i=0, Time, 0.1 / Animation_Speed do
  648. Swait()
  649. 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)
  650. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  652. 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)
  653. 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)
  654. 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)
  655. end
  656. elseif WhichPose == "Prepare key" then
  657. for i=0, Time, 0.1 / Animation_Speed do
  658. Swait()
  659. if Gyro ~= nil and Gyro ~= false then
  660. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  661. end
  662. 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)
  663. 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)
  664. 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)
  665. 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)
  666. 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)
  667. 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)
  668. end
  669. elseif WhichPose == "Turn key" then
  670. for i=0, Time, 0.1 / Animation_Speed do
  671. Swait()
  672. if Gyro ~= nil and Gyro ~= false then
  673. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  674. end
  675. 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)
  676. 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)
  677. 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)
  678. 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)
  679. 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)
  680. 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)
  681. end
  682. end
  683. PLAYMAINANIM = true
  684. end
  685.  
  686. --//=================================\\
  687. --|| SPEECH
  688. --\\=================================//
  689.  
  690.  
  691.  
  692.  
  693. --// Start Stuff for Banishing \\--
  694.  
  695. local TOBANISH = {}
  696.  
  697. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  698. local DIRECTION = CF(StartPos,EndPos).lookVector
  699. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  700. end
  701.  
  702. function printbye(Name)
  703. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your life is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  704. ----chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  705. end
  706.  
  707. function Banish(Foe)
  708. if Foe then
  709. coroutine.resume(coroutine.create(function()
  710. --if game.Players:FindFirstChild(Foe.Name) then
  711. table.insert(TOBANISH,Foe.Name)
  712. printbye(Foe.Name)
  713. --end
  714. Foe.Archivable = true
  715. local CLONE = Foe:Clone()
  716. Foe:Destroy()
  717. CLONE.Parent = Effects
  718. CLONE:BreakJoints()
  719. local MATERIALS = {"Glass","Neon"}
  720. for _, c in pairs(CLONE:GetDescendants()) do
  721. if c:IsA("BasePart") then
  722. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  723. CreateSound(340722848, c, 10, 1, false)
  724. end
  725. c.Anchored = true
  726. c.Transparency = c.Transparency + 0.2
  727. c.Material = MATERIALS[MRANDOM(1,2)]
  728. c.Color = C3(0,255,0)
  729. if c.ClassName == "MeshPart" then
  730. c.TextureID = ""
  731. end
  732. if c:FindFirstChildOfClass("SpecialMesh") then
  733. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  734. end
  735. if c:FindFirstChildOfClass("Decal") then
  736. c:FindFirstChildOfClass("Decal"):remove()
  737. end
  738. c.Name = "Banished"
  739. c.CanCollide = false
  740. else
  741. c:remove()
  742. end
  743. end
  744. local A = false
  745. for i = 1, 35 do
  746. if A == false then
  747. A = true
  748. elseif A == true then
  749. A = false
  750. end
  751. for _, c in pairs(CLONE:GetDescendants()) do
  752. if c:IsA("BasePart") then
  753. c.Anchored = true
  754. c.Material = MATERIALS[MRANDOM(1,2)]
  755. c.Transparency = c.Transparency + 0.8/35
  756. if A == false then
  757. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  758. elseif A == true then
  759. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  760. end
  761. end
  762. end
  763. Swait()
  764. end
  765. CLONE:remove()
  766. end))
  767. end
  768. end
  769.  
  770. function BANNEAREST(POS,RANGE)
  771. for i,v in ipairs(workspace:GetChildren()) do
  772. local body = v:GetChildren()
  773. for part = 1, #body do
  774. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  775. if(body[part].Position - POS).Magnitude < RANGE then
  776. if v:FindFirstChildOfClass("Humanoid") then
  777. Banish(v)
  778. if game.Players:FindFirstChild(v.Name) then
  779. local Value = IT("BoolValue",Delete)
  780. Value.Name = v.Name
  781. end
  782. end
  783. end
  784. end
  785. end
  786. end
  787. end
  788.  
  789. workspace.ChildAdded:connect(function(instance)
  790. for BANISH = 1, #TOBANISH do
  791. if TOBANISH[BANISH] ~= nil then
  792. if instance.Name == TOBANISH[BANISH] then
  793. coroutine.resume(coroutine.create(function()
  794. printbye(instance.Name)
  795. instance:ClearAllChildren()
  796. Debris:AddItem(instance,0.0005)
  797. end))
  798. end
  799. end
  800. end
  801. end)
  802.  
  803. function SpawnTrail(FROM,TO,BIG)
  804. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  805. MakeForm(TRAIL,"Cyl")
  806. local DIST = (FROM - TO).Magnitude
  807. if BIG == true then
  808. TRAIL.Size = VT(10,DIST,10)
  809. else
  810. TRAIL.Size = VT(0.25,DIST,0.25)
  811. end
  812. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  813. coroutine.resume(coroutine.create(function()
  814. for i = 1, 5 do
  815. Swait()
  816. TRAIL.Transparency = TRAIL.Transparency + 0.1
  817. end
  818. TRAIL:remove()
  819. end))
  820. end
  821.  
  822. function WACKYEFFECT(Table)
  823. local TYPE = (Table.EffectType or "Sphere")
  824. local SIZE = (Table.Size or VT(1,1,1))
  825. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  826. local TRANSPARENCY = (Table.Transparency or 0)
  827. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  828. local CFRAME = (Table.CFrame or Torso.CFrame)
  829. local MOVEDIRECTION = (Table.MoveToPos or nil)
  830. local ROTATION1 = (Table.RotationX or 0)
  831. local ROTATION2 = (Table.RotationY or 0)
  832. local ROTATION3 = (Table.RotationZ or 0)
  833. local MATERIAL = (Table.Material or "Neon")
  834. local COLOR = (Table.Color or C3(0,255,0))
  835. local TIME = (Table.Time or 45)
  836. local SOUNDID = (Table.SoundID or nil)
  837. local SOUNDPITCH = (Table.SoundPitch or nil)
  838. local SOUNDVOLUME = (Table.SoundVolume or nil)
  839. coroutine.resume(coroutine.create(function()
  840. local PLAYSSOUND = false
  841. local SOUND = nil
  842. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  843. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  844. PLAYSSOUND = true
  845. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  846. end
  847. EFFECT.Color = COLOR
  848. local MSH = nil
  849. if TYPE == "Sphere" then
  850. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  851. elseif TYPE == "Block" then
  852. MSH = IT("BlockMesh",EFFECT)
  853. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  854. elseif TYPE == "Wave" then
  855. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  856. elseif TYPE == "Ring" then
  857. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  858. elseif TYPE == "Slash" then
  859. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  860. elseif TYPE == "Round Slash" then
  861. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  862. elseif TYPE == "Swirl" then
  863. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  864. elseif TYPE == "Skull" then
  865. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  866. elseif TYPE == "Crystal" then
  867. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  868. end
  869. if MSH ~= nil then
  870. local MOVESPEED = nil
  871. if MOVEDIRECTION ~= nil then
  872. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  873. end
  874. local GROWTH = SIZE - ENDSIZE
  875. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  876. if TYPE == "Block" then
  877. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  878. else
  879. EFFECT.CFrame = CFRAME
  880. end
  881. for LOOP = 1, TIME+1 do
  882. Swait()
  883. MSH.Scale = MSH.Scale - GROWTH/TIME
  884. if TYPE == "Wave" then
  885. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  886. end
  887. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  888. if TYPE == "Block" then
  889. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  890. else
  891. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  892. end
  893. if MOVEDIRECTION ~= nil then
  894. local ORI = EFFECT.Orientation
  895. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  896. EFFECT.Orientation = ORI
  897. end
  898. end
  899. if PLAYSSOUND == false then
  900. EFFECT:remove()
  901. else
  902. SOUND.Stopped:Connect(function()
  903. EFFECT:remove()
  904. end)
  905. end
  906. else
  907. if PLAYSSOUND == false then
  908. EFFECT:remove()
  909. else
  910. repeat Swait() until SOUND.Playing == false
  911. EFFECT:remove()
  912. end
  913. end
  914. end))
  915. end
  916.  
  917. -- \\ End Stuff for Banishing //--
  918.  
  919. --//=================================\\
  920. --|| WEAPON CREATION
  921. --\\=================================//
  922. print("hello this is Epticallity and you're watching Disney Channel")
  923. warn("let dreamer suck you off VengefulProgram")
  924. local EyeSizes={
  925. NumberSequenceKeypoint.new(0,1,0),
  926. NumberSequenceKeypoint.new(1,0,0)
  927. }
  928. local EyeTrans={
  929. NumberSequenceKeypoint.new(0,0.8,0),
  930. NumberSequenceKeypoint.new(1,1,0)
  931. }
  932. local PE=Instance.new("ParticleEmitter")
  933. PE.LightEmission=.8
  934. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  935. PE.Size=NumberSequence.new(EyeSizes)
  936. PE.Transparency=NumberSequence.new(EyeTrans)
  937. PE.Lifetime=NumberRange.new(0.35,1.5)
  938. PE.Rotation=NumberRange.new(0,360)
  939. PE.Rate=999
  940. PE.VelocitySpread = 10000
  941. PE.Acceleration = Vector3.new(0,0,0)
  942. PE.Drag = 5
  943. PE.Speed = NumberRange.new(0,0,0)
  944. PE.Texture="http://www.roblox.com/asset/?id=0"
  945. PE.ZOffset = -1.5
  946. PE.Name = "PE"
  947. PE.Enabled = false
  948.  
  949. function particles(art)
  950. local PARTICLES = PE:Clone()
  951. PARTICLES.Parent = art
  952. end
  953.  
  954. local SCYTHE = IT("Model",Character)
  955. SCYTHE.Name = "SCYTHE"
  956.  
  957. local B = SCYTHE
  958. local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really red", "HandPart", VT(0.3,0.3,0.3),false)
  959. particles(HandlePart)
  960. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  961. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,3.5,0.2),false)
  962. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  963. MakeForm(part,"Ball")
  964. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1,0.3),false)
  965. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  966. MakeForm(part,"Ball")
  967. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.25,1,0.25),false)
  968. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  969. MakeForm(part,"Ball")
  970. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,2,0.15),false)
  971. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  972. MakeForm(part,"Ball")
  973. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.55,0.15),false)
  974. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  975. MakeForm(part,"Ball")
  976. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.5,0.15),false)
  977. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  978. MakeForm(part,"Ball")
  979. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.45,0.15),false)
  980. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
  981. MakeForm(part,"Ball")
  982. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,2,0.3),false)
  983. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  984. MakeForm(part,"Ball")
  985. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.8,0.3),false)
  986. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  987. MakeForm(part,"Ball")
  988. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,0.3,0.3),false)
  989. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  990. MakeForm(part,"Ball")
  991. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.15,0.8,0.15),false)
  992. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
  993. MakeForm(part,"Ball")
  994. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,0.8,0.2),false)
  995. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
  996. MakeForm(part,"Ball")
  997. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.4,1.3,0.8),false)
  998. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  999. MakeForm(part,"Ball")
  1000. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
  1001. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1002. MakeForm(part,"Ball")
  1003. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,2,0.4),false)
  1004. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1005. MakeForm(part,"Ball")
  1006. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,2,0.4),false)
  1007. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
  1008. MakeForm(part,"Ball")
  1009. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.05,2,0.2),false)
  1010. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
  1011. MakeForm(part,"Ball")
  1012. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.3,1.3,0.6),false)
  1013. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1014. MakeForm(part,"Ball")
  1015. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.2,1,0.4),false)
  1016. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
  1017. MakeForm(part,"Ball")
  1018. local part = CreatePart(3, B, "Granite", 0, 1, "Really red", "ScythePart", VT(0.15,1,0.2),false)
  1019. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
  1020. MakeForm(part,"Ball")
  1021. local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really red", "ScythePart", VT(0.1,0.5,0.1),false)
  1022. local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
  1023. MakeForm(part,"Ball")
  1024. local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
  1025. local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1026.  
  1027. for _, c in pairs(SCYTHE:GetChildren()) do
  1028. if c.ClassName == "Part" then
  1029. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1030. end
  1031. end
  1032.  
  1033. Weapon.Parent = Character
  1034.  
  1035. Humanoid.Died:connect(function()
  1036. KillChildren(Character)
  1037. SCYTHE:ClearAllChildren()
  1038. for i = 1, 100 do
  1039. Swait()
  1040. sick.Volume = sick.Volume - 0.02
  1041. end
  1042. end)
  1043.  
  1044. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1045. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1046. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1047. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1048. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1049.  
  1050. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", BrickColor.new("Really red").Color, 8, "Code", 0, 2, 0, "Text 1")
  1051. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", BrickColor.new("Really blue").Color, 8, "Code", 0, 2, 0, "Text 2")
  1052. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Key To Hell", BrickColor.new("Lime green").Color, 8, "Code", 0, 2, 0, "Text 3")
  1053. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", BrickColor.new("Pink").Color, 8, "Code", 0, 2, 0, "Text 4")
  1054. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", BrickColor.new("White").Color, 8, "Code", 0, 2, 0, "Text 5")
  1055.  
  1056. --//=================================\\
  1057. --|| DAMAGING
  1058. --\\=================================//
  1059.  
  1060. function KillChildren(v)
  1061. v:BreakJoints()
  1062. for _, c in pairs(v:GetChildren()) do
  1063. if c.ClassName == "Part" or c.ClassName == "MesPart" then
  1064. if c.Transparency < 1 then
  1065. if c:FindFirstChildOfClass("Decal") then
  1066. c:FindFirstChildOfClass("Decal"):remove()
  1067. end
  1068. particles(c)
  1069. c.PE.Enabled = true
  1070. c.Parent = Effects
  1071. c.CanCollide = false
  1072. c.Material = "Neon"
  1073. c.Color = C3(0,0,0)
  1074. c.Transparency = 0.5
  1075. local grav = Instance.new("BodyPosition",c)
  1076. grav.P = 20000
  1077. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1078. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1079. grav.Name = "GravityForce"
  1080. coroutine.resume(coroutine.create(function()
  1081. for i = 1, 50 do
  1082. Swait()
  1083. c.Transparency = c.Transparency + 0.01
  1084. end
  1085. c.PE.Enabled = false
  1086. Debris:AddItem(c,2)
  1087. end))
  1088. end
  1089. end
  1090. end
  1091. end
  1092.  
  1093. function killnearest(position,range)
  1094. for i,v in ipairs(workspace:GetChildren()) do
  1095. local body = v:GetChildren()
  1096. for part = 1, #body do
  1097. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1098. if(body[part].Position - position).Magnitude < range then
  1099. if v.ClassName == "Model" then
  1100. KillChildren(v)
  1101. end
  1102. end
  1103. end
  1104. end
  1105. end
  1106. end
  1107.  
  1108. function ApplyDamage(Humanoid,Damage)
  1109. Damage = Damage * 1
  1110. local DEAD = false
  1111. if Humanoid.Health < 2000 then
  1112. if Humanoid.Health - Damage > 0 then
  1113. Humanoid.Health = Humanoid.Health - Damage
  1114. else
  1115. DEAD = true
  1116. Humanoid.Parent:BreakJoints()
  1117. end
  1118. else
  1119. DEAD = true
  1120. Humanoid.Parent:BreakJoints()
  1121. end
  1122. if DEAD == true then
  1123. Chatter("That's your fault. Isn't it.",0)
  1124. end
  1125. end
  1126.  
  1127. --//=================================\\
  1128. --|| ATTACK FUNCTIONS AND STUFF
  1129. --\\=================================//
  1130.  
  1131. function Intro()
  1132. ATTACK = true
  1133. Rooted = true
  1134. repeat
  1135. Swait()
  1136. 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)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1139. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1140. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1141. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1142. until sick.TimePosition > 120
  1143. repeat
  1144. Swait()
  1145. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1146. 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)
  1147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1149. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1150. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1151. until sick.TimePosition > 129
  1152. repeat
  1153. Swait()
  1154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1155. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1156. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1157. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1158. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1159. 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)
  1160. until sick.TimePosition > 130.5
  1161. ---tecks2.TextTransparency = 0
  1162. HandleWeld.Part0 = RightArm
  1163. for i = 1, 100 do
  1164. Swait()
  1165. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1166. for _, c in pairs(Character:GetChildren()) do
  1167. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1168. c.Transparency = 0
  1169. end
  1170. end
  1171. for _, c in pairs(Weapon:GetChildren()) do
  1172. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1173. c.Transparency = 0
  1174. end
  1175. end
  1176. for _, c in pairs(SCYTHE:GetChildren()) do
  1177. if c.ClassName == "Part" then
  1178. if c.Material ~= Enum.Material.Neon then
  1179. c.Transparency = c.Transparency - 0.01
  1180. end
  1181. c.Color = C3(0,0,0)
  1182. end
  1183. end
  1184. end
  1185. HandleWeld.Part0 = Torso
  1186. TRANSFORMED = true
  1187. ATTACK = false
  1188. Rooted = false
  1189. end
  1190.  
  1191. function AttackTemplate()
  1192. ATTACK = true
  1193. Rooted = false
  1194. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1195. HandleWeld.Part0 = RightArm
  1196. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1197. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1198. for i=0, 1, 0.1 / Animation_Speed do
  1199. Swait()
  1200. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1201. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1204. 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.5 / Animation_Speed)
  1205. 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.5 / Animation_Speed)
  1206. end
  1207. HandleWeld.Part0 = Torso
  1208. ATTACK = false
  1209. Rooted = false
  1210. end
  1211.  
  1212. function Warp()
  1213. ATTACK = true
  1214. Rooted = true
  1215. UNANCHOR = false
  1216. RootPart.Anchored = true
  1217. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1218. HandleWeld.Part0 = RightArm
  1219. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1220. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1221. for i=0, 0.5, 0.1 / Animation_Speed do
  1222. Swait()
  1223. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1224. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1225. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1226. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1227. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1228. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1229. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1230. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1231. 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)
  1232. end
  1233. for i = 1, 10 do
  1234. Swait()
  1235. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1236. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1237. end
  1238. for i=0, 1, 0.1 / Animation_Speed do
  1239. Swait()
  1240. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1241. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1242. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1248. 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)
  1249. end
  1250. local ORIGIN = RootPart.Position
  1251. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
  1252. for i=0, 1, 0.1 / Animation_Speed do
  1253. Swait()
  1254. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1255. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1256. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2)
  1257. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1258. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1259. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1260. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1261. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1262. 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)
  1263. end
  1264. UNANCHOR = true
  1265. RootPart.Anchored = false
  1266. for i = 1, 10 do
  1267. Swait()
  1268. CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
  1269. MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
  1270. end
  1271. HandleWeld.Part0 = Torso
  1272. ATTACK = false
  1273. Rooted = false
  1274. end
  1275.  
  1276. function DeathlyDash()
  1277. ATTACK = true
  1278. Rooted = false
  1279. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1280. HandleWeld.Part0 = RightArm
  1281. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  1282. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1283. for i=0, 1, 0.1 / Animation_Speed do
  1284. Swait()
  1285. turnto(Mouse.Hit.p)
  1286. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
  1287. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  1288. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1291. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1292. 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.5 / Animation_Speed)
  1293. end
  1294. local TRAILS = {}
  1295. local FOUND = false
  1296. for i = 1, 75 do
  1297. Swait()
  1298. local TRAIL = Character:Clone()
  1299. for _, c in pairs(TRAIL:GetChildren()) do
  1300. if c.ClassName == "Part" then
  1301. c.Anchored = true
  1302. c.Color = C3(0,0,0)
  1303. c.Transparency = 0.5
  1304. c.Material = "Neon"
  1305. c.CanCollide = false
  1306. else
  1307. c:remove()
  1308. end
  1309. end
  1310. TRAIL.Parent = Effects
  1311. table.insert(TRAILS,TRAIL)
  1312. Debris:AddItem(TRAIL,0.08)
  1313. for _, c in pairs(workspace:GetChildren()) do
  1314. if c.ClassName == "Model" then
  1315. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1316. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1317. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  1318. if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then
  1319. BANNEAREST(TORSO.Position,25)
  1320. FOUND = true
  1321. end
  1322. end
  1323. end
  1324. end
  1325. if FOUND == true then
  1326. for i = 1, 65 do
  1327. BANNEAREST(Torso.CFrame*CF(0,0,-8).p,25)
  1328. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  1329. end
  1330. local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
  1331. Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
  1332. for i=0, 1, 0.1 / Animation_Speed do
  1333. Swait()
  1334. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1)
  1335. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed)
  1336. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed)
  1337. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1338. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1339. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1340. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1341. end
  1342. break
  1343. end
  1344. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5)
  1345. end
  1346. HandleWeld.Part0 = Torso
  1347. ATTACK = false
  1348. Rooted = false
  1349. end
  1350.  
  1351. function FatalWave()
  1352. ATTACK = true
  1353. Rooted = true
  1354. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1355. HandleWeld.Part0 = RightArm
  1356. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1357. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1358. for i=0, 1, 0.1 / Animation_Speed do
  1359. Swait()
  1360. CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(1,1,0))
  1361. turnto(Mouse.Hit.p)
  1362. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2)
  1363. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
  1364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
  1365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1369. end
  1370. for i=0,0.1, 0.1 / Animation_Speed do
  1371. Swait()
  1372. turnto(Mouse.Hit.p)
  1373. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
  1374. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
  1375. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
  1376. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  1377. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
  1378. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1379. 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.5)
  1380. end
  1381. local angle = - 30
  1382. for i = 1, 5 do
  1383. coroutine.resume(coroutine.create(function()
  1384. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1385. local SpawnPosition = RayPos
  1386. local floor = RayHit
  1387. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1388. local LastPosition = RayPos
  1389. local Delay = 1
  1390. for i = 1, 15 do
  1391. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1392. local End = RayPos
  1393. LastPosition = End
  1394. if SpawnPosition then
  1395. BANNEAREST(End,25)
  1396. CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(0.4,0.4,0)*i)
  1397. Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Really red",1)
  1398. end
  1399. Swait()
  1400. end
  1401. end))
  1402. angle = angle + 15
  1403. end
  1404. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
  1405. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1406. CreateSound("62339698", HitBox, 10, 0.4)
  1407. for i=0, 1, 0.1 / Animation_Speed do
  1408. Swait()
  1409. turnto(Mouse.Hit.p)
  1410. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2)
  1411. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
  1412. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
  1413. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
  1414. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
  1415. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
  1416. 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.5)
  1417. end
  1418. HandleWeld.Part0 = Torso
  1419. ATTACK = false
  1420. Rooted = false
  1421. end
  1422.  
  1423. function Reap()
  1424. ATTACK = true
  1425. Rooted = true
  1426. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1427. HandleWeld.Part0 = RightArm
  1428. HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1429. MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Really red",VT(2,2,2))
  1430. for i=0, 3, 0.1 / Animation_Speed do
  1431. Swait()
  1432. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2)
  1433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1437. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1439. end
  1440. local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
  1441. SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
  1442. local SOUND = CreateSound("135017578", Effects, 5, 1)
  1443. Swait()
  1444. repeat
  1445. Swait()
  1446. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2)
  1447. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1448. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1449. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1450. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1451. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1452. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1453. until SOUND.playing == false
  1454. local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Blood", VT(800,0,800))
  1455. MakeForm(FLOOR,"Cyl")
  1456. FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0))
  1457. CreateSound("289315275", Effects, 5, 0.3)
  1458. for i = 1, 400 do
  1459. Swait()
  1460. FLOOR.Transparency = FLOOR.Transparency - (1/400)
  1461. if i > 100 then
  1462. if MRANDOM(1,2) == 1 then
  1463. local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Really red", "Magic", VT(1,1,1)*MRANDOM(2,35)/10)
  1464. SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285))
  1465. MakeForm(SPHERE,"Ball")
  1466. coroutine.resume(coroutine.create(function()
  1467. for i = 1, 100 do
  1468. Swait()
  1469. SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0)
  1470. SPHERE.Transparency = (i/100)
  1471. end
  1472. SPHERE:remove()
  1473. end))
  1474. end
  1475. end
  1476. end
  1477. CreateSound("62339698", Effects, 10, 0.3)
  1478. BANNEAREST(FLOOR.Position,FLOOR.Size.Z/2)
  1479. FLOOR:ClearAllChildren()
  1480. MakeForm(FLOOR,"Ball")
  1481. for i = 1, 50 do
  1482. Swait()
  1483. FLOOR.Size = FLOOR.Size + VT(-16,1,-16)
  1484. FLOOR.Transparency = FLOOR.Transparency + (1/50)
  1485. end
  1486. FLOOR:remove()
  1487. HandleWeld.Part0 = Torso
  1488. ATTACK = false
  1489. Rooted = false
  1490. end
  1491.  
  1492. function Banisher_Bullet()
  1493. ATTACK = true
  1494. Rooted = false
  1495. for i=0, 0.05, 0.1 / Animation_Speed do
  1496. Swait()
  1497. turnto(Mouse.Hit.p)
  1498. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1499. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1500. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1501. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1502. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1503. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1504. end
  1505. repeat
  1506. for i=0, 0.05, 0.1 / Animation_Speed do
  1507. Swait()
  1508. turnto(Mouse.Hit.p)
  1509. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1515. end
  1516. local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  1517. SpawnTrail(RightArm.Position,POS,true)
  1518. if HIT ~= nil then
  1519. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1520. Banish(HIT.Parent)
  1521. end
  1522. end
  1523. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1524. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = 340722848, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1525. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1526. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,0,10), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1527. for i=0, 0.05, 0.1 / Animation_Speed do
  1528. Swait()
  1529. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1530. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1531. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1532. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1533. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1534. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1535. end
  1536. until KEYHOLD == false
  1537. ATTACK = false
  1538. Rooted = false
  1539. end
  1540.  
  1541. function Forgive_Sins()
  1542. ---chatfunc("You are forgiven.")
  1543.  
  1544. for p,v in next, TOBANISH do
  1545. TOBANISH[p] = nil
  1546. end
  1547. end
  1548.  
  1549. function Taunt()
  1550. ATTACK = true
  1551. Rooted = true
  1552. local SOUND = CreateSound("134978657", Head, 10, 1.3)
  1553. Swait()
  1554. repeat
  1555. Swait()
  1556. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1557. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1559. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1560. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1561. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1562. until SOUND.Playing == false
  1563. ATTACK = false
  1564. Rooted = false
  1565. end
  1566.  
  1567. function Prison_Key()
  1568. if Mouse.Target ~= nil then
  1569. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1570. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1571. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1572. local GYRO = IT("BodyGyro",RootPart)
  1573. GYRO.D = 750
  1574. GYRO.P = 20000
  1575. GYRO.MaxTorque = VT(0,40000000,0)
  1576. local grav = Instance.new("BodyPosition",TORSO)
  1577. grav.D = 15
  1578. grav.P = 20000
  1579. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1580. grav.position = TORSO.Position
  1581. local GYRO2 = IT("BodyGyro",TORSO)
  1582. GYRO2.D = 750
  1583. GYRO2.P = 20000
  1584. GYRO2.MaxTorque = VT(0,40000000,0)
  1585. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1586. grav.Name = "Jail"
  1587. local LOCKPARTS = {}
  1588. ATTACK = true
  1589. Rooted = false
  1590. local LOCK = IT("Model",Effects)
  1591. LOCK.Name = "Lock"
  1592. local LOCK2 = IT("Model",LOCK)
  1593. LOCK2.Name = "Metal"
  1594. --CREATE LOCK--
  1595. local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  1596. LOCK.PrimaryPart = BASE
  1597. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1598. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  1599. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1600. MakeForm(PRT,"Cyl")
  1601. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(1, 1, 1))
  1602. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1603. MakeForm(PRT,"Cyl")
  1604. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Gold", "Hole", VT(0.5, 1, 1))
  1605. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1606. for i = 1, 45 do
  1607. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1608. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1609. end
  1610. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1611. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1612. LOCK2.PrimaryPart = PRT
  1613. ---------------
  1614. local CHILDREN = LOCK:GetDescendants()
  1615. for index, CHILD in pairs(CHILDREN) do
  1616. if CHILD:IsA("BasePart") then
  1617. CHILD.Transparency = 1
  1618. end
  1619. end
  1620. for i = 1, 75 do
  1621. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1622. Swait()
  1623. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1624. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1625. local CHILDREN = LOCK:GetDescendants()
  1626. for index, CHILD in pairs(CHILDREN) do
  1627. if CHILD:IsA("BasePart") then
  1628. CHILD.Transparency = CHILD.Transparency - 1/75
  1629. end
  1630. end
  1631. end
  1632. HUM.DisplayDistanceType = "None"
  1633. local KEY = IT("Model",Effects)
  1634. KEY.Name = "Key"
  1635. --CREATE KEY--
  1636. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "KeyBase", VT(0.1, 1, 0.1),false)
  1637. KEY.PrimaryPart = KBASE
  1638. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1639. local WLD = weldBetween(RightArm,KBASE)
  1640. for i = 1, 45 do
  1641. local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.1, 0.1, 0.1),false)
  1642. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1643. weldBetween(KBASE,PRT)
  1644. end
  1645. local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
  1646. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1647. weldBetween(KBASE,PRT)
  1648. local PRT = CreatePart(3, KEY, "Neon", 0, 0, BrickColor.Random(), "Key", VT(0.3, 0.1, 0.1),false)
  1649. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1650. weldBetween(KBASE,PRT)
  1651. --------------
  1652. Rooted = true
  1653. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1654. coroutine.resume(coroutine.create(function()
  1655. for i = 1, 10 do
  1656. Swait()
  1657. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1658. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1659. end
  1660. CreateSound(1149318312,BASE,5,1,false)
  1661. CreateSound(160772554,BASE,3,1,false)
  1662. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1663. for i = 1, 4 do
  1664. 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 = BrickColor.Random().Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1665. end
  1666. 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 = BrickColor.Random().Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1667. wait(1)
  1668. TORSO.Parent.Parent = LOCK
  1669. for i = 1, 75 do
  1670. Swait()
  1671. local CHILDREN = KEY:GetDescendants()
  1672. for index, CHILD in pairs(CHILDREN) do
  1673. if CHILD:IsA("BasePart") then
  1674. CHILD.Transparency = i/25
  1675. end
  1676. end
  1677. local CHILDREN = LOCK:GetDescendants()
  1678. for index, CHILD in pairs(CHILDREN) do
  1679. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1680. CHILD.Transparency = CHILD.Transparency + 1/75
  1681. elseif CHILD.ClassName == "Decal" then
  1682. CHILD.Transparency = CHILD.Transparency + 1/75
  1683. end
  1684. end
  1685. end
  1686. TORSO.Parent:ClearAllChildren()
  1687. KEY:remove()
  1688. LOCK:remove()
  1689. end))
  1690. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1691. GYRO:remove()
  1692. ATTACK = false
  1693. Rooted = false
  1694. end
  1695. end
  1696. end
  1697.  
  1698. function Cuffs()
  1699. local TARGET = Mouse.Target
  1700. if TARGET ~= nil then
  1701. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1702. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1703. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1704. if ROOT and HUM.Health > 0 then
  1705. local FOE = Mouse.Target.Parent
  1706. ATTACK = true
  1707. Rooted = true
  1708. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  1709. ROOT.Anchored = true
  1710. CreateSound(289556450, RootPart, 5, 1.4, false)
  1711. Chatter("Stay down.",0)
  1712. for i=0, 2, 0.1 / Animation_Speed do
  1713. Swait()
  1714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1720. end
  1721. local RIGHTCUFF = nil
  1722. local LEFTCUFF = nil
  1723. local ChainLink = nil
  1724. CreateSound(1279090548, ROOT, 10, 1.4, false)
  1725. for _, c in pairs(FOE:GetChildren()) do
  1726. if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
  1727. LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  1728. LEFTCUFF.CFrame = c.CFrame
  1729. weldBetween(c,LEFTCUFF)
  1730. end
  1731. end
  1732. for _, c in pairs(FOE:GetChildren()) do
  1733. if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
  1734. RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  1735. RIGHTCUFF.CFrame = c.CFrame
  1736. weldBetween(c,RIGHTCUFF)
  1737. end
  1738. end
  1739. if RIGHTCUFF and LEFTCUFF then
  1740. local A = IT("Attachment",RIGHTCUFF)
  1741. local B = IT("Attachment",LEFTCUFF)
  1742. ChainLink = IT("Beam",FOE)
  1743. ChainLink.Texture = "rbxassetid://73042633"
  1744. ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
  1745. ChainLink.TextureSpeed = 0
  1746. ChainLink.Width0 = 1
  1747. ChainLink.Width1 = 1
  1748. ChainLink.Segments = 25
  1749. ChainLink.TextureLength = 3
  1750. ChainLink.Attachment0 = B
  1751. ChainLink.Attachment1 = A
  1752. ChainLink.FaceCamera = true
  1753. ChainLink.Transparency = NumberSequence.new(0)
  1754. end
  1755. coroutine.resume(coroutine.create(function()
  1756. wait(4)
  1757. if RIGHTCUFF and LEFTCUFF then
  1758. RIGHTCUFF:remove()
  1759. LEFTCUFF:remove()
  1760. ChainLink:remove()
  1761. local bv = Instance.new("BodyVelocity",ROOT)
  1762. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1763. bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
  1764. Debris:AddItem(bv,0.05)
  1765. ApplyDamage(HUM,100e10)
  1766. HUM.PlatformStand = false
  1767. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(RIGHTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,1,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
  1768. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(LEFTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Glass = C3(1,0,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 7})
  1769. end
  1770. end))
  1771. for i=0, 1.5, 0.1 / Animation_Speed do
  1772. Swait()
  1773. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
  1775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1779. end
  1780. HUM.PlatformStand = true
  1781. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
  1782. ROOT.Anchored = false
  1783. Chatter("Begone.",0)
  1784. for i=0, 3, 0.1 / Animation_Speed do
  1785. Swait()
  1786. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1789. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1790. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1791. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1792. end
  1793. ATTACK = false
  1794. Rooted = false
  1795. end
  1796. end
  1797. end
  1798. end
  1799.  
  1800. --//=================================\\
  1801. --|| ASSIGN THINGS TO KEYS
  1802. --\\=================================//
  1803.  
  1804. function MouseDown(Mouse)
  1805. if ATTACK == false then
  1806.  
  1807. end
  1808. end
  1809.  
  1810. function MouseUp(Mouse)
  1811. HOLD = false
  1812. end
  1813.  
  1814. function KeyDown(Key)
  1815. KEYHOLD = true
  1816. if TRANSFORMED == true and Rooted == false then
  1817. if Key == "t" and ATTACK == false then
  1818. Taunt()
  1819. end
  1820.  
  1821. if Key == "z" and ATTACK == false then
  1822. Warp()
  1823. end
  1824.  
  1825. if Key == "b" and ATTACK == false then
  1826. DeathlyDash()
  1827. end
  1828.  
  1829. if Key == "c" and ATTACK == false then
  1830. Prison_Key()
  1831. end
  1832.  
  1833. if Key == "v" and ATTACK == false then
  1834. FatalWave()
  1835. end
  1836.  
  1837. if Key == "x" and ATTACK == false then
  1838. Reap()
  1839. end
  1840.  
  1841. if Key == "e" and ATTACK == false then
  1842. Banisher_Bullet()
  1843. end
  1844.  
  1845. if Key == "q" and ATTACK == false then
  1846. Forgive_Sins()
  1847. end
  1848.  
  1849. if Key == "f" and ATTACK == false then
  1850. Cuffs()
  1851. end
  1852. end
  1853.  
  1854. if Key == "9" and ATTACK == false then
  1855. CreateSound("135017578", Effects, 5, 1)
  1856. end
  1857. end
  1858.  
  1859. function KeyUp(Key)
  1860. KEYHOLD = false
  1861. end
  1862.  
  1863. Mouse.Button1Down:connect(function(NEWKEY)
  1864. MouseDown(NEWKEY)
  1865. end)
  1866. Mouse.Button1Up:connect(function(NEWKEY)
  1867. MouseUp(NEWKEY)
  1868. end)
  1869. Mouse.KeyDown:connect(function(NEWKEY)
  1870. KeyDown(NEWKEY)
  1871. end)
  1872. Mouse.KeyUp:connect(function(NEWKEY)
  1873. KeyUp(NEWKEY)
  1874. end)
  1875.  
  1876. --//=================================\\
  1877. --\\=================================//
  1878.  
  1879.  
  1880. function unanchor()
  1881. if UNANCHOR == true then
  1882. RootPart.Anchored = false
  1883. end
  1884. for _, c in pairs(SCYTHE:GetChildren()) do
  1885. if c.ClassName == "Part" then
  1886. c.Anchored = false
  1887. end
  1888. end
  1889. for _, c in pairs(Weapon:GetChildren()) do
  1890. if c.ClassName == "Part" then
  1891. c.Anchored = false
  1892. end
  1893. end
  1894. end
  1895.  
  1896.  
  1897. --//=================================\\
  1898. --|| WRAP THE WHOLE SCRIPT UP
  1899. --\\=================================//
  1900.  
  1901. Humanoid.Changed:connect(function(Jump)
  1902. if Jump == "Jump" and (Disable_Jump == true) then
  1903. Humanoid.Jump = false
  1904. end
  1905. end)
  1906.  
  1907. local FF = IT("ForceField",Character)
  1908. FF.Visible = false
  1909.  
  1910. INSTANT = false
  1911. Speed = 20
  1912.  
  1913. while true do
  1914. Swait()
  1915. SINE = SINE + CHANGE
  1916. ANIMATE.Parent = nil
  1917. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1918. IDLEANIMATION:Play()
  1919. if TRANSFORMED == true then
  1920. --tecks2.TextTransparency = 0
  1921. for _, c in pairs(Character:GetChildren()) do
  1922. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  1923. c.Anchored = false
  1924. c.Transparency = 0
  1925. end
  1926. end
  1927. for _, c in pairs(Weapon:GetChildren()) do
  1928. if c.ClassName == "Part" then
  1929. c.Transparency = 0
  1930. end
  1931. end
  1932. for _, c in pairs(SCYTHE:GetChildren()) do
  1933. if c.ClassName == "Part" then
  1934. if c.Material ~= Enum.Material.Neon then
  1935. c.Transparency = 0
  1936. end
  1937. c.Color = C3(0,0,0)
  1938. if c:FindFirstChild("PE") then
  1939. c.PE.Enabled = true
  1940. end
  1941. end
  1942. end
  1943. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1944. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1945. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1946. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1947. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1948. if ATTACK == false and VALUE2 == false then
  1949. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45 + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed)
  1950. end
  1951. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1952. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1953. 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)
  1954. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1955. 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1956. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1957. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1958. 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)
  1959. 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)
  1960. 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)
  1961. end
  1962. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1963. ANIM = "Jump"
  1964. if ATTACK == false then
  1965. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1966. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1967. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1968. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1969. 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)
  1970. 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)
  1971. end
  1972. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1973. ANIM = "Fall"
  1974. if ATTACK == false then
  1975. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1979. 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)
  1980. 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)
  1981. end
  1982. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1983. ANIM = "Idle"
  1984. if ATTACK == false then
  1985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1986. 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)
  1987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1989. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1991. end
  1992. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1993. ANIM = "Walk"
  1994. WALK = WALK + 1 / Animation_Speed
  1995. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1996. WALK = 0
  1997. if WALKINGANIM == true then
  1998. WALKINGANIM = false
  1999. elseif WALKINGANIM == false then
  2000. WALKINGANIM = true
  2001. end
  2002. end
  2003. --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)
  2004. --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)
  2005. if ATTACK == false then
  2006. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2007. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2008. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2009. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2010. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2011. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2012. end
  2013. end
  2014. end
  2015. --end
  2016. Humanoid.DisplayDistanceType = "None"
  2017. unanchor()
  2018.  
  2019. Humanoid.MaxHealth = "inf"
  2020. Humanoid.Health = "inf"
  2021. if Rooted == false then
  2022. Disable_Jump = false
  2023. Humanoid.WalkSpeed = Speed
  2024. elseif Rooted == true then
  2025. Disable_Jump = true
  2026. Humanoid.WalkSpeed = 0
  2027. end
  2028. if Head:FindFirstChild("face") then
  2029. Head.face:remove()
  2030. end
  2031. local MATHS = {"0","1"}
  2032. 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)]
  2033. Humanoid.PlatformStand = false
  2034. if INTRO == false and INSTANT == false then
  2035. INTRO = true
  2036. coroutine.resume(coroutine.create(function()
  2037. sick:Play()
  2038. Intro()
  2039. end))
  2040. end
  2041. if INSTANT == true then
  2042. if TRANSFORMED == false then
  2043. sick.TimePosition = 60
  2044. sick:Play()
  2045. end
  2046. TRANSFORMED = true
  2047. end
  2048. script.Parent = PlayerGui
  2049. Character.Parent = workspace
  2050. Humanoid.Parent = Character
  2051. end
  2052. --//=================================\\
  2053. --\\=================================//
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059. --//====================================================\\--
  2060. --|| END OF SCRIPT
  2061. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement