Script Fixer for broken scripts lol short scripts not long
Key RequiredUniversal

Script Fixer for broken scripts lol short scripts not long

Universal ScriptROZXINO_OFFICIALROZXINO_OFFICIAL 8.8K views 24 executesUpdated Jun 21, 2024
0.0/ 5(2 votes)
020% Positive
Lua Script•73 lines (2394 chars)
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextBox = Instance.new("TextBox")
local Button1 = Instance.new("TextButton")
local Button2 = Instance.new("TextButton")

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(64, 64, 64)
Frame.Position = UDim2.new(0.3, 0, 0.3, 0)
Frame.Size = UDim2.new(0, 400, 0, 200)
Frame.Active = true
Frame.Draggable = true

TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
TextLabel.Size = UDim2.new(0, 400, 0, 50)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "Fixalator{Script Fixer}"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 24.0

TextBox.Parent = Frame
TextBox.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
TextBox.Position = UDim2.new(0, 0, 0.25, 0)
TextBox.Size = UDim2.new(0, 400, 0, 100)
TextBox.Font = Enum.Font.SourceSans
TextBox.Text = "Enter ur broken script here lol"
TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
TextBox.TextSize = 24.0
TextBox.ClearTextOnFocus = false

Button1.Parent = Frame
Button1.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
Button1.Position = UDim2.new(0, 0, 0.75, 0)
Button1.Size = UDim2.new(0, 200, 0, 50)
Button1.Font = Enum.Font.SourceSans
Button1.Text = "Fix and Copy"
Button1.TextColor3 = Color3.fromRGB(255, 255, 255)
Button1.TextWrapped = true
Button1.TextSize = 24.0

Button2.Parent = Frame
Button2.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
Button2.Position = UDim2.new(0.5, 0, 0.75, 0)
Button2.Size = UDim2.new(0, 200, 0, 50)
Button2.Font = Enum.Font.SourceSans
Button2.Text = "Clear"
Button2.TextColor3 = Color3.fromRGB(255, 255, 255)
Button2.TextSize = 24.0

-- Module Scripts:

local function fixScript(brokenScript)
    local fixedScript = brokenScript
    fixedScript = fixedScript:gsub("print%(\"(.-)\"", "print(\"%1\")")
    fixedScript = fixedScript:gsub("function%(.-%)", "function()")
    fixedScript = fixedScript:gsub("local%s+(%w+)%s*=", "local %1 =")
    return fixedScript
end

Button1.MouseButton1Click:Connect(function()
    local brokenScript = TextBox.Text
    local fixedScript = fixScript(brokenScript)
    TextBox.Text = fixedScript
    setclipboard(fixedScript)
end)

Button2.MouseButton1Click:Connect(function()
    TextBox.Text = ""
end)

Features & Information

{SHORT BROKEN SCRIPTS ONLY NOT LONG OR IT WILL ERROR FIXING UR DUMB LONG SCRIPT} {I used Gui to lua BTW lol}

Community Comments (5)

6885643268856432Jun 21, 2024(edited)

It's not fixing anthing, just doing some basic string replacements.

vxstyvxstyJun 21, 2024(edited)

That's not fixing??

SkireScriptsSkireScriptsJun 21, 2024(edited)

least obv gpt script

GrayGrayJun 21, 2024(edited)

Gui to Lua Or Text To Code ( GPT )

SunoSunoJun 22, 2024(edited)

this is so aids\

More Scripts for Universal Scripts