if script.Parent:IsA("\086\101\104\105\099\108\101\083\101\097\116")then script.Parent.ChildAdded:connect(function(d)if d:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(d.Part1.Parent)~=nil then local y=game.Players:GetPlayerFromCharacter(d.Part1.Parent)local I=script.SendRgb:Clone()I.Parent=y.PlayerGui I.src.Value=script.RgbEvent I.Disabled=false end end)script.Parent.ChildRemoved:Connect(function(d)if d:IsA("\087\101\108\100")and game.Players:GetPlayerFromCharacter(d.Part1.Parent)~=nil then local y=(game.Players:GetPlayerFromCharacter(d.Part1.Parent)).PlayerGui.SendRgb:Destroy()end end)end script.RgbEvent.OnServerEvent:Connect(function(d)local y=script.Parent.Parent.Body if y:FindFirstChild("\076\105\103\104\116\080\097\114\116")then local d=y:FindFirstChild("\076\105\103\104\116\080\097\114\116")if d.PointLight.Enabled==false then d.PointLight.Enabled=true else d.PointLight.Enabled=false end end end)
--How to do:
--Put BassParts in body
--And this script in DriverSeat
--Please make sure to have the songMod installed!

if script.Parent:IsA("VehicleSeat") then
	script.Parent.ChildAdded:connect(function(child)
		if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent) ~= nil then
			local p = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
			local g = script.SendRgb:Clone()
			g.Parent = p.PlayerGui
			g.src.Value = script.RgbEvent
			g.Disabled = false
		end
	end)
	script.Parent.ChildRemoved:Connect(function(child)
		if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent) ~= nil then
			local p = game.Players:GetPlayerFromCharacter(child.Part1.Parent).PlayerGui.SendRgb:Destroy()
		end
	end)
end

script.RgbEvent.OnServerEvent:Connect(function(plr)
	local body = script.Parent.Parent.Body
	if body:FindFirstChild("LightPart") then
		local lightPart = body:FindFirstChild("LightPart")
		if lightPart.PointLight.Enabled == false then
			lightPart.PointLight.Enabled = true
		else
			lightPart.PointLight.Enabled = false
		end
	end
end)
