My script is to run when the player touched a block. If they touch it, the script runs. But if the come and touch it again, the script doesn't run.
Script:
script.Parent.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
local level = player.leaderstats.Level
if level.Value == 0 then
player.PlayerGui.Levels.Level0Pc.Enabled = true
end
end
end)
If the player leaves the block and tries again the gui does not show.

1 comment
How are you hiding it?