Advertisement
Guest User

Untitled

a guest
May 30th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. function onClicked()
  2. if script.Parent.Value.Value == true then
  3. script.Parent.Value.Value = false
  4. wait(0)
  5. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  6. wait(0.01)
  7. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  8. wait(0.01)
  9. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  10. wait(0.01)
  11. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  12. wait(0.01)
  13. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  14. wait(0.01)
  15. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  16. wait(0.01)
  17. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  18. wait(0.01)
  19. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  20. wait(0.01)
  21. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  22. wait(0.01)
  23. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  24. wait(0.01)
  25. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  26. wait(0.01)
  27. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  28. wait(0.01)
  29. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  30. wait(0.01)
  31. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  32. wait(0.01)
  33. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  34. wait(0.01)
  35. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  36. wait(0.01)
  37. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.35) * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  38. wait(0.01)
  39.  
  40. wait(2)
  41.  
  42. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  43. wait(0.01)
  44. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  45. wait(0.01)
  46. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  47. wait(0.01)
  48. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  49. wait(0.01)
  50. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  51. wait(0.01)
  52. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  53. wait(0.01)
  54. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  55. wait(0.01)
  56. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  57. wait(0.01)
  58. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  59. wait(0.01)
  60. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  61. wait(0.01)
  62. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  63. wait(0.01)
  64. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  65. wait(0.01)
  66. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  67. wait(0.01)
  68. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  69. wait(0.01)
  70. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  71. wait(0.01)
  72. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  73. wait(0.01)
  74. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0.05, 0, -0.36) * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  75. wait(0.01)
  76. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0, 0.285) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  77. wait(0.01)
  78.  
  79. script.Parent.Value.Value = true
  80. end
  81. end
  82. script.Parent.ClickDetector.MouseClick:connect(onClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement