RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make the part smoothly go up and down"
-- put this script under the part you want to move local part = script.Parent local moveHeight = 10 local moveSpeed = 0.1 while true do for i = 0, moveHeight, moveSpeed do part.CFrame = part.CFrame + Vector3.new(0, moveSpeed, 0) wait() end for i = moveHeight, 0, -moveSpeed do part.CFrame = part.CFrame + Vector3.new(0, -moveSpeed, 0) wait() end end