Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Update()
- {
- if (!isLocalPlayer)
- {
- return;
- //this checks if the code is not running on the local instance of the game
- // if it isn't, it stops executing what's next
- }
- //Your Code here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement