local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Sense = loadstring(game:HttpGet('https://raw.githubusercontent.com/jensonhirst/Sirius/refs/heads/request/library/sense/source.lua'))() Sense.sharedSettings = { textSize = 13, textFont = 2, limitDistance = false, maxDistance = 150, useTeamColor = false, } Sense.teamSettings = { friendly = { enabled = true, box = true, boxColor = { Color3.new(0,1,0), 1 }, boxOutline = true, boxOutlineColor = { Color3.new(), 1 }, boxFill = false, boxFillColor = { Color3.new(0,1,0), 0.5 }, healthBar = true, healthyColor = Color3.new(0,1,0), dyingColor = Color3.new(1,0,0), healthBarOutline = true, healthBarOutlineColor = { Color3.new(), 0.5 }, healthText = false, healthTextColor = { Color3.new(1,1,1), 1 }, healthTextOutline = true, healthTextOutlineColor = Color3.new(), box3d = false, box3dColor = { Color3.new(0,1,0), 1 }, name = true, nameColor = { Color3.new(1,1,1), 1 }, nameOutline = true, nameOutlineColor = Color3.new(), weapon = false, weaponColor = { Color3.new(1,1,1), 1 }, weaponOutline = true, weaponOutlineColor = Color3.new(), distance = true, distanceColor = { Color3.new(1,1,1), 1 }, distanceOutline = true, distanceOutlineColor = Color3.new(), tracer = false, tracerOrigin = "Middle", tracerColor = { Color3.new(0,1,0), 1 }, tracerOutline = true, tracerOutlineColor = { Color3.new(), 1 }, offScreenArrow = false, offScreenArrowColor = { Color3.new(1,1,1), 1 }, offScreenArrowSize = 15, offScreenArrowRadius = 150, offScreenArrowOutline = true, offScreenArrowOutlineColor = { Color3.new(), 1 }, chams = true, chamsVisibleOnly = false, chamsFillColor = { Color3.new(0.2, 0.2, 0.2), 0.5 }, chamsOutlineColor = { Color3.new(0,1,0), 0 } }, enemy = { enabled = true, box = true, boxColor = { Color3.new(1,0,0), 1 }, boxOutline = true, boxOutlineColor = { Color3.new(), 1 }, boxFill = false, boxFillColor = { Color3.new(1,0,0), 0.5 }, healthBar = true, healthyColor = Color3.new(0,1,0), dyingColor = Color3.new(1,0,0), healthBarOutline = true, healthBarOutlineColor = { Color3.new(), 0.5 }, healthText = false, healthTextColor = { Color3.new(1,1,1), 1 }, healthTextOutline = true, healthTextOutlineColor = Color3.new(), box3d = false, box3dColor = { Color3.new(1,0,0), 1 }, name = true, nameColor = { Color3.new(1,1,1), 1 }, nameOutline = true, nameOutlineColor = Color3.new(), weapon = false, weaponColor = { Color3.new(1,1,1), 1 }, weaponOutline = true, weaponOutlineColor = Color3.new(), distance = true, distanceColor = { Color3.new(1,1,1), 1 }, distanceOutline = true, distanceOutlineColor = Color3.new(), tracer = false, tracerOrigin = "Middle", tracerColor = { Color3.new(1,0,0), 1 }, tracerOutline = true, tracerOutlineColor = { Color3.new(), 1 }, offScreenArrow = false, offScreenArrowColor = { Color3.new(1,1,1), 1 }, offScreenArrowSize = 15, offScreenArrowRadius = 150, offScreenArrowOutline = true, offScreenArrowOutlineColor = { Color3.new(), 1 }, chams = true, chamsVisibleOnly = false, chamsFillColor = { Color3.new(0.2, 0.2, 0.2), 0.5 }, chamsOutlineColor = { Color3.new(1,0,0), 0 }, } } local Window = Rayfield:CreateWindow({ Name = "Better ESP", Icon = 0, LoadingTitle = "Better ESP", LoadingSubtitle = "using Sense", Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes -- Serenity DisableRayfieldPrompts = false, }) local Tab = Window:CreateTab("General", "home") local Section = Tab:CreateSection("Control") local Toggle = Tab:CreateToggle({ Name = "Toggle Sense ESP", CurrentValue = false, Flag = "ToggleESP", Callback = function(Value) if Value then Sense.Load() Rayfield:Notify({ Title = "Enabled ESP", Content = "Sense ESP has been enabled", Duration = 1, Image = "lightbulb", }) else Sense.Unload() Rayfield:Notify({ Title = "Disabled ESP", Content = "Sense ESP has been disabled", Duration = 1, Image = "lightbulb-off", }) end end, }) local Button = Tab:CreateButton({ Name = "Reload Sense ESP", Callback = function() Sense.Unload() Sense.Load() Rayfield:Notify({ Title = "Reloading ESP", Content = "Sense ESP has been reloaded", Duration = 1, Image = "rewind", }) end, }) local Tab = Window:CreateTab("Friendly", "smile") local Section = Tab:CreateSection("Customize") local Toggle = Tab:CreateToggle({ Name = "Enabled", CurrentValue = true, Flag = "ToggleFriendlyEnabled", Callback = function(Value) Sense.teamSettings.friendly.enabled = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Box", CurrentValue = true, Flag = "ToggleFriendlyBox", Callback = function(Value) Sense.teamSettings.friendly.box = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Box3D", CurrentValue = false, Flag = "ToggleFriendlyBox3D", Callback = function(Value) Sense.teamSettings.friendly.box3d = Value end, }) local Toggle = Tab:CreateToggle({ Name = "HealthBar", CurrentValue = true, Flag = "ToggleFriendlyHealthBar", Callback = function(Value) Sense.teamSettings.friendly.healthBar = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Name", CurrentValue = true, Flag = "ToggleFriendlyName", Callback = function(Value) Sense.teamSettings.friendly.name = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Distance", CurrentValue = true, Flag = "ToggleFriendlyDistance", Callback = function(Value) Sense.teamSettings.friendly.distance = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Tracer", CurrentValue = false, Flag = "ToggleFriendlyTracer", Callback = function(Value) Sense.teamSettings.friendly.tracer = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Chams", CurrentValue = true, Flag = "ToggleFriendlyChams", Callback = function(Value) Sense.teamSettings.friendly.chams = Value end, }) local Tab = Window:CreateTab("Enemy", "angry") local Section = Tab:CreateSection("Customize") local Toggle = Tab:CreateToggle({ Name = "Enabled", CurrentValue = true, Flag = "ToggleEnemyEnabled", Callback = function(Value) Sense.teamSettings.enemy.enabled = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Box", CurrentValue = true, Flag = "ToggleEnemyBox", Callback = function(Value) Sense.teamSettings.enemy.box = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Box3D", CurrentValue = false, Flag = "ToggleEnemyBox3D", Callback = function(Value) Sense.teamSettings.enemy.box3d = Value end, }) local Toggle = Tab:CreateToggle({ Name = "HealthBar", CurrentValue = true, Flag = "ToggleEnemyHealthBar", Callback = function(Value) Sense.teamSettings.enemy.healthBar = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Name", CurrentValue = true, Flag = "ToggleEnemyName", Callback = function(Value) Sense.teamSettings.enemy.name = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Distance", CurrentValue = true, Flag = "ToggleEnemyDistance", Callback = function(Value) Sense.teamSettings.enemy.distance = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Tracer", CurrentValue = false, Flag = "ToggleEnemyTracer", Callback = function(Value) Sense.teamSettings.enemy.tracer = Value end, }) local Toggle = Tab:CreateToggle({ Name = "Chams", CurrentValue = true, Flag = "ToggleEnemyChams", Callback = function(Value) Sense.teamSettings.enemy.chams = Value end, }) local Tab = Window:CreateTab("Debug", "bug") local Section = Tab:CreateSection("Advanced") local Button = Tab:CreateButton({ Name = "Quit Rayfield", Callback = function() Rayfield:Notify({ Title = "Shutting Down", Content = "Safely exiting the Rayfield UI...", Duration = 1, Image = "power", }) local success, result = pcall(function() Sense.Unload() end) if success then Rayfield:Notify({ Title = "Disabled ESP", Content = "Sense ESP has been disabled", Duration = 1, Image = "lightbulb-off", }) end task.wait(1.5) Rayfield:Destroy() end, }) --