local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Nothingness", LoadingTitle = "Rayfield Interface Suite", LoadingSubtitle = "by Sirius", ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "Big cubbz" }, Discord = { Enabled = false, Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the discord every time they load it up }, KeySystem = true, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", FileName = "WSp", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"Xeno"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings } }) local MainTab = Window:CreateTab("🤣", nil) -- Title, Image local MainSection = MainTab:CreateSection("Main") Rayfield:Notify({ Title = "Your awsome", Content = "Notification Content", Duration = 2.5, Image = 4483362458, Actions = { -- Notification Buttons Ignore = { Name = "Okay!", Callback = function() print("The user tapped Okay!") end }, }, }) local Button = MainTab:CreateButton({ Name = "Esp", Callback = function() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Camera = workspace.CurrentCamera local function createESP(player) local box = Drawing.new("Square") box.Visible = false box.Filled = false box.Thickness = 1 box.Color = Color3.fromRGB(255, 0, 0) -- Red local connection connection = RunService.RenderStepped:Connect(function() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 then local pos, onScreen = Camera:WorldToViewportPoint(player.Character.HumanoidRootPart.Position) if onScreen then box.Visible = true box.Position = Vector2.new(pos.X - 25, pos.Y - 25) box.Size = Vector2.new(50, 50) else box.Visible = false end else box.Visible = false end -- Clean up if player leaves if not player.Parent then box:Remove() connection:Disconnect() end end) end -- Initialize ESP for all current players for _, player in pairs(Players:GetPlayers()) do if player ~= Players.LocalPlayer then createESP(player) end end -- Handle new players joining Players.PlayerAdded:Connect(function(player) createESP(player) end) end, })