function createHappyModGUI(player) – Create a ScreenGui object to hold the GUI elements local gui = Instance.new(“ScreenGui”) gui.Name = “HappyModGUI” gui.Parent = player.PlayerGui -- Create a Frame to hold the GUI buttons local frame = Instance.new("Frame") frame.Name = "ButtonsFrame" frame.Size = UDim2.new(0, 200, 0, 200) frame.Position = UDim2.new(0.5, -100, 0.5, -100) frame.BackgroundColor3 = Color3.new(0, 0, 0) frame.BackgroundTransparency = 0.5 frame.Parent = gui -- Create a Fly button local flyButton = Instance.new("TextButton") flyButton.Name = "FlyButton" flyButton.Size = UDim2.new(0, 100, 0, 50) flyButton.Position = UDim2.new(0.5, -50, 0.1, 0) flyButton.BackgroundColor3 = Color3.new(0, 1, 0) flyButton.Text = "Fly" flyButton.Parent = frame -- Create a function to handle the Fly button click event local function flyButtonClick() -- Implement the fly functionality here -- This function will be called when the Fly button is clicked end -- Connect the flyButtonClick function to the Fly button's Click event flyButton.MouseButton1Click:Connect(flyButtonClick) -- Create other buttons and functions for different functionalities -- ... return gui end – Example usage of the createHappyModGUI function – Usage Example: Create a HappyMod look-alike GUI for a specific player local player = game.Players.LocalPlayer local gui = createHappyModGUI(player)