Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("a")
- function getplrsname()
- for i,v in pairs(game:GetChildren()) do
- if v.ClassName == "Players" then
- return v.Name
- end
- end
- end
- local players = getplrsname()
- local plr = game[players].LocalPlayer
- local player2 = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- 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.Head.CanCollide = false
- v.Character.Head.Color = Color3.fromRGB(0,255,0)
- v.Character.Head.Material = "Neon"
- v.Character.Head.Size = Vector3.new(6.1,6.1,6.1) --this is the max
- end
- end
- end))
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "g" or key:upper() == "G" then
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(game[players]:GetPlayers()) do
- if v.Name ~= plr.Name and v.Character then
- v.Character.Head.CanCollide = true
- v.Character.Head.Color = Color3.fromRGB(0,255,0)
- v.Character.Head.Material = "Plastic"
- v.Character.Head.Size = Vector3.new(6.1,6.1,6.1)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement