Advertisement
AsukaOS

Fe PANDOGREEN BANISHER

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