Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to make my game run client side only?

Asked by 5 years ago

When I test my game on studio it works fine, but in client to server, it really lags. I just want to know if it's possible to have my game run on client only.

0
You can use localscripts to run code on the client and set the network ownership of parts or create parts locally to run all physics on the client. That's the best answer I can give without any further info. I suggest you find out why/what is making it lag. gullet 471 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

This is an answer that has both side true, both yes and no. Depending on what you are doing you can make this a client-sided only game but if you are going to change any values then you have to use scripts. If you are only doing things that only the player is going to be doing client side (such as clicking on GUIs but without it interacting with the server) would work.

In other words, you can but if you want to change anything that everyone else sees then you have to use scripts (which are server-sided). Depending on what you are doing I would recommend fixing that lag issue with your scripts (it could be because of many scripts running at once). Otherwise, you can come here and we can help you fix them (through attempts).

If you have any questions or issues, please contact me. ;)

0
Here's a video I made that shows the problem. It's in two parts, in studio and in game. https://www.youtube.com/watch?v=cU1PPyhEjnE JeffryTehPig 9 — 5y
0
I don't see much issue. lazycoolboy500 597 — 5y
0
My best guess is you probably have either some ping or some packet loss. lazycoolboy500 597 — 5y
0
Press F9 when you're in-game and show the details. lazycoolboy500 597 — 5y
View all comments (2 more)
0
Is there anyway to combat this ping issue? My average ping is about 100 ms. JeffryTehPig 9 — 5y
0
100 ms is fine (quite high but shouldn't be the issue). Maybe looking at the F9 menu should help (since it shows script performance). lazycoolboy500 597 — 5y
Ad

Answer this question