Advertisement
loueque

StudCardScript

Aug 7th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. --Howdy! Please don't touch the code (if you're inside studio) if you know what you are doing!
  2.  
  3. local Part = script.Parent
  4.  
  5. Part.Touched:Connect(function(p)
  6. if p.Parent.Name == "StudCard" then
  7. Part.Transparency = 0.25
  8. Part.CanCollide = false
  9. Part.Position = Part.PositionForGate.Position
  10. Part.Orientation = Part.PositionForGate.Orientation
  11.  
  12. wait(4)
  13.  
  14. Part.Transparency = 0
  15. Part.CanCollide = true
  16. Part.Position = Part.SecondPositionForGate.Position
  17. Part.Orientation = Part.SecondPositionForGate.Orientation
  18. end
  19. end)
  20.  
  21. --DISCLAIMER: PLEASE DON'T TOUCH THE GATES INSIDE THE MODEL AS IT MAKE THE CODE NOT WORK AS IT SHOULD!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement