of     1   

Django136
#530186Wednesday, February 27, 2008 3:52 AM GMT

I've worked on making this for a while, but I cant seem to do it. I need a leaderboard that still gives you KOs even if you kill something that isnt a player, like a zombie for example. Can somebody please help me with this?
Romulus
#530199Wednesday, February 27, 2008 3:57 AM GMT

Its a little difficult, seeing as a zombie doesn't have a player. I don't really want to adapt something...
lavamaster
#530203Wednesday, February 27, 2008 3:58 AM GMT

hmm im not sure about this but this is wut i no put this in the torso and then disable it function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then local pl = game.Players:findFirstChild(h.Parent) if pl ~= nil then local stat = pl:findFirstChild("leaderstat") if stat ~= nil then local ko = stat:findFirstChild("KO") if ko ~= nil then ko.Value = ko.Value +1 end end end end end script.Parent.Touched:connect(onTouched) then put this in the figure while true do wait() if (script.Parent:findFirstChild("Humanoid").Health == 0) then script.Parent.Torso.[name of script here].Disabled = false end
Djdump
#530249Wednesday, February 27, 2008 4:14 AM GMT

Wouldnt that only give them points if they touched the figure after killing them? Is there any value to a humanoid that says like who killed them? That would make things super easy
Django136
#530252Wednesday, February 27, 2008 4:15 AM GMT

[ Content Deleted ]
Django136
#530903Wednesday, February 27, 2008 6:49 PM GMT

Can somebody make one that immediately works? Please?
Django136
#533106Thursday, February 28, 2008 3:22 AM GMT

Bump, Can somebody please help me?
BouyertheDestroyer
#533412Thursday, February 28, 2008 7:51 AM GMT

local Humanoid = script.Parent.Humanoid -- Or Zombie Or Whatever function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.KOs.Value = Leaderstats.KOs.Value + 1 end end end end Humanoid.Died:connect(PnwtX_X) There might be a typo buit tht should work.

    of     1