Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

for some reason it doesnt teleport the players after the mobnumb is 0?

local mobnumb = script.mobnumber

local bosstp = CFrame.new(989, 38, 450)

if mobnumb.Value == 0 then
    for _, plr in pairs(game.Players:GetChildren()) do
        plr.Character.HumanoidRootPart.CFrame = newCFrame
    end
end

1 comment

0

This detail has not been provided by your question, but when is this script enabled during the game?

1 answer

You're gonna wanna look into :SetPrimaryPartCFrame() for teleporting the players out.

This discussion is preserved as it was. New answers, comments, and votes are closed.