Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local LocalPlayer = Players:WaitForChild("realprohacx")
- task.wait() -- Wait until everything is LOADED
- while task.wait(0.1) do
- for _, Player in pairs(game.Players:GetPlayers()) do
- if Player ~= LocalPlayer then
- local Character = Player.Character
- if Character then
- spawn(function()
- local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
- if HumanoidRootPart then
- local TestPart = Instance.new("Part")
- TestPart.BrickColor = Player.TeamColor
- local Color = TestPart.Color
- TestPart:Destroy()
- HumanoidRootPart.Size = Vector3.new(22,22,22)
- HumanoidRootPart.CanCollide = false
- HumanoidRootPart.Transparency = 0.7
- if Player.Character:FindFirstChild("Head") and (not Player.Character:FindFirstChildOfClass("ForceField")) and Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health < 1000) then
- Player.Character.Head.Position = LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(2,0,0)
- Player.Character.Head.Anchored = true
- Player.Character.Head.CanCollide = false
- end
- if not HumanoidRootPart:FindFirstChild("_Hitbox") then
- local HitboxHighlight = Instance.new("Highlight", HumanoidRootPart)
- HitboxHighlight.Name = "_Hitbox"
- HitboxHighlight.OutlineTransparency = 1
- HitboxHighlight.FillTransparency = 0.7
- HitboxHighlight.FillColor = Color
- end
- end
- end)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement