Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Solara Hub",
- LoadingTitle = "Solara Best Scripts",
- LoadingSubtitle = "by .ozaimod",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Big Hub"
- },
- Discord = {
- Enabled = false,
- Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Untitled",
- Subtitle = "Key System",
- Note = "No method of obtaining the key is provided",
- FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
- SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- 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")
- }
- })
- local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "infinite Yield [BEST]",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
- end,
- })
- local Button = Tab:CreateButton({
- Name = "Aimbot",
- Callback = function()
- -- The function that takes place when the button is pressed
- -- this script is so Powerful does not like other Aimbot Which this script Make you become God Being like aim
- -- Script Aimbot Advanced v1 Developed by Mawin_CK and https://pastebin.com/u/SigmaBoy456 Writed by Mawin_CK and Fixed by Mawin_CK
- -- this script make you Able to Automatically Aimlock Instantly at Player Head who nearest to you and not behind wall
- -- Press T to Target Teammate or not Teammate
- -- Press Y To turn off and On Aimbot
- -- Reccmond must have Good Device and WiFi or else sometime is can lag For only Mobile Player Except PC player
- local player = game.Players.LocalPlayer
- local Cam = workspace.CurrentCamera
- -- Toggles setting set to False or True to toggle rejoin if you want to re settings
- local targetTeammates = true -- Initially, target non-teammates or teammate
- local aimbotActive = true -- Initial state of the aimbot
- -- Function to check if a player is a teammate
- local function isTeammate(targetPlayer)
- return targetPlayer.Team == player.Team
- end
- -- Function to look at a specific position
- local function lookAt(targetPosition)
- Cam.CFrame = CFrame.new(Cam.CFrame.Position, targetPosition)
- end
- -- Function to check if a target is visible (not behind walls)
- local function isTargetVisible(targetPart)
- local origin = Cam.CFrame.Position
- local direction = (targetPart.Position - origin).Unit
- local ray = Ray.new(origin, direction * 5000)
- local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {player.Character, Cam})
- return part and part:IsDescendantOf(targetPart.Parent)
- end
- -- Function to get the closest player to the local player
- local function getClosestPlayer(trg_part)
- local nearest = nil
- local lastDistance = math.huge
- local localPlayerPos = player.Character.PrimaryPart.Position
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= player and v.Character and v.Character:FindFirstChild(trg_part) and v.Character:FindFirstChild("Humanoid") then
- local head = v.Character[trg_part]
- local humanoid = v.Character.Humanoid
- if head and humanoid.Health > 0 then -- Check if the target is alive
- local distance = (localPlayerPos - head.Position).Magnitude
- -- Check visibility, distance, and teammate status
- if distance < lastDistance and isTargetVisible(head) then
- if (targetTeammates and isTeammate(v)) or (not targetTeammates and not isTeammate(v)) then
- nearest = v
- lastDistance = distance
- end
- end
- end
- end
- end
- return nearest
- end
- -- Toggle function to switch between targeting teammates and non-teammates
- local function toggleTargetMode()
- targetTeammates = not targetTeammates
- print("Targeting", targetTeammates and "teammates" or "non-teammates")
- end
- -- Function to toggle aimbot activation
- local function toggleAimbot()
- aimbotActive = not aimbotActive
- print("Aimbot", aimbotActive and "enabled" or "disabled")
- end
- -- RenderStepped connection to perform aiming
- game:GetService("RunService").RenderStepped:Connect(function()
- if aimbotActive then
- local closestPlayer = getClosestPlayer("Head")
- if closestPlayer and closestPlayer.Character and closestPlayer.Character:FindFirstChild("Head") then
- lookAt(closestPlayer.Character.Head.Position)
- end
- end
- end)
- -- Input binding for toggling targeting mode and aimbot (e.g., press 'T' to toggle targeting mode, press 'Y' to toggle aimbot)
- game:GetService("UserInputService").InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == Enum.KeyCode.T then
- toggleTargetMode()
- elseif input.KeyCode == Enum.KeyCode.Y then
- toggleAimbot()
- end
- end
- end)
- -- Mobile support for toggling aimbot and targeting mode
- local UIS = game:GetService("UserInputService")
- UIS.TouchTap:Connect(function(touchPositions, processed)
- if not processed then
- local touch = touchPositions[1]
- if touch.Position.Y < workspace.CurrentCamera.ViewportSize.Y / 2 then
- toggleAimbot()
- else
- toggleTargetMode()
- end
- end
- end)
- end
- })
- local Toggle = Tab:CreateToggle({
- Name = "HitBox [Cant Disable]",
- CurrentValue = false,
- 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
- Callback = function(Value)
- -- The function that takes place when the toggle is pressed
- -- The variable (Value) is a boolean on whether the toggle is true or false
- _G.HeadSize = Vector3.new(12, 12, 12) -- Adjust this value as needed
- _G.HumanoidRootPartSize = Vector3.new(5, 5, 5) -- Adjust this value as needed
- _G.Disabled = false
- local localPlayer = game:GetService('Players').LocalPlayer
- local function scaleHitbox(character)
- if character then
- local head = character:FindFirstChild("Head")
- local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
- if head then
- local mesh = head:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
- else
- -- If the head doesn't have a SpecialMesh, create one
- local newMesh = Instance.new("SpecialMesh", head)
- newMesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
- end
- head.Size = _G.HeadSize
- head.CanCollide = false -- Disable collision for the head
- end
- if humanoidRootPart then
- humanoidRootPart.Size = _G.HumanoidRootPartSize
- humanoidRootPart.Transparency = 0.7
- humanoidRootPart.BrickColor = BrickColor.new("Really blue")
- humanoidRootPart.Material = "Neon"
- humanoidRootPart.CanCollide = false
- end
- end
- end
- local function resizeParts(character)
- local head = character:FindFirstChild("Head")
- local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
- if not head then
- -- Create a new head if it doesn't exist
- local newHead = Instance.new("Part")
- newHead.Name = "Head"
- newHead.Size = _G.HeadSize
- newHead.Parent = character
- else
- head.Size = _G.HeadSize
- head.CanCollide = false -- Disable collision for the head
- end
- if humanoidRootPart then
- humanoidRootPart.Size = _G.HumanoidRootPartSize
- end
- end
- local function onCharacterAdded(character)
- -- Wait for the character to load completely
- character:WaitForChild("Humanoid")
- -- Resize parts
- resizeParts(character)
- -- Connect to Humanoid's Died event to handle respawn
- character:WaitForChild("Humanoid").Died:Connect(function()
- -- Wait for the character to respawn
- character:WaitForChild("Humanoid").Died:Wait()
- -- Resize parts again after respawn
- resizeParts(character)
- end)
- end
- local function onPlayerAdded(player)
- -- Check if the player is not the local player
- if player ~= localPlayer then
- -- Connect to the CharacterAdded event
- player.CharacterAdded:Connect(onCharacterAdded)
- -- Apply resizing if the character already exists
- if player.Character then
- onCharacterAdded(player.Character)
- end
- end
- end
- -- Connect to the PlayerAdded event to handle players joining the game
- game:GetService('Players').PlayerAdded:Connect(onPlayerAdded)
- -- Apply resizing to all current players
- for _, player in ipairs(game:GetService('Players'):GetPlayers()) do
- onPlayerAdded(player)
- end
- -- Continuous loop to ensure hitboxes remain scaled
- game:GetService('RunService').RenderStepped:Connect(function()
- if not _G.Disabled then
- for _, player in pairs(game:GetService('Players'):GetPlayers()) do
- if player ~= localPlayer then
- pcall(function()
- scaleHitbox(player.Character)
- -- Ensure head size is maintained
- if player.Character and player.Character:FindFirstChild("Head") then
- player.Character.Head.Size = _G.HeadSize
- player.Character.Head.CanCollide = false -- Disable collision for the head
- end
- end)
- end
- end
- end
- end)
- -- Disable collision with the local player's character
- localPlayer.CharacterAdded:Connect(disableCollision)
- if localPlayer.Character then
- disableCollision(localPlayer.Character)
- end
- end
- })
- local Tab = Window:CreateTab("Da Hood", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "Polakya [OP]",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://raw.githubusercontent.com/pixelheadx/Polakya/main/Bestscript.md"))()
- end
- })
- local Button = Tab:CreateButton({
- Name = "Vortex",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://raw.githubusercontent.com/ImagineProUser/vortexdahood/main/vortex", true))()
- end
- })
- local Button = Tab:CreateButton({
- Name = "AzureModded",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Actyrn/Scripts/main/AzureModded"))()
- end
- })
- local Tab = Window:CreateTab("Prison Life", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "PrizzLife",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet('https://raw.githubusercontent.com/elliexmln/PrizzLife/main/pladmin.lua'))()
- end
- })
- local Button = Tab:CreateButton({
- Name = "PrisonWare",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Denverrz/scripts/master/PRISONWARE_v1.3.txt"))()
- end
- })
- local Tab = Window:CreateTab("Build a Boat", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "AutoFarm",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://scriptblox.com/raw/Build-A-Boat-For-Treasure-utoFrm-Gold-13684"))()
- end
- })
- local Tab = Window:CreateTab("Arsenal", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "Thunder Client [Use Alt]",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://api.luarmor.net/files/v3/loaders/b95e8fecdf824e41f4a030044b055add.lua"))()
- end
- })
- local Button = Tab:CreateButton({
- Name = "MidNightCC",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://raw.githubusercontent.com/laeraz/midnightcc/main/public.lua"))()
- end
- })
- local Tab = Window:CreateTab("Blade Ball", 4483362458) -- Title, Image
- local Button = Tab:CreateButton({
- Name = "Hub",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://scriptblox.com/raw/Blade-Ball-Auto-Parry-and-more-14933"))()
- end
- })
- local Button = Tab:CreateButton({
- Name = "Visual v3.5 [OP]",
- Callback = function()
- -- The function that takes place when the button is pressed
- loadstring(game:HttpGet("https://api.luarmor.net/files/v3/loaders/a5945467f3b9388503ca653c0ea49cba.lua"))()
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement