Advertisement
yabagaba

Untitled

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