--// bolekinds


local debounce = false

script.Parent.Touched:Connect(function(t)
	--local e, s = pcall(function()
	if debounce == false and game.Players:FindFirstChild(t.Parent.Name) then
		debounce = true
		local cash = 1
		if game.ServerStorage.ServerData.contract.Value == true then
			cash = cash + 3
		end
		if game.ServerStorage.ServerData.MsFloppa.Value == true then
			cash = cash + cash
		end
		if game.ServerStorage.ServerData.happy.Value > 100 then
			cash = cash + cash
		end
		if game.ServerStorage.ServerData.happy.Value < 25 then
			cash = cash/2
		end
			game.Players:FindFirstChild(t.Parent.Name).YouCash.Value += cash
		script.Parent:Destroy()
		debounce = false
		end
	--end)
end)
