Hey there, so i put this line of code:
function onHit(hit)
game.StarterGui.UI.Enabled = false
end
script.Parent.Touched:connect(onHit)
It was supposed to make StarterGui disabled, but i noticed that before i even touch the part - the StarterGui is already disabled... how do i fix this?

1 comment
Is it touching ground?