Advertisement
Sombody101

Pet Sim X GUI

Jan 26th, 2022
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.49 KB | None | 0 0
  1. ---Credit src: Dino Hub
  2.  
  3.  
  4. -- loadstring(game:HttpGet"https://raw.githubusercontent.com/KuppaHX/Saza/main/SazaLoader.lua")()
  5. local SazaLoader = Instance.new("ScreenGui")
  6. local SazaMain = Instance.new("Frame")
  7. local SazaText = Instance.new("TextLabel")
  8. local LoaderText = Instance.new("TextLabel")
  9. local Outline = Instance.new("Frame")
  10. local MobileToggle = Instance.new("Frame")
  11. local MobileTitle = Instance.new("TextLabel")
  12. local MobileToggleButton = Instance.new("TextButton")
  13. local PCToggle = Instance.new("Frame")
  14. local PCTitle = Instance.new("TextLabel")
  15. local PCToggleButton = Instance.new("TextButton")
  16. local SazaSystem = Instance.new("TextLabel")
  17. local Outline1 = Instance.new("Frame")
  18. local LoadText = Instance.new("TextButton")
  19. local UICorner = Instance.new("UICorner")
  20. local TextLabel = Instance.new("TextLabel")
  21.  
  22. SazaLoader.Name = "SazaLoader"
  23. SazaLoader.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. SazaLoader.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. SazaMain.Name = "SazaMain"
  27. SazaMain.Parent = SazaLoader
  28. SazaMain.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  29. SazaMain.BorderColor3 = Color3.fromRGB(0, 255, 255)
  30. SazaMain.BorderSizePixel = 2
  31. SazaMain.Position = UDim2.new(0.345615327, 0, 0.329824567, 0)
  32. SazaMain.Size = UDim2.new(0, 395, 0, 224)
  33.  
  34. SazaText.Name = "SazaText"
  35. SazaText.Parent = SazaMain
  36. SazaText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. SazaText.BackgroundTransparency = 1.000
  38. SazaText.Position = UDim2.new(0.182278469, 0, -0.0625, 0)
  39. SazaText.Size = UDim2.new(0, 200, 0, 50)
  40. SazaText.Font = Enum.Font.GothamSemibold
  41. SazaText.Text = "Saza"
  42. SazaText.TextColor3 = Color3.fromRGB(180, 180, 180)
  43. SazaText.TextSize = 14.000
  44.  
  45. LoaderText.Name = "LoaderText"
  46. LoaderText.Parent = SazaMain
  47. LoaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. LoaderText.BackgroundTransparency = 1.000
  49. LoaderText.BorderSizePixel = 0
  50. LoaderText.Position = UDim2.new(0.296202511, 0, -0.0625, 0)
  51. LoaderText.Size = UDim2.new(0, 200, 0, 50)
  52. LoaderText.Font = Enum.Font.GothamBold
  53. LoaderText.Text = "Loader"
  54. LoaderText.TextColor3 = Color3.fromRGB(0, 255, 255)
  55. LoaderText.TextSize = 14.000
  56.  
  57. local LocalizationService = game:GetService("LocalizationService")
  58. local player = game.Players.LocalPlayer
  59.  
  60. local result, code = pcall(function()
  61.     return LocalizationService:GetCountryRegionForPlayerAsync(player)
  62. end)  
  63.  
  64. Outline.Name = "Outline"
  65. Outline.Parent = SazaMain
  66. Outline.BackgroundColor3 = Color3.fromRGB(0, 172, 172)
  67. Outline.Position = UDim2.new(0.0227848105, 0, 0.120535716, 0)
  68. Outline.Size = UDim2.new(0, 374, 0, 3)
  69.  
  70. MobileToggle.Name = "MobileToggle"
  71. MobileToggle.Parent = SazaMain
  72. MobileToggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  73. MobileToggle.BorderColor3 = Color3.fromRGB(0, 165, 165)
  74. MobileToggle.Position = UDim2.new(0.0405063257, 0, 0.334821433, 0)
  75. MobileToggle.Size = UDim2.new(0, 23, 0, 22)
  76.  
  77. MobileTitle.Name = "MobileTitle"
  78. MobileTitle.Parent = MobileToggle
  79. MobileTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. MobileTitle.BackgroundTransparency = 1.000
  81. MobileTitle.Position = UDim2.new(-1.2608695, 0, -0.636363626, 0)
  82. MobileTitle.Size = UDim2.new(0, 200, 0, 50)
  83. MobileTitle.Font = Enum.Font.GothamSemibold
  84. MobileTitle.Text = "Mobile"
  85. MobileTitle.TextColor3 = Color3.fromRGB(180, 180, 180)
  86. MobileTitle.TextSize = 25.000
  87.  
  88. MobileToggleButton.Name = "MobileToggleButton"
  89. MobileToggleButton.Parent = MobileToggle
  90. MobileToggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  91. MobileToggleButton.BackgroundTransparency = 0.800
  92. MobileToggleButton.Position = UDim2.new(-0.00247826055, 0, -0.0310000032, 0)
  93. MobileToggleButton.Size = UDim2.new(0, 23, 0, 22)
  94. MobileToggleButton.Font = Enum.Font.SourceSans
  95. MobileToggleButton.Text = ""
  96. MobileToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  97. MobileToggleButton.TextSize = 14.000
  98.  
  99. PCToggle.Name = "PCToggle"
  100. PCToggle.Parent = SazaMain
  101. PCToggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  102. PCToggle.BorderColor3 = Color3.fromRGB(0, 165, 165)
  103. PCToggle.Position = UDim2.new(0.0405063257, 0, 0.46875, 0)
  104. PCToggle.Size = UDim2.new(0, 23, 0, 22)
  105.  
  106. PCTitle.Name = "PCTitle"
  107. PCTitle.Parent = PCToggle
  108. PCTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  109. PCTitle.BackgroundTransparency = 1.000
  110. PCTitle.Position = UDim2.new(-2.30434823, 0, -0.636363626, 0)
  111. PCTitle.Size = UDim2.new(0, 200, 0, 50)
  112. PCTitle.Font = Enum.Font.GothamSemibold
  113. PCTitle.Text = "PC"
  114. PCTitle.TextColor3 = Color3.fromRGB(180, 180, 180)
  115. PCTitle.TextSize = 20.000
  116.  
  117. PCToggleButton.Name = "PCToggleButton"
  118. PCToggleButton.Parent = PCToggle
  119. PCToggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  120. PCToggleButton.BackgroundTransparency = 0.800
  121. PCToggleButton.Position = UDim2.new(-0.00247826055, 0, -0.0310000032, 0)
  122. PCToggleButton.Size = UDim2.new(0, 23, 0, 22)
  123. PCToggleButton.Font = Enum.Font.SourceSans
  124. PCToggleButton.Text = ""
  125. PCToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  126. PCToggleButton.TextSize = 14.000
  127.  
  128. SazaSystem.Name = "SazaSystem"
  129. SazaSystem.Parent = SazaMain
  130. SazaSystem.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  131. SazaSystem.BackgroundTransparency = 1.000
  132. SazaSystem.BorderColor3 = Color3.fromRGB(27, 42, 53)
  133. SazaSystem.Position = UDim2.new(0.301265836, 0, 0.566964269, 0)
  134. SazaSystem.Size = UDim2.new(0, 156, 0, 49)
  135. SazaSystem.Font = Enum.Font.GothamSemibold
  136. SazaSystem.Text = "SazaSystem: Thanks for use Saza Hub, Stay Safe!"
  137. SazaSystem.TextColor3 = Color3.fromRGB(180, 180, 180)
  138. SazaSystem.TextSize = 15.000
  139.  
  140. Outline1.Name = "Outline1"
  141. Outline1.Parent = SazaMain
  142. Outline1.BackgroundColor3 = Color3.fromRGB(0, 172, 172)
  143. Outline1.Position = UDim2.new(0.0253164563, 0, 0.611607075, 0)
  144. Outline1.Size = UDim2.new(0, 374, 0, 3)
  145.  
  146. LoadText.Name = "LoadText"
  147. LoadText.Parent = SazaMain
  148. LoadText.BackgroundColor3 = Color3.fromRGB(0, 200, 200)
  149. LoadText.Position = UDim2.new(0.182278484, 0, 0.75, 0)
  150. LoadText.Size = UDim2.new(0, 245, 0, 41)
  151. LoadText.Font = Enum.Font.GothamSemibold
  152. LoadText.Text = "Continue..."
  153. LoadText.TextColor3 = Color3.fromRGB(0, 0, 0)
  154. LoadText.TextSize = 14.000
  155.  
  156. UICorner.Parent = LoadText
  157.  
  158. TextLabel.Parent = SazaMain
  159. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  160. TextLabel.BackgroundTransparency = 1.000
  161. TextLabel.Position = UDim2.new(0.237974674, 0, 0.111607142, 0)
  162. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  163. TextLabel.Font = Enum.Font.GothamSemibold
  164. TextLabel.Text = "What device are you using? Choose 1"
  165. TextLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
  166. TextLabel.TextSize = 17.000
  167.    
  168. local pcsupported = false
  169. local mobilesupported = false
  170. local player = game.Players.LocalPlayer
  171. local TeleportService = game:GetService("TeleportService")
  172. PCToggleButton.MouseButton1Click:Connect(function()
  173.     if pcsupported then
  174.         game:GetService("TweenService"):Create(PCToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0.8}):Play()
  175.         pcsupported = false
  176.     else
  177.         game:GetService("TweenService"):Create(PCToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0}):Play()
  178.         pcsupported = true
  179.     end
  180. end)
  181. MobileToggleButton.MouseButton1Click:Connect(function()
  182.     if mobilesupported then
  183.         game:GetService("TweenService"):Create(MobileToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0.8}):Play()
  184.         mobilesupported = false
  185.     else
  186.         game:GetService("TweenService"):Create(MobileToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0}):Play()
  187.         mobilesupported = true
  188.     end
  189. end)
  190. LoadText.MouseButton1Click:Connect(function()
  191.     for _, sodi in pairs(SazaMain:GetChildren()) do
  192.         sodi:Destroy()
  193.     end
  194.     local LoadingTXT = Instance.new("TextLabel")
  195.     LoadingTXT.Name = "LoadingTXT"
  196.     LoadingTXT.Parent = SazaMain
  197.     LoadingTXT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  198.     LoadingTXT.BackgroundTransparency = 1.000
  199.     LoadingTXT.BorderSizePixel = 0
  200.     LoadingTXT.Position = UDim2.new(0.159999996, 0, 0.406666666, 0)
  201.     LoadingTXT.Size = UDim2.new(0.666666687, 0, 0.166666672, 0)
  202.     LoadingTXT.Font = Enum.Font.GothamSemibold
  203.     LoadingTXT.Text = "Loading..."
  204.     LoadingTXT.TextColor3 = Color3.fromRGB(180, 180, 180)
  205.     LoadingTXT.TextSize = 14.000
  206.     LoadingTXT.TextScaled = true
  207.     wait(1)
  208.     LoadingTXT.Text = "Getting Data..."
  209.     wait(1)
  210.     LoadingTXT.Text = "Hello " ..game.Players.LocalPlayer.DisplayName.. " From: ".. code
  211.     wait(1)
  212.     LoadingTXT.Text = "Game Support!"
  213.     wait(1)
  214.     if not game:GetService("UserInputService").TouchEnabled and not game:GetService("UserInputService").KeyboardEnabled == false then
  215.     LoadingTXT.Text = "Your Device is: PC"
  216.     else
  217.         LoadingTXT.Text = "Your Device is: Mobile"
  218.     end
  219.     wait(1)
  220.     if game.PlaceId == 6284583030 then
  221.     LoadingTXT.Text = "Pet Simulator X"
  222.     elseif game.PlaceId == 3102144307 then
  223.         LoadingTXT.Text = "Anime Clicker Simulator"
  224.     elseif game.PlaceId == 2753915549 or game.PlaceId == 4442272183 or game.PlaceId == 7449423635 then
  225.         LoadingTXT.Text = "Blox Fruits"
  226.     elseif game.PlaceId == 537413528 then
  227.     LoadingTXT.Text = "Build a Boat For Treasure"
  228.     elseif game.PlaceId == 286090429 then
  229.         LoadingTXT.Text = "Arsenal"
  230.     elseif game.PlaceId == 5303541547 then
  231.         LoadingTXT.Text = "Two Piece"
  232.    end
  233.  
  234. wait(1)
  235. if mobilesupported and game.PlaceId == 3102144307 or game.PlaceId == 2753915549 or game.PlaceId == 4442272183 or game.PlaceId == 7449423635 or game.PlaceId == 537413528 or game.PlaceId == 286090429 and not pcsupported then
  236.         LoadingTXT.Text = "Not Release yet"
  237.         wait(1)
  238.         SazaLoader:Destroy()
  239. end
  240. wait(1)
  241. if mobilesupported and game.PlaceId == 6284583030 and not pcsupported then
  242.     local decalsyeeted = true
  243.     local g = game
  244.     local w = g.Workspace
  245.     local l = g.Lighting
  246.     local t = w.Terrain
  247.     t.WaterWaveSize = 0
  248.     t.WaterWaveSpeed = 0
  249.     t.WaterReflectance = 0
  250.     t.WaterTransparency = 0
  251.     l.GlobalShadows = false
  252.     l.FogEnd = 9e9
  253.     l.Brightness = 0
  254.     game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.GUIs["Coin Rewards HUD"].Disabled = true
  255.     local a = game:GetService("Workspace")["__DEBRIS"]
  256.     local b = a:Clone()
  257.     b.Parent = a.Parent
  258.     a:Destroy()
  259.     for _,v in pairs(b:GetChildren()) do
  260.      if v.Name == 'RewardBillboard' then
  261.          v:Destroy()
  262.      end
  263.  end           
  264.     settings().Rendering.QualityLevel = "Level01"
  265.     for i,v in pairs(g:GetDescendants()) do
  266.         if v:IsA("Part") or v:IsA("Union") or v:IsA("MeshPart") then
  267.             v.Material = "Plastic"
  268.             v.Reflectance = 0
  269.         elseif v:IsA("Decal") and decalsyeeted then
  270.             v.Transparency = 1
  271.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  272.             v.Lifetime = NumberRange.new(0)
  273.         end
  274.     end
  275.     wait(1)
  276.     LoadingTXT.Text = "Thank for using Saza Hub"
  277.     wait(1)
  278.     SazaLoader:Destroy()
  279.     wait(1)
  280.     loadstring(game:HttpGet('https://raw.githubusercontent.com/KuppaHX/Saza/main/PSXSazaMobile.lua'))()
  281. elseif not mobilesupported and pcsupported then
  282.     wait(1)
  283.     LoadingTXT.Text = "Thank for using Saza Hub"
  284.     wait(1)
  285.     SazaLoader:Destroy()
  286.     wait(1)
  287.     local function Invite()
  288.         local req = syn.request or http_request or request or http.request or nil
  289.         if req ~= nil then
  290.           for port=6463, 6472, 1 do
  291.             local inv = "http://127.0.0.1:"..tostring(port).."/rpc?v=1"
  292.             local http = game:GetService("HttpService")
  293.             local t = {cmd = "INVITE_BROWSER", args = {["code"] = "jhnvcjge2h"}, nonce = string.lower(http:GenerateGUID(false))}
  294.             local post = http:JSONEncode(t)
  295.             req({Url = inv, Method = "POST", Body = post, Headers = {["Content-Type"] = "application/json", ["Origin"] = "https://discord.com"}})
  296.           end
  297.         end
  298.       end
  299.      
  300.       local discordinv = "https://discord.gg/jhnvcjge2h"
  301.       local d
  302.       local f = pcall(function()
  303.           d = game:HttpGet("https://raw.githubusercontent.com/KuppaHX/Saza/main/SazaSupportedGame/"..game.PlaceId..".lua")
  304.       end)
  305.       if f == true then
  306.           loadstring(d)()
  307.       else
  308.         game.Players.LocalPlayer:Kick("Probably the wrong game/place | Join Discord for feature list, link discord has copied. "..discordinv)
  309.         Invite()
  310.         setclipboard(discordinv)
  311.       end
  312.  
  313. elseif mobilesupported and pcsupported then
  314.     wait(1)
  315.     LoadingTXT.Text = "Bruhhhh You Cannot Choose 2 Device"
  316.     wait(1)
  317.     LoadingTXT.Text = "Execute Again"
  318.     wait(1)
  319.     SazaLoader:Destroy()
  320. end
  321. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement