Advertisement
BenjaminPlays

How To Make a Fireball Cannon - ROBLOX

Sep 29th, 2020 (edited)
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. INSTRUCTIONS TO MAKE A ROBLOX WORKING CANNON! READ CAREFUL IF NO WORK REDO CAUSE IT DOES WORK!!!
  2.  
  3. Make different parts with cylinders and whatever you want, to look like a cannon.
  4.  
  5. Then make a circular object and make it the size you want, to be a bullet... Now after making a circle, go to upper part of studio then go to spawn thing, but to the right of that you will see something like "Add Effect". So with the add effect option you are going to simply click it and click fire, but make sure the firing part (tube that shoots it) is clicked on before clicking the fire effect.
  6.  
  7. Name the bullet "Fireball" and set the transparency to 1. Then put the Fireball in ServerStorage, name the barrel of the cannon "barrel" also caps at beginning do count so do EXACTLY as I in this instruction. The base of the cannon name cannon and group them!
  8.  
  9. Now go to the cannon, and insert a script. Now after that put in the script:
  10. local cannon = script.Parent
  11. local barrel = cannon.barrel
  12. local fireball = game.ServerStorage.Fireball
  13.  
  14. while true do
  15. local fireballCopy = fireball:Clone()
  16. fireballCopy.Parent = game.Workspace
  17. fireball.Position = barrel.Position
  18. fireball.Velocity = Vector3.new(-70,0,0) ⬅️ MAKE THAT IN THERE WHATEVER CORDINATE YOUR CANNON IS.
  19. wait (2)
  20. end
  21.  
  22. [IF THIS DOES NOT WORK DM ME @Real_Dev#3336]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement