This is the script:
local ProximityPromt = script.Parent
local Milk = ProximityPromt.Parent
ProximityPromt.Triggered:Connect(function(player)
local Player = game.Players:FindFirstChild(player.Name)
local leaderstats = Player:WaitForChild("leaderstats")
local money = leaderstats:FindFirstChild("Money")
local nuhuh = Milk:FindFirstChild("nuh-uh")
local MoneySound = Milk:FindFirstChild("Money")
if money >= 10 then
MoneySound:Play()
else
nuhuh:Play()
end
end)
It's supposed to play a specific sound if you have less than 10 money or if you have more than 10 money
** You are now Level 2! **