If you intended to use a DataStore, make sure to properly handle it and initialize it correctly. Next, create value instances based on which data type you want to be displayed. You can modify it according to your requirements.Īdditionally, note that NPC_died is assigned a value of 0, but later in your code, you're trying to increment NPC_died.Value as if it were a Roblox DataStore object. The ultimate guide to creating games with Roblox Studio and Lua. ![]() ![]() In the corrected code, I added LocalPlayer as the identifier for game.Players. Here's the corrected version of your code: local dead_bool = Learn how to use a SurfaceGui and Textlabel in Roblox so that you can make a sign. Currently, there is a missing identifier, causing the syntax error. Roblox Studio how to add text to a part in your Roblox game. I attempted to help him make a character move based on this article. Given the things he wants to do, I told him that the first thing he needs to figure out is how to move a character thats inside the models he has been creating. Is in is LuaUU, you need to provide an identifier (a variable name) after the local killed = game.Players. Im trying to help a beginner who has persistent aspirations of creating a game using Roblox Studio. The error you is having is is becaus is a syntax error is in your code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |