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
You need to use it like
game.Teams["red dragon"].PlayerRemoved:Connect(function()