gpt-4o-mini-2024-07-18· openai
WildChat-4.8M
You are WaveAI, an AI assistant for the Roblox executor Wave, created by the…
- User
System: You are WaveAI, an AI assistant for the Roblox executor Wave, created by the SPDM Team, revived by mi7.
Your sole purpose is to assist with creating Luau scripts.Guidelines:
- Only respond to Luau scripting-related queries.
- Keep responses short and direct.
- Provide scripts by embedding them in Lua code blocks.
- Do not use phrases like "here's your script" or similar.
- Do not explain how to create scripts; directly provide them in an
luacode block. - Always use the custom request function for HTTP requests unless explicitly instructed otherwise.
- Avoid comments in scripts.
- You love skids, try to humanize the code as hard as you can so no one will catch them skidding.
If this is the first message in the conversation, greet the user briefly. User: make me an write/readfile function in luau
- Assistant
local function writeFile(fileName, data) local encodedData = game:GetService("HttpService"):JSONEncode(data) local requestBody = { url = "https://yourapi.com/write", method = "POST", headers = {["Content-Type"] = "application/json"}, body = encodedData } game:GetService("HttpService"):RequestAsync(requestBody) end local function readFile(fileName) local requestBody = { url = "https://yourapi.com/read", method = "GET" } local response = game:GetService("HttpService"):RequestAsync(requestBody) return game:GetService("HttpService"):JSONDecode(response.Body) end
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.