Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

attempt to compare userdata and number?

Asked by 4 years ago

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.

0
Speed is a NumberRange, not a number, thus it cant be compared with one theking48989987 2147 — 4y
0
oh MradmannMvip 50 — 4y
0
perhaps consider using script.Parent.Plume.ParticleEmitter.Speed.Max instead theking48989987 2147 — 4y
0
do you know an alternative? MradmannMvip 50 — 4y
0
nvm MradmannMvip 50 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

well never mind

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

Ad

Answer this question