0% found this document useful (0 votes)
955 views50 pages

Tha Bronx 3 Script

The document is a Lua script for a game that utilizes the Rayfield library to create a custom GUI with various functionalities, including teleportation and item duplication. It defines a custom theme for the GUI and includes buttons for exploits such as infinite money and auto-buying supplies. The script also implements drag-and-drop functionality for the GUI elements and manages user interactions with notifications and cooldowns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
955 views50 pages

Tha Bronx 3 Script

The document is a Lua script for a game that utilizes the Rayfield library to create a custom GUI with various functionalities, including teleportation and item duplication. It defines a custom theme for the GUI and includes buttons for exploits such as infinite money and auto-buying supplies. The script also implements drag-and-drop functionality for the GUI elements and manages user interactions with notifications and cooldowns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local Rayfield = loadstring(game:HttpGet('https://sirius.

menu/rayfield'))()
local executor = identifyexecutor and identifyexecutor() or "Unknown Executor"

local customTheme = {
TextColor = Color3.fromRGB(255, 255, 255),
Background = Color3.fromRGB(15, 15, 15),
Topbar = Color3.fromRGB(15, 15, 15),
Shadow = Color3.fromRGB(255, 255, 255),
NotificationBackground = Color3.fromRGB(15, 15, 15),
NotificationTextColor = Color3.fromRGB(255, 255, 255),
NotificationActionsBackground = Color3.fromRGB(35, 0, 70),
TabBackground = Color3.fromRGB(15, 15, 15),
TabStroke = Color3.fromRGB(15, 15, 15),
TabBackgroundSelected = Color3.fromRGB(15, 15, 15),
TabTextColor = Color3.fromRGB(149, 149, 149),
SelectedTabTextColor = Color3.fromRGB(255, 255, 255),
ElementBackground = Color3.fromRGB(15, 15, 15),
ElementBackgroundHover = Color3.fromRGB(15, 15, 15),
SecondaryElementBackground = Color3.fromRGB(15, 15, 15),
ElementStroke = Color3.fromRGB(77, 251, 16),
SecondaryElementStroke = Color3.fromRGB(77, 251, 16),
SliderBackground = Color3.fromRGB(255, 255, 255),
SliderProgress = Color3.fromRGB(77, 251, 16),
SliderStroke = Color3.fromRGB(77, 251, 16),
ToggleBackground = Color3.fromRGB(15, 15, 15),
ToggleEnabled = Color3.fromRGB(77, 251, 16),
ToggleDisabled = Color3.fromRGB(255, 255, 255),
ToggleEnabledStroke = Color3.fromRGB(77, 251, 16),
ToggleDisabledStroke = Color3.fromRGB(15, 15, 15),
ToggleEnabledOuterStroke = Color3.fromRGB(255, 255, 255),
ToggleDisabledOuterStroke = Color3.fromRGB(255, 255, 255),
DropdownSelected = Color3.fromRGB(15, 15, 15),
DropdownUnselected = Color3.fromRGB(15, 15, 15),
InputBackground = Color3.fromRGB(15, 15, 15),
InputStroke = Color3.fromRGB(77, 251, 16),
}

local Window = Rayfield:CreateWindow({


Name = "X-DK V3 | The Bronx | " .. executor,
Icon = 112029241653427,
LoadingTitle = "",
LoadingSubtitle = "",
Theme = customTheme,
DisableRayfieldPrompts = false,
DisableBuildWarnings = false,
ConfigurationSaving = {
Enabled = false,
FolderName = "GreenBlackThemeHub",
FileName = "BigHub"
},
Discord = {
Enabled = false,
Invite = "",
RememberJoins = true
},
KeySystem = false,
KeySettings = {
Title = "",
Subtitle = "Authentication Required",
Note = "Get your key at: discord.gg/dkshub",
FileName = "jc_hub_key",
SaveKey = true,
GrabKeyFromSite = false,
Key = { "" },
Theme = customTheme
}
})

uis = game:GetService("UserInputService")
TweenService = game:GetService("TweenService")

existingGui = game.CoreGui:FindFirstChild("CustomScreenGui")
if existingGui then
existingGui:Destroy()
end

ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "CustomScreenGui"
Frame = Instance.new("Frame")
TextButton = Instance.new("TextButton")

ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(1, -120, 0, 30)
Frame.Size = UDim2.new(0, 60, 0, 60)

imageLabel = Instance.new("ImageLabel")
imageLabel.Parent = Frame
imageLabel.Size = UDim2.new(1, 0, 1, 0)
imageLabel.Position = UDim2.new(0, 0, 0, 0)
imageLabel.Image = "rbxassetid://112029241653427"
imageLabel.BackgroundTransparency = 1

TextButton.Parent = imageLabel
TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton.BackgroundTransparency = 1.000
TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton.BorderSizePixel = 0
TextButton.Size = UDim2.new(1, 0, 1, 0)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = ""
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextSize = 27

function createTextShadow(button)
shadowOffset = 2
shadowLabel = Instance.new("TextLabel", Frame)
shadowLabel.Size = button.Size
shadowLabel.Position = button.Position + UDim2.new(0, shadowOffset, 0,
shadowOffset)
shadowLabel.Text = button.Text
shadowLabel.TextScaled = button.TextScaled
shadowLabel.Font = button.Font
shadowLabel.BackgroundTransparency = 1
shadowLabel.TextSize = button.TextSize
shadowLabel.TextTransparency = 0.5
end

createTextShadow(TextButton)

glowStroke = Instance.new("UIStroke", Frame)


glowStroke.Thickness = 3
glowStroke.Transparency = 0.8
glowStroke.Color = Color3.fromRGB(77, 251, 16, 255)

gradient = Instance.new("UIGradient", glowStroke)


gradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0, Color3.fromRGB(77, 251, 16, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 20, 147))
}
gradient.Rotation = 45

tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)


tweenShowFrame = TweenService:Create(Frame, tweenInfo, { Position = UDim2.new(0.5,
0, 0.3, 0) })

function createGlowEffect(stroke)
glowTweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine,
Enum.EasingDirection.InOut, -1, true)
tween = TweenService:Create(stroke, glowTweenInfo, { Transparency = 0.1,
Thickness = 5 })
tween:Play()
end

createGlowEffect(glowStroke)

TextButton.MouseButton1Click:Connect(function()
Rayfield:SetVisibility(not Rayfield:IsVisible())
end)

function makeDraggable(frame)
dragging = nil
dragStart = nil
startPos = nil
lastInputChangedConnection = nil

function beginDrag(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position

if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
end

lastInputChangedConnection =
uis.InputChanged:Connect(function(newInput)
if newInput.UserInputType == Enum.UserInputType.MouseMovement or
newInput.UserInputType == Enum.UserInputType.Touch then
delta = newInput.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
end
end)
end
end

function endDrag(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch then
dragging = false
if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
lastInputChangedConnection = nil
end
end
end

frame.InputBegan:Connect(beginDrag)
frame.InputEnded:Connect(endDrag)

for _, child in ipairs(frame:GetDescendants()) do


if child:IsA("GuiObject") then
child.InputBegan:Connect(beginDrag)
child.InputEnded:Connect(endDrag)
end
end

uis.InputEnded:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch) then
dragging = false
if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
lastInputChangedConnection = nil
end
end
end)
end

makeDraggable(Frame)

local MainTab = Window:CreateTab("Main", "box") -- Title, Image


MainTab:CreateSection("Exploits")

MainTab:CreateButton({
Name = "Infinite Illegal Money",
Callback = function()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")
local originalPos = hrp.Position

local function teleportTo(x, y, z)


humanoid:ChangeState(0)
repeat task.wait() until not player:GetAttribute("LastACPos")
hrp.CFrame = CFrame.new(x, y, z)
humanoid.PlatformStand = false
hrp.Velocity = Vector3.new(0, 0, 0)
hrp.RotVelocity = Vector3.new(0, 0, 0)
end

local sellPart = workspace:FindFirstChild("IceFruit Sell")


local sellPrompt = sellPart and
sellPart:FindFirstChildWhichIsA("ProximityPrompt")

if not sellPrompt then


warn("ProximityPrompt not found on sell part.")
return
end

task.wait(0.5)
teleportTo(-48, 287, -338)
task.wait(1)

local success, err = pcall(function()


for _ = 1, 1200 do
fireproximityprompt(sellPrompt, 0)
end
end)

if not success then


warn("Proximity prompt interaction failed:", err)
end

task.wait(1)
teleportTo(originalPos.X, originalPos.Y, originalPos.Z)
end
})

local SharedStorage = game.ReplicatedStorage

local function InvokeServer(Remote, ...)


return Remote:InvokeServer(...)
end

local function FindItem(Item)


return game.Players.LocalPlayer.Backpack:FindFirstChild(Item) or
game.Players.LocalPlayer.Character:FindFirstChild(Item)
end

local function AutoBuySupplies()


local Items = {
"Ice-Fruit Bag",
"Ice-Fruit Cupz",
"FijiWater",
"FreshWater",
}

for _, item in ipairs(Items) do


local ItemStock = SharedStorage.ExoticStock:FindFirstChild(item)
if not ItemStock or ItemStock.Value == 0 then
warn("Item out of stock:", item)
return false
end
end

for _, item in ipairs(Items) do


InvokeServer(SharedStorage.ExoticShopRemote, item)
task.wait(1.25)
end

for _, item in ipairs(Items) do


if not FindItem(item) then
warn("Failed to acquire:", item)
return false
end
end

return true
end

MainTab:CreateButton({
Name = "Buy Ice-Fruitz-Itemz",
Callback = function()
local success = AutoBuySupplies()
if success then
print("Success")
else
warn("Out of stock")
end
end,
})

local Divider = MainTab:CreateDivider()

local Cooldown = false

MainTab:CreateButton({
Name = "Duplicate Item",
Callback = function()
task.spawn(function()
if Cooldown then
Rayfield:Notify({
Title = "bronx.lol",
Content = "Please wait!",
Duration = 5
})
return
end

Cooldown = true

local Players = game:GetService("Players")


local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Player = Players.LocalPlayer


local Backpack = Player.Backpack
local Tool = Player.Character and
Player.Character:FindFirstChildOfClass("Tool")

if not Tool then


Rayfield:Notify({
Title = "Error!",
Content = "No tool Equipped!",
Duration = 10
})
Cooldown = false
return
end

Player.Character.Humanoid:UnequipTools()

local ToolName = Tool.Name


local ToolId

local Connection =
ReplicatedStorage.MarketItems.ChildAdded:Connect(function(item)
if item.Name == ToolName then
if item:WaitForChild("owner").Value == Player.Name then
ToolId = item:GetAttribute("SpecialId")
end
end
end)

spawn(function()
ReplicatedStorage.ListWeaponRemote:FireServer(ToolName, 99999)
end)

task.wait(0.26)

spawn(function()
ReplicatedStorage.BackpackRemote:InvokeServer("Store", ToolName)
end)

task.wait(3)

spawn(function()
ReplicatedStorage.BuyItemRemote:FireServer(ToolName, "Remove",
ToolId)
end)

spawn(function()
ReplicatedStorage.BackpackRemote:InvokeServer("Grab", ToolName)
end)

Connection:Disconnect()
task.wait(1)

Rayfield:Notify({
Title = "Success!",
Content = "Duplication Success!",
Duration = 5
})

Cooldown = false
end)
end
})

MainTab:CreateSection("Teleportation")
local teleportLocations = {
{ Name = "🧥 Dripstore", Position = Vector3.new(67459, 10489,
551) },
{ Name = "🏦 Bank", Position = Vector3.new(-204, 284, -1223) },
{ Name = "🧊 Ice Box", Position = Vector3.new(-193, 284, -1169) },
{ Name = "🏦🔧 Bank tools / Roof", Position = Vector3.new(-384, 340, -557)
},
{ Name = "🇯🇲 Jamaican Food", Position = Vector3.new(-670, 254, -810)
},
{ Name = "🥪 Deli and Grill", Position = Vector3.new(-746, 254, -906) },
{ Name = "🍗 Chicken and Wings", Position = Vector3.new(964, 254, -813) },
{ Name = "🔫 Gunstore [1]", Position = Vector3.new(-1003, 254, -817) },
{ Name = "🔫 Gunstore [2]", Position = Vector3.new(-202, 284, -798) },
{ Name = "🔫 Gunstore [3]", Position = Vector3.new(72425, 128856, -
1082) },
{ Name = "🔫 Gunstore [4]", Position = Vector3.new(60822, 87609, -
352) },
{ Name = "💰 Pawnshop", Position = Vector3.new(-1051, 254, -815) },
{ Name = "🧺 Laundermat", Position = Vector3.new(-990, 254, -686) },
{ Name = "🎒 Backpack", Position = Vector3.new(-670, 254, -681) },
{ Name = "🧿 Tattoo", Position = Vector3.new(-637, 254, -591) },
{ Name = "🍲 Penthouse Cook Pot", Position = Vector3.new(-614, 356, -683) },
{ Name = "🏢 New Penthouse", Position = Vector3.new(-597, 356, -714) },
{ Name = "🏚️ Old Penthouse", Position = Vector3.new(-124, 417, -
575) },
{ Name = "💵 Dollar Central", Position = Vector3.new(-389, 254, -1082) },
{ Name = "🚗 Dealership", Position = Vector3.new(-389, 253, -1232) },
{ Name = "🍔 McDonald's", Position = Vector3.new(-999, 254, -1134) },
}

local player = game.Players.LocalPlayer

local function teleport(x, y, z)


local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")

humanoid:ChangeState(0)
repeat task.wait() until not player:GetAttribute("LastACPos")
hrp.CFrame = CFrame.new(x, y, z)
end

local selectedTeleport = teleportLocations[1]


local locationNames = {}

for _, location in ipairs(teleportLocations) do


table.insert(locationNames, location.Name)
end

MainTab:CreateDropdown({
Name = "Select Locations",
Options = locationNames,
CurrentOption = { locationNames[1] },
MultipleOptions = false,
Flag = "TeleportDropdown",
Callback = function(option)
for _, location in ipairs(teleportLocations) do
if location.Name == option[1] then
selectedTeleport = location
break
end
end
end
})

MainTab:CreateButton({
Name = "Teleport to Selected Location",
Callback = function()
if selectedTeleport then
teleport(selectedTeleport.Position.X, selectedTeleport.Position.Y,
selectedTeleport.Position.Z)
end
end
})

local AutofarmTab = Window:CreateTab("Autofarm", "clock-4")


AutofarmTab:CreateSection("User Info")

local RunTimeLabel = AutofarmTab:CreateLabel("Run Time: 0s")


local CashEarnedLabel = AutofarmTab:CreateLabel("Cash Earned: $0")
local CashPerHourLabel = AutofarmTab:CreateLabel("Cash Per Hour: $0")

local startTime = nil


local startCash = 0
local farmingActive = false

local function formatTime(seconds)


local hrs = math.floor(seconds / 3600)
local mins = math.floor((seconds % 3600) / 60)
local secs = math.floor(seconds % 60)
return string.format("%02d:%02d:%02d", hrs, mins, secs)
end

local function updateEarnings()


local player = game:GetService("Players").LocalPlayer
local cashValue = player:WaitForChild("Stored"):WaitForChild("Mooney")

while farmingActive do
task.wait(1)
if startTime and cashValue then
local elapsed = os.time() - startTime
local earned = cashValue.Value - startCash

RunTimeLabel:Set("Run Time: " .. formatTime(elapsed))


CashEarnedLabel:Set("Cash Earned: $" .. tostring(earned))

local perHour = 0
if elapsed > 0 then
perHour = math.floor((earned / elapsed) * 3600)
end
CashPerHourLabel:Set("Cash Per Hour: $" .. tostring(perHour))
end
end
end

local function startTracking()


local player = game:GetService("Players").LocalPlayer
local cashValue = player:WaitForChild("Stored"):WaitForChild("Mooney")

startTime = os.time()
startCash = cashValue.Value
farmingActive = true
task.spawn(updateEarnings)
end

local function stopTracking()


farmingActive = false
end

local function hookToggle(flag)


Rayfield.Flags[flag]:OnChanged(function(value)
if value then
if not farmingActive then
startTracking()
end
else

if not (Rayfield.Flags.RobStudioToggle.CurrentValue
or Rayfield.Flags.LootTrashToggle.CurrentValue
or Rayfield.Flags.ConstructionFarmFlag.CurrentValue
or Rayfield.Flags.RobHouseToggle.CurrentValue
or Rayfield.Flags.AutoRobToggle.CurrentValue) then
stopTracking()
end
end
end)
end

hookToggle("RobStudioToggle")
hookToggle("LootTrashToggle")
hookToggle("ConstructionFarmFlag")
hookToggle("RobHouseToggle")
hookToggle("AutoRobToggle")

AutofarmTab:CreateSection("Farming - Utility")

local camera = workspace.CurrentCamera

function stuidoprompt()
for _, v in pairs(workspace.StudioPay.Money:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "Prompt" then
v.HoldDuration = 0
v.RequiresLineOfSight = false
end
end
end

AutofarmTab:CreateToggle({
Name = "Enable Studio Autofarm",
CurrentValue = false,
Flag = "RobStudioToggle",
Callback = function(Value)
local robstudio = Value
if robstudio then
local player = game.Players.LocalPlayer
local root = player.Character and
player.Character:FindFirstChild("HumanoidRootPart")
local humanoid = player.Character and
player.Character:FindFirstChild("Humanoid")
if not root or not humanoid then return end

local originalCFrame = root.CFrame


stuidoprompt()

for _, v in pairs(workspace.StudioPay.Money:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "Prompt" and v.Enabled
then
humanoid:ChangeState(0)
repeat task.wait() until not player:GetAttribute("LastACPos")

root.CFrame = CFrame.new(
v.Parent.Position.X,
v.Parent.Position.Y + 2,
v.Parent.Position.Z
)

camera.CFrame = CFrame.new(camera.CFrame.Position,
v.Parent.Position)
task.wait(0.25)

repeat
task.wait(0.3)
fireproximityprompt(v)
until v.Enabled == false or not robstudio

if not robstudio then break end


end
end

if robstudio then
root.CFrame = originalCFrame
end
end
end
})

local player = game.Players.LocalPlayer

function teleport(x, y, z)
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")

humanoid:ChangeState(0)
repeat task.wait() until not player:GetAttribute("LastACPos")
root.CFrame = CFrame.new(x, y, z)
end

AutofarmTab:CreateToggle({
Name = "Enable Dumpster Autofarm",
CurrentValue = false,
Flag = "LootTrashToggle",
Callback = function(Value)
getgenv().loottrash = Value
if Value then
for _, v in pairs(workspace:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt" and
v.Parent.Name == "DumpsterPromt" then
v.HoldDuration = 0
v.RequiresLineOfSight = false
end
end

task.spawn(function()
while getgenv().loottrash do
task.wait()
for _, v in pairs(workspace:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt"
and v.Parent.Name == "DumpsterPromt" then
local hrp = player.Character and
player.Character:FindFirstChild("HumanoidRootPart")
if hrp then
teleport(v.Parent.Position.X, v.Parent.Position.Y,
v.Parent.Position.Z + 3)
end
workspace.CurrentCamera.CFrame =
CFrame.new(workspace.CurrentCamera.CFrame.Position,
v.Parent.Position)
task.wait(0.3)
for _ = 1, 10 do fireproximityprompt(v) end
task.wait(0.1)
if not getgenv().loottrash then break end
end
end
end
end)
end
end
})

local autofarmRunning = false


local Players = game:GetService("Players")
local speaker = Players.LocalPlayer

local function getCharacter()


return speaker.Character or speaker.CharacterAdded:Wait()
end

local function safeTeleport(cf)


local character = getCharacter()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")
humanoid:ChangeState(0)
repeat task.wait() until not speaker:GetAttribute("LastACPos")
hrp.CFrame = cf
end

local function fireProximityPrompt(prompt)


if prompt and prompt:IsA("ProximityPrompt") then
fireproximityprompt(prompt)
end
end

local function startJob()


safeTeleport(CFrame.new(-1728, 371, -1172))
task.wait(0.2)
fireProximityPrompt(workspace.ConstructionStuff["Start
Job"]:FindFirstChildOfClass("ProximityPrompt"))
task.wait(0.5)
end

local function endJob()


safeTeleport(CFrame.new(-1728, 371, -1172))
task.wait(0.2)
fireProximityPrompt(workspace.ConstructionStuff["End
Job"]:FindFirstChildOfClass("ProximityPrompt"))
task.wait(0.5)
end

AutofarmTab:CreateToggle({
Name = "Enable Construction Autofarm",
CurrentValue = false,
Flag = "ConstructionFarmFlag",
Callback = function(Value)
autofarmRunning = Value
if not speaker then return end

local function getBackpack()


return speaker:FindFirstChild("Backpack")
end

local function hasPlyWood()


local backpack = getBackpack()
local character = getCharacter()
return (backpack and backpack:FindFirstChild("PlyWood")) or
(character and character:FindFirstChild("PlyWood"))
end

local function equipPlyWood()


local backpack = getBackpack()
if backpack then
local plyWood = backpack:FindFirstChild("PlyWood")
if plyWood then
plyWood.Parent = getCharacter()
end
end
end

local function grabWood()


safeTeleport(CFrame.new(-1727, 371, -1178))
task.wait(0.1)

while autofarmRunning and not hasPlyWood() do


fireProximityPrompt(workspace.ConstructionStuff["Grab
Wood"]:FindFirstChildOfClass("ProximityPrompt"))
task.wait(0.1)
equipPlyWood()
end
end
local function buildWall(wallPromptName, wallPosition)
local prompt =
workspace.ConstructionStuff[wallPromptName]:FindFirstChildOfClass("ProximityPrompt"
)

while autofarmRunning and prompt and prompt.Enabled do


safeTeleport(wallPosition)
task.wait(0.01)
fireProximityPrompt(prompt)
task.wait()
if not hasPlyWood() then
grabWood()
end
end
end

if autofarmRunning then
startJob()
task.spawn(function()
while autofarmRunning do
if not hasPlyWood() then
grabWood()
end

buildWall("Wall2 Prompt", CFrame.new(-1705, 368, -1151))


buildWall("Wall3 Prompt", CFrame.new(-1732, 368, -1152))
buildWall("Wall4 Prompt2", CFrame.new(-1772, 368, -1152))
buildWall("Wall1 Prompt3", CFrame.new(-1674, 368, -1166))

task.wait(0.1)
end
end)
else
endJob()
end
end
})

local Players = game:GetService("Players")


local player = Players.LocalPlayer
local Camera = workspace.CurrentCamera

function BypassTp(cf)
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local root = char:WaitForChild("HumanoidRootPart")

humanoid:ChangeState(0)
repeat task.wait() until not player:GetAttribute("LastACPos")
root.CFrame = cf
end

local Houseleft = {}
local Houseright = {}

local targetPosition = Vector3.new(-615, 254, -695)

function updateDoors()
table.clear(Houseleft)
table.clear(Houseright)

for _, v in pairs(workspace.HouseRobb:GetDescendants()) do
if (v.Name == "WoodenDoor" or v.Name == "HardDoor") and v:IsA("BasePart")
and v:FindFirstChild("ProximityPrompt") then
if (v.Position - targetPosition).Magnitude <= 10 then
Houseright[v.Name] = v
else
Houseleft[v.Name] = v
end
end
end
end

function HouseRobPrompts()
for _, v in pairs(workspace.HouseRobb:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt" then
v.HoldDuration = 0
v.RequiresLineOfSight = false
v.Enabled = false
end
end
end

AutofarmTab:CreateToggle({
Name = "Enable Rob Houses Autofarm",
CurrentValue = false,
Flag = "RobHouseToggle",
Callback = function(Value)
RobHouse = Value
local OldCframe = player.Character.HumanoidRootPart.CFrame

if RobHouse then
HouseRobPrompts()
end

task.spawn(function()
while RobHouse do
task.wait()
updateDoors()

if not RobHouse then break end

if Houseleft["HardDoor"] and Houseleft["HardDoor"].Transparency ~=


1 then
for _, v in pairs(Houseleft["HardDoor"]:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt"
then
v.Enabled = true
BypassTp(v.Parent.CFrame * CFrame.new(-1.5, 0, 0))
Camera.CFrame = CFrame.new(Camera.CFrame.Position,
v.Parent.Position)
repeat
task.wait()
fireproximityprompt(v)
until Houseleft["HardDoor"].Transparency == 1
end
end
for _, v in
pairs(Houseleft["HardDoor"].Parent.Parent:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt"
then
HouseRobPrompts()
local targetCFrame = v.Parent.CFrame * CFrame.new(0, 0,
-3)
BypassTp(targetCFrame)
Camera.CFrame = CFrame.new(Camera.CFrame.Position,
v.Parent.Position)
v.Enabled = true
repeat
fireproximityprompt(v)
task.wait()
until v.Parent.Transparency == 1
v.Enabled = false
end
end
end

if Houseright["WoodenDoor"] and
Houseright["WoodenDoor"].Transparency ~= 1 then
for _, v in pairs(Houseright["WoodenDoor"]:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt"
then
v.Enabled = true
BypassTp(v.Parent.CFrame * CFrame.new(-1.5, 0, 0))
Camera.CFrame = CFrame.new(Camera.CFrame.Position,
v.Parent.Position)
repeat
task.wait()
fireproximityprompt(v)
until Houseright["WoodenDoor"].Transparency == 1
end
end

for _, v in
pairs(Houseright["WoodenDoor"].Parent.Parent:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt"
then
HouseRobPrompts()
local targetCFrame = v.Parent.CFrame * CFrame.new(0, 0,
-3)
BypassTp(targetCFrame)
Camera.CFrame = CFrame.new(Camera.CFrame.Position,
v.Parent.Position)
v.Enabled = true
repeat
fireproximityprompt(v)
task.wait()
until v.Parent.Transparency == 1
v.Enabled = false
end
end
end

BypassTp(OldCframe)
break
end
end)
end
})

local player = game.Players.LocalPlayer


local carsFolder = workspace:FindFirstChild("CAR ROBBERY")

local enabled = false


local robConnection

local function teleportToPrompt(prompt)


if not prompt or not prompt.Parent then return end
if not player.Character or not
player.Character:FindFirstChild("HumanoidRootPart") then return end
local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:ChangeState(0)
end
repeat task.wait() until not player:GetAttribute("LastACPos")
player.Character.HumanoidRootPart.CFrame = prompt.Parent.CFrame +
Vector3.new(0, 2, 0)
task.wait(0.15)
pcall(function()
fireproximityprompt(prompt)
end)
end

local function robAllCars()


if not carsFolder then return end
for _, car in ipairs(carsFolder:GetChildren()) do
local prompts = car:GetDescendants()
for _, obj in ipairs(prompts) do
if obj:IsA("ProximityPrompt") then
teleportToPrompt(obj)
task.wait(2)
end
end
end
end

local function startAutoRob()


robAllCars()
if carsFolder then
robConnection = carsFolder.ChildAdded:Connect(function(car)
task.wait(0.3)
if enabled then
local prompts = car:GetDescendants()
for _, obj in ipairs(prompts) do
if obj:IsA("ProximityPrompt") then
teleportToPrompt(obj)
task.wait(2)
end
end
end
end)
end
end

local function stopAutoRob()


if robConnection then
robConnection:Disconnect()
robConnection = nil
end
end

AutofarmTab:CreateToggle({
Name = "Enable Auto Rob Cars",
CurrentValue = false,
Flag = "AutoRobToggle",
Callback = function(value)
enabled = value
if enabled then
startAutoRob()
else
stopAutoRob()
end
end
})

AutofarmTab:CreateSection("Farming - Settings")

local autoSell = false

AutofarmTab:CreateToggle({
Name = "Auto Sell Looted Items",
CurrentValue = false,
Flag = "AutoSellPawnedItems",
Callback = function(Value)
autoSell = Value

task.spawn(function()
while autoSell do
for _, frame in ipairs(player.PlayerGui["Bronx
PAWNING"].Frame.Holder.List:GetChildren()) do
if frame:IsA("Frame") then
local itemName = frame.Item.Text
while autoSell and player.Backpack:FindFirstChild(itemName)
do
game.ReplicatedStorage.PawnRemote:FireServer(itemName)
task.wait(0.01)
end
end
end
task.wait(0.1)
end
end)
end
})

local PlayersTab = Window:CreateTab("Players", "wand") -- Title, Image

local Players = game:GetService("Players")


local localPlayer = Players.LocalPlayer

local function getCharacter()


return localPlayer.Character or localPlayer.CharacterAdded:Wait()
end
local function safeTeleport(x, y, z)
local character = getCharacter()
if not character then return end
local humanoid = character:FindFirstChild("Humanoid")
local hrp = character:FindFirstChild("HumanoidRootPart")
if not humanoid or not hrp then return end
humanoid:ChangeState(0)
repeat task.wait() until not localPlayer:GetAttribute("LastACPos")
hrp.CFrame = CFrame.new(x, y, z)
humanoid.PlatformStand = false
hrp.Velocity = Vector3.new(0, 0, 0)
hrp.RotVelocity = Vector3.new(0, 0, 0)
end

local function getPlayerNames()


local names = {}
for _, p in ipairs(Players:GetPlayers()) do
if p ~= localPlayer then
table.insert(names, p.Name)
end
end
return names
end

local selectedPlayer = nil

PlayersTab:CreateSection("Players")

local Dropdown = PlayersTab:CreateDropdown({


Name = "Select Player",
Options = getPlayerNames(),
CurrentOption = { "None" },
MultipleOptions = false,
Flag = "Dropdown1",
Callback = function(Options)
selectedPlayer = Players:FindFirstChild(Options[1])
end,
})

PlayersTab:CreateSection("Options")

local loopAttack = false


local attackLoop

PlayersTab:CreateToggle({
Name = "Down Player",
CurrentValue = false,
Flag = "LoopAttackToggle",
Callback = function(Value)
loopAttack = Value

if loopAttack then
attackLoop = task.spawn(function()
while loopAttack do
if selectedPlayer and selectedPlayer.Character and
selectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
local pos =
selectedPlayer.Character.HumanoidRootPart.Position
safeTeleport(pos.X, pos.Y, pos.Z)

local character = getCharacter()


local backpack = localPlayer:FindFirstChild("Backpack")
local fist = character:FindFirstChild("Fist") or (backpack
and backpack:FindFirstChild("Fist"))

if fist then
if backpack and backpack:FindFirstChild("Fist") then
fist.Parent = character
end

local attackRemote =
character:FindFirstChild("Fist"):FindFirstChild("MeleeSystem"):FindFirstChild("Atta
ckEvent")
if attackRemote then
for _ = 1, 40 do
attackRemote:FireServer()
task.wait()
end
end
end
end
task.wait(0.2)
end
end)
end
end,
})

local loopBring = false


local bringLoop

PlayersTab:CreateToggle({
Name = "Bring Player",
CurrentValue = false,
Flag = "LoopBringToggle",
Callback = function(Value)
loopBring = Value
if loopBring then
bringLoop = task.spawn(function()
while loopBring do
if selectedPlayer and selectedPlayer.Character and
selectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
local character = getCharacter()
if character and
character:FindFirstChild("HumanoidRootPart") then
local myPos = character.HumanoidRootPart.Position
selectedPlayer.Character.HumanoidRootPart.CFrame =
CFrame.new(myPos)
end
end
task.wait(0.1)
end
end)
end
end,
})
PlayersTab:CreateButton({
Name = "Teleport to player",
Callback = function()
if selectedPlayer and selectedPlayer.Character and
selectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
local pos = selectedPlayer.Character.HumanoidRootPart.Position
safeTeleport(pos.X, pos.Y, pos.Z)
end
end,
})

PlayersTab:CreateToggle({
Name = "Spectate Player",
CurrentValue = false,
Flag = "SpectateToggle",
Callback = function(Value)
if Value then
if selectedPlayer and selectedPlayer.Character then
workspace.CurrentCamera.CameraSubject =
selectedPlayer.Character:FindFirstChildOfClass("Humanoid")
end
else
local character = getCharacter()
if character and character:FindFirstChildOfClass("Humanoid") then
workspace.CurrentCamera.CameraSubject =
character:FindFirstChildOfClass("Humanoid")
end
end
end,
})

Players.PlayerAdded:Connect(function()
Dropdown:Refresh(getPlayerNames())
end)

Players.PlayerRemoving:Connect(function()
Dropdown:Refresh(getPlayerNames())
end)

local Divider = PlayersTab:CreateDivider()

local loopAttack = false


local attackLoop

PlayersTab:CreateToggle({
Name = "Kill Player w/Fist",
CurrentValue = false,
Flag = "LoopAttackToggle",
Callback = function(Value)
loopAttack = Value

if loopAttack then
attackLoop = task.spawn(function()
while loopAttack do
if selectedPlayer and selectedPlayer.Character and
selectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
local pos =
selectedPlayer.Character.HumanoidRootPart.Position
safeTeleport(pos.X, pos.Y, pos.Z)
local character = getCharacter()
local backpack = localPlayer:FindFirstChild("Backpack")
local fist = character:FindFirstChild("Fist") or (backpack
and backpack:FindFirstChild("Fist"))

if fist then
if backpack and backpack:FindFirstChild("Fist") then
fist.Parent = character
end

local attackRemote =
character:FindFirstChild("Fist"):FindFirstChild("MeleeSystem"):FindFirstChild("Atta
ckEvent")
if attackRemote then
for _ = 1, 40 do
attackRemote:FireServer()
task.wait()
end
end
end
end
task.wait(0.2)
end
end)
end
end,
})

PlayersTab:CreateToggle({
Name = "Kill Player w/Weapon",
CurrentValue = false,
Flag = "LoopAttackToggle",
Callback = function(Value)
loopAttack = Value

if loopAttack then
attackLoop = task.spawn(function()
while loopAttack do
if selectedPlayer and selectedPlayer.Character and
selectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
local pos =
selectedPlayer.Character.HumanoidRootPart.Position
safeTeleport(pos.X, pos.Y, pos.Z)

local character = getCharacter()


local backpack = localPlayer:FindFirstChild("Backpack")
local fist = character:FindFirstChild("Fist") or (backpack
and backpack:FindFirstChild("Fist"))

if fist then
if backpack and backpack:FindFirstChild("Fist") then
fist.Parent = character
end

local attackRemote =
character:FindFirstChild("Fist"):FindFirstChild("MeleeSystem"):FindFirstChild("Atta
ckEvent")
if attackRemote then
for _ = 1, 40 do
attackRemote:FireServer()
task.wait()
end
end
end
end
task.wait(0.2)
end
end)
end
end,
})

PlayersTab:CreateSection("Tweet Messages")

local messageToSend = ""


local spamming = false
local spamDelay = 0

local function sendTweet()


if messageToSend ~= "" then
local args = {
"Tweet",
{
"CreateTweet",
messageToSend
}
}
game:GetService("ReplicatedStorage")
:WaitForChild("Resources")
:WaitForChild("#Phone")
:WaitForChild("Main")
:FireServer(unpack(args))
end
end

PlayersTab:CreateInput({
Name = "Tweet Message",
PlaceholderText = "X-Dk on top",
RemoveTextAfterFocusLost = false,
EnterSubmit = true,
Callback = function(Input)
messageToSend = Input
sendTweet()
end,
})

local Slider = PlayersTab:CreateSlider({


Name = "Spam Tweets Delay",
Range = { 0, 10 },
Increment = 1,
Suffix = "s",
CurrentValue = 10,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make
sure every element has a different flag if you're using configuration saving to
ensure no overlaps
Callback = function(Value)
local spamDelay = Value
end,
})

PlayersTab:CreateToggle({
Name = "Spam Tweets",
CurrentValue = false,
Flag = "spamToggle",
Callback = function(value)
spamming = value
if spamming then
spawn(function()
while spamming do
sendTweet()
wait(spamDelay)
end
end)
end
end,
})

local Players = game:GetService("Players")


local LocalPlayer = Players.LocalPlayer

local MainTab = Window:CreateTab("Local Player", nil)


MainTab:CreateSection("Local Player Modifications")

MainTab:CreateToggle({
Name = "Infinite Sleep",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local gui = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
local s = gui and gui:FindFirstChild("SleepGui")
and
gui.SleepGui.Frame.sleep.SleepBar:FindFirstChild("sleepScript")
if s then s.Disabled = true end
end
end)
end
})

MainTab:CreateToggle({
Name = "Infinite Hunger",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local gui = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
local s = gui and gui:FindFirstChild("Hunger")
and
gui.Hunger.Frame.Frame.Frame:FindFirstChild("HungerBarScript")
if s then s.Disabled = true end
end
end)
end
})

MainTab:CreateToggle({
Name = "Infinite Stamina",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local gui = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
local s = gui and gui:FindFirstChild("Run")
and
gui.Run.Frame.Frame.Frame:FindFirstChild("StaminaBarScript")
if s then s.Disabled = true end
end
end)
end
})

local promptConn
MainTab:CreateToggle({
Name = "Instant Interact",
CurrentValue = false,
Callback = function(enabled)
if enabled then
for _, p in pairs(workspace:GetDescendants()) do
if p:IsA("ProximityPrompt") then p.HoldDuration = 0 end
end
promptConn =
game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(p)
p.HoldDuration = 0
end)
elseif promptConn then
promptConn:Disconnect()
promptConn = nil
end
end,
})

MainTab:CreateToggle({
Name = "Instant Revive",
CurrentValue = false,
Callback = function(Value)
_G.respawn = Value
if Value then
task.spawn(function()
while _G.respawn and task.wait(1) do
local c = game.Players.LocalPlayer.Character
if c and c:FindFirstChild("HumanoidRootPart") and
c:FindFirstChildOfClass("Humanoid").Health <= 0 then
game:GetService("ReplicatedStorage").RespawnRE:FireServer()
task.wait(1)
end
end
end)
end
end
})

local player = game.Players.LocalPlayer


local Camera = workspace.CurrentCamera
local stealm = false
local stealTask

local function StealMoneyPrompt()


for _, v in pairs(workspace.Dollas:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt" then
v.HoldDuration = 0
v.RequiresLineOfSight = false
end
end
end

local function startStealing()


StealMoneyPrompt()
stealTask = task.spawn(function()
while stealm do
task.wait()
local found = false

for _, v in pairs(workspace.Dollas:GetDescendants()) do
if v:IsA("ProximityPrompt") and v.Name == "ProximityPrompt" and
stealm then
found = true
StealMoneyPrompt()
Camera.CFrame = CFrame.new(Camera.CFrame.Position,
v.Parent.CFrame.Position)

local char = player.Character


local humanoid = char and
char:FindFirstChildOfClass("Humanoid")
local hrp = char and char:FindFirstChild("HumanoidRootPart")
if humanoid and hrp then
humanoid:ChangeState(0)
repeat task.wait() until not
player:GetAttribute("LastACPos")
hrp.CFrame = v.Parent.CFrame
end

task.wait(0.25)
fireproximityprompt(v)
end
end

if not found then


pcall(function()
Rayfield:Notify({
Title = "Auto Cash Pickup",
Content = "No dropped cash found!",
Duration = 4,
Image = "pound-sterling",
})
end)
task.wait(3) -- Wait a bit to avoid spamming
end
end
end)
end

local function stopStealing()


stealm = false
if stealTask then
task.cancel(stealTask)
stealTask = nil
end
end

MainTab:CreateToggle({
Name = "Auto Pickup Cash",
CurrentValue = false,
Flag = "AutoPickupToggle",
Callback = function(value)
stealm = value
if stealm then
startStealing()
else
stopStealing()
end
end
})

MainTab:CreateToggle({
Name = "Auto Pickup Bags",
CurrentValue = false,
Callback = function() end
})

MainTab:CreateToggle({
Name = "Disable Camera Bobbing",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local char = game.Players.LocalPlayer.Character
local c = char and char:FindFirstChild("CameraBobbing")
if c then c:Destroy() end
end
end)
end
})

MainTab:CreateToggle({
Name = "Disable Blood Effects",
CurrentValue = false,
Callback = function(Value)
local gui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
gui.BloodGui.Enabled = not Value
game:GetService("ReplicatedStorage").deathScreen.Enabled = not Value
end,
})

local player = game.Players.LocalPlayer

local function unlockAllCars()


local cars = workspace.CivCars:GetChildren()
for _, car in ipairs(cars) do
if car:FindFirstChild("DriveSeat") then
car.DriveSeat.Disabled = false
end
end

game.StarterGui:SetCore("SendNotification", {
Title = "Car Unlocker",
Text = "✠All cars have been unlocked!",
Duration = 5
})
end

player.CharacterAdded:Connect(function()
unlockAllCars()
end)

MainTab:CreateToggle({
Name = "Bypass Locked Cars",
CurrentValue = false,
Callback = function(Value)
if Value then
unlockAllCars()
end
end,
SectionParent = nil
})

MainTab:CreateToggle({
Name = "No Jump Cooldown",
CurrentValue = false,
Callback = function(Value)
getgenv().noJumpCooldown = Value
task.spawn(function()
while getgenv().noJumpCooldown do
task.wait(0.2)
local pg = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
if pg and pg:FindFirstChild("JumpDebounce") then
pg.JumpDebounce:Destroy()
end
end
end)
end,
})

MainTab:CreateToggle({
Name = "No Rent Pay",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local gui = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
local r = gui and gui:FindFirstChild("RentGui")
local s = r and r:FindFirstChild("LocalScript")
if s then
s.Disabled = true
s:Destroy()
end
end
end)
end
})

MainTab:CreateToggle({
Name = "No Fall Damage",
CurrentValue = false,
Callback = function(Value)
task.spawn(function()
while Value do
task.wait(1)
local c = game.Players.LocalPlayer.Character
local f = c and c:FindFirstChild("FallDamageRagdoll")
if f then f.Disabled = true end
end
end)
end
})

MainTab:CreateToggle({
Name = "No KnockBack",
CurrentValue = false,
Callback = function(Value)
updateCharacterProperty("KnockAt", Value and 1000 or 27)
end
})

local respawnAtDeathPosition = false


local lastDeathPosition = nil

game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
if respawnAtDeathPosition and lastDeathPosition then
char:WaitForChild("HumanoidRootPart").CFrame = lastDeathPosition
end
char:WaitForChild("Humanoid").Died:Connect(function()
lastDeathPosition = char:WaitForChild("HumanoidRootPart").CFrame
end)
end)

MainTab:CreateToggle({
Name = "Respawn Where You Died",
CurrentValue = false,
Callback = function(Value)
respawnAtDeathPosition = Value
end,
})

MainTab:CreateSection("Character Modifications")

local speedEnabled, speedValue = false, 16

MainTab:CreateToggle({
Name = "Modify WalkSpeed",
CurrentValue = false,
Callback = function(Value)
speedEnabled = Value
local h = game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if h then h.WalkSpeed = Value and speedValue or 16 end
end,
})

local jumpEnabled, jumpValue = false, 50

MainTab:CreateToggle({
Name = "Modify JumpPower",
CurrentValue = false,
Callback = function(Value)
jumpEnabled = Value
local h = game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if h then h.JumpPower = Value and jumpValue or 50 end
end,
})

local connection
local mouse = game.Players.LocalPlayer:GetMouse()

MainTab:CreateToggle({
Name = "Click Teleport",
CurrentValue = false,
Callback = function(Value)
if Value then
connection = mouse.Button1Down:Connect(function()
local t = mouse.Hit
if t then
local c = game.Players.LocalPlayer.Character
local h, r = c and c:FindFirstChild("Humanoid"), c and
c:FindFirstChild("HumanoidRootPart")
if h and r then
h:ChangeState(0)
repeat task.wait() until not
game.Players.LocalPlayer:GetAttribute("LastACPos")
r.CFrame = CFrame.new(t.p + Vector3.new(0, 3, 0))
end
end
end)
elseif connection then
connection:Disconnect()
connection = nil
end
end,
})

local NoclipConnection = nil


local Clip = true

local function noclip()


Clip = false
local function Nocl()
if not Clip and game.Players.LocalPlayer.Character then
for _, v in pairs(game.Players.LocalPlayer.Character:GetDescendants())
do
if v:IsA("BasePart") and v.CanCollide then
v.CanCollide = false
end
end
end
task.wait(0.21)
end
NoclipConnection = game:GetService("RunService").Stepped:Connect(Nocl)
end

local function clip()


if NoclipConnection then
NoclipConnection:Disconnect()
end
Clip = true
end

MainTab:CreateToggle({
Name = "No Clip",
CurrentValue = false,
Callback = function(Value)
if Value then
noclip()
else
clip()
end
end
})

local Divider = MainTab:CreateDivider()

MainTab:CreateSlider({
Name = "JumpPower Value",
Range = {50, 100},
Increment = 1,
Suffix = "%",
CurrentValue = 50,
Callback = function(Value)
jumpValue = Value
local h = game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if jumpEnabled and h then h.JumpPower = Value end
end,
})

game.Players.LocalPlayer.CharacterAdded:Connect(function(c)
local h = c:WaitForChild("Humanoid")
h.JumpPower = jumpEnabled and jumpValue or 50
end)

MainTab:CreateSlider({
Name = "WalkSpeed Value",
Range = {16, 23},
Increment = 1,
Suffix = "%",
CurrentValue = 16,
Callback = function(Value)
speedValue = Value
local h = game.Players.LocalPlayer.Character and
game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if speedEnabled and h then h.WalkSpeed = Value end
end,
})

game.Players.LocalPlayer.CharacterAdded:Connect(function(c)
local h = c:WaitForChild("Humanoid")
h.WalkSpeed = speedEnabled and speedValue or 16
end)

MainTab:CreateSection("Toggle Interfaces Section")

local PlayerGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")

local guiMap = {
["Crafting"] = { "CraftGUI", "Main", "Visible" },
["Megaphone List"] = { "Bronx MessageList", "Holder", "Visible" },
["Animations"] = { "Animations", "Frame", "Visible" },
["Bronx Market"] = { "Bronx Market 2", nil, "Enabled" },
["Bronx Tattoos"] = { "Bronx TATTOOS", nil, "Enabled" },
["Bronx Clothing"] = { "Bronx CLOTHING", nil, "Enabled" },
["Trunk Storage"] = { "TRUNK STORAGE", nil, "Enabled" },
["Bronx Pawning"] = { "Bronx PAWNING", nil, "Enabled" },
}

local options = {}
for name in pairs(guiMap) do
table.insert(options, name)
end

local selected = {}

MainTab:CreateDropdown({
Name = "Select UI",
CurrentOption = {},
MultipleOptions = true,
Options = options,
Flag = "hiih",
Callback = function(Value)
selected = Value
end
})

MainTab:CreateToggle({
Name = "Ul Enabled",
CurrentValue = false,
Flag = "DKhi",
Callback = function(state)
for _, name in ipairs(selected) do
local path = guiMap[name]
local gui = PlayerGui:FindFirstChild(path[1])
if gui then
local target = path[2] and gui:FindFirstChild(path[2]) or gui
if target then
target[path[3]] = state
end
end
end
end
})
local CombatTab = Window:CreateTab("Combat", nil) -- Title, Image
CombatTab:CreateSection("Weapon Modifications")

local players = game:GetService("Players")


local workspace = game:GetService("Workspace")
local user_input_service = game:GetService("UserInputService")
local run_service = game:GetService("RunService")

local camera = workspace.CurrentCamera


local local_player = players.LocalPlayer

local script_data = {
functions = {},
locals = {
silent_aim_target = nil,
silent_aim_is_targetting = false,
silent_aim_enabled = false
}
}

script_data.functions.new_connection = function(signal, func)


return signal:Connect(func)
end

script_data.functions.get_direction = function(origin, destination)


return ((destination - origin).Unit * 1000)
end

script_data.functions.world_to_screen = function(position)
local viewport_position, on_screen = camera:WorldToViewportPoint(position)
return {
position = Vector2.new(viewport_position.X, viewport_position.Y),
on_screen = on_screen
}
end

script_data.functions.has_character = function(player)
return player
and player.Character
and player.Character:FindFirstChildWhichIsA("Humanoid", false) ~= nil
end

script_data.functions.get_closest_player = function()
local mouse_position = user_input_service:GetMouseLocation()
local radius = math.huge
local closest_player

for _, player in players:GetPlayers() do


if player ~= local_player and script_data.functions.has_character(player)
then
local screen_position =
script_data.functions.world_to_screen(player.Character.HumanoidRootPart.Position)
if screen_position.on_screen then
local distance = (mouse_position -
screen_position.position).Magnitude
if distance <= radius then
radius = distance
closest_player = player
end
end
end
end

return closest_player
end

local SilentAimToggle = CombatTab:CreateToggle({


Name = "Silent Aim",
CurrentValue = false,
Flag = "SilentAimToggle",
Callback = function(Value)
script_data.locals.silent_aim_enabled = Value
end
})

script_data.functions.new_connection(run_service.RenderStepped, function()
if script_data.locals.silent_aim_enabled then
local new_target = script_data.functions.get_closest_player()
script_data.locals.silent_aim_is_targetting = new_target ~= nil
script_data.locals.silent_aim_target = new_target
else
script_data.locals.silent_aim_is_targetting = false
script_data.locals.silent_aim_target = nil
end
end)

local __namecall
__namecall = hookmetamethod(game, "__namecall", function(self, ...)
local args, method = {...}, tostring(getnamecallmethod())
if not checkcaller()
and script_data.locals.silent_aim_enabled
and script_data.locals.silent_aim_is_targetting
and script_data.locals.silent_aim_target
and self == workspace
and method == "Raycast" then
local origin = args[1]
args[2] = script_data.functions.get_direction(origin,
script_data.locals.silent_aim_target.Character.HumanoidRootPart.Position)
return __namecall(self, unpack(args))
end
return __namecall(self, ...)
end)

CombatTab:CreateToggle({
Name = "Instant Equip",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).EquippedAnimationSpeed = Value and 0 or 1
end
end
})

CombatTab:CreateToggle({
Name = "Instant Reload",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).ReloadTime = Value and 0 or 1.5
end
end
})

CombatTab:CreateToggle({
Name = "No Jam",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).JamChance = Value and 0 or 1
end
end
})

CombatTab:CreateToggle({
Name = "No Recoil",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Settings") then
require(tool.Settings).Recoil = Value and 0 or 1
end
end
})

CombatTab:CreateToggle({
Name = "No Spread",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Settings") then
require(tool.Settings).Recoil = Value and 0 or 1
end
end
})

CombatTab:CreateToggle({
Name = "Full Auto",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).Auto = Value and 9e9 or 1
end
end
})

CombatTab:CreateToggle({
Name = "Infinite Ammo",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).AmmoPerMag = Value and 1e9 or 30
end
end
})

CombatTab:CreateToggle({
Name = "Infinite Range",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).Range = Value and 9e9 or 100
end
end
})

CombatTab:CreateToggle({
Name = "Life Steal",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
local setting = require(tool.Setting)
setting.LimitedAmmoEnabled = not Value
setting.MaxAmmo = Value and 1e8 or 100
setting.AmmoPerMag = Value and 1e7 or 30
setting.Ammo = Value and 1e8 or 100
end
end
})

CombatTab:CreateToggle({
Name = "1 Tap",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).BaseDamage = Value and 9e9 or 10
end
end
})

CombatTab:CreateToggle({
Name = "Sniper Mode",
CurrentValue = false,
Callback = function(Value)
local tool =
game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Setting") then
require(tool.Setting).SniperEnabled = Value
end
end
})

CombatTab:CreateSection("Aimbot")

local Players = game:GetService("Players")


local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local localPlayer = Players.LocalPlayer


local camera = workspace.CurrentCamera

local enabled = false


local lockOnTarget = nil
local selectedKey = Enum.KeyCode.K

local function keyNameToEnum(keyName)


local success, key = pcall(function()
return Enum.KeyCode[keyName]
end)
return success and key or Enum.KeyCode.K
end

CombatTab:CreateToggle({
Name = "Enable Aimbot",
Flag = "LockOnEnabled",
CurrentValue = false,
Callback = function(value)
enabled = value
if not enabled then
lockOnTarget = nil
else
lockOnTarget = getClosestPlayer()
end
end,
})

CombatTab:CreateInput({
Name = "Keybind",
PlaceholderText = "Input",
RemoveTextAfterFocusLost = false,
Callback = function(text)
local key = keyNameToEnum(text:upper())
selectedKey = key
end
})

function getClosestPlayer()
local closest = nil
local shortestDist = math.huge
local char = localPlayer.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return nil end

for _, player in pairs(Players:GetPlayers()) do


if player ~= localPlayer and player.Character then
local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
local head = player.Character:FindFirstChild("Head")
if humanoid and humanoid.Health > 0 and head then
local dist = (head.Position -
char.HumanoidRootPart.Position).Magnitude
if dist < shortestDist then
shortestDist = dist
closest = head
end
end
end
end
return closest
end

UserInputService.InputBegan:Connect(function(input, processed)
if processed then return end
if input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode ==
selectedKey then
enabled = not enabled
ToggleLockOn:Set(enabled)
if enabled then
lockOnTarget = getClosestPlayer()
else
lockOnTarget = nil
end
end
end)

RunService.RenderStepped:Connect(function()
if enabled and lockOnTarget and lockOnTarget.Parent and
lockOnTarget:IsDescendantOf(workspace) then
local humanoid = lockOnTarget.Parent:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid.Health > 0 then
camera.CFrame = CFrame.new(camera.CFrame.Position,
lockOnTarget.Position)
else
lockOnTarget = getClosestPlayer()
end
else
lockOnTarget = getClosestPlayer()
end
end)

CombatTab:CreateSection("Mobile Aimbot")

local player = game.Players.LocalPlayer


local camera = workspace.CurrentCamera
local runService = game:GetService("RunService")

local aimbotEnabled = false


local aimPart = "HumanoidRootPart"

local function getNearestPlayer()


local closestPlayer = nil
local closestDistance = math.huge

for _, otherPlayer in ipairs(game.Players:GetPlayers()) do


if otherPlayer ~= player
and otherPlayer.Character
and otherPlayer.Character:FindFirstChild("Humanoid")
and otherPlayer.Character:FindFirstChild("HumanoidRootPart")
and otherPlayer.Character.Humanoid.Health > 0 then
local distance = (player.Character.HumanoidRootPart.Position -
otherPlayer.Character.HumanoidRootPart.Position)
.Magnitude
if distance < closestDistance then
closestDistance = distance
closestPlayer = otherPlayer
end
end
end

return closestPlayer
end

local function lockCameraToPlayer()


local nearestPlayer = getNearestPlayer()
if nearestPlayer and nearestPlayer.Character and
nearestPlayer.Character:FindFirstChild(aimPart) then
local target = nearestPlayer.Character[aimPart]
camera.CFrame = CFrame.new(camera.CFrame.Position, target.Position)
end
end

runService.RenderStepped:Connect(function()
if aimbotEnabled then
lockCameraToPlayer()
end
end)

CombatTab:CreateToggle({
Name = "Enable Aimbot",
CurrentValue = false,
Flag = "AimbotToggle",
Callback = function(Value)
aimbotEnabled = Value
end
})

CombatTab:CreateDropdown({
Name = "Select Aim Part",
Options = { "HumanoidRootPart", "Head" },
CurrentOption = "HumanoidRootPart",
Flag = "AimPartDropdown",
Callback = function(Value)
aimPart = Value[1]
end
})

CombatTab:CreateSection("FOV Circle")

local sides = 0
local radius = 100
local enabled = false
local rainbow = false
local baseColor = Color3.fromRGB(255, 255, 255)

local fovCircle = Drawing.new("Circle")


fovCircle.Color = baseColor
fovCircle.Thickness = 2
fovCircle.NumSides = 300
fovCircle.Transparency = 1
fovCircle.Visible = false
fovCircle.Filled = false
fovCircle.Radius = radius

local lines = {}

local function createLines(num)


for _, line in pairs(lines) do
line:Remove()
end
lines = {}
for i = 1, num do
local line = Drawing.new("Line")
line.Color = baseColor
line.Thickness = 2
line.Transparency = 1
line.Visible = false
table.insert(lines, line)
end
end

if sides > 0 then


createLines(sides)
else
createLines(0)
end

local function updatePolygon(position, radius, sides)


for i = 1, sides do
local angle1 = (2 * math.pi / sides) * (i - 1) - math.pi / 2
local angle2 = (2 * math.pi / sides) * (i % sides) - math.pi / 2
local p1 = Vector2.new(position.X + radius * math.cos(angle1), position.Y +
radius * math.sin(angle1))
local p2 = Vector2.new(position.X + radius * math.cos(angle2), position.Y +
radius * math.sin(angle2))
lines[i].From = p1
lines[i].To = p2
lines[i].Visible = enabled
end
end

local function hidePolygon()


for _, line in pairs(lines) do
line.Visible = false
end
end

local function getRainbowColor(time)


local hue = (tick() * 0.5) % 1
return Color3.fromHSV(hue, 1, 1)
end

task.spawn(function()
while true do
task.wait()
if rainbow then
local color = getRainbowColor(tick())
fovCircle.Color = color
for _, line in pairs(lines) do
line.Color = color
end
end
end
end)

CombatTab:CreateToggle({
Name = "Enable FOV Circle",
CurrentValue = false,
Flag = "EnableFOVShape",
Callback = function(val)
enabled = val
if enabled then
if sides == 0 then
fovCircle.Visible = true
hidePolygon()
else
fovCircle.Visible = false
for _, line in pairs(lines) do
line.Visible = true
end
end
else
fovCircle.Visible = false
hidePolygon()
end
end,
})

CombatTab:CreateToggle({
Name = "Rainbow FOV Circle",
CurrentValue = false,
Flag = "RainbowToggle",
Callback = function(val)
rainbow = val
if not rainbow then
fovCircle.Color = baseColor
for _, line in pairs(lines) do
line.Color = baseColor
end
end
end,
})

CombatTab:CreateColorPicker({
Name = "FOV ColorPicker",
Color = baseColor,
Flag = "FOVColorPicker",
Callback = function(color)
baseColor = color
if not rainbow then
fovCircle.Color = baseColor
for _, line in pairs(lines) do
line.Color = baseColor
end
end
end,
})

CombatTab:CreateSlider({
Name = "Sides",
Range = {0, 13},
Increment = 1,
Suffix = "%",
CurrentValue = sides,
Flag = "SidesSlider",
Callback = function(val)
sides = val
if sides == 0 then
fovCircle.Visible = enabled
hidePolygon()
elseif sides >= 3 then
fovCircle.Visible = false
createLines(sides)
if enabled then
for _, line in pairs(lines) do
line.Visible = true
end
end
else
sides = 0
fovCircle.Visible = enabled
hidePolygon()
end
end,
})

CombatTab:CreateSlider({
Name = "Radius",
Range = { 10, 300 },
Increment = 1,
Suffix = "%",
CurrentValue = radius,
Flag = "RadiusSlider",
Callback = function(val)
radius = val
fovCircle.Radius = radius
end,
})

game:GetService("RunService").RenderStepped:Connect(function()
if enabled then
local mouse = game.Players.LocalPlayer:GetMouse()
local pos = Vector2.new(mouse.X, mouse.Y)
if sides == 0 then
fovCircle.Position = pos
fovCircle.Radius = radius
fovCircle.Visible = true
hidePolygon()
else
updatePolygon(pos, radius, sides)
fovCircle.Visible = false
end
else
fovCircle.Visible = false
hidePolygon()
end
end)

CombatTab:CreateSection("Snap Lines")

local Players = game:GetService("Players")


local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer

local FOVRadius = 150


local MaxDistance = 300
local AimPartName = "HumanoidRootPart"
local arrowColor = Color3.fromRGB(255, 0, 0)
local arrowEnabled = false
local rainbowEnabled = false

local arrow = Drawing.new("Line")


arrow.Visible = false
arrow.Thickness = 2
arrow.Color = arrowColor

local function getRainbowColor(t)


local r = math.sin(t) * 127 + 128
local g = math.sin(t + 2) * 127 + 128
local b = math.sin(t + 4) * 127 + 128
return Color3.fromRGB(r, g, b)
end

local function isInFOV(player)


local char = player.Character
if not char then return false end
local part = char:FindFirstChild("Head")
local humanoid = char:FindFirstChildOfClass("Humanoid")
if not part or not humanoid or humanoid.Health <= 0 then return false end
local screenPos, onScreen = Camera:WorldToViewportPoint(part.Position)
if not onScreen then return false end
local mousePos = UserInputService:GetMouseLocation()
local dist = (Vector2.new(screenPos.X, screenPos.Y) - mousePos).Magnitude
return dist <= FOVRadius
end

local function getClosestPlayer()


local closest = nil
local shortest = MaxDistance
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
local char = player.Character
local hrp = char:FindFirstChild(AimPartName)
local humanoid = char:FindFirstChildOfClass("Humanoid")
if hrp and humanoid and humanoid.Health > 0 and isInFOV(player) then
local dist = (LocalPlayer.Character.HumanoidRootPart.Position -
hrp.Position).Magnitude
if dist < shortest then
shortest = dist
closest = player
end
end
end
end
return closest
end

RunService.RenderStepped:Connect(function()
if not arrowEnabled then
arrow.Visible = false
return
end
local target = getClosestPlayer()
if target and target.Character then
local part = target.Character:FindFirstChild(AimPartName)
if part then
local screenPos, onScreen = Camera:WorldToViewportPoint(part.Position)
if onScreen then
local mousePos = UserInputService:GetMouseLocation()
arrow.From = mousePos
arrow.To = Vector2.new(screenPos.X, screenPos.Y)
arrow.Color = rainbowEnabled and getRainbowColor(tick()) or
arrowColor
arrow.Visible = true
else
arrow.Visible = false
end
else
arrow.Visible = false
end
else
arrow.Visible = false
end
end)

CombatTab:CreateToggle({
Name = "Snapline Enabled",
Default = false,
Callback = function(state)
arrowEnabled = state
if not state then
arrow.Visible = false
end
end
})

CombatTab:CreateColorPicker({
Name = "Snapline Colorpicker",
Color = arrowColor,
Callback = function(color)
arrowColor = color
end
})

CombatTab:CreateToggle({
Name = "Rainbow Snaplines",
Default = false,
Callback = function(state)
rainbowEnabled = state
end
})

CombatTab:CreateSection("TriggerBot (Pc Only)")

local player = game:GetService("Players").LocalPlayer


local mouse = player:GetMouse()
local runService = game:GetService("RunService")

local autoClickEnabled = false


local clickDelay = 0.1

CombatTab:CreateToggle({
Name = "TriggerBot",
CurrentValue = false,
Callback = function(Value)
autoClickEnabled = Value
end,
})

CombatTab:CreateSlider({
Name = "Clicking Delay",
Range = { 0.05, 1 },
Increment = 0.05,
Suffix = "s",
CurrentValue = 0.1,
Callback = function(Value)
clickDelay = Value
end,
})

task.spawn(function()
while true do
if autoClickEnabled and mouse.Target and
mouse.Target.Parent:FindFirstChild("Humanoid") and mouse.Target.Parent.Name ~=
player.Name then
mouse1press()
task.wait()
mouse1release()
task.wait(clickDelay)
else
task.wait(0.05)
end
end
end)

local MiscTab = Window:CreateTab("Misc", nil) -- Title, Image


MiscTab:CreateSection("BANK/ATM")

local bankAmount = "0"


local autoDropEnabled = false

MiscTab:CreateInput({
Name = "Amount (Cash) - Max: 10,000",
PlaceholderText = "<ENTER_$_AMOUNT>",
RemoveTextAfterFocusLost = false,
Callback = function(value)
bankAmount = tostring(value)
end
})

MiscTab:CreateButton({
Name = "Withdraw Amount",
Callback = function()
local args = { "with", bankAmount }

game:GetService("ReplicatedStorage"):WaitForChild("BankAction"):FireServer(unpack(a
rgs))
end
})

MiscTab:CreateButton({
Name = "Deposit Amount",
Callback = function()
local args = { "depo", bankAmount }

game:GetService("ReplicatedStorage"):WaitForChild("BankProcessRemote"):InvokeServer
(unpack(args))
end
})

MiscTab:CreateButton({
Name = "Drop Amount",
Callback = function()
local args = { "Drop", bankAmount }

game:GetService("ReplicatedStorage"):WaitForChild("BankProcessRemote"):InvokeServer
(unpack(args))
end
})

MiscTab:CreateToggle({
Name = "Automatic Drop Cash",
CurrentValue = false,
Callback = function(state)
autoDropEnabled = state
if state then
task.spawn(function()
while autoDropEnabled do
local args = { "Drop", bankAmount }

game:GetService("ReplicatedStorage"):WaitForChild("BankProcessRemote"):InvokeServer
(unpack(args))
task.wait(1.5)
end
end)
end
end
})

local SettingsTab = Window:CreateTab("Settings", nil)


SettingsTab:CreateSection("Game")

SettingsTab:CreateButton({
Name = "Rejoin Same Server",
Callback = function()
local ts = game:GetService("TeleportService")
local p = game:GetService("Players").LocalPlayer
ts:Teleport(game.PlaceId, p)
end
})

SettingsTab:CreateButton({
Name = "Hop server",
Callback = function()
local PlaceID = game.PlaceId
local AllIDs = {}
local foundAnything = ""
local actualHour = os.date("!*t").hour
local Deleted = false
local File = pcall(function()
AllIDs =
game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
end)
if not File then
table.insert(AllIDs, actualHour)
writefile("NotSameServers.json",
game:GetService('HttpService'):JSONEncode(AllIDs))
end
function TPReturner()
local Site
if foundAnything == "" then
Site =
game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' ..
PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
else
Site =
game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' ..
PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' ..
foundAnything))
end
local ID = ""
if Site.nextPageCursor and Site.nextPageCursor ~= "null" and
Site.nextPageCursor ~= nil then
foundAnything = Site.nextPageCursor
end
local num = 0
for i, v in pairs(Site.data) do
local Possible = true
ID = tostring(v.id)
if tonumber(v.maxPlayers) > tonumber(v.playing) then
for _, Existing in pairs(AllIDs) do
if num ~= 0 then
if ID == tostring(Existing) then
Possible = false
end
else
if tonumber(actualHour) ~= tonumber(Existing) then
local delFile = pcall(function()
delfile("NotSameServers.json")
AllIDs = {}
table.insert(AllIDs, actualHour)
end)
end
end
num = num + 1
end
if Possible == true then
table.insert(AllIDs, ID)
wait()
pcall(function()
writefile("NotSameServers.json",
game:GetService('HttpService'):JSONEncode(AllIDs))
wait()

game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID,
game.Players.LocalPlayer)
end)
wait(4)
end
end
end
end

function Teleport()
while wait() do
pcall(function()
TPReturner()
if foundAnything ~= "" then
TPReturner()
end
end)
end
end

Teleport()
end
})

SettingsTab:CreateButton({
Name = "Join server with lowest players",
Callback = function()
local Http = game:GetService("HttpService")
local TPS = game:GetService("TeleportService")
local Api = "https://games.roblox.com/v1/games/"
local _place = game.PlaceId
local _servers = Api .. _place .. "/servers/Public?sortOrder=Asc&limit=100"
function ListServers(cursor)
local Raw = game:HttpGet(_servers .. ((cursor and "&cursor=" .. cursor)
or ""))
return Http:JSONDecode(Raw)
end

local Server, Next


repeat
local Servers = ListServers(Next)
Server = Servers.data[1]
Next = Servers.nextPageCursor
until Server
TPS:TeleportToPlaceInstance(_place, Server.id, game.Players.LocalPlayer)
end
})

local TeleportService = game:GetService("TeleportService")


local Players = game:GetService("Players")
local player = Players.LocalPlayer

SettingsTab:CreateButton({
Name = "Join VC Server",
Callback = function()
TeleportService:Teleport(13453616108, player)
end,
})

SettingsTab:CreateSection("Themes")

local themes = {
"Default",
"Amber Glow",
"Amethyst",
"Bloom",
"Dark Blue",
"Green",
"Light",
"Ocean",
"Serenity"
}

local selectedTheme = "Default"

SettingsTab:CreateDropdown({
Name = "Select Theme",
Options = themes,
CurrentOption = { selectedTheme },
MultipleOptions = false,
Flag = "ThemeSelector",
Callback = function(options)
selectedTheme = options[1]
end,
})

SettingsTab:CreateButton({
Name = "Apply Theme",
Callback = function()
local themeIdentifier = selectedTheme:gsub(" ", "")
Window.ModifyTheme(themeIdentifier)
end,
})

SettingsTab:CreateSection("Menu")

SettingsTab:CreateButton({
Name = "Unload Script",
Callback = function()
Rayfield:Destroy()
end,
})
SettingsTab:CreateButton({
Name = "Panic Button",
Callback = function()
local localPlayer = game.Players.LocalPlayer
localPlayer:Kick("#1 Panic Button")
end,
})

SettingsTab:CreateButton({
Name = "Copy Discord",
Callback = function()
setclipboard("https://discord.gg/RpfWsdhP")
end,
})

You might also like