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

local Window = Rayfield:CreateWindow({
   Name = "The wild west by Prime zen",
   LoadingTitle = "Zen Hub",
   LoadingSubtitle = "by Prime zen",
   ConfigurationSaving = {
      Enabled = false,
      FolderName = nil, -- Create a custom folder for your hub/game
      FileName = "Zen example Hub"
   },
   Discord = {
      Enabled = true,
      Invite = "https://[Log in to view URL]", -- 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 = "The wild west | Key",
      Subtitle = "Key System",
      Note = "Join server from misc tab",
      FileName = "https://[Log in to view URL]", -- 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 = {"Soul hub"} -- 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 = "You executed the script",
   Content = "Join in discord inv link for future update",
   Duration = 5,
   Image = 4483362458,
   Actions = { -- Notification Buttons
      Ignore = {
         Name = "Okay",
         Callback = function()
         print("The user tapped Okay!")
      end
   },
},
})

local Button = MainTab:CreateButton({
   Name = "God mode",
   Callback = function()
 
   end,
})

local Button = Tab:CreateButton({
   Name = "Aimbot",
   Callback = function()
  -- Variables
local UIS = game.UserInputService
local camera = game.Workspace.CurrentCamera
local TS = game.TweenService
local tweenInfo = TweenInfo.new(0.25)
 
-- Closest Player
function getClosest()
    local closestDistance
    local closestPlayer
    for i,v in pairs(game.Players:GetChildren()) do
        if v ~= game.Players.LocalPlayer and v.Team ~= game.Players.LocalPlayer.Team then
            local distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude
            if distance < closestDistance then
                closestDistance = distance
                closestPlayer = v
            end
        end
    end
    return closestPlayer
end
 
-- Begins Loop
UIS.InputBegan:Connect(function(input))
    if input.UserInputType == Enum.UserInputType.MouseButton2 then
        _G.aim = true
        while wait() do
            local tween = TS:Create(camera, tweenInfo, {CFrame = CFrame.new(camera.CFrame.Positon, getClosest().Character.Head.Position)})
            tween:Play
            if _G.aim == false then tween:Cancel() return end
        end
    end
end
-- Stops Loop
UIS.InputEnded:Connect(function(input))
    if input.UserInputType == Enum.UserInputType.MouseButton2 then
        _G.aim = false
    end
end
   end,
})

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: