As it says in the title, how does one make an event fire when one player touches another player. Something like in freeze tag, infection or hide and seek. I've thought of various methods, but none of them worked. Could someone help me with it? I'm not asking for a whole script, just a fragment, which will fire the event.
We can used the touched event and the GetPlayerFromCharacter() method to find the player.
local player = PLAYER --Reference player here. local character = player.Character character.Torso.Touched:connect(function(hit) local tagged = game.Players:GetPlayerFromCharacter(hit.Parent) if tagged then print(player.Name.." tagged "..tagged.Name.."!") end end)