Advertisement
Guest User

yba script

a guest
Aug 7th, 2023
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.79 KB | None | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2.  
  3. OrionLib:MakeNotification({
  4. Name = "Orion Example",
  5. Content = "Orion Example",
  6. Image = "rbxassetid://4483345998",
  7. Time = 5
  8. })
  9.  
  10.  
  11. local Window = OrionLib:MakeWindow({Name = "Orion Example", HidePremium = false, SaveConfig = true, ConfigFolder = "Orion"})
  12.  
  13. --Player Tab--
  14.  
  15. local PlayerTab = Window:MakeTab({
  16. Name = "Player",
  17. Icon = "rbxassetid://4483345998",
  18. PremiumOnly = false
  19. })
  20.  
  21. local PlayerSection = PlayerTab:AddSection({
  22. Name = "Player"
  23. })
  24.  
  25.  
  26. PlayerSection:AddButton({
  27. Name = "Invisible",
  28. Callback = function()
  29. local ScriptStarted = false
  30. local Keybind = "H" --Set to whatever you want, has to be the name of a KeyCode Enum.
  31. local Transparency = true --Will make you slightly transparent when you are invisible. No reason to disable.
  32. local NoClip = true --Will make your fake character no clip.
  33.  
  34. local Player = game:GetService("Players").LocalPlayer
  35. local RealCharacter = Player.Character or Player.CharacterAdded:Wait()
  36.  
  37. local IsInvisible = false
  38.  
  39. RealCharacter.Archivable = true
  40. local FakeCharacter = RealCharacter:Clone()
  41. local Part
  42. Part = Instance.new("Part", workspace)
  43. Part.Anchored = true
  44. Part.Size = Vector3.new(200, 1, 200)
  45. Part.CFrame = CFrame.new(999999999999999, -995, 999999999999999) --Set this to whatever you want, just far away from the map.
  46. Part.CanCollide = true
  47. FakeCharacter.Parent = workspace
  48. FakeCharacter.HumanoidRootPart.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  49.  
  50. for i, v in pairs(RealCharacter:GetChildren()) do
  51. if v:IsA("LocalScript") then
  52. local clone = v:Clone()
  53. clone.Disabled = true
  54. clone.Parent = FakeCharacter
  55. end
  56. end
  57. if Transparency then
  58. for i, v in pairs(FakeCharacter:GetDescendants()) do
  59. if v:IsA("BasePart") then
  60. v.Transparency = 0.7
  61. end
  62. end
  63. end
  64. local CanInvis = true
  65. function RealCharacterDied()
  66. CanInvis = false
  67. RealCharacter:Destroy()
  68. RealCharacter = Player.Character
  69. CanInvis = true
  70. isinvisible = false
  71. FakeCharacter:Destroy()
  72. workspace.CurrentCamera.CameraSubject = RealCharacter.Humanoid
  73.  
  74. RealCharacter.Archivable = true
  75. FakeCharacter = RealCharacter:Clone()
  76. Part:Destroy()
  77. Part = Instance.new("Part", workspace)
  78. Part.Anchored = true
  79. Part.Size = Vector3.new(200, 1, 200)
  80. Part.CFrame = CFrame.new(9999, 9999, 9999) --Set this to whatever you want, just far away from the map.
  81. Part.CanCollide = true
  82. FakeCharacter.Parent = workspace
  83. FakeCharacter.HumanoidRootPart.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  84.  
  85. for i, v in pairs(RealCharacter:GetChildren()) do
  86. if v:IsA("LocalScript") then
  87. local clone = v:Clone()
  88. clone.Disabled = true
  89. clone.Parent = FakeCharacter
  90. end
  91. end
  92. if Transparency then
  93. for i, v in pairs(FakeCharacter:GetDescendants()) do
  94. if v:IsA("BasePart") then
  95. v.Transparency = 0.7
  96. end
  97. end
  98. end
  99. RealCharacter.Humanoid.Died:Connect(function()
  100. RealCharacter:Destroy()
  101. FakeCharacter:Destroy()
  102. end)
  103. Player.CharacterAppearanceLoaded:Connect(RealCharacterDied)
  104. end
  105. RealCharacter.Humanoid.Died:Connect(function()
  106. RealCharacter:Destroy()
  107. FakeCharacter:Destroy()
  108. end)
  109. Player.CharacterAppearanceLoaded:Connect(RealCharacterDied)
  110. local PseudoAnchor
  111. game:GetService "RunService".RenderStepped:Connect(
  112. function()
  113. if PseudoAnchor ~= nil then
  114. PseudoAnchor.CFrame = Part.CFrame * CFrame.new(0, 5, 0)
  115. end
  116. if NoClip then
  117. FakeCharacter.Humanoid:ChangeState(11)
  118. end
  119. end
  120. )
  121.  
  122. PseudoAnchor = FakeCharacter.HumanoidRootPart
  123. local function Invisible()
  124. if IsInvisible == false then
  125. local StoredCF = RealCharacter.HumanoidRootPart.CFrame
  126. RealCharacter.HumanoidRootPart.CFrame = FakeCharacter.HumanoidRootPart.CFrame
  127. FakeCharacter.HumanoidRootPart.CFrame = StoredCF
  128. RealCharacter.Humanoid:UnequipTools()
  129. Player.Character = FakeCharacter
  130. workspace.CurrentCamera.CameraSubject = FakeCharacter.Humanoid
  131. PseudoAnchor = RealCharacter.HumanoidRootPart
  132. for i, v in pairs(FakeCharacter:GetChildren()) do
  133. if v:IsA("LocalScript") then
  134. v.Disabled = false
  135. end
  136. end
  137.  
  138. IsInvisible = true
  139. else
  140. local StoredCF = FakeCharacter.HumanoidRootPart.CFrame
  141. FakeCharacter.HumanoidRootPart.CFrame = RealCharacter.HumanoidRootPart.CFrame
  142.  
  143. RealCharacter.HumanoidRootPart.CFrame = StoredCF
  144.  
  145. FakeCharacter.Humanoid:UnequipTools()
  146. Player.Character = RealCharacter
  147. workspace.CurrentCamera.CameraSubject = RealCharacter.Humanoid
  148. PseudoAnchor = FakeCharacter.HumanoidRootPart
  149. for i, v in pairs(FakeCharacter:GetChildren()) do
  150. if v:IsA("LocalScript") then
  151. v.Disabled = true
  152. end
  153. end
  154. IsInvisible = false
  155. end
  156. end
  157.  
  158. game:GetService("UserInputService").InputBegan:Connect(
  159. function(key, gamep)
  160. if gamep then
  161. return
  162. end
  163. if key.KeyCode.Name:lower() == Keybind:lower() and CanInvis and RealCharacter and FakeCharacter then
  164. if RealCharacter:FindFirstChild("HumanoidRootPart") and FakeCharacter:FindFirstChild("HumanoidRootPart") then
  165. Invisible()
  166. end
  167. end
  168. end
  169. )
  170. local Sound = Instance.new("Sound",game:GetService("SoundService"))
  171. Sound.SoundId = "rbxassetid://232127604"
  172. Sound:Play()
  173. game:GetService("StarterGui"):SetCore("SendNotification",{["Title"] = "Invisible Toggle Loaded",["Text"] = "Press "..Keybind.." to become change visibility.",["Duration"] = 20,["Button1"] = "Okay."})
  174.  
  175. end
  176. })
  177.  
  178.  
  179. PlayerSection:AddButton({
  180. Name = "BitchBoyV3(NeededForInvis)!",
  181. Callback = function()
  182. loadstring(game:HttpGet("https://raw.githubusercontent.com/zakater5/LuaRepo/main/YBA/v3.lua"))()
  183. end
  184. })
  185.  
  186. PlayerSection:AddButton({
  187. Name = "Worthiness V",
  188. Callback = function()
  189. while true do wait()
  190. local args = {
  191. [1] = "LearnSkill",
  192. [2] = {
  193. ["Skill"] = "Worthiness V",
  194. ["SkillTreeType"] = "Character"
  195. }
  196. }
  197.  
  198. game:GetService("Players").LocalPlayer.Character.RemoteFunction:InvokeServer(unpack(args))
  199. end
  200. end
  201. })
  202.  
  203. PlayerSection:AddButton({
  204. Name = "Worthiness V + Rib Cage",
  205. Callback = function()
  206. local args = {
  207. [1] = "LearnSkill",
  208. [2] = {
  209. ["Skill"] = "Worthiness V",
  210. ["SkillTreeType"] = "Character"
  211. }
  212. }
  213.  
  214. game:GetService("Players").LocalPlayer.Character.RemoteFunction:InvokeServer(unpack(args))
  215.  
  216. local args = {
  217. [1] = "EndDialogue",
  218. [2] = {
  219. ["Option"] = "Option1",
  220. ["Dialogue"] = "Dialogue2",
  221. ["NPC"] = "Rib Cage of The Saint's Corpse"
  222. }
  223. }
  224.  
  225. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  226. end
  227. })
  228.  
  229. PlayerSection:AddButton({
  230. Name = "Requiem Arrow",
  231. Callback = function()
  232. local args = {
  233. [1] = "EndDialogue",
  234. [2] = {
  235. ["Option"] = "Option1",
  236. ["Dialogue"] = "Dialogue4",
  237. ["NPC"] = "Isabelle the Arrowsmith"
  238. }
  239. }
  240.  
  241. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  242. end
  243. })
  244.  
  245. PlayerSection:AddButton({
  246. Name = "Poison (Low Fps)",
  247. Callback = function()
  248. local Func = game.Players.LocalPlayer.Character.RemoteFunction
  249.  
  250. while true do
  251. Func:InvokeServer("Poison", {
  252. Duration = 999999,
  253. TotalDamage = 0.00001
  254. });
  255. end
  256. end
  257. })
  258.  
  259. PlayerSection:AddButton({
  260. Name = "Anti Vamp Burn",
  261. Callback = function()
  262. while true do wait()
  263. game:GetService("Workspace").Weather.Value = "no"
  264. end
  265. end
  266. })
  267.  
  268. PlayerSection:AddButton({
  269. Name = "Jesus Talk",
  270. Callback = function()
  271. local args = {
  272. [1] = "PromptTriggered",
  273. [2] = game:GetService("ReplicatedStorage").NewDialogue.Jesus
  274. }
  275.  
  276. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  277. end
  278. })
  279.  
  280. PlayerSection:AddButton({
  281. Name = "Halloween Event Talk",
  282. Callback = function()
  283. game:GetService("ReplicatedStorage").NewDialogue["Halloween Event"].Name = "Halloween"
  284. local args = {
  285. [1] = "PromptTriggered",
  286. [2] = game:GetService("ReplicatedStorage").NewDialogue.Halloween
  287. }
  288.  
  289. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  290. end
  291. })
  292.  
  293. PlayerSection:AddButton({
  294. Name = "Server Select",
  295. Callback = function()
  296. loadstring(game:HttpGet("https://www.scriptblox.com/raw/Server-Browser_80", true))();
  297. end
  298. })
  299.  
  300. PlayerSection:AddButton({
  301. Name = "Sell 1 item (take item)",
  302. Callback = function()
  303. local args = {
  304. [1] = "EndDialogue",
  305. [2] = {
  306. ["NPC"] = "Merchant",
  307. ["Option"] = "Option1",
  308. ["Dialogue"] = "Dialogue5"
  309. }
  310. }
  311.  
  312. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  313. end
  314. })
  315.  
  316. PlayerSection:AddButton({
  317. Name = "Sell all item (take item)",
  318. Callback = function()
  319. local args = {
  320. [1] = "EndDialogue",
  321. [2] = {
  322. ["NPC"] = "Merchant",
  323. ["Option"] = "Option2",
  324. ["Dialogue"] = "Dialogue5"
  325. }
  326. }
  327.  
  328. game:GetService("Players").LocalPlayer.Character.RemoteEvent:FireServer(unpack(args))
  329. end
  330. })
  331.  
  332. --Player Tab End--
  333.  
  334. --Settings Tab--
  335.  
  336. local SettingsTab = Window:MakeTab({
  337. Name = "Settings",
  338. Icon = "rbxassetid://4483345998",
  339. PremiumOnly = false
  340. })
  341.  
  342. local SettingsSection = SettingsTab:AddSection({
  343. Name = "Settings"
  344. })
  345.  
  346. SettingsSection:AddButton({
  347. Name = "Destroy UI",
  348. Callback = function()
  349. OrionLib:Destroy()
  350. end
  351. })
  352.  
  353. --Settings End--
  354.  
  355. OrionLib:Init() --UI Lib End
  356.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement