Give2x.Value = currency.Value - oldmoney.ValueĬurrency.Value = currency.Value + give2x. If marketservice:UserOwnsGamePassAsync(player.UserId, script:WaitForChild("GamepassId").Value) then The Script Editor has the following keyboard shortcuts. You can also press + S on macOS or Alt + S on Windows. To open the settings, click File, click Studio Settings, then click Script Editor. Local give2x = Instance.new("IntValue",folder) You can also toggle features such as Autocomplete, Signature Help, and Script Analysis. Local oldmoney = Instance.new("IntValue",folder) I put this script inside the Character NPC model: local Character script. NPC is animating correctly in studio, without any problems, but all the sudden it wouldn’t in the game itself (as in Roblox Player Application). Local folder = Instance.new("Folder",player) The NPC isn’t animating in game, and only in studio therefore, I want to achieve making it animate in Roblox game as well. Local currency = leader:FindFirstChild(script:WaitForChild("Currency").Value) Repeat wait() until leader:FindFirstChild(script:WaitForChild("Currency").Value) Local leader = player:FindFirstChild("leaderstats") Repeat wait() until player:FindFirstChild("leaderstats") Local marketservice = game:GetService("MarketplaceService") I have tried the script and I really have not edit it because I know that if I edit it I’m going to forget the script because my horrible memory but like I don’t know what to do because I’m not good at scripting. So the script says that it works but it is not. I already have Had Please help me I don’t know what I’m doing so like it says that it works but then when I go to use it, it doesn’t work and then I leave the game and rejoin back and then I’ll have times two of them amount. I am trying to make a times two script for like a currency the script somewhere there’s an error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |