|
| 27 Dec 2012 07:44 AM |
How would I create them with a tool and shoot them where the mouse is pointing?
I'm learning how to script tools, so that's why I'm asking.
-IG Emperor- |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 27 Dec 2012 07:57 AM |
If you're just learning how to script tools, saying one word won't help. If you can script a simple example, it'd help. Otherwise, please don't post.
-IG Emperor- |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Dec 2012 08:16 AM |
| I agree with ibracadabra. We want to see your script first, or we cannot help you. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:19 AM |
@Fava
When one does not know what to do, what can he do?
-IG Emperor- |
|
|
| Report Abuse |
|
|
| |
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 27 Dec 2012 08:20 AM |
| Create a brick, put a force in it, change the direction of the force, make a script that lowers health on touch, go crazy of annoying glitchy brick and start making RayCast guns. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:22 AM |
@Ibra
The wiki does not have sufficient information on creating projectiles.
-IG Emperor- |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Dec 2012 08:27 AM |
@Ibra
If you're not helping people SUFFICIENTLY, why are you here?
-IG Emperor- |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Dec 2012 08:32 AM |
@Ibra
Quit replying then.
-IG Emperor- |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:35 AM |
| Reported for bumping a dead thread. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:36 AM |
Reported for false reporting, you troll.
-IG Emperor- |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:38 AM |
| Haha! You're funny. Please don't bump anymore. I said please. |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 27 Dec 2012 08:42 AM |
Imagine the tool all set up nice and pretty. Mmkay? Awesome.
Now here's an example of shooting a projectile.
local t = script['Parent'] t['Equipped']:connect(function(mouse) mouse['Button1Down']:connect(function() local p = Instance.new("Part", Workspace) local v = Instance.new("BodyVelocity", p) p['CFrame'] = CFrame['new'](t.Handle.Position + Vector3.new(0,2,0), mouse.Hit.p) v.velocity = p.CFrame.lookVector * 200 --(200 = speed) v.maxForce = (10000,10000,10000) wait(1) p["Touched"]:connect(function() p:Destroy() end) end) end) |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2012 08:52 AM |
@MrNicNac
Thanks!
-IG Emperor- |
|
|
| Report Abuse |
|
|