Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. function getplrsname()
  2. for i,v in pairs(game:GetChildren()) do
  3. if v.ClassName == "Players" then
  4. return v.Name
  5. end
  6. end
  7. end
  8. local players = getplrsname()
  9. local plr = game[players].LocalPlayer
  10. coroutine.resume(coroutine.create(function()
  11. while wait(1) do
  12. coroutine.resume(coroutine.create(function()
  13. for _,v in pairs(game[players]:GetPlayers()) do
  14. if v.Name ~= plr.Name and v.Character then
  15. v.Character.RightUpperLeg.CanCollide = false
  16. v.Character.RightUpperLeg.Transparency = 10
  17. v.Character.RightUpperLeg.Size = Vector3.new(11,11,11)
  18.  
  19. v.Character.LeftUpperLeg.CanCollide = false
  20. v.Character.LeftUpperLeg.Transparency = 10
  21. v.Character.LeftUpperLeg.Size = Vector3.new(11,11,11)
  22.  
  23. v.Character.HeadHB.CanCollide = false
  24. v.Character.HeadHB.Transparency = 10
  25. v.Character.HeadHB.Size = Vector3.new(11,11,11)
  26.  
  27. v.Character.HumanoidRootPart.CanCollide = false
  28. v.Character.HumanoidRootPart.Transparency = 10
  29. v.Character.HumanoidRootPart.Size = Vector3.new(11,11,11)
  30.  
  31. end
  32. end
  33. end))
  34. end
  35. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement