##plrs

8 messages · Page 1 of 1 (latest)

halcyon crane
#
local count = game:GetService("ReplicatedStorage").count

local lcf = workspace.TpLobby
local tpp = workspace.TpPad

while true do
    stringv.Value = "Itermission../Not enough plrs"
    wait(15)
    for i,v in pairs(game.Players:GetChildren()) do
        game.Players.LocalPlayer.inround.Value = false
        v.Character.HumanoidRootPart.Anchored = true
        v.inround = true
        stringv.Value = "3"
        wait(1)
        stringv.Value = "2"
        wait(1)
        stringv.Value = "1"
        wait(1)
        v.Character.HumanoidRootPart.Anchored = false
        script.Bomb:Clone().Parent = v.Backpack
        stringv.Value = "Kill all other players!"
        while wait() do
            for plrcount = #game.Players:GetChildren() do
                if plrcount < 2 then
                    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lcf.CFrame
                    break
                end
            end
        end
    end
end``` why doesnt this work??? the problem is #game.Players:GetChildren btw
tired otter
#

add in-game players to a list

#

Is that a LocalScript?

tired otter
halcyon crane
#

it was that thx

stoic heathBOT
#

studio** You are now Level 4! **studio

halcyon crane
#

It’s fixed but it was absolutely rushed