chrisinator66

Untitled

Sep 1st, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local Upgrader = "Freon-Blast Upgrader"
  2. local UpgraderMax = 5e+11
  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(tycoon:GetChildren()) do
  12. if v.Name == "Ore Collider" then
  13. v.Model.Cannon.Speed.Value = 25
  14. end
  15. end
Add Comment
Please, Sign In to add comment