Roblox Firework Simulator Script July

  

Roblox Firework Simulator Script July

.strucid roblox photo id codes roblox gears 2019 strucid beta hacks CONTER BLOX CODES best strucid keybinds id strucid beta Promo Codes admin August 12, 2020 Strucid Codes Anniversary.

Feb 19th, 2016
Script
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. cols = {'Really red', 'Deep orange', 'New yellow', 'Lime green','Really blue','Magenta'}
  2. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  3. part.formFactor = form
  4. part.Transparency = tran
  5. part.Size = Vector3.new(x,y,z)
  6. part.TopSurface = 0
  7. part.Anchored = anchor
  8. part:BreakJoints()
  9. w.Parent = p
  10. w.Part1 = p1
  11. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  12. function modelfirework(pos, color)
  13. fw.Name = 'xSFireWorks'
  14. prop(stick, fw, true, 0, 0, 0.3, 1.6, 0.3, 'Reddish brown', false, 'Custom')
  15. stick.CFrame = CFrame.new(pos) * CFrame.Angles(math.random(-60,60)/100,math.random(-32,32)/10,math.random(-60,60)/100)
  16. local main = Instance.new('Part')
  17. prop(main, fw, true, 0, 0, 0.8, 1.8, 0.8, color, false, 'Custom')
  18. Instance.new('CylinderMesh',main)
  19. local mw = Instance.new('Weld')
  20. prop(tip, fw, true, 0, 0, 0.8, 0.6, 0.8, color, false, 'Custom')
  21. local s = Instance.new('SpecialMesh',tip)
  22. s.MeshId = 'http://www.roblox.com/asset/?id=1033714'
  23. weld(tw, main, tip, 0, 0, 0, 0, -1.2, 0)
  24. local teq = Instance.new('Part')
  25. prop(teq, fw, true, 0, 0, 0.2, 0.5, 0.2, color, false, 'Custom')
  26. weld(ew, main, teq, 0, 0, 0, 0, 1.05, 0.3)
  27. local bp = Instance.new('BodyPosition',main)
  28. bp.position = main.Position
  29. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  30. local bg = Instance.new('BodyGyro',main)
  31. bg.cframe = CFrame.new(main.Position, main.CFrame * CFrame.new(0,0,-2).p)
  32. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  33. fw.Parent = workspace
  34. return fw, main, stick, teq, mw, bp, bg
  35. local model, main, stick, teq, mw, bp, bg = modelfirework(pos, color)
  36. local f = Instance.new('Fire',teq)
  37. f.Heat = -5
  38. for i=-5,-25,-0.4 do
  39. f.Heat = i
  40. wait(0.8)
  41. stick:remove()
  42. for i=0,distance,speed do
  43. wait()
  44. model:remove()
  45. end
  46. fires = {
  47. local boompos = launch(pos, color, dist, speed)
  48. local p = Instance.new('Part')
  49. prop(p, workspace, false, 1, 0, 1, 1, 1, 1, false, 'Brick')
  50. p.CFrame = CFrame.new(boompos) * CFrame.Angles(0,math.rad(i),0)
  51. local r, g, b = math.random(0,1), math.random(0,1), math.random(0,1)
  52. Instance.new('Fire',p).Color = Color3.new(r,g,b)
  53. end,
  54. local boompos = launch(pos, color, dist, speed)
  55. local p = Instance.new('Part')
  56. prop(p, workspace, false, 1, 0, 1, 1, 1, 1, false, 'Brick')
  57. p.CFrame = CFrame.new(boompos) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,0,-2)
  58. local r, g, b = math.random(0,1), math.random(0,1), math.random(0,1)
  59. Instance.new('Fire',p).Color = Color3.new(r,g,b)
  60. bp.P = 10000
  61. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  62. coroutine.resume(coroutine.create(function()
  63. bp.position = poz * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,0,i/4).p
  64. end
  65. end))
  66. end
  67. local rand = math.random(1,#fires)
  68. fires[rand](Vector3.new(math.random(-200,200),3,math.random(-200,200)), cols[math.random(1,#cols)], math.random(180,300), math.random(150,300)/100)
  69. wait(math.random(40,100)/10)
RAW Paste Data
Firework