Advertisement
CodingForKids

finished product V2

Jan 11th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local part = game.Workspace.Door
  2. opened = false
  3.  
  4. part.Touched:Connect(function(hit)
  5. if opened == false then
  6. part.Orientation = Vector3.new(0,90,0)
  7. opened = true
  8. else
  9. part.Position = Vector3.new(-25.198, 4.764, -18.995)
  10. opened = false
  11. end
  12. end)
  13. end) -- AaroN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement