![]() ![]() Right now it looks like you haven't really searched on your own and just posted your question here right away. 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. Roblox is a global platform that brings people together through play. ![]() However - again - depends on how you keep track of your kills. Code Templates is a plugin that allows scripters to quickly reuse templates without having to copy and paste between other scripts. 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. sus script roblox pastebin Pr3st0n May 30th, 2022 1,404 1 Never Add comment Sign Up text 33. ![]() If you are making custom weapons, you need to implement this yourself. local c script.Parent local debounce true c.Touched:Connect (function (hit) local player hit.Parent local Owner if player:FindFirstChild ('Humanoid') and debounce then local isOwner (player.Name Owner.Value) if not isOwner then debounce false local damage .Value if sc. 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() 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. Please include the leaderboard Cash in the script. 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. |