ADVERTISEMENTREMOVE ADS
Game icon

Hitbox Expander, ESP Chams, BHop script

Script preview thumbnail
Script Preview

Description

Hitbox expander, esp chams and bhop script for Typical Colors 2, TC2. Set up config inside script code

Features:

  • hitbox expander
  • esp
  • chams
  • bhop
  • bunny hop
ADVERTISEMENTREMOVE ADS
116 Lines • 4.35 KiB
Raw
-- Typical Colors 2 Hitbox Expander script, Chams, Bunny Hop - Made for solara skids, by FishhHvH
-- For actually good TC2 scripts, join the discord
-- CONFIG --
local HBEPlayerSize = 15 -- The size of the hitboxes
local ExpandableHitboxes = {"HeadHB", "Hitbox"} -- The hitboxes that should be expanded
local IgnoreInvis = false -- Whether to ignore invisible agents or not
------------
local Players = cloneref(game:GetService("Players"))
local LocalPlayer = Players.LocalPlayer
local CoreGui = gethui() or cloneref(game:GetService('CoreGui'))
local RepStorage = cloneref(game:GetService("ReplicatedStorage"))
local function ExpandPart(part, size, transparency)
if part then
part.Massless = true
part.CanCollide = false
part.Transparency = transparency
part.Size = size
end
end
task.spawn(function()
while task.wait(0.5) do -- If you are lagging, increase the wait duration. However you might experience visual glitches with agents if you increase this value too much
for i, v in Players:GetPlayers() do
local Character = v.Character
if Character then
if v.Team ~= LocalPlayer.Team and (IgnoreInvis or Character["Head"].Transparency < .9) then
for j,k in ExpandableHitboxes do
local Actual = Character:FindFirstChild(k)
if Actual then
ExpandPart(Actual, Vector3.one * HBEPlayerSize, 1)
end
end
else
ExpandPart(Character:FindFirstChild("HeadHB"), Vector3.new(2, 2, 2), 1)
ExpandPart(Character:FindFirstChild("Hitbox"), Vector3.new(5.59, 5.175, 5.175), 1)
end
end
end
end
end)
RepStorage.VIPSettings.SpeedDemon.Value = true -- Woah so sigma bhop code
pcall(function() -- Removing unnecessary highlights
local function RemoveShit(shit)
if shit then
shit:Destroy()
end
end
RemoveShit(LocalPlayer.PlayerGui.GUI.LocalEvents.DiceClient:FindFirstChild("EvilHighlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Agent:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Annihilator:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Arsonist:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Brute:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Doctor:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Flanker:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Marksman:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Mechanic:FindFirstChild("Highlight"))
RemoveShit(RepStorage.Other.ScaryMonsters.Trooper:FindFirstChild("Highlight"))
end)
local Highlights = {}
for i,Player in pairs(Players:GetPlayers()) do
task.spawn(function()
if Player == LocalPlayer then return end
repeat task.wait() until Player.Character
Highlights[Player.Name] = Instance.new("Highlight")
Highlights[Player.Name].Adornee = Player.Character
Highlights[Player.Name].Parent = CoreGui
Highlights[Player.Name].Enabled = true
Highlights[Player.Name].FillColor = Player.TeamColor.Color
Highlights[Player.Name].OutlineColor = Color3.fromRGB(255, 255, 255)
Highlights[Player.Name].FillTransparency = 0.4
Highlights[Player.Name].OutlineTransparency = 0.5
Player:GetPropertyChangedSignal("Team"):Connect(function()
Highlights[Player.Name].FillColor = Player.TeamColor.Color
end)
end)
end
Players.PlayerAdded:Connect(function(Player)
repeat task.wait() until Player.Character
if Player == LocalPlayer then return end
Highlights[Player.Name] = Instance.new("Highlight")
Highlights[Player.Name].Adornee = Player.Character
Highlights[Player.Name].Parent = CoreGui
Highlights[Player.Name].Enabled = true
Highlights[Player.Name].FillColor = Player.TeamColor.Color
Highlights[Player.Name].OutlineColor = Color3.fromRGB(255, 255, 255)
Highlights[Player.Name].FillTransparency = 0.4
Highlights[Player.Name].OutlineTransparency = 0.5
Player:GetPropertyChangedSignal("Team"):Connect(function()
Highlights[Player.Name].FillColor = Player.TeamColor.Color
end)
end)
Players.PlayerRemoving:Connect(function(Player)
if Highlights[Player.Name] then
Highlights[Player.Name]:Destroy()
Highlights[Player.Name] = nil
end
end)
game:GetService("StarterGui"):SetCore("SendNotification",{
Title = "TC2 Hitbox Expander";
Text = "Made by FishhHvH";
Duration = 5;
Button1 = "OK"
})
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS