ER not really sure i wanna add each id for everyone wing
Ah my bad. I assumed something about gmatch in Roblox that doesnât seem to be the case. Try this:
local Player = game.Players.LocalPlayer
local character = Player.Character:GetChildren()
for _, object in ipairs(character) do
if object:IsA("BasePart") then
if string.lower(object.Name):gmatch("left")() == "left" then
object.Transparency = 0.9
end
end
end
I did this to test without wings. But just replace âBasePartâ with âAccessoryâ, âleftâ with âwingsâ and object.Tranparency with object.Handle.Transparency and test that out.
doesnt work still
local Player = game.Players.LocalPlayer
local character = Player.Character:GetChildren()
for _, object in ipairs(character) do
if object:IsA("Accessory") then
if string.lower(object.Name):gmatch("wings")() == "wings" then
object.Handle.Transparency = 0.9
end
end
end
```
I tested the code with player bodyparts, and they turned transparent, so Iâm pretty sure the code works on itâs own.
This might be a problem with where the code is executed, or perhaps in the model of the object itself (Some objects just wonât become transparent due to decals and other things on them, which requires different code to fix)
Would the code i put work? and my wings dont have any decal im able to manually change them transparent even