Sublivion
(Sublivion)
September 21, 2019, 9:32pm
#1
I am trying to create a menu where you can choose a team and then spawn in the game.
For some reason the player does not spawn - only their team is set.
https://i.gyazo.com/e911a165229223c22136e1cec4d5940f.mp4
When the player clicks confirm, a RemoteEvent is fired to the server which spawns the player and sets their team.
Here is the code that spawns the user and sets their team. I cannot understand what is going wrong.
local otherTeam = team == Teams.Red and Teams.Blue or Teams.Red
if #team:GetPlayers() <= #otherTeam:GetPlayers() then
player.Team = team
player:LoadCharacter()
end
2 Likes
Kensizo
(Kensizo)
September 21, 2019, 9:35pm
#2
I am guessing this issue could have something to do with this;
Roblox is actively investigating the latest site-wide issues. For more details go to Roblox Servers Failing [ROBLOXCRITICAL] - #87
[image]
Me and my friends and others have been getting this error and also being stuck after loaded into a game.
We have tested multiple games and about 9/10 of them are unplayable.
Not only that but also ALL Roblox games has lost more than half of their players
[image]
Adopt Me had 200K Playing and dropped to 80K
Only reply with new and useful information …
Your code seems fine, I wouldn’t blame that.
9 Likes
Sublivion
(Sublivion)
September 21, 2019, 9:37pm
#3
That’s what I thought. Thanks for the second opinion.
3 Likes
This should be marked as the solution, I don’t see any other reason.
2 Likes
Sublivion
(Sublivion)
September 21, 2019, 9:38pm
#5
I thought it was best to wait until the problem was fixed but now that his reply has so many likes I will.
1 Like