0% found this document useful (0 votes)
64 views

Lua

Uploaded by

seferbocutcu5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

Lua

Uploaded by

seferbocutcu5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

if game.

PlaceId == 2753915549 then

local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({


Name = "🍎 Blox fruit Script 🍎",
LoadingTitle = "Hyberrr Hub",
LoadingSubtitle = "by Anas",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Hyberrr hub"
},
Discord = {
Enabled = true,
Invite = "solara", -- 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 = true, -- Set this to true to use our key system
KeySettings = {
Title = "Blox Fruit | Key",
Subtitle = "Link in Whatsapp",
Note = "You Can Join Discord In Wa from Misc Tab",
FileName = "HyberHubKey", -- It is recommended to use something unique as
other scripts using Rayfield may overwrite your key file
SaveKey = false, -- The user's key will be saved, but if you change the key,
they will be unable to use your script
GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you
would like Rayfield to get the key from
Key = {"https://[Log in to view URL]"} -- List of keys that will be accepted
by the system, can be RAW file links (pastebin, github etc) or simple strings
("hello","key22")
}
})

local MainTab = Window:CreateTab("🏠 Home", nil) -- Title, Image


local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
Title = "Kamu Execute Script Nya",
Content = "Script Bagus",
Duration = 6.5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})

local Toggle = Tab:CreateToggle({


Name = "Aim Bot",
CurrentValue = false,
Flag = "Toogle Players", -- 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)
local localPlayer = game:GetService("Players").LocalPlayer

local function player()


local target = nil
local dist = math.huge

for i, v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name ~= localPlayer.Name then
if v.Character and v.Character:FindFirstChild("Head") and
v.Character.Humanoid.Health > 0 and v.Character:FindFirstChild("Head") and
v.TeamColor ~= localPlayer.TeamColor then
local magnitude = (v.Character.HumanoidRootPart.Position -
localPlayer.Character.HumanoidRootPart.Position).magnitude

if magnitude < dist then


target = v
dist = magnitude
end
end
end

return target
end

local camera = game.Workspace.CurrentCamera


local UIS = game:GetService("UserInputService")
local aim = false

game:GetService("RunService").RenderStepped:Connect(function()
if aim then
camera.CFrame =
CFrame.new(camera.CFrame.Position,player().Character.Head.Position)
end
end)

UIS.InputBegan:Connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton2 then
aim = true
end
end)

UIS.InputEnded:Connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton2 then
aim = false
end
end)
end,
})

You might also like