I Am trying to make a Promocode System and I Have a script that controls all of it but it isn't working
--[[Variable]]-- local PM = script.Parent.PromoMenu local PC = script.Parent.PromoCodes local PI = PM.PromoInsert --[[Scripting]]-- script.Parent.PromocodesOpen.MouseButton1Click:Connect(function() if PM.Visible == false then PM.Visible = true else PM.Visible = false end end) PM.Submit.MouseButton1Click:Connect(function() if PI.Text == "C0VID19" then print("Work") end if PI.Text == "Ca3h" then print("Work") end if PI.Text == "M0therL0ad" then print("Work") end end)