You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Change MeshId from another MeshId -
What is the issue? Include screenshots / videos if possible!
The current thread cannot write ‘MeshId’ (lacking capability NotAccessible) -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Devfourms and other community code / youtube
Code:
for i, b in pairs(PowerUpMainFrameUI.BackgroundImages:GetChildren()) do
if b:FindFirstChild("MeshPart") then
if effects.PowerUps:FindFirstChild(ability.Value) then
warn("Ability Value")
local newMeshPart = Instance.new("MeshPart")
newMeshPart.MeshId = effects.PowerUps:FindFirstChild(ability.Value)
newMeshPart.Parent = b.MeshPart
--b.M
else
warn("No Ability Value")
end
end
end
