Advertisement
Christoffer07700Extr

Lord Banisher V5 FE

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