Roblox/luau_corpus huggingface dataset:
--[[Transmission]]
	Tune.TransModes		={"Auto","Semi"}												--[[
	[Modes]
		"Auto"		: Automatic shifting
		"Semi"		: Clutchless manual shifting, dual clutch transmission
		"Manual"	: Manual shifting with clutch
		
		>Include within brackets
			eg: {"Semi"} or {"Auto", "Manual"}								
		>First mode is default mode													]]
	
	--Automatic Settings
	Tune.AutoShiftMode	= "RPM"												--[[
	[Modes]
		"Speed"		: Shifts based on wheel speed
		"RPM"		: Shifts based on RPM											]]	
	Tune.AutoUpThresh	= -200		--Automatic upshift point 	(relative to peak RPM, positive = Over-rev)
	Tune.AutoDownThresh = 1400		--Automatic downshift point (relative to peak RPM, positive = Under-rev)
	
	--Gear Ratios
	Tune.FinalDrive		= 3.20			-- Gearing determines top speed and wheel torque
	Tune.Ratios			= {				-- Higher ratio = more torque, Lower ratio = higher top speed
		--[[Reverse]]	3.42		,	-- Copy and paste a ratio to add a gear
		--[[Neutral]]	0			,	-- Ratios can also be deleted
		--[[ 1 ]]		3.75		,	-- Reverse, Neutral, and 1st gear are required
		--[[ 2 ]]		2.38		,
		--[[ 3 ]]		1.72		,
		--[[ 4 ]]		1.34		,
		--[[ 5 ]]		1.11		,
		--[[ 6 ]]		.78			,
	}
	Tune.FDMult			= 1			-- Ratio multiplier (Change this value instead of FinalDrive if car is struggling with torque ; Default = 1)
--[[ss1.Touched:connect(function()
	if IsOpen.Value == false then
		OtherDir.Value = false
		opendoor()
		wait(TimeDelay)
		closedoor()
	end
end)]]

trigger.Changed:Connect(function()
	if trigger.Value == true and IsOpen.Value == false then
		opendoor()
	elseif trigger.Value == false and IsOpen.Value == true then
		closedoor()
	end
end)
--// SS3 controls for AC6 by Itzt, originally for 2014 Infiniti QX80. i don't know how to tune ac lol
 
wait(0.1)
local player = game.Players.LocalPlayer
local HUB = script.Parent.HUB

local limitButton = HUB.Name
local FE = game.Workspace.FilteringEnabled
local lightOn = false
local Camera = game.Workspace.CurrentCamera
local cam = script.Parent.nxtcam.Value
local carSeat = script.Parent.CarSeat.Value
local mouse = game.Players.LocalPlayer:GetMouse()
local windows = false
local handler = carSeat:WaitForChild('Filter')
local winfob = HUB.Parent.Music
local pal = false
local palpal = HUB.Parent.Palette
local red = 0
local green = 0
local blue = 1
local debounce = false
--[[
	Used to catch any errors that may have occurred in the promise.
]]
function Promise.prototype:catch(failureCallback)
	return self:andThen(nil, failureCallback)
end
--		debounce=false
--	end
end
me.Touched:connect(Hit)
--[[Susupension]]
	Tune.SusEnabled		= true		-- works only in with PGSPhysicsSolverEnabled, defaults to false when PGS is disabled
	
	--Front Suspension
	Tune.FSusDamping	= 400		-- Spring Dampening
	Tune.FSusStiffness	= 17000		-- Spring Force
	Tune.FSusLength		= 1.9		-- Resting Suspension length (in studs)
	Tune.FSusMaxExt		= .15		-- Max Extension Travel (in studs)
	Tune.FSusMaxComp	= .05		-- Max Compression Travel (in studs)
	Tune.FSusAngle		= 75		-- Suspension Angle (degrees from horizontal)
		
	Tune.FWsBoneLen		= 6			-- Wishbone Length
	Tune.FWsBoneAngle	= 3			-- 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	= 400		-- Spring Dampening
	Tune.RSusStiffness	= 17000		-- Spring Force
	Tune.RSusLength		= 2.1		-- Resting Suspension length (in studs)
	Tune.RSusMaxExt		= .15		-- Max Extension Travel (in studs)
	Tune.RSusMaxComp	= .05		-- Max Compression Travel (in studs)
	Tune.RSusAngle		= 80		-- Suspension Angle (degrees from horizontal)
	
	Tune.RWsBoneLen		= 5			-- Wishbone Length
	Tune.RWsBoneAngle	= 2			-- 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		= "Bronze"		-- Suspension Color [BrickColor]
	Tune.SusCoilCount	= 8				-- Suspension Coil Count
	Tune.WsColor		= "Black"		-- Wishbone Color [BrickColor]
	Tune.WsThickness	= .1			-- Wishbone Rod Thickness
--Creates both buffer and non-buffer rockets.
function RocketCreator:CreateRocket(IsBufferRocket)
	--Create the base parts and mesh.
	local Rocket = Instance.new("Part")
	Rocket.Name = "Rocket"
	Rocket.Size = Vector3.new(1,1,4)
	Rocket.CanCollide = false

	local Mesh = Instance.new("SpecialMesh")
	Mesh.Name = "RocketMesh"
	Mesh.MeshId = "http://www.roblox.com/asset/?id=94690081"
	Mesh.TextureId = "http://www.roblox.com/asset/?id=94689966"
	Mesh.Parent = Rocket

	if IsBufferRocket then
		--If it is a buffer rocket, add the effects, physics, and scripts.
		Mesh.Scale = Vector3.new(2.5,2.5,2)
	
		local Fire = Instance.new("Fire")
		Fire.Heat = 5
		Fire.Size = 2
		Fire.Parent = Rocket
	
		local Light = Instance.new("PointLight")
		Light.Name = "Light"
		Light.Color = Color3.new(1,170/255,0)
		Light.Range = 10
		Light.Shadows = true
		Light.Parent = Rocket
		
		local BodyGyro = Instance.new("BodyGyro")
		BodyGyro.MaxTorque = Vector3.new(10^99,10^99,10^99)
		BodyGyro.Parent = Rocket
		
		local RocketPropulsion = Instance.new("BodyVelocity")
		RocketPropulsion.MaxForce = Vector3.new(10^99,10^99,10^99)
		RocketPropulsion.Parent = Rocket
	
		local SwooshSound = Instance.new("Sound")
		SwooshSound.Name = "SwooshSound"
		SwooshSound.MaxDistance = 10000
		SwooshSound.Looped = true
		SwooshSound.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
		SwooshSound.Volume = 1
		SwooshSound.Parent = Rocket
		
		local NewRocketScript = RocketScript:Clone()
		NewRocketScript.Disabled = false
		NewRocketScript.Parent = Rocket
		
		PlayerDamagerScript:Clone().Parent = NewRocketScript
		ConfigurationScript:Clone().Parent = NewRocketScript
	end
	
	return Rocket
end

return RocketCreator
--[[Misc]]
	Tune.LoadDelay		= 1.0		-- Delay before initializing chassis (in seconds)
	Tune.AutoStart		= true		-- Set to false if using manual ignition plugin
	Tune.AutoFlip		= true		-- Set to false if using manual flip plugin
	Tune.AutoUpdate		= true		-- Automatically applies minor updates to the chassis if any are found.
									-- Will NOT apply major updates, but will notify you of any.
									-- Set to false to mute notifications, or if using modified Drive.
--script.Parent.Parent.Parent:FindFirstChild("A-Chassis Tune"):WaitForChild('A-Chassis Interface')
handler = script.Parent

handler.OnServerEvent:Connect(function(plr, side)
	print('received')
	handler:FireClient(game.Players:WaitForChild(plr.Name))
	if side == 'front' then
		airbags.FL.Transparency = 0
		airbags.FR.Transparency = 0
	end	
	
	if side == 'frontleft' then
		airbags.FL.Transparency = 0
		airbags.FR.Transparency = 0
		airbags.L.Transparency = 0
	end
	
	if side == 'left' then
		airbags.L.Transparency = 0
		airbags.R.Transparency = 0
	end
	
	if side == 'frontright' then
		airbags.FR.Transparency = 0
		airbags.FL.Transparency = 0
		airbags.R.Transparency = 0
	end
	
	if side == 'right' then
		airbags.R.Transparency = 0
		airbags.L.Transparency = 0
	end
	
	if side == 'restore' then
		airbags.FL.Transparency = 1
		airbags.FR.Transparency = 1
		airbags.R.Transparency = 1	
		airbags.L.Transparency = 1
	end
end)
-- Read the comments below to set your admin commands to your liking --

local Banned = {"Put Name Here"} --Put the person you want to bans name here, or use the command ";ban [Player]"
--[=[
	Fired when the Merch Booth is closed.

	This fires when either the catalog or item detail view are closed.

	@prop merchBoothClosed RBXScriptSignal
	@within MerchBooth
	@client
]=]
uiStatesEvents.merchBoothClosed = Instance.new("BindableEvent")
--Electric Music--

local function AttachParticleControl(source_part)
	
	local prtc = nil
	
	local function Start()
		prtc = script.Bolt:clone()
		prtc.Parent = source_part
	end
	
	local function Update()
		
	end
	
	local function Stop()
		if prtc ~= nil then
			prtc:destroy()
			prtc = nil
		end
	end
	
	return {Start = Start, Update = Update, Stop = Stop}
end

return AttachParticleControl
-- Location: game.ReplicatedStorage.Consume
-- Synapse Decompiler
-- Purchase Here: https://brack4712.xyz/synapse/purchase/

wait(0.5)
Tool = script.Parent
local play = game.Players.LocalPlayer
local char = play.Character
local root = char:WaitForChild("HumanoidRootPart")
local hum = char:WaitForChild("Humanoid")
local inair = false
char.Humanoid.FreeFalling:connect(function()
	inair = true
end)
char.Humanoid.Running:connect(function()
	inair = false
end)
function weldTogether(x, y)
	local W = Instance.new("Weld")
	W.Part0 = x
	W.Part1 = y
	local CJ = CFrame.new(x.Position)
	local C0 = x.CFrame:inverse() * CJ
	local C1 = y.CFrame:inverse() * CJ
	W.C0 = C0
	W.C1 = C1
	W.Parent = x
	return W
end
en = true
function onButton1Down(mouse)
	if en == true and inair == false and root.Position.y > 1 then
		en = false
		local point = root.Position + mouse.Hit.lookVector * 100
		local can = Tool.Handle:clone()
		can.Anchored = true
		can.CFrame = CFrame.new(root.Position, point)
		local nm = Instance.new("IntValue")
		nm.Name = "Speed"
		nm.Value = -10000
		if hum:findFirstChild("Effects") then
			nm.Parent = hum:findFirstChild("Effects")
		end
		can.Parent = root
		Tool.Handle.Transparency = 1
		can.Fuse:Play()
		local weld = weldTogether(can, root)
		wait(5)
		weld:Destroy()
		can.Fuse:Stop()
		can.Boom:Play()
		if hum then
			hum.Sit = true
		end
		root.Velocity = CFrame.new(root.Position, point).lookVector * 250
		local e = Instance.new("Explosion")
		e.BlastPressure = 0
		e.Position = (can.CFrame * CFrame.new(0, 0, 2)).p
		e.Parent = can
		wait(1)
		nm.Parent = nil
		can:Destroy()
		wait(10)
		Tool.Handle.Transparency = 0
		en = true
	end
end
function Equip(mouse)
	mouse.Icon = "rbxasset://textures\\GunCursor.png"
	mouse.Button1Down:connect(function()
		onButton1Down(mouse)
	end)
end
function Unequip(mouse)
end
script.Parent.Equipped:connect(Equip)
script.Parent.Unequipped:connect(Unequip)
--[=[
	Use to test that the right padding between the given GuiObject or Rect and the other GuiObject or Rect.

	The last argument is optional. If nil, the matcher will pass only if the difference **right** edge of the given GuiObject or Rect and the **right** edge of the other GuiObject or Rect is zero or positive.

	```lua
	-- Jest
	expect(instanceA).toBeInsideLeftOf(instanceB)
	expect(instanceA).toBeInsideLeftOf(instanceB, 10)
	expect(instanceA).toBeInsideLeftOf(instanceB, NumberRange.new(0, 10))
	```

	```lua
	-- TestEZ
	expect(instanceA).to.be.insideLeftOf(instanceB)
	expect(instanceA).to.be.insideLeftOf(instanceB, 10)
	expect(instanceA).to.be.insideLeftOf(instanceB, NumberRange.new(0, 10))
	```

	@tag inside
	@within CollisionMatchers2D
]=]
local function insideLeftOf(a: GuiObject | Rect, b: GuiObject | Rect, distance: number | NumberRange)
	local aRect = toRect(a)
	local bRect = toRect(b)

	local distanceFromSide = -(aRect.Max - bRect.Max)
	if distance then
		if typeof(distance) == "number" then
			distance = NumberRange.new(distance)
		end

		return returnValue(
			distance.Min <= distanceFromSide.X and distance.Max >= distanceFromSide.X,
			"Was within range",
			"Was not within range ( " .. tostring(distance) .. ")"
		)
	else
		return returnValue(distanceFromSide.X >= 0, "Was not right of the element", "Was too far right of the element")
	end
end

return insideLeftOf
--// Check if they own a Pass that is given on Spawn
local OnSpawn = function(Player)
	for Index, PassTable in pairs(Passes) do
		if Owns:Invoke(Player, PassTable.Name) == true then
			Give(Player, PassTable.Give, false)
		end
	end
end
-- -- -- -- -- -- --
--DIRECTION SCROLL--
-- -- -- -- -- -- --


Lift:WaitForChild("Direction").Changed:connect(function(val)
    if val == 1 then
		This.Display.ARW1.U1.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.U2.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.M1.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.M2.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.D1.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.D2.BrickColor = BrickColor.new("Cyan")
    elseif val == -1 then
		This.Display.ARW1.U1.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.U2.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.M1.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.M2.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.D1.BrickColor = BrickColor.new("Institutional white")
		This.Display.ARW1.D2.BrickColor = BrickColor.new("Institutional white")
	else
		This.Display.ARW1.U1.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.U2.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.M1.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.M2.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.D1.BrickColor = BrickColor.new("Cyan")
		This.Display.ARW1.D2.BrickColor = BrickColor.new("Cyan")
    end
end)
--// Damage Settings	
	BaseDamage = 80; -- Torso Damage
	LimbDamage = 60; -- Arms and Legs
	ArmorDamage = 58; -- How much damage is dealt against armor (Name the armor "Armor")
	HeadDamage = 200; -- If you set this to 100, there's a chance the player won't die because of the heal script
--Made by Luckymaxer

Debris = game:GetService("Debris")
RunService = game:GetService("RunService")

Character = script.Parent

Humanoid = Character:FindFirstChild("Humanoid")

Smoke = script:FindFirstChild("Smoke")

function DestroyScript()
	Debris:AddItem(script, 0.5)
end

if not Smoke or not Humanoid or Humanoid.Health > 0 then
	return
end

PartsEffected = {}

for i, v in pairs(Character:GetChildren()) do
	if v:IsA("BasePart") and v.Transparency < 1 then
		v.Velocity = (v.Velocity + (CFrame.Angles((math.random(-360, 360) * 0.01), (math.random(-360, 360) * 0.01), (math.random(-360, 360) * 0.01)).lookVector * math.random(1, 5)))
		v.RotVelocity = Vector3.new((math.random(-360, 360) * 0.01), (math.random(-360, 360) * 0.01), (math.random(-360, 360) * 0.01))
		for ii, vv in pairs(v:GetChildren()) do
			if vv:IsA("ParticleEmitter") then
				vv:Destroy()
			end
		end
		local SmokeEffect = Smoke:Clone()
		SmokeEffect.Enabled = true
		SmokeEffect.Parent = v
		table.insert(PartsEffected, {Part = v, Smoke = SmokeEffect})
	end
end

FadeLoop = RunService.Stepped:connect(function(Time, Step)
	if #PartsEffected == 0 then
		if FadeLoop then
			FadeLoop:disconnect()
			return
		end
	else
		for i, v in pairs(PartsEffected) do
			if v.Part.Transparency < 1 then
				v.Part.Transparency = (v.Part.Transparency + 0.01)
				if v.Part.Transparency >= 1 then
					v.Smoke.Enabled = false
					Debris:AddItem(v.Part, 4)
				end
			else
				table.remove(PartsEffected, i)
			end
		end
	end
end)
-----------------
--| Constants |--
-----------------

local COOLDOWN = .7 -- Seconds until tool can be used again
-- API facing functions
events.getCanvases.OnInvoke = getCanvases(contexts, services)
events.placeArt.OnInvoke = placeArt(contexts, services)
events.removeAllArt.OnInvoke = removeAllArt(contexts, services)
-------------------------------------------
local weld2 = Instance.new("Weld")
weld2.Part0 = torso
weld2.Parent = torso
weld2.Part1 = arms[2]
weld2.C1 = CFrame.new(-0.4, 1.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),-0.25,0) --Right leg
arms[2].Name = "RDave"
arms[2].CanCollide = true
welds[2] = weld2
-- Don't mess with anything below kthx --

return {Settings,{Banned,Mods,Admins,SuperAdmins,Owners},Custom_Commands}
-- constants
local VERSION = 1
local PROPERTY_ID = configuration.GOOGLE_ANALYTICS_TRACKING_ID
local PLACE_ID = game.PlaceId
--[=[
	@param name string
	@param inboundMiddleware ClientMiddleware?
	@param outboundMiddleware ClientMiddleware?
	@return ClientRemoteSignal
	Returns a new ClientRemoteSignal that mirrors the matching RemoteSignal created by
	ServerComm with the same matching `name`.

	```lua
	local mySignal = clientComm:GetSignal("MySignal")

	-- Listen for data from the server:
	mySignal:Connect(function(message)
		print("Received message from server:", message)
	end)

	-- Send data to the server:
	mySignal:Fire("Hello!")
	```
]=]
function ClientComm:GetSignal(
	name: string,
	inboundMiddleware: Types.ClientMiddleware?,
	outboundMiddleware: Types.ClientMiddleware?
)
	return Comm.GetSignal(self._instancesFolder, name, inboundMiddleware, outboundMiddleware)
end
-- Reload animation
function reload()
	if not reloading then
		reloading=true;
		updateAmmo()
		local reloadTime = tankStats.ReloadTime.Value;	

		Loaded = false

		local Timer = 0
	

		for i = 7, 1, -1 do
			wait(reloadTime/8);
			Timer = Timer + 1
			
			if Timer >= 2 and Loaded == false then
				GUI.ReloadSound:Play()
				Loaded = true
			end
		end
		wait(reloadTime/8);


		if Timer >= 7 then
		
		GUI.Loaded.Visible = true	
		
		
		
		Timer = 0
			reloading = false;
			
		end
		
		
	end
end

function fire()
	if reloading then return end;
	
	local APAmmo = tankStats.APAmmo;
	local HEAmmo = tankStats.HEAmmo;
	
	if currRound.Value == "AP" and APAmmo.Value <= 0 then return end
	if currRound.Value == "HE" and HEAmmo.Value <= 0 then return end
		
	if currRound.Value == "AP" then
		APAmmo.Value = APAmmo.Value - 1;
	else
		HEAmmo.Value = HEAmmo.Value - 1;
	end
	
	GUI.Loaded.Visible = false

	local fireScript = tankStats["Fire" .. currRound.Value]:clone();
	fireScript.Parent = parts;
	fireScript.Disabled = false;
	reload(GUI);
	
end
--Common functions
local function StringSplit(s, delimiter)
	local spl = {}
	for match in (s..delimiter):gmatch("(.-)"..delimiter) do
		table.insert(spl, match)
	end
	return spl
end
-- -- -- -- -- -- --
--DIRECTION SCROLL--
-- -- -- -- -- -- --


while wait() do
	
	-- -- -- -- -- -- --
	--DIRECTION SCROLL--
	-- -- -- -- -- -- --
	if Lift:WaitForChild("Direction").Value == 1 then
		This.Display.ARW1.U.BrickColor = BrickColor.new(ActiveARWColour)
		This.Display.ARW1.U.Material = "Neon"
		This.Display.ARW1.D.BrickColor = BrickColor.new(InactiveColour)
		This.Display.ARW1.D.Material = "SmoothPlastic"
	elseif Lift:WaitForChild("Direction").Value == -1 then
		This.Display.ARW1.U.BrickColor = BrickColor.new(InactiveColour)
		This.Display.ARW1.U.Material = "SmoothPlastic"
		This.Display.ARW1.D.BrickColor = BrickColor.new(ActiveARWColour)
		This.Display.ARW1.D.Material = "Neon"
	else
		This.Display.ARW1.U.BrickColor = BrickColor.new(InactiveColour)
		This.Display.ARW1.U.Material = "SmoothPlastic"
		This.Display.ARW1.D.BrickColor = BrickColor.new(InactiveColour)
		This.Display.ARW1.D.Material = "SmoothPlastic"
	end
	
	if Lift:WaitForChild("Mode").Value ~= "fire" then
		This.Legend.SurfaceGui.OOS.TextColor3 = Color3.fromRGB(54, 54, 54)
	else
		This.Legend.SurfaceGui.OOS.TextColor3 = Color3.fromRGB(255, 170, 0)
	end
	
	if Lift.Car.Sensor:FindFirstChild("Overloaded") then
		if Lift.Car.Sensor.Overloaded.Value == true then
			This.Legend.SurfaceGui.FULL.TextColor3 = Color3.fromRGB(255, 170, 0)
		else
			This.Legend.SurfaceGui.FULL.TextColor3 = Color3.fromRGB(54, 54, 54)
		end
	end
	
end
-- Maid object:

local Maid = {
	-- _cleanup_tasks = {},
	-- _is_cleaned = false,
}
Maid.__index = Maid

function Maid:AddCleanupTask(task)
	if self._is_cleaned == true then
		PerformCleanupTask(task)
		return function() end
	elseif type(task) == "function" then
		table.insert(self._cleanup_tasks, task)
	elseif typeof(task) == "RBXScriptConnection" then
		table.insert(self._cleanup_tasks, task)
	elseif typeof(task) == "Instance" then
		table.insert(self._cleanup_tasks, task)
	elseif type(task) == "table" then
		if type(task.Destroy) == "function" then
			table.insert(self._cleanup_tasks, task)
		elseif type(task.Disconnect) == "function" then
			table.insert(self._cleanup_tasks, task)
		else
			error("[MadworkMaid]: Received object table as cleanup task, but couldn't detect a :Destroy() method")
		end
	else
		error("[MadworkMaid]: Cleanup task of type \"" .. typeof(task) .. "\" not supported")
	end
	return function(...)
		self:RemoveCleanupTask(task)
		PerformCleanupTask(task, ...)
	end
end

function Maid:RemoveCleanupTask(task)
	local cleanup_tasks = self._cleanup_tasks
	local index = table.find(cleanup_tasks, task)
	if index ~= nil then
		table.remove(cleanup_tasks, index)
	end
end

function Maid:CleanupOfOne(task, ...)
	self:RemoveCleanupTask(task)
	PerformCleanupTask(task, ...)
end

function Maid:Cleanup(...)
	for _, task in ipairs(self._cleanup_tasks) do
		PerformCleanupTask(task, ...)
	end
	self._cleanup_tasks = {}
	self._is_cleaned = true
end
----------------------------------------------------------------[SS6] TO ADJUST ANY OF THE STEERING OPTIONS, GO TO LINE 66 "--change"
ssl = carSeat.Parent.Parent.LW.WheelML
ssr = carSeat.Parent.Parent.RW.WheelMR
strlckL = 1
strlckR = 1
strspd = script.Parent.Storage.SteerSpeed.Value 
strprg = 0 
maxlockL = carSeat.Storage.SteeringAngle.Value 
maxlockR = carSeat.Storage.SteeringAngle.Value
m = false occ = false n = false
steer = 0
if carSeat.Steer == 1 then
strlckL = math.rad(maxlockL+4)
strlckR = math.rad(maxlockR+6)
elseif carSeat.Steer == -1 then
strlckL = math.rad(maxlockL+6)
strlckR = math.rad(maxlockR+4)
end


while wait() do
	spd = carSeat.Velocity.Magnitude
	steer = (steer+((carSeat.Steer-steer)*strspd))
	carSeat.Parent.Parent.LW.WheelML.Gyro.cframe = carSeat.Parent.ref.CFrame * CFrame.Angles(0,((-1*steer)*strlckL)*(strprg/(spd+strprg)),0)
	carSeat.Parent.Parent.RW.WheelMR.Gyro.cframe = carSeat.Parent.ref.CFrame * CFrame.Angles(0,((-1*steer)*strlckR)*(strprg/(spd+strprg)),0)
	carSeat.Parent.Parent.LW.ML.HingeConstraint.MotorMaxTorque = 0
	carSeat.Parent.Parent.RW.MR.HingeConstraint.MotorMaxTorque = 0
	
	if carSeat.Throttle == 0 then
		strspd = script.Parent.Storage.SteerSpeed.Value*4.3
	end
	
	ssl.Gyro.D = damp
ssl.Gyro.maxTorque = Vector3.new(0,maxtq,0)
ssl.Gyro.P = pw
ssr.Gyro.D = damp
ssr.Gyro.maxTorque = Vector3.new(0,maxtq,0)
ssr.Gyro.P = pw

	if spd < 140 then
		strprg = 160
	else
		strprg = 80*ty
	end
	
	if carSeat.Storage.Mode == "City" then
	ty = 0.005
	else
	ty = 1		
	end
	if script.Parent.Storage.CurrentGear.Value == 2  and carSeat.Steer == 0 then 
		damp = 800
maxtq = 30000
pw = 100000
	else 
	damp = 1000 --change
maxtq = 3000 --change
pw = 10000 --change	
	end
	
	--if script.Parent.Storage.CurrentGear.Value == 2  and carSeat.Steer == 0 then 
		--if m == false then
	--	m = true occ = true n = true
----- hot tap handler

for i, v in pairs(hotTap:GetChildren()) do
	if v:FindFirstChild("ClickDetector") then
		v.ClickDetector.MouseClick:Connect(function()
			if hotOn.Value == false then
				hotOn.Value = true
				faucet.ParticleEmitter.Enabled = true
				waterSound:Play()
				hotTap:SetPrimaryPartCFrame(hotTap.PrimaryPart.CFrame * CFrame.Angles(math.rad(45),0,0))
			else
				hotOn.Value = false
				if coldOn.Value == false then
					faucet.ParticleEmitter.Enabled = false
					waterSound:Stop()
				end
				hotTap:SetPrimaryPartCFrame(hotTap.PrimaryPart.CFrame * CFrame.Angles(math.rad(-45),0,0))
			end
		end)
	end
end