That’s actually sick dude! Nice to know I’m not the only one who creates things inspired from Apex Legends lol.
I actually replicated Bloodhound’s tactical ability using this; the Eye of the Allfather. That thing that momentarily reveals the location of nearby players at the time of the use.
That’s what I was going to do next but I guess you beat me to that one
We’ve included a release page with a precompiled RBXM file and Roblox Marketplace Asset link for those who had issues compiling this code themselves with rojo or would rather code inside of Roblox Studio.
uhh is this still up to date? I haven’t been able to get it working-
This should still work I would recommend downloading the rbxm from the releases page and trying it out with the example code in the first post
Sorry for disturbing you, but is it possible to have an x-ray outline, kind of like in hitman 3?
A bit like this
Oh, perfect! Thanks for helping me out.
Thank you for your contribution to the community! I will use in my projects.
Would this work on people? For example say Im making a team-based game and want it so you can see your teammates through walls. Would I be able to do this?
Hi, sorry. I can’t figure out :removeFromStack(), for some reason this function doesn’t work at me. You can help me?
My script:
local myCustomRenderImpl = (function()
return function()
return {
onRender = function(_, worldPart, viewportPart, highlight)
viewportPart.CFrame = worldPart.CFrame
viewportPart.Color = highlight.color
end,
}
end
end)()
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local ObjectHighlighter = require(ReplicatedStorage:WaitForChild("Modules"):WaitForChild("ObjectHighlighter"))
local myScreenGui = script.Parent
local myRenderer = ObjectHighlighter.createRenderer(myScreenGui):withRenderImpl(myCustomRenderImpl)
ReplicatedStorage.Remote.Events.Highlighter.OnClientEvent:Connect(function(Object,Action)
local myHighlight = ObjectHighlighter.createFromTarget(Object)
myHighlight.color = Color3.fromRGB(255, 234, 0)
local function Add()
myRenderer:addToStack(myHighlight)
end
local function Remove()
myRenderer:removeFromStack(myHighlight)
end
if Action == "Add" then
Add()
elseif Action == "Remove" then
Remove()
end
end)
RunService.RenderStepped:Connect(function(dt)
myRenderer:step(dt)
end)
This is no longer required, as Roblox released the Highlight object for this purpose some time ago.
Highlight is still disabled, there’s no promise if it’ll be out soon.
I know, but chances are it’ll be out soon.
Hello! Firstly, i’d like to say this is an amazing module! However, i can’t find of how to get rid of all active highlights, could you please inform me how (if there is a way)
where’s the link to the module?
For some reason, they’ve been teasing it for months. It doesn’t seem like they want to release it, even though the feature is fully functional when you activate the FFlag.
I tried getting the module to highlight all of the models in the workspace except for the players. the script skips the for loop.