Attempt to call a table value error

Hello,
So I’m trying to create a twitter code script. I’m getting a "attempt to call a table value " error on line 13 where I fire the remote function. I don’t understand why im getting this error since I’m not using a table. Thank you for your help!

local RedeemFrame = script.Parent.RedeemFrame
local CodeBox = RedeemFrame.CodeBox
local RedeemButton = RedeemFrame.RedeemButton
local ToggleButton = script.Parent.CodeButton

ToggleButton.MouseButton1Click:Connect(function()
	RedeemFrame.Visible = not RedeemFrame.Visible
end)

RedeemButton.MouseButton1Click:Connect(function()
	local Code = CodeBox.Text
	print(Code)
	local Redeemed = game.ReplicatedStorage.RedeemRF:InvokeServer(Code)
	
	if Redeemed ==  true then
		CodeBox.Text = ""
		CodeBox.PlaceholderText = "Redeemed Code!"
		wait(2)
		CodeBox.PlaceholderText = "Code Here"
	else
		CodeBox.Text = ""
		CodeBox.PlaceholderText = "Invalid Code!"
		wait(2)
		CodeBox.PlaceholderText = "Code Here"
	end
end)

The error is in the script that implements OnServerInvoke. Roblox will pass the error back through the remote function, which is why you’re seeing it there.

ahhhh, thanks! I was able to figure it out