Advertisement
wamandnj

Untitled

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