Pinkstack/roblox-luau-corpus-text huggingface dataset:
-- To change the sound ID of a material, change the 'id' variable.
-- To change the volume, change the volume variable.
-- To change the playback speed of a sound, change the speed variable.



local IDList = {
	Air = {id = "rbxassetid://329997777", volume = 0, speed = 1.00},
	Asphalt = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Basalt = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Brick = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Cobblestone = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Concrete = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	CorrodedMetal = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	CrackedLava = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	DiamondPlate = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Fabric = {id = "rbxassetid://4416041299", volume = 0.40, speed = 1.00},
	Foil = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Forcefield = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Glass = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Granite = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Grass = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Glacier = {id = "rbxassetid://4416041299", volume = 0.40, speed = 1.00},
	Ground = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Ice = {id = "rbxassetid://4416041299", volume = 0.40, speed = 1.00},
	Limestone = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	LeafyGrass = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Marble = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Metal = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Mud = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Neon = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Pebble = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Plastic = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Pavement = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Rock = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Sand = {id = "rbxassetid://4416041299", volume = 0.40, speed = 1.00},
	Slate = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Snow = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Salt = {id = "rbxassetid://4416041299", volume = 0.40, speed = 1.00},
	Sandstone = {id = "rbxassetid://4416041299", volume = 0.60, speed = 0.75},
	SmoothPlastic = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	Wood = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00},
	WoodPlanks = {id = "rbxassetid://4416041299", volume = 0.60, speed = 1.00}
}

return IDList
--------AUDIENCE BACK RIGHT--------



game.Workspace.audiencebackright1.Part3.BrickColor = BrickColor.new(game.Workspace.Lighting.cyan.Value)
game.Workspace.audiencebackright1.Part6.BrickColor = BrickColor.new(game.Workspace.Lighting.cyan.Value)
game.Workspace.audiencebackright1.Part9.BrickColor = BrickColor.new(game.Workspace.Lighting.cyan.Value)
--- Skill


repeat wait() until game.Players.LocalPlayer.Character

local plr = game.Players.LocalPlayer
local char = plr.Character
local hum = char:WaitForChild("Humanoid")
local Torso = char:WaitForChild("LowerTorso")
local Mouse = plr:GetMouse()
local toggle = false
local Debounce = true
Mouse.KeyDown:Connect(function(key)
    if key == "f" and Tool.Equip.Value == true and Tool.Active.Value == "None" or Tool.Active.Value == "FireFlight" then
        if toggle == false and Debounce == true then
            toggle = true
            local Anim = Instance.new("Animation")
            Anim.AnimationId = "rbxassetid://4598627471"
            local PlayAnim = hum:LoadAnimation(Anim)
            PlayAnim:Play()
            Debounce = false
            Tool.Active.Value = "FireFlight"
		    script.Fire:FireServer(plr)
            local BV = Instance.new("BodyVelocity",Torso)
            BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
            while toggle == true do
                wait()
            plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x,plr.Character.HumanoidRootPart.Position.y,Mouse.Hit.p.z))
            BV.Velocity = Mouse.Hit.lookVector * 40
            end
        end
        if toggle == true and Debounce == false then
            toggle = false
            Tool.Active.Value = "None"
            script.UnFire:FireServer(plr)
            Torso:FindFirstChildOfClass("BodyVelocity"):Destroy()
            local tracks = hum:GetPlayingAnimationTracks()
            for i, stoptracks in pairs(tracks) do
            stoptracks:Stop()
            end
            local Anim = Instance.new("Animation")
            Anim.AnimationId = "http://www.roblox.com/asset/?id=507767968"
            local PlayAnim = hum:LoadAnimation(Anim)
            PlayAnim:Play()
            wait(3.5)
            Debounce = true
        end
    end
end)
--[[
	These messages are used by Component to help users diagnose when they're
	calling setState in inappropriate places.

	The indentation may seem odd, but it's necessary to avoid introducing extra
	whitespace into the error messages themselves.
]]


local ComponentLifecyclePhase = require(script.Parent.ComponentLifecyclePhase)

local invalidSetStateMessages = {}

invalidSetStateMessages[ComponentLifecyclePhase.WillUpdate] = [[
setState cannot be used in the willUpdate lifecycle method.
Consider using the didUpdate method instead, or using getDerivedStateFromProps.

Check the definition of willUpdate in the component %q.]]

invalidSetStateMessages[ComponentLifecyclePhase.ShouldUpdate] = [[
setState cannot be used in the shouldUpdate lifecycle method.
shouldUpdate must be a pure function that only depends on props and state.

Check the definition of shouldUpdate in the component %q.]]

invalidSetStateMessages[ComponentLifecyclePhase.Render] = [[
setState cannot be used in the render method.
render must be a pure function that only depends on props and state.

Check the definition of render in the component %q.]]

invalidSetStateMessages["default"] = [[
setState can not be used in the current situation, because Roact doesn't know
which part of the lifecycle this component is in.

This is a bug in Roact.
It was triggered by the component %q.
]]

return invalidSetStateMessages
------------------------------------------------------------------------
--
-- * used in luaK:patchlistaux(), luaK:concat()
------------------------------------------------------------------------


function luaK:fixjump(fs, pc, dest)
  local jmp = fs.f.code[pc]
  local offset = dest - (pc + 1)
  assert(dest ~= self.NO_JUMP)
  if math.abs(offset) > luaP.MAXARG_sBx then
    luaX:syntaxerror(fs.ls, "control structure too long")
  end
  luaP:SETARG_sBx(jmp, offset)
end
--[=[
	@param obj any
	@return boolean

	Returns `true` if the given object is a Timer.
]=]


function Timer.Is(obj: any): boolean
	return type(obj) == "table" and getmetatable(obj) == Timer
end


function Timer:_startTimer()
	local t = self.TimeFunction
	local nextTick = t() + self.Interval
	self._runHandle = self.UpdateSignal:Connect(function()
		local now = t()
		if now >= nextTick then
			nextTick = now + self.Interval
			self.Tick:Fire()
		end
	end)
end


function Timer:_startTimerNoDrift()
	assert(self.Interval > 0, "Interval must be greater than 0 when AllowDrift is set to false")
	local t = self.TimeFunction
	local n = 1
	local start = t()
	local nextTick = start + self.Interval
	self._runHandle = self.UpdateSignal:Connect(function()
		local now = t()
		while now >= nextTick do
			n += 1
			nextTick = start + (self.Interval * n)
			self.Tick:Fire()
		end
	end)
end
--[[Engine]]


	--Torque Curve
	Tune.Horsepower		= 700		--	[TORQUE CURVE VISUAL]
	Tune.IdleRPM		= 1400		--		https://www.desmos.com/calculator/2uo3hqwdhf
	Tune.PeakRPM		= 7500		--		Use sliders to manipulate values
	Tune.Redline		= 8500		--		Copy and paste slider values into the respective tune values
	Tune.EqPoint		= 6000
	Tune.PeakSharpness	= 10.5
	Tune.CurveMult		= 0.16
	
	--Incline Compensation
	Tune.InclineComp	= 1.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	= 3			-- Percent throttle at idle
	Tune.ClutchTol		= 500		-- Clutch engagement threshold (higher = faster response)
--!strict


local startAngle = -60
local endAngle = 60

local function Map(n: number, oldMin: number, oldMax: number, min: number, max: number): number
	return (min + ((max - min) * ((n - oldMin) / (oldMax - oldMin))))
end

local function run(LightChanger)
	local lights = LightChanger:GetLights("Numbered")
	LightChanger:Tilt(60)
	for groupNumber, lightGroup in lights do
		local percent = (groupNumber - 1) / (#lights - 1)
		local angle = Map(percent, 0, 1, startAngle, endAngle)
		LightChanger:Pan(angle, lightGroup)
	end
end

return function(LightChangerA, LightChangerB)
	run(LightChangerA)
	run(LightChangerB)
end
--AUTO



function autoSwitchFlaps()
	if flaps.Value.Value == true then
		if wings.Value.Value == true then
			local c = flaps_flex:GetChildren()
			local d = flaps_straight:GetChildren()
			for i = 1, #c do
				c[i].Transparency = 0
			end
			for i = 1, #d do
				d[i].Transparency = 1
			end
		elseif wings.Value.Value == false then
			local c = flaps_flex:GetChildren()
			local d = flaps_straight:GetChildren()
			for i = 1, #c do
				c[i].Transparency = 1
			end
			for i = 1, #d do
				d[i].Transparency = 0
			end
		end
	end
end

function autoSwitchGear()
	if gears.Value.Value == true then
		if wings.Value.Value == true then
			local c = gears_flex:GetChildren()
			local d = gears_straight:GetChildren()
			for i = 1, #c do
				c[i].Transparency = 0
			end
			for i = 1, #d do
				d[i].Transparency = 1
			end
		elseif wings.Value.Value == false then
			local c = gears_flex:GetChildren()
			local d = gears_straight:GetChildren()
			for i = 1, #c do
				c[i].Transparency = 1
			end
			for i = 1, #d do
				d[i].Transparency = 0
			end
		end
	end
end

wings.Value.Changed:connect(autoSwitchFlaps)
wings.Value.Changed:connect(autoSwitchGear)
-- RocketPropulsion Fields


local TARGET_RADIUS = 150
local MAX_SPEED = 9001
local MAX_TORQUE = Vector3.new(4e6, 4e6, 0)
local MAX_THRUST = 50000
local THRUST_P = 500
local THRUST_D = 50000

local TARGET_OVERSHOOT_DISTANCE = 10000000

local ROCKET_MESH_ID = 'http://www.roblox.com/asset/?id=2251534'
local ROCKET_MESH_SCALE = Vector3.new(2.5, 2.5, 2)
local ROCKET_PART_SIZE = Vector3.new(2, 2, 2)
-- setting up the correct animation --


local eatingAnimation
if hum.RigType == Enum.HumanoidRigType.R6 then
	eatingAnimation = script.Parent.TakeABiteR6
else
	eatingAnimation = script.Parent.TakeABiteR15
end
local eatingAnim = hum:LoadAnimation(eatingAnimation)

script.Parent.Activated:connect(function()
	if not eating then
		eating = true
		eatingAnim:Play()
		eatingAnim.KeyframeReached:Connect(function(keyFrame)
			if keyFrame == "Bite" then
				sound.TimePosition = 0.3
				sound:Play()
				wait(0.5)
				script.Parent.BiteTaken:FireServer()
			end
		end)
	end
end)

eatingAnim.Stopped:Connect(function()
	script.Parent.AppleFinished:FireServer()
end)
--- Runs all pending auto exec commands in Registry.AutoExecBuffer


function Registry:FlushAutoExecBuffer()
	for _, commandGroup in ipairs(self.AutoExecBuffer) do
		for _, command in ipairs(commandGroup) do
			self.Cmdr.Dispatcher:EvaluateAndRun(command)
		end
	end
end

return function (cmdr)
	Registry.Cmdr = cmdr

	return Registry
end
--[[
		___      _______                _     
	   / _ |____/ ___/ /  ___ ____ ___ (_)__ 
	  / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
	 /_/ |_|   \___/_//_/\_,_/___/___/_/___/
 						SecondLogic @ Inspare
]]




local autoscaling	= false					--Estimates top speed

local UNITS	= {								--Click on speed to change units
											--First unit is default	
	{
		units			= "MPH"				,
		scaling			= (10/12) * (60/88)	, -- 1 stud : 10 inches | ft/s to MPH
		maxSpeed		= 160				,
		spInc			= 20				, -- Increment between labelled notches
	},
	
	{
		units			= "KM/H"			,
		scaling			= (10/12) * 1.09728	, -- 1 stud : 10 inches | ft/s to KP/H
		maxSpeed		= 260				,
		spInc			= 40				, -- Increment between labelled notches
	},
	
	{
		units			= "SPS"				,
		scaling			= 1					, -- Roblox standard
		maxSpeed		= 280				,
		spInc			= 40				, -- Increment between labelled notches
	}
}
--wait()


local creator = script.Parent:findFirstChild("creator")
local move = script.Parent:findFirstChild("Move")

local active = true

function tagHumanoid(humanoid, creator)
	if creator ~= nil then
		local new_tag = creator:clone()
		new_tag.Parent = humanoid
	end
end

function onPlayerBlownUp(part, distance, creator)
	if part.Name == "Head" then
		local humanoid = part.Parent.Humanoid
		tagHumanoid(humanoid, creator)
	end
end

function set_Off(hit)
	if active == true then
		active = false
		explosion = Instance.new("Explosion")
		explosion.BlastRadius = 25
		explosion.BlastPressure = 50000

		local creator = script.Parent:findFirstChild("creator")
		if creator ~= nil then
			explosion.Hit:connect(function(part, distance)  onPlayerBlownUp(part, distance, creator) end)
		end

		explosion.Position = script.Parent.Position
		explosion.Parent = game.Workspace
		wait()
		script.Parent:remove()
	end
end
script.Parent.Touched:connect(set_Off)

for i = 1,100 do
	wait()
	local desired = Instance.new("Vector3Value")
	desired.Value = script.Parent.CFrame.lookVector * 2100

	local difference = desired.Value - move.velocity

	if difference.magnitude >= move.velocity.magnitude then
		move.velocity = move.velocity + (difference*(0.01*i))
	end
end
------------------------------------------------------------------------	


	ltime = math.random(400,5000)
	print (ltime)
	for i=1,ltime do
	wait()
	local bewl = script.Parent:FindFirstChild("Bool")
	if bewl then
	local ignoreList = {}
	local ray = Ray.new(script.Parent.Part8.Position, missile.CFrame.lookVector * 999)
	local hit game.Workspace:FindPartOnRayWithIgnoreList(ray, ignoreList, false)
	local pos = script.Parent.Bool.Position
	local line = Instance.new("Part")
		line.Name = "Line"
		line.FormFactor = "Symmetric"
		line.Size = Vector3.new(1, 1, 1)
		line.BrickColor = BrickColor.new("White")
		line.Transparency = 0
		line.CanCollide = false
		line.Anchored = true
		line.Locked = true
		line.TopSurface, line.BottomSurface = 0, 0
		line.CFrame = CFrame.new(script.Parent.Part8.Position:lerp(pos, 0.5), pos)
		local mesh = Instance.new("BlockMesh", line)
		mesh.Scale = Vector3.new(0.03, 0.03, (script.Parent.Part8.Position - pos).magnitude)
		game.Debris:AddItem(line,0.08)
		line.Parent = script.Parent
		wait(0.001)

	else 
	print("No bool")
	break 
	end
	


	end
	
	local bewl = script.Parent:FindFirstChild("Bool")
	if bewl then
	bewl:Destroy()
	
	local character = script.Parent.Parent
	local player = game.Players:GetPlayerFromCharacter(character)
 	if player then
	script.Parent.Handle.Sound:Play()
	local ItemDirectory = game.ServerStorage.Assets.MobDrops.Fishing
	local FRAP = ItemDirectory:GetChildren()[math.random(1,#ItemDirectory:GetChildren())]:clone()
	FRAP.Parent = player.Backpack
	FRAP.Handle.CFrame =script.Parent.Handle.CFrame + Vector3.new(math.random(-5, 5), 3, math.random(-5, 5))
end
	end
--// bolekinds



if game.ServerStorage.ServerData.HasKeys.Value == true then
	workspace.Door:Destroy()
end

game.ServerStorage.ServerData.HasKeys.Changed:Connect(function()
	if game.ServerStorage.ServerData.HasKeys.Value == true then
		if workspace:FindFirstChild("Door") then
			
			workspace.Door:Destroy()
		end
	end
end)
--Make the part when touched enable the "ParticleEmitter" inside of it ad then disable it after 1 second


part.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		local emitter = part.ParticleEmitter
		emitter.Enabled = true
		wait(0.1)
		emitter.Enabled = false
	end
end)script.Parent.Transparency = 0
-- ANimation


local Sound = script:WaitForChild("Sound")
local Sound1 = script:WaitForChild("Sound1")
local Sound2 = script:WaitForChild("wind")

UIS.InputBegan:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 and Debounce == 1 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 2

		local Track1 = plr.Character.Humanoid:LoadAnimation(script.A1)
		Track1:Play()
		for i = 1,math.huge do
			if Debounce == 2 then


				
				plr.Character.HumanoidRootPart.Anchored = true

			
			else
				
				break
				end
			wait()
			
		end
		Track1:Stop()
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 and Debounce == 2 and Tool.Equip.Value == true and Tool.Active.Value == "None" then
		Debounce = 3
		local mousepos = Mouse.Hit
		local Track2 = plr.Character.Humanoid:LoadAnimation(script.A2)
		Track2:Play()
		
		
		wait(0)
		script.RemoteEvent:FireServer()
		Sound:Play()
		Sound1:Play()
		wait(3)
		Sound2:Play()
		wait(3)
		Sound2:Stop()
		
		wait()
		plr.Character.HumanoidRootPart.Anchored = false
		wait(.5)
		Tool.Active.Value = "None"
		wait(3)
		Sound:Stop()
		Debounce = 1
	end
end)
-- K is a tunable parameter that changes the shape of the S-curve
-- the larger K is the more straight/linear the curve gets


local k = 0.35
local lowerK = 0.8
local function SCurveTranform(t)
	t = math.clamp(t, -1, 1)
	if t >= 0 then
		return (k*t) / (k - t + 1)
	end
	return -((lowerK*-t) / (lowerK + t + 1))
end

local DEADZONE = 0.1
local function toSCurveSpace(t)
	return (1 + DEADZONE) * (2*math.abs(t) - 1) - DEADZONE
end

local function fromSCurveSpace(t)
	return t/2 + 0.5
end

function CameraUtils.GamepadLinearToCurve(thumbstickPosition)
	local function onAxis(axisValue)
		local sign = 1
		if axisValue < 0 then
			sign = -1
		end
		local point = fromSCurveSpace(SCurveTranform(toSCurveSpace(math.abs(axisValue))))
		point = point * sign
		return math.clamp(point, -1, 1)
	end
	return Vector2.new(onAxis(thumbstickPosition.x), onAxis(thumbstickPosition.y))
end
--[[~-Fixico-~]]

--
print("Fixico's Scripts")
local isOn = true

function on()
 isOn = true
 script.Parent.Transparency = 0 
 script.Parent.CanCollide = true 
end

function off()
 isOn = false
 script.Parent.Transparency = .5 
 script.Parent.CanCollide = true 
end

function onClicked()
 
 if isOn == true then off() else on() end

end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

on()
-- check if Camera is zoomed into first person


local function checkFirstPerson()
	toggleViewmodel(((Camera.Focus.Position - Camera.CFrame.Position).magnitude <= 1) and not Character:GetAttribute("Ragdoll"))
end

local function checkPlayerRunning()
	return Humanoid.MoveDirection.Magnitude > 0.1 and IncludeWalkSway and Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall and Humanoid:GetState() ~= Enum.HumanoidStateType.Landed
end
-- REMOTE HANDLER --


Replicate.OnClientEvent:Connect(function(Action,Hotkey, ...) -- Using ... Allows you to send as many variables as you want
	--print(Action)
	if script:FindFirstChild(Action) and script:FindFirstChild(Action):IsA("ModuleScript") then -- If the name of a ModuleScript inside this script fits the Action parameter,
		require(script[Action])(Hotkey,...) 						-- it'll require it
	elseif script:FindFirstChild(Action) and script:FindFirstChild(Action):IsA("Folder") then
		require(script[Action][Hotkey])(...) 
	end
end)
-- ROBLOX deviation: Makes urls clickable in the terminal. Not able to support
-- local terminalLink = require(Packages["terminal-link"])


local testResultModule = require(Packages.JestTestResult)
type TestResult = testResultModule.TestResult

local jestTypesModule = require(Packages.JestTypes)
type Config_GlobalConfig = jestTypesModule.Config_GlobalConfig
type Config_ProjectConfig = jestTypesModule.Config_ProjectConfig

local formatTime = require(Packages.JestUtil).formatTime

local utilsModule = require(CurrentModule.utils)
local formatTestPath = utilsModule.formatTestPath
local printDisplayName = utilsModule.printDisplayName
--end



if speed > 15 then
	--if carSeat.Steer ~= 0 then
	if FLP > (FRP) then
		if carSeat.Storage.FrontStiffness.Value*((1290)*(standard*((RollF+1)/10))) <  carSeat.Storage.FrontStiffness.Value*((1290)) then
			SFL.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
			SRL.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
			SFR.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
			SRR.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
		else
			SFR.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290)*(standard*((RollF+1)/10)))
			SRR.Stiffness = carSeat.Storage.RearStiffness.Value*((1290)*(standard*((RollR+1)/10)))
			SFL.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
			SRL.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
		end
		
	elseif FRP > (FLP) then
			if carSeat.Storage.FrontStiffness.Value*((1290)*(standard*((RollF+1)/10))) < carSeat.Storage.FrontStiffness.Value*((1290)) then
				SFL.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
				SRL.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
				SFR.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
				SRR.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
			else
				SFL.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290)*(standard*((RollF+1)/10)))
				SRL.Stiffness = carSeat.Storage.RearStiffness.Value*((1290)*(standard*((RollR+1)/10)))
				SFR.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
				SRR.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
			end
	end
	
	--else
		--SFL.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
		--SRL.Stiffness = carSeat.Storage.RearStiffness.Value*((1290))
		--SFR.Stiffness = carSeat.Storage.FrontStiffness.Value*((1290))
--local prolene = Functions.prolene
--local Compress = Functions.Compress
--local defib = Functions.defib
--local o2 = Functions.o2




local Compress_Multi = FunctionsMulti.Compress
local Bandage_Multi = FunctionsMulti.Bandage
local Splint_Multi = FunctionsMulti.Splint
local Epinephrine_Multi = FunctionsMulti.Epinephrine
local anesthetic_Multi = FunctionsMulti.anesthetic
local Morphine_Multi = FunctionsMulti.Morphine
local BloodBag_Multi = FunctionsMulti.BloodBag
local Tourniquet_Multi = FunctionsMulti.Tourniquet
local prolene_Multi = FunctionsMulti.prolene
local o2_Multi = FunctionsMulti.o2
local defib_Multi = FunctionsMulti.defib
local npa_Multi = FunctionsMulti.npa
local catheter_Multi = FunctionsMulti.catheter
local etube_Multi = FunctionsMulti.etube
local nylon_Multi = FunctionsMulti.nylon
local balloon_Multi = FunctionsMulti.balloon
local skit_Multi = FunctionsMulti.skit
local bvm_Multi = FunctionsMulti.bvm
local nrb_Multi = FunctionsMulti.nrb
local scalpel_Multi = FunctionsMulti.scalpel
local suction_Multi = FunctionsMulti.suction
local clamp_Multi = FunctionsMulti.clamp
local prolene5_Multi = FunctionsMulti.prolene5
local drawblood_Multi = FunctionsMulti.drawblood


local Algemar = Functions.Algemar
local Fome = Functions.Fome
local Stance = Evt.MedSys.Stance
local Collapse = Functions.Collapse
local rodeath = Functions.rodeath
local Reset = Functions.Reset
local TS = game:GetService("TweenService")




Bandage.OnServerEvent:Connect(function(player)


	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local Sangrando = Human.Parent.Saude.Stances.Sangrando
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Ferido = Human.Parent.Saude.Stances.Ferido
	local bbleeding = Human.Parent.Saude.Stances.bbleeding

	local Bandagens = Human.Parent.Saude.Kit.Bandagem

	if enabled.Value == false and Caido.Value == false  then
	
		if Bandagens.Value >= 1 and Sangrando.Value == true then 
		enabled.Value = true

		wait(.3)	
				
			
		local number = math.random(1, 2)
				
		if number == 1 then		
			Sangrando.Value = false
		end
				
		Bandagens.Value = Bandagens.Value - 1 
		
		
		wait(2)
		enabled.Value = false
	
		end	
	end	
end)