Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 169.18 KB | None | 0 0
  1. if game:GetSerend
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  5. print("Have Fun!")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = owner
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85.  
  86.  
  87. script.Name = "Banisher Gun V3 / 1"
  88. --//====================================================\\--
  89. --|| CREATED BY SHACKLUSTER
  90. --\\====================================================//--
  91.  
  92. script:ClearAllChildren()
  93. wait(0.2)
  94.  
  95. Player = owner
  96. PlayerGui = Player.PlayerGui
  97. Cam = workspace.CurrentCamera
  98. Backpack = Player.Backpack
  99. Character = Player.Character
  100. Humanoid = Character.Humanoid
  101. RootPart = Character["HumanoidRootPart"]
  102. Torso = Character["Torso"]
  103. Head = Character["Head"]
  104. RightArm = Character["Right Arm"]
  105. LeftArm = Character["Left Arm"]
  106. RightLeg = Character["Right Leg"]
  107. LeftLeg = Character["Left Leg"]
  108. RootJoint = RootPart["RootJoint"]
  109. Neck = Torso["Neck"]
  110. RightShoulder = Torso["Right Shoulder"]
  111. LeftShoulder = Torso["Left Shoulder"]
  112. RightHip = Torso["Right Hip"]
  113. LeftHip = Torso["Left Hip"]
  114. local TIME = 0
  115. local sick = Instance.new("Sound",Torso)
  116.  
  117. IT = Instance.new
  118. CF = CFrame.new
  119. VT = Vector3.new
  120. RAD = math.rad
  121. C3 = Color3.new
  122. UD2 = UDim2.new
  123. BRICKC = BrickColor.new
  124. ANGLES = CFrame.Angles
  125. EULER = CFrame.fromEulerAnglesXYZ
  126. COS = math.cos
  127. ACOS = math.acos
  128. SIN = math.sin
  129. ASIN = math.asin
  130. ABS = math.abs
  131. MRANDOM = math.random
  132. FLOOR = math.floor
  133.  
  134. --//=================================\\
  135. --|| USEFUL VALUES
  136. --\\=================================//
  137.  
  138. Animation_Speed = 3
  139. local FORCERESET = false
  140. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  141. local Speed = 16
  142. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  143. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  144. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  145. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  146. local DAMAGEMULTIPLIER = 1
  147. local ANIM = "Idle"
  148. local ATTACK = false
  149. local EQUIPPED = false
  150. local HOLD = false
  151. local COMBO = 1
  152. local Rooted = false
  153. local SINE = 0
  154. local KEYHOLD = false
  155. local CHANGE = 2 / Animation_Speed
  156. local WALKINGANIM = false
  157. local VALUE1 = false
  158. local VALUE2 = false
  159. local WALKINGANIM = false
  160. local WALK = 0
  161. local ROBLOXIDLEANIMATION = IT("Animation")
  162. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  163. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  164. --ROBLOXIDLEANIMATION.Parent = Humanoid
  165. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  166. WEAPONGUI.Name = "BanishV3Gui"
  167. local Weapon = IT("Model")
  168. Weapon.Name = "Adds"
  169. local Effects = IT("Folder", Weapon)
  170. Effects.Name = "Effects"
  171. local ANIMATOR = Humanoid.Animator
  172. local ANIMATE = Character:FindFirstChild("Animate")
  173. local UNANCHOR = true
  174. local TOBANISH = {}
  175. script.Parent = PlayerGui
  176. Player_Size = 1
  177. local i = 1
  178. local SOULWELL = 666
  179. local SKILLTEXTCOLOR = C3(1, 0, 0)
  180. local I = 1
  181.  
  182.  
  183. --//=================================\\
  184. --\\=================================//
  185.  
  186.  
  187. --//=================================\\
  188. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  189. --\\=================================//
  190.  
  191. ArtificialHB = Instance.new("BindableEvent", script)
  192. ArtificialHB.Name = "ArtificialHB"
  193.  
  194. script:WaitForChild("ArtificialHB")
  195.  
  196. frame = Frame_Speed
  197. tf = 0
  198. allowframeloss = false
  199. tossremainder = false
  200. lastframe = tick()
  201. script.ArtificialHB:Fire()
  202.  
  203. game:GetService("RunService").Heartbeat:connect(function(s, p)
  204. tf = tf + s
  205. if tf >= frame then
  206. if allowframeloss then
  207. script.ArtificialHB:Fire()
  208. lastframe = tick()
  209. else
  210. for i = 1, math.floor(tf / frame) do
  211. script.ArtificialHB:Fire()
  212. end
  213. lastframe = tick()
  214. end
  215. if tossremainder then
  216. tf = 0
  217. else
  218. tf = tf - frame * math.floor(tf / frame)
  219. end
  220. end
  221. end)
  222.  
  223. --//=================================\\
  224. --\\=================================//
  225.  
  226. --//=================================\\
  227. --|| SOME FUNCTIONS
  228. --\\=================================//
  229.  
  230. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  231. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  232. end
  233.  
  234. function PositiveAngle(NUMBER)
  235. if NUMBER >= 0 then
  236. NUMBER = 0
  237. end
  238. return NUMBER
  239. end
  240.  
  241. function NegativeAngle(NUMBER)
  242. if NUMBER <= 0 then
  243. NUMBER = 0
  244. end
  245. return NUMBER
  246. end
  247.  
  248. function Swait(NUMBER)
  249. if NUMBER == 0 or NUMBER == nil then
  250. ArtificialHB.Event:wait()
  251. else
  252. for i = 1, NUMBER do
  253. ArtificialHB.Event:wait()
  254. end
  255. end
  256. end
  257.  
  258. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  259. local NEWMESH = IT(MESH)
  260. if MESH == "SpecialMesh" then
  261. NEWMESH.MeshType = MESHTYPE
  262. if MESHID ~= "nil" and MESHID ~= "" then
  263. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  264. end
  265. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  266. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  267. end
  268. end
  269. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  270. NEWMESH.Scale = SCALE
  271. NEWMESH.Parent = PARENT
  272. return NEWMESH
  273. end
  274.  
  275. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  276. local NEWPART = IT("Part")
  277. NEWPART.formFactor = FORMFACTOR
  278. NEWPART.Reflectance = REFLECTANCE
  279. NEWPART.Transparency = TRANSPARENCY
  280. NEWPART.CanCollide = false
  281. NEWPART.Locked = true
  282. NEWPART.Anchored = true
  283. if ANCHOR == false then
  284. NEWPART.Anchored = false
  285. end
  286. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  287. NEWPART.Name = NAME
  288. NEWPART.Size = SIZE
  289. NEWPART.Position = Torso.Position
  290. NEWPART.Material = MATERIAL
  291. NEWPART:BreakJoints()
  292. NEWPART.Parent = PARENT
  293. return NEWPART
  294. end
  295.  
  296. local function weldBetween(a, b)
  297. local weldd = Instance.new("ManualWeld")
  298. weldd.Part0 = a
  299. weldd.Part1 = b
  300. weldd.C0 = CFrame.new()
  301. weldd.C1 = b.CFrame:inverse() * a.CFrame
  302. weldd.Parent = a
  303. return weldd
  304. end
  305.  
  306.  
  307. function QuaternionFromCFrame(cf)
  308. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  309. local trace = m00 + m11 + m22
  310. if trace > 0 then
  311. local s = math.sqrt(1 + trace)
  312. local recip = 0.5 / s
  313. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  314. else
  315. local i = 0
  316. if m11 > m00 then
  317. i = 1
  318. end
  319. if m22 > (i == 0 and m00 or m11) then
  320. i = 2
  321. end
  322. if i == 0 then
  323. local s = math.sqrt(m00 - m11 - m22 + 1)
  324. local recip = 0.5 / s
  325. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  326. elseif i == 1 then
  327. local s = math.sqrt(m11 - m22 - m00 + 1)
  328. local recip = 0.5 / s
  329. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  330. elseif i == 2 then
  331. local s = math.sqrt(m22 - m00 - m11 + 1)
  332. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  333. end
  334. end
  335. end
  336.  
  337. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  338. local xs, ys, zs = x + x, y + y, z + z
  339. local wx, wy, wz = w * xs, w * ys, w * zs
  340. local xx = x * xs
  341. local xy = x * ys
  342. local xz = x * zs
  343. local yy = y * ys
  344. local yz = y * zs
  345. local zz = z * zs
  346. 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))
  347. end
  348.  
  349. function QuaternionSlerp(a, b, t)
  350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  351. local startInterp, finishInterp;
  352. if cosTheta >= 0.0001 then
  353. if (1 - cosTheta) > 0.0001 then
  354. local theta = ACOS(cosTheta)
  355. local invSinTheta = 1 / SIN(theta)
  356. startInterp = SIN((1 - t) * theta) * invSinTheta
  357. finishInterp = SIN(t * theta) * invSinTheta
  358. else
  359. startInterp = 1 - t
  360. finishInterp = t
  361. end
  362. else
  363. if (1 + cosTheta) > 0.0001 then
  364. local theta = ACOS(-cosTheta)
  365. local invSinTheta = 1 / SIN(theta)
  366. startInterp = SIN((t - 1) * theta) * invSinTheta
  367. finishInterp = SIN(t * theta) * invSinTheta
  368. else
  369. startInterp = t - 1
  370. finishInterp = t
  371. end
  372. end
  373. 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
  374. end
  375.  
  376. function Clerp(a, b, t)
  377. local qa = {QuaternionFromCFrame(a)}
  378. local qb = {QuaternionFromCFrame(b)}
  379. local ax, ay, az = a.x, a.y, a.z
  380. local bx, by, bz = b.x, b.y, b.z
  381. local _t = 1 - t
  382. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  383. end
  384.  
  385. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  386. local frame = IT("Frame")
  387. frame.BackgroundTransparency = TRANSPARENCY
  388. frame.BorderSizePixel = BORDERSIZEPIXEL
  389. frame.Position = POSITION
  390. frame.Size = SIZE
  391. frame.BackgroundColor3 = COLOR
  392. frame.BorderColor3 = BORDERCOLOR
  393. frame.Name = NAME
  394. frame.Parent = PARENT
  395. return frame
  396. end
  397.  
  398. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  399. local label = IT("TextLabel")
  400. label.BackgroundTransparency = 1
  401. label.Size = UD2(1, 0, 1, 0)
  402. label.Position = UD2(0, 0, 0, 0)
  403. label.TextColor3 = TEXTCOLOR
  404. label.TextStrokeTransparency = STROKETRANSPARENCY
  405. label.TextTransparency = TRANSPARENCY
  406. label.FontSize = TEXTFONTSIZE
  407. label.Font = TEXTFONT
  408. label.BorderSizePixel = BORDERSIZEPIXEL
  409. label.TextScaled = false
  410. label.Text = TEXT
  411. label.Name = NAME
  412. label.Parent = PARENT
  413. return label
  414. end
  415.  
  416. function NoOutlines(PART)
  417. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  418. end
  419.  
  420. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  421. local NEWWELD = IT(TYPE)
  422. NEWWELD.Part0 = PART0
  423. NEWWELD.Part1 = PART1
  424. NEWWELD.C0 = C0
  425. NEWWELD.C1 = C1
  426. NEWWELD.Parent = PARENT
  427. return NEWWELD
  428. end
  429.  
  430. local S = IT("Sound")
  431. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  432. local NEWSOUND = nil
  433. coroutine.resume(coroutine.create(function()
  434. NEWSOUND = S:Clone()
  435. NEWSOUND.Parent = PARENT
  436. NEWSOUND.Volume = VOLUME
  437. NEWSOUND.Pitch = PITCH
  438. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  439. NEWSOUND:play()
  440. if DOESLOOP == true then
  441. NEWSOUND.Looped = true
  442. else
  443. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  444. NEWSOUND:remove()
  445. end
  446. end))
  447. return NEWSOUND
  448. end
  449.  
  450. function CFrameFromTopBack(at, top, back)
  451. local right = top:Cross(back)
  452. 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)
  453. end
  454.  
  455. --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})
  456. function WACKYEFFECT(Table)
  457. local TYPE = (Table.EffectType or "Sphere")
  458. local SIZE = (Table.Size or VT(1,1,1))
  459. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  460. local TRANSPARENCY = (Table.Transparency or 0)
  461. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  462. local CFRAME = (Table.CFrame or Torso.CFrame)
  463. local MOVEDIRECTION = (Table.MoveToPos or nil)
  464. local ROTATION1 = (Table.RotationX or 0)
  465. local ROTATION2 = (Table.RotationY or 0)
  466. local ROTATION3 = (Table.RotationZ or 0)
  467. local MATERIAL = (Table.Material or "Neon")
  468. local COLOR = (Table.Color or C3(1,1,1))
  469. local TIME = (Table.Time or 45)
  470. local SOUNDID = (Table.SoundID or nil)
  471. local SOUNDPITCH = (Table.SoundPitch or nil)
  472. local SOUNDVOLUME = (Table.SoundVolume or nil)
  473. coroutine.resume(coroutine.create(function()
  474. local PLAYSSOUND = false
  475. local SOUND = nil
  476. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  477. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  478. PLAYSSOUND = true
  479. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  480. end
  481. EFFECT.Color = COLOR
  482. local MSH = nil
  483. if TYPE == "Sphere" then
  484. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  485. elseif TYPE == "Block" then
  486. MSH = IT("BlockMesh",EFFECT)
  487. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  488. elseif TYPE == "Wave" then
  489. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  490. elseif TYPE == "Ring" then
  491. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  492. elseif TYPE == "Slash" then
  493. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  494. elseif TYPE == "Round Slash" then
  495. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  496. elseif TYPE == "Swirl" then
  497. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  498. elseif TYPE == "Skull" then
  499. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  500. elseif TYPE == "Crystal" then
  501. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  502. end
  503. if MSH ~= nil then
  504. local MOVESPEED = nil
  505. if MOVEDIRECTION ~= nil then
  506. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  507. end
  508. local GROWTH = SIZE - ENDSIZE
  509. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  510. if TYPE == "Block" then
  511. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  512. else
  513. EFFECT.CFrame = CFRAME
  514. end
  515. for LOOP = 1, TIME+1 do
  516. Swait()
  517. MSH.Scale = MSH.Scale - GROWTH/TIME
  518. if TYPE == "Wave" then
  519. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  520. end
  521. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  522. if TYPE == "Block" then
  523. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  524. else
  525. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  526. end
  527. if MOVEDIRECTION ~= nil then
  528. local ORI = EFFECT.Orientation
  529. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  530. EFFECT.Orientation = ORI
  531. end
  532. end
  533. if PLAYSSOUND == false then
  534. EFFECT:remove()
  535. else
  536. SOUND.Stopped:Connect(function()
  537. EFFECT:remove()
  538. end)
  539. end
  540. else
  541. if PLAYSSOUND == false then
  542. EFFECT:remove()
  543. else
  544. repeat Swait() until SOUND.Playing == false
  545. EFFECT:remove()
  546. end
  547. end
  548. end))
  549. end
  550.  
  551. function MakeForm(PART,TYPE)
  552. if TYPE == "Cyl" then
  553. local MSH = IT("CylinderMesh",PART)
  554. elseif TYPE == "Ball" then
  555. local MSH = IT("SpecialMesh",PART)
  556. MSH.MeshType = "Sphere"
  557. elseif TYPE == "Wedge" then
  558. local MSH = IT("SpecialMesh",PART)
  559. MSH.MeshType = "Wedge"
  560. end
  561. end
  562.  
  563. function SpawnTrail(FROM,TO,BIG)
  564. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  565. MakeForm(TRAIL,"Cyl")
  566. local DIST = (FROM - TO).Magnitude
  567. if BIG == true then
  568. TRAIL.Size = VT(0.5,DIST,0.5)
  569. else
  570. TRAIL.Size = VT(0.25,DIST,0.25)
  571. end
  572. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  573. coroutine.resume(coroutine.create(function()
  574. for i = 1, 25 do
  575. Swait()
  576. TRAIL.Transparency = TRAIL.Transparency + 0.05
  577. end
  578. TRAIL:remove()
  579. end))
  580. end
  581.  
  582. Debris = game:GetService("Debris")
  583.  
  584. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  585. local DIRECTION = CF(StartPos,EndPos).lookVector
  586. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  587. end
  588.  
  589. function turnto(position)
  590. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  591. end
  592.  
  593. function SpawnSoul(Humanoid)
  594. coroutine.resume(coroutine.create(function()
  595. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  596. local SOULMODEL = IT("Model",Effects)
  597. SOULMODEL.Name = Humanoid.Parent.Name.."'s Spirit"
  598. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  599. SOUL.CFrame = CF(TORSO.Position)
  600. local A1 = IT("Attachment",SOUL)
  601. A1.Position = Vector3.new(0, 0.25, 0)
  602. local A2 = IT("Attachment",SOUL)
  603. A2.Position = Vector3.new(0, -0.25, 0)
  604. local Trail = IT("Trail",SOUL)
  605. Trail.LightEmission = 0.3
  606. Trail.FaceCamera = true
  607. Trail.Texture = "rbxassetid://945758042"
  608. Trail.Attachment0 = A1
  609. Trail.Attachment1 = A2
  610. Trail.Lifetime = 0.5
  611. Trail.MinLength = 0
  612. Trail.Transparency = NumberSequence.new(0)
  613. Trail.Color = ColorSequence.new(SOUL.Color)
  614. MakeForm(SOUL,"Ball")
  615. local DISTANCE = nil
  616. local HUM = IT("Humanoid",SOULMODEL)
  617. repeat
  618. Swait()
  619. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  620. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  621. until DISTANCE < 0.4
  622. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  623. WACKYEFFECT({EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(6.5,6.5,6.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  624. SOUL.Transparency = 1
  625. A1.Parent = Torso
  626. A2.Parent = Torso
  627. Trail.Parent = Torso
  628. Debris:AddItem(SOULMODEL,10)
  629. SOULWELL = SOULWELL + 1
  630. for i = 1, 100 do
  631. Swait()
  632. Trail.Transparency = NumberSequence.new(i/100)
  633. end
  634. A1:remove()
  635. A2:remove()
  636. Trail:remove()
  637. end))
  638. end
  639.  
  640.  
  641.  
  642. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  643. if FLOOR ~= nil then
  644. coroutine.resume(coroutine.create(function()
  645. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  646. PART.CFrame = CF(POSITION)
  647. for i = 1, 45 do
  648. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  649. RingPiece.Material = FLOOR.Material
  650. RingPiece.Color = FLOOR.Color
  651. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  652. Debris:AddItem(RingPiece,SWAIT)
  653. end
  654. PART:remove()
  655. end))
  656. end
  657. end
  658.  
  659. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  660. if FLOOR ~= nil then
  661. for i = 1, AMOUNT do
  662. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  663. DEBREE.Material = FLOOR.Material
  664. DEBREE.Color = FLOOR.Color
  665. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  666. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  667. coroutine.resume(coroutine.create(function()
  668. Swait(15)
  669. DEBREE.Parent = workspace
  670. DEBREE.CanCollide = true
  671. Debris:AddItem(DEBREE,SWAIT)
  672. end))
  673. end
  674. end
  675. end
  676.  
  677. function chatfunc(text, waitt)
  678. local chat = coroutine.wrap(function()
  679. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  680. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  681. end
  682. local naeeym2 = Instance.new("BillboardGui", Character)
  683. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  684. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  685. naeeym2.Adornee = Character.Head
  686. naeeym2.Name = "TalkingBillBoard"
  687. naeeym2.AlwaysOnTop = true
  688. local tecks2 = Instance.new("TextLabel", naeeym2)
  689. tecks2.BackgroundTransparency = 1
  690. tecks2.BorderSizePixel = 0
  691. tecks2.Text = ""
  692. tecks2.Font = "Antique"
  693. tecks2.TextSize = 30
  694. tecks2.TextStrokeTransparency = 1
  695. tecks2.TextColor3 = SKILLTEXTCOLOR
  696. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  697. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  698. for i = 1, string.len(text) do
  699. if naeeym2.Parent ~= nil then
  700. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  701. end
  702. tecks2.Text = string.sub(text, 1, i)
  703. Swait(3)
  704. end
  705. wait(waitt / 10)
  706. coroutine.resume(coroutine.create(function()
  707. for i = 1, 10 do
  708. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  709. Swait()
  710. end
  711. naeeym2:Destroy()
  712. end))
  713. end)
  714. chat()
  715. end
  716.  
  717. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  718. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  719. local mesh = IT("SpecialMesh", wave)
  720. mesh.MeshType = "FileMesh"
  721. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  722. mesh.Scale = SIZE
  723. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  724. wave.CFrame = CFRAME
  725. coroutine.resume(coroutine.create(function(PART)
  726. for i = 1, WAIT do
  727. Swait()
  728. mesh.Scale = mesh.Scale + GROW
  729. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  730. if DOESROT == true then
  731. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  732. end
  733. wave.Transparency = wave.Transparency + 0.5 / WAIT
  734. if wave.Transparency > 0.99 then
  735. wave:remove()
  736. end
  737. end
  738. end))
  739. end
  740. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  741. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  742. local mesh = IT("SpecialMesh", wave)
  743. mesh.MeshType = "FileMesh"
  744. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  745. mesh.Scale = SIZE
  746. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  747. wave.CFrame = CFRAME
  748. coroutine.resume(coroutine.create(function(PART)
  749. for i = 1, WAIT do
  750. Swait()
  751. mesh.Scale = mesh.Scale + GROW
  752. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  753. if DOESROT == true then
  754. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  755. end
  756. wave.Transparency = wave.Transparency + 0.5 / WAIT
  757. if wave.Transparency > 0.99 then
  758. wave:remove()
  759. end
  760. end
  761. end))
  762. end
  763. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  764. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  765. local mesh = IT("SpecialMesh", wave)
  766. mesh.MeshType = "FileMesh"
  767. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  768. mesh.Scale = SIZE
  769. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  770. wave.CFrame = CFRAME
  771. coroutine.resume(coroutine.create(function(PART)
  772. for i = 1, WAIT do
  773. Swait()
  774. mesh.Scale = mesh.Scale + GROW
  775. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  776. if DOESROT == true then
  777. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  778. end
  779. wave.Transparency = wave.Transparency + 0.5 / WAIT
  780. if wave.Transparency > 0.99 then
  781. wave:remove()
  782. end
  783. end
  784. end))
  785. end
  786. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  787. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  788. local mesh = IT("SpecialMesh", wave)
  789. mesh.MeshType = "FileMesh"
  790. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  791. mesh.Scale = SIZE
  792. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  793. wave.CFrame = CFRAME
  794. coroutine.resume(coroutine.create(function(PART)
  795. for i = 1, WAIT do
  796. Swait()
  797. mesh.Scale = mesh.Scale + GROW
  798. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  799. if DOESROT == true then
  800. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  801. end
  802. wave.Transparency = wave.Transparency + 0.5 / WAIT
  803. if wave.Transparency > 0.99 then
  804. wave:remove()
  805. end
  806. end
  807. end))
  808. end
  809. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  810. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  811. local mesh = IT("SpecialMesh", wave)
  812. mesh.MeshType = "FileMesh"
  813. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  814. mesh.Scale = SIZE
  815. wave.CFrame = CFRAME
  816. coroutine.resume(coroutine.create(function(PART)
  817. for i = 1, WAIT do
  818. Swait()
  819. mesh.Scale = mesh.Scale + GROW
  820. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  821. if DOESROT == true then
  822. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  823. end
  824. wave.Transparency = wave.Transparency + 0.5 / WAIT
  825. if wave.Transparency > 0.99 then
  826. wave:remove()
  827. end
  828. end
  829. end))
  830. end
  831. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  832. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  833. local mesh = IT("SpecialMesh", wave)
  834. mesh.MeshType = "FileMesh"
  835. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  836. mesh.Scale = SIZE
  837. wave.CFrame = CFRAME
  838. coroutine.resume(coroutine.create(function(PART)
  839. for i = 1, WAIT do
  840. Swait()
  841. mesh.Scale = mesh.Scale + GROW
  842. if DOESROT == true then
  843. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  844. end
  845. wave.Transparency = wave.Transparency + 0.5 / WAIT
  846. if wave.Transparency > 0.99 then
  847. wave:remove()
  848. end
  849. end
  850. end))
  851. end
  852. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  853. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  854. local mesh = IT("SpecialMesh", wave)
  855. mesh.MeshType = "FileMesh"
  856. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  857. mesh.Scale = SIZE
  858. mesh.Offset = VT(0, 0, 0)
  859. wave.CFrame = CFRAME
  860. coroutine.resume(coroutine.create(function(PART)
  861. for i = 1, WAIT do
  862. Swait()
  863. mesh.Scale = mesh.Scale + GROW
  864. if DOESROT == true then
  865. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  866. end
  867. wave.Transparency = wave.Transparency + 0.5 / WAIT
  868. if wave.Transparency > 0.99 then
  869. wave:remove()
  870. end
  871. end
  872. end))
  873. end
  874. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  875. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  876. local mesh = IT("SpecialMesh", wave)
  877. mesh.MeshType = "Sphere"
  878. mesh.Scale = SIZE
  879. mesh.Offset = VT(0, 0, 0)
  880. wave.CFrame = CFRAME
  881. coroutine.resume(coroutine.create(function(PART)
  882. for i = 1, WAIT do
  883. Swait()
  884. mesh.Scale = mesh.Scale + GROW
  885. wave.Transparency = wave.Transparency + 1 / WAIT
  886. if wave.Transparency > 0.99 then
  887. wave:remove()
  888. end
  889. end
  890. end))
  891. end
  892. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  893. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  894. local mesh = IT("BlockMesh", wave)
  895. wave.CFrame = CFRAME
  896. coroutine.resume(coroutine.create(function(PART)
  897. for i = 1, WAIT do
  898. Swait()
  899. mesh.Scale = mesh.Scale + GROW
  900. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  901. wave.Transparency = wave.Transparency + 1 / WAIT
  902. if wave.Transparency > 0.99 then
  903. wave:remove()
  904. end
  905. end
  906. end))
  907. end
  908.  
  909. --//=================================\\
  910. --|| WEAPON CREATION
  911. --\\=================================//
  912.  
  913. local Particle = IT("ParticleEmitter",nil)
  914. Particle.Enabled = false
  915. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  916. Particle.LightEmission = 0.5
  917. Particle.Rate = 150
  918. Particle.ZOffset = 0.2
  919. Particle.Rotation = NumberRange.new(-180, 180)
  920. Particle.RotSpeed = NumberRange.new(-180, 180)
  921. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  922. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  923.  
  924. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  925. function ParticleEmitter(Table)
  926. local PRTCL = Particle:Clone()
  927. local Speed = Table.Speed or 5
  928. local Drag = Table.Drag or 0
  929. local Size1 = Table.Size1 or 1
  930. local Size2 = Table.Size2 or 5
  931. local Lifetime1 = Table.Lifetime1 or 1
  932. local Lifetime2 = Table.Lifetime2 or 1.5
  933. local Parent = Table.Parent or Torso
  934. local Emit = Table.Emit or 100
  935. local Offset = Table.Offset or 360
  936. local Acel = Table.Acel or VT(0,0,0)
  937. local Enabled = Table.Enabled or false
  938. PRTCL.Parent = Parent
  939. PRTCL.Size = NumberSequence.new(Size1,Size2)
  940. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  941. PRTCL.Speed = NumberRange.new(Speed)
  942. PRTCL.VelocitySpread = Offset
  943. PRTCL.Drag = Drag
  944. PRTCL.Acceleration = Acel
  945. if Enabled == false then
  946. PRTCL:Emit(Emit)
  947. Debris:AddItem(PRTCL,Lifetime2)
  948. else
  949. PRTCL.Enabled = true
  950. end
  951. return PRTCL
  952. end
  953.  
  954.  
  955. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  956. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  957. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  958. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  959. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  960.  
  961. local Gun1 = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun1", VT(0, 0, 0), false)
  962. local HandleMesh = CreateMesh("SpecialMesh", Gun1, "FileMesh", "0", "0", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  963. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun1, RightArm, Gun1, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  964.  
  965.  
  966. local BODY = {}
  967.  
  968. for _, c in pairs(Character:GetDescendants()) do
  969. if c:IsA("BasePart") and c.Name ~= "Handle" then
  970. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  971. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  972. end
  973. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  974. elseif c:IsA("JointInstance") then
  975. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  976. end
  977. end
  978.  
  979. for e = 1, #BODY do
  980. if BODY[e] ~= nil then
  981. local STUFF = BODY[e]
  982. local PART = STUFF[1]
  983. local PARENT = STUFF[2]
  984. local MATERIAL = STUFF[3]
  985. local COLOR = STUFF[4]
  986. local TRANSPARENCY = STUFF[5]
  987. if PART.ClassName == "Part" and PART ~= RootPart then
  988. PART.Material = MATERIAL
  989. PART.Color = COLOR
  990. PART.Transparency = TRANSPARENCY
  991. end
  992. PART.AncestryChanged:Connect(function()
  993. PART.Parent = PARENT
  994. end)
  995. end
  996. end
  997.  
  998. function refit()
  999. Character.Parent = workspace
  1000. for e = 1, #BODY do
  1001. if BODY[e] ~= nil then
  1002. local STUFF = BODY[e]
  1003. local PART = STUFF[1]
  1004. local PARENT = STUFF[2]
  1005. local MATERIAL = STUFF[3]
  1006. local COLOR = STUFF[4]
  1007. local TRANSPARENCY = STUFF[5]
  1008. if PART.ClassName == "Part" and PART ~= RootPart then
  1009. PART.Material = MATERIAL
  1010. PART.Color = COLOR
  1011. PART.Transparency = TRANSPARENCY
  1012. end
  1013. if PART.Parent ~= PARENT then
  1014. Humanoid:remove()
  1015. PART.Parent = PARENT
  1016. Humanoid = IT("Humanoid",Character)
  1017. end
  1018. end
  1019. end
  1020. end
  1021.  
  1022. Weapon.Parent = Character
  1023. for _, c in pairs(Weapon:GetChildren()) do
  1024. if c.ClassName == "Part" then
  1025. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1026. end
  1027. end
  1028.  
  1029. local SKILLTEXTCOLOR = C3(1,0,0)
  1030. local SKILLFONT = "Antique"
  1031. local SKILLTEXTSIZE = 7
  1032.  
  1033. Humanoid.Died:connect(function()
  1034. ATTACK = false
  1035. end)
  1036.  
  1037.  
  1038.  
  1039.  
  1040. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.100, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1041. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1042. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.631, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1043.  
  1044. local SOULFRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Soul Frame")
  1045.  
  1046. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1047. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Banish Laser", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1048. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1049.  
  1050. local SOULTEXT = CreateLabel(SOULFRAME, "Souls : [0]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Souls")
  1051.  
  1052.  
  1053.  
  1054.  
  1055. function printbye(Name)
  1056. 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, "}
  1057. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1058. end
  1059.  
  1060. workspace.ChildAdded:connect(function(instance)
  1061. for BANISH = 1, #TOBANISH do
  1062. if TOBANISH[BANISH] ~= nil then
  1063. if instance.Name == TOBANISH[BANISH] then
  1064. coroutine.resume(coroutine.create(function()
  1065. printbye(instance.Name)
  1066. instance:ClearAllChildren()
  1067. Debris:AddItem(instance,0.0005)
  1068. end))
  1069. end
  1070. end
  1071. end
  1072. end)
  1073.  
  1074. --//=================================\\
  1075. --|| DAMAGING
  1076. --\\=================================//
  1077.  
  1078. function Banish(Foe)
  1079. if Foe then
  1080. coroutine.resume(coroutine.create(function()
  1081. --if game.Players:FindFirstChild(Foe.Name) then
  1082. table.insert(TOBANISH,Foe.Name)
  1083. printbye(Foe.Name)
  1084. --end
  1085. Foe.Archivable = true
  1086. local CLONE = Foe:Clone()
  1087. Foe:Destroy()
  1088. CLONE.Parent = Effects
  1089. CLONE:BreakJoints()
  1090. local MATERIALS = {"Neon","Neon"}
  1091. for _, c in pairs(CLONE:GetDescendants()) do
  1092. if c:IsA("BasePart") then
  1093. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1094. CreateSound(340722848, c, 10, 1, false)
  1095. end
  1096. c.Anchored = true
  1097. c.Transparency = c.Transparency + 0.2
  1098. c.Material = MATERIALS[MRANDOM(1,2)]
  1099. c.Color = C3(1,0,0)
  1100. if c.ClassName == "MeshPart" then
  1101. c.TextureID = ""
  1102. end
  1103. if c:FindFirstChildOfClass("SpecialMesh") then
  1104. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1105. end
  1106. if c:FindFirstChildOfClass("Decal") then
  1107. c:FindFirstChildOfClass("Decal"):remove()
  1108. end
  1109. c.Name = "Banished"
  1110. c.CanCollide = false
  1111. else
  1112. c:remove()
  1113. end
  1114. end
  1115. local A = false
  1116. for i = 1, 35 do
  1117. if A == false then
  1118. A = true
  1119. elseif A == true then
  1120. A = false
  1121. end
  1122. for _, c in pairs(CLONE:GetDescendants()) do
  1123. if c:IsA("BasePart") then
  1124. c.Anchored = true
  1125. c.Material = MATERIALS[MRANDOM(1,2)]
  1126. c.Transparency = c.Transparency + 0.8/35
  1127. if A == false then
  1128. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  1129. elseif A == true then
  1130. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  1131. end
  1132. end
  1133. end
  1134. Swait()
  1135. end
  1136. SpawnSoul(Humanoid)
  1137. Wait(0.1)
  1138. CLONE:remove()
  1139. end))
  1140. end
  1141. end
  1142.  
  1143. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1144. local CHILDREN = workspace:GetDescendants()
  1145. for index, CHILD in pairs(CHILDREN) do
  1146. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1147. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1148. if HUM then
  1149. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1150. if TORSO then
  1151. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1152. if ISBANISH == true then
  1153. Banish(CHILD)
  1154. else
  1155. if ISBANISH == "Gravity" then
  1156. HUM.PlatformStand = true
  1157. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1158. local grav = Instance.new("BodyPosition",TORSO)
  1159. grav.D = 15
  1160. grav.P = 20000
  1161. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1162. grav.position = TORSO.Position
  1163. grav.Name = "V3BanishForce"..Player.Name
  1164. else
  1165. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1166. TORSO.RotVelocity = VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1167. end
  1168. else
  1169. HUM.PlatformStand = false
  1170. end
  1171. end
  1172. elseif ISBANISH == "Gravity" then
  1173. if TORSO:FindFirstChild("f"..Player.Name) then
  1174. TORSO:FindFirstChild("f"..Player.Name)
  1175. HUM.PlatformStand = false
  1176. SpawnSoul(Humanoid)
  1177. end
  1178. end
  1179. end
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. --//=================================\\
  1186. --|| ATTACK FUNCTIONS AND STUFF
  1187. --\\=================================//
  1188.  
  1189. function Banisher_Bullet()
  1190. ATTACK = true
  1191. Rooted = false
  1192. for i=0, 0.4, 0.1 / Animation_Speed do
  1193. Swait()
  1194. turnto(Mouse.Hit.p)
  1195. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1196. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1198. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1199. 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)
  1200. 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)
  1201. end
  1202. repeat
  1203. for i=0, 0.2, 0.1 / Animation_Speed do
  1204. Swait()
  1205. turnto(Mouse.Hit.p)
  1206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1210. 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)
  1211. 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)
  1212. end
  1213. local HIT,POS = CastProperRay(Gun1.Position, Mouse.Hit.p, 1000, Character)
  1214. SpawnTrail(Gun1.Position,POS)
  1215. if HIT ~= nil then
  1216. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1217. Banish(HIT.Parent)
  1218. end
  1219. end
  1220. WACKYEFFECT({Time = 15+(i*5), EffectType = "Slash", Size = VT(0.03,0.03,0.03), Size2 = VT(0.05,0,0.05), Transparency = 0, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1221. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(1.5,1.5,1.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = Gun1.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1222. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.4,0.4,0.4), Size2 = VT(2.5,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1223. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1224. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1225. WACKYEFFECT({Time = 15+(i*5), EffectType = "Ring", Size = VT(0.3,0.3,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1226. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(MRANDOM(12,13),MRANDOM(12,13),MRANDOM(12,13)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 608538233, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1227. for i=0, 0.3, 0.1 / Animation_Speed do
  1228. Swait()
  1229. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1230. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1231. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1232. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1233. 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)
  1234. 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)
  1235. end
  1236. until KEYHOLD == false
  1237. ATTACK = false
  1238. Rooted = false
  1239. end
  1240. function AttackTemplate()
  1241. ATTACK = true
  1242. Rooted = false
  1243. for i=0, 1, 0.1 / Animation_Speed do
  1244. Swait()
  1245. 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)
  1246. 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)
  1247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1248. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1249. 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)
  1250. 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)
  1251. end
  1252. ATTACK = false
  1253. Rooted = false
  1254. end
  1255.  
  1256. function BanishLaser()
  1257. ATTACK = true
  1258. local GYRO = IT("BodyGyro",RootPart)
  1259. GYRO.D = 100
  1260. GYRO.P = 2000
  1261. GYRO.MaxTorque = VT(0,4000000,0)
  1262. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1263. for i=1, 35 do
  1264. Swait()
  1265. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1266. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = Gun1, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1271. 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)
  1272. 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)
  1273. end
  1274. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1275. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  1276. local MSH = IT("CylinderMesh",BEAM)
  1277. local TOCH = BEAM.Touched:Connect(function(hit)
  1278. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1279. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1280. Banish(hit.Parent)
  1281. end
  1282. end
  1283. end)
  1284. local I = 0
  1285. repeat
  1286. Swait()
  1287. I = I + 1
  1288. if I <= 10 then
  1289. BEAM.Transparency = BEAM.Transparency - 0.1
  1290. end
  1291. local STARTPOS = Gun1.CFrame.p
  1292. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1293. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1294. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
  1295. BEAM.Size = VT(1,DISTANCE,1)
  1296. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1297. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1298. WACKYEFFECT({Time = 35, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1299. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1300. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1305. 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)
  1306. 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)
  1307. if ENDHIT ~= nil then
  1308. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1309. if ENDHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1310. Banish(ENDHIT.Parent)
  1311. end
  1312. end
  1313. end
  1314. until LOOP.Playing == false
  1315. BEAM:remove()
  1316. GYRO:remove()
  1317. ATTACK = false
  1318. end
  1319.  
  1320. function Teleport()
  1321. ATTACK = true
  1322. Rooted = false
  1323. for i=0, 0.5, 0.1 / Animation_Speed do
  1324. Swait()
  1325. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1326. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1327. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1328. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1329. 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)
  1330. 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)
  1331. end
  1332. for e = 1, #BODY do
  1333. if BODY[e] ~= nil then
  1334. local STUFF = BODY[e]
  1335. local PART = STUFF[1]
  1336. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "Gun1" and PART.Name ~= "Gun" and PART.Transparency ~= 1 then
  1337. local PRT = PART:Clone()
  1338. PRT.Anchored = true
  1339. PRT.CanCollide = false
  1340. PRT.Material = "Neon"
  1341. PRT.Color = C3(1,0,0)
  1342. PRT.Name = "WarpEffect"
  1343. PRT.Parent = Effects
  1344. PRT.CFrame = PART.CFrame
  1345. PRT:BreakJoints()
  1346. if PRT:FindFirstChildOfClass("Sound") then
  1347. PRT:FindFirstChildOfClass("Sound"):remove()
  1348. end
  1349. if PRT:FindFirstChildOfClass("Decal") then
  1350. PRT:FindFirstChildOfClass("Decal"):remove()
  1351. end
  1352. coroutine.resume(coroutine.create(function()
  1353. for i = 1, 500 do
  1354. Swait()
  1355. PRT.Transparency = PRT.Transparency + 1/100
  1356. end
  1357. PRT:remove()
  1358. end))
  1359. end
  1360. end
  1361. end
  1362. CreateSound(217767125, Torso, 10, 1)
  1363. local POS = RootPart.Orientation
  1364. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1365. local HIT,POS = CastProperRay(RootPart.Position, Mouse.Hit.p, 1000, Character)
  1366. SpawnTrail(Gun1.Position,POS)
  1367. RootPart.Orientation = POS
  1368. RootJoint.Parent = RootPart
  1369. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(3,8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1370. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(6,5,6), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 3})
  1371. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1372. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1373. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.3,0.2,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1374. for i=0, 0.5, 0.1 / Animation_Speed do
  1375. Swait()
  1376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1380. 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)
  1381. 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)
  1382. end
  1383. for i=0, 0.1, 0.1 / Animation_Speed do
  1384. Swait()
  1385. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1386. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1387. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1388. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1389. 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)
  1390. 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)
  1391. end
  1392. ATTACK = false
  1393. Rooted = false
  1394. end
  1395.  
  1396.  
  1397. function BanishingRampage()
  1398. ATTACK = true
  1399. Rooted = false
  1400. chatfunc("...", 3)
  1401. wait(1)
  1402. chatfunc("Be gone.....", 3)
  1403. for i = 0, 2, 0.1 / Animation_Speed do
  1404. Swait()
  1405. turnto(Mouse.Hit.p)
  1406. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1407. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1410. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1412. end
  1413. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1414. repeat
  1415. Swait()
  1416. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1417. until HITFLOOR ~= nil
  1418. CreateSound("238353911", Gun1, 10, MRANDOM(9, 11) / 10)
  1419. for i = 1, 75 do
  1420. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(3,8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1421. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(8,3,8), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.3, SoundVolume = 6})
  1422. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.3,0.8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1423. end
  1424. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  1425. CreateSound("138677306", Effects, 7, 1.2)
  1426. coroutine.resume(coroutine.create(function()
  1427. local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  1428. local SIZE = 1
  1429. while true do
  1430. Swait()
  1431. for i = 1, 2 do
  1432. MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Really red", VT(0.001, 0.001, 0), 0.5)
  1433. end
  1434. do
  1435. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1436. Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1437. coroutine.resume(coroutine.create(function()
  1438. Swait(200)
  1439. Part.Anchored = false
  1440. end))
  1441. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1442. Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1443. coroutine.resume(coroutine.create(function()
  1444. Swait(200)
  1445. Part.Anchored = false
  1446. end))
  1447. MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  1448. ApplyAoE(CFRAME.p, SIZE, 0)
  1449. SIZE = SIZE + 2
  1450. CFRAME = CFRAME * CF(0, 0, -2)
  1451. if SOUND.Playing == false then
  1452. break
  1453. end
  1454. end
  1455. end
  1456. end))
  1457. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1458. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1459. for i = 0, 3, 0.1 / Animation_Speed do
  1460. Swait()
  1461. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1462. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1464. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1465. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1466. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1467. end
  1468. ATTACK = false
  1469. Rooted = false
  1470. end
  1471.  
  1472. function SpawnChaos(POS,SIZE,ISDEBREE,ORIPOS)
  1473. coroutine.resume(coroutine.create(function()
  1474. local METEOR = IT("Model",Effects)
  1475. METEOR.Name = "Meteorite"
  1476. local CENTER = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  1477. METEOR.PrimaryPart = CENTER
  1478. local PRT = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  1479. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1480. for i = 1, 15 do
  1481. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1482. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1483. end
  1484. if ISDEBREE ~= true then
  1485. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1486. else
  1487. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1488. end
  1489. local IMPACT = false
  1490. CreateSound(463593339, CENTER, 10, 0.6)
  1491. if SIZE >= 3.5 then
  1492. for i = 1, MRANDOM(3,7) do
  1493. SpawnChaos(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1494. end
  1495. end
  1496. for i = 1, 200 do
  1497. Swait()
  1498. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1499. if HITFLOOR == nil then
  1500. local ORI = CENTER.Orientation
  1501. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1502. else
  1503. if HITFLOOR.Anchored == true then
  1504. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1505. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1506. end
  1507. IMPACT = true
  1508. break
  1509. end
  1510. end
  1511. if IMPACT == true then
  1512. WACKYEFFECT({EffectType = "Sphere", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1513. WACKYEFFECT({EffectType = "Sphere", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1514. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1515. ApplyAoE(CENTER.Position,30*25)
  1516. end
  1517. METEOR:remove()
  1518. end))
  1519. end
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525. function SpectralBanishing()
  1526. ATTACK = true
  1527. Rooted = false
  1528. chatfunc("Your time has ended...", 20)
  1529. for i = 0, 5, 0.1 / Animation_Speed do
  1530. Swait()
  1531. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  1532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  1533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1535. 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.25 / Animation_Speed)
  1536. 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.25 / Animation_Speed)
  1537. end
  1538. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1539. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  1540. local MSH = IT("CylinderMesh",BEAM)
  1541. local STARTPOS = Gun1.CFrame.p
  1542. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1543. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1544. BEAM.CFrame = CF(STARTPOS,ENDPOS)
  1545. BEAM.Size = VT(1,DISTANCE,1)
  1546. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(55,55,55), Size2 = VT(44,44,44), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1547. I = I + 1
  1548. if I <= 10 then
  1549. BEAM.Transparency = BEAM.Transparency - 0.1
  1550. end
  1551. Swait(10)
  1552. Swait(1)
  1553. SpawnChaos(Mouse.Hit.p,100/100)
  1554. Swait(1)
  1555. Swait(1)
  1556. SpawnChaos(Mouse.Hit.p,100/100)
  1557. Swait(1)
  1558. Swait(1)
  1559. SpawnChaos(Mouse.Hit.p,100/100)
  1560. Swait(1)
  1561. Swait(1)
  1562. SpawnChaos(Mouse.Hit.p,100/100)
  1563. Swait(1)
  1564. SpawnChaos(Mouse.Hit.p,100/100)
  1565. SpawnChaos(Mouse.Hit.p,100/100)
  1566. SpawnChaos(Mouse.Hit.p,100/100)
  1567. SpawnChaos(Mouse.Hit.p,100/100)
  1568. SpawnChaos(Mouse.Hit.p,100/100)
  1569. SpawnChaos(Mouse.Hit.p,100/100)
  1570. for i = 0, 2, 0.1 / Animation_Speed do
  1571. Swait()
  1572. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  1573. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  1574. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1575. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1576. 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.25 / Animation_Speed)
  1577. 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.25 / Animation_Speed)
  1578. end
  1579. BEAM:remove()
  1580. ATTACK = false
  1581. Rooted = false
  1582. end
  1583.  
  1584.  
  1585. --//=================================\\
  1586. --|| ASSIGN THINGS TO KEYS
  1587. --\\=================================//
  1588.  
  1589. function MouseDown(Mouse)
  1590. if ATTACK == false then
  1591. end
  1592. end
  1593.  
  1594. function MouseUp(Mouse)
  1595. HOLD = false
  1596. end
  1597.  
  1598. function KeyDown(Key)
  1599. KEYHOLD = true
  1600. if Key == "z" and ATTACK == false then
  1601. Banisher_Bullet()
  1602. end
  1603.  
  1604. if Key == "b" and ATTACK == false then
  1605. SpectralBanishing()
  1606. end
  1607.  
  1608. if Key == "c" and ATTACK == false then
  1609. Teleport()
  1610. end
  1611.  
  1612. if Key == "v" and ATTACK == false then
  1613. BanishingRampage()
  1614. end
  1615.  
  1616. if Key == "x" and ATTACK == false then
  1617. BanishLaser()
  1618. end
  1619. end
  1620.  
  1621. function KeyUp(Key)
  1622. KEYHOLD = false
  1623. end
  1624.  
  1625. Mouse.Button1Down:connect(function(NEWKEY)
  1626. MouseDown(NEWKEY)
  1627. end)
  1628. Mouse.Button1Up:connect(function(NEWKEY)
  1629. MouseUp(NEWKEY)
  1630. end)
  1631. Mouse.KeyDown:connect(function(NEWKEY)
  1632. KeyDown(NEWKEY)
  1633. end)
  1634. Mouse.KeyUp:connect(function(NEWKEY)
  1635. KeyUp(NEWKEY)
  1636. end)
  1637.  
  1638. --//=================================\\
  1639. --\\=================================//
  1640.  
  1641.  
  1642. function unanchor()
  1643. if UNANCHOR == true then
  1644. g = Character:GetChildren()
  1645. for i = 1, #g do
  1646. if g[i].ClassName == "Part" then
  1647. g[i].Anchored = false
  1648. end
  1649. end
  1650. end
  1651. end
  1652.  
  1653.  
  1654. --//=================================\\
  1655. --|| WRAP THE WHOLE SCRIPT UP
  1656. --\\=================================//
  1657.  
  1658. Humanoid.Changed:connect(function(Jump)
  1659. if Jump == "Jump" and (Disable_Jump == true) then
  1660. Humanoid.Jump = false
  1661. end
  1662. end)
  1663.  
  1664. local CONNECT = nil
  1665.  
  1666. while true do
  1667. Swait()
  1668. ANIMATE.Parent = nil
  1669. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1670. Humanoid = IT("Humanoid",Character)
  1671. end
  1672. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1673. v:Stop();
  1674. end
  1675. SINE = SINE + CHANGE
  1676. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1677. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1678. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1679. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1680. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1681. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1682. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1683. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1684. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1685. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1686. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1687. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1688. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1689. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1690. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1691. end
  1692. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1693. ANIM = "Jump"
  1694. if ATTACK == false then
  1695. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1699. 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)
  1700. 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)
  1701. end
  1702. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1703. ANIM = "Fall"
  1704. if ATTACK == false then
  1705. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1709. 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)
  1710. 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)
  1711. end
  1712. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1713. ANIM = "Idle"
  1714. if ATTACK == false then
  1715. 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)
  1716. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1717. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1718. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1719. 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)
  1720. 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)
  1721. end
  1722. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1723. ANIM = "Walk"
  1724. WALK = WALK + 1 / Animation_Speed
  1725. if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  1726. WALK = 0
  1727. if WALKINGANIM == true then
  1728. WALKINGANIM = false
  1729. elseif WALKINGANIM == false then
  1730. WALKINGANIM = true
  1731. end
  1732. end
  1733. if ATTACK == false then
  1734. 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)
  1735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1738. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1740. end
  1741. end
  1742. unanchor()
  1743. Humanoid.MaxHealth = "inf"
  1744. Humanoid.Health = "inf"
  1745. if Rooted == false then
  1746. Disable_Jump = false
  1747. Humanoid.WalkSpeed = Speed
  1748. elseif Rooted == true then
  1749. Disable_Jump = true
  1750. Humanoid.WalkSpeed = 0
  1751. end
  1752. if MRANDOM(1,25) == 1 then
  1753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
  1754. end
  1755. sick.Parent = Torso
  1756. sick:resume()
  1757. sick.Volume = 1.25
  1758. sick.Pitch = 1.01
  1759. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1760. do
  1761. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  1762. print("Have Fun!")
  1763. script.Parent = Player.Character
  1764.  
  1765. --RemoteEvent for communicating
  1766. local Event = Instance.new("RemoteEvent")
  1767. Event.Name = "UserInput_Event"
  1768.  
  1769. --Fake event to make stuff like Mouse.KeyDown work
  1770. local function fakeEvent()
  1771. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1772. t.connect = t.Connect
  1773. return t
  1774. end
  1775.  
  1776. --Creating fake input objects with fake variables
  1777. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1778. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1779. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1780. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1781. end}
  1782. --Merged 2 functions into one by checking amount of arguments
  1783. CAS.UnbindAction = CAS.BindAction
  1784.  
  1785. --This function will trigger the events that have been :Connect()'ed
  1786. local function te(self,ev,...)
  1787. local t = m[ev]
  1788. if t and t._fakeEvent and t.Function then
  1789. t.Function(...)
  1790. end
  1791. end
  1792. m.TrigEvent = te
  1793. UIS.TrigEvent = te
  1794.  
  1795. Event.OnServerEvent:Connect(function(plr,io)
  1796. if plr~=Player then return end
  1797. if io.isMouse then
  1798. m.Target = io.Target
  1799. m.Hit = io.Hit
  1800. else
  1801. local b = io.UserInputState == Enum.UserInputState.Begin
  1802. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1803. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1804. end
  1805. for _,t in pairs(CAS.Actions) do
  1806. for _,k in pairs(t.Keys) do
  1807. if k==io.KeyCode then
  1808. t.Function(t.Name,io.UserInputState,io)
  1809. end
  1810. end
  1811. end
  1812. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1813. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1814. end
  1815. end)
  1816. Event.Parent = NLS([==[
  1817. local Player = owner
  1818. local Event = script:WaitForChild("UserInput_Event")
  1819.  
  1820. local UIS = game:GetService("UserInputService")
  1821. local input = function(io,a)
  1822. if a then return end
  1823. --Since InputObject is a client-side instance, we create and pass table instead
  1824. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1825. end
  1826. UIS.InputBegan:Connect(input)
  1827. UIS.InputEnded:Connect(input)
  1828.  
  1829. local Mouse = Player:GetMouse()
  1830. local h,t
  1831. --Give the server mouse data 30 times every second, but only if the values changed
  1832. --If player is not moving their mouse, client won't fire events
  1833. while wait(1/30) do
  1834. if h~=Mouse.Hit or t~=Mouse.Target then
  1835. h,t=Mouse.Hit,Mouse.Target
  1836. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1837. end
  1838. end]==],Player.Character)
  1839. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1840. end
  1841.  
  1842.  
  1843.  
  1844. script.Name = "Banisher Gun V3 / 1"
  1845. --//====================================================\\--
  1846. --|| CREATED BY SHACKLUSTER
  1847. --\\====================================================//--
  1848.  
  1849. script:ClearAllChildren()
  1850. wait(0.2)
  1851.  
  1852. Player = owner
  1853. PlayerGui = Player.PlayerGui
  1854. Cam = workspace.CurrentCamera
  1855. Backpack = Player.Backpack
  1856. Character = Player.Character
  1857. Humanoid = Character.Humanoid
  1858. RootPart = Character["HumanoidRootPart"]
  1859. Torso = Character["Torso"]
  1860. Head = Character["Head"]
  1861. RightArm = Character["Right Arm"]
  1862. LeftArm = Character["Left Arm"]
  1863. RightLeg = Character["Right Leg"]
  1864. LeftLeg = Character["Left Leg"]
  1865. RootJoint = RootPart["RootJoint"]
  1866. Neck = Torso["Neck"]
  1867. RightShoulder = Torso["Right Shoulder"]
  1868. LeftShoulder = Torso["Left Shoulder"]
  1869. RightHip = Torso["Right Hip"]
  1870. LeftHip = Torso["Left Hip"]
  1871. local TIME = 0
  1872. local sick = Instance.new("Sound",Torso)
  1873.  
  1874. IT = Instance.new
  1875. CF = CFrame.new
  1876. VT = Vector3.new
  1877. RAD = math.rad
  1878. C3 = Color3.new
  1879. UD2 = UDim2.new
  1880. BRICKC = BrickColor.new
  1881. ANGLES = CFrame.Angles
  1882. EULER = CFrame.fromEulerAnglesXYZ
  1883. COS = math.cos
  1884. ACOS = math.acos
  1885. SIN = math.sin
  1886. ASIN = math.asin
  1887. ABS = math.abs
  1888. MRANDOM = math.random
  1889. FLOOR = math.floor
  1890.  
  1891. --//=================================\\
  1892. --|| USEFUL VALUES
  1893. --\\=================================//
  1894.  
  1895. Animation_Speed = 3
  1896. local FORCERESET = false
  1897. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1898. local Speed = 16
  1899. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1900. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1901. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1902. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1903. local DAMAGEMULTIPLIER = 1
  1904. local ANIM = "Idle"
  1905. local ATTACK = false
  1906. local EQUIPPED = false
  1907. local HOLD = false
  1908. local COMBO = 1
  1909. local Rooted = false
  1910. local SINE = 0
  1911. local KEYHOLD = false
  1912. local CHANGE = 2 / Animation_Speed
  1913. local WALKINGANIM = false
  1914. local VALUE1 = false
  1915. local VALUE2 = false
  1916. local WALKINGANIM = false
  1917. local WALK = 0
  1918. local ROBLOXIDLEANIMATION = IT("Animation")
  1919. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1920. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1921. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1922. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1923. WEAPONGUI.Name = "BanishV3Gui"
  1924. local Weapon = IT("Model")
  1925. Weapon.Name = "Adds"
  1926. local Effects = IT("Folder", Weapon)
  1927. Effects.Name = "Effects"
  1928. local ANIMATOR = Humanoid.Animator
  1929. local ANIMATE = Character:FindFirstChild("Animate")
  1930. local UNANCHOR = true
  1931. local TOBANISH = {}
  1932. script.Parent = PlayerGui
  1933. Player_Size = 1
  1934. local i = 1
  1935. local SOULWELL = 666
  1936. local SKILLTEXTCOLOR = C3(1, 0, 0)
  1937. local I = 1
  1938.  
  1939.  
  1940. --//=================================\\
  1941. --\\=================================//
  1942.  
  1943.  
  1944. --//=================================\\
  1945. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1946. --\\=================================//
  1947.  
  1948. ArtificialHB = Instance.new("BindableEvent", script)
  1949. ArtificialHB.Name = "ArtificialHB"
  1950.  
  1951. script:WaitForChild("ArtificialHB")
  1952.  
  1953. frame = Frame_Speed
  1954. tf = 0
  1955. allowframeloss = false
  1956. tossremainder = false
  1957. lastframe = tick()
  1958. script.ArtificialHB:Fire()
  1959.  
  1960. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1961. tf = tf + s
  1962. if tf >= frame then
  1963. if allowframeloss then
  1964. script.ArtificialHB:Fire()
  1965. lastframe = tick()
  1966. else
  1967. for i = 1, math.floor(tf / frame) do
  1968. script.ArtificialHB:Fire()
  1969. end
  1970. lastframe = tick()
  1971. end
  1972. if tossremainder then
  1973. tf = 0
  1974. else
  1975. tf = tf - frame * math.floor(tf / frame)
  1976. end
  1977. end
  1978. end)
  1979.  
  1980. --//=================================\\
  1981. --\\=================================//
  1982.  
  1983. --//=================================\\
  1984. --|| SOME FUNCTIONS
  1985. --\\=================================//
  1986.  
  1987. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1988. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1989. end
  1990.  
  1991. function PositiveAngle(NUMBER)
  1992. if NUMBER >= 0 then
  1993. NUMBER = 0
  1994. end
  1995. return NUMBER
  1996. end
  1997.  
  1998. function NegativeAngle(NUMBER)
  1999. if NUMBER <= 0 then
  2000. NUMBER = 0
  2001. end
  2002. return NUMBER
  2003. end
  2004.  
  2005. function Swait(NUMBER)
  2006. if NUMBER == 0 or NUMBER == nil then
  2007. ArtificialHB.Event:wait()
  2008. else
  2009. for i = 1, NUMBER do
  2010. ArtificialHB.Event:wait()
  2011. end
  2012. end
  2013. end
  2014.  
  2015. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2016. local NEWMESH = IT(MESH)
  2017. if MESH == "SpecialMesh" then
  2018. NEWMESH.MeshType = MESHTYPE
  2019. if MESHID ~= "nil" and MESHID ~= "" then
  2020. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2021. end
  2022. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2023. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2024. end
  2025. end
  2026. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2027. NEWMESH.Scale = SCALE
  2028. NEWMESH.Parent = PARENT
  2029. return NEWMESH
  2030. end
  2031.  
  2032. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2033. local NEWPART = IT("Part")
  2034. NEWPART.formFactor = FORMFACTOR
  2035. NEWPART.Reflectance = REFLECTANCE
  2036. NEWPART.Transparency = TRANSPARENCY
  2037. NEWPART.CanCollide = false
  2038. NEWPART.Locked = true
  2039. NEWPART.Anchored = true
  2040. if ANCHOR == false then
  2041. NEWPART.Anchored = false
  2042. end
  2043. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2044. NEWPART.Name = NAME
  2045. NEWPART.Size = SIZE
  2046. NEWPART.Position = Torso.Position
  2047. NEWPART.Material = MATERIAL
  2048. NEWPART:BreakJoints()
  2049. NEWPART.Parent = PARENT
  2050. return NEWPART
  2051. end
  2052.  
  2053. local function weldBetween(a, b)
  2054. local weldd = Instance.new("ManualWeld")
  2055. weldd.Part0 = a
  2056. weldd.Part1 = b
  2057. weldd.C0 = CFrame.new()
  2058. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2059. weldd.Parent = a
  2060. return weldd
  2061. end
  2062.  
  2063.  
  2064. function QuaternionFromCFrame(cf)
  2065. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2066. local trace = m00 + m11 + m22
  2067. if trace > 0 then
  2068. local s = math.sqrt(1 + trace)
  2069. local recip = 0.5 / s
  2070. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2071. else
  2072. local i = 0
  2073. if m11 > m00 then
  2074. i = 1
  2075. end
  2076. if m22 > (i == 0 and m00 or m11) then
  2077. i = 2
  2078. end
  2079. if i == 0 then
  2080. local s = math.sqrt(m00 - m11 - m22 + 1)
  2081. local recip = 0.5 / s
  2082. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2083. elseif i == 1 then
  2084. local s = math.sqrt(m11 - m22 - m00 + 1)
  2085. local recip = 0.5 / s
  2086. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2087. elseif i == 2 then
  2088. local s = math.sqrt(m22 - m00 - m11 + 1)
  2089. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2090. end
  2091. end
  2092. end
  2093.  
  2094. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2095. local xs, ys, zs = x + x, y + y, z + z
  2096. local wx, wy, wz = w * xs, w * ys, w * zs
  2097. local xx = x * xs
  2098. local xy = x * ys
  2099. local xz = x * zs
  2100. local yy = y * ys
  2101. local yz = y * zs
  2102. local zz = z * zs
  2103. 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))
  2104. end
  2105.  
  2106. function QuaternionSlerp(a, b, t)
  2107. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2108. local startInterp, finishInterp;
  2109. if cosTheta >= 0.0001 then
  2110. if (1 - cosTheta) > 0.0001 then
  2111. local theta = ACOS(cosTheta)
  2112. local invSinTheta = 1 / SIN(theta)
  2113. startInterp = SIN((1 - t) * theta) * invSinTheta
  2114. finishInterp = SIN(t * theta) * invSinTheta
  2115. else
  2116. startInterp = 1 - t
  2117. finishInterp = t
  2118. end
  2119. else
  2120. if (1 + cosTheta) > 0.0001 then
  2121. local theta = ACOS(-cosTheta)
  2122. local invSinTheta = 1 / SIN(theta)
  2123. startInterp = SIN((t - 1) * theta) * invSinTheta
  2124. finishInterp = SIN(t * theta) * invSinTheta
  2125. else
  2126. startInterp = t - 1
  2127. finishInterp = t
  2128. end
  2129. end
  2130. 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
  2131. end
  2132.  
  2133. function Clerp(a, b, t)
  2134. local qa = {QuaternionFromCFrame(a)}
  2135. local qb = {QuaternionFromCFrame(b)}
  2136. local ax, ay, az = a.x, a.y, a.z
  2137. local bx, by, bz = b.x, b.y, b.z
  2138. local _t = 1 - t
  2139. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2140. end
  2141.  
  2142. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2143. local frame = IT("Frame")
  2144. frame.BackgroundTransparency = TRANSPARENCY
  2145. frame.BorderSizePixel = BORDERSIZEPIXEL
  2146. frame.Position = POSITION
  2147. frame.Size = SIZE
  2148. frame.BackgroundColor3 = COLOR
  2149. frame.BorderColor3 = BORDERCOLOR
  2150. frame.Name = NAME
  2151. frame.Parent = PARENT
  2152. return frame
  2153. end
  2154.  
  2155. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2156. local label = IT("TextLabel")
  2157. label.BackgroundTransparency = 1
  2158. label.Size = UD2(1, 0, 1, 0)
  2159. label.Position = UD2(0, 0, 0, 0)
  2160. label.TextColor3 = TEXTCOLOR
  2161. label.TextStrokeTransparency = STROKETRANSPARENCY
  2162. label.TextTransparency = TRANSPARENCY
  2163. label.FontSize = TEXTFONTSIZE
  2164. label.Font = TEXTFONT
  2165. label.BorderSizePixel = BORDERSIZEPIXEL
  2166. label.TextScaled = false
  2167. label.Text = TEXT
  2168. label.Name = NAME
  2169. label.Parent = PARENT
  2170. return label
  2171. end
  2172.  
  2173. function NoOutlines(PART)
  2174. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2175. end
  2176.  
  2177. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2178. local NEWWELD = IT(TYPE)
  2179. NEWWELD.Part0 = PART0
  2180. NEWWELD.Part1 = PART1
  2181. NEWWELD.C0 = C0
  2182. NEWWELD.C1 = C1
  2183. NEWWELD.Parent = PARENT
  2184. return NEWWELD
  2185. end
  2186.  
  2187. local S = IT("Sound")
  2188. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2189. local NEWSOUND = nil
  2190. coroutine.resume(coroutine.create(function()
  2191. NEWSOUND = S:Clone()
  2192. NEWSOUND.Parent = PARENT
  2193. NEWSOUND.Volume = VOLUME
  2194. NEWSOUND.Pitch = PITCH
  2195. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2196. NEWSOUND:play()
  2197. if DOESLOOP == true then
  2198. NEWSOUND.Looped = true
  2199. else
  2200. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2201. NEWSOUND:remove()
  2202. end
  2203. end))
  2204. return NEWSOUND
  2205. end
  2206.  
  2207. function CFrameFromTopBack(at, top, back)
  2208. local right = top:Cross(back)
  2209. 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)
  2210. end
  2211.  
  2212. --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})
  2213. function WACKYEFFECT(Table)
  2214. local TYPE = (Table.EffectType or "Sphere")
  2215. local SIZE = (Table.Size or VT(1,1,1))
  2216. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2217. local TRANSPARENCY = (Table.Transparency or 0)
  2218. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2219. local CFRAME = (Table.CFrame or Torso.CFrame)
  2220. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2221. local ROTATION1 = (Table.RotationX or 0)
  2222. local ROTATION2 = (Table.RotationY or 0)
  2223. local ROTATION3 = (Table.RotationZ or 0)
  2224. local MATERIAL = (Table.Material or "Neon")
  2225. local COLOR = (Table.Color or C3(1,1,1))
  2226. local TIME = (Table.Time or 45)
  2227. local SOUNDID = (Table.SoundID or nil)
  2228. local SOUNDPITCH = (Table.SoundPitch or nil)
  2229. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2230. coroutine.resume(coroutine.create(function()
  2231. local PLAYSSOUND = false
  2232. local SOUND = nil
  2233. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2234. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2235. PLAYSSOUND = true
  2236. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2237. end
  2238. EFFECT.Color = COLOR
  2239. local MSH = nil
  2240. if TYPE == "Sphere" then
  2241. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2242. elseif TYPE == "Block" then
  2243. MSH = IT("BlockMesh",EFFECT)
  2244. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2245. elseif TYPE == "Wave" then
  2246. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2247. elseif TYPE == "Ring" then
  2248. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2249. elseif TYPE == "Slash" then
  2250. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2251. elseif TYPE == "Round Slash" then
  2252. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2253. elseif TYPE == "Swirl" then
  2254. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2255. elseif TYPE == "Skull" then
  2256. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2257. elseif TYPE == "Crystal" then
  2258. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2259. end
  2260. if MSH ~= nil then
  2261. local MOVESPEED = nil
  2262. if MOVEDIRECTION ~= nil then
  2263. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2264. end
  2265. local GROWTH = SIZE - ENDSIZE
  2266. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2267. if TYPE == "Block" then
  2268. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2269. else
  2270. EFFECT.CFrame = CFRAME
  2271. end
  2272. for LOOP = 1, TIME+1 do
  2273. Swait()
  2274. MSH.Scale = MSH.Scale - GROWTH/TIME
  2275. if TYPE == "Wave" then
  2276. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2277. end
  2278. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2279. if TYPE == "Block" then
  2280. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2281. else
  2282. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2283. end
  2284. if MOVEDIRECTION ~= nil then
  2285. local ORI = EFFECT.Orientation
  2286. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2287. EFFECT.Orientation = ORI
  2288. end
  2289. end
  2290. if PLAYSSOUND == false then
  2291. EFFECT:remove()
  2292. else
  2293. SOUND.Stopped:Connect(function()
  2294. EFFECT:remove()
  2295. end)
  2296. end
  2297. else
  2298. if PLAYSSOUND == false then
  2299. EFFECT:remove()
  2300. else
  2301. repeat Swait() until SOUND.Playing == false
  2302. EFFECT:remove()
  2303. end
  2304. end
  2305. end))
  2306. end
  2307.  
  2308. function MakeForm(PART,TYPE)
  2309. if TYPE == "Cyl" then
  2310. local MSH = IT("CylinderMesh",PART)
  2311. elseif TYPE == "Ball" then
  2312. local MSH = IT("SpecialMesh",PART)
  2313. MSH.MeshType = "Sphere"
  2314. elseif TYPE == "Wedge" then
  2315. local MSH = IT("SpecialMesh",PART)
  2316. MSH.MeshType = "Wedge"
  2317. end
  2318. end
  2319.  
  2320. function SpawnTrail(FROM,TO,BIG)
  2321. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  2322. MakeForm(TRAIL,"Cyl")
  2323. local DIST = (FROM - TO).Magnitude
  2324. if BIG == true then
  2325. TRAIL.Size = VT(0.5,DIST,0.5)
  2326. else
  2327. TRAIL.Size = VT(0.25,DIST,0.25)
  2328. end
  2329. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2330. coroutine.resume(coroutine.create(function()
  2331. for i = 1, 25 do
  2332. Swait()
  2333. TRAIL.Transparency = TRAIL.Transparency + 0.05
  2334. end
  2335. TRAIL:remove()
  2336. end))
  2337. end
  2338.  
  2339. Debris = game:GetService("Debris")
  2340.  
  2341. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2342. local DIRECTION = CF(StartPos,EndPos).lookVector
  2343. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2344. end
  2345.  
  2346. function turnto(position)
  2347. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2348. end
  2349.  
  2350. function SpawnSoul(Humanoid)
  2351. coroutine.resume(coroutine.create(function()
  2352. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  2353. local SOULMODEL = IT("Model",Effects)
  2354. SOULMODEL.Name = Humanoid.Parent.Name.."'s Spirit"
  2355. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  2356. SOUL.CFrame = CF(TORSO.Position)
  2357. local A1 = IT("Attachment",SOUL)
  2358. A1.Position = Vector3.new(0, 0.25, 0)
  2359. local A2 = IT("Attachment",SOUL)
  2360. A2.Position = Vector3.new(0, -0.25, 0)
  2361. local Trail = IT("Trail",SOUL)
  2362. Trail.LightEmission = 0.3
  2363. Trail.FaceCamera = true
  2364. Trail.Texture = "rbxassetid://945758042"
  2365. Trail.Attachment0 = A1
  2366. Trail.Attachment1 = A2
  2367. Trail.Lifetime = 0.5
  2368. Trail.MinLength = 0
  2369. Trail.Transparency = NumberSequence.new(0)
  2370. Trail.Color = ColorSequence.new(SOUL.Color)
  2371. MakeForm(SOUL,"Ball")
  2372. local DISTANCE = nil
  2373. local HUM = IT("Humanoid",SOULMODEL)
  2374. repeat
  2375. Swait()
  2376. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  2377. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  2378. until DISTANCE < 0.4
  2379. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  2380. WACKYEFFECT({EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(6.5,6.5,6.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  2381. SOUL.Transparency = 1
  2382. A1.Parent = Torso
  2383. A2.Parent = Torso
  2384. Trail.Parent = Torso
  2385. Debris:AddItem(SOULMODEL,10)
  2386. SOULWELL = SOULWELL + 1
  2387. for i = 1, 100 do
  2388. Swait()
  2389. Trail.Transparency = NumberSequence.new(i/100)
  2390. end
  2391. A1:remove()
  2392. A2:remove()
  2393. Trail:remove()
  2394. end))
  2395. end
  2396.  
  2397.  
  2398.  
  2399. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2400. if FLOOR ~= nil then
  2401. coroutine.resume(coroutine.create(function()
  2402. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2403. PART.CFrame = CF(POSITION)
  2404. for i = 1, 45 do
  2405. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2406. RingPiece.Material = FLOOR.Material
  2407. RingPiece.Color = FLOOR.Color
  2408. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2409. Debris:AddItem(RingPiece,SWAIT)
  2410. end
  2411. PART:remove()
  2412. end))
  2413. end
  2414. end
  2415.  
  2416. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2417. if FLOOR ~= nil then
  2418. for i = 1, AMOUNT do
  2419. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  2420. DEBREE.Material = FLOOR.Material
  2421. DEBREE.Color = FLOOR.Color
  2422. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2423. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  2424. coroutine.resume(coroutine.create(function()
  2425. Swait(15)
  2426. DEBREE.Parent = workspace
  2427. DEBREE.CanCollide = true
  2428. Debris:AddItem(DEBREE,SWAIT)
  2429. end))
  2430. end
  2431. end
  2432. end
  2433.  
  2434. function chatfunc(text, waitt)
  2435. local chat = coroutine.wrap(function()
  2436. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2437. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  2438. end
  2439. local naeeym2 = Instance.new("BillboardGui", Character)
  2440. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2441. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  2442. naeeym2.Adornee = Character.Head
  2443. naeeym2.Name = "TalkingBillBoard"
  2444. naeeym2.AlwaysOnTop = true
  2445. local tecks2 = Instance.new("TextLabel", naeeym2)
  2446. tecks2.BackgroundTransparency = 1
  2447. tecks2.BorderSizePixel = 0
  2448. tecks2.Text = ""
  2449. tecks2.Font = "Antique"
  2450. tecks2.TextSize = 30
  2451. tecks2.TextStrokeTransparency = 1
  2452. tecks2.TextColor3 = SKILLTEXTCOLOR
  2453. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2454. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2455. for i = 1, string.len(text) do
  2456. if naeeym2.Parent ~= nil then
  2457. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  2458. end
  2459. tecks2.Text = string.sub(text, 1, i)
  2460. Swait(3)
  2461. end
  2462. wait(waitt / 10)
  2463. coroutine.resume(coroutine.create(function()
  2464. for i = 1, 10 do
  2465. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  2466. Swait()
  2467. end
  2468. naeeym2:Destroy()
  2469. end))
  2470. end)
  2471. chat()
  2472. end
  2473.  
  2474. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2475. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2476. local mesh = IT("SpecialMesh", wave)
  2477. mesh.MeshType = "FileMesh"
  2478. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2479. mesh.Scale = SIZE
  2480. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2481. wave.CFrame = CFRAME
  2482. coroutine.resume(coroutine.create(function(PART)
  2483. for i = 1, WAIT do
  2484. Swait()
  2485. mesh.Scale = mesh.Scale + GROW
  2486. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2487. if DOESROT == true then
  2488. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2489. end
  2490. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2491. if wave.Transparency > 0.99 then
  2492. wave:remove()
  2493. end
  2494. end
  2495. end))
  2496. end
  2497. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2498. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2499. local mesh = IT("SpecialMesh", wave)
  2500. mesh.MeshType = "FileMesh"
  2501. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  2502. mesh.Scale = SIZE
  2503. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2504. wave.CFrame = CFRAME
  2505. coroutine.resume(coroutine.create(function(PART)
  2506. for i = 1, WAIT do
  2507. Swait()
  2508. mesh.Scale = mesh.Scale + GROW
  2509. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2510. if DOESROT == true then
  2511. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2512. end
  2513. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2514. if wave.Transparency > 0.99 then
  2515. wave:remove()
  2516. end
  2517. end
  2518. end))
  2519. end
  2520. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2521. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2522. local mesh = IT("SpecialMesh", wave)
  2523. mesh.MeshType = "FileMesh"
  2524. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  2525. mesh.Scale = SIZE
  2526. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2527. wave.CFrame = CFRAME
  2528. coroutine.resume(coroutine.create(function(PART)
  2529. for i = 1, WAIT do
  2530. Swait()
  2531. mesh.Scale = mesh.Scale + GROW
  2532. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2533. if DOESROT == true then
  2534. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2535. end
  2536. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2537. if wave.Transparency > 0.99 then
  2538. wave:remove()
  2539. end
  2540. end
  2541. end))
  2542. end
  2543. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2544. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2545. local mesh = IT("SpecialMesh", wave)
  2546. mesh.MeshType = "FileMesh"
  2547. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  2548. mesh.Scale = SIZE
  2549. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2550. wave.CFrame = CFRAME
  2551. coroutine.resume(coroutine.create(function(PART)
  2552. for i = 1, WAIT do
  2553. Swait()
  2554. mesh.Scale = mesh.Scale + GROW
  2555. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2556. if DOESROT == true then
  2557. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2558. end
  2559. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2560. if wave.Transparency > 0.99 then
  2561. wave:remove()
  2562. end
  2563. end
  2564. end))
  2565. end
  2566. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2567. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2568. local mesh = IT("SpecialMesh", wave)
  2569. mesh.MeshType = "FileMesh"
  2570. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2571. mesh.Scale = SIZE
  2572. wave.CFrame = CFRAME
  2573. coroutine.resume(coroutine.create(function(PART)
  2574. for i = 1, WAIT do
  2575. Swait()
  2576. mesh.Scale = mesh.Scale + GROW
  2577. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2578. if DOESROT == true then
  2579. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2580. end
  2581. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2582. if wave.Transparency > 0.99 then
  2583. wave:remove()
  2584. end
  2585. end
  2586. end))
  2587. end
  2588. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  2589. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2590. local mesh = IT("SpecialMesh", wave)
  2591. mesh.MeshType = "FileMesh"
  2592. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  2593. mesh.Scale = SIZE
  2594. wave.CFrame = CFRAME
  2595. coroutine.resume(coroutine.create(function(PART)
  2596. for i = 1, WAIT do
  2597. Swait()
  2598. mesh.Scale = mesh.Scale + GROW
  2599. if DOESROT == true then
  2600. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2601. end
  2602. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2603. if wave.Transparency > 0.99 then
  2604. wave:remove()
  2605. end
  2606. end
  2607. end))
  2608. end
  2609. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  2610. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2611. local mesh = IT("SpecialMesh", wave)
  2612. mesh.MeshType = "FileMesh"
  2613. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2614. mesh.Scale = SIZE
  2615. mesh.Offset = VT(0, 0, 0)
  2616. wave.CFrame = CFRAME
  2617. coroutine.resume(coroutine.create(function(PART)
  2618. for i = 1, WAIT do
  2619. Swait()
  2620. mesh.Scale = mesh.Scale + GROW
  2621. if DOESROT == true then
  2622. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2623. end
  2624. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2625. if wave.Transparency > 0.99 then
  2626. wave:remove()
  2627. end
  2628. end
  2629. end))
  2630. end
  2631. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  2632. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  2633. local mesh = IT("SpecialMesh", wave)
  2634. mesh.MeshType = "Sphere"
  2635. mesh.Scale = SIZE
  2636. mesh.Offset = VT(0, 0, 0)
  2637. wave.CFrame = CFRAME
  2638. coroutine.resume(coroutine.create(function(PART)
  2639. for i = 1, WAIT do
  2640. Swait()
  2641. mesh.Scale = mesh.Scale + GROW
  2642. wave.Transparency = wave.Transparency + 1 / WAIT
  2643. if wave.Transparency > 0.99 then
  2644. wave:remove()
  2645. end
  2646. end
  2647. end))
  2648. end
  2649. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  2650. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  2651. local mesh = IT("BlockMesh", wave)
  2652. wave.CFrame = CFRAME
  2653. coroutine.resume(coroutine.create(function(PART)
  2654. for i = 1, WAIT do
  2655. Swait()
  2656. mesh.Scale = mesh.Scale + GROW
  2657. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  2658. wave.Transparency = wave.Transparency + 1 / WAIT
  2659. if wave.Transparency > 0.99 then
  2660. wave:remove()
  2661. end
  2662. end
  2663. end))
  2664. end
  2665.  
  2666. --//=================================\\
  2667. --|| WEAPON CREATION
  2668. --\\=================================//
  2669.  
  2670. local Particle = IT("ParticleEmitter",nil)
  2671. Particle.Enabled = false
  2672. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2673. Particle.LightEmission = 0.5
  2674. Particle.Rate = 150
  2675. Particle.ZOffset = 0.2
  2676. Particle.Rotation = NumberRange.new(-180, 180)
  2677. Particle.RotSpeed = NumberRange.new(-180, 180)
  2678. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2679. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  2680.  
  2681. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2682. function ParticleEmitter(Table)
  2683. local PRTCL = Particle:Clone()
  2684. local Speed = Table.Speed or 5
  2685. local Drag = Table.Drag or 0
  2686. local Size1 = Table.Size1 or 1
  2687. local Size2 = Table.Size2 or 5
  2688. local Lifetime1 = Table.Lifetime1 or 1
  2689. local Lifetime2 = Table.Lifetime2 or 1.5
  2690. local Parent = Table.Parent or Torso
  2691. local Emit = Table.Emit or 100
  2692. local Offset = Table.Offset or 360
  2693. local Acel = Table.Acel or VT(0,0,0)
  2694. local Enabled = Table.Enabled or false
  2695. PRTCL.Parent = Parent
  2696. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2697. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2698. PRTCL.Speed = NumberRange.new(Speed)
  2699. PRTCL.VelocitySpread = Offset
  2700. PRTCL.Drag = Drag
  2701. PRTCL.Acceleration = Acel
  2702. if Enabled == false then
  2703. PRTCL:Emit(Emit)
  2704. Debris:AddItem(PRTCL,Lifetime2)
  2705. else
  2706. PRTCL.Enabled = true
  2707. end
  2708. return PRTCL
  2709. end
  2710.  
  2711.  
  2712. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  2713. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  2714. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  2715. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  2716. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  2717.  
  2718. local Gun1 = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun1", VT(0, 0, 0), false)
  2719. local HandleMesh = CreateMesh("SpecialMesh", Gun1, "FileMesh", "0", "0", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  2720. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun1, RightArm, Gun1, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  2721.  
  2722.  
  2723. local BODY = {}
  2724.  
  2725. for _, c in pairs(Character:GetDescendants()) do
  2726. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2727. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2728. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2729. end
  2730. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  2731. elseif c:IsA("JointInstance") then
  2732. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  2733. end
  2734. end
  2735.  
  2736. for e = 1, #BODY do
  2737. if BODY[e] ~= nil then
  2738. local STUFF = BODY[e]
  2739. local PART = STUFF[1]
  2740. local PARENT = STUFF[2]
  2741. local MATERIAL = STUFF[3]
  2742. local COLOR = STUFF[4]
  2743. local TRANSPARENCY = STUFF[5]
  2744. if PART.ClassName == "Part" and PART ~= RootPart then
  2745. PART.Material = MATERIAL
  2746. PART.Color = COLOR
  2747. PART.Transparency = TRANSPARENCY
  2748. end
  2749. PART.AncestryChanged:Connect(function()
  2750. PART.Parent = PARENT
  2751. end)
  2752. end
  2753. end
  2754.  
  2755. function refit()
  2756. Character.Parent = workspace
  2757. for e = 1, #BODY do
  2758. if BODY[e] ~= nil then
  2759. local STUFF = BODY[e]
  2760. local PART = STUFF[1]
  2761. local PARENT = STUFF[2]
  2762. local MATERIAL = STUFF[3]
  2763. local COLOR = STUFF[4]
  2764. local TRANSPARENCY = STUFF[5]
  2765. if PART.ClassName == "Part" and PART ~= RootPart then
  2766. PART.Material = MATERIAL
  2767. PART.Color = COLOR
  2768. PART.Transparency = TRANSPARENCY
  2769. end
  2770. if PART.Parent ~= PARENT then
  2771. Humanoid:remove()
  2772. PART.Parent = PARENT
  2773. Humanoid = IT("Humanoid",Character)
  2774. end
  2775. end
  2776. end
  2777. end
  2778.  
  2779. Weapon.Parent = Character
  2780. for _, c in pairs(Weapon:GetChildren()) do
  2781. if c.ClassName == "Part" then
  2782. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2783. end
  2784. end
  2785.  
  2786. local SKILLTEXTCOLOR = C3(1,0,0)
  2787. local SKILLFONT = "Antique"
  2788. local SKILLTEXTSIZE = 7
  2789.  
  2790. Humanoid.Died:connect(function()
  2791. ATTACK = false
  2792. end)
  2793.  
  2794.  
  2795.  
  2796.  
  2797. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.100, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2798. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2799. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.631, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2800.  
  2801. local SOULFRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Soul Frame")
  2802.  
  2803. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  2804. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Banish Laser", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  2805. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  2806.  
  2807. local SOULTEXT = CreateLabel(SOULFRAME, "Souls : [0]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Souls")
  2808.  
  2809.  
  2810.  
  2811.  
  2812. function printbye(Name)
  2813. 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, "}
  2814. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2815. end
  2816.  
  2817. workspace.ChildAdded:connect(function(instance)
  2818. for BANISH = 1, #TOBANISH do
  2819. if TOBANISH[BANISH] ~= nil then
  2820. if instance.Name == TOBANISH[BANISH] then
  2821. coroutine.resume(coroutine.create(function()
  2822. printbye(instance.Name)
  2823. instance:ClearAllChildren()
  2824. Debris:AddItem(instance,0.0005)
  2825. end))
  2826. end
  2827. end
  2828. end
  2829. end)
  2830.  
  2831. --//=================================\\
  2832. --|| DAMAGING
  2833. --\\=================================//
  2834.  
  2835. function Banish(Foe)
  2836. if Foe then
  2837. coroutine.resume(coroutine.create(function()
  2838. --if game.Players:FindFirstChild(Foe.Name) then
  2839. table.insert(TOBANISH,Foe.Name)
  2840. printbye(Foe.Name)
  2841. --end
  2842. Foe.Archivable = true
  2843. local CLONE = Foe:Clone()
  2844. Foe:Destroy()
  2845. CLONE.Parent = Effects
  2846. CLONE:BreakJoints()
  2847. local MATERIALS = {"Neon","Neon"}
  2848. for _, c in pairs(CLONE:GetDescendants()) do
  2849. if c:IsA("BasePart") then
  2850. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2851. CreateSound(340722848, c, 10, 1, false)
  2852. end
  2853. c.Anchored = true
  2854. c.Transparency = c.Transparency + 0.2
  2855. c.Material = MATERIALS[MRANDOM(1,2)]
  2856. c.Color = C3(1,0,0)
  2857. if c.ClassName == "MeshPart" then
  2858. c.TextureID = ""
  2859. end
  2860. if c:FindFirstChildOfClass("SpecialMesh") then
  2861. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2862. end
  2863. if c:FindFirstChildOfClass("Decal") then
  2864. c:FindFirstChildOfClass("Decal"):remove()
  2865. end
  2866. c.Name = "Banished"
  2867. c.CanCollide = false
  2868. else
  2869. c:remove()
  2870. end
  2871. end
  2872. local A = false
  2873. for i = 1, 35 do
  2874. if A == false then
  2875. A = true
  2876. elseif A == true then
  2877. A = false
  2878. end
  2879. for _, c in pairs(CLONE:GetDescendants()) do
  2880. if c:IsA("BasePart") then
  2881. c.Anchored = true
  2882. c.Material = MATERIALS[MRANDOM(1,2)]
  2883. c.Transparency = c.Transparency + 0.8/35
  2884. if A == false then
  2885. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  2886. elseif A == true then
  2887. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  2888. end
  2889. end
  2890. end
  2891. Swait()
  2892. end
  2893. SpawnSoul(Humanoid)
  2894. Wait(0.1)
  2895. CLONE:remove()
  2896. end))
  2897. end
  2898. end
  2899.  
  2900. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2901. local CHILDREN = workspace:GetDescendants()
  2902. for index, CHILD in pairs(CHILDREN) do
  2903. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2904. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2905. if HUM then
  2906. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2907. if TORSO then
  2908. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2909. if ISBANISH == true then
  2910. Banish(CHILD)
  2911. else
  2912. if ISBANISH == "Gravity" then
  2913. HUM.PlatformStand = true
  2914. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2915. local grav = Instance.new("BodyPosition",TORSO)
  2916. grav.D = 15
  2917. grav.P = 20000
  2918. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2919. grav.position = TORSO.Position
  2920. grav.Name = "V3BanishForce"..Player.Name
  2921. else
  2922. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2923. TORSO.RotVelocity = VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2924. end
  2925. else
  2926. HUM.PlatformStand = false
  2927. end
  2928. end
  2929. elseif ISBANISH == "Gravity" then
  2930. if TORSO:FindFirstChild("f"..Player.Name) then
  2931. TORSO:FindFirstChild("f"..Player.Name)
  2932. HUM.PlatformStand = false
  2933. SpawnSoul(Humanoid)
  2934. end
  2935. end
  2936. end
  2937. end
  2938. end
  2939. end
  2940. end
  2941.  
  2942. --//=================================\\
  2943. --|| ATTACK FUNCTIONS AND STUFF
  2944. --\\=================================//
  2945.  
  2946. function Banisher_Bullet()
  2947. ATTACK = true
  2948. Rooted = false
  2949. for i=0, 0.4, 0.1 / Animation_Speed do
  2950. Swait()
  2951. turnto(Mouse.Hit.p)
  2952. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2953. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2954. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2955. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2956. 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)
  2957. 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)
  2958. end
  2959. repeat
  2960. for i=0, 0.2, 0.1 / Animation_Speed do
  2961. Swait()
  2962. turnto(Mouse.Hit.p)
  2963. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2964. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2965. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2966. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2967. 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)
  2968. 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)
  2969. end
  2970. local HIT,POS = CastProperRay(Gun1.Position, Mouse.Hit.p, 1000, Character)
  2971. SpawnTrail(Gun1.Position,POS)
  2972. if HIT ~= nil then
  2973. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2974. Banish(HIT.Parent)
  2975. end
  2976. end
  2977. WACKYEFFECT({Time = 15+(i*5), EffectType = "Slash", Size = VT(0.03,0.03,0.03), Size2 = VT(0.05,0,0.05), Transparency = 0, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2978. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(1.5,1.5,1.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = Gun1.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2979. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.4,0.4,0.4), Size2 = VT(2.5,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2980. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2981. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2982. WACKYEFFECT({Time = 15+(i*5), EffectType = "Ring", Size = VT(0.3,0.3,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2983. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(MRANDOM(12,13),MRANDOM(12,13),MRANDOM(12,13)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 608538233, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  2984. for i=0, 0.3, 0.1 / Animation_Speed do
  2985. Swait()
  2986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2990. 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)
  2991. 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)
  2992. end
  2993. until KEYHOLD == false
  2994. ATTACK = false
  2995. Rooted = false
  2996. end
  2997. function AttackTemplate()
  2998. ATTACK = true
  2999. Rooted = false
  3000. for i=0, 1, 0.1 / Animation_Speed do
  3001. Swait()
  3002. 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)
  3003. 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)
  3004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3006. 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)
  3007. 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)
  3008. end
  3009. ATTACK = false
  3010. Rooted = false
  3011. end
  3012.  
  3013. function BanishLaser()
  3014. ATTACK = true
  3015. local GYRO = IT("BodyGyro",RootPart)
  3016. GYRO.D = 100
  3017. GYRO.P = 2000
  3018. GYRO.MaxTorque = VT(0,4000000,0)
  3019. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3020. for i=1, 35 do
  3021. Swait()
  3022. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3023. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = Gun1, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  3024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3028. 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)
  3029. 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)
  3030. end
  3031. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  3032. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  3033. local MSH = IT("CylinderMesh",BEAM)
  3034. local TOCH = BEAM.Touched:Connect(function(hit)
  3035. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  3036. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  3037. Banish(hit.Parent)
  3038. end
  3039. end
  3040. end)
  3041. local I = 0
  3042. repeat
  3043. Swait()
  3044. I = I + 1
  3045. if I <= 10 then
  3046. BEAM.Transparency = BEAM.Transparency - 0.1
  3047. end
  3048. local STARTPOS = Gun1.CFrame.p
  3049. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  3050. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  3051. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
  3052. BEAM.Size = VT(1,DISTANCE,1)
  3053. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  3054. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3055. WACKYEFFECT({Time = 35, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3056. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  3057. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3058. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3059. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3062. 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)
  3063. 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)
  3064. if ENDHIT ~= nil then
  3065. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  3066. if ENDHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3067. Banish(ENDHIT.Parent)
  3068. end
  3069. end
  3070. end
  3071. until LOOP.Playing == false
  3072. BEAM:remove()
  3073. GYRO:remove()
  3074. ATTACK = false
  3075. end
  3076.  
  3077. function Teleport()
  3078. ATTACK = true
  3079. Rooted = false
  3080. for i=0, 0.5, 0.1 / Animation_Speed do
  3081. Swait()
  3082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3086. 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)
  3087. 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)
  3088. end
  3089. for e = 1, #BODY do
  3090. if BODY[e] ~= nil then
  3091. local STUFF = BODY[e]
  3092. local PART = STUFF[1]
  3093. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "Gun1" and PART.Name ~= "Gun" and PART.Transparency ~= 1 then
  3094. local PRT = PART:Clone()
  3095. PRT.Anchored = true
  3096. PRT.CanCollide = false
  3097. PRT.Material = "Neon"
  3098. PRT.Color = C3(1,0,0)
  3099. PRT.Name = "WarpEffect"
  3100. PRT.Parent = Effects
  3101. PRT.CFrame = PART.CFrame
  3102. PRT:BreakJoints()
  3103. if PRT:FindFirstChildOfClass("Sound") then
  3104. PRT:FindFirstChildOfClass("Sound"):remove()
  3105. end
  3106. if PRT:FindFirstChildOfClass("Decal") then
  3107. PRT:FindFirstChildOfClass("Decal"):remove()
  3108. end
  3109. coroutine.resume(coroutine.create(function()
  3110. for i = 1, 500 do
  3111. Swait()
  3112. PRT.Transparency = PRT.Transparency + 1/100
  3113. end
  3114. PRT:remove()
  3115. end))
  3116. end
  3117. end
  3118. end
  3119. CreateSound(217767125, Torso, 10, 1)
  3120. local POS = RootPart.Orientation
  3121. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3122. local HIT,POS = CastProperRay(RootPart.Position, Mouse.Hit.p, 1000, Character)
  3123. SpawnTrail(Gun1.Position,POS)
  3124. RootPart.Orientation = POS
  3125. RootJoint.Parent = RootPart
  3126. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(3,8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3127. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(6,5,6), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 3})
  3128. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  3129. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  3130. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.3,0.2,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  3131. for i=0, 0.5, 0.1 / Animation_Speed do
  3132. Swait()
  3133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3137. 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)
  3138. 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)
  3139. end
  3140. for i=0, 0.1, 0.1 / Animation_Speed do
  3141. Swait()
  3142. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3143. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3144. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3145. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3146. 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)
  3147. 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)
  3148. end
  3149. ATTACK = false
  3150. Rooted = false
  3151. end
  3152.  
  3153.  
  3154. function BanishingRampage()
  3155. ATTACK = true
  3156. Rooted = false
  3157. chatfunc("...", 3)
  3158. wait(1)
  3159. chatfunc("Be gone.....", 3)
  3160. for i = 0, 2, 0.1 / Animation_Speed do
  3161. Swait()
  3162. turnto(Mouse.Hit.p)
  3163. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  3164. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3165. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3166. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3167. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3168. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3169. end
  3170. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3171. repeat
  3172. Swait()
  3173. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3174. until HITFLOOR ~= nil
  3175. CreateSound("238353911", Gun1, 10, MRANDOM(9, 11) / 10)
  3176. for i = 1, 75 do
  3177. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(3,8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3178. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(8,3,8), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.3, SoundVolume = 6})
  3179. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.3,0.8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3180. end
  3181. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  3182. CreateSound("138677306", Effects, 7, 1.2)
  3183. coroutine.resume(coroutine.create(function()
  3184. local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  3185. local SIZE = 1
  3186. while true do
  3187. Swait()
  3188. for i = 1, 2 do
  3189. MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Really red", VT(0.001, 0.001, 0), 0.5)
  3190. end
  3191. do
  3192. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  3193. Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  3194. coroutine.resume(coroutine.create(function()
  3195. Swait(200)
  3196. Part.Anchored = false
  3197. end))
  3198. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  3199. Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  3200. coroutine.resume(coroutine.create(function()
  3201. Swait(200)
  3202. Part.Anchored = false
  3203. end))
  3204. MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  3205. ApplyAoE(CFRAME.p, SIZE, 0)
  3206. SIZE = SIZE + 2
  3207. CFRAME = CFRAME * CF(0, 0, -2)
  3208. if SOUND.Playing == false then
  3209. break
  3210. end
  3211. end
  3212. end
  3213. end))
  3214. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  3215. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  3216. for i = 0, 3, 0.1 / Animation_Speed do
  3217. Swait()
  3218. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  3219. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3220. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3221. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3222. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3223. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3224. end
  3225. ATTACK = false
  3226. Rooted = false
  3227. end
  3228.  
  3229. function SpawnChaos(POS,SIZE,ISDEBREE,ORIPOS)
  3230. coroutine.resume(coroutine.create(function()
  3231. local METEOR = IT("Model",Effects)
  3232. METEOR.Name = "Meteorite"
  3233. local CENTER = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  3234. METEOR.PrimaryPart = CENTER
  3235. local PRT = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  3236. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3237. for i = 1, 15 do
  3238. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  3239. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3240. end
  3241. if ISDEBREE ~= true then
  3242. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3243. else
  3244. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3245. end
  3246. local IMPACT = false
  3247. CreateSound(463593339, CENTER, 10, 0.6)
  3248. if SIZE >= 3.5 then
  3249. for i = 1, MRANDOM(3,7) do
  3250. SpawnChaos(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3251. end
  3252. end
  3253. for i = 1, 200 do
  3254. Swait()
  3255. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3256. if HITFLOOR == nil then
  3257. local ORI = CENTER.Orientation
  3258. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3259. else
  3260. if HITFLOOR.Anchored == true then
  3261. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3262. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3263. end
  3264. IMPACT = true
  3265. break
  3266. end
  3267. end
  3268. if IMPACT == true then
  3269. WACKYEFFECT({EffectType = "Sphere", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3270. WACKYEFFECT({EffectType = "Sphere", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3271. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3272. ApplyAoE(CENTER.Position,30*25)
  3273. end
  3274. METEOR:remove()
  3275. end))
  3276. end
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282. function SpectralBanishing()
  3283. ATTACK = true
  3284. Rooted = false
  3285. chatfunc("Your time has ended...", 20)
  3286. for i = 0, 5, 0.1 / Animation_Speed do
  3287. Swait()
  3288. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  3289. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  3290. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3291. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3292. 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.25 / Animation_Speed)
  3293. 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.25 / Animation_Speed)
  3294. end
  3295. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  3296. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  3297. local MSH = IT("CylinderMesh",BEAM)
  3298. local STARTPOS = Gun1.CFrame.p
  3299. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  3300. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  3301. BEAM.CFrame = CF(STARTPOS,ENDPOS)
  3302. BEAM.Size = VT(1,DISTANCE,1)
  3303. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(55,55,55), Size2 = VT(44,44,44), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  3304. I = I + 1
  3305. if I <= 10 then
  3306. BEAM.Transparency = BEAM.Transparency - 0.1
  3307. end
  3308. Swait(10)
  3309. Swait(1)
  3310. SpawnChaos(Mouse.Hit.p,100/100)
  3311. Swait(1)
  3312. Swait(1)
  3313. SpawnChaos(Mouse.Hit.p,100/100)
  3314. Swait(1)
  3315. Swait(1)
  3316. SpawnChaos(Mouse.Hit.p,100/100)
  3317. Swait(1)
  3318. Swait(1)
  3319. SpawnChaos(Mouse.Hit.p,100/100)
  3320. Swait(1)
  3321. SpawnChaos(Mouse.Hit.p,100/100)
  3322. SpawnChaos(Mouse.Hit.p,100/100)
  3323. SpawnChaos(Mouse.Hit.p,100/100)
  3324. SpawnChaos(Mouse.Hit.p,100/100)
  3325. SpawnChaos(Mouse.Hit.p,100/100)
  3326. SpawnChaos(Mouse.Hit.p,100/100)
  3327. for i = 0, 2, 0.1 / Animation_Speed do
  3328. Swait()
  3329. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  3330. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  3331. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3332. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3333. 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.25 / Animation_Speed)
  3334. 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.25 / Animation_Speed)
  3335. end
  3336. BEAM:remove()
  3337. ATTACK = false
  3338. Rooted = false
  3339. end
  3340.  
  3341.  
  3342. --//=================================\\
  3343. --|| ASSIGN THINGS TO KEYS
  3344. --\\=================================//
  3345.  
  3346. function MouseDown(Mouse)
  3347. if ATTACK == false then
  3348. end
  3349. end
  3350.  
  3351. function MouseUp(Mouse)
  3352. HOLD = false
  3353. end
  3354.  
  3355. function KeyDown(Key)
  3356. KEYHOLD = true
  3357. if Key == "z" and ATTACK == false then
  3358. Banisher_Bullet()
  3359. end
  3360.  
  3361. if Key == "b" and ATTACK == false then
  3362. SpectralBanishing()
  3363. end
  3364.  
  3365. if Key == "c" and ATTACK == false then
  3366. Teleport()
  3367. end
  3368.  
  3369. if Key == "v" and ATTACK == false then
  3370. BanishingRampage()
  3371. end
  3372.  
  3373. if Key == "x" and ATTACK == false then
  3374. BanishLaser()
  3375. end
  3376. end
  3377.  
  3378. function KeyUp(Key)
  3379. KEYHOLD = false
  3380. end
  3381.  
  3382. Mouse.Button1Down:connect(function(NEWKEY)
  3383. MouseDown(NEWKEY)
  3384. end)
  3385. Mouse.Button1Up:connect(function(NEWKEY)
  3386. MouseUp(NEWKEY)
  3387. end)
  3388. Mouse.KeyDown:connect(function(NEWKEY)
  3389. KeyDown(NEWKEY)
  3390. end)
  3391. Mouse.KeyUp:connect(function(NEWKEY)
  3392. KeyUp(NEWKEY)
  3393. end)
  3394.  
  3395. --//=================================\\
  3396. --\\=================================//
  3397.  
  3398.  
  3399. function unanchor()
  3400. if UNANCHOR == true then
  3401. g = Character:GetChildren()
  3402. for i = 1, #g do
  3403. if g[i].ClassName == "Part" then
  3404. g[i].Anchored = false
  3405. end
  3406. end
  3407. end
  3408. end
  3409.  
  3410.  
  3411. --//=================================\\
  3412. --|| WRAP THE WHOLE SCRIPT UP
  3413. --\\=================================//
  3414.  
  3415. Humanoid.Changed:connect(function(Jump)
  3416. if Jump == "Jump" and (Disable_Jump == true) then
  3417. Humanoid.Jump = false
  3418. end
  3419. end)
  3420.  
  3421. local CONNECT = nil
  3422.  
  3423. while true do
  3424. Swait()
  3425. ANIMATE.Parent = nil
  3426. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3427. Humanoid = IT("Humanoid",Character)
  3428. end
  3429. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3430. v:Stop();
  3431. end
  3432. SINE = SINE + CHANGE
  3433. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3434. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3435. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3436. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3437. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3438. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3439. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3440. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3441. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3442. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3443. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  3444. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3445. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3446. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3447. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3448. end
  3449. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3450. ANIM = "Jump"
  3451. if ATTACK == false then
  3452. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3456. 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)
  3457. 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)
  3458. end
  3459. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3460. ANIM = "Fall"
  3461. if ATTACK == false then
  3462. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3463. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3464. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3465. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3466. 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)
  3467. 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)
  3468. end
  3469. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3470. ANIM = "Idle"
  3471. if ATTACK == false then
  3472. 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)
  3473. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3474. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3475. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3476. 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)
  3477. 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)
  3478. end
  3479. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3480. ANIM = "Walk"
  3481. WALK = WALK + 1 / Animation_Speed
  3482. if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  3483. WALK = 0
  3484. if WALKINGANIM == true then
  3485. WALKINGANIM = false
  3486. elseif WALKINGANIM == false then
  3487. WALKINGANIM = true
  3488. end
  3489. end
  3490. if ATTACK == false then
  3491. 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)
  3492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3495. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3496. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3497. end
  3498. end
  3499. unanchor()
  3500. Humanoid.MaxHealth = "inf"
  3501. Humanoid.Health = "inf"
  3502. if Rooted == false then
  3503. Disable_Jump = false
  3504. Humanoid.WalkSpeed = Speed
  3505. elseif Rooted == true then
  3506. Disable_Jump = true
  3507. Humanoid.WalkSpeed = 0
  3508. end
  3509. if MRANDOM(1,25) == 1 then
  3510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
  3511. end
  3512. sick.Parent = Torso
  3513. sick:resume()
  3514. sick.Volume = 1.25
  3515. sick.Pitch = 1.01
  3516. sick.SoundId = "rbxassetid://1411553759"
  3517. sick.Name = "BanishV3Music"
  3518. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  3519. if VALUE1 == false then
  3520. SKILL3TEXT.Text = "[C] Soul Rage"
  3521. else
  3522. SKILL3TEXT.Text = "["..VALUE2.."] Soul Rage"
  3523. end
  3524. end
  3525.  
  3526. --//=================================\\
  3527. --\\=================================//
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533. --//====================================================\\--
  3534. --|| END OF SCRIPT
  3535. --\\====================================================//--"
  3536. sick.Name = "BanishV3Music"
  3537. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  3538. if VALUE1 == false then
  3539. SKILL3TEXT.Text = "[C] Soul Rage"
  3540. else
  3541. SKILL3TEXT.Text = "["..VALUE2.."] Soul Rage"
  3542. end
  3543. end
  3544.  
  3545. --//=================================\\
  3546. --\\=================================//
  3547.  
  3548.  
  3549.  
  3550.  
  3551.  
  3552. --//====================================================\\--
  3553. --|| END OF SCRIPT
  3554. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement