I am making a obby and when people make level 5 and such, it sends a message.
This is the LocalScript I put in StarterPlayerScripts:
Script
local ReplicatedStorage = game:GetService(‘ReplicatedStorage’)
local remoteEvent = ReplicatedStorage:WaitForChild(‘RemoteEvent’)
textColor = game.Workspace.Drip
local function complete(playerName, partName)
game.StarterGui:SetCore(‘ChatMakeSystemMessage’, {
Text = playerName…’ completed '…partName;
Font = Enum.Font.SourceSansBold;
Color = textColor.Color;
FontSize = Enum.FontSize.Size24;
})
end
remoteEvent.OnClientEvent:Connect(complete)
Thanks!
Hunter