Untitled

mail@pastecode.io avatar
unknown
lua
20 days ago
405 B
5
Indexable
Never
local Part = script.Parent

local StartPosition = Vector3.new(-18.789, 0.5, -18.152)
local EndPosition = Vector3.new(-48.789, 0.5, -18.152)

repeat
	
	for i = 1, 300, 1 do
		Part.Position = StartPosition - Vector3.new(i/10, 0, 0)
		wait(0.02)
	end
	
	wait(0.02)
	
	for i = 1, 300, 1 do
		Part.Position = EndPosition + Vector3.new(i/10, 0, 0)
		wait(0.02)
	end
	
	wait(0.02)
until false
Leave a Comment