1 | player = game.Players.LocalPlayer |
2 | mouse = player:GetMouse() |
3 | casting = script.Parent:WaitForChild( "Casting" ) |
4 |
5 | function Chant(msg) |
6 | game:GetService( "Chat" ):Chat(player.Character.Head, msg, Enum.ChatColor.Red) |
7 | end |
8 | wait( 3 ) |
9 | Chant( "hi" ) |
for some reason I cant see my chat, nothings in the output but it does appear help please.
There is a post on the developer forums about this not working in studio, I assume this is your problem.
Upload this to a game and test it online and it should work.