Fandom Apps Take your favorite fandoms with you and never miss a beat.
Classic Roblox Tycoon
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time. Redeeming your Roblox promo codes is very simple: Head over to the code redemption page of the official Roblox website. Log in, type in your code and click the green redeem button. Enjoy your free things! Beware there are sites that try steal your account so always make sure that you are on the official Roblox website.
Where are the 6 infinity stones in superhero simulator roblox. Superhero Simulator - Roblox Animation; You HAVE TO SEE The Most OVERPOWERED SIDEKICK PET In SUPERHERO SIMULATOR!! (Roblox) You HAVE TO SEE The Most OVERPOWERED SIDEKICK PET In SUPERHERO SIMULATOR!! (Roblox)-0; You HAVE TO SEE The Most OVERPOWERED SIDEKICK PET In SUPERHERO SIMULATOR!! (Roblox)-1; All the sidekicks, all the rarities.
Roblox Tycoon Youtube
- --Script made by Fiterpilot. All rights reserved to Nova Studio
- --Variables
- local tycoon = script.Parent.Tycoon --Variable for Tycoon object (inside of tycoon)
- local ownerName = tycoon.OwnerName --Variable for OwnerName object
- local cash = tycoon.Cash --Variable for cash object
- local essentials = tycoon.Essentials -- Variable for Essentials object
- local purchases = tycoon.Purchases
- local claim = tycoon['Become Owner'].Head --Variable for claim part
- local collector = essentials.Collector -- Variable for collector part
- local giver = essentials.Giver --Varaible for giver part
- local display = essentials.Display --Variable for display
- local PCash --Variable for player's cash
- --Variable for Regen
- local Backup = Model:clone()--Clones Model
- claim.Touched:connect(function(hit)--Function for claiming
- if ownerName.Value 'then--If ownerName.Value is '
- player = game.Players:GetPlayerFromCharacter(hit.Parent)--Find the player that touched it
- print('player exists')
- PCash = player.leaderstats:FindFirstChild('Cash')--Find his cash
- print('PCash exists')
- local owns = player:FindFirstChild('Owns')--Find his owns
- print('Owns exists')
- if hit.Parent:FindFirstChild('Humanoid')then--Now, is he a human?
- if hit.Parent.Humanoid.Health >0then--Is he alive?!
- ownerName.Value = player.Name --Change ownerName to his name
- claim.Parent.Name = player.Name.'s kitchen'--Show ownership
- claim.CanCollide =false--Make sure we can walk through
- player.TeamColor = claim.BrickColor --Set his team to the color of the brick
- end
- end
- end
- end
- collector.Touched:connect(function(hit)--When the collector is touched
- if hit.Name 'Food'then--If it was touched by 'Food'
- local val = hit:FindFirstChild('Value')--Find how much it's worth
- cash.Value = cash.Value + val.Value --Add the value of the food to cash
- end
- end)
- --Give player money
- giver.Touched:connect(function(hit)--When the giver is touched
- if cash.Value >0then
- if hit.Parent.Name ownerName.Value then--If hit's name is = to ownerName
- PCash.Value = PCash.Value + cash.Value --Give the player the money
- buySound:Play()--Plays sound
- end
- end)
- --Updating display
- cash.Changed:connect(function()--When cash is changed
- display.SG.Frame.Money.Text =tostring(cash.Value)--Update display
- for i,v inpairs(buttons:GetChildren())do--Look through all the buttons and get their children
- if v:FindFirstChild('Head')then--Find the children's heads
- local object = purchases:FindFirstChild(v.Object.Value)--Hold the value for objects
- objects[object.Name]= object:Clone()--Clone it
- else
- print('Button: '.v.Name.' is missing its object and has been removed.')
- v.Head.Transparency =1
- if v:FindFirstChild('Dependency')then--Find the dependency
- v.Head.Transparency =1
- if purchasedO:WaitForChild(v.Dependency.Value)then--Wait for that object to be purchased
- v.Head.Transparency =0
- end))
- v.Head.Touched:connect(function(hit)--If the head of a button is touched
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)--Find the player
- if v.Head.CanCollide truethen--See if the button can collide
- print('Player exists')
- if ownerName.Value player.Name then--See if the player owns the tycoon
- if hit.Parent:FindFirstChild('Humanoid')then--See if the player has a humanoid
- if hit.Parent.Humanoid.Health >0then--See if the humanoid is alive
- if PCash ~=nilthen--See if PCash exists
- if PCash.Value >= v.Price.Value then--If PCash is greater than price
- PCash.Value = PCash.Value - v.Price.Value --Purchase the object
- objects[v.Object.Value].Parent = purchasedO --Move it into puchasedobjects
- v.Head.Transparency =1
- end
- end
- end
- end
- end
- game.Players.PlayerRemoving:connect(function(player)--Function for player removal
- if ownerName.Value ~='then--If ownerName isn't equal to nothing then
- if ownerName.Value player.Name then--If the leaving player has the same name as ownerName
- Model:remove()--Removes Model
- Model.Parent = script.Parent --Sets Models Parent To The Tycoon
- end
- end)