local q=script.Parent.Parent.Content.Steam local U=script.Parent.Parent.Content local Q=script.Parent.Slurp local T=script.Parent.TastySoup local R=script.Parent.ClickDetector function SoupEaten()R.MaxActivationDistance=0 Q:Play()q.Enabled=false U.Transparency=1 T.Disabled=true wait(50)U.Transparency=0 T.Disabled=false R.MaxActivationDistance=15 q.Enabled=true end script.Parent.ClickDetector.MouseClick:connect(SoupEaten)
--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)
