|
| 1 | +local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/klashdevelopment/Mika-Roblox/main/libraries/Orion.lua')))() |
| 2 | +local Sense = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Sirius/request/library/sense/source.lua'))() |
| 3 | + |
| 4 | +local RunService = game:GetService("RunService") |
| 5 | + |
| 6 | +OrionLib:MakeNotification({ |
| 7 | + Name = "Mika", |
| 8 | + Content = "Aimbot & Assist", |
| 9 | + Image = "rbxassetid://4483345998", |
| 10 | + Time = 5 |
| 11 | +}) |
| 12 | + |
| 13 | +local Window = OrionLib:MakeWindow({Name = "MIKAim", HidePremium = false, SaveConfig = true, ConfigFolder = "mikaaim"}) |
| 14 | + |
| 15 | +local Aim = Window:MakeTab({ |
| 16 | + Name = "Configuration", |
| 17 | + Icon = "rbxassetid://7743878496", |
| 18 | + PremiumOnly = false |
| 19 | +}) |
| 20 | + |
| 21 | +local OptionsSection = Aim:AddSection({ |
| 22 | + Name = "Options" |
| 23 | +}) |
| 24 | + |
| 25 | +local fov = 150 |
| 26 | +local smoothing = 1 |
| 27 | +local teamCheck = true |
| 28 | + |
| 29 | +local FOVring = Drawing.new("Circle") |
| 30 | + FOVring.Visible = false |
| 31 | + FOVring.Thickness = 1.5 |
| 32 | + FOVring.Radius = fov |
| 33 | + FOVring.Transparency = 1 |
| 34 | + FOVring.Color = Color3.fromRGB(246, 66, 114) |
| 35 | + FOVring.Position = workspace.CurrentCamera.ViewportSize/2 |
| 36 | + |
| 37 | +local loop |
| 38 | + |
| 39 | +function setup() |
| 40 | + FOVring = Drawing.new("Circle") |
| 41 | + FOVring.Visible = true |
| 42 | + FOVring.Thickness = 1.5 |
| 43 | + FOVring.Radius = fov |
| 44 | + FOVring.Transparency = 1 |
| 45 | + FOVring.Color = Color3.fromRGB(246, 66, 114) |
| 46 | + FOVring.Position = workspace.CurrentCamera.ViewportSize/2 |
| 47 | + |
| 48 | + local function getClosest(cframe) |
| 49 | + local ray = Ray.new(cframe.Position, cframe.LookVector).Unit |
| 50 | + |
| 51 | + local target = nil |
| 52 | + local mag = math.huge |
| 53 | + |
| 54 | + for i,v in pairs(game.Players:GetPlayers()) do |
| 55 | + if v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("HumanoidRootPart") and v ~= game.Players.LocalPlayer and (v.Team ~= game.Players.LocalPlayer.Team or (not teamCheck)) then |
| 56 | + local magBuf = (v.Character.Head.Position - ray:ClosestPoint(v.Character.Head.Position)).Magnitude |
| 57 | + |
| 58 | + if magBuf < mag then |
| 59 | + mag = magBuf |
| 60 | + target = v |
| 61 | + end |
| 62 | + end |
| 63 | + end |
| 64 | + |
| 65 | + return target |
| 66 | + end |
| 67 | + |
| 68 | + loop = RunService.RenderStepped:Connect(function() |
| 69 | + local UserInputService = game:GetService("UserInputService") |
| 70 | + local pressed = UserInputService:IsKeyDown(Enum.KeyCode.E) or UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) --Enum.UserInputType.MouseButton2 |
| 71 | + local localPlay = game.Players.localPlayer.Character |
| 72 | + local cam = workspace.CurrentCamera |
| 73 | + local zz = workspace.CurrentCamera.ViewportSize/2 |
| 74 | + |
| 75 | + if pressed then |
| 76 | + local Line = Drawing.new("Line") |
| 77 | + local curTar = getClosest(cam.CFrame) |
| 78 | + local ssHeadPoint = cam:WorldToScreenPoint(curTar.Character.Head.Position) |
| 79 | + ssHeadPoint = Vector2.new(ssHeadPoint.X, ssHeadPoint.Y) |
| 80 | + if (ssHeadPoint - zz).Magnitude < fov then |
| 81 | + workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(CFrame.new(cam.CFrame.Position, curTar.Character.Head.Position), smoothing) |
| 82 | + end |
| 83 | + end |
| 84 | + |
| 85 | + if UserInputService:IsKeyDown(Enum.KeyCode.Delete) then |
| 86 | + loop:Disconnect() |
| 87 | + FOVring:Remove() |
| 88 | + Sense.Unload() |
| 89 | + end |
| 90 | + end) |
| 91 | +end |
| 92 | + |
| 93 | +setup() |
| 94 | + |
| 95 | +OptionsSection:AddSlider({ |
| 96 | + Name = "FOV", |
| 97 | + Min = 0, |
| 98 | + Max = 360, |
| 99 | + Default = 150, |
| 100 | + Color = Color3.fromRGB(246, 66, 114), |
| 101 | + Increment = 1, |
| 102 | + Callback = function(value) |
| 103 | + fov = value |
| 104 | + FOVring.Radius = value |
| 105 | + end |
| 106 | +}) |
| 107 | +OptionsSection:AddSlider({ |
| 108 | + Name = "Smoothing", |
| 109 | + Min = 0, |
| 110 | + Max = 50, |
| 111 | + Default = 1, |
| 112 | + Color = Color3.fromRGB(246, 66, 114), |
| 113 | + Increment = 1, |
| 114 | + Callback = function(value) |
| 115 | + smoothing = value |
| 116 | + end |
| 117 | +}) |
| 118 | +OptionsSection:AddToggle({ |
| 119 | + Name = "Team Check", |
| 120 | + Default = true, |
| 121 | + Callback = function(value) |
| 122 | + teamCheck = value |
| 123 | + end |
| 124 | +}) |
| 125 | +OptionsSection:AddToggle({ |
| 126 | + Name = "Show FOV Circle", |
| 127 | + Default = true, |
| 128 | + Callback = function(value) |
| 129 | + FOVring.Visible = value |
| 130 | + end |
| 131 | +}) |
| 132 | + |
| 133 | +local ESPs = Window:MakeTab({ |
| 134 | + Name = "ESPs", |
| 135 | + Icon = "rbxassetid://7733696665", |
| 136 | + PremiumOnly = false |
| 137 | +}) |
| 138 | + |
| 139 | +local globalsTab = ESPs:AddSection({Name="Global Settings"}) |
| 140 | +local enemiesTab = ESPs:AddSection({Name="Enemy Team"}) |
| 141 | +local friendlyTab = ESPs:AddSection({Name="Friendly Team"}) |
| 142 | + |
| 143 | +globalsTab:AddToggle({ |
| 144 | + Name = "Use Team Colors", |
| 145 | + Default = false, |
| 146 | + Callback = function(value) |
| 147 | + Sense.sharedSettings.useTeamColor = value |
| 148 | + end |
| 149 | +}) |
| 150 | + |
| 151 | +function espSections(enemies, defaults) |
| 152 | + enemies:AddToggle({ |
| 153 | + Name = "Enabled", |
| 154 | + Default = false, |
| 155 | + Callback = function(value) |
| 156 | + Sense.teamSettings.enemy.enabled = value |
| 157 | + end |
| 158 | + }) |
| 159 | + enemies:AddToggle({ |
| 160 | + Name = "Box Enabled", |
| 161 | + Default = true, |
| 162 | + Callback = function(value) |
| 163 | + Sense.teamSettings.enemy.box = value |
| 164 | + end |
| 165 | + }) |
| 166 | + enemies:AddToggle({ |
| 167 | + Name = "Box3d Enabled", |
| 168 | + Default = false, |
| 169 | + Callback = function(value) |
| 170 | + Sense.teamSettings.enemy.box3d = value |
| 171 | + end |
| 172 | + }) |
| 173 | + enemies:AddToggle({ |
| 174 | + Name = "Health Bar Enabled", |
| 175 | + Default = true, |
| 176 | + Callback = function(value) |
| 177 | + Sense.teamSettings.enemy.healthBar = value |
| 178 | + end |
| 179 | + }) |
| 180 | + enemies:AddToggle({ |
| 181 | + Name = "Tracers Enabled", |
| 182 | + Default = true, |
| 183 | + Callback = function(value) |
| 184 | + Sense.teamSettings.enemy.tracer = value |
| 185 | + end |
| 186 | + }) |
| 187 | + enemies:AddToggle({ |
| 188 | + Name = "Offscreen Arrows Enabled", |
| 189 | + Default = true, |
| 190 | + Callback = function(value) |
| 191 | + Sense.teamSettings.enemy.offScreenArrow = value |
| 192 | + end |
| 193 | + }) |
| 194 | + enemies:AddToggle({ |
| 195 | + Name = "Chams Enabled", |
| 196 | + Default = false, |
| 197 | + Callback = function(value) |
| 198 | + Sense.teamSettings.enemy.chams = value |
| 199 | + end |
| 200 | + }) |
| 201 | + enemies:AddColorpicker({ |
| 202 | + Name = "Box Color", |
| 203 | + Default = Color3.fromRGB(246, 66, 114), |
| 204 | + Callback = function(value) |
| 205 | + Sense.teamSettings.enemy.boxColor[1] = value |
| 206 | + Sense.teamSettings.enemy.box3dColor[1] = value |
| 207 | + end |
| 208 | + }) |
| 209 | + enemies:AddColorpicker({ |
| 210 | + Name = "Tracer/Arrow Color", |
| 211 | + Default = Color3.fromRGB(246, 66, 114), |
| 212 | + Callback = function(value) |
| 213 | + Sense.teamSettings.enemy.offScreenArrowColor[1] = value |
| 214 | + Sense.teamSettings.enemy.tracerColor[1] = value |
| 215 | + end |
| 216 | + }) |
| 217 | +end |
| 218 | + |
| 219 | +espSections(enemiesTab, true) |
| 220 | +espSections(friendlyTab, false) |
| 221 | + |
| 222 | +local Buttons = Window:MakeTab({ |
| 223 | + Name = "Buttons", |
| 224 | + Icon = "rbxassetid://7743878496", |
| 225 | + PremiumOnly = false |
| 226 | +}) |
| 227 | + |
| 228 | +Buttons:AddButton({ |
| 229 | + Name = "Destroy - Remove", |
| 230 | + Callback = function() |
| 231 | + loop:Disconnect() |
| 232 | + FOVring:Remove() |
| 233 | + Sense.Unload() |
| 234 | + end |
| 235 | +}) |
| 236 | +Buttons:AddButton({ |
| 237 | + Name = "Destroy - Bring Back", |
| 238 | + Callback = function() |
| 239 | + setup() |
| 240 | + end |
| 241 | +}) |
| 242 | +Buttons:AddButton({ |
| 243 | + Name = "Destroy - Everything", |
| 244 | + Callback = function() |
| 245 | + loop:Disconnect() |
| 246 | + FOVring:Remove() |
| 247 | + Sense.Unload() |
| 248 | + OrionLib:Destroy() |
| 249 | + end |
| 250 | +}) |
| 251 | + |
| 252 | +OrionLib:Init() |
| 253 | +Sense.Load() |
0 commit comments