Untitled

mail@pastecode.io avatar
unknown
lua
a month ago
365 B
7
Indexable
Never
local Part = script.Parent

local StartPosition = Vector3.new()
local EndPosition = Vector3.new() --30 studs

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