All you have to do now is create the stats! For this tutorial I will be making the stats coins but you can do as many as you’d like! This would go after making the leaderstats instance local coins = Instance.new("NumberValue")Ĭoins. Local leaderstats = Instance.new("Folder") ![]() Players.PlayerAdded:Connect(function(player) local players = game:GetService("Players") Your script should look something like this by now. Leaderstats.Name = "leaderstats" - make sure the l is lowercase You can do this by doing this inside of the function local leaderstats = Instance.new("Folder") This would detect when the player joins the game! Next up, you would need to create an instance for when the player joins the game. You do that by doing players.PlayerAdded:Connect(function(player) Local players = game:GetService("Players")Īfter that, you would need to detect when a player joins the game. the script tries to login to an account multiple times. ![]() Once you have inserted a script, open up the script and remove print("Hello World") at the very top of the script! Once removed, start off by defining players by doing Even if the hacker changed the email address on the account, Roblox can. Select on ServerScriptService and insert a script! Once you have done all that, you are set Here we go!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |