|
| 08 Aug 2016 04:37 PM |
Everything else turns invisible except for my hats.. Why?
script.Parent.Activated:connect(function() script.Parent.Handle.Cloak:Play() script.Parent.Handle.Transparency = 0.98 script.Parent.Parent.Torso.Transparency = 0.98 script.Parent.Parent.Head.Transparency = 1 script.Parent.Parent.Head.face.Transparency = 0.98 script.Parent.Parent["Left Arm"].Transparency = 0.98 script.Parent.Parent["Right Arm"].Transparency = 0.98 script.Parent.Parent["Left Leg"].Transparency = 0.98 script.Parent.Parent["Right Leg"].Transparency = 0.98 for i=1, #character do if (character[i].className == "Hat") then character[i].Transparency = 0.98 end end end)
make it fluffy or i poke you c: |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 04:37 PM |
Hat.Handle.Transparency = 1
or remove it |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Aug 2016 04:42 PM |
--Dat old FM script doe..
--Here is a total remake of that FM code. xD sp = script.Parent
sp.Activated:connect(function() local parts = {} local function gp(input) for i,v in pairs(input:GetChildren()) do if v:IsA'BasePart' then table.insert(parts, v) end if #v:GetChildren() > 1 then gp(v) end end end gp(sp) for i,v in pairs(parts) do spawn(function() for i = 0.1, 1 do v.Transparency = i end end) end end) |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
|
| 08 Aug 2016 04:43 PM |
sp = script.Parent
sp.Activated:connect(function() local parts = {} local function gp(input) for i,v in pairs(input:GetChildren()) do if v:IsA'BasePart' then table.insert(parts, v) end if #v:GetChildren() > 1 then gp(v) end end end gp(sp) for i,v in pairs(parts) do if not v.Name == 'HumanoidRootPart' then--This too. xD spawn(function() for i = 0.1, 1 do v.Transparency = i wait(0.1)--Forgot the wait for a nice effect. :P end end) end end end) |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 04:54 PM |
| uh... Could you simplify that? im not the best at scripting, 4.5/10 |
|
|
| Report Abuse |
|
|
Auracyte
|
  |
| Joined: 01 Feb 2011 |
| Total Posts: 330 |
|
|
| 08 Aug 2016 04:59 PM |
| You can literally copy and paste that mate. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 05:13 PM |
i mean simplify the script so i can edit it, it also doesn't work.
make it fluffy or i poke you c: |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 05:16 PM |
function transp(all)
for _,v in pairs(all:getChildren()) --for each in all's children
if v:IsA("BasePart") then v.Transparency = 0.99 end
if #v:GetChildren() > 0 then transp(v) --check this part end end
end
tranps(character) |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 05:21 PM |
oh i figured out an alternate method.. thanx anyways tho..
make it fluffy or i poke you c: |
|
|
| Report Abuse |
|
|