Advertisement
Black_Magic

Untitled

Oct 12th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 118.86 KB | None | 0 0
  1. local Player = game.Players:WaitForChild(_G.target)
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62. wait(0.2)
  63.  
  64.  
  65. PlayerGui = Player.PlayerGui
  66. Cam = workspace.CurrentCamera
  67. Backpack = Player.Backpack
  68. Character = Player.Character
  69. Humanoid = Character.Humanoid
  70. RootPart = Character["HumanoidRootPart"]
  71. Torso = Character["Torso"]
  72. Head = Character["Head"]
  73. RightArm = Character["Right Arm"]
  74. LeftArm = Character["Left Arm"]
  75. RightLeg = Character["Right Leg"]
  76. LeftLeg = Character["Left Leg"]
  77. RootJoint = RootPart["RootJoint"]
  78. Neck = Torso["Neck"]
  79. RightShoulder = Torso["Right Shoulder"]
  80. LeftShoulder = Torso["Left Shoulder"]
  81. RightHip = Torso["Right Hip"]
  82. LeftHip = Torso["Left Hip"]
  83.  
  84. IT = Instance.new
  85. CF = CFrame.new
  86. VT = Vector3.new
  87. RAD = math.rad
  88. C3 = Color3.new
  89. UD2 = UDim2.new
  90. BRICKC = BrickColor.new
  91. ANGLES = CFrame.Angles
  92. EULER = CFrame.fromEulerAnglesXYZ
  93. COS = math.cos
  94. ACOS = math.acos
  95. SIN = math.sin
  96. ASIN = math.asin
  97. ABS = math.abs
  98. MRANDOM = math.random
  99. FLOOR = math.floor
  100.  
  101. --//=================================\\
  102. --|| USEFUL VALUES
  103. --\\=================================//
  104.  
  105. Animation_Speed = 3
  106. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  107. local Speed = 16
  108. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  109. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  110. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  111. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  112. local DAMAGEMULTIPLIER = 1
  113. local ANIM = "Idle"
  114. local ATTACK = false
  115. local EQUIPPED = false
  116. local HOLD = false
  117. local COMBO = 1
  118. local Rooted = false
  119. local SINE = 0
  120. local KEYHOLD = false
  121. local CHANGE = 2 / Animation_Speed
  122. local WALKINGANIM = false
  123. local VALUE1 = false
  124. local VALUE2 = false
  125. local ROBLOXIDLEANIMATION = IT("Animation")
  126. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  127. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  128. --ROBLOXIDLEANIMATION.Parent = Humanoid
  129. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  130. WEAPONGUI.Name = "Weapon GUI"
  131. local re = IT("Model")
  132. re.Name = "Adds"
  133. local Effects = IT("Folder", Character)
  134. Effects.Name = "Effects"
  135. local ANIMATOR = Humanoid.Animator
  136. local ANIMATE = Character.Animate
  137. local UNANCHOR = true
  138. local CUSTOMANGLES = true
  139. local CLOCKLOOP = 0
  140. local SONG = 1382488262
  141. local CLOCKTARGET = nil
  142. local CLOCKSPEED = 0
  143. script.Parent = WEAPONGUI
  144.  
  145. --//=================================\\
  146. --\\=================================//
  147.  
  148.  
  149. --//=================================\\
  150. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  151. --\\=================================//
  152.  
  153. ArtificialHB = Instance.new("BindableEvent", script)
  154. ArtificialHB.Name = "ArtificialHB"
  155.  
  156. script:WaitForChild("ArtificialHB")
  157.  
  158. frame = Frame_Speed
  159. tf = 0
  160. allowframeloss = false
  161. tossremainder = false
  162. lastframe = tick()
  163. script.ArtificialHB:Fire()
  164.  
  165. game:GetService("RunService").Heartbeat:connect(function(s, p)
  166. tf = tf + s
  167. if tf >= frame then
  168. if allowframeloss then
  169. ArtificialHB:Fire()
  170. lastframe = tick()
  171. else
  172. for i = 1, math.floor(tf / frame) do
  173. ArtificialHB:Fire()
  174. end
  175. lastframe = tick()
  176. end
  177. if tossremainder then
  178. tf = 0
  179. else
  180. tf = tf - frame * math.floor(tf / frame)
  181. end
  182. end
  183. end)
  184.  
  185. --//=================================\\
  186. --\\=================================//
  187.  
  188. --//=================================\\
  189. --|| SOME FUNCTIONS
  190. --\\=================================//
  191.  
  192. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  193. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  194. end
  195.  
  196. function PositiveAngle(NUMBER)
  197. if NUMBER >= 0 then
  198. NUMBER = 0
  199. end
  200. return NUMBER
  201. end
  202.  
  203. function NegativeAngle(NUMBER)
  204. if NUMBER <= 0 then
  205. NUMBER = 0
  206. end
  207. return NUMBER
  208. end
  209.  
  210. function Swait(NUMBER)
  211. if NUMBER == 0 or NUMBER == nil then
  212. ArtificialHB.Event:wait()
  213. else
  214. for i = 1, NUMBER do
  215. ArtificialHB.Event:wait()
  216. end
  217. end
  218. end
  219.  
  220. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  221. local NEWMESH = IT(MESH)
  222. if MESH == "SpecialMesh" then
  223. NEWMESH.MeshType = MESHTYPE
  224. if MESHID ~= "nil" and MESHID ~= "" then
  225. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  226. end
  227. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  228. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  229. end
  230. end
  231. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  232. NEWMESH.Scale = SCALE
  233. NEWMESH.Parent = PARENT
  234. return NEWMESH
  235. end
  236.  
  237. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  238. local NEWPART = IT("Part")
  239. NEWPART.formFactor = FORMFACTOR
  240. NEWPART.Reflectance = REFLECTANCE
  241. NEWPART.Transparency = TRANSPARENCY
  242. NEWPART.CanCollide = false
  243. NEWPART.Locked = true
  244. NEWPART.Anchored = true
  245. if ANCHOR == false then
  246. NEWPART.Anchored = false
  247. end
  248. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  249. NEWPART.Name = NAME
  250. NEWPART.Size = SIZE
  251. NEWPART.Position = Torso.Position
  252. NEWPART.Material = MATERIAL
  253. NEWPART:BreakJoints()
  254. NEWPART.Parent = PARENT
  255. return NEWPART
  256. end
  257.  
  258. local function weldBetween(a, b)
  259. local weldd = Instance.new("ManualWeld")
  260. weldd.Part0 = a
  261. weldd.Part1 = b
  262. weldd.C0 = CFrame.new()
  263. weldd.C1 = b.CFrame:inverse() * a.CFrame
  264. weldd.Parent = a
  265. return weldd
  266. end
  267.  
  268.  
  269. function QuaternionFromCFrame(cf)
  270. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  271. local trace = m00 + m11 + m22
  272. if trace > 0 then
  273. local s = math.sqrt(1 + trace)
  274. local recip = 0.5 / s
  275. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  276. else
  277. local i = 0
  278. if m11 > m00 then
  279. i = 1
  280. end
  281. if m22 > (i == 0 and m00 or m11) then
  282. i = 2
  283. end
  284. if i == 0 then
  285. local s = math.sqrt(m00 - m11 - m22 + 1)
  286. local recip = 0.5 / s
  287. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  288. elseif i == 1 then
  289. local s = math.sqrt(m11 - m22 - m00 + 1)
  290. local recip = 0.5 / s
  291. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  292. elseif i == 2 then
  293. local s = math.sqrt(m22 - m00 - m11 + 1)
  294. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  295. end
  296. end
  297. end
  298.  
  299. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  300. local xs, ys, zs = x + x, y + y, z + z
  301. local wx, wy, wz = w * xs, w * ys, w * zs
  302. local xx = x * xs
  303. local xy = x * ys
  304. local xz = x * zs
  305. local yy = y * ys
  306. local yz = y * zs
  307. local zz = z * zs
  308. 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))
  309. end
  310.  
  311. function QuaternionSlerp(a, b, t)
  312. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  313. local startInterp, finishInterp;
  314. if cosTheta >= 0.0001 then
  315. if (1 - cosTheta) > 0.0001 then
  316. local theta = ACOS(cosTheta)
  317. local invSinTheta = 1 / SIN(theta)
  318. startInterp = SIN((1 - t) * theta) * invSinTheta
  319. finishInterp = SIN(t * theta) * invSinTheta
  320. else
  321. startInterp = 1 - t
  322. finishInterp = t
  323. end
  324. else
  325. if (1 + cosTheta) > 0.0001 then
  326. local theta = ACOS(-cosTheta)
  327. local invSinTheta = 1 / SIN(theta)
  328. startInterp = SIN((t - 1) * theta) * invSinTheta
  329. finishInterp = SIN(t * theta) * invSinTheta
  330. else
  331. startInterp = t - 1
  332. finishInterp = t
  333. end
  334. end
  335. 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
  336. end
  337.  
  338. function Clerp(a, b, t)
  339. local qa = {QuaternionFromCFrame(a)}
  340. local qb = {QuaternionFromCFrame(b)}
  341. local ax, ay, az = a.x, a.y, a.z
  342. local bx, by, bz = b.x, b.y, b.z
  343. local _t = 1 - t
  344. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  345. end
  346.  
  347. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  348. local frame = IT("Frame")
  349. frame.BackgroundTransparency = TRANSPARENCY
  350. frame.BorderSizePixel = BORDERSIZEPIXEL
  351. frame.Position = POSITION
  352. frame.Size = SIZE
  353. frame.BackgroundColor3 = COLOR
  354. frame.BorderColor3 = BORDERCOLOR
  355. frame.Name = NAME
  356. frame.Parent = PARENT
  357. return frame
  358. end
  359.  
  360. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  361. local label = IT("TextLabel")
  362. label.BackgroundTransparency = 1
  363. label.Size = UD2(1, 0, 1, 0)
  364. label.Position = UD2(0, 0, 0, 0)
  365. label.TextColor3 = TEXTCOLOR
  366. label.TextStrokeTransparency = STROKETRANSPARENCY
  367. label.TextTransparency = TRANSPARENCY
  368. label.FontSize = TEXTFONTSIZE
  369. label.Font = TEXTFONT
  370. label.BorderSizePixel = BORDERSIZEPIXEL
  371. label.TextScaled = false
  372. label.Text = TEXT
  373. label.Name = NAME
  374. label.Parent = PARENT
  375. return label
  376. end
  377.  
  378. function NoOutlines(PART)
  379. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  380. end
  381.  
  382. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  383. local NEWWELD = IT(TYPE)
  384. NEWWELD.Part0 = PART0
  385. NEWWELD.Part1 = PART1
  386. NEWWELD.C0 = C0
  387. NEWWELD.C1 = C1
  388. NEWWELD.Parent = PARENT
  389. return NEWWELD
  390. end
  391.  
  392. local S = IT("Sound")
  393. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  394. local NEWSOUND = nil
  395. coroutine.resume(coroutine.create(function()
  396. NEWSOUND = S:Clone()
  397. NEWSOUND.Parent = PARENT
  398. NEWSOUND.Volume = VOLUME
  399. NEWSOUND.Pitch = PITCH
  400. NEWSOUND.SoundId = "rbxassetid://"..ID
  401. NEWSOUND:play()
  402. if DOESLOOP == true then
  403. NEWSOUND.Looped = true
  404. else
  405. repeat wait(1) until NEWSOUND.Playing == false
  406. NEWSOUND:remove()
  407. end
  408. end))
  409. return NEWSOUND
  410. end
  411.  
  412. function CFrameFromTopBack(at, top, back)
  413. local right = top:Cross(back)
  414. 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)
  415. end
  416.  
  417. --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, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  418. function WACKYEFFECT(Table)
  419. local TYPE = (Table.EffectType or "Sphere")
  420. local SIZE = (Table.Size or VT(1,1,1))
  421. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  422. local TRANSPARENCY = (Table.Transparency or 0)
  423. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  424. local CFRAME = (Table.CFrame or Torso.CFrame)
  425. local MOVEDIRECTION = (Table.MoveToPos or nil)
  426. local ROTATION1 = (Table.RotationX or 0)
  427. local ROTATION2 = (Table.RotationY or 0)
  428. local ROTATION3 = (Table.RotationZ or 0)
  429. local MATERIAL = (Table.Material or "Neon")
  430. local COLOR = (Table.Color or C3(1,1,1))
  431. local TIME = (Table.Time or 45)
  432. local SOUNDID = (Table.SoundID or nil)
  433. local SOUNDPITCH = (Table.SoundPitch or nil)
  434. local SOUNDVOLUME = (Table.SoundVolume or nil)
  435. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  436. local BOOMERANG = (Table.Boomerang or 0)
  437. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  438. coroutine.resume(coroutine.create(function()
  439. local PLAYSSOUND = false
  440. local SOUND = nil
  441. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  442. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  443. PLAYSSOUND = true
  444. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  445. end
  446. EFFECT.Color = COLOR
  447. local MSH = nil
  448. if TYPE == "Sphere" then
  449. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  450. elseif TYPE == "Block" or TYPE == "Box" then
  451. MSH = IT("BlockMesh",EFFECT)
  452. MSH.Scale = SIZE
  453. elseif TYPE == "Wave" then
  454. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  455. elseif TYPE == "Ring" then
  456. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  457. elseif TYPE == "Slash" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  459. elseif TYPE == "Round Slash" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  461. elseif TYPE == "Swirl" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  463. elseif TYPE == "Skull" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  465. elseif TYPE == "Crystal" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  467. end
  468. if MSH ~= nil then
  469. local BOOMR1 = 1+BOOMERANG/50
  470. local BOOMR2 = 1+SIZEBOOMERANG/50
  471. local MOVESPEED = nil
  472. if MOVEDIRECTION ~= nil then
  473. if USEBOOMERANGMATH == true then
  474. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  475. else
  476. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  477. end
  478. end
  479. local GROWTH = nil
  480. if USEBOOMERANGMATH == true then
  481. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  482. else
  483. GROWTH = (SIZE - ENDSIZE)
  484. end
  485. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  486. if TYPE == "Block" then
  487. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  488. else
  489. EFFECT.CFrame = CFRAME
  490. end
  491. if USEBOOMERANGMATH == true then
  492. for LOOP = 1, TIME+1 do
  493. Swait()
  494. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  495. if TYPE == "Wave" then
  496. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  497. end
  498. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  499. if TYPE == "Block" then
  500. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  501. else
  502. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  503. end
  504. if MOVEDIRECTION ~= nil then
  505. local ORI = EFFECT.Orientation
  506. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  507. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  508. end
  509. end
  510. else
  511. for LOOP = 1, TIME+1 do
  512. Swait()
  513. MSH.Scale = MSH.Scale - GROWTH/TIME
  514. if TYPE == "Wave" then
  515. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  516. end
  517. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  518. if TYPE == "Block" then
  519. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  520. else
  521. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  522. end
  523. if MOVEDIRECTION ~= nil then
  524. local ORI = EFFECT.Orientation
  525. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  526. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  527. end
  528. end
  529. end
  530. EFFECT.Transparency = 1
  531. if PLAYSSOUND == false then
  532. EFFECT:remove()
  533. else
  534. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  535. EFFECT:remove()
  536. end
  537. else
  538. if PLAYSSOUND == false then
  539. EFFECT:remove()
  540. else
  541. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  542. EFFECT:remove()
  543. end
  544. end
  545. end))
  546. end
  547.  
  548. function MakeForm(PART,TYPE)
  549. if TYPE == "Cyl" then
  550. local MSH = IT("CylinderMesh",PART)
  551. elseif TYPE == "Ball" then
  552. local MSH = IT("SpecialMesh",PART)
  553. MSH.MeshType = "Sphere"
  554. elseif TYPE == "Wedge" then
  555. local MSH = IT("SpecialMesh",PART)
  556. MSH.MeshType = "Wedge"
  557. end
  558. end
  559.  
  560. Debris = game:GetService("Debris")
  561.  
  562. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  563. local DIRECTION = CF(StartPos,EndPos).lookVector
  564. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  565. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  566. end
  567. --ld
  568. local cR=255
  569. local cG=0
  570. local cB=0
  571. local flg5=1 local omgidk=1
  572. local add=15
  573. game:GetService("RunService").Heartbeat:Connect(function()
  574. if omgidk>10000 then omgidk=0 end
  575. omgidk=omgidk+1
  576. if cR>=255 then flg5=1 end
  577. if cG>=255 then flg5=2 end
  578. if cB>=255 then flg5=3 end
  579. if flg5==1 then cR=cR-add cG=cG+add end
  580. if flg5==2 then cG=cG-add cB=cB+add end
  581. if flg5==3 then cB=cB-add cR=cR+add end
  582. color=Color3.fromRGB(cR,cG,cB)
  583.  
  584. end)
  585. --rr
  586. local Particle = IT("ParticleEmitter",nil)
  587. Particle.Enabled = false
  588. Particle.LightEmission = 0.8
  589. Particle.Rate = 150
  590. Particle.ZOffset = 1
  591. Particle.Rotation = NumberRange.new(-180, 180)
  592. coroutine.resume(coroutine.create(function()
  593. while wait() do
  594. Particle.Color = color
  595. end
  596. end))
  597. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  598. function ParticleEmitter(Table)
  599. local PRTCL = Particle:Clone()
  600. local Color1 = Table.Color1 or C3(1,1,1)
  601. local Color2 = Table.Color2 or C3(1,1,1)
  602. local Speed = Table.Speed or 5
  603. local Drag = Table.Drag or 0
  604. local Size1 = Table.Size1 or 1
  605. local Size2 = Table.Size2 or 5
  606. local Lifetime1 = Table.Lifetime1 or 1
  607. local Lifetime2 = Table.Lifetime2 or 1.5
  608. local Parent = Table.Parent or Torso
  609. local Emit = Table.Emit or 100
  610. local Offset = Table.Offset or 360
  611. local Acel = Table.Acel or VT(0,0,0)
  612. local Enabled = Table.Enabled or false
  613. local Texture = Table.Texture or "281983280"
  614. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  615. local Trans1 = Table.Transparency1 or 0
  616. local Trans2 = Table.Transparency2 or 0
  617. PRTCL.Parent = Parent
  618. PRTCL.RotSpeed = RotS
  619. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  620. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  621. PRTCL.Color = ColorSequence.new(Color1,Color2)
  622. PRTCL.Size = NumberSequence.new(Size1,Size2)
  623. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  624. PRTCL.Speed = NumberRange.new(Speed)
  625. PRTCL.VelocitySpread = Offset
  626. PRTCL.Drag = Drag
  627. PRTCL.Acceleration = Acel
  628. if Enabled == false then
  629. PRTCL:Emit(Emit)
  630. Debris:AddItem(PRTCL,Lifetime2)
  631. else
  632. PRTCL.Enabled = true
  633. end
  634. return PRTCL
  635. end
  636.  
  637. function AttackGyro()
  638. local GYRO = IT("BodyGyro",RootPart)
  639. GYRO.D = 15
  640. GYRO.P = 200000
  641. GYRO.MaxTorque = VT(0,4000000,0)
  642. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  643. coroutine.resume(coroutine.create(function()
  644. repeat
  645. Swait()
  646. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  647. until ATTACK == false
  648. GYRO:Remove()
  649. end))
  650. end
  651.  
  652. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  653. local weld = Instance.new("Weld")
  654. weld.Parent = parent
  655. weld.Part0 = part0
  656. weld.Part1 = part1
  657. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  658. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  659. return weld
  660. end
  661.  
  662. --//=================================\\
  663. --|| GUIS AND MISC
  664. --\\=================================//
  665.  
  666. local CAMTYPE = Cam.CameraType
  667. Cam.CameraType = Enum.CameraType.Scriptable
  668.  
  669. local ATTACKS = {2035463713,2035463980,2035464212,2035464495}
  670.  
  671. local BMUSIC = IT("Sound",RootPart)
  672. local VOLUME = 4.5
  673. local PITCH = 1.15
  674. local SONGID = 904882921
  675. local INTROD = false
  676. local SUN = CreatePart(3, re, "Neon", 0, 0, BRICKC("New Yeller"), "Eye", VT(17,17,17), true)
  677. MakeForm(SUN,"Ball")
  678.  
  679. local naeeym2 = IT("BillboardGui",Character)
  680. naeeym2.AlwaysOnTop = true
  681. naeeym2.Size = UDim2.new(5,35,2,15)
  682. naeeym2.StudsOffset = Vector3.new(0,8.7,0)
  683. naeeym2.MaxDistance = 75
  684. naeeym2.Adornee = SUN
  685. naeeym2.Name = "Name"
  686. local tecks2 = IT("TextLabel",naeeym2)
  687. tecks2.BackgroundTransparency = 1
  688. tecks2.TextScaled = true
  689. tecks2.BorderSizePixel = 0
  690. tecks2.Text = " "
  691. tecks2.Font = "Fantasy"
  692. tecks2.TextSize = 35
  693. tecks2.TextStrokeTransparency = 0
  694. tecks2.Size = UDim2.new(1,0,0.5,0)
  695. tecks2.Parent = naeeym2
  696.  
  697. local SIZE = 1
  698. local PRT = CreatePart(3, re, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.2,1.05)*SIZE,false)
  699. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  700. local A = IT("Attachment",PRT)
  701. A.Position = VT(-0.5,0,0)
  702. local B = IT("Attachment",PRT)
  703. B.Position = VT(0.5,0,0)
  704. local Trail = IT("Trail",PRT)
  705. Trail.Attachment0 = A
  706. Trail.Attachment1 = B
  707. Trail.Lifetime = 1
  708. Trail.Transparency = NumberSequence.new(0, 1)
  709. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  710. Trail.Enabled = true
  711. local PRT2 = CreatePart(3, re, "Metal", 0, 0, "Mid gray", "Watch3", VT(1.05,0.2,1.05)*SIZE,false)
  712. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, PRT2, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  713. --gay--
  714. local Gun = IT("Model")
  715. Gun.Name = "Adds"
  716.  
  717. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  718. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(1.2, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  719. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  720. MakeForm(Part,"Wedge")
  721. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  722. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  723. MakeForm(Part,"Wedge")
  724. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  725. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  727. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  728. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  729. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  730. MakeForm(Part,"Cyl")
  731. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  732. for i = 1, 8 do
  733. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  734. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  735. end
  736. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  737. MakeForm(Part,"Cyl")
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  740. MakeForm(Part,"Ball")
  741. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  742. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  743. MakeForm(Part,"Wedge")
  744. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  745. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  747. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  748. MakeForm(Part,"Cyl")
  749. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  750. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  751. MakeForm(Part,"Cyl")
  752. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  753. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  754. MakeForm(Part,"Cyl")
  755. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  757. MakeForm(Part,"Wedge")
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  759. local LASTPART = Handle
  760. for i = 1, 10 do
  761. if LASTPART == Handle then
  762. local Part = CreatePart(3, Gun, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  763. LASTPART = Part
  764. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  765. else
  766. local Part = CreatePart(3,Gun, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  767. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  768. LASTPART = Part
  769. end
  770. end
  771.  
  772. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  773. MakeForm(Barrel,"Cyl")
  774. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  775. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  776. MakeForm(Part,"Cyl")
  777. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  778. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  779. MakeForm(Part,"Wedge")
  780. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  781. local Hole2 = CreatePart(3, Gun, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  782. MakeForm(Hole2,"Cyl")
  783. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  784. local Part = CreatePart(3, Gun, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  785. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  786. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  787. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  788. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  789. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  790. coroutine.resume(coroutine.create(function()
  791. while wait() do
  792. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  793. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  794. end
  795. end))
  796.  
  797. --gay2
  798. local Gun2 = IT("Model")
  799. Gun2.Name = "Adds"
  800.  
  801. local Handle2 = CreatePart(3,Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  802. local LeftArmGrasp = nil
  803. LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  804. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  805. MakeForm(Part,"Wedge")
  806. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  807. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  808. MakeForm(Part,"Wedge")
  809. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  810. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  811. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  812. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  813. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  814. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  815. MakeForm(Part,"Cyl")
  816. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  817. for i = 1, 8 do
  818. local Piece = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  819. CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  820. end
  821. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  822. MakeForm(Part,"Cyl")
  823. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  824. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  825. MakeForm(Part,"Ball")
  826. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  827. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  828. MakeForm(Part,"Wedge")
  829. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  830. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  831. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  832. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  833. MakeForm(Part,"Cyl")
  834. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  835. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  836. MakeForm(Part,"Cyl")
  837. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  839. MakeForm(Part,"Cyl")
  840. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  841. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  842. MakeForm(Part,"Wedge")
  843. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  844. local LASTPART = Handle2
  845. for i = 1, 10 do
  846. if LASTPART == Handle then
  847. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  848. LASTPART = Part
  849. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  850. else
  851. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  852. CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  853. LASTPART = Part
  854. end
  855. end
  856.  
  857. local Barrel2 = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  858. MakeForm(Barrel,"Cyl")
  859. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  860. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  861. MakeForm(Part,"Cyl")
  862. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  863. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  864. MakeForm(Part,"Wedge")
  865. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  866. local Hole = CreatePart(3, Gun2, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  867. MakeForm(Hole,"Cyl")
  868. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  869. local Part = CreatePart(3, Gun2, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  870. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  871. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  872. local Part = CreatePart(3, Gun2, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  873. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  874. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  875. coroutine.resume(coroutine.create(function()
  876. while wait() do
  877. GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  878. GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  879. end
  880. end))
  881.  
  882. for _, b in pairs(Gun2:GetChildren()) do
  883. if b.ClassName == "Part" then
  884. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  885. end
  886. end
  887.  
  888. local SKILLFONT = "Fantasy"
  889. local SKILLTEXTSIZE = 3
  890.  
  891.  
  892. --
  893. local A2 = IT("Attachment",PRT2)
  894. A2.Position = VT(-0.5,0,0)
  895. local B2 = IT("Attachment",PRT2)
  896. B2.Position = VT(0.5,0,0)
  897. local Trail2 = IT("Trail",PRT2)
  898. Trail2.Attachment0 = A2
  899. Trail2.Attachment1 = B2
  900. Trail2.Lifetime = 1
  901. Trail2.Color = ColorSequence.new(BRICKC"Really red".Color)
  902. Trail2.Transparency = NumberSequence.new(0, 1)
  903. Trail2.Enabled = true
  904. local Part = CreatePart(3, re, "Metal", 0, 0, "Really black", "Eye", VT(0,0,0),false)
  905. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", SUN, SUN, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  906. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(23,23,23), VT(0,0,0.2))
  907. local Part = CreatePart(3, re, "Metal", 0, 0, "Really black", "Eye", VT(0,0,0),false)
  908. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", SUN,SUN, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  909. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(23,23,23), VT(0,0,0.2))
  910. local Part = CreatePart(3, re, "Metal", 0, 0, "Really black", "Eye", VT(0,0,0),false)
  911. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", SUN,SUN, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  912. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(23,23,23), VT(0,0,0.2))
  913. local spinc=0
  914.  
  915. coroutine.resume(coroutine.create(function()
  916. while wait() do
  917.  
  918. spinc=spinc+1+BMUSIC.PlaybackLoudness/50
  919. SUN.Color = color
  920. tecks2.TextColor3 = color
  921. tecks2.TextStrokeColor3 = C3(1,1,1)
  922. Trail.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB))
  923. Trail2.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB))
  924. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(2), RAD(-3.4), RAD(4.4))
  925. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(-4), RAD(1.4), RAD(-4.4))
  926. GEARWELD3.C0 = GEARWELD3.C0 * ANGLES(RAD(3), RAD(4), RAD(4.4))
  927. WACKYEFFECT({Time = 12.5, EffectType = "Sphere", Size = VT(10,0.69,1), Size2 = VT(1,0.5,7), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0)*CFrame.Angles(RAD(0),RAD(spinc),RAD(0)), RotationX = 0, RotationY = 0--[[sick.PlaybackLoudness/50]], RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  928. WACKYEFFECT({Time = 12.5, EffectType = "Sphere", Size = VT(1,0.5,10), Size2 = VT(7,0.69,1), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0)*CFrame.Angles(RAD(0),RAD(spinc),RAD(0)), RotationX = 0, RotationY = 0--[[sick.PlaybackLoudness/50]], RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  929. WACKYEFFECT({Time = 12.5, EffectType = "Sphere", Size = VT(4,0.69,4), Size2 = VT(4,0.5,4), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CFrame.new(0,-2.9,0)*CFrame.Angles(RAD(0),RAD(spinc),RAD(0)), RotationX = 0, RotationY = 0--[[sick.PlaybackLoudness/50]], RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  930. end
  931. end))
  932.  
  933.  
  934. local BODY = {}
  935.  
  936. local cR=255
  937. local cG=0
  938. local cB=0
  939. local flg5=1 local omgidk=1
  940. local add=15
  941. game:GetService("RunService").Heartbeat:Connect(function()
  942. if omgidk>10000 then omgidk=0 end
  943. omgidk=omgidk+1
  944. if cR>=255 then flg5=1 end
  945. if cG>=255 then flg5=2 end
  946. if cB>=255 then flg5=3 end
  947. if flg5==1 then cR=cR-add cG=cG+add end
  948. if flg5==2 then cG=cG-add cB=cB+add end
  949. if flg5==3 then cB=cB-add cR=cR+add end
  950. color=Color3.fromRGB(cR,cG,cB)
  951. for _, c in pairs(re:GetDescendants()) do
  952. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  953. c.Color = color
  954. elseif c.ClassName == "Part" and c.Name == "Eye" then
  955. c.Color = color
  956. c.Material = "Neon"
  957. end
  958. end
  959. end)
  960.  
  961.  
  962. for _, b in pairs(Gun:GetChildren()) do
  963. if b.ClassName == "Part" then
  964. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  965. end
  966. end
  967.  
  968. for _, c in pairs(re:GetChildren()) do
  969. if c.ClassName == "Part" then
  970. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  971. end
  972. end
  973.  
  974. for e = 1, #BODY do
  975. if BODY[e] ~= nil then
  976. do
  977. local STUFF = BODY[e]
  978. local PART = STUFF[1]
  979. local PARENT = STUFF[2]
  980. local MATERIAL = STUFF[3]
  981. local COLOR = STUFF[4]
  982. PART.AncestryChanged:Connect(function()
  983. if PART.ClassName == "Part" then
  984. PART.Material = MATERIAL
  985. PART.Color = COLOR
  986. end
  987. PART.Parent = PARENT
  988. end)
  989. end
  990. end
  991. end
  992. function refit()
  993. re.Parent = Character
  994. Character.Parent = workspace
  995. for e = 1, #BODY do
  996. if BODY[e] ~= nil then
  997. local STUFF = BODY[e]
  998. local PART = STUFF[1]
  999. local PARENT = STUFF[2]
  1000. local MATERIAL = STUFF[3]
  1001. local COLOR = STUFF[4]
  1002. if PART.Parent ~= PARENT then
  1003. Humanoid:remove()
  1004. if PART.ClassName == "Part" then
  1005. PART.Material = MATERIAL
  1006. PART.Color = COLOR
  1007. end
  1008. PART.Parent = PARENT
  1009. Humanoid = IT("Humanoid", Character)
  1010. end
  1011. end
  1012. end
  1013. end
  1014. function ANTI()
  1015. RootJoint.Parent = RootPart
  1016. Neck.Parent = Torso
  1017. RightShoulder.Parent = Torso
  1018. LeftShoulder.Parent = Torso
  1019. RightHip.Parent = Torso
  1020. LeftHip.Parent = Torso
  1021. RootPart.Parent = Character
  1022. LeftArm.Parent = Character
  1023. RightArm.Parent = Character
  1024. RightLeg.Parent = Character
  1025. LeftLeg.Parent = Character
  1026. Torso.Parent = Character
  1027. Head.Parent = Character
  1028. re.Parent = Character
  1029. Character.Parent = workspace
  1030. end
  1031.  
  1032. Humanoid.HealthChanged:connect(function()
  1033. Humanoid.MaxHealth = "inf"
  1034. Humanoid.Health = "inf"
  1035. end)
  1036.  
  1037. Humanoid.Died:connect(function()
  1038. Humanoid.MaxHealth = "inf"
  1039. Humanoid.Health = "inf"
  1040. ANTI()
  1041. refit()
  1042. end)
  1043.  
  1044. local SUNFLOAT = true
  1045. local CUSTOMCAM = true
  1046. local Create = LoadLibrary("RbxUtility").Create
  1047.  
  1048. CFuncs = {
  1049. ["Part"] = {
  1050. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1051. local Part = Create("Part"){
  1052. Parent = Parent,
  1053. Reflectance = Reflectance,
  1054. Transparency = Transparency,
  1055. CanCollide = false,
  1056. Locked = true,
  1057. BrickColor = BrickColor.new(tostring(BColor)),
  1058. Name = Name,
  1059. Size = Size,
  1060. Material = Material,
  1061. }
  1062. NoOutlines(Part)
  1063. return Part
  1064. end;
  1065. };
  1066.  
  1067. ["Mesh"] = {
  1068. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1069. local Msh = Create(Mesh){
  1070. Parent = Part,
  1071. Offset = OffSet,
  1072. Scale = Scale,
  1073. }
  1074. if Mesh == "SpecialMesh" then
  1075. Msh.MeshType = MeshType
  1076. Msh.MeshId = MeshId
  1077. end
  1078. return Msh
  1079. end;
  1080. };
  1081.  
  1082. ["Mesh"] = {
  1083. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1084. local Msh = Create(Mesh){
  1085. Parent = Part,
  1086. Offset = OffSet,
  1087. Scale = Scale,
  1088. }
  1089. if Mesh == "SpecialMesh" then
  1090. Msh.MeshType = MeshType
  1091. Msh.MeshId = MeshId
  1092. end
  1093. return Msh
  1094. end;
  1095. };
  1096.  
  1097. ["Weld"] = {
  1098. Create = function(Parent, Part0, Part1, C0, C1)
  1099. local Weld = Create("Weld"){
  1100. Parent = Parent,
  1101. Part0 = Part0,
  1102. Part1 = Part1,
  1103. C0 = C0,
  1104. C1 = C1,
  1105. }
  1106. return Weld
  1107. end;
  1108. };
  1109.  
  1110. ["Sound"] = {
  1111. Create = function(id, par, vol, pit)
  1112. coroutine.resume(coroutine.create(function()
  1113. local S = Create("Sound"){
  1114. Volume = vol,
  1115. Name = "EffectSoundo",
  1116. Pitch = pit or 1,
  1117. SoundId = id,
  1118. Parent = par or workspace,
  1119. }
  1120. wait()
  1121. S:play()
  1122. game:GetService("Debris"):AddItem(S, 10)
  1123. end))
  1124. end;
  1125. };
  1126.  
  1127. ["TimeSound"] = {
  1128. Create = function(id, par, vol, pit, timepos)
  1129. coroutine.resume(coroutine.create(function()
  1130. local S = Create("Sound"){
  1131. Volume = vol,
  1132. Name = "EffectSoundo",
  1133. Pitch = pit or 1,
  1134. SoundId = id,
  1135. TimePosition = timepos,
  1136. Parent = par or workspace,
  1137. }
  1138. wait()
  1139. S:play()
  1140. game:GetService("Debris"):AddItem(S, 10)
  1141. end))
  1142. end;
  1143. };
  1144. ["EchoSound"] = {
  1145. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1146. coroutine.resume(coroutine.create(function()
  1147. local Sas = Create("Sound"){
  1148. Volume = vol,
  1149. Name = "EffectSoundo",
  1150. Pitch = pit or 1,
  1151. SoundId = id,
  1152. TimePosition = timepos,
  1153. Parent = par or workspace,
  1154. }
  1155. local E = Create("EchoSoundEffect"){
  1156. Delay = echodelay,
  1157. Name = "Echo",
  1158. Feedback = fedb,
  1159. DryLevel = dryl,
  1160. Parent = Sas,
  1161. }
  1162. wait()
  1163. Sas:play()
  1164. game:GetService("Debris"):AddItem(Sas, delays)
  1165. end))
  1166. end;
  1167. };
  1168.  
  1169. ["LongSound"] = {
  1170. Create = function(id, par, vol, pit)
  1171. coroutine.resume(coroutine.create(function()
  1172. local S = Create("Sound"){
  1173. Volume = vol,
  1174. Pitch = pit or 1,
  1175. SoundId = id,
  1176. Parent = par or workspace,
  1177. }
  1178. wait()
  1179. S:play()
  1180. game:GetService("Debris"):AddItem(S, 60)
  1181. end))
  1182. end;
  1183. };
  1184.  
  1185. ["ParticleEmitter"] = {
  1186. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1187. local fp = Create("ParticleEmitter"){
  1188. Parent = Parent,
  1189. Color = ColorSequence.new(Color1, Color2),
  1190. LightEmission = LightEmission,
  1191. Size = Size,
  1192. Texture = Texture,
  1193. Transparency = Transparency,
  1194. ZOffset = ZOffset,
  1195. Acceleration = Accel,
  1196. Drag = Drag,
  1197. LockedToPart = LockedToPart,
  1198. VelocityInheritance = VelocityInheritance,
  1199. EmissionDirection = EmissionDirection,
  1200. Enabled = Enabled,
  1201. Lifetime = LifeTime,
  1202. Rate = Rate,
  1203. Rotation = Rotation,
  1204. RotSpeed = RotSpeed,
  1205. Speed = Speed,
  1206. VelocitySpread = VelocitySpread,
  1207. }
  1208. return fp
  1209. end;
  1210. };
  1211.  
  1212. CreateTemplate = {
  1213.  
  1214. };
  1215. }
  1216. local epic_name = {"Dead1ly sun","Epic sun","Ah134","dead!","karma","i hate this world","rjwfokdsolf","fijdsaklsdkaiwiof","0w0"}
  1217. local FXFolder = script.Effects
  1218. function newbosschatfunc(text,color1,color2,delay)
  1219. for _,v in next, game:service'Players':players() do
  1220. coroutine.wrap(function()
  1221. if(FXFolder:FindFirstChild'BossChat' and v.Character)then
  1222. local cha = FXFolder.BossChat:Clone()
  1223. cha.Color1.Value=color1
  1224. cha.Color2.Value=color2
  1225. cha.Text.Value=text
  1226. cha.Ghghghghgh.Value=delay
  1227. cha.Mode.Value=1
  1228. cha.ModeName.Value="Kickisher Deadly Sun V.2 "
  1229. cha.Music.Value=BMUSIC
  1230. cha.Parent=v.Character
  1231. wait()
  1232. cha.Disabled = false
  1233. game:service'Debris':AddItem(cha,(delay/60)*4)
  1234. end
  1235. end)()
  1236. end
  1237. end
  1238. function bosschatfunc(text,color2,watval)
  1239. newbosschatfunc(text,Color3.fromRGB(cR,cG,cB),color2,watval)
  1240. end
  1241. --//=================================\\
  1242. --|| DAMAGING
  1243. --\\=================================//
  1244.  
  1245. function Banish(Foe)
  1246. if Foe then
  1247. coroutine.resume(coroutine.create(function()
  1248. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1249. if plr then
  1250. coroutine.resume(coroutine.create(function()
  1251. wait(0.5)
  1252. plr:Kick("REKT")
  1253. bosschatfunc(" "..plr.Name.." Got kick now!",color,120)
  1254. end))
  1255. end
  1256. if(Foe:FindFirstChildOfClass'Humanoid')then
  1257.  
  1258. Foe.Archivable = true
  1259. local CLONE = Foe:Clone()
  1260. Foe:Destroy()
  1261. CLONE.Parent = Effects
  1262. CLONE:BreakJoints()
  1263. local MATERIALS = {"Glass","Neon"}
  1264. for _, c in pairs(CLONE:GetDescendants()) do
  1265. if c:IsA("BasePart") then
  1266. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1267. CreateSound(2152227673, c, 10, 1, false)
  1268. end
  1269. c.Anchored = true
  1270. c.Transparency = c.Transparency + 0.2
  1271. c.Material = MATERIALS[MRANDOM(1,2)]
  1272. c.Color = color
  1273. if c.ClassName == "MeshPart" then
  1274. c.TextureID = ""
  1275. end
  1276. if c:FindFirstChildOfClass("SpecialMesh") then
  1277. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1278. end
  1279. if c:FindFirstChildOfClass("Decal") then
  1280. c:FindFirstChildOfClass("Decal"):remove()
  1281. end
  1282. c.Name = "Banished"
  1283. c.CanCollide = false
  1284. else
  1285. c:remove()
  1286. end
  1287. end
  1288. local A = false
  1289. for i = 1, 35 do
  1290. if A == false then
  1291. A = true
  1292. elseif A == true then
  1293. A = false
  1294. end
  1295. for _, c in pairs(CLONE:GetDescendants()) do
  1296. if c:IsA("BasePart") then
  1297. c.Anchored = true
  1298. c.Material = MATERIALS[MRANDOM(1,2)]
  1299. c.Transparency = c.Transparency + 0.8/35
  1300. if A == false then
  1301. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1302. elseif A == true then
  1303. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1304. end
  1305. end
  1306. end
  1307. Swait()
  1308. end
  1309. CLONE:remove()
  1310. end
  1311. end))
  1312. end
  1313. end
  1314. function Banish2(Foe)
  1315. if Foe then
  1316. coroutine.resume(coroutine.create(function()
  1317. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1318. if plr then
  1319. coroutine.resume(coroutine.create(function()
  1320. wait(0.5)
  1321. end))
  1322. end
  1323. if(Foe:FindFirstChildOfClass'Humanoid')then
  1324. Foe.Archivable = true
  1325. local CLONE = Foe:Clone()
  1326. Foe:Destroy()
  1327. CLONE.Parent = Effects
  1328. CLONE:BreakJoints()
  1329. local MATERIALS = {"Glass","Neon"}
  1330. for _, c in pairs(CLONE:GetDescendants()) do
  1331. if c:IsA("BasePart") then
  1332. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1333. CreateSound(2152227673, c, 10, 1, false)
  1334. end
  1335. c.Anchored = true
  1336. c.Transparency = c.Transparency + 0.2
  1337. c.Material = MATERIALS[MRANDOM(1,2)]
  1338. c.Color = color
  1339. if c.ClassName == "MeshPart" then
  1340. c.TextureID = ""
  1341. end
  1342. if c:FindFirstChildOfClass("SpecialMesh") then
  1343. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1344. end
  1345. if c:FindFirstChildOfClass("Decal") then
  1346. c:FindFirstChildOfClass("Decal"):remove()
  1347. end
  1348. c.Name = "Banished"
  1349. c.CanCollide = false
  1350. else
  1351. c:remove()
  1352. end
  1353. end
  1354. local A = false
  1355. for i = 1, 35 do
  1356. if A == false then
  1357. A = true
  1358. elseif A == true then
  1359. A = false
  1360. end
  1361. for _, c in pairs(CLONE:GetDescendants()) do
  1362. if c:IsA("BasePart") then
  1363. c.Anchored = true
  1364. c.Material = MATERIALS[MRANDOM(1,2)]
  1365. c.Transparency = c.Transparency + 0.8/35
  1366. if A == false then
  1367. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1368. elseif A == true then
  1369. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1370. end
  1371. end
  1372. end
  1373. Swait()
  1374. end
  1375. CLONE:remove()
  1376. end
  1377. end))
  1378. end
  1379. end
  1380. local BEANED = {}
  1381. local xd = {
  1382. Enum.Material.Plastic,
  1383. Enum.Material.DiamondPlate,
  1384. Enum.Material.Wood,
  1385. Enum.Material.WoodPlanks,
  1386. Enum.Material.Foil,
  1387. Enum.Material.Brick,
  1388. Enum.Material.Glass,
  1389. Enum.Material.Granite,
  1390. Enum.Material.Grass,
  1391. Enum.Material.ForceField,
  1392. Enum.Material.Neon,
  1393. Enum.Material.SmoothPlastic
  1394. }
  1395. Players = game:GetService("Players")
  1396. function FocusCamAll(timer, focuson, up)
  1397. for _,v in next, Players:players() do
  1398. if(script:FindFirstChild'FocusCam')then
  1399. local focus = script.FocusCam:Clone()
  1400. focus:WaitForChild'FocusOn'.Value = focuson
  1401. focus:WaitForChild'Timer'.Value = timer
  1402. focus:WaitForChild'Up'.Value = up
  1403. focus.Parent = v.Character
  1404. wait()
  1405. focus.Disabled = false
  1406. end
  1407. end
  1408. end
  1409.  
  1410. coroutine.resume(coroutine.create(function()
  1411. while true do
  1412. Swait()
  1413. for _, c in pairs(Gun2:GetDescendants()) do
  1414. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1415. c.Material = xd[MRANDOM(1, #xd)]
  1416. c.Color = color
  1417. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1418. c.Material = "Neon"
  1419. c.Color = color
  1420. end
  1421. end
  1422. for _, c in pairs(Gun:GetDescendants()) do
  1423. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1424. c.Material = xd[MRANDOM(1, #xd)]
  1425. c.Color = color
  1426. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1427. c.Material = "Neon"
  1428. c.Color = color
  1429. end
  1430. end
  1431. end
  1432. end))
  1433. function ban(bitch)
  1434. if bitch then
  1435. g = game.Players:GetPlayers()
  1436. local kickfolder = IT("Folder",Effects)
  1437. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  1438.  
  1439. -- CreateSound("2570187601", bitch, 600, 1, false)
  1440. local Players = game:GetService("Players")
  1441. local fag = Players:FindFirstChild(bitch.Name)
  1442. bosschatfunc(""..bitch.Name.." Got server banned",color,120)
  1443. --faggut:Kick()
  1444. if Players:FindFirstChild(bitch.Name) then
  1445. fag:Kick("REKT")
  1446. end
  1447. if Players:FindFirstChild(bitch.Name) then
  1448. fag:Kick("REKT")
  1449. end
  1450. if Players:FindFirstChild(bitch.Name) then
  1451. fag:Kick("REKT")
  1452. end
  1453. if Players:FindFirstChild(bitch.Name) then
  1454. fag:Kick("REKT")
  1455. end
  1456. if Players:FindFirstChild(bitch.Name) then
  1457. fag:Kick("REKT")
  1458. end
  1459. if Players:FindFirstChild(bitch.Name) then
  1460. fag:Kick("REKT")
  1461. end
  1462. table.insert(BEANED,bitch.name)
  1463. --]]
  1464. --CreateSound("527749592", game.Workspace, 700, 1, false)
  1465. --CHARACTER:Remove()
  1466. --[[
  1467. for i,v in pairs(g) do
  1468. --v:remove()
  1469. end ]]--
  1470. --[[
  1471. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  1472. for i,v in pairs(g) do
  1473. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  1474. v:remove()
  1475. end
  1476. end
  1477. end]]--
  1478. --[[
  1479. for _, p in pairs(game.Players:GetChildren()) do
  1480. if p:FindFirstChild("CHARACTER") then
  1481.  
  1482. end
  1483. end]]--
  1484. coroutine.resume(coroutine.create(function()
  1485. for i = 1, 50 do
  1486. Swait()
  1487. for i,v in ipairs(kickfolder:GetChildren()) do
  1488. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1489. v.Transparency = 1
  1490. end
  1491. naeeym2.Enabled = false
  1492. end
  1493. Swait()
  1494. for i,v in ipairs(kickfolder:GetChildren()) do
  1495. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1496. v.Transparency = 0
  1497. end
  1498. naeeym2.Enabled = true
  1499. end
  1500. end
  1501. kickfolder:remove()
  1502. end))
  1503. --wait(6)
  1504. --bitch:Remove()
  1505. end
  1506. end
  1507. local function CheckForBan(player)
  1508. for i = 1, #BEANED do
  1509. if player.Name == BEANED[i] then
  1510. bosschatfunc("Don't come back ,"..player.Name.."!",color,120)
  1511. player:Kick("BANNED...")
  1512. end
  1513. end
  1514. end
  1515.  
  1516.  
  1517. game.Players.PlayerAdded:connect(function()
  1518. for i,v in pairs(game.Players:GetPlayers())do
  1519. CheckForBan(v)
  1520. end
  1521. end)
  1522. function ban2(Foe)
  1523. if Foe then
  1524. coroutine.resume(coroutine.create(function()
  1525. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1526. if plr then
  1527. coroutine.resume(coroutine.create(function()
  1528. wait(0.5)
  1529. ban(plr)
  1530. end))
  1531. end
  1532. if(Foe:FindFirstChildOfClass'Humanoid')then
  1533. Foe.Archivable = true
  1534. local CLONE = Foe:Clone()
  1535. Foe:Destroy()
  1536. CLONE.Parent = Effects
  1537. local kickfolder = IT("Folder",Effects)
  1538. local naeeym2 = Instance.new("BillboardGui",CLONE)
  1539. naeeym2.AlwaysOnTop = false
  1540. naeeym2.Size = UDim2.new(5,35,2,35)
  1541. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1542. naeeym2.Name = "Mark"
  1543. local tecks2 = Instance.new("TextLabel",naeeym2)
  1544. tecks2.BackgroundTransparency = 1
  1545. tecks2.TextScaled = true
  1546. tecks2.BorderSizePixel = 0
  1547. tecks2.Text = "BANNED"
  1548. tecks2.Font = "Arcade"
  1549. tecks2.TextSize = 30
  1550. tecks2.TextStrokeTransparency = 0
  1551. tecks2.TextColor3 = Color3.fromRGB(cR,0,0)
  1552. tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  1553. tecks2.Size = UDim2.new(1,0,0.5,0)
  1554. tecks2.Parent = naeeym2
  1555. CLONE:BreakJoints()
  1556. local MATERIALS = {"Glass","Neon"}
  1557. for _, c in pairs(CLONE:GetDescendants()) do
  1558. if c:IsA("BasePart") then
  1559. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1560. CreateSound(2152227673, c, 10, 1, false)
  1561. end
  1562. c.Anchored = true
  1563. c.Transparency = c.Transparency + 0.2
  1564. c.Material = MATERIALS[MRANDOM(1,2)]
  1565. c.Color = color
  1566. if c.ClassName == "MeshPart" then
  1567. c.TextureID = ""
  1568. end
  1569. if c:FindFirstChildOfClass("SpecialMesh") then
  1570. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1571. end
  1572. if c:FindFirstChildOfClass("Decal") then
  1573. c:FindFirstChildOfClass("Decal"):remove()
  1574. end
  1575. c.Name = "Banished"
  1576. c.CanCollide = false
  1577. else
  1578. c:remove()
  1579. end
  1580. end
  1581. local A = false
  1582. for i = 1, 35 do
  1583. if A == false then
  1584. A = true
  1585. elseif A == true then
  1586. A = false
  1587. end
  1588. for _, c in pairs(CLONE:GetDescendants()) do
  1589. if c:IsA("BasePart") then
  1590. c.Anchored = true
  1591. c.Material = MATERIALS[MRANDOM(1,2)]
  1592. c.Transparency = c.Transparency + 0.8/35
  1593. if A == false then
  1594. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1595. elseif A == true then
  1596. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1597. end
  1598. end
  1599. end
  1600. Swait()
  1601. end
  1602. CLONE:remove()
  1603. end
  1604. end))
  1605. end
  1606. end
  1607. local ISBANISH = false
  1608. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, re)
  1609. for index, CHILD in pairs(workspace:GetDescendants()) do
  1610. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1611. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1612. if HUM then
  1613. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1614. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1615. if ISBANISH == true then
  1616. Banish(CHILD)
  1617. elseif ISBANISH == false then
  1618. Banish2(CHILD)
  1619. elseif ISBANISH == "Ban" then
  1620. ban2(CHILD)
  1621. end
  1622. if FLING ~= 0 then
  1623. for _, c in pairs(CHILD:GetChildren()) do
  1624. if c:IsA("BasePart") then
  1625. local bv = Instance.new("BodyVelocity")
  1626. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1627. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1628. bv.Parent = c
  1629. Debris:AddItem(bv, 0.05)
  1630. end
  1631. end
  1632. end
  1633. end
  1634. end
  1635. end
  1636. end
  1637. end
  1638. function ApplyAoE(POSITION,RANGE,nothing,re)
  1639. local CHILDREN = workspace:GetDescendants()
  1640. for index, CHILD in pairs(CHILDREN) do
  1641. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1642. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1643. if HUM then
  1644. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1645. if TORSO then
  1646. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1647. if ISBANISH == false then
  1648. Banish2(CHILD)
  1649. end
  1650. if ISBANISH == true then
  1651. Banish(CHILD)
  1652. end
  1653. if ISBANISH == "Ban" then
  1654. ban2(CHILD)
  1655. else
  1656. if ISBANISH == "Gravity" then
  1657. HUM.PlatformStand = true
  1658. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1659. local grav = Instance.new("BodyPosition",TORSO)
  1660. grav.D = 15
  1661. grav.P = 20000
  1662. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1663. grav.position = TORSO.Position
  1664. grav.Name = "V3BanishForce"..Player.Name
  1665. else
  1666. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1667. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1668. end
  1669. else
  1670. HUM.PlatformStand = false
  1671. end
  1672. end
  1673. elseif ISBANISH == "Gravity" then
  1674. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1675. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1676. HUM.PlatformStand = false
  1677. end
  1678. end
  1679. end
  1680. end
  1681. end
  1682. end
  1683. end
  1684.  
  1685. function KickThatNigga(CHARACTER)
  1686. g = game.Players:GetPlayers()
  1687. local kickfolder = IT("Folder",Effects)
  1688. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  1689. naeeym2.AlwaysOnTop = false
  1690. naeeym2.Size = UDim2.new(5,35,2,35)
  1691. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1692. naeeym2.Name = "Mark"
  1693. local tecks2 = Instance.new("TextLabel",naeeym2)
  1694. tecks2.BackgroundTransparency = 1
  1695. tecks2.TextScaled = true
  1696. tecks2.BorderSizePixel = 0
  1697. tecks2.Text = "BEANED"
  1698. tecks2.Font = "SciFi"
  1699. tecks2.TextSize = 30
  1700. tecks2.TextStrokeTransparency = 1
  1701. tecks2.TextColor3 = Color3.new(1,0,0)
  1702. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  1703. tecks2.Size = UDim2.new(1,0,0.5,0)
  1704. tecks2.Parent = naeeym2
  1705. CreateSound("527749592", CHARACTER, 600, 1, false)
  1706. for i,v in ipairs(CHARACTER:GetChildren()) do
  1707. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1708. if v.Name ~= "HumanoidRootPart" then
  1709. local BOD = v:Clone()
  1710. BOD.CanCollide = false
  1711. BOD.Anchored = true
  1712. BOD.CFrame = v.CFrame
  1713. BOD.Parent = kickfolder
  1714. BOD.Material = "Neon"
  1715. BOD.Color = color
  1716. if BOD:FindFirstChildOfClass("Decal") then
  1717. BOD:FindFirstChildOfClass("Decal"):remove()
  1718. end
  1719. if BOD.Name == "Head" then
  1720. naeeym2.Adornee = BOD
  1721. end
  1722. if BOD.ClassName == "MeshPart" then
  1723. BOD.TextureID = ""
  1724. end
  1725. end
  1726. end
  1727. end
  1728. for i,v in pairs(g) do
  1729. v:remove()
  1730. end
  1731. if CHARACTER ~= Character then
  1732. CHARACTER:remove()
  1733. end
  1734. coroutine.resume(coroutine.create(function()
  1735. for i = 1, 50 do
  1736. Swait()
  1737. for i,v in ipairs(kickfolder:GetChildren()) do
  1738. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1739. v.Transparency = 1
  1740. end
  1741. naeeym2.Enabled = false
  1742. end
  1743. Swait()
  1744. for i,v in ipairs(kickfolder:GetChildren()) do
  1745. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1746. v.Transparency = 0
  1747. end
  1748. naeeym2.Enabled = true
  1749. end
  1750. end
  1751. kickfolder:remove()
  1752. end))
  1753. end
  1754.  
  1755.  
  1756. --//=================================\\
  1757. --|| ATTACK FUNCTIONS AND STUFF
  1758. --\\=================================//
  1759.  
  1760. function Intro()
  1761. ATTACK = true
  1762. Rooted = true
  1763. Humanoid.WalkSpeed = 0
  1764. Disable_Jump = true
  1765. local INTROSOUND = CreateSound(862484466, Effects, 6, 1, false)
  1766. coroutine.resume(coroutine.create(function()
  1767. repeat
  1768. Swait()
  1769. if CUSTOMANGLES == true then
  1770. Cam.CFrame = Clerp(Cam.CFrame, Head.CFrame * CF(0,0,-4) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.2)
  1771. end
  1772. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1773. 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)
  1774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed)
  1777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed)
  1778. until INTROSOUND.TimePosition >= 2.15
  1779. SUN.Parent = Effects
  1780. local CORE = IT("Attachment",SUN)
  1781. SUN.Color = Color3.fromRGB(cR,cG,cB)
  1782. SUN.CFrame = RootPart.CFrame*CF(0,-14,11)
  1783. local P = ParticleEmitter({Transparency1 = 0.6, Transparency2 = 1, Speed = 6, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 13, Size2 = 18, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = CORE, Emit = 100, Offset = 360, Enabled = true, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  1784. P.LockedToPart = true
  1785. P.Rate = 12
  1786. local P = ParticleEmitter({Transparency1 = 0.6, Transparency2 = 1, Speed = 6, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 16, Size2 = 6, Lifetime1 = 0.4, Lifetime2 = 2.5, Parent = CORE, Emit = 100, Offset = 360, Enabled = true, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  1787. P.Rate = 12
  1788. repeat
  1789. Swait()
  1790. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,14,11),0.04)
  1791. re.Parent = Character
  1792. local HITFLOOR,SUNPOS = Raycast(SUN.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 23, Character)
  1793. if HITFLOOR then
  1794. local DISTANCE = (SUNPOS - SUN.Position).Magnitude
  1795. local SIZE = (23 - DISTANCE)*2
  1796. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(SIZE,0,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(SUNPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0.5, RotationY = 0, RotationZ = 0, Material = "Fabric", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 6})
  1797. end
  1798. if CUSTOMANGLES == true then
  1799. Cam.CFrame = Clerp(Cam.CFrame, Head.CFrame * CF(0,5,-15) * ANGLES(RAD(5), RAD(180), RAD(0)), 0.2)
  1800. end
  1801. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * CF(7,1.5,6) * ANGLES(RAD(-4), RAD(15), RAD(0)), 0.2)
  1802. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1806. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1808. until ATTACK == false
  1809. CUSTOMCAM = false
  1810. for i = 1, #ATTACKS do
  1811. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.65, 0, 0.95-(0.17*i), 0), UD2(0.26, 0, 0.17, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1812. local IMAGE = IT("ImageLabel",SKILLFRAME)
  1813. IMAGE.Size = UD2(1,0,1,0)
  1814. IMAGE.Image = "rbxassetid://"..ATTACKS[i]
  1815. IMAGE.BackgroundTransparency = 1
  1816. IMAGE.ImageTransparency = 1
  1817. for i = 1, 10 do
  1818. Swait()
  1819. IMAGE.ImageTransparency = IMAGE.ImageTransparency - 1/10
  1820. end
  1821. end
  1822. end))
  1823. repeat
  1824. Swait()
  1825. INTROSOUND.Parent = Effects
  1826. until INTROSOUND.Playing == false
  1827. INTROSOUND:Destroy()
  1828. ATTACK = false
  1829. Rooted = false
  1830. end
  1831.  
  1832. function DeadlyLaser()
  1833. CreateSound(811841430, SUN, 8, MRANDOM(7,13)/10, false)
  1834. local HIT,POS = CastProperRay(SUN.Position,Mouse.Hit.p,1000,Character)
  1835. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Gold"), "Beam", VT(0,0,0), true)
  1836. BEAM.Color = Color3.fromRGB(cR,cG,cB)
  1837. MakeForm(BEAM,"Cyl")
  1838. local DIST = (SUN.Position - POS).Magnitude
  1839. BEAM.Size = VT(0,DIST,0)
  1840. BEAM.CFrame = CF(SUN.Position,POS)*CF(0,0,-DIST/2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1841. if HIT ~= nil then
  1842. if HIT.Parent.ClassName == "Model" then
  1843. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1844. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  1845. local HED = HIT.Parent:FindFirstChild("Head")
  1846. if HED and MRANDOM(1,15) == 1 then
  1847. CreateSound(527749592, HED, 4, MRANDOM(9,11)/10, false)
  1848. end
  1849. if ISBANISH == true then
  1850. Banish(HIT.Parent)
  1851. elseif ISBANISH == false then
  1852. Banish2(HIT.Parent)
  1853. elseif ISBANISH == "Ban" then
  1854. ban2(HIT.Parent)
  1855. end
  1856. end
  1857. end
  1858. end
  1859. end
  1860. for i = 1, 15 do
  1861. Swait()
  1862. BEAM.Size = BEAM.Size + VT(0.25,0,0.25)
  1863. BEAM.Transparency = BEAM.Transparency + 1/15
  1864. end
  1865. BEAM:remove()
  1866. end
  1867. function SolarFlares()
  1868. ATTACK = true
  1869. Rooted = true
  1870. SUNFLOAT = false
  1871. CUSTOMCAM = true
  1872. for i=0, 1, 0.1 / Animation_Speed do
  1873. Swait()
  1874. if CUSTOMANGLES == true then
  1875. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * ANGLES(RAD(-45), RAD(0), RAD(0))*CF(0,0,65), 0.1)
  1876. end
  1877. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,18 + 4 * SIN(SINE / 12),0),0.035)
  1878. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1882. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1884. end
  1885. local CFRAME = RootPart.CFrame * ANGLES(RAD(-90), RAD(0), RAD(0))*CF(0,0,125)
  1886. coroutine.resume(coroutine.create(function()
  1887. repeat
  1888. Swait()
  1889. if CUSTOMANGLES == true then
  1890. Cam.CFrame = Clerp(Cam.CFrame, CFRAME, 0.1)
  1891. end
  1892. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,18 + 4 * SIN(SINE / 12),0),0.035)
  1893. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1894. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1895. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.45 + 0.05 * SIN(SINE / 12), -0.45) * ANGLES(RAD(90), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1896. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.45 + 0.05 * SIN(SINE / 12), -0.45) * ANGLES(RAD(90), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1897. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1898. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1899. until ATTACK == false
  1900. end))
  1901. AttackGyro()
  1902. wait(0.2)
  1903. for i = 1, 15 do
  1904. Swait()
  1905. coroutine.resume(coroutine.create(function()
  1906. local SPEED = MRANDOM(5,32)/10
  1907. local FLARE = CreatePart(3, Effects, "Neon", 0, 0, SUN.BrickColor, "Sun", VT(5,5,5), true)
  1908. FLARE.Color = Color3.fromRGB(cR,cG,cB)
  1909. MakeForm(FLARE,"Ball")
  1910. CreateSound(463598785, FLARE, 1.2, MRANDOM(7,13)/8, false)
  1911. FLARE.CFrame = CF(SUN.Position,Mouse.Hit.p) * ANGLES(RAD(MRANDOM(-5,5)*2), RAD(MRANDOM(-5,5)*2), RAD(0))
  1912. local P = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 2, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 5, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.2, Parent = FLARE, Emit = 100, Offset = 360, Enabled = true, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  1913. for i = 1, 500 do
  1914. Swait()
  1915. P.Enabled = true
  1916. local HIT,HITPOS = Raycast(FLARE.Position, FLARE.CFrame.lookVector, FLARE.Size.Z/2, Character)
  1917. if HIT then
  1918. break
  1919. else
  1920. FLARE.CFrame = FLARE.CFrame*CF(0,0,-SPEED)
  1921. if MRANDOM(1,3) == 1 then
  1922. WACKYEFFECT({Time = 25, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.025,0,0.025), Transparency = 0.85, Transparency2 = 1, CFrame = FLARE.CFrame*CF(0,0,-FLARE.Size.X/1.5) * ANGLES(RAD(90), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0.1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 45})
  1923. end
  1924. end
  1925. end
  1926. CreateSound(165970126, FLARE, 0.8, MRANDOM(7,13)/8, false)
  1927. CreateSound(174580476, FLARE, 1.6, MRANDOM(7,13)/10, false)
  1928. P.Enabled = false
  1929. ApplyAoE(FLARE.Position,14,125,true)
  1930. Debris:AddItem(FLARE,5)
  1931. FLARE.Transparency = 1
  1932. WACKYEFFECT({EffectType = "Sphere", Size = FLARE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FLARE.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = FLARE.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1933. ParticleEmitter({Transparency1 = 0.3, Transparency2 = 1, Speed = 25, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 1, Size2 = 8, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = FLARE, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  1934. end))
  1935. end
  1936. wait(0.1)
  1937. CUSTOMCAM = false
  1938. SUNFLOAT = true
  1939. ATTACK = false
  1940. Rooted = false
  1941. end
  1942. function SolarSmash()
  1943. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1944. if HITFLOOR then
  1945. ATTACK = true
  1946. Rooted = false
  1947. CUSTOMCAM = true
  1948. SUNFLOAT = false
  1949. for i=0, 0.2, 0.1 / Animation_Speed do
  1950. Swait()
  1951. if CUSTOMANGLES == true then
  1952. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * ANGLES(RAD(-45), RAD(0), RAD(0))*CF(0,0,65), 0.1)
  1953. end
  1954. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,18 + 4 * SIN(SINE / 12),6),0.035)
  1955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1961. end
  1962. coroutine.resume(coroutine.create(function()
  1963. repeat
  1964. Swait()
  1965. if CUSTOMANGLES == true then
  1966. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * ANGLES(RAD(-75), RAD(0), RAD(0))*CF(0,6,65), 0.1)
  1967. end
  1968. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1969. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1970. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.45 + 0.05 * SIN(SINE / 12), -0.45) * ANGLES(RAD(35), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1971. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.45 + 0.05 * SIN(SINE / 12), -0.45) * ANGLES(RAD(35), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1972. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1973. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  1974. until ATTACK == false
  1975. end))
  1976. local CFRAME = RootPart.CFrame*CF(0,-2,-17)
  1977. for i = 1, 10 do
  1978. Swait()
  1979. SUN.CFrame = Clerp(SUN.CFrame,CFRAME, 0.25)
  1980. end
  1981. ApplyAoE(SUN.Position,65,225,true)
  1982. ParticleEmitter({Transparency1 = 0.3, Transparency2 = 1, Speed = 125, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 15, Size2 = 32, Lifetime1 = 0.4, Lifetime2 = 1, Parent = SUN, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  1983. for i = 1, 8 do
  1984. WACKYEFFECT({Time = 30+(i*25), EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(120,0,120), Transparency = 0.6, Transparency2 = 1, CFrame = CF(SUN.Position-VT(0,5,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0.1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  1985. end
  1986. for i = 1, 5 do
  1987. WACKYEFFECT({Time = 50+(i*25), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5), Transparency = 0, Transparency2 = 1, CFrame = CF(SUN.Position-VT(0,5,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0.1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 3})
  1988. end
  1989. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = SUN.Size, Size2 = SUN.Size*6, Transparency = 0, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 168513088, SoundPitch = 1, SoundVolume = 5, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 3})
  1990. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = SUN.Size, Size2 = SUN.Size*5.5, Transparency = 0, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 201858144, SoundPitch = 1, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1991. local bv = Instance.new("BodyVelocity")
  1992. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1993. bv.velocity = CF(CFRAME.p-VT(0,12,0),RootPart.Position).lookVector*125
  1994. bv.Parent = RootPart
  1995. Debris:AddItem(bv,0.02)
  1996. CUSTOMCAM = false
  1997. for i = 1, 5 do
  1998. Swait()
  1999. SUN.CFrame = Clerp(SUN.CFrame,CFRAME, 0.1)
  2000. end
  2001. SUNFLOAT = true
  2002. ATTACK = false
  2003. Rooted = false
  2004. end
  2005. end
  2006. function SolarEruption()
  2007. ATTACK = true
  2008. Rooted = true
  2009. CUSTOMCAM = true
  2010. local ANIMA = "HoldUp"
  2011. coroutine.resume(coroutine.create(function()
  2012. repeat
  2013. Swait()
  2014. if ANIMA == "HoldUp" then
  2015. if CUSTOMANGLES == true then
  2016. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * ANGLES(RAD(-45), RAD(0), RAD(0))*CF(0,0,65), 0.1)
  2017. end
  2018. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,28 + 4 * SIN(SINE / 12),6),0.035)
  2019. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2020. 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)
  2021. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.85 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160 + 3 * SIN(SINE / 12)), RAD(5), RAD(-15 + 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2022. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2023. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed)
  2024. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed)
  2025. elseif ANIMA == "Fire" then
  2026. if CUSTOMANGLES == true then
  2027. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * CF(0,135,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2)
  2028. end
  2029. SUN.CFrame = Clerp(SUN.CFrame,RootPart.CFrame*CF(0,35,0),0.2)
  2030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.65 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(5), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(170), RAD(-5), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2034. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  2035. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  2036. end
  2037. until ATTACK == false
  2038. end))
  2039. CreateSound(201858045, SUN, 1.8, MRANDOM(7,13)/10, false)
  2040. CreateSound(278641993, SUN, 3, MRANDOM(7,13)/10, false)
  2041. CreateSound(278641993, SUN, 2.5, MRANDOM(7,13)/10, false)
  2042. for i = 1, 150 do
  2043. Swait()
  2044. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(85,0,85), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(SUN.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2045. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(45,45,45), Size2 = VT(0,0,0), Transparency = 0.95, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2046. end
  2047. wait(0.1)
  2048. UNANCHOR = false
  2049. ANIMA = "Fire"
  2050. wait(0.4)
  2051. ApplyAoE(SUN.Position,25,75,true)
  2052. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SUN.Size, Size2 = SUN.Size*4, Transparency = 0, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 3})
  2053. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = SUN.Size, Size2 = SUN.Size*3.5, Transparency = 0, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 401056199, SoundPitch = 1, SoundVolume = 7, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2054. coroutine.resume(coroutine.create(function()
  2055. for i = 1, 32 do
  2056. Swait()
  2057. coroutine.resume(coroutine.create(function()
  2058. local FLARE = CreatePart(3, Effects, "Neon", 0, 0, SUN.BrickColor, "Sun", VT(5,5,5), false)
  2059. FLARE.CanCollide = true
  2060. FLARE.Color = Color3.fromRGB(cR,cG,cB)
  2061. MakeForm(FLARE,"Ball")
  2062. Debris:AddItem(FLARE,10)
  2063. CreateSound(463598785, FLARE, 1.2, MRANDOM(7,13)/8, false)
  2064. local P = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 2, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 5, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.2, Parent = FLARE, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,85/255,0), Color2 = C3(1,85/255,0), Texture = 296874871})
  2065. FLARE.CFrame = CF(SUN.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2066. FLARE.Velocity = CF(SUN.Position,CF(SUN.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(-60,60),25,MRANDOM(-60,60)).p).lookVector*MRANDOM(25,250)
  2067. TOUCH = FLARE.Touched:Connect(function(TOC)
  2068. if TOC.Parent ~= Character and TOC.Parent.Parent ~= Character then
  2069. FLARE.Anchored = true
  2070. FLARE:ClearAllChildren()
  2071. CreateSound(165970126, FLARE, 0.8, MRANDOM(7,13)/8, false)
  2072. CreateSound(174580476, FLARE, 1.6, MRANDOM(7,13)/10, false)
  2073. FLARE.CanCollide = false
  2074. ApplyAoE(FLARE.Position,14,125,true)
  2075. FLARE.Transparency = 1
  2076. WACKYEFFECT({EffectType = "Sphere", Size = FLARE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FLARE.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = FLARE.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2077. ParticleEmitter({Transparency1 = 0.3, Transparency2 = 1, Speed = 25, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0.4, Size1 = 1, Size2 = 8, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = FLARE, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  2078. TOUCH:Disconnect()
  2079. end
  2080. end)
  2081. end))
  2082. end
  2083. end))
  2084. wait(1.5)
  2085. UNANCHOR = true
  2086. CUSTOMCAM = false
  2087. ATTACK = false
  2088. Rooted = false
  2089. end
  2090. function Nebula()
  2091. ATTACK = true
  2092. Rooted = true
  2093. bosschatfunc("This is END!",color,120)
  2094. FocusCamAll(9, Head, true)
  2095. wait(0.4)
  2096. CreateSound(201858045, SUN, 1.8, MRANDOM(7,13)/10, false)
  2097. CreateSound(278641993, SUN, 3, MRANDOM(7,13)/10, false)
  2098. CreateSound(278641993, SUN, 2.5, MRANDOM(7,13)/10, false)
  2099. for i = 1, 250 do
  2100. Swait()
  2101. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(2,0,2), Size2 = VT(32,2.5,32), Transparency = 0.75, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-4,0).p) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  2102. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(85,0,85), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(SUN.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2103. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(45,45,45), Size2 = VT(0,0,0), Transparency = 0.95, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2104. end
  2105. FocusCamAll(21.6, SUN, true)
  2106. wait(1)
  2107. for i = 1, 3 do
  2108. wait(0.65)
  2109. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = SUN.Size, Size2 = VT(250,250,250), Transparency = 0.5, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 852135845, SoundPitch = 1-(i/10), SoundVolume = 5, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2110. end
  2111. wait(0.65)
  2112. ApplyAoE(SUN.Position,9999999999991239999,125,true)
  2113. CreateSound(385545047, Effects, 2.5, 1.4, false)
  2114. CreateSound(385545047, Effects, 2.5, 1, false)
  2115. CreateSound(435742675, Effects, 2.5, 1.5, false)
  2116. CreateSound(231917744, Effects, 2.5, 1.5, false)
  2117. CreateSound(401056199, Effects, 2.5, 1, false)
  2118. ParticleEmitter({Transparency1 = 0.3, Transparency2 = 1, Speed = 125, Acel = VT(0,0,0), RotSpeed = NumberRange.new(-15, 15), Drag = -2, Size1 = 25, Size2 = 60, Lifetime1 = 0.4, Lifetime2 = 4, Parent = SUN, Emit = 200, Offset = 360, Enabled = false, Color1 = Color3.fromRGB(cR,cG,cB), Color2 = Color3.fromRGB(cR,cG,cB), Texture = 296874871})
  2119. for i = 1, 3 do
  2120. WACKYEFFECT({Time = 175, EffectType = "Sphere", Size = SUN.Size, Size2 = VT(250,250,250)+(VT(i,i,i)*180), Transparency = 0.5, Transparency2 = 1, CFrame = CF(SUN.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1-(i/10), SoundVolume = 5, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2121. end
  2122. for i = 1, 15 do
  2123. WACKYEFFECT({Time = 100+(i*35), EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(120,5,120)+(VT(i,0,i)*70), Transparency = 0.6, Transparency2 = 1, CFrame = CF(SUN.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  2124. end
  2125. ATTACK = false
  2126. Rooted = false
  2127. end
  2128. function Taunt()
  2129. ATTACK = true
  2130. Rooted = true
  2131. CUSTOMCAM = true
  2132. CreateSound(160212768, Head, 10, 1, false)
  2133. for i=0, 3, 0.1 / Animation_Speed do
  2134. Swait()
  2135. if CUSTOMANGLES == true then
  2136. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * CF(7,1.5,6) * ANGLES(RAD(-4), RAD(15), RAD(0)), 0.2)
  2137. end
  2138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  2139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 1 / Animation_Speed)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5 + 0.05 * SIN(SINE / 12), -0.3) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2142. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  2144. end
  2145. CUSTOMCAM = false
  2146. ATTACK = false
  2147. Rooted = false
  2148. end
  2149. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH, DOES360)
  2150. if FLOOR ~= nil then
  2151. for i = 1, AMOUNT do
  2152. do
  2153. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  2154. DEBREE.Material = FLOOR.Material
  2155. DEBREE.Color = FLOOR.Color
  2156. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  2157. if DOES360 == true then
  2158. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  2159. else
  2160. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  2161. end
  2162. coroutine.resume(coroutine.create(function()
  2163. Swait(15)
  2164. DEBREE.Parent = FLOOR.Parent
  2165. DEBREE.CanCollide = true
  2166. Debris:AddItem(DEBREE, SWAIT)
  2167. end))
  2168. end
  2169. end
  2170. end
  2171. end
  2172.  
  2173. function chatfunc(text)
  2174. local chat = coroutine.wrap(function()
  2175. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2176. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2177. end
  2178. local Bill = Instance.new("BillboardGui",Character)
  2179. Bill.Size = UDim2.new(0,50,0,20)
  2180. Bill.StudsOffset = Vector3.new(0,6,0)
  2181. Bill.Adornee = Character.Head
  2182. Bill.Name = "TalkingBillBoard"
  2183. local Hehe = Instance.new("TextLabel",Bill)
  2184. Hehe.BackgroundTransparency = 1
  2185. Hehe.BorderSizePixel = 0
  2186. Hehe.Text = ""
  2187. Hehe.Font = "Arcade"
  2188. Hehe.TextSize = 33
  2189. Hehe.TextStrokeTransparency = 0
  2190. Hehe.Size = UDim2.new(1,0,0.5,0)
  2191. coroutine.resume(coroutine.create(function()
  2192. while Hehe ~= nil do
  2193. wait()
  2194. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2195. Hehe.Rotation = math.random(-5,5)
  2196. Hehe.TextColor3 = color
  2197. Hehe.TextStrokeColor3 = C3(0,0,0)
  2198. end
  2199. end))
  2200. for i = 1,string.len(text),1 do
  2201. wait()
  2202. Hehe.Text = string.sub(text,1,i)
  2203. end
  2204. wait(3)--Re[math.random(1, 93)]
  2205. for i = 0, 5, .025 do
  2206. wait()
  2207. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2208. Hehe.TextStrokeTransparency = i
  2209. Hehe.TextTransparency = i
  2210. end
  2211. Bill:Destroy()
  2212. end)
  2213. chat()
  2214. end
  2215.  
  2216. function sunfun(text2)
  2217. local chat2 = coroutine.wrap(function()
  2218. local Bill2 = Instance.new("BillboardGui",SUN)
  2219. Bill2.Size = UDim2.new(0,50,0,20)
  2220. Bill2.StudsOffset = Vector3.new(0,11,0)
  2221. Bill2.Adornee = SUN
  2222. Bill2.Name = "TalkingBillBoard"
  2223. local Hehe2 = Instance.new("TextLabel",Bill2)
  2224. Hehe2.BackgroundTransparency = 1
  2225. Hehe2.BorderSizePixel = 0
  2226. Hehe2.Text = ""
  2227. Hehe2.Font = "Fantasy"
  2228. Hehe2.TextSize = 40
  2229. Hehe2.TextStrokeTransparency = 0
  2230. Hehe2.Size = UDim2.new(1,0,0.5,0)
  2231. coroutine.resume(coroutine.create(function()
  2232. while Hehe2 ~= nil do
  2233. wait()
  2234. Hehe2.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2235. Hehe2.Rotation = math.random(-5,5)
  2236. Hehe2.TextColor3 = color
  2237. Hehe2.TextStrokeColor3 = C3(1,1,1)
  2238. end
  2239. end))
  2240. for i = 1,string.len(text2),1 do
  2241. wait()
  2242. Hehe2.Text = string.sub(text2,1,i)
  2243. end
  2244. wait(3)--Re[math.random(1, 93)]
  2245. for i = 0, 5, .025 do
  2246. wait()
  2247. Bill2.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2248. Hehe2.TextStrokeTransparency = i
  2249. Hehe2.TextTransparency = i
  2250. end
  2251. Bill2:Destroy()
  2252. end)
  2253. chat2()
  2254. end
  2255.  
  2256. function onChatted(msg)
  2257. chatfunc(msg)
  2258. end
  2259. Player.Chatted:connect(onChatted)
  2260.  
  2261. function FindNearestHead(Position, Distance, SinglePlayer)
  2262. if SinglePlayer then
  2263. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2264. end
  2265. local List = {}
  2266. for i, v in pairs(workspace:GetChildren()) do
  2267. if v:IsA("Model") then
  2268. if v:findFirstChild("Head") then
  2269. if v ~= Character then
  2270. if (v.Head.Position - Position).magnitude <= Distance then
  2271. table.insert(List, v)
  2272. end
  2273. end
  2274. end
  2275. end
  2276. end
  2277. return List
  2278. end
  2279. function SpawnTrail(FROM,TO,BIG)
  2280. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2281. MakeForm(TRAIL,"Cyl")
  2282. local cR=255
  2283. local cG=0
  2284. local cB=0
  2285. local flg5=1 local omgidk=1
  2286. local add=15
  2287. game:GetService("RunService").Heartbeat:Connect(function()
  2288. if omgidk>10000 then omgidk=0 end
  2289. omgidk=omgidk+1
  2290. if cR>=255 then flg5=1 end
  2291. if cG>=255 then flg5=2 end
  2292. if cB>=255 then flg5=3 end
  2293. if flg5==1 then cR=cR-add cG=cG+add end
  2294. if flg5==2 then cG=cG-add cB=cB+add end
  2295. if flg5==3 then cB=cB-add cR=cR+add end
  2296. color=Color3.fromRGB(cR,cG,cB)
  2297. TRAIL.Color = color
  2298. end)
  2299. local DIST = (FROM - TO).Magnitude
  2300. if BIG == true then
  2301. TRAIL.Size = VT(0.5,DIST,0.5)
  2302. else
  2303. TRAIL.Size = VT(0.25,DIST,0.25)
  2304. end
  2305. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2306. coroutine.resume(coroutine.create(function()
  2307. for i = 1, 55 do
  2308. Swait()
  2309. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2310. end
  2311. TRAIL:remove()
  2312. end))
  2313. end
  2314. local GROWL = 1544355717
  2315. local ROAR = 528589382
  2316. local ECHOBLAST = 376976397
  2317. local CAST = 459523898
  2318. local ALCHEMY = 424195979
  2319. local BUILDUP = 698824317
  2320. local BIGBUILDUP = 874376217
  2321. local IMPACT = 231917744
  2322. local LARGE_EXPLOSION = 168513088
  2323. local TURNUP = 299058146
  2324. function fa()
  2325. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2326. if HITFLOOR then
  2327. ATTACK = true
  2328. Rooted = true
  2329. UNANCHOR = false
  2330. for i=0, 0.6, 0.1 / Animation_Speed do
  2331. Swait()
  2332. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2333. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2334. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2335. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2336. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(60), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2337. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2338. end
  2339. for i=1, 120 do
  2340. Swait()
  2341. RootPart.CFrame = RootPart.CFrame * CF(0,((100-i)/100)*3,0.7)
  2342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2344. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2345. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2346. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2347. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.5*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2348. end
  2349. local A = false
  2350. coroutine.resume(coroutine.create(function()
  2351. repeat
  2352. Swait()
  2353. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(150), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(150), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2357. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.5*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2359. until A == true
  2360. for i=0, 0.6, 0.1 / Animation_Speed do
  2361. Swait()
  2362. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2363. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2364. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2365. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2366. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2367. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.5*SIZE, -0.01*SIZE) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2368. end
  2369. UNANCHOR = true
  2370. ATTACK = false
  2371. Rooted = false
  2372. end))
  2373.  
  2374. local RINGON = true
  2375. CreateSound(BIGBUILDUP,Effects,10,0.8,false)
  2376. coroutine.resume(coroutine.create(function()
  2377. repeat
  2378. Swait()
  2379.  
  2380. until RINGON == false
  2381. for i = 1, 140 do
  2382. Swait()
  2383.  
  2384. end
  2385.  
  2386. end))
  2387. for i = 1, 140 do
  2388. Swait()
  2389.  
  2390. end
  2391. wait(0.1)
  2392. A = true
  2393. for i = 1, 16 do
  2394. Swait(4)
  2395. local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Rocc", VT(7,7,10), true)
  2396. local POS = CF(SUN.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,45))
  2397. BULLET.CFrame = CF(POS.p,Mouse.Hit.p)
  2398. BULLET.Color = color
  2399. MakeForm(BULLET,"Ball")
  2400. coroutine.resume(coroutine.create(function()
  2401. for i =1, 200 do
  2402. Swait()
  2403. local HIT,POS,NORMAL = Raycast(BULLET.Position,BULLET.CFrame.lookVector,5,Character)
  2404. if HIT then
  2405. for i = 1, 3 do
  2406. WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Crown", Size = VT(15,0,15), Size2 = VT(31,1,31)*7, Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2407. end
  2408. WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(60,150,60)/1.6, Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = ECHOBLAST, SoundPitch = 1, SoundVolume = 10})
  2409. WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(60,150,60), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = IMPACT, SoundPitch = 1, SoundVolume = 10})
  2410. ApplyAoE(POS,65,xd,xd)
  2411. break
  2412. else
  2413. BULLET.CFrame = Clerp(BULLET.CFrame,CF(BULLET.Position,Mouse.Hit.p),0.001) * CF(0,0,-4)
  2414. end
  2415. end
  2416. BULLET:remove()
  2417. end))
  2418. end
  2419. RINGON = false
  2420. end
  2421. end
  2422. function Banisher_Bullet()
  2423. ATTACK = true
  2424. Rooted = false
  2425. Gun.Parent = nil
  2426. Gun2.Parent = Character
  2427. for i=0, 0.4, 0.1 / Animation_Speed do
  2428. Swait()
  2429. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2433. 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)
  2434. 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)
  2435. end
  2436. local GYRO = IT("BodyGyro", RootPart)
  2437. GYRO.D = 2
  2438. GYRO.P = 20000
  2439. GYRO.MaxTorque = VT(0, 4000000, 0)
  2440. repeat
  2441. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2442. for i=0, 0.2, 0.1 / Animation_Speed do
  2443. Swait()
  2444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2448. 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)
  2449. 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)
  2450. end
  2451. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2452. SpawnTrail(Hole.Position,POS)
  2453. if HIT ~= nil then
  2454. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2455. if ISBANISH == true then
  2456. Banish(HIT.Parent)
  2457. elseif ISBANISH == false then
  2458. Banish2(HIT.Parent)
  2459. elseif ISBANISH == "Ban" then
  2460. ban2(HIT.Parent)
  2461. end
  2462. end
  2463. end
  2464. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), 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 = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2465. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2466. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2467. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2468. for i=0, 0.3, 0.1 / Animation_Speed do
  2469. Swait()
  2470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-25), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2474. 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)
  2475. 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)
  2476. end
  2477. until KEYHOLD == false
  2478. ATTACK = false
  2479. Rooted = false
  2480. GYRO:Remove()
  2481. Gun.Parent = Character
  2482. Gun2.Parent = nil
  2483. bosschatfunc("Nice Shot",color,120)
  2484. end
  2485. --//=================================\\
  2486. --|| ASSIGN THINGS TO KEYS
  2487. --\\=================================//
  2488.  
  2489. function MouseDown(Mouse)
  2490. if ATTACK == false then
  2491. DeadlyLaser()
  2492. end
  2493. end
  2494.  
  2495. function MouseUp(Mouse)
  2496. HOLD = false
  2497. end
  2498. local shutdown = true
  2499. function KeyDown(Key)
  2500. KEYHOLD = true
  2501. if Key == "z" and ATTACK == false then
  2502. sunfun("Take this!")
  2503. SolarFlares()
  2504. end
  2505. if Key == "nine" and ATTACK == false then
  2506. bosschatfunc(">:3 >:3 >:3 >:3 >:3 >:3 >:3",color,120)
  2507. end
  2508. if Key == "c" and ATTACK == false then
  2509. sunfun("Soloar")
  2510. SolarSmash()
  2511. sunfun("Smash!")
  2512. end
  2513. if Key == "j" and ATTACK == false and shutdown == true then
  2514. shutdown = false
  2515. bosschatfunc("What about this gun?",color,120)
  2516. elseif Key == "j" and shutdown == false and ATTACK == false then
  2517. shutdown = true
  2518. bosschatfunc("Maybe i don't need gun",color,120)
  2519. end
  2520. if Key == "b" and ATTACK == false and shutdown == false then
  2521. Banisher_Bullet()
  2522. end
  2523. if Key == "n" and ATTACK == false and shutdown == false then
  2524. fa()
  2525. end
  2526. if Key == "k" and ATTACK == false and shutdown == false then
  2527. wait(0.2)
  2528. ATTACK = true
  2529. bosschatfunc("Server shutdown in 3 seconds",color,120)
  2530. wait(1.5)
  2531. bosschatfunc("Server shutdown in 2 seconds",color,120)
  2532. wait(1.5)
  2533. bosschatfunc("Server shutdown in 1 seconds",color,120)
  2534. wait(1.5)
  2535. bosschatfunc("Server shutdown Now!",color,120)
  2536. wait(1.191511)
  2537. KickThatNigga(Character)
  2538. end
  2539. if Key == "v" and ATTACK == false then
  2540. sunfun("Eruption!")
  2541. SolarEruption()
  2542. end
  2543.  
  2544. if Key == "x" and ATTACK == false then
  2545. chatfunc("I WILL END THIS NOW!")
  2546. sunfun("This is end!")
  2547. Nebula()
  2548. end
  2549. if Key == "y" and ATTACK == false and ISBANISH == "Ban" then
  2550. ISBANISH = false
  2551. chatfunc("Mode:kill")
  2552. elseif Key == "y" and ATTACK == false and ISBANISH == false then
  2553. ISBANISH = true
  2554. chatfunc("Mode:kickisher")
  2555. elseif Key == "y" and ATTACK == false and ISBANISH == true then
  2556. ISBANISH = "Ban"
  2557. chatfunc("Mode:banned")
  2558. end
  2559.  
  2560. if Key == "t" and ATTACK == false then
  2561. chatfunc("You idiot")
  2562. Taunt()
  2563. end
  2564.  
  2565. if Key == "q" and ATTACK == false then
  2566. if CUSTOMANGLES == true then
  2567. CUSTOMANGLES = false
  2568. Cam.CameraSubject = Humanoid
  2569. else
  2570. CUSTOMANGLES = true
  2571. end
  2572. end
  2573. end
  2574.  
  2575. function KeyUp(Key)
  2576. KEYHOLD = false
  2577. end
  2578.  
  2579. Mouse.Button1Down:connect(function(NEWKEY)
  2580. MouseDown(NEWKEY)
  2581. end)
  2582. Mouse.Button1Up:connect(function(NEWKEY)
  2583. MouseUp(NEWKEY)
  2584. end)
  2585. Mouse.KeyDown:connect(function(NEWKEY)
  2586. KeyDown(NEWKEY)
  2587. end)
  2588. Mouse.KeyUp:connect(function(NEWKEY)
  2589. KeyUp(NEWKEY)
  2590. end)
  2591.  
  2592. --//=================================\\
  2593. --\\=================================//
  2594.  
  2595. function unanchor()
  2596. for _, c in pairs(Character:GetChildren()) do
  2597. if c:IsA("BasePart") and c ~= RootPart then
  2598. c.Anchored = false
  2599. end
  2600. end
  2601. if UNANCHOR == true then
  2602. RootPart.Anchored = false
  2603. else
  2604. RootPart.Anchored = true
  2605. end
  2606. end
  2607. local lightning = Instance.new("ParticleEmitter",Torso)
  2608. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  2609. lightning.LightEmission = 0
  2610. lightning.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  2611. lightning.LockedToPart = true
  2612. lightning.Rate = 40
  2613. lightning.Lifetime = NumberRange.new(0.1,0.10)
  2614. lightning.Rotation = NumberRange.new(0,360)
  2615. lightning.Size = NumberSequence.new(3,3,3)
  2616. lightning.Transparency = NumberSequence.new(0,0)
  2617. lightning.Speed = NumberRange.new(0,0)
  2618. lightning.RotSpeed = NumberRange.new(0,0)
  2619. lightning.ZOffset = 5.5
  2620. lightning.Parent = Character.Torso
  2621. lightning.Enabled = false
  2622.  
  2623. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  2624. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  2625. eeeffecto.LightEmission = 0
  2626. eeeffecto.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  2627. eeeffecto.LockedToPart = true
  2628. eeeffecto.Rate = 10.5
  2629. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  2630. eeeffecto.Rotation = NumberRange.new(0,0)
  2631. eeeffecto.Size = NumberSequence.new(8,8,8)
  2632. eeeffecto.Transparency = NumberSequence.new(0,0)
  2633. eeeffecto.Speed = NumberRange.new(0,0)
  2634. eeeffecto.RotSpeed = NumberRange.new(0,0)
  2635. eeeffecto.Parent = Character.Torso
  2636. eeeffecto.Enabled = false
  2637.  
  2638. --//=================================\\
  2639. --|| WRAP THE WHOLE SCRIPT UP
  2640. --\\=================================//
  2641.  
  2642. Humanoid.Changed:connect(function(Jump)
  2643. if Jump == "Jump" and (Disable_Jump == true) then
  2644. Humanoid.Jump = false
  2645. end
  2646. end)
  2647.  
  2648. while true do
  2649. Swait()
  2650. eeeffecto.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  2651. lightning.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  2652. script.Parent = WEAPONGUI
  2653. ANIMATE.Parent = nil
  2654. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2655. v:Stop();
  2656. end
  2657. SINE = SINE + CHANGE
  2658. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2659. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2660. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2661. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  2662. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2663. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2664. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2665. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2666. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2667. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2668. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2669. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2670. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  2671. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  2672. end
  2673. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2674. ANIM = "Jump"
  2675. if ATTACK == false then
  2676. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2679. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2680. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2681. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2682. end
  2683. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2684. ANIM = "Fall"
  2685. if ATTACK == false then
  2686. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2692. end
  2693. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2694. ANIM = "Idle"
  2695. if ATTACK == false and shutdown == true then
  2696. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  2697. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 1 / Animation_Speed)
  2698. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2699. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2700. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2701. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
  2702. elseif ATTACK == false and shutdown == false then
  2703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2.4 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(3), RAD(-35), RAD(32-10*COS(SINE/12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(3), RAD(35), RAD(-32+10*COS(SINE/12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.124 * COS(SINE/12), 0) * ANGLES(RAD(0), RAD(80 - 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-7.5 + 0.5* SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.124 * COS(SINE/12), -0.3) * ANGLES(RAD(-25), RAD(-80 + 1 * SIN(SINE / 6)), RAD(0)) * ANGLES(RAD(-7.5 + 0.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2709. end
  2710. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2711. ANIM = "Walk"
  2712. if ATTACK == false and shutdown == true then
  2713. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(-15-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  2714. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(15+7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  2715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2717. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(105), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2718. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2719. elseif ATTACK == false and shutdown == false then
  2720. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2721. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (6 / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2722. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2723. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / 6)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2724. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2725. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2726. end
  2727. end
  2728. unanchor()
  2729. if INTROD == true then
  2730. if SUNFLOAT == true then
  2731. SUN.CFrame = Clerp(SUN.CFrame,Torso.CFrame*CF(0,14 + 4 * SIN(SINE / 12),11),0.035)
  2732. end
  2733. local HITFLOOR,SUNPOS = Raycast(SUN.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 23, Character)
  2734. if HITFLOOR then
  2735. local DISTANCE = (SUNPOS - SUN.Position).Magnitude
  2736. local SIZE = (23 - DISTANCE)*2
  2737. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(SIZE,0,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(SUNPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0.5, RotationY = 0, RotationZ = 0, Material = "Fabric", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 6})
  2738. end
  2739. end
  2740. Humanoid.MaxHealth = 500
  2741. Humanoid.Health = 500
  2742. if Rooted == false then
  2743. Disable_Jump = false
  2744. Humanoid.WalkSpeed = Speed
  2745. elseif Rooted == true then
  2746. Disable_Jump = true
  2747. Humanoid.WalkSpeed = 0
  2748. end
  2749. BMUSIC.SoundId = "rbxassetid://"..SONGID
  2750. BMUSIC.Looped = true
  2751. BMUSIC.Pitch = PITCH
  2752. BMUSIC.Volume = VOLUME
  2753. BMUSIC.Playing = INTROD
  2754. if BMUSIC.Parent ~= RootPart then
  2755. BMUSIC = IT("Sound",RootPart)
  2756. end
  2757. Humanoid.Name = "THE_SUN_IS_A_DEADLY_LASER"
  2758. if INTROD == false and ATTACK == false then
  2759. Intro()
  2760. INTROD = true
  2761. end
  2762. if shutdown == true then
  2763. tecks2.Text = "Deadly sun"
  2764. lightning.Enabled =false
  2765. eeeffecto.Enabled = false
  2766. Gun.Parent = Character
  2767. Gun2.Parent = nil
  2768. elseif shutdown == false then
  2769. tecks2.Text = epic_name[MRANDOM(1,#epic_name)]
  2770. lightning.Enabled = true
  2771. eeeffecto.Enabled = true
  2772. Gun2.Parent = Character
  2773. Gun.Parent = nil
  2774. end
  2775. ANTI()
  2776. refit()
  2777. local VELOC = -RootPart.RotVelocity.Y
  2778. if VELOC < -35 then
  2779. VELOC = -35
  2780. elseif VELOC > 35 then
  2781. VELOC = 35
  2782. end
  2783. if CUSTOMANGLES == true then
  2784. Cam.CameraType = Enum.CameraType.Scriptable
  2785. if CUSTOMCAM == false then
  2786. Cam.CFrame = Clerp(Cam.CFrame, RootPart.CFrame * ANGLES(RAD(-5), RAD(0), RAD(VELOC)) * CF(12,7,25), 0.15)
  2787. end
  2788. else
  2789. Cam.CameraType = CAMTYPE
  2790. end
  2791. end
  2792.  
  2793. --//=================================\\
  2794. --\\=================================//
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800. --//====================================================\\--
  2801. --|| END OF SCRIPT
  2802. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement