|
| 04 Nov 2011 10:06 AM |
i have a tycoon here who wont do what hes told >_< so i have 2 upgrades for my brick drop thingymajig ,it starts a 5,upgrade 1 is 10,upgrade 2 is 20. guess which partly works? 2 yes 2. i can buy it but it wont change the tycoon bricks value script: (there are a bunch of other scripts ye need,this is the one i *think* has a problem) money = script.Parent.Parent.Money
function onTouched(hit) if hit.Name == "TycoonBrick" then hit:remove() money.Value = money.Value + 5 elseif hit.Name == "UTB" then hit:remove() money.Value = money.Value + 10 elseif hit.Name == "UTB2" then hit:remove () money.Value = money.value + 20 end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 04 Nov 2011 10:08 AM |
| Is it giving an Error, and Are you sure the names of the bricks are changing? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:13 AM |
are you asking to see the output? well i dont care if not. :P Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Regener" Fri Nov 04 15:12:04 2011 - Factory is not a valid member of Model Fri Nov 04 15:12:04 2011 - Script "Workspace.tycoon.Regener", Line 1 Fri Nov 04 15:12:04 2011 - stack end Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.ObjectScript" Fri Nov 04 15:12:04 2011 - RigBackUp is not a valid member of Workspace Fri Nov 04 15:12:04 2011 - Script "Workspace.tycoon.ObjectScript", Line 2 Fri Nov 04 15:12:04 2011 - stack end Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Buy upgrade 1- 100.Head.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Start Making $-0.Head.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Drop1.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Upgrader1.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Cash to collect :0.Collect.GetCash" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Cash to collect :0.Get.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Cash to collect :0.Display" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Leader board" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Buy upgrade 2- 750.Head.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Upgrader2.Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Become tycoon Owner.Head.Owner Script" Fri Nov 04 15:12:04 2011 - Running Script "Workspace.tycoon.Nobody's tycoon.Owner Bar Script" |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 04 Nov 2011 10:28 AM |
| Not knowing where this script is or what its name is isnt helping, Output FOR THIS script please. |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:33 AM |
dont know how to make a output for a certain object X_X its name is " script " in workspace,tycoon,Cash to collect:0,get ye..the scripts a child of "Get" |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 04 Nov 2011 10:35 AM |
| Ok, there is no output, so can you post your name changer? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:37 AM |
Why don't you try my tycoon kit? http://www.roblox.com/AbdallahBakri1234s-Tycoon-Kit-item?id=63295426 |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:41 AM |
im not sure what you mean about name changer,i probbaly dont have one or i just dont remember it, |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 04 Nov 2011 10:47 AM |
| Well theres your problem, if your upgrader doesnt change the name then it wont add different/More money XD |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:53 AM |
Just use this :
http://www.roblox.com/AbdallahBakri1234s-Tycoon-Kit-item?id=63295426 It works |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 10:54 AM |
so how am i meant to change the name..? do you mean the script of the upgrader? function onTouched(hit) if hit.Name == "TycoonBrick" then hit.Name = "UTB2" end end
script.Parent.Touched:connect(onTouched) on other thing is...the starter kit i learned to make tycoons from is over 1 year old,so i might need to change some things |
|
|
| Report Abuse |
|
|
| |
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
| |
|
|
| 04 Nov 2011 12:36 PM |
| do what,,,? you didnt even explain what to do,you just said chaanging names |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 12:40 PM |
| if your just using free models, then learn to script before we help you |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 04 Nov 2011 12:42 PM |
Well look at your scripts, the name changes for the "Upgrade"
function onTouched(hit) if hit.Name == "TycoonBrick" then --[[but this isnt counting that by this time it would be UTB]] hit.Name = "UTB2" end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 12:45 PM |
| no im not using freebies im just a *starting* to script and you expect me to know everything? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 12:51 PM |
| oh, sorry, i was looking at someone elses post... |
|
|
| Report Abuse |
|
|
07lchris
|
  |
| Joined: 28 Feb 2010 |
| Total Posts: 1603 |
|
|
| 04 Nov 2011 01:12 PM |
function onTouched(hit) if hit.Name == "TycoonBrick" then hit:Remove() money.Value = money.Value + 5 elseif hit.Name == "UTB" then hit:Remove() money.Value = money.Value + 10 elseif hit.Name == "UTB2" then hit:Remove () money.Value = money.Value + 20 -- A non capitalized V end end
script.Parent.Touched:connect(onTouched) |
|
|
| Report Abuse |
|
|
| |
|