local success, Rayfield = pcall(function() return loadstring(game:HttpGet('https://sirius.menu/rayfield'))() end) if not success or not Rayfield then Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source.lua'))() end ---------------------------------------------------- -- 🛡️ АНТИ-ЧИТ BYPASS (ПРЕДОТВРАЩАЕТ ЛОКАЛЬНЫЕ КИКИ И ПРОВЕРКИ) ---------------------------------------------------- pcall(function() local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", function(self, ...) local method = getnamecallmethod() -- Блокируем локальный кик от античита if not checkcaller() and (method == "Kick" or method == "kick") then return task.wait(9e9) end return oldNamecall(self, ...) end) local oldIndex oldIndex = hookmetamethod(game, "__index", function(self, key) -- Врем античиту про нашу скорость и прыжок, если он их проверяет if not checkcaller() and self:IsA("Humanoid") then if key == "WalkSpeed" then return 16 end if key == "JumpPower" then return 50 end end return oldIndex(self, key) end) end) ---------------------------------------------------- local Window = Rayfield:CreateWindow({ Name = "SCP-3008 Ultimate Hub V19", LoadingTitle = "Studio Production", LoadingSubtitle = "by Ropi (External Script Update)", ConfigurationSaving = { Enabled = true, FolderName = "SCP3008ProFixedV19", FileName = "BossHubV19" } }) -- СОЗДАНИЕ ВКЛАДОК local PlayerTab = Window:CreateTab("Player Mod", 4483362458) local WorldTab = Window:CreateTab("World & ESP", 4483362458) local BaseTab = Window:CreateTab("Base, Items & Grabber", 4483362458) local ServerTab = Window:CreateTab("Server Manager", 4483362458) local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Camera = workspace.CurrentCamera local HttpService = game:GetService("HttpService") local TeleportService = game:GetService("TeleportService") local UserInputService = game:GetService("UserInputService") -- СОХРАНЕНИЕ ОРИГИНАЛЬНЫХ НАСТРОЕК СВЕТА local Lighting = game:GetService("Lighting") local OrigAmbient = Lighting.Ambient local OrigOutdoorAmbient = Lighting.OutdoorAmbient local OrigBrightness = Lighting.Brightness local OrigFogEnd = Lighting.FogEnd local OrigShadows = Lighting.GlobalShadows -- ГЛОБАЛЬНЫЕ ТАБЛИЦЫ ДЛЯ ВАЙПОИНТОВ local Waypoints = {} local TargetWaypointName = "" local SelectedWaypoint = "" local WaypointDropdown = nil ---------------------------------------------------- -- [ВКЛАДКА 1: PLAYER MOD (ФУНКЦИИ ИГРОКА)] ---------------------------------------------------- local selectedPlayerName = "" local PlayerDropdown = PlayerTab:CreateDropdown({ Name = "Select Target Player", Options = {}, CurrentOption = "", Flag = "PlayerDropdown", Callback = function(Option) if type(Option) == "table" then selectedPlayerName = Option[1] else selectedPlayerName = Option end end }) PlayerTab:CreateButton({ Name = "Refresh Player List", Callback = function() local names = {} for _, p in pairs(Players:GetPlayers()) do if p.Name ~= LocalPlayer.Name then table.insert(names, p.Name) end end PlayerDropdown:Refresh(names, true) end }) PlayerTab:CreateButton({ Name = "Advanced Teleport (Infinite Distance)", Callback = function() if selectedPlayerName ~= "" then local targetPlayer = Players:FindFirstChild(selectedPlayerName) local localChar = LocalPlayer.Character if targetPlayer and localChar then local targetChar = targetPlayer.Character or workspace:FindFirstChild(selectedPlayerName) if targetChar then local targetPart = targetChar:FindFirstChild("HumanoidRootPart") or targetChar:FindFirstChildOfClass("Part") if targetPart then local targetPos = targetPart.Position Rayfield:Notify({Title = "Teleporting...", Content = "Requesting chunks and moving to target!", Duration = 2}) pcall(function() LocalPlayer:RequestStreamAroundAsync(targetPos) end) task.wait(0.15) localChar:PivotTo(CFrame.new(targetPos + Vector3.new(0, 3, 0))) else Rayfield:Notify({Title = "Error", Content = "Target parts are not fully loaded yet. Try again!", Duration = 3}) end else Rayfield:Notify({Title = "Error", Content = "Character model not found in game world!", Duration = 3}) end else Rayfield:Notify({Title = "Error", Content = "Target player left or your character is dead!", Duration = 3}) end else Rayfield:Notify({Title = "Error", Content = "Please select a target player first!", Duration = 3}) end end }) local Flying = false local FlySpeed = 60 local FlyConnection = nil local bv = nil local bg = nil PlayerTab:CreateToggle({ Name = "Mobile Smooth Fly (Joystick)", CurrentValue = false, Flag = "FlyToggleMobile", Callback = function(Value) Flying = Value local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local hum = char and char:FindFirstChild("Humanoid") if Flying then if hrp and hum then local camera = workspace.CurrentCamera hum.PlatformStand = true bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(1e6, 1e6, 1e6) bv.Velocity = Vector3.new(0, 0, 0) bv.Parent = hrp bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(1e6, 1e6, 1e6) bg.CFrame = hrp.CFrame bg.Parent = hrp FlyConnection = RunService.RenderStepped:Connect(function() if not Flying or not hrp or not hum then if FlyConnection then FlyConnection:Disconnect() end if bv then bv:Destroy() end if bg then bg:Destroy() end if hum then hum.PlatformStand = false end return end local moveDir = hum.MoveDirection local camCFrame = camera.CFrame if moveDir.Magnitude > 0 then local camLook = camCFrame.LookVector local camRight = camCFrame.RightVector local flatLook = Vector3.new(camLook.X, 0, camLook.Z).Unit local flatRight = Vector3.new(camRight.X, 0, camRight.Z).Unit local forwardDot = moveDir:Dot(flatLook) local rightDot = moveDir:Dot(flatRight) bv.Velocity = (camLook * forwardDot + camRight * rightDot) * FlySpeed else bv.Velocity = Vector3.new(0, 0, 0) end bg.CFrame = camCFrame end) end else if FlyConnection then FlyConnection:Disconnect() end if bv then bv:Destroy() end if bg then bg:Destroy() end if hum then hum.PlatformStand = false end end end }) PlayerTab:CreateSlider({ Name = "Flight Speed", Range = {10, 300}, Increment = 5, Suffix = "Studs", CurrentValue = 60, Flag = "FlySpeedMobileConfig", Callback = function(Value) FlySpeed = Value end }) local InfiniteJump = false PlayerTab:CreateToggle({ Name = "Infinite Jump (Air Jump)", CurrentValue = false, Flag = "InfiniteJumpToggle", Callback = function(Value) InfiniteJump = Value end }) UserInputService.JumpRequest:Connect(function() if InfiniteJump then local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) local GodMode = false PlayerTab:CreateToggle({ Name = "Anti-Staff Aura (Delete Nearby)", CurrentValue = false, Flag = "AuraToggle", Callback = function(Value) GodMode = Value task.spawn(function() while GodMode do task.wait(0.1) local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then for _, npc in pairs(workspace:GetChildren()) do if npc:IsA("Model") and (string.find(string.lower(npc.Name), "staff") or string.find(string.lower(npc.Name), "employee")) then local hrp = npc:FindFirstChild("HumanoidRootPart") if hrp and (hrp.Position - char.HumanoidRootPart.Position).Magnitude < 20 then npc:Destroy() end end end end end end) end }) PlayerTab:CreateSlider({ Name = "Advanced WalkSpeed", Range = {16, 150}, Increment = 1, Suffix = "Speed", CurrentValue = 16, Flag = "ProSpeed", Callback = function(Value) if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then LocalPlayer.Character.Humanoid.WalkSpeed = Value end end }) local NoFall = false local NoFallConnection = nil PlayerTab:CreateToggle({ Name = "No Fall Damage", CurrentValue = false, Flag = "NoFallDamageToggle", Callback = function(Value) NoFall = Value if NoFall then NoFallConnection = RunService.PreRender:Connect(function() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then if hum:GetState() == Enum.HumanoidStateType.Freefall then hum:ChangeState(Enum.HumanoidStateType.Running) end end end) else if NoFallConnection then NoFallConnection:Disconnect() NoFallConnection = nil end end end }) ---------------------------------------------------- -- [ВКЛАДКА 2: WORLD & ESP (ВИЗУАЛЫ И ПОДСВЕТКА)] ---------------------------------------------------- local ESP_Enabled = false WorldTab:CreateToggle({ Name = "Fixed ESP (All Items & Staff)", CurrentValue = false, Flag = "ItemEspToggleFinal", Callback = function(Value) ESP_Enabled = Value if ESP_Enabled then task.spawn(function() while ESP_Enabled do local descendants = workspace:GetDescendants() for i, obj in pairs(descendants) do if not ESP_Enabled then break end if i % 200 == 0 then task.wait() end if obj:IsA("Model") and obj.PrimaryPart then local name = string.lower(obj.Name) if string.find(name, "employee") or string.find(name, "staff") then if not obj.PrimaryPart:FindFirstChild("NastyaESP") then local bgui = Instance.new("BillboardGui") bgui.Name = "NastyaESP" bgui.Parent = obj.PrimaryPart bgui.AlwaysOnTop = true bgui.Size = UDim2.new(0, 100, 0, 25) bgui.StudsOffset = Vector3.new(0, 3, 0) local text = Instance.new("TextLabel") text.Parent = bgui text.BackgroundTransparency = 1 text.Size = UDim2.new(1, 0, 1, 0) text.Text = "Danger: Staff" text.TextColor3 = Color3.fromRGB(255, 0, 0) text.TextStrokeTransparency = 0 text.TextScaled = true end elseif string.find(name, "pizza") or string.find(name, "burger") or string.find(name, "medkit") or string.find(name, "apple") or string.find(name, "lemon") or string.find(name, "water") or string.find(name, "hotdog") or string.find(name, "hot dog") or string.find(name, "cookie") or string.find(name, "crisps") or string.find(name, "chips") or string.find(name, "cola") or string.find(name, "bloxy") or string.find(name, "soda") or string.find(name, "ice cream") or string.find(name, "donut") or string.find(name, "frikadeller") or string.find(name, "meatball") then if not obj.PrimaryPart:FindFirstChild("NastyaESP") then local bgui = Instance.new("BillboardGui") bgui.Name = "NastyaESP" bgui.Parent = obj.PrimaryPart bgui.AlwaysOnTop = true bgui.Size = UDim2.new(0, 80, 0, 20) bgui.StudsOffset = Vector3.new(0, 2, 0) local text = Instance.new("TextLabel") text.Parent = bgui text.BackgroundTransparency = 1 text.Size = UDim2.new(1, 0, 1, 0) text.Text = obj.Name text.TextColor3 = Color3.fromRGB(0, 255, 0) text.TextStrokeTransparency = 0 text.TextScaled = true end end end end task.wait(2) end end) else for _, desc in pairs(workspace:GetDescendants()) do if desc.Name == "NastyaESP" then desc:Destroy() end end end end }) local PlayerESP_Enabled = false local PlayerESP_Connection = nil local function CleanPlayerESP() for _, player in pairs(Players:GetPlayers()) do if player.Character then local box = player.Character:FindFirstChild("PlayerBoxESP") local tracer = player.Character:FindFirstChild("PlayerTracerESP") local gui = player.Character:FindFirstChild("PlayerTextESP") if box then box:Destroy() end if tracer then tracer:Destroy() end if gui then gui:Destroy() end end end end WorldTab:CreateToggle({ Name = "Player ESP (Tracers, Box & Distance)", CurrentValue = false, Flag = "PlayerESPKeyToggle", Callback = function(Value) PlayerESP_Enabled = Value if PlayerESP_Enabled then PlayerESP_Connection = RunService.RenderStepped:Connect(function() if not PlayerESP_Enabled then return end local myChar = LocalPlayer.Character local myHrp = myChar and myChar:FindFirstChild("HumanoidRootPart") if not myHrp then return end for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local targetHrp = player.Character.HumanoidRootPart local box = player.Character:FindFirstChild("PlayerBoxESP") if not box then box = Instance.new("BoxHandleAdornment") box.Name = "PlayerBoxESP" box.Size = Vector3.new(4, 5.5, 1.5) box.Color3 = Color3.fromRGB(255, 255, 255) box.Transparency = 0.6 box.AlwaysOnTop = true box.ZIndex = 6 box.Parent = player.Character end box.Adornee = targetHrp local tracer = player.Character:FindFirstChild("PlayerTracerESP") if not tracer then tracer = Instance.new("LineHandleAdornment") tracer.Name = "PlayerTracerESP" tracer.Thickness = 2 tracer.Color3 = Color3.fromRGB(255, 255, 0) tracer.AlwaysOnTop = true tracer.ZIndex = 6 tracer.Parent = player.Character end tracer.Adornee = myHrp local relativePos = myHrp.CFrame:PointToObjectSpace(targetHrp.Position) tracer.CFrame = CFrame.lookAt(Vector3.new(0, 0, 0), relativePos) tracer.Length = relativePos.Magnitude local gui = player.Character:FindFirstChild("PlayerTextESP") if not gui then gui = Instance.new("BillboardGui") gui.Name = "PlayerTextESP" gui.Size = UDim2.new(0, 150, 0, 30) gui.StudsOffset = Vector3.new(0, 4, 0) gui.AlwaysOnTop = true local label = Instance.new("TextLabel") label.Name = "Label" label.Parent = gui label.BackgroundTransparency = 1 label.Size = UDim2.new(1, 0, 1, 0) label.TextColor3 = Color3.fromRGB(0, 225, 255) label.TextStrokeTransparency = 0 label.TextScaled = true gui.Parent = player.Character end gui.Adornee = targetHrp local distance = math.floor((myHrp.Position - targetHrp.Position).Magnitude) if gui:FindFirstChild("Label") then gui.Label.Text = player.Name .. " [" .. tostring(distance) .. " Studs]" end end end end) else if PlayerESP_Connection then PlayerESP_Connection:Disconnect() PlayerESP_Connection = nil end CleanPlayerESP() end end }) local FullbrightEnabled = false local FullbrightConnection = nil WorldTab:CreateToggle({ Name = "Fullbright (No Fog / No Dark)", CurrentValue = false, Flag = "FullbrightDynamicToggle", Callback = function(Value) FullbrightEnabled = Value if FullbrightEnabled then FullbrightConnection = RunService.Heartbeat:Connect(function() Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) Lighting.Brightness = 3 Lighting.FogEnd = 9e9 Lighting.GlobalShadows = false end) Rayfield:Notify({Title = "Fullbright", Content = "Fullbright Enabled!", Duration = 3}) else if FullbrightConnection then FullbrightConnection:Disconnect() FullbrightConnection = nil end Lighting.Ambient = OrigAmbient Lighting.OutdoorAmbient = OrigOutdoorAmbient Lighting.Brightness = OrigBrightness Lighting.FogEnd = OrigFogEnd Lighting.GlobalShadows = OrigShadows Rayfield:Notify({Title = "Fullbright", Content = "Fullbright Disabled! Normal environment restored.", Duration = 3}) end end }) ---------------------------------------------------- -- [ВКЛАДКА 3: BASE, ITEMS & GRABBER (ИНТЕРАКТИВ И СБОР)] ---------------------------------------------------- BaseTab:CreateSection("🧲 Advanced Universal Grabber (Magnet)") local GrabberEnabled = false local GrabberRadius = 150 local GrabberWhitelist = {"Pallet", "Bed", "Couch", "TV", "Table", "Chair", "Desk", "Lamp", "Bookshelf", "Crate", "Box", "Shelf"} BaseTab:CreateSlider({ Name = "Grabber Search Radius", Range = {50, 1000}, Increment = 50, Suffix = "Studs", CurrentValue = 150, Flag = "GrabberRadiusSlider", Callback = function(Value) GrabberRadius = Value end }) BaseTab:CreateToggle({ Name = "Enable Furniture Grabber (Bring Base Items)", CurrentValue = false, Flag = "UniversalGrabberToggle", Callback = function(Value) GrabberEnabled = Value if GrabberEnabled then Rayfield:Notify({Title = "Grabber Activated", Content = "Magnetizing pallets, beds, and furniture to you...", Duration = 3}) task.spawn(function() while GrabberEnabled do local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local system = char and char:FindFirstChild("System") local actionRemote = system and (system:FindFirstChild("Action") or system:FindFirstChild("Event")) if hrp and actionRemote then local parts = workspace:GetPartBoundsInRadius(hrp.Position, GrabberRadius) local processed = {} for _, part in pairs(parts) do if not GrabberEnabled then break end local model = part:FindFirstAncestorOfClass("Model") if model and not processed[model] and model.PrimaryPart and not model:FindFirstChild("Humanoid") then processed[model] = true local lowerName = string.lower(model.Name) local isValid = false for _, v in pairs(GrabberWhitelist) do if string.find(lowerName, string.lower(v)) then isValid = true break end end if isValid then pcall(function() if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Pickup", model) else actionRemote:FireServer("Pickup", model) end task.wait(0.1) local dropCFrame = hrp.CFrame * CFrame.new(0, 1, -5) if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Place", dropCFrame, model) else actionRemote:FireServer("Place", dropCFrame, model) actionRemote:FireServer("Drop", dropCFrame) end end) task.wait(0.2) end end end end task.wait(1.5) end end) else Rayfield:Notify({Title = "Grabber Deactivated", Content = "Furniture magnet stopped.", Duration = 3}) end end }) ---------------------------------------------------- -- 🔗 [РАЗДЕЛ ЗАМЕНЫ: ЗАПУСК ВНЕШНЕГО СКРИПТА 3008] ---------------------------------------------------- BaseTab:CreateSection("🔗 External RANSBLOX Script Launcher") BaseTab:CreateButton({ Name = "Execute RANSBLOX SCP-3008 Script", Callback = function() Rayfield:Notify({Title = "Executing...", Content = "Loading external RANSBLOX script via loadstring", Duration = 3}) pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/YTRANSBLOX/RANSBLOX-SCRIPT/refs/heads/main/3008.lua"))() end) end }) ---------------------------------------------------- -- СТАРЫЙ БЛОК: ЕДА И ОСТАЛЬНОЕ ---------------------------------------------------- local AutoFoodEnabled = false local FoodRadius = 1000 local FoodLimit = 16 local AllFoodList = { "Burger", "Water", "Hotdog", "Cookie", "Soda", "Apple", "Lemon", "Banana", "Ice Cream", "Crisps", "Chips", "Cola", "Bloxy", "Bob", "Donut", "Frikadeller", "Meatball" } local SelectedFoodItems = { "Burger", "Water", "Hotdog", "Cookie", "Soda", "Apple", "Lemon", "Banana", "Ice Cream", "Crisps", "Chips", "Cola", "Bloxy", "Bob", "Donut", "Frikadeller", "Meatball" } BaseTab:CreateSection("⚡ Interactive Food Auto-Farm") BaseTab:CreateDropdown({ Name = "Select Food to Collect", Options = AllFoodList, CurrentOption = SelectedFoodItems, MultipleOptions = true, Flag = "FoodMenuSelectorDropdown", Callback = function(Options) SelectedFoodItems = Options end, }) BaseTab:CreateSlider({ Name = "Food Scan Radius", Range = {100, 2000}, Increment = 50, Suffix = "Studs", CurrentValue = 1000, Flag = "FoodRadiusSlider", Callback = function(Value) FoodRadius = Value end }) BaseTab:CreateSlider({ Name = "Food Inventory Limit", Range = {1, 16}, Increment = 1, Suffix = "Items", CurrentValue = 16, Flag = "FoodLimitSlider", Callback = function(Value) FoodLimit = Value end }) BaseTab:CreateToggle({ Name = "Enable Loop Food Auto-Farm", CurrentValue = false, Flag = "AutoFoodToggleLoop", Callback = function(Value) AutoFoodEnabled = Value if AutoFoodEnabled then task.spawn(function() while AutoFoodEnabled do local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local system = char and char:FindFirstChild("System") local actionRemote = system and (system:FindFirstChild("Action") or system:FindFirstChild("Event")) if hrp and actionRemote then local originalLocation = hrp.CFrame local foodCollected = 0 local parts = workspace:GetPartBoundsInRadius(hrp.Position, FoodRadius) local processedModels = {} for _, part in pairs(parts) do if not AutoFoodEnabled or foodCollected >= FoodLimit then break end local model = part:FindFirstAncestorOfClass("Model") if model and not processedModels[model] then processedModels[model] = true local lowerName = string.lower(model.Name) local isWhitelisted = false for k, v in pairs(SelectedFoodItems) do local itemName = (type(k) == "string") and k or tostring(v) if type(v) == "boolean" and v == false then continue end if string.find(lowerName, string.lower(itemName)) then isWhitelisted = true break end end if isWhitelisted then local modelCenterCFrame, _ = model:GetBoundingBox() hrp.CFrame = modelCenterCFrame task.wait(0.02) pcall(function() if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Store", {["Model"] = model}) else actionRemote:FireServer("Store", {["Model"] = model}) end end) for _, child in pairs(model:GetDescendants()) do if child:IsA("ClickDetector") and fireclickdetector then fireclickdetector(child) end if child:IsA("ProximityPrompt") and fireproximityprompt then fireproximityprompt(child) end end foodCollected = foodCollected + 1 task.wait(0.02) end end end if foodCollected > 0 then hrp.CFrame = originalLocation end end task.wait(3) end end) end end }) local AutoMedkitsEnabled = false local MedkitRadius = 1000 local MedkitLimit = 16 BaseTab:CreateSection("💊 Auto-Farm Medkits") BaseTab:CreateSlider({ Name = "Medkit Scan Radius", Range = {100, 2000}, Increment = 50, Suffix = "Studs", CurrentValue = 1000, Flag = "MedkitRadiusSlider", Callback = function(Value) MedkitRadius = Value end }) BaseTab:CreateSlider({ Name = "Medkit Inventory Limit", Range = {1, 16}, Increment = 1, Suffix = "Items", CurrentValue = 16, Flag = "MedkitLimitSlider", Callback = function(Value) MedkitLimit = Value end }) BaseTab:CreateToggle({ Name = "Enable Loop Medkit Auto-Farm", CurrentValue = false, Flag = "AutoMedkitsToggleLoop", Callback = function(Value) AutoMedkitsEnabled = Value if AutoMedkitsEnabled then task.spawn(function() while AutoMedkitsEnabled do local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local system = char and char:FindFirstChild("System") local actionRemote = system and (system:FindFirstChild("Action") or system:FindFirstChild("Event")) if hrp and actionRemote then local originalLocation = hrp.CFrame local medkitsCollected = 0 local parts = workspace:GetPartBoundsInRadius(hrp.Position, MedkitRadius) local processedModels = {} for _, part in pairs(parts) do if not AutoMedkitsEnabled or medkitsCollected >= MedkitLimit then break end local model = part:FindFirstAncestorOfClass("Model") if model and not processedModels[model] then processedModels[model] = true if string.find(string.lower(model.Name), "medkit") then local modelCenterCFrame, _ = model:GetBoundingBox() hrp.CFrame = modelCenterCFrame task.wait(0.02) pcall(function() if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Store", {["Model"] = model}) else actionRemote:FireServer("Store", {["Model"] = model}) end end) for _, child in pairs(model:GetDescendants()) do if child:IsA("ClickDetector") and fireclickdetector then fireclickdetector(child) end if child:IsA("ProximityPrompt") and fireproximityprompt then fireproximityprompt(child) end end medkitsCollected = medkitsCollected + 1 task.wait(0.02) end end end if medkitsCollected > 0 then hrp.CFrame = originalLocation end end task.wait(3) end end) end end }) BaseTab:CreateSection("Other Base Settings") BaseTab:CreateButton({ Name = "Teleport to Cafeteria (Find Beans/Bob)", Callback = function() local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then Rayfield:Notify({Title = "Error", Content = "Character not found!", Duration = 3}) return end Rayfield:Notify({Title = "Scanning Server", Content = "Searching for real Beans (Food) or Bob...", Duration = 3}) local targetModel = nil for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("Model") then local name = string.lower(obj.Name) if (string.find(name, "bean") and not string.find(name, "bag")) or string.find(name, "bob") then targetModel = obj break end end end if targetModel then local modelCenterCFrame, _ = targetModel:GetBoundingBox() hrp.CFrame = modelCenterCFrame + Vector3.new(0, 4, 0) Rayfield:Notify({Title = "Success!", Content = "Teleported to Cafeteria near item: " .. targetModel.Name, Duration = 4}) else Rayfield:Notify({Title = "Not Found", Content = "Beans/Bob are not loaded in your render distance.", Duration = 5}) end end }) local AutoConsume = false BaseTab:CreateToggle({ Name = "Auto-Consume Food & Medkits (Low HP)", CurrentValue = false, Flag = "AutoConsumeSurvivalToggle", Callback = function(Value) AutoConsume = Value end }) task.spawn(function() while true do task.wait(1.5) if AutoConsume then local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local system = char and char:FindFirstChild("System") local actionRemote = system and system:FindFirstChild("Action") if hum and hum.Health < 40 and actionRemote then pcall(function() actionRemote:FireServer("Consume", "Medkit") end) pcall(function() actionRemote:FireServer("Consume", "Burger") end) pcall(function() actionRemote:FireServer("Eat", "Medkit") end) pcall(function() actionRemote:FireServer("Use", "Medkit") end) end end end end) BaseTab:CreateSection("Advanced Waypoint Manager") BaseTab:CreateInput({ Name = "New Waypoint Name", PlaceholderText = "Type point name...", RemoveTextAfterFocusLost = false, Callback = function(Text) TargetWaypointName = Text end, }) BaseTab:CreateButton({ Name = "Save Current Position", Callback = function() local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end if TargetWaypointName and TargetWaypointName ~= "" then Waypoints[TargetWaypointName] = hrp.Position local list = {} for name, _ in pairs(Waypoints) do table.insert(list, name) end if WaypointDropdown then WaypointDropdown:Refresh(list) end Rayfield:Notify({Title = "Location Saved", Content = "Added '" .. TargetWaypointName .. "' to your list!", Duration = 3}) else Rayfield:Notify({Title = "Error", Content = "Please type a name in the input box first!", Duration = 3}) end end }) WaypointDropdown = BaseTab:CreateDropdown({ Name = "Select Saved Waypoint", Options = {}, CurrentOption = "", MultipleOptions = false, Flag = "NastyaWaypointDropdown", Callback = function(Option) if type(Option) == "table" then SelectedWaypoint = Option[1] else SelectedWaypoint = Option end end, }) BaseTab:CreateButton({ Name = "Teleport To Selected Waypoint", Callback = function() local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end if SelectedWaypoint and Waypoints[SelectedWaypoint] then hrp.CFrame = CFrame.new(Waypoints[SelectedWaypoint]) Rayfield:Notify({Title = "Teleported", Content = "Arrived safely at: " .. SelectedWaypoint, Duration = 3}) else Rayfield:Notify({Title = "Teleport Failed", Content = "Please select a valid point from the drop-down list!", Duration = 3}) end end }) BaseTab:CreateButton({ Name = "Delete Selected Waypoint", Callback = function() if SelectedWaypoint and Waypoints[SelectedWaypoint] then Waypoints[SelectedWaypoint] = nil SelectedWaypoint = "" local list = {} for name, _ in pairs(Waypoints) do table.insert(list, name) end if WaypointDropdown then WaypointDropdown:Refresh(list) end Rayfield:Notify({Title = "Deleted", Content = "Waypoint removed from your memory.", Duration = 3}) end end }) ---------------------------------------------------- -- [BASE BLUEPRINT SERVER-SIDE BUILDER] ---------------------------------------------------- BaseTab:CreateSection("🏗️ Base Blueprint (SERVER-SIDE)") local BlueprintFolderName = "SCP3008_Blueprints" if isfolder and makefolder then if not isfolder(BlueprintFolderName) then makefolder(BlueprintFolderName) end end local BlueprintSaveRadius = 50 local CurrentBlueprintName = "MyAwesomeBase" local SelectedBlueprintFile = "" local ServerBuildDelay = 0.8 BaseTab:CreateInput({ Name = "Blueprint Name (For Saving)", PlaceholderText = "Type base name...", RemoveTextAfterFocusLost = false, Callback = function(Text) CurrentBlueprintName = Text end, }) BaseTab:CreateSlider({ Name = "Save Radius", Range = {20, 200}, Increment = 10, Suffix = "Studs", CurrentValue = 50, Flag = "BlueprintRadius", Callback = function(Value) BlueprintSaveRadius = Value end }) BaseTab:CreateButton({ Name = "💾 SAVE CURRENT BASE", Callback = function() if not writefile then Rayfield:Notify({Title = "Error", Content = "Your executor does not support file saving!", Duration = 5}) return end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end local rootCFrame = hrp.CFrame local baseData = {} local savedCount = 0 for _, model in pairs(workspace:GetDescendants()) do if model:IsA("Model") and model.PrimaryPart and not model:FindFirstChild("Humanoid") then if model.PrimaryPart.Size.Magnitude < 100 then local dist = (model.PrimaryPart.Position - rootCFrame.Position).Magnitude if dist <= BlueprintSaveRadius then local relativeCFrame = rootCFrame:ToObjectSpace(model.PrimaryPart.CFrame) local x, y, z = relativeCFrame.X, relativeCFrame.Y, relativeCFrame.Z local rx, ry, rz = relativeCFrame:ToEulerAnglesXYZ() table.insert(baseData, { Name = model.Name, Pos = {x, y, z}, Rot = {rx, ry, rz} }) savedCount = savedCount + 1 end end end end if savedCount > 0 then local jsonData = HttpService:JSONEncode(baseData) local fileName = BlueprintFolderName .. "/" .. CurrentBlueprintName .. ".json" writefile(fileName, jsonData) Rayfield:Notify({Title = "Saved Successfully!", Content = "Saved " .. savedCount .. " items to " .. CurrentBlueprintName, Duration = 4}) else Rayfield:Notify({Title = "Failed", Content = "No items found in radius. Try increasing the Save Radius.", Duration = 4}) end end }) local function GetSavedBlueprints() local files = {} if listfiles and isfolder(BlueprintFolderName) then for _, path in pairs(listfiles(BlueprintFolderName)) do local fileName = string.match(path, "([^/%\\]+)$") table.insert(files, fileName) end end return files end local BlueprintDropdown = BaseTab:CreateDropdown({ Name = "Select Blueprint to Load", Options = GetSavedBlueprints(), CurrentOption = "", MultipleOptions = false, Flag = "BlueprintDropdown", Callback = function(Option) if type(Option) == "table" then SelectedBlueprintFile = Option[1] else SelectedBlueprintFile = Option end end, }) BaseTab:CreateButton({ Name = "🔄 Refresh Blueprint List", Callback = function() BlueprintDropdown:Refresh(GetSavedBlueprints()) end }) BaseTab:CreateSlider({ Name = "Server Build Speed (Delay)", Range = {0.3, 2.0}, Increment = 0.1, Suffix = "Seconds", CurrentValue = 0.8, Flag = "ServerBuildDelaySlider", Callback = function(Value) ServerBuildDelay = Value end }) BaseTab:CreateButton({ Name = "🏗️ BUILD BASE (SERVER-SIDE)", Callback = function() if not readfile or SelectedBlueprintFile == "" then Rayfield:Notify({Title = "Error", Content = "Please select a valid blueprint first!", Duration = 3}) return end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local system = char and char:FindFirstChild("System") local actionRemote = system and (system:FindFirstChild("Action") or system:FindFirstChild("Event")) if not hrp or not actionRemote then Rayfield:Notify({Title = "Error", Content = "Cannot find Action Remote. Ensure you are fully spawned.", Duration = 3}) return end local fileName = BlueprintFolderName .. "/" .. SelectedBlueprintFile if not isfile(fileName) then Rayfield:Notify({Title = "Error", Content = "File not found!", Duration = 3}) return end local jsonData = readfile(fileName) local baseData = HttpService:JSONDecode(jsonData) local originalRootCFrame = hrp.CFrame local usedModels = {} local loadedCount = 0 Rayfield:Notify({Title = "Server Building...", Content = "Building visible base. DO NOT MOVE!", Duration = 5}) task.spawn(function() for _, itemData in pairs(baseData) do local foundModel = nil for _, model in pairs(workspace:GetDescendants()) do if model:IsA("Model") and model.Name == itemData.Name and model.PrimaryPart and not model:FindFirstChild("Humanoid") then if not usedModels[model] then foundModel = model break end end end if foundModel then usedModels[foundModel] = true local pos = Vector3.new(unpack(itemData.Pos)) local rot = CFrame.Angles(unpack(itemData.Rot)) local targetPlacementCFrame = originalRootCFrame * CFrame.new(pos) * rot hrp.CFrame = foundModel.PrimaryPart.CFrame + Vector3.new(0, 3, 0) task.wait(0.1) pcall(function() if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Pickup", foundModel) else actionRemote:FireServer("Pickup", foundModel) end end) task.wait(ServerBuildDelay / 2) hrp.CFrame = originalRootCFrame task.wait(0.1) pcall(function() if actionRemote:IsA("RemoteFunction") then actionRemote:InvokeServer("Place", targetPlacementCFrame, foundModel) else actionRemote:FireServer("Place", targetPlacementCFrame, foundModel) actionRemote:FireServer("Drop", targetPlacementCFrame) end end) loadedCount = loadedCount + 1 task.wait(ServerBuildDelay / 2) end end hrp.CFrame = originalRootCFrame Rayfield:Notify({Title = "Build Complete!", Content = "Placed " .. loadedCount .. "/" .. #baseData .. " items. Everyone can see it!", Duration = 5}) end) end }) ---------------------------------------------------- -- [ВКЛАДКА 4: SERVER MANAGER & TIME TRACKER] ---------------------------------------------------- ServerTab:CreateSection("Time & Status") local TimeOverlayEnabled = false local ScreenGui = nil local TimerLabel = nil local cachedTimeLabel = nil local cachedPhaseLabel = nil local TimeTrackerConnection = nil local function isValidTimeLabel(lbl) if not lbl or not lbl.Parent then return false end local txt = lbl.Text:gsub("\n", ""):gsub("^%s*(.-)%s*$", "%1") return string.match(txt, "^%d%d:%d%d$") ~= nil end local function isValidPhaseLabel(lbl) if not lbl or not lbl.Parent then return false end local txt = string.upper(lbl.Text):gsub("\n", " "):gsub("^%s*(.-)%s*$", "%1") return (string.match(txt, "^DAY%s+%d+$") ~= nil) or (string.match(txt, "^NIGHT%s+%d+$") ~= nil) end local function FindLabels() cachedTimeLabel = nil cachedPhaseLabel = nil local gui = LocalPlayer:FindFirstChild("PlayerGui") if not gui then return end for _, v in pairs(gui:GetDescendants()) do if v:IsA("TextLabel") and v.Name ~= "TimerLabel" and v.Visible then if isValidPhaseLabel(v) then cachedPhaseLabel = v break end end end if cachedPhaseLabel then if cachedPhaseLabel.Parent then for _, sibling in pairs(cachedPhaseLabel.Parent:GetChildren()) do if sibling:IsA("TextLabel") and sibling ~= cachedPhaseLabel and isValidTimeLabel(sibling) then cachedTimeLabel = sibling return end end end for _, v in pairs(gui:GetDescendants()) do if v:IsA("TextLabel") and v.Name ~= "TimerLabel" and v.Visible then if isValidTimeLabel(v) then cachedTimeLabel = v return end end end end end ServerTab:CreateToggle({ Name = "Show Day/Night Overlay", CurrentValue = false, Flag = "TimeOverlayToggleFixAbsolute", Callback = function(Value) TimeOverlayEnabled = Value if TimeOverlayEnabled then if not ScreenGui then ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "TimeOverlayGui" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Name = "TimeFrame" Frame.Size = UDim2.new(0, 200, 0, 70) Frame.Position = UDim2.new(0.5, -100, 0.05, 0) Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 8) Corner.Parent = Frame TimerLabel = Instance.new("TextLabel") TimerLabel.Name = "TimerLabel" TimerLabel.Size = UDim2.new(1, 0, 1, 0) TimerLabel.BackgroundTransparency = 1 TimerLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TimerLabel.TextScaled = true TimerLabel.Font = Enum.Font.GothamBold TimerLabel.Text = "Syncing...\nWait" TimerLabel.Parent = Frame end ScreenGui.Enabled = true TimeTrackerConnection = RunService.RenderStepped:Connect(function() if not isValidTimeLabel(cachedTimeLabel) or not isValidPhaseLabel(cachedPhaseLabel) then FindLabels() end if cachedTimeLabel and cachedPhaseLabel then local timeStr = cachedTimeLabel.Text:gsub("\n", ""):gsub("^%s*(.-)%s*$", "%1") local phaseStr = string.upper(cachedPhaseLabel.Text):gsub("\n", " "):gsub("^%s*(.-)%s*$", "%1") if string.match(phaseStr, "^DAY") then if TimerLabel then TimerLabel.TextColor3 = Color3.fromRGB(0, 200, 255) TimerLabel.Text = "To NIGHT:\n" .. timeStr end elseif string.match(phaseStr, "^NIGHT") then if TimerLabel then TimerLabel.TextColor3 = Color3.fromRGB(255, 255, 0) TimerLabel.Text = "To DAY:\n" .. timeStr end end else if TimerLabel then TimerLabel.Text = "Searching HUD..." end end end) else if ScreenGui then ScreenGui.Enabled = false end if TimeTrackerConnection then TimeTrackerConnection:Disconnect() TimeTrackerConnection = nil end end end }) local AgeLabel = ServerTab:CreateLabel("Current Server Age: Calculating...") task.spawn(function() while task.wait(1) do local totalSeconds = math.floor(workspace.DistributedGameTime) local hours = math.floor(totalSeconds / 3600) local minutes = math.floor((totalSeconds % 3600) / 60) local seconds = totalSeconds % 60 AgeLabel:Set(string.format("Current Server Age: %02d:%02d:%02d", hours, minutes, seconds)) end end) ServerTab:CreateLabel("Tip: Fresh servers usually have more untampered loot!")