In this script I'm wanting this brick to move up when touched and while it does work, it teleports above my player instead of normally just going up. Basically, how would I get this to work with CFrame? The wiki didn't really help much, any help?
p = script.Parent
script.Parent.Touched:connect(function()
for i=0,100,0.1 do
wait(.01)
p.Position = p.Position + Vector3.new(0,1,0)
end
end)

1 comment
Alright, but one question, why use a * instead of +?