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)