-- Function


Prompt.ProximityPrompt.Triggered:Connect(function(plr)
	Prompt.ProximityPrompt.Enabled = false
	--
	local anim = plr.Character:FindFirstChild("Humanoid"):LoadAnimation(script.Animation)
	anim:Play()
	--
	for i,v in pairs(script.Parent.Quebrar:GetChildren()) do
		v.Transparency = 0
	end
	--
	for money = 1,3 do
		local clone = game.ServerStorage.Dinheiro:Clone()
		clone.Parent = game.Workspace
		clone.Position = Prompt.Position
	end
	--
	soco:Play()
	wait(1)
	alarme:Play()
	--
	tela.BrickColor = BrickColor.new("Really red")
	tela.Material = "Neon"
	--
	wait(60*3)
	tela.BrickColor = BrickColor.new("Dark stone grey")
	tela.Material = "SmoothPlastic"
	--

	Prompt.ProximityPrompt.Enabled = true
	--
	for i,v in pairs(script.Parent.Quebrar:GetChildren()) do
		v.Transparency = 1
	end
end)
