Why do I keep getting the error named in the title?
local box = script.Parent.TwitterCode local player = function onClick() if box.Text == "OP3NING" then wait(1) box.Text = "Valid!" local s = game.ServerStorage.Sparkles:Clone() s.Parent = player.Torso wait(3) box.Text = "Twitter Code" else box.Text = "Invalid!" wait(3) box.Text = "Twitter Code" end end script.Parent.MouseButton1Click:connect(onClick)