Advertisement
maickdelaia2030

Untitled

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