Advertisement
dahpiglz

Untitled

Nov 13th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character
  3.  
  4. while true do
  5. wait(0.01)
  6. for i,v in pairs(game.Workspace:GetChildren()) do
  7. if v:FindFirstChild("Humanoid") ~= nil then
  8. if v ~= character then
  9. for i,w in pairs(v:GetChildren()) do
  10. if w.ClassName == ("LocalScript") then
  11. if w:FindFirstChild("Taken") == nil then
  12. print(w.Name)
  13.  
  14. local m = Instance.new("BoolValue")
  15. m.Name = ("Taken")
  16. m.Parent = w
  17.  
  18. local s = w:Clone()
  19. s.Parent = character
  20. s.Disabled = false
  21. end
  22. end
  23. end
  24. end
  25. end
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement