Documentation

Everything you need to know to get started with ScriptWEAVER

Getting Started

Welcome to ScriptWEAVER! This guide will help you get up and running in minutes. ScriptWEAVER is designed to be intuitive and powerful, helping you write better Roblox code faster.

Prerequisites: You'll need a Roblox Studio installation and a ScriptWEAVER account.

Installation

Follow these simple steps to install ScriptWEAVER:

1 Create an Account

Sign up at scriptweaver.ai and choose your plan.

2 Download Plugin

Download the ScriptWEAVER plugin for Roblox Studio from your dashboard.

Roblox Studio > Plugins > Manage Plugins > Install ScriptWEAVER

3 Authenticate

Open the plugin in Roblox Studio and log in with your ScriptWEAVER credentials.

Basic Usage

Learn the fundamentals of using ScriptWEAVER:

Code Generation

Simply describe what you want to build in natural language:

// Type in the ScriptWEAVER prompt:
"Create a click detector that teleports the player to spawn"

// ScriptWEAVER generates:
local clickDetector = Instance.new("ClickDetector")
clickDetector.Parent = script.Parent

clickDetector.MouseClick:Connect(function(player)
    local spawnLocation = workspace.SpawnLocation
    if spawnLocation then
        player.Character:MoveTo(spawnLocation.Position)
    end
end)

Code Completion

Get intelligent suggestions as you type:

-- Start typing and press Ctrl+Space for suggestions
local player = game.Players.LocalPlayer
player. -- AI suggests: Character, UserId, Name, etc.

AI Features

Code Generation

Describe functionality in plain English and get production-ready Lua code instantly.

Smart Debugging

Automatic bug detection with detailed explanations and fix suggestions.

Optimization

Analyze code performance and apply optimizations automatically.

Documentation

Generate comprehensive documentation for your scripts automatically.

API Reference

Access ScriptWEAVER programmatically:

REST API

POST https://api.scriptweaver.ai/v1/generate
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "prompt": "Create a GUI button that saves player data",
  "language": "lua",
  "context": "Roblox"
}

Response Format

{
  "success": true,
  "code": "-- Generated Lua code here",
  "explanation": "This code creates a GUI button...",
  "confidence": 0.95
}

Best Practices

Be Specific

Provide detailed descriptions for better code generation results.

Review Generated Code

Always review and test AI-generated code before deploying to production.

Use Context

Provide context about your project for more accurate suggestions.

Iterate

Refine prompts and generated code through iterations for best results.

Troubleshooting

Plugin Not Loading

If the plugin doesn't load in Roblox Studio:

  • Restart Roblox Studio
  • Check if the plugin is enabled in Plugins > Manage Plugins
  • Verify your internet connection
  • Reinstall the plugin

Authentication Issues

If you can't log in:

  • Verify your credentials
  • Check your subscription status
  • Clear browser cache and cookies
  • Contact support if the issue persists

Slow Code Generation

If code generation is slow:

  • Check your internet connection speed
  • Try simplifying your prompt
  • Upgrade to a higher-tier plan for priority processing

Need More Help? Contact our support team at support@scriptweaver.ai