Prompt: -- ROBLOX deviation END

Response:
export type ValidTestReturnValues = void | nil
type TestReturnValuePromise = Promise<any>
type TestReturnValueGenerator = Generator<void, any, void>
export type TestReturnValue = ValidTestReturnValues | TestReturnValuePromise

export type TestContext = Record<string, any>

export type DoneFn = (reason: (string | Error)?) -> ()


Prompt: -- get existing players

Response:
for _, player in pairs(Players:GetPlayers()) do
	playerAdded(player)
end


Prompt:
--s.Pitch = 0.7
--s.Pitch = 0.7

Response:
while true do
while s.Pitch<0.6 do
s.Pitch=s.Pitch+0.010
s:Play()
if s.Pitch>0.6 then
	s.Pitch=0.6
end
wait(0.001)
end


Prompt:
--[[script.Parent.Examinar.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.ExaminarAberto.Visible == false then
	Saude.Variaveis.Doer.Value = true
	Timer.Barra.Size = UDim2.new(0,0,1,0)
	TS:Create(Timer.Barra, TweenInfo.new(5), {Size =  UDim2.new(1,0,1,0)}):Play()
	wait(5)
	script.Parent.Parent.ExaminarAberto.Visible = true
	script.Parent.Parent.ExaminarAberto.Base.DiagnoseHandler.Disabled = false
	Saude.Variaveis.Doer.Value = false
	end
end)]]

Response:
script.Parent.Airway.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Airway.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = false
	script.Parent.Parent.Breathing.Visible = false
	script.Parent.Parent.Airway.Visible = true
	script.Parent.Parent.Resuscitation.Visible = false
	script.Parent.Parent.Surgery.Visible = false
	script.Parent.Parent.Analgesic.Visible = false
	--Saude.Variaveis.Doer.Value = false
	end
end)

script.Parent.Breathing.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Breathing.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = false
	script.Parent.Parent.Breathing.Visible = true
	script.Parent.Parent.Airway.Visible = false
	script.Parent.Parent.Resuscitation.Visible = false
	script.Parent.Parent.Surgery.Visible = false
	script.Parent.Parent.Analgesic.Visible = false
	--Saude.Variaveis.Doer.Value = false
	end
end)

script.Parent.Circulation.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Circulation.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = true
	script.Parent.Parent.Breathing.Visible = false
	script.Parent.Parent.Airway.Visible = false
	script.Parent.Parent.Resuscitation.Visible = false
	script.Parent.Parent.Surgery.Visible = false
	script.Parent.Parent.Analgesic.Visible = false
	--Saude.Variaveis.Doer.Value = false
	end
end)

script.Parent.Resuscitation.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Resuscitation.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = false
	script.Parent.Parent.Breathing.Visible = false
	script.Parent.Parent.Airway.Visible = false
	script.Parent.Parent.Resuscitation.Visible = true
	script.Parent.Parent.Surgery.Visible = false
	script.Parent.Parent.Analgesic.Visible = false
	--Saude.Variaveis.Doer.Value = false
	end
end)

script.Parent.Analgesic.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Analgesic.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = false
	script.Parent.Parent.Breathing.Visible = false
	script.Parent.Parent.Airway.Visible = false
	script.Parent.Parent.Resuscitation.Visible = false
	script.Parent.Parent.Surgery.Visible = false
	script.Parent.Parent.Analgesic.Visible = true
	--Saude.Variaveis.Doer.Value = false
	end
end)

script.Parent.Surgery.MouseButton1Down:connect(function()
	if Saude.Variaveis.Doer.Value == false and script.Parent.Parent.Surgery.Visible == false then
	--Saude.Variaveis.Doer.Value = true
	--Timer.Barra.Size = UDim2.new(0,0,1,0)
	--TS:Create(Timer.Barra, TweenInfo.new(.25), {Size =  UDim2.new(1,0,1,0)}):Play()
	--wait(.25)
	script.Parent.Parent.Circulation.Visible = false
	script.Parent.Parent.Breathing.Visible = false
	script.Parent.Parent.Airway.Visible = false
	script.Parent.Parent.Resuscitation.Visible = false
	script.Parent.Parent.Surgery.Visible = true
	script.Parent.Parent.Analgesic.Visible = false
	--Saude.Variaveis.Doer.Value = false
	end
end)


Response:
if ignition == true then
	mouse.KeyDown:connect(function(key)
		if key == camkey and enabled == false then

			local seat = car.DriveSeat
				local effect = script.soundeffect:Clone()
				effect.Name = "soundeffectCop"
			effect.Parent = seat[audioname]

		elseif key == camkey and enabled == true then

			local seat = car.DriveSeat
			seat[audioname].soundeffectCop:Destroy()

		end
		car.DriveSeat.ChildRemoved:Connect(function(child)

			if child.Name == "SeatWeld" then
				local seat = car.DriveSeat
				seat[audioname].soundeffectCop:Destroy()
			end
		end)
	end)
end


Prompt: -- Styles

Response:
local Styles = {
	Font = Enum.Font.Arial,
	Margin = 5,
	Black = Color3_fromRGB(0,0,5),
	Black2 = Color3_fromRGB(24,24,29),
	White = Color3_fromRGB(244,244,249),
	White2 = Color3_fromRGB(200,200,205),
	Hover = Color3_fromRGB(2,128,149),
	Hover2 = Color3_fromRGB(5,102,146)
}

local Row = {
	Font = Styles.Font,
	FontSize = Enum.FontSize.Size12,
	TextXAlignment = Enum.TextXAlignment.Left,
	TextColor = Styles.White,
	TextColorOver = Styles.White2,
	TextLockedColor = Color3_fromRGB(155, 155, 160),
	Height = 24,
	BorderColor = Color3_fromRGB(54, 54, 55),
	BackgroundColor = Styles.Black2,
	BackgroundColorAlternate = Color3_fromRGB(32, 32, 37),
	BackgroundColorMouseover = Color3_fromRGB(40, 40, 45),
	TitleMarginLeft = 15
}

local DropDown = {
	Font = Styles.Font,
	FontSize = Enum.FontSize.Size14,
	TextColor = Color3_fromRGB(255, 255, 255),
	TextColorOver = Styles.White2,
	TextXAlignment = Enum.TextXAlignment.Left,
	Height = 16,
	BackColor = Styles.Black2,
	BackColorOver = Styles.Hover2,
	BorderColor = Color3_fromRGB(45, 45, 50),
	BorderSizePixel = 2,
	ArrowColor = Color3_fromRGB(80, 80, 83),
	ArrowColorOver = Styles.Hover
}

local BrickColors = {
	BoxSize = 13,
	BorderSizePixel = 1,
	BorderColor = Color3_fromRGB(53, 53, 55),
	FrameColor = Color3_fromRGB(53, 53, 55),
	Size = 20,
	Padding = 4,
	ColorsPerRow = 8,
	OuterBorder = 1,
	OuterBorderColor = Styles.Black
}

wait(1)

local bindGetSelection = ExplorerFrame:WaitForChild("GetSelection")
local bindSelectionChanged = ExplorerFrame:WaitForChild("SelectionChanged")
local bindGetApi = PropertiesFrame.GetApi
local bindGetAwait = PropertiesFrame.GetAwaiting
local bindSetAwait = PropertiesFrame.SetAwaiting

local ContentUrl = ContentProvider.BaseUrl .. "asset/?id="

local SettingsRemote = Gui:WaitForChild("SettingsPanel"):WaitForChild("GetSetting")

local propertiesSearch = PropertiesFrame.Header.TextBox

local AwaitingObjectValue = false
local AwaitingObjectObj
local AwaitingObjectProp

function searchingProperties()
	if propertiesSearch.Text ~= "" then
		return true
	end
	return false
end

local function GetSelection()
	local selection = bindGetSelection:Invoke()
	if #selection == 0 then
		return nil
	else
		return selection
	end
end


Prompt:
---------------------------
--[[
	--Main anchor point is the DriveSeat <car.DriveSeat>

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

Response:
MakeWeld(car.Misc.Trunk.SS,car.DriveSeat,"Motor",.04).Name="W"
ModelWeld(car.Misc.Trunk.Parts,car.Misc.Trunk.SS)

for _,v in pairs({car.Misc.Trunk}) do
	local open=false
	for _,a in pairs(v.Parts:GetChildren()) do
		if a.Name=="Handle" then
			local CL = Instance.new("ClickDetector",a)
			CL.MaxActivationDistance = 12
			CL.MouseClick:connect(function()
				open = not open
				if open then
					a.Parent.Parent.SS.W.DesiredAngle = math.rad(60.5)
				else
					a.Parent.Parent.SS.W.DesiredAngle = 0
				end
			end)
		end
	end
end

car.DriveSeat.ChildAdded:connect(function(child)
	if child.Name=="SeatWeld" and child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
		child.C0=CFrame.new(0,-.5,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0)
	end
end)


Prompt: -- constants

Response:
local PLAYER_DATA	= ReplicatedStorage:WaitForChild("PlayerData")
local PLAYER		= Players.LocalPlayer

local REPLACEMENTS	= {
	Zero	= "0";
	One		= "1";
	Two		= "2";
	Three	= "3";
	Four	= "4";
	Five	= "5";
	Six		= "6";
	Seven	= "7";
	Eight	= "8";
	Nine	= "9";

	MouseButton1	= "MB1";
	MouseButton2	= "MB2";
	MouseButton3	= "MB3";
	Return			= "Enter";
	Slash			= "/";
	Tilde			= "~";
	Backquote		= "`";
}


Prompt: -- ProductId 1218012148 for 2500 Cash

Response:
developerProductFunctions[Config.DeveloperProductIds["2500 Cash"]] = function(receipt, player)
	-- Logic/code for player buying 2500 Cash (may vary)
	local leaderstats = player:FindFirstChild("leaderstats")
	local cash = leaderstats and leaderstats:FindFirstChild("Cash")
	if cash then
		if Utilities:OwnsGamepass(player, gamepassID) then
			cash.Value += 5000
		else
			cash.Value += 2500
		end
		return true
	end
end


Prompt: -- Monitor character

Response:
while wait(5) do

	-- Check if alive
	if plr.Character ~= nil and plr.Character:FindFirstChild("Humanoid") then

		-- Check stats
		if plr.Character.Humanoid.WalkSpeed > 23 or plr.Character.Humanoid.JumpPower > 51 then
			kick()
		end

		-- Check torso for validity
		if plr.Character:FindFirstChild("Torso") then
			if plr.Character.Torso.Anchored then
				kick()
			end
		end

	end

end


Prompt: --[[Weight and CG]]

Response:
	Tune.Weight			= 2670		-- Total weight (in pounds)
	Tune.WeightBSize	= {			-- Size of weight brick (dimmensions in studs ; larger = more stable)
	 --[[Width]]		6		,
	 --[[Height]]		3.5		,
	 --[[Length]]		14		}
	Tune.WeightDist		= 50		-- Weight distribution (0 - on rear wheels, 100 - on front wheels, can be <0 or >100)
	Tune.CGHeight		= .8		-- Center of gravity height (studs relative to median of all wheels)
	Tune.WBVisible		= false		-- Makes the weight brick visible

	--Unsprung Weight
	Tune.FWheelDensity	= .1		-- Front Wheel Density
	Tune.RWheelDensity	= .1		-- Rear Wheel Density
	Tune.FWLgcyDensity	= 1			-- Front Wheel Density [PGS OFF]
	Tune.RWLgcyDensity	= 1			-- Rear Wheel Density [PGS OFF]

	Tune.AxleSize		= 2		-- Size of structural members (larger = more stable/carry more weight)
	Tune.AxleDensity	= .1		-- Density of structural members


Prompt: -- [ SETTINGS ] --

Response:
local StatsName = "Clicks" -- Your stats name
local MaxItems = 100 -- Max number of items to be displayed on the leaderboard
local MinValueDisplay = 1 -- Any numbers lower than this will be excluded
local MaxValueDisplay = 10e15 -- (10 ^ 15) Any numbers higher than this will be excluded
local UpdateEvery = 60 -- (in seconds) How often the leaderboard has to update


Prompt: --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]

Response:
--
local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
local AdvancedRespawnScript=script;
repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
local JeffTheKiller=AdvancedRespawnScript.Parent;
if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
end;
local GameDerbis=Game:GetService("Debris");
local JeffTheKillerHumanoid;
for _,Child in pairs(JeffTheKiller:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
JeffTheKillerHumanoid=Child;
end;
end;
local Respawndant=JeffTheKiller:Clone();
if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
coroutine.resume(coroutine.create(function()
if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
SpawnModel=Instance.new("Model");
SpawnModel.Parent=JeffTheKillerHumanoid.Status;
SpawnModel.Name="AvalibleSpawns";
else
SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
end;
function FindSpawn(SearchValue)
local PartsArchivable=SearchValue:GetChildren();
for AreaSearch=1,#PartsArchivable do
if PartsArchivable[AreaSearch].className=="SpawnLocation"then
local PositionValue=Instance.new("Vector3Value",SpawnModel);
PositionValue.Value=PartsArchivable[AreaSearch].Position;
PositionValue.Name=PartsArchivable[AreaSearch].Duration;
end;
FindSpawn(PartsArchivable[AreaSearch]);
end;
end;
FindSpawn(Game:GetService("Workspace"));
local SpawnChilden=SpawnModel:GetChildren();
if#SpawnChilden>0 then
local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
local RespawningForceField=Instance.new("ForceField");
RespawningForceField.Parent=JeffTheKiller;
RespawningForceField.Name="SpawnForceField";
GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
else
if JeffTheKiller:FindFirstChild("SpawnForceField")then
JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
end;
JeffTheKiller:MoveTo(Vector3.new(0,115,0));
end;
end));
end;
function Respawn()
Wait(0);
Respawndant.Parent=JeffTheKiller.Parent;
Respawndant:makeJoints();
Respawndant:FindFirstChild("Head"):MakeJoints();
Respawndant:FindFirstChild("Torso"):MakeJoints();
JeffTheKiller:remove();
end;
if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
JeffTheKillerHumanoid.Died:connect(Respawn);
end;


Prompt: -- << FUNCTIONS >>

Response:
function module:Message(args)
	local containerFrame = messageContainer.Messages

	local tweenTime = 0.4
	local mSpeaker = args[1]
	local mType = args[2]
	local mTitle = args[3]
	local mSubTitle = args[4]
	local mDesc = args[5]
	local mDescColor = args[6]

	local message = main.templates.Message:Clone()
	for i,v in pairs(message:GetChildren()) do
		v[getTargetProp(v)] = 1
	end
	message.Visible = true

	if mType == "Countdown" then
		local items = {message.Bg, message.Title, message.Desc}
		message.Title.Text = "Countdown"
		message.Title.TextColor3 = Color3.fromRGB(200,200,200)
		message.Desc.TextColor3 = mDescColor
		message.Parent = containerFrame
		spawn(function() displayMessages(items, 0, tweenTime) end)
		for i = 1, mDesc do
			message.Desc.Text = mDesc+1-i
			wait(1)
		end
		displayMessages(items, 1, tweenTime)
	else
		message.Title.Text = mTitle
		message.SubTitle.Text = mTitle
		message.Desc.Text = mDesc
		message.Desc.TextColor3 = mDescColor
		if mType == "Server" or mSpeaker == nil then
			message.Pic.Visible = false
			message.SubTitle.Visible = false
		else
			local size = main.textService:GetTextSize(mTitle, message.Title.TextSize, message.Title.Font, Vector2.new(0,0))
			message.Pic.Position = UDim2.new(0.5,-((size.X/2)+75))
			message.Pic.Image = main:GetModule("cf"):GetUserImage(mSpeaker.UserId)
			message.SubTitle.Text = mSubTitle
		end
		message.Parent = containerFrame

		local messageAppearOrder = getMessageAppearOrder(message)
		for i = 1, #messageAppearOrder do
			displayMessages(messageAppearOrder[i], 0, tweenTime)
		end
		wait(main:GetModule("cf"):GetMessageTime(mDesc))
		for i = 1, #messageAppearOrder do
			local newI = #messageAppearOrder+1-i
			displayMessages(messageAppearOrder[newI], 1, tweenTime)
		end

	end
	message:Destroy()
end

function module:Hint(args)
	local containerFrame = messageContainer.Hints

	local tweenTime = 0.6
	local hType = args[1]
	local hDesc = args[2]
	local hDescColor = args[3]

	local items = {}
	local hint = main.templates.Hint:Clone()
	for i,v in pairs(hint:GetChildren()) do
		v[getTargetProp(v)] = 1
		table.insert(items, v)
	end
	hint.Desc.Text = hDesc
	hint.Desc.TextColor3 = hDescColor
	hint.Parent = containerFrame
	hint.Visible = true

	if hType == "Countdown" then
		spawn(function() displayMessages(items, 0, tweenTime) end)
		for i = 1, hDesc do
			hint.Desc.Text = hDesc+1-i
			wait(1)
		end
		displayMessages(items, 1, tweenTime)
	else
		hint.Desc.Text = hDesc
		hint.Desc.TextColor3 = hDescColor
		hint.Parent = containerFrame

		displayMessages(items, 0, tweenTime)
		wait(main:GetModule("cf"):GetMessageTime(hDesc))
		displayMessages(items, 1, tweenTime)

	end

	hint:Destroy()

end

function module:GlobalAnnouncement(data)
	local containerFrame = messageContainer.Messages
	local tweenTime = 0.4
	local message = main.templates.GlobalAnnouncement:Clone()
	local displayFrom = data.DisplayFrom

	for i,v in pairs(message:GetChildren()) do
		v[getTargetProp(v)] = 1
	end
	message.Visible = true
	message.Title.Text = data.Title
	message.Pic.Visible = displayFrom
	message.SubTitle.Visible = displayFrom
	local size = main.textService:GetTextSize(message.SubTitle.Text, message.SubTitle.TextSize, message.SubTitle.Font, Vector2.new(0,0))
	message.Pic.Position = UDim2.new(0.5, -((size.X/2)+30), 0, 60)
	if displayFrom then
		message.Pic.Image = main:GetModule("cf"):GetUserImage(data.SenderId)
		message.SubTitle.Text = "From ".. data.SenderName
	end
	message.Desc.TextColor3 = Color3.new(data.Color[1], data.Color[2], data.Color[3])
	message.Desc.Text = data.Message
	message.Parent = containerFrame

	local messageAppearOrder = getMessageAppearOrder(message)
	for i = 1, #messageAppearOrder do
		displayMessages(messageAppearOrder[i], 0, tweenTime)
	end
	wait(main:GetModule("cf"):GetMessageTime(data.Message)*1.5)
	for i = 1, #messageAppearOrder do
		local newI = #messageAppearOrder+1-i
		displayMessages(messageAppearOrder[newI], 1, tweenTime)
	end

	message:Destroy()
end

function module:ClearMessageContainer()
	for a,b in pairs(messageContainer:GetChildren()) do
		for c,d in pairs(b:GetChildren()) do
			if d:IsA("Frame") then
				d.Visible = false
			end
		end
	end
end

return module


Prompt: -- list of account names allowed to go through the door.

Response:
permission = { "Februar92", "Lumpizerstoerer" } --Put your friends name's here. You can add more.

function checkOkToLetIn(name)
	for i = 1,#permission do
		-- convert strings to all upper case, otherwise we will let in,
		-- "Telamon," but not, "tELAMON," or, "telamon."
                -- Why? Because, "Telamon," is how it is spelled in the permissions.
		if (string.upper(name) == string.upper(permission[i])) then return true end
	end
	return false
end

local Door = script.Parent

function onTouched(hit)
	print("Door Hit")
	local human = hit.Parent:findFirstChild("Humanoid")
	if (human ~= nil ) then
		-- a human has touched this door!
		print("Human touched door")
		-- test the human's name against the permission list
		if (checkOkToLetIn(human.Parent.Name)) then
			print("Human passed test")
			Door.Transparency = 0.8
			Door.CanCollide = false
			wait(1.5) -- this is how long the door is open
			Door.CanCollide = true
			Door.Transparency = 0
		else human.Health= 0 -- delete this line of you want a non-killing VIP door
		end
	end
end

script.Parent.Touched:connect(onTouched)


Prompt: -- Remove double quote marks and unescape double quotes and backslashes.

Response:
local function deserializeString(stringified: string): string
	stringified = string.sub(stringified, 2, -2)
	stringified = string.gsub(stringified, "\\\\", "\\")
	stringified = string.gsub(stringified, '\\"', '"')
	return stringified
end


Prompt: --Services

Response:
local debrisService = game:GetService("Debris")
local runService = game:GetService("RunService")
local tweenService = game:GetService("TweenService")


Prompt: --// F key, HornOff

Response:
mouse.KeyUp:connect(function(key)
	if key=="h" then
		veh.Lightbar.middle.Airhorn:Stop()
		veh.Lightbar.middle.Wail.Volume = 10
		veh.Lightbar.middle.Yelp.Volume = 10
		veh.Lightbar.middle.Priority.Volume = 10
		veh.Lightbar.HORN.Transparency = 1
	end
end)


Prompt:
--[[
	Poppercam - Occlusion module that brings the camera closer to the subject when objects are blocking the view.
--]]

Response:
local ZoomController =  require(script.Parent:WaitForChild("ZoomController"))

local TransformExtrapolator = {} do
	TransformExtrapolator.__index = TransformExtrapolator

	local CF_IDENTITY = CFrame.new()

	local function cframeToAxis(cframe)
		local axis, angle = cframe:toAxisAngle()
		return axis*angle
	end

	local function axisToCFrame(axis)
		local angle = axis.magnitude
		if angle > 1e-5 then
			return CFrame.fromAxisAngle(axis, angle)
		end
		return CF_IDENTITY
	end

	local function extractRotation(cf)
		local _, _, _, xx, yx, zx, xy, yy, zy, xz, yz, zz = cf:components()
		return CFrame.new(0, 0, 0, xx, yx, zx, xy, yy, zy, xz, yz, zz)
	end

	function TransformExtrapolator.new()
		return setmetatable({
			lastCFrame = nil,
		}, TransformExtrapolator)
	end

	function TransformExtrapolator:Step(dt, currentCFrame)
		local lastCFrame = self.lastCFrame or currentCFrame
		self.lastCFrame = currentCFrame

		local currentPos = currentCFrame.p
		local currentRot = extractRotation(currentCFrame)

		local lastPos = lastCFrame.p
		local lastRot = extractRotation(lastCFrame)

		-- Estimate velocities from the delta between now and the last frame
		-- This estimation can be a little noisy.
		local dp = (currentPos - lastPos)/dt
		local dr = cframeToAxis(currentRot*lastRot:inverse())/dt

		local function extrapolate(t)
			local p = dp*t + currentPos
			local r = axisToCFrame(dr*t)*currentRot
			return r + p
		end

		return {
			extrapolate = extrapolate,
			posVelocity = dp,
			rotVelocity = dr,
		}
	end

	function TransformExtrapolator:Reset()
		self.lastCFrame = nil
	end
end


Prompt:
--[[
	Package link auto-generated by Rotriever
]]

Response:
local PackageIndex = script.Parent.Parent.Parent._Index

local Package = require(PackageIndex["JestGetType"]["JestGetType"])

return Package


Prompt: -- Event Bindings

Response:
Players.PlayerAdded:connect(OnPlayerAdded)
Players.PlayerRemoving:connect(OnPlayerRemoving)

return PlayerManager


Prompt: -- Updates cached twitter codes every minute.

Response:
local autoFetchTimer = timer.new(60,twitterService.CacheCodes,true)
autoFetchTimer:Start()


Prompt:
--Made by Superluck, Uploaded by FederalSignal_QCB.
--Made by Superluck, Uploaded by FederalSignal_QCB.
--Made by Superluck, Uploaded by FederalSignal_QCB.

Response:
script.Parent.Mode.Changed:Connect(function()
script.Parent.Parent.Scripts.Scripts.Off.Disabled = true
script.Parent.Parent.Scripts.Scripts.On.Disabled = true
if script.Parent.Mode.Value == 0 then
Cancel()
elseif script.Parent.Mode.Value == 1 then
Cancel()
Alert()
elseif script.Parent.Mode.Value == 2 then
Cancel()
Wail()
elseif script.Parent.Mode.Value == 3 then
Cancel()
Alert()
Alt(1)
elseif script.Parent.Mode.Value == 4 then
Cancel()
Wail()
Alt(1)
elseif script.Parent.Mode.Value == 5 then
Cancel()
Alert()
Alt(0)
elseif script.Parent.Mode.Value == 6 then
Cancel()
Wail()
Alt(0)
elseif script.Parent.Mode.Value == 7 then
Cancel()
bingbong = 1
script.Parent.Parent.Scripts.Scripts.Off.Disabled = true
script.Parent.Parent.Scripts.Scripts.On.Disabled = true
Aux()
script.Parent.Parent.Scripts.Scripts.Off.Disabled = true
script.Parent.Parent.Scripts.Scripts.On.Disabled = true
end
wait(math.random(500,2000)/1000)
end)


Prompt: --- Initialize required modules

Response:
local CollectionService: CollectionService = game:GetService("CollectionService")
local HitboxData = require(script.HitboxCaster)
local Signal = require(script.GoodSignal)

local RaycastHitbox = {}
RaycastHitbox.__index = RaycastHitbox
RaycastHitbox.__type = "RaycastHitboxModule"


Response:
MarketplaceService = game:GetService("MarketplaceService")
MarketplaceService.ProcessReceipt = function(receiptInfo)
local players = game.Players:GetPlayers()
for i=1,#players do
		if players[i].userId == receiptInfo.PlayerId then
			game.Workspace.Nuke.BerezaaGamesNuclearScript.Disabled = false
			game.StarterGui["Skip Stage"]:Destroy()
			script.Parent.Parent:Destroy()
end
end
return Enum.ProductPurchaseDecision.PurchaseGranted
end


Prompt:
--[[
	Fired when state is left
]]

Response:
function Transitions.onLeavePostGame(stateMachine, event, from, to, playerComponent)
	PlayerPostGame.leave(stateMachine, playerComponent)
end

return Transitions


Prompt:
--[[Engine]]
--Torque Curve

Response:
Tune.Horsepower		= 5000		--	[TORQUE CURVE VISUAL]
Tune.IdleRPM		= 2000		--		https://www.desmos.com/calculator/2uo3hqwdhf
Tune.PeakRPM		= 11000		--		Use sliders to manipulate values
Tune.Redline		= 12000		--		Copy and paste slider values into the respective tune values
Tune.EqPoint		= 5500
Tune.PeakSharpness	= 7.5
Tune.CurveMult		= 0.16


Prompt: --[[Drivetrain Initialize]]

Response:
	local Drive={}

	--Power Front Wheels
		if _Tune.Config == "FWD" or _Tune.Config == "AWD" then for i,v in pairs(car.Wheels:GetChildren()) do if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then table.insert(Drive,v) end end end

	--Power Rear Wheels
		if _Tune.Config == "RWD" or _Tune.Config == "AWD" then for i,v in pairs(car.Wheels:GetChildren()) do if v.Name=="RL" or v.Name=="RR" or v.Name=="R" then table.insert(Drive,v) end end end

	--Determine Wheel Size
	local wDia = 0 for i,v in pairs(Drive) do if v.Size.x>wDia then wDia = v.Size.x end end

	--Pre-Toggled PBrake
	for i,v in pairs(car.Wheels:GetChildren()) do if math.abs(v["#AV"].maxTorque.Magnitude-PBrakeForce)<1 then _PBrake=true end end


Prompt: --used by checkTeams

Response:
function sameTeam(otherHuman)
	local player = getPlayer()
	local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent)
	if player and otherPlayer then
		return player.TeamColor == otherPlayer.TeamColor
	end
	return false
end


Prompt: -- emote bindable hook

Response:
script:WaitForChild("PlayEmote").OnInvoke = function(emote)
	-- Only play emotes when idling
	if pose ~= "Standing" then
		return
	end

	if emoteNames[emote] ~= nil then
		-- Default emotes
		playAnimation(emote, EMOTE_TRANSITION_TIME, Humanoid)

		if userPlayEmoteByIdAnimTrackReturn then
			return true, currentAnimTrack
		else
			return true
		end
	elseif typeof(emote) == "Instance" and emote:IsA("Animation") then
		-- Non-default emotes
		playEmote(emote, EMOTE_TRANSITION_TIME, Humanoid)

		if userPlayEmoteByIdAnimTrackReturn then
			return true, currentAnimTrack
		else
			return true
		end
	end

	-- Return false to indicate that the emote could not be played
	return false
end

if Character.Parent ~= nil then
	-- initialize to idle
	playAnimation("idle", 0.1, Humanoid)
	pose = "Standing"
end


Prompt: -- ROBLOX DEVIATION: These are assigned in the constructor for testing

Response:
local npm_config_user_agent, npm_lifecycle_event, npm_lifecycle_script

export type SummaryReporter = {
	onRunStart: (self: SummaryReporter, aggregatedResults: AggregatedResult, options: ReporterOnStartOptions) -> (),
	onRunComplete: (self: SummaryReporter, contexts: Set<Context>, aggregatedResults: AggregatedResult) -> (),
}

type SummaryReporterPrivate = SummaryReporter & {
	_globalConfig: Config_GlobalConfig,
	_estimatedTime: number,
}

local SummaryReporter = setmetatable({}, { __index = BaseReporter }) :: any

SummaryReporter.__index = SummaryReporter
SummaryReporter.filename = "SummaryReporter"

function SummaryReporter.new(globalConfig: Config_GlobalConfig, _process: any?): SummaryReporter
	local self = setmetatable((BaseReporter.new(_process) :: any) :: SummaryReporterPrivate, SummaryReporter)

	-- ROBLOX deviation START: _process can be nil
	if _process then
		npm_lifecycle_script = _process.env.npm_lifecycle_script
		npm_lifecycle_event = _process.env.npm_lifecycle_event
		npm_config_user_agent = _process.env.npm_config_user_agent
	end
	-- ROBLOX deviation END
	self._globalConfig = globalConfig
	self._estimatedTime = 0

	return (self :: any) :: SummaryReporter
end


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

Response:
local l__LocalPlayer__1 = game.Players.LocalPlayer;
local l__Pets__2 = l__LocalPlayer__1:WaitForChild("Pets");
local l__ReplicatedStorage__1 = game.ReplicatedStorage;
function getLevel(p1)
	local v3 = 0;
	local l__Value__4 = l__ReplicatedStorage__1.Pets.Settings.MaxPetLevel.Value;
	local v5 = 0 - 1;
	while true do
		if 100 * v5 + v3 <= p1 then
			if v5 ~= l__ReplicatedStorage__1.Pets.Settings.MaxPetLevel.Value then

			else
				return v5;
			end;
			if p1 < 100 * v5 + v3 + (100 + 25 * v5) then
				return v5;
			end;
		end;
		v3 = v3 + v5 * 25;
		if 0 <= 1 then
			if v5 < l__Value__4 then

			else
				break;
			end;
		elseif l__Value__4 < v5 then

		else
			break;
		end;
		v5 = v5 + 1;
	end;
end;
function GetFolderFromPetID(p2)
	for v9, v10 in pairs(l__LocalPlayer__1.Pets:GetChildren()) do
		if v10.PetID.Value == p2 then
			return v10;
		end;
	end;
	return nil;
end;
function getLayoutOrder(p3)
	local v11 = GetFolderFromPetID(p3);
	local l__Value__12 = l__ReplicatedStorage__1.Pets.Rarities:FindFirstChild(l__ReplicatedStorage__1.Pets.Models:FindFirstChild(v11.Name).Settings.Rarity.Value).Order.Value;
	local l__Value__13 = l__ReplicatedStorage__1.Pets.Settings.MaxPetLevel.Value;
	local v14 = getLevel(v11.TotalXP.Value);
	local v15 = {};
	local v16 = 0;
	for v20, v21 in pairs(l__ReplicatedStorage__1.Pets.Models:GetChildren()) do
		v15[#v15 + 1] = v21;
	end;
	table.sort(v15, function(p4, p5)
		return p4:GetFullName() < p5:GetFullName();
	end);
	for v26, v25 in pairs(v15) do
		if v11.Equipped.Value == true then
			if v11.Name == v25.Name then
				return l__Value__13 * #v15 * (#l__ReplicatedStorage__1.Pets.Rarities:GetChildren() - l__Value__12) + v16 * l__Value__13 + (l__Value__13 - v14);
			end;
		elseif v11.Name == v25.Name then
			return #v15 * #l__ReplicatedStorage__1.Pets.Rarities:GetChildren() * l__Value__13 + l__Value__13 * #v15 * (#l__ReplicatedStorage__1.Pets.Rarities:GetChildren() - l__Value__12) + v16 * l__Value__13 + (l__Value__13 - v14);
		end;
		v16 = v16 + 1;
	end;
end;
local l__UIelements__2 = l__LocalPlayer__1.PlayerGui:WaitForChild("UIelements");
local l__Inventory__3 = script.Parent.MainFrame.Inventory;
function newUI(p6)
	local v27 = l__UIelements__2.PetTemplate:Clone();
	local v28 = l__ReplicatedStorage__1.Pets.Models:FindFirstChild(p6.Name):FindFirstChild(p6:WaitForChild("Type").Value):Clone();
	local v29 = Instance.new("Camera", v27.PetView);
	local l__Position__30 = v28.PrimaryPart.Position;
	v27.PetID.Value = p6:WaitForChild("PetID").Value;
	v27.Name = p6.Name;
	v27.LevelLabel.Text = "Lvl. " .. getLevel(p6:WaitForChild("TotalXP").Value);
	v27.PetView.CurrentCamera = v29;
	v28.Parent = v27.PetView;
	v29.CFrame = CFrame.new(Vector3.new(l__Position__30.X + 2.25, l__Position__30.Y, l__Position__30.Z + 1), l__Position__30);
	v27.Parent = l__Inventory__3;
	l__Inventory__3.CanvasSize = UDim2.new(0, 0, 0, l__Inventory__3.UIGridLayout.AbsoluteContentSize.Y + 200);
	if p6.Equipped.Value == true then
		v27.EquipMarker.Visible = true;
	else
		v27.EquipMarker.Visible = false;
	end;
	p6:WaitForChild("TotalXP"):GetPropertyChangedSignal("Value"):Connect(function()
		v27.LevelLabel.Text = "Lvl. " .. getLevel(p6:WaitForChild("TotalXP").Value);
	end);
	for v34, v35 in pairs(l__Inventory__3:GetChildren()) do
		if not v35:IsA("UIGridLayout") then
			v35.LayoutOrder = getLayoutOrder(v35.PetID.Value);
		end;
	end;
end;
for v36, v37 in pairs(l__Pets__2:GetChildren()) do
	newUI(v37);
end;
local l__TextLabel__4 = script.Parent.MainFrame.StorageDisplay.TextLabel;
local l__Data__5 = l__LocalPlayer__1:WaitForChild("Data");
local l__TextLabel__6 = script.Parent.MainFrame.EquippedDisplay.TextLabel;
l__Pets__2.ChildAdded:Connect(function(p7)
	local v38 = 0;
	for v39, v40 in pairs(l__Pets__2:GetChildren()) do
		if v40:WaitForChild("Equipped").Value == true then
			v38 = v38 + 1;
		end;
	end;
	l__TextLabel__4.Text = #l__Pets__2:GetChildren() .. "/" .. l__Data__5.MaxStorage.Value;
	l__TextLabel__6.Text = v38 .. "/" .. l__Data__5.MaxEquip.Value;
	newUI(p7);
end);
l__Pets__2.ChildRemoved:Connect(function(p8)
	for v41, v42 in pairs(l__Inventory__3:GetChildren()) do
		if not v42:IsA("UIGridLayout") and v42.PetID.Value == p8.PetID.Value then
			v42:Destroy();
		end;
	end;
	local v43 = 0;
	for v44, v45 in pairs(l__Pets__2:GetChildren()) do
		if v45.Equipped.Value == true then
			v43 = v43 + 1;
		end;
	end;
	l__TextLabel__4.Text = #l__Pets__2:GetChildren() .. "/" .. l__Data__5.MaxStorage.Value;
	l__TextLabel__6.Text = v43 .. "/" .. l__Data__5.MaxEquip.Value;
end);
l__Inventory__3.ChildAdded:Connect(function()
	l__Inventory__3.CanvasSize = UDim2.new(0, 0, 0, l__Inventory__3.UIGridLayout.AbsoluteContentSize.Y + 200);
end);
l__Inventory__3.ChildRemoved:Connect(function()
	l__Inventory__3.CanvasSize = UDim2.new(0, 0, 0, l__Inventory__3.UIGridLayout.AbsoluteContentSize.Y + 200);
end);
local v46 = 0;
for v47, v48 in pairs(l__Pets__2:GetChildren()) do
	if v48.Equipped.Value == true then
		v46 = v46 + 1;
	end;
end;
l__Data__5.MaxStorage:GetPropertyChangedSignal("Value"):Connect(function()
	l__TextLabel__4.Text = #l__Pets__2:GetChildren() .. "/" .. l__Data__5.MaxStorage.Value;
end);
l__Data__5.MaxEquip:GetPropertyChangedSignal("Value"):Connect(function()
	l__TextLabel__6.Text = v46 .. "/" .. l__Data__5.MaxEquip.Value;
end);
l__TextLabel__4.Text = #l__Pets__2:GetChildren() .. "/" .. l__Data__5.MaxStorage.Value;
l__TextLabel__6.Text = v46 .. "/" .. l__Data__5.MaxEquip.Value;


Prompt: -- Animation

Response:
CEs.AnimateT.OnClientEvent:connect(function(Part,NCF,Time,O)
	if Part:IsDescendantOf(plr.Character) then return end

	if O then
		TweenService:Create(Part,TweenInfo.new(Time),O):Play()
	else
		TweenService:Create(Part,TweenInfo.new(Time),{C1=NCF}):Play()
	end
end)

CEs.AnimateFE.OnClientEvent:connect(function(w,Time,Ans,NAngle,NRotation,Rchr,HigV)
	if Rchr == plr.Character then return end

	TweenService:Create(Rchr.Torso.Neck,TweenInfo.new(Time),{C0=OriginalC0*CFrame.Angles(Ans,NAngle,NRotation)}):Play()

	TweenService:Create(Rchr.Torso.Mweld1,TweenInfo.new(Time),
		{C1=w[1]*CFrame.new(0,HigV,0)}):Play()

	TweenService:Create(Rchr.Torso.Mweld2,TweenInfo.new(Time),
		{C1=w[2]*CFrame.new(0,HigV,0)}):Play()

	if w[3] then -- Check if there is an extra weld
		TweenService:Create(Rchr["Right Arm"].Mweld3,TweenInfo.new(Time),
		    {C1=w[3]*CFrame.new(0,HigV,0)}):Play()
	end

	TweenService:Create(Rchr.HumanoidRootPart.Mtweld,TweenInfo.new(Time),
		{C1=w[4]*CFrame.new(0,HigV,0)}):Play()
end)


Prompt:
--[[
AnimateKey(note1,px,py,pz,ox,oy,oz,Time)
--note1(1-61), position x, position y, position z, orientation x, orientation y, orientation z, time

local obj = --object or gui or wahtever goes here
local Properties = {}
Properties.Size = UDim2.new()
Tween(obj,Properties,2,true,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false)
--Obj,Property,Time,wait,Easingstyle,EasingDirection,RepeatAmt,Reverse
]]

Response:
local parts = Piano.Case:GetChildren()
local PartAmt = 0
function HighlightPianoKey(note1,transpose)
	if not Settings.KeyAesthetics then return end
	local octave = math.ceil(note1/12)
	local note2 = (note1 - 1)%12 + 1
	if PartAmt < 20 then
		PartAmt = PartAmt + 1
		local part = parts[math.random(1,#parts)]:clone()
		part.Parent = Piano.Keys.Parts
		part.Name = note1
		part.Color = Color3.fromRGB(math.random(70,255),math.random(70,255),math.random(70,255))
		part.Material = Materials[math.random(1,#Materials)]
		part.Position = Vector3.new(part.Position.x + math.random(-5,5),part.Position.y,part.Position.z + math.random(-5,5))
		part.Transparency = 0
		local lifelen = math.random(0.6,2.0)
		local t = 0

		while t <= lifelen do
			wait(.05)
			t = t + .05
			if math.random(1,4) ~= 1 then
				for i = 1,5 do
					if math.random(1,2) == 1 then
						if i == 1 then
							part.Color = Color3.fromRGB(math.random(70,255),math.random(70,255),math.random(70,255))
						elseif i == 2 then
							part.Material = Materials[math.random(1,#Materials)]
						elseif i == 3 then
							part.Position = Vector3.new(part.Position.x + math.random(-8.0,8.0),part.Position.y,part.Position.z + math.random(-8.0,8.0))
						elseif i == 4 then
							part.Orientation = Vector3.new(part.Orientation.x + math.random(-80,80),part.Orientation.y + math.random(-80,80),part.Orientation.z + math.random(-80,80))
						elseif i == 5 then
							part.Size = Vector3.new(part.Size.x + math.random(-2.0,2.0),part.Size.y + math.random(-2.0,2.0),part.Size.z + math.random(-2.0,2.0))
						end
					end
				end
			end
		end
		PartAmt = PartAmt - 1
		part:destroy()
	end
	return
end


Prompt: -- Allow RaycastModule to write to the output

Response: local SHOW_OUTPUT_MESSAGES: boolean = false


Response:
function Sword:Connect()
	Handle.Touched:Connect(function(hit)
		local myPlayer = GLib.GetPlayerFromPart(Tool)
		local character, player, humanoid = GLib.GetCharacterFromPart(hit)

		if myPlayer~=nil and character~=nil and humanoid~=nil and myPlayer~=player then
			local isTeammate = GLib.IsTeammate(myPlayer, player)
			local myCharacter = myPlayer.Character
			local myHumanoid = myCharacter and myCharacter:FindFirstChild'Humanoid'

			if (Config.CanTeamkill.Value==true or isTeammate~=true) and (myHumanoid and myHumanoid:IsA'Humanoid' and myHumanoid.Health > 0) and (Config.CanKillWithForceField.Value or myCharacter:FindFirstChild'ForceField'==nil) then
				local doDamage = Config.IdleDamage.Value
				if Sword.State == 'Slashing' then
					doDamage = Config.SlashDamage.Value
				elseif Sword.State == 'Lunging' then
					doDamage = Config.LungeDamage.Value
				end

				GLib.TagHumanoid(humanoid, myPlayer, 1)
				humanoid:TakeDamage(doDamage)
			end
		end
	end)
end

function Sword:Attack()
	local myCharacter, myPlayer, myHumanoid = GLib.GetCharacterFromPart(Tool)

	if myHumanoid~=nil and myHumanoid.Health > 0 then
		if Config.CanKillWithForceField.Value or myCharacter:FindFirstChild'ForceField'==nil then
			local now = tick()

			if Sword.State == 'Slashing' and now-Sword.SlashingStartedAt < Sword.DoubleClickMaxTime then
				Sword.AttackTicket = Sword.AttackTicket+1

				Sword:Lunge(Sword.AttackTicket)
			elseif Sword.State == 'Idle' then
				Sword.AttackTicket = Sword.AttackTicket+1
				Sword.SlashingStartedAt = now

				Sword:Slash(Sword.AttackTicket)
			end
		end
	end
end

function Sword:LocalAttack()
	local myCharacter, myPlayer, myHumanoid = GLib.GetCharacterFromPart(Tool)

	if myHumanoid~=nil and myHumanoid.Health > 0 then
		if Config.CanKillWithForceField.Value or myCharacter:FindFirstChild'ForceField'==nil then
			local now = tick()

			if Sword.LocalState == 'Slashing' and now-Sword.LocalSlashingStartedAt < Sword.LocalDoubleClickMaxTime then
				Sword.LocalAttackTicket = Sword.LocalAttackTicket+1

				Sword:LocalLunge(Sword.LocalAttackTicket)
			elseif Sword.LocalState == 'Idle' then
				Sword.LocalAttackTicket = Sword.LocalAttackTicket+1
				Sword.LocalSlashingStartedAt = now

				Sword:LocalSlash(Sword.LocalAttackTicket)
			end
		end
	end
end

function Sword:Slash(ticket)
	Sword.State = 'Slashing'

	Handle.SlashSound:Play()
	Sword:Animate'Slash'

	wait(0.5)

	if Sword.AttackTicket == ticket then
		Sword.State = 'Idle'
	end
end

function Sword:LocalSlash(ticket)
	Sword.LocalState = 'Slashing'

	wait(0.5)

	if Sword.LocalAttackTicket == ticket then
		Sword.LocalState = 'Idle'
	end
end

function Sword:Lunge(ticket)
	Sword.State = 'Lunging'

	Handle.LungeSound:Play()
	Sword:Animate'Lunge'

	local force = Instance.new'BodyVelocity'
	force.velocity = Vector3.new(0, 10, 0)
	force.maxForce = Vector3.new(0, 0, 0)
	force.Parent = Tool.Parent.Torso
	Sword.DestroyOnUnequip[force] = true

	wait(0.25)
	Tool.Grip = CFrame.new(0, 0, -1.5, 0, -1, -0, -1, 0, -0, 0, 0, -1)
	wait(0.25)
	force:Destroy()
	Sword.DestroyOnUnequip[force] = nil
	wait(0.5)
	Tool.Grip = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)

	Sword.State = 'Idle'
end

function Sword:LocalLunge(ticket)
	Sword.LocalState = 'Lunging'

	wait(0.25)
	wait(0.25)
	wait(0.5)

	Sword.LocalState = 'Idle'
end

function Sword:Animate(name)
	local tag = Instance.new'StringValue'
	tag.Name = 'toolanim'
	tag.Value = name
	tag.Parent = Tool -- Tag gets removed by the animation script
end

function Sword:Unequip()
	for obj in next, Sword.DestroyOnUnequip do
		obj:Destroy()
	end

	Sword.DestroyOnUnequip = {}

	Tool.Grip = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
	Sword.State = 'Idle'
	Sword.LocalState = 'Idle'
end


Prompt:
--[[
	Package link auto-generated by Rotriever
]]

Response:
local PackageIndex = script.Parent.Parent.Parent._Index

local Package = require(PackageIndex["t"]["t"])

return Package


Prompt:
--edit the function below to return true when you want this response/prompt to be valid
--player is the player speaking to the dialogue, and dialogueFolder is the object containing the dialogue data

Response:
return function(player, dialogueFolder)
	local plrData = require(game.ReplicatedStorage.Source.Modules.Util):GetPlayerData(player)
	return plrData.Money.Gold.Value < 50
end


Prompt: -- Detect input stopped

Response:
UIS.InputEnded:Connect(function(input)
	-- Detect input to run
	if input.KeyCode==Enum.KeyCode.LeftShift then
		-- Make sure is running and not crawling
		if shiftDown==true and not cDown then
			-- Stop running
			shiftDown=false
			hum.WalkSpeed=18
		end
	-- Detect input to stop crawling
	else if input.KeyCode==Enum.KeyCode.C then
			-- Make sure crawling and is not running
			if cDown==false and not shiftDown then
				cDown=false
				hum.WalkSpeed=18
				--crawlAnm:Stop()
			end
		end
	end
end)


Prompt:
-- ================================================================================
-- VARIABLES
-- ================================================================================
-- Services

Response:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local PhysicsService = game:GetService("PhysicsService")
local ContextActionService = game:GetService("ContextActionService")
local GuiService = game:GetService("GuiService")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")


Prompt: --[[Susupension]]

Response:
	Tune.SusEnabled		= false		-- works only in with PGSPhysicsSolverEnabled, defaults to false when PGS is disabled

	--Front Suspension
	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	= .1		-- 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

	--Rear Suspension
	Tune.RSusDamping	= 500		-- Spring Dampening
	Tune.RSusStiffness	= 9000		-- Spring Force
	Tune.FAntiRoll 		= 50		-- Anti-Roll (Gyro Dampening)

	Tune.RSusLength		= 2			-- Suspension length (in studs)
	Tune.RPreCompress	= .3		-- Pre-compression adds resting length force
	Tune.RExtensionLim	= .3		-- Max Extension Travel (in studs)
	Tune.RCompressLim	= .1		-- Max Compression Travel (in studs)
	Tune.RSusAngle		= 80		-- Suspension Angle (degrees from horizontal)

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

	--Aesthetics
	Tune.SusVisible		= true			-- Spring Visible
	Tune.WsBVisible		= false			-- Wishbone Visible
	Tune.SusRadius		= .2			-- Suspension Coil Radius
	Tune.SusThickness	= .1			-- Suspension Coil Thickness
	Tune.SusColor		= "Bright red"	-- Suspension Color [BrickColor]
	Tune.SusCoilCount	= 6				-- Suspension Coil Count
	Tune.WsColor		= "Black"		-- Wishbone Color [BrickColor]
	Tune.WsThickness	= .1			-- Wishbone Rod Thickness


Prompt: -- Variables (best not to touch these!)

Response:
local button = script.Parent .Parent.Parent
local car = script.Parent.Parent.Parent.Parent.Car.Value
local sound = script.Parent.Parent.Start
local st = script.Parent.Parent.Stall
st.Parent = car.DriveSeat
sound.Parent = car.DriveSeat -- What brick the start sound is playing from.
button.MouseButton1Click:connect(function() -- Event when the button is clicked
	if script.Parent.Parent.Parent.Text == "Engine: Off" then -- If the text says it's off then..
		sound:Play() -- Startup sound plays..
		wait(1) -- I don't know what to put for this
		script.Parent.Parent.Parent.Parent.IsOn.Value = true -- The car is is on, or in other words, start up the car.
		button.Text = "Engine: On"  -- You don't really need this, but I would keep it.
	else -- If it's on then when you click the button,
		st:play()
		script.Parent.Parent.Parent.Parent.IsOn.Value = false -- The car is turned off.
		button.Text = "Engine: Off"
	end -- Don't touch this.
end) -- And don't touch this either.


Prompt: --METHOD 2 PARAMS

Response:
local PIXELS_PER_WAIT = 1000
local WAIT_PERIOD = 0

local LocalPlayer = game.Players.LocalPlayer
local LocalHumanoidRootPart = LocalPlayer.Character:WaitForChild("Head")
local terminate = false
local uis = game:GetService("UserInputService")

function RaycastSingular(i)
	if i > GRID_HEIGHT * GRID_WIDTH or terminate then
		return
	end

	local width = (GRID_WIDTH - ((i - 1) % GRID_WIDTH + 1) - (GRID_WIDTH / 2))
	local height = (GRID_HEIGHT - (math.floor((i - 1) / GRID_WIDTH) + 1)) - (GRID_HEIGHT / 2)

	--raycast ahead keeping RAYCAST_OFFSET in mind
	local rayParam = RaycastParams.new()
	rayParam.FilterDescendantsInstances = {LocalPlayer.Character}
	rayParam.FilterType = Enum.RaycastFilterType.Exclude

	local pos1 = workspace.CurrentCamera.CFrame
	local pos2 = (pos1 * CFrame.Angles(math.rad(height * RAYCAST_OFFSET), math.rad(width * RAYCAST_OFFSET), 0)).lookVector

	local raycastResult = workspace:Raycast(pos1.Position, pos2 * 1000, rayParam)

	if raycastResult then

		local colorValue

		local hitPart = raycastResult.Instance
		if hitPart and hitPart:IsA("BasePart") then
			local fadeAway = math.clamp(raycastResult.Distance / FOG_MULTIPLIER, 1, FOG_MAX)
			colorValue = Color3.new(hitPart.Color.r * fadeAway, hitPart.Color.g * fadeAway, hitPart.Color.b * fadeAway)
		else

			--make a color of black from 128,128,128 to 0,0,0 depending on the distance of hit
			local distance = (raycastResult.Position - LocalHumanoidRootPart.Position).Magnitude
			local colorValue = math.floor(128 * (1 - distance / 1000))

			if colorValue < 0 then
				colorValue = 0
			end

			colorValue = Color3.new(colorValue, colorValue, colorValue)
		end

		script.Parent.Container:WaitForChild(tostring(i)).BackgroundColor3 = colorValue

	else
		script.Parent.Container:WaitForChild(tostring(i)).BackgroundColor3=Color3.fromRGB(85, 170, 255)
	end

	i += 1
end

function RaycastAndApply()
	--raycast from the HumanoidRootPart forwards GRID_WIDTH * GRID_HEIGHT, offsetting by RAYCAST_OFFSET studs
	local i = 1
	for height = math.round(GRID_HEIGHT / 2), -math.round(GRID_HEIGHT/2), -1 do
		for width = math.round(GRID_WIDTH / 2) - 1, -math.round(GRID_WIDTH / 2), -1 do
			if i > GRID_HEIGHT * GRID_WIDTH or terminate then
				return
			end
			--raycast ahead keeping RAYCAST_OFFSET in mind
			local rayParam = RaycastParams.new()
			rayParam.FilterDescendantsInstances = {LocalPlayer.Character}
			rayParam.FilterType = Enum.RaycastFilterType.Exclude

			local pos1 = workspace.CurrentCamera.CFrame
			local pos2 = (pos1 * CFrame.Angles(math.rad(height * RAYCAST_OFFSET), math.rad(width * RAYCAST_OFFSET), 0)).lookVector

			local raycastResult = workspace:Raycast(pos1.Position, pos2 * 1000, rayParam)

			if raycastResult then

				local colorValue

				local hitPart = raycastResult.Instance
				if hitPart and hitPart:IsA("BasePart") then
					local fadeAway = math.clamp(raycastResult.Distance / FOG_MULTIPLIER, 1, FOG_MAX)
					colorValue = Color3.new(hitPart.Color.r * fadeAway, hitPart.Color.g * fadeAway, hitPart.Color.b * fadeAway)
				else

					--make a color of black from 128,128,128 to 0,0,0 depending on the distance of hit
					local distance = (raycastResult.Position - LocalHumanoidRootPart.Position).Magnitude
					local colorValue = math.floor(128 * (1 - distance / 1000))

					if colorValue < 0 then
						colorValue = 0
					end

					colorValue = Color3.new(colorValue, colorValue, colorValue)
				end

				script.Parent.Container:WaitForChild(tostring(i)).BackgroundColor3 = colorValue

			else
				script.Parent.Container:WaitForChild(tostring(i)).BackgroundColor3=Color3.fromRGB(85, 170, 255)
			end

			if CALMDOWN_RENDER then
				wait(CALMDOWN_RENDER)
			end

			i += 1
		end
	end
end

game.Close:Connect(function()
	terminate = true
end)

function notify(title, text)
	local CoreGui = game:GetService("StarterGui")

	CoreGui:SetCore("SendNotification", {
		Title = title;
		Text = text;
		Duration = 5;
	})
end

uis.InputBegan:Connect(function(input, processed)
	if processed then
		return
	end
	if input.KeyCode == Enum.KeyCode.Q then
		FOG_MAX = math.max(FOG_MAX - 1, 1)
		notify("Fog Level", "was changed to " .. FOG_MAX)
	end
	if input.KeyCode == Enum.KeyCode.E then
		FOG_MAX += 1
		notify("Fog Level", "was changed to " .. FOG_MAX)
	end
end)

if RENDER_METHOD == 1 then
	while true do
		wait(CALMDOWN)
		--clearAllTiles()
		RaycastAndApply()
		--wait(1)
		if terminate then
			break
		end
	end
else
	while true do
		wait(WAIT_PERIOD)
		for pixels = 1, PIXELS_PER_WAIT do
			RaycastSingular(math.random(1, GRID_HEIGHT*GRID_WIDTH))
		end
		if terminate then
			break
		end
	end
end


Prompt: --Automatic Gauge Scaling

Response:
if autoscaling then
	local Drive={}
	if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
		if car.Wheels:FindFirstChild("FL")~= nil then
			table.insert(Drive,car.Wheels.FL)
		end
		if car.Wheels:FindFirstChild("FR")~= nil then
			table.insert(Drive,car.Wheels.FR)
		end
		if car.Wheels:FindFirstChild("F")~= nil then
			table.insert(Drive,car.Wheels.F)
		end
	end
	if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
		if car.Wheels:FindFirstChild("RL")~= nil then
			table.insert(Drive,car.Wheels.RL)
		end
		if car.Wheels:FindFirstChild("RR")~= nil then
			table.insert(Drive,car.Wheels.RR)
		end
		if car.Wheels:FindFirstChild("R")~= nil then
			table.insert(Drive,car.Wheels.R)
		end
	end

	local wDia = 0
	for i,v in pairs(Drive) do
		if v.Size.x>wDia then wDia = v.Size.x end
	end
	Drive = nil
	for i,v in pairs(UNITS) do
		v.maxSpeed = math.ceil(v.scaling*wDia*math.pi*_lRPM/60/_Tune.Ratios[#_Tune.Ratios]/_Tune.FinalDrive)
		v.spInc = math.max(math.ceil(v.maxSpeed/200)*20,20)
	end
end

for i=0,revEnd*2 do
	local ln = script.Parent.ln:clone()
	ln.Parent = script.Parent.Tach
	ln.Rotation = 45 + i * 225 / (revEnd*2)
	ln.Num.Text = i/2
	ln.Num.Rotation = -ln.Rotation
	if i*500>=math.floor(_pRPM/500)*500 then
		ln.Frame.BackgroundColor3 = Color3.new(1,0,0)
		if i<revEnd*2 then
			ln2 = ln:clone()
			ln2.Parent = script.Parent.Tach
			ln2.Rotation = 45 + (i+.5) * 225 / (revEnd*2)
			ln2.Num:Destroy()
			ln2.Visible=true
		end
	end
	if i%2==0 then
		ln.Frame.Size = UDim2.new(0,3,0,10)
		ln.Frame.Position = UDim2.new(0,-1,0,100)
		ln.Num.Visible = true
	else
		ln.Num:Destroy()
	end
	ln.Visible=false
end

local lns = Instance.new("Frame",script.Parent.Speedo)
lns.Name = "lns"
lns.BackgroundTransparency = 1
lns.BorderSizePixel = 0
lns.Size = UDim2.new(0,0,0,0)
for i=1,90 do
	local ln = script.Parent.ln:clone()
	ln.Parent = lns
	ln.Rotation = 45 + 225*(i/90)
	if i%2==0 then
		ln.Frame.Size = UDim2.new(0,2,0,10)
		ln.Frame.Position = UDim2.new(0,-1,0,100)
	else
		ln.Frame.Size = UDim2.new(0,3,0,5)
	end
	ln.Num:Destroy()
	ln.Visible=false
end

for i,v in pairs(UNITS) do
	local lnn = Instance.new("Frame",script.Parent.Speedo)
	lnn.BackgroundTransparency = 1
	lnn.BorderSizePixel = 0
	lnn.Size = UDim2.new(0,0,0,0)
	lnn.Name = v.units
	if i~= 1 then lnn.Visible=false end

	for i=0,v.maxSpeed,v.spInc do
		local ln = script.Parent.ln:clone()
		ln.Parent = lnn
		ln.Rotation = 45 + 225*(i/v.maxSpeed)
		ln.Num.Text = i
		ln.Num.TextSize = 0
		ln.Num.Rotation = -ln.Rotation
		ln.Frame:Destroy()
		ln.Num.Visible=true
		ln.Visible=true
	end
end

if 	script.Parent.Parent.IsOn.Value then
	script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
end

script.Parent.Parent.IsOn.Changed:connect(function()
	if script.Parent.Parent.IsOn.Value then
		script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
	end
end)

script.Parent.Parent.Values.RPM.Changed:connect(function()
	script.Parent.Tach.Needle.Rotation = 45 + 225 * math.min(1,script.Parent.Parent.Values.RPM.Value / (revEnd*1000))
end)

script.Parent.Parent.Values.Gear.Changed:connect(function()
	local gearText = script.Parent.Parent.Values.Gear.Value
	if gearText == 0 then gearText = "N"
	elseif gearText == -1 then gearText = "R"
	end
	script.Parent.Gear.Text = gearText
end)

script.Parent.Parent.Values.TCS.Changed:connect(function()
	if _Tune.TCSEnabled then
		if script.Parent.Parent.Values.TCS.Value then
			script.Parent.TCS.TextColor3 = Color3.new(1,170/255,0)
			script.Parent.TCS.TextStrokeColor3 = Color3.new(1,170/255,0)
			if script.Parent.Parent.Values.TCSActive.Value then
				wait()
				script.Parent.TCS.Visible = not script.Parent.TCS.Visible
			else
				wait()
				script.Parent.TCS.Visible = false
			end
		else
			script.Parent.TCS.Visible = true
			script.Parent.TCS.TextColor3 = Color3.new(1,0,0)
			script.Parent.TCS.TextStrokeColor3 = Color3.new(1,0,0)
		end
	else
		script.Parent.TCS.Visible = false
	end
end)

script.Parent.Parent.Values.TCSActive.Changed:connect(function()
	if _Tune.TCSEnabled then
		if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
			wait()
			script.Parent.TCS.Visible = not script.Parent.TCS.Visible
		elseif not script.Parent.Parent.Values.TCS.Value then
			wait()
			script.Parent.TCS.Visible = true
		else
			wait()
			script.Parent.TCS.Visible = false
		end
	else
		script.Parent.TCS.Visible = false
	end
end)

script.Parent.TCS.Changed:connect(function()
	if _Tune.TCSEnabled then
		if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
			wait()
			script.Parent.TCS.Visible = not script.Parent.TCS.Visible
		elseif not script.Parent.Parent.Values.TCS.Value then
			wait()
			script.Parent.TCS.Visible = true
		end
	else
		if script.Parent.TCS.Visible then
			script.Parent.TCS.Visible = false
		end
	end
end)


Prompt: --//INSPARE'S TRACTION SIMULATOR//--

Response:
			--//INSPARE 2017//--
script.Parent:WaitForChild("Storage")
script.Parent.Active:WaitForChild("CC")
wait(1)
carSeat = script.Parent.CarSeat.Value
rpmN = script.Parent.StockUI.Right.Needle
boostN = script.Parent.StockUI.Right.Turbo.Needle
inds = script.Parent.Storage.TurboSize
UI = script.Parent.StockUI
WL = UI.Right.WarningLights
WL.ABS.ImageTransparency = 0.7
WL.ASC.ImageTransparency = 0.7
WL.Engine.ImageTransparency = 0.7
WL.Handbrake.ImageTransparency = 0.7
WL.HiBeam.ImageTransparency = 0.7
WL.LoBeam.ImageTransparency = 0.7
WL.TC.ImageTransparency = 0.7
IC = UI.Right.WarningLights
while wait() do
	redline = script.Parent.Storage.EngineRedline
	rpm = script.Parent.Storage.RPM
	cg = script.Parent.Storage.CurrentGear

	GV = {"rbxassetid://741208036","rbxassetid://741207988","rbxassetid://741208003","rbxassetid://741208039","rbxassetid://741208079","rbxassetid://741207971","rbxassetid://741208034","rbxassetid://741207990","rbxassetid://741208025","rbxassetid://741208051","rbxassetid://741207986"}

	FL = carSeat.Storage.HeatFL.Value/0.59999999999999998
	FR = carSeat.Storage.HeatFR.Value/0.59999999999999998
	RL = carSeat.Storage.HeatRL.Value/0.59999999999999998
	RR = carSeat.Storage.HeatRR.Value/0.59999999999999998

	UI.Left.Tires.FL.First.Position = UDim2.new(0,0,1-FL,0)
	UI.Left.Tires.FL.First.Second.Position = UDim2.new(0,0,FL,0)

	UI.Left.Tires.FR.First.Position = UDim2.new(0,0,1-FR,0)
	UI.Left.Tires.FR.First.Second.Position = UDim2.new(0,0,FR,0)

	UI.Left.Tires.RL.First.Position = UDim2.new(0,0,1-RL,0)
	UI.Left.Tires.RL.First.Second.Position = UDim2.new(0,0,RL,0)

	UI.Left.Tires.RR.First.Position = UDim2.new(0,0,1-RR,0)
	UI.Left.Tires.RR.First.Second.Position = UDim2.new(0,0,RR,0)

	UI.Right.Gear.Image = GV[cg.Value]
	rpmN.Rotation = ((99/redline.Value)*rpm.Value)-120

	UI.Right.Turbo.Needle.Rotation = (((241/inds.Value)*script.Parent.Storage.Boost.Value))-160
	if inds.Value <= 0 then
	UI.Right.Turbo.Visible = false
	end

	if script.Parent.Functions.Engine.Value == true then
	script.Parent.StockUI.Start.ImageTransparency = 1
	else
	script.Parent.StockUI.Start.ImageTransparency = 0
	end

	--if script.Parent.Storage.Drivetrain.Value ~= "AWD" then
		UI.Left.FrontTorque.Text = 100-carSeat.Storage.TorqueSplit.Value.."%"
		UI.Left.RearTorque.Text = carSeat.Storage.TorqueSplit.Value.."%"
	--end

	UI.Left.Drivetrain.Text = script.Parent.Storage.Drivetrain.Value
	if carSeat.Storage.Mode.Value == "City" then
		UI.Right.Mode.Image = "rbxassetid://741350702"

	elseif carSeat.Storage.Mode.Value == "Sport" then
		UI.Right.Mode.Image = "rbxassetid://741350688"

	elseif carSeat.Storage.Mode.Value == "Snow" then
		UI.Right.Mode.Image = "rbxassetid://741350718"

	end

	if carSeat.Storage.Automatic.Value == true then
		UI.Left.Transmission.Text = "A/T"

	elseif script.Parent.Storage.TransmissionType.Value == "CVT" then
		UI.Left.Transmission.Text = "CVT"

	else
		UI.Left.Transmission.Text = "M/T"
	end

	if script.Parent.Storage.TransmissionType ~= "HPattern" then
		UI.Controls.Manual.Image = "rbxassetid://757628375"
	else
		UI.Controls.Manual.Image = "rbxassetid://757627510"
	end

	if carSeat.Storage.TC.Value == true then
		IC.TC.ImageTransparency = 0
	else
		IC.TC.ImageTransparency = 0.7
	end

	if carSeat.Storage.Handbrake.Value == true then
		IC.Handbrake.ImageTransparency = 0
	else
		IC.Handbrake.ImageTransparency = 0.7
	end

	if script.Parent.Functions.Stall.Value == true and script.Parent.Functions.Engine.Value == false then
		IC.Engine.ImageTransparency = 0
	else
		IC.Engine.ImageTransparency = 0.7
	end

	if carSeat.Storage.ASC.Value == true then
		IC.ASC.ImageTransparency = 0
	else
		IC.ASC.ImageTransparency = 0.7
	end

	if script.Parent.ABS.FL.Read.Value == true then
		IC.ABS.ImageTransparency = 0
	else
		IC.ABS.ImageTransparency = 0.7
	end

	if script.Parent.Active.CC.Value == true then
		IC.CC.ImageTransparency = 0
	else
		IC.CC.ImageTransparency = 0.7
	end

	if script.TY.Value == true then
	UI.Right.Unit.Text = "km/h"
	UI.Right.Speed.Text = math.floor((carSeat.Velocity.Magnitude)*1.07)
	else
	UI.Right.Unit.Text = "MPH"
	UI.Right.Speed.Text = math.floor(((carSeat.Velocity.Magnitude)*1.07)*0.621371)
	end

	if script.Parent.Functions.ShiftDownRequested.Value == true or script.Parent.Functions.ShiftUpRequested.Value == true or script.Parent.Storage.Clutch.Clutch.Value ~= 1 then
		UI.Right.Gear.ImageColor3 = Color3.new(255, 189, 57)
		UI.Right.Gear.ImageTransparency = 0.7
	else
		UI.Right.Gear.ImageColor3 = Color3.new(150, 150, 150)
		UI.Right.Gear.ImageTransparency = 0
	end

	--[[if carSeat.Throttle == -1 then
		if script.Parent.ABS.FL.Read.Value == true then
			WL.ABS.ImageTransparency = 0.7
		else
			WL.ABS.ImageTransparency = 0
		end else WL.ABS.ImageTransparency = 0.7
	end]]--
end

	--//One more year, every year//--


Prompt: -- Initialize texture tool

Response:
local TextureTool = require(CoreTools:WaitForChild 'Texture')
Core.AssignHotkey('G', Core.Support.Call(Core.EquipTool, TextureTool));
Core.Dock.AddToolButton(Core.Assets.TextureIcon, 'G', TextureTool, 'TextureInfo');


Response:
function ragdollkill(character)
	local victimshumanoid = character:findFirstChildOfClass("Humanoid")
	local checkragd = character:findFirstChild("ragded")
	if not checkragd then
		local boolvalue = Instance.new("BoolValue", character)
		boolvalue.Name = "ragded"
		if not character:findFirstChild("UpperTorso") then
			character.Archivable = true
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Sound" then
					v:remove()
				end
				for q,w in pairs(v:GetChildren()) do
					if w.ClassName == "Sound" then
						w:remove()
					end
				end
			end
			local ragdoll = character:Clone()
			for i,v in pairs(ragdoll:GetDescendants()) do
				if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
					v:destroy()
				end
			end
			ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
			ragdoll:findFirstChildOfClass("Humanoid").Health = 0
			if ragdoll:findFirstChild("Health") then
				if ragdoll:findFirstChild("Health").ClassName == "Script" then
					ragdoll:findFirstChild("Health").Disabled = true
				end
			end
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
					v:destroy()
				end
			end
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Accessory" then
					local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
					if attachment1 then
						for q,w in pairs(character:GetChildren()) do
							if w.ClassName == "Part" then
								local attachment2 = w:findFirstChild(attachment1.Name)
								if attachment2 then
									local hinge = Instance.new("HingeConstraint", v.Handle)
									hinge.Attachment0 = attachment1
									hinge.Attachment1 = attachment2
									hinge.LimitsEnabled = true
									hinge.LowerAngle = 0
									hinge.UpperAngle = 0
								end
							end
						end
					end
				end
			end
			ragdoll.Parent = workspace
			if ragdoll:findFirstChild("Right Arm") then
				local glue = Instance.new("Glue", ragdoll.Torso)
				glue.Part0 = ragdoll.Torso
				glue.Part1 = ragdoll:findFirstChild("Right Arm")
				glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
				glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
				local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
				limbcollider.Size = Vector3.new(1.4,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Transparency = 1
				limbcollider.Name = "LimbCollider"
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
			end
			if ragdoll:findFirstChild("Left Arm") then
				local glue = Instance.new("Glue", ragdoll.Torso)
				glue.Part0 = ragdoll.Torso
				glue.Part1 = ragdoll:findFirstChild("Left Arm")
				glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
				glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
				local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
				limbcollider.Size = Vector3.new(1.4,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Name = "LimbCollider"
				limbcollider.Transparency = 1
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
			end
			if ragdoll:findFirstChild("Left Leg") then
				local glue = Instance.new("Glue", ragdoll.Torso)
				glue.Part0 = ragdoll.Torso
				glue.Part1 = ragdoll:findFirstChild("Left Leg")
				glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
				glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
				local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
				limbcollider.Size = Vector3.new(1.4,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Name = "LimbCollider"
				limbcollider.Transparency = 1
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
			end
			if ragdoll:findFirstChild("Right Leg") then
				local glue = Instance.new("Glue", ragdoll.Torso)
				glue.Part0 = ragdoll.Torso
				glue.Part1 = ragdoll:findFirstChild("Right Leg")
				glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
				glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
				local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
				limbcollider.Size = Vector3.new(1.4,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Name = "LimbCollider"
				limbcollider.Transparency = 1
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
			end
			if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
				local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
				HeadAttachment.Position = Vector3.new(0, -0.5, 0)
				local connection = Instance.new('HingeConstraint', ragdoll["Head"])
				connection.LimitsEnabled = true
				connection.Attachment0 = ragdoll.Torso.NeckAttachment
				connection.Attachment1 = HeadAttachment
				connection.UpperAngle = 60
				connection.LowerAngle = -60
			elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
				local hedweld = Instance.new("Weld", ragdoll.Torso)
				hedweld.Part0 = ragdoll.Torso
				hedweld.Part1 = ragdoll.Head
				hedweld.C0 = CFrame.new(0,1.5,0)
			end
			game.Debris:AddItem(ragdoll, 30)
			local function aaaalol()
				wait(0.2)
				local function searchforvelocity(wot)
					for i,v in pairs(wot:GetChildren()) do
						searchforvelocity(v)
						if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
							v:destroy()
						end
					end
				end
				searchforvelocity(ragdoll)
				wait(0.5)
				if ragdoll:findFirstChildOfClass("Humanoid") then
					ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
				end
				if ragdoll:findFirstChild("HumanoidRootPart") then
					ragdoll:findFirstChild("HumanoidRootPart"):destroy()
				end
			end
			spawn(aaaalol)
		elseif character:findFirstChild("UpperTorso") then
			character.Archivable = true
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Sound" then
					v:remove()
				end
				for q,w in pairs(v:GetChildren()) do
					if w.ClassName == "Sound" then
						w:remove()
					end
				end
			end
			local ragdoll = character:Clone()
			ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
			for i,v in pairs(ragdoll:GetDescendants()) do
				if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
					v:destroy()
				end
			end
			ragdoll:BreakJoints()
			ragdoll:findFirstChildOfClass("Humanoid").Health = 0
			if ragdoll:findFirstChild("Health") then
				if ragdoll:findFirstChild("Health").ClassName == "Script" then
					ragdoll:findFirstChild("Health").Disabled = true
				end
			end
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
					v:destroy()
				end
			end
			for i,v in pairs(character:GetChildren()) do
				if v.ClassName == "Accessory" then
					local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
					if attachment1 then
						for q,w in pairs(character:GetChildren()) do
							if w.ClassName == "Part" or w.ClassName == "MeshPart" then
								local attachment2 = w:findFirstChild(attachment1.Name)
								if attachment2 then
									local hinge = Instance.new("HingeConstraint", v.Handle)
									hinge.Attachment0 = attachment1
									hinge.Attachment1 = attachment2
									hinge.LimitsEnabled = true
									hinge.LowerAngle = 0
									hinge.UpperAngle = 0
								end
							end
						end
					end
				end
			end
			ragdoll.Parent = workspace
			local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
			Humanoid.PlatformStand = true
			local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
				local connection = Instance.new('BallSocketConstraint', limb)
				connection.LimitsEnabled = true
				connection.Attachment0 = attachementone
				connection.Attachment1 = attachmenttwo
				connection.TwistLimitsEnabled = true
				connection.TwistLowerAngle = twistlower
				connection.TwistUpperAngle = twistupper
				local limbcollider = Instance.new("Part", limb)
				limbcollider.Size = Vector3.new(0.1,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Transparency = 1
				limbcollider:BreakJoints()
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = limb
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
			end
			local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
				local connection = Instance.new('HingeConstraint', limb)
				connection.LimitsEnabled = true
				connection.Attachment0 = attachementone
				connection.Attachment1 = attachmenttwo
				connection.LimitsEnabled = true
				connection.LowerAngle = lower
				connection.UpperAngle = upper
				local limbcollider = Instance.new("Part", limb)
				limbcollider.Size = Vector3.new(0.1,1,1)
				limbcollider.Shape = "Cylinder"
				limbcollider.Transparency = 1
				limbcollider:BreakJoints()
				local limbcolliderweld = Instance.new("Weld", limbcollider)
				limbcolliderweld.Part0 = limb
				limbcolliderweld.Part1 = limbcollider
				limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
			end
			local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
			HeadAttachment.Position = Vector3.new(0, -0.5, 0)
			if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
				makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
			end
			makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
			makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
			makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
			makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
			--
			makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
			makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
			makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
			--
			makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
			makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
			makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
			--
			makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
			makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
			makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
			for i,v in pairs(Humanoid.Parent:GetChildren()) do
				if v.ClassName == "Accessory" then
					local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
					if attachment1 then
						for q,w in pairs(Humanoid.Parent:GetChildren()) do
							if w.ClassName == "Part" then
								local attachment2 = w:findFirstChild(attachment1.Name)
								if attachment2 then
									local hinge = Instance.new("HingeConstraint", v.Handle)
									hinge.Attachment0 = attachment1
									hinge.Attachment1 = attachment2
									hinge.LimitsEnabled = true
									hinge.LowerAngle = 0
									hinge.UpperAngle = 0
								end
							end
						end
					end
				end
			end
			for i,v in pairs(ragdoll:GetChildren()) do
				for q,w in pairs(v:GetChildren()) do
					if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
						w:destroy()
					end
				end
			end
			if ragdoll:findFirstChild("HumanoidRootPart") then
				ragdoll.HumanoidRootPart:destroy()
			end
			if ragdoll:findFirstChildOfClass("Humanoid") then
				ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
			end
			local function waitfordatmoment()
				wait(0.2)
				local function searchforvelocity(wot)
					for i,v in pairs(wot:GetChildren()) do
						searchforvelocity(v)
						if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
							v:destroy()
						end
					end
				end
				searchforvelocity(ragdoll)
			end
			spawn(waitfordatmoment)
			game.Debris:AddItem(ragdoll, 30)
		end
	end
end
function damage(action, force, maxforce, t)
	for i,v in pairs(workspace:GetDescendants()) do
		if v.ClassName == "Model" then
			local head = v:findFirstChild("Head")
			local humanoid = v:findFirstChildOfClass("Humanoid")
			local torso = v:findFirstChild("Torso")
			local ragdolled = v:findFirstChild("ragdolledbat")
			if humanoid and head then
				if (head.Position - handle.Position).magnitude < 3 and v ~= character and humanoid.Health > 0 then
					if action ~= "vibe check" then
						if ragdolled then
							return
						end
					end
					local rightarmweld = character.Torso:findFirstChild("RightArmWeldbat")
					local leftarmweld = character.Torso:findFirstChild("LeftArmWeldbat")
					local headweld = character.Torso:findFirstChild("HeadWeldbat")
					local rootweld = character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldbat")
					hitsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
					hitsound:Play()
					hitsound2.PlaybackSpeed = 1+(math.random(-4,4)/20)
					hitsound2:Play()
					local velocity = Instance.new("BodyVelocity", head)
					velocity.MaxForce = Vector3.new(math.huge,0,math.huge)
					velocity.Velocity = character.HumanoidRootPart.CFrame.lookVector * math.random(force,maxforce)
					if action == "normal" then
						local dmg = math.random(30,80)
						if humanoid.Health <= dmg then
							humanoid.Health = 0
							humanoid.Parent:BreakJoints()
							ragdollkill(v)
						else
							humanoid.Health = humanoid.Health - dmg
						end
					elseif action == "critical" then
						local dmg = math.random(70,90)
						if humanoid.Health <= dmg then
							humanoid.Health = 0
							humanoid.Parent:BreakJoints()
							ragdollkill(v)
						else
							humanoid.Health = humanoid.Health - dmg
						end
					elseif action == "vibe check" then
						goresound.PlaybackSpeed = 1+(math.random(-4,4)/20)
						goresound:Play()
						goresound2.PlaybackSpeed = 1+(math.random(-4,4)/20)
						goresound2:Play()
						head.Transparency = 1
						for i = 1,math.random(25,30) do
							local hedd = Instance.new("Part", workspace)
							hedd.Size = Vector3.new(0.25,0.25,0.25)
							hedd.CFrame = head.CFrame * CFrame.new(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
							game.Debris:AddItem(hedd, 7)
							if math.random(1,3) == 1 then
								hedd.BrickColor = head.BrickColor
								hedd.Material = head.Material
							else
								hedd.BrickColor = BrickColor.new("Maroon")
								hedd.Material = "Granite"
							end
						end
						for q,w in pairs(v:GetChildren()) do
							if w.ClassName == "Accessory" or w.ClassName == "Hat" then
								w:destroy()
							end
						end
						for q,w in pairs(head:GetChildren()) do
							if w.ClassName == "Weld" then
								if w.Part1 ~= nil then
									if w.Part1 ~= head then
										w.Part1:destroy()
									end
								end
							end
							if w.ClassName == "Decal"then
								w:destroy()
							end
						end
						humanoid.Health = 0
						humanoid.Parent:BreakJoints()
						ragdollkill(v)
					end
					local ragdolledknife = Instance.new("BoolValue", v)
					ragdolledknife.Name = "ragdolledbat"
					humanoid.PlatformStand = true
					coroutine.wrap(function()
						wait(t)
						humanoid.PlatformStand = false
					end)()
					game.Debris:AddItem(ragdolledknife, t)
					game.Debris:AddItem(velocity, 0.2)
					if torso then
						coroutine.wrap(function()
							humanoid = v:WaitForChild("Humanoid")
							local ragdoll = v
							if ragdoll:findFirstChild("Right Arm") then
								local glue = Instance.new("Glue", ragdoll.Torso)
								glue.Part0 = ragdoll.Torso
								glue.Part1 = ragdoll:findFirstChild("Right Arm")
								glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
								glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
								local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
								limbcollider.Size = Vector3.new(1.4,1,1)
								limbcollider.Shape = "Cylinder"
								limbcollider.Transparency = 1
								limbcollider.Name = "LimbCollider"
								local limbcolliderweld = Instance.new("Weld", limbcollider)
								limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
								limbcolliderweld.Part1 = limbcollider
								limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
								coroutine.wrap(function()
									if ragdoll.Torso:findFirstChild("Right Shoulder") then
										local limbclone = ragdoll.Torso:findFirstChild("Right Shoulder"):Clone()
										ragdoll.Torso:findFirstChild("Right Shoulder"):destroy()
										coroutine.wrap(function()
											wait(t)
											limbclone.Parent = ragdoll.Torso
											limbclone.Part0 = ragdoll.Torso
											limbclone.Part1 = ragdoll["Right Arm"]
										end)()
									end
									wait(t)
									glue:destroy()
									limbcollider:destroy()
									limbcolliderweld:destroy()
								end)()
							end
							if ragdoll:findFirstChild("Left Arm") then
								local glue = Instance.new("Glue", ragdoll.Torso)
								glue.Part0 = ragdoll.Torso
								glue.Part1 = ragdoll:findFirstChild("Left Arm")
								glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
								glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
								local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
								limbcollider.Size = Vector3.new(1.4,1,1)
								limbcollider.Shape = "Cylinder"
								limbcollider.Name = "LimbCollider"
								limbcollider.Transparency = 1
								local limbcolliderweld = Instance.new("Weld", limbcollider)
								limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
								limbcolliderweld.Part1 = limbcollider
								limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
								coroutine.wrap(function()
									if ragdoll.Torso:findFirstChild("Left Shoulder") then
										local limbclone = ragdoll.Torso:findFirstChild("Left Shoulder"):Clone()
										ragdoll.Torso:findFirstChild("Left Shoulder"):destroy()
										coroutine.wrap(function()
											wait(t)
											limbclone.Parent = ragdoll.Torso
											limbclone.Part0 = ragdoll.Torso
											limbclone.Part1 = ragdoll["Left Arm"]
										end)()
									end
									wait(t)
									glue:destroy()
									limbcollider:destroy()
									limbcolliderweld:destroy()
								end)()
							end
							if ragdoll:findFirstChild("Left Leg") then
								local glue = Instance.new("Glue", ragdoll.Torso)
								glue.Part0 = ragdoll.Torso
								glue.Part1 = ragdoll:findFirstChild("Left Leg")
								glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
								glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
								local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
								limbcollider.Size = Vector3.new(1.5,1,1)
								limbcollider.Shape = "Cylinder"
								limbcollider.Name = "LimbCollider"
								limbcollider.Transparency = 1
								local limbcolliderweld = Instance.new("Weld", limbcollider)
								limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
								limbcolliderweld.Part1 = limbcollider
								limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.2,0,0)
								coroutine.wrap(function()
									if ragdoll.Torso:findFirstChild("Left Hip") then
										local limbclone = ragdoll.Torso:findFirstChild("Left Hip"):Clone()
										ragdoll.Torso:findFirstChild("Left Hip"):destroy()
										coroutine.wrap(function()
											wait(t)
											limbclone.Parent = ragdoll.Torso
											limbclone.Part0 = ragdoll.Torso
											limbclone.Part1 = ragdoll["Left Leg"]
										end)()
									end
									wait(t)
									glue:destroy()
									limbcollider:destroy()
									limbcolliderweld:destroy()
								end)()
							end
							if ragdoll:findFirstChild("Right Leg") then
								local glue = Instance.new("Glue", ragdoll.Torso)
								glue.Part0 = ragdoll.Torso
								glue.Part1 = ragdoll:findFirstChild("Right Leg")
								glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
								glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
								local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
								limbcollider.Size = Vector3.new(1.5,1,1)
								limbcollider.Shape = "Cylinder"
								limbcollider.Name = "LimbCollider"
								limbcollider.Transparency = 1
								local limbcolliderweld = Instance.new("Weld", limbcollider)
								limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
								limbcolliderweld.Part1 = limbcollider
								limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.2,0,0)
								coroutine.wrap(function()
									if ragdoll.Torso:findFirstChild("Right Hip") then
										local limbclone = ragdoll.Torso:findFirstChild("Right Hip"):Clone()
										ragdoll.Torso:findFirstChild("Right Hip"):destroy()
										coroutine.wrap(function()
											wait(t)
											limbclone.Parent = ragdoll.Torso
											limbclone.Part0 = ragdoll.Torso
											limbclone.Part1 = ragdoll["Right Leg"]
										end)()
									end
									wait(t)
									glue:destroy()
									limbcollider:destroy()
									limbcolliderweld:destroy()
								end)()
							end
						end)()
					end
				end
			end
		end
	end
end
tool.Deactivated:connect(function()
	if mouseclick and not cananimate then
		if count < 30 then
			cananimate = true
			canattack = true
			return
		end
		local rightarmweld = character.Torso:findFirstChild("RightArmWeldbat")
		local leftarmweld = character.Torso:findFirstChild("LeftArmWeldbat")
		local headweld = character.Torso:findFirstChild("HeadWeldbat")
		local rootweld = character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldbat")
		if attacknumber == 1 then
			trail.Enabled = true
			swishsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
			swishsound:Play()
			for i = 0,1 , 0.1 do
				if attacktype == 0 then
					damage("normal", 10,20, 2)
				elseif attacktype == 1 then
					damage("critical", 20,30, 2.5)
				elseif attacktype == 2 then
					damage("vibe check", 30,40, 1)
				end
				tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,-(math.pi/3),0),0.1)
				headweld.C0 = headweld.C0:lerp(CFrame.new(9.53674316e-07, 1.49999952, 9.53674316e-07, 0.499999791, -1.49011612e-08, -0.866025269, -3.14321369e-09, 0.999999881, -1.49011612e-08, 0.866025388, -7.4505806e-09, 0.499999821),i)
				rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(0.27244854, 0.123777866, -0.741029739, 0.642787457, 0.719846129, 0.262002736, 1.49011612e-08, 0.342020303, -0.939692438, -0.766044378, 0.604022741, 0.219846398),i)
				leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-0.993065834, 0.0928759575, -0.543260574, 0.981225848, -0.183488816, 0.0593911558, 0.116977744, 0.321393728, -0.939692438, 0.153335154, 0.928998232, 0.336824),i)
				rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.492403746, 0.0868240669, 0.866025448, -0.173648179, 0.98480773, 0, -0.852868557, -0.150383741, 0.499999881),i)
				runservice.Stepped:wait()
			end
			trail.Enabled = false
			attacknumber = 2
		elseif attacknumber == 2 then
			trail.Enabled = true
			swishsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
			swishsound:Play()
			for i = 0,1 , 0.1 do
				if attacktype == 0 then
					damage("normal", 10,20, 2)
				elseif attacktype == 1 then
					damage("critical", 20,30, 2.5)
				elseif attacktype == 2 then
					damage("vibe check", 30,40, 1)
				end
				tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,(math.pi/2),0),0.1)
				headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 1.90734863e-06, 0.642787576, 7.4505806e-09, 0.766044378, -1.0477379e-09, 0.99999994, 1.49011612e-08, -0.766044378, 0, 0.642787576),i)
				rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.50000191, 0.328989983, -0.469844818, 0.99999994, 2.98023224e-08, -2.98023224e-08, 7.4505806e-09, 0.342020035, -0.939692438, 0, 0.939692378, 0.342020065),i)
				leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(0.314659119, 0.191040754, -1.2273407, 0.344304681, -0.926735461, -0.150383726, 0.0301536545, 0.171010002, -0.984807611, 0.938373566, 0.334539324, 0.0868240297),i)
				rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.633022368, -0.111618921, -0.766044259, 0.173648179, 0.98480773, 0, 0.754406333, -0.133022189, 0.642787755) * CFrame.fromEulerAnglesXYZ(0,math.rad(20),0),i)
				runservice.Stepped:wait()
			end
			trail.Enabled = false
			attacknumber = 1
		end
		cananimate = true
		canattack = true
	end
end)
tool.Activated:connect(function()
	if owner ~= nil and character ~= nil and canattack then
		cananimate = false
		canattack = false
		attacktype = 0
		count = 0
		local rightarmweld = character.Torso:findFirstChild("RightArmWeldbat")
		local leftarmweld = character.Torso:findFirstChild("LeftArmWeldbat")
		local headweld = character.Torso:findFirstChild("HeadWeldbat")
		local rootweld = character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldbat")
		if handle:findFirstChild("AIDS") then
			handle.AIDS:destroy()
			local grip = character["Right Arm"]:WaitForChild("RightGrip")
			grip.Part1 = handle
		end
		for i,v in pairs(workspace:GetDescendants()) do
			if v.ClassName == "Model" and v ~= character then
				local humanoid = v:findFirstChildOfClass("Humanoid")
				local headepic = v:findFirstChild("Head")
				if humanoid and headepic then
					if (headepic.Position - character.HumanoidRootPart.Position).magnitude < 6 and humanoid.PlatformStand and humanoid.Health > 0 then
						local rightlegweld = Instance.new("Weld", character.Torso)
						rightlegweld.Part0 = character.Torso
						rightlegweld.Part1 = character["Right Leg"]
						rightlegweld.C0 = CFrame.new(0.5,-2,0)
						rightlegweld.Name = "RightLegWeldbat"
						local leftlegweld = Instance.new("Weld", character.Torso)
						leftlegweld.Part0 = character.Torso
						leftlegweld.Part1 = character["Left Leg"]
						leftlegweld.C0 = CFrame.new(-0.5,-2,0)
						leftlegweld.Name = "LeftLegWeldbat"
						character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
						for i = 0,1 , 0.05 do
							cananimate = false
							canattack = false
							character.HumanoidRootPart.CFrame = CFrame.new(character.HumanoidRootPart.Position, Vector3.new(headepic.Position.x,character.HumanoidRootPart.Position.y,headepic.Position.z))
							tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,(math.pi/2)+math.rad(25),0),i)
							rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.681245327, -2.07163143, 0, 0.98480773, -0.173648179, -2.98023224e-08, 0.173648164, 0.984807611, 7.4505806e-09, -2.98023224e-08, 1.14149561e-08, 1),i)
							leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.499999046, -1.39999986, -0.399999619, 0.99999994, -7.4505806e-09, -2.98023224e-08, 1.49011612e-08, 0.999999881, 7.4505806e-09, -2.98023224e-08, 0, 1),i)
							rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.57790804, 0.75, 0.321748734, 0.342020154, -0.813797712, 0.469846278, -1.49011612e-08, -0.49999994, -0.866025209, 0.939692616, 0.29619813, -0.171010107),i)
							leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(1.41171503, 0.67853117, -0.785638809, -0.468489617, -0.76629442, 0.439670324, -0.134425014, -0.430039823, -0.892745972, 0.873182297, -0.47734493, 0.0984600335),i)
							rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.633021891, 0.111618839, -0.766044736, -0.173648179, 0.98480773, 0, 0.75440675, 0.133022279, 0.642787278),i)
							headweld.C0 = headweld.C0:lerp(CFrame.new(-0.131000042, 1.46984625, -0.109922409, 0.642787337, -0.262002826, 0.719846427, -6.98491931e-10, 0.939692497, 0.342020392, -0.766044617, -0.219846383, 0.604022503),i)
							runservice.Stepped:wait()
						end
						trail.Enabled = true
						for i = 0,1 , 0.12 do
							damage("vibe check", 0, 0, 1)
							tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0),i)
							rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.499998093, -1.49999964, 0.866025925, 0.99999994, -2.98023224e-08, -3.7252903e-09, -7.4505806e-09, 0.499999911, 0.866025269, 0, -0.866025448, 0.49999994),i)
							leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.500001907, -0.739692211, -0.657979965, 0.99999994, 0, 2.98023224e-08, -7.4505806e-09, 0.939692378, 0.342020035, 0, -0.342020184, 0.939692616),i)
							rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(0.569936752, 0.318357229, -1.03014803, 0.939692497, 0.342020154, 1.49011612e-08, -0.0593912005, 0.163175836, -0.984807611, -0.336824059, 0.92541647, 0.173648238),i)
							leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-0.429023743, 0.324180841, -0.997120857, 0.98480767, -0.173648149, 1.49011612e-08, 0.0301536694, 0.171010017, -0.984807611, 0.171010062, 0.969846368, 0.173648238),i)
							rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, -1.19999969, 0, 0.950535476, -0.055632934, 0.305593252, -0.0479752049, 0.945729434, 0.321393996, -0.30688861, -0.320157319, 0.896280468),i)
							headweld.C0 = headweld.C0:lerp(CFrame.new(-1.90734863e-06, 1.5, 0, 0.98480773, -7.4505806e-09, -0.173648179, -1.49011612e-08, 0.999999881, 0, 0.173648253, -2.98023224e-08, 0.98480773),i)
							runservice.Stepped:wait()
						end
						coroutine.wrap(function()
							for i = 0,1 ,0.07 do
								leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5,-2,0),i)
								rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5,-2,0),i)
								runservice.Stepped:wait()
							end
							leftlegweld:destroy()
							rightlegweld:destroy()
							character:findFirstChildOfClass("Humanoid").WalkSpeed = 16
						end)()
						trail.Enabled = false
						cananimate = true
						canattack = true
						return
					end
				end
			end
		end
		if attacknumber == 1 then
			coroutine.wrap(function()
				while runservice.Stepped:wait() and mouseclick do
					count = count + 1
					if count == 50 then
						attacktype = 1
						local effect = Instance.new("Part", workspace)
						effect.Material = "ForceField"
						effect.BrickColor = BrickColor.new("Institutional white")
						effect.Anchored = true
						effect.CanCollide = false
						effect.CFrame = handle.CFrame
						effect.Size = handle.Size
						coroutine.wrap(function()
							for i = 1,40 do
								effect.Transparency = effect.Transparency + 0.025
								effect.Size = effect.Size + Vector3.new(0.02,0.02,0.02)
								runservice.Stepped:wait()
							end
							effect:destroy()
						end)()
					end
					if count == 90 then
						attacktype = 2
						local effect = Instance.new("Part", workspace)
						effect.Material = "ForceField"
						effect.BrickColor = BrickColor.new("Really red")
						effect.Anchored = true
						effect.CanCollide = false
						effect.CFrame = handle.CFrame
						effect.Size = handle.Size
						coroutine.wrap(function()
							for i = 1,40 do
								effect.Transparency = effect.Transparency + 0.025
								effect.Size = effect.Size + Vector3.new(0.02,0.02,0.02)
								runservice.Stepped:wait()
							end
							effect:destroy()
						end)()
					end
					tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,(math.pi/2)+math.rad(25),0),0.1)
					headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0815873146, 1.49240327, -0.0296955109, 0.342020094, -0.163175672, 0.925416231, 1.00699253e-08, 0.984807491, 0.173647955, -0.939692616, -0.0593911149, 0.336824059),0.1)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.336824089, 0.0593911782, -0.939692616, -0.173648149, 0.984807611, 0, 0.92541641, 0.163175896, 0.342020154) * CFrame.fromEulerAnglesXYZ(math.sin(tick())/20,0,0),0.1)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(1.3505621, 0.950000048, -0.634313583, -0.342020035, -0.813797235, 0.469846278, -4.87780198e-08, -0.49999997, -0.866025031, 0.939692616, -0.29619804, 0.171010047) * CFrame.new(0,math.cos(tick())/20,0),0.1)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.58705735, 0.872320414, 0.129386902, 0.607604206, -0.566511154, 0.556670189, 0.111618847, -0.633021832, -0.766044259, 0.786357343, 0.527587116, -0.321393698) * CFrame.new(0,math.cos(tick())/20,0),0.1)
				end
			end)()
		elseif attacknumber == 2 then
			coroutine.wrap(function()
				while runservice.Stepped:wait() and mouseclick do
					count = count + 1
					if count == 50 then
						attacktype = 1
						local effect = Instance.new("Part", workspace)
						effect.Material = "ForceField"
						effect.BrickColor = BrickColor.new("Institutional white")
						effect.Anchored = true
						effect.CanCollide = false
						effect.CFrame = handle.CFrame
						effect.Size = handle.Size
						coroutine.wrap(function()
							for i = 1,40 do
								effect.Transparency = effect.Transparency + 0.025
								effect.Size = effect.Size + Vector3.new(0.02,0.02,0.02)
								runservice.Stepped:wait()
							end
							effect:destroy()
						end)()
					end
					if count == 90 then
						attacktype = 2
						local effect = Instance.new("Part", workspace)
						effect.Material = "ForceField"
						effect.BrickColor = BrickColor.new("Really red")
						effect.Anchored = true
						effect.CanCollide = false
						effect.CFrame = handle.CFrame
						effect.Size = handle.Size
						coroutine.wrap(function()
							for i = 1,40 do
								effect.Transparency = effect.Transparency + 0.025
								effect.Size = effect.Size + Vector3.new(0.02,0.02,0.02)
								runservice.Stepped:wait()
							end
							effect:destroy()
						end)()
					end
					tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.pi/2,(-math.pi/2)+math.rad(25),0),0.1)
					headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.342020035, 0, -0.939692378, -1.64301071e-07, 1, -5.98006906e-08, 0.939692378, 1.74845525e-07, 0.342020035),0.1)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.173648119, 0, 0.98480767, 0, 1, 0, -0.98480767, 0, 0.173648119) * CFrame.fromEulerAnglesXYZ(math.sin(tick())/20,0,0.1),0.1)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.69218636, 0.638716698, -0.0404472351, 0.771280289, 0.613091826, -0.171010137, 0.0593912005, -0.336824268, -0.939692497, -0.633718252, 0.714609921, -0.296198249) * CFrame.new(0,math.cos(tick())/20,0),0.1)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(-1.2802496, 0.725742579, -0.5, -4.47034836e-08, 0.984807432, -0.173648149, 4.37113847e-08, -0.173648149, -0.984807551, -0.999999762, -2.98023224e-08, -3.35276127e-08) * CFrame.new(0,math.cos(tick())/20,0),0.1)
				end
			end)()
		end
	end
end)


Response:
sp=script.Parent

sp.Luminate.SourceValueChanged:connect(function(val)
	if val==1 then
		sp.BrickColor=BrickColor.new("White")
		sp.Transparency=0
		sp.PointLight.Enabled=true
	elseif val==0 then
		sp.BrickColor=BrickColor.new("Really black")
		sp.Transparency=.5
		sp.PointLight.Enabled=false
	end
end)

script.Parent.Configuration.Brightness.Changed:connect(function()
script.Parent.PointLight.Range = script.Parent.Configuration.Brightness.Value
script.Parent.PointLight.Brightness = 1+script.Parent.Configuration.Brightness.Value/300
end)


Prompt: -- NOTE: HASARG_MASK is value-specific

Response:
luaY.HASARG_MASK = 2 -- this was added for a bitop in parlist()
luaY.VARARG_ISVARARG = 2


Prompt: --back motor

Response:
script.Parent.Wheels.boggieB.motb.HingeConstraint.AngularVelocity = speed
script.Parent.Wheels.boggieB.motb.HingeConstraint2.AngularVelocity = -speed
script.Parent.Wheels.boggieB.motb.HingeConstraint.MotorMaxTorque = RPM
script.Parent.Wheels.boggieB.motb.HingeConstraint2.MotorMaxTorque = RPM