cybris
|
  |
| Joined: 01 Mar 2008 |
| Total Posts: 2424 |
|
|
| 07 Jul 2009 10:33 AM |
output says nothing....keep in mind this is in a hopperbin...
function onKeyDown(key) if key:lower() == "f" then
missile = Instance.new("Part") missile.Position = script.Parent.Parent.Chest.RightGun.Position missile.Size = Vector3.new(1,1,1) missile.Velocity = v * 300 missile.BrickColor = BrickColor.new("Black") missile.Name = "Shell" local new_script = script.Parent.Projectile:clone() new_script.Disabled = false new_script.Parent = missile end
function onSelected(mouse) mouse.KeyDown:connect(onKeyDown) end
script.Parent.Selected:connect(onSelected)
|
|
|
| Report Abuse |
|
cybris
|
  |
| Joined: 01 Mar 2008 |
| Total Posts: 2424 |
|
|
| 07 Jul 2009 10:34 AM |
| also, Chest is a model inside the player that has bricks in it and one is named RightGun .....it is a suit model |
|
|
| Report Abuse |
|