Advertisement
AsukaOS

Fe Tack Banisher

Mar 12th, 2019
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.01 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. script.Name = "Banisher Gun V3 / 1"
  153. --//====================================================\\--
  154. --|| CREATED BY SHACKLUSTER
  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, "Really white", "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(255, 255, 255),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. --//=================================\\
  724. --|| WEAPON CREATION
  725. --\\=================================//
  726.  
  727. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Hood", VT(1,1,1),false)
  728. PRT.Color = C3(0,0,0)
  729. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  730. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  731. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  732. PRT.Color = C3(0,0,0)
  733. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  734. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  735. for i = 1, 16 do
  736. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  737. FACE.Color = C3(0,0,0)
  738. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  739. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  740. end
  741. local LASTPART = Head
  742. for i = 1, 20 do
  743. local MATH = (1-(i/25))
  744. if LASTPART == Head then
  745. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  746. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  747. LASTPART = Horn
  748. Horn.Color = C3((i*3-3)/255,0,0)
  749. else
  750. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  751. 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))
  752. LASTPART = Horn
  753. Horn.Color = C3((i*3-3)/255,0,0)
  754. end
  755. end
  756. local LASTPART = Head
  757. for i = 1, 20 do
  758. local MATH = (1-(i/25))
  759. if LASTPART == Head then
  760. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  761. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  762. LASTPART = Horn
  763. Horn.Color = C3((i*3-3)/255,0,0)
  764. else
  765. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  766. 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))
  767. LASTPART = Horn
  768. Horn.Color = C3((i*3-3)/255,0,0)
  769. end
  770. end
  771. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really blue", "Hair", VT(1,1,1),false)
  772. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  773. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  774. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  775. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  776. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  777.  
  778. local BODY = {}
  779.  
  780. for _, c in pairs(Character:GetDescendants()) do
  781. if c:IsA("BasePart") and c.Name ~= "Handle" then
  782. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  783. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  784. end
  785. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  786. elseif c:IsA("JointInstance") then
  787. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  788. end
  789. end
  790.  
  791. for e = 1, #BODY do
  792. if BODY[e] ~= nil then
  793. local STUFF = BODY[e]
  794. local PART = STUFF[1]
  795. local PARENT = STUFF[2]
  796. local MATERIAL = STUFF[3]
  797. local COLOR = STUFF[4]
  798. local TRANSPARENCY = STUFF[5]
  799. if PART.ClassName == "Part" and PART ~= RootPart then
  800. PART.Material = MATERIAL
  801. PART.Color = COLOR
  802. PART.Transparency = TRANSPARENCY
  803. end
  804. PART.AncestryChanged:Connect(function()
  805. PART.Parent = PARENT
  806. end)
  807. end
  808. end
  809.  
  810. function refit()
  811. Character.Parent = workspace
  812. for e = 1, #BODY do
  813. if BODY[e] ~= nil then
  814. local STUFF = BODY[e]
  815. local PART = STUFF[1]
  816. local PARENT = STUFF[2]
  817. local MATERIAL = STUFF[3]
  818. local COLOR = STUFF[4]
  819. local TRANSPARENCY = STUFF[5]
  820. if PART.ClassName == "Part" and PART ~= RootPart then
  821. PART.Material = MATERIAL
  822. PART.Color = COLOR
  823. PART.Transparency = TRANSPARENCY
  824. end
  825. if PART.Parent ~= PARENT then
  826. Humanoid:remove()
  827. PART.Parent = PARENT
  828. Humanoid = IT("Humanoid",Character)
  829. end
  830. end
  831. end
  832. end
  833.  
  834.  
  835. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  836. if FLOOR ~= nil then
  837. coroutine.resume(coroutine.create(function()
  838. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  839. PART.CFrame = CF(POSITION)
  840. for i = 1, 45 do
  841. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  842. RingPiece.Material = FLOOR.Material
  843. RingPiece.Color = FLOOR.Color
  844. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  845. Debris:AddItem(RingPiece, SWAIT)
  846. end
  847. PART:remove()
  848. end))
  849. end
  850. end
  851. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  852. if FLOOR ~= nil then
  853. for i = 1, AMOUNT do
  854. do
  855. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  856. DEBREE.Material = FLOOR.Material
  857. DEBREE.Color = FLOOR.Color
  858. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  859. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  860. coroutine.resume(coroutine.create(function()
  861. Swait(15)
  862. DEBREE.Parent = workspace
  863. DEBREE.CanCollide = true
  864. Debris:AddItem(DEBREE, SWAIT)
  865. end))
  866. end
  867. end
  868. end
  869. end
  870.  
  871. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  872. MakeForm(LeftHole,"Cyl")
  873. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  874. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  875. MakeForm(Eye,"Ball")
  876. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  877. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  878. MakeForm(Eye,"Ball")
  879. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  880. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  881. MakeForm(Eye,"Ball")
  882. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  883. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  884. MakeForm(Eye,"Ball")
  885. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  886. local A = IT("Attachment",Torso)
  887. A.Position = VT(1,1.3,0)
  888. A.Orientation = VT(-0.098, -89.999, 0.227)
  889. local B = IT("Attachment",Torso)
  890. B.Position = VT(-1.3,-0.6,0)
  891. B.Orientation = VT(-88.911, -68.808, 158.782)
  892. local ChainLink = IT("Beam",Torso)
  893. ChainLink.Texture = "rbxassetid://73042633"
  894. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  895. ChainLink.TextureSpeed = 1
  896. ChainLink.FaceCamera = true
  897. ChainLink.Width0 = 1
  898. ChainLink.Width1 = 1
  899. ChainLink.TextureLength = 3
  900. ChainLink.Attachment0 = A
  901. ChainLink.Attachment1 = B
  902. ChainLink.CurveSize0 = 1.6
  903. ChainLink.CurveSize1 = 1.6
  904. ChainLink.FaceCamera = true
  905. ChainLink.Transparency = NumberSequence.new(0)
  906. local ChainLink = IT("Beam",Torso)
  907. ChainLink.Texture = "rbxassetid://73042633"
  908. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  909. ChainLink.TextureSpeed = 1
  910. ChainLink.FaceCamera = true
  911. ChainLink.Width0 = 1
  912. ChainLink.Width1 = 1
  913. ChainLink.TextureLength = 3
  914. ChainLink.Attachment0 = B
  915. ChainLink.Attachment1 = A
  916. ChainLink.CurveSize0 = 1.6
  917. ChainLink.CurveSize1 = 1.6
  918. ChainLink.FaceCamera = true
  919. ChainLink.Transparency = NumberSequence.new(0)
  920. local A = IT("Attachment",Torso)
  921. A.Position = VT(1.3,-0.85,0)
  922. A.Orientation = VT(-0.098, -89.999, 0.227)
  923. local B = IT("Attachment",Torso)
  924. B.Position = VT(-1,2,0)
  925. B.Orientation = VT(-88.911, -68.808, 158.782)
  926. local ChainLink = IT("Beam",Torso)
  927. ChainLink.Texture = "rbxassetid://73042633"
  928. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  929. ChainLink.TextureSpeed = 1
  930. ChainLink.FaceCamera = true
  931. ChainLink.Width0 = 1
  932. ChainLink.Width1 = 1
  933. ChainLink.TextureLength = 3
  934. ChainLink.Attachment0 = A
  935. ChainLink.Attachment1 = B
  936. ChainLink.CurveSize0 = 1.3
  937. ChainLink.CurveSize1 = 1.3
  938. ChainLink.FaceCamera = true
  939. ChainLink.Transparency = NumberSequence.new(0)
  940. local ChainLink = IT("Beam",Torso)
  941. ChainLink.Texture = "rbxassetid://73042633"
  942. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  943. ChainLink.TextureSpeed = 1
  944. ChainLink.FaceCamera = true
  945. ChainLink.Width0 = 1
  946. ChainLink.Width1 = 1
  947. ChainLink.TextureLength = 3
  948. ChainLink.Attachment0 = B
  949. ChainLink.Attachment1 = A
  950. ChainLink.CurveSize0 = 1.3
  951. ChainLink.CurveSize1 = 1.3
  952. ChainLink.FaceCamera = true
  953. ChainLink.Transparency = NumberSequence.new(0)
  954.  
  955. local A = IT("Attachment",RightBarrel)
  956. A.Position = VT(0,-2.5,0)
  957. local B = IT("Attachment",RightBarrel)
  958. B.Position = VT(0,2.5,0)
  959. local Trail = IT("Trail",RightBarrel)
  960. Trail.Attachment0 = A
  961. Trail.Attachment1 = B
  962. Trail.Lifetime = 0.2
  963. Trail.Color = ColorSequence.new(BRICKC"Really white".Color)
  964. Trail.Transparency = NumberSequence.new(0, 1)
  965. Trail.Enabled = false
  966.  
  967. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  968. PRT.LockedToPart = true
  969. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  970. PRT.LockedToPart = true
  971. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  972. PRT.LockedToPart = true
  973. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  974. PRT.LockedToPart = true
  975. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  976. PRT.LockedToPart = true
  977. for _, c in pairs(Character:GetDescendants()) do
  978. if c and c.Parent then
  979. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  980. local ACCESSORY = c.Parent
  981. c.Parent = Character
  982. if c then
  983. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  984. weldBetween(Head,c)
  985. else
  986. weldBetween(Torso,c)
  987. end
  988. end
  989. end
  990. end
  991. end
  992. local BODY = {}
  993. for _, c in pairs(Character:GetDescendants()) do
  994. if c:IsA("BasePart") and c.Name ~= "Handle" then
  995. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  996. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  997. end
  998. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  999. elseif c:IsA("JointInstance") then
  1000. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1001. end
  1002. end
  1003. function refit()
  1004. Character.Parent = workspace
  1005. for e = 1, #BODY do
  1006. if BODY[e] ~= nil then
  1007. local STUFF = BODY[e]
  1008. local PART = STUFF[1]
  1009. local PARENT = STUFF[2]
  1010. local MATERIAL = STUFF[3]
  1011. local COLOR = STUFF[4]
  1012. local TRANSPARENCY = STUFF[5]
  1013. --local SIZE = STUFF[6]
  1014. local NAME = STUFF[7]
  1015. if PART.ClassName == "Part" and PART ~= RootPart then
  1016. PART.Material = MATERIAL
  1017. PART.Transparency = TRANSPARENCY
  1018. PART.Name = NAME
  1019. end
  1020. if PART.Parent ~= PARENT then
  1021. Humanoid:remove()
  1022. PART.Parent = PARENT
  1023. Humanoid = IT("Humanoid",Character)
  1024. end
  1025. end
  1026. end
  1027. end
  1028.  
  1029.  
  1030. local Particle = IT("ParticleEmitter",nil)
  1031. Particle.Enabled = false
  1032. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1033. Particle.LightEmission = 0.5
  1034. Particle.Rate = 150
  1035. Particle.ZOffset = 0.2
  1036. Particle.Rotation = NumberRange.new(-180, 180)
  1037. Particle.RotSpeed = NumberRange.new(-180, 180)
  1038. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1039. Particle.Color = ColorSequence.new(C3(255,255,255),C3(0.4,0,0))
  1040.  
  1041. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1042. function ParticleEmitter(Table)
  1043. local PRTCL = Particle:Clone()
  1044. local Speed = Table.Speed or 5
  1045. local Drag = Table.Drag or 0
  1046. local Size1 = Table.Size1 or 1
  1047. local Size2 = Table.Size2 or 5
  1048. local Lifetime1 = Table.Lifetime1 or 1
  1049. local Lifetime2 = Table.Lifetime2 or 1.5
  1050. local Parent = Table.Parent or Torso
  1051. local Emit = Table.Emit or 100
  1052. local Offset = Table.Offset or 360
  1053. local Acel = Table.Acel or VT(0,0,0)
  1054. local Enabled = Table.Enabled or false
  1055. PRTCL.Parent = Parent
  1056. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1057. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1058. PRTCL.Speed = NumberRange.new(Speed)
  1059. PRTCL.VelocitySpread = Offset
  1060. PRTCL.Drag = Drag
  1061. PRTCL.Acceleration = Acel
  1062. if Enabled == false then
  1063. PRTCL:Emit(Emit)
  1064. Debris:AddItem(PRTCL,Lifetime2)
  1065. else
  1066. PRTCL.Enabled = true
  1067. end
  1068. return PRTCL
  1069. end
  1070.  
  1071. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1072. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1073. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1074. MakeForm(Part,"Wedge")
  1075. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1076. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1077. MakeForm(Part,"Wedge")
  1078. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1079. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1080. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1081. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1082. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1083. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1084. MakeForm(Part,"Cyl")
  1085. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1086. for i = 1, 8 do
  1087. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1088. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1089. end
  1090. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1091. MakeForm(Part,"Cyl")
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1093. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1094. MakeForm(Part,"Ball")
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1097. MakeForm(Part,"Wedge")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1099. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1100. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1101. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1102. MakeForm(Part,"Cyl")
  1103. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1104. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1105. MakeForm(Part,"Cyl")
  1106. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1107. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1108. MakeForm(Part,"Cyl")
  1109. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1110. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1111. MakeForm(Part,"Wedge")
  1112. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1113. local LASTPART = Handle
  1114. for i = 1, 10 do
  1115. if LASTPART == Handle then
  1116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1117. LASTPART = Part
  1118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1119. else
  1120. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1121. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1122. LASTPART = Part
  1123. end
  1124. end
  1125.  
  1126. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1127. MakeForm(Barrel,"Cyl")
  1128. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1129. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1130. MakeForm(Part,"Cyl")
  1131. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1132. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1133. MakeForm(Part,"Wedge")
  1134. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1135. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1136. MakeForm(Hole,"Cyl")
  1137. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1138. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1139. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1140. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1141. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1142. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1143. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1144. coroutine.resume(coroutine.create(function()
  1145. while wait() do
  1146. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1147. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1148. end
  1149. end))
  1150.  
  1151. 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)})
  1152. --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)})
  1153.  
  1154. for _, c in pairs(Weapon:GetDescendants()) do
  1155. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1156. c.Material = "Glass"
  1157. c.Color = C3(255,255,255)
  1158. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1159. c.Color = C3(255,255,255)
  1160. c.Material = "Neon"
  1161. end
  1162. end
  1163.  
  1164. Weapon.Parent = Character
  1165. for _, c in pairs(Weapon:GetChildren()) do
  1166. if c.ClassName == "Part" then
  1167. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1168. end
  1169. end
  1170.  
  1171. local SKILLTEXTCOLOR = C3(255,255,255)
  1172. local SKILLFONT = "Antique"
  1173. local SKILLTEXTSIZE = 7
  1174.  
  1175. Humanoid.Died:connect(function()
  1176. ATTACK = true
  1177. end)
  1178.  
  1179. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1180. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1181.  
  1182. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  1183. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  1184.  
  1185. function printbye(Name)
  1186. 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, "}
  1187. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1188. end
  1189.  
  1190. workspace.ChildAdded:connect(function(instance)
  1191. for BANISH = 1, #TOBANISH do
  1192. if TOBANISH[BANISH] ~= nil then
  1193. if instance.Name == TOBANISH[BANISH] then
  1194. coroutine.resume(coroutine.create(function()
  1195. printbye(instance.Name)
  1196. instance:ClearAllChildren()
  1197. Debris:AddItem(instance,0.0005)
  1198. end))
  1199. end
  1200. end
  1201. end
  1202. end)
  1203.  
  1204. --//=================================\\
  1205. --|| DAMAGING
  1206. --\\=================================//
  1207.  
  1208. function Banish(Foe)
  1209. if Foe then
  1210. coroutine.resume(coroutine.create(function()
  1211. --if game.Players:FindFirstChild(Foe.Name) then
  1212. table.insert(TOBANISH,Foe.Name)
  1213. printbye(Foe.Name)
  1214. --end
  1215. Foe.Archivable = true
  1216. local CLONE = Foe:Clone()
  1217. Foe:Destroy()
  1218. CLONE.Parent = Effects
  1219. CLONE:BreakJoints()
  1220. local MATERIALS = {"Glass","Neon"}
  1221. for _, c in pairs(CLONE:GetDescendants()) do
  1222. if c:IsA("BasePart") then
  1223. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1224. CreateSound(340722848, c, 10, 1, false)
  1225. end
  1226. c.Anchored = true
  1227. c.Transparency = c.Transparency + 0.2
  1228. c.Material = MATERIALS[MRANDOM(1,2)]
  1229. c.Color = C3(255, 255, 255)
  1230. if c.ClassName == "MeshPart" then
  1231. c.TextureID = ""
  1232. end
  1233. if c:FindFirstChildOfClass("SpecialMesh") then
  1234. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1235. end
  1236. if c:FindFirstChildOfClass("Decal") then
  1237. c:FindFirstChildOfClass("Decal"):remove()
  1238. end
  1239. c.Name = "Banished"
  1240. c.CanCollide = false
  1241. else
  1242. c:remove()
  1243. end
  1244. end
  1245. local A = false
  1246. for i = 1, 35 do
  1247. if A == false then
  1248. A = true
  1249. elseif A == true then
  1250. A = false
  1251. end
  1252. for _, c in pairs(CLONE:GetDescendants()) do
  1253. if c:IsA("BasePart") then
  1254. c.Anchored = true
  1255. c.Material = MATERIALS[MRANDOM(1,2)]
  1256. c.Transparency = c.Transparency + 0.8/35
  1257. if A == false then
  1258. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1259. elseif A == true then
  1260. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1261. end
  1262. end
  1263. end
  1264. Swait()
  1265. end
  1266. CLONE:remove()
  1267. end))
  1268. end
  1269. end
  1270.  
  1271. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1272. local CHILDREN = workspace:GetDescendants()
  1273. for index, CHILD in pairs(CHILDREN) do
  1274. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1275. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1276. if HUM then
  1277. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1278. if TORSO then
  1279. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1280. if ISBANISH == true then
  1281. Banish(CHILD)
  1282. else
  1283. if ISBANISH == "Gravity" then
  1284. HUM.PlatformStand = true
  1285. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1286. local grav = Instance.new("BodyPosition",TORSO)
  1287. grav.D = 15
  1288. grav.P = 20000
  1289. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1290. grav.position = TORSO.Position
  1291. grav.Name = "V3BanishForce"..Player.Name
  1292. else
  1293. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1294. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1295. end
  1296. else
  1297. HUM.PlatformStand = false
  1298. end
  1299. end
  1300. elseif ISBANISH == "Gravity" then
  1301. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1302. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1303. HUM.PlatformStand = false
  1304. end
  1305. end
  1306. end
  1307. end
  1308. end
  1309. end
  1310. end
  1311.  
  1312. --//=================================\\
  1313. --|| ATTACK FUNCTIONS AND STUFF
  1314. --\\=================================//
  1315.  
  1316. function Extreme_Offset()
  1317. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  1318. if HITFLOOR then
  1319. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1320. CreateSound("1295446488", Torso, 5, 1)
  1321. for i = 1, 5 do
  1322. WACKYEFFECT({
  1323. Time = MRANDOM(15, 35),
  1324. EffectType = "Round Slash",
  1325. Size = VT(0, 0, 0),
  1326. Size2 = VT(0.3, 0, 0.3),
  1327. Transparency = 0.5,
  1328. Transparency2 = 1,
  1329. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1330. MoveToPos = nil,
  1331. RotationX = MRANDOM(-50, 50) / 10,
  1332. RotationY = MRANDOM(-50, 50) / 10,
  1333. RotationZ = MRANDOM(-50, 50) / 10,
  1334. Material = "Neon",
  1335. Color = C3(1, 1, 1),
  1336. SoundID = nil,
  1337. SoundPitch = nil,
  1338. SoundVolume = nil
  1339. })
  1340. end
  1341. ATTACK = true
  1342. Rooted = true
  1343. UNANCHOR = false
  1344. RootPart.Anchored = true
  1345. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1346. for i = 1, 5 do
  1347. WACKYEFFECT({
  1348. Time = MRANDOM(15, 35),
  1349. EffectType = "Round Slash",
  1350. Size = VT(0, 0, 0),
  1351. Size2 = VT(0.3, 0, 0.3),
  1352. Transparency = 0.5,
  1353. Transparency2 = 1,
  1354. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1355. MoveToPos = nil,
  1356. RotationX = MRANDOM(-50, 50) / 10,
  1357. RotationY = MRANDOM(-50, 50) / 10,
  1358. RotationZ = MRANDOM(-50, 50) / 10,
  1359. Material = "Neon",
  1360. Color = C3(1, 1, 1),
  1361. SoundID = nil,
  1362. SoundPitch = nil,
  1363. SoundVolume = nil
  1364. })
  1365. end
  1366. for i = 0, 0.2, 0.1 / Animation_Speed do
  1367. Swait()
  1368. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1369. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1371. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1372. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1373. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  1374. end
  1375. for i = 0, 1, 0.1 / Animation_Speed do
  1376. Swait()
  1377. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1378. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1379. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1380. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1381. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1382. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1383. end
  1384. for i = 1, 10 do
  1385. Swait()
  1386. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1387. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1388. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1389. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1390. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1391. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1392. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1393. end
  1394. for i = 0, 0.2, 0.1 / Animation_Speed do
  1395. Swait()
  1396. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1402. end
  1403. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1404. if HITFLOOR then
  1405. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1406. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1407. for index, CHILD in pairs(CHILDREN) do
  1408. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1409. for i = 1, 5 do
  1410. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1411. CHILD:remove()
  1412. end
  1413. end
  1414. end
  1415. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1416. SOUNDPART.CFrame = CF(HITPOS)
  1417. Debris:AddItem(SOUNDPART, 5)
  1418. CreateSound("130972023", SOUNDPART, 6, 3)
  1419. CreateSound("182765513", SOUNDPART, 6, 1)
  1420. WACKYEFFECT({
  1421. EffectType = "Ring",
  1422. Size = VT(0, 0, 0),
  1423. Size2 = VT(1, 1, 0),
  1424. Transparency = 0.7,
  1425. Transparency2 = 1,
  1426. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1427. MoveToPos = nil,
  1428. RotationX = 0,
  1429. RotationY = 0,
  1430. RotationZ = 0,
  1431. Material = "Neon",
  1432. Color = C3(1, 1, 1),
  1433. SoundID = nil,
  1434. SoundPitch = nil,
  1435. SoundVolume = nil
  1436. })
  1437. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1438. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1439. for index, CHILD in pairs(CHILDREN) do
  1440. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1441. for i = 1, 5 do
  1442. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1443. CHILD:remove()
  1444. end
  1445. end
  1446. end
  1447. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1448. SOUNDPART.CFrame = CF(HITPOS)
  1449. Debris:AddItem(SOUNDPART, 5)
  1450. CreateSound("130972023", SOUNDPART, 6, 3)
  1451. CreateSound("182765513", SOUNDPART, 6, 1)
  1452. WACKYEFFECT({
  1453. EffectType = "Ring",
  1454. Size = VT(0, 0, 0),
  1455. Size2 = VT(1, 1, 0),
  1456. Transparency = 0.7,
  1457. Transparency2 = 1,
  1458. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1459. MoveToPos = nil,
  1460. RotationX = 0,
  1461. RotationY = 0,
  1462. RotationZ = 0,
  1463. Material = "Neon",
  1464. Color = C3(1, 1, 1),
  1465. SoundID = nil,
  1466. SoundPitch = nil,
  1467. SoundVolume = nil
  1468. })
  1469. elseif HITFLOOR.Anchored == false then
  1470. if HITFLOOR.Parent ~= workspace then
  1471. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1472. for index, CHILD in pairs(CHILDREN) do
  1473. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1474. for i = 1, 5 do
  1475. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1476. end
  1477. CHILD:remove()
  1478. end
  1479. end
  1480. else
  1481. for i = 1, 5 do
  1482. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1483. end
  1484. HITFLOOR:remove()
  1485. end
  1486. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1487. SOUNDPART.CFrame = CF(HITPOS)
  1488. Debris:AddItem(SOUNDPART, 5)
  1489. CreateSound("130972023", SOUNDPART, 10, 3)
  1490. CreateSound("178452217", SOUNDPART, 6, 1)
  1491. WACKYEFFECT({
  1492. EffectType = "Ring",
  1493. Size = VT(0, 0, 0),
  1494. Size2 = VT(1, 1, 0),
  1495. Transparency = 0.7,
  1496. Transparency2 = 1,
  1497. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1498. MoveToPos = nil,
  1499. RotationX = 0,
  1500. RotationY = 0,
  1501. RotationZ = 0,
  1502. Material = "Neon",
  1503. Color = C3(1, 1, 1),
  1504. SoundID = nil,
  1505. SoundPitch = nil,
  1506. SoundVolume = nil
  1507. })
  1508. else
  1509. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1510. SOUNDPART.CFrame = CF(HITPOS)
  1511. Debris:AddItem(SOUNDPART, 5)
  1512. CreateSound("130972023", SOUNDPART, 10, 1)
  1513. CreateSound("130972023", SOUNDPART, 6, 0.7)
  1514. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1515. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1516. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  1517. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  1518. for i = 1, 5 do
  1519. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1520. end
  1521. for i = 1, 5 do
  1522. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1523. end
  1524. end
  1525. end
  1526. for i = 0, 1.2, 0.1 / Animation_Speed do
  1527. Swait()
  1528. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1532. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1533. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1534. end
  1535. ATTACK = false
  1536. Rooted = false
  1537. UNANCHOR = true
  1538. RootPart.Anchored = false
  1539. end
  1540. end
  1541.  
  1542. function Banisher_Bullet()
  1543. ATTACK = true
  1544. Rooted = false
  1545. for i=0, 0.4, 0.1 / Animation_Speed do
  1546. Swait()
  1547. turnto(Mouse.Hit.p)
  1548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1552. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1554. end
  1555. repeat
  1556. for i=0, 0.2, 0.1 / Animation_Speed do
  1557. Swait()
  1558. turnto(Mouse.Hit.p)
  1559. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1565. end
  1566. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1567. SpawnTrail(Hole.Position,POS)
  1568. if HIT ~= nil then
  1569. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1570. Banish(HIT.Parent)
  1571. end
  1572. end
  1573. 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(255, 255, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1574. 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(255, 255, 255), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1575. 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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1576. 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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1577. for i=0, 0.3, 0.1 / Animation_Speed do
  1578. Swait()
  1579. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1585. end
  1586. until KEYHOLD == false
  1587. ATTACK = false
  1588. Rooted = false
  1589. end
  1590.  
  1591. function AttackTemplate()
  1592. ATTACK = true
  1593. Rooted = false
  1594. for i=0, 1, 0.1 / Animation_Speed do
  1595. Swait()
  1596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1597. 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)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1600. 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)
  1601. 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)
  1602. end
  1603. ATTACK = false
  1604. Rooted = false
  1605. end
  1606.  
  1607. --//=================================\\
  1608. --|| ASSIGN THINGS TO KEYS
  1609. --\\=================================//
  1610.  
  1611. function MouseDown(Mouse)
  1612. if ATTACK == false then
  1613. end
  1614. end
  1615.  
  1616. function MouseUp(Mouse)
  1617. HOLD = false
  1618. end
  1619.  
  1620. function KeyDown(Key)
  1621. KEYHOLD = true
  1622. if Key == "z" and ATTACK == false then
  1623. Banisher_Bullet()
  1624. end
  1625.  
  1626. if Key == "b" and ATTACK == false then
  1627. Extreme_Offset()
  1628. end
  1629.  
  1630. if Key == "c" and ATTACK == false then
  1631. end
  1632.  
  1633. if Key == "v" and ATTACK == false then
  1634. end
  1635.  
  1636. if Key == "x" and ATTACK == false then
  1637. end
  1638. end
  1639.  
  1640. function KeyUp(Key)
  1641. KEYHOLD = false
  1642. end
  1643.  
  1644. Mouse.Button1Down:connect(function(NEWKEY)
  1645. MouseDown(NEWKEY)
  1646. end)
  1647. Mouse.Button1Up:connect(function(NEWKEY)
  1648. MouseUp(NEWKEY)
  1649. end)
  1650. Mouse.KeyDown:connect(function(NEWKEY)
  1651. KeyDown(NEWKEY)
  1652. end)
  1653. Mouse.KeyUp:connect(function(NEWKEY)
  1654. KeyUp(NEWKEY)
  1655. end)
  1656.  
  1657. --//=================================\\
  1658. --\\=================================//
  1659.  
  1660.  
  1661. function unanchor()
  1662. if UNANCHOR == true then
  1663. g = Character:GetChildren()
  1664. for i = 1, #g do
  1665. if g[i].ClassName == "Part" then
  1666. g[i].Anchored = false
  1667. end
  1668. end
  1669. end
  1670. end
  1671.  
  1672.  
  1673. --//=================================\\
  1674. --|| WRAP THE WHOLE SCRIPT UP
  1675. --\\=================================//
  1676.  
  1677. Humanoid.Changed:connect(function(Jump)
  1678. if Jump == "Jump" and (Disable_Jump == true) then
  1679. Humanoid.Jump = false
  1680. end
  1681. end)
  1682.  
  1683. local CONNECT = nil
  1684.  
  1685. while true do
  1686. Swait()
  1687. ANIMATE.Parent = nil
  1688. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1689. Humanoid = IT("Humanoid",Character)
  1690. end
  1691. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1692. v:Stop();
  1693. end
  1694. SINE = SINE + CHANGE
  1695. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1696. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1697. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1698. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1699. HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1700. HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1701. HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1702. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1703. 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)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1708. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1709. 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)
  1710. 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)
  1711. 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)
  1712. end
  1713. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1714. ANIM = "Jump"
  1715. if ATTACK == false then
  1716. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1717. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1720. 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)
  1721. 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)
  1722. end
  1723. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1724. ANIM = "Fall"
  1725. if ATTACK == false then
  1726. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1727. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1728. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1729. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(10), RAD(10)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1730. 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)
  1731. 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)
  1732. end
  1733. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1734. ANIM = "Idle"
  1735. if ATTACK == false then
  1736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1737. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(180), RAD(65), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(35), RAD(20), RAD(10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1740. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1742. end
  1743. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1744. ANIM = "Walk"
  1745. if ATTACK == false then
  1746. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1747. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1749. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1750. 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)
  1751. 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)
  1752. end
  1753. end
  1754. unanchor()
  1755. Humanoid.MaxHealth = "inf"
  1756. Humanoid.Health = "inf"
  1757. if Rooted == false then
  1758. Disable_Jump = false
  1759. Humanoid.WalkSpeed = Speed
  1760. elseif Rooted == true then
  1761. Disable_Jump = true
  1762. Humanoid.WalkSpeed = 0
  1763. end
  1764. sick.Parent = Torso
  1765. sick:resume()
  1766. sick.Volume = 5
  1767. sick.Pitch = 1
  1768. sick.SoundId = "rbxassetid://2512501939"
  1769. sick.Name = "BanishV3Music"
  1770. end
  1771.  
  1772. --//=================================\\
  1773. --\\=================================//
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779. --//====================================================\\--
  1780. --|| END OF SCRIPT
  1781. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement