diff --git a/ninjas_talk_chat.cs b/ninjas_talk_chat.cs new file mode 100644 index 0000000..bebaf35 --- /dev/null +++ b/ninjas_talk_chat.cs @@ -0,0 +1,7 @@ +local ChatService = game:GetService("Chat") +local head = script.Parent.Head +local prompt = head.ProximityPrompt +local chatList = {"Hello, I'm Sensei Matt!", "Hi-Yah!"} +prompt.Triggered:Connect(function() +ChatService:Chat(head, chatList[math.random(1, #chatList)]) +end)