Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Upgrader = "Freon-Blast Upgrader"
- local UpgraderMax = 5e+11
- local tycoon = game.Players.localPlayer.PlayerTycoon.Value
- tycoon[Upgrader].Hitbox.Touched:connect(function(hit)
- if hit:FindFirstChild("Cash") then
- if hit.Cash.Value < UpgraderMax then
- hit.CFrame = tycoon[Upgrader].Model.Upgrade.CFrame
- end
- end
- end)
- for i,v in pairs(tycoon:GetChildren()) do
- if v.Name == "Ore Collider" then
- v.Model.Cannon.Speed.Value = 25
- end
- end
Add Comment
Please, Sign In to add comment