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

Tycoon Script Help?

Asked by
anerth 25
9 years ago

I am making a tycoon and I am stuch with this line:

local object = script.Parent.Purchases:FindFirstChild(v.Object.Value)

Object is not a valid member of Model

all code till error

objects = {}
wait(1)
script.Parent:WaitForChild("Buttons")
for i,v in pairs(script.Parent.Buttons:GetChildren()) do
    if v:FindFirstChild("Head") then

        local object = script.Parent.Purchases:FindFirstChild(v.Object.Value)
0
What are you attempting to do? BlueTaslem 18071 — 9y
0
just use berezaa's tycoon tutorial, thats where this is from..... NinjoOnline 1146 — 9y

Answer this question