Fauzan1GDR

Script Hack SPawn Items LumberTycoon2

Mar 17th, 2020
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  2. Text = "Creat By = Fauzan640!!";
  3. Font = Enum.Font.ArialBold; --Arial, Cartoon, ArialBold, etc
  4. Color = Color3.new(255, 255, 0);
  5. FontSize = Enum.FontSize.Size8;
  6. })
  7. wait(2)
  8. local Item = "ItemNmaehere"
  9. local Quantity = 10
  10.  
  11. local Land = nil
  12. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  13. if v.Owner.Value == game.Players.LocalPlayer then
  14. Land = v
  15. break
  16. end
  17. end
  18. if not Land then
  19. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  20. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  21. Land = v
  22. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  23. break
  24. end
  25. end
  26. end
  27.  
  28. function Spawn(Item)
  29. local Info = {}
  30. Info.Name = Item.Name
  31. Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
  32. Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
  33. local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
  34. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
  35. end
  36.  
  37. for i=1, Quantity do
  38. Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
  39. end
Add Comment
Please, Sign In to add comment