|
| 15 May 2012 01:17 PM |
local ting = 0 owner = script.Parent.Parent.Parent.OwnerName function onTouched(hit) if ting == 0 then ting = 1 local check = hit.Parent:FindFirstChild("Humanoid") if check ~= nil then local thisplr = game.Players:findFirstChild(hit.Parent.Name) if (thisplr~=nil) then local ownstyc = thisplr:findFirstChild("Tycoon") if (ownstyc~=nil) then if ownstyc.Value == 0 then ownstyc.Value = 1 owner.Value = thisplr.Name local message = Instance.new("Message") message.Text = "You Now own a Tycoon" message.Parent = thisplr wait(3) message:remove() script.Parent.Parent:remove() elseif ownstyc.Value == 1 then local message = Instance.new("Message") message.Text = "You Aready own a Tycoon" message.Parent = thisplr wait(3) message:remove() end end end end ting = 0 end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
GradientZ
|
  |
| Joined: 26 Apr 2012 |
| Total Posts: 2173 |
|
|
| 15 May 2012 02:10 PM |
| What are we actually looking to fix here? |
|
|
| Report Abuse |
|
|
| |
|
GradientZ
|
  |
| Joined: 26 Apr 2012 |
| Total Posts: 2173 |
|
|
| 15 May 2012 02:16 PM |
| Go to BH rather than SH, You always post something, then fix it. |
|
|
| Report Abuse |
|
|