kaualima12

Untitled

Oct 9th, 2019
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. wait(0.2)
  154.  
  155. Player = game:GetService("Players").LocalPlayer
  156. PlayerGui = Player.PlayerGui
  157. Cam = workspace.CurrentCamera
  158. Backpack = Player.Backpack
  159. Character = Player.Character
  160. Humanoid = Character.Humanoid
  161. Mouse = Player:GetMouse()
  162. RootPart = Character["HumanoidRootPart"]
  163. Torso = Character["Torso"]
  164. Head = Character["Head"]
  165. RightArm = Character["Right Arm"]
  166. LeftArm = Character["Left Arm"]
  167. RightLeg = Character["Right Leg"]
  168. LeftLeg = Character["Left Leg"]
  169. RootJoint = RootPart["RootJoint"]
  170. Neck = Torso["Neck"]
  171. RightShoulder = Torso["Right Shoulder"]
  172. LeftShoulder = Torso["Left Shoulder"]
  173. RightHip = Torso["Right Hip"]
  174. LeftHip = Torso["Left Hip"]
  175. local sick = Instance.new("Sound",Character)
  176. sick.SoundId = "rbxassetid://1351017179"
  177. sick.Looped = true
  178. sick.Pitch = 1
  179. sick.Volume = 1
  180. sick:Play()
  181.  
  182. IT = Instance.new
  183. CF = CFrame.new
  184. VT = Vector3.new
  185. RAD = math.rad
  186. C3 = Color3.new
  187. UD2 = UDim2.new
  188. BRICKC = BrickColor.new
  189. ANGLES = CFrame.Angles
  190. EULER = CFrame.fromEulerAnglesXYZ
  191. COS = math.cos
  192. ACOS = math.acos
  193. SIN = math.sin
  194. ASIN = math.asin
  195. ABS = math.abs
  196. MRANDOM = math.random
  197. FLOOR = math.floor
  198.  
  199. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  200. local NEWMESH = IT(MESH)
  201. if MESH == "SpecialMesh" then
  202. NEWMESH.MeshType = MESHTYPE
  203. if MESHID ~= "nil" and MESHID ~= "" then
  204. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  205. end
  206. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  207. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  208. end
  209. end
  210. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  211. NEWMESH.Scale = SCALE
  212. NEWMESH.Parent = PARENT
  213. return NEWMESH
  214. end
  215.  
  216. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  217. local NEWPART = IT("Part")
  218. NEWPART.formFactor = FORMFACTOR
  219. NEWPART.Reflectance = REFLECTANCE
  220. NEWPART.Transparency = TRANSPARENCY
  221. NEWPART.CanCollide = false
  222. NEWPART.Locked = true
  223. NEWPART.Anchored = true
  224. if ANCHOR == false then
  225. NEWPART.Anchored = false
  226. end
  227. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  228. NEWPART.Name = NAME
  229. NEWPART.Size = SIZE
  230. NEWPART.Position = Torso.Position
  231. NEWPART.Material = MATERIAL
  232. NEWPART:BreakJoints()
  233. NEWPART.Parent = PARENT
  234. return NEWPART
  235. end
  236.  
  237. --//=================================\\
  238. --|| CUSTOMIZATION
  239. --\\=================================//
  240.  
  241. Player_Size = 1 --Size of the player.
  242. Animation_Speed = 3
  243. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  244.  
  245. local Speed = 16
  246. local Effects2 = {}
  247.  
  248. --//=================================\\
  249. --|| END OF CUSTOMIZATION
  250. --\\=================================//
  251.  
  252. local function weldBetween(a, b)
  253. local weldd = Instance.new("ManualWeld")
  254. weldd.Part0 = a
  255. weldd.Part1 = b
  256. weldd.C0 = CFrame.new()
  257. weldd.C1 = b.CFrame:inverse() * a.CFrame
  258. weldd.Parent = a
  259. return weldd
  260. end
  261.  
  262. --//=================================\\
  263. --|| USEFUL VALUES
  264. --\\=================================//
  265.  
  266. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  267. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  268. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  269. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  270. local CHANGEDEFENSE = 0
  271. local CHANGEDAMAGE = 0
  272. local CHANGEMOVEMENT = 0
  273. local ANIM = "Idle"
  274. local ATTACK = false
  275. local EQUIPPED = false
  276. local HOLD = false
  277. local COMBO = 1
  278. local Rooted = false
  279. local SINE = 0
  280. local KEYHOLD = false
  281. local CHANGE = 2 / Animation_Speed
  282. local WALKINGANIM = false
  283. local WALK = 0
  284. local VALUE1 = false
  285. local VALUE2 = false
  286. local ROBLOXIDLEANIMATION = IT("Animation")
  287. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  288. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  289. --ROBLOXIDLEANIMATION.Parent = Humanoid
  290. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  291. WEAPONGUI.Name = "Weapon GUI"
  292. local Effects = IT("Folder", Character)
  293. Effects.Name = "Effects"
  294. local ANIMATOR = Humanoid.Animator
  295. local ANIMATE = Character.Animate
  296. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  297. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  298. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  299. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  300. local UNANCHOR = true
  301.  
  302. local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
  303.  
  304. --//=================================\\
  305. --\\=================================//
  306.  
  307.  
  308. --//=================================\\
  309. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  310. --\\=================================//
  311.  
  312. ArtificialHB = Instance.new("BindableEvent", script)
  313. ArtificialHB.Name = "ArtificialHB"
  314.  
  315. script:WaitForChild("ArtificialHB")
  316.  
  317. frame = Frame_Speed
  318. tf = 0
  319. allowframeloss = false
  320. tossremainder = false
  321. lastframe = tick()
  322. script.ArtificialHB:Fire()
  323.  
  324. game:GetService("RunService").Heartbeat:connect(function(s, p)
  325. tf = tf + s
  326. if tf >= frame then
  327. if allowframeloss then
  328. script.ArtificialHB:Fire()
  329. lastframe = tick()
  330. else
  331. for i = 1, math.floor(tf / frame) do
  332. script.ArtificialHB:Fire()
  333. end
  334. lastframe = tick()
  335. end
  336. if tossremainder then
  337. tf = 0
  338. else
  339. tf = tf - frame * math.floor(tf / frame)
  340. end
  341. end
  342. end)
  343.  
  344. --//=================================\\
  345. --\\=================================//
  346.  
  347.  
  348.  
  349.  
  350.  
  351. --//=================================\\
  352. --|| SOME FUNCTIONS
  353. --\\=================================//
  354.  
  355. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  356. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  357. end
  358.  
  359. function PositiveAngle(NUMBER)
  360. if NUMBER >= 0 then
  361. NUMBER = 0
  362. end
  363. return NUMBER
  364. end
  365.  
  366. function NegativeAngle(NUMBER)
  367. if NUMBER <= 0 then
  368. NUMBER = 0
  369. end
  370. return NUMBER
  371. end
  372.  
  373. function Swait(NUMBER)
  374. if NUMBER == 0 or NUMBER == nil then
  375. ArtificialHB.Event:wait()
  376. else
  377. for i = 1, NUMBER do
  378. ArtificialHB.Event:wait()
  379. end
  380. end
  381. end
  382.  
  383. function QuaternionFromCFrame(cf)
  384. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  385. local trace = m00 + m11 + m22
  386. if trace > 0 then
  387. local s = math.sqrt(1 + trace)
  388. local recip = 0.5 / s
  389. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  390. else
  391. local i = 0
  392. if m11 > m00 then
  393. i = 1
  394. end
  395. if m22 > (i == 0 and m00 or m11) then
  396. i = 2
  397. end
  398. if i == 0 then
  399. local s = math.sqrt(m00 - m11 - m22 + 1)
  400. local recip = 0.5 / s
  401. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  402. elseif i == 1 then
  403. local s = math.sqrt(m11 - m22 - m00 + 1)
  404. local recip = 0.5 / s
  405. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  406. elseif i == 2 then
  407. local s = math.sqrt(m22 - m00 - m11 + 1)
  408. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  409. end
  410. end
  411. end
  412.  
  413. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  414. local xs, ys, zs = x + x, y + y, z + z
  415. local wx, wy, wz = w * xs, w * ys, w * zs
  416. local xx = x * xs
  417. local xy = x * ys
  418. local xz = x * zs
  419. local yy = y * ys
  420. local yz = y * zs
  421. local zz = z * zs
  422. 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))
  423. end
  424.  
  425. function QuaternionSlerp(a, b, t)
  426. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  427. local startInterp, finishInterp;
  428. if cosTheta >= 0.0001 then
  429. if (1 - cosTheta) > 0.0001 then
  430. local theta = ACOS(cosTheta)
  431. local invSinTheta = 1 / SIN(theta)
  432. startInterp = SIN((1 - t) * theta) * invSinTheta
  433. finishInterp = SIN(t * theta) * invSinTheta
  434. else
  435. startInterp = 1 - t
  436. finishInterp = t
  437. end
  438. else
  439. if (1 + cosTheta) > 0.0001 then
  440. local theta = ACOS(-cosTheta)
  441. local invSinTheta = 1 / SIN(theta)
  442. startInterp = SIN((t - 1) * theta) * invSinTheta
  443. finishInterp = SIN(t * theta) * invSinTheta
  444. else
  445. startInterp = t - 1
  446. finishInterp = t
  447. end
  448. end
  449. 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
  450. end
  451.  
  452. function Clerp(a, b, t)
  453. local qa = {QuaternionFromCFrame(a)}
  454. local qb = {QuaternionFromCFrame(b)}
  455. local ax, ay, az = a.x, a.y, a.z
  456. local bx, by, bz = b.x, b.y, b.z
  457. local _t = 1 - t
  458. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  459. end
  460.  
  461. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  462. local frame = IT("Frame")
  463. frame.BackgroundTransparency = TRANSPARENCY
  464. frame.BorderSizePixel = BORDERSIZEPIXEL
  465. frame.Position = POSITION
  466. frame.Size = SIZE
  467. frame.BackgroundColor3 = COLOR
  468. frame.BorderColor3 = BORDERCOLOR
  469. frame.Name = NAME
  470. frame.Parent = PARENT
  471. return frame
  472. end
  473.  
  474. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  475. local label = IT("TextLabel")
  476. label.BackgroundTransparency = 1
  477. label.Size = UD2(1, 0, 1, 0)
  478. label.Position = UD2(0, 0, 0, 0)
  479. label.TextColor3 = TEXTCOLOR
  480. label.TextStrokeTransparency = STROKETRANSPARENCY
  481. label.TextTransparency = TRANSPARENCY
  482. label.FontSize = TEXTFONTSIZE
  483. label.Font = TEXTFONT
  484. label.BorderSizePixel = BORDERSIZEPIXEL
  485. label.TextScaled = false
  486. label.Text = TEXT
  487. label.Name = NAME
  488. label.Parent = PARENT
  489. return label
  490. end
  491.  
  492. function NoOutlines(PART)
  493. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  494. end
  495.  
  496.  
  497. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  498. local NEWWELD = IT(TYPE)
  499. NEWWELD.Part0 = PART0
  500. NEWWELD.Part1 = PART1
  501. NEWWELD.C0 = C0
  502. NEWWELD.C1 = C1
  503. NEWWELD.Parent = PARENT
  504. return NEWWELD
  505. end
  506.  
  507. function CreateSound(ID, PARENT, VOLUME, PITCH)
  508. local NEWSOUND = nil
  509. coroutine.resume(coroutine.create(function()
  510. NEWSOUND = IT("Sound", PARENT)
  511. NEWSOUND.Volume = VOLUME
  512. NEWSOUND.Pitch = PITCH
  513. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  514. Swait()
  515. NEWSOUND:play()
  516. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  517. end))
  518. return NEWSOUND
  519. end
  520.  
  521. function CFrameFromTopBack(at, top, back)
  522. local right = top:Cross(back)
  523. 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)
  524. end
  525.  
  526. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  527. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  528. wave.Color = COLOR
  529. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  530. wave.CFrame = CFRAME
  531. coroutine.resume(coroutine.create(function(PART)
  532. for i = 1, WAIT do
  533. Swait()
  534. mesh.Scale = mesh.Scale + GROW
  535. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  536. if DOESROT == true then
  537. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  538. end
  539. wave.Transparency = wave.Transparency + (0.5/WAIT)
  540. if wave.Transparency > 0.99 then
  541. wave:remove()
  542. end
  543. end
  544. end))
  545. end
  546.  
  547. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  548. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  549. wave.Color = COLOR
  550. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  551. wave.CFrame = CFRAME
  552. coroutine.resume(coroutine.create(function(PART)
  553. for i = 1, WAIT do
  554. Swait()
  555. mesh.Scale = mesh.Scale + GROW
  556. wave.Transparency = wave.Transparency + (1/WAIT)
  557. if wave.Transparency > 0.99 then
  558. wave:remove()
  559. end
  560. end
  561. end))
  562. end
  563.  
  564. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  565. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  566. local mesh = nil
  567. if KIND == "Base" then
  568. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  569. elseif KIND == "Thin" then
  570. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  571. elseif KIND == "Round" then
  572. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  573. end
  574. wave.CFrame = CFRAME
  575. coroutine.resume(coroutine.create(function(PART)
  576. for i = 1, WAIT do
  577. Swait()
  578. mesh.Scale = mesh.Scale + GROW/10
  579. wave.Transparency = wave.Transparency + (0.5/WAIT)
  580. if wave.Transparency > 0.99 then
  581. wave:remove()
  582. end
  583. end
  584. end))
  585. end
  586.  
  587. function MakeForm(PART,TYPE)
  588. if TYPE == "Cyl" then
  589. local MSH = IT("CylinderMesh",PART)
  590. elseif TYPE == "Ball" then
  591. local MSH = IT("SpecialMesh",PART)
  592. MSH.MeshType = "Sphere"
  593. elseif TYPE == "Wedge" then
  594. local MSH = IT("SpecialMesh",PART)
  595. MSH.MeshType = "Wedge"
  596. end
  597. end
  598.  
  599. function CheckTableForString(Table, String)
  600. for i, v in pairs(Table) do
  601. if string.find(string.lower(String), string.lower(v)) then
  602. return true
  603. end
  604. end
  605. return false
  606. end
  607.  
  608. function CheckIntangible(Hit)
  609. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  610. if Hit and Hit.Parent then
  611. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  612. return true
  613. end
  614. end
  615. return false
  616. end
  617.  
  618. Debris = game:GetService("Debris")
  619.  
  620. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  621. local Direction = CFrame.new(StartPos, Vec).lookVector
  622. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  623. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  624. if RayHit and CheckIntangible(RayHit) then
  625. if DelayIfHit then
  626. wait()
  627. end
  628. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  629. end
  630. return RayHit, RayPos, RayNormal
  631. end
  632.  
  633. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  634. if DoesCourontine == false then
  635. local Direction = CF(Part.Position,ToLocation)
  636. local Distance = (Part.Position - ToLocation).magnitude
  637. for i = 1, AmountOfTime do
  638. Swait()
  639. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  640. Direction = Part.CFrame
  641. end
  642. Part:remove()
  643. elseif DoesCourontine == true then
  644. coroutine.resume(coroutine.create(function()
  645. local Direction = CF(Part.Position,ToLocation)
  646. local Distance = (Part.Position - ToLocation).magnitude
  647. for i = 1, AmountOfTime do
  648. Swait()
  649. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  650. Direction = Part.CFrame
  651. end
  652. Part:remove()
  653. end))
  654. end
  655. end
  656.  
  657. function turnto(position)
  658. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  659. end
  660.  
  661. --//=================================\\
  662. --|| WEAPON CREATION
  663. --\\=================================//
  664.  
  665. local naeeym2 = Instance.new("BillboardGui",Character)
  666. naeeym2.AlwaysOnTop = true
  667. naeeym2.Size = UDim2.new(5,35,2,15)
  668. naeeym2.StudsOffset = Vector3.new(0,3,0)
  669. naeeym2.Adornee = Character.Head
  670. naeeym2.Name = "Name"
  671. naeeym2.PlayerToHideFrom = localPlayer
  672. local tecks2 = Instance.new("TextLabel",naeeym2)
  673. tecks2.BackgroundTransparency = 1
  674. tecks2.TextScaled = true
  675. tecks2.BorderSizePixel = 0
  676. tecks2.Text = "Dominus Astra"
  677. tecks2.Font = "Fantasy"
  678. tecks2.TextSize = 30
  679. tecks2.TextStrokeTransparency = 0
  680. tecks2.TextColor3 = Color3.new(0.05,0.05,0.15)
  681. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  682. tecks2.Size = UDim2.new(1,0,0.5,0)
  683. tecks2.Parent = naeeym2
  684.  
  685. function Transparency(TRANS)
  686. tecks2.TextTransparency = TRANS
  687. tecks2.TextStrokeTransparency = TRANS
  688. for _, c in pairs(Character:GetChildren()) do
  689. if c.ClassName == "Part" and c ~= RootPart then
  690. c.Transparency = TRANS
  691. if c:FindFirstChildOfClass("Decal") then
  692. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  693. end
  694. elseif c.ClassName == "Accessory" then
  695. c.Handle.Transparency = TRANS
  696. elseif c.ClassName == "Model" then
  697. for _, q in pairs(c:GetChildren()) do
  698. if q.ClassName == "Part" then
  699. q.Transparency = TRANS
  700. if q:FindFirstChildOfClass("Decal") then
  701. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  702. end
  703. end
  704. end
  705. end
  706. end
  707. end
  708.  
  709. Humanoid.Died:connect(function()
  710. Humanoid.Parent = nil
  711. Humanoid.MaxHealth = "inf"
  712. Humanoid.Health = "inf"
  713. refit()
  714. Humanoid.Parent = Character
  715. CreateSound("907330011", Head, 10, 1.2)
  716. end)
  717.  
  718. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  719. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  720. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  721. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Warp Frame")
  722.  
  723. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Lunar Blast", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  724. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Star Spikes", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  725. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Supernova", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  726. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Dimension Hop", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  727.  
  728. --//=================================\\
  729. --|| DAMAGING
  730. --\\=================================//
  731.  
  732. function killnearest(position,range,maxstrength)
  733. for i,v in ipairs(workspace:GetChildren()) do
  734. local body = v:GetChildren()
  735. for part = 1, #body do
  736. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  737. if(body[part].Position - position).Magnitude < range then
  738. if v.ClassName == "Model" then
  739. v:BreakJoints()
  740. end
  741. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  742. local bv = Instance.new("BodyVelocity")
  743. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  744. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  745. bv.Parent = body[part]
  746. Debris:AddItem(bv,0.2)
  747. end
  748. end
  749. end
  750. if v.ClassName == "Part" then
  751. if v.Anchored == false and (v.Position - position).Magnitude < range then
  752. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  753. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  754. end
  755. end
  756. end
  757. end
  758.  
  759. --//=================================\\
  760. --|| ATTACK FUNCTIONS AND STUFF
  761. --\\=================================//
  762.  
  763. function Lunar_Blast()
  764. local HITBODIES = {}
  765. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0,0,0))
  766. 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)
  767. CENTER.CFrame = CF(ECH)
  768. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Laser01", VT(25,99999,25))
  769. RAY.Color = C3(0.05,0.05,0.15)
  770. MakeForm(RAY,"Cyl")
  771. RAY.CFrame = CF(ECH)
  772. for i = 1, 75 do
  773. Swait()
  774. RAY.Transparency = RAY.Transparency - 1/75
  775. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  776. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  777. end
  778. killnearest(ECH,25,25)
  779. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  780. for i = 1, 25 do
  781. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  782. end
  783. CreateSound("168586621", CENTER, 10, 0.8)
  784. RAY:remove()
  785. Debris:AddItem(CENTER,5)
  786. end
  787.  
  788. function Star_Cutter()
  789. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  790. if HITFLOOR ~= nil then
  791. ATTACK = true
  792. Rooted = true
  793. local GYRO = IT("BodyGyro",RootPart)
  794. GYRO.D = 100
  795. GYRO.P = 2000
  796. GYRO.MaxTorque = VT(0,4000000,0)
  797. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  798. CreateSound("429459101", RightArm, 10, 0.8)
  799. for i=0, 3.5, 0.1 / Animation_Speed do
  800. Swait()
  801. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  802. 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))),"Really black",VT(-0.01,0,-0.01))
  803. 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)
  804. 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)
  805. 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)
  806. 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)
  807. 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)
  808. 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)
  809. end
  810. GYRO:remove()
  811. for i=0, 0.15, 0.1 / Animation_Speed do
  812. Swait()
  813. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  814. 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))),"Really black",VT(-0.01,0,-0.01))
  815. 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)
  816. 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)
  817. 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)
  818. 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)
  819. 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)
  820. 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)
  821. end
  822. local BOMBSPOTS = {}
  823. for i = 1, 25 do
  824. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Blade", VT(8,1,8))
  825. SPOT.Color = SKILLTEXTCOLOR
  826. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  827. table.insert(BOMBSPOTS,SPOT)
  828. MakeForm(SPOT,"Cyl")
  829. end
  830. for i=0, 0.2, 0.1 / Animation_Speed do
  831. Swait()
  832. 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)
  833. 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)
  834. 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)
  835. 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)
  836. 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)
  837. 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)
  838. end
  839. ATTACK = false
  840. Rooted = false
  841. coroutine.resume(coroutine.create(function()
  842. Swait(3)
  843. for i = 1, #BOMBSPOTS do
  844. if BOMBSPOTS[i] ~= nil then
  845. local E = BOMBSPOTS[i]
  846. coroutine.resume(coroutine.create(function()
  847. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "Blade", VT(0,0,0))
  848. BLADE.Color = SKILLTEXTCOLOR
  849. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  850. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  851. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  852. for i = 1, 10 do
  853. Swait()
  854. 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(1,1,1),VT(0,0,0))
  855. killnearest(BLADE.Position,6,80)
  856. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  857. BLADE.Transparency = BLADE.Transparency - 0.1
  858. end
  859. Swait(45)
  860. for i = 1, 100 do
  861. Swait()
  862. BLADE.Transparency = BLADE.Transparency + 0.01
  863. E.Transparency = E.Transparency + 0.01
  864. end
  865. BLADE:remove()
  866. E:remove()
  867. end))
  868. end
  869. end
  870. end))
  871. end
  872. end
  873.  
  874. function Supernova()
  875. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  876. if HITFLOOR ~= nil then
  877. local HITBODIES = {}
  878. ATTACK = true
  879. Rooted = true
  880. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "CGA brown", "Star", VT(0,0,0))
  881. MakeForm(ABSOLUTE,"Ball")
  882. CreateSound("429459101", ABSOLUTE, 10, 1)
  883. for i=0, 4, 0.1 / Animation_Speed do
  884. Swait()
  885. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  886. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  887. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  888. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  889. MakeForm(CHARGE,"Ball")
  890. CHARGE.Color = C3(1,1,1)
  891. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  892. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  893. 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)
  894. 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)
  895. 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)
  896. 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)
  897. 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)
  898. 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)
  899. end
  900. CreateSound("907330103", Head, 10, 1.2)
  901. for i = 1, 75 do
  902. Swait()
  903. 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)
  904. 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)
  905. 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)
  906. 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)
  907. 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)
  908. 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)
  909. end
  910. coroutine.resume(coroutine.create(function()
  911. for i = 1, 13 do
  912. for e = 1, 8 do
  913. Swait()
  914. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  915. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  916. end
  917. for i = 1, 5 do
  918. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  919. 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(1,0,0),VT(0,0,0))
  920. end
  921. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"New Yeller".Color,VT(i,i*2,i))
  922. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  923. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  924. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  925. killnearest(ABSOLUTE.Position,i*18,i)
  926. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  927. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"New Yeller".Color,VT(i,i,i)/1.1)
  928. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  929. end
  930. ABSOLUTE.Transparency = 1
  931. Debris:AddItem(ABSOLUTE,10)
  932. end))
  933. ATTACK = false
  934. Rooted = false
  935. end
  936. end
  937.  
  938. local Decal = IT("Decal")
  939.  
  940. function Astral_Hop()
  941. ATTACK = true
  942. Rooted = false
  943. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  944. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  945. local decal = Decal:Clone()
  946. decal.Parent = O1
  947. decal.Face = "Top"
  948. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  949. local decal2 = Decal:Clone()
  950. decal2.Parent = O1
  951. decal2.Face = "Bottom"
  952. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  953. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  954. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  955. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  956. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  957. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  958. local decal = Decal:Clone()
  959. decal.Parent = O2
  960. decal.Face = "Top"
  961. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  962. local decal2 = Decal:Clone()
  963. decal2.Parent = O2
  964. decal2.Face = "Bottom"
  965. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  966. CreateSound("84005018", O1, 10, 0.7)
  967. CreateSound("84005018", O2, 10, 0.7)
  968. for i = 1, 75 do
  969. Swait()
  970. O1.Size = O1.Size + VT(0.1,0,0.1)
  971. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  972. O2.Size = O2.Size + VT(0.1,0,0.1)
  973. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  974. 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)
  975. 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)
  976. 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)
  977. 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)
  978. 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)
  979. 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)
  980. end
  981. Rooted = true
  982. UNANCHOR = false
  983. RootPart.Anchored = true
  984. VALUE1 = true
  985. for i = 1, 15 do
  986. Transparency(i/15)
  987. Swait()
  988. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  989. 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)
  990. 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)
  991. 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)
  992. 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)
  993. 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)
  994. 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)
  995. end
  996. RootPart.CFrame = ROOT.CFrame
  997. ROOT:remove()
  998. for i = 1, 15 do
  999. Transparency(1-(i/15))
  1000. Swait()
  1001. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  1002. 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)
  1003. 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)
  1004. 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)
  1005. 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)
  1006. 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)
  1007. 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)
  1008. end
  1009. VALUE1 = false
  1010. coroutine.resume(coroutine.create(function()
  1011. for i = 1, 75 do
  1012. Swait()
  1013. O1.Size = O1.Size - VT(0.1,0,0.1)
  1014. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1015. O2.Size = O2.Size - VT(0.1,0,0.1)
  1016. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1017. end
  1018. O1:remove()
  1019. O2:remove()
  1020. end))
  1021. UNANCHOR = true
  1022. RootPart.Anchored = false
  1023. ATTACK = false
  1024. Rooted = false
  1025. end
  1026.  
  1027. --//=================================\\
  1028. --|| ASSIGN THINGS TO KEYS
  1029. --\\=================================//
  1030.  
  1031. function MouseDown(Mouse)
  1032. if ATTACK == false then
  1033. end
  1034. end
  1035.  
  1036. function MouseUp(Mouse)
  1037. HOLD = false
  1038. end
  1039.  
  1040. function KeyDown(Key)
  1041. KEYHOLD = true
  1042. if Key == "z" and ATTACK == false then
  1043. Lunar_Blast()
  1044. end
  1045.  
  1046. if Key == "b" and ATTACK == false then
  1047. Star_Cutter()
  1048. end
  1049.  
  1050. if Key == "c" and ATTACK == false then
  1051. Supernova()
  1052. end
  1053.  
  1054. if Key == "q" and ATTACK == false then
  1055. Astral_Hop()
  1056. end
  1057. end
  1058.  
  1059. function KeyUp(Key)
  1060. KEYHOLD = false
  1061. end
  1062.  
  1063. Mouse.Button1Down:connect(function(NEWKEY)
  1064. MouseDown(NEWKEY)
  1065. end)
  1066. Mouse.Button1Up:connect(function(NEWKEY)
  1067. MouseUp(NEWKEY)
  1068. end)
  1069. Mouse.KeyDown:connect(function(NEWKEY)
  1070. KeyDown(NEWKEY)
  1071. end)
  1072. Mouse.KeyUp:connect(function(NEWKEY)
  1073. KeyUp(NEWKEY)
  1074. end)
  1075.  
  1076. --//=================================\\
  1077. --\\=================================//
  1078.  
  1079.  
  1080. function unanchor()
  1081. if UNANCHOR == true then
  1082. g = Character:GetChildren()
  1083. for i = 1, #g do
  1084. if g[i].ClassName == "Part" then
  1085. g[i].Anchored = false
  1086. end
  1087. end
  1088. end
  1089. end
  1090.  
  1091.  
  1092. --//=================================\\
  1093. --|| WRAP THE WHOLE SCRIPT UP
  1094. --\\=================================//
  1095.  
  1096. Humanoid.Changed:connect(function(Jump)
  1097. if Jump == "Jump" and (Disable_Jump == true) then
  1098. Humanoid.Jump = false
  1099. end
  1100. end)
  1101.  
  1102. Humanoid.HipHeight = 2
  1103. Head:ClearAllChildren()
  1104. local FF = IT("ForceField",Character)
  1105. FF.Visible = false
  1106. Speed = 35
  1107.  
  1108. function refit()
  1109. RootJoint.Parent = RootPart
  1110. Neck.Parent = Torso
  1111. RightShoulder.Parent = Torso
  1112. LeftShoulder.Parent = Torso
  1113. RightHip.Parent = Torso
  1114. LeftHip.Parent = Torso
  1115. RootPart.Parent = Character
  1116. LeftArm.Parent = Character
  1117. RightArm.Parent = Character
  1118. RightLeg.Parent = Character
  1119. LeftLeg.Parent = Character
  1120. Torso.Parent = Character
  1121. Head.Parent = Character
  1122. end
  1123.  
  1124. local FOUNDFORGOTTEN = false
  1125.  
  1126. while true do
  1127. Swait()
  1128. ANIMATE.Parent = nil
  1129. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1130. IDLEANIMATION:Play()
  1131. SINE = SINE + CHANGE
  1132. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1133. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1134. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1135. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1136. if ATTACK == false then
  1137. if TORSOVELOCITY < 1 then
  1138. 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)
  1139. 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)
  1140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1142. 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)
  1143. 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)
  1144. elseif TORSOVELOCITY > 1 then
  1145. 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)
  1146. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 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)
  1148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 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)
  1149. 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)
  1150. 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)
  1151. end
  1152. end
  1153. unanchor()
  1154. Humanoid.MaxHealth = "inf"
  1155. Humanoid.Health = "inf"
  1156. if Rooted == false then
  1157. Disable_Jump = false
  1158. Humanoid.WalkSpeed = Speed
  1159. elseif Rooted == true then
  1160. Disable_Jump = true
  1161. Humanoid.WalkSpeed = 0
  1162. end
  1163. for _, c in pairs(Character:GetChildren()) do
  1164. if c.ClassName == "Part" then
  1165. c.Material = "Neon"
  1166. if c:FindFirstChildOfClass("ParticleEmitter") then
  1167. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1168. end
  1169. if c == Torso then
  1170. c.Color = C3(0,0,0)
  1171. elseif c == RightArm then
  1172. c.Color = C3(0.05,0.05,0.15)
  1173. elseif c == LeftArm then
  1174. c.Color = C3(0.05,0.05,0.15)
  1175. elseif c == RightLeg then
  1176. c.Color = C3(0,0,0.05)
  1177. elseif c == LeftLeg then
  1178. c.Color = C3(0,0,0.05)
  1179. elseif c == Head then
  1180. if c:FindFirstChild("Dominus") == nil then
  1181. local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
  1182. M.Name = "Dominus"
  1183. end
  1184. if c:FindFirstChild("face") then
  1185. c.face:remove()
  1186. end
  1187. end
  1188. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1189. c:remove()
  1190. end
  1191. end
  1192. FF.Parent = Character
  1193. sick.Parent = Character
  1194. refit()
  1195. script.Parent = WEAPONGUI
  1196. Character.Parent = workspace
  1197. Humanoid.PlatformStand = false
  1198. Humanoid.Name = "Astra"
  1199. for _, c in pairs(game.Players:GetChildren()) do
  1200. if c.Character ~= nil then
  1201. if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1202. c.Character:BreakJoints()
  1203. end
  1204. end
  1205. end
  1206. FOUNDFORGOTTEN = false
  1207. Humanoid.DisplayDistanceType = "None"
  1208. for _, c in pairs(workspace:GetChildren()) do
  1209. if c.ClassName == "Model" then
  1210. for _, q in pairs(c:GetChildren()) do
  1211. if q.Name == ("Forgotten Dominus") then
  1212. FOUNDFORGOTTEN = true
  1213. end
  1214. end
  1215. end
  1216. end
  1217. if FOUNDFORGOTTEN == true then
  1218. sick:Stop()
  1219. else
  1220. sick.Playing = true
  1221. end
  1222. if VALUE1 == false then
  1223. 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(1,1,1),VT(0,0,0))
  1224. end
  1225. end
  1226.  
  1227. --//=================================\\
  1228. --\\=================================//
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. --//====================================================\\--
  1235. --|| END OF SCRIPT
  1236. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment