--[[OMG YAY! First ever reply system, I'll be doing ALLOT of work on this.. It'll end up to be let's say..
1000+ lines of mixtures of letters forsay? I wanna make this good!]]


hichats = {"Hi","Hello","oh hi","Hi!","Oh hey","Hey","What do you want","What's up"}

local head = script.Parent.Head

function onPlayerEntered(newPlayer)
game.Players.PlayerAdded:connect(onPlayerEntered)
function onChatted(msg, recipient, speaker)

local source = string.lower(speaker.Name)
if (msg == "hi") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hello") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hi!") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hi.") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hello!") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hello.") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hey") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hey!") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
local source = string.lower(speaker.Name)
if (msg == "hey.") then 
game:GetService("Chat"):Chat(head,""..hichats[math.random(1, #hichats)]..", "..speaker.Name,Enum.ChatColor.White)
end
end
end
game.Players.PlayerAdded:connect(function(newP)
onPlayerEntered(newP) newP.Chatted:connect(function(msg) onChatted(msg, nil, newP) end) end)
