SHARE
TWEET

Invisible + Visible

SkeletalScripts Oct 9th, 2019 (edited) 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----------------------------------------------
  2. -- (Invisible + Visible) By SkeletalScripts --
  3. -- Please don't steal This was hard to make --
  4. ----------------------------------------------
  5.  
  6. -- Instances:
  7.  
  8. local ScreenGui = Instance.new("ScreenGui")
  9. local Frame = Instance.new("Frame")
  10. local TextButton = Instance.new("TextButton")
  11. local TextButton_2 = Instance.new("TextButton")
  12.  
  13. --Properties:
  14.  
  15. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Frame.Position = UDim2.new(0, 0, 0.371191144, 0)
  21. Frame.Size = UDim2.new(0, 100, 0, 100)
  22.  
  23. TextButton.Parent = Frame
  24. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  25. TextButton.Size = UDim2.new(0, 200, 0, 100)
  26. TextButton.Font = Enum.Font.SourceSans
  27. TextButton.Text = "Invisible"
  28. TextButton.TextColor3 = Color3.new(0, 0, 0)
  29. TextButton.TextScaled = true
  30. TextButton.TextSize = 14
  31. TextButton.TextWrapped = true
  32.  
  33. TextButton_2.Parent = Frame
  34. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  35. TextButton_2.Position = UDim2.new(0, 0, 1, 0)
  36. TextButton_2.Size = UDim2.new(0, 200, 0, 100)
  37. TextButton_2.Font = Enum.Font.SourceSans
  38. TextButton_2.Text = "visible"
  39. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  40. TextButton_2.TextScaled = true
  41. TextButton_2.TextSize = 14
  42. TextButton_2.TextWrapped = true
  43.  
  44. -- Scripts:
  45.  
  46. local function GMMEW_fake_script() -- TextButton.LocalScript
  47.     local script = Instance.new('LocalScript', TextButton)
  48.  
  49.     script.Parent.MouseButton1Click:Connect(function()
  50.         local plr = game.Players.LocalPlayer.Character
  51.          local d = plr:GetChildren()
  52.          for i=1, #d do
  53.           if (d[i].className == "Accessory") then
  54.            d[i].Handle.Transparency = 1
  55.           end
  56.         end
  57.             if plr.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  58.                 plr.LeftUpperLeg.Transparency = 1
  59.                 plr.LeftLowerLeg.Transparency = 1
  60.                 plr.LeftFoot.Transparency = 1
  61.                 plr.RightUpperLeg.Transparency = 1
  62.                 plr.RightLowerLeg.Transparency = 1
  63.                 plr.RightFoot.Transparency = 1
  64.                 plr.RightUpperArm.Transparency = 1
  65.                 plr.RightLowerArm.Transparency = 1
  66.                 plr.RightHand.Transparency = 1
  67.                 plr.LeftUpperArm.Transparency = 1
  68.                 plr.LeftLowerArm.Transparency = 1
  69.                 plr.LeftHand.Transparency = 1
  70.                 plr.UpperTorso.Transparency = 1
  71.                 plr.LowerTorso.Transparency = 1
  72.                 plr.Head.Transparency = 1
  73.                 plr.Head.face.Transparency = 1
  74.             else
  75.                 if plr.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  76.                 plr.LeftLeg.Transparency = 1
  77.                 plr.RightLeg.Transparency = 1
  78.                 plr.RightArm.Transparency = 1
  79.                 plr.LeftArm.Transparency = 1
  80.                 plr.Torso.Transparency = 1
  81.                 plr.Head.Transparency = 1
  82.                 plr.Head.face.Transparency = 1
  83.             end
  84.         end
  85.     end)
  86. end
  87. coroutine.wrap(GMMEW_fake_script)()
  88. local function RUOI_fake_script() -- TextButton_2.LocalScript
  89.     local script = Instance.new('LocalScript', TextButton_2)
  90.  
  91.     script.Parent.MouseButton1Click:Connect(function()
  92.         local plr = game.Players.LocalPlayer.Character
  93.          local d = plr:GetChildren()
  94.          for i=1, #d do
  95.           if (d[i].className == "Accessory") then
  96.            d[i].Handle.Transparency = 0
  97.           end
  98.         end
  99.             if plr.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  100.                 plr.LeftUpperLeg.Transparency = 0
  101.                 plr.LeftLowerLeg.Transparency = 0
  102.                 plr.LeftFoot.Transparency = 0
  103.                 plr.RightUpperLeg.Transparency = 0
  104.                 plr.RightLowerLeg.Transparency = 0
  105.                 plr.RightFoot.Transparency = 0
  106.                 plr.RightUpperArm.Transparency = 0
  107.                 plr.RightLowerArm.Transparency = 0
  108.                 plr.RightHand.Transparency = 0
  109.                 plr.LeftUpperArm.Transparency = 0
  110.                 plr.LeftLowerArm.Transparency = 0
  111.                 plr.LeftHand.Transparency = 0
  112.                 plr.UpperTorso.Transparency = 0
  113.                 plr.LowerTorso.Transparency = 0
  114.                 plr.Head.Transparency = 0
  115.                 plr.Head.face.Transparency = 0
  116.             else
  117.                 if plr.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  118.                 plr.LeftLeg.Transparency = 0
  119.                 plr.RightLeg.Transparency = 0
  120.                 plr.RightArm.Transparency = 0
  121.                 plr.LeftArm.Transparency = 0
  122.                 plr.Torso.Transparency = 0
  123.                 plr.Head.Transparency = 0
  124.                 plr.Head.face.Transparency = 0
  125.             end
  126.         end
  127.     end)
  128. end
  129. coroutine.wrap(RUOI_fake_script)()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top