-- Server Script (Place this inside ServerScriptService) -- Create RemoteEvent for communication local remote = Instance.new("RemoteEvent") remote.Name = "febypass" remote.Parent = game.ReplicatedStorage -- Function to execute the script sent by the moderator local function executeScript(scriptText) local success, result = pcall(function() loadstring(scriptText)() -- Executes the provided Lua code end) -- Send the execution result back to all clients if success then remote:FireAllClients("Script executed successfully.") else remote:FireAllClients("Error: " .. result) end end -- Listen for the event and handle script execution request remote.OnServerEvent:Connect(function(player, scriptText) -- Execute the script received from the client executeScript(scriptText) end) -- Local Script (Place this inside StarterPlayer -> StarterPlayerScripts) game.Players.PlayerAdded:Connect(function(player) -- Create the GUI local screenGui = Instance.new("ScreenGui") screenGui.Parent = player.PlayerGui local guiFrame = Instance.new("Frame") guiFrame.Size = UDim2.new(0, 400, 0, 300) guiFrame.Position = UDim2.new(0.5, -200, 0.5, -150) guiFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) guiFrame.BorderSizePixel = 0 guiFrame.Parent = screenGui -- Make the frame draggable local dragging = false local dragInput, dragStart, startPos guiFrame.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = guiFrame.Position end end) guiFrame.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart guiFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) guiFrame.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) -- Title local title = Instance.new("TextLabel") title.Text = "project 360" title.Size = UDim2.new(0, 400, 0, 50) title.BackgroundColor3 = Color3.fromRGB(50, 50, 50) title.Font = Enum.Font.GothamBold title.TextSize = 24 title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextAlign = Enum.TextAnchor.MiddleCenter title.Parent = guiFrame -- Script input box local scriptBox = Instance.new("TextBox") scriptBox.Size = UDim2.new(0, 380, 0, 150) scriptBox.Position = UDim2.new(0, 10, 0, 60) scriptBox.PlaceholderText = "--enter fd script" scriptBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) scriptBox.TextColor3 = Color3.fromRGB(255, 255, 255) scriptBox.Font = Enum.Font.Gotham scriptBox.TextSize = 18 scriptBox.ClearTextOnFocus = true scriptBox.Parent = guiFrame -- "Run" button local runButton = Instance.new("TextButton") runButton.Size = UDim2.new(0, 380, 0, 40) runButton.Position = UDim2.new(0, 10, 0, 220) runButton.Text = "Execute FE" runButton.BackgroundColor3 = Color3.fromRGB(0, 180, 0) runButton.TextColor3 = Color3.fromRGB(255, 255, 255) runButton.Font = Enum.Font.Gotham runButton.TextSize = 20 runButton.Parent = guiFrame -- Feedback label local feedbackLabel = Instance.new("TextLabel") feedbackLabel.Size = UDim2.new(0, 380, 0, 40) feedbackLabel.Position = UDim2.new(0, 10, 0, 270) feedbackLabel.Text = "" feedbackLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) feedbackLabel.TextColor3 = Color3.fromRGB(255, 0, 0) feedbackLabel.Font = Enum.Font.Gotham feedbackLabel.TextSize = 18 feedbackLabel.TextAlign = Enum.TextAnchor.MiddleCenter feedbackLabel.Parent = guiFrame -- Button click event to send script runButton.MouseButton1Click:Connect(function() local scriptToRun = scriptBox.Text if scriptToRun ~= "" then -- Send the script to the server via RemoteEvent remote:FireServer(scriptToRun) end end) -- Listen for the response from the server remote.OnClientEvent:Connect(function(message) feedbackLabel.Text = message end) end)