How Can I make a Dropper that gives money per second?

  1. What do you want to achieve?
    I want to make droppers that instead of spawn parts make a animation and gives you money.

  2. What is the issue?
    I don’t know how to make it.

  3. What solutions have you tried so far? S
    I tried the devhub but the only droppers-related posts that I find are about the droppers that spawn parts.

I’m not demanding for a whole script, I just want a" way", I use a for loop inside a while loop? , I put a script in every dropper or I use tags? If I gonna use tags how can you to every dropper have your own coldoown instead of all syncronized? How I pass de money from the dropper to the collect machine? Yes I know, now it’s seems like i’m demanding a whole script but you dont need aswer all this question.

I believe you could just change an IntValue every second for the money.

1 Like

Here’s some simple scripts for only the money, since I don’t know animating very well.

Script inside ServerScriptService
	local leaderstats ="Folder", player)
	leaderstats.Name = "leaderstats"
	local Money ="IntValue",leaderstats)
	Money.Name = "Money"

This creates the leaderboard and the money.

Script inside a Part
local part = script.Parent
local price = 1

	local money = player:WaitForChild("leaderstats"):WaitForChild("Money")
	while true do
		money.Value += price

This script adds a number into your players money.

You can just modify the scripts if you want something different.

There’s any way I can Integrante this with module scripts? using tags?