|
| 19 Dec 2014 02:04 PM |
mouse.Button1Down:connect(function() if Active == true then m = game.Lighting.Missile:clone() m.Parent = workspace m.CFrame = wa.CFrame * Vector3.new(0, 0, 1) bv = Instance.new('BodyVelocity', m) bv.maxForce = m:GetMass() * 200 bv.velocity = wa.CFrame.lookVector * 10 print('Left Shot') end end)
I checked everything... everything is defined, no Problems in Output (and no 'Left Shot' in Output either!) I tried changing a few things, didnt work :/ this is in a LocalScript... |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2014 02:05 PM |
| w in workspace can be lowercase in this example? |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2014 02:07 PM |
| workspace is already optimized to be like that :P it can be Workspace, workspace or game.Workspace :P |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 19 Dec 2014 02:12 PM |
| Where is was initialized ._. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 19 Dec 2014 02:15 PM |
| "m.CFrame = wa.CFrame * Vector3.new(0, 0, 1)" |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 19 Dec 2014 02:22 PM |
| wa is already defined :P I said, 'everything is defined' did u not read??? |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2014 02:36 PM |
| If there are no errors and if the missile is not being cloned then it means Active is never equaling true. Which is why nothing in that statement will run. |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2014 02:37 PM |
| I didn't mean to seem disrespectful, just trying to help with the solution. I have failed, but I have tried. I'm sorry. |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2014 02:41 PM |
its alright dude... and about the thing, I change the Active to true on Equipped :P
ctrl.Equipped:connect(function() Active = true end) |
|
|
| Report Abuse |
|
|
| |
|