Advertisement
DarkScriptZEditors

Karma Fe

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