This script is supposed to make the "jay" GUI disappear after the player steps on a brick.
Your assistance is appreciated greatly!
function onTouched(hit)
local guy = game.Players:GetPlayerFromCharacter(hit.Parent)
local ha = guy.PlayerGUI:findFirstChild("jay")
ha:Remove()
end
script.Parent.Touched:connect(onTouched)

1 comment
Do "(hit.Parent.Parent)" its finding the body part