Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 387.48 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 = "PANDORA BLUE BANISH"
  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 = "if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2219. local Player,game,owner = owner,game
  2220. local RealPlayer = Player
  2221. do
  2222. print("FE Compatibility code by Program Error")
  2223. local rp = RealPlayer
  2224. script.Parent = rp.Character
  2225.  
  2226. --RemoteEvent for communicating
  2227. local Event = Instance.new("RemoteEvent")
  2228. Event.Name = "UserInput_Event"
  2229.  
  2230. --Fake event to make stuff like Mouse.KeyDown work
  2231. local function fakeEvent()
  2232. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  2233. t.connect = t.Connect
  2234. return t
  2235. end
  2236.  
  2237. --Creating fake input objects with fake variables
  2238. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2239. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2240. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2241. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2242. end}
  2243. --Merged 2 functions into one by checking amount of arguments
  2244. CAS.UnbindAction = CAS.BindAction
  2245.  
  2246. --This function will trigger the events that have been :Connect()'ed
  2247. local function te(self,ev,...)
  2248. local t = m[ev]
  2249. if t and t._fakeEvent then
  2250. for _,f in pairs(t.Functions) do
  2251. f(...)
  2252. end
  2253. end
  2254. end
  2255. m.TrigEvent = te
  2256. UIS.TrigEvent = te
  2257.  
  2258. Event.OnServerEvent:Connect(function(plr,io)
  2259. if plr~=rp then return end
  2260. m.Target = io.Target
  2261. m.Hit = io.Hit
  2262. if not io.isMouse then
  2263. local b = io.UserInputState == Enum.UserInputState.Begin
  2264. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2265. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2266. end
  2267. for _,t in pairs(CAS.Actions) do
  2268. for _,k in pairs(t.Keys) do
  2269. if k==io.KeyCode then
  2270. t.Function(t.Name,io.UserInputState,io)
  2271. end
  2272. end
  2273. end
  2274. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2275. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2276. end
  2277. end)
  2278. Event.Parent = NLS([==[
  2279. local Player = game:GetService("Players").LocalPlayer
  2280. local Event = script:WaitForChild("UserInput_Event")
  2281.  
  2282. local Mouse = Player:GetMouse()
  2283. local UIS = game:GetService("UserInputService")
  2284. local input = function(io,a)
  2285. if a then return end
  2286. --Since InputObject is a client-side instance, we create and pass table instead
  2287. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  2288. end
  2289. UIS.InputBegan:Connect(input)
  2290. UIS.InputEnded:Connect(input)
  2291.  
  2292. local h,t
  2293. --Give the server mouse data 30 times every second, but only if the values changed
  2294. --If player is not moving their mouse, client won't fire events
  2295. while wait(1/30) do
  2296. if h~=Mouse.Hit or t~=Mouse.Target then
  2297. h,t=Mouse.Hit,Mouse.Target
  2298. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2299. end
  2300. end]==],Player.Character)
  2301.  
  2302. ----Sandboxed game object that allows the usage of client-side methods and services
  2303. --Real game object
  2304. local _rg = game
  2305.  
  2306. --Metatable for fake service
  2307. local fsmt = {
  2308. __index = function(self,k)
  2309. local s = rawget(self,"_RealService")
  2310. if s then return s[k] end
  2311. end,
  2312. __newindex = function(self,k,v)
  2313. local s = rawget(self,"_RealService")
  2314. if s then s[k]=v end
  2315. end,
  2316. __call = function(self,...)
  2317. local s = rawget(self,"_RealService")
  2318. if s then return s(...) end
  2319. end
  2320. }
  2321. local function FakeService(t,RealService)
  2322. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  2323. return setmetatable(t,fsmt)
  2324. end
  2325.  
  2326. --Fake game object
  2327. local g = {
  2328. GetService = function(self,s)
  2329. return self[s]
  2330. end,
  2331. Players = FakeService({
  2332. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  2333. },"Players"),
  2334. UserInputService = FakeService(UIS,"UserInputService"),
  2335. ContextActionService = FakeService(CAS,"ContextActionService"),
  2336. }
  2337. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  2338. g.service = g.GetService
  2339.  
  2340. g.RunService = FakeService({
  2341. RenderStepped = _rg:GetService("RunService").Heartbeat,
  2342. BindToRenderStep = function(self,name,_,fun)
  2343.  
  2344. end,
  2345. UnbindFromRenderStep = function(self,name)
  2346. self._btrs[name]:Disconnect()
  2347. end,
  2348. },"RunService")
  2349.  
  2350. setmetatable(g,{
  2351. __index=function(self,s)
  2352. return _rg:GetService(s) or typeof(_rg[s])=="function"
  2353. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  2354. end,
  2355. __newindex = fsmt.__newindex,
  2356. __call = fsmt.__call
  2357. })
  2358. --Changing owner to fake player object to support owner:GetMouse()
  2359. game,owner = g,g.Players.LocalPlayer
  2360. end
  2361.  
  2362. Player = game.Players.LocalPlayer
  2363. Character = Player.Character
  2364. local txt = Instance.new("BillboardGui", Character)
  2365. txt.Adornee = Character.Head
  2366. txt.Name = "_status"
  2367. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2368. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2369. local text = Instance.new("TextLabel", txt)
  2370. text.Size = UDim2.new(10, 0, 7, 0)
  2371. text.FontSize = "Size24"
  2372. text.TextScaled = true
  2373. text.TextTransparency = 0
  2374. text.BackgroundTransparency = 1
  2375. text.TextTransparency = 0
  2376. text.TextStrokeTransparency = 0
  2377. text.Font = "Antique"
  2378. text.TextStrokeColor3 = Color3.new(0,0,80)
  2379. text.Text = "PANDORA BLUE BANISH"
  2380. print("Edited by Program Error")
  2381. --//====================================================\\--
  2382. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  2383. --\\====================================================//--
  2384.  
  2385. script:ClearAllChildren()
  2386. wait(0.2)
  2387.  
  2388. Player = owner
  2389. PlayerGui = Player.PlayerGui
  2390. Cam = workspace.CurrentCamera
  2391. Backpack = Player.Backpack
  2392. Character = Player.Character
  2393. Humanoid = Character.Humanoid
  2394. Mouse = Player:GetMouse()
  2395. RootPart = Character["HumanoidRootPart"]
  2396. Torso = Character["Torso"]
  2397. Head = Character["Head"]
  2398. RightArm = Character["Right Arm"]
  2399. LeftArm = Character["Left Arm"]
  2400. RightLeg = Character["Right Leg"]
  2401. LeftLeg = Character["Left Leg"]
  2402. RootJoint = RootPart["RootJoint"]
  2403. Neck = Torso["Neck"]
  2404. RightShoulder = Torso["Right Shoulder"]
  2405. LeftShoulder = Torso["Left Shoulder"]
  2406. RightHip = Torso["Right Hip"]
  2407. LeftHip = Torso["Left Hip"]
  2408. local TIME = 0
  2409. local sick = Instance.new("Sound",Torso)
  2410.  
  2411. IT = Instance.new
  2412. CF = CFrame.new
  2413. VT = Vector3.new
  2414. RAD = math.rad
  2415. C3 = Color3.new
  2416. UD2 = UDim2.new
  2417. BRICKC = BrickColor.new
  2418. ANGLES = CFrame.Angles
  2419. EULER = CFrame.fromEulerAnglesXYZ
  2420. COS = math.cos
  2421. ACOS = math.acos
  2422. SIN = math.sin
  2423. ASIN = math.asin
  2424. ABS = math.abs
  2425. MRANDOM = math.random
  2426. FLOOR = math.floor
  2427.  
  2428. --//=================================\\
  2429. --|| USEFUL VALUES
  2430. --\\=================================//
  2431.  
  2432. Animation_Speed = 3
  2433. local FORCERESET = false
  2434. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2435. local Speed = 16
  2436. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2437. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2438. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2439. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2440. local DAMAGEMULTIPLIER = 1
  2441. local ANIM = "Idle"
  2442. local ATTACK = false
  2443. local EQUIPPED = false
  2444. local HOLD = false
  2445. local COMBO = 1
  2446. local Rooted = false
  2447. local SINE = 0
  2448. local KEYHOLD = false
  2449. local CHANGE = 2 / Animation_Speed
  2450. local WALKINGANIM = false
  2451. local VALUE1 = false
  2452. local VALUE2 = false
  2453. local ROBLOXIDLEANIMATION = IT("Animation")
  2454. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2455. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2456. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2457. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2458. WEAPONGUI.Name = "BanishV3Gui"
  2459. local Weapon = IT("Model")
  2460. Weapon.Name = "Adds"
  2461. local Effects = IT("Folder", Weapon)
  2462. Effects.Name = "Effects"
  2463. local ANIMATOR = Humanoid.Animator
  2464. local ANIMATE = Character:FindFirstChild("Animate")
  2465. local UNANCHOR = true
  2466. local TOBANISH = {}
  2467. script.Parent = PlayerGui
  2468.  
  2469. --//=================================\\
  2470. --\\=================================//
  2471.  
  2472.  
  2473. --//=================================\\
  2474. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2475. --\\=================================//
  2476.  
  2477. ArtificialHB = Instance.new("BindableEvent", script)
  2478. ArtificialHB.Name = "ArtificialHB"
  2479.  
  2480. script:WaitForChild("ArtificialHB")
  2481.  
  2482. frame = Frame_Speed
  2483. tf = 0
  2484. allowframeloss = false
  2485. tossremainder = false
  2486. lastframe = tick()
  2487. script.ArtificialHB:Fire()
  2488.  
  2489. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2490. tf = tf + s
  2491. if tf >= frame then
  2492. if allowframeloss then
  2493. script.ArtificialHB:Fire()
  2494. lastframe = tick()
  2495. else
  2496. for i = 1, math.floor(tf / frame) do
  2497. script.ArtificialHB:Fire()
  2498. end
  2499. lastframe = tick()
  2500. end
  2501. if tossremainder then
  2502. tf = 0
  2503. else
  2504. tf = tf - frame * math.floor(tf / frame)
  2505. end
  2506. end
  2507. end)
  2508.  
  2509. --//=================================\\
  2510. --\\=================================//
  2511.  
  2512. --//=================================\\
  2513. --|| SOME FUNCTIONS
  2514. --\\=================================//
  2515.  
  2516. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2517. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2518. end
  2519.  
  2520. function PositiveAngle(NUMBER)
  2521. if NUMBER >= 0 then
  2522. NUMBER = 0
  2523. end
  2524. return NUMBER
  2525. end
  2526.  
  2527. function NegativeAngle(NUMBER)
  2528. if NUMBER <= 0 then
  2529. NUMBER = 0
  2530. end
  2531. return NUMBER
  2532. end
  2533.  
  2534. function Swait(NUMBER)
  2535. if NUMBER == 0 or NUMBER == nil then
  2536. ArtificialHB.Event:wait()
  2537. else
  2538. for i = 1, NUMBER do
  2539. ArtificialHB.Event:wait()
  2540. end
  2541. end
  2542. end
  2543.  
  2544. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2545. local NEWMESH = IT(MESH)
  2546. if MESH == "SpecialMesh" then
  2547. NEWMESH.MeshType = MESHTYPE
  2548. if MESHID ~= "nil" and MESHID ~= "" then
  2549. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2550. end
  2551. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2552. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2553. end
  2554. end
  2555. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2556. NEWMESH.Scale = SCALE
  2557. NEWMESH.Parent = PARENT
  2558. return NEWMESH
  2559. end
  2560.  
  2561. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2562. local NEWPART = IT("Part")
  2563. NEWPART.formFactor = FORMFACTOR
  2564. NEWPART.Reflectance = REFLECTANCE
  2565. NEWPART.Transparency = TRANSPARENCY
  2566. NEWPART.CanCollide = false
  2567. NEWPART.Locked = true
  2568. NEWPART.Anchored = true
  2569. if ANCHOR == false then
  2570. NEWPART.Anchored = false
  2571. end
  2572. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2573. NEWPART.Name = NAME
  2574. NEWPART.Size = SIZE
  2575. NEWPART.Position = Torso.Position
  2576. NEWPART.Material = MATERIAL
  2577. NEWPART:BreakJoints()
  2578. NEWPART.Parent = PARENT
  2579. return NEWPART
  2580. end
  2581.  
  2582. local function weldBetween(a, b)
  2583. local weldd = Instance.new("ManualWeld")
  2584. weldd.Part0 = a
  2585. weldd.Part1 = b
  2586. weldd.C0 = CFrame.new()
  2587. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2588. weldd.Parent = a
  2589. return weldd
  2590. end
  2591.  
  2592.  
  2593. function QuaternionFromCFrame(cf)
  2594. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2595. local trace = m00 + m11 + m22
  2596. if trace > 0 then
  2597. local s = math.sqrt(1 + trace)
  2598. local recip = 0.5 / s
  2599. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2600. else
  2601. local i = 0
  2602. if m11 > m00 then
  2603. i = 1
  2604. end
  2605. if m22 > (i == 0 and m00 or m11) then
  2606. i = 2
  2607. end
  2608. if i == 0 then
  2609. local s = math.sqrt(m00 - m11 - m22 + 1)
  2610. local recip = 0.5 / s
  2611. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2612. elseif i == 1 then
  2613. local s = math.sqrt(m11 - m22 - m00 + 1)
  2614. local recip = 0.5 / s
  2615. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2616. elseif i == 2 then
  2617. local s = math.sqrt(m22 - m00 - m11 + 1)
  2618. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2619. end
  2620. end
  2621. end
  2622.  
  2623. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2624. local xs, ys, zs = x + x, y + y, z + z
  2625. local wx, wy, wz = w * xs, w * ys, w * zs
  2626. local xx = x * xs
  2627. local xy = x * ys
  2628. local xz = x * zs
  2629. local yy = y * ys
  2630. local yz = y * zs
  2631. local zz = z * zs
  2632. 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))
  2633. end
  2634.  
  2635. function QuaternionSlerp(a, b, t)
  2636. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2637. local startInterp, finishInterp;
  2638. if cosTheta >= 0.0001 then
  2639. if (1 - cosTheta) > 0.0001 then
  2640. local theta = ACOS(cosTheta)
  2641. local invSinTheta = 1 / SIN(theta)
  2642. startInterp = SIN((1 - t) * theta) * invSinTheta
  2643. finishInterp = SIN(t * theta) * invSinTheta
  2644. else
  2645. startInterp = 1 - t
  2646. finishInterp = t
  2647. end
  2648. else
  2649. if (1 + cosTheta) > 0.0001 then
  2650. local theta = ACOS(-cosTheta)
  2651. local invSinTheta = 1 / SIN(theta)
  2652. startInterp = SIN((t - 1) * theta) * invSinTheta
  2653. finishInterp = SIN(t * theta) * invSinTheta
  2654. else
  2655. startInterp = t - 1
  2656. finishInterp = t
  2657. end
  2658. end
  2659. 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
  2660. end
  2661.  
  2662. function Clerp(a, b, t)
  2663. local qa = {QuaternionFromCFrame(a)}
  2664. local qb = {QuaternionFromCFrame(b)}
  2665. local ax, ay, az = a.x, a.y, a.z
  2666. local bx, by, bz = b.x, b.y, b.z
  2667. local _t = 1 - t
  2668. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2669. end
  2670.  
  2671. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2672. local frame = IT("Frame")
  2673. frame.BackgroundTransparency = TRANSPARENCY
  2674. frame.BorderSizePixel = BORDERSIZEPIXEL
  2675. frame.Position = POSITION
  2676. frame.Size = SIZE
  2677. frame.BackgroundColor3 = COLOR
  2678. frame.BorderColor3 = BORDERCOLOR
  2679. frame.Name = NAME
  2680. frame.Parent = PARENT
  2681. return frame
  2682. end
  2683.  
  2684. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2685. local label = IT("TextLabel")
  2686. label.BackgroundTransparency = 1
  2687. label.Size = UD2(1, 0, 1, 0)
  2688. label.Position = UD2(0, 0, 0, 0)
  2689. label.TextColor3 = TEXTCOLOR
  2690. label.TextStrokeTransparency = STROKETRANSPARENCY
  2691. label.TextTransparency = TRANSPARENCY
  2692. label.FontSize = TEXTFONTSIZE
  2693. label.Font = TEXTFONT
  2694. label.BorderSizePixel = BORDERSIZEPIXEL
  2695. label.TextScaled = false
  2696. label.Text = TEXT
  2697. label.Name = NAME
  2698. label.Parent = PARENT
  2699. return label
  2700. end
  2701.  
  2702. function NoOutlines(PART)
  2703. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2704. end
  2705.  
  2706. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2707. local NEWWELD = IT(TYPE)
  2708. NEWWELD.Part0 = PART0
  2709. NEWWELD.Part1 = PART1
  2710. NEWWELD.C0 = C0
  2711. NEWWELD.C1 = C1
  2712. NEWWELD.Parent = PARENT
  2713. return NEWWELD
  2714. end
  2715.  
  2716. local S = IT("Sound")
  2717. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2718. local NEWSOUND = nil
  2719. coroutine.resume(coroutine.create(function()
  2720. NEWSOUND = S:Clone()
  2721. NEWSOUND.Parent = PARENT
  2722. NEWSOUND.Volume = VOLUME
  2723. NEWSOUND.Pitch = PITCH
  2724. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2725. NEWSOUND:play()
  2726. if DOESLOOP == true then
  2727. NEWSOUND.Looped = true
  2728. else
  2729. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2730. NEWSOUND:remove()
  2731. end
  2732. end))
  2733. return NEWSOUND
  2734. end
  2735.  
  2736. function CFrameFromTopBack(at, top, back)
  2737. local right = top:Cross(back)
  2738. 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)
  2739. end
  2740.  
  2741. --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})
  2742. function WACKYEFFECT(Table)
  2743. local TYPE = (Table.EffectType or "Sphere")
  2744. local SIZE = (Table.Size or VT(1,1,1))
  2745. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2746. local TRANSPARENCY = (Table.Transparency or 0)
  2747. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2748. local CFRAME = (Table.CFrame or Torso.CFrame)
  2749. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2750. local ROTATION1 = (Table.RotationX or 0)
  2751. local ROTATION2 = (Table.RotationY or 0)
  2752. local ROTATION3 = (Table.RotationZ or 0)
  2753. local MATERIAL = (Table.Material or "Neon")
  2754. local COLOR = (Table.Color or C3(0,0,1))
  2755. local TIME = (Table.Time or 45)
  2756. local SOUNDID = (Table.SoundID or nil)
  2757. local SOUNDPITCH = (Table.SoundPitch or nil)
  2758. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2759. coroutine.resume(coroutine.create(function()
  2760. local PLAYSSOUND = false
  2761. local SOUND = nil
  2762. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2763. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2764. PLAYSSOUND = true
  2765. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2766. end
  2767. EFFECT.Color = COLOR
  2768. local MSH = nil
  2769. if TYPE == "Sphere" then
  2770. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2771. elseif TYPE == "Block" then
  2772. MSH = IT("BlockMesh",EFFECT)
  2773. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2774. elseif TYPE == "Wave" then
  2775. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2776. elseif TYPE == "Ring" then
  2777. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2778. elseif TYPE == "Slash" then
  2779. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2780. elseif TYPE == "Round Slash" then
  2781. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2782. elseif TYPE == "Swirl" then
  2783. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2784. elseif TYPE == "Skull" then
  2785. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2786. elseif TYPE == "Crystal" then
  2787. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2788. end
  2789. if MSH ~= nil then
  2790. local MOVESPEED = nil
  2791. if MOVEDIRECTION ~= nil then
  2792. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2793. end
  2794. local GROWTH = SIZE - ENDSIZE
  2795. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2796. if TYPE == "Block" then
  2797. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2798. else
  2799. EFFECT.CFrame = CFRAME
  2800. end
  2801. for LOOP = 1, TIME+1 do
  2802. Swait()
  2803. MSH.Scale = MSH.Scale - GROWTH/TIME
  2804. if TYPE == "Wave" then
  2805. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2806. end
  2807. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2808. if TYPE == "Block" then
  2809. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2810. else
  2811. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2812. end
  2813. if MOVEDIRECTION ~= nil then
  2814. local ORI = EFFECT.Orientation
  2815. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2816. EFFECT.Orientation = ORI
  2817. end
  2818. end
  2819. if PLAYSSOUND == false then
  2820. EFFECT:remove()
  2821. else
  2822. SOUND.Stopped:Connect(function()
  2823. EFFECT:remove()
  2824. end)
  2825. end
  2826. else
  2827. if PLAYSSOUND == false then
  2828. EFFECT:remove()
  2829. else
  2830. repeat Swait() until SOUND.Playing == false
  2831. EFFECT:remove()
  2832. end
  2833. end
  2834. end))
  2835. end
  2836.  
  2837. function MakeForm(PART,TYPE)
  2838. if TYPE == "Cyl" then
  2839. local MSH = IT("CylinderMesh",PART)
  2840. elseif TYPE == "Ball" then
  2841. local MSH = IT("SpecialMesh",PART)
  2842. MSH.MeshType = "Sphere"
  2843. elseif TYPE == "Wedge" then
  2844. local MSH = IT("SpecialMesh",PART)
  2845. MSH.MeshType = "Wedge"
  2846. end
  2847. end
  2848.  
  2849. function SpawnTrail(FROM,TO,BIG)
  2850. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Blue", "Trail", VT(0,0,0))
  2851. MakeForm(TRAIL,"Cyl")
  2852. local DIST = (FROM - TO).Magnitude
  2853. if BIG == true then
  2854. TRAIL.Size = VT(5,DIST,5)
  2855. else
  2856. TRAIL.Size = VT(5,DIST,5)
  2857. end
  2858. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2859. coroutine.resume(coroutine.create(function()
  2860. for i = 1, 5 do
  2861. Swait()
  2862. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2863. end
  2864. TRAIL:remove()
  2865. end))
  2866. end
  2867.  
  2868. Debris = game:GetService("Debris")
  2869.  
  2870. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2871. local DIRECTION = CF(StartPos,EndPos).lookVector
  2872. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2873. end
  2874.  
  2875. function turnto(position)
  2876. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2877. end
  2878. local asd = Instance.new("ParticleEmitter")
  2879. asd.Color = ColorSequence.new(Color3.new(0.0, 0, 5), Color3.new(.0, 0, 3))
  2880. asd.LightEmission = .1
  2881. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2882. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2883. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2884. asd.Transparency = bbb
  2885. asd.Size = aaa
  2886. asd.ZOffset = .9
  2887. asd.Acceleration = Vector3.new(0, -15, 0)
  2888. asd.LockedToPart = false
  2889. asd.EmissionDirection = "Back"
  2890. asd.Lifetime = NumberRange.new(1, 2)
  2891. asd.Rotation = NumberRange.new(-100, 100)
  2892. asd.RotSpeed = NumberRange.new(-100, 100)
  2893. asd.Speed = NumberRange.new(10)
  2894. asd.Enabled = false
  2895. asd.VelocitySpread = 999
  2896.  
  2897. function getbloody(victim,amount)
  2898. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2899. PART.CFrame = victim.CFrame
  2900. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2901. Debris:AddItem(PART,5)
  2902. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2903. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2904. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2905. local prtcl = asd:Clone()
  2906. prtcl.Parent = PART
  2907. prtcl:Emit(amount*10)
  2908. end
  2909.  
  2910. local Particle = IT("ParticleEmitter",nil)
  2911. Particle.Enabled = false
  2912. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2913. Particle.LightEmission = 0.5
  2914. Particle.Rate = 150
  2915. Particle.ZOffset = 1
  2916. Particle.Rotation = NumberRange.new(-180, 180)
  2917. Particle.RotSpeed = NumberRange.new(-180, 180)
  2918. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2919. Particle.Color = ColorSequence.new(C3(0,0,1),C3(0.0,0,1))
  2920.  
  2921. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2922. function ParticleEmitter(Table)
  2923. local PRTCL = Particle:Clone()
  2924. local Speed = Table.Speed or 5
  2925. local Drag = Table.Drag or 0
  2926. local Size1 = Table.Size1 or 1
  2927. local Size2 = Table.Size2 or 5
  2928. local Lifetime1 = Table.Lifetime1 or 1
  2929. local Lifetime2 = Table.Lifetime2 or 1.5
  2930. local Parent = Table.Parent or Torso
  2931. local Emit = Table.Emit or 100
  2932. local Offset = Table.Offset or 360
  2933. local Acel = Table.Acel or VT(0,0,0)
  2934. local Enabled = Table.Enabled or false
  2935. PRTCL.Parent = Parent
  2936. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2937. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2938. PRTCL.Speed = NumberRange.new(Speed)
  2939. PRTCL.VelocitySpread = Offset
  2940. PRTCL.Drag = Drag
  2941. PRTCL.Acceleration = Acel
  2942. if Enabled == false then
  2943. PRTCL:Emit(Emit)
  2944. Debris:AddItem(PRTCL,Lifetime2)
  2945. else
  2946. PRTCL.Enabled = true
  2947. end
  2948. return PRTCL
  2949. end
  2950.  
  2951. function R_RANDOM(CFRAME,DIST)
  2952. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  2953. end
  2954.  
  2955. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  2956. coroutine.resume(coroutine.create(function()
  2957. local FADE = IT("Model",Effects)
  2958. if PARENT ~= nil then
  2959. FADE.Parent = PARENT
  2960. end
  2961. FADE.Name = "FadingEffect"
  2962. for _, c in pairs(Character:GetChildren()) do
  2963. if c.ClassName == "Part" then
  2964. c.CanCollide = false
  2965. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Dark Blue"), c.Name, c.Size, true)
  2966. FADER.CFrame = c.CFrame
  2967. FADER.Color = COLOR
  2968. if FADER.Name == "Head" then
  2969. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  2970. elseif FADER.Name == "HumanoidRootPart" then
  2971. FADE.PrimaryPart = FADER
  2972. FADER.Transparency = 1
  2973. end
  2974. end
  2975. end
  2976. local TRANS = 0.25/TIMER
  2977. local DIST = nil
  2978. if MOVEDIRECTION ~= nil then
  2979. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  2980. end
  2981. for i = 1, TIMER do
  2982. Swait()
  2983. for _, c in pairs(FADE:GetChildren()) do
  2984. if c.ClassName == "Part" then
  2985. c.Transparency = c.Transparency + TRANS
  2986. end
  2987. end
  2988. if MOVEDIRECTION ~= nil then
  2989. local ORI = FADE.PrimaryPart.Orientation
  2990. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  2991. end
  2992. end
  2993. FADE:remove()
  2994. end))
  2995. end
  2996.  
  2997.  
  2998. --//=================================\\
  2999. --|| WEAPON CREATION
  3000. --\\=================================//
  3001.  
  3002. local SIZE = 1.25
  3003.  
  3004. local Particle = IT("ParticleEmitter",nil)
  3005. Particle.Enabled = false
  3006. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  3007. Particle.LightEmission = 0.5
  3008. Particle.Rate = 150
  3009. Particle.ZOffset = 0.2
  3010. Particle.Rotation = NumberRange.new(-180, 180)
  3011. Particle.RotSpeed = NumberRange.new(-180, 180)
  3012. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  3013. Particle.Color = ColorSequence.new(C3(0,0,3),C3(0.0,0,4))
  3014.  
  3015. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  3016. function ParticleEmitter(Table)
  3017. local PRTCL = Particle:Clone()
  3018. local Speed = Table.Speed or 5
  3019. local Drag = Table.Drag or 0
  3020. local Size1 = Table.Size1 or 1
  3021. local Size2 = Table.Size2 or 5
  3022. local Lifetime1 = Table.Lifetime1 or 1
  3023. local Lifetime2 = Table.Lifetime2 or 1.5
  3024. local Parent = Table.Parent or Torso
  3025. local Emit = Table.Emit or 100
  3026. local Offset = Table.Offset or 360
  3027. local Acel = Table.Acel or VT(0,0,0)
  3028. local Enabled = Table.Enabled or false
  3029. PRTCL.Parent = Parent
  3030. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3031. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3032. PRTCL.Speed = NumberRange.new(Speed)
  3033. PRTCL.VelocitySpread = Offset
  3034. PRTCL.Drag = Drag
  3035. PRTCL.Acceleration = Acel
  3036. if Enabled == false then
  3037. PRTCL:Emit(Emit)
  3038. Debris:AddItem(PRTCL,Lifetime2)
  3039. else
  3040. PRTCL.Enabled = true
  3041. end
  3042. return PRTCL
  3043. end
  3044.  
  3045. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  3046. PRT.Color = C3(0,0,1)
  3047. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  3048. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  3049. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  3050. PRT.Color = C3(0, 0, 111)
  3051. MakeForm(PRT,"Ball")
  3052. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  3053. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  3054. PRT.Color = C3(0, 0, 111)
  3055. MakeForm(PRT,"Ball")
  3056. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  3057. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  3058. PRT.Color = C3(0, 0, 111)
  3059. MakeForm(PRT,"Ball")
  3060. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  3061. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  3062. PRT.Color = C3(0, 0, 111)
  3063. MakeForm(PRT,"Ball")
  3064. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  3065. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  3066. PRT.Color = C3(0, 0, 111)
  3067. MakeForm(PRT,"Ball")
  3068. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  3069. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  3070. PRT.Color = C3(0, 0, 111)
  3071. MakeForm(PRT,"Ball")
  3072. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  3073.  
  3074.  
  3075.  
  3076.  
  3077. local LASTPART = Head
  3078. for i = 1, 20 do
  3079. local MATH = (1-(i/25))
  3080. if LASTPART == Head then
  3081. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3082. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  3083. LASTPART = Horn
  3084. Horn.Color = C3((i*3-3)/0,0,4)
  3085. else
  3086. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3087. 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))
  3088. LASTPART = Horn
  3089. Horn.Color = C3((i*3-3)/0,0,3)
  3090. end
  3091. end
  3092. local LASTPART = Head
  3093. for i = 1, 20 do
  3094. local MATH = (1-(i/25))
  3095. if LASTPART == Head then
  3096. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3097. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  3098. LASTPART = Horn
  3099. Horn.Color = C3((i*3-3)/0,0,3)
  3100. else
  3101. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  3102. 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))
  3103. LASTPART = Horn
  3104. Horn.Color = C3((i*3-3)/0,0,3)
  3105. end
  3106. end
  3107.  
  3108. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3109. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3110. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3111. MakeForm(Part,"Wedge")
  3112. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3113. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3114. MakeForm(Part,"Wedge")
  3115. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3117. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3118. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3119. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3120. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3121. MakeForm(Part,"Cyl")
  3122. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3123. for i = 1, 8 do
  3124. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3125. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3126. end
  3127. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3128. MakeForm(Part,"Cyl")
  3129. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3130. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3131. MakeForm(Part,"Ball")
  3132. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3133. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  3134. MakeForm(Part,"Wedge")
  3135. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  3136. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  3137. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3138. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  3139. MakeForm(Part,"Cyl")
  3140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3141. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  3142. MakeForm(Part,"Cyl")
  3143. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  3145. MakeForm(Part,"Cyl")
  3146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3147. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3148. MakeForm(Part,"Wedge")
  3149. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  3150. local LASTPART = Handle
  3151. for i = 1, 10 do
  3152. if LASTPART == Handle then
  3153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  3154. LASTPART = Part
  3155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3156. else
  3157. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  3158. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  3159. LASTPART = Part
  3160. end
  3161. end
  3162.  
  3163. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  3164. MakeForm(Barrel,"Cyl")
  3165. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3166. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  3167. MakeForm(Part,"Cyl")
  3168. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  3169. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  3170. MakeForm(Part,"Wedge")
  3171. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  3172. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  3173. MakeForm(Hole2,"Cyl")
  3174. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  3175. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  3176. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3177. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  3178. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  3179. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3180. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  3181. coroutine.resume(coroutine.create(function()
  3182. while wait() do
  3183. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  3184. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  3185. end
  3186. end))
  3187.  
  3188. 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)})
  3189. --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)})
  3190.  
  3191. for _, c in pairs(Weapon:GetDescendants()) do
  3192. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3193. c.Material = "Glass"
  3194. c.Color = C3(0,0,1)
  3195. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3196. c.Color = C3(0,0,1)
  3197. c.Material = "Neon"
  3198. end
  3199. end
  3200.  
  3201. Weapon.Parent = Character
  3202. for _, c in pairs(Weapon:GetChildren()) do
  3203. if c.ClassName == "Part" then
  3204. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3205. end
  3206. end
  3207.  
  3208. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  3209. PRT.Color = C3(0,0,1)
  3210. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  3211. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  3212.  
  3213. if Character:FindFirstChildOfClass("Accessory") then
  3214. Character:FindFirstChildOfClass("Accessory"):remove()
  3215. elseif Character:FindFirstChildOfClass("Hat") then
  3216. Character:FindFirstChildOfClass("Hat"):remove()
  3217. end
  3218. if Head:FindFirstChild("face") then
  3219. Head.face.Texture = "rbxassetid://403870689"
  3220. if Character:FindFirstChildOfClass("Accessory") then
  3221. Character:FindFirstChildOfClass("Accessory"):remove()
  3222. elseif Character:FindFirstChildOfClass("Hat") then
  3223. Character:FindFirstChildOfClass("Hat"):remove()
  3224. end
  3225. if Character:FindFirstChildOfClass("Accessory") then
  3226. Character:FindFirstChildOfClass("Accessory"):remove()
  3227. elseif Character:FindFirstChildOfClass("Hat") then
  3228. Character:FindFirstChildOfClass("Hat"):remove()
  3229. end
  3230. if Character:FindFirstChildOfClass("Accessory") then
  3231. Character:FindFirstChildOfClass("Accessory"):remove()
  3232. elseif Character:FindFirstChildOfClass("Hat") then
  3233. Character:FindFirstChildOfClass("Hat"):remove()
  3234. end
  3235. if Character:FindFirstChildOfClass("Accessory") then
  3236. Character:FindFirstChildOfClass("Accessory"):remove()
  3237. elseif Character:FindFirstChildOfClass("Hat") then
  3238. Character:FindFirstChildOfClass("Hat"):remove()
  3239. end
  3240. if Character:FindFirstChildOfClass("Accessory") then
  3241. Character:FindFirstChildOfClass("Accessory"):remove()
  3242. elseif Character:FindFirstChildOfClass("Hat") then
  3243. Character:FindFirstChildOfClass("Hat"):remove()
  3244. end
  3245. end
  3246.  
  3247. function ParticleEmitter(Table)
  3248. local PRTCL = Particle:Clone()
  3249. local Speed = Table.Speed or 5
  3250. local Drag = Table.Drag or 0
  3251. local Size1 = Table.Size1 or 1
  3252. local Size2 = Table.Size2 or 5
  3253. local Lifetime1 = Table.Lifetime1 or 1
  3254. local Lifetime2 = Table.Lifetime2 or 1.5
  3255. local Parent = Table.Parent or Torso
  3256. local Emit = Table.Emit or 100
  3257. local Offset = Table.Offset or 360
  3258. local Acel = Table.Acel or VT(0,0,0)
  3259. local Enabled = Table.Enabled or false
  3260. PRTCL.Parent = Parent
  3261. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3262. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3263. PRTCL.Speed = NumberRange.new(Speed)
  3264. PRTCL.VelocitySpread = Offset
  3265. PRTCL.Drag = Drag
  3266. PRTCL.Acceleration = Acel
  3267. if Enabled == false then
  3268. PRTCL:Emit(Emit)
  3269. Debris:AddItem(PRTCL,Lifetime2)
  3270. else
  3271. PRTCL.Enabled = true
  3272. end
  3273. return PRTCL
  3274. end
  3275.  
  3276. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3277. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3278. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3279. MakeForm(Part,"Wedge")
  3280. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3281. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3282. MakeForm(Part,"Wedge")
  3283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3284. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3285. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3286. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3287. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3288. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3289. MakeForm(Part,"Cyl")
  3290. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3291. for i = 1, 8 do
  3292. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3293. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3294. end
  3295. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3296. MakeForm(Part,"Cyl")
  3297. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3298. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3299. MakeForm(Part,"Ball")
  3300. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3301. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  3302. MakeForm(Part,"Wedge")
  3303. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  3304. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  3305. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3306. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  3307. MakeForm(Part,"Cyl")
  3308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3309. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  3310. MakeForm(Part,"Cyl")
  3311. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3312. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  3313. MakeForm(Part,"Cyl")
  3314. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3316. MakeForm(Part,"Wedge")
  3317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  3318. local LASTPART = Handle
  3319. for i = 1, 10 do
  3320. if LASTPART == Handle then
  3321. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  3322. LASTPART = Part
  3323. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3324. else
  3325. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  3326. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  3327. LASTPART = Part
  3328. end
  3329. end
  3330.  
  3331. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  3332. MakeForm(Barrel,"Cyl")
  3333. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3334. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  3335. MakeForm(Part,"Cyl")
  3336. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  3337. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  3338. MakeForm(Part,"Wedge")
  3339. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  3340. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  3341. MakeForm(Hole,"Cyl")
  3342. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  3343. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  3344. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3345. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  3346. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  3347. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3348. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  3349. coroutine.resume(coroutine.create(function()
  3350. while wait() do
  3351. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  3352. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  3353. end
  3354. end))
  3355.  
  3356. 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)})
  3357. --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)})
  3358.  
  3359. for _, c in pairs(Weapon:GetDescendants()) do
  3360. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3361. c.Material = "Glass"
  3362. c.Color = C3(0.05,0.05,0.05)
  3363. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3364. c.Color = C3(0,0,1)
  3365. c.Material = "Neon"
  3366. end
  3367. end
  3368.  
  3369. Weapon.Parent = Character
  3370. for _, c in pairs(Weapon:GetChildren()) do
  3371. if c.ClassName == "Part" then
  3372. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3373. end
  3374. end
  3375.  
  3376. local SKILLTEXTCOLOR = C3(0,0,1)
  3377. local SKILLFONT = "Antique"
  3378. local SKILLTEXTSIZE = 7
  3379.  
  3380. Humanoid.Died:connect(function()
  3381. ATTACK = true
  3382. end)
  3383.  
  3384.  
  3385. 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")
  3386. --[[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")
  3387. 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")
  3388. 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")
  3389. 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")
  3390. ]]
  3391. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  3392. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  3393. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  3394. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  3395. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  3396. ]]
  3397. function printbye(Name)
  3398. 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, "}
  3399. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  3400. end
  3401.  
  3402. workspace.ChildAdded:connect(function(instance)
  3403. for BANISH = 1, #TOBANISH do
  3404. if TOBANISH[BANISH] ~= nil then
  3405. if instance.Name == TOBANISH[BANISH] then
  3406. coroutine.resume(coroutine.create(function()
  3407. printbye(instance.Name)
  3408. instance:ClearAllChildren()
  3409. Debris:AddItem(instance,0.0005)
  3410. end))
  3411. end
  3412. end
  3413. end
  3414. end)
  3415.  
  3416. --//=================================\\
  3417. --|| DAMAGING
  3418. --\\=================================//
  3419.  
  3420. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  3421. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3422. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3423. wave.CFrame = CFRAME
  3424. coroutine.resume(coroutine.create(function(PART)
  3425. for i = 1, WAIT do
  3426. Swait()
  3427. mesh.Scale = mesh.Scale + GROW
  3428. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  3429. if DOESROT == true then
  3430. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3431. end
  3432. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3433. if wave.Transparency > 0.99 then
  3434. wave:remove()
  3435. end
  3436. end
  3437. end))
  3438. end
  3439.  
  3440. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  3441. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3442. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  3443. wave.CFrame = CFRAME
  3444. coroutine.resume(coroutine.create(function(PART)
  3445. for i = 1, WAIT do
  3446. Swait()
  3447. mesh.Scale = mesh.Scale + GROW
  3448. if DOESROT == true then
  3449. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3450. end
  3451. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3452. if wave.Transparency > 0.99 then
  3453. wave:remove()
  3454. end
  3455. end
  3456. end))
  3457. end
  3458.  
  3459. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  3460. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3461. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  3462. wave.CFrame = CFRAME
  3463. coroutine.resume(coroutine.create(function(PART)
  3464. for i = 1, WAIT do
  3465. Swait()
  3466. mesh.Scale = mesh.Scale + GROW
  3467. wave.Transparency = wave.Transparency + (1/WAIT)
  3468. if wave.Transparency > 0.99 then
  3469. wave:remove()
  3470. end
  3471. end
  3472. end))
  3473. end
  3474.  
  3475. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  3476. local mesh = nil
  3477. if KIND == "Base" then
  3478. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  3479. elseif KIND == "Thin" then
  3480. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  3481. elseif KIND == "Round" then
  3482. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  3483. end
  3484. wave.CFrame = CFRAME
  3485. coroutine.resume(coroutine.create(function(PART)
  3486. for i = 1, WAIT do
  3487. Swait()
  3488. mesh.Scale = mesh.Scale + GROW/10
  3489. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3490. if wave.Transparency > 0.99 then
  3491. wave:remove()
  3492. end
  3493. end
  3494. end))
  3495. end
  3496.  
  3497. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  3498. local svch = Character2
  3499. Character2:BreakJoints()
  3500. local hum = Character2:findFirstChild("Humanoid")
  3501. local q = Character2:GetChildren()
  3502. local CLONE = IT("Model", Effects)
  3503. for i = 1, #q do
  3504. if q[i].ClassName == "Accessory" and Headless == true then
  3505. q[i]:remove()
  3506. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  3507. q[i].Parent = CLONE
  3508. elseif q[i].ClassName ~= "Humanoid" then
  3509. q[i]:remove()
  3510. end
  3511. end
  3512. local chrclone = CLONE
  3513. local ch = chrclone:GetChildren()
  3514. local i
  3515. for i = 1, #ch do
  3516. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3517. ch[i]:remove()
  3518. end
  3519. end
  3520. local function Scan(ch)
  3521. local e
  3522. for e = 1, #ch do
  3523. Scan(ch[e]:GetChildren())
  3524. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3525. ch[e]:remove()
  3526. end
  3527. end
  3528. end
  3529. Character2:remove()
  3530. local NEWHUM = IT("Humanoid")
  3531. NEWHUM.Name = "Corpse"
  3532. NEWHUM.Health = 0
  3533. NEWHUM.MaxHealth = 0
  3534. NEWHUM.PlatformStand = true
  3535. NEWHUM.Parent = CLONE
  3536. NEWHUM.DisplayDistanceType = "None"
  3537. Scan(chrclone:GetChildren())
  3538. local ch = Character2:GetChildren()
  3539. local i
  3540. for i = 1, #ch do
  3541. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3542. ch[i]:remove()
  3543. end
  3544. end
  3545. local ch = Character2:GetChildren()
  3546. local i
  3547. for i = 1, #ch do
  3548. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3549. ch[i]:remove()
  3550. end
  3551. end
  3552. Character2 = chrclone
  3553. local Torso2 = Character2.Torso
  3554. local movevector = Vector3.new()
  3555. if Torso2 then
  3556. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  3557. local Head = Character2:FindFirstChild("Head")
  3558. if Head then
  3559. local Neck = Instance.new("Weld")
  3560. Neck.Name = "Neck"
  3561. Neck.Part0 = Torso2
  3562. Neck.Part1 = Head
  3563. Neck.C0 = CFrame.new(0, 1.5, 0)
  3564. Neck.C1 = CFrame.new()
  3565. Neck.Parent = Torso2
  3566. if Headless == true then
  3567. Head.Transparency = 1
  3568. Head:ClearAllChildren()
  3569. end
  3570. end
  3571. local Limb = Character2:FindFirstChild("Right Arm")
  3572. if Limb then
  3573. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3574. local Joint = Instance.new("Glue")
  3575. Joint.Name = "RightShoulder"
  3576. Joint.Part0 = Torso2
  3577. Joint.Part1 = Limb
  3578. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3579. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3580. Joint.Parent = Torso2
  3581. local B = Instance.new("Part")
  3582. B.TopSurface = 0
  3583. B.BottomSurface = 0
  3584. B.formFactor = "Symmetric"
  3585. B.Size = Vector3.new(1, 1, 1)
  3586. B.Transparency = 1
  3587. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3588. B.Parent = Character2
  3589. local W = Instance.new("Weld")
  3590. W.Part0 = Limb
  3591. W.Part1 = B
  3592. W.C0 = CFrame.new(0, -0.5, 0)
  3593. W.Parent = Limb
  3594. end
  3595. local Limb = Character2:FindFirstChild("Left Arm")
  3596. if Limb then
  3597. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3598. local Joint = Instance.new("Glue")
  3599. Joint.Name = "LeftShoulder"
  3600. Joint.Part0 = Torso2
  3601. Joint.Part1 = Limb
  3602. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3603. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3604. Joint.Parent = Torso2
  3605. local B = Instance.new("Part")
  3606. B.TopSurface = 0
  3607. B.BottomSurface = 0
  3608. B.formFactor = "Symmetric"
  3609. B.Size = Vector3.new(1, 1, 1)
  3610. B.Transparency = 1
  3611. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3612. B.Parent = Character2
  3613. local W = Instance.new("Weld")
  3614. W.Part0 = Limb
  3615. W.Part1 = B
  3616. W.C0 = CFrame.new(0, -0.5, 0)
  3617. W.Parent = Limb
  3618. end
  3619. local Limb = Character2:FindFirstChild("Right Leg")
  3620. if Limb then
  3621. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3622. local Joint = Instance.new("Glue")
  3623. Joint.Name = "RightHip"
  3624. Joint.Part0 = Torso2
  3625. Joint.Part1 = Limb
  3626. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3627. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3628. Joint.Parent = Torso2
  3629. local B = Instance.new("Part")
  3630. B.TopSurface = 0
  3631. B.BottomSurface = 0
  3632. B.formFactor = "Symmetric"
  3633. B.Size = Vector3.new(1, 1, 1)
  3634. B.Transparency = 1
  3635. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3636. B.Parent = Character2
  3637. local W = Instance.new("Weld")
  3638. W.Part0 = Limb
  3639. W.Part1 = B
  3640. W.C0 = CFrame.new(0, -0.5, 0)
  3641. W.Parent = Limb
  3642. end
  3643. local Limb = Character2:FindFirstChild("Left Leg")
  3644. if Limb then
  3645. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3646. local Joint = Instance.new("Glue")
  3647. Joint.Name = "LeftHip"
  3648. Joint.Part0 = Torso2
  3649. Joint.Part1 = Limb
  3650. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3651. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3652. Joint.Parent = Torso2
  3653. local B = Instance.new("Part")
  3654. B.TopSurface = 0
  3655. B.BottomSurface = 0
  3656. B.formFactor = "Symmetric"
  3657. B.Size = Vector3.new(1, 1, 1)
  3658. B.Transparency = 1
  3659. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3660. B.Parent = Character2
  3661. local W = Instance.new("Weld")
  3662. W.Part0 = Limb
  3663. W.Part1 = B
  3664. W.C0 = CFrame.new(0, -0.5, 0)
  3665. W.Parent = Limb
  3666. end
  3667. local Bar = Instance.new("Part")
  3668. Bar.TopSurface = 0
  3669. Bar.BottomSurface = 0
  3670. Bar.formFactor = "Symmetric"
  3671. Bar.Size = Vector3.new(1, 1, 1)
  3672. Bar.Transparency = 1
  3673. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3674. Bar.Parent = Character2
  3675. local Weld = Instance.new("Weld")
  3676. Weld.Part0 = Torso2
  3677. Weld.Part1 = Bar
  3678. Weld.C0 = CFrame.new(0, 0.5, 0)
  3679. Weld.Parent = Torso2
  3680. end
  3681. Character2.Parent = Weapon
  3682. if movevector ~= Vector3.new() then
  3683. for i = 1, 10 do
  3684. Torso2.Velocity = movevector * Velocity
  3685. end
  3686. end
  3687. Character2.Name = "Corpse"
  3688. return Character2, Torso2
  3689. end
  3690.  
  3691. function Banish(Foe)
  3692. if Foe then
  3693. coroutine.resume(coroutine.create(function()
  3694. --if game.Players:FindFirstChild(Foe.Name) then
  3695. table.insert(TOBANISH,Foe.Name)
  3696. printbye(Foe.Name)
  3697. --end
  3698. Foe.Archivable = true
  3699. local CLONE = Foe:Clone()
  3700. Foe:Destroy()
  3701. CLONE.Parent = Effects
  3702. CLONE:BreakJoints()
  3703. local MATERIALS = {"Glass","Neon"}
  3704. for _, c in pairs(CLONE:GetDescendants()) do
  3705. if c:IsA("BasePart") then
  3706. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3707. CreateSound(340722848, c, 10, 1, false)
  3708. end
  3709. c.Anchored = true
  3710. c.Transparency = c.Transparency + 0.2
  3711. c.Material = MATERIALS[MRANDOM(1,2)]
  3712. c.Color = C3(0,0,1)
  3713. if c.ClassName == "MeshPart" then
  3714. c.TextureID = ""
  3715. end
  3716. if c:FindFirstChildOfClass("SpecialMesh") then
  3717. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3718. end
  3719. if c:FindFirstChildOfClass("Decal") then
  3720. c:FindFirstChildOfClass("Decal"):remove()
  3721. end
  3722. c.Name = "Banished"
  3723. c.CanCollide = false
  3724. else
  3725. c:remove()
  3726. end
  3727. end
  3728. local A = false
  3729. for i = 1, 35 do
  3730. if A == false then
  3731. A = true
  3732. elseif A == true then
  3733. A = false
  3734. end
  3735. for _, c in pairs(CLONE:GetDescendants()) do
  3736. if c:IsA("BasePart") then
  3737. c.Anchored = true
  3738. c.Material = MATERIALS[MRANDOM(1,2)]
  3739. c.Transparency = c.Transparency + 0.8/35
  3740. if A == false then
  3741. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3742. elseif A == true then
  3743. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3744. end
  3745. end
  3746. end
  3747. Swait()
  3748. end
  3749. CLONE:remove()
  3750. end))
  3751. end
  3752. end
  3753.  
  3754. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  3755. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  3756. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  3757. if HITFLOOR.Name == "BloodPuddle" then
  3758. local DIST = (Position - HITFLOOR.Position).Magnitude
  3759. 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
  3760. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  3761. end
  3762. elseif HITFLOOR.Anchored == true then
  3763. do
  3764. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  3765. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  3766. MakeForm(BLOOD, "Cyl")
  3767. coroutine.resume(coroutine.create(function()
  3768. Swait(75)
  3769. while true do
  3770. Swait()
  3771. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  3772. if BLOOD.Size.Z < 0.051 then
  3773. BLOOD:remove()
  3774. break
  3775. end
  3776. end
  3777. end))
  3778. end
  3779. end
  3780. end
  3781. end
  3782.  
  3783. function SprayBlood(POSITION, DIRECTION, BloodSize)
  3784. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  3785. BLOOD.CFrame = CF(POSITION)
  3786. MakeForm(BLOOD, "Ball")
  3787. local bv = Instance.new("BodyVelocity", BLOOD)
  3788. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3789. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  3790. bv.Name = "MOVE"
  3791. Debris:AddItem(bv, 0.05)
  3792. coroutine.resume(coroutine.create(function()
  3793. local HASTOUCHEDGROUND = false
  3794. local HIT = BLOOD.Touched:Connect(function(hit)
  3795. if hit.Anchored == true then
  3796. HASTOUCHEDGROUND = true
  3797. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  3798. end
  3799. end)
  3800. wait(5)
  3801. if HASTOUCHEDGROUND == false then
  3802. BLOOD:remove()
  3803. end
  3804. end))
  3805. end
  3806. function ApplyDamage(Humanoid, Damage, TorsoPart)
  3807. local defence = Instance.new("BoolValue", Humanoid.Parent)
  3808. defence.Name = "HitBy" .. Player.Name
  3809. game:GetService("Debris"):AddItem(defence, 0.001)
  3810. Damage = Damage * DAMAGEMULTIPLIER
  3811. if Humanoid.Health ~= 0 then
  3812. local CritChance = MRANDOM(1, 100)
  3813. if Damage > Humanoid.Health then
  3814. Damage = math.ceil(Humanoid.Health)
  3815. if Damage == 0 then
  3816. Damage = 0.1
  3817. end
  3818. end
  3819. Humanoid.Health = Humanoid.Health - Damage
  3820. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  3821. end
  3822. end
  3823.  
  3824. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3825. local CHILDREN = workspace:GetDescendants()
  3826. for index, CHILD in pairs(CHILDREN) do
  3827. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3828. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3829. if HUM then
  3830. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3831. if TORSO then
  3832. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3833. if ISBANISH == true then
  3834. Banish(CHILD)
  3835. else
  3836. if ISBANISH == "Gravity" then
  3837. HUM.PlatformStand = true
  3838. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3839. local grav = Instance.new("BodyPosition",TORSO)
  3840. grav.D = 15
  3841. grav.P = 20000
  3842. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3843. grav.position = TORSO.Position
  3844. grav.Name = "V3BanishForce"..Player.Name
  3845. else
  3846. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3847. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3848. end
  3849. else
  3850. HUM.PlatformStand = false
  3851. end
  3852. end
  3853. elseif ISBANISH == "Gravity" then
  3854. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3855. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3856. HUM.PlatformStand = false
  3857. end
  3858. end
  3859. end
  3860. end
  3861. end
  3862. end
  3863. end
  3864.  
  3865. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  3866. local dmg = math.random(min,max)
  3867. for i,v in ipairs(workspace:GetChildren()) do
  3868. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3869. local body = v:GetChildren()
  3870. for part = 1, #body do
  3871. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3872. if(body[part].Position - position).Magnitude < radius then
  3873. if v.ClassName == "Model" then
  3874. if v:FindFirstChildOfClass("Humanoid") then
  3875. if CanBeDodgedByJumping == true then
  3876. if body[part].Position.Y < position.Y+5 then
  3877. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  3878. end
  3879. else
  3880. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  3881. end
  3882. local bv = Instance.new("BodyVelocity")
  3883. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3884. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  3885. bv.Parent = body[part]
  3886. Debris:AddItem(bv,0.2)
  3887. end
  3888. end
  3889. end
  3890. end
  3891. end
  3892. end
  3893. if v:FindFirstChild("HitBy"..Player.Name) then
  3894. v:FindFirstChild("HitBy"..Player.Name):remove()
  3895. end
  3896. end
  3897. end
  3898.  
  3899.  
  3900. --//=================================\\
  3901. --|| ATTACK FUNCTIONS AND STUFF
  3902. --\\=================================//
  3903.  
  3904. function ShadowCloak()
  3905. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  3906. ATTACK = true
  3907. Rooted = false
  3908. UNANCHOR = false
  3909. FADERS = false
  3910. coroutine.resume(coroutine.create(function()
  3911. coroutine.resume(coroutine.create(function()
  3912. for i=1, 25 do
  3913. Swait()
  3914. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  3915. end
  3916. end))
  3917. repeat
  3918. Swait()
  3919. BLADE.Transparency = Torso.Transparency
  3920. 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)
  3921. 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)
  3922. 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)
  3923. 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)
  3924. 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)
  3925. 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)
  3926. until ATTACK == false
  3927. end))
  3928. 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})
  3929. 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})
  3930. for i = 1, 50 do
  3931. Swait()
  3932. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  3933. for index, CHILD in pairs(Character:GetChildren()) do
  3934. if CHILD:IsA("BasePart") then
  3935. CHILD.Transparency = CHILD.Transparency + 1/50
  3936. elseif CHILD:IsA("Accessory") then
  3937. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  3938. end
  3939. end
  3940. end
  3941. for i = 1, 25 do
  3942. Swait()
  3943. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  3944. end
  3945. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  3946. for i = 1, 5 do
  3947. 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})
  3948. end
  3949. ApplyAoE(Torso.Position,15,12,22,150,false)
  3950. CreateSound(331666014,Torso,5,1,false)
  3951. for i = 1, 12 do
  3952. Swait()
  3953. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  3954. end
  3955. for i = 1, 50 do
  3956. Swait()
  3957. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  3958. for index, CHILD in pairs(Character:GetChildren()) do
  3959. if CHILD:IsA("BasePart") then
  3960. CHILD.Transparency = CHILD.Transparency - 1/50
  3961. elseif CHILD:IsA("Accessory") then
  3962. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  3963. end
  3964. end
  3965. end
  3966. UNANCHOR = true
  3967. ATTACK = false
  3968. Rooted = false
  3969. FADERS = true
  3970. end
  3971. end
  3972.  
  3973. function Neck_Snap()
  3974. ATTACK = true
  3975. Rooted = false
  3976. local TARGET, HUM, WLD
  3977. local HIT = RightArm.Touched:Connect(function(hit)
  3978. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  3979. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  3980. if H.Health > 0 then
  3981. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  3982. if TORSO then
  3983. HUM = H
  3984. TARGET = TORSO
  3985. H.PlatformStand = true
  3986. CreateSound("260411131", TORSO, 10, 1)
  3987. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  3988. end
  3989. end
  3990. end
  3991. end)
  3992. for i = 0, 1, 0.1 / Animation_Speed do
  3993. Swait()
  3994. if TARGET ~= nil then
  3995. break
  3996. end
  3997. 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)
  3998. 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)
  3999. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4000. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4001. if ANIM == "Idle" then
  4002. 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)
  4003. 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)
  4004. elseif ANIM == "Walk" then
  4005. 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)
  4006. 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)
  4007. elseif ANIM == "Jump" or ANIM == "Fall" then
  4008. 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)
  4009. 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)
  4010. end
  4011. end
  4012. HIT:disconnect()
  4013. if TARGET ~= nil then
  4014. if TARGET.Name == "Torso" then
  4015. for i = 0, 2, 0.1 / Animation_Speed do
  4016. Swait()
  4017. 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)
  4018. 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)
  4019. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4020. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4021. if ANIM == "Idle" then
  4022. 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)
  4023. 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)
  4024. elseif ANIM == "Walk" then
  4025. 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)
  4026. 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)
  4027. elseif ANIM == "Jump" or ANIM == "Fall" then
  4028. 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)
  4029. 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)
  4030. end
  4031. end
  4032. WLD:remove()
  4033. local HEAD = TARGET.Parent:FindFirstChild("Head")
  4034. if HEAD then
  4035. UNANCHOR = false
  4036. RootPart.Anchored = true
  4037. local HD = HEAD:Clone()
  4038. HD.Name = "FakeHead"
  4039. for i = 1, 7 do
  4040. 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)
  4041. end
  4042. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  4043. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  4044. HD.Parent = RAGDOLL
  4045. CreateSound("264486467", RAGTORSO, 10, 1)
  4046. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  4047. for i = 0, 2, 0.1 / Animation_Speed do
  4048. Swait()
  4049. 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)
  4050. 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)
  4051. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4052. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4053. if ANIM == "Idle" then
  4054. 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)
  4055. 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)
  4056. elseif ANIM == "Walk" then
  4057. 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)
  4058. 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)
  4059. elseif ANIM == "Jump" or ANIM == "Fall" then
  4060. 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)
  4061. 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)
  4062. end
  4063. end
  4064. HEADWELD:remove()
  4065. for i = 0, 0.5, 0.1 / Animation_Speed do
  4066. Swait()
  4067. 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)
  4068. 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)
  4069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4071. if ANIM == "Idle" then
  4072. 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)
  4073. 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)
  4074. elseif ANIM == "Walk" then
  4075. 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)
  4076. 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)
  4077. elseif ANIM == "Jump" or ANIM == "Fall" then
  4078. 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)
  4079. 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)
  4080. end
  4081. end
  4082. CreateSound("907333406", Torso, 10, 1)
  4083. for i = 0, 0.25, 0.1 / Animation_Speed do
  4084. Swait()
  4085. 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)
  4086. 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)
  4087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4089. if ANIM == "Idle" then
  4090. 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)
  4091. 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)
  4092. elseif ANIM == "Walk" then
  4093. 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)
  4094. 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)
  4095. elseif ANIM == "Jump" or ANIM == "Fall" then
  4096. 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)
  4097. 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)
  4098. end
  4099. end
  4100. RAGWELD:remove()
  4101. local bv = Instance.new("BodyVelocity")
  4102. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4103. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  4104. bv.Parent = RAGTORSO
  4105. Debris:AddItem(bv, 0.05)
  4106. Debris:AddItem(RAGDOLL, 5)
  4107. for i = 0, 0.15, 0.1 / Animation_Speed do
  4108. Swait()
  4109. 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)
  4110. 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)
  4111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4113. if ANIM == "Idle" then
  4114. 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)
  4115. 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)
  4116. elseif ANIM == "Walk" then
  4117. 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)
  4118. 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)
  4119. elseif ANIM == "Jump" or ANIM == "Fall" then
  4120. 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)
  4121. 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)
  4122. end
  4123. end
  4124. UNANCHOR = true
  4125. RootPart.Anchored = false
  4126. end
  4127. else
  4128. UNANCHOR = false
  4129. RootPart.Anchored = true
  4130. for i = 0, 0.5, 0.1 / Animation_Speed do
  4131. Swait()
  4132. 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)
  4133. 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)
  4134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4136. if ANIM == "Idle" then
  4137. 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)
  4138. 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)
  4139. elseif ANIM == "Walk" then
  4140. 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)
  4141. 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)
  4142. elseif ANIM == "Jump" or ANIM == "Fall" then
  4143. 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)
  4144. 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)
  4145. end
  4146. end
  4147. for i = 0, 0.25, 0.1 / Animation_Speed do
  4148. Swait()
  4149. 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)
  4150. 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)
  4151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4153. if ANIM == "Idle" then
  4154. 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)
  4155. 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)
  4156. elseif ANIM == "Walk" then
  4157. 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)
  4158. 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)
  4159. elseif ANIM == "Jump" or ANIM == "Fall" then
  4160. 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)
  4161. 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)
  4162. end
  4163. end
  4164. WLD:remove()
  4165. TARGET.Parent:BreakJoints()
  4166. for _, c in pairs(TARGET.Parent:GetChildren()) do
  4167. if c:IsA("BasePart") then
  4168. local bv = Instance.new("BodyVelocity")
  4169. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4170. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  4171. bv.Parent = c
  4172. Debris:AddItem(bv, 0.05)
  4173. end
  4174. end
  4175. for i = 0, 0.15, 0.1 / Animation_Speed do
  4176. Swait()
  4177. 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)
  4178. 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)
  4179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4181. if ANIM == "Idle" then
  4182. 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)
  4183. 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)
  4184. elseif ANIM == "Walk" then
  4185. 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)
  4186. 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)
  4187. elseif ANIM == "Jump" or ANIM == "Fall" then
  4188. 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)
  4189. 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)
  4190. end
  4191. end
  4192. UNANCHOR = true
  4193. RootPart.Anchored = false
  4194. end
  4195. end
  4196. ATTACK = false
  4197. Rooted = false
  4198. end
  4199.  
  4200. function Banisher_Bullet()
  4201. ATTACK = true
  4202. Rooted = false
  4203. for i=0, 0.4, 0.1 / Animation_Speed do
  4204. Swait()
  4205. turnto(Mouse.Hit.p)
  4206. 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)
  4207. 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)
  4208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4210. 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)
  4211. 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)
  4212. end
  4213. repeat
  4214. for i=0, 0.2, 0.1 / Animation_Speed do
  4215. Swait()
  4216. turnto(Mouse.Hit.p)
  4217. 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)
  4218. 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)
  4219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4221. 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)
  4222. 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)
  4223. end
  4224. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  4225. SpawnTrail(Hole2.Position,POS)
  4226. if HIT ~= nil then
  4227. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4228. Banish(HIT.Parent)
  4229. end
  4230. end
  4231. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  4232. SpawnTrail(Hole.Position,POS)
  4233. if HIT ~= nil then
  4234. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4235. Banish(HIT.Parent)
  4236. end
  4237. end
  4238. 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})
  4239. 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})
  4240. 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})
  4241. 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})
  4242. for i=0, 0.3, 0.1 / Animation_Speed do
  4243. Swait()
  4244. 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)
  4245. 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)
  4246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4248. 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)
  4249. 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)
  4250. end
  4251. 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})
  4252. 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})
  4253. 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})
  4254. 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})
  4255. until KEYHOLD == false
  4256. ATTACK = false
  4257. Rooted = false
  4258. end
  4259.  
  4260. function AttackTemplate()
  4261. ATTACK = true
  4262. Rooted = false
  4263. for i=0, 1, 0.1 / Animation_Speed do
  4264. Swait()
  4265. 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)
  4266. 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)
  4267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4269. 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)
  4270. 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)
  4271. end
  4272. ATTACK = false
  4273. Rooted = false
  4274. end
  4275.  
  4276. --//=================================\\
  4277. --|| ASSIGN THINGS TO KEYS
  4278. --\\=================================//
  4279.  
  4280. function MouseDown(Mouse)
  4281. if ATTACK == false then
  4282. end
  4283. end
  4284.  
  4285. function MouseUp(Mouse)
  4286. HOLD = false
  4287. end
  4288.  
  4289. function KeyDown(Key)
  4290. KEYHOLD = true
  4291. if Key == "z" and ATTACK == false then
  4292. Banisher_Bullet()
  4293. end
  4294.  
  4295. if Key == "b" and ATTACK == false then
  4296. Neck_Snap()
  4297. end
  4298.  
  4299. if Key == "c" and ATTACK == false then
  4300. ShadowCloak()
  4301. end
  4302.  
  4303. if Key == "v" and ATTACK == false then
  4304. end
  4305.  
  4306. if Key == "x" and ATTACK == false then
  4307. end
  4308. end
  4309.  
  4310. function KeyUp(Key)
  4311. KEYHOLD = false
  4312. end
  4313.  
  4314. Mouse.Button1Down:connect(function(NEWKEY)
  4315. MouseDown(NEWKEY)
  4316. end)
  4317. Mouse.Button1Up:connect(function(NEWKEY)
  4318. MouseUp(NEWKEY)
  4319. end)
  4320. Mouse.KeyDown:connect(function(NEWKEY)
  4321. KeyDown(NEWKEY)
  4322. end)
  4323. Mouse.KeyUp:connect(function(NEWKEY)
  4324. KeyUp(NEWKEY)
  4325. end)
  4326.  
  4327. --//=================================\\
  4328. --\\=================================//
  4329.  
  4330.  
  4331. function unanchor()
  4332. if UNANCHOR == true then
  4333. g = Character:GetChildren()
  4334. for i = 1, #g do
  4335. if g[i].ClassName == "Part" then
  4336. g[i].Anchored = false
  4337. end
  4338. end
  4339. end
  4340. end
  4341.  
  4342.  
  4343. --//=================================\\
  4344. --|| WRAP THE WHOLE SCRIPT UP
  4345. --\\=================================//
  4346.  
  4347. Humanoid.Changed:connect(function(Jump)
  4348. if Jump == "Jump" and (Disable_Jump == true) then
  4349. Humanoid.Jump = false
  4350. end
  4351. end)
  4352.  
  4353. local CONNECT = nil
  4354.  
  4355. while true do
  4356. Swait()
  4357. ANIMATE.Parent = nil
  4358. if Character:FindFirstChildOfClass("Humanoid") == nil then
  4359. Humanoid = IT("Humanoid",Character)
  4360. end
  4361. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  4362. v:Stop();
  4363. end
  4364. SINE = SINE + CHANGE
  4365. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4366. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4367. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4368. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4369. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4370. 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)
  4371. 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)
  4372. 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)
  4373. 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)
  4374. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4375. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4376. 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)
  4377. 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)
  4378. 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)
  4379. end
  4380. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4381. ANIM = "Jump"
  4382. if ATTACK == false then
  4383. 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)
  4384. 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)
  4385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4387. 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)
  4388. 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)
  4389. end
  4390. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4391. ANIM = "Fall"
  4392. if ATTACK == false then
  4393. 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)
  4394. 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)
  4395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4397. 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)
  4398. 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)
  4399. end
  4400. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4401. ANIM = "Idle"
  4402. if ATTACK == false then
  4403. 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)
  4404. 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)
  4405. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4406. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4407. 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)
  4408. 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)
  4409. end
  4410. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4411. ANIM = "Walk"
  4412. if ATTACK == false then
  4413. 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)
  4414. 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)
  4415. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4416. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4417. 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)
  4418. 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)
  4419. end
  4420. end
  4421. unanchor()
  4422. Humanoid.MaxHealth = "inf"
  4423. Humanoid.Health = "inf"
  4424. if Rooted == false then
  4425. Disable_Jump = false
  4426. Humanoid.WalkSpeed = Speed
  4427. elseif Rooted == true then
  4428. Disable_Jump = true
  4429. Humanoid.WalkSpeed = 0
  4430. end
  4431. sick.Parent = Torso
  4432. sick:resume()
  4433. sick.Volume = 5
  4434. sick.Pitch = 1
  4435. sick.SoundId = "rbxassetid://if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4436. local Player,game,owner = owner,game
  4437. local RealPlayer = Player
  4438. do
  4439. print("FE Compatibility code by Program Error")
  4440. local rp = RealPlayer
  4441. script.Parent = rp.Character
  4442.  
  4443. --RemoteEvent for communicating
  4444. local Event = Instance.new("RemoteEvent")
  4445. Event.Name = "UserInput_Event"
  4446.  
  4447. --Fake event to make stuff like Mouse.KeyDown work
  4448. local function fakeEvent()
  4449. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  4450. t.connect = t.Connect
  4451. return t
  4452. end
  4453.  
  4454. --Creating fake input objects with fake variables
  4455. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  4456. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  4457. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  4458. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  4459. end}
  4460. --Merged 2 functions into one by checking amount of arguments
  4461. CAS.UnbindAction = CAS.BindAction
  4462.  
  4463. --This function will trigger the events that have been :Connect()'ed
  4464. local function te(self,ev,...)
  4465. local t = m[ev]
  4466. if t and t._fakeEvent then
  4467. for _,f in pairs(t.Functions) do
  4468. f(...)
  4469. end
  4470. end
  4471. end
  4472. m.TrigEvent = te
  4473. UIS.TrigEvent = te
  4474.  
  4475. Event.OnServerEvent:Connect(function(plr,io)
  4476. if plr~=rp then return end
  4477. m.Target = io.Target
  4478. m.Hit = io.Hit
  4479. if not io.isMouse then
  4480. local b = io.UserInputState == Enum.UserInputState.Begin
  4481. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  4482. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  4483. end
  4484. for _,t in pairs(CAS.Actions) do
  4485. for _,k in pairs(t.Keys) do
  4486. if k==io.KeyCode then
  4487. t.Function(t.Name,io.UserInputState,io)
  4488. end
  4489. end
  4490. end
  4491. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  4492. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  4493. end
  4494. end)
  4495. Event.Parent = NLS([==[
  4496. local Player = game:GetService("Players").LocalPlayer
  4497. local Event = script:WaitForChild("UserInput_Event")
  4498.  
  4499. local Mouse = Player:GetMouse()
  4500. local UIS = game:GetService("UserInputService")
  4501. local input = function(io,a)
  4502. if a then return end
  4503. --Since InputObject is a client-side instance, we create and pass table instead
  4504. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  4505. end
  4506. UIS.InputBegan:Connect(input)
  4507. UIS.InputEnded:Connect(input)
  4508.  
  4509. local h,t
  4510. --Give the server mouse data 30 times every second, but only if the values changed
  4511. --If player is not moving their mouse, client won't fire events
  4512. while wait(1/30) do
  4513. if h~=Mouse.Hit or t~=Mouse.Target then
  4514. h,t=Mouse.Hit,Mouse.Target
  4515. Event:FireServer({isMouse=true,Target=t,Hit=h})
  4516. end
  4517. end]==],Player.Character)
  4518.  
  4519. ----Sandboxed game object that allows the usage of client-side methods and services
  4520. --Real game object
  4521. local _rg = game
  4522.  
  4523. --Metatable for fake service
  4524. local fsmt = {
  4525. __index = function(self,k)
  4526. local s = rawget(self,"_RealService")
  4527. if s then return s[k] end
  4528. end,
  4529. __newindex = function(self,k,v)
  4530. local s = rawget(self,"_RealService")
  4531. if s then s[k]=v end
  4532. end,
  4533. __call = function(self,...)
  4534. local s = rawget(self,"_RealService")
  4535. if s then return s(...) end
  4536. end
  4537. }
  4538. local function FakeService(t,RealService)
  4539. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  4540. return setmetatable(t,fsmt)
  4541. end
  4542.  
  4543. --Fake game object
  4544. local g = {
  4545. GetService = function(self,s)
  4546. return self[s]
  4547. end,
  4548. Players = FakeService({
  4549. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  4550. },"Players"),
  4551. UserInputService = FakeService(UIS,"UserInputService"),
  4552. ContextActionService = FakeService(CAS,"ContextActionService"),
  4553. }
  4554. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  4555. g.service = g.GetService
  4556.  
  4557. g.RunService = FakeService({
  4558. RenderStepped = _rg:GetService("RunService").Heartbeat,
  4559. BindToRenderStep = function(self,name,_,fun)
  4560.  
  4561. end,
  4562. UnbindFromRenderStep = function(self,name)
  4563. self._btrs[name]:Disconnect()
  4564. end,
  4565. },"RunService")
  4566.  
  4567. setmetatable(g,{
  4568. __index=function(self,s)
  4569. return _rg:GetService(s) or typeof(_rg[s])=="function"
  4570. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  4571. end,
  4572. __newindex = fsmt.__newindex,
  4573. __call = fsmt.__call
  4574. })
  4575. --Changing owner to fake player object to support owner:GetMouse()
  4576. game,owner = g,g.Players.LocalPlayer
  4577. end
  4578.  
  4579. Player = game.Players.LocalPlayer
  4580. Character = Player.Character
  4581. local txt = Instance.new("BillboardGui", Character)
  4582. txt.Adornee = Character.Head
  4583. txt.Name = "_status"
  4584. txt.Size = UDim2.new(2, 0, 1.2, 0)
  4585. txt.StudsOffset = Vector3.new(-9, 8, 0)
  4586. local text = Instance.new("TextLabel", txt)
  4587. text.Size = UDim2.new(10, 0, 7, 0)
  4588. text.FontSize = "Size24"
  4589. text.TextScaled = true
  4590. text.TextTransparency = 0
  4591. text.BackgroundTransparency = 1
  4592. text.TextTransparency = 0
  4593. text.TextStrokeTransparency = 0
  4594. text.Font = "Antique"
  4595. text.TextStrokeColor3 = Color3.new(0,0,80)
  4596. text.Text = "PANDORA BLUE BANISH"
  4597. print("Edited by Program Error")
  4598. --//====================================================\\--
  4599. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  4600. --\\====================================================//--
  4601.  
  4602. script:ClearAllChildren()
  4603. wait(0.2)
  4604.  
  4605. Player = owner
  4606. PlayerGui = Player.PlayerGui
  4607. Cam = workspace.CurrentCamera
  4608. Backpack = Player.Backpack
  4609. Character = Player.Character
  4610. Humanoid = Character.Humanoid
  4611. Mouse = Player:GetMouse()
  4612. RootPart = Character["HumanoidRootPart"]
  4613. Torso = Character["Torso"]
  4614. Head = Character["Head"]
  4615. RightArm = Character["Right Arm"]
  4616. LeftArm = Character["Left Arm"]
  4617. RightLeg = Character["Right Leg"]
  4618. LeftLeg = Character["Left Leg"]
  4619. RootJoint = RootPart["RootJoint"]
  4620. Neck = Torso["Neck"]
  4621. RightShoulder = Torso["Right Shoulder"]
  4622. LeftShoulder = Torso["Left Shoulder"]
  4623. RightHip = Torso["Right Hip"]
  4624. LeftHip = Torso["Left Hip"]
  4625. local TIME = 0
  4626. local sick = Instance.new("Sound",Torso)
  4627.  
  4628. IT = Instance.new
  4629. CF = CFrame.new
  4630. VT = Vector3.new
  4631. RAD = math.rad
  4632. C3 = Color3.new
  4633. UD2 = UDim2.new
  4634. BRICKC = BrickColor.new
  4635. ANGLES = CFrame.Angles
  4636. EULER = CFrame.fromEulerAnglesXYZ
  4637. COS = math.cos
  4638. ACOS = math.acos
  4639. SIN = math.sin
  4640. ASIN = math.asin
  4641. ABS = math.abs
  4642. MRANDOM = math.random
  4643. FLOOR = math.floor
  4644.  
  4645. --//=================================\\
  4646. --|| USEFUL VALUES
  4647. --\\=================================//
  4648.  
  4649. Animation_Speed = 3
  4650. local FORCERESET = false
  4651. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  4652. local Speed = 16
  4653. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4654. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  4655. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  4656. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  4657. local DAMAGEMULTIPLIER = 1
  4658. local ANIM = "Idle"
  4659. local ATTACK = false
  4660. local EQUIPPED = false
  4661. local HOLD = false
  4662. local COMBO = 1
  4663. local Rooted = false
  4664. local SINE = 0
  4665. local KEYHOLD = false
  4666. local CHANGE = 2 / Animation_Speed
  4667. local WALKINGANIM = false
  4668. local VALUE1 = false
  4669. local VALUE2 = false
  4670. local ROBLOXIDLEANIMATION = IT("Animation")
  4671. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  4672. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  4673. --ROBLOXIDLEANIMATION.Parent = Humanoid
  4674. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  4675. WEAPONGUI.Name = "BanishV3Gui"
  4676. local Weapon = IT("Model")
  4677. Weapon.Name = "Adds"
  4678. local Effects = IT("Folder", Weapon)
  4679. Effects.Name = "Effects"
  4680. local ANIMATOR = Humanoid.Animator
  4681. local ANIMATE = Character:FindFirstChild("Animate")
  4682. local UNANCHOR = true
  4683. local TOBANISH = {}
  4684. script.Parent = PlayerGui
  4685.  
  4686. --//=================================\\
  4687. --\\=================================//
  4688.  
  4689.  
  4690. --//=================================\\
  4691. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  4692. --\\=================================//
  4693.  
  4694. ArtificialHB = Instance.new("BindableEvent", script)
  4695. ArtificialHB.Name = "ArtificialHB"
  4696.  
  4697. script:WaitForChild("ArtificialHB")
  4698.  
  4699. frame = Frame_Speed
  4700. tf = 0
  4701. allowframeloss = false
  4702. tossremainder = false
  4703. lastframe = tick()
  4704. script.ArtificialHB:Fire()
  4705.  
  4706. game:GetService("RunService").Heartbeat:connect(function(s, p)
  4707. tf = tf + s
  4708. if tf >= frame then
  4709. if allowframeloss then
  4710. script.ArtificialHB:Fire()
  4711. lastframe = tick()
  4712. else
  4713. for i = 1, math.floor(tf / frame) do
  4714. script.ArtificialHB:Fire()
  4715. end
  4716. lastframe = tick()
  4717. end
  4718. if tossremainder then
  4719. tf = 0
  4720. else
  4721. tf = tf - frame * math.floor(tf / frame)
  4722. end
  4723. end
  4724. end)
  4725.  
  4726. --//=================================\\
  4727. --\\=================================//
  4728.  
  4729. --//=================================\\
  4730. --|| SOME FUNCTIONS
  4731. --\\=================================//
  4732.  
  4733. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  4734. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  4735. end
  4736.  
  4737. function PositiveAngle(NUMBER)
  4738. if NUMBER >= 0 then
  4739. NUMBER = 0
  4740. end
  4741. return NUMBER
  4742. end
  4743.  
  4744. function NegativeAngle(NUMBER)
  4745. if NUMBER <= 0 then
  4746. NUMBER = 0
  4747. end
  4748. return NUMBER
  4749. end
  4750.  
  4751. function Swait(NUMBER)
  4752. if NUMBER == 0 or NUMBER == nil then
  4753. ArtificialHB.Event:wait()
  4754. else
  4755. for i = 1, NUMBER do
  4756. ArtificialHB.Event:wait()
  4757. end
  4758. end
  4759. end
  4760.  
  4761. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  4762. local NEWMESH = IT(MESH)
  4763. if MESH == "SpecialMesh" then
  4764. NEWMESH.MeshType = MESHTYPE
  4765. if MESHID ~= "nil" and MESHID ~= "" then
  4766. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  4767. end
  4768. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  4769. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  4770. end
  4771. end
  4772. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  4773. NEWMESH.Scale = SCALE
  4774. NEWMESH.Parent = PARENT
  4775. return NEWMESH
  4776. end
  4777.  
  4778. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  4779. local NEWPART = IT("Part")
  4780. NEWPART.formFactor = FORMFACTOR
  4781. NEWPART.Reflectance = REFLECTANCE
  4782. NEWPART.Transparency = TRANSPARENCY
  4783. NEWPART.CanCollide = false
  4784. NEWPART.Locked = true
  4785. NEWPART.Anchored = true
  4786. if ANCHOR == false then
  4787. NEWPART.Anchored = false
  4788. end
  4789. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  4790. NEWPART.Name = NAME
  4791. NEWPART.Size = SIZE
  4792. NEWPART.Position = Torso.Position
  4793. NEWPART.Material = MATERIAL
  4794. NEWPART:BreakJoints()
  4795. NEWPART.Parent = PARENT
  4796. return NEWPART
  4797. end
  4798.  
  4799. local function weldBetween(a, b)
  4800. local weldd = Instance.new("ManualWeld")
  4801. weldd.Part0 = a
  4802. weldd.Part1 = b
  4803. weldd.C0 = CFrame.new()
  4804. weldd.C1 = b.CFrame:inverse() * a.CFrame
  4805. weldd.Parent = a
  4806. return weldd
  4807. end
  4808.  
  4809.  
  4810. function QuaternionFromCFrame(cf)
  4811. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4812. local trace = m00 + m11 + m22
  4813. if trace > 0 then
  4814. local s = math.sqrt(1 + trace)
  4815. local recip = 0.5 / s
  4816. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  4817. else
  4818. local i = 0
  4819. if m11 > m00 then
  4820. i = 1
  4821. end
  4822. if m22 > (i == 0 and m00 or m11) then
  4823. i = 2
  4824. end
  4825. if i == 0 then
  4826. local s = math.sqrt(m00 - m11 - m22 + 1)
  4827. local recip = 0.5 / s
  4828. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  4829. elseif i == 1 then
  4830. local s = math.sqrt(m11 - m22 - m00 + 1)
  4831. local recip = 0.5 / s
  4832. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  4833. elseif i == 2 then
  4834. local s = math.sqrt(m22 - m00 - m11 + 1)
  4835. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  4836. end
  4837. end
  4838. end
  4839.  
  4840. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4841. local xs, ys, zs = x + x, y + y, z + z
  4842. local wx, wy, wz = w * xs, w * ys, w * zs
  4843. local xx = x * xs
  4844. local xy = x * ys
  4845. local xz = x * zs
  4846. local yy = y * ys
  4847. local yz = y * zs
  4848. local zz = z * zs
  4849. 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))
  4850. end
  4851.  
  4852. function QuaternionSlerp(a, b, t)
  4853. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  4854. local startInterp, finishInterp;
  4855. if cosTheta >= 0.0001 then
  4856. if (1 - cosTheta) > 0.0001 then
  4857. local theta = ACOS(cosTheta)
  4858. local invSinTheta = 1 / SIN(theta)
  4859. startInterp = SIN((1 - t) * theta) * invSinTheta
  4860. finishInterp = SIN(t * theta) * invSinTheta
  4861. else
  4862. startInterp = 1 - t
  4863. finishInterp = t
  4864. end
  4865. else
  4866. if (1 + cosTheta) > 0.0001 then
  4867. local theta = ACOS(-cosTheta)
  4868. local invSinTheta = 1 / SIN(theta)
  4869. startInterp = SIN((t - 1) * theta) * invSinTheta
  4870. finishInterp = SIN(t * theta) * invSinTheta
  4871. else
  4872. startInterp = t - 1
  4873. finishInterp = t
  4874. end
  4875. end
  4876. 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
  4877. end
  4878.  
  4879. function Clerp(a, b, t)
  4880. local qa = {QuaternionFromCFrame(a)}
  4881. local qb = {QuaternionFromCFrame(b)}
  4882. local ax, ay, az = a.x, a.y, a.z
  4883. local bx, by, bz = b.x, b.y, b.z
  4884. local _t = 1 - t
  4885. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  4886. end
  4887.  
  4888. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  4889. local frame = IT("Frame")
  4890. frame.BackgroundTransparency = TRANSPARENCY
  4891. frame.BorderSizePixel = BORDERSIZEPIXEL
  4892. frame.Position = POSITION
  4893. frame.Size = SIZE
  4894. frame.BackgroundColor3 = COLOR
  4895. frame.BorderColor3 = BORDERCOLOR
  4896. frame.Name = NAME
  4897. frame.Parent = PARENT
  4898. return frame
  4899. end
  4900.  
  4901. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  4902. local label = IT("TextLabel")
  4903. label.BackgroundTransparency = 1
  4904. label.Size = UD2(1, 0, 1, 0)
  4905. label.Position = UD2(0, 0, 0, 0)
  4906. label.TextColor3 = TEXTCOLOR
  4907. label.TextStrokeTransparency = STROKETRANSPARENCY
  4908. label.TextTransparency = TRANSPARENCY
  4909. label.FontSize = TEXTFONTSIZE
  4910. label.Font = TEXTFONT
  4911. label.BorderSizePixel = BORDERSIZEPIXEL
  4912. label.TextScaled = false
  4913. label.Text = TEXT
  4914. label.Name = NAME
  4915. label.Parent = PARENT
  4916. return label
  4917. end
  4918.  
  4919. function NoOutlines(PART)
  4920. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  4921. end
  4922.  
  4923. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  4924. local NEWWELD = IT(TYPE)
  4925. NEWWELD.Part0 = PART0
  4926. NEWWELD.Part1 = PART1
  4927. NEWWELD.C0 = C0
  4928. NEWWELD.C1 = C1
  4929. NEWWELD.Parent = PARENT
  4930. return NEWWELD
  4931. end
  4932.  
  4933. local S = IT("Sound")
  4934. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  4935. local NEWSOUND = nil
  4936. coroutine.resume(coroutine.create(function()
  4937. NEWSOUND = S:Clone()
  4938. NEWSOUND.Parent = PARENT
  4939. NEWSOUND.Volume = VOLUME
  4940. NEWSOUND.Pitch = PITCH
  4941. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  4942. NEWSOUND:play()
  4943. if DOESLOOP == true then
  4944. NEWSOUND.Looped = true
  4945. else
  4946. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  4947. NEWSOUND:remove()
  4948. end
  4949. end))
  4950. return NEWSOUND
  4951. end
  4952.  
  4953. function CFrameFromTopBack(at, top, back)
  4954. local right = top:Cross(back)
  4955. 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)
  4956. end
  4957.  
  4958. --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})
  4959. function WACKYEFFECT(Table)
  4960. local TYPE = (Table.EffectType or "Sphere")
  4961. local SIZE = (Table.Size or VT(1,1,1))
  4962. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  4963. local TRANSPARENCY = (Table.Transparency or 0)
  4964. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  4965. local CFRAME = (Table.CFrame or Torso.CFrame)
  4966. local MOVEDIRECTION = (Table.MoveToPos or nil)
  4967. local ROTATION1 = (Table.RotationX or 0)
  4968. local ROTATION2 = (Table.RotationY or 0)
  4969. local ROTATION3 = (Table.RotationZ or 0)
  4970. local MATERIAL = (Table.Material or "Neon")
  4971. local COLOR = (Table.Color or C3(0,0,1))
  4972. local TIME = (Table.Time or 45)
  4973. local SOUNDID = (Table.SoundID or nil)
  4974. local SOUNDPITCH = (Table.SoundPitch or nil)
  4975. local SOUNDVOLUME = (Table.SoundVolume or nil)
  4976. coroutine.resume(coroutine.create(function()
  4977. local PLAYSSOUND = false
  4978. local SOUND = nil
  4979. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  4980. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  4981. PLAYSSOUND = true
  4982. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  4983. end
  4984. EFFECT.Color = COLOR
  4985. local MSH = nil
  4986. if TYPE == "Sphere" then
  4987. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  4988. elseif TYPE == "Block" then
  4989. MSH = IT("BlockMesh",EFFECT)
  4990. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  4991. elseif TYPE == "Wave" then
  4992. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  4993. elseif TYPE == "Ring" then
  4994. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  4995. elseif TYPE == "Slash" then
  4996. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4997. elseif TYPE == "Round Slash" then
  4998. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4999. elseif TYPE == "Swirl" then
  5000. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  5001. elseif TYPE == "Skull" then
  5002. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  5003. elseif TYPE == "Crystal" then
  5004. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  5005. end
  5006. if MSH ~= nil then
  5007. local MOVESPEED = nil
  5008. if MOVEDIRECTION ~= nil then
  5009. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  5010. end
  5011. local GROWTH = SIZE - ENDSIZE
  5012. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  5013. if TYPE == "Block" then
  5014. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  5015. else
  5016. EFFECT.CFrame = CFRAME
  5017. end
  5018. for LOOP = 1, TIME+1 do
  5019. Swait()
  5020. MSH.Scale = MSH.Scale - GROWTH/TIME
  5021. if TYPE == "Wave" then
  5022. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  5023. end
  5024. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  5025. if TYPE == "Block" then
  5026. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  5027. else
  5028. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  5029. end
  5030. if MOVEDIRECTION ~= nil then
  5031. local ORI = EFFECT.Orientation
  5032. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  5033. EFFECT.Orientation = ORI
  5034. end
  5035. end
  5036. if PLAYSSOUND == false then
  5037. EFFECT:remove()
  5038. else
  5039. SOUND.Stopped:Connect(function()
  5040. EFFECT:remove()
  5041. end)
  5042. end
  5043. else
  5044. if PLAYSSOUND == false then
  5045. EFFECT:remove()
  5046. else
  5047. repeat Swait() until SOUND.Playing == false
  5048. EFFECT:remove()
  5049. end
  5050. end
  5051. end))
  5052. end
  5053.  
  5054. function MakeForm(PART,TYPE)
  5055. if TYPE == "Cyl" then
  5056. local MSH = IT("CylinderMesh",PART)
  5057. elseif TYPE == "Ball" then
  5058. local MSH = IT("SpecialMesh",PART)
  5059. MSH.MeshType = "Sphere"
  5060. elseif TYPE == "Wedge" then
  5061. local MSH = IT("SpecialMesh",PART)
  5062. MSH.MeshType = "Wedge"
  5063. end
  5064. end
  5065.  
  5066. function SpawnTrail(FROM,TO,BIG)
  5067. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Blue", "Trail", VT(0,0,0))
  5068. MakeForm(TRAIL,"Cyl")
  5069. local DIST = (FROM - TO).Magnitude
  5070. if BIG == true then
  5071. TRAIL.Size = VT(5,DIST,5)
  5072. else
  5073. TRAIL.Size = VT(5,DIST,5)
  5074. end
  5075. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  5076. coroutine.resume(coroutine.create(function()
  5077. for i = 1, 5 do
  5078. Swait()
  5079. TRAIL.Transparency = TRAIL.Transparency + 0.1
  5080. end
  5081. TRAIL:remove()
  5082. end))
  5083. end
  5084.  
  5085. Debris = game:GetService("Debris")
  5086.  
  5087. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  5088. local DIRECTION = CF(StartPos,EndPos).lookVector
  5089. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  5090. end
  5091.  
  5092. function turnto(position)
  5093. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  5094. end
  5095. local asd = Instance.new("ParticleEmitter")
  5096. asd.Color = ColorSequence.new(Color3.new(0.0, 0, 5), Color3.new(.0, 0, 3))
  5097. asd.LightEmission = .1
  5098. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  5099. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  5100. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  5101. asd.Transparency = bbb
  5102. asd.Size = aaa
  5103. asd.ZOffset = .9
  5104. asd.Acceleration = Vector3.new(0, -15, 0)
  5105. asd.LockedToPart = false
  5106. asd.EmissionDirection = "Back"
  5107. asd.Lifetime = NumberRange.new(1, 2)
  5108. asd.Rotation = NumberRange.new(-100, 100)
  5109. asd.RotSpeed = NumberRange.new(-100, 100)
  5110. asd.Speed = NumberRange.new(10)
  5111. asd.Enabled = false
  5112. asd.VelocitySpread = 999
  5113.  
  5114. function getbloody(victim,amount)
  5115. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  5116. PART.CFrame = victim.CFrame
  5117. local HITPLAYERSOUNDS = {"356551938","264486467"}
  5118. Debris:AddItem(PART,5)
  5119. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  5120. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  5121. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  5122. local prtcl = asd:Clone()
  5123. prtcl.Parent = PART
  5124. prtcl:Emit(amount*10)
  5125. end
  5126.  
  5127. local Particle = IT("ParticleEmitter",nil)
  5128. Particle.Enabled = false
  5129. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  5130. Particle.LightEmission = 0.5
  5131. Particle.Rate = 150
  5132. Particle.ZOffset = 1
  5133. Particle.Rotation = NumberRange.new(-180, 180)
  5134. Particle.RotSpeed = NumberRange.new(-180, 180)
  5135. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  5136. Particle.Color = ColorSequence.new(C3(0,0,1),C3(0.0,0,1))
  5137.  
  5138. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  5139. function ParticleEmitter(Table)
  5140. local PRTCL = Particle:Clone()
  5141. local Speed = Table.Speed or 5
  5142. local Drag = Table.Drag or 0
  5143. local Size1 = Table.Size1 or 1
  5144. local Size2 = Table.Size2 or 5
  5145. local Lifetime1 = Table.Lifetime1 or 1
  5146. local Lifetime2 = Table.Lifetime2 or 1.5
  5147. local Parent = Table.Parent or Torso
  5148. local Emit = Table.Emit or 100
  5149. local Offset = Table.Offset or 360
  5150. local Acel = Table.Acel or VT(0,0,0)
  5151. local Enabled = Table.Enabled or false
  5152. PRTCL.Parent = Parent
  5153. PRTCL.Size = NumberSequence.new(Size1,Size2)
  5154. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  5155. PRTCL.Speed = NumberRange.new(Speed)
  5156. PRTCL.VelocitySpread = Offset
  5157. PRTCL.Drag = Drag
  5158. PRTCL.Acceleration = Acel
  5159. if Enabled == false then
  5160. PRTCL:Emit(Emit)
  5161. Debris:AddItem(PRTCL,Lifetime2)
  5162. else
  5163. PRTCL.Enabled = true
  5164. end
  5165. return PRTCL
  5166. end
  5167.  
  5168. function R_RANDOM(CFRAME,DIST)
  5169. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  5170. end
  5171.  
  5172. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  5173. coroutine.resume(coroutine.create(function()
  5174. local FADE = IT("Model",Effects)
  5175. if PARENT ~= nil then
  5176. FADE.Parent = PARENT
  5177. end
  5178. FADE.Name = "FadingEffect"
  5179. for _, c in pairs(Character:GetChildren()) do
  5180. if c.ClassName == "Part" then
  5181. c.CanCollide = false
  5182. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Dark Blue"), c.Name, c.Size, true)
  5183. FADER.CFrame = c.CFrame
  5184. FADER.Color = COLOR
  5185. if FADER.Name == "Head" then
  5186. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  5187. elseif FADER.Name == "HumanoidRootPart" then
  5188. FADE.PrimaryPart = FADER
  5189. FADER.Transparency = 1
  5190. end
  5191. end
  5192. end
  5193. local TRANS = 0.25/TIMER
  5194. local DIST = nil
  5195. if MOVEDIRECTION ~= nil then
  5196. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  5197. end
  5198. for i = 1, TIMER do
  5199. Swait()
  5200. for _, c in pairs(FADE:GetChildren()) do
  5201. if c.ClassName == "Part" then
  5202. c.Transparency = c.Transparency + TRANS
  5203. end
  5204. end
  5205. if MOVEDIRECTION ~= nil then
  5206. local ORI = FADE.PrimaryPart.Orientation
  5207. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  5208. end
  5209. end
  5210. FADE:remove()
  5211. end))
  5212. end
  5213.  
  5214.  
  5215. --//=================================\\
  5216. --|| WEAPON CREATION
  5217. --\\=================================//
  5218.  
  5219. local SIZE = 1.25
  5220.  
  5221. local Particle = IT("ParticleEmitter",nil)
  5222. Particle.Enabled = false
  5223. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  5224. Particle.LightEmission = 0.5
  5225. Particle.Rate = 150
  5226. Particle.ZOffset = 0.2
  5227. Particle.Rotation = NumberRange.new(-180, 180)
  5228. Particle.RotSpeed = NumberRange.new(-180, 180)
  5229. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  5230. Particle.Color = ColorSequence.new(C3(0,0,3),C3(0.0,0,4))
  5231.  
  5232. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  5233. function ParticleEmitter(Table)
  5234. local PRTCL = Particle:Clone()
  5235. local Speed = Table.Speed or 5
  5236. local Drag = Table.Drag or 0
  5237. local Size1 = Table.Size1 or 1
  5238. local Size2 = Table.Size2 or 5
  5239. local Lifetime1 = Table.Lifetime1 or 1
  5240. local Lifetime2 = Table.Lifetime2 or 1.5
  5241. local Parent = Table.Parent or Torso
  5242. local Emit = Table.Emit or 100
  5243. local Offset = Table.Offset or 360
  5244. local Acel = Table.Acel or VT(0,0,0)
  5245. local Enabled = Table.Enabled or false
  5246. PRTCL.Parent = Parent
  5247. PRTCL.Size = NumberSequence.new(Size1,Size2)
  5248. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  5249. PRTCL.Speed = NumberRange.new(Speed)
  5250. PRTCL.VelocitySpread = Offset
  5251. PRTCL.Drag = Drag
  5252. PRTCL.Acceleration = Acel
  5253. if Enabled == false then
  5254. PRTCL:Emit(Emit)
  5255. Debris:AddItem(PRTCL,Lifetime2)
  5256. else
  5257. PRTCL.Enabled = true
  5258. end
  5259. return PRTCL
  5260. end
  5261.  
  5262. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  5263. PRT.Color = C3(0,0,1)
  5264. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  5265. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  5266. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  5267. PRT.Color = C3(0, 0, 111)
  5268. MakeForm(PRT,"Ball")
  5269. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  5270. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  5271. PRT.Color = C3(0, 0, 111)
  5272. MakeForm(PRT,"Ball")
  5273. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  5274. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  5275. PRT.Color = C3(0, 0, 111)
  5276. MakeForm(PRT,"Ball")
  5277. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  5278. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  5279. PRT.Color = C3(0, 0, 111)
  5280. MakeForm(PRT,"Ball")
  5281. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  5282. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  5283. PRT.Color = C3(0, 0, 111)
  5284. MakeForm(PRT,"Ball")
  5285. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  5286. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  5287. PRT.Color = C3(0, 0, 111)
  5288. MakeForm(PRT,"Ball")
  5289. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  5290.  
  5291.  
  5292.  
  5293.  
  5294. local LASTPART = Head
  5295. for i = 1, 20 do
  5296. local MATH = (1-(i/25))
  5297. if LASTPART == Head then
  5298. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  5299. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  5300. LASTPART = Horn
  5301. Horn.Color = C3((i*3-3)/0,0,4)
  5302. else
  5303. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  5304. 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))
  5305. LASTPART = Horn
  5306. Horn.Color = C3((i*3-3)/0,0,3)
  5307. end
  5308. end
  5309. local LASTPART = Head
  5310. for i = 1, 20 do
  5311. local MATH = (1-(i/25))
  5312. if LASTPART == Head then
  5313. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  5314. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  5315. LASTPART = Horn
  5316. Horn.Color = C3((i*3-3)/0,0,3)
  5317. else
  5318. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  5319. 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))
  5320. LASTPART = Horn
  5321. Horn.Color = C3((i*3-3)/0,0,3)
  5322. end
  5323. end
  5324.  
  5325. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  5326. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  5327. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  5328. MakeForm(Part,"Wedge")
  5329. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  5330. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  5331. MakeForm(Part,"Wedge")
  5332. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  5333. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  5334. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5335. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  5336. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5337. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  5338. MakeForm(Part,"Cyl")
  5339. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5340. for i = 1, 8 do
  5341. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  5342. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  5343. end
  5344. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  5345. MakeForm(Part,"Cyl")
  5346. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5347. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  5348. MakeForm(Part,"Ball")
  5349. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5350. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  5351. MakeForm(Part,"Wedge")
  5352. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  5353. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  5354. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5355. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  5356. MakeForm(Part,"Cyl")
  5357. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5358. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  5359. MakeForm(Part,"Cyl")
  5360. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5361. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  5362. MakeForm(Part,"Cyl")
  5363. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5364. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  5365. MakeForm(Part,"Wedge")
  5366. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  5367. local LASTPART = Handle
  5368. for i = 1, 10 do
  5369. if LASTPART == Handle then
  5370. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  5371. LASTPART = Part
  5372. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5373. else
  5374. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  5375. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  5376. LASTPART = Part
  5377. end
  5378. end
  5379.  
  5380. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  5381. MakeForm(Barrel,"Cyl")
  5382. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5383. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  5384. MakeForm(Part,"Cyl")
  5385. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  5386. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  5387. MakeForm(Part,"Wedge")
  5388. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  5389. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  5390. MakeForm(Hole2,"Cyl")
  5391. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  5392. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  5393. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  5394. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  5395. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  5396. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  5397. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  5398. coroutine.resume(coroutine.create(function()
  5399. while wait() do
  5400. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  5401. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  5402. end
  5403. end))
  5404.  
  5405. 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)})
  5406. --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)})
  5407.  
  5408. for _, c in pairs(Weapon:GetDescendants()) do
  5409. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  5410. c.Material = "Glass"
  5411. c.Color = C3(0,0,1)
  5412. elseif c.ClassName == "Part" and c.Name == "Eye" then
  5413. c.Color = C3(0,0,1)
  5414. c.Material = "Neon"
  5415. end
  5416. end
  5417.  
  5418. Weapon.Parent = Character
  5419. for _, c in pairs(Weapon:GetChildren()) do
  5420. if c.ClassName == "Part" then
  5421. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  5422. end
  5423. end
  5424.  
  5425. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  5426. PRT.Color = C3(0,0,1)
  5427. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  5428. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  5429.  
  5430. if Character:FindFirstChildOfClass("Accessory") then
  5431. Character:FindFirstChildOfClass("Accessory"):remove()
  5432. elseif Character:FindFirstChildOfClass("Hat") then
  5433. Character:FindFirstChildOfClass("Hat"):remove()
  5434. end
  5435. if Head:FindFirstChild("face") then
  5436. Head.face.Texture = "rbxassetid://403870689"
  5437. if Character:FindFirstChildOfClass("Accessory") then
  5438. Character:FindFirstChildOfClass("Accessory"):remove()
  5439. elseif Character:FindFirstChildOfClass("Hat") then
  5440. Character:FindFirstChildOfClass("Hat"):remove()
  5441. end
  5442. if Character:FindFirstChildOfClass("Accessory") then
  5443. Character:FindFirstChildOfClass("Accessory"):remove()
  5444. elseif Character:FindFirstChildOfClass("Hat") then
  5445. Character:FindFirstChildOfClass("Hat"):remove()
  5446. end
  5447. if Character:FindFirstChildOfClass("Accessory") then
  5448. Character:FindFirstChildOfClass("Accessory"):remove()
  5449. elseif Character:FindFirstChildOfClass("Hat") then
  5450. Character:FindFirstChildOfClass("Hat"):remove()
  5451. end
  5452. if Character:FindFirstChildOfClass("Accessory") then
  5453. Character:FindFirstChildOfClass("Accessory"):remove()
  5454. elseif Character:FindFirstChildOfClass("Hat") then
  5455. Character:FindFirstChildOfClass("Hat"):remove()
  5456. end
  5457. if Character:FindFirstChildOfClass("Accessory") then
  5458. Character:FindFirstChildOfClass("Accessory"):remove()
  5459. elseif Character:FindFirstChildOfClass("Hat") then
  5460. Character:FindFirstChildOfClass("Hat"):remove()
  5461. end
  5462. end
  5463.  
  5464. function ParticleEmitter(Table)
  5465. local PRTCL = Particle:Clone()
  5466. local Speed = Table.Speed or 5
  5467. local Drag = Table.Drag or 0
  5468. local Size1 = Table.Size1 or 1
  5469. local Size2 = Table.Size2 or 5
  5470. local Lifetime1 = Table.Lifetime1 or 1
  5471. local Lifetime2 = Table.Lifetime2 or 1.5
  5472. local Parent = Table.Parent or Torso
  5473. local Emit = Table.Emit or 100
  5474. local Offset = Table.Offset or 360
  5475. local Acel = Table.Acel or VT(0,0,0)
  5476. local Enabled = Table.Enabled or false
  5477. PRTCL.Parent = Parent
  5478. PRTCL.Size = NumberSequence.new(Size1,Size2)
  5479. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  5480. PRTCL.Speed = NumberRange.new(Speed)
  5481. PRTCL.VelocitySpread = Offset
  5482. PRTCL.Drag = Drag
  5483. PRTCL.Acceleration = Acel
  5484. if Enabled == false then
  5485. PRTCL:Emit(Emit)
  5486. Debris:AddItem(PRTCL,Lifetime2)
  5487. else
  5488. PRTCL.Enabled = true
  5489. end
  5490. return PRTCL
  5491. end
  5492.  
  5493. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  5494. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  5495. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  5496. MakeForm(Part,"Wedge")
  5497. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  5498. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  5499. MakeForm(Part,"Wedge")
  5500. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  5501. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  5502. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5503. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  5504. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5505. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  5506. MakeForm(Part,"Cyl")
  5507. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5508. for i = 1, 8 do
  5509. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  5510. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  5511. end
  5512. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  5513. MakeForm(Part,"Cyl")
  5514. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5515. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  5516. MakeForm(Part,"Ball")
  5517. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5518. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  5519. MakeForm(Part,"Wedge")
  5520. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  5521. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  5522. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  5523. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  5524. MakeForm(Part,"Cyl")
  5525. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5526. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  5527. MakeForm(Part,"Cyl")
  5528. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5529. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  5530. MakeForm(Part,"Cyl")
  5531. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5532. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  5533. MakeForm(Part,"Wedge")
  5534. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  5535. local LASTPART = Handle
  5536. for i = 1, 10 do
  5537. if LASTPART == Handle then
  5538. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  5539. LASTPART = Part
  5540. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5541. else
  5542. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  5543. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  5544. LASTPART = Part
  5545. end
  5546. end
  5547.  
  5548. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  5549. MakeForm(Barrel,"Cyl")
  5550. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  5551. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  5552. MakeForm(Part,"Cyl")
  5553. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  5554. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  5555. MakeForm(Part,"Wedge")
  5556. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  5557. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  5558. MakeForm(Hole,"Cyl")
  5559. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  5560. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  5561. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  5562. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  5563. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  5564. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  5565. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  5566. coroutine.resume(coroutine.create(function()
  5567. while wait() do
  5568. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  5569. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  5570. end
  5571. end))
  5572.  
  5573. 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)})
  5574. --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)})
  5575.  
  5576. for _, c in pairs(Weapon:GetDescendants()) do
  5577. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  5578. c.Material = "Glass"
  5579. c.Color = C3(0.05,0.05,0.05)
  5580. elseif c.ClassName == "Part" and c.Name == "Eye" then
  5581. c.Color = C3(0,0,1)
  5582. c.Material = "Neon"
  5583. end
  5584. end
  5585.  
  5586. Weapon.Parent = Character
  5587. for _, c in pairs(Weapon:GetChildren()) do
  5588. if c.ClassName == "Part" then
  5589. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  5590. end
  5591. end
  5592.  
  5593. local SKILLTEXTCOLOR = C3(0,0,1)
  5594. local SKILLFONT = "Antique"
  5595. local SKILLTEXTSIZE = 7
  5596.  
  5597. Humanoid.Died:connect(function()
  5598. ATTACK = true
  5599. end)
  5600.  
  5601.  
  5602. 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")
  5603. --[[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")
  5604. 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")
  5605. 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")
  5606. 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")
  5607. ]]
  5608. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  5609. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  5610. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  5611. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  5612. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  5613. ]]
  5614. function printbye(Name)
  5615. 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, "}
  5616. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  5617. end
  5618.  
  5619. workspace.ChildAdded:connect(function(instance)
  5620. for BANISH = 1, #TOBANISH do
  5621. if TOBANISH[BANISH] ~= nil then
  5622. if instance.Name == TOBANISH[BANISH] then
  5623. coroutine.resume(coroutine.create(function()
  5624. printbye(instance.Name)
  5625. instance:ClearAllChildren()
  5626. Debris:AddItem(instance,0.0005)
  5627. end))
  5628. end
  5629. end
  5630. end
  5631. end)
  5632.  
  5633. --//=================================\\
  5634. --|| DAMAGING
  5635. --\\=================================//
  5636.  
  5637. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5638. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5639. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  5640. wave.CFrame = CFRAME
  5641. coroutine.resume(coroutine.create(function(PART)
  5642. for i = 1, WAIT do
  5643. Swait()
  5644. mesh.Scale = mesh.Scale + GROW
  5645. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5646. if DOESROT == true then
  5647. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5648. end
  5649. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5650. if wave.Transparency > 0.99 then
  5651. wave:remove()
  5652. end
  5653. end
  5654. end))
  5655. end
  5656.  
  5657. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5658. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5659. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  5660. wave.CFrame = CFRAME
  5661. coroutine.resume(coroutine.create(function(PART)
  5662. for i = 1, WAIT do
  5663. Swait()
  5664. mesh.Scale = mesh.Scale + GROW
  5665. if DOESROT == true then
  5666. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5667. end
  5668. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5669. if wave.Transparency > 0.99 then
  5670. wave:remove()
  5671. end
  5672. end
  5673. end))
  5674. end
  5675.  
  5676. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5677. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5678. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  5679. wave.CFrame = CFRAME
  5680. coroutine.resume(coroutine.create(function(PART)
  5681. for i = 1, WAIT do
  5682. Swait()
  5683. mesh.Scale = mesh.Scale + GROW
  5684. wave.Transparency = wave.Transparency + (1/WAIT)
  5685. if wave.Transparency > 0.99 then
  5686. wave:remove()
  5687. end
  5688. end
  5689. end))
  5690. end
  5691.  
  5692. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  5693. local mesh = nil
  5694. if KIND == "Base" then
  5695. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  5696. elseif KIND == "Thin" then
  5697. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  5698. elseif KIND == "Round" then
  5699. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  5700. end
  5701. wave.CFrame = CFRAME
  5702. coroutine.resume(coroutine.create(function(PART)
  5703. for i = 1, WAIT do
  5704. Swait()
  5705. mesh.Scale = mesh.Scale + GROW/10
  5706. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5707. if wave.Transparency > 0.99 then
  5708. wave:remove()
  5709. end
  5710. end
  5711. end))
  5712. end
  5713.  
  5714. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  5715. local svch = Character2
  5716. Character2:BreakJoints()
  5717. local hum = Character2:findFirstChild("Humanoid")
  5718. local q = Character2:GetChildren()
  5719. local CLONE = IT("Model", Effects)
  5720. for i = 1, #q do
  5721. if q[i].ClassName == "Accessory" and Headless == true then
  5722. q[i]:remove()
  5723. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  5724. q[i].Parent = CLONE
  5725. elseif q[i].ClassName ~= "Humanoid" then
  5726. q[i]:remove()
  5727. end
  5728. end
  5729. local chrclone = CLONE
  5730. local ch = chrclone:GetChildren()
  5731. local i
  5732. for i = 1, #ch do
  5733. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  5734. ch[i]:remove()
  5735. end
  5736. end
  5737. local function Scan(ch)
  5738. local e
  5739. for e = 1, #ch do
  5740. Scan(ch[e]:GetChildren())
  5741. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  5742. ch[e]:remove()
  5743. end
  5744. end
  5745. end
  5746. Character2:remove()
  5747. local NEWHUM = IT("Humanoid")
  5748. NEWHUM.Name = "Corpse"
  5749. NEWHUM.Health = 0
  5750. NEWHUM.MaxHealth = 0
  5751. NEWHUM.PlatformStand = true
  5752. NEWHUM.Parent = CLONE
  5753. NEWHUM.DisplayDistanceType = "None"
  5754. Scan(chrclone:GetChildren())
  5755. local ch = Character2:GetChildren()
  5756. local i
  5757. for i = 1, #ch do
  5758. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  5759. ch[i]:remove()
  5760. end
  5761. end
  5762. local ch = Character2:GetChildren()
  5763. local i
  5764. for i = 1, #ch do
  5765. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  5766. ch[i]:remove()
  5767. end
  5768. end
  5769. Character2 = chrclone
  5770. local Torso2 = Character2.Torso
  5771. local movevector = Vector3.new()
  5772. if Torso2 then
  5773. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  5774. local Head = Character2:FindFirstChild("Head")
  5775. if Head then
  5776. local Neck = Instance.new("Weld")
  5777. Neck.Name = "Neck"
  5778. Neck.Part0 = Torso2
  5779. Neck.Part1 = Head
  5780. Neck.C0 = CFrame.new(0, 1.5, 0)
  5781. Neck.C1 = CFrame.new()
  5782. Neck.Parent = Torso2
  5783. if Headless == true then
  5784. Head.Transparency = 1
  5785. Head:ClearAllChildren()
  5786. end
  5787. end
  5788. local Limb = Character2:FindFirstChild("Right Arm")
  5789. if Limb then
  5790. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  5791. local Joint = Instance.new("Glue")
  5792. Joint.Name = "RightShoulder"
  5793. Joint.Part0 = Torso2
  5794. Joint.Part1 = Limb
  5795. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5796. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5797. Joint.Parent = Torso2
  5798. local B = Instance.new("Part")
  5799. B.TopSurface = 0
  5800. B.BottomSurface = 0
  5801. B.formFactor = "Symmetric"
  5802. B.Size = Vector3.new(1, 1, 1)
  5803. B.Transparency = 1
  5804. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5805. B.Parent = Character2
  5806. local W = Instance.new("Weld")
  5807. W.Part0 = Limb
  5808. W.Part1 = B
  5809. W.C0 = CFrame.new(0, -0.5, 0)
  5810. W.Parent = Limb
  5811. end
  5812. local Limb = Character2:FindFirstChild("Left Arm")
  5813. if Limb then
  5814. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  5815. local Joint = Instance.new("Glue")
  5816. Joint.Name = "LeftShoulder"
  5817. Joint.Part0 = Torso2
  5818. Joint.Part1 = Limb
  5819. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5820. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5821. Joint.Parent = Torso2
  5822. local B = Instance.new("Part")
  5823. B.TopSurface = 0
  5824. B.BottomSurface = 0
  5825. B.formFactor = "Symmetric"
  5826. B.Size = Vector3.new(1, 1, 1)
  5827. B.Transparency = 1
  5828. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5829. B.Parent = Character2
  5830. local W = Instance.new("Weld")
  5831. W.Part0 = Limb
  5832. W.Part1 = B
  5833. W.C0 = CFrame.new(0, -0.5, 0)
  5834. W.Parent = Limb
  5835. end
  5836. local Limb = Character2:FindFirstChild("Right Leg")
  5837. if Limb then
  5838. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  5839. local Joint = Instance.new("Glue")
  5840. Joint.Name = "RightHip"
  5841. Joint.Part0 = Torso2
  5842. Joint.Part1 = Limb
  5843. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5844. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5845. Joint.Parent = Torso2
  5846. local B = Instance.new("Part")
  5847. B.TopSurface = 0
  5848. B.BottomSurface = 0
  5849. B.formFactor = "Symmetric"
  5850. B.Size = Vector3.new(1, 1, 1)
  5851. B.Transparency = 1
  5852. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5853. B.Parent = Character2
  5854. local W = Instance.new("Weld")
  5855. W.Part0 = Limb
  5856. W.Part1 = B
  5857. W.C0 = CFrame.new(0, -0.5, 0)
  5858. W.Parent = Limb
  5859. end
  5860. local Limb = Character2:FindFirstChild("Left Leg")
  5861. if Limb then
  5862. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  5863. local Joint = Instance.new("Glue")
  5864. Joint.Name = "LeftHip"
  5865. Joint.Part0 = Torso2
  5866. Joint.Part1 = Limb
  5867. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5868. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5869. Joint.Parent = Torso2
  5870. local B = Instance.new("Part")
  5871. B.TopSurface = 0
  5872. B.BottomSurface = 0
  5873. B.formFactor = "Symmetric"
  5874. B.Size = Vector3.new(1, 1, 1)
  5875. B.Transparency = 1
  5876. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  5877. B.Parent = Character2
  5878. local W = Instance.new("Weld")
  5879. W.Part0 = Limb
  5880. W.Part1 = B
  5881. W.C0 = CFrame.new(0, -0.5, 0)
  5882. W.Parent = Limb
  5883. end
  5884. local Bar = Instance.new("Part")
  5885. Bar.TopSurface = 0
  5886. Bar.BottomSurface = 0
  5887. Bar.formFactor = "Symmetric"
  5888. Bar.Size = Vector3.new(1, 1, 1)
  5889. Bar.Transparency = 1
  5890. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  5891. Bar.Parent = Character2
  5892. local Weld = Instance.new("Weld")
  5893. Weld.Part0 = Torso2
  5894. Weld.Part1 = Bar
  5895. Weld.C0 = CFrame.new(0, 0.5, 0)
  5896. Weld.Parent = Torso2
  5897. end
  5898. Character2.Parent = Weapon
  5899. if movevector ~= Vector3.new() then
  5900. for i = 1, 10 do
  5901. Torso2.Velocity = movevector * Velocity
  5902. end
  5903. end
  5904. Character2.Name = "Corpse"
  5905. return Character2, Torso2
  5906. end
  5907.  
  5908. function Banish(Foe)
  5909. if Foe then
  5910. coroutine.resume(coroutine.create(function()
  5911. --if game.Players:FindFirstChild(Foe.Name) then
  5912. table.insert(TOBANISH,Foe.Name)
  5913. printbye(Foe.Name)
  5914. --end
  5915. Foe.Archivable = true
  5916. local CLONE = Foe:Clone()
  5917. Foe:Destroy()
  5918. CLONE.Parent = Effects
  5919. CLONE:BreakJoints()
  5920. local MATERIALS = {"Glass","Neon"}
  5921. for _, c in pairs(CLONE:GetDescendants()) do
  5922. if c:IsA("BasePart") then
  5923. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  5924. CreateSound(340722848, c, 10, 1, false)
  5925. end
  5926. c.Anchored = true
  5927. c.Transparency = c.Transparency + 0.2
  5928. c.Material = MATERIALS[MRANDOM(1,2)]
  5929. c.Color = C3(0,0,1)
  5930. if c.ClassName == "MeshPart" then
  5931. c.TextureID = ""
  5932. end
  5933. if c:FindFirstChildOfClass("SpecialMesh") then
  5934. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  5935. end
  5936. if c:FindFirstChildOfClass("Decal") then
  5937. c:FindFirstChildOfClass("Decal"):remove()
  5938. end
  5939. c.Name = "Banished"
  5940. c.CanCollide = false
  5941. else
  5942. c:remove()
  5943. end
  5944. end
  5945. local A = false
  5946. for i = 1, 35 do
  5947. if A == false then
  5948. A = true
  5949. elseif A == true then
  5950. A = false
  5951. end
  5952. for _, c in pairs(CLONE:GetDescendants()) do
  5953. if c:IsA("BasePart") then
  5954. c.Anchored = true
  5955. c.Material = MATERIALS[MRANDOM(1,2)]
  5956. c.Transparency = c.Transparency + 0.8/35
  5957. if A == false then
  5958. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  5959. elseif A == true then
  5960. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  5961. end
  5962. end
  5963. end
  5964. Swait()
  5965. end
  5966. CLONE:remove()
  5967. end))
  5968. end
  5969. end
  5970.  
  5971. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  5972. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  5973. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  5974. if HITFLOOR.Name == "BloodPuddle" then
  5975. local DIST = (Position - HITFLOOR.Position).Magnitude
  5976. 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
  5977. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  5978. end
  5979. elseif HITFLOOR.Anchored == true then
  5980. do
  5981. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  5982. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  5983. MakeForm(BLOOD, "Cyl")
  5984. coroutine.resume(coroutine.create(function()
  5985. Swait(75)
  5986. while true do
  5987. Swait()
  5988. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  5989. if BLOOD.Size.Z < 0.051 then
  5990. BLOOD:remove()
  5991. break
  5992. end
  5993. end
  5994. end))
  5995. end
  5996. end
  5997. end
  5998. end
  5999.  
  6000. function SprayBlood(POSITION, DIRECTION, BloodSize)
  6001. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  6002. BLOOD.CFrame = CF(POSITION)
  6003. MakeForm(BLOOD, "Ball")
  6004. local bv = Instance.new("BodyVelocity", BLOOD)
  6005. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  6006. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  6007. bv.Name = "MOVE"
  6008. Debris:AddItem(bv, 0.05)
  6009. coroutine.resume(coroutine.create(function()
  6010. local HASTOUCHEDGROUND = false
  6011. local HIT = BLOOD.Touched:Connect(function(hit)
  6012. if hit.Anchored == true then
  6013. HASTOUCHEDGROUND = true
  6014. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  6015. end
  6016. end)
  6017. wait(5)
  6018. if HASTOUCHEDGROUND == false then
  6019. BLOOD:remove()
  6020. end
  6021. end))
  6022. end
  6023. function ApplyDamage(Humanoid, Damage, TorsoPart)
  6024. local defence = Instance.new("BoolValue", Humanoid.Parent)
  6025. defence.Name = "HitBy" .. Player.Name
  6026. game:GetService("Debris"):AddItem(defence, 0.001)
  6027. Damage = Damage * DAMAGEMULTIPLIER
  6028. if Humanoid.Health ~= 0 then
  6029. local CritChance = MRANDOM(1, 100)
  6030. if Damage > Humanoid.Health then
  6031. Damage = math.ceil(Humanoid.Health)
  6032. if Damage == 0 then
  6033. Damage = 0.1
  6034. end
  6035. end
  6036. Humanoid.Health = Humanoid.Health - Damage
  6037. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  6038. end
  6039. end
  6040.  
  6041. function ApplyAoE(POSITION,RANGE,ISBANISH)
  6042. local CHILDREN = workspace:GetDescendants()
  6043. for index, CHILD in pairs(CHILDREN) do
  6044. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6045. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6046. if HUM then
  6047. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6048. if TORSO then
  6049. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6050. if ISBANISH == true then
  6051. Banish(CHILD)
  6052. else
  6053. if ISBANISH == "Gravity" then
  6054. HUM.PlatformStand = true
  6055. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  6056. local grav = Instance.new("BodyPosition",TORSO)
  6057. grav.D = 15
  6058. grav.P = 20000
  6059. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6060. grav.position = TORSO.Position
  6061. grav.Name = "V3BanishForce"..Player.Name
  6062. else
  6063. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  6064. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  6065. end
  6066. else
  6067. HUM.PlatformStand = false
  6068. end
  6069. end
  6070. elseif ISBANISH == "Gravity" then
  6071. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  6072. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  6073. HUM.PlatformStand = false
  6074. end
  6075. end
  6076. end
  6077. end
  6078. end
  6079. end
  6080. end
  6081.  
  6082. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  6083. local dmg = math.random(min,max)
  6084. for i,v in ipairs(workspace:GetChildren()) do
  6085. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  6086. local body = v:GetChildren()
  6087. for part = 1, #body do
  6088. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6089. if(body[part].Position - position).Magnitude < radius then
  6090. if v.ClassName == "Model" then
  6091. if v:FindFirstChildOfClass("Humanoid") then
  6092. if CanBeDodgedByJumping == true then
  6093. if body[part].Position.Y < position.Y+5 then
  6094. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  6095. end
  6096. else
  6097. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  6098. end
  6099. local bv = Instance.new("BodyVelocity")
  6100. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6101. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  6102. bv.Parent = body[part]
  6103. Debris:AddItem(bv,0.2)
  6104. end
  6105. end
  6106. end
  6107. end
  6108. end
  6109. end
  6110. if v:FindFirstChild("HitBy"..Player.Name) then
  6111. v:FindFirstChild("HitBy"..Player.Name):remove()
  6112. end
  6113. end
  6114. end
  6115.  
  6116.  
  6117. --//=================================\\
  6118. --|| ATTACK FUNCTIONS AND STUFF
  6119. --\\=================================//
  6120.  
  6121. function ShadowCloak()
  6122. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6123. ATTACK = true
  6124. Rooted = false
  6125. UNANCHOR = false
  6126. FADERS = false
  6127. coroutine.resume(coroutine.create(function()
  6128. coroutine.resume(coroutine.create(function()
  6129. for i=1, 25 do
  6130. Swait()
  6131. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  6132. end
  6133. end))
  6134. repeat
  6135. Swait()
  6136. BLADE.Transparency = Torso.Transparency
  6137. 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)
  6138. 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)
  6139. 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)
  6140. 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)
  6141. 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)
  6142. 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)
  6143. until ATTACK == false
  6144. end))
  6145. 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})
  6146. 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})
  6147. for i = 1, 50 do
  6148. Swait()
  6149. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  6150. for index, CHILD in pairs(Character:GetChildren()) do
  6151. if CHILD:IsA("BasePart") then
  6152. CHILD.Transparency = CHILD.Transparency + 1/50
  6153. elseif CHILD:IsA("Accessory") then
  6154. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  6155. end
  6156. end
  6157. end
  6158. for i = 1, 25 do
  6159. Swait()
  6160. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  6161. end
  6162. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  6163. for i = 1, 5 do
  6164. 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})
  6165. end
  6166. ApplyAoE(Torso.Position,15,12,22,150,false)
  6167. CreateSound(331666014,Torso,5,1,false)
  6168. for i = 1, 12 do
  6169. Swait()
  6170. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  6171. end
  6172. for i = 1, 50 do
  6173. Swait()
  6174. CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  6175. for index, CHILD in pairs(Character:GetChildren()) do
  6176. if CHILD:IsA("BasePart") then
  6177. CHILD.Transparency = CHILD.Transparency - 1/50
  6178. elseif CHILD:IsA("Accessory") then
  6179. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  6180. end
  6181. end
  6182. end
  6183. UNANCHOR = true
  6184. ATTACK = false
  6185. Rooted = false
  6186. FADERS = true
  6187. end
  6188. end
  6189.  
  6190. function Neck_Snap()
  6191. ATTACK = true
  6192. Rooted = false
  6193. local TARGET, HUM, WLD
  6194. local HIT = RightArm.Touched:Connect(function(hit)
  6195. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  6196. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  6197. if H.Health > 0 then
  6198. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6199. if TORSO then
  6200. HUM = H
  6201. TARGET = TORSO
  6202. H.PlatformStand = true
  6203. CreateSound("260411131", TORSO, 10, 1)
  6204. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  6205. end
  6206. end
  6207. end
  6208. end)
  6209. for i = 0, 1, 0.1 / Animation_Speed do
  6210. Swait()
  6211. if TARGET ~= nil then
  6212. break
  6213. end
  6214. 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)
  6215. 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)
  6216. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6217. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6218. if ANIM == "Idle" then
  6219. 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)
  6220. 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)
  6221. elseif ANIM == "Walk" then
  6222. 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)
  6223. 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)
  6224. elseif ANIM == "Jump" or ANIM == "Fall" then
  6225. 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)
  6226. 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)
  6227. end
  6228. end
  6229. HIT:disconnect()
  6230. if TARGET ~= nil then
  6231. if TARGET.Name == "Torso" then
  6232. for i = 0, 2, 0.1 / Animation_Speed do
  6233. Swait()
  6234. 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)
  6235. 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)
  6236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6238. if ANIM == "Idle" then
  6239. 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)
  6240. 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)
  6241. elseif ANIM == "Walk" then
  6242. 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)
  6243. 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)
  6244. elseif ANIM == "Jump" or ANIM == "Fall" then
  6245. 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)
  6246. 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)
  6247. end
  6248. end
  6249. WLD:remove()
  6250. local HEAD = TARGET.Parent:FindFirstChild("Head")
  6251. if HEAD then
  6252. UNANCHOR = false
  6253. RootPart.Anchored = true
  6254. local HD = HEAD:Clone()
  6255. HD.Name = "FakeHead"
  6256. for i = 1, 7 do
  6257. 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)
  6258. end
  6259. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  6260. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  6261. HD.Parent = RAGDOLL
  6262. CreateSound("264486467", RAGTORSO, 10, 1)
  6263. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  6264. for i = 0, 2, 0.1 / Animation_Speed do
  6265. Swait()
  6266. 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)
  6267. 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)
  6268. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6269. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6270. if ANIM == "Idle" then
  6271. 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)
  6272. 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)
  6273. elseif ANIM == "Walk" then
  6274. 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)
  6275. 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)
  6276. elseif ANIM == "Jump" or ANIM == "Fall" then
  6277. 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)
  6278. 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)
  6279. end
  6280. end
  6281. HEADWELD:remove()
  6282. for i = 0, 0.5, 0.1 / Animation_Speed do
  6283. Swait()
  6284. 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)
  6285. 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)
  6286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6288. if ANIM == "Idle" then
  6289. 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)
  6290. 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)
  6291. elseif ANIM == "Walk" then
  6292. 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)
  6293. 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)
  6294. elseif ANIM == "Jump" or ANIM == "Fall" then
  6295. 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)
  6296. 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)
  6297. end
  6298. end
  6299. CreateSound("907333406", Torso, 10, 1)
  6300. for i = 0, 0.25, 0.1 / Animation_Speed do
  6301. Swait()
  6302. 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)
  6303. 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)
  6304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6306. if ANIM == "Idle" then
  6307. 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)
  6308. 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)
  6309. elseif ANIM == "Walk" then
  6310. 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)
  6311. 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)
  6312. elseif ANIM == "Jump" or ANIM == "Fall" then
  6313. 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)
  6314. 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)
  6315. end
  6316. end
  6317. RAGWELD:remove()
  6318. local bv = Instance.new("BodyVelocity")
  6319. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  6320. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  6321. bv.Parent = RAGTORSO
  6322. Debris:AddItem(bv, 0.05)
  6323. Debris:AddItem(RAGDOLL, 5)
  6324. for i = 0, 0.15, 0.1 / Animation_Speed do
  6325. Swait()
  6326. 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)
  6327. 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)
  6328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6330. if ANIM == "Idle" then
  6331. 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)
  6332. 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)
  6333. elseif ANIM == "Walk" then
  6334. 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)
  6335. 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)
  6336. elseif ANIM == "Jump" or ANIM == "Fall" then
  6337. 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)
  6338. 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)
  6339. end
  6340. end
  6341. UNANCHOR = true
  6342. RootPart.Anchored = false
  6343. end
  6344. else
  6345. UNANCHOR = false
  6346. RootPart.Anchored = true
  6347. for i = 0, 0.5, 0.1 / Animation_Speed do
  6348. Swait()
  6349. 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)
  6350. 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)
  6351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6352. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6353. if ANIM == "Idle" then
  6354. 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)
  6355. 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)
  6356. elseif ANIM == "Walk" then
  6357. 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)
  6358. 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)
  6359. elseif ANIM == "Jump" or ANIM == "Fall" then
  6360. 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)
  6361. 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)
  6362. end
  6363. end
  6364. for i = 0, 0.25, 0.1 / Animation_Speed do
  6365. Swait()
  6366. 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)
  6367. 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)
  6368. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6370. if ANIM == "Idle" then
  6371. 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)
  6372. 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)
  6373. elseif ANIM == "Walk" then
  6374. 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)
  6375. 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)
  6376. elseif ANIM == "Jump" or ANIM == "Fall" then
  6377. 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)
  6378. 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)
  6379. end
  6380. end
  6381. WLD:remove()
  6382. TARGET.Parent:BreakJoints()
  6383. for _, c in pairs(TARGET.Parent:GetChildren()) do
  6384. if c:IsA("BasePart") then
  6385. local bv = Instance.new("BodyVelocity")
  6386. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  6387. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  6388. bv.Parent = c
  6389. Debris:AddItem(bv, 0.05)
  6390. end
  6391. end
  6392. for i = 0, 0.15, 0.1 / Animation_Speed do
  6393. Swait()
  6394. 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)
  6395. 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)
  6396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6398. if ANIM == "Idle" then
  6399. 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)
  6400. 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)
  6401. elseif ANIM == "Walk" then
  6402. 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)
  6403. 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)
  6404. elseif ANIM == "Jump" or ANIM == "Fall" then
  6405. 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)
  6406. 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)
  6407. end
  6408. end
  6409. UNANCHOR = true
  6410. RootPart.Anchored = false
  6411. end
  6412. end
  6413. ATTACK = false
  6414. Rooted = false
  6415. end
  6416.  
  6417. function Banisher_Bullet()
  6418. ATTACK = true
  6419. Rooted = false
  6420. for i=0, 0.4, 0.1 / Animation_Speed do
  6421. Swait()
  6422. turnto(Mouse.Hit.p)
  6423. 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)
  6424. 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)
  6425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6427. 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)
  6428. 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)
  6429. end
  6430. repeat
  6431. for i=0, 0.2, 0.1 / Animation_Speed do
  6432. Swait()
  6433. turnto(Mouse.Hit.p)
  6434. 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)
  6435. 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)
  6436. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6437. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6438. 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)
  6439. 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)
  6440. end
  6441. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  6442. SpawnTrail(Hole2.Position,POS)
  6443. if HIT ~= nil then
  6444. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  6445. Banish(HIT.Parent)
  6446. end
  6447. end
  6448. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  6449. SpawnTrail(Hole.Position,POS)
  6450. if HIT ~= nil then
  6451. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  6452. Banish(HIT.Parent)
  6453. end
  6454. end
  6455. 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})
  6456. 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})
  6457. 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})
  6458. 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})
  6459. for i=0, 0.3, 0.1 / Animation_Speed do
  6460. Swait()
  6461. 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)
  6462. 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)
  6463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6464. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6465. 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)
  6466. 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)
  6467. end
  6468. 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})
  6469. 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})
  6470. 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})
  6471. 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})
  6472. until KEYHOLD == false
  6473. ATTACK = false
  6474. Rooted = false
  6475. end
  6476.  
  6477. function AttackTemplate()
  6478. ATTACK = true
  6479. Rooted = false
  6480. for i=0, 1, 0.1 / Animation_Speed do
  6481. Swait()
  6482. 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)
  6483. 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)
  6484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  6486. 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)
  6487. 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)
  6488. end
  6489. ATTACK = false
  6490. Rooted = false
  6491. end
  6492.  
  6493. --//=================================\\
  6494. --|| ASSIGN THINGS TO KEYS
  6495. --\\=================================//
  6496.  
  6497. function MouseDown(Mouse)
  6498. if ATTACK == false then
  6499. end
  6500. end
  6501.  
  6502. function MouseUp(Mouse)
  6503. HOLD = false
  6504. end
  6505.  
  6506. function KeyDown(Key)
  6507. KEYHOLD = true
  6508. if Key == "z" and ATTACK == false then
  6509. Banisher_Bullet()
  6510. end
  6511.  
  6512. if Key == "b" and ATTACK == false then
  6513. Neck_Snap()
  6514. end
  6515.  
  6516. if Key == "c" and ATTACK == false then
  6517. ShadowCloak()
  6518. end
  6519.  
  6520. if Key == "v" and ATTACK == false then
  6521. end
  6522.  
  6523. if Key == "x" and ATTACK == false then
  6524. end
  6525. end
  6526.  
  6527. function KeyUp(Key)
  6528. KEYHOLD = false
  6529. end
  6530.  
  6531. Mouse.Button1Down:connect(function(NEWKEY)
  6532. MouseDown(NEWKEY)
  6533. end)
  6534. Mouse.Button1Up:connect(function(NEWKEY)
  6535. MouseUp(NEWKEY)
  6536. end)
  6537. Mouse.KeyDown:connect(function(NEWKEY)
  6538. KeyDown(NEWKEY)
  6539. end)
  6540. Mouse.KeyUp:connect(function(NEWKEY)
  6541. KeyUp(NEWKEY)
  6542. end)
  6543.  
  6544. --//=================================\\
  6545. --\\=================================//
  6546.  
  6547.  
  6548. function unanchor()
  6549. if UNANCHOR == true then
  6550. g = Character:GetChildren()
  6551. for i = 1, #g do
  6552. if g[i].ClassName == "Part" then
  6553. g[i].Anchored = false
  6554. end
  6555. end
  6556. end
  6557. end
  6558.  
  6559.  
  6560. --//=================================\\
  6561. --|| WRAP THE WHOLE SCRIPT UP
  6562. --\\=================================//
  6563.  
  6564. Humanoid.Changed:connect(function(Jump)
  6565. if Jump == "Jump" and (Disable_Jump == true) then
  6566. Humanoid.Jump = false
  6567. end
  6568. end)
  6569.  
  6570. local CONNECT = nil
  6571.  
  6572. while true do
  6573. Swait()
  6574. ANIMATE.Parent = nil
  6575. if Character:FindFirstChildOfClass("Humanoid") == nil then
  6576. Humanoid = IT("Humanoid",Character)
  6577. end
  6578. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  6579. v:Stop();
  6580. end
  6581. SINE = SINE + CHANGE
  6582. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  6583. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  6584. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  6585. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  6586. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  6587. 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)
  6588. 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)
  6589. 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)
  6590. 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)
  6591. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  6592. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6593. 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)
  6594. 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)
  6595. 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)
  6596. end
  6597. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  6598. ANIM = "Jump"
  6599. if ATTACK == false then
  6600. 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)
  6601. 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)
  6602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6604. 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)
  6605. 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)
  6606. end
  6607. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  6608. ANIM = "Fall"
  6609. if ATTACK == false then
  6610. 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)
  6611. 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)
  6612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6614. 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)
  6615. 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)
  6616. end
  6617. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  6618. ANIM = "Idle"
  6619. if ATTACK == false then
  6620. 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)
  6621. 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)
  6622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6624. 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)
  6625. 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)
  6626. end
  6627. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  6628. ANIM = "Walk"
  6629. if ATTACK == false then
  6630. 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)
  6631. 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)
  6632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6634. 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)
  6635. 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)
  6636. end
  6637. end
  6638. unanchor()
  6639. Humanoid.MaxHealth = "inf"
  6640. Humanoid.Health = "inf"
  6641. if Rooted == false then
  6642. Disable_Jump = false
  6643. Humanoid.WalkSpeed = Speed
  6644. elseif Rooted == true then
  6645. Disable_Jump = true
  6646. Humanoid.WalkSpeed = 0
  6647. end
  6648. sick.Parent = Torso
  6649. sick:resume()
  6650. sick.Volume = 5
  6651. sick.Pitch = 1
  6652. sick.SoundId = "rbxassetid://1470848774"
  6653. sick.Name = "BanishV3Music"
  6654. end
  6655.  
  6656. --//=================================\\
  6657. --\\=================================//
  6658.  
  6659.  
  6660.  
  6661.  
  6662.  
  6663. --//====================================================\\--
  6664. --|| END OF SCRIPT
  6665. --\\====================================================//--"
  6666. sick.Name = "BanishV3Music"
  6667. end
  6668.  
  6669. --//=================================\\
  6670. --\\=================================//
  6671.  
  6672.  
  6673.  
  6674.  
  6675.  
  6676. --//====================================================\\--
  6677. --|| END OF SCRIPT
  6678. --\\====================================================//--"
  6679. sick.Name = "BanishV3Music"
  6680. end
  6681.  
  6682. --//=================================\\
  6683. --\\=================================//
  6684.  
  6685.  
  6686.  
  6687.  
  6688.  
  6689. --//====================================================\\--
  6690. --|| END OF SCRIPT
  6691. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement