:TranslateBy() is not working

I’d love some help on this

Direction = game.ReplicatedStorage.Direction.Value
while true do
script.Parent:TranslateBy(Vector3.new(Direction.X / 10, Direction.Y, Direction.Z / 10))
wait(0.1)	
end
2 Likes
local Model = script.Parent
local Direction = game.ReplicatedStorage.Direction

while true do
    Model:TranslateBy(Vector3.new(Direction.Value.X / 10, Direction.Value.Y, Direction.Value.Z / 10))
    task.wait(0.1)
end

You may have meant to do this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.