local char = player.Character local hands = {char.LeftHand,char.RightHand} local q = Instance.new("BodyVelocity") local xclone = game.Lighting:WaitForChild("fireball"):Clone() xclone.Parent = workspace xclone.Position = math.random(1,#hands.Position)
Create 3 values for X,Y, and Z.
local z = math.Random(1,#hands.Position) local x = math.Random(1,#hands.Position) local x = math.Random(1,#hands.Position) xclone.Position = vector3.new(x,y,z)
you cannot random a vector3 value because it has 3 values in it.
so what you can do is,
xclone.Position = hands.Position + Vector3.new(math.random(-10, 10), 0, math.random(-10,10))
you can change all the 10s to whatever you like. but be careful of y, if you set too low, it may fall out of the world.