How it works
The creator value is a value that operates tracking KO's and WO's for the website, as well as the in-game leaderboard, if any. As you can see here, the Knockouts
and Wipeouts
statistics of your roblox profile is there.
When you insert a creator value into a player's humanoid.. then when they die the system checks for that tag, which is supposed to be an objectvalue - with the value of whatever player should get the KO. If there's that creator tag then it awards 1 KO to the value of the tag(supposedly being the player that killed you), as well as one WO to the victim that the tag is held in.
If say, there are multiple creator values inside of the Humanoid when they die then only the FIRST found child matching the requirements of a creator tag will be used - the first found just happens to be the last added as well(:
How to use it
Whenever whatever weapon you're using hits a player then you should create a 'creator tag' and place it into the player's character' Humanoid.
What your tag needs;
The tag must be an ObjectValue
The Value of the tag must be the player instance of whomever you're awarding the KO to
The tag must be placed in the Humanoid of your desired victim.
Example
04 | local plr = game.Players.LocalPlayer |
07 | script.Parent.Handle.Touched:connect( function (hit) |
09 | local plr = game.Players:GetPlayerFromCharacter(hit.Parent) |
12 | local tag = Instance.new( 'ObjectValue' ,hit.Parent.Humanoid) |
Locked by User#19524
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?