So the RemoteEvent actually never errors? It just doesn’t team the player?
That’s a very strange result, are you sure there’s nothing else affecting the player’s team or the script itself?
I wrote and tested this script with a .Touched connection and it worked without any problems.
Script I’ve used:
local Team = "Nintendo"
script.Parent.Touched:Connect(function(h)
local player = game.Players:GetPlayerFromCharacter(h.Parent)
if player then
player.Team = game:GetService("Teams")[Team] -- Team is "Nintendo"
end
end)
I did some changes to the script and it worked, for some reason it’s almost the same thing as before, i just changed the kill part to :LoadCharacter() and the team line.