So Basically I Want My Screen GUI To Disappear After The Wait Time. It Works Only Once Then Stops. I Am Not Sure How To Fix This. Here Is My Current Script RN.
local db = false
script.Parent.Touched:Connect(function(hit)
if not db then
db = true
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
local h = hit.Parent:FindFirstChild("Humanoid")
if plr and h then
if plr.leaderstats.Endurance.Value < 250 then
script.AcidGui:Clone().Parent = plr.PlayerGui
wait(2.5)
plr.PlayerGui.AcidGui.Enabled = false
end
end
wait(2.5)
db = false
end
end)

2 comments
I just edited it, copy it again
I Really Appreciate It, This Took Me Nearly 10 Hours To Do. And Your Answer Was The Only Correct One I Could Find