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

This seems to error with "Unable to cast value to oject." How do I fix this?

Asked by 4 years ago
TeleportService:TeleportPartyAsync(5606160774, game.Players:GetPlayers(), "", m.PlayerData, script.LoadingGui)

1 answer

Log in to vote
1
Answered by
marfit 104
4 years ago

TeleportPartyAsync takes four arguments. You have a strange " " in there, knocking the third and fourth arguments to the fourth and fifth places. Just remove that, and all should be good.

Ad

Answer this question