Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Meshes Won't load properly how would I fix this?

Asked by 8 years ago

So I have a GUI that when you have a certain leaderstats value it will allow you to click on a button and it will equip your humanoid with armor. The only thing that seems to work are the green animation things. I have a lot of armor's with the Pink Mesh Circle but I don't know how I should load them onto the character. Here is the current script I use to equip armor.

Rebirths = script.Parent.Rebirths
mesh = script.Parent.MeshInHere:GetChildren()
script.Parent.MouseButton1Up:connect(function()
local play = script.Parent.Parent.Parent.Parent.Parent.Parent
if play.leaderstats.Rebirths.Value >= Rebirths.Value then
for i=1, #mesh do
mesh[i]:clone().Parent = play.Character
end
end
end)

My Description of how I want this to work was a bit hard to explain, if you need any more info or are confused on what I said feel free to ask!

0
What is the problem exactly? I'm also thinking you aren't using meshes correctly. Meltdown81 309 — 8y
0
Well when they click on the Equip armor button, nothing happens and no error messages are given. I probably am using meshes incorrectly so would you be able to tell me how they work correctly? Neodyne 0 — 8y

Answer this question