- 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>
13 lines
258 B
Lua
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
|