generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Tycoon Gate Script

Previous Thread :: Next Thread 
KewlKatAttack is not online. KewlKatAttack
Joined: 18 Sep 2011
Total Posts: 68
27 Jul 2015 09:02 PM
Recently, I have decided to make a tycoon similar to berezaa's. He has a tycoon tutorial, so I decided to check it out. I made my own models, but my gate door refuses to work. Can someone help? Here is the script.

***DISCLAIMER*** I made my own dropper, conveyor, gate, and collector.

I Copied your every move EXACTLY, yet my gate doesn't seem to work.

Script:
script.Parent.Head:connect(function(hit)
local player game.Players:GetPlayerFromCharacter(hit.Parent)
if player ~= nil then
local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(player.Name)
if cashmoney ~= nil then
local ownstycoon = cashmoney:FindFirstChild("OwnsTycoon")
if ownstycoon ~= nil then
if ownstycoon.Value == false then
if script.Parent.Parent.Parent.Owner.Value == nil then
if hit.Parent:FindFirstChild("Humanoid") then
if hit.Parent.Humanoid.Health > 0 then
script.Parent.Parent.Parent.Owner.Value = player
ownstycoon.Value = true
script.Parent.Name = player.Name.."'s Tycoon"
script.Parent.Head.Transparency = 0.6
script.Parent.Head.CanCollide = true
player.TeamColor = BrickColor.new.(script.Parent.Parent.Parent.Name)
end
end
end
end
end
end
end)


Thanks!
Report Abuse
KewlKatAttack is not online. KewlKatAttack
Joined: 18 Sep 2011
Total Posts: 68
27 Jul 2015 10:17 PM
Bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image