Advertisement
10user90

Roblox spawning killing food script

Dec 25th, 2017
1,231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. while true do
  2. local pizza = Instance.new("Part",game.Workspace)
  3. pizza.Shape = ("Ball")
  4. pizza.BrickColor = BrickColor.Random()
  5. wait(.231)
  6.  
  7.  
  8. --Delete script below if you don't want to kill people
  9. --Kill-Script---------------------------------------------|
  10. local Brick = pizza.Parent
  11.  
  12.  
  13.  
  14. local function PlayerTouched(pizza)
  15. local Parent = pizza.Parent
  16. if game.Players:GetPlayerFromCharacter(Parent) then
  17. Parent.Humanoid.Health = 0
  18. end
  19. end
  20.  
  21. pizza.Touched:connect(PlayerTouched)
  22. -----------------------------------------------------------|
  23.  
  24.  
  25.  
  26.  
  27. forpizza = Instance.new("SpecialMesh",pizza)
  28. ran = math.random(1,10)
  29. if ran ==1 then
  30. forpizza.MeshId = "http://www.roblox.com/asset/?id=16646125"
  31. forpizza.TextureId ="http://www.roblox.com/asset/?id=16432575"
  32. end
  33. if ran ==2 then
  34. forpizza.MeshId = "rbxassetid://818636592"
  35. forpizza.TextureId = "rbxassetid://818636608"
  36. end
  37. if ran ==3
  38. then
  39. forpizza.MeshId = "http://www.roblox.com/asset/?id=10470609"
  40. forpizza.TextureId = "http://www.roblox.com/asset/?id=10470600"
  41. end
  42. if ran ==4 then
  43. forpizza.MeshId = "http://www.roblox.com/asset/?id=13073626"
  44. forpizza.TextureId = "http://www.roblox.com/asset/?id=13073598"
  45. end
  46. if ran ==5 then
  47. forpizza.MeshId = "http://www.roblox.com/asset/?id=29896287"
  48. forpizza.TextureId = "http://www.roblox.com/asset/?id=29941441"
  49. end
  50. if ran ==6 then
  51. forpizza.MeshId = "http://www.roblox.com/asset/?id=14393194"
  52. forpizza.TextureId = "http://www.roblox.com/asset/?id=16498824"
  53. end
  54. if ran ==7 then
  55. forpizza.MeshId = "http://www.roblox.com/asset/?id=28501599"
  56. forpizza.TextureId = "http://www.roblox.com/asset/?id=198498961"
  57. end
  58. if ran ==8 then
  59. forpizza.MeshId = "http://www.roblox.com/asset/?id=28501599"
  60. forpizza.TextureId = "http://www.roblox.com/asset/?id=153961740"
  61. end
  62. if ran ==9 then
  63. forpizza.MeshId = "http://www.roblox.com/asset/?id=21382712"
  64. forpizza.TextureId = "http://www.roblox.com/asset/?id=21382687"
  65. end
  66. if ran ==10 then
  67. forpizza.MeshId = "rbxassetid://489308589"
  68. forpizza.TextureId = "rbxassetid://489308634"
  69. end
  70. bbb = math.random(1,20)
  71. if bbb ==1 then
  72. pizza.Material = ("Sand")
  73. end
  74. if bbb ==2 then
  75. pizza.Material = ("Ice")
  76. end
  77. if bbb ==3 then
  78. pizza.Material = ("Wood")
  79. end
  80. if bbb ==4 then
  81. pizza.Material = ("Concrete")
  82. end
  83. if bbb ==5 then
  84. pizza.Material = ("Slate")
  85. end
  86. if bbb ==6 then
  87. pizza.Material = ("Fabric")
  88. end
  89. if bbb ==7 then
  90. pizza.Material = ("Brick")
  91. end
  92. if bbb ==8 then
  93. pizza.Material = ("Marble")
  94. end
  95. if bbb ==9 then
  96. pizza.Material = ("Cobblestone")
  97. end
  98. if bbb ==10 then
  99. pizza.Material = ("Glass")
  100. end
  101. if bbb ==11 then
  102. pizza.Material = ("Foil")
  103. end
  104. if bbb ==12 then
  105. pizza.Material = ("Granite")
  106. end
  107. if bbb ==13 then
  108. pizza.Material = ("Pebble")
  109. end
  110. if bbb ==14 then
  111. pizza.Material = ("Metal")
  112. end
  113. if bbb ==15 then
  114. pizza.Material = ("Grass")
  115. end
  116. if bbb ==16 then
  117. pizza.Material = ("SmoothPlastic")
  118. if bbb ==17 then
  119. pizza.Material = ("Wood Planks")
  120. end
  121. if bbb ==18 then
  122. pizza.Material = ("Corroded Metal")
  123. end
  124. if bbb ==19 then
  125. pizza.Material = ("Neon")
  126. end
  127. if bbb ==20 then
  128. pizza.Material = ("Diamond Plate")
  129. end
  130. end
  131. pizza.Size = Vector3.new(1,1,1)
  132. wait(.1)
  133. pizza.Size = Vector3.new(2,2,2)
  134. wait(.1)
  135. pizza.Size = Vector3.new(3,3,3)
  136. wait(.1)
  137. pizza.Size = Vector3.new(4,4,4)
  138. wait(.1)
  139. pizza.Size = Vector3.new(5,5,5)
  140. wait(.1)
  141. pizza.Size = Vector3.new(6,6,6)
  142. wait(.1)
  143. pizza.Size = Vector3.new(7,7,7)
  144. wait(.1)
  145. pizza.Size = Vector3.new(8,8,8)
  146. wait(.1)
  147. pizza.Size = Vector3.new(9,9,9)
  148. wait(.1)
  149. pizza.Size = Vector3.new(10,10,10)
  150. wait(.1)
  151. pizza.Size = Vector3.new(11,11,11)
  152. wait(.005)
  153. pizza.Size = Vector3.new(12,12,12)
  154. wait(.005)
  155. pizza.Size = Vector3.new(13,13,13)
  156. wait(.005)
  157. pizza.Size = Vector3.new(14,14,14)
  158. wait(.005)
  159. pizza.Size = Vector3.new(15,15,15)
  160. wait(.005)
  161. pizza.Size = Vector3.new(16,16,16)
  162. wait(.005)
  163. pizza.Size = Vector3.new(17,17,17)
  164. wait(.005)
  165. pizza.Size = Vector3.new(18,18,18)
  166. wait(.005)
  167. pizza.Size = Vector3.new(19,19,19)
  168. pizza.Size = Vector3.new(20,25,20)
  169. wait(.005)
  170. pizza.Size = Vector3.new(20,20,20)
  171. wait(.005)
  172. forpizza.Scale = Vector3.new(1,1,1)
  173. wait(.001)
  174. forpizza.Scale = Vector3.new(2,2,2)
  175. wait(.001)
  176. forpizza.Scale = Vector3.new(3,3,3)
  177. wait(.001)
  178. forpizza.Scale = Vector3.new(4,4,4)
  179. wait(.001)
  180. forpizza.Scale = Vector3.new(5,5,5)
  181. wait(.001)
  182. forpizza.Scale = Vector3.new(6,6,6)
  183. wait(.001)
  184. forpizza.Scale = Vector3.new(7,7,7)
  185. wait(.001)
  186. forpizza.Scale = Vector3.new(8,8,8)
  187. wait(.001)
  188. forpizza.Scale = Vector3.new(9,9,9)
  189. wait(.001)
  190. forpizza.Scale = Vector3.new(10,10,10)
  191. wait(.001)
  192. forpizza.Scale = Vector3.new(11,11,11)
  193. wait(.001)
  194. forpizza.Scale = Vector3.new(12,12,12)
  195. wait(.001)
  196. forpizza.Scale = Vector3.new(13,13,13)
  197. wait(.001)
  198. forpizza.Scale = Vector3.new(14,14,14)
  199. wait(.001)
  200. forpizza.Scale = Vector3.new(15,15,15)
  201. wait(.001)
  202. forpizza.Scale = Vector3.new(16,16,16)
  203. wait(.001)
  204. forpizza.Scale = Vector3.new(17,17,17)
  205. wait(.001)
  206. forpizza.Scale = Vector3.new(18,18,18)
  207. wait(.001)
  208. forpizza.Scale = Vector3.new(19,19,19)
  209. wait(.001)
  210. forpizza.Scale = Vector3.new(20,25,20)
  211. wait(.001)
  212. forpizza.Scale = Vector3.new(20,20,20)
  213. wait(.001)
  214. pizza.Friction = (-.32)
  215. wait(.005)
  216. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement