Run it
Copy the script and paste it into your executor.
-- SERVER-SIDE OP SCRIPT WITH KEY SYSTEM
local ReplicatedStorage = game:GetService("ReplicatedStorage")
-- Create Remote
local remote = Instance.new("RemoteEvent")
remote.Name = "BossKeyRemote"
remote.Parent = ReplicatedStorage
-- Secret Key
local validKey = "boss"
remote.OnServerEvent:Connect(function(player, enteredKey)
if enteredKey == validKey then
print(player.Name .. " entered the correct key.")
-- Give OP Sword
local sword = Instance.new("Tool")
sword.Name = "Infinity Sword"
sword.RequiresHandle = false
sword.CanBeDropped = false
sword.Parent = player.Backpack
-- Add OP Effects (e.g., flight, health)
player.Character.Humanoid.WalkSpeed = 100
player.Character.Humanoid.JumpPower = 200
player.Character.Humanoid.MaxHealth = .huge
player.Character.Humanoid.Health = .huge
_, plr (.Players:())
plr ~= player
plr:()
player:()
)