workspace:WaitForChild("defaultkid99") repeat script.Parent.Position = script.Parent.Position+Vector3.new(math.random,math.random,math.random) until script.Parent.Position = defaultkid99.Torso.Position
it tells me expected identifier when parsing epression instead got =
alright so i have a new script
workspace:WaitForChild("defaultkid99") repeat script.Parent.Position = script.Parent.Position+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until script.Parent.Position == defaultkid99.UpperTorso.Position
but it still doesnt work but gives me a different error
as i know you need to add 2 numbers in math.random so it will be math.random({minimum number}, {maximum number})