of     1   

battleknight2000
#149914593Monday, November 17, 2014 12:36 AM GMT

I made a GUI that makes you invisible and inserted and wrote a script. When I click the button it does nothing. Here is the script below: _________________________________________________________________________________ local player = script.Parent.Parent.Parent.Parent function onMouseClicked() if player.Character ~= nil then if player.Character:findFirstChild("Humanoid") then function onMouseClicked() player.Character.Humanoid.Transparency = 1 wait(10) player.Character.Humanoid.Transparency = 0 end end end end script.Parent.MouseButton1Down:connect(onMouseClicked) _________________________________________________________________________________ It gives no output so that's all I can give you. If anyone knows what is wrong with it please tell me and post your correction. Your help Is greatly appreciated! If I don't thank you right away it's because I couldn't check on this for some reason so thanks to all who would help me! :D
jhend27513
#149915828Monday, November 17, 2014 12:52 AM GMT

local player = game.Players.LocalPlayer Try that
lordrambo
#149916011Monday, November 17, 2014 12:54 AM GMT

This really doesn't give you any output? player.Character.Humanoid.Transparency = 1 There is no transparency property of humanoid.
LegendaryAccount
#149917825Monday, November 17, 2014 1:17 AM GMT

local player = script.Parent.Parent.Parent.Parent function onMouseClicked() player.Character["Left Arm"].Transparency = 1 player.Character["Left Leg"].Transparency = 1 player.Character["Right Arm"].Transparency = 1 player.Character["Right Leg"].Transparency = 1 player.Character.Head.Transparency = 1 player.Character.Torso.Transparency = 1 for i,v in pairs(player.Character:GetChildren()) do if v.ClassName == "Hat" then v.Handle.Transparency = 1 end end wait(10) player.Character["Left Arm"].Transparency = 0 player.Character["Left Leg"].Transparency = 0 player.Character["Right Arm"].Transparency = 0 player.Character["Right Leg"].Transparency = 0 player.Character.Head.Transparency = 0 player.Character.Torso.Transparency = 0 for i,v in pairs(player.Character:GetChildren()) do if v.ClassName == "Hat" then v.Handle.Transparency = 0 end end end script.Parent.MouseButton1Down:connect(onMouseClicked) most of the stuff is not needed when a player clicks there will always be a character and a humanoid humanoid does not have a transparency property you do not need 2 functions like how you did it
LegendaryAccount
#149917891Monday, November 17, 2014 1:18 AM GMT

roblox does not allow you to change your face transparency, it sets it back to 0
battleknight2000
#149949836Monday, November 17, 2014 5:56 PM GMT

Thank you for your help I greatly appreciate your contribution it works just as I wanted now. Thanks again!
anaIyze
#149951257Monday, November 17, 2014 6:42 PM GMT

'roblox does not allow you to change your face transparency, it sets it back to 0' yes they do

    of     1