Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local ToBuff = {}
  2.  
  3.  
  4. function isin(thing)
  5. local passed = false
  6. for _, v in pairs(ToBuff:GetChildren()) do
  7. if v == thing.Name then
  8. passed = true
  9. break
  10. end
  11. end
  12. return passed
  13. end
  14.  
  15. for _, v in pairs(game.Players.Parlus.Stats:GetChildren()) do
  16. if isin(v) then
  17. v.Value = v.Value * 2
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement