Penien23

OP FE

Jun 29th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.80 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. local rp = RealPlayer
  6. script.Parent = rp.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent then
  32. for _,f in pairs(t.Functions) do
  33. f(...)
  34. end
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=rp then return end
  42. m.Target = io.Target
  43. m.Hit = io.Hit
  44. if not io.isMouse then
  45. local b = io.UserInputState == Enum.UserInputState.Begin
  46. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  47. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  48. end
  49. for _,t in pairs(CAS.Actions) do
  50. for _,k in pairs(t.Keys) do
  51. if k==io.KeyCode then
  52. t.Function(t.Name,io.UserInputState,io)
  53. end
  54. end
  55. end
  56. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  58. end
  59. end)
  60. Event.Parent = NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62. local Event = script:WaitForChild("UserInput_Event")
  63.  
  64. local Mouse = Player:GetMouse()
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83.  
  84. ----Sandboxed game object that allows the usage of client-side methods and services
  85. --Real game object
  86. local _rg = game
  87.  
  88. --Metatable for fake service
  89. local fsmt = {
  90. __index = function(self,k)
  91. local s = rawget(self,"_RealService")
  92. if s then return s[k] end
  93. end,
  94. __newindex = function(self,k,v)
  95. local s = rawget(self,"_RealService")
  96. if s then s[k]=v end
  97. end,
  98. __call = function(self,...)
  99. local s = rawget(self,"_RealService")
  100. if s then return s(...) end
  101. end
  102. }
  103. local function FakeService(t,RealService)
  104. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  105. return setmetatable(t,fsmt)
  106. end
  107.  
  108. --Fake game object
  109. local g = {
  110. GetService = function(self,s)
  111. return self[s]
  112. end,
  113. Players = FakeService({
  114. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  115. },"Players"),
  116. UserInputService = FakeService(UIS,"UserInputService"),
  117. ContextActionService = FakeService(CAS,"ContextActionService"),
  118. }
  119. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  120. g.service = g.GetService
  121.  
  122. g.RunService = FakeService({
  123. RenderStepped = _rg:GetService("RunService").Heartbeat,
  124. BindToRenderStep = function(self,name,_,fun)
  125. self._btrs[name] = self.Heartbeat:Connect(fun)
  126. end,
  127. UnbindFromRenderStep = function(self,name)
  128. self._btrs[name]:Disconnect()
  129. end,
  130. },"RunService")
  131.  
  132. setmetatable(g,{
  133. __index=function(self,s)
  134. return _rg:GetService(s) or typeof(_rg[s])=="function"
  135. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  136. end,
  137. __newindex = fsmt.__newindex,
  138. __call = fsmt.__call
  139. })
  140. --Changing owner to fake player object to support owner:GetMouse()
  141. game,owner = g,g.Players.LocalPlayer
  142. end
  143.  
  144.  
  145. function sandbox(var,func)
  146. local env = getfenv(func)
  147. local newenv = setmetatable({},{
  148. __index = function(self,k)
  149. if k=="script" then
  150. return var
  151. else
  152. return env[k]
  153. end
  154. end,
  155. })
  156. setfenv(func,newenv)
  157. return func
  158. end
  159. function NS(...)
  160. local tab = {...}
  161. local fat = {}
  162. for i = 1, #tab do
  163. local v = tab[i]
  164. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  165. end
  166. return NumberSequence.new(fat);
  167. end
  168.  
  169. cors = {}
  170. mas = Instance.new("Model",game:GetService("Lighting"))
  171. ParticleEmitter0 = Instance.new("ParticleEmitter")
  172. ParticleEmitter1 = Instance.new("ParticleEmitter")
  173. ParticleEmitter2 = Instance.new("ParticleEmitter")
  174. ParticleEmitter0.Name = "Flames"
  175. ParticleEmitter0.Parent = mas
  176. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  177. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  178. ParticleEmitter0.Enabled = false
  179. ParticleEmitter0.LightEmission = 1
  180. ParticleEmitter0.LightInfluence = 1
  181. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  182. ParticleEmitter0.ZOffset = 1
  183. ParticleEmitter0.Size = NumberSequence.new(10,0)
  184. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  185. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  186. ParticleEmitter0.Rate = 9999
  187. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  188. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  189. ParticleEmitter0.VelocitySpread = 25
  190. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  191. ParticleEmitter1.Name = "Death"
  192. ParticleEmitter1.Parent = mas
  193. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  194. ParticleEmitter1.Enabled = false
  195. ParticleEmitter1.LightEmission = 0.75
  196. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  197. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  198. ParticleEmitter1.ZOffset = 0.5
  199. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  200. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  201. ParticleEmitter1.Drag = 5
  202. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  203. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  204. ParticleEmitter1.Rate = 999
  205. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  206. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  207. ParticleEmitter1.VelocitySpread = 360
  208. ParticleEmitter2.Name = "Wing"
  209. ParticleEmitter2.Parent = mas
  210. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  211. ParticleEmitter2.Enabled = false
  212. ParticleEmitter2.LightEmission = 1
  213. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  214. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  215. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  216. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  217. ParticleEmitter2.LockedToPart = true
  218. ParticleEmitter2.Rate = 300
  219.  
  220. for i,v in pairs(mas:GetChildren()) do
  221. v.Parent = script
  222. pcall(function() v:MakeJoints() end)
  223. end
  224. mas:Destroy()
  225. for i,v in pairs(cors) do
  226. spawn(function()
  227. pcall(v)
  228. end)
  229. end
  230.  
  231.  
  232. New = function(Object, Parent, Name, Data)
  233. local Object = Instance.new(Object)
  234. for Index, Value in pairs(Data or {}) do
  235. Object[Index] = Value
  236. end
  237. Object.Parent = Parent
  238. Object.Name = Name
  239. return Object
  240. end
  241.  
  242. --|| CREATED BY SHACKLUSTER Edit by lololol10ki
  243. --\\====================================================//--
  244.  
  245. warn("DONT LEAK IT!")
  246.  
  247. wait(0.2)
  248.  
  249.  
  250.  
  251. Player = game:GetService("Players").LocalPlayer
  252. PlayerGui = Player.PlayerGui
  253. Cam = workspace.CurrentCamera
  254. Backpack = Player.Backpack
  255. Character = Player.Character
  256. Humanoid = Character.Humanoid
  257. Mouse = Player:GetMouse()
  258. RootPart = Character["HumanoidRootPart"]
  259. Torso = Character["Torso"]
  260. Head = Character["Head"]
  261. RightArm = Character["Right Arm"]
  262. LeftArm = Character["Left Arm"]
  263. RightLeg = Character["Right Leg"]
  264. LeftLeg = Character["Left Leg"]
  265. RootJoint = RootPart["RootJoint"]
  266. Neck = Torso["Neck"]
  267. RightShoulder = Torso["Right Shoulder"]
  268. LeftShoulder = Torso["Left Shoulder"]
  269. RightHip = Torso["Right Hip"]
  270. LeftHip = Torso["Left Hip"]
  271. local sick = Instance.new("Sound",Character)
  272. sick.SoundId = "rbxassetid://195900687"
  273. sick.Looped = true
  274. sick.Pitch = 1
  275. sick.Volume = 3
  276. sick:Play()
  277.  
  278. IT = Instance.new
  279. CF = CFrame.new
  280. VT = Vector3.new
  281. RAD = math.rad
  282. C3 = Color3.new
  283. UD2 = UDim2.new
  284. BRICKC = BrickColor.new
  285. ANGLES = CFrame.Angles
  286. EULER = CFrame.fromEulerAnglesXYZ
  287. COS = math.cos
  288. ACOS = math.acos
  289. SIN = math.sin
  290. ASIN = math.asin
  291. ABS = math.abs
  292. MRANDOM = math.random
  293. FLOOR = math.floor
  294.  
  295. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  296. local NEWMESH = IT(MESH)
  297. if MESH == "SpecialMesh" then
  298. NEWMESH.MeshType = MESHTYPE
  299. if MESHID ~= "nil" and MESHID ~= "" then
  300. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  301. end
  302. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  303. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  304. end
  305. end
  306. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  307. NEWMESH.Scale = SCALE
  308. NEWMESH.Parent = PARENT
  309. return NEWMESH
  310. end
  311.  
  312. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  313. local NEWPART = IT("Part")
  314. NEWPART.formFactor = FORMFACTOR
  315. NEWPART.Reflectance = REFLECTANCE
  316. NEWPART.Transparency = TRANSPARENCY
  317. NEWPART.CanCollide = false
  318. NEWPART.Locked = true
  319. NEWPART.Anchored = true
  320. if ANCHOR == false then
  321. NEWPART.Anchored = false
  322. end
  323. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  324. NEWPART.Name = NAME
  325. NEWPART.Size = SIZE
  326. NEWPART.Position = Torso.Position
  327. NEWPART.Material = MATERIAL
  328. NEWPART:BreakJoints()
  329. NEWPART.Parent = PARENT
  330. return NEWPART
  331. end
  332.  
  333. --//=================================\\
  334. --|| CUSTOMIZATION
  335. --\\=================================//
  336.  
  337. Player_Size = 1 --Size of the player.
  338. Animation_Speed = 3
  339. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  340.  
  341. local Speed = 16
  342. local Effects2 = {}
  343.  
  344. --//=================================\\
  345. --|| END OF CUSTOMIZATION
  346. --\\=================================//
  347.  
  348. local function weldBetween(a, b)
  349. local weldd = Instance.new("ManualWeld")
  350. weldd.Part0 = a
  351. weldd.Part1 = b
  352. weldd.C0 = CFrame.new()
  353. weldd.C1 = b.CFrame:inverse() * a.CFrame
  354. weldd.Parent = a
  355. return weldd
  356. end
  357.  
  358. --//=================================\\
  359. --|| USEFUL VALUES
  360. --\\=================================//
  361.  
  362. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  363. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  364. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  365. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  366. local CHANGEDEFENSE = 0
  367. local CHANGEDAMAGE = 0
  368. local CHANGEMOVEMENT = 0
  369. local ANIM = "Idle"
  370. local ATTACK = false
  371. local EQUIPPED = false
  372. local HOLD = false
  373. local COMBO = 1
  374. local Rooted = false
  375. local SINE = 0
  376. local KEYHOLD = false
  377. local CHANGE = 2 / Animation_Speed
  378. local WALKINGANIM = false
  379. local WALK = 0
  380. local VALUE1 = false
  381. local VALUE2 = false
  382. local ROBLOXIDLEANIMATION = IT("Animation")
  383. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  384. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  385. --ROBLOXIDLEANIMATION.Parent = Humanoid
  386. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  387. WEAPONGUI.Name = "Weapon GUI"
  388. local Effects = IT("Folder", Character)
  389. Effects.Name = "Effects"
  390. local ANIMATOR = Humanoid.Animator
  391. local ANIMATE = Character.Animate
  392. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  393. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  394. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  395. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  396. local UNANCHOR = true
  397.  
  398. local SKILLTEXTCOLOR = C3(128,0,128)
  399. local EXTRATRANS = 0
  400.  
  401. --//=================================\\
  402. --\\=================================//
  403.  
  404.  
  405. --//=================================\\
  406. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  407. --\\=================================//
  408.  
  409. ArtificialHB = Instance.new("BindableEvent", script)
  410. ArtificialHB.Name = "ArtificialHB"
  411.  
  412. script:WaitForChild("ArtificialHB")
  413.  
  414. frame = Frame_Speed
  415. tf = 0
  416. allowframeloss = false
  417. tossremainder = false
  418. lastframe = tick()
  419. script.ArtificialHB:Fire()
  420.  
  421. game:GetService("RunService").Heartbeat:connect(function(s, p)
  422. tf = tf + s
  423. if tf >= frame then
  424. if allowframeloss then
  425. script.ArtificialHB:Fire()
  426. lastframe = tick()
  427. else
  428. for i = 1, math.floor(tf / frame) do
  429. script.ArtificialHB:Fire()
  430. end
  431. lastframe = tick()
  432. end
  433. if tossremainder then
  434. tf = 0
  435. else
  436. tf = tf - frame * math.floor(tf / frame)
  437. end
  438. end
  439. end)
  440.  
  441. --//=================================\\
  442. --\\=================================//
  443.  
  444.  
  445.  
  446.  
  447.  
  448. --//=================================\\
  449. --|| SOME FUNCTIONS
  450. --\\=================================//
  451.  
  452. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  453. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  454. end
  455. function PositiveAngle(NUMBER)
  456. if NUMBER >= 0 then
  457. NUMBER = 0
  458. end
  459. return NUMBER
  460. end
  461. function NegativeAngle(NUMBER)
  462. if NUMBER <= 0 then
  463. NUMBER = 0
  464. end
  465. return NUMBER
  466. end
  467. function Swait(NUMBER)
  468. if NUMBER == 0 or NUMBER == nil then
  469. ArtificialHB.Event:wait()
  470. else
  471. for i = 1, NUMBER do
  472. ArtificialHB.Event:wait()
  473. end
  474. end
  475. end
  476. function QuaternionFromCFrame(cf)
  477. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  478. local trace = m00 + m11 + m22
  479. if trace > 0 then
  480. local s = math.sqrt(1 + trace)
  481. local recip = 0.5 / s
  482. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  483. else
  484. local i = 0
  485. if m00 < m11 then
  486. i = 1
  487. end
  488. if m22 > (i == 0 and m00 or m11) then
  489. i = 2
  490. end
  491. if i == 0 then
  492. local s = math.sqrt(m00 - m11 - m22 + 1)
  493. local recip = 0.5 / s
  494. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  495. elseif i == 1 then
  496. local s = math.sqrt(m11 - m22 - m00 + 1)
  497. local recip = 0.5 / s
  498. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  499. elseif i == 2 then
  500. local s = math.sqrt(m22 - m00 - m11 + 1)
  501. local recip = 0.5 / s
  502. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  503. end
  504. end
  505. end
  506. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  507. local xs, ys, zs = x + x, y + y, z + z
  508. local wx, wy, wz = w * xs, w * ys, w * zs
  509. local xx = x * xs
  510. local xy = x * ys
  511. local xz = x * zs
  512. local yy = y * ys
  513. local yz = y * zs
  514. local zz = z * zs
  515. 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))
  516. end
  517. function QuaternionSlerp(a, b, t)
  518. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  519. local startInterp, finishInterp
  520. if cosTheta >= 1.0E-4 then
  521. if 1 - cosTheta > 1.0E-4 then
  522. local theta = ACOS(cosTheta)
  523. local invSinTheta = 1 / SIN(theta)
  524. startInterp = SIN((1 - t) * theta) * invSinTheta
  525. finishInterp = SIN(t * theta) * invSinTheta
  526. else
  527. startInterp = 1 - t
  528. finishInterp = t
  529. end
  530. elseif 1 + cosTheta > 1.0E-4 then
  531. local theta = ACOS(-cosTheta)
  532. local invSinTheta = 1 / SIN(theta)
  533. startInterp = SIN((t - 1) * theta) * invSinTheta
  534. finishInterp = SIN(t * theta) * invSinTheta
  535. else
  536. startInterp = t - 1
  537. finishInterp = t
  538. end
  539. 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
  540. end
  541. function Clerp(a, b, t)
  542. local qa = {
  543. QuaternionFromCFrame(a)
  544. }
  545. local qb = {
  546. QuaternionFromCFrame(b)
  547. }
  548. local ax, ay, az = a.x, a.y, a.z
  549. local bx, by, bz = b.x, b.y, b.z
  550. local _t = 1 - t
  551. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  552. end
  553. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  554. local frame = IT("Frame")
  555. frame.BackgroundTransparency = TRANSPARENCY
  556. frame.BorderSizePixel = BORDERSIZEPIXEL
  557. frame.Position = POSITION
  558. frame.Size = SIZE
  559. frame.BackgroundColor3 = COLOR
  560. frame.BorderColor3 = BORDERCOLOR
  561. frame.Name = NAME
  562. frame.Parent = PARENT
  563. return frame
  564. end
  565. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  566. local label = IT("TextLabel")
  567. label.BackgroundTransparency = 1
  568. label.Size = UD2(1, 0, 1, 0)
  569. label.Position = UD2(0, 0, 0, 0)
  570. label.TextColor3 = TEXTCOLOR
  571. label.TextStrokeTransparency = STROKETRANSPARENCY
  572. label.TextTransparency = TRANSPARENCY
  573. label.FontSize = TEXTFONTSIZE
  574. label.Font = TEXTFONT
  575. label.BorderSizePixel = BORDERSIZEPIXEL
  576. label.TextScaled = false
  577. label.Text = TEXT
  578. label.Name = NAME
  579. label.Parent = PARENT
  580. return label
  581. end
  582. function NoOutlines(PART)
  583. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  584. end
  585. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  586. local NEWWELD = IT(TYPE)
  587. NEWWELD.Part0 = PART0
  588. NEWWELD.Part1 = PART1
  589. NEWWELD.C0 = C0
  590. NEWWELD.C1 = C1
  591. NEWWELD.Parent = PARENT
  592. return NEWWELD
  593. end
  594. local S = IT("Sound")
  595. function CreateSound(ID, PARENT, VOLUME, PITCH)
  596. local NEWSOUND
  597. coroutine.resume(coroutine.create(function()
  598. NEWSOUND = S:Clone()
  599. NEWSOUND.Parent = PARENT
  600. NEWSOUND.Volume = VOLUME
  601. NEWSOUND.Pitch = PITCH
  602. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  603. Swait()
  604. NEWSOUND:play()
  605. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  606. end))
  607. return NEWSOUND
  608. end
  609. function CFrameFromTopBack(at, top, back)
  610. local right = top:Cross(back)
  611. 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)
  612. end
  613. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  614. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  615. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  616. wave.CFrame = CFRAME
  617. coroutine.resume(coroutine.create(function(PART)
  618. for i = 1, WAIT do
  619. Swait()
  620. mesh.Scale = mesh.Scale + GROW
  621. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  622. if DOESROT == true then
  623. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  624. end
  625. wave.Transparency = wave.Transparency + 0.5 / WAIT
  626. if wave.Transparency > 0.99 then
  627. wave:remove()
  628. end
  629. end
  630. end))
  631. end
  632. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  633. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  634. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  635. wave.CFrame = CFRAME
  636. coroutine.resume(coroutine.create(function(PART)
  637. for i = 1, WAIT do
  638. Swait()
  639. mesh.Scale = mesh.Scale + GROW
  640. if DOESROT == true then
  641. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  642. end
  643. wave.Transparency = wave.Transparency + 0.5 / WAIT
  644. if wave.Transparency > 0.99 then
  645. wave:remove()
  646. end
  647. end
  648. end))
  649. end
  650.  
  651. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  652. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  653. local mesh
  654. if KIND == "Base" then
  655. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  656. elseif KIND == "Thin" then
  657. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  658. elseif KIND == "Round" then
  659. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  660. end
  661. wave.CFrame = CFRAME
  662. coroutine.resume(coroutine.create(function(PART)
  663. for i = 1, WAIT do
  664. Swait()
  665. mesh.Scale = mesh.Scale + GROW / 10
  666. wave.Transparency = wave.Transparency + 0.5 / WAIT
  667. if wave.Transparency > 0.99 then
  668. wave:remove()
  669. end
  670. end
  671. end))
  672. end
  673. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  674. for _, c in pairs(PARENT:GetChildren()) do
  675. if c.ClassName == "Model" then
  676. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  677. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  678. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  679. if DIST > (TORSO.Position - FROM).Magnitude then
  680. table.insert(TABLE, c)
  681. end
  682. AddChildrenToTable(FROM, c, DIST, TABLE)
  683. elseif c.ClassName == "Folder" then
  684. AddChildrenToTable(FROM, c, DIST, TABLE)
  685. end
  686. end
  687. end
  688. end
  689. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  690. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  691. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  692. wave.CFrame = CFRAME
  693. coroutine.resume(coroutine.create(function(PART)
  694. for i = 1, WAIT do
  695. Swait()
  696. mesh.Scale = mesh.Scale + GROW
  697. wave.Transparency = wave.Transparency + 1 / WAIT
  698. if wave.Transparency > 0.99 then
  699. wave:remove()
  700. end
  701. end
  702. end))
  703. end
  704. function MakeForm(PART, TYPE)
  705. if TYPE == "Cyl" then
  706. local MSH = IT("CylinderMesh", PART)
  707. elseif TYPE == "Ball" then
  708. local MSH = IT("SpecialMesh", PART)
  709. MSH.MeshType = "Sphere"
  710. elseif TYPE == "Wedge" then
  711. local MSH = IT("SpecialMesh", PART)
  712. MSH.MeshType = "Wedge"
  713. end
  714. end
  715. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  716. if DoesCourontine == false then
  717. local Direction = CF(Part.Position, ToLocation)
  718. local Distance = (Part.Position - ToLocation).magnitude
  719. for i = 1, AmountOfTime do
  720. Swait()
  721. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  722. Direction = Part.CFrame
  723. end
  724. Part:remove()
  725. elseif DoesCourontine == true then
  726. coroutine.resume(coroutine.create(function()
  727. local Direction = CF(Part.Position, ToLocation)
  728. local Distance = (Part.Position - ToLocation).magnitude
  729. for i = 1, AmountOfTime do
  730. Swait()
  731. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  732. Direction = Part.CFrame
  733. end
  734. Part:remove()
  735. end))
  736. end
  737. end
  738. function CheckTableForString(Table, String)
  739. for i, v in pairs(Table) do
  740. if string.find(string.lower(String), string.lower(v)) then
  741. return true
  742. end
  743. end
  744. return false
  745. end
  746. function CheckIntangible(Hit)
  747. local ProjectileNames = {
  748. "Water",
  749. "Arrow",
  750. "Projectile",
  751. "Effect",
  752. "Rail",
  753. "Lightning",
  754. "Bullet"
  755. }
  756. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  757. return true
  758. end
  759. return false
  760. end
  761. Debris = game:GetService("Debris")
  762. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  763. local Direction = CFrame.new(StartPos, Vec).lookVector
  764. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  765. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  766. if RayHit and CheckIntangible(RayHit) then
  767. if DelayIfHit then
  768. wait()
  769. end
  770. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  771. end
  772. return RayHit, RayPos, RayNormal
  773. end
  774. function turnto(position)
  775. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  776. end
  777.  
  778. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  779. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  780. end
  781.  
  782. function PositiveAngle(NUMBER)
  783. if NUMBER >= 0 then
  784. NUMBER = 0
  785. end
  786. return NUMBER
  787. end
  788.  
  789. function NegativeAngle(NUMBER)
  790. if NUMBER <= 0 then
  791. NUMBER = 0
  792. end
  793. return NUMBER
  794. end
  795.  
  796. function Swait(NUMBER)
  797. if NUMBER == 0 or NUMBER == nil then
  798. ArtificialHB.Event:wait()
  799. else
  800. for i = 1, NUMBER do
  801. ArtificialHB.Event:wait()
  802. end
  803. end
  804. end
  805.  
  806. function QuaternionFromCFrame(cf)
  807. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  808. local trace = m00 + m11 + m22
  809. if trace > 0 then
  810. local s = math.sqrt(1 + trace)
  811. local recip = 0.5 / s
  812. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  813. else
  814. local i = 0
  815. if m11 > m00 then
  816. i = 1
  817. end
  818. if m22 > (i == 0 and m00 or m11) then
  819. i = 2
  820. end
  821. if i == 0 then
  822. local s = math.sqrt(m00 - m11 - m22 + 1)
  823. local recip = 0.5 / s
  824. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  825. elseif i == 1 then
  826. local s = math.sqrt(m11 - m22 - m00 + 1)
  827. local recip = 0.5 / s
  828. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  829. elseif i == 2 then
  830. local s = math.sqrt(m22 - m00 - m11 + 1)
  831. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  832. end
  833. end
  834. end
  835.  
  836. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  837. local xs, ys, zs = x + x, y + y, z + z
  838. local wx, wy, wz = w * xs, w * ys, w * zs
  839. local xx = x * xs
  840. local xy = x * ys
  841. local xz = x * zs
  842. local yy = y * ys
  843. local yz = y * zs
  844. local zz = z * zs
  845. 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))
  846. end
  847.  
  848. function QuaternionSlerp(a, b, t)
  849. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  850. local startInterp, finishInterp;
  851. if cosTheta >= 0.0001 then
  852. if (1 - cosTheta) > 0.0001 then
  853. local theta = ACOS(cosTheta)
  854. local invSinTheta = 1 / SIN(theta)
  855. startInterp = SIN((1 - t) * theta) * invSinTheta
  856. finishInterp = SIN(t * theta) * invSinTheta
  857. else
  858. startInterp = 1 - t
  859. finishInterp = t
  860. end
  861. else
  862. if (1 + cosTheta) > 0.0001 then
  863. local theta = ACOS(-cosTheta)
  864. local invSinTheta = 1 / SIN(theta)
  865. startInterp = SIN((t - 1) * theta) * invSinTheta
  866. finishInterp = SIN(t * theta) * invSinTheta
  867. else
  868. startInterp = t - 1
  869. finishInterp = t
  870. end
  871. end
  872. 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
  873. end
  874.  
  875. function Clerp(a, b, t)
  876. local qa = {QuaternionFromCFrame(a)}
  877. local qb = {QuaternionFromCFrame(b)}
  878. local ax, ay, az = a.x, a.y, a.z
  879. local bx, by, bz = b.x, b.y, b.z
  880. local _t = 1 - t
  881. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  882. end
  883.  
  884. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  885. local frame = IT("Frame")
  886. frame.BackgroundTransparency = TRANSPARENCY
  887. frame.BorderSizePixel = BORDERSIZEPIXEL
  888. frame.Position = POSITION
  889. frame.Size = SIZE
  890. frame.BackgroundColor3 = COLOR
  891. frame.BorderColor3 = BORDERCOLOR
  892. frame.Name = NAME
  893. frame.Parent = PARENT
  894. return frame
  895. end
  896.  
  897. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  898. local label = IT("TextLabel")
  899. label.BackgroundTransparency = 1
  900. label.Size = UD2(1, 0, 1, 0)
  901. label.Position = UD2(0, 0, 0, 0)
  902. label.TextColor3 = TEXTCOLOR
  903. label.TextStrokeTransparency = STROKETRANSPARENCY
  904. label.TextTransparency = TRANSPARENCY
  905. label.FontSize = TEXTFONTSIZE
  906. label.Font = TEXTFONT
  907. label.BorderSizePixel = BORDERSIZEPIXEL
  908. label.TextScaled = false
  909. label.Text = TEXT
  910. label.Name = NAME
  911. label.Parent = PARENT
  912. return label
  913. end
  914.  
  915. function NoOutlines(PART)
  916. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  917. end
  918.  
  919.  
  920. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  921. local NEWWELD = IT(TYPE)
  922. NEWWELD.Part0 = PART0
  923. NEWWELD.Part1 = PART1
  924. NEWWELD.C0 = C0
  925. NEWWELD.C1 = C1
  926. NEWWELD.Parent = PARENT
  927. return NEWWELD
  928. end
  929.  
  930. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  931. for _, c in pairs(PARENT:GetChildren()) do
  932. if c.ClassName == "Model" then
  933. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  934. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  935. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  936. if DIST > (TORSO.Position - FROM).Magnitude then
  937. table.insert(TABLE, c)
  938. end
  939. AddChildrenToTable(FROM, c, DIST, TABLE)
  940. elseif c.ClassName == "Folder" then
  941. AddChildrenToTable(FROM, c, DIST, TABLE)
  942. end
  943. end
  944. end
  945. end
  946.  
  947. function CreateSound(ID, PARENT, VOLUME, PITCH)
  948. local NEWSOUND = nil
  949. coroutine.resume(coroutine.create(function()
  950. NEWSOUND = IT("Sound", PARENT)
  951. NEWSOUND.Volume = VOLUME
  952. NEWSOUND.Pitch = PITCH
  953. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  954. Swait()
  955. NEWSOUND:play()
  956. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  957. end))
  958. return NEWSOUND
  959. end
  960.  
  961. function CFrameFromTopBack(at, top, back)
  962. local right = top:Cross(back)
  963. 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)
  964. end
  965.  
  966. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  967. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  968. wave.Color = COLOR
  969. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  970. wave.CFrame = CFRAME
  971. coroutine.resume(coroutine.create(function(PART)
  972. for i = 1, WAIT do
  973. Swait()
  974. mesh.Scale = mesh.Scale + GROW
  975. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  976. if DOESROT == true then
  977. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  978. end
  979. wave.Transparency = wave.Transparency + (0.5/WAIT)
  980. if wave.Transparency > 0.99 then
  981. wave:remove()
  982. end
  983. end
  984. end))
  985. end
  986.  
  987.  
  988.  
  989. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  990. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  991. local mesh = nil
  992. if KIND == "Base" then
  993. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  994. elseif KIND == "Thin" then
  995. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  996. elseif KIND == "Round" then
  997. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  998. end
  999. wave.CFrame = CFRAME
  1000. coroutine.resume(coroutine.create(function(PART)
  1001. for i = 1, WAIT do
  1002. Swait()
  1003. mesh.Scale = mesh.Scale + GROW/10
  1004. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1005. if wave.Transparency > 0.99 then
  1006. wave:remove()
  1007. end
  1008. end
  1009. end))
  1010. end
  1011. local DECAL = IT("Decal")
  1012. function MakeRing()
  1013. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Eggplant"), "MagicRing", VT(0, 0, 0), true)
  1014. local MSH = IT("BlockMesh", RING)
  1015. local TOP = DECAL:Clone()
  1016. local BOTTOM = DECAL:Clone()
  1017. TOP.Parent = RING
  1018. BOTTOM.Parent = RING
  1019. TOP.Face = "Top"
  1020. BOTTOM.Face = "Bottom"
  1021. TOP.Texture = "http://www.roblox.com/asset/?id=153700391"
  1022. BOTTOM.Texture = "http://www.roblox.com/asset/?id=153700391"
  1023. local function REMOVE()
  1024. coroutine.resume(coroutine.create(function()
  1025. local SIZE = MSH.Scale.X
  1026. for i = 1, 35 do
  1027. Swait()
  1028. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1029. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1030. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1031. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1032. end
  1033. RING:remove()
  1034. end))
  1035. end
  1036. return RING, MSH, REMOVE
  1037. end
  1038.  
  1039. function WACKYEFFECT(Table)
  1040. local TYPE = Table.EffectType or "Sphere"
  1041. local SIZE = Table.Size or VT(1, 1, 1)
  1042. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1043. local TRANSPARENCY = Table.Transparency or 0
  1044. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1045. local CFRAME = Table.CFrame or Torso.CFrame
  1046. local MOVEDIRECTION = Table.MoveToPos or nil
  1047. local ROTATION1 = Table.RotationX or 0
  1048. local ROTATION2 = Table.RotationY or 0
  1049. local ROTATION3 = Table.RotationZ or 0
  1050. local MATERIAL = Table.Material or "Neon"
  1051. local COLOR = Table.Color or C3(1, 1, 1)
  1052. local TIME = Table.Time or 45
  1053. local SOUNDID = Table.SoundID or nil
  1054. local SOUNDPITCH = Table.SoundPitch or nil
  1055. local SOUNDVOLUME = Table.SoundVolume or nil
  1056. coroutine.resume(coroutine.create(function()
  1057. local PLAYSSOUND = false
  1058. local SOUND
  1059. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1060. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1061. PLAYSSOUND = true
  1062. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1063. end
  1064. EFFECT.Color = COLOR
  1065. local MSH
  1066. if TYPE == "Sphere" then
  1067. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1068. elseif TYPE == "Block" then
  1069. MSH = IT("BlockMesh", EFFECT)
  1070. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1071. elseif TYPE == "Wave" then
  1072. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1073. elseif TYPE == "Ring" then
  1074. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1075. elseif TYPE == "Slash" then
  1076. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1077. elseif TYPE == "Round Slash" then
  1078. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1079. elseif TYPE == "Swirl" then
  1080. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1081. elseif TYPE == "Skull" then
  1082. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1083. elseif TYPE == "Crystal" then
  1084. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1085. end
  1086. if MSH ~= nil then
  1087. local MOVESPEED
  1088. if MOVEDIRECTION ~= nil then
  1089. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1090. end
  1091. local GROWTH = SIZE - ENDSIZE
  1092. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1093. if TYPE == "Block" then
  1094. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1095. else
  1096. EFFECT.CFrame = CFRAME
  1097. end
  1098. for LOOP = 1, TIME + 1 do
  1099. Swait()
  1100. MSH.Scale = MSH.Scale - GROWTH / TIME
  1101. if TYPE == "Wave" then
  1102. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1103. end
  1104. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1105. if TYPE == "Block" then
  1106. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1107. else
  1108. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1109. end
  1110. if MOVEDIRECTION ~= nil then
  1111. local ORI = EFFECT.Orientation
  1112. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1113. EFFECT.Orientation = ORI
  1114. end
  1115. end
  1116. if PLAYSSOUND == false then
  1117. EFFECT:remove()
  1118. else
  1119. repeat
  1120. Swait()
  1121. until SOUND.Playing == false
  1122. EFFECT:remove()
  1123. end
  1124. elseif PLAYSSOUND == false then
  1125. EFFECT:remove()
  1126. else
  1127. repeat
  1128. Swait()
  1129. until SOUND.Playing == false
  1130. EFFECT:remove()
  1131. end
  1132. end))
  1133. end
  1134.  
  1135. function MakeForm(PART,TYPE)
  1136. if TYPE == "Cyl" then
  1137. local MSH = IT("CylinderMesh",PART)
  1138. elseif TYPE == "Ball" then
  1139. local MSH = IT("SpecialMesh",PART)
  1140. MSH.MeshType = "Sphere"
  1141. elseif TYPE == "Wedge" then
  1142. local MSH = IT("SpecialMesh",PART)
  1143. MSH.MeshType = "Wedge"
  1144. end
  1145. end
  1146.  
  1147. function CheckTableForString(Table, String)
  1148. for i, v in pairs(Table) do
  1149. if string.find(string.lower(String), string.lower(v)) then
  1150. return true
  1151. end
  1152. end
  1153. return false
  1154. end
  1155.  
  1156. function CheckIntangible(Hit)
  1157. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1158. if Hit and Hit.Parent then
  1159. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1160. return true
  1161. end
  1162. end
  1163. return false
  1164. end
  1165.  
  1166. Debris = game:GetService("Debris")
  1167.  
  1168. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1169. local Direction = CFrame.new(StartPos, Vec).lookVector
  1170. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1171. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1172. if RayHit and CheckIntangible(RayHit) then
  1173. if DelayIfHit then
  1174. wait()
  1175. end
  1176. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1177. end
  1178. return RayHit, RayPos, RayNormal
  1179. end
  1180.  
  1181. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1182. if DoesCourontine == false then
  1183. local Direction = CF(Part.Position,ToLocation)
  1184. local Distance = (Part.Position - ToLocation).magnitude
  1185. for i = 1, AmountOfTime do
  1186. Swait()
  1187. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1188. Direction = Part.CFrame
  1189. end
  1190. Part:remove()
  1191. elseif DoesCourontine == true then
  1192. coroutine.resume(coroutine.create(function()
  1193. local Direction = CF(Part.Position,ToLocation)
  1194. local Distance = (Part.Position - ToLocation).magnitude
  1195. for i = 1, AmountOfTime do
  1196. Swait()
  1197. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1198. Direction = Part.CFrame
  1199. end
  1200. Part:remove()
  1201. end))
  1202. end
  1203. end
  1204.  
  1205. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1206. local TORSO = Torso
  1207. local HUM = Humanoid
  1208. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1209. coroutine.wrap(function()
  1210. VT = Vector3.new
  1211. MRANDOM = math.random
  1212. local A = TIME
  1213. local B = INTENSITY
  1214. local C = true
  1215. local HUMANOID = Humanoid
  1216. local TIMER = A or 35
  1217. local SHAKE = B or 5
  1218. local FADE = C or true
  1219. if HUMANOID then
  1220. local FADER = SHAKE / TIMER
  1221. for i = 1, TIMER do
  1222. wait()
  1223. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1224. end
  1225. HUMANOID.CameraOffset = VT(0, 0, 0)
  1226. end
  1227.  
  1228. end)()
  1229. end
  1230. end
  1231.  
  1232. function turnto(position)
  1233. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1234. end
  1235.  
  1236. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1237. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1238. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1239. wave.CFrame = CFRAME
  1240. coroutine.resume(coroutine.create(function(PART)
  1241. for i = 1, WAIT do
  1242. Swait()
  1243. mesh.Scale = mesh.Scale + GROW
  1244. if DOESROT == true then
  1245. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1246. end
  1247. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1248. if wave.Transparency > 0.99 then
  1249. wave:remove()
  1250. end
  1251. end
  1252. end))
  1253. end
  1254.  
  1255. --//=================================\\
  1256. --|| WEAPON CREATION
  1257. --\\=================================//
  1258.  
  1259.  
  1260. local top = Instance.new("Shirt")
  1261. top.ShirtTemplate = "rbxassetid://131708604"
  1262. top.Parent = Character
  1263. top.Name = "Cloth"
  1264. local bottom = Instance.new("Pants")
  1265. bottom.PantsTemplate = "rbxassetid://131708657"
  1266. bottom.Parent = Character
  1267. bottom.Name = "Cloth"
  1268.  
  1269. function Transparency(TRANS)
  1270. tecks2.TextTransparency = TRANS
  1271. tecks2.TextStrokeTransparency = TRANS
  1272. for _, c in pairs(Character:GetChildren()) do
  1273. if c.ClassName == "Part" and c ~= RootPart then
  1274. c.Transparency = TRANS
  1275. if c:FindFirstChildOfClass("Decal") then
  1276. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  1277. end
  1278. elseif c.ClassName == "Accessory" then
  1279. c.Handle.Transparency = TRANS
  1280. elseif c.ClassName == "Model" then
  1281. for _, q in pairs(c:GetChildren()) do
  1282. if q.ClassName == "Part" then
  1283. q.Transparency = TRANS
  1284. if q:FindFirstChildOfClass("Decal") then
  1285. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  1286. end
  1287. end
  1288. end
  1289. end
  1290. end
  1291. end
  1292.  
  1293. local DParticles = script.Death
  1294. DParticles:remove()
  1295. DParticles.Name = "ArchangelDeathParticles"
  1296. local BODY = {}
  1297.  
  1298. local BODY = {}
  1299. for _, c in pairs(Character:GetDescendants()) do
  1300. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1301. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1302. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1303. end
  1304. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1305. elseif c:IsA("JointInstance") then
  1306. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1307. end
  1308. end
  1309. for e = 1, #BODY do
  1310. if BODY[e] ~= nil then
  1311. local STUFF = BODY[e]
  1312. local PART = STUFF[1]
  1313. local PARENT = STUFF[2]
  1314. local MATERIAL = STUFF[3]
  1315. local COLOR = STUFF[4]
  1316. local TRANSPARENCY = STUFF[5]
  1317. if PART.ClassName == "Part" and PART ~= RootPart then
  1318. PART.Material = MATERIAL
  1319. PART.Color = COLOR
  1320. PART.Transparency = TRANSPARENCY
  1321. end
  1322. PART.AncestryChanged:Connect(function()
  1323. PART.Parent = PARENT
  1324. end)
  1325. end
  1326. end
  1327. function refit()
  1328. Character.Parent = workspace
  1329. for e = 1, #BODY do
  1330. if BODY[e] ~= nil then
  1331. local STUFF = BODY[e]
  1332. local PART = STUFF[1]
  1333. local PARENT = STUFF[2]
  1334. local MATERIAL = STUFF[3]
  1335. local COLOR = STUFF[4]
  1336. local TRANSPARENCY = STUFF[5]
  1337. if PART:IsA("BasePart") and PART ~= RootPart then
  1338. PART.Material = MATERIAL
  1339. PART.Color = COLOR
  1340. PART.Transparency = TRANSPARENCY+EXTRATRANS
  1341. end
  1342. if PART.Parent ~= PARENT then
  1343. Humanoid:remove()
  1344. PART.Parent = PARENT
  1345. Humanoid = IT("Humanoid",Character)
  1346.  
  1347. end
  1348. end
  1349. end
  1350. end
  1351.  
  1352. Humanoid.Died:connect(function()
  1353. refit()
  1354. end)
  1355.  
  1356. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  1357. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  1358. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  1359. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  1360. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  1361. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Space Beam", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 1")
  1362. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Space Blades", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 2")
  1363. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Supernova", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 3")
  1364. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[F] Orbital Beam", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 4")
  1365. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[R] Sky Blast", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0.5, "Text 5")
  1366. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  1367. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Black Hole Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  1368.  
  1369. --//=================================\\
  1370. --|| DAMAGING
  1371. --\\=================================//
  1372.  
  1373. function killnearest(position, range, maxstrength)
  1374. for i, v in ipairs(workspace:GetChildren()) do
  1375. local body = v:GetChildren()
  1376. for part = 1, #body do
  1377. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1378. if v.ClassName == "Model" then
  1379. v:BreakJoints()
  1380. end
  1381. local bv = Instance.new("BodyVelocity")
  1382. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1383. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1384. bv.Parent = body[part]
  1385. Debris:AddItem(bv, 0.2)
  1386. end
  1387. end
  1388. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1389. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1390. end
  1391. end
  1392. end
  1393. function Transparency(TRANS)
  1394. tecks2.TextTransparency = TRANS
  1395. tecks2.TextStrokeTransparency = TRANS
  1396. for _, c in pairs(Character:GetChildren()) do
  1397. if c.ClassName == "Part" and c ~= RootPart then
  1398. c.Transparency = TRANS
  1399. if c:FindFirstChildOfClass("Decal") then
  1400. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  1401. end
  1402. elseif c.ClassName == "Accessory" then
  1403. c.Handle.Transparency = TRANS
  1404. elseif c.ClassName == "Model" then
  1405. for _, q in pairs(c:GetChildren()) do
  1406. if q.ClassName == "Part" then
  1407. q.Transparency = TRANS
  1408. if q:FindFirstChildOfClass("Decal") then
  1409. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416.  
  1417. function ApplyAoE(POSITION, RANGE)
  1418. local PARTS = {}
  1419. for index, CHILD in pairs(workspace:GetDescendants()) do
  1420. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1421. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1422. if HUM then
  1423. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1424. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1425. CHILD:BreakJoints()
  1426. for index, PART in pairs(CHILD:GetChildren()) do
  1427. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  1428. local P = DParticles:Clone()
  1429. P.Parent = PART
  1430. P.Enabled = true
  1431. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  1432. PART.Anchored = true
  1433. table.insert(PARTS, {PART, P})
  1434. end
  1435. end
  1436. end
  1437. end
  1438. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  1439. local FOLDER = IT("Folder", CHILD)
  1440. FOLDER.Name = "ewdfrfgrwefd"
  1441. local P = DParticles:Clone()
  1442. P.Parent = CHILD
  1443. P.Enabled = true
  1444. CHILD:BreakJoints()
  1445. CHILD.CanCollide = false
  1446. CHILD.Anchored = true
  1447. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  1448. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  1449. table.insert(PARTS, {CHILD, P})
  1450. end
  1451. end
  1452. coroutine.resume(coroutine.create(function()
  1453. if #PARTS > 0 then
  1454. for i = 1, 85 do
  1455. Swait()
  1456. for E = 1, #PARTS do
  1457. local F = PARTS[E]
  1458. local A = F[1]
  1459. local B = F[2]
  1460. A.Transparency = A.Transparency + 0.011764705882352941
  1461. B.Rate = math.ceil(B.Rate * 1.2)
  1462. for index, E in pairs(A:GetChildren()) do
  1463. if E:IsA("Decal") or E:IsA("Texture") then
  1464. E.Transparency = E.Transparency + 0.011764705882352941
  1465. elseif E:IsA("JointInstance") then
  1466. E:remove()
  1467. elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
  1468. E.Enabled = false
  1469. end
  1470. end
  1471. end
  1472. end
  1473. for E = 1, #PARTS do
  1474. local F = PARTS[E]
  1475. local A = F[1]
  1476. local B = F[2]
  1477. B.Enabled = false
  1478. Debris:AddItem(A, 3)
  1479. end
  1480. end
  1481. end))
  1482. end
  1483.  
  1484. --//=================================\\
  1485. --|| ATTACK FUNCTIONS AND STUFF
  1486. --\\=================================//
  1487.  
  1488.  
  1489. function Lunar_Blast()
  1490. local HITBODIES = {}
  1491. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Eggplant", "CenterPart", VT(0,0,0))
  1492. local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
  1493. CENTER.CFrame = CF(ECH)
  1494. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Laser01", VT(25,99999,25))
  1495. RAY.Color = C3(128,0,128)
  1496. MakeForm(RAY,"Cyl")
  1497. RAY.CFrame = CF(ECH)
  1498. for i = 1, 75 do
  1499. Swait()
  1500. RAY.Transparency = RAY.Transparency - 1/75
  1501. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  1502. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(128,0,128),VT(0,0,0))
  1503. end
  1504. killnearest(ECH,25,25)
  1505. MagicSphere(VT(0,0,0),55,CF(ECH),C3(128,0,128),VT(2,2,2))
  1506. for i = 1, 25 do
  1507. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(128,0,128),VT(0,0,0))
  1508. end
  1509. CreateSound("168586621", CENTER, 10, 0.8)
  1510. RAY:remove()
  1511. Debris:AddItem(CENTER,5)
  1512. end
  1513.  
  1514. function Orbital_Devastor()
  1515. local HITBODIES = {}
  1516. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Eggplant", "CenterPart", VT(0, 0, 0))
  1517. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  1518. CENTER.CFrame = CF(ECH)
  1519. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Laser01", VT(25, 99999, 25))
  1520. MakeForm(RAY, "Cyl")
  1521. local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(28, 99999, 28))
  1522. MakeForm(RAY2, "Cyl")
  1523. RAY.CFrame = CF(ECH)
  1524. RAY2.CFrame = CF(ECH)
  1525. CreateSound("1368573150", CENTER, 10, 0.8)
  1526. for i = 1, 100 do
  1527. Swait()
  1528. RAY.Transparency = RAY.Transparency - 0.01
  1529. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  1530. RAY2.Transparency = RAY2.Transparency - 0.012
  1531. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  1532. end
  1533. for i = 1, 5 do
  1534. CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(128) / 0, 0,128), VT(i / 5, i / 5, 0))
  1535. end
  1536. RAY:remove()
  1537. RAY2:remove()
  1538. CreateSound("1368637781", CENTER, 10, 0.8)
  1539. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Eggplant", VT(8, 8, 8))
  1540. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
  1541. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  1542. Debris:AddItem(CENTER, 5)
  1543. CreateSound("414517163", CENTER, 10, 0.8)
  1544. for i = 1, 5 do
  1545. Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Eggplant", VT(0.5, 0, 0.5))
  1546. end
  1547. for e = 1, #HITBODIES do
  1548. if HITBODIES[e] ~= nil then
  1549. local BOD = HITBODIES[e]
  1550. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1551. if TORS then
  1552. BOD:BreakJoints()
  1553. for _, c in pairs(BOD:GetChildren()) do
  1554. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1555. local bv = Instance.new("BodyVelocity")
  1556. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1557. bv.velocity = CF(ECH, c.Position).lookVector * 250
  1558. bv.Parent = c
  1559. Debris:AddItem(bv, 0.2)
  1560. end
  1561. end
  1562. end
  1563. end
  1564. end
  1565. end
  1566.  
  1567. function Star_Cutter()
  1568. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1569. if HITFLOOR ~= nil then
  1570. ATTACK = true
  1571. Rooted = true
  1572. local GYRO = IT("BodyGyro",RootPart)
  1573. GYRO.D = 100
  1574. GYRO.P = 2000
  1575. GYRO.MaxTorque = VT(0,4000000,0)
  1576. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1577. CreateSound("429459101", RightArm, 10, 0.8)
  1578. for i=0, 3.5, 0.1 / Animation_Speed do
  1579. Swait()
  1580. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1581. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Eggplant",VT(-0.01,0,-0.01))
  1582. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1583. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1584. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1585. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1586. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1587. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1588. end
  1589. GYRO:remove()
  1590. for i=0, 0.15, 0.1 / Animation_Speed do
  1591. Swait()
  1592. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1593. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Eggplant",VT(-0.01,0,-0.01))
  1594. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1595. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1598. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1599. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1600. end
  1601. local BOMBSPOTS = {}
  1602. for i = 1, 25 do
  1603. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Blade", VT(8,1,8))
  1604. SPOT.Color = SKILLTEXTCOLOR
  1605. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1606. table.insert(BOMBSPOTS,SPOT)
  1607. MakeForm(SPOT,"Cyl")
  1608. end
  1609. for i=0, 0.2, 0.1 / Animation_Speed do
  1610. Swait()
  1611. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1612. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1613. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1614. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1615. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1616. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1617. end
  1618. ATTACK = false
  1619. Rooted = false
  1620. coroutine.resume(coroutine.create(function()
  1621. Swait(3)
  1622. for i = 1, #BOMBSPOTS do
  1623. if BOMBSPOTS[i] ~= nil then
  1624. local E = BOMBSPOTS[i]
  1625. coroutine.resume(coroutine.create(function()
  1626. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Eggplant", "Blade", VT(0,0,0))
  1627. BLADE.Color = SKILLTEXTCOLOR
  1628. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1629. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1630. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1631. for i = 1, 10 do
  1632. Swait()
  1633. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(128,0,128),VT(0,0,0))
  1634. killnearest(BLADE.Position,6,80)
  1635. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1636. BLADE.Transparency = BLADE.Transparency - 0.1
  1637. end
  1638. Swait(45)
  1639. for i = 1, 100 do
  1640. Swait()
  1641. BLADE.Transparency = BLADE.Transparency + 0.01
  1642. E.Transparency = E.Transparency + 0.01
  1643. end
  1644. BLADE:remove()
  1645. E:remove()
  1646. end))
  1647. end
  1648. end
  1649. end))
  1650. end
  1651. end
  1652.  
  1653. function Supernova()
  1654. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1655. if HITFLOOR ~= nil then
  1656. local HITBODIES = {}
  1657. ATTACK = true
  1658. Rooted = true
  1659. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Star", VT(0,0,0))
  1660. MakeForm(ABSOLUTE,"Ball")
  1661. CreateSound("429459101", ABSOLUTE, 10, 1)
  1662. for i=0, 4, 0.1 / Animation_Speed do
  1663. Swait()
  1664. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1665. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1666. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1667. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Star", VT(1,1,1))
  1668. MakeForm(CHARGE,"Ball")
  1669. CHARGE.Color = C3(128,0,128)
  1670. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1671. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1672. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1673. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1674. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1675. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1676. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1677. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1678. end
  1679. CreateSound("907330103", Head, 10, 1.2)
  1680. for i = 1, 75 do
  1681. Swait()
  1682. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1683. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1684. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1685. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1686. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1687. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1688. end
  1689. coroutine.resume(coroutine.create(function()
  1690. for i = 1, 13 do
  1691. for e = 1, 8 do
  1692. Swait()
  1693. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(128,0,128),VT(0,0,0))
  1694. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Eggplant".Color,VT(i,0.3,i)*2)
  1695. end
  1696. for i = 1, 5 do
  1697. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(128,0,128),VT(i,0,i)/3)
  1698. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(128,0,128),VT(0,0,0))
  1699. end
  1700. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Eggplant".Color,VT(i,i*2,i))
  1701. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  1702. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1703. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1704. killnearest(ABSOLUTE.Position,i*18,i)
  1705. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1706. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Eggplant".Color,VT(i,i,i)/1.1)
  1707. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  1708. end
  1709. ABSOLUTE.Transparency = 1
  1710. Debris:AddItem(ABSOLUTE,10)
  1711. end))
  1712. ATTACK = false
  1713. Rooted = false
  1714. end
  1715. end
  1716.  
  1717. local Decal = IT("Decal")
  1718.  
  1719. function Astral_Hop()
  1720. ATTACK = true
  1721. Rooted = false
  1722. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Warphole", VT(0,0,0))
  1723. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  1724. local decal = Decal:Clone()
  1725. decal.Parent = O1
  1726. decal.Face = "Top"
  1727. decal.Texture = "http://www.roblox.com/asset/?id=153700391"
  1728. local decal2 = Decal:Clone()
  1729. decal2.Parent = O1
  1730. decal2.Face = "Bottom"
  1731. decal2.Texture = "http://www.roblox.com/asset/?id=153700391"
  1732. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Warphole", VT(0,0,0))
  1733. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  1734. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  1735. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Warphole", VT(0,0,0))
  1736. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  1737. local decal = Decal:Clone()
  1738. decal.Parent = O2
  1739. decal.Face = "Top"
  1740. decal.Texture = "http://www.roblox.com/asset/?id=153700391"
  1741. local decal2 = Decal:Clone()
  1742. decal2.Parent = O2
  1743. decal2.Face = "Bottom"
  1744. decal2.Texture = "http://www.roblox.com/asset/?id=153700391"
  1745. CreateSound("84005018", O1, 10, 0.7)
  1746. CreateSound("84005018", O2, 10, 0.7)
  1747. for i = 1, 75 do
  1748. Swait()
  1749. O1.Size = O1.Size + VT(0.1,0,0.1)
  1750. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  1751. O2.Size = O2.Size + VT(0.1,0,0.1)
  1752. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1753. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1754. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1757. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1759. end
  1760. Rooted = true
  1761. UNANCHOR = false
  1762. RootPart.Anchored = true
  1763. VALUE1 = true
  1764. for i = 1, 15 do
  1765. Transparency(i/15)
  1766. Swait()
  1767. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  1768. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1774. end
  1775. RootPart.CFrame = ROOT.CFrame
  1776. ROOT:remove()
  1777. for i = 1, 15 do
  1778. Transparency(1-(i/15))
  1779. Swait()
  1780. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  1781. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1782. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1783. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1784. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1785. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1786. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1787. end
  1788. VALUE1 = false
  1789. coroutine.resume(coroutine.create(function()
  1790. for i = 1, 75 do
  1791. Swait()
  1792. O1.Size = O1.Size - VT(0.1,0,0.1)
  1793. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1794. O2.Size = O2.Size - VT(0.1,0,0.1)
  1795. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1796. end
  1797. O1:remove()
  1798. O2:remove()
  1799. end))
  1800. UNANCHOR = true
  1801. RootPart.Anchored = false
  1802. ATTACK = false
  1803. Rooted = false
  1804. end
  1805.  
  1806. function Taunt()
  1807. ATTACK = true
  1808. Rooted = true
  1809. local ROAR = CreateSound("907332040", Head, 10, 0.9)
  1810. Swait()
  1811. repeat
  1812. Swait()
  1813. ROAR.Parent = Head
  1814. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1818. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1819. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1820. until ROAR.Playing == false
  1821. ATTACK = false
  1822. Rooted = false
  1823. end
  1824.  
  1825. function Smite()
  1826. local RING, MESH, DELET = MakeRing()
  1827. local POS = Mouse.Hit.p
  1828. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  1829. for i = 1, 45 do
  1830. Swait()
  1831. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  1832. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1833. end
  1834. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  1835. if HITFLOOR then
  1836. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Eggplant"), "Beam", VT(0, 0, 0), true)
  1837. MakeForm(BEAM, "Cyl")
  1838. local DIST = (RING.Position - HITPOS).Magnitude
  1839. BEAM.Size = VT(0, DIST, 0)
  1840. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1841. for i = 1, 5 do
  1842. WACKYEFFECT({
  1843. EffectType = "Wave",
  1844. Size = VT(25, 0, 25),
  1845. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  1846. Transparency = 0,
  1847. Transparency2 = 1,
  1848. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1849. MoveToPos = nil,
  1850. RotationX = 0,
  1851. RotationY = 3,
  1852. RotationZ = 0,
  1853. Material = "Neon",
  1854. Color = C3(128, 0, 128),
  1855. SoundID = nil,
  1856. SoundPitch = nil,
  1857. SoundVolume = nil
  1858. })
  1859. WACKYEFFECT({
  1860. EffectType = "Round Slash",
  1861. Size = VT(3, 0, 3) / 13,
  1862. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  1863. Transparency = 0,
  1864. Transparency2 = 1,
  1865. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  1866. MoveToPos = nil,
  1867. RotationX = 0,
  1868. RotationY = 0,
  1869. RotationZ = 0,
  1870. Material = "Neon",
  1871. Color = C3(128, 0, 128),
  1872. SoundID = nil,
  1873. SoundPitch = nil,
  1874. SoundVolume = nil
  1875. })
  1876. WACKYEFFECT({
  1877. Time = 35,
  1878. EffectType = "Sphere",
  1879. Size = VT(22, 22, 22),
  1880. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  1881. Transparency = 0,
  1882. Transparency2 = 1,
  1883. CFrame = CF(HITPOS),
  1884. MoveToPos = nil,
  1885. RotationX = 0,
  1886. RotationY = 0,
  1887. RotationZ = 0,
  1888. Material = "Neon",
  1889. Color = C3(128, 0, 128),
  1890. SoundID = 459523898,
  1891. SoundPitch = MRANDOM(9, 12) / 10,
  1892. SoundVolume = 10
  1893. })
  1894. end
  1895. SHAKECAM(HITPOS, 100, 8, 15)
  1896. ApplyAoE(HITPOS, 50)
  1897. for i = 1, 25 do
  1898. Swait()
  1899. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  1900. BEAM.Transparency = BEAM.Transparency + 0.04
  1901. end
  1902. BEAM:remove()
  1903. end
  1904. wait(0.2)
  1905. DELET()
  1906. end
  1907.  
  1908. --//=================================\\
  1909. --|| ASSIGN THINGS TO KEYS
  1910. --\\=================================//
  1911.  
  1912. function MouseDown(Mouse)
  1913. if ATTACK == false then
  1914. end
  1915. end
  1916.  
  1917. function MouseUp(Mouse)
  1918. HOLD = false
  1919. end
  1920.  
  1921. function KeyDown(Key)
  1922. KEYHOLD = true
  1923. if Key == "z" and ATTACK == false then
  1924. Lunar_Blast()
  1925. end
  1926.  
  1927. if Key == "b" and ATTACK == false then
  1928. Star_Cutter()
  1929. end
  1930.  
  1931. if Key == "f" and ATTACK == false then
  1932. Orbital_Devastor()
  1933. end
  1934.  
  1935. if Key == "r" and ATTACK == false then
  1936. Smite()
  1937. end
  1938.  
  1939. if Key == "c" and ATTACK == false then
  1940. Supernova()
  1941. end
  1942.  
  1943. if Key == "t" and ATTACK == false then
  1944. Taunt()
  1945. end
  1946.  
  1947. if Key == "q" and ATTACK == false then
  1948. Astral_Hop()
  1949. end
  1950. end
  1951.  
  1952. function KeyUp(Key)
  1953. KEYHOLD = false
  1954. end
  1955.  
  1956. Mouse.Button1Down:connect(function(NEWKEY)
  1957. MouseDown(NEWKEY)
  1958. end)
  1959. Mouse.Button1Up:connect(function(NEWKEY)
  1960. MouseUp(NEWKEY)
  1961. end)
  1962. Mouse.KeyDown:connect(function(NEWKEY)
  1963. KeyDown(NEWKEY)
  1964. end)
  1965. Mouse.KeyUp:connect(function(NEWKEY)
  1966. KeyUp(NEWKEY)
  1967. end)
  1968.  
  1969. --//=================================\\
  1970. --\\=================================//
  1971.  
  1972.  
  1973. function unanchor()
  1974. if UNANCHOR == true then
  1975. g = Character:GetChildren()
  1976. for i = 1, #g do
  1977. if g[i].ClassName == "Part" then
  1978. g[i].Anchored = false
  1979. end
  1980. end
  1981. end
  1982. end
  1983.  
  1984.  
  1985. --//=================================\\
  1986. --|| WRAP THE WHOLE SCRIPT UP
  1987. --\\=================================//
  1988.  
  1989. Humanoid.Changed:connect(function(Jump)
  1990. if Jump == "Jump" and (Disable_Jump == true) then
  1991. Humanoid.Jump = false
  1992. end
  1993. end)
  1994.  
  1995. Humanoid.HipHeight = 2
  1996. Head:ClearAllChildren()
  1997. local FF = IT("ForceField",Character)
  1998. FF.Visible = false
  1999. Speed = 35
  2000.  
  2001.  
  2002.  
  2003. local FOUNDFORGOTTEN = false
  2004.  
  2005. while true do
  2006. Swait()
  2007. ANIMATE.Parent = nil
  2008. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2009. IDLEANIMATION:Play()
  2010. SINE = SINE + CHANGE
  2011. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2012. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2013. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2014. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  2015. if ATTACK == false then
  2016. if TORSOVELOCITY < 1 then
  2017. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2018. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2019. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2020. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2021. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2022. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2023. elseif TORSOVELOCITY > 1 then
  2024. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2030. end
  2031. end
  2032. unanchor()
  2033. Humanoid.MaxHealth = "inf"
  2034. Humanoid.Health = "inf"
  2035. if Rooted == false then
  2036. Disable_Jump = false
  2037. Humanoid.WalkSpeed = Speed
  2038. elseif Rooted == true then
  2039. Disable_Jump = true
  2040. Humanoid.WalkSpeed = 0
  2041. end
  2042. for _, c in pairs(Character:GetChildren()) do
  2043. if c.ClassName == "Part" then
  2044. c.Material = "Neon"
  2045. if c:FindFirstChildOfClass("ParticleEmitter") then
  2046. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2047. end
  2048. if c == Torso then
  2049. c.Color = C3(128,0,128)
  2050. elseif c == RightArm then
  2051. c.Color = C3(0.05,0.05,0.15)
  2052. elseif c == LeftArm then
  2053. c.Color = C3(0.05,0.05,0.15)
  2054. elseif c == RightLeg then
  2055. c.Color = C3(0,0,0.05)
  2056. elseif c == LeftLeg then
  2057. c.Color = C3(0,0,0.05)
  2058. elseif c == Head then
  2059. if c:FindFirstChild("Dominus") == nil then
  2060. local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "250577405", VT(1,1,1)*1.1, VT(0,0,0))
  2061. M.Name = "Dominus"
  2062. end
  2063. if c:FindFirstChild("face") then
  2064. c.face:remove()
  2065. end
  2066. end
  2067. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2068.  
  2069. end
  2070. end
  2071. FF.Parent = Character
  2072. sick.Parent = Character
  2073. refit()
  2074. Humanoid.HipHeight = 2
  2075. script.Parent = WEAPONGUI
  2076. Character.Parent = workspace
  2077. Humanoid.PlatformStand = false
  2078. Humanoid.Name = "Astra"
  2079. if VALUE2 == false then
  2080. Slice("Thin", 0.1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(128,0,128), VT(-0.01, 0, -0.01))
  2081. FOUNDFORGOTTEN = false
  2082. end
  2083. Humanoid.DisplayDistanceType = "None"
  2084. for _, c in pairs(workspace:GetChildren()) do
  2085. if c.ClassName == "Model" then
  2086. for _, q in pairs(c:GetChildren()) do
  2087. if q.Name == ("Forgotten Dominus") then
  2088. FOUNDFORGOTTEN = true
  2089. end
  2090. end
  2091. end
  2092. end
  2093. if FOUNDFORGOTTEN == true then
  2094. sick:Stop()
  2095. else
  2096. sick.Playing = true
  2097. end
  2098. if VALUE1 == false then
  2099. MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(128,0,128),VT(0,0,0))
  2100. end
  2101. end
  2102.  
  2103. --//=================================\\
  2104. --\\=================================//
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110. --//====================================================\\--
  2111. --|| END OF SCRIPT
  2112. --\\====================================================/
Add Comment
Please, Sign In to add comment