KingEpic5
|
  |
| Joined: 26 May 2011 |
| Total Posts: 5675 |
|
|
| 13 Oct 2012 02:15 AM |
The problem is its not shooting.
Heres the script (a Little bit of it otherwise I will get a error.)
ToolName="" ClipSize=12 ReloadTime=0.5 Firerate=.1 MinSpread=0.1 MaxSpread=0.2 SpreadRate=0 BaseDamage=20 automatic=true burst=false shot=false --Shotgun BarrlePos=Vector3.new(0,0,0) Cursors={"rbxasset://textures\\GunCursor.png"} ReloadCursor="rbxasset://textures\\GunWaitCursor.png"
barrel_1 = script.Parent:findFirstChild("barrelpos1") or script.Parent.Handle barrel_2 = script.Parent:findFirstChild("barrelpos2") or script.Parent.Handle double = false --Double Wielded doublemode = 1 -- 1 is alternating, 2 is both
if not game.Lighting:findFirstChild("BulletTexture") then p = Instance.new("Part") p.Parent = game.Lighting p.Name = "BulletTexture" p.CanCollide = false p.formFactor = "Custom" p.Size = Vector3.new(1,0.1,1) p.Transparency = 1 g = Instance.new("SpecialMesh") g.Parent = p end
------------------------------------- Tool = script.Parent
p = Instance.new("Part") p.Parent = game.Lighting p.Name = "BulletTexture" p.CanCollide = false p.formFactor = "Custom" p.Size = Vector3.new(1,0.1,1) p.Transparency = 1 g = Instance.new("SpecialMesh") g.Parent = p
GuiEffect = "Sine"
equiped=false dw = false sp=script.Parent RayLength=1000 Spread=.15 enabled=true reloading=false down=false r=game:service("RunService") last=0 last2=0 last3=0 last4=0 last5=0 last6=0 UseDouble = false Bullet=Instance.new("Part") Bullet.Name="Bullet" Bullet.BrickColor=BrickColor.new("Really black") Bullet.Anchored=true Bullet.CanCollide=false Bullet.Locked=true Bullet.Size=Vector3.new(1,1,1) Bullet.Transparency=0 Bullet.formFactor=0 Bullet.TopSurface=0 Bullet.BottomSurface=0 mesh=Instance.new("SpecialMesh") mesh.Parent=Bullet mesh.MeshType="Brick" mesh.Name="Mesh" mesh.Scale=Vector3.new(.15,.15,1) |
|
|
| Report Abuse |
|
jamkid12
|
  |
| Joined: 21 Mar 2010 |
| Total Posts: 17460 |
|
| |
|
| 13 Oct 2012 03:50 AM |
| Yeah wrong forum and i don't see the error you were talking about. |
|
|
| Report Abuse |
|
|
| 13 Oct 2012 04:09 AM |
| Post it in Scripting Helpers because this is the wrong forum. |
|
|
| Report Abuse |
|