Before you act like "You put in x but don't understand x? Well I got some stuff from a tutorial on the Dev hub and the rest I made myself. Whenever I put in the chat "spoopy" it doesn't work. What am I doing wrong"?
local announcer = Instance.new("Message")
local function Joined(plr)
-- Everytime they chat, we want to know
plr.Chatted:Connect(function(msg)
if msg == "spoopy" then -- Aha, that's our cue
game.Lighting.Theboss:clone().Parent = game.Workspace
announcer.Parent = game.Workspace
announcer.Text = "Uh oh someone summoned something weird!"
wait(3)
announcer:remove()
end
end)
end

3 comments
is this a localscript or a script ? where is it located and
:removeis deprecatedMessage is also deprecated
Test using print if that works already