Advertisement
BNutty07

uh no work xd

Dec 15th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.13 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Decal3 = Instance.new("Decal")
  23. ClickDetector4 = Instance.new("ClickDetector")
  24. Script5 = Instance.new("Script")
  25. WedgePart6 = Instance.new("WedgePart")
  26. Part7 = Instance.new("Part")
  27. Decal8 = Instance.new("Decal")
  28. Script9 = Instance.new("Script")
  29. ClickDetector10 = Instance.new("ClickDetector")
  30. Part11 = Instance.new("Part")
  31. Decal12 = Instance.new("Decal")
  32. ClickDetector13 = Instance.new("ClickDetector")
  33. Script14 = Instance.new("Script")
  34. Part15 = Instance.new("Part")
  35. IntValue16 = Instance.new("IntValue")
  36. Part17 = Instance.new("Part")
  37. Humanoid18 = Instance.new("Humanoid")
  38. Model0.Name = "Rock, Paper, Scissors"
  39. Model0.Parent = mas
  40. Part1.Parent = Model0
  41. Part1.Anchored = true
  42. Part1.FormFactor = Enum.FormFactor.Symmetric
  43. Part1.Size = Vector3.new(16, 3, 1)
  44. Part1.CFrame = CFrame.new(-6, 2.70001101, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  45. Part1.Position = Vector3.new(-6, 2.70001101, -13.5)
  46. Part2.Name = "Paper"
  47. Part2.Parent = Model0
  48. Part2.BrickColor = BrickColor.new("Mid gray")
  49. Part2.Rotation = Vector3.new(-143.12999, 0, -180)
  50. Part2.Anchored = true
  51. Part2.FormFactor = Enum.FormFactor.Plate
  52. Part2.Size = Vector3.new(4, 0.400000006, 3)
  53. Part2.CFrame = CFrame.new(-6, 2.86001396, -10.8800001, -1, 0, 0, 0, 0.800000012, 0.600000024, 0, 0.600000024, -0.800000012)
  54. Part2.BottomSurface = Enum.SurfaceType.Smooth
  55. Part2.TopSurface = Enum.SurfaceType.Smooth
  56. Part2.Color = Color3.new(0.803922, 0.803922, 0.803922)
  57. Part2.Position = Vector3.new(-6, 2.86001396, -10.8800001)
  58. Part2.Orientation = Vector3.new(-36.8699989, 180, 0)
  59. Part2.Color = Color3.new(0.803922, 0.803922, 0.803922)
  60. Decal3.Parent = Part2
  61. Decal3.Texture = "http://www.roblox.com/asset/?id=12285158"
  62. Decal3.Face = Enum.NormalId.Top
  63. ClickDetector4.Parent = Part2
  64. Script5.Parent = Part2
  65. table.insert(cors,sandbox(Script5,function()
  66. function Paper()
  67. if script.Parent.BrickColor == BrickColor.new(1002) then
  68. script.Parent.BrickColor = BrickColor.new(37)
  69. script.Parent.Parent.Rock.BrickColor = BrickColor.new(26)
  70. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(26)
  71. script.Parent.Parent.Opponent.Value = math.random(3)
  72. if script.Parent.Parent.Opponent.Value == 1 then
  73. script.Parent.Parent.Name = "Rock!"
  74. wait(3)
  75. script.Parent.Parent.Name = "You win!"
  76. wait(3)
  77. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  78. script.Parent.BrickColor = BrickColor.new(1002)
  79. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  80. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  81. elseif script.Parent.Parent.Opponent.Value == 2 then
  82. script.Parent.Parent.Name = "Paper!"
  83. wait(3)
  84. script.Parent.Parent.Name = "It's a tie!"
  85. wait(3)
  86. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  87. script.Parent.BrickColor = BrickColor.new(1002)
  88. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  89. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  90. elseif script.Parent.Parent.Opponent.Value == 3 then
  91. script.Parent.Parent.Name = "Scissors!"
  92. wait(3)
  93. script.Parent.Parent.Name = "You lose!"
  94. wait(3)
  95. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  96. script.Parent.BrickColor = BrickColor.new(1002)
  97. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  98. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  99. else
  100. script.Parent.Parent.Name = "An unexpected error has occured."
  101. wait(3)
  102. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  103. script.Parent.BrickColor = BrickColor.new(1002)
  104. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  105. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  106. end
  107. end
  108. end
  109.  
  110.  
  111. script.Parent.ClickDetector.MouseClick:connect(Paper)
  112. end))
  113. WedgePart6.Parent = Model0
  114. WedgePart6.Rotation = Vector3.new(180, 0, -180)
  115. WedgePart6.Anchored = true
  116. WedgePart6.FormFactor = Enum.FormFactor.Symmetric
  117. WedgePart6.Size = Vector3.new(16, 3, 4)
  118. WedgePart6.CFrame = CFrame.new(-6, 2.70001101, -11, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  119. WedgePart6.Position = Vector3.new(-6, 2.70001101, -11)
  120. WedgePart6.Orientation = Vector3.new(0, -180, 0)
  121. Part7.Name = "Rock"
  122. Part7.Parent = Model0
  123. Part7.BrickColor = BrickColor.new("Mid gray")
  124. Part7.Rotation = Vector3.new(-143.12999, 0, -180)
  125. Part7.Anchored = true
  126. Part7.FormFactor = Enum.FormFactor.Plate
  127. Part7.Size = Vector3.new(4, 0.400000006, 3)
  128. Part7.CFrame = CFrame.new(-11, 2.86000991, -10.8800001, -1, 0, 0, 0, 0.800000012, 0.600000024, 0, 0.600000024, -0.800000012)
  129. Part7.BottomSurface = Enum.SurfaceType.Smooth
  130. Part7.TopSurface = Enum.SurfaceType.Smooth
  131. Part7.Color = Color3.new(0.803922, 0.803922, 0.803922)
  132. Part7.Position = Vector3.new(-11, 2.86000991, -10.8800001)
  133. Part7.Orientation = Vector3.new(-36.8699989, 180, 0)
  134. Part7.Color = Color3.new(0.803922, 0.803922, 0.803922)
  135. Decal8.Parent = Part7
  136. Decal8.Texture = "http://www.roblox.com/asset/?id=10954894"
  137. Decal8.Face = Enum.NormalId.Top
  138. Script9.Parent = Part7
  139. table.insert(cors,sandbox(Script9,function()
  140. function Rock()
  141. if script.Parent.BrickColor == BrickColor.new(1002) then
  142. script.Parent.BrickColor = BrickColor.new(37)
  143. script.Parent.Parent.Paper.BrickColor = BrickColor.new(26)
  144. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(26)
  145. script.Parent.Parent.Opponent.Value = math.random(3)
  146. if script.Parent.Parent.Opponent.Value == 1 then
  147. script.Parent.Parent.Name = "Rock!"
  148. wait(3)
  149. script.Parent.Parent.Name = "It's a tie!"
  150. wait(3)
  151. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  152. script.Parent.BrickColor = BrickColor.new(1002)
  153. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  154. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  155. elseif script.Parent.Parent.Opponent.Value == 2 then
  156. script.Parent.Parent.Name = "Paper!"
  157. wait(3)
  158. script.Parent.Parent.Name = "You lose!"
  159. wait(3)
  160. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  161. script.Parent.BrickColor = BrickColor.new(1002)
  162. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  163. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  164. elseif script.Parent.Parent.Opponent.Value == 3 then
  165. script.Parent.Parent.Name = "Scissors!"
  166. wait(3)
  167. script.Parent.Parent.Name = "You win!"
  168. wait(3)
  169. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  170. script.Parent.BrickColor = BrickColor.new(1002)
  171. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  172. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  173. else
  174. script.Parent.Parent.Name = "An unexpected error has occured."
  175. wait(3)
  176. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  177. script.Parent.BrickColor = BrickColor.new(1002)
  178. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  179. script.Parent.Parent.Scissors.BrickColor = BrickColor.new(1002)
  180. end
  181. end
  182. end
  183.  
  184.  
  185. script.Parent.ClickDetector.MouseClick:connect(Rock)
  186. end))
  187. ClickDetector10.Parent = Part7
  188. Part11.Name = "Scissors"
  189. Part11.Parent = Model0
  190. Part11.BrickColor = BrickColor.new("Mid gray")
  191. Part11.Rotation = Vector3.new(-143.12999, 0, -180)
  192. Part11.Anchored = true
  193. Part11.FormFactor = Enum.FormFactor.Plate
  194. Part11.Size = Vector3.new(4, 0.400000006, 3)
  195. Part11.CFrame = CFrame.new(-1, 2.86000991, -10.8800001, -1, 0, 0, 0, 0.800000012, 0.600000024, 0, 0.600000024, -0.800000012)
  196. Part11.BottomSurface = Enum.SurfaceType.Smooth
  197. Part11.TopSurface = Enum.SurfaceType.Smooth
  198. Part11.Color = Color3.new(0.803922, 0.803922, 0.803922)
  199. Part11.Position = Vector3.new(-1, 2.86000991, -10.8800001)
  200. Part11.Orientation = Vector3.new(-36.8699989, 180, 0)
  201. Part11.Color = Color3.new(0.803922, 0.803922, 0.803922)
  202. Decal12.Parent = Part11
  203. Decal12.Texture = "http://www.roblox.com/asset/?id=28625654"
  204. Decal12.Face = Enum.NormalId.Top
  205. ClickDetector13.Parent = Part11
  206. Script14.Parent = Part11
  207. table.insert(cors,sandbox(Script14,function()
  208. function Scissors()
  209. if script.Parent.BrickColor == BrickColor.new(1002) then
  210. script.Parent.BrickColor = BrickColor.new(37)
  211. script.Parent.Parent.Rock.BrickColor = BrickColor.new(26)
  212. script.Parent.Parent.Paper.BrickColor = BrickColor.new(26)
  213. script.Parent.Parent.Opponent.Value = math.random(3)
  214. if script.Parent.Parent.Opponent.Value == 1 then
  215. script.Parent.Parent.Name = "Rock!"
  216. wait(3)
  217. script.Parent.Parent.Name = "You lose!"
  218. wait(3)
  219. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  220. script.Parent.BrickColor = BrickColor.new(1002)
  221. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  222. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  223. elseif script.Parent.Parent.Opponent.Value == 2 then
  224. script.Parent.Parent.Name = "Paper!"
  225. wait(3)
  226. script.Parent.Parent.Name = "You win!"
  227. wait(3)
  228. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  229. script.Parent.BrickColor = BrickColor.new(1002)
  230. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  231. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  232. elseif script.Parent.Parent.Opponent.Value == 3 then
  233. script.Parent.Parent.Name = "Scissors!"
  234. wait(3)
  235. script.Parent.Parent.Name = "It's a tie!"
  236. wait(3)
  237. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  238. script.Parent.BrickColor = BrickColor.new(1002)
  239. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  240. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  241. else
  242. script.Parent.Parent.Name = "An unexpected error has occured."
  243. wait(3)
  244. script.Parent.Parent.Name = "Rock, Paper, Scissors"
  245. script.Parent.BrickColor = BrickColor.new(1002)
  246. script.Parent.Parent.Rock.BrickColor = BrickColor.new(1002)
  247. script.Parent.Parent.Paper.BrickColor = BrickColor.new(1002)
  248. end
  249. end
  250. end
  251.  
  252.  
  253. script.Parent.ClickDetector.MouseClick:connect(Scissors)
  254. end))
  255. Part15.Parent = Model0
  256. Part15.Anchored = true
  257. Part15.Size = Vector3.new(16, 1.20000005, 5)
  258. Part15.CFrame = CFrame.new(-6, 0.600012004, -11.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  259. Part15.Position = Vector3.new(-6, 0.600012004, -11.5)
  260. IntValue16.Name = "Opponent"
  261. IntValue16.Parent = Model0
  262. Part17.Name = "Head"
  263. Part17.Parent = Model0
  264. Part17.BrickColor = BrickColor.new("Black")
  265. Part17.Anchored = true
  266. Part17.FormFactor = Enum.FormFactor.Plate
  267. Part17.Size = Vector3.new(2, 0.400000006, 1)
  268. Part17.CFrame = CFrame.new(-6, 4.40000677, -13.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  269. Part17.Color = Color3.new(0.105882, 0.164706, 0.207843)
  270. Part17.Position = Vector3.new(-6, 4.40000677, -13.5)
  271. Part17.Color = Color3.new(0.105882, 0.164706, 0.207843)
  272. Humanoid18.Parent = Model0
  273. Humanoid18.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  274. Humanoid18.Health = 0
  275. Humanoid18.MaxHealth = 0
  276. for i,v in pairs(mas:GetChildren()) do
  277. v.Parent = workspace
  278. pcall(function() v:MakeJoints() end)
  279. end
  280. mas:Destroy()
  281. for i,v in pairs(cors) do
  282. spawn(function()
  283. pcall(v)
  284. end)
  285. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement