local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "San Diego Border RP - Hub",
LoadingTitle = "Loading Assets...",
LoadingSubtitle = "by You",
Theme = "Default",
})
-- Constants
local BOOTH_POSITION = Vector3.new(2806.67, 17.04, 110.70)
local DETECTION_RADIUS = 100
-- Tab 1: Teleports
local TP_Tab = Window:CreateTab("Teleports", nil)
TP_Tab:CreateButton({
Name = "Teleport to Checkpoint",
Callback = function()
local player = game.Players.LocalPlayer
local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
if root then root.CFrame = CFrame.new(BOOTH_POSITION) end
end,
})
-- Tab 2: Automation
local Auto_Tab = Window:CreateTab("Auto Booth", nil)
local autoStampEnabled = false
local autoPositionEnabled = false
-- Position Locking Toggle
Auto_Tab:CreateToggle({
Name = "Lock to Booth Position",
CurrentValue = false,
Callback = function(Value)
autoPositionEnabled = Value
end,
})
-- Optimized Movement Loop (Fixes Falling Issues)
task.spawn(function()
while true do
if autoPositionEnabled then
local player = game.Players.LocalPlayer
local character = player.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
if root then
local targetPos = Vector3.new(BOOTH_POSITION.X, 17.04, BOOTH_POSITION.Z)
-- Safety: If falling or too far, snap back; otherwise smooth move
if (root.Position.Y < 16) or ((root.Position - targetPos).Magnitude > 5) then
root.CFrame = CFrame.new(targetPos)
else
root.CFrame = root.CFrame:Lerp(CFrame.new(targetPos), 0.5)
end
-- Stop physics gravity impact
root.Velocity = Vector3.new(0, 0, 0)
end
end
task.wait(0.05)
end
end)
Auto_Tab:CreateToggle({
Name = "Auto-Stamp FAST",
CurrentValue = false,
Callback = function(Value)
autoStampEnabled = Value
if autoStampEnabled then
task.spawn(function()
while autoStampEnabled do
local localPlayer = game.Players.LocalPlayer
for _, player in pairs(game.Players:GetPlayers()) do
if player ~= localPlayer and player.Character then
local hrp = player.Character:FindFirstChild("HumanoidRootPart")
if hrp then
local dist = (BOOTH_POSITION - hrp.Position).Magnitude
if dist <= DETECTION_RADIUS then
game:GetService("ReplicatedStorage"):WaitForChild("__remotes")
:WaitForChild("BorderAuthorisationService")
:WaitForChild("GrantEntry"):InvokeServer(player)
task.wait(0.1)
end
end
end
end
task.wait(0.05)
end
end)
end
end,
})
-- Tab 3: Misc
local Misc_Tab = Window:CreateTab("Misc", nil)
Misc_Tab:CreateButton({Name = "Trigger Egg Event", Callback = function() print("Egg event triggered") end})
Misc_Tab:CreateButton({Name = "Toggle Hidden Button", Callback = function() print("Button toggled") end})
Rayfield:LoadConfiguration()
Comments
Фу, спиздил скрипт