0% found this document useful (0 votes)
2 views3 pages

Main Lua

The document is a Lua script for a game hub called Ukiyo, which utilizes the Rayfield library to create a user interface. It includes features such as a Discord integration, key system for access, and various functionalities like Aimlock and Silent Aim. The script allows users to customize settings and notifications within the game environment.

Uploaded by

sanchu1010sanchu
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)
2 views3 pages

Main Lua

The document is a Lua script for a game hub called Ukiyo, which utilizes the Rayfield library to create a user interface. It includes features such as a Discord integration, key system for access, and various functionalities like Aimlock and Silent Aim. The script allows users to customize settings and notifications within the game environment.

Uploaded by

sanchu1010sanchu
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/ 3

local Rayfield = loadstring(game:HttpGet('https://sirius.

menu/rayfield'))()

local Window = Rayfield:CreateWindow({


Name = "Ukiyo",
LoadingTitle = Ukiyo Hub",
LoadingSubtitle = "by Ukiyo",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Ukiyo Hub"
},
Discord = {
Enabled = true,
Invite = "https://discord.com/invite/HfBHaNbpYT", -- 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 = "Key | Youtube Hub",
Subtitle = "Key System",
Note = "Key In Discord Server",
FileName = nil, -- 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://pastebin.com/raw/AtgzSPWK"} -- 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("Aimlock", nil) -- Title, Image


local MainSection = MainTab:CreateSection("Aimlock")

Rayfield:Notify({
Title = "You executed Ukiyo Hub",
Content = "Welcome to Ukiyo Hub",
Duration = 5,
Image = 13047715178,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})

local Button = MainTab:CreateButton({


Name = "Camlock",
Callback = function()
--Toggles Camlock

--Notifies readiness
game.StarterGui:SetCore("SendNotification", {Title="Camlock Activated";
Text="Have Fun Kiddo :)"; Duration=5;})

--Camlock

["Camlock"] = {
Enabled = true,
HitPart = "HumanoidRootPart",
Keybind = {
Type = "Keyboard",
Bind = Enum.KeyCode.E
},
Prediction = {
AutoPred = false,
Enable_Axis = false,
X_Axis = 0.5,
Y_Axis = 0.2,
Regular_Prediction = 0.1255
},
Smoothness = {
Easing = "Enum.EasingStyle.Elastic",
X_Axis = 0.4,
Y_Axis = 0.4,
Direction = "Enum.EasingDirection.InOut"
},
FOV = {
Visible = true,
Radius = 200,
Color = Color3.fromRGB(0, 0, 255),
Transparency = 0.3,
Thickness = 0.5
}
},
Checks = {
Dead = false,
Grabbed = false,
Visible = true
}
}
```
end
end)
end
end,
})

local Slider = MainTab:CreateButton({


Name = "Silent Aim",

["Silent"] = {
Enabled = true,
HitPart = "HumanoidRootPart",
Keybind = {
Enabled = true,
Type = "Keyboard", -- Or "Mouse"
Bind = Enum.KeyCode.T -- Or Enum.UserInputType.MouseButton1 /
MouseButton2 for Mouse
},
Prediction = {
AutoPred = false,
X_Axis = 6969,
Y_Axis = 6969
},
FOV = {
Visible = true,
Radius = 150,
Color = Color3.fromRGB(255, 0, 0),
Transparency = 0.5,
Thickness = 0.5
}

local Tab = Window:CreateTab("Visuals", nil) -- Title, Image


local Section = Tab:CreateSection("Visuals")
local Button = Tab:CreateButton({
Name = "ESP",
Callback = function()
-- The function that takes place when the button is pressed
end,
})

You might also like