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

How do I remove the toggle suit button/suit textures completely? [closed]

Asked by 5 years ago

So I have this spiderman script and when you insert it it turns you into spiderman. But I dont want the suit when it is inserted. And the toggle suit button.

This isn't the full script

if active then for i,v in pairs(plr.Character:GetChildren()) do if v:IsA('Accessory') then if v:FindFirstChildOfClass('Part') then if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh') then if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh').TextureId ~= "rbxassetid://454487924" then table.insert(hats,v:Clone()) end end end v:Destroy() elseif v:IsA('Shirt') then if v.ShirtTemplate ~= 'rbxassetid://616223451' then table.insert(hats,v:Clone()) end v:Destroy() elseif v:IsA('Pants') then if v.PantsTemplate ~= 'rbxassetid://616226602' then table.insert(hats,v:Clone()) end v:Destroy() end end local shirt = Instance.new('Shirt',plr.Character) shirt.ShirtTemplate = 'rbxassetid://616223451' local pants = Instance.new('Pants',plr.Character) pants.PantsTemplate = 'rbxassetid://616226602' local ac = Instance.new('Accessory',plr.Character) local pa = Instance.new('Part',ac) pa.Size = Vector3.new(1,1,1) local me = Instance.new('SpecialMesh',pa) me.MeshType = Enum.MeshType.FileMesh me.MeshId = 'rbxassetid://151354047' me.TextureId = 'rbxassetid://454487924' me.Scale = Vector3.new(1.26,1.26,1.26) local weld = Instance.new('Weld',pa) weld.Part0 = pa weld.Part1 = plr.Character.Head else for i,v in pairs(plr.Character:GetChildren()) do if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then v:Destroy() end end for i,v in pairs(hats) do v:Clone().Parent = chr end end end)

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?