Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Function
- function getplrsname()
- for i,v in pairs(game:GetChildren()) do
- if v.ClassName == "Players" then
- return v.Name
- end
- end
- end
- -- Variables
- local players = getplrsname()
- local plr = game[players].LocalPlayer
- -- Settings
- Transparency = 1
- -- Code
- coroutine.resume(coroutine.create(function()
- while wait(1) do
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(game[players]:GetPlayers()) do
- if v.Name ~= plr.Name and v.Character then
- v.Character.RightUpperLeg.CanCollide = false
- v.Character.RightUpperLeg.Transparency = Transparency
- v.Character.RightUpperLeg.Size = Vector3.new(13,13,13)
- v.Character.LeftUpperLeg.CanCollide = false
- v.Character.LeftUpperLeg.Transparency = Transparency
- v.Character.LeftUpperLeg.Size = Vector3.new(13,13,13)
- v.Character.HeadHB.CanCollide = false
- v.Character.HeadHB.Transparency = Transparency
- v.Character.HeadHB.Size = Vector3.new(13,13,13)
- v.Character.HumanoidRootPart.CanCollide = false
- v.Character.HumanoidRootPart.Transparency = Transparency
- v.Character.HumanoidRootPart.Size = Vector3.new(13,13,13)
- end
- end
- end))
- end
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement