Advertisement
N0ePlox

Fun t2imes

May 13th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.49 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. Model1 = Instance.new("Model")
  21. BoolValue2 = Instance.new("BoolValue")
  22. Part3 = Instance.new("Part")
  23. Script4 = Instance.new("Script")
  24. Decal5 = Instance.new("Decal")
  25. PointLight6 = Instance.new("PointLight")
  26. Script7 = Instance.new("Script")
  27. Sound8 = Instance.new("Sound")
  28. Sound9 = Instance.new("Sound")
  29. BodyForce10 = Instance.new("BodyForce")
  30. Script11 = Instance.new("Script")
  31. BodyGyro12 = Instance.new("BodyGyro")
  32. Script13 = Instance.new("Script")
  33. Script14 = Instance.new("Script")
  34. Script15 = Instance.new("Script")
  35. Model16 = Instance.new("Model")
  36. BoolValue17 = Instance.new("BoolValue")
  37. Part18 = Instance.new("Part")
  38. Script19 = Instance.new("Script")
  39. Decal20 = Instance.new("Decal")
  40. PointLight21 = Instance.new("PointLight")
  41. Script22 = Instance.new("Script")
  42. Sound23 = Instance.new("Sound")
  43. Sound24 = Instance.new("Sound")
  44. BodyForce25 = Instance.new("BodyForce")
  45. Script26 = Instance.new("Script")
  46. BodyGyro27 = Instance.new("BodyGyro")
  47. Script28 = Instance.new("Script")
  48. Script29 = Instance.new("Script")
  49. Script30 = Instance.new("Script")
  50. Model31 = Instance.new("Model")
  51. BoolValue32 = Instance.new("BoolValue")
  52. Part33 = Instance.new("Part")
  53. Script34 = Instance.new("Script")
  54. Decal35 = Instance.new("Decal")
  55. PointLight36 = Instance.new("PointLight")
  56. Script37 = Instance.new("Script")
  57. Sound38 = Instance.new("Sound")
  58. Sound39 = Instance.new("Sound")
  59. BodyForce40 = Instance.new("BodyForce")
  60. Script41 = Instance.new("Script")
  61. BodyGyro42 = Instance.new("BodyGyro")
  62. Script43 = Instance.new("Script")
  63. Script44 = Instance.new("Script")
  64. Script45 = Instance.new("Script")
  65. Model46 = Instance.new("Model")
  66. BoolValue47 = Instance.new("BoolValue")
  67. Part48 = Instance.new("Part")
  68. Script49 = Instance.new("Script")
  69. Decal50 = Instance.new("Decal")
  70. PointLight51 = Instance.new("PointLight")
  71. Script52 = Instance.new("Script")
  72. Sound53 = Instance.new("Sound")
  73. Sound54 = Instance.new("Sound")
  74. BodyForce55 = Instance.new("BodyForce")
  75. Script56 = Instance.new("Script")
  76. BodyGyro57 = Instance.new("BodyGyro")
  77. Script58 = Instance.new("Script")
  78. Script59 = Instance.new("Script")
  79. Script60 = Instance.new("Script")
  80. Model61 = Instance.new("Model")
  81. BoolValue62 = Instance.new("BoolValue")
  82. Part63 = Instance.new("Part")
  83. Script64 = Instance.new("Script")
  84. Decal65 = Instance.new("Decal")
  85. PointLight66 = Instance.new("PointLight")
  86. Script67 = Instance.new("Script")
  87. Sound68 = Instance.new("Sound")
  88. Sound69 = Instance.new("Sound")
  89. BodyForce70 = Instance.new("BodyForce")
  90. Script71 = Instance.new("Script")
  91. BodyGyro72 = Instance.new("BodyGyro")
  92. Script73 = Instance.new("Script")
  93. Script74 = Instance.new("Script")
  94. Script75 = Instance.new("Script")
  95. Model76 = Instance.new("Model")
  96. BoolValue77 = Instance.new("BoolValue")
  97. Part78 = Instance.new("Part")
  98. Script79 = Instance.new("Script")
  99. Decal80 = Instance.new("Decal")
  100. PointLight81 = Instance.new("PointLight")
  101. Script82 = Instance.new("Script")
  102. Sound83 = Instance.new("Sound")
  103. Sound84 = Instance.new("Sound")
  104. BodyForce85 = Instance.new("BodyForce")
  105. Script86 = Instance.new("Script")
  106. BodyGyro87 = Instance.new("BodyGyro")
  107. Script88 = Instance.new("Script")
  108. Script89 = Instance.new("Script")
  109. Script90 = Instance.new("Script")
  110. Model91 = Instance.new("Model")
  111. BoolValue92 = Instance.new("BoolValue")
  112. Part93 = Instance.new("Part")
  113. Script94 = Instance.new("Script")
  114. Decal95 = Instance.new("Decal")
  115. PointLight96 = Instance.new("PointLight")
  116. Script97 = Instance.new("Script")
  117. Sound98 = Instance.new("Sound")
  118. Sound99 = Instance.new("Sound")
  119. BodyForce100 = Instance.new("BodyForce")
  120. Script101 = Instance.new("Script")
  121. BodyGyro102 = Instance.new("BodyGyro")
  122. Script103 = Instance.new("Script")
  123. Script104 = Instance.new("Script")
  124. Script105 = Instance.new("Script")
  125. Model106 = Instance.new("Model")
  126. BoolValue107 = Instance.new("BoolValue")
  127. Part108 = Instance.new("Part")
  128. Script109 = Instance.new("Script")
  129. Decal110 = Instance.new("Decal")
  130. PointLight111 = Instance.new("PointLight")
  131. Script112 = Instance.new("Script")
  132. Sound113 = Instance.new("Sound")
  133. Sound114 = Instance.new("Sound")
  134. BodyForce115 = Instance.new("BodyForce")
  135. Script116 = Instance.new("Script")
  136. BodyGyro117 = Instance.new("BodyGyro")
  137. Script118 = Instance.new("Script")
  138. Script119 = Instance.new("Script")
  139. Script120 = Instance.new("Script")
  140. Model0.Parent = mas
  141. Model1.Name = "Yummey!"
  142. Model1.Parent = Model0
  143. BoolValue2.Name = "on"
  144. BoolValue2.Parent = Model1
  145. BoolValue2.Value = true
  146. Part3.Name = "Yummey"
  147. Part3.Parent = Model1
  148. Part3.Material = Enum.Material.SmoothPlastic
  149. Part3.BrickColor = BrickColor.new("Bright red")
  150. Part3.FormFactor = Enum.FormFactor.Symmetric
  151. Part3.Shape = Enum.PartType.Ball
  152. Part3.Size = Vector3.new(1, 1, 1)
  153. Part3.CFrame = CFrame.new(-7.89999819, 0.5, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  154. Part3.BottomSurface = Enum.SurfaceType.Smooth
  155. Part3.TopSurface = Enum.SurfaceType.Smooth
  156. Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  157. Part3.Position = Vector3.new(-7.89999819, 0.5, 25.1000042)
  158. Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  159. Script4.Name = "clome"
  160. Script4.Parent = Part3
  161. table.insert(cors,sandbox(Script4,function()
  162. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  163. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  164. --[[I (kind of) made this script myself, because I copy and pasted
  165. everything i had in reach.
  166. i guess this is my first complete script.
  167. every other script in this model isn't made by me except the expire script.
  168. I only modified them.
  169.  
  170. Modified the VirusScript to prevent the things from eating locked parts.
  171. ]]--
  172.  
  173. local yummeyp = 0
  174. local brecksaet = 0
  175.  
  176. local s = Instance.new("Sound")
  177. local self = script.Parent
  178.  
  179. s.Name = "BGMusic"
  180. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  181. s.Volume = 1
  182. s.Pitch = 1
  183. s.Looped = false
  184. s.archivable = false
  185.  
  186. s.Parent = script.Parent
  187. function cloneobjectpls()
  188. print("clone")
  189. local a=script.Parent:clone()
  190. --a.Script:remove()
  191. a.Position=script.Parent.Position
  192. a.Parent=script.Parent.Parent
  193. a.CanCollide=true
  194. a.Anchored=false
  195. a.Color = Color3.new (math.random (), math.random (), math.random () )
  196. a.Reflectance = 0
  197. yummeyp = 0
  198. end
  199.  
  200. function eat_brecks_pls()
  201. print("I liek aeting thengs!")
  202. --yes
  203. brecksaet = brecksaet + 1
  204. yummeyp = yummeyp + 1
  205. if yummeyp == 5 then
  206. cloneobjectpls()
  207. end
  208. print("yummey")
  209. s:play()
  210. end
  211.  
  212. function onTouched(hit)
  213.  
  214. if (hit ~= nil) then
  215. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  216. if (hit.locked == true) then
  217. if eatlocked == 1 then
  218. hit:remove()
  219. eat_brecks_pls()
  220. end
  221. end
  222. if (hit.Locked == false) then
  223. hit:remove()
  224. eat_brecks_pls()
  225. end
  226. end
  227. end
  228.  
  229.  
  230.  
  231. connection = script.Parent.Touched:connect(onTouched)
  232.  
  233.  
  234.  
  235.  
  236. end))
  237. Decal5.Parent = Part3
  238. Decal5.Texture = "http://www.roblox.com/asset/?id=171121051"
  239. PointLight6.Parent = Part3
  240. PointLight6.Color = Color3.new(1, 0, 0)
  241. PointLight6.Brightness = 10
  242. PointLight6.Color = Color3.new(1, 0, 0)
  243. Script7.Name = "Face"
  244. Script7.Parent = Part3
  245. table.insert(cors,sandbox(Script7,function()
  246. -- declarations
  247.  
  248. local head = script.Parent
  249. local sound = head:findFirstChild("Victory")
  250.  
  251. function onTouched(part)
  252. local h = part.Parent:findFirstChild("Humanoid")
  253. if h~=nil then
  254. sound:play()
  255. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  256. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  257. end
  258. end
  259.  
  260. script.Parent.Touched:connect(onTouched)
  261. end))
  262. Sound8.Name = "Victory"
  263. Sound8.Parent = Part3
  264. Sound8.SoundId = "rbxasset://sounds/victory.wav"
  265. Sound8.Volume = 0.20000000298023
  266. Sound9.Name = "Scream"
  267. Sound9.Parent = Part3
  268. Sound9.Pitch = 0.69999998807907
  269. Sound9.Volume = 1
  270. BodyForce10.Parent = Part3
  271. BodyForce10.force = Vector3.new(0, 97.5988159, 0)
  272. Script11.Parent = Part3
  273. table.insert(cors,sandbox(Script11,function()
  274. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  275. function onTouched(hit)
  276. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  277. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  278. human.Health = 0
  279. human:breakjoint()
  280. print("pwned lol")
  281. end--don't mess with this
  282. end--don't mess with this
  283.  
  284. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  285. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  286. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  287.  
  288.  
  289. end))
  290. BodyGyro12.Parent = Part3
  291. Script13.Name = "Expire"
  292. Script13.Parent = Part3
  293. table.insert(cors,sandbox(Script13,function()
  294. local s = Instance.new("Sound")
  295. local self = script.Parent
  296.  
  297. s.Name = "BMusic"
  298. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  299. s.Volume = 1
  300. s.Pitch = 1
  301. s.Looped = false
  302. s.archivable = false
  303.  
  304.  
  305. print("expire script!!!!! nao u eat brecks.")
  306. wait(180)
  307. print("ded")
  308. s:play()
  309. self:remove()
  310. end))
  311. Script14.Name = "VirusScript"
  312. Script14.Parent = Part3
  313. table.insert(cors,sandbox(Script14,function()
  314. wait(1)
  315. coroutine.resume(coroutine.create(function()
  316. wait(1)
  317. end))
  318.  
  319. script.Parent.Touched:connect(function(hit)
  320. if hit == nil then return end
  321. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  322. local s = script.InfectedScript:clone()
  323. local t = script:clone()
  324. t.Disabled = true
  325. t.Parent = s
  326. s.Disabled = false
  327. s.Parent = hit
  328. GetTarget()
  329. end)
  330.  
  331. function attack(what)
  332. if (what.Locked == true) then return end
  333. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  334. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  335. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  336. wait(0.1)
  337. end
  338. GetTarget()
  339. end
  340.  
  341. function find(w)
  342. if #w:GetChildren() == 0 then return end
  343. for _,v in pairs(w:GetChildren()) do
  344. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  345. if v.className == "Part" and v.Locked ~= true then
  346. table.insert(a,v)
  347. end
  348. find(v)
  349. end
  350. end
  351. end
  352.  
  353. function GetTarget()
  354. wait(.1)
  355. a = {}
  356. find(game.Workspace)
  357.  
  358. if #a == 0 then GetTarget()end
  359.  
  360. min = 99999
  361. target = nil
  362.  
  363. for _,v in pairs(a) do
  364. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  365. min = (script.Parent.Position-v.Position).magnitude
  366. target = v
  367. end
  368. end
  369.  
  370. if target == nil or target.Locked == true then GetTarget()end
  371. --found out the problem
  372.  
  373. attack(target)
  374. end
  375.  
  376. GetTarget()
  377.  
  378. end))
  379. Script15.Name = "version"
  380. Script15.Parent = Model1
  381. table.insert(cors,sandbox(Script15,function()
  382. print 'version 0.5'
  383. --figured out how to keep them from eating locked parts
  384. end))
  385. Model16.Name = "Yummey!"
  386. Model16.Parent = Model0
  387. BoolValue17.Name = "on"
  388. BoolValue17.Parent = Model16
  389. BoolValue17.Value = true
  390. Part18.Name = "Yummey"
  391. Part18.Parent = Model16
  392. Part18.Material = Enum.Material.SmoothPlastic
  393. Part18.BrickColor = BrickColor.new("Bright red")
  394. Part18.FormFactor = Enum.FormFactor.Symmetric
  395. Part18.Shape = Enum.PartType.Ball
  396. Part18.Size = Vector3.new(1, 1, 1)
  397. Part18.CFrame = CFrame.new(-9.5, 0.5, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  398. Part18.BottomSurface = Enum.SurfaceType.Smooth
  399. Part18.TopSurface = Enum.SurfaceType.Smooth
  400. Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  401. Part18.Position = Vector3.new(-9.5, 0.5, 25.1000042)
  402. Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  403. Script19.Name = "clome"
  404. Script19.Parent = Part18
  405. table.insert(cors,sandbox(Script19,function()
  406. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  407. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  408. --[[I (kind of) made this script myself, because I copy and pasted
  409. everything i had in reach.
  410. i guess this is my first complete script.
  411. every other script in this model isn't made by me except the expire script.
  412. I only modified them.
  413.  
  414. Modified the VirusScript to prevent the things from eating locked parts.
  415. ]]--
  416.  
  417. local yummeyp = 0
  418. local brecksaet = 0
  419.  
  420. local s = Instance.new("Sound")
  421. local self = script.Parent
  422.  
  423. s.Name = "BGMusic"
  424. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  425. s.Volume = 1
  426. s.Pitch = 1
  427. s.Looped = false
  428. s.archivable = false
  429.  
  430. s.Parent = script.Parent
  431. function cloneobjectpls()
  432. print("clone")
  433. local a=script.Parent:clone()
  434. --a.Script:remove()
  435. a.Position=script.Parent.Position
  436. a.Parent=script.Parent.Parent
  437. a.CanCollide=true
  438. a.Anchored=false
  439. a.Color = Color3.new (math.random (), math.random (), math.random () )
  440. a.Reflectance = 0
  441. yummeyp = 0
  442. end
  443.  
  444. function eat_brecks_pls()
  445. print("I liek aeting thengs!")
  446. --yes
  447. brecksaet = brecksaet + 1
  448. yummeyp = yummeyp + 1
  449. if yummeyp == 5 then
  450. cloneobjectpls()
  451. end
  452. print("yummey")
  453. s:play()
  454. end
  455.  
  456. function onTouched(hit)
  457.  
  458. if (hit ~= nil) then
  459. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  460. if (hit.locked == true) then
  461. if eatlocked == 1 then
  462. hit:remove()
  463. eat_brecks_pls()
  464. end
  465. end
  466. if (hit.Locked == false) then
  467. hit:remove()
  468. eat_brecks_pls()
  469. end
  470. end
  471. end
  472.  
  473.  
  474.  
  475. connection = script.Parent.Touched:connect(onTouched)
  476.  
  477.  
  478.  
  479.  
  480. end))
  481. Decal20.Parent = Part18
  482. Decal20.Texture = "http://www.roblox.com/asset/?id=171121051"
  483. PointLight21.Parent = Part18
  484. PointLight21.Color = Color3.new(1, 0, 0)
  485. PointLight21.Brightness = 10
  486. PointLight21.Color = Color3.new(1, 0, 0)
  487. Script22.Name = "Face"
  488. Script22.Parent = Part18
  489. table.insert(cors,sandbox(Script22,function()
  490. -- declarations
  491.  
  492. local head = script.Parent
  493. local sound = head:findFirstChild("Victory")
  494.  
  495. function onTouched(part)
  496. local h = part.Parent:findFirstChild("Humanoid")
  497. if h~=nil then
  498. sound:play()
  499. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  500. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  501. end
  502. end
  503.  
  504. script.Parent.Touched:connect(onTouched)
  505. end))
  506. Sound23.Name = "Victory"
  507. Sound23.Parent = Part18
  508. Sound23.SoundId = "rbxasset://sounds/victory.wav"
  509. Sound23.Volume = 0.20000000298023
  510. Sound24.Name = "Scream"
  511. Sound24.Parent = Part18
  512. Sound24.Pitch = 0.69999998807907
  513. Sound24.Volume = 1
  514. BodyForce25.Parent = Part18
  515. BodyForce25.force = Vector3.new(0, 97.5988159, 0)
  516. Script26.Parent = Part18
  517. table.insert(cors,sandbox(Script26,function()
  518. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  519. function onTouched(hit)
  520. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  521. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  522. human.Health = 0
  523. human:breakjoint()
  524. print("pwned lol")
  525. end--don't mess with this
  526. end--don't mess with this
  527.  
  528. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  529. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  530. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  531.  
  532.  
  533. end))
  534. BodyGyro27.Parent = Part18
  535. Script28.Name = "Expire"
  536. Script28.Parent = Part18
  537. table.insert(cors,sandbox(Script28,function()
  538. local s = Instance.new("Sound")
  539. local self = script.Parent
  540.  
  541. s.Name = "BMusic"
  542. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  543. s.Volume = 1
  544. s.Pitch = 1
  545. s.Looped = false
  546. s.archivable = false
  547.  
  548.  
  549. print("expire script!!!!! nao u eat brecks.")
  550. wait(180)
  551. print("ded")
  552. s:play()
  553. self:remove()
  554. end))
  555. Script29.Name = "VirusScript"
  556. Script29.Parent = Part18
  557. table.insert(cors,sandbox(Script29,function()
  558. wait(1)
  559. coroutine.resume(coroutine.create(function()
  560. wait(1)
  561. end))
  562.  
  563. script.Parent.Touched:connect(function(hit)
  564. if hit == nil then return end
  565. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  566. local s = script.InfectedScript:clone()
  567. local t = script:clone()
  568. t.Disabled = true
  569. t.Parent = s
  570. s.Disabled = false
  571. s.Parent = hit
  572. GetTarget()
  573. end)
  574.  
  575. function attack(what)
  576. if (what.Locked == true) then return end
  577. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  578. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  579. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  580. wait(0.1)
  581. end
  582. GetTarget()
  583. end
  584.  
  585. function find(w)
  586. if #w:GetChildren() == 0 then return end
  587. for _,v in pairs(w:GetChildren()) do
  588. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  589. if v.className == "Part" and v.Locked ~= true then
  590. table.insert(a,v)
  591. end
  592. find(v)
  593. end
  594. end
  595. end
  596.  
  597. function GetTarget()
  598. wait(.1)
  599. a = {}
  600. find(game.Workspace)
  601.  
  602. if #a == 0 then GetTarget()end
  603.  
  604. min = 99999
  605. target = nil
  606.  
  607. for _,v in pairs(a) do
  608. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  609. min = (script.Parent.Position-v.Position).magnitude
  610. target = v
  611. end
  612. end
  613.  
  614. if target == nil or target.Locked == true then GetTarget()end
  615. --found out the problem
  616.  
  617. attack(target)
  618. end
  619.  
  620. GetTarget()
  621.  
  622. end))
  623. Script30.Name = "version"
  624. Script30.Parent = Model16
  625. table.insert(cors,sandbox(Script30,function()
  626. print 'version 0.5'
  627. --figured out how to keep them from eating locked parts
  628. end))
  629. Model31.Name = "Yummey!"
  630. Model31.Parent = Model0
  631. BoolValue32.Name = "on"
  632. BoolValue32.Parent = Model31
  633. BoolValue32.Value = true
  634. Part33.Name = "Yummey"
  635. Part33.Parent = Model31
  636. Part33.Material = Enum.Material.SmoothPlastic
  637. Part33.BrickColor = BrickColor.new("Bright red")
  638. Part33.FormFactor = Enum.FormFactor.Symmetric
  639. Part33.Shape = Enum.PartType.Ball
  640. Part33.Size = Vector3.new(1, 1, 1)
  641. Part33.CFrame = CFrame.new(-9.5, 2.30000019, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  642. Part33.BottomSurface = Enum.SurfaceType.Smooth
  643. Part33.TopSurface = Enum.SurfaceType.Smooth
  644. Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
  645. Part33.Position = Vector3.new(-9.5, 2.30000019, 25.1000042)
  646. Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
  647. Script34.Name = "clome"
  648. Script34.Parent = Part33
  649. table.insert(cors,sandbox(Script34,function()
  650. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  651. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  652. --[[I (kind of) made this script myself, because I copy and pasted
  653. everything i had in reach.
  654. i guess this is my first complete script.
  655. every other script in this model isn't made by me except the expire script.
  656. I only modified them.
  657.  
  658. Modified the VirusScript to prevent the things from eating locked parts.
  659. ]]--
  660.  
  661. local yummeyp = 0
  662. local brecksaet = 0
  663.  
  664. local s = Instance.new("Sound")
  665. local self = script.Parent
  666.  
  667. s.Name = "BGMusic"
  668. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  669. s.Volume = 1
  670. s.Pitch = 1
  671. s.Looped = false
  672. s.archivable = false
  673.  
  674. s.Parent = script.Parent
  675. function cloneobjectpls()
  676. print("clone")
  677. local a=script.Parent:clone()
  678. --a.Script:remove()
  679. a.Position=script.Parent.Position
  680. a.Parent=script.Parent.Parent
  681. a.CanCollide=true
  682. a.Anchored=false
  683. a.Color = Color3.new (math.random (), math.random (), math.random () )
  684. a.Reflectance = 0
  685. yummeyp = 0
  686. end
  687.  
  688. function eat_brecks_pls()
  689. print("I liek aeting thengs!")
  690. --yes
  691. brecksaet = brecksaet + 1
  692. yummeyp = yummeyp + 1
  693. if yummeyp == 5 then
  694. cloneobjectpls()
  695. end
  696. print("yummey")
  697. s:play()
  698. end
  699.  
  700. function onTouched(hit)
  701.  
  702. if (hit ~= nil) then
  703. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  704. if (hit.locked == true) then
  705. if eatlocked == 1 then
  706. hit:remove()
  707. eat_brecks_pls()
  708. end
  709. end
  710. if (hit.Locked == false) then
  711. hit:remove()
  712. eat_brecks_pls()
  713. end
  714. end
  715. end
  716.  
  717.  
  718.  
  719. connection = script.Parent.Touched:connect(onTouched)
  720.  
  721.  
  722.  
  723.  
  724. end))
  725. Decal35.Parent = Part33
  726. Decal35.Texture = "http://www.roblox.com/asset/?id=171121051"
  727. PointLight36.Parent = Part33
  728. PointLight36.Color = Color3.new(1, 0, 0)
  729. PointLight36.Brightness = 10
  730. PointLight36.Color = Color3.new(1, 0, 0)
  731. Script37.Name = "Face"
  732. Script37.Parent = Part33
  733. table.insert(cors,sandbox(Script37,function()
  734. -- declarations
  735.  
  736. local head = script.Parent
  737. local sound = head:findFirstChild("Victory")
  738.  
  739. function onTouched(part)
  740. local h = part.Parent:findFirstChild("Humanoid")
  741. if h~=nil then
  742. sound:play()
  743. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  744. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  745. end
  746. end
  747.  
  748. script.Parent.Touched:connect(onTouched)
  749. end))
  750. Sound38.Name = "Victory"
  751. Sound38.Parent = Part33
  752. Sound38.SoundId = "rbxasset://sounds/victory.wav"
  753. Sound38.Volume = 0.20000000298023
  754. Sound39.Name = "Scream"
  755. Sound39.Parent = Part33
  756. Sound39.Pitch = 0.69999998807907
  757. Sound39.Volume = 1
  758. BodyForce40.Parent = Part33
  759. BodyForce40.force = Vector3.new(0, 97.5988159, 0)
  760. Script41.Parent = Part33
  761. table.insert(cors,sandbox(Script41,function()
  762. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  763. function onTouched(hit)
  764. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  765. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  766. human.Health = 0
  767. human:breakjoint()
  768. print("pwned lol")
  769. end--don't mess with this
  770. end--don't mess with this
  771.  
  772. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  773. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  774. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  775.  
  776.  
  777. end))
  778. BodyGyro42.Parent = Part33
  779. Script43.Name = "Expire"
  780. Script43.Parent = Part33
  781. table.insert(cors,sandbox(Script43,function()
  782. local s = Instance.new("Sound")
  783. local self = script.Parent
  784.  
  785. s.Name = "BMusic"
  786. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  787. s.Volume = 1
  788. s.Pitch = 1
  789. s.Looped = false
  790. s.archivable = false
  791.  
  792.  
  793. print("expire script!!!!! nao u eat brecks.")
  794. wait(180)
  795. print("ded")
  796. s:play()
  797. self:remove()
  798. end))
  799. Script44.Name = "VirusScript"
  800. Script44.Parent = Part33
  801. table.insert(cors,sandbox(Script44,function()
  802. wait(1)
  803. coroutine.resume(coroutine.create(function()
  804. wait(1)
  805. end))
  806.  
  807. script.Parent.Touched:connect(function(hit)
  808. if hit == nil then return end
  809. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  810. local s = script.InfectedScript:clone()
  811. local t = script:clone()
  812. t.Disabled = true
  813. t.Parent = s
  814. s.Disabled = false
  815. s.Parent = hit
  816. GetTarget()
  817. end)
  818.  
  819. function attack(what)
  820. if (what.Locked == true) then return end
  821. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  822. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  823. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  824. wait(0.1)
  825. end
  826. GetTarget()
  827. end
  828.  
  829. function find(w)
  830. if #w:GetChildren() == 0 then return end
  831. for _,v in pairs(w:GetChildren()) do
  832. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  833. if v.className == "Part" and v.Locked ~= true then
  834. table.insert(a,v)
  835. end
  836. find(v)
  837. end
  838. end
  839. end
  840.  
  841. function GetTarget()
  842. wait(.1)
  843. a = {}
  844. find(game.Workspace)
  845.  
  846. if #a == 0 then GetTarget()end
  847.  
  848. min = 99999
  849. target = nil
  850.  
  851. for _,v in pairs(a) do
  852. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  853. min = (script.Parent.Position-v.Position).magnitude
  854. target = v
  855. end
  856. end
  857.  
  858. if target == nil or target.Locked == true then GetTarget()end
  859. --found out the problem
  860.  
  861. attack(target)
  862. end
  863.  
  864. GetTarget()
  865.  
  866. end))
  867. Script45.Name = "version"
  868. Script45.Parent = Model31
  869. table.insert(cors,sandbox(Script45,function()
  870. print 'version 0.5'
  871. --figured out how to keep them from eating locked parts
  872. end))
  873. Model46.Name = "Yummey!"
  874. Model46.Parent = Model0
  875. BoolValue47.Name = "on"
  876. BoolValue47.Parent = Model46
  877. BoolValue47.Value = true
  878. Part48.Name = "Yummey"
  879. Part48.Parent = Model46
  880. Part48.Material = Enum.Material.SmoothPlastic
  881. Part48.BrickColor = BrickColor.new("Bright red")
  882. Part48.FormFactor = Enum.FormFactor.Symmetric
  883. Part48.Shape = Enum.PartType.Ball
  884. Part48.Size = Vector3.new(1, 1, 1)
  885. Part48.CFrame = CFrame.new(-7.89999819, 2.30000019, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  886. Part48.BottomSurface = Enum.SurfaceType.Smooth
  887. Part48.TopSurface = Enum.SurfaceType.Smooth
  888. Part48.Color = Color3.new(0.768628, 0.156863, 0.109804)
  889. Part48.Position = Vector3.new(-7.89999819, 2.30000019, 25.1000042)
  890. Part48.Color = Color3.new(0.768628, 0.156863, 0.109804)
  891. Script49.Name = "clome"
  892. Script49.Parent = Part48
  893. table.insert(cors,sandbox(Script49,function()
  894. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  895. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  896. --[[I (kind of) made this script myself, because I copy and pasted
  897. everything i had in reach.
  898. i guess this is my first complete script.
  899. every other script in this model isn't made by me except the expire script.
  900. I only modified them.
  901.  
  902. Modified the VirusScript to prevent the things from eating locked parts.
  903. ]]--
  904.  
  905. local yummeyp = 0
  906. local brecksaet = 0
  907.  
  908. local s = Instance.new("Sound")
  909. local self = script.Parent
  910.  
  911. s.Name = "BGMusic"
  912. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  913. s.Volume = 1
  914. s.Pitch = 1
  915. s.Looped = false
  916. s.archivable = false
  917.  
  918. s.Parent = script.Parent
  919. function cloneobjectpls()
  920. print("clone")
  921. local a=script.Parent:clone()
  922. --a.Script:remove()
  923. a.Position=script.Parent.Position
  924. a.Parent=script.Parent.Parent
  925. a.CanCollide=true
  926. a.Anchored=false
  927. a.Color = Color3.new (math.random (), math.random (), math.random () )
  928. a.Reflectance = 0
  929. yummeyp = 0
  930. end
  931.  
  932. function eat_brecks_pls()
  933. print("I liek aeting thengs!")
  934. --yes
  935. brecksaet = brecksaet + 1
  936. yummeyp = yummeyp + 1
  937. if yummeyp == 5 then
  938. cloneobjectpls()
  939. end
  940. print("yummey")
  941. s:play()
  942. end
  943.  
  944. function onTouched(hit)
  945.  
  946. if (hit ~= nil) then
  947. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  948. if (hit.locked == true) then
  949. if eatlocked == 1 then
  950. hit:remove()
  951. eat_brecks_pls()
  952. end
  953. end
  954. if (hit.Locked == false) then
  955. hit:remove()
  956. eat_brecks_pls()
  957. end
  958. end
  959. end
  960.  
  961.  
  962.  
  963. connection = script.Parent.Touched:connect(onTouched)
  964.  
  965.  
  966.  
  967.  
  968. end))
  969. Decal50.Parent = Part48
  970. Decal50.Texture = "http://www.roblox.com/asset/?id=171121051"
  971. PointLight51.Parent = Part48
  972. PointLight51.Color = Color3.new(1, 0, 0)
  973. PointLight51.Brightness = 10
  974. PointLight51.Color = Color3.new(1, 0, 0)
  975. Script52.Name = "Face"
  976. Script52.Parent = Part48
  977. table.insert(cors,sandbox(Script52,function()
  978. -- declarations
  979.  
  980. local head = script.Parent
  981. local sound = head:findFirstChild("Victory")
  982.  
  983. function onTouched(part)
  984. local h = part.Parent:findFirstChild("Humanoid")
  985. if h~=nil then
  986. sound:play()
  987. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  988. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  989. end
  990. end
  991.  
  992. script.Parent.Touched:connect(onTouched)
  993. end))
  994. Sound53.Name = "Victory"
  995. Sound53.Parent = Part48
  996. Sound53.SoundId = "rbxasset://sounds/victory.wav"
  997. Sound53.Volume = 0.20000000298023
  998. Sound54.Name = "Scream"
  999. Sound54.Parent = Part48
  1000. Sound54.Pitch = 0.69999998807907
  1001. Sound54.Volume = 1
  1002. BodyForce55.Parent = Part48
  1003. BodyForce55.force = Vector3.new(0, 97.5988159, 0)
  1004. Script56.Parent = Part48
  1005. table.insert(cors,sandbox(Script56,function()
  1006. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  1007. function onTouched(hit)
  1008. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  1009. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  1010. human.Health = 0
  1011. human:breakjoint()
  1012. print("pwned lol")
  1013. end--don't mess with this
  1014. end--don't mess with this
  1015.  
  1016. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  1017. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  1018. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  1019.  
  1020.  
  1021. end))
  1022. BodyGyro57.Parent = Part48
  1023. Script58.Name = "Expire"
  1024. Script58.Parent = Part48
  1025. table.insert(cors,sandbox(Script58,function()
  1026. local s = Instance.new("Sound")
  1027. local self = script.Parent
  1028.  
  1029. s.Name = "BMusic"
  1030. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  1031. s.Volume = 1
  1032. s.Pitch = 1
  1033. s.Looped = false
  1034. s.archivable = false
  1035.  
  1036.  
  1037. print("expire script!!!!! nao u eat brecks.")
  1038. wait(180)
  1039. print("ded")
  1040. s:play()
  1041. self:remove()
  1042. end))
  1043. Script59.Name = "VirusScript"
  1044. Script59.Parent = Part48
  1045. table.insert(cors,sandbox(Script59,function()
  1046. wait(1)
  1047. coroutine.resume(coroutine.create(function()
  1048. wait(1)
  1049. end))
  1050.  
  1051. script.Parent.Touched:connect(function(hit)
  1052. if hit == nil then return end
  1053. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  1054. local s = script.InfectedScript:clone()
  1055. local t = script:clone()
  1056. t.Disabled = true
  1057. t.Parent = s
  1058. s.Disabled = false
  1059. s.Parent = hit
  1060. GetTarget()
  1061. end)
  1062.  
  1063. function attack(what)
  1064. if (what.Locked == true) then return end
  1065. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  1066. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  1067. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  1068. wait(0.1)
  1069. end
  1070. GetTarget()
  1071. end
  1072.  
  1073. function find(w)
  1074. if #w:GetChildren() == 0 then return end
  1075. for _,v in pairs(w:GetChildren()) do
  1076. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  1077. if v.className == "Part" and v.Locked ~= true then
  1078. table.insert(a,v)
  1079. end
  1080. find(v)
  1081. end
  1082. end
  1083. end
  1084.  
  1085. function GetTarget()
  1086. wait(.1)
  1087. a = {}
  1088. find(game.Workspace)
  1089.  
  1090. if #a == 0 then GetTarget()end
  1091.  
  1092. min = 99999
  1093. target = nil
  1094.  
  1095. for _,v in pairs(a) do
  1096. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  1097. min = (script.Parent.Position-v.Position).magnitude
  1098. target = v
  1099. end
  1100. end
  1101.  
  1102. if target == nil or target.Locked == true then GetTarget()end
  1103. --found out the problem
  1104.  
  1105. attack(target)
  1106. end
  1107.  
  1108. GetTarget()
  1109.  
  1110. end))
  1111. Script60.Name = "version"
  1112. Script60.Parent = Model46
  1113. table.insert(cors,sandbox(Script60,function()
  1114. print 'version 0.5'
  1115. --figured out how to keep them from eating locked parts
  1116. end))
  1117. Model61.Name = "Yummey!"
  1118. Model61.Parent = Model0
  1119. BoolValue62.Name = "on"
  1120. BoolValue62.Parent = Model61
  1121. BoolValue62.Value = true
  1122. Part63.Name = "Yummey"
  1123. Part63.Parent = Model61
  1124. Part63.Material = Enum.Material.SmoothPlastic
  1125. Part63.BrickColor = BrickColor.new("Bright red")
  1126. Part63.FormFactor = Enum.FormFactor.Symmetric
  1127. Part63.Shape = Enum.PartType.Ball
  1128. Part63.Size = Vector3.new(1, 1, 1)
  1129. Part63.CFrame = CFrame.new(-7.89999819, 2.30000019, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1130. Part63.BottomSurface = Enum.SurfaceType.Smooth
  1131. Part63.TopSurface = Enum.SurfaceType.Smooth
  1132. Part63.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1133. Part63.Position = Vector3.new(-7.89999819, 2.30000019, 23.5)
  1134. Part63.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1135. Script64.Name = "clome"
  1136. Script64.Parent = Part63
  1137. table.insert(cors,sandbox(Script64,function()
  1138. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  1139. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  1140. --[[I (kind of) made this script myself, because I copy and pasted
  1141. everything i had in reach.
  1142. i guess this is my first complete script.
  1143. every other script in this model isn't made by me except the expire script.
  1144. I only modified them.
  1145.  
  1146. Modified the VirusScript to prevent the things from eating locked parts.
  1147. ]]--
  1148.  
  1149. local yummeyp = 0
  1150. local brecksaet = 0
  1151.  
  1152. local s = Instance.new("Sound")
  1153. local self = script.Parent
  1154.  
  1155. s.Name = "BGMusic"
  1156. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  1157. s.Volume = 1
  1158. s.Pitch = 1
  1159. s.Looped = false
  1160. s.archivable = false
  1161.  
  1162. s.Parent = script.Parent
  1163. function cloneobjectpls()
  1164. print("clone")
  1165. local a=script.Parent:clone()
  1166. --a.Script:remove()
  1167. a.Position=script.Parent.Position
  1168. a.Parent=script.Parent.Parent
  1169. a.CanCollide=true
  1170. a.Anchored=false
  1171. a.Color = Color3.new (math.random (), math.random (), math.random () )
  1172. a.Reflectance = 0
  1173. yummeyp = 0
  1174. end
  1175.  
  1176. function eat_brecks_pls()
  1177. print("I liek aeting thengs!")
  1178. --yes
  1179. brecksaet = brecksaet + 1
  1180. yummeyp = yummeyp + 1
  1181. if yummeyp == 5 then
  1182. cloneobjectpls()
  1183. end
  1184. print("yummey")
  1185. s:play()
  1186. end
  1187.  
  1188. function onTouched(hit)
  1189.  
  1190. if (hit ~= nil) then
  1191. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  1192. if (hit.locked == true) then
  1193. if eatlocked == 1 then
  1194. hit:remove()
  1195. eat_brecks_pls()
  1196. end
  1197. end
  1198. if (hit.Locked == false) then
  1199. hit:remove()
  1200. eat_brecks_pls()
  1201. end
  1202. end
  1203. end
  1204.  
  1205.  
  1206.  
  1207. connection = script.Parent.Touched:connect(onTouched)
  1208.  
  1209.  
  1210.  
  1211.  
  1212. end))
  1213. Decal65.Parent = Part63
  1214. Decal65.Texture = "http://www.roblox.com/asset/?id=171121051"
  1215. PointLight66.Parent = Part63
  1216. PointLight66.Color = Color3.new(1, 0, 0)
  1217. PointLight66.Brightness = 10
  1218. PointLight66.Color = Color3.new(1, 0, 0)
  1219. Script67.Name = "Face"
  1220. Script67.Parent = Part63
  1221. table.insert(cors,sandbox(Script67,function()
  1222. -- declarations
  1223.  
  1224. local head = script.Parent
  1225. local sound = head:findFirstChild("Victory")
  1226.  
  1227. function onTouched(part)
  1228. local h = part.Parent:findFirstChild("Humanoid")
  1229. if h~=nil then
  1230. sound:play()
  1231. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  1232. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  1233. end
  1234. end
  1235.  
  1236. script.Parent.Touched:connect(onTouched)
  1237. end))
  1238. Sound68.Name = "Victory"
  1239. Sound68.Parent = Part63
  1240. Sound68.SoundId = "rbxasset://sounds/victory.wav"
  1241. Sound68.Volume = 0.20000000298023
  1242. Sound69.Name = "Scream"
  1243. Sound69.Parent = Part63
  1244. Sound69.Pitch = 0.69999998807907
  1245. Sound69.Volume = 1
  1246. BodyForce70.Parent = Part63
  1247. BodyForce70.force = Vector3.new(0, 97.5988159, 0)
  1248. Script71.Parent = Part63
  1249. table.insert(cors,sandbox(Script71,function()
  1250. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  1251. function onTouched(hit)
  1252. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  1253. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  1254. human.Health = 0
  1255. human:breakjoint()
  1256. print("pwned lol")
  1257. end--don't mess with this
  1258. end--don't mess with this
  1259.  
  1260. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  1261. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  1262. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  1263.  
  1264.  
  1265. end))
  1266. BodyGyro72.Parent = Part63
  1267. Script73.Name = "Expire"
  1268. Script73.Parent = Part63
  1269. table.insert(cors,sandbox(Script73,function()
  1270. local s = Instance.new("Sound")
  1271. local self = script.Parent
  1272.  
  1273. s.Name = "BMusic"
  1274. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  1275. s.Volume = 1
  1276. s.Pitch = 1
  1277. s.Looped = false
  1278. s.archivable = false
  1279.  
  1280.  
  1281. print("expire script!!!!! nao u eat brecks.")
  1282. wait(180)
  1283. print("ded")
  1284. s:play()
  1285. self:remove()
  1286. end))
  1287. Script74.Name = "VirusScript"
  1288. Script74.Parent = Part63
  1289. table.insert(cors,sandbox(Script74,function()
  1290. wait(1)
  1291. coroutine.resume(coroutine.create(function()
  1292. wait(1)
  1293. end))
  1294.  
  1295. script.Parent.Touched:connect(function(hit)
  1296. if hit == nil then return end
  1297. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  1298. local s = script.InfectedScript:clone()
  1299. local t = script:clone()
  1300. t.Disabled = true
  1301. t.Parent = s
  1302. s.Disabled = false
  1303. s.Parent = hit
  1304. GetTarget()
  1305. end)
  1306.  
  1307. function attack(what)
  1308. if (what.Locked == true) then return end
  1309. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  1310. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  1311. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  1312. wait(0.1)
  1313. end
  1314. GetTarget()
  1315. end
  1316.  
  1317. function find(w)
  1318. if #w:GetChildren() == 0 then return end
  1319. for _,v in pairs(w:GetChildren()) do
  1320. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  1321. if v.className == "Part" and v.Locked ~= true then
  1322. table.insert(a,v)
  1323. end
  1324. find(v)
  1325. end
  1326. end
  1327. end
  1328.  
  1329. function GetTarget()
  1330. wait(.1)
  1331. a = {}
  1332. find(game.Workspace)
  1333.  
  1334. if #a == 0 then GetTarget()end
  1335.  
  1336. min = 99999
  1337. target = nil
  1338.  
  1339. for _,v in pairs(a) do
  1340. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  1341. min = (script.Parent.Position-v.Position).magnitude
  1342. target = v
  1343. end
  1344. end
  1345.  
  1346. if target == nil or target.Locked == true then GetTarget()end
  1347. --found out the problem
  1348.  
  1349. attack(target)
  1350. end
  1351.  
  1352. GetTarget()
  1353.  
  1354. end))
  1355. Script75.Name = "version"
  1356. Script75.Parent = Model61
  1357. table.insert(cors,sandbox(Script75,function()
  1358. print 'version 0.5'
  1359. --figured out how to keep them from eating locked parts
  1360. end))
  1361. Model76.Name = "Yummey!"
  1362. Model76.Parent = Model0
  1363. BoolValue77.Name = "on"
  1364. BoolValue77.Parent = Model76
  1365. BoolValue77.Value = true
  1366. Part78.Name = "Yummey"
  1367. Part78.Parent = Model76
  1368. Part78.Material = Enum.Material.SmoothPlastic
  1369. Part78.BrickColor = BrickColor.new("Bright red")
  1370. Part78.FormFactor = Enum.FormFactor.Symmetric
  1371. Part78.Shape = Enum.PartType.Ball
  1372. Part78.Size = Vector3.new(1, 1, 1)
  1373. Part78.CFrame = CFrame.new(-9.5, 2.30000019, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1374. Part78.BottomSurface = Enum.SurfaceType.Smooth
  1375. Part78.TopSurface = Enum.SurfaceType.Smooth
  1376. Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1377. Part78.Position = Vector3.new(-9.5, 2.30000019, 23.5)
  1378. Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1379. Script79.Name = "clome"
  1380. Script79.Parent = Part78
  1381. table.insert(cors,sandbox(Script79,function()
  1382. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  1383. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  1384. --[[I (kind of) made this script myself, because I copy and pasted
  1385. everything i had in reach.
  1386. i guess this is my first complete script.
  1387. every other script in this model isn't made by me except the expire script.
  1388. I only modified them.
  1389.  
  1390. Modified the VirusScript to prevent the things from eating locked parts.
  1391. ]]--
  1392.  
  1393. local yummeyp = 0
  1394. local brecksaet = 0
  1395.  
  1396. local s = Instance.new("Sound")
  1397. local self = script.Parent
  1398.  
  1399. s.Name = "BGMusic"
  1400. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  1401. s.Volume = 1
  1402. s.Pitch = 1
  1403. s.Looped = false
  1404. s.archivable = false
  1405.  
  1406. s.Parent = script.Parent
  1407. function cloneobjectpls()
  1408. print("clone")
  1409. local a=script.Parent:clone()
  1410. --a.Script:remove()
  1411. a.Position=script.Parent.Position
  1412. a.Parent=script.Parent.Parent
  1413. a.CanCollide=true
  1414. a.Anchored=false
  1415. a.Color = Color3.new (math.random (), math.random (), math.random () )
  1416. a.Reflectance = 0
  1417. yummeyp = 0
  1418. end
  1419.  
  1420. function eat_brecks_pls()
  1421. print("I liek aeting thengs!")
  1422. --yes
  1423. brecksaet = brecksaet + 1
  1424. yummeyp = yummeyp + 1
  1425. if yummeyp == 5 then
  1426. cloneobjectpls()
  1427. end
  1428. print("yummey")
  1429. s:play()
  1430. end
  1431.  
  1432. function onTouched(hit)
  1433.  
  1434. if (hit ~= nil) then
  1435. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  1436. if (hit.locked == true) then
  1437. if eatlocked == 1 then
  1438. hit:remove()
  1439. eat_brecks_pls()
  1440. end
  1441. end
  1442. if (hit.Locked == false) then
  1443. hit:remove()
  1444. eat_brecks_pls()
  1445. end
  1446. end
  1447. end
  1448.  
  1449.  
  1450.  
  1451. connection = script.Parent.Touched:connect(onTouched)
  1452.  
  1453.  
  1454.  
  1455.  
  1456. end))
  1457. Decal80.Parent = Part78
  1458. Decal80.Texture = "http://www.roblox.com/asset/?id=171121051"
  1459. PointLight81.Parent = Part78
  1460. PointLight81.Color = Color3.new(1, 0, 0)
  1461. PointLight81.Brightness = 10
  1462. PointLight81.Color = Color3.new(1, 0, 0)
  1463. Script82.Name = "Face"
  1464. Script82.Parent = Part78
  1465. table.insert(cors,sandbox(Script82,function()
  1466. -- declarations
  1467.  
  1468. local head = script.Parent
  1469. local sound = head:findFirstChild("Victory")
  1470.  
  1471. function onTouched(part)
  1472. local h = part.Parent:findFirstChild("Humanoid")
  1473. if h~=nil then
  1474. sound:play()
  1475. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  1476. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  1477. end
  1478. end
  1479.  
  1480. script.Parent.Touched:connect(onTouched)
  1481. end))
  1482. Sound83.Name = "Victory"
  1483. Sound83.Parent = Part78
  1484. Sound83.SoundId = "rbxasset://sounds/victory.wav"
  1485. Sound83.Volume = 0.20000000298023
  1486. Sound84.Name = "Scream"
  1487. Sound84.Parent = Part78
  1488. Sound84.Pitch = 0.69999998807907
  1489. Sound84.Volume = 1
  1490. BodyForce85.Parent = Part78
  1491. BodyForce85.force = Vector3.new(0, 97.5988159, 0)
  1492. Script86.Parent = Part78
  1493. table.insert(cors,sandbox(Script86,function()
  1494. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  1495. function onTouched(hit)
  1496. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  1497. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  1498. human.Health = 0
  1499. human:breakjoint()
  1500. print("pwned lol")
  1501. end--don't mess with this
  1502. end--don't mess with this
  1503.  
  1504. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  1505. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  1506. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  1507.  
  1508.  
  1509. end))
  1510. BodyGyro87.Parent = Part78
  1511. Script88.Name = "Expire"
  1512. Script88.Parent = Part78
  1513. table.insert(cors,sandbox(Script88,function()
  1514. local s = Instance.new("Sound")
  1515. local self = script.Parent
  1516.  
  1517. s.Name = "BMusic"
  1518. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  1519. s.Volume = 1
  1520. s.Pitch = 1
  1521. s.Looped = false
  1522. s.archivable = false
  1523.  
  1524.  
  1525. print("expire script!!!!! nao u eat brecks.")
  1526. wait(180)
  1527. print("ded")
  1528. s:play()
  1529. self:remove()
  1530. end))
  1531. Script89.Name = "VirusScript"
  1532. Script89.Parent = Part78
  1533. table.insert(cors,sandbox(Script89,function()
  1534. wait(1)
  1535. coroutine.resume(coroutine.create(function()
  1536. wait(1)
  1537. end))
  1538.  
  1539. script.Parent.Touched:connect(function(hit)
  1540. if hit == nil then return end
  1541. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  1542. local s = script.InfectedScript:clone()
  1543. local t = script:clone()
  1544. t.Disabled = true
  1545. t.Parent = s
  1546. s.Disabled = false
  1547. s.Parent = hit
  1548. GetTarget()
  1549. end)
  1550.  
  1551. function attack(what)
  1552. if (what.Locked == true) then return end
  1553. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  1554. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  1555. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  1556. wait(0.1)
  1557. end
  1558. GetTarget()
  1559. end
  1560.  
  1561. function find(w)
  1562. if #w:GetChildren() == 0 then return end
  1563. for _,v in pairs(w:GetChildren()) do
  1564. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  1565. if v.className == "Part" and v.Locked ~= true then
  1566. table.insert(a,v)
  1567. end
  1568. find(v)
  1569. end
  1570. end
  1571. end
  1572.  
  1573. function GetTarget()
  1574. wait(.1)
  1575. a = {}
  1576. find(game.Workspace)
  1577.  
  1578. if #a == 0 then GetTarget()end
  1579.  
  1580. min = 99999
  1581. target = nil
  1582.  
  1583. for _,v in pairs(a) do
  1584. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  1585. min = (script.Parent.Position-v.Position).magnitude
  1586. target = v
  1587. end
  1588. end
  1589.  
  1590. if target == nil or target.Locked == true then GetTarget()end
  1591. --found out the problem
  1592.  
  1593. attack(target)
  1594. end
  1595.  
  1596. GetTarget()
  1597.  
  1598. end))
  1599. Script90.Name = "version"
  1600. Script90.Parent = Model76
  1601. table.insert(cors,sandbox(Script90,function()
  1602. print 'version 0.5'
  1603. --figured out how to keep them from eating locked parts
  1604. end))
  1605. Model91.Name = "Yummey!"
  1606. Model91.Parent = Model0
  1607. BoolValue92.Name = "on"
  1608. BoolValue92.Parent = Model91
  1609. BoolValue92.Value = true
  1610. Part93.Name = "Yummey"
  1611. Part93.Parent = Model91
  1612. Part93.Material = Enum.Material.SmoothPlastic
  1613. Part93.BrickColor = BrickColor.new("Bright red")
  1614. Part93.FormFactor = Enum.FormFactor.Symmetric
  1615. Part93.Shape = Enum.PartType.Ball
  1616. Part93.Size = Vector3.new(1, 1, 1)
  1617. Part93.CFrame = CFrame.new(-7.89999819, 0.5, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1618. Part93.BottomSurface = Enum.SurfaceType.Smooth
  1619. Part93.TopSurface = Enum.SurfaceType.Smooth
  1620. Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1621. Part93.Position = Vector3.new(-7.89999819, 0.5, 23.5)
  1622. Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1623. Script94.Name = "clome"
  1624. Script94.Parent = Part93
  1625. table.insert(cors,sandbox(Script94,function()
  1626. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  1627. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  1628. --[[I (kind of) made this script myself, because I copy and pasted
  1629. everything i had in reach.
  1630. i guess this is my first complete script.
  1631. every other script in this model isn't made by me except the expire script.
  1632. I only modified them.
  1633.  
  1634. Modified the VirusScript to prevent the things from eating locked parts.
  1635. ]]--
  1636.  
  1637. local yummeyp = 0
  1638. local brecksaet = 0
  1639.  
  1640. local s = Instance.new("Sound")
  1641. local self = script.Parent
  1642.  
  1643. s.Name = "BGMusic"
  1644. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  1645. s.Volume = 1
  1646. s.Pitch = 1
  1647. s.Looped = false
  1648. s.archivable = false
  1649.  
  1650. s.Parent = script.Parent
  1651. function cloneobjectpls()
  1652. print("clone")
  1653. local a=script.Parent:clone()
  1654. --a.Script:remove()
  1655. a.Position=script.Parent.Position
  1656. a.Parent=script.Parent.Parent
  1657. a.CanCollide=true
  1658. a.Anchored=false
  1659. a.Color = Color3.new (math.random (), math.random (), math.random () )
  1660. a.Reflectance = 0
  1661. yummeyp = 0
  1662. end
  1663.  
  1664. function eat_brecks_pls()
  1665. print("I liek aeting thengs!")
  1666. --yes
  1667. brecksaet = brecksaet + 1
  1668. yummeyp = yummeyp + 1
  1669. if yummeyp == 5 then
  1670. cloneobjectpls()
  1671. end
  1672. print("yummey")
  1673. s:play()
  1674. end
  1675.  
  1676. function onTouched(hit)
  1677.  
  1678. if (hit ~= nil) then
  1679. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  1680. if (hit.locked == true) then
  1681. if eatlocked == 1 then
  1682. hit:remove()
  1683. eat_brecks_pls()
  1684. end
  1685. end
  1686. if (hit.Locked == false) then
  1687. hit:remove()
  1688. eat_brecks_pls()
  1689. end
  1690. end
  1691. end
  1692.  
  1693.  
  1694.  
  1695. connection = script.Parent.Touched:connect(onTouched)
  1696.  
  1697.  
  1698.  
  1699.  
  1700. end))
  1701. Decal95.Parent = Part93
  1702. Decal95.Texture = "http://www.roblox.com/asset/?id=171121051"
  1703. PointLight96.Parent = Part93
  1704. PointLight96.Color = Color3.new(1, 0, 0)
  1705. PointLight96.Brightness = 10
  1706. PointLight96.Color = Color3.new(1, 0, 0)
  1707. Script97.Name = "Face"
  1708. Script97.Parent = Part93
  1709. table.insert(cors,sandbox(Script97,function()
  1710. -- declarations
  1711.  
  1712. local head = script.Parent
  1713. local sound = head:findFirstChild("Victory")
  1714.  
  1715. function onTouched(part)
  1716. local h = part.Parent:findFirstChild("Humanoid")
  1717. if h~=nil then
  1718. sound:play()
  1719. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  1720. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  1721. end
  1722. end
  1723.  
  1724. script.Parent.Touched:connect(onTouched)
  1725. end))
  1726. Sound98.Name = "Victory"
  1727. Sound98.Parent = Part93
  1728. Sound98.SoundId = "rbxasset://sounds/victory.wav"
  1729. Sound98.Volume = 0.20000000298023
  1730. Sound99.Name = "Scream"
  1731. Sound99.Parent = Part93
  1732. Sound99.Pitch = 0.69999998807907
  1733. Sound99.Volume = 1
  1734. BodyForce100.Parent = Part93
  1735. BodyForce100.force = Vector3.new(0, 97.5988159, 0)
  1736. Script101.Parent = Part93
  1737. table.insert(cors,sandbox(Script101,function()
  1738. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  1739. function onTouched(hit)
  1740. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  1741. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  1742. human.Health = 0
  1743. human:breakjoint()
  1744. print("pwned lol")
  1745. end--don't mess with this
  1746. end--don't mess with this
  1747.  
  1748. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  1749. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  1750. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  1751.  
  1752.  
  1753. end))
  1754. BodyGyro102.Parent = Part93
  1755. Script103.Name = "Expire"
  1756. Script103.Parent = Part93
  1757. table.insert(cors,sandbox(Script103,function()
  1758. local s = Instance.new("Sound")
  1759. local self = script.Parent
  1760.  
  1761. s.Name = "BMusic"
  1762. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  1763. s.Volume = 1
  1764. s.Pitch = 1
  1765. s.Looped = false
  1766. s.archivable = false
  1767.  
  1768.  
  1769. print("expire script!!!!! nao u eat brecks.")
  1770. wait(180)
  1771. print("ded")
  1772. s:play()
  1773. self:remove()
  1774. end))
  1775. Script104.Name = "VirusScript"
  1776. Script104.Parent = Part93
  1777. table.insert(cors,sandbox(Script104,function()
  1778. wait(1)
  1779. coroutine.resume(coroutine.create(function()
  1780. wait(1)
  1781. end))
  1782.  
  1783. script.Parent.Touched:connect(function(hit)
  1784. if hit == nil then return end
  1785. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  1786. local s = script.InfectedScript:clone()
  1787. local t = script:clone()
  1788. t.Disabled = true
  1789. t.Parent = s
  1790. s.Disabled = false
  1791. s.Parent = hit
  1792. GetTarget()
  1793. end)
  1794.  
  1795. function attack(what)
  1796. if (what.Locked == true) then return end
  1797. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  1798. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  1799. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  1800. wait(0.1)
  1801. end
  1802. GetTarget()
  1803. end
  1804.  
  1805. function find(w)
  1806. if #w:GetChildren() == 0 then return end
  1807. for _,v in pairs(w:GetChildren()) do
  1808. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  1809. if v.className == "Part" and v.Locked ~= true then
  1810. table.insert(a,v)
  1811. end
  1812. find(v)
  1813. end
  1814. end
  1815. end
  1816.  
  1817. function GetTarget()
  1818. wait(.1)
  1819. a = {}
  1820. find(game.Workspace)
  1821.  
  1822. if #a == 0 then GetTarget()end
  1823.  
  1824. min = 99999
  1825. target = nil
  1826.  
  1827. for _,v in pairs(a) do
  1828. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  1829. min = (script.Parent.Position-v.Position).magnitude
  1830. target = v
  1831. end
  1832. end
  1833.  
  1834. if target == nil or target.Locked == true then GetTarget()end
  1835. --found out the problem
  1836.  
  1837. attack(target)
  1838. end
  1839.  
  1840. GetTarget()
  1841.  
  1842. end))
  1843. Script105.Name = "version"
  1844. Script105.Parent = Model91
  1845. table.insert(cors,sandbox(Script105,function()
  1846. print 'version 0.5'
  1847. --figured out how to keep them from eating locked parts
  1848. end))
  1849. Model106.Name = "Yummey!"
  1850. Model106.Parent = Model0
  1851. BoolValue107.Name = "on"
  1852. BoolValue107.Parent = Model106
  1853. BoolValue107.Value = true
  1854. Part108.Name = "Yummey"
  1855. Part108.Parent = Model106
  1856. Part108.Material = Enum.Material.SmoothPlastic
  1857. Part108.BrickColor = BrickColor.new("Bright red")
  1858. Part108.FormFactor = Enum.FormFactor.Symmetric
  1859. Part108.Shape = Enum.PartType.Ball
  1860. Part108.Size = Vector3.new(1, 1, 1)
  1861. Part108.CFrame = CFrame.new(-9.5, 0.5, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1862. Part108.BottomSurface = Enum.SurfaceType.Smooth
  1863. Part108.TopSurface = Enum.SurfaceType.Smooth
  1864. Part108.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1865. Part108.Position = Vector3.new(-9.5, 0.5, 23.5)
  1866. Part108.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1867. Script109.Name = "clome"
  1868. Script109.Parent = Part108
  1869. table.insert(cors,sandbox(Script109,function()
  1870. eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
  1871. duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
  1872. --[[I (kind of) made this script myself, because I copy and pasted
  1873. everything i had in reach.
  1874. i guess this is my first complete script.
  1875. every other script in this model isn't made by me except the expire script.
  1876. I only modified them.
  1877.  
  1878. Modified the VirusScript to prevent the things from eating locked parts.
  1879. ]]--
  1880.  
  1881. local yummeyp = 0
  1882. local brecksaet = 0
  1883.  
  1884. local s = Instance.new("Sound")
  1885. local self = script.Parent
  1886.  
  1887. s.Name = "BGMusic"
  1888. s.SoundId = "http://www.roblox.com/asset/?id=16213987"
  1889. s.Volume = 1
  1890. s.Pitch = 1
  1891. s.Looped = false
  1892. s.archivable = false
  1893.  
  1894. s.Parent = script.Parent
  1895. function cloneobjectpls()
  1896. print("clone")
  1897. local a=script.Parent:clone()
  1898. --a.Script:remove()
  1899. a.Position=script.Parent.Position
  1900. a.Parent=script.Parent.Parent
  1901. a.CanCollide=true
  1902. a.Anchored=false
  1903. a.Color = Color3.new (math.random (), math.random (), math.random () )
  1904. a.Reflectance = 0
  1905. yummeyp = 0
  1906. end
  1907.  
  1908. function eat_brecks_pls()
  1909. print("I liek aeting thengs!")
  1910. --yes
  1911. brecksaet = brecksaet + 1
  1912. yummeyp = yummeyp + 1
  1913. if yummeyp == 5 then
  1914. cloneobjectpls()
  1915. end
  1916. print("yummey")
  1917. s:play()
  1918. end
  1919.  
  1920. function onTouched(hit)
  1921.  
  1922. if (hit ~= nil) then
  1923. if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
  1924. if (hit.locked == true) then
  1925. if eatlocked == 1 then
  1926. hit:remove()
  1927. eat_brecks_pls()
  1928. end
  1929. end
  1930. if (hit.Locked == false) then
  1931. hit:remove()
  1932. eat_brecks_pls()
  1933. end
  1934. end
  1935. end
  1936.  
  1937.  
  1938.  
  1939. connection = script.Parent.Touched:connect(onTouched)
  1940.  
  1941.  
  1942.  
  1943.  
  1944. end))
  1945. Decal110.Parent = Part108
  1946. Decal110.Texture = "http://www.roblox.com/asset/?id=171121051"
  1947. PointLight111.Parent = Part108
  1948. PointLight111.Color = Color3.new(1, 0, 0)
  1949. PointLight111.Brightness = 10
  1950. PointLight111.Color = Color3.new(1, 0, 0)
  1951. Script112.Name = "Face"
  1952. Script112.Parent = Part108
  1953. table.insert(cors,sandbox(Script112,function()
  1954. -- declarations
  1955.  
  1956. local head = script.Parent
  1957. local sound = head:findFirstChild("Victory")
  1958.  
  1959. function onTouched(part)
  1960. local h = part.Parent:findFirstChild("Humanoid")
  1961. if h~=nil then
  1962. sound:play()
  1963. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  1964. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
  1965. end
  1966. end
  1967.  
  1968. script.Parent.Touched:connect(onTouched)
  1969. end))
  1970. Sound113.Name = "Victory"
  1971. Sound113.Parent = Part108
  1972. Sound113.SoundId = "rbxasset://sounds/victory.wav"
  1973. Sound113.Volume = 0.20000000298023
  1974. Sound114.Name = "Scream"
  1975. Sound114.Parent = Part108
  1976. Sound114.Pitch = 0.69999998807907
  1977. Sound114.Volume = 1
  1978. BodyForce115.Parent = Part108
  1979. BodyForce115.force = Vector3.new(0, 97.5988159, 0)
  1980. Script116.Parent = Part108
  1981. table.insert(cors,sandbox(Script116,function()
  1982. --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
  1983. function onTouched(hit)
  1984. local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
  1985. if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
  1986. human.Health = 0
  1987. human:breakjoint()
  1988. print("pwned lol")
  1989. end--don't mess with this
  1990. end--don't mess with this
  1991.  
  1992. if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
  1993. connection = script.Parent.Touched:connect(onTouched)--don't mess with this
  1994. end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
  1995.  
  1996.  
  1997. end))
  1998. BodyGyro117.Parent = Part108
  1999. Script118.Name = "Expire"
  2000. Script118.Parent = Part108
  2001. table.insert(cors,sandbox(Script118,function()
  2002. local s = Instance.new("Sound")
  2003. local self = script.Parent
  2004.  
  2005. s.Name = "BMusic"
  2006. s.SoundId = "rbxasset://sounds/uuhhh.wav"
  2007. s.Volume = 1
  2008. s.Pitch = 1
  2009. s.Looped = false
  2010. s.archivable = false
  2011.  
  2012.  
  2013. print("expire script!!!!! nao u eat brecks.")
  2014. wait(180)
  2015. print("ded")
  2016. s:play()
  2017. self:remove()
  2018. end))
  2019. Script119.Name = "VirusScript"
  2020. Script119.Parent = Part108
  2021. table.insert(cors,sandbox(Script119,function()
  2022. wait(1)
  2023. coroutine.resume(coroutine.create(function()
  2024. wait(1)
  2025. end))
  2026.  
  2027. script.Parent.Touched:connect(function(hit)
  2028. if hit == nil then return end
  2029. if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
  2030. local s = script.InfectedScript:clone()
  2031. local t = script:clone()
  2032. t.Disabled = true
  2033. t.Parent = s
  2034. s.Disabled = false
  2035. s.Parent = hit
  2036. GetTarget()
  2037. end)
  2038.  
  2039. function attack(what)
  2040. if (what.Locked == true) then return end
  2041. while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
  2042. script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
  2043. script.Parent.Velocity = script.Parent.CFrame.lookVector*100
  2044. wait(0.1)
  2045. end
  2046. GetTarget()
  2047. end
  2048.  
  2049. function find(w)
  2050. if #w:GetChildren() == 0 then return end
  2051. for _,v in pairs(w:GetChildren()) do
  2052. if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
  2053. if v.className == "Part" and v.Locked ~= true then
  2054. table.insert(a,v)
  2055. end
  2056. find(v)
  2057. end
  2058. end
  2059. end
  2060.  
  2061. function GetTarget()
  2062. wait(.1)
  2063. a = {}
  2064. find(game.Workspace)
  2065.  
  2066. if #a == 0 then GetTarget()end
  2067.  
  2068. min = 99999
  2069. target = nil
  2070.  
  2071. for _,v in pairs(a) do
  2072. if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
  2073. min = (script.Parent.Position-v.Position).magnitude
  2074. target = v
  2075. end
  2076. end
  2077.  
  2078. if target == nil or target.Locked == true then GetTarget()end
  2079. --found out the problem
  2080.  
  2081. attack(target)
  2082. end
  2083.  
  2084. GetTarget()
  2085.  
  2086. end))
  2087. Script120.Name = "version"
  2088. Script120.Parent = Model106
  2089. table.insert(cors,sandbox(Script120,function()
  2090. print 'version 0.5'
  2091. --figured out how to keep them from eating locked parts
  2092. end))
  2093. for i,v in pairs(mas:GetChildren()) do
  2094. v.Parent = workspace
  2095. pcall(function() v:MakeJoints() end)
  2096. end
  2097. mas:Destroy()
  2098. for i,v in pairs(cors) do
  2099. spawn(function()
  2100. pcall(v)
  2101. end)
  2102. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement