Advertisement
Basykung7845

Void banisher

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