![]() If you want something to happen on one player’s screen but using a server script, you use remote events to send a request to the client. So, client side scripts are used to get local player & send a request to the server, or put something on one players screen. If I am making a gun, I will use a local script to do this, and then send a request to a remote event to kill the player on the server and not just your screen (that is why most guns from the toolbox are broken, they were made before filtering enabled.) The local script will use plr:GetMouse() to detect when the player clicks or presses a button, and gets the local player with game:GetService('Players').LocalPlayer. It is best to use server scripts though, exploits are local-script based script executors. Client side normally use remote events to send client side things to the server. ![]() This will put a part on the client, meaning only the person who clicked will see the part. ![]() Lets say we put a local script inside of a text button. ![]() Client side is mostly used for little things ever since Filtering Enabled came out. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |