As I am making a singleplayer FNAF roblox game, I need help making this game be client sided, because my friend and I made some of the key components server-sided (Time, Doors and a Flash mechanic), and I can't figure out how to make them client sided and my friend hasn't been really active in this game, if anyone can tell me how to pass Server scripts to Client without them bugging I would aprecciate it
#I need help making Server scripts become Client only
1 messages · Page 1 of 1 (latest)
remotes?
It does use a lot of remotes but I don't get them to work properly
Last time we tried to make the game client sided it messed up scripts that we didn't even touch and mess up timers that aren't related to the door scripts
To convert to client side, you have to do it manually. Theres nothing that can automate it. (Not including AI)
** You are now Level 4! **
And yes, bugs are a major problem in the process.
Yes I do know that, but I still can't figure out how to make these remotes client sided
can you show me some scripts?
okay
@rare edge before anything, to make a remote client sided it has to fire to the server from a local script, right?
or do i have to make it fire to the client from the server?
because that might be the thing im doing wrong and i will feel like a stupid person
A remote event is neutral. You can fire it anywhere anytime to the client, all clients or server. It depends tho where you place them. I myself got remote events in a folder in * ReplicatedStorage.*
So
** You are now Level 1! **
I am gonna explain even more about this
So I want the game to have absolutely NO interaction/delay from the server whatsoever (at least from gameplayside)
Um
And I can't figure out if I have to remake the scripts without the remotes
Im confused, you want to make a game (Fnaf) but only with local scripts?
you cant make every script local that just doesnt work
No ibviously I cant make everything local script (specially badges)
But I am trying to make the main gameplay local scripts
ok, why
So the gameplay doesnt feel laggy or unfair because lag
oh is it laggy rn
If you have bad ping you are gonna suffer playing the game
If it was like a easy game I really wouldn't mind but this game is really hard so I don't want laggy inputs
okay let me send some
i mean how bad is the ping
it shouldnt be that big of a deal unless you are just playing on 200+ ping, at that point you should get a third party app to reduce it or something
or maybe move outside of alaska
I get some pingspikes for no reason whatsoever on the roblox games and it makes my own game unplayable
on studio or on roblox
Then thats your hardware/software
Roblox
No but other people too
the game might be poorly optomized
Hm
do you get lagspikes on other games?
I have made a game client sided and it works perfectly fine but I can't find out how to pass a server script to a local script
Can you show us the explorer
oh ok damn just a skill issue
okay
In that case it IS your pc
uhh i have a video of another person lagging and dying unfairly
I can join on iphone rn and test if you want, to confirm
send gam link
guys i dont think you understand why im wanting to do it
no dud i need to see this lag
im talking about you being able to play the game no matter your ping
even if you have 2 or 500 it should be the same experience
not really like that
obviously i have to make parts server sided for it to even work
lemme send the game with the server sided mechanics
upon revieving the experience
i dont see where the problem is at all
everything works perfectly fine, no spikes no nothing
the animations are a bit clapped but I think thats intentional
ok, got it
** You are now Level 2! **
U sure? I might have misunderstood it but based on what you said your “problem” is that there is spike lags and therefore you want to use less server scripts
however, there are no spike lags at all
its not spikelags the problem
the problem is that if you have bad internet the game is unplayable
for a multiplayer game it would be understandable
but its a singleplayer game
if you can join it then you can play it
thats how i think of it
so the least i can do now i remake these scripts
but yall helped me ngl
ty for it
well thats just not possible then as I said
that then relies on your wifi
everything inside roblox studio has to get passed somewhere
But np
yea just recode them into localscripts. it's not hard. you may need to change how things are structured, it can be quite involved depending on the scripts, but yea you can move all the code to the client, except only for things that require the server like datastores. that's one thing. whether or not you can move all the code to the client, that's a completely different question. you might have the skills to do it, might not, who knows 🤷 it would help a lot if you wrote this code. if you were asking for a simple band-aid way to convert a remoteevent to something that only happens on the client, you could change them to bindableevents
oh and depending on the size of your game, i'd suggest turning off adaptive streaming so the client has everything in workspace at all times and can run code for things that are outside the player's usual streaming radius
Forget it
The game has a lot of things that makes it just useless to pass it to client
if you're going full singleplayer, you can do that fairly straight forward
but ye size adds complexity, it could be too difficult for you to do it all on your own. that's a thing that can happen too
The game was already mostly server sided and noe its just a waste of time to fix it bc of how it was made