Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make the KOs and Wipeouts work?

Asked by 5 years ago

I need help with the Kills And Wipeouts so i can make the leaderboard into it. I have the leaderboard done and it worked:

game.Players.PlayerAdded:Connect(function(player)
    local stats = Instance.new("Folder", player)
    stats.Name = "leaderstats"

    local kills = Instance.new("IntValue", stats)
    kills.Name = "KOs"
    kills.Value = 0

    local wipeouts = Instance.new("IntValue", stats)
    wipeouts.Name = "Wipeouts"
    wipeouts.Value = 0
end)
0
You'll have to figure that out on your own. Also, if you care about performance in your game, I wouldn't recommend using the parent argument to Instance.new. User#19524 175 — 5y
0
I don't think ROBLOX actually records who killed who. I mean think about it, Sometimes weapons create a part with a script in it that kills in the workspace, ROBLOX would have to remember who created the part, who created the script in the part, and the precise reason the character died. Your weapon has to do that OBenjOne 190 — 5y
0
Weapons could do KO , like OBenjOne said , and Char.Died could do WO. Good luck ;) User#17685 0 — 5y
0
It won't work with the character died thing ieverhart 62 — 5y
0
and the KOs ieverhart 62 — 5y

Answer this question