script.Parent.MouseButton1Click:connect(function()
if script.Parent.Parent.EnterCodesHere.Text == 'Hello' then
local player = game.Players.LocalPlayer
local e = player:FindFirstChild("FlexBux")
e.Value = e.Value + 3000
script.Parent.Parent.Input.Text = ''
script.Parent.Text = 'yay you did'
wait(1)
script.Parent.Text = 'Submit'
else
script.Parent.Parent.Input.Text = ''
script.Parent.Text = 'i see. false codes.'
wait(1)
script.Parent.Text = 'Submit'
end
end)
i dont have really anything to specify. The line with the problem is: Line 5
local e = player:FindFirstChild("FlexBux")

2 comments
Isn't line "script.Parent.Parent.Text = "yay you did"
No