Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a text come up when i chat?

Asked by
Prestory 1395 Moderation Voter
7 years ago

So i want a text above my head to come up with the players name then the text right now ive made it print what ever they say in the out with help from the scripters of these websites

game.Players.PlayerAdded:Connect(function(Player)
    Player.Chatted:Connect(function(ChatText)
        if  string.sub(ChatText,1,3):lower() == "/me" then
            local afterText = string.sub(ChatText,  4) 
            print(afterText)
        end
    end)
end) 

How would i make it a text coming up showing what they said?

Answer this question