Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lplr= game:GetService("Players").LocalPlayer
- local plrs = game:GetService("Players")
- local snps = false
- pcall(function()
- if syn then snps = true end
- end)
- local ffcoc= game.FindFirstChildOfClass
- local ffc = game.FindFirstChild
- local gameids = {}
- do
- gameids.ThoseWhoRemain = 187796008
- gameids.Phantom_Forces = 113491250
- gameids.pf2 = 115272207
- if game.GameId ~= gameids.Phantom_Forces then
- gameids.Phantom_Forces = gameids.pf2
- end
- gameids.Arsenal = 111958650
- gameids.Unit = 327709123
- gameids.Apoc2 = 358276974
- if game.GameId == 184068396 then
- gameids.Aegis= 184068396
- else
- gameids.Aegis = 1078934163
- end
- gameids.BadBuisness = 1168263273
- gameids.badgay = gameids.BadBuisness
- gameids.Eclipsis = 252475658
- gameids.Lost = 597889174
- gameids.counterblox = 115797356
- gameids.Attrition = 367058015
- gameids.Jailbreak = 245662005
- gameids.wfyb = 74218984
- gameids.madpaintball2 = 112819343
- gameids.ace = 913400159
- gameids.fireteam = 261612318
- end
- local m = {}
- m.getignore = function()
- return {}
- end
- m.getsettings = function()
- local id = game.GameId
- local setting = {}
- setting.PartSize = 0
- setting.Bindable = {}
- setting.Bindable.BulletDrop = 0
- setting.Bindable.BulletSpeed = 3500
- setting.Bindable.calculation = false
- setting.Bindable.AimAssist = true
- setting.Bindable.ESP = true
- setting.Bindable.EspUpdateTime = 0.15
- setting.Bindable.AutoShoot = false
- setting.Bindable.Headshots = 100
- setting.Bindable.Circle = 120
- setting.Bindable.Radar = true
- setting.Bindable.RadarSize = 175
- setting.Bindable.MaxRaycastDistance = 500
- setting.Bindable.UseMouseMove = true
- setting.Bindable.SmartCircle = true
- setting.Bindable.ShowVelocity = false
- if id == gameids.Apoc2 then
- workspace:WaitForChild('Vehicles')
- setting.Bindable.EspUpdateTime = 2
- setting.Bindable.MaxRaycastDistance = 900
- setting.Bindable.AutoShoot = false
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletSpeed = 10^4
- setting.Bindable.calculation=true
- setting.Bindable.BulletDrop = 0.175
- setting.Bindable.Radar = false
- elseif id == gameids.fireteam then
- setting.Bindable.EspUpdateTime = 2
- setting.Bindable.MaxRaycastDistance = 900
- setting.Bindable.AutoShoot = false
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletSpeed = 10^4
- setting.Bindable.calculation= true
- setting.Bindable.BulletDrop = 0.075
- setting.Bindable.Radar = false
- elseif id == gameids.Jailbreak then
- setting.Bindable.Radar = false
- setting.Bindable.AimAssist = true
- elseif id == 187796008 then -- those who remain
- setting.Bindable.MaxRaycastDistance = 200
- setting.Bindable.AutoShoot = true
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletSpeed = 1500
- setting.Bindable.calculation=true
- setting.Bindable.Radar = false
- elseif game.GameId == gameids.badgay then
- setting.Bindable.AutoShoot = false
- setting.Bindable.calculation = true
- setting.Bindable.BulletSpeed = 2700
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletDrop = 0.24
- setting.Bindable.Radar = false
- setting.Bindable.EspUpdateTime = 0.4
- elseif game.GameId == gameids.Phantom_Forces then
- setting.Bindable.calculation = true
- setting.Bindable.BulletSpeed = 2100
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletDrop = 0.2
- setting.Bindable.ESP = true
- setting.Bindable.Circle = 85
- setting.Bindable.Headshots = 67
- setting.PartSize = 0.22
- elseif game.GameId == gameids.Arsenal then
- setting.Bindable.Radar = false
- setting.Bindable.UseMouseMove = false
- setting.Bindable.AimAssist = true
- elseif game.GameId == gameids.Lost then
- setting.Bindable.UseMouseMove = false
- setting.Bindable.Radar = true
- setting.Bindable.RadarSize = 400
- setting.Bindable.calculation = true
- setting.Bindable.BulletSpeed = 3000
- setting.Bindable.BulletDrop = 0.15
- elseif game.GameId == gameids.counterblox then
- setting.Bindable.UseMouseMove = false
- setting.Bindable.Radar = true
- setting.Bindable.RadatSize = 200
- setting.Bindable.AimAssist = true
- setting.PartSize = 0.4
- elseif id == gameids.Attrition then
- setting.Bindable.UseMouseMove = false
- setting.Bindable.Radar = false
- setting.Bindable.RadatSize = 200
- setting.Bindable.AimAssist = true
- setting.Bindable.calculation = true
- spawn(function()
- local gunname
- local bspeed = 3100
- while wait(.3) do
- local succ, error = pcall(function()
- if lplr.Character and ffcoc(lplr.Character, 'Tool') and ffc(ffcoc(lplr.Character, 'Tool') , 'Settings')then
- if ffcoc(lplr.Character, 'Tool').Name ~= gunname then
- --print('setting1')
- bspeed = require( ffc(ffcoc(lplr.Character, 'Tool') , 'Settings') ).BulletSpeed
- setting.Bindable.BulletSpeed = bspeed
- print('set')
- end
- gunname = ffcoc(lplr.Character, 'Tool').Name
- end
- end)
- if not succ then print(error) end
- end
- end)
- elseif id == gameids.Eclipsis then
- setting.Bindable.UseMouseMove = true
- setting.Bindable.Radar = false
- setting.Bindable.RadatSize = 200
- setting.Bindable.AimAssist = true
- setting.Bindable.calculation = false
- setting.Bindable.MaxRaycastDistance = 250
- setting.Bindable.EspUpdateTime = 1
- elseif id == gameids.ace then
- setting.Bindable.calculation = true
- setting.Bindable.BulletSpeed = 12000
- setting.Bindable.AimAssist = true
- setting.Bindable.BulletDrop = 0
- setting.Bindable.ESP = true
- setting.Bindable.Circle = 120
- setting.Bindable.Headshots = 67
- setting.Bindable.UseMouseMove = false
- setting.Bindable.EspUpdateTime = 2
- elseif game.GameId == gameids.madpaintball2 then
- setting.Bindable.AimAssist = true
- elseif game.GameId == 833423526 then -- strucid
- setting.Bindable.AimAssist = true
- end
- return setting
- end
- m.typeofnumber = function(n)
- if n>0 then return 1 elseif n==0 then return 0 else return -1 end
- end
- m.lft = function(n1, n2)
- --local t1,t2 = m.typeofnumber(n1), m.typeofnumber(n2)
- if math.abs(n1)>math.abs(n2) then
- return n1
- else
- return n2
- end
- end
- m.LocalCharacter = function()
- return lplr.Character
- end
- m.IngameSens = function()
- return 1.3
- end
- m.clonetable = function(t)
- local nt = {}
- for i, v in pairs(t) do
- nt[i]=v
- end
- return nt
- end
- local randomstrcalltimes = tick()
- m.rstr = function(len)
- randomstrcalltimes = randomstrcalltimes+1
- math.randomseed(randomstrcalltimes)
- len = len or math.random(3, 25)
- local str = ""
- for i=1,len do
- math.randomseed(randomstrcalltimes+i)
- local newchar = string.char(math.random(32, 184))
- str = str..newchar
- end
- return str
- end
- m.import = function(toimport)
- if type(toimport) == "number" then
- return game:GetObjects("rbxassetid://" .. toimport)[1]
- else
- if snps then
- return loadstring(syn.request({Url = toimport}).Body)()
- end
- return loadstring(game:HttpGetAsync(toimport))()
- end
- end
- m.GetGameName = function()
- local gamename = "Default"
- for i, v in pairs(gameids) do
- if v == game.GameId then gamename = i end
- end
- return gamename
- end
- m.TeamCheck = function(plr)
- if tostring(game.GameId) == tostring(gameids.Unit) then
- if ffc(plr, "TeamC") and plr.TeamC.Value ~= lplr.TeamC.Value then
- return true
- else
- return false
- end
- elseif game.GameId == 633284182 then
- if plr:FindFirstChild("Info") and plr.Info:FindFirstChild("Team") and plr.Info.Team:FindFirstChild("Team") and plr.Info.Team.Team.Value ~= lplr.Info.Team.Team.Value then
- return true
- else
- return false
- end
- elseif game.GameId == gameids.Aegis then
- local stats = game:GetService("ReplicatedStorage").PlayerStats:FindFirstChild(plr.Name)
- local lplrstats = game:GetService("ReplicatedStorage").PlayerStats:FindFirstChild(lplr.Name)
- if stats and lplrstats and stats.TeamName.Value ~= lplrstats.TeamName.Value then
- return true
- else
- return false
- end
- elseif game.GameId == gameids.badgay then
- return true
- elseif game.GameId == gameids.Arsenal then
- if #game.Teams:GetChildren()<=1 then
- if plr~=lplr then
- return true
- end
- return false
- elseif lplr.Team~= plr.Team then return true
- end
- elseif game.GameId == gameids.wfyb then
- if plr == lplr then return false end
- if (plr.Team == nil or lplr.Team == nil) then return true end
- if plr.Team ~= lplr.Team then return true end
- else
- if (plr.Team == nil or plr.Team.Name ~= lplr.Team.Name) and plr ~= lplr then
- return true
- else
- return false
- end
- end
- end
- m.GetCharacterExistance = function(plr)
- if plr.Character and ffcoc(plr.Character, "Humanoid") and ffcoc(plr.Character, "Humanoid").Health>0 then
- return true
- end
- return false
- end
- m.GetPlayers = function()
- local plrs = {}
- for i, plr in pairs(game:GetService("Players"):GetPlayers()) do
- if m.TeamCheck(plr) and m.GetCharacterExistance(plr) then
- plrs[#plrs+1] = plr
- end
- end
- return plrs
- end
- m.GetHead = function(plr)
- return ffc(plr.Character, "Head")
- end
- m.GetTeamColor = function(plr)
- local color = Color3.new(.8, 1, .8)
- if plr.Team then
- color = plr.Team.TeamColor.Color
- end
- return color
- end
- m.GetCharacters = function()
- local chars = {}
- for i, plr in pairs(m.GetPlayers()) do
- if m.GetCharacterExistance(plr) and ffc(plr.Character,"Head") then
- chars[#chars+1] = {name = plr.Name, char =plr.Character, teamcolor = m.GetTeamColor(plr)}
- end
- end
- return chars
- end
- m.GetHealth = function(char, str)
- local hum = ffcoc(char, "Humanoid")
- if hum then
- if str then return "HP:"..math.floor(hum.Health) else return hum.Health end
- end
- end
- m.GetTargets = function(headpercentage)
- local targets = {}
- for i, plr in pairs(m.GetPlayers()) do
- if math.random(0, 100)<=headpercentage then
- t = m.GetHead(plr)
- else
- t =ffc(plr.Character, "LowerTorso") or ffc(plr.Character, "Torso")
- end
- if t then
- targets[#targets+1] = t
- end
- end
- return targets
- end
- m.TriggerDeath = function(head)
- local hum = ffcoc(head.Parent, "Humanoid") or ffc(head.Parent, "Humanoid")
- local ret = false
- if hum then
- spawn(function()
- hum.Died:Wait()
- ret = true
- end)
- end
- spawn(function()
- head:GetPropertyChangedSignal("Parent"):Wait()
- ret = true
- end)
- spawn(function()
- repeat wait(.2) until not workspace:IsAncestorOf(head)
- ret = true
- end)
- repeat wait(.1) until ret == true
- return true
- end
- m.games = gameids
- if game.GameId == gameids.ThoseWhoRemain then
- m.GetCharacters = function()
- return {}
- end
- m.GetTargets = function()
- local t = {}
- for i,v in pairs(workspace.Infected:GetChildren()) do
- pcall(function()
- if v.Head then
- table.insert(t, v.Head)
- end
- end)
- end
- return t
- end
- m.IngameSens = function()
- return 0.00525331
- end
- elseif game.GameId == gameids.fireteam then
- m.TeamCheck = function(plr)
- if plr.Name == lplr.Name then return false end
- local LT = lplr.Info.Team.Team.Value
- if ffc(plr, 'Info') and ffc(plr.Info, 'Team') then
- return LT ~= plr.Info.Team.Team.Value
- end
- return false
- end
- m.IngameSens = function()
- return 0.0074672926631244
- end
- end
- if game.GameId == gameids.Phantom_Forces then
- m.GetHealth = function(char, str)
- if str then
- return ""
- else
- return 100
- end
- end
- m.GetTargets = function(headpercentage)
- local targets = {}
- local thead = true
- if headpercentage and headpercentage<100 then
- math.randomseed(tick())
- thead = math.random(1, 100)<headpercentage
- end
- local team = lplr.Team.Name
- if team == 'Phantoms' then team = 'Ghosts' else team = 'Phantoms' end
- for i, plr in pairs(workspace.Players[team]:GetChildren()) do
- local t
- if thead then
- t = ffc(plr, 'Head')
- else
- t= ffc(plr, 'Torso')
- end
- if t then
- targets[#targets+1] = t
- end
- end
- return targets
- end
- m.GetCharacters = function()
- local chars = {}
- local team = lplr.Team.Name or 'Phantoms'
- if team == 'Phantoms' then team = 'Ghosts' else team = 'Phantoms' end
- for icount, plr in pairs(workspace.Players[team]:GetChildren()) do
- chars[#chars+1] = {name = ('Enemy #'..tostring(icount) ); char =plr, teamcolor = Color3.new(.8, 1, .8)}
- end
- return chars
- end
- m.TriggerDeath = function(head)
- head.Parent:GetPropertyChangedSignal("Parent"):Wait()
- return true
- end
- m.IngameSens = function()
- return 0.011172804812837
- end
- elseif game.GameId == gameids.Arsenal then
- m.IngameSens = function()
- return 0.0065442182123661
- end
- m.TriggerDeath = function(head)
- local died = false
- local spp = Vector3.new(-0.3, -396, 1)
- repeat
- local d = head.CFrame.Position - spp; d = d.Magnitude
- if d<20 then died = true return true end
- game:GetService("RunService").RenderStepped:Wait()
- until died == true
- return true
- end
- elseif game.GameId == gameids.Apoc2 then
- m.TriggerDeath = function(head)
- repeat wait(.2) until not workspace:IsAncestorOf(head) or head.Transparency == 1
- return true
- end
- m.GetHealth = function(char, str)
- return ""
- end
- m.getignore = function()
- local ret = {}
- for i, veh in pairs(workspace.Vehicles.Spawned:GetChildren()) do
- for ii, model in pairs(veh:GetChildren()) do
- if model.Name~="Collision" and ( model:IsA("BasePart") or model:IsA("Model") ) then
- table.insert(ret, model)
- end
- end
- end
- return ret
- end
- m.TeamCheck = function(plr)
- if plr.Name==lplr.Name then
- return false
- end
- if ffcoc(lplr, "PlayerGui") and ffc(ffcoc(lplr, "PlayerGui"), "Interface Main") then
- if plr.Character and plr.Character~= nil and ffc(plr.Character, "Head") and plr.Character.Head.Transparency<1 then
- for i, v in pairs(ffcoc(lplr, "PlayerGui")["Interface Main"]:GetChildren() ) do
- if v.Name == "SquadTag" and string.lower(v.Adornee.Parent.Name) == string.lower(plr.Name) then
- return false
- end
- end
- return true
- end
- else
- return true
- end
- return false
- end
- m.GetCharacters = function()
- local chars = {}
- for i, plr in pairs(m.GetPlayers()) do
- if m.GetCharacterExistance(plr) and ffc(plr.Character,"Head") then
- chars[#chars+1] = {name = plr.Name, char =plr.Character, teamcolor = m.GetTeamColor(plr)}
- end
- end
- for i, car in pairs(workspace.Vehicles.Spawned:GetChildren()) do
- if ffc(car, 'Collision') then
- table.insert(chars, {name = car.Name, char = car.Collision, teamcolor = Color3.fromRGB(67, 67, 67)} )
- end
- end
- return chars
- end
- m.IngameSens = function()
- return 0.0034417867660522--0.0042810601885628*1.5
- end
- elseif game.GameId == gameids.Jailbreak then
- m.IngameSens = function()
- return 0.0045351416927923
- end
- elseif game.GameId == gameids.madpaintball2 then
- m.TeamCheck = function(plr)
- if plr == lplr then return false end
- for i, v in pairs(game:GetService("Workspace").CurrentCamera.VisualContainer.PlayerNameContainer:GetChildren()) do
- if v.Adornee and v.Friendly.Visible == true and plr.Character and plr.Character:IsAncestorOf(v.Adornee) then
- return false
- end
- end
- return true
- end
- m.IngameSens = function()
- return 0.0033445735131283*1.05
- end
- end
- if game.GameId == gameids.Attrition then
- m.getignore = function()
- return {workspace.Vehicles}
- end
- end
- if game.GameId == gameids.BadBuisness then
- local getteamed = function()
- local teamed = {}
- for i, v in pairs(lplr.PlayerGui:GetChildren()) do
- if v.Name == "NameGui" and v.Adornee then
- teamed[v.Adornee.Parent.Parent.Name] = true
- end
- end
- return teamed
- end
- m.IngameSens = function()
- return 0.0021189559021573--0.0046487151936
- end
- m.GetCharacters = function()
- local teamed = getteamed()
- local chars= {}
- for i, char in pairs(workspace.Characters:GetChildren()) do
- local distcheck = false
- if not teamed[char.Name] and char.Health.Value>0 and ffc(char, "Hitbox") and ffc(char.Hitbox, "Head") then
- local d = workspace.Camera.CFrame.Position - char.Hitbox.Head.Position; d = d.Magnitude
- if d >5 then
- table.insert(chars, {name = "Enemy "..char.Name, ["char"] = char.Hitbox, teamcolor = Color3.new(.8, 1, .8) })
- end
- end
- end
- return chars
- end
- m.GetHealth = function(c)
- return "HP:"..math.floor(c.Parent.Health.Value)
- end
- m.GetTargets = function(headp)
- local teamed = getteamed()
- local heads = {}
- for i, char in pairs(workspace.Characters:GetChildren()) do
- if not teamed[char.Name] and ffc(char, "Hitbox") and char.Health.Value>0 then
- local dth = workspace.CurrentCamera.CFrame.Position-char.Hitbox:GetModelCFrame().p
- dth = dth.Magnitude
- local add = nil
- if math.random(0, 100)<=headp and ffc(char.Hitbox, "Head") then
- add = char.Hitbox.Head
- else
- add = ffc(char.Hitbox, "Hips")
- end
- if dth>5 then
- table.insert(heads, add)
- end
- end
- end
- return heads
- end
- m.TriggerDeath = function(head)
- local hpv = head.Parent.Parent.Health
- local par = head.Parent.Parent.Parent
- repeat game:GetService("RunService").RenderStepped:Wait() until par ~= head.Parent.Parent.Parent or hpv.Value <= 0
- return true
- end
- m.LocalCharacter = function()
- local mind = 4
- for i, v in pairs(workspace.Characters:GetChildren()) do
- if ffc(v, "Hitbox") and ffc(v.Hitbox, "Head") then
- local d = workspace.CurrentCamera.CFrame.Position - v.Hitbox.Head.Position
- if d<mind then
- return v
- end
- end
- end
- end
- m.getignore = function()
- local ret = { --[[ffc(workspace, "Arms")]] }
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- table.insert(ret, v)
- --print(v)
- end
- end
- return ret
- end
- elseif game.GameId == gameids.ace then
- m.GetCharacters = function()
- local chars = {}
- for i, plr in pairs(m.GetPlayers()) do
- if m.GetCharacterExistance(plr) and ffc(plr.Character,"Head") and ffc(plr.Character, 'Cosmetics') then
- chars[#chars+1] = {name = plr.Name, char =plr.Character, teamcolor = m.GetTeamColor(plr)}
- end
- end
- return chars
- end
- end
- return m
Add Comment
Please, Sign In to add comment