dandan150150

Electric State RP

May 24th, 2021
12,595
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.84 KB | None | 0 0
  1.  
  2.  
  3.  
  4. local variables = {}
  5.  
  6. variables.autoCornFarm = false;
  7. variables.hitboxexpand = false;
  8. variables.killmethodgun = false;
  9. variables.autoAureus = false;
  10. variables.autoScavEnabled = false;
  11. variables.autoPrinterFarm = false;
  12. variables.deathBarrierBypassEnabled = false;
  13. variables.version = "1.0";
  14. variables.globRainbowColor3 = nil;
  15.  
  16. _G.deathBarrierBypassEnabled = false;
  17. _G.weaponMultiplierEnabled = false;
  18.  
  19. -- auto corn
  20.  
  21. function autoCornFarmRun()
  22. if variables.autoCornFarm then
  23. hasFoundCargoStation = false;
  24. pcall(function()
  25. if game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"].Name == "Capital Cargo Station" then
  26. hasFoundCargoStation = true;
  27. end
  28. end)
  29. if hasFoundCargoStation then
  30. pcall(function()
  31. cargoStation = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"];
  32. for i,v in pairs(game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do
  33. pcall(function()
  34. if v.Name == "Corn Farm" or v.Name == "Tomato Farm" or v.Name == "Carrot Farm" then
  35. if v["3"].Transparency == 0 then
  36. pcall(function()
  37. -- ready for harvest
  38. local cFrameRn = nil;
  39. cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  40. local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  41. controls:Disable();
  42. pcall(function()
  43. wait(1);
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v["3"].CFrame;
  45. wait(1);
  46. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(40, v);
  47. wait(1);
  48. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(40, v);
  49. wait(1);
  50. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cargoStation.Union.CFrame;
  51. wait(1);
  52. corn = nil;
  53. for i1, v1 in pairs(game:GetService("Workspace")[game.Players.LocalPlayer.Name]:GetChildren()) do
  54. if string.match(v1.Name, "Corn") or string.match(v1.Name, "Tomato") or string.match(v1.Name, "Carrot") then
  55. corn = v1;
  56. break;
  57. end
  58. end
  59. if corn ~= nil then
  60. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(41, cargoStation, corn);
  61. end
  62. end)
  63. wait(1);
  64. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  65. wait(1);
  66. controls:Enable();
  67. end)
  68. end
  69. end
  70. end)
  71. end
  72. end)
  73. else
  74. notice:Fire("StarEssentials", "Please place a capital cargo station in your node for AutoCornFarm!", 4);
  75. end
  76. end
  77. end
  78.  
  79.  
  80. -- poner el chido topbar
  81. spawn(function()
  82. while wait() do
  83. local hue = tick() % 10 / 10;
  84. variables.globRainbowColor3 = Color3.fromHSV(hue, 1, 1);
  85. game:GetService("Players").LocalPlayer.PlayerGui.TopBar.Frame.BackgroundColor3 = variables.globRainbowColor3;
  86. end
  87. end);
  88.  
  89.  
  90.  
  91. game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):SetTopbarTransparency(1);
  92. local textArray = { " StarEssentials | Version: " .. variables.version};
  93. local textLabel = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("TopBar"):WaitForChild("Frame"):WaitForChild("TextLabel");
  94. local randomInt = math.random(1, #textArray);
  95. spawn(function()
  96. while true do
  97. textLabel.Text = textArray[randomInt];
  98. randomInt = randomInt + 1;
  99. if #textArray < randomInt then
  100. randomInt = 1;
  101. end;
  102. wait(0.1);
  103. end;
  104. end);
  105.  
  106.  
  107. -- Anti-die barrier
  108. local mt = getrawmetatable(game);
  109. local backup = mt.__namecall;
  110. if setreadonly then setreadonly(mt, false) else make_writeable(mt, true) end
  111.  
  112. mt.__namecall = newcclosure(function(...)
  113. local method = getnamecallmethod()
  114. local args = {...}
  115. if method == "FindPartOnRayWithWhitelist" then
  116. if _G.deathBarrierBypassEnabled then
  117. local getScript = getfenv(2).script
  118. if getScript == nil then
  119. getScript = ""
  120. end
  121. if tostring(getScript:GetFullName()) == "game.Players.LocalPlayer.PlayerScripts.LocalScript" then
  122. args[2].Y = 144;
  123. return backup(unpack(args))
  124. else
  125. return backup(...)
  126. end
  127. else
  128. return backup(...)
  129. end
  130. end
  131.  
  132.  
  133. if method == "FireServer" or method == "InvokeServer" then
  134. if _G.weaponMultiplierEnabled then
  135. if args[1].Name == "MenuActionEvent" then
  136. if args[2] == 33 and args[8] ~= "" and args[8] ~= "a" then
  137. spawn(function()
  138. wait()
  139. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  140. wait()
  141. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  142. wait()
  143. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  144. wait(0.1)
  145. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  146. wait()
  147. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  148. wait()
  149. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  150. wait(0.1)
  151. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  152. wait()
  153. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  154. wait()
  155. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  156. wait()
  157. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  158. wait(0.1)
  159. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  160. wait()
  161. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  162. wait()
  163. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  164. wait()
  165. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  166. end);
  167. return backup(unpack(args))
  168. end
  169. elseif args[1].Name == "MenuActionEvent" and args[2] == 33 and args[8] == "a" then
  170. args[8] = "";
  171. return backup(unpack(args))
  172. else
  173.  
  174. end
  175. end
  176. end
  177. return backup(...)
  178. end)
  179.  
  180. _G.deathBarrierBypassEnabled = false;
  181.  
  182.  
  183. -- Load map
  184. msg = Instance.new("Message",workspace)
  185. msg.Text = "Loading map, pls wait!"
  186. game:GetService("Workspace").Camera.CameraType = Enum.CameraType.Scriptable;
  187. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-2251, 196, 1465));
  188. wait(1)
  189. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1533, 190, -344));
  190. wait(1)
  191. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-502, 138, -1308));
  192. wait(1)
  193. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(1494, 272, -1663));
  194. wait(1)
  195. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(1983, 138, 48));
  196. wait(1)
  197. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(2144, 135, 1611));
  198. wait(1)
  199. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(5, 274, 1302));
  200. wait(1)
  201. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-131, 197, -463));
  202. wait(1)
  203. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1572, 206, -1235));
  204. wait(1)
  205. game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1725, 263, -1798));
  206. wait(1)
  207. game:GetService("Workspace").Camera.CameraType = Enum.CameraType.Custom;
  208. wait(3 )
  209. msg:Destroy()
  210.  
  211.  
  212. -- Farm
  213. ----------------
  214.  
  215.  
  216.  
  217.  
  218. -- aureus auto
  219.  
  220.  
  221. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  222.  
  223. function auroAureusRun()
  224. if variables.autoAureus then
  225. hasFoundScavStation = false;
  226. pcall(function()
  227. if game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"].Name == "Scavenge Station" then
  228. hasFoundScavStation = true;
  229. end
  230. end)
  231. if hasFoundScavStation then
  232. pcall(function()
  233. scavStation = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"];
  234. timerOnThing = game.Players.LocalPlayer.PlayerGui.Client.Drone.Slots.Amt.Text;
  235. if timerOnThing == "Ready" then
  236. pcall(function()
  237. -- ready for drone
  238. local cFrameRn = nil;
  239. cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  240. local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  241. controls:Disable();
  242. pcall(function()
  243.  
  244. CFrameEnd = scavStation.Union.CFrame;
  245. Time = 5
  246. tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  247. tween:Play()
  248. tween.Completed:Wait()
  249.  
  250.  
  251. wait(1);
  252. Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(scavStation);
  253. wait(1);
  254. Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(1, scavStation);
  255. wait(1);
  256.  
  257. CFrameEnd = game:GetService("Workspace").DroneShipment.MeshPart.CFrame;
  258. Time = 5
  259. tween = game:GetService("TweenService"):Create(game:GetService("Workspace").Drones[game.Players.LocalPlayer.Name].Hull, TweenInfo.new(Time), {CFrame = CFrameEnd})
  260. tween:Play()
  261. tween.Completed:Wait()
  262.  
  263. wait(2);
  264. Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(3);
  265. wait(1);
  266. game:GetService("Workspace").Drones[game.Players.LocalPlayer.Name].Hull.CFrame = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"].Union.CFrame;
  267. wait(1);
  268. Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(4);
  269. wait();
  270. Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(scavStation);
  271. end)
  272. wait(1);
  273.  
  274. CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  275. Time = 5
  276. tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  277. tween:Play()
  278. tween.Completed:Wait()
  279.  
  280. wait(1);
  281. controls:Enable();
  282. Game:GetService("ReplicatedStorage").Events.ScavengeFunction:InvokeServer("Old-World Crate");
  283.  
  284. end)
  285. end
  286. end)
  287. else
  288. notice:Fire("Staressentials", "Please place a scavenge station in your node for AutoAureus!", 4);
  289. end
  290. end
  291. end
  292.  
  293. -- auto scavenge
  294.  
  295. function autoScavRun()
  296. if variables.autoScavEnabled then
  297. local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  298. pcall(function()
  299. for i,v in pairs(game:GetService("Workspace").Loot:GetChildren()) do
  300. wait(2);
  301. shouldBreak = false;
  302. pcall(function()
  303. if v.LootCrate ~= nil then
  304. pcall(function()
  305. controls:Disable();
  306. local cFrameRn = nil;
  307. cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  308. local CFrameEnd = v.LootCrate.CFrame;
  309. local Time = 5
  310. local tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  311. tween:Play()
  312. tween.Completed:Wait()
  313. wait(2);
  314. Game:GetService("ReplicatedStorage").Events.CratePickUpEvent:FireServer(v);
  315. wait(2);
  316.  
  317. local CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  318. local Time = 5
  319. local tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  320. tween:Play()
  321. tween.Completed:Wait()
  322.  
  323. shouldBreak = true;
  324. wait(1);
  325. end)
  326. end
  327. end)
  328. if shouldBreak then
  329. break;
  330. end
  331. end
  332. controls:Enable();
  333. end)
  334. pcall(function()
  335. local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  336. controls:Enable();
  337. end)
  338. Game:GetService("ReplicatedStorage").Events.ScavengeFunction:InvokeServer("Scavenge Crate");
  339. end
  340. end
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350. -- Auto printer
  351.  
  352.  
  353.  
  354.  
  355. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  356.  
  357. function getClosestOwnedPrinter()
  358. local lplayer = game.Players.LocalPlayer
  359. local Character = lplayer.Character
  360. local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  361. if not (Character or HumanoidRootPart) then return end
  362. local TargetDistance = math.huge
  363. local Target
  364. for i,v in ipairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  365. pcall(function()
  366. mesh = nil;
  367. pcall(function()
  368. if v.PrimaryPart.Name ~= "" then
  369. mesh = v.PrimaryPart
  370. end
  371. end)
  372. pcall(function()
  373. if mesh == nil then
  374. mesh = v.PrimaryPart
  375. end
  376. end)
  377. if mesh then
  378. if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  379. local TargetHRP = mesh
  380. local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  381. if mag < TargetDistance then
  382. TargetDistance = mag
  383. Target = v
  384. end
  385. end
  386. end
  387. end)
  388. end
  389.  
  390. return Target
  391. end
  392.  
  393.  
  394. function runAutoPrinter()
  395. if variables.autoPrinterFarm then
  396. if variables.deathBarrierBypassEnabled then
  397. pcall(function()
  398. ownedPrinters = 0;
  399. printersMade = 0;
  400. for i,v in pairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  401. if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  402. ownedPrinters = ownedPrinters + 1;
  403. end
  404. end
  405.  
  406. if ownedPrinters >= 2 or printersMade >= 2 then
  407. -- already have 2 printers
  408. else
  409. pcall(function()
  410. if variables.makebaseplate then
  411. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(4)
  412.  
  413.  
  414. local ohNumber1 = 1
  415. local ohString2 = "Node"
  416. local ohCFrame3 = CFrame.new(1.30126417, 2.68526554, 14.9110432, 0, -4.37113883e-08, 1, 0, 1, 4.37113883e-08, -1, 0, 0)
  417.  
  418. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  419.  
  420.  
  421.  
  422.  
  423. local ohNumber1 = 1
  424. local ohString2 = "Wooden Wall (1x2)"
  425. local ohCFrame3 = CFrame.new(0, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  426.  
  427. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  428.  
  429.  
  430.  
  431. local ohNumber1 = 1
  432. local ohString2 = "Wooden Wall (1x2)"
  433. local ohCFrame3 = CFrame.new(0, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  434.  
  435. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  436.  
  437.  
  438.  
  439. local ohNumber1 = 1
  440. local ohString2 = "Wooden Wall (1x2)"
  441. local ohCFrame3 = CFrame.new(7, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  442.  
  443. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  444.  
  445.  
  446.  
  447. local ohNumber1 = 1
  448. local ohString2 = "Wooden Wall (1x2)"
  449. local ohCFrame3 = CFrame.new(7, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  450.  
  451. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  452.  
  453.  
  454. local ohNumber1 = 1
  455. local ohString2 = "Wooden Wall (1x2)"
  456. local ohCFrame3 = CFrame.new(-7, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  457.  
  458. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  459.  
  460.  
  461.  
  462. local ohNumber1 = 1
  463. local ohString2 = "Wooden Wall (1x2)"
  464. local ohCFrame3 = CFrame.new(-7, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  465.  
  466. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  467. end
  468.  
  469. wait(1);
  470.  
  471.  
  472. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-394.148163, 153.951874, -81.6159363, 0.212195292, 3.52738674e-08, -0.977227271, -4.09336351e-08, 1, 2.72075322e-08, 0.977227271, 3.42281545e-08, 0.212195292);
  473.  
  474. wait(1);
  475. Game:GetService("ReplicatedStorage").Events.MenuEvent:FireServer(2, "Money Printer Advanced", nil, 8);
  476. wait(1);
  477. printer = getClosestOwnedPrinter();
  478. Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, true);
  479. counterunowo = 0;
  480. pcall(function()
  481. while tonumber(printer.Int.Money.Value) < 999999 do
  482. if counterunowo > 10 then
  483. break;
  484. end
  485. wait(1);
  486. counterunowo = counterunowo + 1;
  487. end
  488. end)
  489. wait(1);
  490. didSuccessyy = false;
  491. pcall(function()
  492. if tonumber(printer.Int2.Money.Value) < 99999 then
  493. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.609249473, 3, 0.498477787, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  494. didSuccessyy = true;
  495. end
  496. end)
  497. if didSuccessyy then
  498.  
  499. else
  500. Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, true);
  501. wait(1);
  502. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.609249473, 3, 0.498477787, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  503. end
  504.  
  505. wait(2);
  506. end)
  507. pcall(function()
  508. Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, false);
  509. end)
  510. wait(2);
  511.  
  512.  
  513. printer.Int.Money.Changed:connect(function(newVal)
  514. doPrinterStuffy();
  515. end)
  516.  
  517. printersMade = printersMade + 1;
  518. runAutoPrinter();
  519. end
  520. end)
  521. else
  522. notice:Fire("Staressentials", "Please enable Bypass Barriers!", 4);
  523. end
  524. end
  525. end
  526.  
  527. function doPrinterStuffy()
  528. pcall(function()
  529. if isDoingPrinterRn == false then
  530. isDoingPrinterRn = true;
  531. if variables.autoPrinterFarm then
  532. if variables.deathBarrierBypassEnabled then
  533. pcall(function()
  534. for i,v in pairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  535. if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  536. if tonumber(v.Int.Money.Value) > 0 then
  537. howManyIsLeft = v.Int.Uses.Value;
  538.  
  539. cframeyy = CFrame.new(v.PrimaryPart.CFrame.X, v.PrimaryPart.CFrame.Y + 3, v.PrimaryPart.CFrame.Z);
  540.  
  541. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cframeyy;
  542.  
  543. wait(2);
  544. Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(v);
  545.  
  546. if howManyIsLeft == 0 then
  547. wait(1);
  548. runAutoPrinter();
  549. end
  550. end
  551. end
  552. end
  553. end)
  554. else
  555. notice:Fire("Staressentials", "Please enable Bypass Barriers!", 4);
  556. end
  557. end
  558. isDoingPrinterRn = false;
  559. else
  560.  
  561. end
  562. end)
  563. isDoingPrinterRn = false;
  564. end
  565.  
  566.  
  567.  
  568.  
  569. local UILibrary = loadstring(game:HttpGet("https://pastebin.com/raw/xBVw0uNM"))()
  570.  
  571. local localplayer = game.Players.LocalPlayer.Name
  572. -- Noclip
  573. noclip = false
  574. game:GetService('RunService').Stepped:connect(function()
  575. if noclip then
  576. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  577. end
  578. end)
  579.  
  580.  
  581. -- Load screen
  582. local Player = game:GetService("Players").LocalPlayer
  583. local ProgressBar = game.Players.LocalPlayer.PlayerGui.Client.ProgressBar
  584. ProgressBar.TextLabel.Text = "Loading StarEssentials";
  585. ProgressBar.Frame.Frame.Size = UDim2.new(0, 0, 1, 0);
  586. ProgressBar.Visible = true;
  587. ProgressBar.Frame.Frame:TweenSize(UDim2.new(1, 0, 1, 0), "In", "Linear", 1, true, u2);
  588. wait(1)
  589. ProgressBar.Visible = false
  590. local ProgressBar = game.Players.LocalPlayer.PlayerGui.Client.ProgressBar
  591. ProgressBar.TextLabel.Text = "Loading Gui";
  592. ProgressBar.Frame.Frame.Size = UDim2.new(0, 0, 1, 0);
  593. ProgressBar.Visible = true;
  594. ProgressBar.Frame.Frame:TweenSize(UDim2.new(1, 0, 1, 0), "In", "Linear", 1, true, u2);
  595. wait(1)
  596. ProgressBar.Visible = false
  597.  
  598.  
  599. -- infjump
  600.  
  601. _G.infinjump = false
  602.  
  603. local Mouse = Player:GetMouse()
  604. Mouse.KeyDown:connect(function(k)
  605. if _G.infinjump then
  606. if k:byte() == 32 then
  607. Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  608. Humanoid:ChangeState("Jumping")
  609. wait(0.1)
  610. Humanoid:ChangeState("Seated")
  611. end
  612. end
  613. end)
  614. noclip = false
  615. game:GetService("RunService").Stepped:connect(
  616. function()
  617. if noclip then
  618. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  619. end
  620. end
  621. )
  622.  
  623. -- ESP
  624.  
  625. local ESP = loadstring(game:HttpGet("https://pastebin.com/raw/Lierd3sc"))()
  626.  
  627. -- UI
  628.  
  629. local MainUI = UILibrary.Load("StarEssentials")
  630.  
  631. local Home = MainUI.AddPage("Home", false)
  632.  
  633. local players = MainUI.AddPage("players")
  634.  
  635. local localps = MainUI.AddPage("Local player", false)
  636.  
  637. local troll = MainUI.AddPage("Troll")
  638.  
  639. local combat = MainUI.AddPage("Combat", false)
  640.  
  641. local farm = MainUI.AddPage("Farming", false)
  642.  
  643. local crafting = MainUI.AddPage("Crafting", false)
  644.  
  645. local teleports = MainUI.AddPage("Teleports", false)
  646.  
  647. local options = MainUI.AddPage("Options", false)
  648.  
  649.  
  650.  
  651.  
  652. -- Home
  653. local Starhome = Home.AddLabel("StarEssentials")
  654. local spacehome = Home.AddLabel("")
  655. local gamehome = Home.AddLabel("Game: Electric State DarkRP")
  656. local spacehome2 = Home.AddLabel("")
  657. local creditshome = Home.AddLabel("Made by migu")
  658.  
  659. local gunhelper = Home.AddLabel("Gun donator: Lgd nemo")
  660. local spacehome3 = Home.AddLabel("")
  661. local discinvite = Home.AddButton("Copy discord invite", function()
  662. setclipboard("https://discord.gg/ewKCVhCpDB")
  663. end)
  664.  
  665. -- OPTIONS
  666.  
  667. local DELETEGUI = options.AddButton("Delete gui", function()
  668. game.CoreGui.StarEssentials:remove()
  669. end)
  670.  
  671. local killgun = options.AddToggle("Kill gun method", false, function(Value)
  672. if Value == true then
  673. variables.killmethodgun = true;
  674. end
  675. if Value == false then
  676. variables.killmethodgun = false;
  677. end
  678. end)
  679.  
  680. -- Players
  681.  
  682. local copyn = players.AddButton("Copy node", function()
  683. -- Jugador
  684. local playerNameClicked = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  685. -- Objetos
  686.  
  687. -- node copy
  688.  
  689. local allItems = {};
  690. function addPropToArray(itemProperties)
  691. table.insert(allItems, itemProperties);
  692. end
  693.  
  694.  
  695. addPropToArray({"Dumpster", "73.999999642372"});
  696. addPropToArray({"Bust Statue Hat", "49.40000000596"});
  697. addPropToArray({"Barricade", "54.999992370605"});
  698. addPropToArray({"Shelves Lounge", "34.477004051208"});
  699. addPropToArray({"Plant Tree Small", "39.281250119209"});
  700. addPropToArray({"Chair Stool", "7.1212601661682"});
  701. addPropToArray({"Easel", "37.199998617172"});
  702. addPropToArray({"Couch Booth", "68.700000956655"});
  703. addPropToArray({"Canopy Fabric", "50.324487686157"});
  704. addPropToArray({"Railing", "28.300001144409"});
  705. addPropToArray({"Dressing Stand", "54.970696628094"});
  706. addPropToArray({"Clock Grandfather", "48.35000000149"});
  707. addPropToArray({"Bench White", "90.634871721268"});
  708. addPropToArray({"Dryer", "26.699999988079"});
  709. addPropToArray({"Map Board", "53.778938695788"});
  710. addPropToArray({"Desk Big", "133.5000000298"});
  711. addPropToArray({"Bunk Bed", "258.99999608099"});
  712. addPropToArray({"Box Small", "8.4375"});
  713. addPropToArray({"Ladder Wood", "64.5"});
  714. addPropToArray({"Game Table", "93.775068819523"});
  715. addPropToArray({"Sofa Red", "47.900000810623"});
  716. addPropToArray({"Fabric Overhead", "26.324487686157"});
  717. addPropToArray({"Table Coffee", "21.5"});
  718. addPropToArray({"Street Lamp", "65.10001373291"});
  719. addPropToArray({"Table Lounge", "29.75"});
  720. addPropToArray({"Plastic Table", "28.25"});
  721. addPropToArray({"Bottles Tall", "57"});
  722. addPropToArray({"Cabinets", "21.13872385025"});
  723. addPropToArray({"Table X", "41.662277579308"});
  724. addPropToArray({"Computer Screens", "78.196396231651"});
  725. addPropToArray({"Bench", "16.025469303131"});
  726. addPropToArray({"Logs", "20.819108009338"});
  727. addPropToArray({"Night Stand", "52.999983936548"});
  728. addPropToArray({"Table", "46.3703237921"});
  729. addPropToArray({"Chair Picnic", "12.501653194427"});
  730. addPropToArray({"Couch Small", "32.104417800903"});
  731. addPropToArray({"Generator", "39.463157773018"});
  732. addPropToArray({"Bed", "73.868103116751"});
  733. addPropToArray({"Register", "11.199994087219"});
  734. addPropToArray({"Ammo Box", "8.8533323407173"});
  735. addPropToArray({"Shelves", "58.25"});
  736. addPropToArray({"Chair Comfort", "27.039119243622"});
  737. addPropToArray({"Bench Modern", "34.25"});
  738. addPropToArray({"Table Booth", "20.800000011921"});
  739. addPropToArray({"Computer Scifi", "53.875"});
  740. addPropToArray({"Desk Small", "62.312395974994"});
  741. addPropToArray({"Bag", "14.172916173935"});
  742. addPropToArray({"Gun Rack", "40.814584851265"});
  743. addPropToArray({"Table Round", "32.800000160933"});
  744. addPropToArray({"Papers", "35.800000078976"});
  745. addPropToArray({"Couch White", "49.852519154549"});
  746. addPropToArray({"Plant", "13.493908643723"});
  747. addPropToArray({"Couch Lounge", "54.625000953674"});
  748. addPropToArray({"Chair Lounge", "37.25"});
  749. addPropToArray({"Plant Tree", "75.562500238419"});
  750. addPropToArray({"Bust Statue", "42.40000000596"});
  751. addPropToArray({"Dresser Long", "106.79998357594"});
  752. addPropToArray({"Sink", "16.000000119209"});
  753. addPropToArray({"Tub", "22.838701248169"});
  754. addPropToArray({"Table Long", "42.666665047407"});
  755. addPropToArray({"Sandbags", "28.201997280121"});
  756. addPropToArray({"Cabinet Filing", "16.500000923872"});
  757. addPropToArray({"Computer", "26.055407680571"});
  758. addPropToArray({"Chair", "19.256631344557"});
  759. addPropToArray({"Podium", "20.800003483891"});
  760. addPropToArray({"Sci Fi", "51.259048700333"});
  761. addPropToArray({"Long Shelves", "78.300012856722"});
  762. addPropToArray({"Box", "9.9375"});
  763. addPropToArray({"Computer Set-up", "51.254103973508"});
  764. addPropToArray({"Shelves Store", "52.024270653725"});
  765. addPropToArray({"Camp Food", "48.442285079509"});
  766. addPropToArray({"Book Shelves", "97.422241687775"});
  767. addPropToArray({"Rat Candle", "37.966639995575"});
  768. addPropToArray({"Chair Beanbag", "14.30319237709"});
  769. addPropToArray({"Board", "95.929889678955"});
  770. addPropToArray({"Chair Folding", "10.11127614975"});
  771. addPropToArray({"Washer", "26.75"});
  772. addPropToArray({"Bottles Small", "38.549999892712"});
  773. addPropToArray({"Desk Low", "33.420437626541"});
  774. addPropToArray({"Desk", "73.399993047118"});
  775. addPropToArray({"Furnace", "60.649999566376"});
  776. addPropToArray({"Starlight", "20.715383768082"});
  777. addPropToArray({"Telephone Pole Light", "65.849999576807"});
  778. addPropToArray({"Lamp", "16.582590252161"});
  779. addPropToArray({"Floor Lamp", "9.4999998956919"});
  780. addPropToArray({"Lamp Prisim", "11.000000953674"});
  781. addPropToArray({"Lamp WallStreet", "19"});
  782. addPropToArray({"Spotlight", "10.89999973774"});
  783. addPropToArray({"Lamp Small", "12.582590252161"});
  784. addPropToArray({"House Wasteland2", "1103.7285881341"});
  785. addPropToArray({"Saloon Adobe", "1348.8256006762"});
  786. addPropToArray({"Old Warehouse", "2169.1924418211"});
  787. addPropToArray({"House Wasteland", "866.5"});
  788. addPropToArray({"Garage Wasteland", "768"});
  789. addPropToArray({"Wooden Wall Thick (2x3)", "39.5"});
  790. addPropToArray({"Wooden Wall (2x3)", "38.5"});
  791. addPropToArray({"Wooden Wall Thick (1x2)", "25.5"});
  792. addPropToArray({"Wooden Wall Thick (1x3)", "32.5"});
  793. addPropToArray({"Wooden Wall (2x2)", "31.5"});
  794. addPropToArray({"Fence", "43.326451078057"});
  795. addPropToArray({"Wooden Wall (1x2)", "24.5"});
  796. addPropToArray({"Wooden Wall Thick (2x2)", "32.5"});
  797. addPropToArray({"Counter (1x2)", "37.600000143051"});
  798. addPropToArray({"Wooden Wall (1x3)", "31.5"});
  799. addPropToArray({"Slot Machine", "67.245401829481"});
  800. addPropToArray({"Taps", "36.375"});
  801. addPropToArray({"Register Shop", "20.541307538748"});
  802. addPropToArray({"Shop Beacon", "53.224999696016"});
  803. addPropToArray({"Killzone Board", "29.705087780952"});
  804. addPropToArray({"Piano Tall", "34.199897825718"});
  805. addPropToArray({"Soda Machine", "50.5"});
  806. addPropToArray({"Fuel Station Saturn", "48.061149220914"});
  807. addPropToArray({"Dispencer", "52.273146498948"});
  808. addPropToArray({"Vending Machine", "42.547998577356"});
  809. addPropToArray({"Billboard Sign 1", "15.25"});
  810. addPropToArray({"Door Double", "110.00000275671"});
  811. addPropToArray({"Door", "34.749816894531"});
  812. addPropToArray({"Door Vault", "49.000025033951"});
  813.  
  814.  
  815.  
  816. function getItemNameFromId(itemId)
  817. for i,v in pairs(allItems) do
  818. if v[2] == tostring(itemId) then
  819. return tostring(v[1]);
  820. end
  821. end
  822. return "";
  823. end
  824.  
  825. -- Copiar
  826. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  827. wassuccessyy = false;
  828. pcall(function()
  829. if game:GetService("Workspace").Buildings[playerNameClicked].Node.Name == "Node" then
  830. pcall(function()
  831. fullStringOutput = "--Staressentials node copier\n--Please execute this as a script in a new server to paste the node!\n--Please report bugs to https://discord.gg/ewKCVhCpDB\n\nGame:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"Node\", CFrame.new(" .. tostring(game:GetService("Workspace").Buildings[playerNameClicked].Node.PrimaryPart.CFrame) .. "));\n";
  832.  
  833.  
  834. for i,v in pairs(game:GetService("Workspace").Buildings[playerNameClicked]:GetChildren()) do
  835. pcall(function()
  836. if v.Name ~= "Node" then
  837. if v.Name == "" then
  838. unqId = 0;
  839. for i1,v1 in pairs(v:GetChildren()) do
  840. pcall(function()
  841. size = v1.Size;
  842. unqId = unqId + (size.X + size.Y + size.Z);
  843. end)
  844. end
  845. if unqId ~= 0 then
  846. if getItemNameFromId(unqId) ~= "" then
  847. print("Item found!: " .. getItemNameFromId(unqId));
  848. matRep = tostring(v.PrimaryPart.Material):gsub("Enum.Material.", "");
  849. fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. getItemNameFromId(unqId) .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "), nil, BrickColor.new(\"" .. tostring(v.PrimaryPart.BrickColor) .. "\"), nil, nil, \"" .. tostring(matRep) .. "\");\n";
  850. end
  851. end
  852. elseif v.Name == "Resizable Wall" then
  853. fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  854. fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if v.Name == \"Resizable Wall\" then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(7, lastWall, lastWall.PrimaryPart.CFrame, nil, Vector3.new(" .. tostring(v.PrimaryPart.Size) .. "));\n";
  855. matRep = tostring(v.PrimaryPart.Material):gsub("Enum.Material.", "");
  856. fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if v.Name == \"Resizable Wall\" then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(5, lastWall, lastWall.PrimaryPart.CFrame, nil, BrickColor.new(\"" .. tostring(v.PrimaryPart.BrickColor) .. "\"), nil, nil, \"" .. tostring(matRep) .. "\");\n";
  857. elseif string.match(v.Name, "Picture Sign") then
  858. fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  859. pictureId = tostring(v.Part.SurfaceGui["1"].Image):gsub("rbxassetid://", "");
  860. fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if string.match(v.Name, \"Picture Sign\") then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.MenuActionEvent:FireServer(29, lastWall, {\"" .. pictureId .. "\"});\n";
  861. elseif string.match(v.Name, "Billboard Sign") then
  862. fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  863. textOnSign = tostring(tostring(v.Part.SurfaceGui["1"].Text):gsub("\"", "\\\""):gsub("\\", "\\\\"));
  864. textOnSign = tostring(textOnSign):gsub("\n", "\\n");
  865. fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if string.match(v.Name, \"Billboard Sign\") then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.MenuActionEvent:FireServer(7, lastWall, {\"" .. textOnSign .. "\"});\n";
  866. else
  867. fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  868. end
  869. end
  870. end)
  871. end
  872. end)
  873.  
  874. nodeCopyName = "Node_copy_" .. playerNameClicked .. math.random(1,100) .. ".txt";
  875. writefile(nodeCopyName, fullStringOutput .. "\nprint(\"Staressentials - Pasted node!\")");
  876. notice:Fire("Staressentials", "Saved all available data to " .. nodeCopyName);
  877. wassuccessyy = true;
  878. else
  879. notice:Fire("Staressentials", "Error, does that player have a node?", 4);
  880. end
  881. end)
  882. if wassuccessyy == false then
  883. notice:Fire("Staressentials", "Error, does that player have a node?", 4);
  884. end
  885. end)
  886.  
  887. local Kill = players.AddButton("Kill", function()
  888. local jugador = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  889. local pos2 = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  890. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[jugador].Character.HumanoidRootPart.CFrame
  891. if variables.killmethodgun == false then
  892. for count = 1, 10 do
  893. wait(0.1)
  894. local ohNumber1 = 34
  895. local ohInstance2 = game.Workspace[jugador].Humanoid
  896. local ohCFrame3 = CFrame.new(-139.816254, 141.651443, 0.956251562, -0.772362351, -0.303539932, 0.557960451, -1.49011612e-08, 0.878425837, 0.477878571, -0.635182142, 0.369095415, -0.678463101)
  897.  
  898. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(ohNumber1, ohInstance2, ohCFrame3)
  899. end
  900. end
  901. if variables.killmethodgun == true then
  902. local Player = game:GetService("Players").LocalPlayer
  903. local character = Player.Character or Player.CharacterAdded:Wait()
  904. local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  905. local Humanoid = character:WaitForChild("Humanoid")
  906.  
  907. wait(1)
  908. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  909. wait(0.2)
  910. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  911. wait(0.2)
  912. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  913. wait(0.2)
  914. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  915. wait(0.2);
  916. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  917. wait(0.2);
  918. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  919. wait(0.2);
  920. Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[jugador].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[jugador].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  921. end
  922. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos2
  923. end)
  924.  
  925. local baseplate = teleports.AddButton("Baseplate", function()
  926. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 10, 0);
  927. end)
  928.  
  929. local TP = players.AddButton("TP", function()
  930. local jugador = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  931. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[jugador].Character.HumanoidRootPart.CFrame
  932. end)
  933.  
  934. local TPNODE = players.AddButton("TP NODE", function()
  935. local jugador = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  936. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Buildings[jugador].Node.PrimaryPart.CFrame + Vector3.new(0,10,0)
  937. end)
  938.  
  939. local stealo = players.AddButton("Steal Outfit", function()
  940. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  941. -- HTTP y variables
  942. HttpService = game:GetService("HttpService")
  943.  
  944. function httprequesty(url)
  945. return game:HttpGet(url);
  946. end
  947.  
  948.  
  949.  
  950. function HttpGet(url)
  951. return HttpService:JSONDecode(httprequesty(url))
  952. end
  953. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  954.  
  955. -- STEAL OUTFIT CALL
  956. local http = game:GetService('HttpService')
  957. function getOutfits(id)
  958. local data
  959. local url = 'https://avatar.rprxy.xyz/v1/users/'..id..'/avatar'
  960. data = http:JSONDecode(game:HttpGet(url,true))
  961. local tables = data.assets
  962. local stuff = {}
  963. for i = 1,#tables do
  964. local subTables = tables[i]
  965. local id = subTables["id"]
  966. table.insert(stuff,id)
  967. end
  968. return stuff
  969. end
  970. -- steal 2
  971. local playerToSteal = game:GetService("Players")[game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text];
  972. local daOutfits = getOutfits(playerToSteal.UserId);
  973. local curOutfitString = "";
  974. for _asd, vp in pairs(daOutfits) do
  975. curOutfitString = curOutfitString .. vp .. ","
  976. end
  977. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(8, { playerToSteal.PlayerData.RoleplayName.Value, curOutfitString .. playerToSteal.PlayerData.Outfit.Value, true });
  978. notice:Fire("StarEssentials", "You have stolen their outfit!");
  979. end)
  980.  
  981. local stealoclip = players.AddButton("Steal outfit id (clipboard)", function()
  982. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  983. -- HTTP y variables
  984. HttpService = game:GetService("HttpService")
  985.  
  986. function httprequesty(url)
  987. return game:HttpGet(url);
  988. end
  989.  
  990.  
  991.  
  992. function HttpGet(url)
  993. return HttpService:JSONDecode(httprequesty(url))
  994. end
  995. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  996.  
  997. local jugador = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  998. local Players = game:GetService("Players")
  999. local playerToSteal = Players:GetUserIdFromNameAsync(jugador)
  1000. local daOutfits = getOutfits(playerToSteal);
  1001. local curOutfitString = "";
  1002. for _asd, vp in pairs(daOutfits) do
  1003. curOutfitString = curOutfitString .. vp .. ","
  1004. end
  1005. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(8, { jugador, curOutfitString, true });
  1006. notice:Fire("Staressentials", "Copied their outfit id's to clipboard!");
  1007. end)
  1008.  
  1009. local mediheal = players.AddToggle("Medi Auto Heal", false, function(Value)
  1010. local jugador = game:GetService("CoreGui").StarEssentials.ContainerFrame.MainFrame.Display.players.PlayerBar.PlayerInput.Text
  1011. while Value == true do
  1012. wait(0.1)
  1013. local ohNumber1 = 5
  1014. local ohInstance2 = workspace[jugador].Humanoid
  1015.  
  1016. game:GetService("ReplicatedStorage").Events.ToolsEvent:FireServer(ohNumber1, ohInstance2)
  1017. end
  1018. end)
  1019.  
  1020. -- localplayer
  1021.  
  1022.  
  1023. local fullbright = localps.AddToggle("FullBright", false, function(Value)
  1024. if Value == true then
  1025. if not _G.FullBrightExecuted then
  1026.  
  1027. _G.FullBrightEnabled = false
  1028.  
  1029. _G.NormalLightingSettings = {
  1030. Brightness = game:GetService("Lighting").Brightness,
  1031. ClockTime = game:GetService("Lighting").ClockTime,
  1032. FogEnd = game:GetService("Lighting").FogEnd,
  1033. GlobalShadows = game:GetService("Lighting").GlobalShadows,
  1034. Ambient = game:GetService("Lighting").Ambient
  1035. }
  1036.  
  1037. game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function()
  1038. if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
  1039. _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness
  1040. if not _G.FullBrightEnabled then
  1041. repeat
  1042. wait()
  1043. until _G.FullBrightEnabled
  1044. end
  1045. game:GetService("Lighting").Brightness = 1
  1046. end
  1047. end)
  1048.  
  1049. game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function()
  1050. if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
  1051. _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime
  1052. if not _G.FullBrightEnabled then
  1053. repeat
  1054. wait()
  1055. until _G.FullBrightEnabled
  1056. end
  1057. game:GetService("Lighting").ClockTime = 12
  1058. end
  1059. end)
  1060.  
  1061. game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
  1062. if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
  1063. _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd
  1064. if not _G.FullBrightEnabled then
  1065. repeat
  1066. wait()
  1067. until _G.FullBrightEnabled
  1068. end
  1069. game:GetService("Lighting").FogEnd = 786543
  1070. end
  1071. end)
  1072.  
  1073. game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function()
  1074. if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then
  1075. _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows
  1076. if not _G.FullBrightEnabled then
  1077. repeat
  1078. wait()
  1079. until _G.FullBrightEnabled
  1080. end
  1081. game:GetService("Lighting").GlobalShadows = false
  1082. end
  1083. end)
  1084.  
  1085. game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
  1086. if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
  1087. _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient
  1088. if not _G.FullBrightEnabled then
  1089. repeat
  1090. wait()
  1091. until _G.FullBrightEnabled
  1092. end
  1093. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1094. end
  1095. end)
  1096.  
  1097. game:GetService("Lighting").Brightness = 1
  1098. game:GetService("Lighting").ClockTime = 12
  1099. game:GetService("Lighting").FogEnd = 786543
  1100. game:GetService("Lighting").GlobalShadows = false
  1101. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1102.  
  1103. local LatestValue = true
  1104. spawn(function()
  1105. repeat
  1106. wait()
  1107. until _G.FullBrightEnabled
  1108. while wait() do
  1109. if _G.FullBrightEnabled ~= LatestValue then
  1110. if not _G.FullBrightEnabled then
  1111. game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness
  1112. game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime
  1113. game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd
  1114. game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows
  1115. game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient
  1116. else
  1117. game:GetService("Lighting").Brightness = 1
  1118. game:GetService("Lighting").ClockTime = 12
  1119. game:GetService("Lighting").FogEnd = 786543
  1120. game:GetService("Lighting").GlobalShadows = false
  1121. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1122. end
  1123. LatestValue = not LatestValue
  1124. end
  1125. end
  1126. end)
  1127. end
  1128.  
  1129. _G.FullBrightExecuted = true
  1130. _G.FullBrightEnabled = not _G.FullBrightEnabled
  1131. end
  1132. if Value == false then
  1133. if not _G.FullBrightExecuted then
  1134.  
  1135. _G.FullBrightEnabled = false
  1136.  
  1137. _G.NormalLightingSettings = {
  1138. Brightness = game:GetService("Lighting").Brightness,
  1139. ClockTime = game:GetService("Lighting").ClockTime,
  1140. FogEnd = game:GetService("Lighting").FogEnd,
  1141. GlobalShadows = game:GetService("Lighting").GlobalShadows,
  1142. Ambient = game:GetService("Lighting").Ambient
  1143. }
  1144.  
  1145. game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function()
  1146. if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
  1147. _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness
  1148. if not _G.FullBrightEnabled then
  1149. repeat
  1150. wait()
  1151. until _G.FullBrightEnabled
  1152. end
  1153. game:GetService("Lighting").Brightness = 1
  1154. end
  1155. end)
  1156.  
  1157. game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function()
  1158. if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
  1159. _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime
  1160. if not _G.FullBrightEnabled then
  1161. repeat
  1162. wait()
  1163. until _G.FullBrightEnabled
  1164. end
  1165. game:GetService("Lighting").ClockTime = 12
  1166. end
  1167. end)
  1168.  
  1169. game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
  1170. if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
  1171. _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd
  1172. if not _G.FullBrightEnabled then
  1173. repeat
  1174. wait()
  1175. until _G.FullBrightEnabled
  1176. end
  1177. game:GetService("Lighting").FogEnd = 786543
  1178. end
  1179. end)
  1180.  
  1181. game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function()
  1182. if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then
  1183. _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows
  1184. if not _G.FullBrightEnabled then
  1185. repeat
  1186. wait()
  1187. until _G.FullBrightEnabled
  1188. end
  1189. game:GetService("Lighting").GlobalShadows = false
  1190. end
  1191. end)
  1192.  
  1193. game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
  1194. if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
  1195. _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient
  1196. if not _G.FullBrightEnabled then
  1197. repeat
  1198. wait()
  1199. until _G.FullBrightEnabled
  1200. end
  1201. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1202. end
  1203. end)
  1204.  
  1205. game:GetService("Lighting").Brightness = 1
  1206. game:GetService("Lighting").ClockTime = 12
  1207. game:GetService("Lighting").FogEnd = 786543
  1208. game:GetService("Lighting").GlobalShadows = false
  1209. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1210.  
  1211. local LatestValue = true
  1212. spawn(function()
  1213. repeat
  1214. wait()
  1215. until _G.FullBrightEnabled
  1216. while wait() do
  1217. if _G.FullBrightEnabled ~= LatestValue then
  1218. if not _G.FullBrightEnabled then
  1219. game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness
  1220. game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime
  1221. game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd
  1222. game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows
  1223. game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient
  1224. else
  1225. game:GetService("Lighting").Brightness = 1
  1226. game:GetService("Lighting").ClockTime = 12
  1227. game:GetService("Lighting").FogEnd = 786543
  1228. game:GetService("Lighting").GlobalShadows = false
  1229. game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  1230. end
  1231. LatestValue = not LatestValue
  1232. end
  1233. end
  1234. end)
  1235. end
  1236.  
  1237. _G.FullBrightExecuted = false
  1238. _G.FullBrightEnabled = not _G.FullBrightEnabled
  1239. end
  1240. end)
  1241.  
  1242.  
  1243. local Brightness = localps.AddSlider("Brightness", {Min = 0, Max = 5, Def = 1}, function(Value)
  1244. game:GetService("Lighting").Brightness = Value
  1245. end)
  1246.  
  1247. local walks = localps.AddToggle("Walkspeed", false, function(Value)
  1248. if Value == true then
  1249. local gmt = getrawmetatable(game)
  1250. setreadonly(gmt, false)
  1251. local oldindex = gmt.__index
  1252. gmt.__index = newcclosure(function(self,b)
  1253. if b == "WalkSpeed" then
  1254. return 16
  1255. end
  1256. return oldindex(self,b)
  1257. end)
  1258.  
  1259.  
  1260. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=500
  1261. end
  1262. if Value == false then
  1263. local gmt = getrawmetatable(game)
  1264. setreadonly(gmt, false)
  1265. local oldindex = gmt.__index
  1266. gmt.__index = newcclosure(function(self,b)
  1267. if b == "WalkSpeed" then
  1268. return 16
  1269. end
  1270. return oldindex(self,b)
  1271. end)
  1272.  
  1273.  
  1274. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=16
  1275. end
  1276. end)
  1277.  
  1278.  
  1279. local jumpp = localps.AddToggle("JumpPower", false, function(Value)
  1280. if Value == true then
  1281. local gmt = getrawmetatable(game)
  1282. setreadonly(gmt, false)
  1283. local oldindex = gmt.__index
  1284. gmt.__index = newcclosure(function(self,b)
  1285. if b == "JumpPower" then
  1286. return 16
  1287. end
  1288. return oldindex(self,b)
  1289. end)
  1290.  
  1291.  
  1292. game.Players.LocalPlayer.Character.Humanoid.JumpPower=120
  1293. end
  1294. if Value == false then
  1295. local gmt = getrawmetatable(game)
  1296. setreadonly(gmt, false)
  1297. local oldindex = gmt.__index
  1298. gmt.__index = newcclosure(function(self,b)
  1299. if b == "JumpPower" then
  1300. return 16
  1301. end
  1302. return oldindex(self,b)
  1303. end)
  1304.  
  1305.  
  1306. game.Players.LocalPlayer.Character.Humanoid.JumpPower=60
  1307. end
  1308. end)
  1309.  
  1310. local deathbarrier = localps.AddToggle("Bypass death barriers", false, function(Value)
  1311. if Value == true then
  1312. _G.deathBarrierBypassEnabled = true
  1313. variables.deathBarrierBypassEnabled = true;
  1314. notice:Fire("Staressentials", "Bypass death barriers enabled", 1);
  1315. end
  1316. if Value == false then
  1317. _G.deathBarrierBypassEnabled = false
  1318. variables.deathBarrierBypassEnabled = false;
  1319. end
  1320. notice:Fire("Staressentials", "Bypass death barriers disabled", 1);
  1321. end)
  1322.  
  1323.  
  1324. local jetpack = localps.AddButton("JetPack", function()
  1325. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  1326. local clientzzz = game:GetService("Players").LocalPlayer
  1327. local model = Instance.new("Model")
  1328. model.Name = "Jetpack"
  1329. local main = Instance.new("Part")
  1330. main.Name = "Main"
  1331. main.Parent = model
  1332. model.Parent = game:GetService("Workspace")[clientzzz.Name].Util
  1333.  
  1334. notice:Fire("StarEssentials", "Done! Press y to activate jetpack!");
  1335. end)
  1336.  
  1337.  
  1338. local tpcar = localps.AddButton("TP NEAR CAR", function()
  1339. function GetClosestVehicle()
  1340. local lplayer = game.Players.LocalPlayer
  1341. local Character = lplayer.Character
  1342. local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  1343. if not (Character or HumanoidRootPart) then return end
  1344. local TargetDistance = math.huge
  1345. local Target
  1346. for i,v in ipairs(game:GetService("Workspace").Vehicles:GetChildren()) do
  1347. pcall(function()
  1348. if v.Main then
  1349. local TargetHRP = v.Main
  1350. local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  1351. if mag < TargetDistance then
  1352. TargetDistance = mag
  1353. Target = v
  1354. end
  1355. end
  1356. end)
  1357. end
  1358.  
  1359. return Target
  1360. end
  1361. game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(GetClosestVehicle().VehicleSeat);
  1362. end)
  1363.  
  1364.  
  1365.  
  1366. local invisible = localps.AddButton("Invisible", function()
  1367. notice = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  1368. isdoneee = false;
  1369.  
  1370. pcall(function()
  1371. game.Players.LocalPlayer.Character.LowerTorso.Root:Destroy();
  1372. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false;
  1373. game.Players.LocalPlayer.Character.UpperTorso.Anchored = true;
  1374. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false;
  1375. game.Players.LocalPlayer.Character.HumanoidRootPart.Transparency = 0;
  1376. isdoneee = true;
  1377. notice:Fire("Staressentials", "Made your player invisible to others!");
  1378. end)
  1379. if isdoneee == false then
  1380. notice:Fire("Staressentials", "Error! Maybe your already invisible?", 4);
  1381. end
  1382. end)
  1383.  
  1384.  
  1385.  
  1386. local Infjump = localps.AddToggle("Inf jump", false, function(Value)
  1387. if Value == true then
  1388. _G.infinjump = true
  1389. end
  1390. if Value == false then
  1391. _G.infinjump = false
  1392. end
  1393. end)
  1394.  
  1395.  
  1396. local hitbox = combat.AddToggle("Hitbox Expander", false, function(Value)
  1397. if Value == true then
  1398. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1399. pcall(function()
  1400. if v ~= game:GetService("Players").LocalPlayer then
  1401. v.Character.HumanoidRootPart.Size = Vector3.new(20,20,20);
  1402. v.Character.HumanoidRootPart.Transparency = 0.7;
  1403. v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Bright green");
  1404. v.Character.HumanoidRootPart.Material = "Neon";
  1405. v.Character.HumanoidRootPart.CanCollide = false;
  1406. end
  1407. end)
  1408. end
  1409. notice:Fire("StarEssentials", "Hitbox Expander enabled.");
  1410. end
  1411. if Value == false then
  1412. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1413. pcall(function()
  1414. if v ~= game:GetService("Players").LocalPlayer then
  1415. v.Character.HumanoidRootPart.Size = Vector3.new(2,2,1)
  1416. v.Character.HumanoidRootPart.CanCollide = true
  1417. end
  1418. end)
  1419. end
  1420. notice:Fire("StarEssentials", "Hitbox Expander disabled.");
  1421. end
  1422. end)
  1423.  
  1424.  
  1425. local noclip = localps.AddToggle("NoClip", false, function(Value)
  1426. if Value == true then
  1427. noclip = not noclip
  1428. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1429. end
  1430. if Value == false then
  1431. noclip = not noclip
  1432. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  1433. end
  1434. end)
  1435.  
  1436. local freeze = localps.AddToggle("Freeze", false, function(Value)
  1437. if Value == true then
  1438. game.Players.LocalPlayer.Character.Head.Anchored = true
  1439. end
  1440. if Value == false then
  1441. game.Players.LocalPlayer.Character.Head.Anchored = false
  1442. end
  1443. end)
  1444.  
  1445. local PVP = localps.AddToggle("PVP", false, function(Value)
  1446. if Value == true then
  1447. local ohNumber1 = 6
  1448. local ohBoolean2 = true
  1449.  
  1450. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(ohNumber1, ohBoolean2)
  1451. end
  1452. if Value == false then
  1453. local ohNumber1 = 6
  1454. local ohBoolean2 = false
  1455.  
  1456. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(ohNumber1, ohBoolean2)
  1457. end
  1458. end)
  1459.  
  1460. local ESPTOGGLE = localps.AddToggle("ESP", false, function(Value)
  1461. if Value == true then
  1462. ESP:Toggle(true)
  1463. end
  1464. if Value == false then
  1465. ESP:Toggle(false)
  1466. end
  1467. end)
  1468.  
  1469. local NLR = localps.AddToggle("ANTI NLR", false, function(Value)
  1470. if Value == true then
  1471. while true do
  1472. wait(0.1)
  1473. local NLR = workspace:FindFirstChild("NL")
  1474. if NLR ~= nil and typeof(NLR) == "Instance" then
  1475. if NLR:FindFirstChild("NL") then
  1476. NLR:Destroy()
  1477. end
  1478. end
  1479. end
  1480. end
  1481. if Value == false then
  1482. print("set ANTI NLR false!")
  1483. end
  1484. end)
  1485.  
  1486. -- TROLL
  1487.  
  1488. local M1911 = troll.AddToggle("M1911 EFFECT SPAM", false, function(Value)
  1489. repeat
  1490. local ohNumber1 = 33
  1491. local ohCFrame2 = CFrame.new(-346.391754, 130.287308, -403.861359, -0, 0.999725401, 0.0234374516, -0.0253975485, 0.023429893, -0.999402881, -0.999677479, -0.000595253834, 0.0253905728)
  1492. local ohNumber3 = 1
  1493. local ohNil4 = nil
  1494. local ohNumber5 = 18
  1495. local ohInstance6 = workspace[localplayer].M1911
  1496.  
  1497. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(ohNumber1, ohCFrame2, ohNumber3, ohNil4, ohNumber5, ohInstance6)
  1498.  
  1499. local ohInstance1 = workspace[localplayer].HumanoidRootPart
  1500. local ohNumber2 = 3
  1501.  
  1502. game:GetService("ReplicatedStorage").Events.mpib:FireServer(ohInstance1, ohNumber2)
  1503. wait(0.001)
  1504. until Value == false
  1505. end)
  1506.  
  1507. local Invisible = troll.AddToggle("M1911 EFFECT SPAM", false, function(Value)
  1508. repeat
  1509. local ohNumber1 = 33
  1510. local ohCFrame2 = CFrame.new(-346.391754, 130.287308, -403.861359, -0, 0.999725401, 0.0234374516, -0.0253975485, 0.023429893, -0.999402881, -0.999677479, -0.000595253834, 0.0253905728)
  1511. local ohNumber3 = 1
  1512. local ohNil4 = nil
  1513. local ohNumber5 = 18
  1514. local ohInstance6 = workspace[localplayer].M1911
  1515.  
  1516. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(ohNumber1, ohCFrame2, ohNumber3, ohNil4, ohNumber5, ohInstance6)
  1517.  
  1518. local ohInstance1 = workspace[localplayer].HumanoidRootPart
  1519. local ohNumber2 = 3
  1520.  
  1521. game:GetService("ReplicatedStorage").Events.mpib:FireServer(ohInstance1, ohNumber2)
  1522. wait(0.001)
  1523. until Value == false
  1524. end)
  1525.  
  1526. -- Farming
  1527.  
  1528. local TPPRINTER = farm.AddButton("TP PRINTER", function()
  1529. local UnOwnedPrintersOnly = false
  1530. local Chil = workspace.MoneyPrinters:GetDescendants()
  1531. for i,v in pairs(Chil) do
  1532. if v and v.ClassName == "StringValue" and v.Name == "Int2" then
  1533. v.Parent:Destroy()
  1534. end
  1535. end
  1536.  
  1537.  
  1538. local PP = workspace.MoneyPrinters:GetDescendants()
  1539. for i,v in pairs(PP) do
  1540. if UnOwnedPrintersOnly == true then
  1541. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value == nil then
  1542. print("Teleporting to an unowned printer!")
  1543. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  1544. end
  1545. else
  1546. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value ~= nil then
  1547. print("Teleporting to an owned printer!")
  1548. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  1549. end
  1550. end
  1551. end
  1552. end)
  1553.  
  1554.  
  1555. local AntiAfk = localps.AddButton("Anti kick AFK", function()
  1556. local vu = game:GetService("VirtualUser")
  1557. game:GetService("Players").LocalPlayer.Idled:connect(function()
  1558. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  1559. wait(1)
  1560. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  1561. end)
  1562. end)
  1563.  
  1564. local infhunger = localps.AddButton("Full hunger", function()
  1565. while true do
  1566. wait()
  1567. game:GetService("Players")[localplayer].PlayerData.Hunger.Value = 100
  1568. end
  1569. end)
  1570.  
  1571. local TPUNPRINTER = farm.AddButton("TP UNOWNED PRINTER", function()
  1572. local UnOwnedPrintersOnly = true
  1573. local Chil = workspace.MoneyPrinters:GetDescendants()
  1574. for i,v in pairs(Chil) do
  1575. if v and v.ClassName == "StringValue" and v.Name == "Int2" then
  1576. v.Parent:Destroy()
  1577. end
  1578. end
  1579.  
  1580.  
  1581. local PP = workspace.MoneyPrinters:GetDescendants()
  1582. for i,v in pairs(PP) do
  1583. if UnOwnedPrintersOnly == true then
  1584. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value == nil then
  1585. print("Teleporting to an unowned printer!")
  1586. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  1587. end
  1588. else
  1589. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value ~= nil then
  1590. print("Teleporting to an owned printer!")
  1591. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  1592. end
  1593. end
  1594. end
  1595. end)
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602. local autoaureus = farm.AddToggle("Auto aureus", false, function(Value)
  1603. if Value == true then
  1604. variables.autoAureus = true;
  1605. notice:Fire("Staressentials", "Auto aureus enabled", 1);
  1606. end
  1607. if Value == false then
  1608. variables.autoAureus = false;
  1609. notice:Fire("Staressentials", "Auto aureus disabled", 1);
  1610. end
  1611. end)
  1612.  
  1613.  
  1614. local autoscav = farm.AddToggle("Auto scavenge", false, function(Value)
  1615. if Value == true then
  1616. variables.autoScavEnabled = true;
  1617. notice:Fire("Staressentials", "Auto scavenge enabled", 1);
  1618. end
  1619. if Value == false then
  1620. variables.autoScavEnabled = false;
  1621. notice:Fire("Staressentials", "Auto scavenge disabled", 1);
  1622. end
  1623. end)
  1624.  
  1625. local autocorn = farm.AddToggle("Auto corn farm", false, function(Value)
  1626. if Value == true then
  1627. variables.autoCornFarm = true;
  1628. notice:Fire("Staressentials", "Auto corn farm enabled", 1);
  1629. end
  1630. if Value == false then
  1631. variables.autoCornFarm = false;
  1632. notice:Fire("Staressentials", "Auto corn farm disabled", 1);
  1633. end
  1634. end)
  1635.  
  1636. local autoprinter = farm.AddToggle("Auto farm printers", false, function(Value)
  1637. if Value == true then
  1638. variables.autoPrinterFarm = true;
  1639. notice:Fire("Staressentials", "Auto farm printers enabled", 1);
  1640. end
  1641. if Value == false then
  1642. variables.autoPrinterFarm = false;
  1643. notice:Fire("Staressentials", "Auto farm printers disabled", 1);
  1644. end
  1645. end)
  1646.  
  1647. local mbaseplayeprint = farm.AddToggle("Make baseplate (printer farm)", false, function(Value)
  1648. if Value == true then
  1649.  
  1650. local ohNumber1 = 1
  1651. local ohString2 = "Node"
  1652. local ohCFrame3 = CFrame.new(1.30126417, 2.68526554, 14.9110432, 0, -4.37113883e-08, 1, 0, 1, 4.37113883e-08, -1, 0, 0)
  1653.  
  1654. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1655.  
  1656.  
  1657.  
  1658.  
  1659. local ohNumber1 = 1
  1660. local ohString2 = "Wooden Wall (1x2)"
  1661. local ohCFrame3 = CFrame.new(0, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1662.  
  1663. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1664.  
  1665.  
  1666.  
  1667. local ohNumber1 = 1
  1668. local ohString2 = "Wooden Wall (1x2)"
  1669. local ohCFrame3 = CFrame.new(0, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1670.  
  1671. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1672.  
  1673.  
  1674.  
  1675. local ohNumber1 = 1
  1676. local ohString2 = "Wooden Wall (1x2)"
  1677. local ohCFrame3 = CFrame.new(7, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1678.  
  1679. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1680.  
  1681.  
  1682.  
  1683. local ohNumber1 = 1
  1684. local ohString2 = "Wooden Wall (1x2)"
  1685. local ohCFrame3 = CFrame.new(7, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1686.  
  1687. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1688.  
  1689.  
  1690. local ohNumber1 = 1
  1691. local ohString2 = "Wooden Wall (1x2)"
  1692. local ohCFrame3 = CFrame.new(-7, 0, 0, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1693.  
  1694. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1695.  
  1696.  
  1697.  
  1698. local ohNumber1 = 1
  1699. local ohString2 = "Wooden Wall (1x2)"
  1700. local ohCFrame3 = CFrame.new(-7, 0, 10, 0, 3.33601961e-14, -1, 1, -4.37113883e-08, 1.19248806e-08, -4.37113883e-08, -1, 3.28389422e-14)
  1701.  
  1702. game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(ohNumber1, ohString2, ohCFrame3)
  1703. notice:Fire("Staressentials", "baseplate created", 1);
  1704. end
  1705. if Value == false then
  1706. game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(4)
  1707. notice:Fire("Staressentials", "baseplate deleted", 1);
  1708. end
  1709. end)
  1710.  
  1711. -- combat
  1712.  
  1713. local d2damage = combat.AddButton("x2 Damage", function()
  1714. _G.weaponMultiplierEnabled = false;
  1715.  
  1716.  
  1717. end)
  1718.  
  1719. local d2damage = options.AddToggle("x2 damage", false, function(Value)
  1720. if Value == true then
  1721. _G.weaponMultiplierEnabled = true;
  1722. end
  1723. if Value == false then
  1724. _G.weaponMultiplierEnabled = false;
  1725. end
  1726. end)
  1727.  
  1728. -- Crafting
  1729.  
  1730. local M1911C = crafting.AddButton("M1911", function()
  1731. local nombre = game.Players.LocalPlayer.Name
  1732. local estacion = "Weapon Station"
  1733.  
  1734. local ohNumber1 = 3
  1735. local ohNumber2 = 1
  1736.  
  1737. game:GetService("ReplicatedStorage").Events.MenuEvent:FireServer(ohNumber1, ohNumber2)
  1738.  
  1739. local ohNumber1 = 2
  1740. local ohString2 = "M1911 Shipment"
  1741. local ohInstance3 = workspace.Buildings[nombre][estacion]
  1742. local ohNumber4 = 8
  1743.  
  1744. game:GetService("ReplicatedStorage").Events.MenuEvent:FireServer(ohNumber1, ohString2, ohInstance3, ohNumber4)
  1745.  
  1746. local ohNumber1 = 3
  1747. local ohNumber2 = 0
  1748.  
  1749. game:GetService("ReplicatedStorage").Events.MenuEvent:FireServer(ohNumber1, ohNumber2)
  1750. end)
  1751.  
  1752.  
  1753. while true do
  1754. wait(5)
  1755. pcall(function()
  1756. auroAureusRun();
  1757. autoScavRun();
  1758. runAutoPrinter();
  1759. doPrinterStuffy();
  1760. autoCornFarmRun();
  1761. end)
  1762. end
Add Comment
Please, Sign In to add comment