-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] --========================================================-- -- STREETLIFE ADMIN PANEL -- -- ROBLOX STUDIO TEST SYSTEM -- --========================================================-- local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") ------------------------------------------------------------ -- REMOTE ------------------------------------------------------------ local Remote = ReplicatedStorage:FindFirstChild("StreetLifeAdmin") if not Remote then Remote = Instance.new("RemoteEvent") Remote.Name = "StreetLifeAdmin" Remote.Parent = ReplicatedStorage end ------------------------------------------------------------ -- ADMIN LIST -- Add your UserId here for the development version. ------------------------------------------------------------ local ADMINS = { -- [YOUR_USER_ID] = true, } local function IsAdmin(player) -- Studio-only development convenience if game:GetService("RunService"):IsStudio() then return true end return ADMINS[player.UserId] == true end ------------------------------------------------------------ -- PLAYER FINDER ------------------------------------------------------------ local function FindPlayer(name) if not name or name == "" then return nil end name = string.lower(name) for _, player in ipairs(Players:GetPlayers()) do if string.lower(player.Name) == name or string.lower(player.DisplayName) == name then return player end end for _, player in ipairs(Players:GetPlayers()) do if string.sub(string.lower(player.Name), 1, #name) == name then return player end end return nil end ------------------------------------------------------------ -- CHARACTER HELPERS ------------------------------------------------------------ local function GetCharacter(player) return player and player.Character end local function GetHumanoid(player) local character = GetCharacter(player) if not character then return nil end return character:FindFirstChildOfClass("Humanoid") end local function GetRoot(player) local character = GetCharacter(player) if not character then return nil end return character:FindFirstChild("HumanoidRootPart") end ------------------------------------------------------------ -- MONEY ------------------------------------------------------------ local function GiveMoney(player, amount) local leaderstats = player:FindFirstChild("leaderstats") if not leaderstats then return end local money = leaderstats:FindFirstChild("Money") or leaderstats:FindFirstChild("Cash") or leaderstats:FindFirstChild("Coins") if not money then return end if money:IsA("IntValue") or money:IsA("NumberValue") then money.Value += math.clamp( tonumber(amount) or 0, 0, 1000000 ) end end ------------------------------------------------------------ -- XP ------------------------------------------------------------ local function GiveXP(player, amount) local leaderstats = player:FindFirstChild("leaderstats") if not leaderstats then return end local xp = leaderstats:FindFirstChild("XP") if xp and ( xp:IsA("IntValue") or xp:IsA("NumberValue") ) then xp.Value += math.clamp( tonumber(amount) or 0, 0, 1000000 ) end end ------------------------------------------------------------ -- HEAL ------------------------------------------------------------ local function Heal(player) local humanoid = GetHumanoid(player) if humanoid then humanoid.Health = humanoid.MaxHealth end end ------------------------------------------------------------ -- RESET ------------------------------------------------------------ local function ResetPlayer(player) if player then player:LoadCharacter() end end ------------------------------------------------------------ -- TELEPORT TO ------------------------------------------------------------ local function TeleportTo(admin, target) local adminRoot = GetRoot(admin) local targetRoot = GetRoot(target) if adminRoot and targetRoot then adminRoot.CFrame = targetRoot.CFrame * CFrame.new(3, 0, 0) end end ------------------------------------------------------------ -- BRING PLAYER ------------------------------------------------------------ local function BringPlayer(admin, target) local adminRoot = GetRoot(admin) local targetRoot = GetRoot(target) if adminRoot and targetRoot then targetRoot.CFrame = adminRoot.CFrame * CFrame.new(3, 0, 0) end end ------------------------------------------------------------ -- SPEED ------------------------------------------------------------ local function SetSpeed(player, amount) local humanoid = GetHumanoid(player) if humanoid then humanoid.WalkSpeed = math.clamp( tonumber(amount) or 16, 0, 100 ) end end ------------------------------------------------------------ -- JUMP ------------------------------------------------------------ local function SetJump(player, amount) local humanoid = GetHumanoid(player) if humanoid then humanoid.UseJumpPower = true humanoid.JumpPower = math.clamp( tonumber(amount) or 50, 0, 200 ) end end ------------------------------------------------------------ -- FREEZE ------------------------------------------------------------ local function Freeze(player) local humanoid = GetHumanoid(player) if humanoid then humanoid.WalkSpeed = 0 humanoid.JumpPower = 0 humanoid.AutoRotate = false end end ------------------------------------------------------------ -- UNFREEZE ------------------------------------------------------------ local function Unfreeze(player) local humanoid = GetHumanoid(player) if humanoid then humanoid.WalkSpeed = 16 humanoid.JumpPower = 50 humanoid.AutoRotate = true end end ------------------------------------------------------------ -- INVISIBLE ------------------------------------------------------------ local function SetInvisible(player, state) local character = GetCharacter(player) if not character then return end for _, object in ipairs(character:GetDescendants()) do if object:IsA("BasePart") then object.Transparency = state and 1 or 0 elseif object:IsA("Decal") then object.Transparency = state and 1 or 0 end end end ------------------------------------------------------------ -- GOD MODE ------------------------------------------------------------ local function SetGodMode(player, state) local humanoid = GetHumanoid(player) if humanoid then if state then humanoid.MaxHealth = math.huge humanoid.Health = math.huge else humanoid.MaxHealth = 100 humanoid.Health = 100 end end end ------------------------------------------------------------ -- DAMAGE MULTIPLIER ------------------------------------------------------------ local DamageMultipliers = {} local function SetDamageMultiplier(player, amount) DamageMultipliers[player.UserId] = math.clamp( tonumber(amount) or 1, 0, 100 ) end ------------------------------------------------------------ -- REMOTE COMMANDS ------------------------------------------------------------ Remote.OnServerEvent:Connect(function( admin, action, data ) if not IsAdmin(admin) then return end data = data or {} local target = FindPlayer(data.Player) local amount = tonumber(data.Amount) or 0 -------------------------------------------------------- -- ECONOMY -------------------------------------------------------- if action == "GiveMoney" and target then GiveMoney(target, amount) end if action == "GiveXP" and target then GiveXP(target, amount) end -------------------------------------------------------- -- PLAYER -------------------------------------------------------- if action == "Heal" and target then Heal(target) end if action == "Reset" and target then ResetPlayer(target) end if action == "Kill" and target then local humanoid = GetHumanoid(target) if humanoid then humanoid.Health = 0 end end -------------------------------------------------------- -- TELEPORT -------------------------------------------------------- if action == "TeleportTo" and target then TeleportTo(admin, target) end if action == "Bring" and target then BringPlayer(admin, target) end -------------------------------------------------------- -- MOVEMENT -------------------------------------------------------- if action == "Speed" and target then SetSpeed(target, amount) end if action == "Jump" and target then SetJump(target, amount) end if action == "Freeze" and target then Freeze(target) end if action == "Unfreeze" and target then Unfreeze(target) end -------------------------------------------------------- -- VISUAL -------------------------------------------------------- if action == "Invisible" and target then SetInvisible(target, true) end if action == "Visible" and target then SetInvisible(target, false) end -------------------------------------------------------- -- GOD MODE -------------------------------------------------------- if action == "GodMode" and target then SetGodMode(target, true) end if action == "NormalMode" and target then SetGodMode(target, false) end -------------------------------------------------------- -- DAMAGE -------------------------------------------------------- if action == "DamageMultiplier" and target then SetDamageMultiplier( target, amount ) end end) ------------------------------------------------------------ -- CLEANUP ------------------------------------------------------------ Players.PlayerRemoving:Connect(function(player) DamageMultipliers[player.UserId] = nil end) print("================================") print(" STREETLIFE ADMIN SYSTEM ONLINE ") print("================================")