Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runService = game:GetService("RunService")
- local Stepped
- Stepped =
- runService.Stepped:Connect(
- function()
- for i, v in next, game:GetService("Players"):GetPlayers() do
- if v ~= game.Players.LocalPlayer then
- if _G.Hitboxesenable == true then
- if _G.TargetHitbox == true then
- if v.Name == _G.GetTarget().Name then
- pcall(
- function()
- v.Character.HumanoidRootPart.Size = _G.RegularSize()
- v.Character.HumanoidRootPart.Transparency = _G.HitboxesTransparency
- v.Character.HumanoidRootPart.Color = _G.HitboxesColor
- v.Character.HumanoidRootPart.Material = _G.HitboxesMaterial
- end
- )
- else
- pcall(
- function()
- v.Character.HumanoidRootPart.Size = Vector3.new(2, 2, 1)
- v.Character.HumanoidRootPart.Transparency = 1
- end
- )
- end
- else
- pcall(
- function()
- v.Character.HumanoidRootPart.Size = _G.RegularSize()
- v.Character.HumanoidRootPart.Transparency = _G.HitboxesTransparency
- v.Character.HumanoidRootPart.Color = _G.HitboxesColor
- v.Character.HumanoidRootPart.Material = _G.HitboxesMaterial
- end
- )
- end
- else
- pcall(
- function()
- v.Character.HumanoidRootPart.Size = Vector3.new(2, 2, 1)
- v.Character.HumanoidRootPart.Transparency = 1
- end
- )
- end
- end
- end
- end
- )
Add Comment
Please, Sign In to add comment