Why isn't this script working?, This script is for the script to move 5 blocks in "time", so I want the block to move in the time of "time"
local time = 5
while true do
script.Parent.CFrame = CFrame.new(script.Parent.Position+Vector3.new(0, 5, 0)(time))

1 comment
You forgot to close your statement with an end