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

how to make members of a team be known to the server?

I have a menu and is based on GUI and a local script.. Based on the menu, i can choose my team and it will spawn me accordingly.. Works absolutely fine in game as well as in studio..

However, when i joined the game with a friend when it was published yesterday.. even after choosing her team, and got spawned accordingly, i still saw her on team visiting.. She also saw also me on team visiting but i was on team witch..

What I mean by i saw her on team visiting is the roblox default team gui in the upper right corner

So im guessing this is a server issue and idk what to do.. im thinking about letting the server know whats going on but when i read the documentation on roblox.. i did not understand whts going on so?

1 comment

0

teams should be set on the server, setting the teams using a localscript will only set them on a specific client. https://scriptinghelpers.org/guides/server-client-relationship-in-roblox

1 answer

In order to make this work you would have to create a group, store the group positions then assign teams according to those group positions. I can't think of any other way to do it, but there probably isn't any other way that is that simple.

1 comment

0

Hello All...I managed to make it work by using remote events..it works absolutely fine now..Thanks for all the help

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