I'm trying to make a game where when you touch a Part it will move to a random location, it used to work, and now it doesn't. I am unsure of why. Please take a look at my code below, Thanks!
Part = game.Workspace.Brick1
function RandMove()
Part.Position = Vector3.new(Random.new(1),5,Random.new(1))
end
RandMove()
touched = Part.Touched:Connect(RandMove)

1 comment
Use math.random(start, end)