Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/AqZYACS7", true))()
- local mouse = game.Players.LocalPlayer:GetMouse()
- local SetNitro
- local Plrs = game:GetService("Players")
- local Run = game:GetService("RunService")
- local CoreGui = game:GetService("CoreGui")
- local StartGui = game:GetService("StarterGui")
- local Teams = game:GetService("Teams")
- local UserInput = game:GetService("UserInputService")
- local Light = game:GetService("Lighting")
- local HTTP = game:GetService("HttpService")
- local RepStor = game:GetService("ReplicatedStorage")
- function GetCamera() -- Just in case some game renames the player's camera.
- return workspace:FindFirstChildOfClass("Camera")
- end
- local MyPlr = Plrs.LocalPlayer
- local MyChar = MyPlr.Character
- local MyMouse = MyPlr:GetMouse()
- local MyCam = GetCamera()
- if MyCam == nil then
- return
- end
- local Tracers = Instance.new("Folder", MyCam)
- Tracers.Name = "Tracers"
- local TracerData = { }
- local TracerMT = setmetatable(TracerData, {
- __newindex = function(tab, index, val)
- rawset(tab, index, val)
- end
- })
- local ChamsFolder = Instance.new("Folder", CoreGui)
- ChamsFolder.Name = "Chams"
- local PlayerChams = Instance.new("Folder", ChamsFolder)
- PlayerChams.Name = "PlayerChams"
- local ItemChams = Instance.new("Folder", ChamsFolder)
- ItemChams.Name = "ItemChams"
- local visuals = library:CreateWindow({
- text = "Visuals"
- })
- local character = library:CreateWindow({
- text = "Character"
- })
- local miscellaneous = library:CreateWindow({
- text = "Miscellaneous"
- })
- local changelog = library:CreateWindow({
- text = "View Changelog"
- })
- local settings = {
- infdonut = false;
- noclip = false;
- clickdelete = false;
- CHAMSEnabled = false,
- CHAMSLength = 500,
- MobChams = false,
- vis = true;
- walkspeed = false;
- togglekey = "Enum.UserInputType.Q";
- gravitykey = "Enum.UserInputType.L";
- TracersEnabled = false; -- Self explanatory. LEAVE OFF BY DEFAULT.
- TracersLength = 500; -- MAX DISTANCE IS 2048 DO NOT GO ABOVE OR YOU'LL ENCOUNTER PROBLEMS.
- PlaceTracersUnderCharacter = false;
- Blacklist = { };
- FriendList = { };
- Colors = {
- Enemy = Color3.new(1, 0, 0),
- Ally = Color3.new(0, 1, 0),
- Friend = Color3.new(1, 1, 0),
- Neutral = Color3.new(1, 1, 1),
- Crosshair = Color3.new(1, 0, 0),
- ColorOverride = nil, -- Every player will have the chosen color regardless of enemy or ally.
- };
- CharAddedEvent = { };
- Mob_ESP_CHAMS_Ran_Once = false;
- }
- local credits = library:CreateWindow({text='Credits'})
- credits:AddLabel("Credits\nInori: Dragging\nwally: UI\nCustomality: being epik\nSmail: Ideas")
- if settings.TracersLength > 2048 then
- settings.TracersLength = 2048
- end
- if settings.CHAMSLength > 2048 then
- settings.CHAMSLength = 2048
- end
- function FindCham(Obj)
- for i, v in next, ItemChams:GetChildren() do
- if v.className == "ObjectValue" then
- if v.Value == Obj then
- return v.Parent
- end
- end
- end
- return nil
- end
- function UpdateChams(Obj)
- if Obj == nil then return end
- if Obj:IsA("Player") then
- local Find = PlayerChams:FindFirstChild(Obj.Name)
- local GetChar = Obj.Character
- local Trans = 0
- if GetChar and MyChar then
- local GetHead = GetChar:FindFirstChild("Head")
- local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
- local MyHead = MyChar:FindFirstChild("Head")
- local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
- if GetHead and GetTor and MyHead and MyTor then
- if (MyTor.Position - GetTor.Position).magnitude > settings.CHAMSLength or settings.Blacklist[Obj.Name] then
- Trans = 1
- else
- --local MyCharStuff = MyChar:GetDescendants()
- local Ray = Ray.new(MyCam.CFrame.p, (GetTor.Position - MyCam.CFrame.p).unit * 2048)
- local part = workspace:FindPartOnRayWithIgnoreList(Ray, {MyChar})
- if part ~= nil then
- if part:IsDescendantOf(GetChar) then
- Trans = 0.9
- else
- Trans = 0
- end
- end
- end
- end
- end
- if Find then
- for i, v in next, Find:GetChildren() do
- if v.className ~= "ObjectValue" then
- v.Color3 = GetTeamColor(Obj) or settings.Colors.Neutral
- v.Transparency = Trans
- end
- end
- end
- end
- end
- function RemoveChams(Obj)
- if Obj ~= nil then
- local IsPlr = Obj:IsA("Player")
- local UseFolder = ItemChams
- if IsPlr then UseFolder = PlayerChams end
- local FindC = UseFolder:FindFirstChild(tostring(Obj)) or FindCham(Obj)
- if FindC then
- FindC:Destroy()
- end
- end
- end
- function CreateChams(Obj)
- if Obj ~= nil then
- local IsPlr = Obj:IsA("Player")
- local UseFolder = ItemChams
- local Crap = nil
- local GetTor = nil
- local t = tick()
- if IsPlr then
- Obj = Obj.Character
- UseFolder = PlayerChams
- end
- if Obj == nil then return end
- GetTor = Obj:FindFirstChild("HumanoidRootPart") or Obj:WaitForChild("HumanoidRootPart")
- if IsPlr then Crap = Obj:GetChildren() else Crap = Obj:GetDescendants() end
- local FindC = ((IsPlr) and UseFolder:FindFirstChild(Obj.Name)) or FindCham(Obj)
- if not FindC then
- FindC = Instance.new("Folder", UseFolder)
- FindC.Name = Obj.Name
- local ObjVal = Instance.new("ObjectValue", FindC)
- ObjVal.Value = Obj
- end
- for _, P in next, Crap do
- if P:IsA("PVInstance") and P.Name ~= "HumanoidRootPart" then
- local Box = Instance.new("BoxHandleAdornment")
- Box.Size = GetSizeOfObject(P)
- Box.Name = "Cham"
- Box.Adornee = P
- Box.AlwaysOnTop = true
- Box.ZIndex = 5
- Box.Transparency = 0
- Box.Color3 = ((IsPlr) and GetTeamColor(Plrs:GetPlayerFromCharacter(Obj))) or settings.Colors.Neutral
- Box.Parent = FindC
- end
- end
- end
- end
- function CreateMobESPChams()
- local mobspawn = { }
- for i, v in next, workspace:GetDescendants() do
- local hum = v:FindFirstChildOfClass("Humanoid")
- if hum and not Plrs:GetPlayerFromCharacter(hum.Parent) and FindCham(v) == nil and FindESP(v) == nil then
- mobspawn[tostring(v.Parent)] = v.Parent
- if settings.CHAMSEnabled and settings.MobChams then
- CreateChams(v)
- end
- if settings.ESPEnabled and settings.MobESP then
- CreateESP(v)
- end
- end
- end
- if settings.Mob_ESP_CHAMS_Ran_Once == false then
- for i, v in next, mobspawn do
- v.ChildAdded:connect(function(Obj)
- if settings.MobChams then
- local t = tick()
- local GetHum = Obj:FindFirstChildOfClass("Humanoid")
- if GetHum == nil then
- repeat
- GetHum = Obj:FindFirstChildOfClass("Humanoid")
- wait()
- until GetHum ~= nil or (tick() - t) >= 10
- end
- if GetHum == nil then return end
- CreateChams(Obj)
- end
- if settings.MobESP then
- local t = tick()
- local GetHum = Obj:FindFirstChildOfClass("Humanoid")
- if GetHum == nil then
- repeat
- GetHum = Obj:FindFirstChildOfClass("Humanoid")
- wait()
- until GetHum ~= nil or (tick() - t) >= 10
- end
- if GetHum == nil then return end
- CreateESP(Obj)
- end
- end)
- end
- settings.Mob_ESP_CHAMS_Ran_Once = true
- end
- end
- function GetSizeOfObject(Obj)
- if Obj:IsA("BasePart") then
- return Obj.Size
- elseif Obj:IsA("Model") then
- return Obj:GetExtentsSize()
- end
- end
- function GetTeamColor(Plr)
- if Plr == nil then return nil end
- if not Plr:IsA("Player") then
- return nil
- end
- local PickedColor = settings.Colors.Enemy
- if Plr ~= nil then
- if game.PlaceId == 606849621 then
- if settings.Colors.ColorOverride == nil then
- if not settings.FreeForAll then
- if MyPlr.Team ~= nil and Plr.Team ~= nil then
- if settings.FriendList[Plr.Name] == nil then
- if MyPlr.Team.Name == "Prisoner" then
- if Plr.Team == MyPlr.Team or Plr.Team.Name == "Criminal" then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Enemy
- end
- elseif MyPlr.Team.Name == "Criminal" then
- if Plr.Team == MyPlr.Team or Plr.Team.Name == "Prisoner" then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Enemy
- end
- elseif MyPlr.Team.Name == "Police" then
- if Plr.Team == MyPlr.Team then
- PickedColor = settings.Colors.Ally
- else
- if Plr.Team.Name == "Criminal" then
- PickedColor = settings.Colors.Enemy
- elseif Plr.Team.Name == "Prisoner" then
- PickedColor = settings.Colors.Neutral
- end
- end
- end
- else
- PickedColor = settings.Colors.Friend
- end
- end
- else
- if settings.FriendList[Plr.Name] ~= nil then
- PickedColor = settings.Colors.Friend
- else
- PickedColor = settings.Colors.Enemy
- end
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- elseif game.PlaceId == 155615604 then
- if settings.Colors.ColorOverride == nil then
- if MyPlr.Team ~= nil and Plr.Team ~= nil then
- if settings.FriendList[Plr.Name] == nil then
- if MyPlr.Team.Name == "Inmates" then
- if Plr.Team.Name == "Inmates" then
- PickedColor = settings.Colors.Ally
- elseif Plr.Team.Name == "Guards" or Plr.Team.Name == "Criminals" then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Neutral
- end
- elseif MyPlr.Team.Name == "Guards" then
- if Plr.Team.Name == "Inmates" then
- PickedColor = settings.Colors.Neutral
- elseif Plr.Team.Name == "Criminals" then
- PickedColor = settings.Colors.Enemy
- elseif Plr.Team.Name == "Guards" then
- PickColor = settings.Colors.Ally
- end
- elseif MyPlr.Team.Name == "Criminals" then
- if Plr.Team.Name == "Inmates" then
- PickedColor = settings.Colors.Ally
- elseif Plr.Team.Name == "Guards" then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Neutral
- end
- end
- else
- PickedColor = settings.Colors.Friend
- end
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- elseif game.PlaceId == 746820961 then
- if settings.Colors.ColorOverride == nil then
- if MyPlr:FindFirstChild("TeamC") and Plr:FindFirstChild("TeamC") then
- if Plr.TeamC.Value == MyPlr.TeamC.Value then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Enemy
- end
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- elseif game.PlaceId == 1382113806 then
- if settings.Colors.ColorOverride == nil then
- if MyPlr:FindFirstChild("role") and Plr:FindFirstChild("role") then
- if MyPlr.role.Value == "assassin" then
- if Plr.role.Value == "target" then
- PickedColor = settings.Colors.Enemy
- elseif Plr.role.Value == "guard" then
- PickedColor = Color3.new(1, 135 / 255, 0)
- else
- PickedColor = settings.Colors.Neutral
- end
- elseif MyPlr.role.Value == "target" then
- if Plr.role.Value == "guard" then
- PickedColor = settings.Colors.Ally
- elseif Plr.role.Value == "assassin" then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Neutral
- end
- elseif MyPlr.role.Value == "guard" then
- if Plr.role.Value == "target" then
- PickedColor = settings.Colors.Friend
- elseif Plr.role.Value == "guard" then
- PickedColor = settings.Colors.Ally
- elseif Plr.role.Value == "assassin" then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Neutral
- end
- else
- if MyPlr.role.Value == "none" then
- PickedColor = settings.Colors.Neutral
- end
- end
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- elseif game.PlaceId == 1072809192 then
- if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
- if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
- if Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = Color3.new(1, 135 / 255, 0)
- end
- elseif MyPlr.Backpack:FindFirstChild("Revolver") or MyChar:FindFirstChild("Revolver") then
- if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
- PickedColor = settings.Colors.Enemy
- elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Ally
- end
- else
- if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
- PickedColor = settings.Colors.Enemy
- elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Neutral
- end
- end
- end
- elseif game.PlaceId == 142823291 or game.PlaceId == 1122507250 then
- if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
- if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
- if (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = Color3.new(1, 135 / 255, 0)
- end
- elseif (MyPlr.Backpack:FindFirstChild("Gun") or MyPlr.Backpack:FindFirstChild("Revolver")) or (MyChar:FindFirstChild("Gun") or MyChar:FindFirstChild("Revolver")) then
- if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Ally
- end
- else
- if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
- PickedColor = settings.Colors.Enemy
- elseif (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Neutral
- end
- end
- end
- elseif game.PlaceId == 379614936 then
- if settings.Colors.ColorOverride == nil then
- if not settings.FriendList[Plr.Name] then
- local targ = MyPlr:FindFirstChild("PlayerGui"):FindFirstChild("ScreenGui"):FindFirstChild("UI"):FindFirstChild("Target"):FindFirstChild("Img"):FindFirstChild("PlayerText")
- if targ then
- if Plr.Name:lower() == targ.Text:lower() then
- PickedColor = settings.Colors.Enemy
- else
- PickedColor = settings.Colors.Neutral
- end
- else
- PickedColor = settings.Colors.Neutral
- end
- else
- PickedColor = settings.Colors.Friend
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- elseif game.PlaceId == 983224898 then
- if (tick() - wildrevolvertick) > 10 or wildrevolverteamdata == nil then
- wildrevolverteamdata = RepStor.Functions.RequestGameData:InvokeServer()
- wildrevolvertick = tick()
- return settings.Colors.Neutral
- end
- local succ = pcall(function()
- if wildrevolverteamdata[Plr.Name] ~= nil then
- if settings.Colors.ColorOverride == nil then
- if not settings.FriendList[Plr.Name] then
- if wildrevolverteamdata[Plr.Name]["TeamName"] == wildrevolverteamdata[MyPlr.Name]["TeamName"] then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Enemy
- end
- else
- PickedColor = settings.Colors.Friend
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- else
- PickedColor = settings.Colors.Neutral
- end
- end)
- if not succ then
- wildrevolverteamdata = RepStor.Functions.RequestGameData:InvokeServer()
- wildrevolvertick = tick()
- return settings.Colors.Neutral
- end
- else
- if settings.Colors.ColorOverride == nil then
- if not settings.FreeForAll then
- if MyPlr.Team ~= Plr.Team and not settings.FriendList[Plr.Name] then
- PickedColor = settings.Colors.Enemy
- elseif MyPlr.Team == Plr.Team and not settings.FriendList[Plr.Name] then
- PickedColor = settings.Colors.Ally
- else
- PickedColor = settings.Colors.Friend
- end
- else
- if settings.FriendList[Plr.Name] ~= nil then
- PickedColor = settings.Colors.Friend
- else
- PickedColor = settings.Colors.Enemy
- end
- end
- else
- PickedColor = settings.Colors.ColorOverride
- end
- end
- end
- return PickedColor
- end
- function UpdateTracer(Plr)
- if settings.TracersEnabled then
- if MyChar then
- local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
- local GetTor = TracerData[Plr.Name]
- if MyTor and GetTor ~= nil and GetTor.Parent ~= nil then
- local Dist = (MyTor.Position - GetTor.Position).magnitude
- if (Dist < settings.TracersLength and not settings.Blacklist[Plr.Name]) and not (MyChar:FindFirstChild("InVehicle") or GetTor.Parent:FindFirstChild("InVehicle")) then
- if not settings.PlaceTracersUnderCharacter then
- local R = MyCam:ScreenPointToRay(MyCam.ViewportSize.X / 2, MyCam.ViewportSize.Y, 0)
- Dist = (R.Origin - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
- Tracers[Plr.Name].Transparency = 1
- Tracers[Plr.Name].Size = Vector3.new(0.05, 0.05, Dist)
- Tracers[Plr.Name].CFrame = CFrame.new(R.Origin, (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
- Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
- Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
- Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.001, 0.001, Dist)
- Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
- else
- Dist = (MyTor.Position - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
- Tracers[Plr.Name].Transparency = 1
- Tracers[Plr.Name].Size = Vector3.new(0.3, 0.3, Dist)
- Tracers[Plr.Name].CFrame = CFrame.new(MyTor.Position - Vector3.new(0, 3, 0), (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
- Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
- Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
- Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.05, 0.05, Dist)
- Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
- end
- else
- Tracers[Plr.Name].Transparency = 1
- Tracers[Plr.Name].BoxHandleAdornment.Transparency = 1
- end
- end
- end
- end
- end
- function RemoveTracers(Plr)
- local Find = Tracers:FindFirstChild(Plr.Name)
- if Find then
- Find:Destroy()
- end
- end
- function walkspeed()
- if settings.walkspeed == true then
- _G.WS = 100;
- local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
- Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
- Humanoid.WalkSpeed = _G.WS;
- end)
- Humanoid.WalkSpeed = _G.WS;
- elseif settings.walkspeed == false then
- _G.WS = 20;
- local Humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid;
- Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
- Humanoid.WalkSpeed = _G.WS;
- end)
- Humanoid.WalkSpeed = _G.WS;
- end
- end
- function CreateTracers(Plr)
- local Find = Tracers:FindFirstChild(Plr.Name)
- if not Find then
- local P = Instance.new("Part")
- P.Name = Plr.Name
- P.Material = "Neon"
- P.Transparency = 1
- P.Anchored = true
- P.Locked = true
- P.CanCollide = false
- local B = Instance.new("BoxHandleAdornment", P)
- B.Adornee = P
- B.Size = GetSizeOfObject(P)
- B.AlwaysOnTop = true
- B.ZIndex = 5
- B.Transparency = 0
- B.Color3 = GetTeamColor(Plr) or settings.Colors.Neutral
- P.Parent = Tracers
- coroutine.resume(coroutine.create(function()
- while Tracers:FindFirstChild(Plr.Name) do
- UpdateTracer(Plr)
- Run.RenderStepped:wait()
- end
- end))
- end
- end
- Plrs.PlayerAdded:connect(function(Plr)
- if settings.CharAddedEvent[Plr.Name] == nil then
- settings.CharAddedEvent[Plr.Name] = Plr.CharacterAdded:connect(function(Char)
- if settings.TracersEnabled then
- CreateTracers(Plr)
- end
- repeat wait() until Char:FindFirstChild("HumanoidRootPart")
- TracerMT[Plr.Name] = Char.HumanoidRootPart
- end)
- end
- end)
- Plrs.PlayerRemoving:connect(function(Plr)
- if settings.CharAddedEvent[Plr.Name] ~= nil then
- settings.CharAddedEvent[Plr.Name]:Disconnect()
- settings.CharAddedEvent[Plr.Name] = nil
- end
- RemoveTracers(Plr)
- TracerMT[Plr.Name] = nil
- end)
- visuals:AddToggle("ESP", function(state)
- settings.CHAMSEnabled = not settings.CHAMSEnabled
- if settings.CHAMSEnabled then
- for _, v in next, Plrs:GetPlayers() do
- if v ~= MyPlr then
- if settings.CharAddedEvent[v.Name] == nil then
- settings.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
- if settings.CHAMSEnabled then
- RemoveChams(v)
- CreateChams(v)
- end
- repeat wait() until Char:FindFirstChild("HumanoidRootPart")
- TracerMT[v.Name] = Char.HumanoidRootPart
- end)
- end
- RemoveChams(v)
- CreateChams(v)
- end
- end
- CreateMobESPChams()
- else
- PlayerChams:ClearAllChildren()
- ItemChams:ClearAllChildren()
- end
- end)
- visuals:AddToggle("Tracers", function(state)
- settings.TracersEnabled = not settings.TracersEnabled
- if settings.TracersEnabled then
- for _, v in next, Plrs:GetPlayers() do
- if v ~= MyPlr then
- if settings.CharAddedEvent[v.Name] == nil then
- settings.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
- if settings.TracersEnabled then
- RemoveTracers(v)
- CreateTracers(v)
- end
- end)
- end
- if v.Character ~= nil then
- local Tor = v.Character:FindFirstChild("HumanoidRootPart")
- if Tor then
- TracerMT[v.Name] = Tor
- end
- end
- RemoveTracers(v)
- CreateTracers(v)
- end
- end
- else
- for _, v in next, Plrs:GetPlayers() do
- RemoveTracers(v)
- end
- end
- end)
- visuals:AddToggle("FullBright", function(state)
- if state then
- game.Lighting.Brightness = 5
- else
- game.Lighting.Brightness = 2
- end
- end)
- character:AddToggle("Super Speed", function()
- if settings.walkspeed == false then
- settings.walkspeed = true
- walkspeed()
- else
- settings.walkspeed = false
- walkspeed()
- end
- end)
- character:AddToggle("Noclip", function(state)
- if state then
- local function NoclipLoop()
- if settings.noclip == false and game.Players.LocalPlayer.Character ~= nil then
- for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if child:IsA("BasePart") and child.CanCollide == true then
- child.CanCollide = false
- end
- end
- end
- end
- Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
- else
- if Noclipping then
- Noclipping:Disconnect()
- end
- end
- end)
- character:AddButton("Jump", function(state)
- game.Players.LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
- wait()
- game.Players.LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Seated")
- end)
- character:AddButton("Reset", function()
- game:GetService("Players").LocalPlayer.Character.Humanoid.Health = 0;
- end)
- miscellaneous:AddToggle("Low Gravity", function(state)
- if state then
- game:GetService("Workspace").Gravity = 50
- else
- game:GetService("Workspace").Gravity = 196
- end
- end)
- miscellaneous:AddToggle("Infinite Nitro", function(state)
- if state then
- local playergui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local nitro = playergui.MainGui.Nitro
- local pguin = playergui.ProductGui.Nitro
- local pgui = playergui.ProductGui
- nitro.Name = "L"
- pguin.Name = "NitroLocked"
- local new = Instance.new("Model", pgui)
- new.Name = "Nitro"
- else
- local playergui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local nitro = playergui.MainGui:FindFirstChild("L")
- local pguin = playergui.ProductGui:FindFirstChild("NitroLocked")
- local pguin2 = playergui.ProductGui:FindFirstChild("Nitro")
- local pgui = playergui.ProductGui
- nitro.Name = "Nitro"
- pugin2:Remove()
- pguin.Name = "Nitro"
- --local new = Instance.new("Model", pgui)
- --new.Name = "Nitro"
- end
- end)
- miscellaneous:AddToggle("Infinite Ammo", function(state)
- if state then
- for I,V in pairs(getreg()) do
- if type(V) == "function" and islclosure(V) then
- for I2,V2 in pairs(debug.getupvalues(V)) do
- if type(V2) == "table" and rawget(V2, "AmmoCurrent") then
- V2.AmmoCurrent = math.huge
- end
- if type(V2) == "table" and rawget(V2, "Pistol") then
- for I3,V3 in pairs(V2) do
- if rawget(V3, "FireFreq") then
- V3.MagSize = math.huge
- end
- end
- end
- end
- end
- end
- else
- for I,V in pairs(getreg()) do
- if type(V) == "function" and islclosure(V) then
- for I2,V2 in pairs(debug.getupvalues(V)) do
- if type(V2) == "table" and rawget(V2, "AmmoCurrent") then
- V2.AmmoCurrent = 500
- end
- if type(V2) == "table" and rawget(V2, "Pistol") then
- for I3,V3 in pairs(V2) do
- if rawget(V3, "FireFreq") then
- V3.MagSize = 500
- end
- end
- end
- end
- end
- end
- end
- end)
- miscellaneous:AddToggle("RapidFire", function(state)
- if state then
- for I,V in pairs(getreg()) do
- if type(V) == "function" and islclosure(V) then
- for I2,V2 in pairs(debug.getupvalues(V)) do
- if type(V2) == "table" and rawget(V2, "Pistol") then
- for I3,V3 in pairs(V2) do
- if rawget(V3, "FireFreq") then
- V3.FireFreq = math.huge
- V3.CamShakeMagnitude = 1
- V3.FireAuto = true
- end
- end
- end
- end
- end
- end
- else
- for I,V in pairs(getreg()) do
- if type(V) == "function" and islclosure(V) then
- for I2,V2 in pairs(debug.getupvalues(V)) do
- if type(V2) == "table" and rawget(V2, "Pistol") then
- for I3,V3 in pairs(V2) do
- if rawget(V3, "FireFreq") then
- V3.FireFreq = 5
- V3.CamShakeMagnitude = 10
- V3.FireAuto = false
- end
- end
- end
- end
- end
- end
- end
- end)
- miscellaneous:AddToggle("Infinite Donuts", function(state)
- if settings.infdonut == false then
- settings.infdonut = true
- while wait() do
- game:GetService("Workspace").TouchTrigger.Donut.Position = game.Players.LocalPlayer.Character.Head.Position
- wait(0.1)
- game:GetService("Workspace").TouchTrigger.Donut.Position = Vector3.new(-316, 396, -926)
- if settings.infdonut == false then
- break
- end
- end
- else
- settings.infdonut = false
- end
- end)
- miscellaneous:AddToggle("Click Delete", function(state)
- if settings.clickdelete == false then
- settings.clickdelete = true
- else
- settings.clickdelete = false
- end
- end)
- miscellaneous:AddButton("Spawn M4A1", function()
- local hit = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a = Instance.new("Part", workspace)
- a.Anchored = true
- a.Position = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a.CanCollide = false
- for i, v in pairs(game:GetService("Workspace").Givers:GetChildren()) do
- if v.Name == "Station" then
- for a, b in pairs(v:GetChildren()) do
- if b:IsA("StringValue") then
- if b.Value == "RifleSWAT" then
- v.CFrame = CFrame.new(hit)
- end
- end
- end
- end
- end
- end)
- miscellaneous:AddButton("Spawn Shotgun", function()
- local hit = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a = Instance.new("Part", workspace)
- a.Anchored = true
- a.Position = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a.CanCollide = false
- for i, v in pairs(game:GetService("Workspace").Givers:GetChildren()) do
- if v.Name == "Station" then
- for a, b in pairs(v:GetChildren()) do
- if b:IsA("StringValue") then
- if b.Value == "Shotgun" then
- v.CFrame = CFrame.new(hit)
- end
- end
- end
- end
- end
- end)
- miscellaneous:AddButton("Spawn Pistol", function()
- local hit = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a = Instance.new("Part", workspace)
- a.Anchored = true
- a.Position = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,0,-3)
- a.CanCollide = false
- for i, v in pairs(game:GetService("Workspace").Givers:GetChildren()) do
- if v.Name == "Station" then
- for a, b in pairs(v:GetChildren()) do
- if b:IsA("StringValue") then
- if b.Value == "Pistol" then
- v.CFrame = CFrame.new(hit)
- end
- end
- end
- end
- end
- end)
- miscellaneous:AddButton("Fast Vehicles", function()
- dir = 0
- gs = game.GetService
- gs(game,"RunService").RenderStepped:connect(function()
- for i,v in next,workspace.Vehicles:children() do
- if v.Name ~= "Heli" then
- if v:FindFirstChild("Engine") then
- local bf,cf = v.Engine:FindFirstChild("NewForce"),v:GetPrimaryPartCFrame().lookVector
- if not bf then
- bf = v.Engine:FindFirstChild("BodyForce") or v.Engine:FindFirstChild("VectorForce")
- if bf then
- bf = bf:Clone()
- bf.Parent = v.Engine
- bf.Name = "NewForce"
- end
- end
- if bf then
- local fa = 1
- if v.Name:lower():find("bike") then fa = .3 elseif v.Name:lower():find("bugg") then fa = .5 end
- if v.Seat.PlayerName.Value ~= game:GetService("Players").LocalPlayer.Name then fa = 0 end
- bf.Force = Vector3.new(cf.X*300000*dir*fa,0,cf.Z*300000*dir*fa)
- end
- end
- end
- end
- end)
- val = {
- {Enum.KeyCode.W,1};
- {Enum.KeyCode.S,-1};
- }
- uis = gs(game,"UserInputService")
- chk = function(k)
- for i,v in next,val do
- if v[1]==k.KeyCode then
- return v[2]
- end
- end
- end
- uis.InputBegan:connect(function(k)
- dir = chk(k) or dir
- end)
- uis.InputEnded:connect(function(k)
- if chk(k) == dir then
- dir = 0
- end
- end)
- end)
- miscellaneous:AddButton("Sirelkilla's AutoRob", function()
- loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
- end)
- miscellaneous:AddButton("Remove Doors", function()
- game:GetService("Workspace").Doors:Destroy()
- end)
- miscellaneous:AddButton("Remove City", function()
- game:GetService("Workspace").Buildings:Destroy()
- end)
- miscellaneous:AddButton2("Toggle UI Key; ' '",function()
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton2.Text = 'Press any Key now'
- local input = UserInput.InputBegan:wait()
- if input.UserInputType == Enum.UserInputType.Keyboard then
- settings.togglekey = tostring(input.KeyCode)
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton2.Text = "Toggle UI Key; '"..string.sub(tostring(input.KeyCode), 14).."'"
- else
- settings.togglekey = tostring(input.UserInputType)
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton2.Text = "Toggle UI Key; '"..string.sub(tostring(input.UserInputType), 20).."'"
- end
- end)
- miscellaneous:AddButton4("Toggle Gravity Key; ' '",function()
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton4.Text = 'Press any Key now'
- local input = UserInput.InputBegan:wait()
- if input.UserInputType == Enum.UserInputType.Keyboard then
- settings.gravitykey = tostring(input.KeyCode)
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton4.Text = "Toggle Gravity Key; '"..string.sub(tostring(input.KeyCode), 14).."'"
- else
- settings.gravitykey = tostring(input.UserInputType)
- game.CoreGui.UILibrary.Miscellaneous.Container.TextButton4.Text = "Toggle Gravity Key; '"..string.sub(tostring(input.UserInputType), 20).."'"
- end
- end)
- miscellaneous:AddButton("Rejoin", function()
- game:GetService('TeleportService'):Teleport(game.PlaceId)
- end)
- mouse.Button1Down:connect(function()
- if settings.clickdelete then
- if mouse.target ~= nil then
- mouse.target:Destroy()
- end
- end
- end)
- changelog:AddLabel("V2 ( CURRENT VERSION )\n + Added Hotkeys\nV1.7\n + Added AutoRob\nV1.6\n+ Added Fast Vehicles\n+ Added SuperSpeed\n - Removed JumpPower\n + Added Tracers\nV1.3\n + Released UI\n + Created UI")
- UserInput.InputBegan:Connect(function(input)
- if tostring(input.KeyCode) == settings.togglekey or tostring(input.UserInputType) == settings.togglekey then
- if settings.vis == true then
- settings.vis = false
- for _,v in ipairs(game.CoreGui.UILibrary:GetDescendants()) do
- if v:IsA("Frame") then
- v.Visible = false
- end
- end
- elseif settings.vis == false then
- settings.vis = true
- for _,v in ipairs(game.CoreGui.UILibrary:GetDescendants()) do
- if v:IsA("Frame") then
- v.Visible = true
- end
- end
- end
- elseif tostring(input.KeyCode) == settings.gravitykey or tostring(input.UserInputType) == settings.gravitykey then
- if settings.gravity == false then
- settings.gravity = true
- workspace.Gravity = 50
- else
- settings.gravity = false
- workspace.Gravity = 196
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement