-- Roblox Script local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local MarketplaceService = game:GetService("MarketplaceService") local RunService = game:GetService("RunService") -- Function to get game name local function getGameName() local success, gameInfo = pcall(function() return MarketplaceService:GetProductInfo(game.PlaceId) end) if success then return gameInfo.Name else warn("Failed to retrieve game information.") return "Unknown" end end local gameName = getGameName() print("Current Game Name: " .. gameName) -- Supported games local supportedGames = { ["Ray's Mod"] = true, ["RIVALS"] = true, } -- Create Screen GUI local screenGui = Instance.new("ScreenGui") screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") -- Create Frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0.4, 0, 0.3, 0) frame.Position = UDim2.new(0.3, 0, 0.35, 0) frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) frame.BorderSizePixel = 0 frame.Parent = screenGui -- Title local title = Instance.new("TextLabel") title.Text = "Use this script wisely!" title.Font = Enum.Font.SourceSansBold title.TextSize = 24 title.Size = UDim2.new(1, 0, 0.2, 0) title.BackgroundColor3 = Color3.fromRGB(70, 70, 70) title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Parent = frame -- Info Text local infoText = Instance.new("TextLabel") infoText.Text = "Supported Games: Ray's Mod, RIVALS\nClick OK to check the game and activate!" infoText.Font = Enum.Font.SourceSans infoText.TextSize = 18 infoText.Size = UDim2.new(1, 0, 0.5, 0) infoText.Position = UDim2.new(0, 0, 0.2, 0) infoText.TextColor3 = Color3.fromRGB(255, 255, 255) infoText.BackgroundTransparency = 1 infoText.TextWrapped = true infoText.Parent = frame -- OK Button local okButton = Instance.new("TextButton") okButton.Text = "OK" okButton.Font = Enum.Font.SourceSansBold okButton.TextSize = 18 okButton.Size = UDim2.new(0.4, 0, 0.2, 0) okButton.Position = UDim2.new(0.3, 0, 0.75, 0) okButton.BackgroundColor3 = Color3.fromRGB(100, 100, 255) okButton.TextColor3 = Color3.fromRGB(255, 255, 255) okButton.Parent = frame -- Functionality for the OK Button okButton.MouseButton1Click:Connect(function() print("OK Button Clicked. Current Game: " .. gameName) infoText.Text = "Activating Wallhack. Please wait..." task.wait(2) frame:Destroy() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local character = player.Character local billboard = Instance.new("BillboardGui") billboard.Adornee = character.HumanoidRootPart billboard.Size = UDim2.new(4, 0, 1, 0) billboard.StudsOffset = Vector3.new(0, 3, 0) billboard.AlwaysOnTop = true billboard.Parent = character local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 1, 0) label.BackgroundTransparency = 1 label.Text = player.Name label.TextColor3 = Color3.new(1, 0, 0) label.Font = Enum.Font.SourceSansBold label.TextScaled = true label.Parent = billboard end end -- Update the wallhack dynamically RunService.RenderStepped:Connect(function() for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local highlight = player.Character:FindFirstChildOfClass("Highlight") if not highlight then local newHighlight = Instance.new("Highlight") newHighlight.Adornee = player.Character newHighlight.FillColor = Color3.new(1, 0, 0) newHighlight.OutlineColor = Color3.new(1, 1, 1) newHighlight.Parent = player.Character end end end end) end)