Advertisement
Guest User

Untitled

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