I have a bunch of puddles around a map and when you drink from them they stop being visible for 30 seconds then reappear, but it for some reason only works for the first one you drink, after that they don’t respawn?
local Puddle = script.Parent
local Regen = 1
Puddle.ProximityPrompt.Triggered:Connect(function(Player)
local ThirstBar = Player.PlayerGui.Thirstbar.Bar
ThirstBar.Size += UDim2.new(Regen, 0, 0, 0)
Puddle.ProximityPrompt.Enabled = false
Puddle.Transparency = 1
if ThirstBar.Size.X.Scale >= 0.302 then
ThirstBar.Size = UDim2.new(0.302, 0, 0.087, 0)
end
end)
wait(30)
Puddle.Transparency = 0.1
Puddle.ProximityPrompt.Enabled = true
edit: i got bored and fixed it