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

I don't know where to start for my party system?

Asked by 3 years ago

Okay so I'm making a party system and I want it so when the party leader gets teleported everyone else in the party gets teleported this is an rpg type game with portals that teleports you to a different place like the teleport system

I really dont know where to start how would i cast the array through all the players when theyre object values

heres the party script


game.Players.PlayerAdded:Connect(function(player) local PartyFolder = Instance.new("Folder",player) PartyFolder.Name = "Party" local User = Instance.new("ObjectValue",PartyFolder) User.Name = player.Name User.Value = player print(User.Value) end)

Answer this question