Hello, I am trying to extract the numbers from an number sequence. Heres what i have tried:
local goal3 = {} goal3.Size = NumberSequence.new({ NumberSequenceKeypoint.new(1,v.Size.Keypoints[1]*times), NumberSequenceKeypoint.new(1,v.Size.Keypoints[1]*times) }) local t3 = game.TweenService:Create(v,ti,goal3) t3:Play()
but the error says that its trying to index number with userdata. How do i do this? Thank you. p.s. i didnt find anything else relationed to this in google
I found it out. I guess i was being dumb and didnt try all the possibilities. My bad. Heres my answer:
local goal3 = {} goal3.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0.0,v.Size.Keypoints[1]["Value"]*times), NumberSequenceKeypoint.new(1.0,v.Size.Keypoints[1]["Value"]*times) }) --local t3 = game.TweenService:Create(v,ti,goal3) --t3:Play() --apparently particleemitter size cant be tweened :/
so yeah... its that simple...