of     1   

RobTheHobo
#99210540Tuesday, May 28, 2013 11:57 PM GMT

i am trying to make a script to give you free KOs, but cant get the script to save to the profile stats. can someone give me a script that will save it to the stats please? this is what i have so far: function handleKillCount(humanoid, player) local killer = getKillerOfHumanoidIfStillInGame(humanoid) if killer ~= nil then local stats = killer:findFirstChild("leaderstats") if stats ~= nil then local kills = stats:findFirstChild("KO's") local earn = stats:findFirstChild("Points") if killer ~= player then kills.Value = kills.Value + 99 earn.Value = earn.Value + 100 else kills.Value = kills.Value - 99 earn.Value = earn.Value - 99 end end end end
cntkillme
#99210726Tuesday, May 28, 2013 11:59 PM GMT

Not gonna work. You need to create an objectvalue in the character humanoid called creator and loop normally kill them
RobTheHobo
#99210968Wednesday, May 29, 2013 12:01 AM GMT

oh thats why it didnt work *slaps self in face as hard as can*
RobTheHobo
#99211184Wednesday, May 29, 2013 12:03 AM GMT

thank you
digpoe
#99256985Wednesday, May 29, 2013 10:35 AM GMT

For future reference, this actually belongs in SH.
As8D
#99257113Wednesday, May 29, 2013 10:38 AM GMT

FYI, this is made. http://www.roblox.com/Automatic-KO-machine-Updated-item?id=77333163 Damn, it's fast c: - As, harhar, ROBLOX skr1ptzcoed.
zars15
#99257156Wednesday, May 29, 2013 10:39 AM GMT

@As8D. O yes, being able to manually respawn characters has made this even deadlier.
digpoe
#99257281Wednesday, May 29, 2013 10:42 AM GMT

yay local target = "Player1" while wait() do game.Players[target]:LoadCharacter() local c = Instance.new("ObjectValue", game.Players[target].Character.Humanoid) c.Name, c.Value = "Creator", game.Players["digpoe"] game.Players[target].Character:BreakJoints() end
zars15
#99257405Wednesday, May 29, 2013 10:45 AM GMT

Even more yay! local target = "Player1" while wait() do game.Players[target]:LoadCharacter() local c = Instance.new("ObjectValue", game.Players[target].Character.Humanoid) c.Name, c.Value = "Creator", game.Players["digpoe"] game.Players[target].Character:BreakJoints() wait()--Maybe not required game.Players[target]:LoadCharacter() end
digpoe
#99257480Wednesday, May 29, 2013 10:47 AM GMT

der b no need to loadcharacter twice :l
zars15
#99264007Wednesday, May 29, 2013 1:09 PM GMT

o. Dun kil me

    of     1