For this you will need thing named RemoteEvents. For example, when you’re making shooter and weapon has to kill another player for everyone, not just for player who shoots, you will have to transfer information to server first. Sometimes we will need to transfer information from a player to another player. When buttons work for each player, but not for the server. Here is example of Script and how will it work: The color of part will be changed on server and everyone will see new color. As example: you wrote Script which changes part’s color. Server is like a big house where residents are players. Like when you join a friend, you join a server. You don’t need ModuleScript at the moment, you will learn it yourself in the future.įor your understanding the whole game you join is a server. The two main one are Script and LocalScript. Before you start you should learn that there are three types of scripts: Now you can go and play around with stuff you have in Explorer by Properties. You will always need properties in scripts. For example, if you select part, you can change its color/material/size/position and other things in Properties. Properties let you see what setups and parameters you have for anything you can select in Explorer. You can find any item in services you added. So if you built a map for example which you see in your game, it stores in Workspace. Workspace is a 3D world, Players is service which stores information about players, Lighting is server where you can set up shading etc. Every service is responsible for something in game. For example: Workspace, Players, Lighting etc. In Explorer (up window) you can see some services and what’s located in them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |