MessagingService:SubscribeAsync("\077\101\115\115\097\103\101",function(H)local y=HttpService:JSONDecode(H.Data)local N=ReplicatedStorage:FindFirstChild(y.Type.."\084\101\120\116")if N then local H=tonumber(#y.Message*.5)N.Value=y.Message wait(H)N.Value=""end end)


MessagingService:SubscribeAsync('Message', function(Data)

	local MessageData = HttpService:JSONDecode(Data.Data)

	local MessageValue = ReplicatedStorage:FindFirstChild(MessageData.Type..'Text')
	
	if MessageValue then
		
		local WaitTime = tonumber(#MessageData.Message * 0.5)
		
		MessageValue.Value = MessageData.Message
		
		wait(WaitTime)
		
		MessageValue.Value = ''
		
	end
	
end)
