Advertisement
timmie140

War Tycoon

Dec 27th, 2024 (edited)
271
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.01 KB | None | 0 1
  1. repeat wait() until game:IsLoaded()
  2. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/DevSoGod/MyScript/main/library"))()
  3. local Window = library:CreateWindow("War Tycoon || We Love War")
  4. local Tab = Window:CreateTab("Main")
  5. local Sector = Tab:CreateSector("Section1", "left")
  6. Sector:AddToggle("Full AutoRebirth", false, function(v)
  7. _G.AutoRebirth = v
  8. end)
  9. local dd1 = Sector:AddDropdown("Whitelist",{}, false ,true , function(v)
  10. _G.WL = v
  11. end)
  12. Sector:AddButton("Refresh Players", function()
  13. for i, v in pairs(dd1:getList()) do
  14. dd1:Remove(tostring(v))
  15. end
  16. for i, v in pairs(game.Players:GetChildren()) do
  17. if not table.find(dd1:getList(), v.Name) then
  18. dd1:Add(v.Name)
  19. end
  20. end
  21. end)
  22. Sector:AddDropdown("Select Traget",{"Players","Base Shield","AC-130 Gunship"}, false ,true , function(v)
  23. _G.SelectTraget = v
  24. end)
  25. Sector:AddToggle("Spam RPG (Very Risk)", false, function(v)
  26. _G.SpamRPG = v
  27. end)
  28. local Sector = Tab:CreateSector("Section2", "Right")
  29.  
  30. Sector:AddToggle("FarmOil (Bad and Risk)", false, function(v)
  31. _G.FarmOil = v
  32. end)
  33.  
  34. Sector:AddToggle("FarmVehiclePart (Risk)", false, function(v)
  35. _G.FarmVehiclePart = v
  36. end)
  37. Sector:AddTextbox("Enter Point" , "100" , function(w)
  38. _G.Point = w
  39. end)
  40. Sector:AddButton("Get Point" , function()
  41. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  42. if a.Owner.Value == game.Players.LocalPlayer then
  43. for i = 1,tonumber(_G.Point) do
  44. a:WaitForChild("PurchasedObjects"):WaitForChild("MovingTarget"):WaitForChild("AddPoints"):FireServer(a:WaitForChild("PurchasedObjects"):WaitForChild("MovingTarget"):WaitForChild("Target3"))
  45. end
  46. end
  47. end
  48. end)
  49. Sector:AddToggle("Esp VehiclePart(Quest)", false, function(v)
  50. _G.ESPOperations = v
  51. end)
  52. local function Oil()
  53. local dist, thing = math.huge
  54. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  55. if a.Owner.Value == game.Players.LocalPlayer then
  56. for _,b in pairs(a.UnpurchasedButtons:GetChildren()) do
  57. if table.find({"Large Oil 1","Large Oil 2","Large Oil 3","Large Oil 4","Large Oil 5","Large Oil 6","Oil 1","Oil 2","Oil 3","Oil 4","Oil 5","Oil 6"},b.Name) then
  58. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - b.Gradient.Position).magnitude
  59. if mag < dist then
  60. dist = mag
  61. thing = b
  62. end
  63. end
  64. end
  65. end
  66. end
  67. return thing
  68. end
  69. local function Misc()
  70. local dist, thing = math.huge
  71. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  72. if a.Owner.Value == game.Players.LocalPlayer then
  73. for _,b in pairs(a.UnpurchasedButtons:GetChildren()) do
  74. if not table.find({"Large Oil 1","Large Oil 2","Large Oil 3","Large Oil 4","Large Oil 5","Large Oil 6","Oil 1","Oil 2","Oil 3","Oil 4","Oil 5","Oil 6"},b.Name) then
  75. if tostring(b.Neon.Color) == "0, 1, 0" or tostring(b.Neon.Color) == "1, 0, 0" or tostring(b.Neon.Color) == "0.0156863, 0.686275, 0.921569" then
  76. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - b.Gradient.Position).magnitude
  77. if mag < dist then
  78. dist = mag
  79. thing = b
  80. end
  81. end
  82. end
  83. end
  84. end
  85. end
  86. return thing
  87. end
  88. local function Rebirth()
  89. local dist, thing = math.huge
  90. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  91. if a.Owner.Value == game.Players.LocalPlayer then
  92. for _,b in pairs(a.UnpurchasedButtons:GetChildren()) do
  93. if tostring(b.Neon.Color) == "1, 1, 0" and tonumber(b:GetAttribute("RebirthAmount")) <= game:GetService("Players").LocalPlayer.leaderstats.Rebirths.Value then
  94. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - b.Gradient.Position).magnitude
  95. if mag < dist then
  96. dist = mag
  97. thing = b
  98. end
  99. end
  100. end
  101. end
  102. end
  103. return thing
  104. end
  105. local function fix()
  106. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  107. if a.Owner.Value == game.Players.LocalPlayer then
  108. for _,b in pairs(a.PurchasedObjects:GetChildren()) do
  109. if table.find({"Large Oil 1","Large Oil 2","Large Oil 3","Large Oil 4","Large Oil 5","Large Oil 6","Oil 1","Oil 2","Oil 3","Oil 4","Oil 5","Oil 6"},b.Name) then
  110. if b:FindFirstChild("Broken") and b.Broken.Value == true then
  111. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  112. if a.Owner.Value == game.Players.LocalPlayer then
  113. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials.CashCollector.CFrame
  114. wait(1)
  115. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 0)
  116. wait(.1)
  117. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 1)
  118. wait(.1)
  119. end
  120. end
  121. wait(0.5)
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = b.ElectricalBox.Effect.CFrame
  123. wait(1)
  124. fireproximityprompt(b.ElectricalBox.Effect.OilExtractor)
  125. end
  126. end
  127. end
  128. end
  129. end
  130. end
  131. spawn(function()
  132. pcall(function()
  133. while wait() do
  134. pcall(function()
  135. if _G.AutoRebirth then
  136. pcall(function()
  137. if fix() then
  138. fix()
  139. elseif game:GetService("Players").LocalPlayer.leaderstats.Cash.Value <= 0 then
  140. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  141. if a.Owner.Value == game.Players.LocalPlayer then
  142. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.PurchasedObjects["Oil 1"].CB1.CFrame
  143. wait(0.1)
  144. fireproximityprompt(a.PurchasedObjects["Oil 1"].CB1.DefaultExtractor)
  145. wait(1)
  146. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials.CashCollector.CFrame
  147. wait(.1)
  148. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 0)
  149. wait(.1)
  150. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 1)
  151. wait(.1)
  152. end
  153. end
  154. elseif Rebirth() then
  155. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Rebirth().Gradient.CFrame
  156. wait(1)
  157. firetouchinterest(Rebirth().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 0)
  158. wait(.1)
  159. firetouchinterest(Rebirth().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 1)
  160. wait(.1)
  161. elseif Oil() then
  162. if tostring(Oil().Neon.Color) == "0, 1, 0" or tostring(Oil().Neon.Color) == "0.0156863, 0.686275, 0.921569" then
  163. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Oil().Gradient.CFrame
  164. wait(1)
  165. firetouchinterest(Oil().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 0)
  166. wait(.1)
  167. firetouchinterest(Oil().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 1)
  168. wait(.1)
  169. elseif tostring(Oil().Neon.Color) == "1, 0, 0" then
  170. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  171. if a.Owner.Value == game.Players.LocalPlayer then
  172. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials.CashCollector.CFrame
  173. wait(1)
  174. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 0)
  175. wait(.1)
  176. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 1)
  177. wait(.1)
  178. end
  179. end
  180. end
  181. elseif Misc() then
  182. if tostring(Misc().Neon.Color) == "0, 1, 0" or tostring(Misc().Neon.Color) == "0.0156863, 0.686275, 0.921569" then
  183. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Misc().Gradient.CFrame
  184. wait(1)
  185. firetouchinterest(Misc().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 0)
  186. wait(.1)
  187. firetouchinterest(Misc().Gradient, game.Players.LocalPlayer.Character["Right Leg"], 1)
  188. wait(.1)
  189. elseif tostring(Misc().Neon.Color) == "1, 0, 0" then
  190. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  191. if a.Owner.Value == game.Players.LocalPlayer then
  192. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials.CashCollector.CFrame
  193. wait(1)
  194. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 0)
  195. wait(.1)
  196. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 1)
  197. wait(.1)
  198. end
  199. end
  200. end
  201. elseif game:GetService("Players").LocalPlayer.PlayerGui.RebirthGui.RebirthButton.Visible == true then
  202. if game:GetService("Players").LocalPlayer.leaderstats.Cash.Value >= 500000 then
  203. game:GetService("ReplicatedStorage"):WaitForChild("RebirthEVT"):FireServer()
  204. else
  205. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  206. if a.Owner.Value == game.Players.LocalPlayer then
  207. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials.CashCollector.CFrame
  208. wait(.1)
  209. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 0)
  210. wait(.1)
  211. firetouchinterest(a.Essentials.CashCollector, game.Players.LocalPlayer.Character["Right Leg"], 1)
  212. wait(.1)
  213. end
  214. end
  215. end
  216. end
  217. end)
  218. end
  219. end)
  220. end
  221. end)
  222. end)
  223. spawn(function()
  224. pcall(function()
  225. while wait() do
  226. pcall(function()
  227. if table.find(_G.SelectTraget,"Players") and _G.SpamRPG then
  228. for _,v in pairs(workspace:GetChildren()) do
  229. if v.Name ~= game.Players.LocalPlayer.Name and v:FindFirstChild("HumanoidRootPart") and not table.find(_G.WL,v.Name) then
  230. game:GetService("ReplicatedStorage"):WaitForChild("RocketSystem"):WaitForChild("RocketHit"):FireServer(v.HumanoidRootPart.Position,Vector3.yAxis,game:GetService("Players").LocalPlayer.Character.RPG,game:GetService("Players").LocalPlayer.Character.RPG,v.HumanoidRootPart)
  231. wait()
  232. end
  233. end
  234. end
  235. end)
  236. end
  237. end)
  238. end)
  239. local function Shield()
  240. local dist, thing = math.huge
  241. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  242. if a.Owner.Value ~= game.Players.LocalPlayer and a.PurchasedObjects:FindFirstChild("Base Shield") and a.PurchasedObjects["Base Shield"]:FindFirstChild("Shield") and a.PurchasedObjects["Base Shield"]["Shield"]:FindFirstChild("Shield4") then
  243. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - a.WorldPivot.Position).magnitude
  244. if mag < dist then
  245. dist = mag
  246. thing = a
  247. end
  248. end
  249. end
  250. return thing
  251. end
  252. spawn(function()
  253. pcall(function()
  254. while wait() do
  255. pcall(function()
  256. if table.find(_G.SelectTraget,"Base Shield") and _G.SpamRPG then
  257. pcall(function()
  258. game:GetService("ReplicatedStorage"):WaitForChild("RocketSystem"):WaitForChild("RocketHit"):FireServer(Shield().PurchasedObjects["Base Shield"].Shield.Shield4.Position,Vector3.yAxis,game:GetService("Players").LocalPlayer.Character.RPG,game:GetService("Players").LocalPlayer.Character.RPG,Shield().PurchasedObjects["Base Shield"].Shield.Shield4)
  259. end)
  260. end
  261. end)
  262. end
  263. end)
  264. end)
  265. local function Ship()
  266. local dist, thing = math.huge
  267. for _,v in pairs(workspace["Game Systems"]["Gunship Workspace"]:GetChildren()) do
  268. if v.Name == "AC-130 Gunship" then
  269. local mag = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.MainPart.Position).magnitude
  270. if mag < dist then
  271. dist = mag
  272. thing = v
  273. end
  274. end
  275. end
  276. return thing
  277. end
  278. spawn(function()
  279. pcall(function()
  280. while wait() do
  281. pcall(function()
  282. if table.find(_G.SelectTraget,"AC-130 Gunship") and _G.SpamRPG then
  283. pcall(function()
  284. game:GetService("ReplicatedStorage"):WaitForChild("RocketSystem"):WaitForChild("RocketHit"):FireServer(Ship().MainPart.Position,Vector3.yAxis,game:GetService("Players").LocalPlayer.Character.RPG,game:GetService("Players").LocalPlayer.Character.RPG,Ship().MainPart)
  285. end)
  286. end
  287. end)
  288. end
  289. end)
  290. end)
  291. spawn(function()
  292. pcall(function()
  293. while wait() do
  294. pcall(function()
  295. if _G.FarmVehiclePart then
  296. pcall(function()
  297. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  298. if a.Owner.Value == game.Players.LocalPlayer then
  299. for _,v in pairs(workspace["Game Systems"]["Crate Workspace"]:GetChildren()) do
  300. if _G.FarmVehiclePart == true then
  301. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  302. wait(1)
  303. end
  304. if _G.FarmVehiclePart == true then
  305. fireproximityprompt(v.StealPrompt)
  306. wait(2)
  307. end
  308. if _G.FarmVehiclePart == true then
  309. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = a.Essentials["Oil Collector"].CratePromptPart.CFrame
  310. wait(1)
  311. end
  312. if _G.FarmVehiclePart == true then
  313. fireproximityprompt(a.Essentials["Oil Collector"].CratePromptPart.SellPrompt)
  314. wait(1)
  315. end
  316. end
  317. end
  318. end
  319. end)
  320. end
  321. end)
  322. end
  323. end)
  324. end)
  325. spawn(function()
  326. pcall(function()
  327. while wait() do
  328. pcall(function()
  329. if _G.FarmOil then
  330. pcall(function()
  331. if game.Players.LocalPlayer.Character:FindFirstChild("Barrel") then
  332. for _,a in pairs(workspace.Tycoon.Tycoons:GetChildren()) do
  333. if a.Owner.Value == game.Players.LocalPlayer then
  334. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Tycoon.Tycoons.Hotel.Essentials["Oil Collector"].Collector.BarrelSlot.CFrame
  335. wait(2)
  336. fireproximityprompt(a.Essentials["Oil Collector"].Collector.dropPrompt)
  337. end
  338. end
  339. else
  340. for i = 1,2 do
  341. if workspace.Beams:FindFirstChild("Oil Rig"..tostring(i)) then
  342. if not workspace["Game Systems"].Warehouses["Oil Rig"..tostring(i)]["Oil Capture"]:FindFirstChild("Barrel Template") then
  343. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Beams:FindFirstChild("Oil Rig"..tostring(i)).CFrame
  344. else
  345. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Beams:FindFirstChild("Oil Rig"..tostring(i)).CFrame
  346. wait(2)
  347. fireproximityprompt(workspace["Game Systems"].Warehouses["Oil Rig"..tostring(i)]["Oil Capture"]["Barrel Template"].PromptPart.BarrelPickup)
  348. wait(1)
  349. end
  350. end
  351. end
  352. end
  353. end)
  354. end
  355. end)
  356. end
  357. end)
  358. end)
  359. spawn(function()
  360. pcall(function()
  361. while wait() do
  362. pcall(function()
  363. if _G.ESPOperations then
  364. pcall(function()
  365. for _,v in pairs(workspace["Game Systems"].Operations:GetChildren()) do
  366. for _,vv in pairs(v:GetChildren()) do
  367. if vv:FindFirstChild("Collection") and vv.Collection:FindFirstChildOfClass("ProximityPrompt") and not vv.Collection:FindFirstChildOfClass("BillboardGui") then
  368. local BillboardGui = Instance.new("BillboardGui")
  369. local TextLabel = Instance.new("TextLabel")
  370. BillboardGui.Parent = vv.Collection
  371. BillboardGui.AlwaysOnTop = true
  372. BillboardGui.Size = UDim2.new(0, 50, 0, 50)
  373. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  374. TextLabel.Parent = BillboardGui
  375. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  376. TextLabel.BackgroundTransparency = 1
  377. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  378. TextLabel.Text = vv.Name
  379. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  380. TextLabel.TextScaled = true
  381. end
  382. end
  383. end
  384. end)
  385. end
  386. end)
  387. end
  388. end)
  389. end)
  390. local Tab = Window:CreateTab("Setting/Misc")
  391. local Sector = Tab:CreateSector("Section1", "left")
  392. Sector:AddTextbox("Speed" , "16" , function(w)
  393. _G.Speed = w
  394. end)
  395. Sector:AddTextbox("Jump" , "50" , function(w)
  396. _G.Jump = w
  397. end)
  398. Sector:AddToggle("WalkSpeed", false, function(t)
  399. _G.WalkSpeed = t
  400. end)
  401. Sector:AddToggle("JumpPower", false, function(t)
  402. _G.JumpPower = t
  403. end)
  404. Sector:AddToggle("CtrlClickTP", false, function(t)
  405. _G.CtrlClickTP = t
  406. end)
  407. Sector:AddButton("Rejoin" , function()
  408. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
  409. end)
  410. Sector:AddButton("ResetCamera" , function()
  411. game:GetService("Workspace").CurrentCamera:Destroy()
  412. wait(.1)
  413. game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character.Humanoid
  414. game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  415. game:GetService("Players").LocalPlayer.CameraMinZoomDistance = .5
  416. game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 100000
  417. game:GetService("Players").LocalPlayer.CameraMode = "Classic"
  418. end)
  419. Sector:AddButton("InstantProximityPrompt" , function()
  420. game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(prompt)
  421. prompt.HoldDuration = 0
  422. end)
  423. end)
  424. spawn(function()
  425. pcall(function()
  426. while wait() do
  427. pcall(function()
  428. if _G.JumpPower then
  429. pcall(function()
  430. wait()
  431. local HumanModCons = {}
  432. local Char = game.Players.LocalPlayer.Character or workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  433. local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  434. local function JumpPowerChange()
  435. if Char and Human and _G.JumpPower then
  436. if game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  437. game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').JumpPower = tonumber(_G.Jump)
  438. else
  439. game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').JumpHeight = tonumber(_G.Jump)
  440. end
  441. end
  442. end
  443. JumpPowerChange()
  444. HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  445. HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or game.Players.LocalPlayer.CharacterAdded:Connect(function(v)
  446. Char, Human = v, v:WaitForChild("Humanoid")
  447. JumpPowerChange()
  448. HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  449. end)
  450. wait(9e9)
  451. end)
  452. end
  453. end)
  454. end
  455. end)
  456. end)
  457. spawn(function()
  458. pcall(function()
  459. while wait() do
  460. pcall(function()
  461. if _G.WalkSpeed then
  462. pcall(function()
  463. wait()
  464. local HumanModCons = {}
  465. local Char = game.Players.LocalPlayer.Character or workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  466. local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  467. local function WalkSpeedChange()
  468. if Char and Human and _G.WalkSpeed then
  469. Human.WalkSpeed = tonumber(_G.Speed)
  470. end
  471. end
  472. WalkSpeedChange()
  473. HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  474. HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or game.Players.LocalPlayer.CharacterAdded:Connect(function(v)
  475. Char, Human = v, v:WaitForChild("Humanoid")
  476. WalkSpeedChange()
  477. HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  478. end)
  479. wait(9e9)
  480. end)
  481. end
  482. end)
  483. end
  484. end)
  485. end)
  486. local UIS = game:GetService("UserInputService")
  487. local Player = game.Players.LocalPlayer
  488. local Mouse = Player:GetMouse()
  489. function GetCharacter()
  490. return game.Players.LocalPlayer.Character
  491. end
  492. function Teleport(pos)
  493. local Char = GetCharacter()
  494. if Char then
  495. Char:MoveTo(pos)
  496. end
  497. end
  498. UIS.InputBegan:Connect(function(input)
  499. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) and _G.CtrlClickTP == true then
  500. Teleport(Mouse.Hit.p)
  501. end
  502. end)
  503.  
  504. local Sector = Tab:CreateSector("Section2", "Right")
  505. Sector:AddKeybind("Keybind GUI", "Insert",true, function()
  506. for i, v in pairs(game:GetService("CoreGui"):GetChildren()) do
  507. if v:FindFirstChild("main") then
  508. v.main.Visible = not v.main.Visible;
  509. end
  510. end
  511. end)
  512. Sector:AddToggle("CloseGuiAfterExecute", false, function(o)
  513. _G.CloseGuiAfterExecute = o
  514. end)
  515. Sector:AddToggle("RejoinAfterKick", false, function(o)
  516. _G.rejoinKick = o
  517. end)
  518. spawn(function()
  519. getgenv().rejoin = game:GetService("CoreGui").RobloxPromptGui.promptOverlay.ChildAdded:Connect(function(Kick)
  520. if ((Kick.Name == "ErrorPrompt") and Kick:FindFirstChild("MessageArea") and Kick.MessageArea:FindFirstChild("ErrorFrame")) then
  521. if _G.rejoinKick == true then
  522. game:GetService("TeleportService"):Teleport(game.PlaceId)
  523. end
  524. end
  525. end)
  526. end)
  527. Sector:AddTextbox("FPS" , "20" , function(w)
  528. _G.FPS = w
  529. end)
  530. Sector:AddToggle("SetFpsCap", false, function(o)
  531. _G.Fpscap = o
  532. end)
  533. Sector:AddButton("infiniteyield" , function()
  534. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  535. end)
  536. Sector:AddButton("DarkDex" , function()
  537. loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua", true))()
  538. end)
  539. Sector:AddButton("RemoteSpy" , function()
  540. loadstring(game:HttpGet("https://raw.githubusercontent.com/SmellLikeHacker/IDK/main/RemoteSpy", true))()
  541. end)
  542. Sector:AddButton("CopyDiscordLink" , function()
  543. setclipboard("https://discord.gg/48geaWzacy")
  544. end)
  545. Sector:AddButton("JoinDiscord" , function()
  546. request = http_request or request or HttpPost or syn.request
  547. request({Url = "http://127.0.0.1:6463/rpc?v=1",Method = "POST",Headers = {["Content-Type"] = "application/json",["origin"] = "https://discord.com",},Body = game:GetService("HttpService"):JSONEncode({["args"] = {["code"] = "48geaWzacy",},["cmd"] = "INVITE_BROWSER",["nonce"] = "."})})
  548. end)
  549. Sector:AddButton("SUPER SECRET BUTTON" , function()
  550. local soundId = "rbxassetid://6454805792"
  551. local sound = Instance.new("Sound")
  552. sound.SoundId = soundId
  553. sound.Volume = 10
  554. sound.Looped = true
  555. sound.Parent = game.Players.LocalPlayer.Character
  556. sound:Play()
  557. end)
  558. spawn(function()
  559. pcall(function()
  560. while task.wait() do
  561. pcall(function()
  562. game:GetService("Players").LocalPlayer.DevCameraOcclusionMode = "Invisicam"
  563. game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 100000
  564. end)
  565. end
  566. end)
  567. end)
  568. spawn(function()
  569. pcall(function()
  570. while wait() do
  571. pcall(function()
  572. if _G.CloseGuiAfterExecute then
  573. pcall(function()
  574. wait()
  575. for i,v in pairs(game:GetService("CoreGui"):GetChildren()) do
  576. if v:FindFirstChild("main") then
  577. v.main.Visible = not v.main.Visible
  578. end
  579. end
  580. wait(9e9)
  581. end)
  582. end
  583. end)
  584. end
  585. end)
  586. end)
  587. spawn(function()
  588. pcall(function()
  589. while wait(1) do
  590. pcall(function()
  591. if _G.Fpscap then
  592. setfpscap(tonumber(_G.FPS))
  593. end
  594. end)
  595. end
  596. end)
  597. end)
  598. game:GetService("Players").LocalPlayer.Idled:connect(function()
  599. game:GetService("VirtualUser"):CaptureController()
  600. game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  601. end)
  602. library:ConfigSystem("WarTycoon"):Load()
  603. while wait(1) do
  604. pcall(function()
  605. library:ConfigSystem("WarTycoon"):Save()
  606. end)
  607. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement