chrisinator66

Untitled

Aug 28th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. local Upgrader = "Serpentine Upgrader"
  2. local UpgraderMax = 1e+13
  3. local tycoon = game.Players.localPlayer.PlayerTycoon.Value
  4. tycoon[Upgrader].Hitbox.Touched:connect(function(hit)
  5. if hit:FindFirstChild("Cash") then
  6. if hit.Cash.Value < UpgraderMax then
  7. hit.CFrame = tycoon[Upgrader].Model.Upgrade.CFrame
  8. end
  9. end
  10. end)
  11. for i,v in pairs(game.Workspace.Tycoons.Factory3:GetChildren()) do
  12. if v.Name == "Ore Collider" then
  13. v.Model.Cannon.Speed.Value = 25
  14. end
  15. end
  16. local Upgrader = "Freon-Blast Upgrader"
  17. local UpgraderMax = 5e+11
  18. local tycoon = game.Players.localPlayer.PlayerTycoon.Value
  19. tycoon[Upgrader].Hitbox.Touched:connect(function(hit)
  20. if hit:FindFirstChild("Cash") then
  21. if hit.Cash.Value < UpgraderMax then
  22. hit.CFrame = tycoon[Upgrader].Model.Upgrade.CFrame
  23. end
  24. end
  25. end)
Add Comment
Please, Sign In to add comment