I'm making a server message script, here is the code:
local label = require(game.StarterGui.SM.Frame.message:WaitForChild('uhoh')) local button = script.Parent local box = script.Parent.Parent:WaitForChild('message') button.MouseButton1Click:Connect(function() label() wait(5) end)
I get the error "Attempted to call require with invalid argument(s)." How do I fix it?