-- // Reset loading state for debugging
_G.NWR_Loaded = false
-- // Services
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RunService = game:GetService("RunService")
local TeleportService = game:GetService("TeleportService")
local HttpService = game:GetService("HttpService")
-- // Safe Load Fluent
local Success, Fluent = pcall(function()
return loadstring(game:HttpGet("https://[Log in to view URL]"))()
end)
if not Success or not Fluent then return end
-- // Window Creation
local Window = Fluent:CreateWindow({
Title = "NWR's Hub | Block Spin",
SubTitle = "Developer Hub",
TabWidth = 160,
Size = UDim2.fromOffset(580, 460),
Acrylic = false,
Theme = "Darker",
MinimizeKey = Enum.KeyCode.LeftControl
})
local Tabs = {
Visuals = Window:AddTab({ Title = "Visuals", Icon = "eye" }),
Server = Window:AddTab({ Title = "Server", Icon = "server" })
}
-- // --- VISUALS TAB --- //
local VisualsSection = Tabs.Visuals:AddSection("Player ESP")
local function applyHighlight(player)
if player == LocalPlayer then return end
local character = player.Character
if character then
local existing = character:FindFirstChild("NWR_Highlight")
if _G.UserHighlighter then
if not existing then
local hl = Instance.new("Highlight")
hl.Name = "NWR_Highlight"
hl.FillColor = (player.Team and player.TeamColor.Color) or Color3.fromRGB(255, 0, 0)
hl.FillTransparency = 0.5
hl.OutlineColor = Color3.fromRGB(255, 255, 255)
hl.Parent = character
end
elseif existing then
existing:Destroy()
end
end
end
Tabs.Visuals:AddToggle("Highlighter", {
Title = "User Highlighter",
Default = false,
Callback = function(Value)
_G.UserHighlighter = Value
for _, player in ipairs(Players:GetPlayers()) do applyHighlight(player) end
end
})
-- // --- SERVER TAB --- //
local ServerSection = Tabs.Server:AddSection("Teleportation")
ServerSection:AddButton({
Title = "Rejoin Same Server",
Description = "Quickly reconnects you to this exact server.",
Callback = function()
Window:Dialog({
Title = "Rejoin",
Content = "Are you sure you want to rejoin?",
Buttons = {
{
Title = "Yes",
Callback = function()
TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
end
},
{ Title = "No" }
}
})
end
})
ServerSection:AddButton({
Title = "Server Hop (Smallest)",
Description = "Finds the server with the fewest players.",
Callback = function()
local function findSmallest()
local sfUrl = "https://[Log in to view URL]" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
local success, result = pcall(function() return HttpService:JSONDecode(game:HttpGet(sfUrl)) end)
if success and result and result.data then
for _, server in ipairs(result.data) do
if server.id ~= game.JobId and server.playing < server.maxPlayers then
return server.id
end
end
end
return nil
end
local targetServer = findSmallest()
if targetServer then
TeleportService:TeleportToPlaceInstance(game.PlaceId, targetServer, LocalPlayer)
else
Fluent:Notify({Title = "Error", Content = "No other servers found.", Duration = 3})
end
end
})
-- // Auto-Update Loop
local updateTick = 0
RunService.Heartbeat:Connect(function()
updateTick = updateTick + 1
if updateTick >= 60 and _G.UserHighlighter then
updateTick = 0
for _, player in ipairs(Players:GetPlayers()) do applyHighlight(player) end
end
end)
Window:SelectTab(1)
_G.NWR_Loaded = true
To embed this project on your website, copy the following code and paste it into your website's HTML: