"Unable to cast to Dictionary - Server - Script:15"

Apparently I tried to make a sliding door for someone. I’m not really a scripter, so i obviously got an error.
The error is “Unable to cast Dictionary”, just as the title says.

image

note: i tried to script it as soon as I woke up.

The last parameter should be a table

local open1T = {CFrame = vp.CFrame + vp.CFrame.LookVector*4}
local opent = TweenService:Create(vp,tinfo,open1T)
2 Likes