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

Wont spawn at the correct location?

Asked by 4 years ago

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)
0
Hmmm make sure u disabled neutral and correct team color(not brickcolor) Nguyenlegiahung 1091 — 4y
0
So by question, how would I do that? I know for brickcolor it is BrickColor.new Skippy_Development 59 — 4y
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 Nguyenlegiahung 1091 — 4y

1 answer

Log in to vote
0
Answered by
Nckripted 580 Moderation Voter
4 years ago

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

0
Still not working ;( Imma rewrite and see what I can do Skippy_Development 59 — 4y
Ad

Answer this question