Answers for "Roblox player.Chatted script"

1

player chatted function roblox

game.Players.PlayerAdded:Connect(function(player)
	player.Chatted:Connect(function(msg)
    	if string.sub(msg,1,10) == "hey" then
        	print(player.Name.." said hi!")
        end
    end
end)
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language