Advertisement
Diep8328Paster

Untitled

Jun 10th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. local p = game:GetService("Players").LocalPlayer
  2. local c = p.Character
  3. local t = c.Torso
  4. local orifac = c.Head.face.Texture
  5. print("Loading Baldi ruler...")
  6. local ruler = Instance.new("Tool",p.Backpack)
  7. ruler.Name = "Ruler" --change everything here if you want anythimg different.
  8. local handle = Instance.new("Part",workspace)
  9. local he = Instance.new("WeldConstraint",handle)
  10. he.Part0 = handle
  11. handle.Size = Vector3.new(1,1,1)
  12. handle.Name = "Handle"
  13. handle.Transparency = 1
  14. handle.Parent = ruler
  15. local rule = Instance.new("Part",ruler)
  16. rule.Size = Vector3.new(1,4,0.1)
  17. rule.TopSurface = "Smooth"
  18. rule.BottomSurface = "Smooth"
  19. rule.BrickColor = BrickColor.new("Deep orange")
  20. rule.Position = Vector3.new(0,2,0)
  21. he.Part1 = rule
  22. print("Loaded ruler parts.")
  23. print("Loaded everything.")
  24. ruler.Equipped:connect(function()
  25. c.Head.face.Texture = "http://www.roblox.com/asset/?id=6966010"
  26. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  27. wait(0.01)
  28. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  29. wait(0.01)
  30. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  31. wait(0.01)
  32. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  33. wait(0.01)
  34. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  35. wait(0.01)
  36. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  37. wait(0.01)
  38. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  39. wait(0.01)
  40. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  41. wait(0.01)
  42. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  43. wait(0.01)
  44. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  45. wait(0.01)
  46. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  47. wait(0.01)
  48. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  49. wait(0.01)
  50. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.10)
  51. wait(0.01)
  52. end)
  53. ruler.Unequipped:connect(function()
  54. c.Head.face.Texture = orifac
  55. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  56. wait(0.01)
  57. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  58. wait(0.01)
  59. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  60. wait(0.01)
  61. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  62. wait(0.01)
  63. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  64. wait(0.01)
  65. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  66. wait(0.01)
  67. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  68. wait(0.01)
  69. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  70. wait(0.01)
  71. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  72. wait(0.01)
  73. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  74. wait(0.01)
  75. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  76. wait(0.01)
  77. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  78. wait(0.01)
  79. t["Left Shoulder"].C0 = t["Left Shoulder"].C0 * CFrame.Angles(0,0,0.10)
  80. wait(0.01)
  81. end)
  82.  
  83. ruler.Activated:connect(function()
  84. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  85. if rule.Touched:connect(function(hit)
  86. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  87. hu.Health = 0
  88. end) then
  89. wait(0.01)
  90. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  91. if rule.Touched:connect(function(hit)
  92. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  93. hu.Health = 0
  94. end) then
  95. wait(0.01)
  96. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  97. if rule.Touched:connect(function(hit)
  98. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  99. hu.Health = 0
  100. end) then
  101. wait(0.01)
  102. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  103. if rule.Touched:connect(function(hit)
  104. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  105. hu.Health = 0
  106. end) then
  107. wait(0.01)
  108. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  109. if rule.Touched:connect(function(hit)
  110. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  111. hu.Health = 0
  112. end) then
  113. wait(0.01)
  114. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  115. if rule.Touched:connect(function(hit)
  116. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  117. hu.Health = 0
  118. end) then
  119. wait(0.01)
  120. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  121. if rule.Touched:connect(function(hit)
  122. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  123. hu.Health = 0
  124. end) then
  125. wait(0.01)
  126. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  127. if rule.Touched:connect(function(hit)
  128. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  129. hu.Health = 0
  130. end) then
  131. wait(0.01)
  132. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  133. if rule.Touched:connect(function(hit)
  134. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  135. hu.Health = 0
  136. end) then
  137. wait(0.01)
  138. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  139. if rule.Touched:connect(function(hit)
  140. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  141. hu.Health = 0
  142. end) then
  143. wait(0.01)
  144. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  145. if rule.Touched:connect(function(hit)
  146. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  147. hu.Health = 0
  148. end) then
  149. wait(0.01)
  150. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  151. if rule.Touched:connect(function(hit)
  152. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  153. hu.Health = 0
  154. end) then
  155. wait(0.01)
  156. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  157. if rule.Touched:connect(function(hit)
  158. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  159. hu.Health = 0
  160. end) then
  161. wait(0.01)
  162. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  163. if rule.Touched:connect(function(hit)
  164. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  165. hu.Health = 0
  166. end) then
  167. wait(0.01)
  168. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  169. if rule.Touched:connect(function(hit)
  170. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  171. hu.Health = 0
  172. end) then
  173. wait(0.01)
  174. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(-0.10,0,0)
  175. if rule.Touched:connect(function(hit)
  176. local hu = hit.Parent:FindFirstAncestorWhichIsA("Humanoid",0.1)
  177. hu.Health = 0
  178. end) then
  179. wait(0.01)
  180. local slap = Instance.new("Sound",t)
  181. slap.SoundId = "rbxassetid://1841427728"
  182. slap.Volume = 5
  183. slap:Play()
  184. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  185. wait(0.01)
  186. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  187. wait(0.01)
  188. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  189. wait(0.01)
  190. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  191. wait(0.01)
  192. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  193. wait(0.01)
  194. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  195. wait(0.01)
  196. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  197. wait(0.01)
  198. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  199. wait(0.01)
  200. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  201. wait(0.01)
  202. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  203. wait(0.01)
  204. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  205. wait(0.01)
  206. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  207. wait(0.01)
  208. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  209. wait(0.01)
  210. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  211. wait(0.01)
  212. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  213. wait(0.01)
  214. t["Right Shoulder"].C0 = t["Right Shoulder"].C0 * CFrame.Angles(0.10,0,0)
  215. wait(0.01)
  216. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement