So currently I am making a pet system where the pets you have follow you around in a semi circle formation behind you, however this is not working very well.
Here is the code that decides the offset from the humanoidrootpart and ultimately the semi circle formation.
local val = ((#v.Tab/2)*-1)
if i ~= 1 then
val = val + 2
end
print(val)
local offset = Vector2.new(-5,val)
i is (for i,x in pairs())
Any help would be greatly appreciated!

3 comments
Include the full code
Thats what I have done, thats the code you need to know.
math.rad()