-
What do I want to achieve? I want my script to add 3 to my variable
-
What is the issue? Its not adding it
-
What solutions have I tried so far? I have tried making the variable add it self like
Num = Num + Num
for i = 1, Size do
local Num = 3
local NewDistance = Part.Size.Z+SpaceBWP-math.ceil(Part.Size.Z/2) + Num
for i,v in pairs(Partable) do
local PC = v:Clone()
PC.Parent = game.Workspace
PC.Position = PC.Position + Vector3.new(0,0,NewDistance+math.ceil(Part.Size.Z/2))
end
Num = Num + 3
print(NewDistance)
wait(0.1)
end
Here is my script