im not sure what im doing i suck at scripting
i have been working on this for hours and i think im going crazy
its a down only door, example:(Close.Value = 1 then Door goes down to close hallway)
so anyone please help
thanks
also heres the script
local sp = script.Parent
local door = sp.door
if workspace.GameData.Close.Value == 1 then
for i=1,door.Size.x/.2*3+1 do
door.CFrame = door.CFrame*CFrame.new(0,-.2*.2,0)
door.Close:Play()
end
end

1 comment
What are you trying to do to the door's cframe? are you trying to rotate it open/closed?