Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- flamethrower = Instance.new("Tool",game.Workspace)
- flamethrower.GripPos = Vector3.new(-0.10000000149012,0.30000001192093,-0.69999998807907)
- flamethrower.Grip = CFrame.new(-0.10000000149012,0.30000001192093,-0.69999998807907) * CFrame.Angles(0, 0.29145678877831, -0)
- flamethrower.GripForward = Vector3.new(-0.28734788298607,0,-0.95782625675201)
- flamethrower.Name = "FlameThrower"
- flamethrower.GripRight = Vector3.new(0.95782625675201,0,-0.28734788298607)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,0.13002200424671,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- spin = Instance.new("NumberValue",flamethrower)
- spin.Name = "Spin"
- recoil = Instance.new("NumberValue",flamethrower)
- recoil.Name = "Recoil"
- recoil.Value = 5
- rarm = Instance.new("SpecialMesh",flamethrower)
- rarm.MeshId = "http://www.roblox.com/asset/?id=27111864"
- rarm.Name = "Rarm"
- rarm.MeshType = Enum.MeshType.FileMesh
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,0.33003598451614,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- larm = Instance.new("SpecialMesh",flamethrower)
- larm.MeshId = "http://www.roblox.com/asset/?id=27111419"
- larm.Name = "Larm"
- larm.MeshType = Enum.MeshType.FileMesh
- heat = Instance.new("NumberValue",flamethrower)
- heat.Name = "Heat"
- overheatbar = Instance.new("ScreenGui",flamethrower)
- overheatbar.Name = "OverheatBar"
- heatred = Instance.new("Frame",overheatbar)
- heatred.ZIndex = 3
- heatred.Size = UDim2.new(0, 0, 0, 10)
- heatred.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- heatred.Name = "HeatRed"
- heatred.Position = UDim2.new(0, 15, 0, 15)
- heatred.BackgroundColor3 = Color3.new(1, 0, 0)
- heatback = Instance.new("Frame",overheatbar)
- heatback.ZIndex = 2
- heatback.Size = UDim2.new(0, 100, 0, 10)
- heatback.BorderColor3 = Color3.new(0, 0, 0)
- heatback.Name = "HeatBack"
- heatback.Position = UDim2.new(0, 15, 0, 15)
- heatback.BackgroundColor3 = Color3.new(1, 1, 1)
- heatlabel = Instance.new("TextLabel",heatback)
- heatlabel.ZIndex = 4
- heatlabel.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- heatlabel.BorderColor3 = Color3.new(0, 0, 0)
- heatlabel.Text = "Heat"
- heatlabel.Position = UDim2.new(0, 50, 0, 5)
- heatlabel.Name = "HeatLabel"
- heatlabel.BackgroundColor3 = Color3.new(0, 0, 0)
- heatframe = Instance.new("Frame",overheatbar)
- heatframe.Size = UDim2.new(0, 110, 0, 20)
- heatframe.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- heatframe.Name = "HeatFrame"
- heatframe.Position = UDim2.new(0, 10, 0, 10)
- heatframe.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.57142859697342,0.20000000298023,0.57142859697342)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,9.5740003585815) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(1,0.57142823934555,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.57142859697342,0.34285709261894,0.5142856836319)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,9.3449983596802) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.22857142984867,1.0571428537369,0.22857142984867)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,10.167001724243) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.37142857909203,0.48571422696114)
- part.CFrame = CFrame.new(-3.4079999923706,1.8570439815521,10.444999694824) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.99999797344208,1,1)
- flame = Instance.new("Part",flamethrower)
- flame.FormFactor = Enum.FormFactor.Custom
- flame.CanCollide = true
- flame.TopSurface = Enum.SurfaceType.Smooth
- flame.Anchored = false
- flame.Size = Vector3.new(0.57142859697342,0.48571422696114,0.45714282989502)
- flame.Name = "Flame"
- flame.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,8.9309959411621) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- flame.BrickColor = BrickColor.new("Brick yellow")
- flame.Friction = 0.30000001192093
- flame.BottomSurface = Enum.SurfaceType.Smooth
- decal = Instance.new("Decal",flame)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=47760372"
- mesh = Instance.new("CylinderMesh",flame)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.37142857909203,0.34285709261894)
- part.CFrame = CFrame.new(-3.4079999923706,1.885027050972,10.030994415283) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428370475769,1,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.34285715222359,0.22857138514519)
- part.CFrame = CFrame.new(-3.4079999923706,1.9280279874802,9.7450017929077) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.5714265704155,1,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.6710369586945,10.144997596741) * CFrame.Angles(-0, 0, -0)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.4285694360733,0.28571426868439,0.85714262723923)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-4.56702709198,1.3360480070114,11.725985527039) * CFrame.Angles(-0.24479968845844, -0.0011411907617003, -0.13407015800476)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-4.4750051498413,2.0280339717865,12.022999763489) * CFrame.Angles(1.0620777606964, -0.12977336347103, -0.033784154802561)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,2.1428570747375,0.20000000298023)
- part.CFrame = CFrame.new(-5.064995765686,1.1440290212631,12.437999725342) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.4285714328289,1,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(1,2.1428570747375,1)
- part.CFrame = CFrame.new(-4.7510199546814,1.2870349884033,12.909997940063) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.0857142210007,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,11.238001823425) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.34285712242126,0.2857141494751,0.22857138514519)
- part.CFrame = CFrame.new(-3.3580160140991,1.9560420513153,12.095999717712) * CFrame.Angles(2.0795116424561, -0.12977237999439, 2.6517770290375)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.22857142984867,0.85714286565781,0.22857142984867)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,12.352997779846) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.80000001192093,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.2320439815521,12.049996376038) * CFrame.Angles(0.052359882742167, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.5,1,0.14285713434219)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.71428573131561,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.2700370550156,12.137997627258) * CFrame.Angles(0.052359882742167, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.35714286565781,1,0.71428543329239)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.42857128381729)
- part.CFrame = CFrame.new(-3.4079999923706,1.714035987854,12.28099155426) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428370475769,0.85714292526245,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.614030957222,9.8739995956421) * CFrame.Angles(-2.9802325940409e-008, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428370475769,0.85714304447174,0.14285713434219)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.5550420284271,10.047003746033) * CFrame.Angles(-0.78539818525314, 0, -0)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.4285694360733,0.28571426868439,0.71428573131561)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.57142859697342)
- part.CFrame = CFrame.new(-3.4079999923706,1.8570439815521,12.20999622345) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428573131561,0.57142853736877,1)
- handle = Instance.new("Part",flamethrower)
- handle.FormFactor = Enum.FormFactor.Custom
- handle.CanCollide = true
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Anchored = false
- handle.Size = Vector3.new(0.20000000298023,0.74285709857941,0.31428569555283)
- handle.Name = "Handle"
- handle.CFrame = CFrame.new(-3.4079999923706,1.2570379972458,12.337998390198) * CFrame.Angles(-0, 0, -0)
- handle.BrickColor = BrickColor.new("Dark stone grey")
- handle.Friction = 0.30000001192093
- handle.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",handle)
- mesh.Scale = Vector3.new(0.64285707473755,1,1)
- start = Instance.new("Sound",handle)
- start.Name = "Start"
- start.Volume = 1
- start.SoundId = "http://roblox.com/asset/?id=104562155"
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.614030957222,10.087998390198) * CFrame.Angles(-0, 0, -0)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.4285694360733,0.28571426868439,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.71428537368774,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-4.9190139770508,1.058030962944,12.090002059937) * CFrame.Angles(-0.050667706876993, 1.0471969842911, -3.691319916399e-009)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-3.6480219364166,1.3360480070114,11.725985527039) * CFrame.Angles(-0.24480056762695, 0.0011409821454436, 0.13406972587109)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-3.7399930953979,2.0280339717865,12.022999763489) * CFrame.Angles(1.0620777606964, 0.129773452878, 0.033784095197916)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,1.9300420284271,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,1.7300299406052,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,1.5300480127335,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,1.3300360441208,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,1.1300230026245,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,2.1300230026245,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(1.4285709857941,2.1428570747375,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,1.1440290212631,12.437999725342) * CFrame.Angles(-0, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.85714286565781,0.57142841815948,0.85714286565781)
- part.CFrame = CFrame.new(-4.1080160140991,1.5300480127335,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.45714285969734,0.22857141494751,0.45714288949966)
- part.CFrame = CFrame.new(-3.4930250644684,1.7850209474564,12.238001823425) * CFrame.Angles(-2.0861722305199e-007, 1.5707963705063, 0)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.85714286565781,0.85714286565781,0.85714286565781)
- part.CFrame = CFrame.new(-4.1080160140991,1.2440340518951,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Sphere
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.85714286565781,0.85714286565781,0.85714286565781)
- part.CFrame = CFrame.new(-4.1080160140991,1.8150190114975,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Sphere
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.25714281201363,0.20000000298023,0.25714281201363)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,11.852997779846) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(1,0.71428573131561,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.85714286565781,0.20000000298023,0.85714286565781)
- part.CFrame = CFrame.new(-4.122013092041,1.6010320186615,13.480998039246) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(1,0.99999940395355,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.3714285492897,0.22857128083706,0.37142848968506)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,12.894997596741) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.34285712242126,0.2857141494751,0.28571423888206)
- part.CFrame = CFrame.new(-3.2240118980408,1.8180409669876,12.307997703552) * CFrame.Angles(2.0795116424561, -0.12977237999439, 2.6517770290375)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.3714285492897,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,2.0140249729156,13.037998199463) * CFrame.Angles(1.570796251297, -1.941710365827e-007, 3.141592502594)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(1,0.28571349382401,0.99999940395355)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.22857142984867,0.31428572535515,0.22857142984867)
- part.CFrame = CFrame.new(-3.0840289592743,1.6730220317841,12.529997825623) * CFrame.Angles(2.0795147418976, -0.12977154552937, -0.48981505632401)
- part.BrickColor = BrickColor.new("Mid gray")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.4079999923706,1.4970279932022,9.91100025177) * CFrame.Angles(0.78539818525314, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428370475769,0.14285713434219,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.31428572535515)
- part.CFrame = CFrame.new(-3.4079999923706,1.4610480070114,10.097003936768) * CFrame.Angles(-2.9802325940409e-008, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428370475769,0.14285713434219,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.31428572535515,0.20000000298023)
- part.CFrame = CFrame.new(-2.9379858970642,1.5210429430008,12.762997627258) * CFrame.Angles(2.0795147418976, -0.12977154552937, -0.48981505632401)
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,2.1428570747375,0.20000000298023)
- part.CFrame = CFrame.new(-3.1510000228882,1.1440290212631,12.437999725342) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.4285714328289,1,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(1,2.1428570747375,1)
- part.CFrame = CFrame.new(-3.4650011062622,1.2870349884033,12.909997940063) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.57142859697342,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,0.8150190114975,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.57142853736877,1,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-4.3649930953979,0.73003000020981,13.467000007629) * CFrame.Angles(-0, -0, -1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.85714286565781,0.57142853736877,0.85714286565781)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.80000007152557,0.34285709261894)
- part.CFrame = CFrame.new(-3.4079999923706,1.3320159912109,10.472997665405) * CFrame.Angles(-0.26179939508438, 0, -0)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.99999797344208,1,1)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.3428571224213,0.20000000298023)
- part.CFrame = CFrame.new(-2.5810070037842,0.98003000020981,12.946997642517) * CFrame.Angles(2.5029129981995, -0.6476423740387, -0.6336373090744)
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.85714286565781,1,0.85714286565781)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.31428572535515,0.21428571641445,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,1.0430459976196,11.795999526978) * CFrame.Angles(-0.050667710602283, -3.4458185638186e-008, -1.8456595141103e-009)
- part.BrickColor = BrickColor.new("Mid gray")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.35714286565781)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.71428537368774,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.2959899902344,1.058030962944,12.090002059937) * CFrame.Angles(-0.050667718052864, -1.0471973419189, -3.6913196943544e-009)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(1.3142853975296,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,1.0430459976196,11.795999526978) * CFrame.Angles(-0.050667710602283, -3.4458185638186e-008, -1.8456595141103e-009)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,0.93004196882248,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.37142857909203,0.20000000298023)
- part.CFrame = CFrame.new(-4.122013092041,0.73003000020981,13.467000007629) * CFrame.Angles(-0, -0, -1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.71428573131561,1,0.71428573131561)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-3.8930189609528,0.73003000020981,13.467000007629) * CFrame.Angles(-0, -0, -1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.78571432828903,0.4285714328289,0.78571432828903)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.85714286565781,0.20000000298023)
- part.CFrame = CFrame.new(-3.4220089912415,0.73003000020981,13.467000007629) * CFrame.Angles(-0, -0, -1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.57142853736877,1,0.57142853736877)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-2.9790019989014,0.73003000020981,13.467000007629) * CFrame.Angles(-0, -0, -1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.92857134342194,0.14285713434219,0.92857134342194)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,0.73003000020981,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.78571432828903,0.78571432828903,0.78571432828903)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,0.73003000020981,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-4.8149991035461,0.54603999853134,12.165995597839) * CFrame.Angles(-0.76446539163589, 0.065893858671188, -0.37864917516708)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,1.9142858982086,0.20000000298023)
- part.CFrame = CFrame.new(-4.2800130844116,0.53004801273346,12.409997940063) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.28571429848671,1,0.28571429848671)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part.CFrame = CFrame.new(-4.1080160140991,0.47203299403191,13.467000007629) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.71428573131561,0.57142853736877,0.71428573131561)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.22857142984867,0.28571429848671,0.22857142984867)
- part.CFrame = CFrame.new(-2.7260270118713,0.3150210082531,13.412991523743) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.BrickColor = BrickColor.new("Brick yellow")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.2857138812542,1,0.20000000298023)
- part.CFrame = CFrame.new(-3.4000089168549,0.54603999853134,12.165995597839) * CFrame.Angles(-0.76446670293808, -0.06589387357235, 0.37864872813225)
- part.BrickColor = BrickColor.new("Sand green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1,1,0.28571426868439)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.28571429848671,0.20000000298023)
- part.CFrame = CFrame.new(-2.441015958786,0.3150210082531,13.412991523743) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.BrickColor = BrickColor.new("Mid gray")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000001788139,0.71428573131561,0.20000001788139)
- part.CFrame = CFrame.new(-4.0570211410522,0.3150210082531,13.188998222351) * CFrame.Angles(1.5707963705063, 0, 2.3561944961548)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000001788139,1,0.20000001788139)
- part.CFrame = CFrame.new(-3.3689930438995,0.3150210082531,13.412991523743) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",flamethrower)
- part.FormFactor = Enum.FormFactor.Custom
- part.CanCollide = true
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Anchored = false
- part.Size = Vector3.new(0.20000000298023,0.44285708665848,0.20000000298023)
- part.CFrame = CFrame.new(-2.2980129718781,0.360033005476,13.24199962616) * CFrame.Angles(1.8240576982498, 0.06703770160675, 0.25326147675514)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.92857134342194,1,0.92857134342194)
- fire = Instance.new("Sound",game.Workspace.FlameThrower)
- fire.Pitch = 1.2000000476837
- fire.Name = "Fire"
- fire.Volume = 0.30000001192093
- fire.SoundId = "rbxasset://sounds/hit.wav"
- local prev
- local parts = flamethrower:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- -- Thanks for Meanwhile & XaXa for this script.
- -- Remember this was designed for Meanwhile weapons so any other weapons might not work.
- -- You have no permission to repubish this in you model even if it edited.
- -- If your found then you will be ban from my place.
- -- original Manofthelol Script
- -- M2-2 Flamethrower Made by Meanwhile
- Tool = flamethrower
- local Mouse = true
- local Spin = flamethrower.Spin.Value
- local Heat = flamethrower.Heat.Value
- local chamber = true
- local Player = Tool.Parent
- local Dist = 0.20
- local firing = false
- local enabled = true
- local reloading = false
- local arms = nil
- local torso = nil
- local weld33 = nil -- right arm
- local weld55 = nil -- left arm
- local welds = {}
- function Takeout()
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), -0.05)
- weld55.C1 = CFrame.new(0.96, 0.45, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(250), 0.8, math.rad(10))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), -0.1)
- weld55.C1 = CFrame.new(0.92, 0.35, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad(235), 0.65, math.rad(20))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), -0.15)
- weld55.C1 = CFrame.new(0.88, 0.25, 0) * CFrame.fromEulerAnglesXYZ(math.rad(210), 0.5, math.rad(30))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.1), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.84, 0.15, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(195), 0.35, math.rad(40))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.2), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.8, 0.05, -0.4) * CFrame.fromEulerAnglesXYZ(math.rad(175), 0.25, math.rad(50))
- Tool.Handle.Start:play()
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.3), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.76, -0.15, -0.6) * CFrame.fromEulerAnglesXYZ(math.rad(155), 0.15, math.rad(60))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.62, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.4), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.66, -0.25, -0.8) * CFrame.fromEulerAnglesXYZ(math.rad(150), 0, math.rad(70))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.64, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.5), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.56, -0.25, -0.8) * CFrame.fromEulerAnglesXYZ(math.rad(150), 0, math.rad(60))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.63, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.5), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.46, -0.25, -0.8) * CFrame.fromEulerAnglesXYZ(math.rad(175), 0, math.rad(50))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.62, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.4), math.rad(-16), -0.2)
- weld55.C1 = CFrame.new(0.36, -0.25, -0.4) * CFrame.fromEulerAnglesXYZ(math.rad(195), 0, math.rad(40))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.62, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.3), math.rad(-16), -0.15)
- weld55.C1 = CFrame.new(0.46, -0.15, -0) * CFrame.fromEulerAnglesXYZ(math.rad(215), 0.2, math.rad(30))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.62, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.2), math.rad(-16), -0.1)
- weld55.C1 = CFrame.new(0.66, 0.15, 0.2) * CFrame.fromEulerAnglesXYZ(math.rad(235), 0.4, math.rad(20))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.62, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90.1), math.rad(-16), -0.05)
- weld55.C1 = CFrame.new(0.86, 0.35, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(255), 0.6, math.rad(10))
- wait(.04)
- weld33.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), 0)
- weld55.C1 = CFrame.new(1, 0.55, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(275), 0.85, math.rad(-0))
- end
- function Equip(mouse)
- wait(.1)
- print("Equipped")
- if game.Players.LocalPlayer ~= nil then
- Gui = Tool.OverheatBar:clone()
- Gui.Parent = game.Players.LocalPlayer.PlayerGui
- end
- wait(0.01)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- torso = Tool.Parent:FindFirstChild("Torso")
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- falsearm1 = arms[1]:clone()
- local mesh1 = Tool.Larm:clone()
- mesh1.Parent = falsearm1
- local armweld1 = Instance.new("Weld")
- falsearm1.BrickColor = BrickColor.new("Light orange") -- this is the arm colour incase u want to change it
- falsearm1.Parent = Tool
- armweld1.Parent = falsearm1
- armweld1.Part0 = falsearm1
- armweld1.Part1 = arms[1]
- falsearm2 = arms[2]:clone()
- local mesh2 = Tool.Rarm:clone()
- mesh2.Parent = falsearm2
- local armweld2 = Instance.new("Weld")
- falsearm2.BrickColor = BrickColor.new("Light orange") -- this is the 2nd arm colour incase u want to change it
- falsearm2.Parent = Tool
- armweld2.Parent = falsearm2
- armweld2.Part0 = falsearm2
- armweld2.Part1 = arms[2]
- local weld1 = Instance.new("Weld") -- left arm
- weld55 = weld1
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(1, 0.55, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(275), 0.85, math.rad(-0))
- welds[1] = weld1
- local weld2 = Instance.new("Weld") -- right arm
- weld33 = weld2
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-0.75, -0.6, 0.55) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), 0)
- welds[2] = weld2
- Takeout()
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Unequip(mouse)
- Gui:Remove()
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- falsearm1:remove()
- falsearm2:remove()
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- Tool.Equipped:connect(function(mouse)
- function fire(v)
- if enabled == true then
- Spin = Spin + 1
- if Spin < 40 then
- Heat = Heat + 1
- return
- else
- end
- if Spin >= 45 then
- Spin = 45
- end
- Heat = Heat + 1
- firing = true
- script.Fire:Play()
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local missile = Instance.new("Part")
- local spawnPos = vCharacter.PrimaryPart.Position
- spawnPos = spawnPos + (v * 8)
- missile.Position = spawnPos
- missile.Transparency = 1
- missile.Size = Vector3.new(2,2,2)
- missile.Velocity = v * 50
- missile.BrickColor = BrickColor.new(24)
- missile.Shape = 0
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = "Bullet"
- missile.Elasticity = 0
- missile.Reflectance = .3
- missile.Friction = .9
- missile.CanCollide = false
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:getMass() * 196,0)
- force.Parent = missile
- local mesh = Instance.new("SpecialMesh")
- mesh.Scale = Vector3.new(.1,.1,.1)
- mesh.MeshType = "Sphere"
- mesh.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- for i = 1,10 do
- f = Instance.new("Fire")
- f.Heat = 5
- f.Size = 10
- f.Parent = missile
- end
- missile.Parent = game.Workspace
- cam = game.Workspace.CurrentCamera
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.01, 0, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- wait()
- elseif enabled == false then
- end
- end
- end)
- function KeyDownFunctions(key)
- if key == "r" then
- Reload()
- end
- end
- function computeDirection(pos)
- local invrtDir = 1 / math.sqrt((pos.magnitude * pos.magnitude))
- local dir = Vector3.new(pos.x * invrtDir, pos.y * invrtDir, pos.z * invrtDir)
- return dir
- end
- function check(en)
- if not Tool.Enabled then
- return false
- end
- if Tool.Enabled then
- return true
- end
- if not enabled then
- return false
- end
- if enabled then
- return true
- end
- end
- function onActivated()
- if (not Tool.Enabled) or (not enabled) then
- return
- end
- --Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil or humanoid.Health <= 0 then
- Tool:Remove()
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- if (check()) then
- end
- fire(lookAt)
- wait()
- onActivated()
- return
- --Tool.Enabled = true
- end
- function onButton1Up(mouse)
- firing = false
- enabled = false
- Tool.Enabled = false
- wait(.2)
- firing = false
- enabled = true
- Tool.Enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse)end)
- mouse.KeyDown:connect(KeyDownFunctions)
- end
- function onEquippedLocal2(mouse)
- wait(.2)
- while Mouse == true do
- Spin = Spin - .5
- if not firing then
- Heat = Heat - 1
- Part = Tool.Flame:getChildren()
- for i=1, #Part do
- if Part[i].className == "Fire" then
- wait()
- cam = game.Workspace.CurrentCamera
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(-0.001, 0, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- Part[i]:remove()
- end
- end
- end
- mouse.Icon = "http://www.roblox.com/asset/?id=45003129"
- --Spin Limit
- if Spin <= 0 then
- Spin = 0
- end
- if Spin > 10 then
- f = Instance.new("Fire")
- f.Heat = 1
- f.Size = 2
- f.Parent = Tool.Flame
- cam = game.Workspace.CurrentCamera
- local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
- local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
- local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.001, 0, 0)
- cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- script.Ding.Pitch = .6 + (.3 * (Spin/40))
- script.Ding:Play()
- end
- if Spin > 45 then
- Spin = 45
- end
- --Heat Limit
- if Heat <= 0 then
- enabled = true
- Heat = 0
- end
- if Heat >= 100 then
- enabled = false
- Heat = 100
- end
- game.Players.LocalPlayer.PlayerGui.OverheatBar.HeatRed.Size = UDim2.new(0, Heat, 0, 10)
- Tool.Heat.Value = Heat
- wait()
- end
- end
- --Update XAXA Version: V2
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Equipped:connect(onEquippedLocal2)
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- flamethrower.Activated:connect(onActivated)
- flamethrower.Equipped:connect(equip1)
- flamethrower.Unequipped:connect(unequip1)
- -- Thanks for SonicUnleashedXY & Manofthelol for this script.
- -- To remove the orginial script just go into shooter & right at the bottem you will see something like this:
- -- flamethrower.Tool.Name = ""..flamethrower.Ammo.Value.."|"..flamethrower.StoredAmmo.Value..""
- -- Remove only that & add this to the tool.
- -- Remember this was designed for Manofthelol weapons so any other weapons might not work.
- -- You have no permission to repubish this in you model even if it edited.
- -- If your found then you will be ban from my place.
- local Tool = flamethrower
- local Ammo = Tool.Heat
- local vPlayer
- local Gui
- local Text
- function onChanged(value)
- if value == "Value" or value == Ammo.Value then
- if Gui ~= nil and Text ~= nil then
- if Ammo.Value >= 1 then
- Text.Text = "Heat: "..flamethrower.Heat.Value.."%"
- elseif math.floor(Ammo.Value) == 0 then
- Text.Text = "Heat: "..flamethrower.Heat.Value.."%"
- elseif Ammo.Value < 0 then
- for i = 0, 1, 0.03 / 2 do
- Text.Text = "Heat: "..flamethrower.Heat.Value.."%"
- wait()
- end
- end
- end
- end
- end
- function on2Changed()
- if Gui ~= nil and Text ~= nil then
- Text.Text = "Heat: "..flamethrower.Heat.Value.."%"
- wait()
- end
- end
- function setUpGui()
- if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
- return
- end
- Gui = Instance.new("ScreenGui")
- Text = Instance.new("TextLabel")
- Gui.Name = "DEDisplay"
- Gui.Parent = vPlayer.PlayerGui
- Text.BackgroundColor3 = BrickColor.Black().Color
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = BrickColor.White().Color
- Text.BorderSizePixel = 0
- Text.Name = "Ammo"
- Text.Parent = Gui
- Text.Position = UDim2.new(0.15, 0, 0.825, 0)
- Text.Size = UDim2.new(0, -60, 0, 64)
- Text.FontSize = "Size18"
- Text.Text = "Heat: "..flamethrower.Heat.Value.."%"
- Text.TextColor3 = BrickColor.Red().Color
- end
- function onEquippedLocal(mouse)
- vPlayer = game.Players.LocalPlayer
- setUpGui()
- end
- function onUnequippedLocal(mouse)
- if Gui then
- Gui:remove()
- end
- Gui = nil
- Text = nil
- vPlayer = nil
- end
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnequippedLocal)
- Ammo.Changed:connect(onChanged)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement