Right now it looks like you haven't really searched on your own and just posted your question here right away. LocalPlayer mouse player: GetMouse () maxAmmo 250 ammo maxAmmo rate 0.002 firing false canFire true reload 2 damage 12 script. Next time please provide code and/or more detailed description of what you have already tried, so it is easier for us to help you understand or give you pointers. However - again - depends on how you keep track of your kills. The default Leaderboard found in the "Roblox Sets" section of the Leaderboard increases a counter named "Kills" upon kills (with default Roblox weapons), and you can edit this to increase Cash instead. There are also going to be plenty of leaderboards in the Toolbox that you can edit to your needs. This is a relevant article about Leaderboards. I suggest you check out the Roblox Wiki for an example of Leaderboards. If you are making custom weapons, you need to implement this yourself. If you use default Roblox weapons, this functionality is likely already in your weapons. This requires your weapon system to keep track of who kills, and feed that into the leaderboard. This is a bit of a complex task if you have no experience with scripting. Local tag = character.Humanoid:FindFirstChild("creator")Ĭurrency1.Value = currency1.Value + 10 -This is the reward after the player died. Player.CharacterAdded:connect(function(character)Ĭharacter:WaitForChild("Humanoid").Died:connect(function() This requires your weapon system to keep track of who kills, and feed that into the leaderboard. Local currency1 = Instance.new("IntValue",folder) Local folder = Instance.new("Folder",player) Here is the code: :connect(function(player) I've included the code for the script, but instead of giving me the cash, it gives the killed person cash. You can create an TPS Animation first, then create a keybinds When the playing pressed it, change the camera from to Shoulder camera. Please include the leaderboard Cash in the script. If players want to go from first person to third person they can, and vice versa. Can someone please make a script for this? I've tried everything on the web, so I hope you guys can help. The name on the leaderboard should be Cash. I want to make a cash for kill script, meaning every kill, the KILLER gets +10 cash, and you start off with 0 cash. So, I am making a Roblox game and it's a battle game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |