Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make it form "Dollar" signs when I click while equipping a gear?

I am trying to make it form "Dollar signs" when I click while equipping a money bag gear. Any ideas of how I can do this please? Thanks

1 comment

0

When I said "Form" I meant on the screen like a billboard gui

2 answers

local Tool = script.Parent

Tool.Activated:Connect(function()
	local Emitter = Instance.new("ParticleEmitter")
	Emitter.Texture = MONEYSIGNID
	Emitter.Size = 1
	Emitter.LifeTime = NumberRange.new(1,2)
	Emitter.Rate = 5
	Emitter.Speed = NumberRange.new(10,20)

	Emitter.Parent = Tool.Handle
end)

This Will Make Money Signs Come From The Handle Of The Tool.

else if u wanted to do it from a gui you would just clone a image and set the position randomly.

4 comments

0

First of all, thanks for replying. I added this into a script within the Handle of the tool and added the texture ID but it doesn't seem to work.

0

If you put the script inside the handle change the Tool variable to local Tool = script.Parent.Parent

0

Hmm doesn't seem to work :(

0

Did u replace the "MONEYSIGNID" with a texture id of a money sign?

Tool.Equipped:Connect(function()
    local Emitter = Instance.new("ParticleEmitter")
    Emitter.Texture = MONEYSIGNID
    Emitter.Size = 1
    Emitter.LifeTime = NumberRange.new(1,2)
    Emitter.Rate = 5
    Emitter.Speed = NumberRange.new(10,20)

    Emitter.Parent = Tool.Handle
end)

Tell me if this helped/worked. It's basically just saying when the tools equipped then to do the emitter stuff. (That's for it to run when the tools equipped not for when the tool is activated/clicked while the tool is out.)

1 comment

0

Oof I am trying to look for one that makes it show when I click/activate the gear.

This discussion is preserved as it was. New answers, comments, and votes are closed.