Highlight isn't working in Roblox / Roblox Studio

Hello community :wave:

I’m having a bug with the highlights in the game I’m working on. These are not shown, they are well configured but neither in roblox nor in roblox studio you can see anything (and it is not a problem of the model because in the main models with highlight is activated with the script below, they do work.)

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local stands = workspace.MAP.Stands:GetChildren()
local player = Players.LocalPlayer
local char = player.Character
local userId = player.UserId

RunService.Heartbeat:Connect(function()
	for _, stand in stands do	
		if stand.Proximity.Owner.Value == tostring(userId) then
			local distanceOfBooth = (char.PrimaryPart.Position - stand.Proximity.Position).Magnitude
				
			if distanceOfBooth < 10 then
				stand.Highlight.Enabled = true
			else
				stand.Highlight.Enabled = false
			end

		else
			stand.Highlight.Enabled = false
		end
	end
end)

highlight-props
highlight-instance
stand-photo

I hope you can help me :pray:

Hey @isaac010901, this may be the problem you’re facing right now…

And from what I just tested in studio, it seems like it’s still a thing!

2 Likes

Thank you very much! That was the problem (i think), ill have to create the highlight with scripts locally. Thanks dude :heart: !

1 Like

Yea, that was the problem, thank you bro :pray:

1 Like

No problem :smiley:

the mouse jumped over the moon to get 30

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.