Advertisement
uor

Untitled

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