I made a 2 Player war tyccon the Become a Builder or Fighter thing Dosent work?
02 | owner = script.Parent.Parent.Parent.OwnerName |
04 | function onTouched(hit) |
07 | local check = hit.Parent:FindFirstChild( "Humanoid" ) |
09 | local thisplr = game.Players:findFirstChild(hit.Parent.Name) |
10 | if (thisplr~ = nil ) then |
11 | local ownstyc = thisplr:findFirstChild( "Tycoon" ) |
12 | if (ownstyc~ = nil ) then |
13 | if ownstyc.Value = = 0 then |
15 | owner.Value = thisplr.Name |
16 | thisplr.TeamColor = BrickColor.new(script.Parent.Parent.Parent.Parent.Col.Value) |
18 | local message = Instance.new( "Message" ) |
19 | message.Text = "You Now own a Tycoon" |
20 | message.Parent = thisplr.PlayerGui |
23 | script.Parent.Parent:remove() |
24 | elseif ownstyc.Value = = 1 then |
25 | local message = Instance.new( "Message" ) |
26 | message.Text = "You Already own a Tycoon" |
27 | message.Parent = thisplr.PlayerGui |
38 | script.Parent.Touched:connect(onTouched) |
There are 2 of these on the Tycoon, its 2 player, Is there somthing wrong with this script? its not working in General, The Block dosent become Transparent in General so you cant walk in.... any help?????