- Fe - Admin Tool Giver Script - Roblox Scripts... -
local remoteEvent = ReplicatedStorage:FindFirstChild("GiveAdminToolRequest")
local button = Instance.new("TextButton") button.Size = UDim2.new(0, 150, 0, 50) button.Position = UDim2.new(0, 10, 0, 10) button.Text = "Get Admin Tool" button.BackgroundColor3 = Color3.fromRGB(0, 170, 255) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Parent = screenGui - FE - Admin Tool Giver Script - ROBLOX SCRIPTS...
-- ServerScript in ServerScriptService local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local remote = Instance.new("RemoteEvent") remote.Name = "AdminToolRequest" remote.Parent = ReplicatedStorage 50) button.Position = UDim2.new(0
local remoteEvent = ReplicatedStorage:FindFirstChild("GiveAdminToolRequest") if not remoteEvent then warn("RemoteEvent 'GiveAdminToolRequest' not found in ReplicatedStorage") return end 255) button.TextColor3 = Color3.fromRGB(255
player:SendNotification("Admin tool given successfully!") print("Gave admin tool to " .. player.Name) end) This script goes in StarterPlayerScripts or StarterGui .
local adminTool = game.ServerStorage:FindFirstChild("AdminTool") local admins = YOUR_USER_ID_HERE