Advertisement
Curtispvp

Electric State DarkRP [Printer Gui]

Oct 14th, 2018
14,929
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.60 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local ur = Instance.new("Frame")
  6. local top = Instance.new("Frame")
  7. local TextButton = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton_2 = Instance.new("TextButton")
  10. --Properties:
  11. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12.  
  13. ur.Name = "ur"
  14. ur.Parent = ScreenGui
  15. ur.Active = true
  16. ur.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  17. ur.BorderSizePixel = 0
  18. ur.Position = UDim2.new(0.109008327, 0, 0.741358757, 0)
  19. ur.Size = UDim2.new(0, 244, 0, 178)
  20.  
  21. top.Name = "top"
  22. top.Parent = ur
  23. top.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  24. top.BorderSizePixel = 0
  25. top.Position = UDim2.new(-0.00164741278, 0, -0.000214278698, 0)
  26. top.Size = UDim2.new(0, 244, 0, 31)
  27.  
  28. TextButton.Parent = top
  29. TextButton.BackgroundColor3 = Color3.new(1, 0, 0)
  30. TextButton.BorderSizePixel = 0
  31. TextButton.Position = UDim2.new(0.905737698, 0, 0, 0)
  32. TextButton.Size = UDim2.new(0, 23, 0, 20)
  33. TextButton.Font = Enum.Font.SourceSans
  34. TextButton.Text = "X"
  35. TextButton.TextColor3 = Color3.new(1, 1, 1)
  36. TextButton.TextScaled = true
  37. TextButton.TextSize = 14
  38. TextButton.TextWrapped = true
  39.  
  40. TextLabel.Parent = top
  41. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  42. TextLabel.BackgroundTransparency = 1
  43. TextLabel.Position = UDim2.new(0.13934426, 0, 0, 0)
  44. TextLabel.Size = UDim2.new(0, 187, 0, 31)
  45. TextLabel.Font = Enum.Font.SourceSans
  46. TextLabel.Text = "Electric State"
  47. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  48. TextLabel.TextSize = 20
  49.  
  50. TextButton_2.Parent = ur
  51. TextButton_2.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  52. TextButton_2.Position = UDim2.new(0.225409836, 0, 0.398876399, 0)
  53. TextButton_2.Size = UDim2.new(0, 145, 0, 35)
  54. TextButton_2.Font = Enum.Font.Code
  55. TextButton_2.Text = "Teleport to Printer"
  56. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  57. TextButton_2.TextSize = 14
  58. -- Scripts:
  59. function SCRIPT_ZCBB88_FAKESCRIPT() -- TextButton.Script
  60.     getfenv().script = Instance.new('Script', TextButton)
  61.  
  62.     script.Parent.MouseButton1Click:Connect(function()
  63.         ur.Visible = false
  64.     end)
  65.  
  66. end
  67. coroutine.resume(coroutine.create(SCRIPT_ZCBB88_FAKESCRIPT))
  68. function SCRIPT_HMHL76_FAKESCRIPT() -- ur.Script
  69.     getfenv().script = Instance.new('Script', ur)
  70.  
  71.     ur.Draggable = true
  72.  
  73. end
  74. coroutine.resume(coroutine.create(SCRIPT_HMHL76_FAKESCRIPT))
  75. function SCRIPT_PNUY81_FAKESCRIPT() -- TextButton_2.Script
  76.     getfenv().script = Instance.new('Script', TextButton_2)
  77.  
  78.     function clicked()
  79.         --
  80.     print("Made By Lagx#2413")
  81.     local UnOwnedPrintersOnly = false  -- Set to false to get printers that have an owner.
  82.     --
  83.    
  84.     local Chil = workspace.MoneyPrinters:GetDescendants()
  85.     for i,v in pairs(Chil) do
  86.     if v and v.ClassName == "StringValue" and v.Name == "Int2" then
  87.     v.Parent:Destroy()
  88.     end
  89.     end
  90.    
  91.    
  92.     local PP = workspace.MoneyPrinters:GetDescendants()
  93.     for i,v in pairs(PP) do
  94.     if UnOwnedPrintersOnly == true then
  95.     if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value == nil then
  96.     print("Teleporting to an unowned printer!")
  97.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  98.     end
  99.     else
  100.     if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value ~= nil then
  101.     print("Teleporting to an owned printer!")
  102.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  103.     end
  104.     end
  105.     end
  106.     end
  107.    
  108.         script.Parent.MouseButton1Click:connect(clicked)
  109.  
  110. end
  111. coroutine.resume(coroutine.create(SCRIPT_PNUY81_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement