Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. --[[
  2. Thank you for using Zednov's Tycoon Kit!
  3. This kit has countless options for you to choose from, fear not I have listed them all below
  4. -Dev Product buttons are here! Require players to purchase a dev product to get the dropper/upgrader/etc.
  5. -Gamepass buttons are here! Require players to own a gamepass to get a dropper/upgrader/etc.
  6. -Everything berezaa's Tyccon kit has! No need to learn a whole new way to build tycoons!
  7. -Choose how your leaderboard looks! Choose how players play your tycoon!
  8. -Choose if players can steal other player's loot! (If you allow them to steal loot, add a precent they can steal and the time it takes to cooldown steal time)
  9. -Choose if there will be multiple currencies! Get creative!
  10. -We also provide a script which will take any valid tycoon you've built with berezaa's tycoon and transfer it over to be compatiable with ours!
  11. -We have sounds to give a more fun experience! Change your sounds to your liking!
  12.  
  13.  
  14.  
  15. Please note that if the tycoon doesn't work, it's probably because you have made a typo in one of the purchase
  16. buttons or that you made a typo in the object being purchased so like you might've spelt Droper1 instead of Dropper1.
  17. Test out the tycoon every few buttons you make so you catch the mistake before advancing and having lots of buttons
  18. to look through.
  19.  
  20. NOTE:
  21. If you plan to add devproducts in a game your using this kit in, you will need to edit the current script labeled "DevProductHandler"
  22. If you have two scripts that handle devproducts, both scripts will not work which is why you will need to merge with the provided one.
  23. All the settings are in the ModuleScript called 'Settings'
  24. We have provided a script below to change your berezaa built tycoon into the new improved Zednov Tycoon Kit :)
  25. --]]
  26.  
  27. --CHANGE THE NAME, COPY ALL BELOW, AND PAST INTO COMMAND BAR
  28.  
  29. local TycoonName = "INSERT TYCOON NAME HERE"
  30.  
  31. if game.Workspace:FindFirstChild(TycoonName) then
  32. local s = nil
  33. local bTycoon = game.Workspace:FindFirstChild(TycoonName)
  34. local zTycoon = game.Workspace:FindFirstChild("Zednov's Tycoon Kit")
  35. local new_Collector = zTycoon['READ ME'].Script:Clone()
  36. local Gate = zTycoon.Tycoons:GetChildren()[1].Entrance['Touch to claim!'].GateControl:Clone()
  37. if zTycoon then
  38. for i,v in pairs(zTycoon.Tycoons:GetChildren()) do --Wipe current tycoon 'demo'
  39. if v then
  40. s = v.PurchaseHandler:Clone()
  41. v:Destroy()
  42. end
  43. end
  44. -- Now make it compatiable
  45. if s ~= nil then
  46. for i,v in pairs(bTycoon.Tycoons:GetChildren()) do
  47. local New_Tycoon = v:Clone()
  48. New_Tycoon:FindFirstChild('PurchaseHandler'):Destroy()
  49. s:Clone().Parent = New_Tycoon
  50. local Team_C = Instance.new('BrickColorValue',New_Tycoon)
  51. Team_C.Value = BrickColor.new(tostring(v.Name))
  52. Team_C.Name = "TeamColor"
  53. New_Tycoon.Name = v.TeamName.Value
  54. New_Tycoon.Cash.Name = "CurrencyToCollect"
  55. New_Tycoon.Parent = zTycoon.Tycoons
  56. New_Tycoon.TeamName:Destroy()
  57. v:Destroy()
  58. New_Tycoon.Essentials:FindFirstChild('Cash to collect: $0').NameUpdater:Destroy()
  59. local n = new_Collector:Clone()
  60. n.Parent = New_Tycoon.Essentials:FindFirstChild('Cash to collect: $0')
  61. n.Disabled = false
  62. New_Tycoon.Gate['Touch to claim ownership!'].GateControl:Destroy()
  63. local g = Gate:Clone()
  64. g.Parent = New_Tycoon.Gate['Touch to claim ownership!']
  65. end
  66. else
  67. error("Please don't tamper with script names or this won't work!")
  68. end
  69. else
  70. error("Please don't change the name of our tycoon kit or it won't work!")
  71. end
  72. bTycoon:Destroy()
  73. Gate:Destroy()
  74. new_Collector:Destroy()
  75. print('Transfer complete! :)')
  76. else
  77. error("Check if you spelt the kit's name wrong!")
  78. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement