All pastes #813501 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-12 16:10 UTC
rendered paste body
2nd error in a row...
Hope you get this messgae sometimes!! Here is the script but I am pretty sure it is fine! It is the chat part that needs something else I believe!


textures={255,257,259,261,263,265,267,269,271,273,275,277,279,281,283,285,287,289,291,293,295,297,299,301,303,305,307,309,311,313,315,319,321,323,325,327,328}

function getIDfromdigit(digit)
	if not digit then return nil end
	if digit=="0" then
		return 1
	elseif digit=="1" then
		return 2
	elseif digit=="2" then
		return 3
	elseif digit=="3" then
		return 4
	elseif digit=="4" then
		return 5
	elseif digit=="5" then
		return 6
	elseif digit=="6" then
		return 7
	elseif digit=="7" then
		return 8
	elseif digit=="8" then
		return 9
	elseif digit=="9" then
		return 10
	elseif digit=="a" then
		return 11
	elseif digit=="b" then
		return 12
	elseif digit=="c" then
		return 13
	elseif digit=="d" then
		return 14
	elseif digit=="e" then
		return 15
	elseif digit=="f" then
		return 16
	elseif digit=="g" then
		return 17
	elseif digit=="h" then
		return 18
	elseif digit=="i" then
		return 19
	elseif digit=="j" then
		return 20
	elseif digit=="k" then
		return 21
	elseif digit=="l" then
		return 22
	elseif digit=="m" then
		return 23
	elseif digit=="n" then
		return 24
	elseif digit=="o" then
		return 25
	elseif digit=="p" then
		return 26
	elseif digit=="q" then
		return 27
	elseif digit=="r" then
		return 28
	elseif digit=="s" then
		return 29
	elseif digit=="t" then
		return 30
	elseif digit=="u" then
		return 31
	elseif digit=="v" then
		return 32
	elseif digit=="w" then
		return 33
	elseif digit=="x" then
		return 34
	elseif digit=="y" then
		return 35
	elseif digit=="z" then
		return 36
	elseif digit=="_" then
		return 37
	else return nil
	end
end

function makeMessage(str)
	str=string.lower(str)
	local wt={0,0,0,0,0,0,0,0,0,0,0,0}
	local t=0
	for x in string.gmatch(str, ".") do t=t+1; wt[t]=x end
	--local numspaces=string.len(str)-t
--	for i=1, numspaces do
	--	string.find(" ")
	if t>=1 and getIDfromdigit(wt[1]) then
	script.Parent.m1.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[1])]
	else script.Parent.m1.Decal.Texture="" end
	if t>=2 and getIDfromdigit(wt[2]) then
	script.Parent.m2.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[2])]
	else script.Parent.m2.Decal.Texture="" end
	if t>=3 and getIDfromdigit(wt[3]) then
	script.Parent.m3.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[3])]
	else script.Parent.m3.Decal.Texture="" end
	if t>=4 and getIDfromdigit(wt[4]) then
	script.Parent.m4.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[4])]
	else script.Parent.m4.Decal.Texture="" end
	if t>=5 and getIDfromdigit(wt[5]) then
	script.Parent.m5.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[5])]
	else script.Parent.m5.Decal.Texture="" end
	if t>=6 and getIDfromdigit(wt[6]) then
	script.Parent.m6.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[6])]
	else script.Parent.m6.Decal.Texture="" end
	if t>=7 and getIDfromdigit(wt[7]) then
	script.Parent.m7.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[7])]
	else script.Parent.m7.Decal.Texture="" end
	if t>=8 and getIDfromdigit(wt[8]) then
	script.Parent.m8.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[8])]
	else script.Parent.m8.Decal.Texture="" end
	if t>=9 and getIDfromdigit(wt[9]) then
	script.Parent.m9.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[9])]
	else script.Parent.m9.Decal.Texture="" end
	if t>=10 and getIDfromdigit(wt[10]) then
	script.Parent.m10.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[10])]
	else script.Parent.m10.Decal.Texture="" end
	if t>=11 and getIDfromdigit(wt[11]) then
	script.Parent.m11.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[11])]
	else script.Parent.m11.Decal.Texture="" end
	if t>=12 and getIDfromdigit(wt[12]) then
	script.Parent.m12.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[12])]
	else script.Parent.m12.Decal.Texture="" end
	if t>=13 and getIDfromdigit(wt[13]) then
	script.Parent.m13.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[13])]
	else script.Parent.m13.Decal.Texture="" end
	if t>=14 and getIDfromdigit(wt[14]) then
	script.Parent.m14.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[14])]
	else script.Parent.m14.Decal.Texture="" end
	if t>=15 and getIDfromdigit(wt[15]) then
	script.Parent.m15.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[15])]
	else script.Parent.m15.Decal.Texture="" end
	if t>=16 and getIDfromdigit(wt[16]) then
	script.Parent.m16.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[16])]
	else script.Parent.m16.Decal.Texture="" end
	if t>=17 and getIDfromdigit(wt[17]) then
	script.Parent.m17.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[17])]
	else script.Parent.m17.Decal.Texture="" end
	if t>=18 and getIDfromdigit(wt[18]) then
	script.Parent.m18.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[18])]
	else script.Parent.m18.Decal.Texture="" end
	if t>=19 and getIDfromdigit(wt[19]) then
	script.Parent.m19.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[19])]
	else script.Parent.m19.Decal.Texture="" end
	if t>=20 and getIDfromdigit(wt[20]) then
	script.Parent.m20.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[20])]
	else script.Parent.m20.Decal.Texture="" end
	if t>=21 and getIDfromdigit(wt[21]) then
	script.Parent.m21.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[21])]
	else script.Parent.m21.Decal.Texture="" end
	if t>=22 and getIDfromdigit(wt[22]) then
	script.Parent.m22.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[22])]
	else script.Parent.m22.Decal.Texture="" end
	if t>=23 and getIDfromdigit(wt[23]) then
	script.Parent.m23.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[23])]
	else script.Parent.m23.Decal.Texture="" end
	if t>=24 and getIDfromdigit(wt[24]) then
	script.Parent.m24.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[24])]
	else script.Parent.m24.Decal.Texture="" end
	if t>=25 and getIDfromdigit(wt[25]) then
	script.Parent.m25.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[25])]
	else script.Parent.m25.Decal.Texture="" end
	if t>=26 and getIDfromdigit(wt[26]) then
	script.Parent.m26.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[26])]
	else script.Parent.m26.Decal.Texture="" end
	if t>=27 and getIDfromdigit(wt[27]) then
	script.Parent.m27.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[27])]
	else script.Parent.m27.Decal.Texture="" end
	if t>=28 and getIDfromdigit(wt[28]) then
	script.Parent.m28.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[28])]
	else script.Parent.m28.Decal.Texture="" end
	if t>=29 and getIDfromdigit(wt[29]) then
	script.Parent.m29.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[29])]
	else script.Parent.m29.Decal.Texture="" end
	if t>=30 and getIDfromdigit(wt[30]) then
	script.Parent.m30.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[30])]
	else script.Parent.m30.Decal.Texture="" end
	if t>=31 and getIDfromdigit(wt[31]) then
	script.Parent.m31.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[31])]
	else script.Parent.m31.Decal.Texture="" end
	if t>=32 and getIDfromdigit(wt[32]) then
	script.Parent.m32.Decal.Texture="http://www.roblox.com/asset/?version=1&id=1073" .. textures[getIDfromdigit(wt[32])]
	else script.Parent.m32.Decal.Texture="" end
end

script.Parent.Text.Changed:connect(makeMessage)