Advertisement
JacksoMykalJunior

Jacks

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