Advertisement
Guest User

Solara Hub

a guest
Jul 2nd, 2024
4,538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.88 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Solara Hub",
  5. LoadingTitle = "Solara Best Scripts",
  6. LoadingSubtitle = "by .ozaimod",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = nil, -- Create a custom folder for your hub/game
  10. FileName = "Big Hub"
  11. },
  12. Discord = {
  13. Enabled = false,
  14. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16. },
  17. KeySystem = false, -- Set this to true to use our key system
  18. KeySettings = {
  19. Title = "Untitled",
  20. Subtitle = "Key System",
  21. Note = "No method of obtaining the key is provided",
  22. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  23. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  26. }
  27. })
  28.  
  29. local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image
  30.  
  31. local Button = Tab:CreateButton({
  32. Name = "infinite Yield [BEST]",
  33. Callback = function()
  34. -- The function that takes place when the button is pressed
  35. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  36. end,
  37. })
  38.  
  39. local Button = Tab:CreateButton({
  40. Name = "Aimbot",
  41. Callback = function()
  42. -- The function that takes place when the button is pressed
  43. -- this script is so Powerful does not like other Aimbot Which this script Make you become God Being like aim
  44. -- Script Aimbot Advanced v1 Developed by Mawin_CK and https://pastebin.com/u/SigmaBoy456 Writed by Mawin_CK and Fixed by Mawin_CK
  45. -- this script make you Able to Automatically Aimlock Instantly at Player Head who nearest to you and not behind wall
  46. -- Press T to Target Teammate or not Teammate
  47. -- Press Y To turn off and On Aimbot
  48. -- Reccmond must have Good Device and WiFi or else sometime is can lag For only Mobile Player Except PC player
  49. local player = game.Players.LocalPlayer
  50. local Cam = workspace.CurrentCamera
  51.  
  52. -- Toggles setting set to False or True to toggle rejoin if you want to re settings
  53. local targetTeammates = true -- Initially, target non-teammates or teammate
  54. local aimbotActive = true -- Initial state of the aimbot
  55.  
  56. -- Function to check if a player is a teammate
  57. local function isTeammate(targetPlayer)
  58. return targetPlayer.Team == player.Team
  59. end
  60.  
  61. -- Function to look at a specific position
  62. local function lookAt(targetPosition)
  63. Cam.CFrame = CFrame.new(Cam.CFrame.Position, targetPosition)
  64. end
  65.  
  66. -- Function to check if a target is visible (not behind walls)
  67. local function isTargetVisible(targetPart)
  68. local origin = Cam.CFrame.Position
  69. local direction = (targetPart.Position - origin).Unit
  70. local ray = Ray.new(origin, direction * 5000)
  71. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {player.Character, Cam})
  72.  
  73. return part and part:IsDescendantOf(targetPart.Parent)
  74. end
  75.  
  76. -- Function to get the closest player to the local player
  77. local function getClosestPlayer(trg_part)
  78. local nearest = nil
  79. local lastDistance = math.huge
  80. local localPlayerPos = player.Character.PrimaryPart.Position
  81.  
  82. for _, v in pairs(game.Players:GetPlayers()) do
  83. if v ~= player and v.Character and v.Character:FindFirstChild(trg_part) and v.Character:FindFirstChild("Humanoid") then
  84. local head = v.Character[trg_part]
  85. local humanoid = v.Character.Humanoid
  86. if head and humanoid.Health > 0 then -- Check if the target is alive
  87. local distance = (localPlayerPos - head.Position).Magnitude
  88.  
  89. -- Check visibility, distance, and teammate status
  90. if distance < lastDistance and isTargetVisible(head) then
  91. if (targetTeammates and isTeammate(v)) or (not targetTeammates and not isTeammate(v)) then
  92. nearest = v
  93. lastDistance = distance
  94. end
  95. end
  96. end
  97. end
  98. end
  99.  
  100. return nearest
  101. end
  102.  
  103. -- Toggle function to switch between targeting teammates and non-teammates
  104. local function toggleTargetMode()
  105. targetTeammates = not targetTeammates
  106. print("Targeting", targetTeammates and "teammates" or "non-teammates")
  107. end
  108.  
  109. -- Function to toggle aimbot activation
  110. local function toggleAimbot()
  111. aimbotActive = not aimbotActive
  112. print("Aimbot", aimbotActive and "enabled" or "disabled")
  113. end
  114.  
  115. -- RenderStepped connection to perform aiming
  116. game:GetService("RunService").RenderStepped:Connect(function()
  117. if aimbotActive then
  118. local closestPlayer = getClosestPlayer("Head")
  119. if closestPlayer and closestPlayer.Character and closestPlayer.Character:FindFirstChild("Head") then
  120. lookAt(closestPlayer.Character.Head.Position)
  121. end
  122. end
  123. end)
  124.  
  125. -- Input binding for toggling targeting mode and aimbot (e.g., press 'T' to toggle targeting mode, press 'Y' to toggle aimbot)
  126. game:GetService("UserInputService").InputBegan:Connect(function(input)
  127. if input.UserInputType == Enum.UserInputType.Keyboard then
  128. if input.KeyCode == Enum.KeyCode.T then
  129. toggleTargetMode()
  130. elseif input.KeyCode == Enum.KeyCode.Y then
  131. toggleAimbot()
  132. end
  133. end
  134. end)
  135.  
  136. -- Mobile support for toggling aimbot and targeting mode
  137. local UIS = game:GetService("UserInputService")
  138.  
  139. UIS.TouchTap:Connect(function(touchPositions, processed)
  140. if not processed then
  141. local touch = touchPositions[1]
  142. if touch.Position.Y < workspace.CurrentCamera.ViewportSize.Y / 2 then
  143. toggleAimbot()
  144. else
  145. toggleTargetMode()
  146. end
  147. end
  148. end)
  149. end
  150. })
  151.  
  152. local Toggle = Tab:CreateToggle({
  153. Name = "HitBox [Cant Disable]",
  154. CurrentValue = false,
  155. Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  156. Callback = function(Value)
  157. -- The function that takes place when the toggle is pressed
  158. -- The variable (Value) is a boolean on whether the toggle is true or false
  159. _G.HeadSize = Vector3.new(12, 12, 12) -- Adjust this value as needed
  160. _G.HumanoidRootPartSize = Vector3.new(5, 5, 5) -- Adjust this value as needed
  161. _G.Disabled = false
  162.  
  163. local localPlayer = game:GetService('Players').LocalPlayer
  164.  
  165. local function scaleHitbox(character)
  166. if character then
  167. local head = character:FindFirstChild("Head")
  168. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  169.  
  170. if head then
  171. local mesh = head:FindFirstChildOfClass("SpecialMesh")
  172. if mesh then
  173. mesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
  174. else
  175. -- If the head doesn't have a SpecialMesh, create one
  176. local newMesh = Instance.new("SpecialMesh", head)
  177. newMesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
  178. end
  179. head.Size = _G.HeadSize
  180. head.CanCollide = false -- Disable collision for the head
  181. end
  182.  
  183. if humanoidRootPart then
  184. humanoidRootPart.Size = _G.HumanoidRootPartSize
  185. humanoidRootPart.Transparency = 0.7
  186. humanoidRootPart.BrickColor = BrickColor.new("Really blue")
  187. humanoidRootPart.Material = "Neon"
  188. humanoidRootPart.CanCollide = false
  189. end
  190. end
  191. end
  192.  
  193. local function resizeParts(character)
  194. local head = character:FindFirstChild("Head")
  195. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  196.  
  197. if not head then
  198. -- Create a new head if it doesn't exist
  199. local newHead = Instance.new("Part")
  200. newHead.Name = "Head"
  201. newHead.Size = _G.HeadSize
  202. newHead.Parent = character
  203. else
  204. head.Size = _G.HeadSize
  205. head.CanCollide = false -- Disable collision for the head
  206. end
  207.  
  208. if humanoidRootPart then
  209. humanoidRootPart.Size = _G.HumanoidRootPartSize
  210. end
  211. end
  212.  
  213. local function onCharacterAdded(character)
  214. -- Wait for the character to load completely
  215. character:WaitForChild("Humanoid")
  216.  
  217. -- Resize parts
  218. resizeParts(character)
  219.  
  220. -- Connect to Humanoid's Died event to handle respawn
  221. character:WaitForChild("Humanoid").Died:Connect(function()
  222. -- Wait for the character to respawn
  223. character:WaitForChild("Humanoid").Died:Wait()
  224.  
  225. -- Resize parts again after respawn
  226. resizeParts(character)
  227. end)
  228. end
  229.  
  230. local function onPlayerAdded(player)
  231. -- Check if the player is not the local player
  232. if player ~= localPlayer then
  233. -- Connect to the CharacterAdded event
  234. player.CharacterAdded:Connect(onCharacterAdded)
  235.  
  236. -- Apply resizing if the character already exists
  237. if player.Character then
  238. onCharacterAdded(player.Character)
  239. end
  240. end
  241. end
  242.  
  243. -- Connect to the PlayerAdded event to handle players joining the game
  244. game:GetService('Players').PlayerAdded:Connect(onPlayerAdded)
  245.  
  246. -- Apply resizing to all current players
  247. for _, player in ipairs(game:GetService('Players'):GetPlayers()) do
  248. onPlayerAdded(player)
  249. end
  250.  
  251. -- Continuous loop to ensure hitboxes remain scaled
  252. game:GetService('RunService').RenderStepped:Connect(function()
  253. if not _G.Disabled then
  254. for _, player in pairs(game:GetService('Players'):GetPlayers()) do
  255. if player ~= localPlayer then
  256. pcall(function()
  257. scaleHitbox(player.Character)
  258. -- Ensure head size is maintained
  259. if player.Character and player.Character:FindFirstChild("Head") then
  260. player.Character.Head.Size = _G.HeadSize
  261. player.Character.Head.CanCollide = false -- Disable collision for the head
  262. end
  263. end)
  264. end
  265. end
  266. end
  267. end)
  268.  
  269. -- Disable collision with the local player's character
  270. localPlayer.CharacterAdded:Connect(disableCollision)
  271.  
  272. if localPlayer.Character then
  273. disableCollision(localPlayer.Character)
  274. end
  275.  
  276. end
  277. })
  278.  
  279. local Tab = Window:CreateTab("Da Hood", 4483362458) -- Title, Image
  280.  
  281. local Button = Tab:CreateButton({
  282. Name = "Polakya [OP]",
  283. Callback = function()
  284. -- The function that takes place when the button is pressed
  285. loadstring(game:HttpGet("https://raw.githubusercontent.com/pixelheadx/Polakya/main/Bestscript.md"))()
  286. end
  287. })
  288.  
  289. local Button = Tab:CreateButton({
  290. Name = "Vortex",
  291. Callback = function()
  292. -- The function that takes place when the button is pressed
  293. loadstring(game:HttpGet("https://raw.githubusercontent.com/ImagineProUser/vortexdahood/main/vortex", true))()
  294. end
  295. })
  296.  
  297. local Button = Tab:CreateButton({
  298. Name = "AzureModded",
  299. Callback = function()
  300. -- The function that takes place when the button is pressed
  301. loadstring(game:HttpGet("https://raw.githubusercontent.com/Actyrn/Scripts/main/AzureModded"))()
  302. end
  303. })
  304.  
  305. local Tab = Window:CreateTab("Prison Life", 4483362458) -- Title, Image
  306.  
  307. local Button = Tab:CreateButton({
  308. Name = "PrizzLife",
  309. Callback = function()
  310. -- The function that takes place when the button is pressed
  311. loadstring(game:HttpGet('https://raw.githubusercontent.com/elliexmln/PrizzLife/main/pladmin.lua'))()
  312. end
  313. })
  314.  
  315. local Button = Tab:CreateButton({
  316. Name = "PrisonWare",
  317. Callback = function()
  318. -- The function that takes place when the button is pressed
  319. loadstring(game:HttpGet("https://raw.githubusercontent.com/Denverrz/scripts/master/PRISONWARE_v1.3.txt"))()
  320. end
  321. })
  322.  
  323. local Tab = Window:CreateTab("Build a Boat", 4483362458) -- Title, Image
  324.  
  325. local Button = Tab:CreateButton({
  326. Name = "AutoFarm",
  327. Callback = function()
  328. -- The function that takes place when the button is pressed
  329. loadstring(game:HttpGet("https://scriptblox.com/raw/Build-A-Boat-For-Treasure-utoFrm-Gold-13684"))()
  330. end
  331. })
  332.  
  333. local Tab = Window:CreateTab("Arsenal", 4483362458) -- Title, Image
  334.  
  335. local Button = Tab:CreateButton({
  336. Name = "Thunder Client [Use Alt]",
  337. Callback = function()
  338. -- The function that takes place when the button is pressed
  339. loadstring(game:HttpGet("https://api.luarmor.net/files/v3/loaders/b95e8fecdf824e41f4a030044b055add.lua"))()
  340. end
  341. })
  342.  
  343. local Button = Tab:CreateButton({
  344. Name = "MidNightCC",
  345. Callback = function()
  346. -- The function that takes place when the button is pressed
  347. loadstring(game:HttpGet("https://raw.githubusercontent.com/laeraz/midnightcc/main/public.lua"))()
  348. end
  349. })
  350.  
  351. local Tab = Window:CreateTab("Blade Ball", 4483362458) -- Title, Image
  352.  
  353. local Button = Tab:CreateButton({
  354. Name = "Hub",
  355. Callback = function()
  356. -- The function that takes place when the button is pressed
  357. loadstring(game:HttpGet("https://scriptblox.com/raw/Blade-Ball-Auto-Parry-and-more-14933"))()
  358. end
  359. })
  360.  
  361. local Button = Tab:CreateButton({
  362. Name = "Visual v3.5 [OP]",
  363. Callback = function()
  364. -- The function that takes place when the button is pressed
  365. loadstring(game:HttpGet("https://api.luarmor.net/files/v3/loaders/a5945467f3b9388503ca653c0ea49cba.lua"))()
  366. end
  367. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement