--The main script, this regulates basic values of the local elements

local Steamer = script.Parent.Parent.Content.Steam
local Eaten = script.Parent.Parent.Content
local SoundA = script.Parent.Slurp
local WarmSoup = script.Parent.TastySoup
local Clickable = script.Parent.ClickDetector
function SoupEaten()
Clickable.MaxActivationDistance = 0 -- Fake debounce, but better than normal - less laggy
SoundA:Play()
Steamer.Enabled = false
Eaten.Transparency = 1
WarmSoup.Disabled = true
wait(50)
Eaten.Transparency = 0
WarmSoup.Disabled = false
Clickable.MaxActivationDistance = 15
Steamer.Enabled = true
end
script.Parent.ClickDetector.MouseClick:connect(SoupEaten)