The ConeHandleAdornments are visibly brighter than the LineHandleAdornments, they both have the same AdornCullingMode, Color3, Transparency, AlwaysOnTop, ZIndex and Adornee
Expected behavior
Their lighting / colors should match up
I’m unsure if the other HandleAdornments are like this but please make their behavior universal
Still happens as of 13.11.2025 DebugRay.rbxl (60.6 KB)
Ray
--!native
--!strict
--!optimize 2
local Ray = {}
local Line = script:WaitForChild('Line')
local Green = Color3.new(0,1,0)
local Red = Color3.new(1,0,0)
export type Result = {
Origin:Vector3,
Direction:Vector3,
Position:Vector3,
Distance:number,
Normal:Vector3,
Instance:Instance?,
Material:Enum.Material?,
}
function Ray.Cast(Origin:Vector3,Direction:Vector3,RaycastParameters:RaycastParams):Result
local Result = workspace:Raycast(Origin,Direction,RaycastParameters)
return {
Origin = Origin,
Direction = Direction,
Position = Result and Result.Position or (Origin + Direction),
Distance = Result and Result.Distance or Direction.Magnitude,
Normal = Result and Result.Normal or Vector3.zero,
Instance = Result and Result.Instance or nil,
Material = Result and Result.Material or nil,
}
end
function Ray.Debug(RaycastResult:Result)
local cframe = CFrame.new(RaycastResult.Origin,RaycastResult.Origin+RaycastResult.Direction)
local Color = RaycastResult.Instance and Green or Red
local NewLine = Line:Clone()
NewLine.Color3 = Color
NewLine.Adornee = workspace.Terrain
NewLine.CFrame = cframe
NewLine.Length = RaycastResult.Distance
local Cone:ConeHandleAdornment = NewLine.Cone
Cone.Color3 = Color
Cone.Adornee = workspace.Terrain
Cone.CFrame = cframe
NewLine.Parent = workspace.Terrain
task.delay(5,NewLine.Destroy,NewLine)
end
return setmetatable(Ray,{__index = Ray})
LocalScript
local ContextActionService = game:GetService('ContextActionService')
local Ray = require(game.ReplicatedStorage.Ray)
local RaycastParameters = RaycastParams.new()
RaycastParameters.FilterType = Enum.RaycastFilterType.Exclude
RaycastParameters.FilterDescendantsInstances = {script.Parent}
local function Shoot(_,InputState:Enum.UserInputState)
if InputState ~= Enum.UserInputState.Begin then return end
local CurrentCamera = workspace.CurrentCamera
local RaycastResult = Ray.Cast(CurrentCamera.CFrame.Position,CurrentCamera.CFrame.LookVector*15000,RaycastParameters)
Ray.Debug(RaycastResult)
end
ContextActionService:BindAction('Shoot',Shoot,true,Enum.UserInputType.MouseButton1)
We have just deployed a fix here, the issue should no longer be occurring! Please check that everything is working on your end and let us know if you have any further questions. Thanks for the report.
In these images, all of these HandleAdornments are AlwaysOnTop=true and ZIndex >= 0.
The Outline BoxHandleAdornments are Transparency=0 and any other handle adornments like Cylinders or Spheres are Transparency=0.5.
I played around with a lot of the properties and nothing seemed to revert it other than changing the Color property directly (which isn’t very feasible when considering every game on the platform with existing HandleAdornments).
Let me know if I can provide any other information about this to you and also let me know if there’s a specific way to fix it. Thank you!
**Edit: This issue seems to happen on every HandleAdornment EXCEPT for LineHandleAdornments, which are accurately colored.
All of the following in the image below are set to be Color=(255, 127, 0), Transparency=0, AlwaysOnTop=true (or Shading=AlwaysOnTop depending on the available properties), and ZIndex=0. The LineHandleAdornment is the only one that is accurately colored to be (255, 127, 0).