Advertisement
Veltr

uno

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