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

How to make something so if a player types in the chat /remove the GUI text will change?

Asked by 3 years ago

I am trying to make it so if a player types /remove the GUI text will change to "hi". I've used a Script, do I need to use local script?

Script;

game.Players.PlayerAdded:Connect(function(Player) Player.Chatted:Connect(function(Chat) if Player.Chat == "/remove" then script.Parent.Text = "hi" end

1 answer

Log in to vote
0
Answered by 3 years ago

https://developer.roblox.com/en-us/recipes/Add-Chat-Commands

Ad

Answer this question