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