Decal Offset Only Working Within Studio But Not Live-Game

Hello, just a quick question I got!
Just wrote an eye mech script and it works fine within studio, but in live-game, it doesn’t seem to render correctly. I got a print that says the decal is moving with the offset, but I see no change on the decal.

(Image of console showing the decals are being process, but not moving within the game)

Here’s the script:

local MainFrame = GUIMain:WaitForChild("MainFrame")
local knob = MainFrame.EyeControl.EyeMain.Knob
local Pulpil = Engine.Pupils


knob:GetPropertyChangedSignal("Position"):Connect(function()

local Xknoblocation = knob.Position.X.Offset / -500
local Yknoblocation = knob.Position.Y.Offset / -500

Pulpil.UVOffset = Vector2.new(Xknoblocation, Yknoblocation)
	print("Pupils", Xknoblocation, Yknoblocation)

end)

Is this a ROBLOX Rendering issue OR am I just missing something. PLEASE let me know if there’s any alternative methods I could use…

Cheers, Ruben

Noticed I was printing the knob’s Location …oops…

Here’s the print now with the Pupil X & Y Location

I may be wrong, but I’m pretty sure Decals don’t support UVOffset pretty sure only textures do. Here is another recent forum talking about it.

1 Like

Decals do support it!

Like I said, worked fine in studio but when actually playing the game on the ROBLOX client, It doesn’t work.

Interesting, since when did decals support this offset?

Decal Offset/Scale and Decal/Texture PBR are part of the Avatar Makeup studio beta. They aren’t actually released and as such only work with the beta enabled in studio.

1 Like

This must be new and if so do you have all that turned on.