|
| 21 Feb 2015 09:31 AM |
I'm making my gun work well with filtering enabled, but I noticed when I walk around (which it unequiped), in the server It moves very slow and laggy, and not at all if I have my gun up Here's a piture:
imguur/byKl16E (only 1 u)
Also, do I have to use a server script for these? 1. Weld the parts of a tool together 2. Change the weld properties inside the torso (shoulders, ect..)
|
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Feb 2015 09:49 AM |
| If you have filtering enabled up, and you want both of those things to exist to everyone, then yes, they need to be managed in server-sided script. |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 21 Feb 2015 09:53 AM |
If the gun is created with a LocalScript, only the client can see it.
Or anything for the most part in FilteringEnabled works like that. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2015 10:36 AM |
Yes.
With FilteringEnabled, EVERYTHING you want more than 1 player to see needs to be in a Script. not a LocalScript.
In terms of guns, you should only use LocalScripts for changing the mouse icon and input handling. Then on the input handler call :FireServer on a RemoteEvent to transfer to the server to fire. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2015 10:39 AM |
| Wouldn't that get extremely laggy if I for example wanted to weld an entire gun at once? (100 parts) |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Feb 2015 10:45 AM |
| Why don't you weld it in studio so you don't have to weld every part in game? |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2015 11:24 AM |
| I do, it just breaks all the time when I equip it. |
|
|
| Report Abuse |
|
|
| |
|