|
| 10 Aug 2017 09:37 AM |
My current way is all messed up...
Things like fireballs and such from a player ;o
RAP: 0 || R$:R$63,818 |
|
|
| Report Abuse |
|
|
HamSpider
|
  |
| Joined: 08 Aug 2015 |
| Total Posts: 63 |
|
|
| 10 Aug 2017 09:42 AM |
| Using local scripts to track when mousebutton1down is activated and the tool is equipped, then using passing the mouse.hit.p (I think) to the server script in the tool through the remote event in the tool. The local script just needs to register mouse events and values, then pass it to the server script which can create a fireball in front of the player and use the mouse.hit.p given to it from the local script to give it a direction. You'll also want a form of movement for the fireball, cframe or bodymovement. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2017 09:44 AM |
Ye wut im doing now is using a remotefunction..
I'm gonna try again with just a regular server script i guess..
RAP: 0 || R$:R$63,818 |
|
|
| Report Abuse |
|
|