Advertisement
fomm1802

KillForCash NPC

Dec 23rd, 2021
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. local Humanoid = script.Parent.Humanoid
  2. function save1()
  3. local tag = Humanoid:findFirstChild("creator")
  4. if tag ~= nil then
  5. if tag.Value ~= nil then
  6. local Leaderstats = tag.Value:findFirstChild("leaderstats")
  7. if Leaderstats ~= nil then
  8. Leaderstats.Point.Value = Leaderstats.Point.Value + 20
  9. wait(0.1)
  10. script:remove()
  11. end
  12. end
  13. end
  14. end
  15. Humanoid.Died:connect(save1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement