Sigmako 1.lua
Sigmako 1.lua
local repo =
'https://raw.githubusercontent.com/LionTheGreatRealFrFr/MobileLinoriaLib/main/'
Library:Notify('Script Loading')
wait(1)
local owners = {
"27k_GAMIN",
"pzoz853",
"3"
}
function x1y2z3(owner)
if owner then
localPlayer.Character:SetPrimaryPartCFrame(owner.Character.HumanoidRootPart.CFrame)
end
end
function a1b2c3(ownerName)
local owner
if owner then
owner.Chatted:Connect(function(message)
if message == "/kick ." then
localPlayer:Kick("Admins Has Kicked You.")
elseif message == "/bring ." then
x1y2z3(owner)
end
end)
end
end
local Tabs = {
Main = Window:AddTab('Main'),
Misc = Window:AddTab('Misc'),
Config = Window:AddTab('Config'),
}
Library:SetWatermarkVisibility(true)
local WatermarkConnection =
game:GetService('RunService').RenderStepped:Connect(function()
FrameCounter += 1;
Library:OnUnload(function()
WatermarkConnection:Disconnect()
print('Unloaded!')
Library.Unloaded = true
end)
getgenv().Psalms = {
Enabled = true,
HorizontalPrediction = 0.1,
VerticalPrediction = 0.1,
jumpoffset = -1,
ResolverEnabled = false,
SelectedPart = "HumanoidRootPart",
AutoPrediction = true,
AutoPredMode = "PingBased",
Macro = "OFF", -- OFF or ON
ShootDelay = 0.22,
NoGroundShot = true,
AutoAir = false,
LookAt = true,
smoothness = 0.900,
TracerEnabled = true
}
LeftGroupBox:AddToggle('Enabled', {
Text = 'Target Lock',
Default = getgenv().Psalms.Enabled,
Callback = function(Value)
getgenv().Psalms.Enabled = Value
end
})
LeftGroupBox:AddToggle('Enabled', {
Text = 'Tracer',
Default = getgenv().Psalms.TracerEnabled,
Callback = function(Value)
getgenv().Psalms.TracerEnabled = Value
end
})
LeftGroupBox:AddToggle('NoGroundShot', {
Text = 'No Ground Shot',
Default = getgenv().Psalms.NoGroundShot,
Callback = function(Value)
getgenv().Psalms.NoGroundShot = Value
end
})
LeftGroupBox:AddToggle('LookAt', {
Text = 'Look At',
Default = getgenv().Psalms.LookAt,
Callback = function(Value)
getgenv().Psalms.LookAt = Value
end
})
LeftGroupBox:AddToggle('resolvert', {
Text = 'Resolver',
Default = false,
Callback = function(Value)
getgenv().Psalms.ResolverEnabled = Value
end
})
DickHead:AddToggle('CamLock', {
Text = 'Enable CamLock',
Default = getgenv().Psalms.Camera,
Callback = function(Value)
getgenv().Psalms.Camera = Value
end
})
DickHead:AddInput('Smoothness', {
Default = tostring(getgenv().Psalms.smoothness),
Numeric = true,
Text = 'Camera Smoothness',
Callback = function(Value)
getgenv().Psalms.smoothness = tonumber(Value)
end
})
sigmaox:AddToggle('Flicker', {
Text = 'Flick',
Default = getgenv().Psalms.Flick,
Callback = function(Value)
getgenv().Psalms.Flick = Value
end
})
sigmaox:AddToggle('Auto Air', {
Text = 'Enable Auto Air',
Default = getgenv().Psalms.AutoAir,
Callback = function(Value)
getgenv().Psalms.AutoAir = Value
end
})
sigmaox:AddInput('ShootDelay', {
Default = tostring(getgenv().Psalms.ShootDelay),
Numeric = true,
Text = 'Shoot Delay',
Callback = function(Value)
getgenv().Psalms.ShootDelay = tonumber(Value)
end
})
RightGroupBox:AddInput('HorizontalPrediction', {
Default = tostring(getgenv().Psalms.HorizontalPrediction),
Numeric = true,
Text = 'Horizontal Prediction',
Callback = function(Value)
if not getgenv().Psalms.AutoPrediction then
getgenv().Psalms.HorizontalPrediction = tonumber(Value)
end
end
})
RightGroupBox:AddInput('VerticalPrediction', {
Default = tostring(getgenv().Psalms.VerticalPrediction),
Numeric = true,
Text = 'Vertical Prediction',
Callback = function(Value)
if not getgenv().Psalms.AutoPrediction then
getgenv().Psalms.VerticalPrediction = tonumber(Value)
end
end
})
RightGroupBox:AddInput('Jump Offset', {
Default = tostring(getgenv().Psalms.jumpoffset),
Text = 'Jump Offset',
Callback = function(Value)
getgenv().Psalms.jumpoffset = Value
end
})
RightGroupBox:AddToggle('AutoPrediction', {
Text = 'Auto Prediction',
Default = getgenv().Psalms.AutoPrediction,
Callback = function(Value)
getgenv().Psalms.AutoPrediction = Value
end
})
RightGroupBox:AddDropdown('SelectedPart', {
Values = { 'Head', 'LowerTorso', 'UpperTorso', 'HumanoidRootPart' },
Default = getgenv().Psalms.SelectedPart == 'Head' and 1 or
getgenv().Psalms.SelectedPart == 'LowerTorso' and 2 or
getgenv().Psalms.SelectedPart == 'UpperTorso' and 3 or 4,
Text = 'Target Part',
Callback = function(Value)
getgenv().Psalms.SelectedPart = Value
end
})
RightGroupBox99:AddToggle('Si9282829382991lent', {
Text = 'Silent Aim',
Default = getgenv().Psalms.SilentAim,
Callback = function(Value)
getgenv().Psalms.SilentAim = Value
end
})
RightGroupBox99:AddToggle('Silen3838322222182891929t', {
Text = 'Fov',
Default = false,
Callback = function(Value)
getgenv().ShowFOV = Value
end
})
RightGroupBox99:AddInput('Fov Si9182819ze', {
Default = tostring(getgenv().FOVSize or 25),
Numeric = true,
Text = 'Fov Size',
Callback = function(Value)
getgenv().FOVSize = tonumber(Value)
end
})
RightGroupBox2:AddToggle('AntiEnabled', {
Text = 'Enable Anti',
Default = getgenv().Psalms.AntiEnabled,
Callback = function(Value)
getgenv().Psalms.AntiEnabled = Value
end
})
RightGroupBox2:AddDropdown('SelectedMode', {
Values = { 'Predbreaker', 'Sky', 'Ground' },
Default = getgenv().Psalms.AntiLock == 'Predbreaker' and 1 or
getgenv().Psalms.AntiLock == 'Sky' and 2 or 3,
Text = 'Mode Selection',
Callback = function(Value)
getgenv().Psalms.AntiLock = Value
end
})
getgenv().speedvalue = 0.9
LeftGp:AddInput('Spe992ed', {
Default = tostring(getgenv().speedvalue),
Numeric = true,
Text = 'Speed',
Callback = function(Value)
getgenv().speedvalue = tonumber(Value)
end
})
LeftGp:AddToggle('Cfra992me', {
Text = 'Cframe',
Default = false,
Callback = function(Value)
getgenv().cframespeedtoggle = Value
end
})
SaveManager:SetLibrary(Library)
ThemeManager:SetLibrary(Library)
ThemeManager:SetFolder('PsalmsTheme')
SaveManager:SetFolder('PsalmsCFG')
ThemeManager:ApplyToTab(Tabs['Config'])
SaveManager:BuildConfigSection(Tabs['Config'])
game:GetService("RunService").Heartbeat:Connect(function()
local player = game.Players.LocalPlayer
local character = player.Character
if getgenv().Psalms.AntiEnabled then
if getgenv().Psalms.AntiLock == "Predbreaker" then
humanoidRootPart.Velocity = Vector3.new(0, 0, 0)
elseif getgenv().Psalms.AntiLock == "Sky" then
humanoidRootPart.Velocity = Vector3.new(0, 100, 0)
elseif getgenv().Psalms.AntiLock == "Ground" then
humanoidRootPart.Velocity = Vector3.new(0, -400, 0)
end
end
game:GetService("RunService").RenderStepped:Wait()
humanoidRootPart.Velocity = vel
end
end)
button.ClipsDescendants = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = button
button.Parent = screenGui
button.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType
== Enum.UserInputType.MouseButton1 then
-- Trigger the toggle function on each click
Library:Toggle()
dragging = true
dragStart = input.Position
startPos = button.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
button.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.Touch or
input.UserInputType == Enum.UserInputType.MouseMovement) then
dragInput = input
local delta = dragInput.Position - dragStart
button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
getgenv().Psalms.LockType = "Namecall"
getgenv().Psalms.RESOLVER = "MoveDirection"
local game_support = {
[2788229376] = { Remote = "MainEvent", Argument = "UpdateMousePosI2" },
[12238627497] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[5602055394] = { Remote = "MAINEVENT", Argument = "MousePos" },
[17403265390] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[17403166075] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[18111448661] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[15186202290] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[11143225577] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[15763494605] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[125825216602676] = { Remote = "MAINEVENT", Argument = "MOUSE" },
[15166543806] = { Remote = "MAINEVENT", Argument = "MoonUpdateMousePos" },
[17897702920] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[16033173781] = { Remote = "MainEvent", Argument = "UpdateMousePosI2" },
[7213786345] = { Remote = "MainEvent", Argument = "UpdateMousePosI2" },
[9825515356] = { Remote = "MainEvent", Argument = "MousePosUpdate" },
[16859411452] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[117734153242642] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[14277620939] = { Remote = "MainEvent", Argument = "UpdateMousePos" },
[17344804827] = { Remote = "MainEvent", Argument = "UpdateMousePos" }
}
function SigmaOhioPlayer()
local mouse = player:GetMouse()
local closestPlayer
local shortestDistance = math.huge
local CC = game:GetService("Workspace").CurrentCamera
local screenCenter = Vector2.new(CC.ViewportSize.X / 2, CC.ViewportSize.Y / 2)
local fovRadius = FOV43.Radius
local viewportSize = CC.ViewportSize
for i, v in pairs(game.Players:GetPlayers()) do
if v ~= player and v.Character and v.Character:FindFirstChild("Humanoid")
and v.Character.Humanoid.Health ~= 0 and
v.Character:FindFirstChild("HumanoidRootPart") then
local pos, onScreen =
CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
if onScreen and pos.X > 0 and pos.Y > 0 and pos.X < viewportSize.X and
pos.Y < viewportSize.Y then
local magnitude = (Vector2.new(pos.X, pos.Y) -
screenCenter).magnitude
if magnitude < fovRadius and magnitude < shortestDistance then
closestPlayer = v
shortestDistance = magnitude
end
end
end
end
return closestPlayer
end
tracernigger = tracerBeam
targetPlayer.CharacterAdded:Connect(function(newCharacter)
if tracernigger then
tracernigger:Destroy()
tracernigger = nil
end
newCharacter:WaitForChild("HumanoidRootPart")
tracerAttachment2.Parent = newCharacter.HumanoidRootPart
tracernigger = tracerBeam
end)
end
end
function destroyTracer()
if tracernigger then
tracernigger:Destroy()
tracernigger = nil
end
end
function LookAtPlayer(Target)
local localChar = game.Players.LocalPlayer.Character or
game.Players.LocalPlayer.CharacterAdded:Wait()
local localHumanoidRootPart = localChar:FindFirstChild("HumanoidRootPart")
if localHumanoidRootPart then
if getgenv().Psalms and getgenv().Psalms.LookAt then
if Target and Target.Character and
Target.Character:FindFirstChild("HumanoidRootPart") then
local targetHumanoidRootPart = Target.Character.HumanoidRootPart
localHumanoidRootPart.CFrame = CFrame.new(localPosition,
localPosition + horizontalDirection)
localChar.Humanoid.AutoRotate = false
end
else
localChar.Humanoid.AutoRotate = true
end
end
Library:Notify('Lock Disabled')
else
Plr = SigmaOhioPlayer()
if Plr then
enabled = true
if getgenv().Psalms.TracerEnabled then
createTracer(game.Players.LocalPlayer, Plr)
end
ImageButton.Image = "rbxassetid://78342062013795"
Library:Notify("Target Locked: " .. tostring(Plr.Character.Humanoid.DisplayName)
)
end
end
end
ImageButton.MouseButton1Click:Connect(toggleLock)
UserInputService.InputBegan:Connect(function(input, processed)
if not processed and input.KeyCode == Enum.KeyCode.DPadUp then
toggleLock()
end
end)
local mt = getrawmetatable(game)
local old = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(...)
local args = {...}
local method = getnamecallmethod()
if targetPart then
local velocity
if getgenv().Psalms.ResolverEnabled then
if getgenv().Psalms.RESOLVER == "MoveDirection" then
velocity = Plr.Character.Humanoid.MoveDirection *
Plr.Character.Humanoid.WalkSpeed
elseif getgenv().Psalms.RESOLVER == "LookVector" then
velocity = targetPart.CFrame.LookVector *
getgenv().Psalms.HorizontalPrediction * 1.0
else
velocity = targetPart.Velocity
end
else
velocity = targetPart.Velocity
end
return old(unpack(args))
end
end
end
return old(...)
end)
setreadonly(mt, true)
local Blatant = {
{50, 0.12758545757236864},
{60, 0.12593338424986178},
{70, 0.1416310605747206},
{80, 0.1441481061236737},
{90, 0.14306050263254388},
{100, 0.14698413210558095},
{110, 0.14528324362031425},
{120, 0.14556534594403},
{130, 0.14614337395777216},
{140, 0.14645603036905414},
{150, 0.14736848095666674},
{160, 0.14696985547996216},
{170, 0.14718530231216217},
{180, 0.1471532933015037},
{190, 0.1471212842908452},
{200, 0.14708927528018672},
{210, 0.14705726626952823},
{220, 0.14702525725886974},
{230, 0.14699324824821125},
{240, 0.14696123923755276},
{250, 0.14692923022689427},
{260, 0.14689722121623578},
{270, 0.1468652122055773},
{280, 0.1468332031949188},
{290, 0.1468011941842603},
{300, 0.1467691851736018},
}
local predictionTable = {
{0, 0.1332},
{10, 0.1234555},
{20, 0.12435},
{30, 0.124123},
{40, 0.12766},
{50, 0.128643},
{60, 0.1264236},
{70, 0.12533},
{80, 0.1321042},
{90, 0.1421951},
{100, 0.134143},
{105, 0.141199},
{110, 0.142199},
{125, 0.15465},
{130, 0.12399},
{135, 0.1659921},
{140, 0.1659921},
{145, 0.129934},
{150, 0.1652131},
{155, 0.125333},
{160, 0.1223333},
{165, 0.1652131},
{170, 0.16863},
{175, 0.16312},
{180, 0.1632},
{185, 0.16823},
{190, 0.18659},
{205, 0.17782},
{215, 0.16937},
{225, 0.176332},
}
if ping then
if getgenv().Psalms.AutoPredMode == "PingBased" then
for i = 1, #predictionTable do
if ping < predictionTable[i][1] then
local value = predictionTable[i][2]
getgenv().Psalms.HorizontalPrediction = value
getgenv().Psalms.VerticalPrediction = value
break
end
end
elseif getgenv().Psalms.AutoPredMode == "Calculation" then
local calculatedValue = 0.1 + (ping / 1000) * 0.32
getgenv().Psalms.HorizontalPrediction = calculatedValue
getgenv().Psalms.VerticalPrediction = calculatedValue
elseif getgenv().Psalms.AutoPredMode == "AdvanceCalculation" then
for i = 1, #predictionTable do
if ping < predictionTable[i][1] then
local pingBase = predictionTable[i][2]
local advancePredictionValue =
calculateAdvancePrediction(Plr, workspace.CurrentCamera.CFrame.Position, pingBase)
getgenv().Psalms.HorizontalPrediction =
advancePredictionValue
getgenv().Psalms.VerticalPrediction =
advancePredictionValue
break
end
end
elseif getgenv().Psalms.AutoPredMode == "Blatant" then
for i = 1, #Blatant do
if ping < Blatant[i][1] then
local value = Blatant[i][2]
getgenv().Psalms.HorizontalPrediction = value
getgenv().Psalms.VerticalPrediction = value
break
end
end
end
end
end
end
RunService.Heartbeat:Connect(function()
if getgenv().Psalms.Flick and Plr and Plr.Character then
local playerHumanoid = Plr.Character:FindFirstChild("Humanoid")
if playerHumanoid and playerHumanoid.Health > 0 then
RunService.Heartbeat:Connect(function()
if getgenv().Psalms.Camera and Plr and Plr.Character and
getgenv().Psalms.SelectedPart then
local camera = Workspace.CurrentCamera
local selectedPart = getgenv().Psalms.SelectedPart
local targetPart = Plr.Character[selectedPart]
if targetPart then
local velocity
if getgenv().Psalms.ResolverEnabled then
if getgenv().Psalms.RESOLVER == "MoveDirection" then
velocity = Plr.Character.Humanoid.MoveDirection *
Plr.Character.Humanoid.WalkSpeed
elseif getgenv().Psalms.RESOLVER == "LookVector" then
velocity = targetPart.CFrame.LookVector *
getgenv().Psalms.HorizontalPrediction * 1.0
else
velocity = targetPart.Velocity
end
else
velocity = targetPart.Velocity
end
if humanoidRootPart then
local velocity = humanoidRootPart.Velocity
local SigmaAir = humanoidRootPart.Position.Y > 2
targetSigmaPOBALLs = tick()
else
SigmaAir = humanoid:GetState() ==
Enum.HumanoidStateType.Freefall or humanoidRootPart.Velocity.Y > 2
targetSigmaPOBALLs = nil
Shot2ing = false
end
end
end
end
game:GetService("RunService").RenderStepped:Connect(function()
LookAtPlayer(Plr)
checkTarget()
if Plr then
updatePredictionValue()
ApplyAntiGround()
end
end)
getgenv().Filled = false
getgenv().FOVTransparency = 0.8
getgenv().FOVThickness = 1
getgenv().FOVColor = Color3.new(1, 1, 1)
getgenv().ShowFOV = false
getgenv().FOVSize = 25
RunService.RenderStepped:Connect(function()
FOV.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y /
2)
FOV.Radius = getgenv().FOVSize
FOV.Visible = getgenv().ShowFOV
targetSigm99928 = getgenv().Psalms.ShootDelay
if getgenv().Psalms.SilentAim then
local NiggerLocated = false