wait(1) -- just a wait thats here
player = game.Players.LocalPlayer
l= player.leaderstats
e = 10
d = 4.5-- ignore these
frame = script.Parent.Parent
script.Parent.MouseButton1Click:connect(function()
if l.Money.Value >= 10 then
e = e + 5
l.Money.Value = l.Money.Value - e
frame.price.Text = '$'..e
local poot = player:WaitForChild("waittime")
print(poot)
player.waittime = d -- and herein lies the issue
d = d - .5 -- these never happen
frame.lab.Text = d..' seconds'
end
end)
my output:
waittime <-- is the printed one
waittime is not a valid member of Player <--- is the error Line 15
it says it's not a valid member, but one line up it proves that it is a valid member...What's wrong with this?

2 comments
yes it is a value.... i am so stupid.... thank you
Its okay, i mess up like that all the time xD