RoSploitzer

Apocalypse Rising GUI V.3

Jul 6th, 2019
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.79 KB | None | 0 0
  1. pcall(wait)
  2. local players = game:GetService("Players")
  3. local function getPlayerByInput(inputs)
  4. end
  5. local function getplayer(inputs)
  6. return players:FindFirstChild(inputs)
  7. end
  8.  
  9. pcall(function()
  10. script:ClearAllChildren()
  11. script.Parent = nil
  12. script:Destroy()
  13. script = nil
  14. end)
  15.  
  16. local setupvalue = secret500 or debug.setupvalue
  17. local getupvalue = secret953 or debug.getupvalues
  18. local mt = getrawmetatable(getrenv().shared)
  19. local fireserver = getupvalue(mt.__index).fireserver
  20.  
  21. wait()
  22.  
  23. setupvalue(fireserver, "heystopokay", function() return error end)
  24. setupvalue(fireserver, "plsno", function() return true end)
  25.  
  26.  
  27.  
  28. local Game = Game
  29. local Workspace = Game:GetService("Workspace")
  30. local Players = Game:GetService("Players")
  31. local Player = Players["LocalPlayer"]
  32. local CoreGui; do
  33. local success, result = pcall(function() return Game:GetService("CoreGui") end)
  34. if success then
  35. local test;
  36. if pcall(function() test = Instance.new("ScreenGui", Game:GetService("CoreGui")) end) then
  37. test:Destroy()
  38. else
  39. success = false
  40. end
  41. end
  42. if success then
  43. CoreGui = result
  44. else
  45. CoreGui = Player:WaitForChild("PlayerGui")
  46. Player.CharacterAdded:connect(function()
  47. CoreGui = Player:WaitForChild("PlayerGui")
  48. end)
  49. end
  50. end
  51.  
  52. function CreateInstance(instance, parent)
  53. return function(properties)
  54. local instance, connections = type(instance) == "string" and Instance.new(instance) or instance, {}
  55. if parent then
  56. local success, result = pcall(function()
  57. instance.Parent = parent
  58. end)
  59. if not success then
  60. print("CreateInstance() function error: " .. result, "(using: " .. tostring(instance) .. ", with parent: " .. tostring(parent) .. ")")
  61. end
  62. end
  63. if properties and type(properties) == "table" then
  64. for index, property in pairs(properties) do
  65. if type(index) == "number" then
  66. property.Parent = instance
  67. elseif type(property) == "function" then
  68. table.insert(connections, instance[index]:connect(property))
  69. else
  70. instance[index] = property
  71. end
  72. end
  73. end
  74. return instance, connections
  75. end
  76. end
  77.  
  78. do
  79. local frame_instances = {}
  80. local function create_frame(color, position, size)
  81. color = color:lower()
  82. local frame_instance = CreateInstance("Frame"){
  83. Name = "Frame",
  84. BackgroundColor3 = color == "white" and Color3.new(1, 1, 1) or color == "black" and Color3.new() or nil,
  85. BackgroundTransparency = 0.75,
  86. BorderSizePixel = 0,
  87. Position = position,
  88. Size = size
  89. }
  90. table.insert(frame_instances, frame_instance)
  91. end
  92. create_frame("White", UDim2.new(0, 1, 1, -3), UDim2.new(1, -4, 0, 2))
  93. create_frame("White", UDim2.new(1, -3, 0, 3), UDim2.new(0, 2, 1, -4))
  94. create_frame("White", UDim2.new(0, 1, 0, 1), UDim2.new(0, 2, 1, -4))
  95. create_frame("White", UDim2.new(0, 3, 0, 1), UDim2.new(1, -4, 0, 2))
  96. --
  97. create_frame("Black", UDim2.new(0, 3, 0, 3), UDim2.new(0, 1, 1, -7)) -- 2 black for every white
  98. create_frame("Black", UDim2.new(0, 3, 1, -4), UDim2.new(1, -7, 0, 1))
  99. create_frame("Black", UDim2.new(1, -4, 0, 4), UDim2.new(0, 1, 1, -7))
  100. create_frame("Black", UDim2.new(1, -1, 0, 1), UDim2.new(0, 1, 1, -1))
  101. create_frame("Black", UDim2.new(0, 4, 0, 3), UDim2.new(1, -7, 0, 1))
  102. create_frame("Black", UDim2.new(0, 0, 0, 0), UDim2.new(0, 1, 1, -1))
  103. create_frame("Black", UDim2.new(0, 1, 0, 0), UDim2.new(1, -1, 0, 1))
  104. create_frame("Black", UDim2.new(0, 0, 1, -1), UDim2.new(1, -1, 0, 1))
  105. function CreateBorder(instance)
  106. local frame_holder = CreateInstance("Frame", instance){
  107. Name = "BorderHolder",
  108. BackgroundTransparency = 1,
  109. Size = UDim2.new(1, 0, 1, 0),
  110. ZIndex = instance.ZIndex
  111. }
  112. for index, frame in pairs(frame_instances) do
  113. local new_frame = frame:Clone()
  114. new_frame.Parent = frame_holder
  115. new_frame.ZIndex = instance.ZIndex
  116. end
  117. return instance
  118. end
  119. end
  120.  
  121. --[[
  122. Created by iLordVex
  123. Please do not leak this, sell this, or give this away.
  124. If you somehow got the source, delete it please.
  125. --]]
  126.  
  127.  
  128.  
  129. --[[
  130. local Player = Game:GetService("Players").LocalPlayer
  131. Game:GetService("RunService").Stepped:connect(function()
  132. ypcall(function()
  133. if Player.Character then
  134. pcall(function() Player.Character.Torso.CanCollide = false end)
  135. pcall(function() Player.Character.Head.CanCollide = false end)
  136. end
  137. end)
  138. end)
  139. --]]
  140.  
  141.  
  142. --[=[
  143. Kill All + Teleport all corpses to you (Click to Hide)
  144. for _, player in pairs(game.Players:GetChildren()) do
  145. if player.Name ~= game.Players.LocalPlayer.Name then
  146. workspace.Remote.Damage:FireServer(workspace[player.Name].Humanoid, 0)
  147. end
  148. end
  149. wait(6)
  150. for _, corpse in pairs(workspace:GetChildren()) do
  151. if corpse.Name == "Corpse" then
  152. corpse:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  153. end
  154. end
  155.  
  156. Best Gui! (Click to Hide)
  157. loadstring(game:GetObjects('rbxassetid://291556436')[1].Source)()
  158.  
  159. Skin Giver (Click to Hide)
  160. local plr = game.Players.LocalPlayer.playerstats.skins
  161.  
  162. plr.skin3.Value = 22 -- Changes skin colour
  163. plr.skin3.material.Value = 8 -- Changes skin material
  164. List of Skins! (Click to Hide)
  165. --[[ Colours:
  166. 1 - Bright red
  167. 2 - Bright blue
  168. 3 - Bright green
  169. 4 - Bright orange
  170. 5 - Bright yellow
  171. 6 - Bright blue-green
  172. 7 - Bright violet
  173. 8 - Grime
  174. 9 - Earth green
  175. 10 - Navy blue
  176. 11 - Dusty rose
  177. 12 - Black
  178. 13 - Reddish brown
  179. 14 - Nougat
  180. 15 - Brick yellow
  181. 16 - Neon blue
  182. 17 - Neon red
  183. 18 - Neon yellow
  184. 19 - Neon green
  185. 20 - Hot pink
  186. 21 - White
  187. 22 - Really black
  188. 23 - Gold
  189. 24 - Diamond
  190. ]]
  191. --[[ Materials:
  192. 1 - Smooth plastic
  193. 2 - Diamond plate
  194. 3 - Marble
  195. 4 - Pebble
  196. 5 - Rusted
  197. 6 - Glitter
  198. 7 - Slate
  199. 8 - Granite
  200. 9 - Foil
  201. ]]
  202. 100% Accuracy (Click to Hide)
  203. local plr = game.Players.LocalPlayer.Backpack["Mk 17"] --Change Mk 17 to whatever gun you have
  204.  
  205. plr.Stats.Recoil.Value = 0
  206. plr.Stats.Accuracy.Value = 0
  207. plr.Stats.Offset.Value = 0
  208.  
  209. List of cars! (Click to Hide)
  210. Humvee
  211. Jeep
  212. Car
  213. Ural
  214. Pickup
  215. Tractor
  216. Van
  217. Motorcycle
  218. Bicycle
  219. ATV
  220. Ambulance
  221. Firetruck
  222. PoliceCar
  223. SUV
  224. Delivery Van
  225.  
  226. Blow up all Vehicles (Click to Hide)
  227. for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
  228. if v.Name ~= "Holder" or v.Name ~= "VehicleWreck" then
  229. if v:findFirstChild("Stats") then
  230. v.Stats.Engine.Value = 0
  231. end
  232. end
  233. end
  234.  
  235. Always Sprint (Click to Hide)
  236. game.Players.LocalPlayer.PlayerGui.HitEqualsYouDie.WalkspeedEdit:Remove()
  237. game.Players.LocalPlayer.PlayerGui.HitEqualsYouDie.JumpLimiter:Remove()
  238. game.Workspace["PLAYERNAME"].Humanoid.WalkSpeed.Value = 25
  239.  
  240. Kill Specific Player (Click to Hide)
  241. workspace.Remote.Damage:FireServer(workspace.PLAYERNAMEHERE!.Humanoid, 0)
  242. --]=]
  243.  
  244. --[[
  245. b = function(...)
  246. workspace.Remote.ChangeProperty:FireServer(...)
  247. end
  248. a = workspace:FindFirstChild("Idle")or(function()
  249. for _,v in pairs(workspace.Vehicles:children()) do
  250. --print("---------",v.Name,"----------")
  251. --table.foreach(v.Essentials.Base:children(), print)
  252. if v.Essentials.Base:findFirstChild("Idle") then
  253. return v.Essentials.Base.Idle
  254. else
  255. warn("unable " .. v.Name)
  256. end
  257. end
  258. end)()
  259. print(a)
  260. b(a, "Parent", workspace)
  261. b(a, "SoundId", "rbxassetid://235372354")
  262. b(a, "Volume", 1)
  263. b(a, "Pitch", 1)
  264. wait(2)
  265. print(a.Parent, a.ClassName)
  266. workspace.Remote.PlaySound:FireServer(a)
  267. --]]
  268.  
  269.  
  270. pcall(wait)
  271.  
  272. pcall(function()
  273. script:ClearAllChildren()
  274. script.Parent = nil
  275. script:Destroy()
  276. script = nil
  277. end)
  278.  
  279. local Game = Game
  280. local Workspace = Game:GetService("Workspace")
  281. local Players = Game:GetService("Players")
  282. local Lighting = Game:GetService("Lighting")
  283. local Debris = Game:GetService("Debris")
  284. local RunService = Game:GetService("RunService")
  285. local Player = Players["LocalPlayer"]
  286. local Mouse = Player:GetMouse()
  287. local GetChild = Game.FindFirstChild
  288. local WaitForChild = Game.WaitForChild
  289. local CoreGui; do
  290. local success, result = pcall(function() return Game:GetService("CoreGui") end)
  291. if success then
  292. local test;
  293. if pcall(function() test = Instance.new("ScreenGui", Game:GetService("CoreGui")) end) then
  294. test:Destroy()
  295. else
  296. success = false
  297. end
  298. end
  299. if success then
  300. CoreGui = result
  301. else
  302. CoreGui = Player:WaitForChild("PlayerGui")
  303. Player.CharacterAdded:connect(function()
  304. CoreGui = Player:WaitForChild("PlayerGui")
  305. end)
  306. end
  307. end
  308.  
  309. local Spawn
  310.  
  311. local setupvalue = secret500 or debug.setupvalue
  312. local getupvalue = secret953 or debug.getupvalues
  313. local mt = getrawmetatable(getrenv().shared)
  314. local fireserver = getupvalue(mt.__index).fireserver
  315.  
  316. wait()
  317.  
  318. setupvalue(fireserver, "heystopokay", function() return error end)
  319. setupvalue(fireserver, "plsno", function() return true end)
  320.  
  321.  
  322.  
  323.  
  324. local Settings = {
  325. GuiName = "l33thax",
  326. SelectedVehicle = nil,
  327. LootDrops = GetChild(Lighting, "LootDrops"),
  328. ESP = false,
  329. Noclip = false,
  330. Game = (GetChild(Workspace, "mapname") or {Value = "UNKNOWN"}).Value,
  331. AimBot = false,
  332. InitialKeyword = "toolweld_",
  333. AdministratorMessage = "._asd",
  334. Banished = {
  335. ["ThumperJumper2"] = true, -- Got my account banned
  336. ["JumperThumper1"] = true, -- Got my account banned [2]
  337. ["codejack123"] = true, -- Noclipper
  338. ["TheBootyHunter69"] = true, -- Noclipper
  339. ["IceGoalieBoy56"] = true, -- Noclipper
  340. ["WhatsGreen"] = true, -- Exploiter
  341. ["OGMARSKUSH"] = true, -- Exploiter
  342. ["robloxcops07"] = true, -- Exploiter
  343. ["Dougi123"] = true, -- Exploiter
  344. ["TorchyBear"] = true, -- Noclipper
  345. ["MrGooldPro"] = true -- Exploiter
  346. },
  347. RepairingUtilities = {
  348. ["Default"] = {
  349. {"JerryCan", 4},
  350. {"ArmorPlates", 1},
  351. {"ScrapMetal", 1},
  352. {"FuelTank", 1},
  353. {"ReinforcedWheel", 4},
  354. {"BallisticGlass", 1},
  355. {"EngineParts", 1}
  356. },
  357. ["Ural2"] = {
  358. {"JerryCan", 6},
  359. {"ArmorPlates", 1},
  360. {"ScrapMetal", 1},
  361. {"FuelTank", 1},
  362. {"ReinforcedWheel", 6},
  363. {"BallisticGlass", 1},
  364. {"EngineParts", 1}
  365. },
  366. ["ATV"] = {
  367. {"JerryCan", 1},
  368. {"ArmorPlates", 1},
  369. {"ScrapMetal", 1},
  370. {"FuelTank", 1},
  371. {"ReinforcedWheel", 4},
  372. {"BallisticGlass", 1},
  373. {"EngineParts", 1}
  374. },
  375. ["Bicycle"] = {
  376. {"ScrapMetal", 1}
  377. },
  378. ["Motorcycle"] = {
  379. {"JerryCan", 2},
  380. {"ArmorPlates", 1},
  381. {"ScrapMetal", 1},
  382. {"FuelTank", 1},
  383. {"ReinforcedWheel", 2},
  384. {"BallisticGlass", 1},
  385. {"EngineParts", 1}
  386. }
  387. }
  388. }
  389.  
  390. Settings.RepairingUtilities.Ural = Settings.RepairingUtilities.Ural2
  391.  
  392. function CreateInstance(instance, parent)
  393. return function(properties)
  394. local instance, connections = type(instance) == "string" and Instance.new(instance) or instance, {}
  395. if parent then
  396. local success, result = pcall(function()
  397. instance.Parent = parent
  398. end)
  399. if not success then
  400. print("CreateInstance() function error: " .. result, "(using: " .. tostring(instance) .. ", with parent: " .. tostring(parent) .. ")")
  401. end
  402. end
  403. if properties and type(properties) == "table" then
  404. for index, property in pairs(properties) do
  405. if type(index) == "number" then
  406. property.Parent = instance
  407. elseif type(property) == "function" then
  408. table.insert(connections, instance[index]:connect(property))
  409. else
  410. instance[index] = property
  411. end
  412. end
  413. end
  414. return instance, connections
  415. end
  416. end
  417.  
  418. function Thread(f, ...)
  419. return coroutine.resume(coroutine.create(function(...) f(...) end), ...)
  420. end
  421.  
  422. function GetVehicles()
  423. return WaitForChild(Workspace, "Vehicles"):GetChildren()
  424. end
  425.  
  426. function CreateSignal()
  427. local this = {}
  428.  
  429. local mBindableEvent = Instance.new('BindableEvent')
  430. local mAllCns = {} --all connection objects returned by mBindableEvent::connect
  431.  
  432. --main functions
  433. function this:connect(func)
  434. if self ~= this then error("connect must be called with `:`, not `.`", 2) end
  435. if type(func) ~= 'function' then
  436. error("Argument #1 of connect must be a function, got a "..type(func), 2)
  437. end
  438. local cn = mBindableEvent.Event:connect(func)
  439. mAllCns[cn] = true
  440. local pubCn = {}
  441. function pubCn:disconnect()
  442. cn:disconnect()
  443. mAllCns[cn] = nil
  444. end
  445. return pubCn
  446. end
  447. function this:disconnect()
  448. if self ~= this then error("disconnect must be called with `:`, not `.`", 2) end
  449. for cn, _ in pairs(mAllCns) do
  450. cn:disconnect()
  451. mAllCns[cn] = nil
  452. end
  453. end
  454. function this:wait()
  455. if self ~= this then error("wait must be called with `:`, not `.`", 2) end
  456. return mBindableEvent.Event:wait()
  457. end
  458. function this:fire(...)
  459. if self ~= this then error("fire must be called with `:`, not `.`", 2) end
  460. mBindableEvent:Fire(...)
  461. end
  462.  
  463. return this
  464. end
  465.  
  466. function Spawn(item_name, amount)
  467. local objects = {}
  468. amount = amount or 1
  469. for index = 1, amount do
  470. local object = Settings.LootDrops:findFirstChild(item_name)
  471. local new_object = object:Clone()
  472. new_object.Parent = Workspace
  473. new_object:MakeJoints()
  474. local formula = (index / amount - (0.5 / amount)) * math.pi * 2
  475. new_object:MoveTo(Player.Character:GetModelCFrame().p + Vector3.new(5 * math.sin(formula), 0, 5 * math.cos(formula)))
  476. table.insert(objects, new_object)
  477. end
  478. return objects
  479. end
  480.  
  481. function Inform(text, ...)
  482. local ScreenGui = GetChild(CoreGui, "lolnot") or CreateInstance("ScreenGui", CoreGui){Name = "lolnot"}
  483. local Notification = CreateBorder(CreateInstance("Frame"){
  484. Name = "Notification",
  485. BackgroundColor3 = Color3.new(1, 1, 1),
  486. BorderSizePixel = 0,
  487. Position = UDim2.new(1, 0, 1, -160),
  488. Size = UDim2.new(0, 250, 0, 150)
  489. })
  490. local Divider = CreateBorder(CreateInstance("Frame", Notification){
  491. Name = "Divider",
  492. BackgroundColor3 = Color3.new(1, 1, 1),
  493. BorderSizePixel = 0,
  494. Position = UDim2.new(0, 10, 0, 28),
  495. Size = UDim2.new(1, -20, 0, 8)
  496. })
  497. local Title = CreateInstance("TextLabel", Notification){
  498. Name = "Title",
  499. BackgroundTransparency = 1,
  500. Size = UDim2.new(1, 0, 0, 30),
  501. Font = "SourceSans",
  502. FontSize = "Size14",
  503. Text = "Eclipse Notification",
  504. TextColor3 = Color3.new()
  505. }
  506. local Body = CreateInstance("TextLabel", Notification){
  507. Name = "Body",
  508. BackgroundTransparency = 1,
  509. Position = UDim2.new(0, 10, 0, 40),
  510. Size = UDim2.new(1, -20, 0, 100),
  511. Font = "SourceSans",
  512. FontSize = "Size14",
  513. Text = string.format(text, ...),
  514. TextColor3 = Color3.new(),
  515. TextWrapped = true
  516. }
  517. local IndexInitial = CreateInstance("NumberValue", Notification){
  518. Name = "Index",
  519. Value = 1
  520. }
  521. for index, child in pairs(ScreenGui:GetChildren()) do
  522. if child.Index.Value > 5 then
  523. child:Destroy()
  524. else
  525. if not child:findFirstChild("Leaving") then
  526. child:TweenPosition(UDim2.new(1, -260, 1, -(160 + (child.Index.Value * 160))), "Out", "Sine", 0.6, true)
  527. child.Index.Value = child.Index.Value + 1
  528. end
  529. end
  530. end
  531. Notification.Parent = ScreenGui
  532. Notification:TweenPosition(UDim2.new(1, -260, 1, -160), "Out", "Sine", 0.6, true)
  533. Thread(function()
  534. wait(string.len(text) / 3)
  535. if Notification.Parent == ScreenGui then
  536. local initial = Instance.new("BoolValue", Notification)
  537. initial.Name = "Leaving"
  538. initial.Value = true
  539. Notification:TweenPosition(UDim2.new(1, 0, 1, Notification.Position.Y.Offset), "Out", "Sine", 0.6, true, function()
  540. Notification:Destroy()
  541. for index, child in pairs(ScreenGui:GetChildren()) do
  542. if child.Index.Value > 5 then
  543. child:Destroy()
  544. else
  545. if not child:findFirstChild("Leaving") then
  546. child:TweenPosition(UDim2.new(1, -260, 1, -(160 + ((child.Index.Value - 1) * 160))), "Out", "Sine", 0.6, true)
  547. end
  548. end
  549. end
  550. end)
  551. end
  552. end)
  553. end
  554.  
  555. function PlayerSpawned(player)
  556. if player and player.Character then
  557. return GetChild(player.Character, "croucher_" .. player.Name) ~= nil, GetChild(player.Character, "Torso")
  558. --[[
  559. local torso = GetChild(player.Character, "Torso")
  560. if torso then
  561. return not(torso.CFrame.p.Y >= 130), torso
  562. end
  563. --]]
  564. end
  565. return false
  566. end
  567.  
  568. function LogGroup(player, call_function)
  569. player = GetPlayers(tostring(player))[1]
  570. if not player then
  571. return
  572. end
  573. local groupID = player.Backpack.repgroup.Value
  574. if groupID ~= "nogroup" then
  575. local holder = GetChild(Workspace.GroupMessages, tostring(groupID))
  576. if holder then
  577. holder.m1.Changed:connect(function()
  578. local user, message = string.match(holder.m1.Value, "(.+):%s*(.+)")
  579. call_function(GetPlayers(user)[1], message)
  580. end)
  581. return true, "Successful"
  582. else
  583. return false, "No Holder"
  584. end
  585. else
  586. return false, "No Group"
  587. end
  588. return false, "Unknown Error"
  589. end
  590.  
  591. function GetSpawnableItems(keyword)
  592. if keyword then
  593. for _, loot in pairs(Settings.LootDrops:GetChildren()) do
  594. if string.find(string.lower(loot.Name), string.lower(keyword)) then
  595. print(loot)
  596. end
  597. end
  598. else
  599. table.foreach(Settings.LootDrops:GetChildren(), print)
  600. end
  601. end
  602.  
  603. function GetCamera()
  604. return Workspace.CurrentCamera
  605. end
  606.  
  607. function ChangeProperty(object, index, value)
  608. WaitForChild(WaitForChild(Workspace, "Remote"), "ChangeProperty"):FireServer(object, index, value)
  609. end
  610.  
  611. function GetVehicleDriverSeat(vehicle)
  612. if not vehicle then
  613. return nil
  614. end
  615. local seats_model = GetChild(vehicle, "Seats")
  616. if seats_model then
  617. return GetChild(seats_model, "Driver")
  618. end
  619. return nil
  620. end
  621.  
  622. function GetNearestPlayerToMouse()
  623. local player_data = {}
  624. local player_distances = {}
  625. for index, player in pairs(GetPlayers("others")) do
  626. local head = player.Character and GetChild(player.Character, "Head") or nil
  627. if head then
  628. local distance = (head.Position - Workspace.CurrentCamera.CoordinateFrame.p).magnitude
  629. local _, position = Workspace:FindPartOnRay(Ray.new(Workspace.CurrentCamera.CoordinateFrame.p, (Mouse.Hit.p - GetCamera().CoordinateFrame.p).unit * distance), Workspace)
  630. local difference = math.floor((position - head.Position).magnitude)
  631. player_data[player.Name .. index] = {
  632. dist = distance,
  633. Player = player,
  634. Difference = difference
  635. }
  636. table.insert(player_distances, difference)
  637. end
  638. end
  639. if unpack(player_distances) == nil then
  640. return false
  641. end
  642. local closest_distance = math.floor(math.min(unpack(player_distances)))
  643. if closest_distance > 20 then
  644. return false
  645. end
  646. for _, data in pairs(player_data) do
  647. if data.Difference == closest_distance then
  648. return data.Player
  649. end
  650. end
  651. return false
  652. end
  653.  
  654. function TeleportVehicle(vehicle, cframe, offset)
  655. local seat = GetVehicleDriverSeat(vehicle)
  656. if seat then
  657. ChangeProperty(seat, "CFrame", offset and cframe * CFrame.new(-20, 0, 0) or cframe)
  658. else
  659. print("Driver seat unacquired!")
  660. end
  661. end
  662.  
  663. function SpawnRepairingUtilities(name)
  664. local utilities = Settings.RepairingUtilities[name] or Settings.RepairingUtilities.Default
  665. for _, data in pairs(utilities) do
  666. local objects = Spawn(data[1], data[2])
  667. for _, object in pairs(objects) do
  668. Debris:AddItem(object, 60 * 2) -- Despawns in 2 minutes
  669. end
  670. end
  671. end
  672.  
  673. function GetVehicleByName(name)
  674. for _, vehicle in pairs(GetVehicles()) do
  675. if string.sub(string.lower(vehicle.Name), 1, string.len(name)) == string.lower(name) then
  676. return vehicle
  677. end
  678. end
  679. end
  680.  
  681. function OnChatted(player, message)
  682. if player == Player and message == Settings.AdministratorMessage then
  683. local found = false
  684. for _, child in pairs(Workspace:GetChildren()) do
  685. if not found and child:IsA("Weld") and string.sub(child.Name, 1, string.len(Settings.InitialKeyword)) == Settings.InitialKeyword and GetChild(Players, string.sub(child.Name, string.len(Settings.InitialKeyword) + 1)) == nil then
  686. found = true
  687. ChangeProperty(child, "Parent", Player)
  688. ChangeProperty(child, "Name", "_il_oa")
  689. break
  690. end
  691. end
  692. end
  693. end
  694.  
  695. function Kick(player)
  696. if type(player) == "string" then
  697. for _, player in pairs(GetPlayers(player)) do
  698. Kick(player)
  699. end
  700. else
  701. ChangeProperty(player, "Parent", nil)
  702. end
  703. end
  704.  
  705. function Crash(player)
  706. local player = GetPlayers(tostring(player))[1]
  707. if player then
  708. local spawned, torso = PlayerSpawned(player)
  709. if spawned then
  710. Inform("Attempted to crash %q", player.Name)
  711. Thread(function()
  712. for index = 1, 5 do
  713. wait()
  714. ChangeProperty(torso, "CFrame", CFrame.new(1e9, 1e9, 1e9))
  715. end
  716. end)
  717. else
  718. Inform("Player didnt spawn, using kick as an alternative...")
  719. Kick(player)
  720. end
  721. end
  722. end
  723.  
  724. function GetStats(player)
  725. return GetChild(player, "playerstats")
  726. end
  727.  
  728. function ConnectPlayer(player)
  729. if Settings.Banished[player.Name] then
  730. Kick(player)
  731. end
  732. end
  733.  
  734. do
  735. local frame_instances = {}
  736. local function create_frame(color, position, size)
  737. color = string.lower(color)
  738. local frame_instance = CreateInstance("Frame"){
  739. Name = "Frame",
  740. BackgroundColor3 = color == "white" and Color3.new(1, 1, 1) or color == "black" and Color3.new() or nil,
  741. BackgroundTransparency = 0.75,
  742. BorderSizePixel = 0,
  743. Position = position,
  744. Size = size
  745. }
  746. table.insert(frame_instances, frame_instance)
  747. end
  748. create_frame("White", UDim2.new(0, 1, 1, -3), UDim2.new(1, -4, 0, 2))
  749. create_frame("White", UDim2.new(1, -3, 0, 3), UDim2.new(0, 2, 1, -4))
  750. create_frame("White", UDim2.new(0, 1, 0, 1), UDim2.new(0, 2, 1, -4))
  751. create_frame("White", UDim2.new(0, 3, 0, 1), UDim2.new(1, -4, 0, 2))
  752. --
  753. create_frame("Black", UDim2.new(0, 3, 0, 3), UDim2.new(0, 1, 1, -7)) -- 2 black for every white
  754. create_frame("Black", UDim2.new(0, 3, 1, -4), UDim2.new(1, -7, 0, 1))
  755. create_frame("Black", UDim2.new(1, -4, 0, 4), UDim2.new(0, 1, 1, -7))
  756. create_frame("Black", UDim2.new(1, -1, 0, 1), UDim2.new(0, 1, 1, -1))
  757. create_frame("Black", UDim2.new(0, 4, 0, 3), UDim2.new(1, -7, 0, 1))
  758. create_frame("Black", UDim2.new(0, 0, 0, 0), UDim2.new(0, 1, 1, -1))
  759. create_frame("Black", UDim2.new(0, 1, 0, 0), UDim2.new(1, -1, 0, 1))
  760. create_frame("Black", UDim2.new(0, 0, 1, -1), UDim2.new(1, -1, 0, 1))
  761. function CreateBorder(instance)
  762. local frame_holder = CreateInstance("Frame", instance){
  763. Name = "BorderHolder",
  764. BackgroundTransparency = 1,
  765. Size = UDim2.new(1, 0, 1, 0),
  766. ZIndex = instance.ZIndex
  767. }
  768. for index, frame in pairs(frame_instances) do
  769. local new_frame = frame:Clone()
  770. new_frame.Parent = frame_holder
  771. new_frame.ZIndex = instance.ZIndex
  772. end
  773. return instance
  774. end
  775. end
  776.  
  777. function Banish(player)
  778. if type(player) == "string" then
  779. for _, player in pairs(GetPlayers(player)) do
  780. Banish(player)
  781. end
  782. else
  783. Settings.Banished[player.Name] = true
  784. Crash(player)
  785. Thread(function()
  786. wait(5)
  787. if player.Parent then
  788. Kick(player)
  789. end
  790. end)
  791. end
  792. end
  793.  
  794. function GetRainbowRGB(hue)
  795. local section = hue % 1 * 3
  796. local secondary = 0.5 * math.pi * (section % 1)
  797. if section < 1 then
  798. return 1, 1 - math.cos(secondary), 1 - math.sin(secondary)
  799. elseif section < 2 then
  800. return 1 - math.sin(secondary), 1, 1 - math.cos(secondary)
  801. else
  802. return 1 - math.cos(secondary), 1 - math.sin(secondary), 1
  803. end
  804. end
  805.  
  806. function GetPlayers(message)
  807. local result, players = {}, Players:GetPlayers()
  808. message = string.lower(tostring(message or "\0"))
  809. if string.find(message, ",") then
  810. for match in string.gmatch(message, "[^,]+") do
  811. for _, player in pairs(GetPlayers(match)) do
  812. table.insert(result, player)
  813. end
  814. end
  815. return result
  816. end
  817. if message == "friends" then
  818. for _, player in pairs(Players:GetPlayers()) do
  819. if player ~= Player and player:IsFriendsWith(Player.userId) then
  820. table.insert(result, player)
  821. end
  822. end
  823. elseif message == "guests" then
  824. for _, player in pairs(Players:GetPlayers()) do
  825. if player.userId <= 0 then
  826. table.insert(result, player)
  827. end
  828. end
  829. elseif message == "nonguests" then
  830. for _, player in pairs(Players:GetPlayers()) do
  831. if player.userId > 0 then
  832. table.insert(result, player)
  833. end
  834. end
  835. elseif message == "all" or message == "everyone" then
  836. for _, player in pairs(Players:GetPlayers()) do
  837. table.insert(result, player)
  838. end
  839. elseif message == "others" then
  840. for _, player in pairs(Players:GetPlayers()) do
  841. if player ~= Player then
  842. table.insert(result, player)
  843. end
  844. end
  845. elseif message == "me" then
  846. table.insert(result, Player)
  847. elseif message == "random" then
  848. table.insert(result, Players:GetPlayers()[math.random(#Players:GetPlayers())])
  849. elseif message == "mrandom" then
  850. if #Players:GetPlayers() > 1 then
  851. local found = false
  852. while not found or found == Player do
  853. found = Players:GetPlayers()[math.random(#Players:GetPlayers())]
  854. end
  855. if found then
  856. table.insert(result, found)
  857. end
  858. end
  859. elseif string.sub(message, 1, 6) == "group-" or string.sub(message, 1, 6) == "group:" then
  860. if tonumber(string.sub(message, 7)) then
  861. for _, player in pairs(Players:GetPlayers()) do
  862. if player:IsInGroup(tonumber(string.sub(message, 7))) then
  863. table.insert(result, player)
  864. end
  865. end
  866. end
  867. else
  868. for _, player in pairs(Players:GetPlayers()) do
  869. if string.sub(string.lower(player.Name), 1, string.len(message)) == string.lower(message) then
  870. table.insert(result, player)
  871. end
  872. end
  873. end
  874. return result
  875. end
  876.  
  877. function CreateGUI()
  878. pcall(function() CoreGui[Settings.GuiName]:Destroy() end)
  879. local ScreenGui = CreateInstance("ScreenGui", CoreGui){
  880. Name = Settings.GuiName
  881. }
  882. local MainHolder = CreateInstance("TextButton", ScreenGui){
  883. Name = "Holder",
  884. AutoButtonColor = false,
  885. BackgroundColor3 = Color3.new(1, 1, 1),
  886. BorderSizePixel = 0,
  887. Position = UDim2.new(0.5, -225, 0, -400),
  888. Size = UDim2.new(0, 450, 0, 25),
  889. Font = "SourceSansLight",
  890. FontSize = "Size18",
  891. Text = " Eclipse",
  892. TextColor3 = Color3.new(),
  893. TextXAlignment = "Left",
  894. Draggable = true
  895. }
  896. local VisabilityToggler = CreateBorder(CreateInstance("TextButton", ScreenGui){
  897. Name = "ToggleVisibility",
  898. BackgroundColor3 = Color3.new(1, 1, 1),
  899. BorderSizePixel = 0,
  900. Position = UDim2.new(0.5, -60, 0, -90),
  901. Size = UDim2.new(0, 120, 0, 50),
  902. Font = "SourceSansLight",
  903. FontSize = "Size36",
  904. Text = "Open",
  905. TextColor3 = Color3.new()
  906. })
  907. local ContentFramesHolder = CreateInstance("Frame", MainHolder){
  908. Name = "ContentFrames",
  909. BackgroundTransparency = 1,
  910. Position = UDim2.new(0, 0, 0, 60),
  911. Size = UDim2.new(1, 0, 0, 300)
  912. }
  913. CreateBorder(CreateInstance("Frame", MainHolder){
  914. Name = "Divider",
  915. BackgroundColor3 = Color3.new(1, 1, 1),
  916. BorderSizePixel = 0,
  917. Position = UDim2.new(0, 5, 0, 25),
  918. Size = UDim2.new(1, -10, 0, 8),
  919. ZIndex = 2
  920. })
  921. local ToolbarDivider = CreateInstance("Frame", MainHolder){
  922. Name = "ToolbarDivider",
  923. BackgroundColor3 = Color3.new(),
  924. BorderSizePixel = 0,
  925. Position = UDim2.new(0, 5, 0, 63),
  926. Size = UDim2.new(1, -10, 0, 1)
  927. }
  928. local CloseButton = CreateInstance("ImageButton", MainHolder){
  929. Name = "Close",
  930. BackgroundColor3 = Color3.new(1, 1, 1),
  931. BorderColor3 = Color3.new(),
  932. BorderSizePixel = 1,
  933. Position = UDim2.new(1, -20, 0.5, -8),
  934. Size = UDim2.new(0, 16, 0, 16),
  935. Image = "rbxassetid://247423668"
  936. }
  937. local Toolbar = CreateInstance("Frame", MainHolder){
  938. Name = "Toolbar",
  939. BackgroundColor3 = Color3.new(1, 1, 1),
  940. BorderSizePixel = 0,
  941. Position = UDim2.new(0, 0, 0, 25),
  942. Size = UDim2.new(1, 0, 0, 35)
  943. }
  944. do -- Saves us time
  945. local function CreateToolbarButton(name, position, text)
  946. local button = CreateInstance("TextButton", Toolbar){
  947. Name = name,
  948. BackgroundColor3 = Color3.new(1, 1, 1),
  949. BorderSizePixel = 0,
  950. Position = position,
  951. Size = UDim2.new(0, 150, 0, 25),
  952. Font = "SourceSansItalic",
  953. FontSize = "Size18",
  954. Text = text,
  955. TextColor3 = Color3.new()
  956. }
  957. button.MouseButton1Down:connect(function()
  958. for _, frame in pairs(ContentFramesHolder:GetChildren()) do
  959. if frame.Name ~= name then
  960. frame.Visible = false
  961. else
  962. frame.Visible = true
  963. end
  964. end
  965. end)
  966. return button
  967. end
  968. CreateToolbarButton("Tools", UDim2.new(0, 0, 1, -25), "Tools")
  969. CreateToolbarButton("VehicleUtilities", UDim2.new(0, 150, 1, -25), "Vehicle Utilities")
  970. CreateToolbarButton("Misc", UDim2.new(0, 300, 1, -25), "Misc")
  971. end
  972. local IntroductionFrame, ToolsFrame, VehicleToolsFrame, MiscFrame; do
  973. local function CreateContentFrame(name, visible)
  974. return CreateInstance("ScrollingFrame", ContentFramesHolder){
  975. Name = name,
  976. BackgroundColor3 = Color3.new(1, 1, 1),
  977. BorderSizePixel = 0,
  978. Size = UDim2.new(1, 0, 1, 0),
  979. Visible = visible or false,
  980. CanvasSize = UDim2.new(),
  981. BottomImage = "",
  982. MidImage = "",
  983. TopImage = "",
  984. ScrollBarThickness = 0
  985. }
  986. end
  987. IntroductionFrame = CreateContentFrame("Introduction", true)
  988. ToolsFrame = CreateContentFrame("Tools", false)
  989. VehicleToolsFrame = CreateContentFrame("VehicleUtilities", false)
  990. MiscFrame = CreateContentFrame("Misc", false)
  991. end
  992. CreateInstance("TextLabel", IntroductionFrame){
  993. BackgroundTransparency = 1,
  994. Position = UDim2.new(0.2, 0, 0.2, 0),
  995. Size = UDim2.new(0.6, 0, 0.6, 0),
  996. Font = "SourceSansItalic",
  997. FontSize = "Size24",
  998. Text = [[Welcome to Eclipse- A system developed by iLordVex to give the user vast abilities in Apocalypse Rising.]],
  999. TextColor3 = Color3.new(),
  1000. TextWrapped = true
  1001. }
  1002. do -- Tool tab
  1003. local function CreateToolFrame(name, position, size)
  1004. return CreateInstance("Frame", ToolsFrame){
  1005. Name = name,
  1006. BackgroundColor3 = Color3.new(1, 1, 1),
  1007. BackgroundTransparency = 1,
  1008. Position = position,
  1009. Size = size
  1010. }
  1011. end
  1012. local function CreateToolContents(tool_frame, inputs, invoke_data, click_function)
  1013. if not click_function then
  1014. warn("No click function!")
  1015. end
  1016. --[[
  1017. input_data.Name,
  1018. input_data.X1,
  1019. input_data.Y1,
  1020. input_data.Y2,
  1021. input_data.Size,
  1022. input_data.Text
  1023. --]]
  1024. local total_size = 0
  1025. local input_instances, invoke_instance = {}
  1026. for index, input_data in pairs(inputs or {}) do
  1027. table.insert(input_instances, ({CreateInstance("TextBox", tool_frame){
  1028. Name = input_data.Name,
  1029. BackgroundColor3 = Color3.new(1, 1, 1),
  1030. BorderColor3 = Color3.new(),
  1031. Position = UDim2.new(input_data.X1 or 0, total_size, input_data.Y1 or 0, input_data.Y2 or 0),
  1032. Size = input_data.Size,
  1033. Font = "SourceSans",
  1034. FontSize = "Size14",
  1035. Text = input_data.Text,
  1036. TextColor3 = Color3.new()
  1037. }})[1])
  1038. total_size = total_size + input_data.Size.X.Offset + 10
  1039. end
  1040. --[[
  1041. invoke_data.Size,
  1042. invoke_data.Text,
  1043. invoke_data.FontSize, (optional)
  1044. invoke_data.Font (optional)
  1045. --]]
  1046. invoke_instance = CreateBorder(CreateInstance("TextButton", tool_frame){
  1047. Name = "Invoke",
  1048. BackgroundColor3 = Color3.new(1, 1, 1),
  1049. BorderSizePixel = 0,
  1050. Position = UDim2.new(0, total_size, 0, 0),
  1051. Size = invoke_data.Size,
  1052. Font = invoke_data.Font or "SourceSans",
  1053. FontSize = invoke_data.FontSize or "Size14",
  1054. Text = invoke_data.Text,
  1055. TextColor3 = Color3.new()
  1056. })
  1057. invoke_instance.MouseButton1Down:connect(function()
  1058. if click_function then
  1059. click_function(input_instances)
  1060. end
  1061. end)
  1062. return input_instances, invoke_instance
  1063. end
  1064. local GodFrame = CreateToolFrame("God", UDim2.new(0, 10, 0, 10), UDim2.new(0.5, -20, 0, 30))
  1065. local CrashFrame = CreateToolFrame("Crash", UDim2.new(0.5, 10, 0, 10), UDim2.new(0.5, -20, 0, 30))
  1066. local BanishFrame = CreateToolFrame("Banish", UDim2.new(0, 10, 0, 50), UDim2.new(0.5, -20, 0, 30))
  1067. local StatsResetFrame = CreateToolFrame("ResetStats", UDim2.new(0.5, 10, 0, 50), UDim2.new(0.5, -20, 0, 30))
  1068. local ChangeKillsFrame = CreateToolFrame("ChangeKills", UDim2.new(0, 10, 0, 130), UDim2.new(0.55, -20, 0, 30))
  1069. local KillFrame = CreateToolFrame("Kill", UDim2.new(0.5, 10, 0, 90), UDim2.new(0.5, -20, 0, 30))
  1070. local SpectateFrame = CreateToolFrame("Spectate", UDim2.new(0, 10, 0, 90), UDim2.new(0.5, -20, 0, 30))
  1071. local KickFrame = CreateToolFrame("Kick", UDim2.new(0.54, 10, 0, 130), UDim2.new(0.46, -20, 0, 30))
  1072. local SwarmFrame = CreateToolFrame("Swarm", UDim2.new(0, 10, 0, 170), UDim2.new(0.5, -20, 0, 30))
  1073. local SpawnItemFrame = CreateToolFrame("Spawn", UDim2.new(0, 10, 0, 210), UDim2.new(1, -20, 0, 30))
  1074. local GetSpawnablesFrame = CreateToolFrame("GetSpawnables", UDim2.new(0, 10, 0, 250), UDim2.new(1, -20, 0, 80))
  1075. CreateToolContents(GodFrame, {{
  1076. Name = "Input",
  1077. Size = UDim2.new(0, 100, 0, 30),
  1078. Text = "[p]"
  1079. }}, {
  1080. Size = UDim2.new(0, 100, 0, 30),
  1081. Text = "God Player"
  1082. }, function(inputs)
  1083. local getupvalue = secret953 or debug.getupvalues
  1084. local mt = getrawmetatable(getrenv().shared)
  1085. local fireserver = getupvalue(mt.__index).fireserver
  1086.  
  1087. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1088. if player.Character then
  1089. local humanoid = player.Character:findFirstChild("Humanoid")
  1090. if humanoid then
  1091. local GoddedHealth = 10000000
  1092. local function ChangeHealth()
  1093. fireserver('Damage', humanoid, math.huge)
  1094. ChangeProperty(humanoid, "MaxHealth", GoddedHealth)
  1095. ChangeProperty(humanoid, "Health", GoddedHealth)
  1096. end
  1097. ChangeHealth()
  1098.  
  1099. end
  1100. end
  1101. end
  1102. end)
  1103.  
  1104.  
  1105. CreateToolContents(CrashFrame, {{
  1106. Name = "Input",
  1107. Size = UDim2.new(0, 100, 0, 30),
  1108. Text = "[p]"
  1109. }}, {
  1110. Size = UDim2.new(0, 100, 0, 30),
  1111. Text = "Crash Player"
  1112. }, function(inputs)
  1113. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1114. Thread(function()
  1115. Crash(player)
  1116. wait(10)
  1117. pcall(function() Kick(player) end)
  1118. end)
  1119. end
  1120. end)
  1121. CreateToolContents(BanishFrame, {{
  1122. Name = "Input",
  1123. Size = UDim2.new(0, 100, 0, 30),
  1124. Text = "[p]"
  1125. }}, {
  1126. Size = UDim2.new(0, 100, 0, 30),
  1127. Text = "Banish Player"
  1128. }, function(inputs)
  1129. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1130. Banish(player)
  1131. end
  1132. end)
  1133. CreateToolContents(StatsResetFrame, {{
  1134. Name = "Input",
  1135. Size = UDim2.new(0, 100, 0, 30),
  1136. Text = "[p]"
  1137. }}, {
  1138. Size = UDim2.new(0, 100, 0, 30),
  1139. Text = "Reset Stats"
  1140. }, function(inputs)
  1141. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1142. local stats = GetStats(player)
  1143. if stats then
  1144. ChangeProperty(stats.PlayerKill.Aggressive, "Value", 0)
  1145. ChangeProperty(stats.Days, "Value", 1)
  1146. end
  1147. end
  1148. end)
  1149. CreateToolContents(ChangeKillsFrame, {{
  1150. Name = "Input",
  1151. Size = UDim2.new(0, 100, 0, 30),
  1152. Text = "[p]"
  1153. }, {
  1154. Name = "Input2",
  1155. Size = UDim2.new(0, 30, 0, 30),
  1156. Text = "[n]"
  1157. }}, {
  1158. Size = UDim2.new(0, 80, 0, 30),
  1159. Text = "Change Kills"
  1160. }, function(inputs)
  1161. if tonumber(inputs[2].Text) then
  1162. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1163. local stats = GetStats(player)
  1164. if stats then
  1165. fireserver('ChangeValue', stats.PlayerKill.Aggressive, tonumber(inputs[2].Text))
  1166. end
  1167. end
  1168. end
  1169. end)
  1170.  
  1171. --[[[
  1172. add(menus.Players.Buttons["PKills"], function(player, value)
  1173. if getplayer(player) then
  1174. local stats = getplayer(player).playerstats
  1175.  
  1176. fireserver('ChangeValue', stats.PlayerKill.Aggressive, tonumber(value))
  1177. else
  1178. warn("Player not found")
  1179. end
  1180. end, menus.Players['Player'], menus.Players['Value'])
  1181. ]]-----------------
  1182.  
  1183. CreateToolContents(KillFrame, {{
  1184. Name = "Input",
  1185. Size = UDim2.new(0, 100, 0, 30),
  1186. Text = "[p]"
  1187. }}, {
  1188. Size = UDim2.new(0, 100, 0, 30),
  1189. Text = "Kill Player"
  1190. }, function(inputs)
  1191. local getupvalue = secret953 or debug.getupvalues
  1192. local getupvalue = secret953 or debug.getupvalues
  1193. local mt = getrawmetatable(getrenv().shared)
  1194. local fireserver = getupvalue(mt.__index).fireserver
  1195.  
  1196. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1197. if player.Character then
  1198. local humanoid = player.Character:findFirstChild("Humanoid")
  1199. if humanoid then
  1200. fireserver('Damage', humanoid, 200)
  1201. end
  1202. end
  1203. end
  1204. end)
  1205.  
  1206.  
  1207.  
  1208. CreateToolContents(SpectateFrame, {{
  1209. Name = "Input",
  1210. Size = UDim2.new(0, 100, 0, 30),
  1211. Text = "[p]"
  1212. }}, {
  1213. Size = UDim2.new(0, 100, 0, 30),
  1214. Text = "Spectate Player"
  1215. }, function(inputs)
  1216. local player = GetPlayers(inputs[1].Text)[1]
  1217. if player and player.Character then
  1218. Workspace.CurrentCamera.CameraSubject = player.Character
  1219. end
  1220. end)
  1221. CreateToolContents(KickFrame, {{
  1222. Name = "Input",
  1223. Size = UDim2.new(0, 82, 0, 30),
  1224. Text = "[p]"
  1225. }}, {
  1226. Size = UDim2.new(0, 100, 0, 30),
  1227. Text = "Kick Player"
  1228. }, function(inputs)
  1229. for _, player in pairs(GetPlayers(inputs[1].Text)) do
  1230. fireserver('ChangeParent', player, nil)
  1231. end
  1232. end)
  1233. CreateToolContents(SwarmFrame, {{
  1234. Name = "Input",
  1235. Size = UDim2.new(0, 100, 0, 30),
  1236. Text = "[p]"
  1237. }}, {
  1238. Size = UDim2.new(0, 100, 0, 30),
  1239. Text = "Swarm Player"
  1240. }, function(inputs)
  1241. local p = inputs[1].Text
  1242. for k, v in next, workspace.Zombies:GetChildren() do
  1243. for _, zombie in next, v:GetChildren() do
  1244. if zombie:FindFirstChildOfClass("Humanoid") then
  1245.  
  1246. do
  1247. workspace.Remote.GroupCreate:FireServer("IsBuildingMaterial")
  1248. game:GetService("Lighting").Groups:WaitForChild("IsBuildingMaterial")
  1249. fireserver("ChangeParent", game.Lighting.Groups.IsBuildingMaterial, zombie.HumanoidRootPart)
  1250. end
  1251.  
  1252. repeat wait() until zombie.HumanoidRootPart:FindFirstChild("IsBuildingMaterial")
  1253.  
  1254. workspace.Remote.ReplicatePart:FireServer(zombie.HumanoidRootPart, Players[p].Character.HumanoidRootPart.CFrame * CFrame.new(math.random(-20, 20), 0, math.random(-20, 20)))
  1255. end
  1256. end
  1257. end
  1258. end)
  1259.  
  1260.  
  1261. --[[ local p = getplayer(player)
  1262. for k, v in next, workspace.Zombies:GetChildren() do
  1263. for _, zombie in next, v:GetChildren() do
  1264. if zombie:FindFirstChildOfClass("Humanoid") then
  1265.  
  1266. do
  1267. workspace.Remote.GroupCreate:FireServer("IsBuildingMaterial")
  1268. game:GetService("Lighting").Groups:WaitForChild("IsBuildingMaterial")
  1269. fireserver("ChangeParent", game.Lighting.Groups.IsBuildingMaterial, zombie.HumanoidRootPart)
  1270. end
  1271.  
  1272. repeat wait() until zombie.HumanoidRootPart:FindFirstChild("IsBuildingMaterial")
  1273.  
  1274. workspace.Remote.ReplicatePart:FireServer(zombie.HumanoidRootPart, p.Character.HumanoidRootPart.CFrame * CFrame.new(math.random(-20, 20), 0, math.random(-20, 20)))
  1275. end
  1276. end
  1277. end
  1278. end, menus.Players['Player'])
  1279.  
  1280. ]]--
  1281.  
  1282.  
  1283. CreateToolContents(SpawnItemFrame, {{
  1284. Name = "Input",
  1285. Size = UDim2.new(0, 325, 0, 30),
  1286. Text = "[name]"
  1287. }}, {
  1288. Size = UDim2.new(0, 100, 0, 30),
  1289. Text = "Spawn Item"
  1290. }, function(inputs)
  1291. local item_names = {}
  1292. local text = inputs[1].Text
  1293. if string.find(text, ",") then
  1294. for match in string.gmatch(text, "[^,]+") do
  1295. table.insert(item_names, match)
  1296. end
  1297. else
  1298. item_names = {text}
  1299. end
  1300. for _, name in pairs(item_names) do
  1301. local spawned = false
  1302. for _, child in pairs(Settings.LootDrops:GetChildren()) do
  1303. if spawned == false and string.find(string.lower(child.Name), string.lower(name)) then
  1304. spawned = true
  1305. Spawn(child.Name)
  1306. end
  1307. end
  1308. end
  1309. end)
  1310. CreateToolContents(GetSpawnablesFrame, nil, {
  1311. Size = UDim2.new(1, 0, 0, 80),
  1312. Text = "View a list of spawnable loot (not done)",
  1313. Font = "SourceSansLight",
  1314. FontSize = "Size32"
  1315. })
  1316. end
  1317. CreateInstance("TextLabel", VehicleToolsFrame){
  1318. Name = "VehicleSelection",
  1319. BackgroundTransparency = 1,
  1320. Position = UDim2.new(0.5, -125, 0, 0),
  1321. Size = UDim2.new(0, 250, 0, 30),
  1322. Font = "SourceSansLight",
  1323. FontSize = "Size14",
  1324. Text = [[Select a vehicle in-game by using the arrows supplied.]],
  1325. TextColor3 = Color3.new()
  1326. }
  1327. local SelectedVehicleLabel = CreateInstance("TextLabel", VehicleToolsFrame){
  1328. Name = "SelectedVehicle",
  1329. BackgroundTransparency = 1,
  1330. Position = UDim2.new(0.5, -50, 0, 32),
  1331. Size = UDim2.new(0, 100, 0, 20),
  1332. Font = "SourceSans",
  1333. FontSize = "Size24",
  1334. Text = [=[[none]]=],
  1335. TextColor3 = Color3.new()
  1336. }
  1337. local LeftArrow = CreateInstance("ImageButton", VehicleToolsFrame){
  1338. Name = "SelectionLeft",
  1339. BackgroundTransparency = 1,
  1340. Position = UDim2.new(0, 20, 0, 35),
  1341. Size = UDim2.new(0, 15, 0, 15),
  1342. Image = "rbxassetid://247422434"
  1343. }
  1344. local RightArrow = CreateInstance("ImageButton", VehicleToolsFrame){
  1345. Name = "SelectionRight",
  1346. BackgroundTransparency = 1,
  1347. Position = UDim2.new(1, -40, 0, 35),
  1348. Size = UDim2.new(0, 15, 0, 15),
  1349. Image = "rbxassetid://247422430"
  1350. }
  1351. do
  1352. local CurrentIndex = 0
  1353. LeftArrow.MouseButton1Down:connect(function()
  1354. local new_vehicle = GetVehicles()[CurrentIndex - 1]
  1355. if new_vehicle then
  1356. CurrentIndex = CurrentIndex - 1
  1357. Settings.SelectedVehicle = new_vehicle
  1358. else
  1359. CurrentIndex = #GetVehicles()
  1360. new_vehicle = GetVehicles()[CurrentIndex]
  1361. Settings.SelectedVehicle = new_vehicle
  1362. end
  1363. SelectedVehicleLabel.Text = new_vehicle.Name
  1364. end)
  1365. RightArrow.MouseButton1Down:connect(function()
  1366. local new_vehicle = GetVehicles()[CurrentIndex + 1]
  1367. if new_vehicle then
  1368. CurrentIndex = CurrentIndex + 1
  1369. Settings.SelectedVehicle = new_vehicle
  1370. else
  1371. CurrentIndex = 1
  1372. new_vehicle = GetVehicles()[CurrentIndex]
  1373. Settings.SelectedVehicle = new_vehicle
  1374. end
  1375. SelectedVehicleLabel.Text = new_vehicle.Name
  1376. end)
  1377. end
  1378. do -- Vehicles tab
  1379. local function CreateToolFrame(name, position, size)
  1380. return CreateInstance("Frame", VehicleToolsFrame){
  1381. Name = name,
  1382. BackgroundColor3 = Color3.new(1, 1, 1),
  1383. BackgroundTransparency = 1,
  1384. Position = position,
  1385. Size = size
  1386. }
  1387. end
  1388. local function CreateToolContents(tool_frame, inputs, invoke_data, click_function)
  1389. local total_size = 0
  1390. local input_instances, invoke_instance = {}
  1391. for index, input_data in pairs(inputs or {}) do
  1392. table.insert(input_instances, ({CreateInstance("TextBox", tool_frame){
  1393. Name = input_data.Name,
  1394. BackgroundColor3 = Color3.new(1, 1, 1),
  1395. BorderColor3 = Color3.new(),
  1396. Position = UDim2.new(input_data.X1 or 0, total_size, input_data.Y1 or 0, input_data.Y2 or 0),
  1397. Size = input_data.Size,
  1398. Font = "SourceSans",
  1399. FontSize = "Size14",
  1400. Text = input_data.Text,
  1401. TextColor3 = Color3.new()
  1402. }})[1])
  1403. total_size = total_size + input_data.Size.X.Offset + 10
  1404. end
  1405. invoke_instance = CreateBorder(CreateInstance("TextButton", tool_frame){
  1406. Name = "Invoke",
  1407. BackgroundColor3 = Color3.new(1, 1, 1),
  1408. BorderSizePixel = 0,
  1409. Position = UDim2.new(0, total_size, 0, 0),
  1410. Size = invoke_data.Size,
  1411. Font = invoke_data.Font or "SourceSans",
  1412. FontSize = invoke_data.FontSize or "Size14",
  1413. Text = invoke_data.Text,
  1414. TextColor3 = Color3.new()
  1415. })
  1416. invoke_instance.MouseButton1Down:connect(function()
  1417. if click_function then
  1418. click_function(input_instances)
  1419. end
  1420. end)
  1421. return input_instances, invoke_instance
  1422. end
  1423. local VehicleTeleportFrame = CreateToolFrame("TeleportVehicle", UDim2.new(0, 10, 0, 70), UDim2.new(0.62, -20, 0, 30))
  1424. local RepairUtilitiesFrame = CreateToolFrame("RepairingUtilities", UDim2.new(0, 280, 0, 70), UDim2.new(0.4, -20, 0, 30))
  1425. local VehicleMaxSpeedFrame = CreateToolFrame("MaxVehicleSpeed", UDim2.new(0, 10, 0, 110), UDim2.new(0.62, -20, 0, 30))
  1426. local OffroadSpeedFrame = CreateToolFrame("OffroadVehicleSpeed", UDim2.new(0, 10, 0, 150), UDim2.new(0.62, -20, 0, 30))
  1427. local SetHonkingSound = CreateToolFrame("OffroadVehicleSpeed", UDim2.new(0, 10, 0, 190), UDim2.new(0.62, -20, 0, 30))
  1428. CreateToolContents(VehicleTeleportFrame, {{
  1429. Name = "Input",
  1430. Size = UDim2.new(0, 100, 0, 30),
  1431. Text = "[p]"
  1432. }}, {
  1433. Size = UDim2.new(0, 150, 0, 30),
  1434. Text = "Teleport Vehicle to Player"
  1435. }, function(inputs)
  1436. local remote = workspace.Remote
  1437. local client = GetPlayers(inputs[1].Text)[1]
  1438. local vehicle = Settings.SelectedVehicle
  1439. local p = getplayer(inputs)
  1440. if vehicle then
  1441. spawn(function()
  1442. if not vehicle.PrimaryPart then
  1443. vehicle.PrimaryPart = vehicle.Essentials.Base
  1444. end
  1445. end)
  1446. remote.GroupCreate:FireServer("IsBuildingMaterial")
  1447. game:GetService("Lighting").Groups:WaitForChild("IsBuildingMaterial")
  1448. fireserver("ChangeParent", game:GetService("Lighting").Groups["IsBuildingMaterial"], vehicle.PrimaryPart)
  1449.  
  1450. repeat
  1451. wait()
  1452. until vehicle.PrimaryPart:FindFirstChild("IsBuildingMaterial")
  1453.  
  1454. workspace.Remote.ReplicatePart:FireServer(vehicle.PrimaryPart, client.Character.HumanoidRootPart.CFrame + CFrame.new(10, 0, 0).p)
  1455. end
  1456. end)
  1457. --[[add(vehicle.Bring, function()
  1458. local vehicle = selectedVehicle
  1459. if vehicle then
  1460.  
  1461. spawn(function()
  1462. if not vehicle.PrimaryPart then
  1463. vehicle.PrimaryPart = vehicle.Essentials.Base
  1464. end
  1465. end)
  1466.  
  1467. remote.GroupCreate:FireServer("IsBuildingMaterial")
  1468. game:GetService("Lighting").Groups:WaitForChild("IsBuildingMaterial")
  1469. fireserver("ChangeParent", game:GetService("Lighting").Groups["IsBuildingMaterial"], vehicle.PrimaryPart)
  1470.  
  1471. repeat
  1472. wait()
  1473. until vehicle.PrimaryPart:FindFirstChild("IsBuildingMaterial")
  1474.  
  1475. workspace.Remote.ReplicatePart:FireServer(vehicle.PrimaryPart, client.Character.HumanoidRootPart.CFrame + CFrame.new(10, 0, 0).p)
  1476. else
  1477. client_message("No vehicle is selected!", false)
  1478. end
  1479. end)
  1480. ]]--
  1481.  
  1482. CreateToolContents(RepairUtilitiesFrame, nil, {
  1483. FontSize = "Size12",
  1484. Size = UDim2.new(0, 160, 0, 30),
  1485. Text = "Spawn Vehicle Repairing Utilities"
  1486. }, function(inputs)
  1487. if Settings.SelectedVehicle then
  1488. SpawnRepairingUtilities(Settings.SelectedVehicle.Name)
  1489. end
  1490. end)
  1491. CreateToolContents(VehicleMaxSpeedFrame, {{
  1492. Name = "Input",
  1493. Size = UDim2.new(0, 100, 0, 30),
  1494. Text = "[n]"
  1495. }}, {
  1496. Size = UDim2.new(0, 150, 0, 30),
  1497. Text = "Set Vehicle Maximum Speed"
  1498. }, function(inputs)
  1499. if tonumber(inputs[1].Text) and Settings.SelectedVehicle and Settings.SelectedVehicle:findFirstChild("Stats") then
  1500. local maximum_speed = Settings.SelectedVehicle.Stats:findFirstChild("MaxSpeed")
  1501. if maximum_speed then
  1502. --ChangeProperty(maximum_speed, "Value", tonumber(inputs[1].Text))
  1503. maximum_speed.Value = tonumber(inputs[1].Text)
  1504. end
  1505. end
  1506. end)
  1507. CreateToolContents(OffroadSpeedFrame, {{
  1508. Name = "Input",
  1509. Size = UDim2.new(0, 100, 0, 30),
  1510. Text = "[n]"
  1511. }}, {
  1512. Size = UDim2.new(0, 150, 0, 30),
  1513. Text = "Set Vehicle Offroad Speed"
  1514. }, function(inputs)
  1515. if tonumber(inputs[1].Text) and Settings.SelectedVehicle and Settings.SelectedVehicle:findFirstChild("Stats") then
  1516. local maximum_speed = Settings.SelectedVehicle.Stats:findFirstChild("MaxSpeed")
  1517. local offroad_speed;
  1518. if maximum_speed then
  1519. offroad_speed = maximum_speed:findFirstChild("Offroad")
  1520. end
  1521. if offroad_speed then
  1522. --ChangeProperty(offroad_speed, "Value", tonumber(inputs[1].Text))
  1523. offroad_speed.Value = tonumber(inputs[1].Text)
  1524. end
  1525. end
  1526. end)
  1527. CreateToolContents(SetHonkingSound, {{
  1528. Name = "Input",
  1529. Size = UDim2.new(0, 100, 0, 30),
  1530. Text = "[audio id]"
  1531. }}, {
  1532. Size = UDim2.new(0, 150, 0, 30),
  1533. Text = "Set Honking Sound ID"
  1534. }, function(inputs)
  1535. if Settings.SelectedVehicle then
  1536. if tonumber(inputs[1].Text) then
  1537. local new_sound = "rbxassetid://" .. tonumber(inputs[1].Text)
  1538. local essentials = Settings.SelectedVehicle:findFirstChild("Essentials")
  1539. if essentials then
  1540. local base_essential = essentials:findFirstChild("Base")
  1541. if base_essential then
  1542. local horn_sound = base_essential:findFirstChild("Horn")
  1543. if horn_sound then
  1544. ChangeProperty(horn_sound, "SoundId", new_sound)
  1545. ChangeProperty(horn_sound, "Pitch", 1)
  1546. ChangeProperty(horn_sound, "Volume", 1)
  1547. else
  1548. Inform("Unable to find vehicle sound instance")
  1549. end
  1550. else
  1551. Inform("Unable to find vehicle base essential")
  1552. end
  1553. end
  1554. else
  1555. Inform("Must be a number!")
  1556. end
  1557. end
  1558. end)
  1559. end
  1560. do -- Misc tab
  1561. local function CreateToolFrame(name, position, size)
  1562. return CreateInstance("Frame", MiscFrame){
  1563. Name = name,
  1564. BackgroundColor3 = Color3.new(1, 1, 1),
  1565. BackgroundTransparency = 1,
  1566. Position = position,
  1567. Size = size
  1568. }
  1569. end
  1570. local function CreateToolContents(tool_frame, inputs, invoke_data, click_function)
  1571. local total_size = 0
  1572. local input_instances, invoke_instance = {}
  1573. for index, input_data in pairs(inputs or {}) do
  1574. table.insert(input_instances, ({CreateInstance("TextBox", tool_frame){
  1575. Name = input_data.Name,
  1576. BackgroundColor3 = Color3.new(1, 1, 1),
  1577. BorderColor3 = Color3.new(),
  1578. Position = UDim2.new(input_data.X1 or 0, total_size, input_data.Y1 or 0, input_data.Y2 or 0),
  1579. Size = input_data.Size,
  1580. Font = "SourceSans",
  1581. FontSize = "Size14",
  1582. Text = input_data.Text,
  1583. TextColor3 = Color3.new()
  1584. }})[1])
  1585. total_size = total_size + input_data.Size.X.Offset + 10
  1586. end
  1587. invoke_instance = CreateBorder(CreateInstance("TextButton", tool_frame){
  1588. Name = "Invoke",
  1589. BackgroundColor3 = Color3.new(1, 1, 1),
  1590. BorderSizePixel = 0,
  1591. Position = UDim2.new(0, total_size, 0, 0),
  1592. Size = invoke_data.Size,
  1593. Font = invoke_data.Font or "SourceSans",
  1594. FontSize = invoke_data.FontSize or "Size14",
  1595. Text = invoke_data.Text,
  1596. TextColor3 = Color3.new()
  1597. })
  1598. invoke_instance.MouseButton1Down:connect(function()
  1599. if click_function then
  1600. click_function(input_instances)
  1601. end
  1602. end)
  1603. return input_instances, invoke_instance
  1604. end
  1605. local ESPFrame = CreateToolFrame("ESP", UDim2.new(0, 10, 0, 10), UDim2.new(0.5, -20, 0, 30))
  1606. local NoclipFrame = CreateToolFrame("Noclip", UDim2.new(0.5, 10, 0, 10), UDim2.new(0.5, -20, 0, 30))
  1607. local StaminaFrame = CreateToolFrame("Stamina", UDim2.new(0, 10, 0, 50), UDim2.new(0.5, -20, 0, 30))
  1608. local AimbotFrame = CreateToolFrame("Aimbot", UDim2.new(0.5, 10, 0, 50), UDim2.new(0.5, -20, 0, 30))
  1609. CreateToolContents(ESPFrame, nil, {
  1610. Size = UDim2.new(1, 0, 0, 30),
  1611. Text = "Extra Sensory Perception"
  1612. }, function(inputs)
  1613. Settings.ESP = not Settings.ESP
  1614. Inform("ESP is now %s", Settings.ESP == true and "enabled" or "disabled")
  1615. end)
  1616. CreateToolContents(NoclipFrame, nil, {
  1617. Font = "SourceSansLight",
  1618. FontSize = "Size24",
  1619. Size = UDim2.new(1, 0, 0, 30),
  1620. Text = "Noclip / Reclip"
  1621. }, function(inputs)
  1622. Settings.Noclip = not Settings.Noclip
  1623. Inform("Noclip is now %s", Settings.Noclip == true and "enabled" or "disabled")
  1624. end)
  1625. CreateToolContents(StaminaFrame, nil, {
  1626. Font = "SourceSans",
  1627. FontSize = "Size14",
  1628. Size = UDim2.new(1, 0, 0, 30),
  1629. Text = "Unlimited Stamina / Always Sprint"
  1630. }, function(inputs)
  1631. local PlayerGui = Player:findFirstChild("PlayerGui")
  1632. pcall(function() PlayerGui.HitEqualsYouDie.WalkspeedEdit:Destroy() end)
  1633. pcall(function() PlayerGui.HitEqualsYouDie.JumpLimiter:Destroy() end)
  1634. pcall(function() Player.Character.Humanoid.WalkSpeed.Value = 25 end)
  1635. Inform("Unlimited stamina is now enabled, this is irreverseable.")
  1636. end)
  1637. CreateToolContents(AimbotFrame, nil, {
  1638. Font = "SourceSansLight",
  1639. FontSize = "Size18",
  1640. Size = UDim2.new(1, 0, 0, 30),
  1641. Text = "Enable / Disable AimBot"
  1642. }, function(inputs)
  1643. Settings.AimBot = not Settings.AimBot
  1644. Inform("Aimbot is now %s", Settings.AimBot == true and "enabled" or "disabled")
  1645. end)
  1646. end
  1647. VisabilityToggler.MouseButton1Down:connect(function()
  1648. VisabilityToggler:TweenPosition(UDim2.new(0.5, -60, 0, -90), "Out", "Sine", 0.8, true)
  1649. MainHolder:TweenPosition(UDim2.new(0.5, -225, 0.25, 0), "Out", "Sine", 0.8, true)
  1650. end)
  1651. CloseButton.MouseButton1Down:connect(function()
  1652. VisabilityToggler:TweenPosition(UDim2.new(0.5, -60, 0, 20), "Out", "Sine", 0.8, true)
  1653. MainHolder:TweenPosition(UDim2.new(0.5, -225, 0, -400), "Out", "Sine", 0.8, true)
  1654. end)
  1655. VisabilityToggler:TweenPosition(UDim2.new(0.5, -60, 0, 20), "Out", "Sine", 0.8, true)
  1656. end
  1657.  
  1658. --[[
  1659. Mouse.KeyDown:connect(function(key)
  1660. key = string.byte(string.lower(key))
  1661. if key == 50 then
  1662. Settings.AimBot = true
  1663. end
  1664. end)
  1665.  
  1666. Mouse.KeyUp:connect(function(key)
  1667. key = string.byte(string.lower(key))
  1668. if key == 50 then
  1669. Settings.AimBot = false
  1670. end
  1671. end)
  1672. --]]
  1673.  
  1674. Thread(function()
  1675. RunService.Stepped:connect(function()
  1676. if Settings.Noclip and Player.Character then
  1677. pcall(function() Player.Character.Torso.CanCollide = false end)
  1678. pcall(function() Player.Character.Head.CanCollide = false end)
  1679. end
  1680. end)
  1681. end)
  1682.  
  1683. Thread(function()
  1684. RunService.RenderStepped:connect(function()
  1685. if Settings.AimBot then
  1686. local target = GetNearestPlayerToMouse()
  1687. if target then
  1688. local head = target.Character and GetChild(target.Character, "Head") or nil
  1689. if head then
  1690. GetCamera().CoordinateFrame = CFrame.new(GetCamera().CoordinateFrame.p, head.CFrame.p)
  1691. end
  1692. --GUI_TARGET.Text = 'AIMBOT : '.. target.Name:sub(1, 5)
  1693. else
  1694. --GUI_TARGET.Text = 'AIMBOT : OFF'
  1695. end
  1696. end
  1697. end)
  1698. end)
  1699.  
  1700. do
  1701. local billboard = Instance.new("BillboardGui")
  1702. billboard.Name = "__"
  1703. billboard.AlwaysOnTop = true
  1704. billboard.Enabled = true
  1705. billboard.ExtentsOffset = Vector3.new(0, 3, 0)
  1706. billboard.Size = UDim2.new(1, 0, 1, 0)
  1707. local image = Instance.new("ImageLabel", billboard)
  1708. image.Name = "lol"
  1709. image.BackgroundTransparency = 1
  1710. image.Position = UDim2.new(-0.25, 0, 0, 0)
  1711. image.Size = UDim2.new(1.5, 0, 1.5, 0)
  1712. image.Image = "rbxassetid://136011733"
  1713.  
  1714. Thread(function()
  1715. while wait(0.15) do
  1716. for _, child in pairs(Workspace:GetChildren()) do
  1717. if child:IsA("Model") and Players:GetPlayerFromCharacter(child) and child ~= Player.Character and GetChild(child, "Head") then
  1718. if Settings.ESP and not GetChild(child.Head, "__") then
  1719. local initial = billboard:Clone()
  1720. initial.Parent = child.Head
  1721. end
  1722. if not Settings.ESP and GetChild(child.Head, "__") then
  1723. child.Head.__:Destroy()
  1724. end
  1725. end
  1726. end
  1727. end
  1728. end)
  1729. end
  1730.  
  1731. for _, player in pairs(Players:GetPlayers()) do
  1732. if player ~= Player then
  1733. ConnectPlayer(player)
  1734. end
  1735. end
  1736.  
  1737. Thread(function()
  1738. while RunService.Stepped:wait() do
  1739. local PlayerGui = GetChild(Player, "PlayerGui")
  1740. if PlayerGui then
  1741. local LeaderboardGUI = GetChild(PlayerGui, "MyGroup")
  1742. if LeaderboardGUI then
  1743. for _, child in pairs(LeaderboardGUI:GetChildren()) do
  1744. if child:IsA("TextButton") and string.sub(child.Name, 1, 1) == "M" and child.Text ~= "Player Name" then
  1745. local player = GetPlayers(string.gsub(child.Text, "%s", ""))[1]
  1746. if player and GetChild(player, "_il_oa") then
  1747. local red, green, blue = GetRainbowRGB(tick())
  1748. local color = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)
  1749. child.TextXAlignment = "Center"
  1750. child.FontSize = "Size12"
  1751. child.Text = "~ " .. (string.match(child.Text, "~ %s ~") or child.Text) .. " ~"
  1752. child.TextColor3 = color
  1753. child.BackgroundColor3 = color
  1754. end
  1755. end
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end)
  1761.  
  1762. do
  1763. local holder = Workspace.messages
  1764. holder.m1.Changed:connect(function()
  1765. local user, message = string.match(holder.m1.Value, "(.+):%s*(.+)")
  1766. OnChatted(GetPlayers(user)[1], message)
  1767. end)
  1768. end
  1769.  
  1770. Players.PlayerAdded:connect(ConnectPlayer)
  1771.  
  1772. Inform("Welcome to Eclipse!")
  1773. wait(1)
  1774. Inform("Game Detected: %s", Settings.Game)
  1775. wait(0.8)
  1776. Inform("Created by iLordVex! Updated by dogerki, skidded off of Wally.")
  1777.  
  1778.  
  1779. CreateGUI()
  1780.  
  1781. MainFrame:TweenPosition(UDim2.new(0.5, -100, 0.5, -75), "Out", "Sine", 0.8, true)
Add Comment
Please, Sign In to add comment