Files
ClaudeCode-Roblox-Studio-MCP/examples/spinning_part.lua
admin 9c44cb514f Initial commit: Roblox Studio MCP Server for Claude Code
- MCP server with 12 tools for Roblox manipulation
- WebSocket communication with Roblox Studio
- Create scripts, parts, models, GUIs
- Execute Lua code, control playtest
- Full documentation and examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-29 00:38:36 +04:00

13 lines
258 B
Lua

-- Example: Spinning Part Script
-- Put this in a Script inside a Part to make it spin
local part = script.Parent
while true do
-- Rotate the part
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(5), 0)
-- Wait for the next frame
task.wait()
end