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

Particle Emitters Help!?!

I'm trying to make a Cash Symbol appear above my NPC's head using Particle but it won't show?

Cash = Instance.new("ParticleEmitter")
Cash.Parent = game.Workspace.XxmanwolfxX.Head2
Cash.Size.Value = 1.5
Cash.Transparency.Value = 0
Cash.LightEmission.Value = 0
Cash.Color.Value = 255,255,255
Cash.Acceleration.Value = 0,5,0
Cash.Lifetime.Min.Value = 1
Cash.Lifetime.Max.Value = 1
Cash.Speed.Value = 5
Cash.Texture = http://www.roblox.com/asset/?id=217001241

1 answer

✓ Accepted answer

Your problem is line 11. You need to make it a String! ROBLOX doesn't know what to do with http://www.roblox.com/asset/?id=217001241 Here is what it will look like:

Cash = Instance.new("ParticleEmitter")
Cash.Parent = game.Workspace.XxmanwolfxX.Head2
Cash.Size.Value = 1.5
Cash.Transparency.Value = 0
Cash.LightEmission.Value = 0
Cash.Color.Value = 255,255,255
Cash.Acceleration.Value = 0,5,0
Cash.Lifetime.Min.Value = 1
Cash.Lifetime.Max.Value = 1
Cash.Speed.Value = 5
Cash.Texture = "http://www.roblox.com/asset/?id=217001241"

You can see the only thing I did was put quotation marks around http://www.roblox.com/asset/?id=217001241

1 comment

1

Thanks! I thought I had to do that but didnt. You are a huge help :) @alphawolvess

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