Advertisement
anphu04

Magical Fireball v3 [FINAL]

Jul 6th, 2017
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.46 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 root = game:GetService("InsertService"):LoadAsset(killscriptid)
  26. root.Parent = game.Workspace
  27. local killscript = root:FindFirstChild("KillScript"):Clone()
  28. killscript.Parent = part
  29. root:Destroy()]]--
  30.  
  31.  
  32. local part2 = Instance.new("Part", game.Workspace)
  33. part2.Name = "FloatingFireball2"
  34. part2.Size = Vector3.new(10,10,10)
  35. part2.Transparency = 1
  36. part2.CanCollide = false
  37. part2.Anchored = true
  38. part2.TopSurface = "Smooth"
  39. part2.BottomSurface = "Smooth"
  40. part2.Position = Vector3.new(0,10,0)
  41. local fire2 = Instance.new("Fire", part2)
  42. fire2.Size = 30
  43. fire2.Heat = 25
  44. local bp2 = Instance.new("BodyPosition", part2)
  45. bp2.MaxForce = Vector3.new(400000,400000,400000)
  46. --[[local root2 = game:GetService("InsertService"):LoadAsset(killscriptid)
  47. root2.Parent = game.Workspace
  48. local killscript2 = root2:FindFirstChild("KillScript"):Clone()
  49. killscript2.Parent = part2
  50. root2:Destroy()]]--
  51.  
  52. local part3 = Instance.new("Part", game.Workspace)
  53. part3.Name = "FloatingFireball3"
  54. part3.Size = Vector3.new(10,10,10)
  55. part3.Transparency = 1
  56. part3.CanCollide = false
  57. part3.Anchored = true
  58. part3.TopSurface = "Smooth"
  59. part3.BottomSurface = "Smooth"
  60. part3.Position = Vector3.new(0,10,0)
  61. local fire3 = Instance.new("Fire", part3)
  62. fire3.Size = 30
  63. fire3.Heat = 25
  64. local bp3 = Instance.new("BodyPosition", part3)
  65. bp3.MaxForce = Vector3.new(400000,400000,400000)
  66. --[[local root3 = game:GetService("InsertService"):LoadAsset(killscriptid)
  67. root3.Parent = game.Workspace
  68. local killscript3 = root3:FindFirstChild("KillScript"):Clone()
  69. killscript3.Parent = part3
  70. root3:Destroy()]]--
  71.  
  72. local part4 = Instance.new("Part", game.Workspace)
  73. part4.Name = "FloatingFireball4"
  74. part4.Size = Vector3.new(10,10,10)
  75. part4.Transparency = 1
  76. part4.CanCollide = false
  77. part4.Anchored = true
  78. part4.TopSurface = "Smooth"
  79. part4.BottomSurface = "Smooth"
  80. part4.Position = Vector3.new(0,10,0)
  81. local fire4 = Instance.new("Fire", part4)
  82. fire4.Size = 30
  83. fire4.Heat = 25
  84. local bp4 = Instance.new("BodyPosition", part4)
  85. bp4.MaxForce = Vector3.new(400000,400000,400000)
  86. --[[local root4 = game:GetService("InsertService"):LoadAsset(killscriptid)
  87. root4.Parent = game.Workspace
  88. local killscript4 = root4:FindFirstChild("KillScript"):Clone()
  89. killscript4.Parent = part4
  90. root4:Destroy()]]--
  91.  
  92. local part5 = Instance.new("Part", game.Workspace)
  93. part5.Name = "FloatingFireball5"
  94. part5.Size = Vector3.new(10,10,10)
  95. part5.Transparency = 1
  96. part5.CanCollide = false
  97. part5.Anchored = true
  98. part5.TopSurface = "Smooth"
  99. part5.BottomSurface = "Smooth"
  100. part5.Position = Vector3.new(0,10,0)
  101. local fire5 = Instance.new("Fire", part5)
  102. fire5.Size = 30
  103. fire5.Heat = 25
  104. local bp5 = Instance.new("BodyPosition", part5)
  105. bp5.MaxForce = Vector3.new(400000,400000,400000)
  106. --[[local root5 = game:GetService("InsertService"):LoadAsset(killscriptid)
  107. root5.Parent = game.Workspace
  108. local killscript5 = root5:FindFirstChild("KillScript"):Clone()
  109. killscript5.Parent = part5
  110. root5:Destroy()]]--
  111.  
  112. local part6 = Instance.new("Part", game.Workspace)
  113. part6.Name = "FloatingFireball6"
  114. part6.Size = Vector3.new(10,10,10)
  115. part6.Transparency = 1
  116. part6.CanCollide = false
  117. part6.Anchored = true
  118. part6.TopSurface = "Smooth"
  119. part6.BottomSurface = "Smooth"
  120. part6.Position = Vector3.new(0,10,0)
  121. local fire6 = Instance.new("Fire", part6)
  122. fire6.Size = 30
  123. fire6.Heat = 25
  124. local bp6 = Instance.new("BodyPosition", part6)
  125. bp6.MaxForce = Vector3.new(400000,400000,400000)
  126. --[[local root = game:GetService("InsertService"):LoadAsset(killscriptid)
  127. root.Parent = game.Workspace
  128. local killscript = root:FindFirstChild("KillScript"):Clone()
  129. killscript.Parent = part
  130. root:Destroy()]]--
  131.  
  132.  
  133. local part7 = Instance.new("Part", game.Workspace)
  134. part7.Name = "FloatingFireball7"
  135. part7.Size = Vector3.new(10,10,10)
  136. part7.Transparency = 1
  137. part7.CanCollide = false
  138. part7.Anchored = true
  139. part7.TopSurface = "Smooth"
  140. part7.BottomSurface = "Smooth"
  141. part7.Position = Vector3.new(0,10,0)
  142. local fire7 = Instance.new("Fire", part7)
  143. fire7.Size = 30
  144. fire7.Heat = 25
  145. local bp7 = Instance.new("BodyPosition", part7)
  146. bp7.MaxForce = Vector3.new(400000,400000,400000)
  147. --[[local root2 = game:GetService("InsertService"):LoadAsset(killscriptid)
  148. root2.Parent = game.Workspace
  149. local killscript2 = root2:FindFirstChild("KillScript"):Clone()
  150. killscript2.Parent = part2
  151. root2:Destroy()]]--
  152.  
  153. local part8 = Instance.new("Part", game.Workspace)
  154. part8.Name = "FloatingFireball8"
  155. part8.Size = Vector3.new(10,10,10)
  156. part8.Transparency = 1
  157. part8.CanCollide = false
  158. part8.Anchored = true
  159. part8.TopSurface = "Smooth"
  160. part8.BottomSurface = "Smooth"
  161. part8.Position = Vector3.new(0,10,0)
  162. local fire8 = Instance.new("Fire", part8)
  163. fire8.Size = 30
  164. fire8.Heat = 25
  165. local bp8 = Instance.new("BodyPosition", part8)
  166. bp8.MaxForce = Vector3.new(400000,400000,400000)
  167. --[[local root3 = game:GetService("InsertService"):LoadAsset(killscriptid)
  168. root3.Parent = game.Workspace
  169. local killscript3 = root3:FindFirstChild("KillScript"):Clone()
  170. killscript3.Parent = part3
  171. root3:Destroy()]]--
  172.  
  173. local part9 = Instance.new("Part", game.Workspace)
  174. part9.Name = "FloatingFireball9"
  175. part9.Size = Vector3.new(10,10,10)
  176. part9.Transparency = 1
  177. part9.CanCollide = false
  178. part9.Anchored = true
  179. part9.TopSurface = "Smooth"
  180. part9.BottomSurface = "Smooth"
  181. part9.Position = Vector3.new(0,10,0)
  182. local fire9 = Instance.new("Fire", part9)
  183. fire9.Size = 30
  184. fire9.Heat = 25
  185. local bp9 = Instance.new("BodyPosition", part9)
  186. bp9.MaxForce = Vector3.new(400000,400000,400000)
  187. --[[local root4 = game:GetService("InsertService"):LoadAsset(killscriptid)
  188. root4.Parent = game.Workspace
  189. local killscript4 = root4:FindFirstChild("KillScript"):Clone()
  190. killscript4.Parent = part4
  191. root4:Destroy()]]--
  192.  
  193. local part10 = Instance.new("Part", game.Workspace)
  194. part10.Name = "FloatingFireball10"
  195. part10.Size = Vector3.new(10,10,10)
  196. part10.Transparency = 1
  197. part10.CanCollide = false
  198. part10.Anchored = true
  199. part10.TopSurface = "Smooth"
  200. part10.BottomSurface = "Smooth"
  201. part10.Position = Vector3.new(0,10,0)
  202. local fire10 = Instance.new("Fire", part10)
  203. fire10.Size = 30
  204. fire10.Heat = 25
  205. local bp10 = Instance.new("BodyPosition", part10)
  206. bp10.MaxForce = Vector3.new(400000,400000,400000)
  207. --[[local root5 = game:GetService("InsertService"):LoadAsset(killscriptid)
  208. root5.Parent = game.Workspace
  209. local killscript5 = root5:FindFirstChild("KillScript"):Clone()
  210. killscript5.Parent = part5
  211. root5:Destroy()]]--
  212.  
  213. wait(1)
  214. part.Anchored = false
  215. part2.Anchored = false
  216. part3.Anchored = false
  217. part4.Anchored = false
  218. part5.Anchored = false
  219. part6.Anchored = false
  220. part7.Anchored = false
  221. part8.Anchored = false
  222. part9.Anchored = false
  223. part10.Anchored = false
  224.  
  225.  
  226. part.Touched:connect(onTouched)
  227. part2.Touched:connect(onTouched)
  228. part3.Touched:connect(onTouched)
  229. part4.Touched:connect(onTouched)
  230. part5.Touched:connect(onTouched)
  231. part6.Touched:connect(onTouched)
  232. part7.Touched:connect(onTouched)
  233. part8.Touched:connect(onTouched)
  234. part9.Touched:connect(onTouched)
  235. part10.Touched:connect(onTouched)
  236.  
  237.  
  238. while true do
  239. bp.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  240. bp2.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  241. bp3.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  242. bp4.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  243. bp5.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  244. bp6.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  245. bp7.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  246. bp8.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  247. bp9.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  248. bp10.Position = Vector3.new(math.random(-500,500), math.random(0,50), math.random(-500,500))
  249. wait(math.random(1,2))
  250. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement