Roblox/luau_corpus huggingface dataset:
--[[Transmission]]
	Tune.TransModes		= {"Auto", "Semi", "Manual"}								--[[
	[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	= "Speed"												--[[
	[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.50			-- Gearing determines top speed and wheel torque
	Tune.Ratios			= {				-- Higher ratio = more torque, Lower ratio = higher top speed
		--[[Reverse]]	3.50		,	-- Copy and paste a ratio to add a gear
		--[[Neutral]]	0			,	-- Ratios can also be deleted
		--[[ 1 ]]		3.50		,	-- Reverse, Neutral, and 1st gear are required
		--[[ 2 ]]		3.00		,
		--[[ 3 ]]		2.50		,
		--[[ 4 ]]		2.00		,
		--[[ 5 ]]		1.50		,
		--[[ 6 ]]		1.00		,
	}
	Tune.FDMult			= 1.5			-- Ratio multiplier (Change this value instead of FinalDrive if car is struggling with torque ; Default = 1)
--Manual: Quick Shifter
Tune.QuickShifter	= true 		-- To quickshift, cut off the throttle to upshift, and apply throttle to downshift, all without clutch.
Tune.QuickShiftTime	= 0.25 		-- Determines how much time you have to quick shift up or down before you need to use the clutch.
--[[ Local Variables ]]--
local MasterControl = {}

local Players = game:GetService('Players')
local RunService = game:GetService('RunService')

while not Players.LocalPlayer do
	wait()
end
local LocalPlayer = Players.LocalPlayer
local CachedHumanoid = nil
local RenderSteppedCon = nil
local moveFunc = LocalPlayer.Move

local isJumping = false
local moveValue = Vector3.new(0,0,0)
--[[
	Novena Constraint Type: Motorcycle
			The Bike Chassis
	
				SecondLogic | Inspare (thanks!)
				Avxnturador | Novena
--]]


local autoscaling	= true					--Estimates top speed

local UNITS	= {								--Click on speed to change units
											--First unit is default	
	{
		units			= "KM/H"			,
		scaling			= (10/12) * 1.09728	, -- 1 stud : 10 inches | ft/s to KP/H
		maxSpeed		= 370				,
		spInc			= 40				, -- Increment between labelled notches
	},
	
	{
		units			= "SPS"				,
		scaling			= 1					, -- Roblox standard
		maxSpeed		= 400				,
		spInc			= 40				, -- Increment between labelled notches
	}
}
------- extreme math equations
		local v = 30
		local c = 50
		local m = part:GetMass()
		if m< 20 then
			m = 20
		end
		part.RotVelocity =Vector3.new(math.random(-v,v)/(m/c),math.random(-v,v)/(m/c),math.random(-v,v)/(m/c))
		game:GetService("Debris"):AddItem(script.Parent,0.1)--penetration
	
	end
	local a = part.Parent:findFirstChild("Humanoid")
	local b = part.Parent.Parent:findFirstChild("Humanoid")
		local debrispart = Instance.new("Part")
		debrispart.Name="debrispart"
		debrispart.Size = Vector3.new(0.05,0.05,0.05)
		debrispart.BrickColor = part.BrickColor
		debrispart.Anchored=true
		debrispart.CanCollide = false
		debrispart.Transparency=1
		debrispart.Position=positiono
		debrispart.Parent=game.Workspace
		if a == nil and b == nil then
		local thingy = script.debris:Clone()
		thingy.Color=ColorSequence.new(part.Color,part.Color)
		thingy.Parent=debrispart
		spawn(function()
		thingy:Emit(10)
		end)
		end
		if a ~= nil or b ~= nil then
		local thingy = script.blood:Clone()
		thingy.Parent=debrispart
		spawn(function()
		thingy:Emit(10)
		end)
		end
		game:GetService("Debris"):AddItem(debrispart,1)
		game:GetService("Debris"):AddItem(script.Parent,0.05)
		
	--[[if position ~= nil then
	end]]--
	
end

	script.Parent.Touched:connect(hit)
--[[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	= "Speed"												--[[
	[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			-- Gearing determines top speed and wheel torque
	Tune.Ratios			= {				-- Higher ratio = more torque, Lower ratio = higher top speed
		--[[Reverse]]	3.70		,	-- Copy and paste a ratio to add a gear
		--[[Neutral]]	0			,	-- Ratios can also be deleted
		--[[ 1 ]]		3.53		,	-- Reverse, Neutral, and 1st gear are required
		--[[ 2 ]]		2.04		,
		--[[ 3 ]]		1.38		,
		--[[ 4 ]]		1.03		,
		--[[ 5 ]]		0.81		,
		--[[ 6 ]]		0.64		,
	}
	Tune.FDMult			= 0.6			-- Ratio multiplier (Change this value instead of FinalDrive if car is struggling with torque ; Default = 1)
-- Ammo Effect
function ammoEffect()
	local t = 0.3
	ammoUI.AmmoEffect.Size = UDim2.new(1, 0, 1, 0)
	ammoUI.AmmoEffect.TextTransparency = 0
	ammoUI.AmmoEffect:TweenSize(UDim2.new(2.1, 0, 2.1, 0), "InOut", "Quad", t, true)
	for i = 1, 10 do
		ammoUI.AmmoEffect.TextTransparency = ammoUI.AmmoEffect.TextTransparency + 0.1
		wait(t/10)
	end
	return
end
--set up ghost following you
Spawn(function()
	while Alive do
		local torsoAt = Character.Torso.Position
		local toGhost = Body.Position - torsoAt
		toGhost = Vector3.new(toGhost.x, 0, toGhost.z).unit
		local ghostAt = torsoAt + toGhost*3 + Vector3.new(0, 2 + 1*math.sin(tick()), 0)
		--
		Body.Float.position = ghostAt
		Body.Rotate.cframe = Character.Torso.CFrame 
		wait()
		Body.Anchored = false;
		Body.CanCollide = false;
		Body:SetNetworkOwner(nil)
	end
end)
--Spin Limit
if Spin <= 0 then
Spin = 0
end
if Spin > 10 then
cam = game.Workspace.CurrentCamera
local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p
local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.001, 0, 0)
cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
script.Ding.Pitch = .6 + (.3 * (Spin/40))
script.Ding:Play()
end
if Spin > 45 then 
Spin = 45
end
--Made by Superluck, Uploaded by FederalSignal_QCB.
--Made by Superluck, Uploaded by FederalSignal_QCB.
--Made by Superluck, Uploaded by FederalSignal_QCB.
wait(1)
while true do
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.PlaybackSpeed = script.Parent.PlaybackSpeed
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.Volume = (script.Parent.Volume*2)*11
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.EmitterSize = script.Parent.EmitterSize*10
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.SoundId = script.Parent.SoundId
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.Playing = script.Parent.Playing
script.Parent.Parent.Parent.Scripts.SoundBlock.Value.Sound.DistortionSoundEffect.Level = (script.Parent.Volume*1.3)*4
wait()
end
--[=[
	Same as `andThenCall`, except for `finally`.

	Attaches a `finally` handler to this Promise that calls the given callback with the predefined arguments.

	@param callback (...: any) -> any
	@param ...? any -- Additional arguments which will be passed to `callback`
	@return Promise
]=]
function Promise.prototype:finallyCall(callback, ...)
	assert(type(callback) == "function", string.format(ERROR_NON_FUNCTION, "Promise:finallyCall"))
	local length, values = pack(...)
	return self:_finally(debug.traceback(nil, 2), function()
		return callback(unpack(values, 1, length))
	end)
end
-- This file was @generated by Tarmac. It is not intended for manual editing.
return {
	ApertureOutline = "rbxassetid://10075108836",
	ApertureSolid = "rbxassetid://10075108932",
	CameraFilled = "rbxassetid://10075109090",
	CameraOutline = "rbxassetid://10075109448",
	Caret = "rbxassetid://10075138934",
	CheckCircle = "rbxassetid://10075110227",
	EmoteOutline = "rbxassetid://10075110453",
	EmoteSolid = "rbxassetid://10075110659",
	EyeClosed = "rbxassetid://10075110843",
	EyeOpen = "rbxassetid://10075110954",
	Filters = {
		Antique = "rbxassetid://10075195631",
		Cute = "rbxassetid://10075195904",
		Dramatic = "rbxassetid://10075196064",
		Monochrome = "rbxassetid://10075196387",
		Normal = "rbxassetid://10075196662",
		Pop = "rbxassetid://10075196915",
		Soft = "rbxassetid://10075197132",
	},
	Poses = {
		BreakDance = "rbxassetid://10075186317",
		Cheer = "rbxassetid://10075186554",
		Clapping = "rbxassetid://10075186766",
		Dolphin = "rbxassetid://10075186950",
		Flossing = "rbxassetid://10075187146",
		Guitar = "rbxassetid://10075187373",
		JumpWave = "rbxassetid://10075187644",
		Louder = "rbxassetid://10075187820",
		Normal = "rbxassetid://10075187987",
		TopRock = "rbxassetid://10075188289",
		Twirl = "rbxassetid://10075188477",
		Wave = "rbxassetid://10075188642",
	},
	SparkleOutline = "rbxassetid://10075074919",
	SparkleSolid = "rbxassetid://10075075008",
	ToolboxIcon = "rbxassetid://10205311137",
	UsersOutline = "rbxassetid://10075111071",
	UsersSolid = "rbxassetid://10075111227",
	XClose = "rbxassetid://10075139060",
}
-- find player's head pos

	local vCharacter = Tool.Parent
	local vPlayer = game.Players:playerFromCharacter(vCharacter)

	local head = vCharacter:findFirstChild("Head")
	if head == nil then return end

	Tool.Handle.Fire:Play()
	local launch = head.Position + 10 * v

	local missile = Pellet:clone()
	missile.CFrame = CFrame.new(launch,shootDirect)
	missile.Position = launch
	missile.Velocity = v * 85

	local force = Instance.new("BodyForce")
	force.force = Vector3.new(0,942,0)
	force.Parent = missile

	missile.SnowballScript.Disabled = false


	missile.Parent = game.Workspace

end

function gunUp()
	Tool.GripPos =  Vector3.new(0.3,0,-1.2)
end

function gunOut()
	Tool.GripPos = Vector3.new(0.3,0,-1.5)
end

function onEquipped()

	Tool.Handle.Fire:Stop()

end

function onUnequipped()

	Tool.Handle.Fire:Stop()

end

Tool.Equipped:connect(onEquipped)
Tool.Unequipped:connect(onUnequipped)


enabled = true
function onActivated()
	if not enabled  then
		return
	end

	enabled = false


	local character = Tool.Parent;
	local humanoid = character.Humanoid
	if humanoid == nil then
		print("Humanoid not found")
		return 
	end

	local targetPos = humanoid.TargetPoint
	local lookAt = (targetPos - character.Head.Position).unit
	shootDirect = targetPos

	local reload = 0.0000001


	gunUp()
	fire(lookAt, shootDirect)
	wait(0.1)
	gunOut()
	wait(reload)
	wait(reload)

	enabled = true

end

script.Parent.Activated:connect(onActivated)
-- I'm honestly not sure 
-- Andrew Bereza 
game.ReplicatedStorage.RequestGui.OnServerInvoke = function(Player,GuiName)
	local Gui = game.StarterGui:FindFirstChild(GuiName)
	if Gui and Player.PlayerGui:FindFirstChild(GuiName) == nil then
		print(Player.Name.." REQUESTED GUI "..GuiName)
		Gui:Clone().Parent = Player.PlayerGui
	end
end
-- aboutWindow Close Button Functions
local topbar_acloseButton_nf = TweenService:Create(aboutCloseButton, Bar_Button_TweenInfo, button_not_focused)
local topbar_acloseButton_f = TweenService:Create(aboutCloseButton, Bar_Button_TweenInfo, button_focused)
local topbar_acloseButton_p = TweenService:Create(aboutCloseButton, Bar_Button_TweenInfo, button_pressed)
local topbar_aclosebutton_r = TweenService:Create(aboutCloseButton, Bar_Button_TweenInfo, button_released)

aboutCloseButton.MouseEnter:Connect(function()
	topbar_acloseButton_f:Play()
end)

aboutCloseButton.MouseLeave:Connect(function()
	topbar_acloseButton_nf:Play() --                  These are all
end) --                                               for the closeButton
-- This is your invite friends plugin script! Thanks for installing. 
game.Players.PlayerAdded:Connect(function(player)
local SocialService = game:GetService ("SocialService")
SocialService:PromptGameInvite(player)
SocialService.GameInvitePromptClosed:Connect (function(player,ids)
end)
end)
--]]

local nextTime = 0
local runService = game:service("RunService");

while Figure.Parent~=nil do
	time = runService.Stepped:wait()
	if time > nextTime then
		move(time)
		nextTime = time + 0.1
	end
end
----  \/Ally\/
model = script.Parent
wait(0.5)
currentP = "Off"
script.Parent.Events.Ally.OnServerEvent:Connect( function(player, pattern)
	if script.Parent.Values.Ally.Value == true then
		script.Parent.Values.Ally.Value = false
	else
		script.Parent.Values.Ally.Value = true
	end
end)
--GAMEPASS--OR--DevProduct--
local Gamepass = script.Parent.Robux.GamepassId
local GamepassInfo = MarketplaceService:GetProductInfo(Gamepass.Value, Enum.InfoType.GamePass.Name)
--[=[
	Retrieves groupInfo about a group.

	@param groupId number
	@return Promise<table>
]=]
function GroupUtils.promiseGroupInfo(groupId)
	assert(groupId, "Bad groupId")

	return Promise.spawn(function(resolve, reject)
		local groupInfo = nil
		local ok, err = pcall(function()
			groupInfo = GroupService:GetGroupInfoAsync(groupId)
		end)

		if not ok then
			return reject(err)
		end

		if type(groupInfo) ~= "table" then
			return reject("Rank is not a number")
		end

		return resolve(groupInfo)
	end)
end
--game.Lighting:WaitForChild("Blur").Enabled = true
--game.Lighting.ColorCorrection.Enabled = true

local contenProvider = game:GetService("ContentProvider")
game.Loaded:Wait()
local toLoad = workspace:GetDescendants()
local total = #toLoad
for i,v in pairs(toLoad) do
	loadingScreen.Background.Counter.Text = "Loading: " .. i .. "/" .. total
	contenProvider:PreloadAsync({v})
end
--[[**
	ensures Roblox Vector3 type

	@param value The value to check against

	@returns True iff the condition is satisfied, false otherwise
**--]]
t.Vector3 = t.typeof("Vector3")
-----------------
--| Variables |--
-----------------

local DebrisService = Game:GetService('Debris')
local PlayersService = Game:GetService('Players')

local Rocket = script.Parent

local CreatorTag = Rocket:WaitForChild('creator')
local SwooshSound = Rocket:WaitForChild('Swoosh')
--		[TORQUE CURVE VISUAL]
--		https://www.desmos.com/calculator/nap6stpjqf
--		Use sliders to manipulate values
--		Edit everything as if your car is NATURALLY aspirated, or as if it lacks a turbo.

Tune.Horsepower		= 250
Tune.IdleRPM		= 700
Tune.PeakRPM		= 7000
Tune.Redline		= 8000
Tune.EqPoint		= 5252
Tune.PeakSharpness	= 20
Tune.CurveMult		= 0.2

Tune.InclineComp	= 1.7		-- Torque compensation multiplier for inclines (applies gradient from 0-90 degrees)
-- Functions to check if a mock was ever called with given arguments.

local getCalls = require(script.Parent.getCalls)
local cmpLiteralArgs = require(script.Parent.cmpLiteralArgs)
local cmpPredicateArgs = require(script.Parent.cmpPredicateArgs)
local fmtArgs = require(script.Parent.fmtArgs)

local AnyCallMatches = {}

function AnyCallMatches.args(mock, test)
	local callList = getCalls(mock)
	local size = #callList
	if size == 0 then
		return false, "mock was not called"
	end

	local msg
	for i = 1, size do
		local result
		result, msg = test(callList[i].args)
		if result then
			return true
		end
	end

	if not msg then
		msg = fmtArgs(callList[size].args) .. " did not match"
	end
	if size > 1 then
		msg = msg .. " (+" .. (size - 1) .. " other calls)"
	end

	return false, msg
end

function AnyCallMatches.literals(mock, ...)
	local expected = table.pack(...)
	return AnyCallMatches.args(mock, function(actual)
		return cmpLiteralArgs(expected, actual)
	end)
end

function AnyCallMatches.predicates(mock, ...)
	local predicates = table.pack(...)
	return AnyCallMatches.args(mock, function(actual)
		return cmpPredicateArgs(predicates, actual)
	end)
end

return AnyCallMatches
--[[**
	ensures Roblox DockWidgetPluginGuiInfo type

	@param value The value to check against

	@returns True iff the condition is satisfied, false otherwise
**--]]
t.DockWidgetPluginGuiInfo = t.typeof("DockWidgetPluginGuiInfo")
--[=[
	Ensures the computed version of a value is limited by lifetime instead
	of multiple. Used in conjunction with [Blend.Children] and [Blend.Computed].

	:::warning
	In general, cosntructing new instances like this is a bad idea, so it's recommended against it.
	:::

	```lua
	local render = Blend.New "ScreenGui" {
		Parent = game.Players.LocalPlayer.PlayerGui;
		[Blend.Children] = {
			Blend.Single(Blend.Computed(percentVisible, function()
				-- you generally would not want to do this anyway because this reconstructs a new frame
				-- every frame.

				Blend.New "Frame" {
					Size = UDim2.new(1, 0, 1, 0);
					BackgroundTransparency = 0.5;
				};
			end)
		};
	};

	maid:GiveTask(render:Subscribe(function(gui)
		print(gui)
	end))
	```

	@function Single
	@param Observable<Instance | Brio<Instance>>
	@return Observable<Brio<Instance>>
	@within Blend
]=]
function Blend.Single(observable)
	return Observable.new(function(sub)
		local maid = Maid.new()

		maid:GiveTask(observable:Subscribe(function(result)
			if Brio.isBrio(result) then
				local copy = BrioUtils.clone(result)
				maid._current = copy
				sub:Fire(copy)
				return copy
			end

			local current = Brio.new(result)
			maid._current = current
			sub:Fire(current)

			return current
		end))

		return maid
	end)
end
-- Decompiled with the Synapse X Luau decompiler.

script.Parent.MouseButton1Click:Connect(function()
	local v1 = {};
	for v2, v3 in pairs(script.Parent.Parent.Parent.Parent.MainFrame.Inventory:GetChildren()) do
		if v3:IsA("Frame") and v3.MassDeleteIndicator.Visible == true then
			v1[#v1 + 1] = v3.PetID.Value;
		end;
	end;
	game.ReplicatedStorage.RemoteEvents.PetActionRequest:InvokeServer("Mass Delete", {
		Pets = v1
	});
	script.Parent.Parent.Parent.MassDelete.Value = false;
	script.Parent.Parent.Visible = false;
end);
--[[
	Calls the provided handler when any of the provided signals are fired.
	Returns an array of the connections made.

	Example usage:
		local handler = print

		local connections = connectAll(
			{signalA, signalB},
			handler
		)

		eventA:Fire("1 Hello,", "world!")
		eventB:Fire("2 foo", "bar")

		for _, connection in ipairs(connections) do
			connection:Disconnect()
		end

	Output:
		1 Hello, world!
		2 foo bar
--]]

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Signal = require(ReplicatedStorage.Source.Signal)

type Handler = (...any) -> ...any

local function connectAll(signals: { RBXScriptSignal | Signal.ClassType }, handler: Handler)
	local connections: { RBXScriptConnection | Signal.SignalConnection } = {}

	for _, signal in ipairs(signals) do
		local connection: RBXScriptConnection | Signal.SignalConnection = (signal :: any):Connect(handler)
		table.insert(connections, connection)
	end

	return connections
end

return connectAll
---Place this INSIDE the model. Don't replace the model name or anything.
------------------------------------------------------------------------------------------ 
object = script.Parent 
if (object ~= nil) and (object ~= game.Workspace) then 
model = object 
 



backup = model:clone() -- Make the backup 
waitTime = 10 --Time to wait between regenerations 
wait(math.random(0, waitTime)) 
while true do 
wait(waitTime) -- Regen wait time 

 
model:remove() 

wait(2.5) -- Display regen message for this amount of time 

model = backup:clone() 
model.Parent = game.Workspace 
model:makeJoints() 
message.Parent = nil 
end 
end
--[[
Make sure to put Menu Blur Script in StarterGui
And that you put MenuBlur in Lighting

Or paste this in the command bar:
	workspace:WaitForChild("Menu Blur Script").MenuBlur.Parent = game:GetService("Lighting") wait() workspace:WaitForChild("Menu Blur Script").Parent = game:GetService("StarterGui")
]]		




local Lighting = game:GetService("Lighting")

local MenuBluriness = Lighting.MenuBlur

local GuiService = game:GetService("GuiService")
GuiService.MenuOpened:Connect(function()
	MenuBluriness.Enabled = true
	wait()
	MenuBluriness.Size = 24
end)
 
GuiService.MenuClosed:Connect(function()
	MenuBluriness.Size = 12
	wait()
	MenuBluriness.Enabled = false
end)
-- Creates a spread simulator based on the weapons runtime data
-- @param WeaponRuntimeData
-- @return SpreadSimulator
function SpreadSimulator.New(weaponRuntimeData)
	local self = {}
	setmetatable(self,SpreadSimulator)

	self.runtimeData = weaponRuntimeData	
	self.weaponDefinition = weaponRuntimeData:GetWeaponDefinition()
	
	if not self.weaponDefinition:GetSpreadRange() then
		return nil
	end
	
	-- Constants
	self.minSpread = self.weaponDefinition:GetSpreadRange().x
	self.maxSpread = self.weaponDefinition:GetSpreadRange().y
	self.spreadIntensity = self.weaponDefinition:GetSpreadIntensity()
	self.spreadReduction = self.weaponDefinition:GetSpreadReduction()
	self.rng = Random.new()
	
	-- Variables
	self.currentSpread = self.minSpread

	return self
end
--/Barrel
module.IsSuppressor 	= true
module.IsFlashHider		= true
--None of this is mine...

Tool = script.Parent;
local arms = nil
local torso = nil
local welds = {}

function Equip(mouse)
wait(0.01)
arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
torso = Tool.Parent:FindFirstChild("Torso")
if arms ~= nil and torso ~= nil then
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
if sh ~= nil then
local yes = true
if yes then
yes = false
sh[1].Part1 = nil
sh[2].Part1 = nil
local weld1 = Instance.new("Weld")
weld1.Part0 = torso
weld1.Parent = torso
weld1.Part1 = arms[1]
weld1.C1 = CFrame.new(0.9, 0.6, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(270), math.rad(25), math.rad(0)) ---The first set of numbers changes where the arms move to the second set changes their angles
welds[1] = weld1
weld1.Name = "weld1"
local weld2 = Instance.new("Weld")
weld2.Part0 = torso
weld2.Parent = torso
weld2.Part1 = arms[2]
weld2.C1 = CFrame.new(-1, 0.6, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-20), 0) --- Same as top
welds[2] = weld2
weld2.Name = "weld2"
end
else
print("sh")
end
else
print("arms")
end
end

function Unequip(mouse)
if arms ~= nil and torso ~= nil then
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
if sh ~= nil then
local yes = true
if yes then
yes = false
sh[1].Part1 = arms[1]
sh[2].Part1 = arms[2]
welds[1].Parent = nil
welds[2].Parent = nil
end
else
print("sh")
end
else
print("arms")
end
end
Tool.Equipped:connect(Equip)
Tool.Unequipped:connect(Unequip)
--Playing Animation--
if enabled.Value == true then
	humanim:Play()
	humanim.Looped = true
	humanim:AdjustSpeed(sp.Value)
end
--[[Engine]]
	--Torque Curve
	Tune.Horsepower		= 350		--	[TORQUE CURVE VISUAL]
	Tune.IdleRPM		= 700		--		https://www.desmos.com/calculator/2uo3hqwdhf
	Tune.PeakRPM		= 6000		--		Use sliders to manipulate values
	Tune.Redline		= 6700		--		Copy and paste slider values into the respective tune values
	Tune.EqPoint		= 5500
	Tune.PeakSharpness	= 7.5
	Tune.CurveMult		= 0.16
	
	--Incline Compensation
	Tune.InclineComp	= 4.7			-- Torque compensation multiplier for inclines (applies gradient from 0-90 degrees)
	
	--Misc
	Tune.RevAccel		= 150		-- RPM acceleration when clutch is off
	Tune.RevDecay		= 75		-- RPM decay when clutch is off
	Tune.RevBounce		= 500		-- RPM kickback from redline
	Tune.IdleThrottle	= 0			-- Percent throttle at idle
	Tune.ClutchTol		= 500		-- Clutch engagement threshold (higher = faster response)
--[=[
	Declarative UI system inspired by Fusion
	@class Blend
]=]

local require = require(script.Parent.loader).load(script)

local AccelTween = require("AccelTween")
local BlendDefaultProps = require("BlendDefaultProps")
local Brio = require("Brio")
local Maid = require("Maid")
local MaidTaskUtils = require("MaidTaskUtils")
local Observable = require("Observable")
local Promise = require("Promise")
local Rx = require("Rx")
local BrioUtils = require("BrioUtils")
local RxInstanceUtils = require("RxInstanceUtils")
local RxValueBaseUtils = require("RxValueBaseUtils")
local Signal = require("Signal")
local Spring = require("Spring")
local SpringUtils = require("SpringUtils")
local StepUtils = require("StepUtils")
local ValueBaseUtils = require("ValueBaseUtils")
local ValueObject = require("ValueObject")
local ValueObjectUtils = require("ValueObjectUtils")

local Blend = {}