|
| 14 Aug 2017 06:31 PM |
local MovePart = game.Workspace.Door
moving = false open = false
script.Parent.Touched:Connect(function()
if open == false and moving == false then
moving = true
for i = 1, 51 do wait() MovePart.CFrame = MovePart.CFrame + Vector3.new(0, 0.1,0)
end
moving = false open = true
moving = true
for i = 1,51 do wait() MovePart.CFrame = MovePart.CFrame - Vector3.new(0, 0.1,0) end
moving = false open = false
end end) how do i make it go up (credit to Chrounum) |
|
|
| Report Abuse |
|