#Client Sided vs Server Sided

1 messages · Page 1 of 1 (latest)

tame coral
#

Hi, I am new to scripting and just have a question about client sided vs server sided. I am making this game called "Crystal Simulator" and a key part is mining ores. So I created a basic mining system and was never able to figure out the whole respawn with like a luck system(rarity of ores)and was pointed out that everything I made was client sided. That means only one person can see it right? What is exactly the difference? If you have time to help I would be grateful, if any code snippets is needed let me know and I can send what I have

short fjord
# tame coral Hi, I am new to scripting and just have a question about client sided vs server ...

If you can't read the notes, you can pause the video.

I explained Client-Server in this video basically. However that's not it.

Topics in this video:

  • What is server?
  • What is client?
  • Which actions are controlled by client?
  • Replication
  • Where does a LocalScript / ServerScript run on
  • Exceptions for replication
  • How to prevent a sound ...
▶ Play video
willow sphinx
#

Basically the server is like the game manager

#

They're the one responsible for the game event

#

For the client, they're the ones responsible for things like UI and what they see

#

ofc server and client have similarities

#

The server should not always trust the client because whenever the client makes a request, it could be a fake request that is sent by the hacker. That's why it's important to put some sanity check of what information goes in and verify its validity.

tame coral
#

Ah thank you guys!