-- Fetch external ESP library & Rayfield UI Library local ESP = loadstring(game:HttpGet("https://raw.githubusercontent.com/andrewc0de/Roblox/main/Dependencies/ESP.lua"))() local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- Define Services local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer -- Set default ESP states (Off by default) ESP.Tracers = false ESP.Boxes = false ESP.Names = false ESP.enemy = false ESP:Toggle(false) -- State Variables local isESPEnabled = false -- Configure the ESP for "soldier_model" ESP:AddObjectListener(Workspace, { Name = "soldier_model", Type = "Model", Color = Color3.fromRGB(255, 50, 50), -- Red Enemy ESP Validator = function(obj) task.wait(0.3) -- Don't outline friendlies (teman) if obj:FindFirstChild("friendly_marker") then return false end return true end, PrimaryPart = function(obj) local root = obj:FindFirstChild("HumanoidRootPart") while not root do task.wait() root = obj:FindFirstChild("HumanoidRootPart") end return root end, CustomName = function(obj) return "Enemy" end, IsEnabled = "enemy" }) -- Re-enable ESP automatically when player respawns LocalPlayer.CharacterAdded:Connect(function() if isESPEnabled then task.delay(1, function() ESP:Toggle(true) end) end end) -- --- Create Rayfield UI --- -- -- Note: Rayfield and Drawing API are generally streamproof automatically -- if you use "Game Capture" in OBS Studio on supported executors. local Window = Rayfield:CreateWindow({ Name = "XYNCZ STORE | FAK YU BRADAR", Icon = 10016582536, -- Shield/Target Icon LoadingTitle = "Injecting Script...", LoadingSubtitle = "by FluxieOP / XYNCZ", Theme = "Default", DisableRayfieldPrompts = false, DisableBuildWarnings = true, ConfigurationSaving = { Enabled = false, FolderName = nil, FileName = "SoldierESP" } }) local VisualsTab = Window:CreateTab("Visuals", 4483362458) -- Eye Icon local Section = VisualsTab:CreateSection("ESP Settings") VisualsTab:CreateToggle({ Name = "Enable Master ESP", CurrentValue = false, Flag = "MasterESP", Callback = function(Value) isESPEnabled = Value ESP.enemy = Value ESP:Toggle(Value) end, }) VisualsTab:CreateToggle({ Name = "Show Boxes", CurrentValue = false, Flag = "BoxESP", Callback = function(Value) ESP.Boxes = Value end, }) VisualsTab:CreateToggle({ Name = "Show Tracers", CurrentValue = false, Flag = "TracerESP", Callback = function(Value) ESP.Tracers = Value end, }) VisualsTab:CreateToggle({ Name = "Show Names", CurrentValue = false, Flag = "NameESP", Callback = function(Value) ESP.Names = Value end, }) local MiscSection = VisualsTab:CreateSection("Miscellaneous") VisualsTab:CreateButton({ Name = "Unload Script", Callback = function() ESP:Toggle(false) ESP.enemy = false Rayfield:Destroy() end, }) Rayfield:Notify({ Title = "Injected Successfully", Content = "XYNCZ STORE ", Duration = 5, Image = 4483362458, })