-
-
Save diyar2137237243/2dea94730d2afcfa8cc5b24ee0e1f1db to your computer and use it in GitHub Desktop.
mtc4 script -- needs anticheat bypass but i removed from script so skids cant use it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local vehicles = game:GetService("Workspace").SpawnedVehicles | |
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/cerberus.lua"))() | |
local window = Library.new("Window") | |
local runService = game:GetService("RunService") | |
local connectionTable = {} | |
local UIS = game:GetService("UserInputService") | |
local Player = game.Players.LocalPlayer | |
local Mouse = Player:GetMouse() | |
local notifylib = loadstring(game:HttpGet("https://raw.githubusercontent.com/IceMinisterq/Notification-Library/Main/Library.lua"))() | |
window:LockScreenBoundaries(false) | |
_G.cwesp = 1, 1, 1 | |
_G.cwaesp = 1, 1, 1 | |
function _G.init() | |
notifylib:SendNotification("Warning", "Use the Color Picker before turning on any of the ESPs.", 10) | |
local tab = window:Tab("Tab") | |
local section = tab:Section("Tools") | |
local title = section:Title("Cheats") | |
title:ChangeText("Cheats") | |
local toggle = section:Toggle("ESP", function(bool) | |
for i, v in pairs(vehicles:GetChildren()) do | |
if bool then | |
if v:FindFirstChild("Highlight") then | |
return | |
else | |
local Highlight = Instance.new("Highlight") | |
local clone = Highlight:Clone() | |
clone.Parent = v | |
--clone.FillColor = Color3.fromRGB(255,255,255) | |
end | |
connectionTable.connectionLoop = runService.Heartbeat:Connect(function(step) | |
if v.Name ~= "DONOT" then | |
v.Highlight.FillColor = Color3.fromRGB(_G.cwesp[1] * 255, _G.cwesp[2] * 255, _G.cwesp[3] * 255) | |
v.Highlight.FillTransparency = 0 | |
end | |
end) | |
else | |
connectionTable.connectionLoop:Disconnect() | |
v:FindFirstChild("Highlight"):Destroy() | |
end | |
end | |
end) | |
toggle:Set(false) | |
local toggle = section:Toggle("ESP Internals", function(bool) | |
for i, v in pairs(vehicles:GetChildren()) do | |
if bool then | |
if v.Name ~= "DONOT" then | |
for i, a in pairs(v.DamageModules:GetChildren()) do | |
connectionTable.connectionLoop = runService.Heartbeat:Connect(function(step) | |
if v.Name ~= "DONOT" then | |
a.Highlight.FillColor = Color3.fromRGB(_G.cwaesp[1] * 255, _G.cwaesp[2] * 255, | |
_G.cwaesp[3] * 255) -- workspace.SpawnedVehicles["2S7"].Highlight | |
a.Highlight.FillTransparency = 0 | |
end | |
end) | |
if v.Name ~= "DONOT" then | |
if a:FindFirstChild("Highlight") then | |
return | |
else | |
local Highlight = Instance.new("Highlight") | |
local clone = Highlight:Clone() | |
clone.Parent = a | |
--clone.FillColor = Color3.fromRGB(_G.cwaesp[1]*255, _G.cwaesp[2]*255, _G.cwaesp[3]*255) | |
end | |
end | |
end | |
end | |
else | |
if v.Name ~= "DONOT" then | |
for i, a in pairs(v.DamageModules:GetChildren()) do | |
if v.Name ~= "DONOT" and a and a.Parent then | |
a:FindFirstChild("Highlight"):Destroy() | |
end | |
end | |
end | |
end | |
end | |
end) | |
toggle:Set(false) | |
local toggle = section:Toggle("Click to TP", function(bool) | |
UIS.InputBegan:Connect(function(input) | |
if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then | |
Teleport(Mouse.Hit.p) | |
end | |
end) | |
end) | |
toggle:Set(false) | |
section:Slider("Transparency", function(val) | |
for i, v in pairs(vehicles:GetChildren()) do | |
for i, a in pairs(v.DamageModules:GetChildren()) do | |
connectionTable.connectionLoop = runService.Heartbeat:Connect(function(step) | |
if v.Name ~= "DONOT" and a.Highlight and v.Highlight then | |
a.Highlight.FillTransparency = val | |
v.Highlight.FillTransparency = val | |
end | |
end) | |
end | |
end | |
end) | |
section:Button("Get Ammo", function() | |
local cd = game:GetService("Workspace").Map.ToolGivers.AmmoPallet.ClickDetector | |
fireclickdetector(cd) | |
end) | |
section:Button("Unload GUI", function() | |
_G.Unload() | |
end) | |
section:ColorWheel("ColorWheel ESP", function(color) | |
_G.cwesp = string.split(tostring(color), ",") | |
print(_G.cwesp[1], _G.cwesp[2], _G.cwesp[3]) | |
end) | |
section:ColorWheel("ColorWheel Ammo ESP", function(color) | |
_G.cwaesp = string.split(tostring(color), ",") | |
print(_G.cwaesp[1], _G.cwaesp[2], _G.cwaesp[3]) | |
end) | |
function _G.Unload() | |
for i, v in pairs(vehicles:GetChildren()) do | |
if v:FindFirstChild("Highlight") then | |
v:FindFirstChild("Highlight"):Destroy() | |
end | |
for i, v in pairs(vehicles:GetChildren()) do | |
if v.Name ~= "DONOT" then | |
for i, a in pairs(v.DamageModules:GetChildren()) do | |
if v.Name ~= "DONOT" and a and a.Parent then | |
a:FindFirstChild("Highlight"):Destroy() | |
end | |
end | |
end | |
end | |
for _, connection in pairs(connectionTable) do | |
connection:Disconnect() | |
end | |
end | |
end | |
function GetCharacter() | |
return game.Players.LocalPlayer.Character | |
end | |
function Teleport(pos) | |
local Char = GetCharacter() | |
if Char then | |
Char:MoveTo(pos) | |
end | |
end | |
end | |
_G.init() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment