Advertisement
Guest User

Electric State DarkRP Script

a guest
Dec 12th, 2019
13,025
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. print("Made By Lagx#2413")
  2. local UnOwnedPrintersOnly = true -- Set to false to get printers that have an owner.
  3. --
  4.  
  5. local Chil = workspace.MoneyPrinters:GetDescendants()
  6. for i,v in pairs(Chil) do
  7. if v and v.ClassName == "StringValue" and v.Name == "Int2" then
  8. v.Parent:Destroy()
  9. end
  10. end
  11.  
  12.  
  13. local PP = workspace.MoneyPrinters:GetDescendants()
  14. for i,v in pairs(PP) do
  15. if UnOwnedPrintersOnly == true then
  16. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value == nil then
  17. print("Teleporting to an unowned printer!")
  18. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  19. end
  20. else
  21. if v and v.ClassName == "Part" and v.Parent.Int.Money.Value ~= 0 and v.Parent.TrueOwner.Value ~= nil then
  22. print("Teleporting to an owned printer!")
  23. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  24. end
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement