How would I chat something from an external script?

Hello!

I am currently making an obby. This obby has levels. I am trying to announce in the chat that a player has made it to the next level when they have reached it. Sorry if these terms are a bit confusing, I don’t know how else to say it!

Here’s some pseudocode for what I’m trying to achieve:

	plr.leaderstats.Level.Changed:Connect(function(change)
		broadcastMessage(plr.Name.. " has made it to ".. change.. "!") --BroadcastMessage is a placeholder function for what ACTUALLY might go there.
	end)

If you have any suggestion, please let me know down below. Thanks! :smiley:

1 Like

(If you have LegacyChat)

StarterGui:SetCore(“ChatMakeSystemMessage”, {
Text = “text :)”
})
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.