How do i grab a particle emitter size?

Hey there, I need to grab the size of a particle emitter. But I don’t really know how, the only thing I thought of is using tonumber, but it doesn’t seem to return anything.

SizeToGrab = script.Parent.Emitter.Size
Size = tonumber(SizeToGrab)

Any help is appreciated, thanks.

This doesn’t work because Size in particle emitters aren’t numbers, they’re NumberSequences.

If you’re only setting single numbers for particle sizes, you can read them off through this instead:

SizeToGrab = script.Parent.Emitter.Size
Size = SizeToGrab.Keypoints[1].Value

ah okay, i see. didnt know what keypoint was, thank you!