Advertisement
5sdfsadgaq5465

pandora green banisher

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