Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- getgenv().HitboxSize = 7 -- Valor inicial
- getgenv().HitboxTransparency = 1
- getgenv().HitboxStatus = true -- Ativado por padrão
- -- Removendo a função onChat e a conexão com o evento Chatted
- -- player.Chatted:Connect(onChat)
- game:GetService('RunService').RenderStepped:connect(function()
- if getgenv().HitboxStatus then
- for i,v in next, Players:GetPlayers() do
- if v.Name ~= player.Name then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(getgenv().HitboxSize, getgenv().HitboxSize, getgenv().HitboxSize)
- v.Character.HumanoidRootPart.Transparency = getgenv().HitboxTransparency
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black")
- v.Character.HumanoidRootPart.Material = "Neon"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- else
- for i,v in next, Players:GetPlayers() do
- if v.Name ~= player.Name then
- pcall(function()
- v.Character.HumanoidRootPart.Size = Vector3.new(2,2,1)
- v.Character.HumanoidRootPart.Transparency = 1
- v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Medium stone grey")
- v.Character.HumanoidRootPart.Material = "Plastic"
- v.Character.HumanoidRootPart.CanCollide = false
- end)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement