PhoenixPlayzYT

invisable script by Phoenix

May 12th, 2025
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. -- Invisibility Script by Phoenix
  2. print("Invisable script loaded by Phoenix")
  3.  
  4. -- Check the render pipeline version
  5. local renderPipelineVersion = game:GetService("ServerScriptService"):WaitForChild("RenderPipeline"):GetProperty("RenderPipelineVersion")
  6. local isR6 = renderPipelineVersion == "6"
  7.  
  8. -- Toggle transparency on the player's character
  9. local player = game.Players.LocalPlayer
  10. local character = player.Character or player.CharacterAdded:Wait()
  11. local meshParts = {}
  12.  
  13. for _, part in ipairs(character:GetDescendants()) do
  14. if part:IsA("BasePart") and not part:IsA("Humanoid") then
  15. table.insert(meshParts, part)
  16. end
  17. end
  18.  
  19. for _, part in ipairs(meshParts) do
  20. part.Transparency = isR6 and 1 or 0.8
  21. end
  22.  
  23. print("Invisibility enabled")
  24.  
Advertisement
Add Comment
Please, Sign In to add comment