I am making a weight lifting item and I need to move the weight in a a specific motion. The problem is I don't know how to code it. I was think
1 | script.Parent.Position = script.Parent.Position + --Don't know what to put here |
Positions require Vector3
values. To change your Position relative to it's previous, maintain the current format used, and implement the Vector3.new()
function near your addition operator
1 | local Part = script.Parent |
2 | Part.Position = (Part.Position + Vector 3. new(x,y,z)) |