gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
code me hello world in roblox studio
- User
code me hello world in roblox studio
- Assistant
Sure! Here's a simple script to print "Hello, World!" in Roblox Studio.
- Open Roblox Studio.
- Insert a Script into ServerScriptService (or any part).
- Paste this code inside the script:
luaprint("Hello, World!")When you run the game, the output window will display:
codeHello, World!
If you want to display "Hello, World!" as a message on the screen for players, you can use a ScreenGui with a TextLabel or create it via script:
Example to display on the player's screen:
- Insert a LocalScript inside StarterPlayer > StarterPlayerScripts.
- Use this code:
lua