Advertisement
anphu04

Magical Fireball v4 [FINAL 2.0]

Jul 7th, 2017
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.28 KB | None | 0 0
  1. local killscriptid = 901587148
  2.  
  3.  
  4. function onTouched(p)
  5. local hum = p.Parent:FindFirstChild("Humanoid")
  6. if hum ~= nil then
  7. hum:TakeDamage(100)
  8. end
  9. end
  10.  
  11. local part = Instance.new("Part", game.Workspace)
  12. part.Name = "FloatingFireball1"
  13. part.Size = Vector3.new(10,10,10)
  14. part.Transparency = 1
  15. part.CanCollide = false
  16. part.Anchored = true
  17. part.TopSurface = "Smooth"
  18. part.BottomSurface = "Smooth"
  19. part.Position = Vector3.new(0,10,0)
  20. local fire = Instance.new("Fire", part)
  21. fire.Size = 30
  22. fire.Heat = 25
  23. local bp = Instance.new("BodyPosition", part)
  24. bp.MaxForce = Vector3.new(400000,400000,400000)
  25. local sound = Instance.new("Sound", part)
  26. sound.SoundId = "http://www.roblox.com/asset/?id=31760113"
  27. sound.EmitterSize = 25
  28. sound.Looped = true
  29. sound.Volume = 1
  30. sound:Play()
  31. --[[local root = game:GetService("InsertService"):LoadAsset(killscriptid)
  32. root.Parent = game.Workspace
  33. local killscript = root:FindFirstChild("KillScript"):Clone()
  34. killscript.Parent = part
  35. root:Destroy()]]--
  36.  
  37.  
  38. local part2 = Instance.new("Part", game.Workspace)
  39. part2.Name = "FloatingFireball2"
  40. part2.Size = Vector3.new(10,10,10)
  41. part2.Transparency = 1
  42. part2.CanCollide = false
  43. part2.Anchored = true
  44. part2.TopSurface = "Smooth"
  45. part2.BottomSurface = "Smooth"
  46. part2.Position = Vector3.new(0,10,0)
  47. local fire2 = Instance.new("Fire", part2)
  48. fire2.Size = 30
  49. fire2.Heat = 25
  50. local bp2 = Instance.new("BodyPosition", part2)
  51. bp2.MaxForce = Vector3.new(400000,400000,400000)
  52. local sound2 = Instance.new("Sound", part2)
  53. sound2.SoundId = "http://www.roblox.com/asset/?id=31760113"
  54. sound2.EmitterSize = 25
  55. sound2.Looped = true
  56. sound2.Volume = 1
  57. sound2:Play()
  58. --[[local root2 = game:GetService("InsertService"):LoadAsset(killscriptid)
  59. root2.Parent = game.Workspace
  60. local killscript2 = root2:FindFirstChild("KillScript"):Clone()
  61. killscript2.Parent = part2
  62. root2:Destroy()]]--
  63.  
  64. local part3 = Instance.new("Part", game.Workspace)
  65. part3.Name = "FloatingFireball3"
  66. part3.Size = Vector3.new(10,10,10)
  67. part3.Transparency = 1
  68. part3.CanCollide = false
  69. part3.Anchored = true
  70. part3.TopSurface = "Smooth"
  71. part3.BottomSurface = "Smooth"
  72. part3.Position = Vector3.new(0,10,0)
  73. local fire3 = Instance.new("Fire", part3)
  74. fire3.Size = 30
  75. fire3.Heat = 25
  76. local bp3 = Instance.new("BodyPosition", part3)
  77. bp3.MaxForce = Vector3.new(400000,400000,400000)
  78. local sound3 = Instance.new("Sound", part3)
  79. sound3.SoundId = "http://www.roblox.com/asset/?id=31760113"
  80. sound3.EmitterSize = 25
  81. sound3.Looped = true
  82. sound3.Volume = 1
  83. sound3:Play()
  84. --[[local root3 = game:GetService("InsertService"):LoadAsset(killscriptid)
  85. root3.Parent = game.Workspace
  86. local killscript3 = root3:FindFirstChild("KillScript"):Clone()
  87. killscript3.Parent = part3
  88. root3:Destroy()]]--
  89.  
  90. local part4 = Instance.new("Part", game.Workspace)
  91. part4.Name = "FloatingFireball4"
  92. part4.Size = Vector3.new(10,10,10)
  93. part4.Transparency = 1
  94. part4.CanCollide = false
  95. part4.Anchored = true
  96. part4.TopSurface = "Smooth"
  97. part4.BottomSurface = "Smooth"
  98. part4.Position = Vector3.new(0,10,0)
  99. local fire4 = Instance.new("Fire", part4)
  100. fire4.Size = 30
  101. fire4.Heat = 25
  102. local bp4 = Instance.new("BodyPosition", part4)
  103. bp4.MaxForce = Vector3.new(400000,400000,400000)
  104. local sound4 = Instance.new("Sound", part4)
  105. sound4.SoundId = "http://www.roblox.com/asset/?id=31760113"
  106. sound4.EmitterSize = 25
  107. sound4.Looped = true
  108. sound4.Volume = 1
  109. sound4:Play()
  110. --[[local root4 = game:GetService("InsertService"):LoadAsset(killscriptid)
  111. root4.Parent = game.Workspace
  112. local killscript4 = root4:FindFirstChild("KillScript"):Clone()
  113. killscript4.Parent = part4
  114. root4:Destroy()]]--
  115.  
  116. local part5 = Instance.new("Part", game.Workspace)
  117. part5.Name = "FloatingFireball5"
  118. part5.Size = Vector3.new(10,10,10)
  119. part5.Transparency = 1
  120. part5.CanCollide = false
  121. part5.Anchored = true
  122. part5.TopSurface = "Smooth"
  123. part5.BottomSurface = "Smooth"
  124. part5.Position = Vector3.new(0,10,0)
  125. local fire5 = Instance.new("Fire", part5)
  126. fire5.Size = 30
  127. fire5.Heat = 25
  128. local bp5 = Instance.new("BodyPosition", part5)
  129. bp5.MaxForce = Vector3.new(400000,400000,400000)
  130. local sound5 = Instance.new("Sound", part5)
  131. sound5.SoundId = "http://www.roblox.com/asset/?id=31760113"
  132. sound5.EmitterSize = 25
  133. sound5.Looped = true
  134. sound5.Volume = 1
  135. sound5:Play()
  136. --[[local root5 = game:GetService("InsertService"):LoadAsset(killscriptid)
  137. root5.Parent = game.Workspace
  138. local killscript5 = root5:FindFirstChild("KillScript"):Clone()
  139. killscript5.Parent = part5
  140. root5:Destroy()]]--
  141.  
  142. local part6 = Instance.new("Part", game.Workspace)
  143. part6.Name = "FloatingFireball6"
  144. part6.Size = Vector3.new(10,10,10)
  145. part6.Transparency = 1
  146. part6.CanCollide = false
  147. part6.Anchored = true
  148. part6.TopSurface = "Smooth"
  149. part6.BottomSurface = "Smooth"
  150. part6.Position = Vector3.new(0,10,0)
  151. local fire6 = Instance.new("Fire", part6)
  152. fire6.Size = 30
  153. fire6.Heat = 25
  154. local bp6 = Instance.new("BodyPosition", part6)
  155. bp6.MaxForce = Vector3.new(400000,400000,400000)
  156. local sound6 = Instance.new("Sound", part6)
  157. sound6.SoundId = "http://www.roblox.com/asset/?id=31760113"
  158. sound6.EmitterSize = 25
  159. sound6.Looped = true
  160. sound6.Volume = 1
  161. sound6:Play()
  162. --[[local root = game:GetService("InsertService"):LoadAsset(killscriptid)
  163. root.Parent = game.Workspace
  164. local killscript = root:FindFirstChild("KillScript"):Clone()
  165. killscript.Parent = part
  166. root:Destroy()]]--
  167.  
  168.  
  169. local part7 = Instance.new("Part", game.Workspace)
  170. part7.Name = "FloatingFireball7"
  171. part7.Size = Vector3.new(10,10,10)
  172. part7.Transparency = 1
  173. part7.CanCollide = false
  174. part7.Anchored = true
  175. part7.TopSurface = "Smooth"
  176. part7.BottomSurface = "Smooth"
  177. part7.Position = Vector3.new(0,10,0)
  178. local fire7 = Instance.new("Fire", part7)
  179. fire7.Size = 30
  180. fire7.Heat = 25
  181. local bp7 = Instance.new("BodyPosition", part7)
  182. bp7.MaxForce = Vector3.new(400000,400000,400000)
  183. local sound7 = Instance.new("Sound", part7)
  184. sound7.SoundId = "http://www.roblox.com/asset/?id=31760113"
  185. sound7.EmitterSize = 25
  186. sound7.Looped = true
  187. sound7.Volume = 1
  188. sound7:Play()
  189. --[[local root2 = game:GetService("InsertService"):LoadAsset(killscriptid)
  190. root2.Parent = game.Workspace
  191. local killscript2 = root2:FindFirstChild("KillScript"):Clone()
  192. killscript2.Parent = part2
  193. root2:Destroy()]]--
  194.  
  195. local part8 = Instance.new("Part", game.Workspace)
  196. part8.Name = "FloatingFireball8"
  197. part8.Size = Vector3.new(10,10,10)
  198. part8.Transparency = 1
  199. part8.CanCollide = false
  200. part8.Anchored = true
  201. part8.TopSurface = "Smooth"
  202. part8.BottomSurface = "Smooth"
  203. part8.Position = Vector3.new(0,10,0)
  204. local fire8 = Instance.new("Fire", part8)
  205. fire8.Size = 30
  206. fire8.Heat = 25
  207. local bp8 = Instance.new("BodyPosition", part8)
  208. bp8.MaxForce = Vector3.new(400000,400000,400000)
  209. local sound8 = Instance.new("Sound", part8)
  210. sound8.SoundId = "http://www.roblox.com/asset/?id=31760113"
  211. sound8.EmitterSize = 25
  212. sound8.Looped = true
  213. sound8.Volume = 1
  214. sound8:Play()
  215. --[[local root3 = game:GetService("InsertService"):LoadAsset(killscriptid)
  216. root3.Parent = game.Workspace
  217. local killscript3 = root3:FindFirstChild("KillScript"):Clone()
  218. killscript3.Parent = part3
  219. root3:Destroy()]]--
  220.  
  221. local part9 = Instance.new("Part", game.Workspace)
  222. part9.Name = "FloatingFireball9"
  223. part9.Size = Vector3.new(10,10,10)
  224. part9.Transparency = 1
  225. part9.CanCollide = false
  226. part9.Anchored = true
  227. part9.TopSurface = "Smooth"
  228. part9.BottomSurface = "Smooth"
  229. part9.Position = Vector3.new(0,10,0)
  230. local fire9 = Instance.new("Fire", part9)
  231. fire9.Size = 30
  232. fire9.Heat = 25
  233. local bp9 = Instance.new("BodyPosition", part9)
  234. bp9.MaxForce = Vector3.new(400000,400000,400000)
  235. local sound9 = Instance.new("Sound", part9)
  236. sound9.SoundId = "http://www.roblox.com/asset/?id=31760113"
  237. sound9.EmitterSize = 25
  238. sound9.Looped = true
  239. sound9.Volume = 1
  240. sound9:Play()
  241. --[[local root4 = game:GetService("InsertService"):LoadAsset(killscriptid)
  242. root4.Parent = game.Workspace
  243. local killscript4 = root4:FindFirstChild("KillScript"):Clone()
  244. killscript4.Parent = part4
  245. root4:Destroy()]]--
  246.  
  247. local part10 = Instance.new("Part", game.Workspace)
  248. part10.Name = "FloatingFireball10"
  249. part10.Size = Vector3.new(10,10,10)
  250. part10.Transparency = 1
  251. part10.CanCollide = false
  252. part10.Anchored = true
  253. part10.TopSurface = "Smooth"
  254. part10.BottomSurface = "Smooth"
  255. part10.Position = Vector3.new(0,10,0)
  256. local fire10 = Instance.new("Fire", part10)
  257. fire10.Size = 30
  258. fire10.Heat = 25
  259. local bp10 = Instance.new("BodyPosition", part10)
  260. bp10.MaxForce = Vector3.new(400000,400000,400000)
  261. local sound10 = Instance.new("Sound", part10)
  262. sound10.SoundId = "http://www.roblox.com/asset/?id=31760113"
  263. sound10EmitterSize = 25
  264. sound10.Looped = true
  265. sound10.Volume = 1
  266. sound10:Play()
  267. --[[local root5 = game:GetService("InsertService"):LoadAsset(killscriptid)
  268. root5.Parent = game.Workspace
  269. local killscript5 = root5:FindFirstChild("KillScript"):Clone()
  270. killscript5.Parent = part5
  271. root5:Destroy()]]--
  272.  
  273. wait(1)
  274. part.Anchored = false
  275. part2.Anchored = false
  276. part3.Anchored = false
  277. part4.Anchored = false
  278. part5.Anchored = false
  279. part6.Anchored = false
  280. part7.Anchored = false
  281. part8.Anchored = false
  282. part9.Anchored = false
  283. part10.Anchored = false
  284.  
  285.  
  286. part.Touched:connect(onTouched)
  287. part2.Touched:connect(onTouched)
  288. part3.Touched:connect(onTouched)
  289. part4.Touched:connect(onTouched)
  290. part5.Touched:connect(onTouched)
  291. part6.Touched:connect(onTouched)
  292. part7.Touched:connect(onTouched)
  293. part8.Touched:connect(onTouched)
  294. part9.Touched:connect(onTouched)
  295. part10.Touched:connect(onTouched)
  296.  
  297.  
  298. while true do
  299. bp.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  300. bp2.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  301. bp3.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  302. bp4.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  303. bp5.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  304. bp6.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  305. bp7.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  306. bp8.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  307. bp9.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  308. bp10.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  309. wait(math.random(1,2))
  310. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement