of     1   

EternalSouI
#163890684Saturday, June 06, 2015 10:56 PM GMT

local plr = game.Players.LocalPlayer local m = plr:GetMouse() m.KeyDown:connect(function(key) if plr.Name == "EternalSouI" and key == "x" then function invisible() isVisible = false invisibleChar = Tool.Parent setTrans(1, Tool.Parent) face = Tool.Parent.Head.face:clone() shirt = Tool.Parent.Torso.roblox:clone() Tool.Parent.Head.face.Parent = nil Tool.Parent.Torso.roblox.Parent = nil pants = nil fullshirt = nil local childs = invisibleChar:GetChildren() for i=1,#childs do if (childs[i].className == "Pants") then pants = childs[i] pants.Parent = nil end if (childs[i].className == "Shirt") then fullshirt = childs[i] fullshirt.Parent = nil end end end I'm trying to make it that only one player can use this keydown which I already did but the invisibility won't work. I'm just asking for some help and not asking for you to make the model for me. You can though.
EternalSouI
#163891886Saturday, June 06, 2015 11:12 PM GMT

bump
KEVEKEV77
#163892563Saturday, June 06, 2015 11:20 PM GMT

u forgot to call invisible local plr = game.Players.LocalPlayer local m = plr:GetMouse() m.KeyDown:connect(function(key) if plr.Name == "EternalSouI" and key == "x" then function invisible() isVisible = false invisibleChar = Tool.Parent setTrans(1, Tool.Parent) face = Tool.Parent.Head.face:clone() shirt = Tool.Parent.Torso.roblox:clone() Tool.Parent.Head.face.Parent = nil Tool.Parent.Torso.roblox.Parent = nil pants = nil fullshirt = nil local childs = invisibleChar:GetChildren() for i=1,#childs do if (childs[i].className == "Pants") then pants = childs[i] pants.Parent = nil end if (childs[i].className == "Shirt") then fullshirt = childs[i] fullshirt.Parent = nil end end invisible() end
EternalSouI
#163893031Saturday, June 06, 2015 11:26 PM GMT

local plr = game.Players.LocalPlayer local m = plr:GetMouse() m.KeyDown:connect(function(key) if plr.Name == "EternalSouI" and key == "x" then function invisible() isVisible = false invisibleChar = Tool.Parent setTrans(1, Tool.Parent) face = Tool.Parent.Head.face:clone() shirt = Tool.Parent.Torso.roblox:clone() Tool.Parent.Head.face.Parent = nil Tool.Parent.Torso.roblox.Parent = nil pants = nil fullshirt = nil local childs = invisibleChar:GetChildren() for i=1,#childs do if (childs[i].className == "Pants") then pants = childs[i] pants.Parent = nil end if (childs[i].className == "Shirt") then fullshirt = childs[i] fullshirt.Parent = nil end end invisible() end Exactly what I typed in. I didn't go invisible either.
championbuilder
#163897984Sunday, June 07, 2015 12:32 AM GMT

I made a very messy script, but it makes you completely invisible, and saves everything from your character. "x" turns you invisible. "z" turns you visible. Put it inside a LocalScript inside StarterGui. repeat wait() until game.Players.LocalPlayer.Character plr = game.Players.LocalPlayer m = plr:GetMouse() canuse = "Player" faceid = "" hat = 1 visible = true m.KeyDown:connect(function(key) --Turn Invisible if key == "x" and plr.Name == canuse then hat = 1 for _,v in pairs(plr.Character:GetChildren()) do if v:IsA("BasePart") and visible then v.Transparency = 1 --Save face texture if v:findFirstChild("face") then faceid = v.face.Texture; v.face:Destroy() end elseif v:IsA("Hat") then --Save hats if game.ReplicatedStorage:findFirstChild(plr.Name) then v.Parent = game.ReplicatedStorage[plr.Name] else local f = Instance.new("Folder",game.ReplicatedStorage) f.Name = plr.Name end end end visible = false --Turn Visible elseif key == "z" and plr.Name == canuse then if visible == false then --Restore character for _,v in pairs(plr.Character:GetChildren()) do if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then v.Transparency = 0 end end local f = Instance.new("Decal",plr.Character.Head); f.Name = "face"; f.Texture = faceid for _,v in pairs(game.ReplicatedStorage[plr.Name]:GetChildren()) do v.Parent = plr.Character end end visible = true end end)
EternalSouI
#163902194Sunday, June 07, 2015 1:31 AM GMT

I'm about to use it but what do you mean "saves everything"?
championbuilder
#163902397Sunday, June 07, 2015 1:34 AM GMT

i just realised now u dont need to remove hats lol.
EternalSouI
#163911781Sunday, June 07, 2015 3:37 AM GMT

Thanks for helping me make the script! I owe you one.
Laakari
#163911883Sunday, June 07, 2015 3:39 AM GMT

USER INPUT SERVICE

    of     1