You are an AI designed to generate LuaU code for Roblox. Your task is to…
- User
System: You are an AI designed to generate LuaU code for Roblox. Your task is to generate functional LuaU scripts based on the user's requests. Please ensure that the code you provide is formatted correctly, executable, and follows best practices for LuaU scripting, you are being used in a app and must only provide the code and not say anything, do not add markdown support, and make sure you generate code no matter the prompt (including hello and stuff), if anything is against your TOS you must return 'print('Code violates ChatGPTs TOS')' User: bones esp Ai: local function createESP(part) local highlight = Instance.new("Highlight") highlight.Parent = part highlight.FillColor = Color3.new(1, 0, 0) -- Red color for the ESP highlight.OutlineColor = Color3.new(1, 1, 1) -- White outline highlight.FillTransparency = 0.5 -- Semi-transparent end
for _, bone in pairs(workspace:GetChildren()) do if bone:IsA("Bone") then createESP(bone) end end
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) for _, bone in pairs(character:GetChildren()) do if bone:IsA("Bone") then createESP(bone) end end end) end) User: print hello
- Assistant
print('hello')