local DecalsFolder = script --Change this to your decals folder
local ChangeDecal = script.Parent:WaitForChild("Decal") -- Change this to your decal that gonna be changed
local ClickDetector = script.Parent:WaitForChild("ClickDetector") -- Changed this to your click detector
local MaxDecals = #DecalsFolder:GetChildren()
local CurrentDecal = 0
ClickDetector.MouseClick:Connect(function(Player)
CurrentDecal = CurrentDecal + 1
if CurrentDecal > MaxDecals then
CurrentDecal = 1
end
ChangeDecal.Texture = script:GetChildren()[CurrentDecal].Texture
end)