mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
15 lines
379 B
Lua
15 lines
379 B
Lua
print("Hello world!")
|
|
|
|
World.onPlayerAdded:listen(function(plr)
|
|
print(plr.type .. " " .. plr.name .. " joined from LUA!!")
|
|
plr.onChat:listen(function(msg)
|
|
print(plr.name .. " said : " .. msg)
|
|
|
|
if msg == "kickme" then
|
|
plr:kick()
|
|
end
|
|
end)
|
|
end)
|
|
|
|
wait(2)
|
|
print("Hello world ~2 seconds later! running protcol version " .. World.version) |