Advertisement
novicescripter

trolling gui v1

Jun 11th, 2024 (edited)
35,174
-2
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 2
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local Window = OrionLib:MakeWindow({Name = "Trolling GUI V1", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  3. local Tab = Window:MakeTab({
  4. Name = "Invis/IY",
  5. Icon = "rbxassetid://4483345998",
  6. PremiumOnly = false
  7. })
  8. OrionLib:MakeNotification({
  9. Name = "Injected...",
  10. Content = "",
  11. Image = "rbxassetid://4483345998",
  12. Time = 5
  13. })
  14. Tab:AddToggle({
  15. Name = "Iy",
  16. Default = false,
  17. Callback = function(Value)
  18. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  19. end
  20. })
  21. Tab:AddToggle({
  22. Name = "Invis",
  23. Default = false,
  24. Callback = function(Value)
  25. -- Roblox Invisibility Toggle Script
  26.  
  27. -- Also by the way, if you press "E" on your keyboard, You will become invisible to other players, but on your screen, you will still be able to see yourself to make it easier.
  28.  
  29.  
  30. --Settings:
  31. local ScriptStarted = false
  32. local Keybind = "E" --Set to whatever you want, has to be the name of a KeyCode Enum.
  33. local Transparency = true --Will make you slightly transparent when you are invisible. No reason to disable.
  34. local NoClip = false --Will make your fake character no clip.
  35.  
  36. local Player = game:GetService("Players").LocalPlayer
  37. local RealCharacter = Player.Character or Player.CharacterAdded:Wait()
  38.  
  39. local IsInvisible = false
  40.  
  41. RealCharacter.Archivable = true
  42. local FakeCharacter = RealCharacter:Clone()
  43. local Part
  44. Part = Instance.new("Part", workspace)
  45. Part.Anchored = true
  46. Part.Size = Vector3.new(200, 1, 200)
  47. Part.CFrame = CFrame.new(0, -500, 0) --Set this to whatever you want, just far away from the map.
  48. Part.CanCollide = true
  49. FakeCharacter.Parent = workspace
  50. FakeCharacter.HumanoidRootPart.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  51.  
  52. for i, v in pairs(RealCharacter:GetChildren()) do
  53. if v:IsA("LocalScript") then
  54. local clone = v:Clone()
  55. clone.Disabled = true
  56. clone.Parent = FakeCharacter
  57. end
  58. end
  59. if Transparency then
  60. for i, v in pairs(FakeCharacter:GetDescendants()) do
  61. if v:IsA("BasePart") then
  62. v.Transparency = 0.7
  63. end
  64. end
  65. end
  66. local CanInvis = true
  67. function RealCharacterDied()
  68. CanInvis = false
  69. RealCharacter:Destroy()
  70. RealCharacter = Player.Character
  71. CanInvis = true
  72. isinvisible = false
  73. FakeCharacter:Destroy()
  74. workspace.CurrentCamera.CameraSubject = RealCharacter.Humanoid
  75.  
  76. RealCharacter.Archivable = true
  77. FakeCharacter = RealCharacter:Clone()
  78. Part:Destroy()
  79. Part = Instance.new("Part", workspace)
  80. Part.Anchored = true
  81. Part.Size = Vector3.new(200, 1, 200)
  82. Part.CFrame = CFrame.new(9999, 9999, 9999) --Set this to whatever you want, just far away from the map.
  83. Part.CanCollide = true
  84. FakeCharacter.Parent = workspace
  85. FakeCharacter.HumanoidRootPart.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  86.  
  87. for i, v in pairs(RealCharacter:GetChildren()) do
  88. if v:IsA("LocalScript") then
  89. local clone = v:Clone()
  90. clone.Disabled = true
  91. clone.Parent = FakeCharacter
  92. end
  93. end
  94. if Transparency then
  95. for i, v in pairs(FakeCharacter:GetDescendants()) do
  96. if v:IsA("BasePart") then
  97. v.Transparency = 0.7
  98. end
  99. end
  100. end
  101. RealCharacter.Humanoid.Died:Connect(function()
  102. RealCharacter:Destroy()
  103. FakeCharacter:Destroy()
  104. end)
  105. Player.CharacterAppearanceLoaded:Connect(RealCharacterDied)
  106. end
  107. RealCharacter.Humanoid.Died:Connect(function()
  108. RealCharacter:Destroy()
  109. FakeCharacter:Destroy()
  110. end)
  111. Player.CharacterAppearanceLoaded:Connect(RealCharacterDied)
  112. local PseudoAnchor
  113. game:GetService "RunService".RenderStepped:Connect(
  114. function()
  115. if PseudoAnchor ~= nil then
  116. PseudoAnchor.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  117. end
  118. if NoClip then
  119. FakeCharacter.Humanoid:ChangeState(11)
  120. end
  121. end
  122. )
  123.  
  124. PseudoAnchor = FakeCharacter.HumanoidRootPart
  125. local function Invisible()
  126. if IsInvisible == false then
  127. local StoredCF = RealCharacter.HumanoidRootPart.CFrame
  128. RealCharacter.HumanoidRootPart.CFrame = FakeCharacter.HumanoidRootPart.CFrame
  129. FakeCharacter.HumanoidRootPart.CFrame = StoredCF
  130. RealCharacter.Humanoid:UnequipTools()
  131. Player.Character = FakeCharacter
  132. workspace.CurrentCamera.CameraSubject = FakeCharacter.Humanoid
  133. PseudoAnchor = RealCharacter.HumanoidRootPart
  134. for i, v in pairs(FakeCharacter:GetChildren()) do
  135. if v:IsA("LocalScript") then
  136. v.Disabled = false
  137. end
  138. end
  139.  
  140. IsInvisible = true
  141. else
  142. local StoredCF = FakeCharacter.HumanoidRootPart.CFrame
  143. FakeCharacter.HumanoidRootPart.CFrame = RealCharacter.HumanoidRootPart.CFrame
  144.  
  145. RealCharacter.HumanoidRootPart.CFrame = StoredCF
  146.  
  147. FakeCharacter.Humanoid:UnequipTools()
  148. Player.Character = RealCharacter
  149. workspace.CurrentCamera.CameraSubject = RealCharacter.Humanoid
  150. PseudoAnchor = FakeCharacter.HumanoidRootPart
  151. for i, v in pairs(FakeCharacter:GetChildren()) do
  152. if v:IsA("LocalScript") then
  153. v.Disabled = true
  154. end
  155. end
  156. IsInvisible = false
  157. end
  158. end
  159.  
  160. game:GetService("UserInputService").InputBegan:Connect(
  161. function(key, gamep)
  162. if gamep then
  163. return
  164. end
  165. if key.KeyCode.Name:lower() == Keybind:lower() and CanInvis and RealCharacter and FakeCharacter then
  166. if RealCharacter:FindFirstChild("HumanoidRootPart") and FakeCharacter:FindFirstChild("HumanoidRootPart") then
  167. Invisible()
  168. end
  169. end
  170. end
  171. )
  172. local Sound = Instance.new("Sound",game:GetService("SoundService"))
  173. Sound.SoundId = "rbxassetid://232127604"
  174. Sound:Play()
  175. game:GetService("StarterGui"):SetCore("SendNotification",{["Title"] = "Invisible Toggle Loaded",["Text"] = "Press "..Keybind.." to become change visibility.",["Duration"] = 20,["Button1"] = "Okay."})
  176. end
  177. })
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement