I took a break from LUA for a while, I forgot how to find players through scripts. So I am trying to make an interaction with certain areas, so I need to find the player who set off the script. Any help from anyone will be noble.
script.Parent.ClickDetector.MouseClick:connect(function(player) player.PlayerGUI.Crack.Frame.Visible = true end)
Output PlayerGUI is not a valid member of Player
Please help me with my problem.
Use a module script and localscript and connect then then make a value with value of plrs name :D