Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 1 year ago
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
0
This detail has not been provided by your question, but when is this script enabled during the game? taxicar24 19 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

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

Ad

Answer this question