local distance = 5 local userinputservice = game:GetService("UserInputService") userinputservice.InputBegan:Connect(function(input, gameProcessedEvent) while true do for i = 0, distance do script.Parent.CFrame = script.Parent.CFrame+Vector3.new(0,0,1) -- Change To Your Parts X, Y, Or Z Direction wait() end wait(2) script.Parent:Destroy() end end)