Scriptorz5

darkrp

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