Advertisement
anam8214

Untitled

Oct 14th, 2023 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.09 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/UI-Libraries/main/Vynixius/Source.lua"))()
  2.  
  3. local Window = Library:AddWindow({
  4. title = {"Nameless Hub", "Redwood Prison"},
  5. theme = {
  6. Accent = Color3.fromRGB(4, 175, 236)
  7. },
  8. key = Enum.KeyCode.RightControl,
  9. default = true
  10. })
  11.  
  12. local Tab = Window:AddTab("Antikick", {default = true})
  13.  
  14. local Section = Tab:AddSection("Toggles", {default = true})
  15.  
  16. local toggleEnabled = false
  17.  
  18. local Toggle = Section:AddToggle("Teamlock", {flag = "Toggle_Flag", default = false}, function(bool)
  19. toggleEnabled = bool
  20. end)
  21.  
  22. local function teamlockLoop()
  23. while true do
  24. if toggleEnabled then
  25. local args = {
  26. "requestTeam",
  27. "police"
  28. }
  29.  
  30. workspace:WaitForChild("resources"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
  31. end
  32. wait()
  33. end
  34. end
  35.  
  36. coroutine.wrap(teamlockLoop)()
  37.  
  38. local toggleEnabled = true
  39.  
  40. local Toggle = Section:AddToggle("Autohostile", {flag = "Toggle_Flag", default = true}, function(bool)
  41. toggleEnabled = bool
  42. end)
  43.  
  44. local function autoHostileLoop()
  45. while true do
  46. if toggleEnabled then
  47. local args = {
  48. "becomeHostile"
  49. }
  50.  
  51. workspace:WaitForChild("resources"):WaitForChild("RemoteEvent"):FireServer(unpack(args))
  52. end
  53. wait()
  54. end
  55. end
  56.  
  57. coroutine.wrap(autoHostileLoop)()
  58.  
  59. local Section = Tab:AddSection("Buttons", {default = true})
  60.  
  61. local Button = Section:AddButton("Delete Spawn", function()
  62. while workspace:FindFirstChild("robber spawn") do
  63. workspace["robber spawn"]:Destroy()
  64. wait()
  65. end
  66.  
  67. wait()
  68.  
  69. while true do
  70. for _, player in ipairs(game.Players:GetPlayers()) do
  71. local character = player.Character
  72. if character then
  73. local robberSpawn = character:FindFirstChild("robber spawn")
  74. if robberSpawn then
  75. robberSpawn:Destroy()
  76. end
  77. end
  78. end
  79. wait()
  80. end
  81. end)
  82.  
  83. local Button = Section:AddButton("Antidelay", function()
  84. local Players = game:GetService("Players")
  85. local LocalPlayer = Players.LocalPlayer
  86. local RunService = game:GetService("RunService")
  87.  
  88. local function checkAndFire()
  89. if true then
  90. local ohString1 = "resetNetworkOwnership"
  91. local ohInstance2 = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  92. local ohBoolean3 = false
  93.  
  94. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  95. end
  96. end
  97.  
  98. RunService.Heartbeat:Connect(checkAndFire)
  99. end)
  100.  
  101. local Button = Section:AddButton("Anticlone", function()
  102. while true do
  103. for _, player in ipairs(game.Players:GetPlayers()) do
  104. local character = player.Character
  105. if character and character:FindFirstChild("HumanoidRootPart") then
  106. for _, part in ipairs(character:GetDescendants()) do
  107. if not (part:IsA("Part") and (part.Name == "HumanoidRootPart" or
  108. part.Name == "Left Leg" or
  109. part.Name == "Right Leg" or
  110. part.Name == "Right Arm" or
  111. part.Name == "Left Arm" or
  112. part.Name == "Head" or
  113. part.Name == "Torso")) and
  114. not (part:IsA("Tool") or part:IsA("Accessory") or part:IsA("LocalScript") or
  115. part:IsA("Script") or part:IsA("Shirt") or part:IsA("Pants") or
  116. part:IsA("Humanoid") or part:IsA("BodyColors") or part:IsA("CharacterMesh")) then
  117. local parent = part.Parent
  118. local isExcluded = false
  119.  
  120. while parent do
  121. if parent == character.HumanoidRootPart or
  122. parent == character["Left Leg"] or
  123. parent == character["Right Leg"] or
  124. parent == character["Right Arm"] or
  125. parent == character["Left Arm"] or
  126. parent == character.Head or
  127. parent == character.Torso or
  128. parent:IsA("Tool") or
  129. parent:IsA("Accessory") or
  130. parent:IsA("LocalScript") or
  131. parent:IsA("Script") or
  132. parent:IsA("Shirt") or
  133. parent:IsA("Pants") or
  134. parent:IsA("Humanoid") or
  135. parent:IsA("BodyColors") or
  136. parent:IsA("CharacterMesh") then
  137. isExcluded = true
  138. break
  139. end
  140. parent = parent.Parent
  141. end
  142.  
  143. if not isExcluded then
  144. part:Destroy()
  145. end
  146. end
  147. end
  148. end
  149. end
  150. wait()
  151. end
  152. end)
  153.  
  154. local Button = Section:AddButton("Antilag", function()
  155. while true do
  156. local connections = getconnections(RemoteEvent.OnClientEvent)
  157. for _, connection in ipairs(connections) do
  158. local success, result = pcall(function()
  159. connection:Disable()
  160. end)
  161. if not success then
  162. warn("Error occurred:", result)
  163. end
  164. end
  165.  
  166. end
  167. end)
  168.  
  169. local Tab = Window:AddTab("Local", {default = false})
  170. local Section = Tab:AddSection("Local Player", {default = true})
  171.  
  172. local connection
  173.  
  174. local Toggle = Section:AddToggle("Noclip", {flag = "Toggle_Flag", default = false}, function(bool)
  175. if bool then
  176. connection = game:GetService("RunService").Stepped:Connect(function()
  177. game.Players.LocalPlayer.Character.Head.CanCollide = false
  178. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  179. end)
  180. else
  181. if connection then
  182. connection:Disconnect()
  183. connection = nil
  184. end
  185. game.Players.LocalPlayer.Character.Head.CanCollide = true
  186. game.Players.LocalPlayer.Character.Torso.CanCollide = true
  187. end
  188. end)
  189.  
  190. local player = game.Players.LocalPlayer
  191. local humanoid = player.Character and player.Character:FindFirstChild("Humanoid")
  192.  
  193. local function handleHealthChanged(health)
  194. if health <= 0 then
  195. Toggle:Set(false)
  196. end
  197. end
  198.  
  199. local function characterAdded(character)
  200. humanoid = character:FindFirstChild("Humanoid")
  201. if humanoid then
  202. humanoid.HealthChanged:Connect(handleHealthChanged)
  203. end
  204. end
  205.  
  206. player.CharacterAdded:Connect(characterAdded)
  207. if humanoid then
  208. humanoid.HealthChanged:Connect(handleHealthChanged)
  209. end
  210.  
  211. local loopEnabled = false
  212.  
  213. local Toggle = Section:AddToggle("Kill Aura", {flag = "Toggle_Flag", default = false}, function(bool)
  214. loopEnabled = bool
  215. end)
  216.  
  217. local function KillAuraCoroutine()
  218. while true do
  219. if loopEnabled then
  220. local localPlayer = game.Players.LocalPlayer
  221. local localPlayerCharacter = localPlayer.Character
  222. local localPlayerHumanoidRootPart = localPlayerCharacter and localPlayerCharacter:FindFirstChild("HumanoidRootPart")
  223.  
  224. if localPlayerHumanoidRootPart then
  225. local targetPosition = localPlayerHumanoidRootPart.Position
  226.  
  227. local players = game.Players:GetPlayers()
  228. for _, otherPlayer in ipairs(players) do
  229. local otherPlayerCharacter = otherPlayer.Character
  230. if otherPlayerCharacter then
  231. local otherPlayerHumanoidRootPart = otherPlayerCharacter:FindFirstChild("HumanoidRootPart")
  232. if otherPlayerHumanoidRootPart then
  233. if (otherPlayerHumanoidRootPart.Position - targetPosition).Magnitude <= 10 then
  234. for x = 1, 2 do
  235. local args = {
  236. [1] = "FireOtherClients",
  237. [2] = "drawLaser",
  238. [3] = Vector3.new(0, 0, 0),
  239. [4] = Vector3.new(0, 0, 0),
  240. [5] = {
  241. ["Name"] = "Head",
  242. ["CFrame"] = otherPlayerCharacter.Head.CFrame,
  243. ["Material"] = Enum.Material.ForceField,
  244. ["Parent"] = otherPlayerCharacter,
  245. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  246. ["Transparency"] = 1
  247. }
  248. }
  249.  
  250. workspace.resources.RemoteEvent:FireServer(unpack(args))
  251. end
  252. end
  253. end
  254. end
  255. end
  256. end
  257. end
  258.  
  259. wait()
  260. end
  261. end
  262.  
  263. coroutine.wrap(KillAuraCoroutine)()
  264.  
  265. local Slider = Section:AddSlider("Speed", 16, 120, 16, {toggleable = false, default = false, flag = "Slider_Flag", fireontoggle = false, fireondrag = true, rounded = true}, function(val, bool)
  266. local player = game.Players.LocalPlayer
  267. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  268.  
  269. if humanoid then
  270. humanoid.WalkSpeed = val
  271. end
  272. end)
  273.  
  274. game:GetService("RunService").Heartbeat:Connect(function()
  275. local player = game.Players.LocalPlayer
  276. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  277.  
  278. if humanoid then
  279. local currentWalkSpeed = humanoid.WalkSpeed
  280. local sliderValue = Slider.Value
  281.  
  282. if currentWalkSpeed ~= sliderValue then
  283. humanoid.WalkSpeed = sliderValue
  284. end
  285. end
  286. end)
  287.  
  288.  
  289. local Slider = Section:AddSlider("Jumppower", 50, 100, 50, {toggleable = false, default = false, flag = "Slider_Flag", fireontoggle = false, fireondrag = true, rounded = true}, function(val, bool)
  290. local player = game.Players.LocalPlayer
  291. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  292.  
  293. if humanoid then
  294. humanoid.JumpPower = val
  295. end
  296. end)
  297.  
  298. game:GetService("RunService").Heartbeat:Connect(function()
  299. local player = game.Players.LocalPlayer
  300. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  301.  
  302. if humanoid then
  303. local currentJumpPower = humanoid.JumpPower
  304. local sliderValue = Slider.Value
  305.  
  306. if currentJumpPower ~= sliderValue then
  307. humanoid.JumpPower = sliderValue
  308. end
  309. end
  310. end)
  311.  
  312.  
  313. local Slider = Section:AddSlider("FOV", 70, 120, 70, {toggleable = false, default = false, flag = "Slider_Flag", fireontoggle = false, fireondrag = true, rounded = true}, function(val, bool)
  314. local player = game.Players.LocalPlayer
  315. local camera = workspace.CurrentCamera
  316.  
  317. if camera then
  318. camera.FieldOfView = val
  319. end
  320. end)
  321.  
  322. game:GetService("RunService").Heartbeat:Connect(function()
  323. local player = game.Players.LocalPlayer
  324. local camera = workspace.CurrentCamera
  325.  
  326. if camera then
  327. local currentFOV = camera.FieldOfView
  328. local sliderValue = Slider.Value
  329.  
  330. if currentFOV ~= sliderValue then
  331. camera.FieldOfView = sliderValue
  332. end
  333. end
  334. end)
  335.  
  336. local Section = Tab:AddSection("Autoitem", {default = true})
  337.  
  338. local Toggle = Section:AddToggle("Autoitem", {flag = "ToggleFlag", default = false}, function(bool)
  339. local remoteEvent = game.Workspace.resources.RemoteEvent
  340.  
  341. local function duplicateTool()
  342. local player = game.Players.LocalPlayer
  343. local backpack = player.Backpack
  344. local tool = backpack:FindFirstChild(toolToClone)
  345.  
  346. if bool and not remoteEvent:FindFirstChild(toolToClone) then
  347. if tool then
  348. local clonedTool = tool:Clone()
  349. clonedTool.Parent = remoteEvent
  350. end
  351. end
  352. end
  353.  
  354. local function removeTools()
  355. if not bool then
  356. for _, child in ipairs(remoteEvent:GetChildren()) do
  357. child:Destroy()
  358. end
  359. end
  360. end
  361.  
  362. local function addToolOnCharacterAdded(character)
  363. if bool and not game.Players.LocalPlayer.Character:FindFirstChild(toolToClone) then
  364. duplicateTool()
  365. end
  366. end
  367.  
  368. local function moveToolToBackpackOnCharacterRemoving(character)
  369. local tool = remoteEvent:FindFirstChild(toolToClone)
  370. if tool then
  371. tool:Clone().Parent = game.Players.LocalPlayer.Backpack
  372. tool:Destroy()
  373. end
  374. end
  375.  
  376. game.Players.LocalPlayer.CharacterAdded:Connect(addToolOnCharacterAdded)
  377. game.Players.LocalPlayer.CharacterRemoving:Connect(moveToolToBackpackOnCharacterRemoving)
  378.  
  379. if bool then
  380. duplicateTool()
  381. game.Players.LocalPlayer.CharacterAdded:Connect(addToolOnCharacterAdded)
  382. else
  383. removeTools()
  384. end
  385. end)
  386.  
  387. local Dropdown = Section:AddDropdown("Items", {"Taser", "Handcuffs", "Beretta M9", "M16", "SPAS-12", "M98B", "M60", "UMP-45", "M14", "ACR", "Revolver", "Parachute", "AK47", "M1014", "S&W 638", "L86A2", "AK47-U", "Makarov", "Hammer", "Fake ID Card", "Guitar"}, {default = "M98B"}, function(selected)
  388. toolToClone = selected
  389. end)
  390.  
  391. local Section = Tab:AddSection("drawLaser", {default = true})
  392.  
  393. local loopEnabled = false
  394. local Bubble = nil
  395. local lib = require(game:GetService("Workspace").upsilonLibrary)
  396.  
  397. local loopEnabled = false
  398. local Bubble = nil
  399. local lib = require(game:GetService("Workspace").upsilonLibrary)
  400.  
  401. local Toggle = Section:AddToggle("Bubble", {flag = "Toggle_Flag", default = false}, function(bool)
  402. loopEnabled = bool
  403. if bool then
  404. if not Bubble then
  405. Bubble = Instance.new("Part")
  406. Bubble.Name = "Bubble"
  407. Bubble.Parent = Workspace
  408. Bubble.Size = Vector3.new(20, 20, 20)
  409. Bubble.CastShadow = true
  410. Bubble.CanCollide = false
  411. Bubble.Anchored = true
  412. Bubble.Shape = Enum.PartType.Ball
  413. Bubble.Color = Color3.fromRGB(17, 17, 17)
  414. Bubble.Material = Enum.Material.ForceField
  415. Bubble.Transparency = 0
  416.  
  417. function Shield(part)
  418. local properties = {
  419. CanCollide = true,
  420. Parent = Workspace,
  421. Anchored = true,
  422. BrickColor = part.BrickColor,
  423. RotVelocity = part.RotVelocity,
  424. Name = part.Name,
  425. Position = part.Position,
  426. Material = part.Material,
  427. Shape = part.Shape,
  428. Size = part.Size,
  429. CastShadow = true,
  430. Transparency = 1
  431. }
  432.  
  433. lib.FireOtherClients("drawLaser", part.Position, part.Position, properties)
  434. end
  435.  
  436. local function RespawnBubble(character)
  437. if Bubble then
  438. Bubble:Destroy()
  439. Bubble = nil
  440. end
  441.  
  442. if character and loopEnabled then
  443. wait(1)
  444. Bubble = Instance.new("Part")
  445. Bubble.Name = "Bubble"
  446. Bubble.Parent = Workspace
  447. Bubble.Size = Vector3.new(20, 20, 20)
  448. Bubble.CastShadow = true
  449. Bubble.CanCollide = false
  450. Bubble.Anchored = true
  451. Bubble.Shape = Enum.PartType.Ball
  452. Bubble.Color = Color3.fromRGB(17, 17, 17)
  453. Bubble.Material = Enum.Material.ForceField
  454. Bubble.Transparency = 0
  455.  
  456. Bubble.CFrame = character.HumanoidRootPart.CFrame
  457. Shield(Bubble)
  458. end
  459. end
  460.  
  461. RespawnBubble(game.Players.LocalPlayer.Character)
  462.  
  463. game.Players.LocalPlayer.CharacterAdded:Connect(RespawnBubble)
  464.  
  465. game.Players.LocalPlayer.CharacterRemoving:Connect(function(character)
  466. if Bubble then
  467. Bubble:Destroy()
  468. Bubble = nil
  469. end
  470. end)
  471. end
  472.  
  473. while loopEnabled do
  474. wait()
  475. if Bubble and game.Players.LocalPlayer.Character then
  476. Bubble.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  477. Shield(Bubble)
  478. end
  479. end
  480. else
  481. loopEnabled = false
  482. if Bubble then
  483. Bubble:Destroy()
  484. Bubble = nil
  485. end
  486. end
  487. end)
  488.  
  489. local Slider = Section:AddSlider("Bubble Size", 7, 200, 20, {toggleable = false, default = false, flag = "Slider_Flag", fireontoggle = false, fireondrag = true, rounded = true}, function(val, bool)
  490. if Bubble then
  491. Bubble.Size = Vector3.new(val, val, val)
  492. end
  493. end)
  494.  
  495. local Picker = Section:AddPicker("Bubble Color", {color = Color3.fromRGB(17, 17, 17)}, function(color)
  496. if Bubble then
  497. Bubble.Color = color
  498. end
  499. end)
  500.  
  501. local Tab = Window:AddTab("Players", {default = false})
  502. local Section = Tab:AddSection("Actions", {default = true})
  503.  
  504. local Box = Section:AddBox("Target Player", {fireonempty = true}, function(text)
  505. targetPlayer = text
  506. end)
  507.  
  508. local Button = Section:AddButton("Bring", function()
  509. local initialPosition = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  510. local Upsilon = require(workspace:WaitForChild("upsilonLibrary"))
  511. local targetPlayerName = targetPlayer
  512.  
  513. if targetPlayerName == "" then
  514.  
  515. return
  516. end
  517.  
  518. wait(0.5)
  519.  
  520. local playerModel = workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  521. if playerModel then
  522. playerModel:Destroy()
  523. end
  524.  
  525. wait(0.5)
  526.  
  527. local resources = workspace:FindFirstChild("resources")
  528. if not resources or not resources:FindFirstChild("RemoteEvent") then
  529.  
  530. return
  531. end
  532.  
  533. local remoteEvent = resources.RemoteEvent
  534.  
  535. local ohString2 = "reloadMe"
  536. remoteEvent:FireServer(ohString2)
  537.  
  538. wait(0.8)
  539.  
  540. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = initialPosition
  541.  
  542. wait(0.5)
  543.  
  544. local targetPlayer = game.Players:FindFirstChild(targetPlayerName)
  545. if targetPlayer then
  546. local targetCharacter = targetPlayer.Character
  547. if targetCharacter then
  548. local targetTorso = targetCharacter:FindFirstChild("Torso")
  549. if targetTorso then
  550. Upsilon.InvokeServer("giveRiotShield", targetTorso)
  551.  
  552. wait(0.5)
  553.  
  554. ohString2 = "reloadMe"
  555. remoteEvent:FireServer(ohString2)
  556.  
  557. wait(0.7)
  558.  
  559. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = initialPosition
  560. end
  561. end
  562. end
  563. end)
  564.  
  565. local Button = Section:AddButton("Goto", function()
  566. local player = game.Players:FindFirstChild(targetPlayer)
  567. if player then
  568. local character = player.Character
  569. if character then
  570. local rootPart = character:FindFirstChild("HumanoidRootPart")
  571. if rootPart then
  572. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = rootPart.CFrame
  573. end
  574. end
  575. end
  576. end)
  577.  
  578. local Button = Section:AddButton("Kill", function()
  579. local player = game.Players:FindFirstChild(targetPlayer)
  580. if player then
  581. for x = 1, 2 do
  582. local args = {
  583. [1] = "FireOtherClients",
  584. [2] = "drawLaser",
  585. [3] = Vector3.new(0, 0, 0),
  586. [4] = Vector3.new(0, 0, 0),
  587. [5] = {
  588. ["Name"] = "Head",
  589. ["CFrame"] = player.Character.Head.CFrame,
  590. ["Material"] = Enum.Material.ForceField,
  591. ["Parent"] = player.Character,
  592. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  593. ["Transparency"] = 1
  594. }
  595. }
  596.  
  597. workspace.resources.RemoteEvent:FireServer(unpack(args))
  598. end
  599. end
  600. end)
  601.  
  602. local loopRunning = false
  603.  
  604. local Toggle = Section:AddToggle("Loop Kill", {flag = "Toggle_Flag", default = false}, function(bool)
  605. loopRunning = bool
  606.  
  607. if not loopRunning then
  608. return
  609. end
  610.  
  611. while loopRunning do
  612. local player = game.Players:FindFirstChild(targetPlayer)
  613. if player and player.Character and player.Character:FindFirstChild("Head") then
  614. for x = 1, 2 do
  615. local args = {
  616. [1] = "FireOtherClients",
  617. [2] = "drawLaser",
  618. [3] = Vector3.new(0, 0, 0),
  619. [4] = Vector3.new(0, 0, 0),
  620. [5] = {
  621. ["Name"] = "Head",
  622. ["CFrame"] = player.Character.Head.CFrame,
  623. ["Material"] = Enum.Material.ForceField,
  624. ["Parent"] = player.Character,
  625. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  626. ["Transparency"] = 1
  627. }
  628. }
  629.  
  630. workspace.resources.RemoteEvent:FireServer(unpack(args))
  631. end
  632. end
  633. wait()
  634. end
  635. end)
  636.  
  637. local Button = Section:AddButton("Bring All", function()
  638. local Upsilon = require(workspace.upsilonLibrary)
  639.  
  640. local TeleportationRoutine = {}
  641.  
  642. function TeleportationRoutine:new()
  643. local obj = {}
  644. setmetatable(obj, self)
  645. self.__index = self
  646.  
  647. obj.running = false
  648. obj.processedPlayers = {}
  649.  
  650. return obj
  651. end
  652.  
  653. function TeleportationRoutine:Toggle()
  654. self.running = not self.running
  655.  
  656. if self.running then
  657. self:Execute()
  658. end
  659. end
  660.  
  661. function TeleportationRoutine:Execute()
  662. while self.running do
  663. local initialPosition = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  664.  
  665. wait(0.5)
  666.  
  667. local playerModel = workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  668. if playerModel then
  669. playerModel:Destroy()
  670. end
  671.  
  672. wait(0.5)
  673.  
  674. local ohString2 = "reloadMe"
  675. workspace.resources.RemoteEvent:FireServer(ohString2)
  676.  
  677. wait(0.8)
  678.  
  679. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = initialPosition
  680.  
  681. wait(0.5)
  682.  
  683. local targetPlayer
  684. for _, player in ipairs(game.Players:GetPlayers()) do
  685. if player ~= game.Players.LocalPlayer then
  686. local playerName = player.Name
  687. if not self:HasProcessedPlayer(playerName) then
  688. targetPlayer = player
  689. self:MarkPlayerAsProcessed(playerName)
  690. break
  691. end
  692. end
  693. end
  694.  
  695. if targetPlayer then
  696. Upsilon.InvokeServer("giveRiotShield", targetPlayer.Character.Torso)
  697.  
  698. wait(0.5)
  699.  
  700. ohString2 = "reloadMe"
  701. workspace.resources.RemoteEvent:FireServer(ohString2)
  702.  
  703. wait(0.7)
  704.  
  705. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = initialPosition
  706. else
  707.  
  708. self.running = false
  709. end
  710.  
  711. wait()
  712. end
  713. end
  714.  
  715. function TeleportationRoutine:HasProcessedPlayer(playerName)
  716. return self.processedPlayers[playerName] == true
  717. end
  718.  
  719. function TeleportationRoutine:MarkPlayerAsProcessed(playerName)
  720. self.processedPlayers[playerName] = true
  721. end
  722.  
  723. local routine = TeleportationRoutine:new()
  724.  
  725. routine:Toggle()
  726. end)
  727.  
  728. local Button = Section:AddButton("Kill Others", function()
  729. for _, player in ipairs(game.Players:GetPlayers()) do
  730. if player ~= game.Players.LocalPlayer then
  731. for x = 1, 2 do
  732. local args = {
  733. [1] = "FireOtherClients",
  734. [2] = "drawLaser",
  735. [3] = Vector3.new(0, 0, 0),
  736. [4] = Vector3.new(0, 0, 0),
  737. [5] = {
  738. ["Name"] = "Head",
  739. ["CFrame"] = player.Character.Head.CFrame,
  740. ["Material"] = Enum.Material.ForceField,
  741. ["Parent"] = player.Character,
  742. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  743. ["Transparency"] = 1
  744. }
  745. }
  746.  
  747. workspace.resources.RemoteEvent:FireServer(unpack(args))
  748. end
  749. end
  750. end
  751. end)
  752.  
  753. local enabled = false
  754. local loopDelay = 0
  755.  
  756. local function executeCode()
  757. while enabled do
  758. for _, player in ipairs(game.Players:GetPlayers()) do
  759. if player ~= game.Players.LocalPlayer and player.Character then
  760. local character = player.Character
  761. if character:FindFirstChild("Head") then
  762. for x = 1, 2 do
  763. local args = {
  764. [1] = "FireOtherClients",
  765. [2] = "drawLaser",
  766. [3] = Vector3.new(0, 0, 0),
  767. [4] = Vector3.new(0, 0, 0),
  768. [5] = {
  769. ["Name"] = "Head",
  770. ["CFrame"] = character.Head.CFrame,
  771. ["Material"] = Enum.Material.ForceField,
  772. ["Parent"] = character,
  773. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  774. ["Transparency"] = 1
  775. }
  776. }
  777.  
  778. workspace.resources.RemoteEvent:FireServer(unpack(args))
  779. end
  780. end
  781. end
  782. end
  783. wait(loopDelay)
  784. end
  785. end
  786.  
  787. local Toggle = Section:AddToggle("Loop Kill Others", {flag = "Toggle_Flag", default = false}, function(bool)
  788. enabled = bool
  789.  
  790. if enabled then
  791. executeCode()
  792. end
  793. end)
  794.  
  795. local Tab = Window:AddTab("drawLaser", {default = false})
  796. local Section = Tab:AddSection("Combat", {default = true})
  797.  
  798. local Button = Section:AddButton("Click Kill", function()
  799. local lib = require(game:GetService("Workspace").upsilonLibrary)
  800.  
  801. local lib = require(game:GetService("Workspace").upsilonLibrary)
  802.  
  803. local mouse = game.Players.LocalPlayer:GetMouse()
  804. local tool = Instance.new("Tool")
  805. tool.RequiresHandle = false
  806. tool.Name = "Click Kill"
  807.  
  808. local cooldown = 0.5
  809. local lastActivated = 0
  810.  
  811. function CreateBubble(position)
  812. local Bubble = Instance.new("Part")
  813. Bubble.Parent = workspace
  814. Bubble.CastShadow = false
  815. Bubble.CanCollide = false
  816. Bubble.Anchored = true
  817. Bubble.Shape = Enum.PartType.Ball
  818. Bubble.BrickColor = BrickColor.new("Bright blue")
  819. Bubble.Material = Enum.Material.Neon
  820. Bubble.CFrame = CFrame.new(position)
  821. Bubble.Transparency = 0
  822.  
  823. function Portal(part)
  824. local properties = {
  825. CanCollide = false,
  826. Parent = workspace,
  827. Anchored = true,
  828. BrickColor = part.BrickColor,
  829. RotVelocity = part.RotVelocity,
  830. Name = part.Name,
  831. Position = part.Position,
  832. CFrame = part.CFrame,
  833. Material = part.Material,
  834. Shape = part.Shape,
  835. Size = part.Size,
  836. CastShadow = false,
  837. Transparency = 1
  838. }
  839.  
  840. lib.FireOtherClients("drawLaser", part.Position, part.Position, properties)
  841. end
  842.  
  843. local function animateBubble()
  844. Bubble.Size = Vector3.new(15, 15, 15)
  845. wait(0.1)
  846. Bubble.Size = Vector3.new(14, 14, 14)
  847. wait(0.1)
  848. Bubble.Size = Vector3.new(13, 13, 13)
  849. wait(0.1)
  850. Bubble.Size = Vector3.new(12, 12, 12)
  851. wait(0.1)
  852. Bubble.Size = Vector3.new(11, 11, 11)
  853. wait(0.1)
  854. Bubble.Size = Vector3.new(10, 10, 10)
  855. wait(0.1)
  856. Bubble.Size = Vector3.new(9, 9, 9)
  857. wait(0.1)
  858. Bubble.Size = Vector3.new(8, 8, 8)
  859. wait(0.1)
  860. Bubble.Size = Vector3.new(7, 7, 7)
  861. wait(0.1)
  862. Bubble.Size = Vector3.new(6, 6, 6)
  863. wait(0.1)
  864. Bubble.Size = Vector3.new(5, 5, 5)
  865. wait(0.1)
  866. Bubble.Size = Vector3.new(4, 4, 4)
  867. wait(0.1)
  868. Bubble.Size = Vector3.new(3, 3, 3)
  869. wait(0.1)
  870. Bubble.Size = Vector3.new(2, 2, 2)
  871. wait(0.1)
  872. Bubble.Size = Vector3.new(1, 1, 1)
  873. wait(0.1)
  874. Bubble:Destroy()
  875. end
  876.  
  877. local function teleportBubble()
  878. while true do
  879. Portal(Bubble)
  880. if Bubble.Size.X <= 1 then
  881. break
  882. end
  883. wait()
  884. end
  885. end
  886.  
  887. spawn(teleportBubble)
  888. coroutine.wrap(animateBubble)()
  889. end
  890.  
  891. function FireLaserOnPlayers(position)
  892. return coroutine.create(function()
  893. for _, player in ipairs(game.Players:GetPlayers()) do
  894. if player ~= game.Players.LocalPlayer then
  895. local distance = (player.Character.HumanoidRootPart.Position - position).Magnitude
  896. if distance <= 15 then
  897. for x = 1, 2 do
  898. local args = {
  899. [1] = "FireOtherClients",
  900. [2] = "drawLaser",
  901. [3] = Vector3.new(0, 0, 0),
  902. [4] = Vector3.new(0, 0, 0),
  903. [5] = {
  904. ["Name"] = "Head",
  905. ["CFrame"] = player.Character.Head.CFrame,
  906. ["Material"] = Enum.Material.ForceField,
  907. ["Parent"] = player.Character,
  908. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  909. ["Transparency"] = 1
  910. }
  911. }
  912. workspace.resources.RemoteEvent:FireServer(unpack(args))
  913. end
  914. end
  915. end
  916. end
  917. end)
  918. end
  919.  
  920. local function RunFireLaserOnPlayers(position)
  921. local coroutineFireLaser = FireLaserOnPlayers(position)
  922. coroutine.resume(coroutineFireLaser)
  923. end
  924.  
  925. tool.Activated:Connect(function()
  926. local currentTime = tick()
  927. if currentTime - lastActivated >= cooldown then
  928. lastActivated = currentTime
  929. CreateBubble(mouse.Hit.Position)
  930. coroutine.wrap(RunFireLaserOnPlayers)(mouse.Hit.Position)
  931. end
  932. end)
  933.  
  934. tool.Parent = game.Players.LocalPlayer.Backpack
  935. end)
  936.  
  937. local Button = Section:AddButton("Lightsaber", function()
  938. local Tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  939. local Handle = Instance.new("Part", Tool)
  940. local Part2 = Instance.new("Part", Tool)
  941. local HandleWeld = Instance.new("Weld", Handle)
  942. local SwingSound = Instance.new("Sound", Handle)
  943. local lib = require(game:GetService("Workspace").upsilonLibrary)
  944.  
  945. Tool.Name = "Lightsaber"
  946. HandleWeld.C0 = CFrame.new(0, 0, 0)
  947. HandleWeld.Part0 = Part2
  948. HandleWeld.Part1 = Handle
  949. Handle.Name = "Handle"
  950. Handle.CFrame = CFrame.new(-42.9000015, 1.10000038, -146.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  951. Handle.Position = Vector3.new(-42.900001525878906, 1.1000003814697266, -146.10000610351562)
  952. Handle.Color = Color3.fromRGB(0, 0, 0)
  953. Handle.Size = Vector3.new(0.2, 1.3, 0.19)
  954. Handle.BottomSurface = Enum.SurfaceType.Smooth
  955. Handle.BrickColor = BrickColor.new("Really black")
  956. Handle.CanCollide = false
  957. Handle.Material = Enum.Material.Neon
  958. Handle.TopSurface = Enum.SurfaceType.Smooth
  959.  
  960. Part2.CFrame = CFrame.new(-42.9029617, 3.24664497, -146.100006, 0, 0, 1, -1, 0, 0, 0, -1, 0)
  961. Part2.Orientation = Vector3.new(0, 90, -90)
  962. Part2.Position = Vector3.new(-42.90296173095703, 3.246644973754883, -146.10000610351562)
  963. Part2.Rotation = Vector3.new(-90, 90, 0)
  964. Part2.Color = Color3.fromRGB(196, 40, 28)
  965. Part2.Size = Vector3.new(5, 0.2, 0.2)
  966. Part2.BottomSurface = Enum.SurfaceType.Smooth
  967. Part2.BrickColor = BrickColor.new(LightsaberColor)
  968. Part2.CanCollide = true
  969. Part2.Material = Enum.Material.Neon
  970. Part2.TopSurface = Enum.SurfaceType.Smooth
  971. Part2.Shape = Enum.PartType.Cylinder
  972.  
  973. HandleWeld.C0 = HandleWeld.C0 * CFrame.new(3.15, 0, 0) * CFrame.Angles(0, 0, math.rad(90))
  974.  
  975. SwingSound.Volume = 1
  976. SwingSound.SoundId = "rbxassetid://605565775"
  977.  
  978. function sword(part)
  979. local properties = {
  980. ["CanCollide"] = false,
  981. ["Parent"] = workspace,
  982. ["Anchored"] = true,
  983. ["Color"] = part.Color,
  984. ["CFrame"] = part.CFrame,
  985. ["Material"] = part.Material,
  986. ["Shape"] = part.Shape,
  987. ["Size"] = part.Size,
  988. ["CastShadow"] = true
  989. }
  990.  
  991. lib.FireOtherClients("drawLaser", part.Position, part.Position, properties)
  992. end
  993.  
  994. local ToolEquipped = false
  995. local ToolActive = false
  996.  
  997. Tool.Equipped:Connect(function()
  998. if not ToolEquipped then
  999. ToolEquipped = true
  1000. while wait() do
  1001. if not ToolEquipped then
  1002. break
  1003. end
  1004. sword(Handle)
  1005. sword(Part2)
  1006. end
  1007. end
  1008. end)
  1009.  
  1010. Tool.Unequipped:Connect(function()
  1011. if ToolEquipped then
  1012. ToolEquipped = false
  1013. end
  1014. end)
  1015.  
  1016. Tool.Activated:Connect(function()
  1017. if ToolEquipped and not ToolActive then
  1018. ToolActive = true
  1019.  
  1020. AnimationId = "218504594"
  1021.  
  1022. local Anim = Instance.new("Animation")
  1023. Anim.AnimationId = "rbxassetid://" .. AnimationId
  1024.  
  1025. local humanoid = game.Players.LocalPlayer.Character.Humanoid
  1026. local animation = humanoid:LoadAnimation(Anim)
  1027. animation:Play()
  1028. animation:AdjustSpeed(1)
  1029.  
  1030. local localPlayer = game.Players.LocalPlayer
  1031. local localPlayerCharacter = localPlayer.Character
  1032. local localPlayerHumanoidRootPart = localPlayerCharacter and localPlayerCharacter:FindFirstChild("HumanoidRootPart")
  1033.  
  1034. if localPlayerHumanoidRootPart then
  1035. local targetPosition = localPlayerHumanoidRootPart.Position
  1036.  
  1037. local players = game.Players:GetPlayers()
  1038. for _, otherPlayer in ipairs(players) do
  1039. local otherPlayerCharacter = otherPlayer.Character
  1040. if otherPlayerCharacter then
  1041. local otherPlayerHumanoidRootPart = otherPlayerCharacter:FindFirstChild("HumanoidRootPart")
  1042. if otherPlayerHumanoidRootPart then
  1043. if (otherPlayerHumanoidRootPart.Position - targetPosition).Magnitude <= 10 then
  1044. for x = 1, 2 do
  1045. local args = {
  1046. [1] = "FireOtherClients",
  1047. [2] = "drawLaser",
  1048. [3] = Vector3.new(0, 0, 0),
  1049. [4] = Vector3.new(0, 0, 0),
  1050. [5] = {
  1051. ["Name"] = "Head",
  1052. ["CFrame"] = otherPlayerCharacter.Head.CFrame,
  1053. ["Material"] = Enum.Material.ForceField,
  1054. ["Parent"] = otherPlayerCharacter,
  1055. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  1056. ["Transparency"] = 1
  1057. }
  1058. }
  1059.  
  1060. workspace.resources.RemoteEvent:FireServer(unpack(args))
  1061. end
  1062. end
  1063. end
  1064. end
  1065. end
  1066. end
  1067.  
  1068. SwingSound.PlaybackSpeed = (math.random(6, 11) / 10)
  1069. SwingSound:Play()
  1070. wait(0.7)
  1071. ToolActive = false
  1072. end
  1073. end)
  1074. end)
  1075.  
  1076. local Picker = Section:AddPicker("Lightsaber Color", {color = Color3.fromRGB(98, 37, 209)}, function(color)
  1077. LightsaberColor = color
  1078. end)
  1079.  
  1080. local Section = Tab:AddSection("Miscellaneous", {default = true})
  1081.  
  1082. local Button = Section:AddButton("Blackhole", function()
  1083. local function onPlayerAdded(player)
  1084. local function CreatePermPart(part,parent)
  1085. local properties = {
  1086. ["TopSurface"] = "f",
  1087. ["Material"] = part.Material,
  1088. ["Reflectance"] = part.Reflectance,
  1089. ["BrickColor"] = part.BrickColor,
  1090. ["Transparency"] = part.Transparency,
  1091. ["Size"] = part.Size,
  1092. ["Position"] = part.Position,
  1093. ["CanCollide"] = part.CanCollide,
  1094. ["Anchored"] = part.Anchored,
  1095. ["Shape"] = part.Shape,
  1096. ["Parent"] = parent,
  1097. ["Orientation"] = part.Orientation
  1098. }
  1099. require(game:GetService("Workspace").upsilonLibrary).FireOtherClients("drawLaser",part.Position,part.Position,properties)
  1100. end
  1101.  
  1102. local part = Instance.new("Part")
  1103. part.Parent = workspace
  1104. part.Size = Vector3.new(8000, 8000, 8000)
  1105. part.CastShadow = false
  1106. part.CanCollide = true
  1107. part.Anchored = true
  1108. part.Shape = Enum.PartType.Ball
  1109. part.BrickColor = BrickColor.new("1003")
  1110. part.Material = Enum.Material.Neon
  1111. part.CFrame = CFrame.new(Vector3.new(10000, 30000, 30000))
  1112. part.Transparency = 0
  1113. CreatePermPart(part, game.Workspace)
  1114.  
  1115. local part = Instance.new("Part")
  1116. part.Parent = workspace
  1117. part.Size = Vector3.new(250, 250, 250)
  1118. part.CastShadow = false
  1119. part.CanCollide = true
  1120. part.Anchored = true
  1121. part.Shape = Enum.PartType.Ball
  1122. part.BrickColor = BrickColor.new("1")
  1123. part.Material = Enum.Material.Neon
  1124. part.CFrame = CFrame.new(Vector3.new(10208.3779296875, 30000, 28818.23046875))
  1125. part.Transparency = 0
  1126. CreatePermPart(part, game.Workspace)
  1127.  
  1128. local part = Instance.new("Part")
  1129. part.Parent = workspace
  1130. part.Size = Vector3.new(250, 250, 250)
  1131. part.CastShadow = false
  1132. part.CanCollide = true
  1133. part.Anchored = true
  1134. part.Shape = Enum.PartType.Ball
  1135. part.BrickColor = BrickColor.new("1")
  1136. part.Material = Enum.Material.Neon
  1137. part.CFrame = CFrame.new(Vector3.new(10410.423828125, 30000, 28872.369140625))
  1138. part.Transparency = 0
  1139. CreatePermPart(part, game.Workspace)
  1140.  
  1141. local part = Instance.new("Part")
  1142. part.Parent = workspace
  1143. part.Size = Vector3.new(250, 250, 250)
  1144. part.CastShadow = false
  1145. part.CanCollide = true
  1146. part.Anchored = true
  1147. part.Shape = Enum.PartType.Ball
  1148. part.BrickColor = BrickColor.new("1")
  1149. part.Material = Enum.Material.Neon
  1150. part.CFrame = CFrame.new(Vector3.new(10600, 30000, 28960.76953125))
  1151. part.Transparency = 0
  1152. CreatePermPart(part, game.Workspace)
  1153.  
  1154. local part = Instance.new("Part")
  1155. part.Parent = workspace
  1156. part.Size = Vector3.new(250, 250, 250)
  1157. part.CastShadow = false
  1158. part.CanCollide = true
  1159. part.Anchored = true
  1160. part.Shape = Enum.PartType.Ball
  1161. part.BrickColor = BrickColor.new("1")
  1162. part.Material = Enum.Material.Neon
  1163. part.CFrame = CFrame.new(Vector3.new(10771.3447265625, 30000, 29080.74609375))
  1164. part.Transparency = 0
  1165. CreatePermPart(part, game.Workspace)
  1166.  
  1167. local part = Instance.new("Part")
  1168. part.Parent = workspace
  1169. part.Size = Vector3.new(250, 250, 250)
  1170. part.CastShadow = false
  1171. part.CanCollide = true
  1172. part.Anchored = true
  1173. part.Shape = Enum.PartType.Ball
  1174. part.BrickColor = BrickColor.new("1")
  1175. part.Material = Enum.Material.Neon
  1176. part.CFrame = CFrame.new(Vector3.new(10919.2529296875, 30000, 29228.654296875))
  1177. part.Transparency = 0
  1178. CreatePermPart(part, game.Workspace)
  1179.  
  1180. local part = Instance.new("Part")
  1181. part.Parent = workspace
  1182. part.Size = Vector3.new(250, 250, 250)
  1183. part.CastShadow = false
  1184. part.CanCollide = true
  1185. part.Anchored = true
  1186. part.Shape = Enum.PartType.Ball
  1187. part.BrickColor = BrickColor.new("1")
  1188. part.Material = Enum.Material.Neon
  1189. part.CFrame = CFrame.new(Vector3.new(11039.23046875, 30000, 29400))
  1190. part.Transparency = 0
  1191. CreatePermPart(part, game.Workspace)
  1192.  
  1193. local part = Instance.new("Part")
  1194. part.Parent = workspace
  1195. part.Size = Vector3.new(250, 250, 250)
  1196. part.CastShadow = false
  1197. part.CanCollide = true
  1198. part.Anchored = true
  1199. part.Shape = Enum.PartType.Ball
  1200. part.BrickColor = BrickColor.new("1")
  1201. part.Material = Enum.Material.Neon
  1202. part.CFrame = CFrame.new(Vector3.new(11127.630859375, 30000, 29589.576171875))
  1203. part.Transparency = 0
  1204. CreatePermPart(part, game.Workspace)
  1205.  
  1206. local part = Instance.new("Part")
  1207. part.Parent = workspace
  1208. part.Size = Vector3.new(250, 250, 250)
  1209. part.CastShadow = false
  1210. part.CanCollide = true
  1211. part.Anchored = true
  1212. part.Shape = Enum.PartType.Ball
  1213. part.BrickColor = BrickColor.new("1")
  1214. part.Material = Enum.Material.Neon
  1215. part.CFrame = CFrame.new(Vector3.new(11181.76953125, 30000, 29791.623046875))
  1216. part.Transparency = 0
  1217. CreatePermPart(part, game.Workspace)
  1218.  
  1219. local part = Instance.new("Part")
  1220. part.Parent = workspace
  1221. part.Size = Vector3.new(250, 250, 250)
  1222. part.CastShadow = false
  1223. part.CanCollide = true
  1224. part.Anchored = true
  1225. part.Shape = Enum.PartType.Ball
  1226. part.BrickColor = BrickColor.new("1")
  1227. part.Material = Enum.Material.Neon
  1228. part.CFrame = CFrame.new(Vector3.new(11200, 30000, 30000))
  1229. part.Transparency = 0
  1230. CreatePermPart(part, game.Workspace)
  1231.  
  1232. local part = Instance.new("Part")
  1233. part.Parent = workspace
  1234. part.Size = Vector3.new(250, 250, 250)
  1235. part.CastShadow = false
  1236. part.CanCollide = true
  1237. part.Anchored = true
  1238. part.Shape = Enum.PartType.Ball
  1239. part.BrickColor = BrickColor.new("1")
  1240. part.Material = Enum.Material.Neon
  1241. part.CFrame = CFrame.new(Vector3.new(11181.76953125, 30000, 30208.376953125))
  1242. part.Transparency = 0
  1243. CreatePermPart(part, game.Workspace)
  1244.  
  1245. local part = Instance.new("Part")
  1246. part.Parent = workspace
  1247. part.Size = Vector3.new(250, 250, 250)
  1248. part.CastShadow = false
  1249. part.CanCollide = true
  1250. part.Anchored = true
  1251. part.Shape = Enum.PartType.Ball
  1252. part.BrickColor = BrickColor.new("1")
  1253. part.Material = Enum.Material.Neon
  1254. part.CFrame = CFrame.new(Vector3.new(11127.630859375, 30000, 30410.423828125))
  1255. part.Transparency = 0
  1256. CreatePermPart(part, game.Workspace)
  1257.  
  1258. local part = Instance.new("Part")
  1259. part.Parent = workspace
  1260. part.Size = Vector3.new(250, 250, 250)
  1261. part.CastShadow = false
  1262. part.CanCollide = true
  1263. part.Anchored = true
  1264. part.Shape = Enum.PartType.Ball
  1265. part.BrickColor = BrickColor.new("1")
  1266. part.Material = Enum.Material.Neon
  1267. part.CFrame = CFrame.new(Vector3.new(11039.23046875, 30000, 30600))
  1268. part.Transparency = 0
  1269. CreatePermPart(part, game.Workspace)
  1270.  
  1271. local part = Instance.new("Part")
  1272. part.Parent = workspace
  1273. part.Size = Vector3.new(250, 250, 250)
  1274. part.CastShadow = false
  1275. part.CanCollide = true
  1276. part.Anchored = true
  1277. part.Shape = Enum.PartType.Ball
  1278. part.BrickColor = BrickColor.new("1")
  1279. part.Material = Enum.Material.Neon
  1280. part.CFrame = CFrame.new(Vector3.new(10919.2529296875, 30000, 30771.345703125))
  1281. part.Transparency = 0
  1282. CreatePermPart(part, game.Workspace)
  1283.  
  1284. local part = Instance.new("Part")
  1285. part.Parent = workspace
  1286. part.Size = Vector3.new(250, 250, 250)
  1287. part.CastShadow = false
  1288. part.CanCollide = true
  1289. part.Anchored = true
  1290. part.Shape = Enum.PartType.Ball
  1291. part.BrickColor = BrickColor.new("1")
  1292. part.Material = Enum.Material.Neon
  1293. part.CFrame = CFrame.new(Vector3.new(10771.3447265625, 30000, 30919.25390625))
  1294. part.Transparency = 0
  1295. CreatePermPart(part, game.Workspace)
  1296.  
  1297. local part = Instance.new("Part")
  1298. part.Parent = workspace
  1299. part.Size = Vector3.new(250, 250, 250)
  1300. part.CastShadow = false
  1301. part.CanCollide = true
  1302. part.Anchored = true
  1303. part.Shape = Enum.PartType.Ball
  1304. part.BrickColor = BrickColor.new("1")
  1305. part.Material = Enum.Material.Neon
  1306. part.CFrame = CFrame.new(Vector3.new(10600, 30000, 31039.23046875))
  1307. part.Transparency = 0
  1308. CreatePermPart(part, game.Workspace)
  1309.  
  1310. local part = Instance.new("Part")
  1311. part.Parent = workspace
  1312. part.Size = Vector3.new(250, 250, 250)
  1313. part.CastShadow = false
  1314. part.CanCollide = true
  1315. part.Anchored = true
  1316. part.Shape = Enum.PartType.Ball
  1317. part.BrickColor = BrickColor.new("1")
  1318. part.Material = Enum.Material.Neon
  1319. part.CFrame = CFrame.new(Vector3.new(10410.423828125, 30000, 31127.630859375))
  1320. part.Transparency = 0
  1321. CreatePermPart(part, game.Workspace)
  1322.  
  1323. local part = Instance.new("Part")
  1324. part.Parent = workspace
  1325. part.Size = Vector3.new(250, 250, 250)
  1326. part.CastShadow = false
  1327. part.CanCollide = true
  1328. part.Anchored = true
  1329. part.Shape = Enum.PartType.Ball
  1330. part.BrickColor = BrickColor.new("1")
  1331. part.Material = Enum.Material.Neon
  1332. part.CFrame = CFrame.new(Vector3.new(10208.3779296875, 30000, 31181.76953125))
  1333. part.Transparency = 0
  1334. CreatePermPart(part, game.Workspace)
  1335.  
  1336. local part = Instance.new("Part")
  1337. part.Parent = workspace
  1338. part.Size = Vector3.new(250, 250, 250)
  1339. part.CastShadow = false
  1340. part.CanCollide = true
  1341. part.Anchored = true
  1342. part.Shape = Enum.PartType.Ball
  1343. part.BrickColor = BrickColor.new("1")
  1344. part.Material = Enum.Material.Neon
  1345. part.CFrame = CFrame.new(Vector3.new(10000, 30000, 31200))
  1346. part.Transparency = 0
  1347. CreatePermPart(part, game.Workspace)
  1348.  
  1349. local part = Instance.new("Part")
  1350. part.Parent = workspace
  1351. part.Size = Vector3.new(250, 250, 250)
  1352. part.CastShadow = false
  1353. part.CanCollide = true
  1354. part.Anchored = true
  1355. part.Shape = Enum.PartType.Ball
  1356. part.BrickColor = BrickColor.new("1")
  1357. part.Material = Enum.Material.Neon
  1358. part.CFrame = CFrame.new(Vector3.new(9791.6220703125, 30000, 31181.76953125))
  1359. part.Transparency = 0
  1360. CreatePermPart(part, game.Workspace)
  1361.  
  1362. local part = Instance.new("Part")
  1363. part.Parent = workspace
  1364. part.Size = Vector3.new(250, 250, 250)
  1365. part.CastShadow = false
  1366. part.CanCollide = true
  1367. part.Anchored = true
  1368. part.Shape = Enum.PartType.Ball
  1369. part.BrickColor = BrickColor.new("1")
  1370. part.Material = Enum.Material.Neon
  1371. part.CFrame = CFrame.new(Vector3.new(9589.576171875, 30000, 31127.630859375))
  1372. part.Transparency = 0
  1373. CreatePermPart(part, game.Workspace)
  1374.  
  1375. local part = Instance.new("Part")
  1376. part.Parent = workspace
  1377. part.Size = Vector3.new(250, 250, 250)
  1378. part.CastShadow = false
  1379. part.CanCollide = true
  1380. part.Anchored = true
  1381. part.Shape = Enum.PartType.Ball
  1382. part.BrickColor = BrickColor.new("1")
  1383. part.Material = Enum.Material.Neon
  1384. part.CFrame = CFrame.new(Vector3.new(9400, 30000, 31039.23046875))
  1385. part.Transparency = 0
  1386. CreatePermPart(part, game.Workspace)
  1387.  
  1388. local part = Instance.new("Part")
  1389. part.Parent = workspace
  1390. part.Size = Vector3.new(250, 250, 250)
  1391. part.CastShadow = false
  1392. part.CanCollide = true
  1393. part.Anchored = true
  1394. part.Shape = Enum.PartType.Ball
  1395. part.BrickColor = BrickColor.new("1")
  1396. part.Material = Enum.Material.Neon
  1397. part.CFrame = CFrame.new(Vector3.new(9228.6552734375, 30000, 30919.25390625))
  1398. part.Transparency = 0
  1399. CreatePermPart(part, game.Workspace)
  1400.  
  1401. local part = Instance.new("Part")
  1402. part.Parent = workspace
  1403. part.Size = Vector3.new(250, 250, 250)
  1404. part.CastShadow = false
  1405. part.CanCollide = true
  1406. part.Anchored = true
  1407. part.Shape = Enum.PartType.Ball
  1408. part.BrickColor = BrickColor.new("1")
  1409. part.Material = Enum.Material.Neon
  1410. part.CFrame = CFrame.new(Vector3.new(9080.7470703125, 30000, 30771.345703125))
  1411. part.Transparency = 0
  1412. CreatePermPart(part, game.Workspace)
  1413.  
  1414. local part = Instance.new("Part")
  1415. part.Parent = workspace
  1416. part.Size = Vector3.new(250, 250, 250)
  1417. part.CastShadow = false
  1418. part.CanCollide = true
  1419. part.Anchored = true
  1420. part.Shape = Enum.PartType.Ball
  1421. part.BrickColor = BrickColor.new("1")
  1422. part.Material = Enum.Material.Neon
  1423. part.CFrame = CFrame.new(Vector3.new(8960.76953125, 30000, 30600))
  1424. part.Transparency = 0
  1425. CreatePermPart(part, game.Workspace)
  1426.  
  1427. local part = Instance.new("Part")
  1428. part.Parent = workspace
  1429. part.Size = Vector3.new(250, 250, 250)
  1430. part.CastShadow = false
  1431. part.CanCollide = true
  1432. part.Anchored = true
  1433. part.Shape = Enum.PartType.Ball
  1434. part.BrickColor = BrickColor.new("1")
  1435. part.Material = Enum.Material.Neon
  1436. part.CFrame = CFrame.new(Vector3.new(8872.369140625, 30000, 30410.423828125))
  1437. part.Transparency = 0
  1438. CreatePermPart(part, game.Workspace)
  1439.  
  1440. local part = Instance.new("Part")
  1441. part.Parent = workspace
  1442. part.Size = Vector3.new(250, 250, 250)
  1443. part.CastShadow = false
  1444. part.CanCollide = true
  1445. part.Anchored = true
  1446. part.Shape = Enum.PartType.Ball
  1447. part.BrickColor = BrickColor.new("1")
  1448. part.Material = Enum.Material.Neon
  1449. part.CFrame = CFrame.new(Vector3.new(8818.23046875, 30000, 30208.376953125))
  1450. part.Transparency = 0
  1451. CreatePermPart(part, game.Workspace)
  1452.  
  1453. local part = Instance.new("Part")
  1454. part.Parent = workspace
  1455. part.Size = Vector3.new(250, 250, 250)
  1456. part.CastShadow = false
  1457. part.CanCollide = true
  1458. part.Anchored = true
  1459. part.Shape = Enum.PartType.Ball
  1460. part.BrickColor = BrickColor.new("1")
  1461. part.Material = Enum.Material.Neon
  1462. part.CFrame = CFrame.new(Vector3.new(8800, 30000, 30000))
  1463. part.Transparency = 0
  1464. CreatePermPart(part, game.Workspace)
  1465.  
  1466. local part = Instance.new("Part")
  1467. part.Parent = workspace
  1468. part.Size = Vector3.new(250, 250, 250)
  1469. part.CastShadow = false
  1470. part.CanCollide = true
  1471. part.Anchored = true
  1472. part.Shape = Enum.PartType.Ball
  1473. part.BrickColor = BrickColor.new("1")
  1474. part.Material = Enum.Material.Neon
  1475. part.CFrame = CFrame.new(Vector3.new(8818.23046875, 30000, 29791.623046875))
  1476. part.Transparency = 0
  1477. CreatePermPart(part, game.Workspace)
  1478.  
  1479. local part = Instance.new("Part")
  1480. part.Parent = workspace
  1481. part.Size = Vector3.new(250, 250, 250)
  1482. part.CastShadow = false
  1483. part.CanCollide = true
  1484. part.Anchored = true
  1485. part.Shape = Enum.PartType.Ball
  1486. part.BrickColor = BrickColor.new("1")
  1487. part.Material = Enum.Material.Neon
  1488. part.CFrame = CFrame.new(Vector3.new(8872.369140625, 30000, 29589.576171875))
  1489. part.Transparency = 0
  1490. CreatePermPart(part, game.Workspace)
  1491.  
  1492. local part = Instance.new("Part")
  1493. part.Parent = workspace
  1494. part.Size = Vector3.new(250, 250, 250)
  1495. part.CastShadow = false
  1496. part.CanCollide = true
  1497. part.Anchored = true
  1498. part.Shape = Enum.PartType.Ball
  1499. part.BrickColor = BrickColor.new("1")
  1500. part.Material = Enum.Material.Neon
  1501. part.CFrame = CFrame.new(Vector3.new(8960.76953125, 30000, 29400))
  1502. part.Transparency = 0
  1503. CreatePermPart(part, game.Workspace)
  1504.  
  1505. local part = Instance.new("Part")
  1506. part.Parent = workspace
  1507. part.Size = Vector3.new(250, 250, 250)
  1508. part.CastShadow = false
  1509. part.CanCollide = true
  1510. part.Anchored = true
  1511. part.Shape = Enum.PartType.Ball
  1512. part.BrickColor = BrickColor.new("1")
  1513. part.Material = Enum.Material.Neon
  1514. part.CFrame = CFrame.new(Vector3.new(9080.7470703125, 30000, 29228.654296875))
  1515. part.Transparency = 0
  1516. CreatePermPart(part, game.Workspace)
  1517.  
  1518. local part = Instance.new("Part")
  1519. part.Parent = workspace
  1520. part.Size = Vector3.new(250, 250, 250)
  1521. part.CastShadow = false
  1522. part.CanCollide = true
  1523. part.Anchored = true
  1524. part.Shape = Enum.PartType.Ball
  1525. part.BrickColor = BrickColor.new("1")
  1526. part.Material = Enum.Material.Neon
  1527. part.CFrame = CFrame.new(Vector3.new(9228.6552734375, 30000, 29080.74609375))
  1528. part.Transparency = 0
  1529. CreatePermPart(part, game.Workspace)
  1530.  
  1531. local part = Instance.new("Part")
  1532. part.Parent = workspace
  1533. part.Size = Vector3.new(250, 250, 250)
  1534. part.CastShadow = false
  1535. part.CanCollide = true
  1536. part.Anchored = true
  1537. part.Shape = Enum.PartType.Ball
  1538. part.BrickColor = BrickColor.new("1")
  1539. part.Material = Enum.Material.Neon
  1540. part.CFrame = CFrame.new(Vector3.new(9400, 30000, 28960.76953125))
  1541. part.Transparency = 0
  1542. CreatePermPart(part, game.Workspace)
  1543.  
  1544. local part = Instance.new("Part")
  1545. part.Parent = workspace
  1546. part.Size = Vector3.new(250, 250, 250)
  1547. part.CastShadow = false
  1548. part.CanCollide = true
  1549. part.Anchored = true
  1550. part.Shape = Enum.PartType.Ball
  1551. part.BrickColor = BrickColor.new("1")
  1552. part.Material = Enum.Material.Neon
  1553. part.CFrame = CFrame.new(Vector3.new(9589.576171875, 30000, 28872.369140625))
  1554. part.Transparency = 0
  1555. CreatePermPart(part, game.Workspace)
  1556.  
  1557. local part = Instance.new("Part")
  1558. part.Parent = workspace
  1559. part.Size = Vector3.new(250, 250, 250)
  1560. part.CastShadow = false
  1561. part.CanCollide = true
  1562. part.Anchored = true
  1563. part.Shape = Enum.PartType.Ball
  1564. part.BrickColor = BrickColor.new("1")
  1565. part.Material = Enum.Material.Neon
  1566. part.CFrame = CFrame.new(Vector3.new(9791.6220703125, 30000, 28818.23046875))
  1567. part.Transparency = 0
  1568. CreatePermPart(part, game.Workspace)
  1569.  
  1570. local part = Instance.new("Part")
  1571. part.Parent = workspace
  1572. part.Size = Vector3.new(250, 250, 250)
  1573. part.CastShadow = false
  1574. part.CanCollide = true
  1575. part.Anchored = true
  1576. part.Shape = Enum.PartType.Ball
  1577. part.BrickColor = BrickColor.new("1")
  1578. part.Material = Enum.Material.Neon
  1579. part.CFrame = CFrame.new(Vector3.new(10000, 30000, 28800))
  1580. part.Transparency = 0
  1581. CreatePermPart(part, game.Workspace)
  1582. end
  1583.  
  1584. onPlayerAdded()
  1585.  
  1586. game.Players.PlayerAdded:Connect(onPlayerAdded)
  1587. end)
  1588.  
  1589. local Button = Section:AddButton("Mars", function()
  1590. local function onPlayerAdded(player)
  1591. local function CreatePermPart(part,parent)
  1592. local properties = {
  1593. ["TopSurface"] = "f",
  1594. ["Material"] = part.Material,
  1595. ["Reflectance"] = part.Reflectance,
  1596. ["BrickColor"] = part.BrickColor,
  1597. ["Transparency"] = part.Transparency,
  1598. ["Size"] = part.Size,
  1599. ["Position"] = part.Position,
  1600. ["CanCollide"] = part.CanCollide,
  1601. ["Anchored"] = part.Anchored,
  1602. ["Shape"] = part.Shape,
  1603. ["Parent"] = parent,
  1604. ["Orientation"] = part.Orientation
  1605. }
  1606. require(game:GetService("Workspace").upsilonLibrary).FireOtherClients("drawLaser",part.Position,part.Position,properties)
  1607. end
  1608.  
  1609. local part = Instance.new("Part")
  1610. part.Parent = Workspace
  1611. part.Shape = Enum.PartType.Ball
  1612. part.Size = Vector3.new(8000, 8000, 8000)
  1613. part.CastShadow = false
  1614. part.CanCollide = true
  1615. part.Anchored = true
  1616. part.BrickColor = BrickColor.new("193")
  1617. part.Material = Enum.Material.Sandstone
  1618. part.Transparency = 0
  1619. part.CFrame = CFrame.new(Vector3.new(27000, 18000, 20000))
  1620. CreatePermPart(part, game.Workspace)
  1621.  
  1622. local part = Instance.new("Part")
  1623. part.Parent = Workspace
  1624. part.Shape = Enum.PartType.Block
  1625. part.Size = Vector3.new(1, 12, 1)
  1626. part.CastShadow = false
  1627. part.CanCollide = true
  1628. part.Anchored = true
  1629. part.BrickColor = BrickColor.new("194")
  1630. part.Material = Enum.Material.Plastic
  1631. part.Transparency = 0
  1632. part.CFrame = CFrame.new(Vector3.new(27000, 19029, 20000))
  1633. CreatePermPart(part, game.Workspace)
  1634.  
  1635. local part = Instance.new("Part")
  1636. part.Parent = Workspace
  1637. part.Shape = Enum.PartType.Block
  1638. part.Size = Vector3.new(6, 3, 1)
  1639. part.CastShadow = false
  1640. part.CanCollide = true
  1641. part.Anchored = true
  1642. part.BrickColor = BrickColor.new("1003")
  1643. part.Material = Enum.Material.Plastic
  1644. part.Transparency = 0
  1645. part.CFrame = CFrame.new(Vector3.new(27003.5, 19033.5, 20000))
  1646. CreatePermPart(part,game.Workspace)
  1647. end
  1648.  
  1649. onPlayerAdded()
  1650.  
  1651. wait(0.5)
  1652.  
  1653. local player = game:GetService("Players").LocalPlayer
  1654. local teleportPosition = Vector3.new(27000, 19000, 20000)
  1655.  
  1656. player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPosition)
  1657.  
  1658. game.Players.PlayerAdded:Connect(onPlayerAdded)
  1659. end)
  1660.  
  1661. local bubbleEnabled = false
  1662. local bubble
  1663.  
  1664. local bubbleEnabled = false
  1665. local bubble
  1666.  
  1667. local Toggle = Section:AddToggle("Atomic Bomb", {flag = "Toggle_Flag", default = false}, function(bool)
  1668. bubbleEnabled = bool
  1669.  
  1670. if bool then
  1671. local lib = require(game:GetService("Workspace").upsilonLibrary)
  1672.  
  1673. bubble = Instance.new("Part")
  1674. bubble.Parent = Workspace
  1675. bubble.CastShadow = false
  1676. bubble.CanCollide = true
  1677. bubble.Anchored = true
  1678. bubble.BrickColor = BrickColor.new("Bright yellow")
  1679. bubble.Material = Enum.Material.Neon
  1680. bubble.Transparency = 0
  1681. bubble.Shape = Enum.PartType.Ball
  1682.  
  1683. local function Portal(part)
  1684. local properties = {
  1685. ["CanCollide"] = true,
  1686. ["Parent"] = Workspace,
  1687. ["Anchored"] = true,
  1688. ["BrickColor"] = part.BrickColor,
  1689. ["RotVelocity"] = part.RotVelocity,
  1690. ["Name"] = part.Name,
  1691. ["Position"] = part.Position,
  1692. ["Material"] = part.Material,
  1693. ["Shape"] = part.Shape,
  1694. ["Size"] = part.Size,
  1695. ["CastShadow"] = false,
  1696. ["Transparency"] = 1
  1697. }
  1698.  
  1699. lib.FireOtherClients("drawLaser", part.Position, part.Position, properties)
  1700. end
  1701.  
  1702. local function ColorTransitionCoroutine()
  1703. local startColor = BrickColor.new("Bright yellow")
  1704. local intermediateColor = BrickColor.new("Bright orange")
  1705. local endColor = BrickColor.new("Bright red")
  1706. local transitionTime = 30
  1707. local numColors = 100
  1708.  
  1709. local startTime = tick()
  1710. local elapsedTime = 0
  1711.  
  1712. while elapsedTime < transitionTime do
  1713. local t = elapsedTime / transitionTime
  1714. local colorIndex = math.floor(t * (numColors - 1)) + 1
  1715. local lerpedColor
  1716.  
  1717. if colorIndex < numColors / 2 then
  1718. lerpedColor = startColor.Color:Lerp(intermediateColor.Color, t * 2)
  1719. else
  1720. lerpedColor = intermediateColor.Color:Lerp(endColor.Color, (t - 0.5) * 2)
  1721. end
  1722.  
  1723. bubble.BrickColor = BrickColor.new(lerpedColor)
  1724.  
  1725. local newSize = 2300 * t
  1726. bubble.Size = Vector3.new(newSize, newSize, newSize)
  1727.  
  1728. elapsedTime = tick() - startTime
  1729. wait()
  1730. end
  1731.  
  1732. bubble.BrickColor = endColor
  1733. bubble.Size = Vector3.new(2300, 2300, 2300)
  1734. end
  1735.  
  1736. local function PositionTransitionCoroutine()
  1737. local startPosition = Vector3.new(27000, 18000, 20000)
  1738. local endPosition = Vector3.new(-87, 4, -502)
  1739. local transitionTime = 30
  1740.  
  1741. local startTime = tick()
  1742. local elapsedTime = 0
  1743.  
  1744. while elapsedTime < transitionTime do
  1745. local t = elapsedTime / transitionTime
  1746. local lerpedPosition = startPosition:Lerp(endPosition, t)
  1747. bubble.CFrame = CFrame.new(lerpedPosition)
  1748.  
  1749. elapsedTime = tick() - startTime
  1750. wait()
  1751. end
  1752.  
  1753. bubble.CFrame = CFrame.new(endPosition)
  1754. end
  1755.  
  1756. local function PortalCoroutine()
  1757. while bubbleEnabled do
  1758. Portal(bubble)
  1759. wait()
  1760. end
  1761. end
  1762.  
  1763. spawn(ColorTransitionCoroutine)
  1764. spawn(PortalCoroutine)
  1765. spawn(PositionTransitionCoroutine)
  1766. else
  1767. if bubble then
  1768. bubble:Destroy()
  1769. bubble = nil
  1770. end
  1771. end
  1772. end)
  1773.  
  1774. while true do
  1775. if not bubbleEnabled then
  1776. break
  1777. end
  1778. wait()
  1779. end
  1780.  
  1781. local toggleEnabled = false
  1782. local loopEnabled = false
  1783. local pulseFlyColor = Color3.fromRGB(13, 105, 172)
  1784.  
  1785. local Toggle = Section:AddToggle("Pulse Fly", {flag = "Toggle_Flag", default = false}, function(bool)
  1786. toggleEnabled = bool
  1787. if bool and not loopEnabled then
  1788. loopEnabled = true
  1789. spawn(function()
  1790. while loopEnabled do
  1791. local NUM_RUNS = 1
  1792.  
  1793. local function runCode()
  1794. local lib = require(game:GetService("Workspace").upsilonLibrary)
  1795.  
  1796. local Bubble = Instance.new("Part")
  1797. Bubble.Size = Vector3.new(15, 15, 15)
  1798. Bubble.CastShadow = false
  1799. Bubble.CanCollide = true
  1800. Bubble.Anchored = true
  1801. Bubble.Shape = Enum.PartType.Ball
  1802. Bubble.BrickColor = BrickColor.new(pulseFlyColor)
  1803. Bubble.Material = Enum.Material.Neon
  1804. Bubble.Transparency = 0
  1805. Bubble.CFrame = CFrame.new(133, 4, -183)
  1806. Bubble.Parent = workspace
  1807.  
  1808. function Portal(part)
  1809. local properties = {
  1810. CanCollide = true,
  1811. Parent = workspace,
  1812. Anchored = true,
  1813. BrickColor = part.BrickColor,
  1814. RotVelocity = part.RotVelocity,
  1815. Name = part.Name,
  1816. Position = part.Position,
  1817. CFrame = part.CFrame,
  1818. Material = part.Material,
  1819. Shape = part.Shape,
  1820. Size = part.Size,
  1821. CastShadow = false,
  1822. Transparency = 1
  1823. }
  1824.  
  1825. lib.FireOtherClients("drawLaser", part.Position, part.Position, properties)
  1826. end
  1827.  
  1828. local function animateBubble()
  1829. local sizes = {15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}
  1830.  
  1831. for _, size in ipairs(sizes) do
  1832. Bubble.Size = Vector3.new(size, size, size)
  1833. wait(0.1)
  1834. end
  1835.  
  1836. Bubble:Destroy()
  1837. end
  1838.  
  1839. local function teleportBubble()
  1840. local character = game.Players.LocalPlayer.Character
  1841. local humanoidRootPart = character and character:FindFirstChild("HumanoidRootPart")
  1842.  
  1843. if humanoidRootPart then
  1844. Bubble.CFrame = CFrame.new(humanoidRootPart.Position.X, humanoidRootPart.Position.Y - (humanoidRootPart.Size.Y / 2) - 9.45, humanoidRootPart.Position.Z)
  1845. end
  1846.  
  1847. while Bubble.Size.X > 1 do
  1848. Portal(Bubble)
  1849. wait(0.0000000000001)
  1850. end
  1851. end
  1852.  
  1853. coroutine.wrap(animateBubble)()
  1854. teleportBubble()
  1855. end
  1856.  
  1857. for _ = 1, NUM_RUNS do
  1858. coroutine.wrap(runCode)()
  1859. wait(0.1)
  1860. end
  1861.  
  1862. if not toggleEnabled then
  1863. loopEnabled = false
  1864. end
  1865. end
  1866. end)
  1867. elseif not bool then
  1868. loopEnabled = false
  1869. end
  1870. end)
  1871.  
  1872. local Picker = Section:AddPicker("Pulse Fly Color", {color = Color3.fromRGB(13, 105, 172)}, function(color)
  1873. pulseFlyColor = color
  1874. end)
  1875.  
  1876. local Tab = Window:AddTab("Extra", {default = false})
  1877.  
  1878. local Section = Tab:AddSection("Refresh", {default = true})
  1879.  
  1880. local Button = Section:AddButton("Refresh", function()
  1881. local ohString2 = "reloadMe"
  1882. workspace.resources.RemoteEvent:FireServer(ohString2)
  1883. end)
  1884.  
  1885. local Section = Tab:AddSection("Antis", {default = true})
  1886.  
  1887. local Button = Section:AddButton("Antivoid", function()
  1888. local player = game.Players.LocalPlayer
  1889. local minYCoordinate = -28
  1890. local targetYCoordinate = 5
  1891. local teleportOffset = Vector3.new(0, 1, 0)
  1892.  
  1893. local function teleportToNewPosition(character, position)
  1894. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  1895. if humanoidRootPart then
  1896. local currentCFrame = humanoidRootPart.CFrame
  1897. local newCFrame = CFrame.new(position)
  1898. newCFrame = newCFrame * CFrame.Angles(0, currentCFrame.Y - currentCFrame.Y%1, 0)
  1899. humanoidRootPart.CFrame = newCFrame
  1900. humanoidRootPart.Velocity = Vector3.new(0, 0, 0)
  1901. end
  1902. end
  1903.  
  1904. local function checkYCoordinate()
  1905. local character = player.Character
  1906. if character and character:IsDescendantOf(workspace) then
  1907. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  1908. if humanoidRootPart then
  1909. local currentPosition = humanoidRootPart.Position
  1910. if currentPosition.Y < minYCoordinate then
  1911. local newPosition = Vector3.new(currentPosition.X, targetYCoordinate, currentPosition.Z) + teleportOffset
  1912. teleportToNewPosition(character, newPosition)
  1913. end
  1914. end
  1915. end
  1916. end
  1917.  
  1918. local function characterAdded(character)
  1919. checkYCoordinate()
  1920. end
  1921.  
  1922. local function heartbeat()
  1923. checkYCoordinate()
  1924. end
  1925.  
  1926. player.CharacterAdded:Connect(characterAdded)
  1927. game:GetService("RunService").Heartbeat:Connect(heartbeat)
  1928. end)
  1929.  
  1930. local Button = Section:AddButton("Antidrawlaser", function()
  1931. local RunService = game:GetService("RunService")
  1932. local RemoteEvent = workspace.resources:FindFirstChild("RemoteEvent")
  1933.  
  1934. local function DisableConnection()
  1935. local connection = getconnections(RemoteEvent.OnClientEvent)[1]
  1936. if connection then
  1937. connection:Disable()
  1938. end
  1939. end
  1940.  
  1941. RunService.Heartbeat:Connect(function()
  1942. DisableConnection()
  1943. end)
  1944. end)
  1945.  
  1946. local Button = Section:AddButton("Delete Keycards", function()
  1947. local Players = game:GetService("Players")
  1948. local toolName = "Fake ID Card"
  1949.  
  1950. local function onDelete(v)
  1951. if v:IsA("Tool") and v.Name == toolName and not v:IsDescendantOf(Players.LocalPlayer) then
  1952. v:Destroy()
  1953. end
  1954. end
  1955.  
  1956. for _,v in ipairs(game.Workspace:GetDescendants()) do
  1957. onDelete(v)
  1958. end
  1959.  
  1960. game.Workspace.DescendantAdded:Connect(onDelete)
  1961. end)
  1962.  
  1963. local Tab = Window:AddTab("Scripts", {default = false})
  1964. local Section = Tab:AddSection("Scripts", {default = true})
  1965.  
  1966. local Button = Section:AddButton("Owl Hub", function()
  1967. loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))();
  1968. end)
  1969.  
  1970. local Button = Section:AddButton("Infinite Yield", function()
  1971. loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  1972. end)
  1973.  
  1974. local Button = Section:AddButton("D00M Gui", function()
  1975. loadstring(game:HttpGet("https://pastebin.com/raw/8F8Ep6th"))()
  1976. end)
  1977.  
  1978. local Button = Section:AddButton("Chat Bypass", function()
  1979. loadstring(game:HttpGet("https://raw.githubusercontent.com/synnyyy/synergy/additional/betterbypasser", true))({
  1980. Method = 1, -- Method 1 is the main method. Method two is emojis. Method 3 is full transparency, no special symbols.
  1981. Keybind = "f", -- Usually defaulted to F. You can change this keybind by replacing the string with a letter. Must be lowercase
  1982. ShowMethodDictionary = true -- Shows you the full list of words that you can say with the method. Press FN + F9 to see this dictionary.
  1983. })
  1984. end)
  1985.  
  1986. local Tab = Window:AddTab("Op Stuff", {default = false})
  1987. local Section = Tab:AddSection("Kick", {default = true})
  1988.  
  1989. local Box = Section:AddBox("Target Player", {fireonempty = true}, function(text)
  1990. targetPlayer = text
  1991. end)
  1992.  
  1993. local Button = Section:AddButton("Kick", function()
  1994. local Upsilon = require(workspace.upsilonLibrary)
  1995. local playerName = targetPlayer
  1996. local player = game.Players:FindFirstChild(playerName)
  1997.  
  1998. if player then
  1999. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2000.  
  2001. local function giveRiotShield()
  2002. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2003. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2004. if v.Name == "RiotShield" then
  2005. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2006. v:Destroy()
  2007. end
  2008. end
  2009. end
  2010.  
  2011. giveRiotShield()
  2012.  
  2013. wait()
  2014.  
  2015. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2016. for x = 1, 2 do
  2017. local args = {
  2018. [1] = "FireOtherClients",
  2019. [2] = "drawLaser",
  2020. [3] = Vector3.new(0, 0, 0),
  2021. [4] = Vector3.new(0, 0, 0),
  2022. [5] = {
  2023. ["Name"] = "Head",
  2024. ["CFrame"] = player.Character.Head.CFrame,
  2025. ["Material"] = Enum.Material.ForceField,
  2026. ["Parent"] = player.Character,
  2027. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2028. ["Transparency"] = 1
  2029. }
  2030. }
  2031.  
  2032. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2033. end
  2034.  
  2035. wait()
  2036. end
  2037.  
  2038. wait(0.5)
  2039.  
  2040. local ohString2 = "reloadMe"
  2041. workspace.resources.RemoteEvent:FireServer(ohString2)
  2042.  
  2043. repeat
  2044. wait()
  2045. until player.Character and player.Character.Humanoid.Health > 0
  2046.  
  2047. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2048.  
  2049. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2050.  
  2051. ohString2 = "reloadMe"
  2052. workspace.resources.RemoteEvent:FireServer(ohString2)
  2053. end
  2054. end)
  2055.  
  2056. local Button = Section:AddButton("Kick All", function()
  2057. local Upsilon = require(workspace.upsilonLibrary)
  2058.  
  2059. local function performActions(player)
  2060. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2061.  
  2062. local function giveRiotShield()
  2063. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2064. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2065. if v.Name == "RiotShield" then
  2066. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2067. v:Destroy()
  2068. end
  2069. end
  2070. end
  2071.  
  2072. giveRiotShield()
  2073.  
  2074. wait()
  2075.  
  2076. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2077. for x = 1, 2 do
  2078. local args = {
  2079. [1] = "FireOtherClients",
  2080. [2] = "drawLaser",
  2081. [3] = Vector3.new(0, 0, 0),
  2082. [4] = Vector3.new(0, 0, 0),
  2083. [5] = {
  2084. ["Name"] = "Head",
  2085. ["CFrame"] = player.Character.Head.CFrame,
  2086. ["Material"] = Enum.Material.ForceField,
  2087. ["Parent"] = player.Character,
  2088. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2089. ["Transparency"] = 1
  2090. }
  2091. }
  2092.  
  2093. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2094. end
  2095.  
  2096. wait()
  2097. end
  2098.  
  2099. wait(0.5)
  2100.  
  2101. local ohString2 = "reloadMe"
  2102. workspace.resources.RemoteEvent:FireServer(ohString2)
  2103.  
  2104. repeat
  2105. wait()
  2106. until player.Character and player.Character.Humanoid.Health > 0
  2107.  
  2108. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2109.  
  2110. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2111.  
  2112. ohString2 = "reloadMe"
  2113. workspace.resources.RemoteEvent:FireServer(ohString2)
  2114. end
  2115.  
  2116. local policePlayers = {}
  2117. for _, player in ipairs(game.Players:GetPlayers()) do
  2118. if player.Team then
  2119. table.insert(policePlayers, player)
  2120. end
  2121. end
  2122.  
  2123. for _, player in ipairs(policePlayers) do
  2124. spawn(function()
  2125. performActions(player)
  2126. end)
  2127. end
  2128. end)
  2129.  
  2130. local autokickEnabled = false
  2131. local autokickConnection
  2132.  
  2133. local Toggle = Section:AddToggle("Autokick", {flag = "Toggle_Flag", default = false}, function(bool)
  2134. autokickEnabled = bool
  2135.  
  2136. if autokickEnabled then
  2137. autokickConnection = game.Players.PlayerAdded:Connect(function(player)
  2138. if player.Name == targetPlayer then
  2139. wait(0.8)
  2140. local Upsilon = require(workspace.upsilonLibrary)
  2141. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2142. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2143. wait(0.5)
  2144. local ohString1 = "reloadMe"
  2145. workspace.resources.RemoteEvent:FireServer(ohString1)
  2146. end
  2147. end)
  2148. else
  2149. if autokickConnection then
  2150. autokickConnection:Disconnect()
  2151. autokickConnection = nil
  2152. end
  2153. end
  2154. end)
  2155.  
  2156. local serverLockEnabled = false
  2157. local serverLockConnection
  2158.  
  2159. local Toggle = Section:AddToggle("Serverlock", {flag = "Toggle_Flag", default = false}, function(bool)
  2160. serverLockEnabled = bool
  2161.  
  2162. if serverLockEnabled then
  2163. serverLockConnection = game.Players.PlayerAdded:Connect(function(newPlayer)
  2164. wait(1)
  2165. local Upsilon = require(workspace.upsilonLibrary)
  2166. Upsilon.InvokeServer("giveRiotShield", newPlayer.Character.HumanoidRootPart)
  2167. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2168. wait(0.5)
  2169. local ohString1 = "reloadMe"
  2170. workspace.resources.RemoteEvent:FireServer(ohString1)
  2171. end)
  2172. else
  2173. if serverLockConnection then
  2174. serverLockConnection:Disconnect()
  2175. serverLockConnection = nil
  2176. end
  2177. end
  2178. end)
  2179.  
  2180. local autoKickAllEnabled = false
  2181. local autoKickAllConnection
  2182.  
  2183. local function destroyAllRiotShields(character)
  2184. local riotShields = character:GetDescendants()
  2185. for _, riotShield in ipairs(riotShields) do
  2186. if riotShield.Name == "RiotShield" then
  2187. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2188. riotShield:Destroy()
  2189. end
  2190. end
  2191. end
  2192.  
  2193. local function giveRiotShieldToAllPlayers()
  2194. for _, player in ipairs(game.Players:GetPlayers()) do
  2195. local Upsilon = require(workspace.upsilonLibrary)
  2196. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2197. end
  2198. end
  2199.  
  2200. local Toggle = Section:AddToggle("Autokick All", {flag = "Toggle_Flag", default = false}, function(bool)
  2201.  
  2202. autoKickAllEnabled = bool
  2203.  
  2204. if autoKickAllEnabled then
  2205. autoKickAllConnection = game.Players.PlayerAdded:Connect(function(newPlayer)
  2206. wait(1)
  2207. local Upsilon = require(workspace.upsilonLibrary)
  2208.  
  2209. local function performActions(player)
  2210. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2211.  
  2212. local function giveRiotShield()
  2213. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2214. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2215. if v.Name == "RiotShield" then
  2216. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2217. v:Destroy()
  2218. end
  2219. end
  2220. end
  2221.  
  2222. giveRiotShield()
  2223.  
  2224. wait()
  2225.  
  2226. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2227. for x = 1, 2 do
  2228. local args = {
  2229. [1] = "FireOtherClients",
  2230. [2] = "drawLaser",
  2231. [3] = Vector3.new(0, 0, 0),
  2232. [4] = Vector3.new(0, 0, 0),
  2233. [5] = {
  2234. ["Name"] = "Head",
  2235. ["CFrame"] = player.Character.Head.CFrame,
  2236. ["Material"] = Enum.Material.ForceField,
  2237. ["Parent"] = player.Character,
  2238. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2239. ["Transparency"] = 1
  2240. }
  2241. }
  2242.  
  2243. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2244. end
  2245.  
  2246. wait()
  2247. end
  2248.  
  2249. wait(0.5)
  2250.  
  2251. local ohString2 = "reloadMe"
  2252. workspace.resources.RemoteEvent:FireServer(ohString2)
  2253.  
  2254. repeat
  2255. wait()
  2256. until player.Character and player.Character.Humanoid.Health > 0
  2257.  
  2258. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2259.  
  2260. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2261.  
  2262. ohString2 = "reloadMe"
  2263. workspace.resources.RemoteEvent:FireServer(ohString2)
  2264. end
  2265.  
  2266. local policePlayers = {}
  2267. for _, player in ipairs(game.Players:GetPlayers()) do
  2268. if player.Team then
  2269. table.insert(policePlayers, player)
  2270. end
  2271. end
  2272.  
  2273. for _, player in ipairs(policePlayers) do
  2274. spawn(function()
  2275. performActions(player)
  2276. end)
  2277. end
  2278. end)
  2279. else
  2280. if autoKickAllConnection then
  2281. autoKickAllConnection:Disconnect()
  2282. autoKickAllConnection = nil
  2283. end
  2284. end
  2285. end)
  2286.  
  2287. local Section = Tab:AddSection("Delay", {default = true})
  2288.  
  2289. local playerName = ""
  2290.  
  2291. local Box = Section:AddBox("Target Player", {fireonempty = true}, function(text)
  2292. playerName = text
  2293. end)
  2294.  
  2295. local isToggleOn = false
  2296.  
  2297. local Toggle = Section:AddToggle("Delay", {flag = "Toggle_Flag", default = false}, function(bool)
  2298. isToggleOn = bool
  2299.  
  2300. while isToggleOn do
  2301. local player = game.Players:FindFirstChild(playerName)
  2302. if player then
  2303. local ohString1 = "resetNetworkOwnership"
  2304. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  2305. local ohBoolean3 = true
  2306. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  2307. end
  2308. wait()
  2309. end
  2310. end)
  2311.  
  2312. local isToggleOns = false
  2313. local delayOthersLoop
  2314.  
  2315. local Toggle = Section:AddToggle("Delay Others", {flag = "Toggle_Flag_Others", default = false}, function(bool)
  2316. isToggleOns = bool
  2317.  
  2318. if isToggleOns then
  2319. delayOthersLoop = coroutine.wrap(function()
  2320. while isToggleOns do
  2321. local Players = game:GetService("Players")
  2322. local LocalPlayer = Players.LocalPlayer
  2323.  
  2324. for _, player in ipairs(Players:GetPlayers()) do
  2325. if player ~= LocalPlayer and player.Character then
  2326. local ohString1 = "resetNetworkOwnership"
  2327. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  2328. local ohBoolean3 = true
  2329.  
  2330. if ohInstance2 then
  2331. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  2332. end
  2333. end
  2334. end
  2335.  
  2336. wait()
  2337. end
  2338. end)
  2339.  
  2340. delayOthersLoop()
  2341. else
  2342. if delayOthersLoop then
  2343. delayOthersLoop = nil
  2344. end
  2345. end
  2346. end)
  2347.  
  2348. local Section = Tab:AddSection("Crash", {default = true})
  2349.  
  2350. local Button = Section:AddButton("Crash Server", function()
  2351. local remoteFunction = workspace.resources.RemoteFunction
  2352.  
  2353. local function invokeGiveRiotShield(part)
  2354. remoteFunction:InvokeServer("giveRiotShield", part)
  2355. end
  2356.  
  2357. local function processDescendants(parent)
  2358. local coroutines = {}
  2359.  
  2360. for _, child in ipairs(parent:GetChildren()) do
  2361. if child:IsA("Part") then
  2362. table.insert(coroutines, coroutine.create(function()
  2363. invokeGiveRiotShield(child)
  2364. end))
  2365. elseif child:IsA("Model") or child:IsA("Folder") or child:IsA("UnionOperation") then
  2366. processDescendants(child)
  2367. end
  2368. end
  2369.  
  2370. for _, coroutineThread in ipairs(coroutines) do
  2371. coroutine.resume(coroutineThread)
  2372. end
  2373. end
  2374.  
  2375. processDescendants(workspace)
  2376. end)
  2377.  
  2378. local Button = Section:AddButton("drawLaser Crash Others", function()
  2379. local function CreatePermPart(part, parent)
  2380. local properties = {
  2381. ["TopSurface"] = "f",
  2382. ["Material"] = part.Material,
  2383. ["Reflectance"] = part.Reflectance,
  2384. ["BrickColor"] = part.BrickColor,
  2385. ["Transparency"] = part.Transparency,
  2386. ["Size"] = part.Size,
  2387. ["Position"] = part.Position,
  2388. ["CanCollide"] = part.CanCollide,
  2389. ["Anchored"] = part.Anchored,
  2390. ["Parent"] = parent,
  2391. ["Orientation"] = part.Orientation
  2392. }
  2393.  
  2394. require(game:GetService("Workspace").upsilonLibrary).FireOtherClients("drawLaser", part.Position, part.Position, properties)
  2395. end
  2396.  
  2397. local part = Instance.new("Part")
  2398.  
  2399. for i = 1, 2000 do
  2400. coroutine.wrap(function()
  2401. CreatePermPart(part, game.Workspace)
  2402. end)()
  2403. end
  2404. end)
  2405.  
  2406. local Section = Tab:AddSection("Pants", {default = true})
  2407.  
  2408. local Button = Section:AddButton("Pants", function()
  2409. local Players = game:GetService("Players")
  2410.  
  2411. local function spawnDelay()
  2412. local ohString1 = "wearPants"
  2413. local ohString2 = "http://www.roblox.com/asset/?id=398633811"
  2414.  
  2415. wait(1)
  2416. workspace.resources.RemoteEvent:FireServer(ohString1, ohString2)
  2417.  
  2418. ohString1 = "wearShirt"
  2419. ohString2 = "http://www.roblox.com/asset/?id=1"
  2420.  
  2421. workspace.resources.RemoteEvent:FireServer(ohString1, ohString2)
  2422. end
  2423.  
  2424. local ohString2 = "reloadMe"
  2425. workspace.resources.RemoteEvent:FireServer(ohString2)
  2426.  
  2427. Players.LocalPlayer.CharacterAdded:Connect(spawnDelay)
  2428. end)
  2429.  
  2430. local Tab = Window:AddTab("Teams", {default = false})
  2431. local Section = Tab:AddSection("Police", {default = true})
  2432.  
  2433. local Button = Section:AddButton("Kick Police Team", function()
  2434. local Upsilon = require(workspace.upsilonLibrary)
  2435.  
  2436. local function performActions(player)
  2437. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2438.  
  2439. local function giveRiotShield()
  2440. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2441. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2442. if v.Name == "RiotShield" then
  2443. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2444. v:Destroy()
  2445. end
  2446. end
  2447. end
  2448.  
  2449. giveRiotShield()
  2450.  
  2451. wait()
  2452.  
  2453. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2454. for x = 1, 2 do
  2455. local args = {
  2456. [1] = "FireOtherClients",
  2457. [2] = "drawLaser",
  2458. [3] = Vector3.new(0, 0, 0),
  2459. [4] = Vector3.new(0, 0, 0),
  2460. [5] = {
  2461. ["Name"] = "Head",
  2462. ["CFrame"] = player.Character.Head.CFrame,
  2463. ["Material"] = Enum.Material.ForceField,
  2464. ["Parent"] = player.Character,
  2465. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2466. ["Transparency"] = 1
  2467. }
  2468. }
  2469.  
  2470. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2471. end
  2472.  
  2473. wait()
  2474. end
  2475.  
  2476. wait(0.5)
  2477.  
  2478. local ohString2 = "reloadMe"
  2479. workspace.resources.RemoteEvent:FireServer(ohString2)
  2480.  
  2481. repeat
  2482. wait()
  2483. until player.Character and player.Character.Humanoid.Health > 0
  2484.  
  2485. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2486.  
  2487. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2488.  
  2489. ohString2 = "reloadMe"
  2490. workspace.resources.RemoteEvent:FireServer(ohString2)
  2491. end
  2492.  
  2493. local policePlayers = {}
  2494. for _, player in ipairs(game.Players:GetPlayers()) do
  2495. if player.Team and player.Team.Name == "Police" then
  2496. table.insert(policePlayers, player)
  2497. end
  2498. end
  2499.  
  2500. for _, player in ipairs(policePlayers) do
  2501. spawn(function()
  2502. performActions(player)
  2503. end)
  2504. end
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511. end)
  2512.  
  2513. local Button = Section:AddButton("Kill Police Team", function()
  2514. for _, player in ipairs(game.Players:GetPlayers()) do
  2515. if player ~= game.Players.LocalPlayer and player.Team and player.Team.Name == "Police" then
  2516. for x = 1, 2 do
  2517. local args = {
  2518. [1] = "FireOtherClients",
  2519. [2] = "drawLaser",
  2520. [3] = Vector3.new(0, 0, 0),
  2521. [4] = Vector3.new(0, 0, 0),
  2522. [5] = {
  2523. ["Name"] = "Head",
  2524. ["CFrame"] = player.Character.Head.CFrame,
  2525. ["Material"] = Enum.Material.ForceField,
  2526. ["Parent"] = player.Character,
  2527. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2528. ["Transparency"] = 1
  2529. }
  2530. }
  2531.  
  2532. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2533. end
  2534. end
  2535. end
  2536. end)
  2537.  
  2538. loopRunning = false
  2539.  
  2540. local Toggle = Section:AddToggle("Loop Kill Police Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2541. loopRunning = bool
  2542.  
  2543. if not loopRunning then
  2544. return
  2545. end
  2546.  
  2547. while loopRunning do
  2548. for _, player in ipairs(game.Players:GetPlayers()) do
  2549. if player.Team and player.Team.Name == "Police" and player.Character and player.Character:FindFirstChild("Head") then
  2550. for x = 1, 2 do
  2551. local args = {
  2552. [1] = "FireOtherClients",
  2553. [2] = "drawLaser",
  2554. [3] = Vector3.new(0, 0, 0),
  2555. [4] = Vector3.new(0, 0, 0),
  2556. [5] = {
  2557. ["Name"] = "Head",
  2558. ["CFrame"] = player.Character.Head.CFrame,
  2559. ["Material"] = Enum.Material.ForceField,
  2560. ["Parent"] = player.Character,
  2561. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2562. ["Transparency"] = 1
  2563. }
  2564. }
  2565.  
  2566. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2567. end
  2568. end
  2569. end
  2570. wait()
  2571. end
  2572. end)
  2573.  
  2574. isTogglesOns = false
  2575.  
  2576. local Toggle = Section:AddToggle("Delay Police Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2577. isToggleOns = bool
  2578.  
  2579. if isToggleOns then
  2580. delayOthersLoop = coroutine.wrap(function()
  2581. while isToggleOns do
  2582. local Players = game:GetService("Players")
  2583. local LocalPlayer = Players.LocalPlayer
  2584.  
  2585. for _, player in ipairs(Players:GetPlayers()) do
  2586. if player ~= LocalPlayer and player.Team and player.Team.Name == "Police" and player.Character then
  2587. local ohString1 = "resetNetworkOwnership"
  2588. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  2589. local ohBoolean3 = true
  2590.  
  2591. if ohInstance2 then
  2592. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  2593. end
  2594. end
  2595. end
  2596.  
  2597. wait()
  2598. end
  2599. end)
  2600.  
  2601. delayOthersLoop()
  2602. else
  2603. if delayOthersLoop then
  2604. delayOthersLoop = nil
  2605. end
  2606. end
  2607. end)
  2608.  
  2609. local Button = Section:AddButton("Become Police Team", function()
  2610. local args = {
  2611. "requestTeam",
  2612. "police"
  2613. }
  2614.  
  2615. workspace:WaitForChild("resources"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
  2616. end)
  2617.  
  2618. local Section = Tab:AddSection("Prisoners Team", {default = true})
  2619.  
  2620. local Button = Section:AddButton("Kick Prisoners Team", function()
  2621. local Upsilon = require(workspace.upsilonLibrary)
  2622.  
  2623. local function performActions(player)
  2624. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2625.  
  2626. local function giveRiotShield()
  2627. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2628. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2629. if v.Name == "RiotShield" then
  2630. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2631. v:Destroy()
  2632. end
  2633. end
  2634. end
  2635.  
  2636. giveRiotShield()
  2637.  
  2638. wait()
  2639.  
  2640. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2641. for x = 1, 2 do
  2642. local args = {
  2643. [1] = "FireOtherClients",
  2644. [2] = "drawLaser",
  2645. [3] = Vector3.new(0, 0, 0),
  2646. [4] = Vector3.new(0, 0, 0),
  2647. [5] = {
  2648. ["Name"] = "Head",
  2649. ["CFrame"] = player.Character.Head.CFrame,
  2650. ["Material"] = Enum.Material.ForceField,
  2651. ["Parent"] = player.Character,
  2652. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2653. ["Transparency"] = 1
  2654. }
  2655. }
  2656.  
  2657. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2658. end
  2659.  
  2660. wait()
  2661. end
  2662.  
  2663. wait(0.5)
  2664.  
  2665. local ohString2 = "reloadMe"
  2666. workspace.resources.RemoteEvent:FireServer(ohString2)
  2667.  
  2668. repeat
  2669. wait()
  2670. until player.Character and player.Character.Humanoid.Health > 0
  2671.  
  2672. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2673.  
  2674. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2675.  
  2676. ohString2 = "reloadMe"
  2677. workspace.resources.RemoteEvent:FireServer(ohString2)
  2678. end
  2679.  
  2680. local policePlayers = {}
  2681. for _, player in ipairs(game.Players:GetPlayers()) do
  2682. if player.Team and player.Team.Name == "Prisoners" then
  2683. table.insert(policePlayers, player)
  2684. end
  2685. end
  2686.  
  2687. for _, player in ipairs(policePlayers) do
  2688. spawn(function()
  2689. performActions(player)
  2690. end)
  2691. end
  2692. end)
  2693.  
  2694.  
  2695. local Button = Section:AddButton("Kill Prisoners Team", function()
  2696. for _, player in ipairs(game.Players:GetPlayers()) do
  2697. if player ~= game.Players.LocalPlayer and player.Team and player.Team.Name == "Prisoners" then
  2698. for x = 1, 2 do
  2699. local args = {
  2700. [1] = "FireOtherClients",
  2701. [2] = "drawLaser",
  2702. [3] = Vector3.new(0, 0, 0),
  2703. [4] = Vector3.new(0, 0, 0),
  2704. [5] = {
  2705. ["Name"] = "Head",
  2706. ["CFrame"] = player.Character.Head.CFrame,
  2707. ["Material"] = Enum.Material.ForceField,
  2708. ["Parent"] = player.Character,
  2709. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2710. ["Transparency"] = 1
  2711. }
  2712. }
  2713.  
  2714. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2715. end
  2716. end
  2717. end
  2718. end)
  2719.  
  2720. loopRunning = false
  2721.  
  2722. local Toggle = Section:AddToggle("Loop Kill Prisoners Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2723. loopRunning = bool
  2724.  
  2725. if not loopRunning then
  2726. return
  2727. end
  2728.  
  2729. while loopRunning do
  2730. for _, player in ipairs(game.Players:GetPlayers()) do
  2731. if player.Team and player.Team.Name == "Prisoners" and player.Character and player.Character:FindFirstChild("Head") then
  2732. for x = 1, 2 do
  2733. local args = {
  2734. [1] = "FireOtherClients",
  2735. [2] = "drawLaser",
  2736. [3] = Vector3.new(0, 0, 0),
  2737. [4] = Vector3.new(0, 0, 0),
  2738. [5] = {
  2739. ["Name"] = "Head",
  2740. ["CFrame"] = player.Character.Head.CFrame,
  2741. ["Material"] = Enum.Material.ForceField,
  2742. ["Parent"] = player.Character,
  2743. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2744. ["Transparency"] = 1
  2745. }
  2746. }
  2747.  
  2748. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2749. end
  2750. end
  2751. end
  2752. wait()
  2753. end
  2754. end)
  2755.  
  2756. isTogglesOns = false
  2757.  
  2758. local Toggle = Section:AddToggle("Delay Prisoners Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2759. isToggleOns = bool
  2760.  
  2761. if isToggleOns then
  2762. delayOthersLoop = coroutine.wrap(function()
  2763. while isToggleOns do
  2764. local Players = game:GetService("Players")
  2765. local LocalPlayer = Players.LocalPlayer
  2766.  
  2767. for _, player in ipairs(Players:GetPlayers()) do
  2768. if player ~= LocalPlayer and player.Team and player.Team.Name == "Prisoners" and player.Character then
  2769. local ohString1 = "resetNetworkOwnership"
  2770. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  2771. local ohBoolean3 = true
  2772.  
  2773. if ohInstance2 then
  2774. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  2775. end
  2776. end
  2777. end
  2778.  
  2779. wait()
  2780. end
  2781. end)
  2782.  
  2783. delayOthersLoop()
  2784. else
  2785. if delayOthersLoop then
  2786. delayOthersLoop = nil
  2787. end
  2788. end
  2789. end)
  2790.  
  2791. local Button = Section:AddButton("Become Prisoners Team", function()
  2792. local args = {
  2793. "requestTeam",
  2794. "prisoners"
  2795. }
  2796.  
  2797. workspace:WaitForChild("resources"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args))
  2798. end)
  2799.  
  2800. local Section = Tab:AddSection("Fugitives Team", {default = true})
  2801.  
  2802. local Button = Section:AddButton("Kick Fugitives Team", function()
  2803. local Upsilon = require(workspace.upsilonLibrary)
  2804.  
  2805. local function performActions(player)
  2806. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2807.  
  2808. local function giveRiotShield()
  2809. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  2810. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2811. if v.Name == "RiotShield" then
  2812. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  2813. v:Destroy()
  2814. end
  2815. end
  2816. end
  2817.  
  2818. giveRiotShield()
  2819.  
  2820. wait()
  2821.  
  2822. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  2823. for x = 1, 2 do
  2824. local args = {
  2825. [1] = "FireOtherClients",
  2826. [2] = "drawLaser",
  2827. [3] = Vector3.new(0, 0, 0),
  2828. [4] = Vector3.new(0, 0, 0),
  2829. [5] = {
  2830. ["Name"] = "Head",
  2831. ["CFrame"] = player.Character.Head.CFrame,
  2832. ["Material"] = Enum.Material.ForceField,
  2833. ["Parent"] = player.Character,
  2834. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2835. ["Transparency"] = 1
  2836. }
  2837. }
  2838.  
  2839. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2840. end
  2841.  
  2842. wait()
  2843. end
  2844.  
  2845. wait(0.5)
  2846.  
  2847. local ohString2 = "reloadMe"
  2848. workspace.resources.RemoteEvent:FireServer(ohString2)
  2849.  
  2850. repeat
  2851. wait()
  2852. until player.Character and player.Character.Humanoid.Health > 0
  2853.  
  2854. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  2855.  
  2856. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  2857.  
  2858. ohString2 = "reloadMe"
  2859. workspace.resources.RemoteEvent:FireServer(ohString2)
  2860. end
  2861.  
  2862. local policePlayers = {}
  2863. for _, player in ipairs(game.Players:GetPlayers()) do
  2864. if player.Team and player.Team.Name == "Fugitives" then
  2865. table.insert(policePlayers, player)
  2866. end
  2867. end
  2868.  
  2869. for _, player in ipairs(policePlayers) do
  2870. spawn(function()
  2871. performActions(player)
  2872. end)
  2873. end
  2874. end)
  2875.  
  2876. local Button = Section:AddButton("Kill Fugitives Team", function()
  2877. for _, player in ipairs(game.Players:GetPlayers()) do
  2878. if player ~= game.Players.LocalPlayer and player.Team and player.Team.Name == "Fugitives" then
  2879. for x = 1, 2 do
  2880. local args = {
  2881. [1] = "FireOtherClients",
  2882. [2] = "drawLaser",
  2883. [3] = Vector3.new(0, 0, 0),
  2884. [4] = Vector3.new(0, 0, 0),
  2885. [5] = {
  2886. ["Name"] = "Head",
  2887. ["CFrame"] = player.Character.Head.CFrame,
  2888. ["Material"] = Enum.Material.ForceField,
  2889. ["Parent"] = player.Character,
  2890. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2891. ["Transparency"] = 1
  2892. }
  2893. }
  2894.  
  2895. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2896. end
  2897. end
  2898. end
  2899. end)
  2900.  
  2901. loopRunning = false
  2902.  
  2903. local Toggle = Section:AddToggle("Loop Kill Fugitives Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2904. loopRunning = bool
  2905.  
  2906. if not loopRunning then
  2907. return
  2908. end
  2909.  
  2910. while loopRunning do
  2911. for _, player in ipairs(game.Players:GetPlayers()) do
  2912. if player.Team and player.Team.Name == "Fugitives" and player.Character and player.Character:FindFirstChild("Head") then
  2913. for x = 1, 2 do
  2914. local args = {
  2915. [1] = "FireOtherClients",
  2916. [2] = "drawLaser",
  2917. [3] = Vector3.new(0, 0, 0),
  2918. [4] = Vector3.new(0, 0, 0),
  2919. [5] = {
  2920. ["Name"] = "Head",
  2921. ["CFrame"] = player.Character.Head.CFrame,
  2922. ["Material"] = Enum.Material.ForceField,
  2923. ["Parent"] = player.Character,
  2924. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  2925. ["Transparency"] = 1
  2926. }
  2927. }
  2928.  
  2929. workspace.resources.RemoteEvent:FireServer(unpack(args))
  2930. end
  2931. end
  2932. end
  2933. wait()
  2934. end
  2935. end)
  2936.  
  2937. isToggleOns = false
  2938.  
  2939. local Toggle = Section:AddToggle("Delay Fugitives Team", {flag = "Toggle_Flag", default = false}, function(bool)
  2940. isToggleOns = bool
  2941.  
  2942. if isToggleOns then
  2943. delayOthersLoop = coroutine.wrap(function()
  2944. while isToggleOns do
  2945. local Players = game:GetService("Players")
  2946. local LocalPlayer = Players.LocalPlayer
  2947.  
  2948. for _, player in ipairs(Players:GetPlayers()) do
  2949. if player ~= LocalPlayer and player.Team and player.Team.Name == "Fugitives" and player.Character then
  2950. local ohString1 = "resetNetworkOwnership"
  2951. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  2952. local ohBoolean3 = true
  2953.  
  2954. if ohInstance2 then
  2955. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  2956. end
  2957. end
  2958. end
  2959.  
  2960. wait()
  2961. end
  2962. end)
  2963.  
  2964. delayOthersLoop()
  2965. else
  2966. if delayOthersLoop then
  2967. delayOthersLoop = nil
  2968. end
  2969. end
  2970. end)
  2971.  
  2972. local Button = Section:AddButton("Become Fugitives Team", function()
  2973. local targetPosition = CFrame.new(-600.986267, -25.5423031, -322.000061)
  2974. local originalPosition = nil
  2975. local originalCameraCFrame = nil
  2976. local originalCameraFocus = nil
  2977.  
  2978. local player = game.Players.LocalPlayer
  2979. local camera = game.Workspace.CurrentCamera
  2980.  
  2981. local function teleportPlayer()
  2982. if player.Character then
  2983. local humanoidRootPart = player.Character:FindFirstChild("HumanoidRootPart")
  2984.  
  2985. if humanoidRootPart then
  2986. if not originalPosition then
  2987. originalPosition = humanoidRootPart.CFrame
  2988. end
  2989.  
  2990. originalCameraCFrame = camera.CFrame
  2991. originalCameraFocus = camera.Focus
  2992. humanoidRootPart.CFrame = targetPosition
  2993. end
  2994. end
  2995. end
  2996.  
  2997. teleportPlayer()
  2998.  
  2999. wait()
  3000.  
  3001. if originalPosition then
  3002. player.Character.HumanoidRootPart.CFrame = originalPosition
  3003. camera.CFrame = originalCameraCFrame
  3004. camera.Focus = originalCameraFocus
  3005. end
  3006. end)
  3007.  
  3008. local Section = Tab:AddSection("Choosing Team", {default = true})
  3009.  
  3010. local Button = Section:AddButton("Kick Choosing Team", function()
  3011. local Upsilon = require(workspace.upsilonLibrary)
  3012.  
  3013. local function performActions(player)
  3014. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  3015.  
  3016. local function giveRiotShield()
  3017. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace["robber spawn"])
  3018. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  3019. if v.Name == "RiotShield" then
  3020. game.Players.LocalPlayer.Character["Left Arm"].Weld:Destroy()
  3021. v:Destroy()
  3022. end
  3023. end
  3024. end
  3025.  
  3026. giveRiotShield()
  3027.  
  3028. wait()
  3029.  
  3030. while player.Character and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 do
  3031. for x = 1, 2 do
  3032. local args = {
  3033. [1] = "FireOtherClients",
  3034. [2] = "drawLaser",
  3035. [3] = Vector3.new(0, 0, 0),
  3036. [4] = Vector3.new(0, 0, 0),
  3037. [5] = {
  3038. ["Name"] = "Head",
  3039. ["CFrame"] = player.Character.Head.CFrame,
  3040. ["Material"] = Enum.Material.ForceField,
  3041. ["Parent"] = player.Character,
  3042. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  3043. ["Transparency"] = 1
  3044. }
  3045. }
  3046.  
  3047. workspace.resources.RemoteEvent:FireServer(unpack(args))
  3048. end
  3049.  
  3050. wait()
  3051. end
  3052.  
  3053. wait(0.5)
  3054.  
  3055. local ohString2 = "reloadMe"
  3056. workspace.resources.RemoteEvent:FireServer(ohString2)
  3057.  
  3058. repeat
  3059. wait()
  3060. until player.Character and player.Character.Humanoid.Health > 0
  3061.  
  3062. Upsilon.InvokeServer("giveRiotShield", player.Character.HumanoidRootPart)
  3063.  
  3064. workspace.resources.RemoteFunction:InvokeServer("giveRiotShield", workspace.ignore.invisibleWalls:FindFirstChild("armoryBarrier_Cheaters"))
  3065.  
  3066. ohString2 = "reloadMe"
  3067. workspace.resources.RemoteEvent:FireServer(ohString2)
  3068. end
  3069.  
  3070. local policePlayers = {}
  3071. for _, player in ipairs(game.Players:GetPlayers()) do
  3072. if player.Team and player.Team.Name == "Choosing" then
  3073. table.insert(policePlayers, player)
  3074. end
  3075. end
  3076.  
  3077. for _, player in ipairs(policePlayers) do
  3078. spawn(function()
  3079. performActions(player)
  3080. end)
  3081. end
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088. end)
  3089.  
  3090. local Button = Section:AddButton("Kill Choosing Team", function()
  3091. for _, player in ipairs(game.Players:GetPlayers()) do
  3092. if player ~= game.Players.LocalPlayer and player.Team and player.Team.Name == "Choosing" then
  3093. for x = 1, 2 do
  3094. local args = {
  3095. [1] = "FireOtherClients",
  3096. [2] = "drawLaser",
  3097. [3] = Vector3.new(0, 0, 0),
  3098. [4] = Vector3.new(0, 0, 0),
  3099. [5] = {
  3100. ["Name"] = "Head",
  3101. ["CFrame"] = player.Character.Head.CFrame,
  3102. ["Material"] = Enum.Material.ForceField,
  3103. ["Parent"] = player.Character,
  3104. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  3105. ["Transparency"] = 1
  3106. }
  3107. }
  3108.  
  3109. workspace.resources.RemoteEvent:FireServer(unpack(args))
  3110. end
  3111. end
  3112. end
  3113. end)
  3114.  
  3115. loopRunning = false
  3116.  
  3117. local Toggle = Section:AddToggle("Loop Kill Choosing Team", {flag = "Toggle_Flag", default = false}, function(bool)
  3118. loopRunning = bool
  3119.  
  3120. if not loopRunning then
  3121. return
  3122. end
  3123.  
  3124. while loopRunning do
  3125. for _, player in ipairs(game.Players:GetPlayers()) do
  3126. if player.Team and player.Team.Name == "Choosing" and player.Character and player.Character:FindFirstChild("Head") then
  3127. for x = 1, 2 do
  3128. local args = {
  3129. [1] = "FireOtherClients",
  3130. [2] = "drawLaser",
  3131. [3] = Vector3.new(0, 0, 0),
  3132. [4] = Vector3.new(0, 0, 0),
  3133. [5] = {
  3134. ["Name"] = "Head",
  3135. ["CFrame"] = player.Character.Head.CFrame,
  3136. ["Material"] = Enum.Material.ForceField,
  3137. ["Parent"] = player.Character,
  3138. ["Size"] = Vector3.new(0.001, 0.001, 0.001),
  3139. ["Transparency"] = 1
  3140. }
  3141. }
  3142.  
  3143. workspace.resources.RemoteEvent:FireServer(unpack(args))
  3144. end
  3145. end
  3146. end
  3147. wait()
  3148. end
  3149. end)
  3150.  
  3151. isToggleOns = false
  3152.  
  3153. local Toggle = Section:AddToggle("Delay Choosing Team", {flag = "Toggle_Flag", default = false}, function(bool)
  3154. isToggleOns = bool
  3155.  
  3156. if isToggleOns then
  3157. delayOthersLoop = coroutine.wrap(function()
  3158. while isToggleOns do
  3159. local Players = game:GetService("Players")
  3160. local LocalPlayer = Players.LocalPlayer
  3161.  
  3162. for _, player in ipairs(Players:GetPlayers()) do
  3163. if player ~= LocalPlayer and player.Team and player.Team.Name == "Choosing" and player.Character then
  3164. local ohString1 = "resetNetworkOwnership"
  3165. local ohInstance2 = player.Character:FindFirstChild("HumanoidRootPart")
  3166. local ohBoolean3 = true
  3167.  
  3168. if ohInstance2 then
  3169. workspace.resources.RemoteEvent:FireServer(ohString1, ohInstance2, ohBoolean3)
  3170. end
  3171. end
  3172. end
  3173.  
  3174. wait()
  3175. end
  3176. end)
  3177.  
  3178. delayOthersLoop()
  3179. else
  3180. if delayOthersLoop then
  3181. delayOthersLoop = nil
  3182. end
  3183. end
  3184. end)
  3185.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement