So basically I'm trying to make a sliding door that when you touch it it decreases .1 studs every .1 second, or even smoother.
local a = game.Workspace.DoorEntrance.DL
local b = game.Workspace.DoorEntrance.DR
function OpenDoor(Slide)
a.Vector3.Size =
b.Vector3.Size =
script.Parent.Touched:connect(onTouch)
end
--unfinished.

3 comments
uh so I kind of used the code blocks wrong...
Edited, you only need one of those code blocks. You would just need to paste your code in between the ~~~~~~~~~~~
There is very little here that's correct... please review your basics.