Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 169.45 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  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. sick.SoundId = "rbxassetid://if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1760. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1761. do
  1762. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  1763. print("Have Fun!")
  1764. script.Parent = Player.Character
  1765.  
  1766. --RemoteEvent for communicating
  1767. local Event = Instance.new("RemoteEvent")
  1768. Event.Name = "UserInput_Event"
  1769.  
  1770. --Fake event to make stuff like Mouse.KeyDown work
  1771. local function fakeEvent()
  1772. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1773. t.connect = t.Connect
  1774. return t
  1775. end
  1776.  
  1777. --Creating fake input objects with fake variables
  1778. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1779. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1780. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1781. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1782. end}
  1783. --Merged 2 functions into one by checking amount of arguments
  1784. CAS.UnbindAction = CAS.BindAction
  1785.  
  1786. --This function will trigger the events that have been :Connect()'ed
  1787. local function te(self,ev,...)
  1788. local t = m[ev]
  1789. if t and t._fakeEvent and t.Function then
  1790. t.Function(...)
  1791. end
  1792. end
  1793. m.TrigEvent = te
  1794. UIS.TrigEvent = te
  1795.  
  1796. Event.OnServerEvent:Connect(function(plr,io)
  1797. if plr~=Player then return end
  1798. if io.isMouse then
  1799. m.Target = io.Target
  1800. m.Hit = io.Hit
  1801. else
  1802. local b = io.UserInputState == Enum.UserInputState.Begin
  1803. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1804. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1805. end
  1806. for _,t in pairs(CAS.Actions) do
  1807. for _,k in pairs(t.Keys) do
  1808. if k==io.KeyCode then
  1809. t.Function(t.Name,io.UserInputState,io)
  1810. end
  1811. end
  1812. end
  1813. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1814. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1815. end
  1816. end)
  1817. Event.Parent = NLS([==[
  1818. local Player = owner
  1819. local Event = script:WaitForChild("UserInput_Event")
  1820.  
  1821. local UIS = game:GetService("UserInputService")
  1822. local input = function(io,a)
  1823. if a then return end
  1824. --Since InputObject is a client-side instance, we create and pass table instead
  1825. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1826. end
  1827. UIS.InputBegan:Connect(input)
  1828. UIS.InputEnded:Connect(input)
  1829.  
  1830. local Mouse = Player:GetMouse()
  1831. local h,t
  1832. --Give the server mouse data 30 times every second, but only if the values changed
  1833. --If player is not moving their mouse, client won't fire events
  1834. while wait(1/30) do
  1835. if h~=Mouse.Hit or t~=Mouse.Target then
  1836. h,t=Mouse.Hit,Mouse.Target
  1837. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1838. end
  1839. end]==],Player.Character)
  1840. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1841. end
  1842.  
  1843.  
  1844.  
  1845. script.Name = "Banisher Gun V3 / 1"
  1846. --//====================================================\\--
  1847. --|| CREATED BY SHACKLUSTER
  1848. --\\====================================================//--
  1849.  
  1850. script:ClearAllChildren()
  1851. wait(0.2)
  1852.  
  1853. Player = owner
  1854. PlayerGui = Player.PlayerGui
  1855. Cam = workspace.CurrentCamera
  1856. Backpack = Player.Backpack
  1857. Character = Player.Character
  1858. Humanoid = Character.Humanoid
  1859. RootPart = Character["HumanoidRootPart"]
  1860. Torso = Character["Torso"]
  1861. Head = Character["Head"]
  1862. RightArm = Character["Right Arm"]
  1863. LeftArm = Character["Left Arm"]
  1864. RightLeg = Character["Right Leg"]
  1865. LeftLeg = Character["Left Leg"]
  1866. RootJoint = RootPart["RootJoint"]
  1867. Neck = Torso["Neck"]
  1868. RightShoulder = Torso["Right Shoulder"]
  1869. LeftShoulder = Torso["Left Shoulder"]
  1870. RightHip = Torso["Right Hip"]
  1871. LeftHip = Torso["Left Hip"]
  1872. local TIME = 0
  1873. local sick = Instance.new("Sound",Torso)
  1874.  
  1875. IT = Instance.new
  1876. CF = CFrame.new
  1877. VT = Vector3.new
  1878. RAD = math.rad
  1879. C3 = Color3.new
  1880. UD2 = UDim2.new
  1881. BRICKC = BrickColor.new
  1882. ANGLES = CFrame.Angles
  1883. EULER = CFrame.fromEulerAnglesXYZ
  1884. COS = math.cos
  1885. ACOS = math.acos
  1886. SIN = math.sin
  1887. ASIN = math.asin
  1888. ABS = math.abs
  1889. MRANDOM = math.random
  1890. FLOOR = math.floor
  1891.  
  1892. --//=================================\\
  1893. --|| USEFUL VALUES
  1894. --\\=================================//
  1895.  
  1896. Animation_Speed = 3
  1897. local FORCERESET = false
  1898. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1899. local Speed = 16
  1900. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1901. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1902. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1903. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1904. local DAMAGEMULTIPLIER = 1
  1905. local ANIM = "Idle"
  1906. local ATTACK = false
  1907. local EQUIPPED = false
  1908. local HOLD = false
  1909. local COMBO = 1
  1910. local Rooted = false
  1911. local SINE = 0
  1912. local KEYHOLD = false
  1913. local CHANGE = 2 / Animation_Speed
  1914. local WALKINGANIM = false
  1915. local VALUE1 = false
  1916. local VALUE2 = false
  1917. local WALKINGANIM = false
  1918. local WALK = 0
  1919. local ROBLOXIDLEANIMATION = IT("Animation")
  1920. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1921. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1922. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1923. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1924. WEAPONGUI.Name = "BanishV3Gui"
  1925. local Weapon = IT("Model")
  1926. Weapon.Name = "Adds"
  1927. local Effects = IT("Folder", Weapon)
  1928. Effects.Name = "Effects"
  1929. local ANIMATOR = Humanoid.Animator
  1930. local ANIMATE = Character:FindFirstChild("Animate")
  1931. local UNANCHOR = true
  1932. local TOBANISH = {}
  1933. script.Parent = PlayerGui
  1934. Player_Size = 1
  1935. local i = 1
  1936. local SOULWELL = 666
  1937. local SKILLTEXTCOLOR = C3(1, 0, 0)
  1938. local I = 1
  1939.  
  1940.  
  1941. --//=================================\\
  1942. --\\=================================//
  1943.  
  1944.  
  1945. --//=================================\\
  1946. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1947. --\\=================================//
  1948.  
  1949. ArtificialHB = Instance.new("BindableEvent", script)
  1950. ArtificialHB.Name = "ArtificialHB"
  1951.  
  1952. script:WaitForChild("ArtificialHB")
  1953.  
  1954. frame = Frame_Speed
  1955. tf = 0
  1956. allowframeloss = false
  1957. tossremainder = false
  1958. lastframe = tick()
  1959. script.ArtificialHB:Fire()
  1960.  
  1961. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1962. tf = tf + s
  1963. if tf >= frame then
  1964. if allowframeloss then
  1965. script.ArtificialHB:Fire()
  1966. lastframe = tick()
  1967. else
  1968. for i = 1, math.floor(tf / frame) do
  1969. script.ArtificialHB:Fire()
  1970. end
  1971. lastframe = tick()
  1972. end
  1973. if tossremainder then
  1974. tf = 0
  1975. else
  1976. tf = tf - frame * math.floor(tf / frame)
  1977. end
  1978. end
  1979. end)
  1980.  
  1981. --//=================================\\
  1982. --\\=================================//
  1983.  
  1984. --//=================================\\
  1985. --|| SOME FUNCTIONS
  1986. --\\=================================//
  1987.  
  1988. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1989. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1990. end
  1991.  
  1992. function PositiveAngle(NUMBER)
  1993. if NUMBER >= 0 then
  1994. NUMBER = 0
  1995. end
  1996. return NUMBER
  1997. end
  1998.  
  1999. function NegativeAngle(NUMBER)
  2000. if NUMBER <= 0 then
  2001. NUMBER = 0
  2002. end
  2003. return NUMBER
  2004. end
  2005.  
  2006. function Swait(NUMBER)
  2007. if NUMBER == 0 or NUMBER == nil then
  2008. ArtificialHB.Event:wait()
  2009. else
  2010. for i = 1, NUMBER do
  2011. ArtificialHB.Event:wait()
  2012. end
  2013. end
  2014. end
  2015.  
  2016. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2017. local NEWMESH = IT(MESH)
  2018. if MESH == "SpecialMesh" then
  2019. NEWMESH.MeshType = MESHTYPE
  2020. if MESHID ~= "nil" and MESHID ~= "" then
  2021. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2022. end
  2023. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2024. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2025. end
  2026. end
  2027. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2028. NEWMESH.Scale = SCALE
  2029. NEWMESH.Parent = PARENT
  2030. return NEWMESH
  2031. end
  2032.  
  2033. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2034. local NEWPART = IT("Part")
  2035. NEWPART.formFactor = FORMFACTOR
  2036. NEWPART.Reflectance = REFLECTANCE
  2037. NEWPART.Transparency = TRANSPARENCY
  2038. NEWPART.CanCollide = false
  2039. NEWPART.Locked = true
  2040. NEWPART.Anchored = true
  2041. if ANCHOR == false then
  2042. NEWPART.Anchored = false
  2043. end
  2044. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2045. NEWPART.Name = NAME
  2046. NEWPART.Size = SIZE
  2047. NEWPART.Position = Torso.Position
  2048. NEWPART.Material = MATERIAL
  2049. NEWPART:BreakJoints()
  2050. NEWPART.Parent = PARENT
  2051. return NEWPART
  2052. end
  2053.  
  2054. local function weldBetween(a, b)
  2055. local weldd = Instance.new("ManualWeld")
  2056. weldd.Part0 = a
  2057. weldd.Part1 = b
  2058. weldd.C0 = CFrame.new()
  2059. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2060. weldd.Parent = a
  2061. return weldd
  2062. end
  2063.  
  2064.  
  2065. function QuaternionFromCFrame(cf)
  2066. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2067. local trace = m00 + m11 + m22
  2068. if trace > 0 then
  2069. local s = math.sqrt(1 + trace)
  2070. local recip = 0.5 / s
  2071. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2072. else
  2073. local i = 0
  2074. if m11 > m00 then
  2075. i = 1
  2076. end
  2077. if m22 > (i == 0 and m00 or m11) then
  2078. i = 2
  2079. end
  2080. if i == 0 then
  2081. local s = math.sqrt(m00 - m11 - m22 + 1)
  2082. local recip = 0.5 / s
  2083. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2084. elseif i == 1 then
  2085. local s = math.sqrt(m11 - m22 - m00 + 1)
  2086. local recip = 0.5 / s
  2087. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2088. elseif i == 2 then
  2089. local s = math.sqrt(m22 - m00 - m11 + 1)
  2090. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2091. end
  2092. end
  2093. end
  2094.  
  2095. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2096. local xs, ys, zs = x + x, y + y, z + z
  2097. local wx, wy, wz = w * xs, w * ys, w * zs
  2098. local xx = x * xs
  2099. local xy = x * ys
  2100. local xz = x * zs
  2101. local yy = y * ys
  2102. local yz = y * zs
  2103. local zz = z * zs
  2104. 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))
  2105. end
  2106.  
  2107. function QuaternionSlerp(a, b, t)
  2108. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2109. local startInterp, finishInterp;
  2110. if cosTheta >= 0.0001 then
  2111. if (1 - cosTheta) > 0.0001 then
  2112. local theta = ACOS(cosTheta)
  2113. local invSinTheta = 1 / SIN(theta)
  2114. startInterp = SIN((1 - t) * theta) * invSinTheta
  2115. finishInterp = SIN(t * theta) * invSinTheta
  2116. else
  2117. startInterp = 1 - t
  2118. finishInterp = t
  2119. end
  2120. else
  2121. if (1 + cosTheta) > 0.0001 then
  2122. local theta = ACOS(-cosTheta)
  2123. local invSinTheta = 1 / SIN(theta)
  2124. startInterp = SIN((t - 1) * theta) * invSinTheta
  2125. finishInterp = SIN(t * theta) * invSinTheta
  2126. else
  2127. startInterp = t - 1
  2128. finishInterp = t
  2129. end
  2130. end
  2131. 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
  2132. end
  2133.  
  2134. function Clerp(a, b, t)
  2135. local qa = {QuaternionFromCFrame(a)}
  2136. local qb = {QuaternionFromCFrame(b)}
  2137. local ax, ay, az = a.x, a.y, a.z
  2138. local bx, by, bz = b.x, b.y, b.z
  2139. local _t = 1 - t
  2140. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2141. end
  2142.  
  2143. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2144. local frame = IT("Frame")
  2145. frame.BackgroundTransparency = TRANSPARENCY
  2146. frame.BorderSizePixel = BORDERSIZEPIXEL
  2147. frame.Position = POSITION
  2148. frame.Size = SIZE
  2149. frame.BackgroundColor3 = COLOR
  2150. frame.BorderColor3 = BORDERCOLOR
  2151. frame.Name = NAME
  2152. frame.Parent = PARENT
  2153. return frame
  2154. end
  2155.  
  2156. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2157. local label = IT("TextLabel")
  2158. label.BackgroundTransparency = 1
  2159. label.Size = UD2(1, 0, 1, 0)
  2160. label.Position = UD2(0, 0, 0, 0)
  2161. label.TextColor3 = TEXTCOLOR
  2162. label.TextStrokeTransparency = STROKETRANSPARENCY
  2163. label.TextTransparency = TRANSPARENCY
  2164. label.FontSize = TEXTFONTSIZE
  2165. label.Font = TEXTFONT
  2166. label.BorderSizePixel = BORDERSIZEPIXEL
  2167. label.TextScaled = false
  2168. label.Text = TEXT
  2169. label.Name = NAME
  2170. label.Parent = PARENT
  2171. return label
  2172. end
  2173.  
  2174. function NoOutlines(PART)
  2175. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2176. end
  2177.  
  2178. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2179. local NEWWELD = IT(TYPE)
  2180. NEWWELD.Part0 = PART0
  2181. NEWWELD.Part1 = PART1
  2182. NEWWELD.C0 = C0
  2183. NEWWELD.C1 = C1
  2184. NEWWELD.Parent = PARENT
  2185. return NEWWELD
  2186. end
  2187.  
  2188. local S = IT("Sound")
  2189. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2190. local NEWSOUND = nil
  2191. coroutine.resume(coroutine.create(function()
  2192. NEWSOUND = S:Clone()
  2193. NEWSOUND.Parent = PARENT
  2194. NEWSOUND.Volume = VOLUME
  2195. NEWSOUND.Pitch = PITCH
  2196. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2197. NEWSOUND:play()
  2198. if DOESLOOP == true then
  2199. NEWSOUND.Looped = true
  2200. else
  2201. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2202. NEWSOUND:remove()
  2203. end
  2204. end))
  2205. return NEWSOUND
  2206. end
  2207.  
  2208. function CFrameFromTopBack(at, top, back)
  2209. local right = top:Cross(back)
  2210. 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)
  2211. end
  2212.  
  2213. --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})
  2214. function WACKYEFFECT(Table)
  2215. local TYPE = (Table.EffectType or "Sphere")
  2216. local SIZE = (Table.Size or VT(1,1,1))
  2217. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2218. local TRANSPARENCY = (Table.Transparency or 0)
  2219. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2220. local CFRAME = (Table.CFrame or Torso.CFrame)
  2221. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2222. local ROTATION1 = (Table.RotationX or 0)
  2223. local ROTATION2 = (Table.RotationY or 0)
  2224. local ROTATION3 = (Table.RotationZ or 0)
  2225. local MATERIAL = (Table.Material or "Neon")
  2226. local COLOR = (Table.Color or C3(1,1,1))
  2227. local TIME = (Table.Time or 45)
  2228. local SOUNDID = (Table.SoundID or nil)
  2229. local SOUNDPITCH = (Table.SoundPitch or nil)
  2230. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2231. coroutine.resume(coroutine.create(function()
  2232. local PLAYSSOUND = false
  2233. local SOUND = nil
  2234. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2235. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2236. PLAYSSOUND = true
  2237. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2238. end
  2239. EFFECT.Color = COLOR
  2240. local MSH = nil
  2241. if TYPE == "Sphere" then
  2242. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2243. elseif TYPE == "Block" then
  2244. MSH = IT("BlockMesh",EFFECT)
  2245. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2246. elseif TYPE == "Wave" then
  2247. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2248. elseif TYPE == "Ring" then
  2249. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2250. elseif TYPE == "Slash" then
  2251. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2252. elseif TYPE == "Round Slash" then
  2253. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2254. elseif TYPE == "Swirl" then
  2255. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2256. elseif TYPE == "Skull" then
  2257. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2258. elseif TYPE == "Crystal" then
  2259. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2260. end
  2261. if MSH ~= nil then
  2262. local MOVESPEED = nil
  2263. if MOVEDIRECTION ~= nil then
  2264. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2265. end
  2266. local GROWTH = SIZE - ENDSIZE
  2267. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2268. if TYPE == "Block" then
  2269. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2270. else
  2271. EFFECT.CFrame = CFRAME
  2272. end
  2273. for LOOP = 1, TIME+1 do
  2274. Swait()
  2275. MSH.Scale = MSH.Scale - GROWTH/TIME
  2276. if TYPE == "Wave" then
  2277. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2278. end
  2279. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2280. if TYPE == "Block" then
  2281. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2282. else
  2283. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2284. end
  2285. if MOVEDIRECTION ~= nil then
  2286. local ORI = EFFECT.Orientation
  2287. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2288. EFFECT.Orientation = ORI
  2289. end
  2290. end
  2291. if PLAYSSOUND == false then
  2292. EFFECT:remove()
  2293. else
  2294. SOUND.Stopped:Connect(function()
  2295. EFFECT:remove()
  2296. end)
  2297. end
  2298. else
  2299. if PLAYSSOUND == false then
  2300. EFFECT:remove()
  2301. else
  2302. repeat Swait() until SOUND.Playing == false
  2303. EFFECT:remove()
  2304. end
  2305. end
  2306. end))
  2307. end
  2308.  
  2309. function MakeForm(PART,TYPE)
  2310. if TYPE == "Cyl" then
  2311. local MSH = IT("CylinderMesh",PART)
  2312. elseif TYPE == "Ball" then
  2313. local MSH = IT("SpecialMesh",PART)
  2314. MSH.MeshType = "Sphere"
  2315. elseif TYPE == "Wedge" then
  2316. local MSH = IT("SpecialMesh",PART)
  2317. MSH.MeshType = "Wedge"
  2318. end
  2319. end
  2320.  
  2321. function SpawnTrail(FROM,TO,BIG)
  2322. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  2323. MakeForm(TRAIL,"Cyl")
  2324. local DIST = (FROM - TO).Magnitude
  2325. if BIG == true then
  2326. TRAIL.Size = VT(0.5,DIST,0.5)
  2327. else
  2328. TRAIL.Size = VT(0.25,DIST,0.25)
  2329. end
  2330. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2331. coroutine.resume(coroutine.create(function()
  2332. for i = 1, 25 do
  2333. Swait()
  2334. TRAIL.Transparency = TRAIL.Transparency + 0.05
  2335. end
  2336. TRAIL:remove()
  2337. end))
  2338. end
  2339.  
  2340. Debris = game:GetService("Debris")
  2341.  
  2342. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2343. local DIRECTION = CF(StartPos,EndPos).lookVector
  2344. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2345. end
  2346.  
  2347. function turnto(position)
  2348. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2349. end
  2350.  
  2351. function SpawnSoul(Humanoid)
  2352. coroutine.resume(coroutine.create(function()
  2353. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  2354. local SOULMODEL = IT("Model",Effects)
  2355. SOULMODEL.Name = Humanoid.Parent.Name.."'s Spirit"
  2356. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  2357. SOUL.CFrame = CF(TORSO.Position)
  2358. local A1 = IT("Attachment",SOUL)
  2359. A1.Position = Vector3.new(0, 0.25, 0)
  2360. local A2 = IT("Attachment",SOUL)
  2361. A2.Position = Vector3.new(0, -0.25, 0)
  2362. local Trail = IT("Trail",SOUL)
  2363. Trail.LightEmission = 0.3
  2364. Trail.FaceCamera = true
  2365. Trail.Texture = "rbxassetid://945758042"
  2366. Trail.Attachment0 = A1
  2367. Trail.Attachment1 = A2
  2368. Trail.Lifetime = 0.5
  2369. Trail.MinLength = 0
  2370. Trail.Transparency = NumberSequence.new(0)
  2371. Trail.Color = ColorSequence.new(SOUL.Color)
  2372. MakeForm(SOUL,"Ball")
  2373. local DISTANCE = nil
  2374. local HUM = IT("Humanoid",SOULMODEL)
  2375. repeat
  2376. Swait()
  2377. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  2378. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  2379. until DISTANCE < 0.4
  2380. 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})
  2381. 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})
  2382. SOUL.Transparency = 1
  2383. A1.Parent = Torso
  2384. A2.Parent = Torso
  2385. Trail.Parent = Torso
  2386. Debris:AddItem(SOULMODEL,10)
  2387. SOULWELL = SOULWELL + 1
  2388. for i = 1, 100 do
  2389. Swait()
  2390. Trail.Transparency = NumberSequence.new(i/100)
  2391. end
  2392. A1:remove()
  2393. A2:remove()
  2394. Trail:remove()
  2395. end))
  2396. end
  2397.  
  2398.  
  2399.  
  2400. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2401. if FLOOR ~= nil then
  2402. coroutine.resume(coroutine.create(function()
  2403. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2404. PART.CFrame = CF(POSITION)
  2405. for i = 1, 45 do
  2406. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2407. RingPiece.Material = FLOOR.Material
  2408. RingPiece.Color = FLOOR.Color
  2409. 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)))
  2410. Debris:AddItem(RingPiece,SWAIT)
  2411. end
  2412. PART:remove()
  2413. end))
  2414. end
  2415. end
  2416.  
  2417. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  2418. if FLOOR ~= nil then
  2419. for i = 1, AMOUNT do
  2420. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  2421. DEBREE.Material = FLOOR.Material
  2422. DEBREE.Color = FLOOR.Color
  2423. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2424. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  2425. coroutine.resume(coroutine.create(function()
  2426. Swait(15)
  2427. DEBREE.Parent = workspace
  2428. DEBREE.CanCollide = true
  2429. Debris:AddItem(DEBREE,SWAIT)
  2430. end))
  2431. end
  2432. end
  2433. end
  2434.  
  2435. function chatfunc(text, waitt)
  2436. local chat = coroutine.wrap(function()
  2437. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2438. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  2439. end
  2440. local naeeym2 = Instance.new("BillboardGui", Character)
  2441. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2442. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  2443. naeeym2.Adornee = Character.Head
  2444. naeeym2.Name = "TalkingBillBoard"
  2445. naeeym2.AlwaysOnTop = true
  2446. local tecks2 = Instance.new("TextLabel", naeeym2)
  2447. tecks2.BackgroundTransparency = 1
  2448. tecks2.BorderSizePixel = 0
  2449. tecks2.Text = ""
  2450. tecks2.Font = "Antique"
  2451. tecks2.TextSize = 30
  2452. tecks2.TextStrokeTransparency = 1
  2453. tecks2.TextColor3 = SKILLTEXTCOLOR
  2454. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2455. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2456. for i = 1, string.len(text) do
  2457. if naeeym2.Parent ~= nil then
  2458. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  2459. end
  2460. tecks2.Text = string.sub(text, 1, i)
  2461. Swait(3)
  2462. end
  2463. wait(waitt / 10)
  2464. coroutine.resume(coroutine.create(function()
  2465. for i = 1, 10 do
  2466. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  2467. Swait()
  2468. end
  2469. naeeym2:Destroy()
  2470. end))
  2471. end)
  2472. chat()
  2473. end
  2474.  
  2475. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2476. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2477. local mesh = IT("SpecialMesh", wave)
  2478. mesh.MeshType = "FileMesh"
  2479. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2480. mesh.Scale = SIZE
  2481. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2482. wave.CFrame = CFRAME
  2483. coroutine.resume(coroutine.create(function(PART)
  2484. for i = 1, WAIT do
  2485. Swait()
  2486. mesh.Scale = mesh.Scale + GROW
  2487. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2488. if DOESROT == true then
  2489. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2490. end
  2491. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2492. if wave.Transparency > 0.99 then
  2493. wave:remove()
  2494. end
  2495. end
  2496. end))
  2497. end
  2498. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2499. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2500. local mesh = IT("SpecialMesh", wave)
  2501. mesh.MeshType = "FileMesh"
  2502. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  2503. mesh.Scale = SIZE
  2504. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2505. wave.CFrame = CFRAME
  2506. coroutine.resume(coroutine.create(function(PART)
  2507. for i = 1, WAIT do
  2508. Swait()
  2509. mesh.Scale = mesh.Scale + GROW
  2510. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2511. if DOESROT == true then
  2512. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2513. end
  2514. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2515. if wave.Transparency > 0.99 then
  2516. wave:remove()
  2517. end
  2518. end
  2519. end))
  2520. end
  2521. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2522. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2523. local mesh = IT("SpecialMesh", wave)
  2524. mesh.MeshType = "FileMesh"
  2525. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  2526. mesh.Scale = SIZE
  2527. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2528. wave.CFrame = CFRAME
  2529. coroutine.resume(coroutine.create(function(PART)
  2530. for i = 1, WAIT do
  2531. Swait()
  2532. mesh.Scale = mesh.Scale + GROW
  2533. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2534. if DOESROT == true then
  2535. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2536. end
  2537. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2538. if wave.Transparency > 0.99 then
  2539. wave:remove()
  2540. end
  2541. end
  2542. end))
  2543. end
  2544. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2545. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2546. local mesh = IT("SpecialMesh", wave)
  2547. mesh.MeshType = "FileMesh"
  2548. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  2549. mesh.Scale = SIZE
  2550. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  2551. wave.CFrame = CFRAME
  2552. coroutine.resume(coroutine.create(function(PART)
  2553. for i = 1, WAIT do
  2554. Swait()
  2555. mesh.Scale = mesh.Scale + GROW
  2556. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2557. if DOESROT == true then
  2558. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2559. end
  2560. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2561. if wave.Transparency > 0.99 then
  2562. wave:remove()
  2563. end
  2564. end
  2565. end))
  2566. end
  2567. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  2568. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2569. local mesh = IT("SpecialMesh", wave)
  2570. mesh.MeshType = "FileMesh"
  2571. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2572. mesh.Scale = SIZE
  2573. wave.CFrame = CFRAME
  2574. coroutine.resume(coroutine.create(function(PART)
  2575. for i = 1, WAIT do
  2576. Swait()
  2577. mesh.Scale = mesh.Scale + GROW
  2578. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  2579. if DOESROT == true then
  2580. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2581. end
  2582. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2583. if wave.Transparency > 0.99 then
  2584. wave:remove()
  2585. end
  2586. end
  2587. end))
  2588. end
  2589. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  2590. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2591. local mesh = IT("SpecialMesh", wave)
  2592. mesh.MeshType = "FileMesh"
  2593. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  2594. mesh.Scale = SIZE
  2595. wave.CFrame = CFRAME
  2596. coroutine.resume(coroutine.create(function(PART)
  2597. for i = 1, WAIT do
  2598. Swait()
  2599. mesh.Scale = mesh.Scale + GROW
  2600. if DOESROT == true then
  2601. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2602. end
  2603. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2604. if wave.Transparency > 0.99 then
  2605. wave:remove()
  2606. end
  2607. end
  2608. end))
  2609. end
  2610. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  2611. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  2612. local mesh = IT("SpecialMesh", wave)
  2613. mesh.MeshType = "FileMesh"
  2614. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2615. mesh.Scale = SIZE
  2616. mesh.Offset = VT(0, 0, 0)
  2617. wave.CFrame = CFRAME
  2618. coroutine.resume(coroutine.create(function(PART)
  2619. for i = 1, WAIT do
  2620. Swait()
  2621. mesh.Scale = mesh.Scale + GROW
  2622. if DOESROT == true then
  2623. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  2624. end
  2625. wave.Transparency = wave.Transparency + 0.5 / WAIT
  2626. if wave.Transparency > 0.99 then
  2627. wave:remove()
  2628. end
  2629. end
  2630. end))
  2631. end
  2632. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  2633. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  2634. local mesh = IT("SpecialMesh", wave)
  2635. mesh.MeshType = "Sphere"
  2636. mesh.Scale = SIZE
  2637. mesh.Offset = VT(0, 0, 0)
  2638. wave.CFrame = CFRAME
  2639. coroutine.resume(coroutine.create(function(PART)
  2640. for i = 1, WAIT do
  2641. Swait()
  2642. mesh.Scale = mesh.Scale + GROW
  2643. wave.Transparency = wave.Transparency + 1 / WAIT
  2644. if wave.Transparency > 0.99 then
  2645. wave:remove()
  2646. end
  2647. end
  2648. end))
  2649. end
  2650. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  2651. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  2652. local mesh = IT("BlockMesh", wave)
  2653. wave.CFrame = CFRAME
  2654. coroutine.resume(coroutine.create(function(PART)
  2655. for i = 1, WAIT do
  2656. Swait()
  2657. mesh.Scale = mesh.Scale + GROW
  2658. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  2659. wave.Transparency = wave.Transparency + 1 / WAIT
  2660. if wave.Transparency > 0.99 then
  2661. wave:remove()
  2662. end
  2663. end
  2664. end))
  2665. end
  2666.  
  2667. --//=================================\\
  2668. --|| WEAPON CREATION
  2669. --\\=================================//
  2670.  
  2671. local Particle = IT("ParticleEmitter",nil)
  2672. Particle.Enabled = false
  2673. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2674. Particle.LightEmission = 0.5
  2675. Particle.Rate = 150
  2676. Particle.ZOffset = 0.2
  2677. Particle.Rotation = NumberRange.new(-180, 180)
  2678. Particle.RotSpeed = NumberRange.new(-180, 180)
  2679. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2680. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  2681.  
  2682. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2683. function ParticleEmitter(Table)
  2684. local PRTCL = Particle:Clone()
  2685. local Speed = Table.Speed or 5
  2686. local Drag = Table.Drag or 0
  2687. local Size1 = Table.Size1 or 1
  2688. local Size2 = Table.Size2 or 5
  2689. local Lifetime1 = Table.Lifetime1 or 1
  2690. local Lifetime2 = Table.Lifetime2 or 1.5
  2691. local Parent = Table.Parent or Torso
  2692. local Emit = Table.Emit or 100
  2693. local Offset = Table.Offset or 360
  2694. local Acel = Table.Acel or VT(0,0,0)
  2695. local Enabled = Table.Enabled or false
  2696. PRTCL.Parent = Parent
  2697. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2698. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2699. PRTCL.Speed = NumberRange.new(Speed)
  2700. PRTCL.VelocitySpread = Offset
  2701. PRTCL.Drag = Drag
  2702. PRTCL.Acceleration = Acel
  2703. if Enabled == false then
  2704. PRTCL:Emit(Emit)
  2705. Debris:AddItem(PRTCL,Lifetime2)
  2706. else
  2707. PRTCL.Enabled = true
  2708. end
  2709. return PRTCL
  2710. end
  2711.  
  2712.  
  2713. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  2714. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  2715. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  2716. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  2717. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  2718.  
  2719. local Gun1 = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun1", VT(0, 0, 0), false)
  2720. local HandleMesh = CreateMesh("SpecialMesh", Gun1, "FileMesh", "0", "0", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  2721. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun1, RightArm, Gun1, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  2722.  
  2723.  
  2724. local BODY = {}
  2725.  
  2726. for _, c in pairs(Character:GetDescendants()) do
  2727. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2728. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2729. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2730. end
  2731. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  2732. elseif c:IsA("JointInstance") then
  2733. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  2734. end
  2735. end
  2736.  
  2737. for e = 1, #BODY do
  2738. if BODY[e] ~= nil then
  2739. local STUFF = BODY[e]
  2740. local PART = STUFF[1]
  2741. local PARENT = STUFF[2]
  2742. local MATERIAL = STUFF[3]
  2743. local COLOR = STUFF[4]
  2744. local TRANSPARENCY = STUFF[5]
  2745. if PART.ClassName == "Part" and PART ~= RootPart then
  2746. PART.Material = MATERIAL
  2747. PART.Color = COLOR
  2748. PART.Transparency = TRANSPARENCY
  2749. end
  2750. PART.AncestryChanged:Connect(function()
  2751. PART.Parent = PARENT
  2752. end)
  2753. end
  2754. end
  2755.  
  2756. function refit()
  2757. Character.Parent = workspace
  2758. for e = 1, #BODY do
  2759. if BODY[e] ~= nil then
  2760. local STUFF = BODY[e]
  2761. local PART = STUFF[1]
  2762. local PARENT = STUFF[2]
  2763. local MATERIAL = STUFF[3]
  2764. local COLOR = STUFF[4]
  2765. local TRANSPARENCY = STUFF[5]
  2766. if PART.ClassName == "Part" and PART ~= RootPart then
  2767. PART.Material = MATERIAL
  2768. PART.Color = COLOR
  2769. PART.Transparency = TRANSPARENCY
  2770. end
  2771. if PART.Parent ~= PARENT then
  2772. Humanoid:remove()
  2773. PART.Parent = PARENT
  2774. Humanoid = IT("Humanoid",Character)
  2775. end
  2776. end
  2777. end
  2778. end
  2779.  
  2780. Weapon.Parent = Character
  2781. for _, c in pairs(Weapon:GetChildren()) do
  2782. if c.ClassName == "Part" then
  2783. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2784. end
  2785. end
  2786.  
  2787. local SKILLTEXTCOLOR = C3(1,0,0)
  2788. local SKILLFONT = "Antique"
  2789. local SKILLTEXTSIZE = 7
  2790.  
  2791. Humanoid.Died:connect(function()
  2792. ATTACK = false
  2793. end)
  2794.  
  2795.  
  2796.  
  2797.  
  2798. 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")
  2799. 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")
  2800. 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")
  2801.  
  2802. 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")
  2803.  
  2804. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  2805. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Banish Laser", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  2806. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  2807.  
  2808. local SOULTEXT = CreateLabel(SOULFRAME, "Souls : [0]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Souls")
  2809.  
  2810.  
  2811.  
  2812.  
  2813. function printbye(Name)
  2814. 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, "}
  2815. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2816. end
  2817.  
  2818. workspace.ChildAdded:connect(function(instance)
  2819. for BANISH = 1, #TOBANISH do
  2820. if TOBANISH[BANISH] ~= nil then
  2821. if instance.Name == TOBANISH[BANISH] then
  2822. coroutine.resume(coroutine.create(function()
  2823. printbye(instance.Name)
  2824. instance:ClearAllChildren()
  2825. Debris:AddItem(instance,0.0005)
  2826. end))
  2827. end
  2828. end
  2829. end
  2830. end)
  2831.  
  2832. --//=================================\\
  2833. --|| DAMAGING
  2834. --\\=================================//
  2835.  
  2836. function Banish(Foe)
  2837. if Foe then
  2838. coroutine.resume(coroutine.create(function()
  2839. --if game.Players:FindFirstChild(Foe.Name) then
  2840. table.insert(TOBANISH,Foe.Name)
  2841. printbye(Foe.Name)
  2842. --end
  2843. Foe.Archivable = true
  2844. local CLONE = Foe:Clone()
  2845. Foe:Destroy()
  2846. CLONE.Parent = Effects
  2847. CLONE:BreakJoints()
  2848. local MATERIALS = {"Neon","Neon"}
  2849. for _, c in pairs(CLONE:GetDescendants()) do
  2850. if c:IsA("BasePart") then
  2851. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2852. CreateSound(340722848, c, 10, 1, false)
  2853. end
  2854. c.Anchored = true
  2855. c.Transparency = c.Transparency + 0.2
  2856. c.Material = MATERIALS[MRANDOM(1,2)]
  2857. c.Color = C3(1,0,0)
  2858. if c.ClassName == "MeshPart" then
  2859. c.TextureID = ""
  2860. end
  2861. if c:FindFirstChildOfClass("SpecialMesh") then
  2862. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2863. end
  2864. if c:FindFirstChildOfClass("Decal") then
  2865. c:FindFirstChildOfClass("Decal"):remove()
  2866. end
  2867. c.Name = "Banished"
  2868. c.CanCollide = false
  2869. else
  2870. c:remove()
  2871. end
  2872. end
  2873. local A = false
  2874. for i = 1, 35 do
  2875. if A == false then
  2876. A = true
  2877. elseif A == true then
  2878. A = false
  2879. end
  2880. for _, c in pairs(CLONE:GetDescendants()) do
  2881. if c:IsA("BasePart") then
  2882. c.Anchored = true
  2883. c.Material = MATERIALS[MRANDOM(1,2)]
  2884. c.Transparency = c.Transparency + 0.8/35
  2885. if A == false then
  2886. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  2887. elseif A == true then
  2888. c.CFrame = c.CFrame*CF(MRANDOM(-5,5)/5,MRANDOM(-5,5)/5,MRANDOM(-5,5)/5)
  2889. end
  2890. end
  2891. end
  2892. Swait()
  2893. end
  2894. SpawnSoul(Humanoid)
  2895. Wait(0.1)
  2896. CLONE:remove()
  2897. end))
  2898. end
  2899. end
  2900.  
  2901. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2902. local CHILDREN = workspace:GetDescendants()
  2903. for index, CHILD in pairs(CHILDREN) do
  2904. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2905. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2906. if HUM then
  2907. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2908. if TORSO then
  2909. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2910. if ISBANISH == true then
  2911. Banish(CHILD)
  2912. else
  2913. if ISBANISH == "Gravity" then
  2914. HUM.PlatformStand = true
  2915. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2916. local grav = Instance.new("BodyPosition",TORSO)
  2917. grav.D = 15
  2918. grav.P = 20000
  2919. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2920. grav.position = TORSO.Position
  2921. grav.Name = "V3BanishForce"..Player.Name
  2922. else
  2923. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2924. TORSO.RotVelocity = VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2925. end
  2926. else
  2927. HUM.PlatformStand = false
  2928. end
  2929. end
  2930. elseif ISBANISH == "Gravity" then
  2931. if TORSO:FindFirstChild("f"..Player.Name) then
  2932. TORSO:FindFirstChild("f"..Player.Name)
  2933. HUM.PlatformStand = false
  2934. SpawnSoul(Humanoid)
  2935. end
  2936. end
  2937. end
  2938. end
  2939. end
  2940. end
  2941. end
  2942.  
  2943. --//=================================\\
  2944. --|| ATTACK FUNCTIONS AND STUFF
  2945. --\\=================================//
  2946.  
  2947. function Banisher_Bullet()
  2948. ATTACK = true
  2949. Rooted = false
  2950. for i=0, 0.4, 0.1 / Animation_Speed do
  2951. Swait()
  2952. turnto(Mouse.Hit.p)
  2953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2957. 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)
  2958. 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)
  2959. end
  2960. repeat
  2961. for i=0, 0.2, 0.1 / Animation_Speed do
  2962. Swait()
  2963. turnto(Mouse.Hit.p)
  2964. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2965. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2968. 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)
  2969. 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)
  2970. end
  2971. local HIT,POS = CastProperRay(Gun1.Position, Mouse.Hit.p, 1000, Character)
  2972. SpawnTrail(Gun1.Position,POS)
  2973. if HIT ~= nil then
  2974. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2975. Banish(HIT.Parent)
  2976. end
  2977. end
  2978. 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})
  2979. 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})
  2980. 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})
  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 = 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})
  2983. 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})
  2984. 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)})
  2985. for i=0, 0.3, 0.1 / Animation_Speed do
  2986. Swait()
  2987. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2991. 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)
  2992. 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)
  2993. end
  2994. until KEYHOLD == false
  2995. ATTACK = false
  2996. Rooted = false
  2997. end
  2998. function AttackTemplate()
  2999. ATTACK = true
  3000. Rooted = false
  3001. for i=0, 1, 0.1 / Animation_Speed do
  3002. Swait()
  3003. 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)
  3004. 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)
  3005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3007. 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)
  3008. 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)
  3009. end
  3010. ATTACK = false
  3011. Rooted = false
  3012. end
  3013.  
  3014. function BanishLaser()
  3015. ATTACK = true
  3016. local GYRO = IT("BodyGyro",RootPart)
  3017. GYRO.D = 100
  3018. GYRO.P = 2000
  3019. GYRO.MaxTorque = VT(0,4000000,0)
  3020. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3021. for i=1, 35 do
  3022. Swait()
  3023. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3024. 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})
  3025. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3029. 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)
  3030. 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)
  3031. end
  3032. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  3033. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  3034. local MSH = IT("CylinderMesh",BEAM)
  3035. local TOCH = BEAM.Touched:Connect(function(hit)
  3036. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  3037. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  3038. Banish(hit.Parent)
  3039. end
  3040. end
  3041. end)
  3042. local I = 0
  3043. repeat
  3044. Swait()
  3045. I = I + 1
  3046. if I <= 10 then
  3047. BEAM.Transparency = BEAM.Transparency - 0.1
  3048. end
  3049. local STARTPOS = Gun1.CFrame.p
  3050. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  3051. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  3052. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
  3053. BEAM.Size = VT(1,DISTANCE,1)
  3054. 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})
  3055. 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})
  3056. 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})
  3057. 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})
  3058. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3059. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3060. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3061. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3062. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3063. 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)
  3064. 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)
  3065. if ENDHIT ~= nil then
  3066. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  3067. if ENDHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3068. Banish(ENDHIT.Parent)
  3069. end
  3070. end
  3071. end
  3072. until LOOP.Playing == false
  3073. BEAM:remove()
  3074. GYRO:remove()
  3075. ATTACK = false
  3076. end
  3077.  
  3078. function Teleport()
  3079. ATTACK = true
  3080. Rooted = false
  3081. for i=0, 0.5, 0.1 / Animation_Speed do
  3082. Swait()
  3083. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3087. 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)
  3088. 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)
  3089. end
  3090. for e = 1, #BODY do
  3091. if BODY[e] ~= nil then
  3092. local STUFF = BODY[e]
  3093. local PART = STUFF[1]
  3094. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "Gun1" and PART.Name ~= "Gun" and PART.Transparency ~= 1 then
  3095. local PRT = PART:Clone()
  3096. PRT.Anchored = true
  3097. PRT.CanCollide = false
  3098. PRT.Material = "Neon"
  3099. PRT.Color = C3(1,0,0)
  3100. PRT.Name = "WarpEffect"
  3101. PRT.Parent = Effects
  3102. PRT.CFrame = PART.CFrame
  3103. PRT:BreakJoints()
  3104. if PRT:FindFirstChildOfClass("Sound") then
  3105. PRT:FindFirstChildOfClass("Sound"):remove()
  3106. end
  3107. if PRT:FindFirstChildOfClass("Decal") then
  3108. PRT:FindFirstChildOfClass("Decal"):remove()
  3109. end
  3110. coroutine.resume(coroutine.create(function()
  3111. for i = 1, 500 do
  3112. Swait()
  3113. PRT.Transparency = PRT.Transparency + 1/100
  3114. end
  3115. PRT:remove()
  3116. end))
  3117. end
  3118. end
  3119. end
  3120. CreateSound(217767125, Torso, 10, 1)
  3121. local POS = RootPart.Orientation
  3122. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3123. local HIT,POS = CastProperRay(RootPart.Position, Mouse.Hit.p, 1000, Character)
  3124. SpawnTrail(Gun1.Position,POS)
  3125. RootPart.Orientation = POS
  3126. RootJoint.Parent = RootPart
  3127. 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})
  3128. 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})
  3129. 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})
  3130. 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})
  3131. 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})
  3132. for i=0, 0.5, 0.1 / Animation_Speed do
  3133. Swait()
  3134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3138. 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)
  3139. 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)
  3140. end
  3141. for i=0, 0.1, 0.1 / Animation_Speed do
  3142. Swait()
  3143. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3147. 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)
  3148. 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)
  3149. end
  3150. ATTACK = false
  3151. Rooted = false
  3152. end
  3153.  
  3154.  
  3155. function BanishingRampage()
  3156. ATTACK = true
  3157. Rooted = false
  3158. chatfunc("...", 3)
  3159. wait(1)
  3160. chatfunc("Be gone.....", 3)
  3161. for i = 0, 2, 0.1 / Animation_Speed do
  3162. Swait()
  3163. turnto(Mouse.Hit.p)
  3164. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  3165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3168. 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)
  3169. 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)
  3170. end
  3171. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3172. repeat
  3173. Swait()
  3174. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3175. until HITFLOOR ~= nil
  3176. CreateSound("238353911", Gun1, 10, MRANDOM(9, 11) / 10)
  3177. for i = 1, 75 do
  3178. 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})
  3179. 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})
  3180. 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})
  3181. end
  3182. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  3183. CreateSound("138677306", Effects, 7, 1.2)
  3184. coroutine.resume(coroutine.create(function()
  3185. local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  3186. local SIZE = 1
  3187. while true do
  3188. Swait()
  3189. for i = 1, 2 do
  3190. 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)
  3191. end
  3192. do
  3193. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  3194. Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  3195. coroutine.resume(coroutine.create(function()
  3196. Swait(200)
  3197. Part.Anchored = false
  3198. end))
  3199. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  3200. Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  3201. coroutine.resume(coroutine.create(function()
  3202. Swait(200)
  3203. Part.Anchored = false
  3204. end))
  3205. MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  3206. ApplyAoE(CFRAME.p, SIZE, 0)
  3207. SIZE = SIZE + 2
  3208. CFRAME = CFRAME * CF(0, 0, -2)
  3209. if SOUND.Playing == false then
  3210. break
  3211. end
  3212. end
  3213. end
  3214. end))
  3215. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  3216. MagicSphere(VT(0.1, 0.1, 0.1), 45, Gun1.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  3217. for i = 0, 3, 0.1 / Animation_Speed do
  3218. Swait()
  3219. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  3220. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3221. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3223. 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)
  3224. 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)
  3225. end
  3226. ATTACK = false
  3227. Rooted = false
  3228. end
  3229.  
  3230. function SpawnChaos(POS,SIZE,ISDEBREE,ORIPOS)
  3231. coroutine.resume(coroutine.create(function()
  3232. local METEOR = IT("Model",Effects)
  3233. METEOR.Name = "Meteorite"
  3234. local CENTER = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  3235. METEOR.PrimaryPart = CENTER
  3236. local PRT = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "MeteorCenter", VT(5,5,5)*SIZE)
  3237. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3238. for i = 1, 15 do
  3239. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  3240. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3241. end
  3242. if ISDEBREE ~= true then
  3243. 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))))
  3244. else
  3245. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3246. end
  3247. local IMPACT = false
  3248. CreateSound(463593339, CENTER, 10, 0.6)
  3249. if SIZE >= 3.5 then
  3250. for i = 1, MRANDOM(3,7) do
  3251. 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)
  3252. end
  3253. end
  3254. for i = 1, 200 do
  3255. Swait()
  3256. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3257. if HITFLOOR == nil then
  3258. local ORI = CENTER.Orientation
  3259. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3260. else
  3261. if HITFLOOR.Anchored == true then
  3262. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3263. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3264. end
  3265. IMPACT = true
  3266. break
  3267. end
  3268. end
  3269. if IMPACT == true then
  3270. 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})
  3271. 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})
  3272. 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})
  3273. ApplyAoE(CENTER.Position,30*25)
  3274. end
  3275. METEOR:remove()
  3276. end))
  3277. end
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283. function SpectralBanishing()
  3284. ATTACK = true
  3285. Rooted = false
  3286. chatfunc("Your time has ended...", 20)
  3287. for i = 0, 5, 0.1 / Animation_Speed do
  3288. Swait()
  3289. 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)
  3290. 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)
  3291. 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)
  3292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3293. 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)
  3294. 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)
  3295. end
  3296. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  3297. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  3298. local MSH = IT("CylinderMesh",BEAM)
  3299. local STARTPOS = Gun1.CFrame.p
  3300. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  3301. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  3302. BEAM.CFrame = CF(STARTPOS,ENDPOS)
  3303. BEAM.Size = VT(1,DISTANCE,1)
  3304. 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})
  3305. I = I + 1
  3306. if I <= 10 then
  3307. BEAM.Transparency = BEAM.Transparency - 0.1
  3308. end
  3309. Swait(10)
  3310. Swait(1)
  3311. SpawnChaos(Mouse.Hit.p,100/100)
  3312. Swait(1)
  3313. Swait(1)
  3314. SpawnChaos(Mouse.Hit.p,100/100)
  3315. Swait(1)
  3316. Swait(1)
  3317. SpawnChaos(Mouse.Hit.p,100/100)
  3318. Swait(1)
  3319. Swait(1)
  3320. SpawnChaos(Mouse.Hit.p,100/100)
  3321. Swait(1)
  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. SpawnChaos(Mouse.Hit.p,100/100)
  3328. for i = 0, 2, 0.1 / Animation_Speed do
  3329. Swait()
  3330. 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)
  3331. 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)
  3332. 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)
  3333. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  3334. 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)
  3335. 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)
  3336. end
  3337. BEAM:remove()
  3338. ATTACK = false
  3339. Rooted = false
  3340. end
  3341.  
  3342.  
  3343. --//=================================\\
  3344. --|| ASSIGN THINGS TO KEYS
  3345. --\\=================================//
  3346.  
  3347. function MouseDown(Mouse)
  3348. if ATTACK == false then
  3349. end
  3350. end
  3351.  
  3352. function MouseUp(Mouse)
  3353. HOLD = false
  3354. end
  3355.  
  3356. function KeyDown(Key)
  3357. KEYHOLD = true
  3358. if Key == "z" and ATTACK == false then
  3359. Banisher_Bullet()
  3360. end
  3361.  
  3362. if Key == "b" and ATTACK == false then
  3363. SpectralBanishing()
  3364. end
  3365.  
  3366. if Key == "c" and ATTACK == false then
  3367. Teleport()
  3368. end
  3369.  
  3370. if Key == "v" and ATTACK == false then
  3371. BanishingRampage()
  3372. end
  3373.  
  3374. if Key == "x" and ATTACK == false then
  3375. BanishLaser()
  3376. end
  3377. end
  3378.  
  3379. function KeyUp(Key)
  3380. KEYHOLD = false
  3381. end
  3382.  
  3383. Mouse.Button1Down:connect(function(NEWKEY)
  3384. MouseDown(NEWKEY)
  3385. end)
  3386. Mouse.Button1Up:connect(function(NEWKEY)
  3387. MouseUp(NEWKEY)
  3388. end)
  3389. Mouse.KeyDown:connect(function(NEWKEY)
  3390. KeyDown(NEWKEY)
  3391. end)
  3392. Mouse.KeyUp:connect(function(NEWKEY)
  3393. KeyUp(NEWKEY)
  3394. end)
  3395.  
  3396. --//=================================\\
  3397. --\\=================================//
  3398.  
  3399.  
  3400. function unanchor()
  3401. if UNANCHOR == true then
  3402. g = Character:GetChildren()
  3403. for i = 1, #g do
  3404. if g[i].ClassName == "Part" then
  3405. g[i].Anchored = false
  3406. end
  3407. end
  3408. end
  3409. end
  3410.  
  3411.  
  3412. --//=================================\\
  3413. --|| WRAP THE WHOLE SCRIPT UP
  3414. --\\=================================//
  3415.  
  3416. Humanoid.Changed:connect(function(Jump)
  3417. if Jump == "Jump" and (Disable_Jump == true) then
  3418. Humanoid.Jump = false
  3419. end
  3420. end)
  3421.  
  3422. local CONNECT = nil
  3423.  
  3424. while true do
  3425. Swait()
  3426. ANIMATE.Parent = nil
  3427. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3428. Humanoid = IT("Humanoid",Character)
  3429. end
  3430. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3431. v:Stop();
  3432. end
  3433. SINE = SINE + CHANGE
  3434. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3435. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3436. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3437. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  3438. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3439. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3440. 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)
  3441. 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)
  3442. 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)
  3443. 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)
  3444. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  3445. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3446. 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)
  3447. 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)
  3448. 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)
  3449. end
  3450. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3451. ANIM = "Jump"
  3452. if ATTACK == false then
  3453. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3457. 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)
  3458. 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)
  3459. end
  3460. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3461. ANIM = "Fall"
  3462. if ATTACK == false then
  3463. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3467. 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)
  3468. 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)
  3469. end
  3470. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3471. ANIM = "Idle"
  3472. if ATTACK == false then
  3473. 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)
  3474. 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)
  3475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3477. 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)
  3478. 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)
  3479. end
  3480. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3481. ANIM = "Walk"
  3482. WALK = WALK + 1 / Animation_Speed
  3483. if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  3484. WALK = 0
  3485. if WALKINGANIM == true then
  3486. WALKINGANIM = false
  3487. elseif WALKINGANIM == false then
  3488. WALKINGANIM = true
  3489. end
  3490. end
  3491. if ATTACK == false then
  3492. 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)
  3493. 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)
  3494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3495. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3496. 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)
  3497. 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)
  3498. end
  3499. end
  3500. unanchor()
  3501. Humanoid.MaxHealth = "inf"
  3502. Humanoid.Health = "inf"
  3503. if Rooted == false then
  3504. Disable_Jump = false
  3505. Humanoid.WalkSpeed = Speed
  3506. elseif Rooted == true then
  3507. Disable_Jump = true
  3508. Humanoid.WalkSpeed = 0
  3509. end
  3510. if MRANDOM(1,25) == 1 then
  3511. 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)
  3512. end
  3513. sick.Parent = Torso
  3514. sick:resume()
  3515. sick.Volume = 1.25
  3516. sick.Pitch = 1.01
  3517. sick.SoundId = "rbxassetid://1411553759"
  3518. sick.Name = "BanishV3Music"
  3519. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  3520. if VALUE1 == false then
  3521. SKILL3TEXT.Text = "[C] Soul Rage"
  3522. else
  3523. SKILL3TEXT.Text = "["..VALUE2.."] Soul Rage"
  3524. end
  3525. end
  3526.  
  3527. --//=================================\\
  3528. --\\=================================//
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534. --//====================================================\\--
  3535. --|| END OF SCRIPT
  3536. --\\====================================================//--"
  3537. sick.Name = "BanishV3Music"
  3538. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  3539. if VALUE1 == false then
  3540. SKILL3TEXT.Text = "[C] Soul Rage"
  3541. else
  3542. SKILL3TEXT.Text = "["..VALUE2.."] Soul Rage"
  3543. end
  3544. end
  3545.  
  3546. --//=================================\\
  3547. --\\=================================//
  3548.  
  3549.  
  3550.  
  3551.  
  3552.  
  3553. --//====================================================\\--
  3554. --|| END OF SCRIPT
  3555. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement