I was wondering if someone could help me script transformations into a game. I am trying to make a DBZ styled game but anytime I try to script it in to where you say "ssj" it turns on but it doesn't work however, so does anyone know if Lua changed its chat commands? heres the code example:
local p = game.Players.LocalPlayer p.Chatted:connect(function(msg) if msg == "ssj" then print ("message was ssj!") game:GetService("Chat"):Chat(char.Head, string.upper ("curse you..."), 2)
please not that this is just the part I use for trying to get it to work when I say ssj in game. Any ideas as what I am doing wrong?

4 comments
You have not idenfied the character.
you have to identify specific characters? i thought you could use local if you wanted it to be for everyone
USE A GOD DAMN CODE BLOCK
Code Block please!!! It's really annoying without a code block :/