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

how to get something that has a space in it?

Asked by 4 years ago

a team is called "red dragon" how would I would I get that with the space?

game.Teams.red dragon.PlayerRemoved:connect(function() this is what I have

1 answer

Log in to vote
2
Answered by 4 years ago

You need to use it like

game.Teams["red dragon"].PlayerRemoved:Connect(function()
Ad

Answer this question