I am making a game where a certain event happens when a certain player touches another player, but to do this I will have to have the 'touch' event. I tried running this (the value changes from another script) but it does not work.
plr = game.ReplicatedStorage.Values.current_plr.Value
game.ReplicatedStorage.Values.current_plr.Changed:Connect(function()
plr = game.ReplicatedStorage.Values.current_plr.Value
end)
game.Workspace[plr].Torso.Touched:Connect(function(p)
print("plr was touched")
end)
