I have a script that worked before, but now it doesn't (in the title). It's literally the exact same, unless I sleep developed?
Anyways, here's the script.
LOCAL:
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
local plr = game.Players.LocalPlayer
local tse = game:GetService("TextService")
local uis = game:GetService("UserInputService")
local temp = game.ReplicatedStorage.TemplateFrame
local gui = script.Parent
local frame = gui.ChatFrame
local box = gui.MsgBox
box.FocusLost:Connect(function(enter)
if enter then
game.ReplicatedStorage.ChatEvent:FireServer(box.Text)
end
end)
game.ReplicatedStorage.ChatEvent.OnClientEvent:Connect(function(plr,name,text)
local msg = temp:Clone()
local tse = game:GetService("TextService")
local size = tse:GetTextSize(string.upper(name)..":",14,Enum.Font.SourceSansBold,Vector2.new(120,14))
msg.Parent = frame
local r,g,b = plr.TeamColor.r*255,plr.TeamColor.g*255,plr.TeamColor.b*255
msg.TemplateName.Text = string.upper(name)..":"
msg.TemplateName.Size = UDim2.new(0,size.X,0,14)
msg.TemplateName.TextColor3 = Color3.fromRGB(r,g,b)
msg.TemplateText.Text = text
msg.TemplateText.Size = UDim2.new(1,-(size.X-2),0,14)
msg.TemplateText.Position = UDim2.new(0,size.X+2,0,0)
end)
SERVER:
local event = game.ReplicatedStorage.ChatEvent
event.OnServerEvent:Connect(function(plr,text)
event:FireAllClients(plr,plr.Name,text)
end)

2 comments
try adding prints on the script to check where it stops, then please tell me the line
No it was just disabled lol