Hasli4

DoorScript

Dec 14th, 2025
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local Door =workspace:WaitForChild("Door")
  2. local Key=script.Parent
  3. function onTouchPart(who)
  4.     Door.Parent = game.ServerStorage
  5. end
  6. game.Workspace.Key.Key.Touched:Connect(onTouchPart)
Advertisement
Add Comment
Please, Sign In to add comment