It was hard to learn how to rotate blocks, whatever, i have a script that rotates some blocks to a random direction, causing a bullets spread effect:
local Sh = math.random(0,20)
local Sh1 = math.random(0,20)
r.Orientation = Vector3.FromAxis(Sh,Sh1,0)
Well, the last line is causing an error, which i have noticed for the first time: Unable to cast double to token
, i tried to search in the developer hub or in the forum for some helpful results, but they were not useful. Well, trying to rotate blocks in scripts is something new for me, i thought i would get this kind of errors, thanks for reading.