source : Pcalls - When and how to use them
Pcalls - When and how to use them
Intoduction Protected calls, formally known as pcalls, can run functions without erroring and provide if your code was successfully ran but what’s the best way to use them and when should I? In this tutorial I will be covering the entirety of pcalls and
devforum.roblox.com
Every function you’ll need to pcall
There may be more than this, but here’s a list of functions that will need to be pcall’d:
List
- https://developer.roblox.com/en-us/api-reference/function/Players/GetUserThumbnailAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetUserIdFromNameAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetNameFromUserIdAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetFriendsAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetCharacterAppearanceAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetCharacterAppearanceInfoAsync
- https://developer.roblox.com/en-us/api-reference/function/Players/GetHumanoidDescriptionFromOutfitId
- https://developer.roblox.com/en-us/api-reference/function/Players/GetHumanoidDescriptionFromUserId
- https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/GetAsync
- https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/IncrementAsync
- https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/RemoveAsync
- https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/SetAsync
- https://developer.roblox.com/en-us/api-reference/function/GlobalDataStore/UpdateAsync
- https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCore
'tech > game' 카테고리의 다른 글
21/08/02 “502: API Services rejected request with error. HTTP 403 (Forbidden)” (0) | 2021.08.02 |
---|---|
21/08/02 How To ModuleScript (0) | 2021.08.02 |
21/08/02 How to build a water slide in ROBLOX 2020 Easy! (0) | 2021.08.02 |
21/08/01 HOW TO MAKE YOUR OWN SKYBOX (CUBEMAP) IN ROBLOX STUDIO (0) | 2021.08.01 |
21/08/01 Roblox Studio Tutorial: Pathfinding (0) | 2021.08.01 |