Advertisement
firebudgy

Untitled

Mar 11th, 2018
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Script0 = Instance.new("Script")
  19. Script0.Name = "Put The Script code in A Script"
  20. Script0.Parent = mas
  21. table.insert(cors,sandbox(Script0,function()
  22. wait(1)--keep the wait or it wont work
  23. codegui = Instance.new("ScreenGui")
  24. codegui.Parent = game.StarterGui
  25. frame = Instance.new("Frame")
  26. frame.Parent = codegui
  27. codegui2 = Instance.new("TextButton")
  28. codegui2.Parent = frame
  29. codegui2.Text = "Enter Security Code Here"---screw that hacker up
  30. owner = game.Players.firebudgy
  31. if owner == game.Workspace.firebudgy then
  32. game.Players.firebudgy.StaterGui.ScreenGui:Remove()--no screen gui for the master lol
  33. end
  34. if codegui2.Text == "Lockdown" then
  35. game.StarterGui.ScreenGui:Remove()
  36. end
  37. end))
  38. for i,v in pairs(mas:GetChildren()) do
  39. v.Parent = workspace
  40. pcall(function() v:MakeJoints() end)
  41. end
  42. mas:Destroy()
  43. for i,v in pairs(cors) do
  44. spawn(function()
  45. pcall(v)
  46. end)
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement