Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Why is there an error in the Zednov Tycoon Kit?

Asked by 4 years ago
Edited 4 years ago

I have a problem with the Zednov Tycoon kit, the problem is at line 20, it says that its in infinite yield, I think meaning that it cannot find the button in the PurchasedObjects folder, but I can't find how to fix it!

01for i,v in pairs(script.Parent.Buttons:GetChildren()) do
02        spawn(function()
03        if v:FindFirstChild("Head") then
04 
05            local ThingMade = script.Parent.Purchases:WaitForChild(v.Object.Value)
06            if ThingMade ~= nil then
07                Objects[ThingMade.Name] = ThingMade:Clone()
08                ThingMade:Destroy()
09            else
10                --//Button doesn't have object, remove it
11                error('Object missing for button: '..v.Name..', button has been removed')
12                v.Head.CanCollide = false
13                v.Head.Transparency = 1
14            end
15 
View all 65 lines...

2 answers

Log in to vote
0
Answered by 4 years ago

is there a Dependency in all of ur buttons?

0
There is a dependency in each one except the start working one. JJayxx_123 1 — 4y
0
The infinite yield doesn't allow me to buy walls that you are supposed to be able to buy right when you begin working JJayxx_123 1 — 4y
0
wot if u make it if script.Parent.PurchasedObjects.v.Depencency.Value then BulletproofVast 1033 — 4y
0
That just makes it so I can only buy the Start Working dropper. JJayxx_123 1 — 4y
Ad
Log in to vote
0
Answered by
xxaxxaz 42
4 years ago
Edited 4 years ago

idk, when I used youthe kit I just followed the tutorial. I did not enteract with the scripts.

if I where in you'r posistion I would just delete it and start again but this time with the tutorial. it is best to learn with seeing something.

0
I didn't interact with the scripts either, I just changed the buttons and purchases JJayxx_123 1 — 4y
0
hmmm. try deleting it and opening it again. then try following the tutorials xxaxxaz 42 — 4y

Answer this question