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

attempt to compare userdata and number?

What is wrong with this line of code, i can't figure it out.

while script.Parent.Plume.ParticleEmitter.Speed <25 and status == "idle" do

Please send help.

5 comments

0

Speed is a NumberRange, not a number, thus it cant be compared with one

0

oh

0

perhaps consider using script.Parent.Plume.ParticleEmitter.Speed.Max instead

0

do you know an alternative?

0

nvm

1 answer

well never mind

Speed is a NumberRange, not a number, thus it cant be compared with one

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