I have a RemoteEvent that when it's called, it summons and shoots a fireball. I've wanted to use a ParticleEmitter and I tried to set it to the size 0.5, but it expected a NumberSequence. How do I make it have only that size? Or how do I make a NumberSequence?
This is the script that was supposed to change the size of the particles:
Fire.Size = 0.5
The way to create a numbersequence that is a constant value, is by only supplying the value you want in the NumberSequence contructor, like such
NumberSequence.new (6)
This creates a sequence with 2 keypoints, that have 6 as their value
With that said, you could do the following:
lua
local Fire = script.Parent -- or whatever reference you have
Fire.Size = NumberSequence.new(0.5)
To learn about more ways to construct NumberSequence
values, visit here
Hopefully this Helped!