awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 03:45 PM |
local Player = Game.Players.LocalPlayer local char = Player.Character
function GetBullet() local p = Instance.new("Part") p.FormFactor = "Custom" p.Size = Vector3.new(.25,.25,4) p.BrickColor = BrickColor.Black() Instance.new("BodyVelocity", p) return p end
script.Parent.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() local mH = mouse.Hit local bullet = GetBullet() bullet.CFrame = script.Parent.Handle.CFrame * CFrame.new(char.Torso.CFrame.lookVector * 4) bullet.CFrame = CFrame.new(bullet.Position, mH.p) bullet.BodyVelocity.velocity = bullet.CFrame.lookVector * 300 bullet.Touched:connect(function(hit) local explosion = Instance.new("Explosion") explosion.Position = bullet.Position bullet:Destroy() end) end) end)
Can someone tell me why this won't work? |
|
|
| Report Abuse |
|
|
| |
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 03:47 PM |
Nothing outputs... at all And don't come here to tl;dr |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
| |
|
|
| 02 Feb 2014 03:54 PM |
| I can tl;dr if I want. I am an active member of this forum. Do you even know what tl;dr means? You obviously dont. You probably just think its something people say for the heck of it. |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 03:57 PM |
I am not stupid and it isn't helpful to come and just tl;dr (Means too long; didn't read) I actually want to know what is wrong |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
| |
|
|
| 02 Feb 2014 04:03 PM |
| Read the output, that will tell you what's going wrong. |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 04:04 PM |
| There is nothing in the output. Just nothing fires |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
| |
|
|
| 02 Feb 2014 04:10 PM |
| Use a different free model. |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 04:10 PM |
| I made it... wtf is wrong with you |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 02 Feb 2014 04:18 PM |
| Yep I can't find anything wrong with it... there is nothing wrong yet it doesn't fire... WTF ROBLOX |
|
|
| Report Abuse |
|
|