How would I be able to make this code (FE comp) change a value, I've tried and cannot seem to get it to work, please help.
local player = game.Players.LocalPlayer
script.Parent.FocusLost:connect(function(enterPressed)
if enterPressed and script.Parent.Text == "0000" then
script.Parent.Parent.Database.Dest.Value = 1
print("it works!")
end
end)

1 comment
Uh... so you are trying to get the FocusLost function to fire?