2DWorlds Forums
Can anybody translate this RBLX Lua into Buildism Lua? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Can anybody translate this RBLX Lua into Buildism Lua? (/showthread.php?tid=2687)



Can anybody translate this RBLX Lua into Buildism Lua? - Login - 04-09-2011

local words = {"Truth", "Cows", "Buildism", "Login"}
while true do
local randomword = words[math.random(1,#words)]
print(randomword)
m = Instance.new("Message",Workspace)
m.Text = randomword
sleep(5)
m:Remove()
end

I can't quite get the message. Instead, make it so it appears on the chat as a chatted message.


RE: Can anybody translate this RBLX Lua into Buildism Lua? - Micky - 04-09-2011

i dont know how to translate the OnChatted Function into this Lua :/, i think there isnt an OnChatted Funtion here yet!