For reference, variable BS =
Blood = {
Enabled = true;
A = { -- Main
Amt_Min = 3;
Amt_Max = 10;
Speed = 50;
Spread = {-15,15};
Size = 2; -- Pool Size
WidthScale = 1.5;
UpVector = Vector3.new(0,0,0);
RepeatCount = 1; -- Amount of times to repeat
RepeatTick = 0; -- Wait time between ticks
};
B = { -- Bleed out effect
Amt_Min = 1;
Amt_Max = 1;
Speed = 5;
Spread = {-15,15};
Size = 0.5; -- Pool Size
WidthScale = 0.4;
UpVector = Vector3.new(0,0,0);
RepeatCount = 5; -- Amount of times to repeat
RepeatTick = 0.5; -- Wait time between ticks
};
}
In one local script:
Events2.BloodTrailEvent:Fire(
a, -- attachment
unpack(BS.A)
)
In another:
local function BloodTrailFunc(Attachment,Amount,Speed,spread,size,widthsize,upvector,tim,tic)
print(Amount,Speed,spread,size,widthsize,upvector,tim,tic)
This just returns nils, how do I get around this, I am not so familiar with how unpacking works.