script.Parent.Union.ClickDetector.MouseClick:connect(function(player) if game.ReplicatedStorage.Name.Value == player.Name then print("Hello") else print("Na") end end)
change Name in ReplictedStorage to something else and in the script and it'll work