I cant figure out whats wrong with this. Just trying to change the players Gui when you walk on it thats it.
script.Parent.Touched:connect(function(player)
player.PlayerGui.Checkpoint.Point.Text = 1
end)
Says PlayerGui is not a valid member of Part. Help please? And this is basically a code that I got off this site before with one of my other questions, can someone explain how this function works too? Like why is it like
script.Parent.Touched:connect(function(player)
and not
function something(player)
Whats the difference between the two? Thanks a ton.
