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

Wont spawn at the correct location?

So im working with a couple of friends to make this game. I made a game pass script. It was getting messed up by the auto team script. So I rewrote the whole thing. The gamepasses work completely fine now, But when you spawn you dont spawn at the right spawn. When I used :LoadCharacter() It bugged out the gamepass script. Making it add 2 of the items.

game.Players.PlayerAdded:Connect(function(plr)
	if plr:IsInGroup(5718479) then
		plr.TeamColor = BrickColor.new("Storm blue")
		
	else
			plr.TeamColor = BrickColor.new("Cocoa")
		
	end
end)

3 comments

0

Hmmm make sure u disabled neutral and correct team color(not brickcolor)

0

So by question, how would I do that? I know for brickcolor it is BrickColor.new

0

You change the team color in the spawnlocation part (not by script, manually) to make it the same as The Team color same as neutral

1 answer

✓ Accepted answer

Get the team's TeamColor and set the plr's TeamColor to that.

1 comment

0

Still not working ;( Imma rewrite and see what I can do

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