DAVI017201816291

Untitled

Aug 3rd, 2025 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.86 KB | None | 0 0
  1. -- Roblox Lua Script using Rayfield Interface Suite
  2. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  3.  
  4. local Window = Rayfield:CreateWindow({
  5.     Name = "Gamepass Menu",
  6.     LoadingTitle = "Loading Features",
  7.     LoadingSubtitle = "by xAI",
  8.     ConfigurationSaving = {
  9.         Enabled = false,
  10.         FolderName = nil,
  11.         FileName = "GamepassConfig"
  12.     }
  13. })
  14.  
  15. -- Variables for features
  16. local Player = game.Players.LocalPlayer
  17. local Character = Player.Character or Player.CharacterAdded:Wait()
  18. local Humanoid = Character:WaitForChild("Humanoid")
  19. local RunService = game:GetService("RunService")
  20. local UserInputService = game:GetService("UserInputService")
  21. local VirtualUser = game:GetService("VirtualUser")
  22.  
  23. -- Feature states
  24. local NoclipEnabled = false
  25. local DesiredJumpPower = 50
  26. local AntiAFKEnabled = false
  27. local AutoJumpEnabled = false
  28. local AutoClickEnabled = false
  29. local AntiBanEnabled = false
  30. local AntiKickEnabled = false
  31. local GhostWalkEnabled = false
  32. local FistTrainingEnabled = false
  33. local MeditateEnabled = false
  34. local PushUpEnabled = false
  35. local WeightEnabled = false
  36.  
  37. -- Função para atualizar personagem no respawn
  38. Player.CharacterAdded:Connect(function(NewChar)
  39.     Character = NewChar
  40.     Humanoid = NewChar:WaitForChild("Humanoid")
  41.     task.wait(0.1)
  42.     Humanoid.JumpPower = DesiredJumpPower
  43.     Humanoid.JumpHeight = DesiredJumpPower
  44. end)
  45.  
  46. -- Tab 1: Misc
  47. local MiscTab = Window:CreateTab("Misc", 4483362458)
  48.  
  49. local NoclipToggle = MiscTab:CreateToggle({
  50.     Name = "Noclip",
  51.     CurrentValue = false,
  52.     Flag = "Noclip",
  53.     Callback = function(Value)
  54.         NoclipEnabled = Value
  55.         if Value then
  56.             RunService:BindToRenderStep("Noclip", Enum.RenderPriority.Camera.Value + 1, function()
  57.                 if Character then
  58.                     for _, part in pairs(Character:GetChildren()) do
  59.                         if part:IsA("BasePart") then
  60.                             part.CanCollide = false
  61.                         end
  62.                     end
  63.                 end
  64.             end)
  65.         else
  66.             RunService:UnbindFromRenderStep("Noclip")
  67.             if Character then
  68.                 for _, part in pairs(Character:GetChildren()) do
  69.                     if part:IsA("BasePart") then
  70.                         part.CanCollide = true
  71.                     end
  72.                 end
  73.             end
  74.         end
  75.     end
  76. })
  77.  
  78. local JumpPowerInput = MiscTab:CreateInput({
  79.     Name = "Jump Power",
  80.     PlaceholderText = "Enter Jump Power (e.g., 50)",
  81.     RemoveTextAfterFocusLost = false,
  82.     Callback = function(Text)
  83.         local Value = tonumber(Text)
  84.         if Value and Value >= 1 then
  85.             DesiredJumpPower = Value
  86.             if Humanoid then
  87.                 Humanoid.JumpPower = Value
  88.                 Humanoid.JumpHeight = Value
  89.                 Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
  90.                 wait()
  91.                 Humanoid:ChangeState(Enum.HumanoidStateType.Running)
  92.             end
  93.         else
  94.             Rayfield:Notify({
  95.                 Title = "Invalid Input",
  96.                 Content = "Please enter a number greater than or equal to 1.",
  97.                 Duration = 5
  98.             })
  99.         end
  100.     end
  101. })
  102.  
  103. -- Monitora mudanças no JumpPower e JumpHeight
  104. spawn(function()
  105.     while true do
  106.         if Humanoid then
  107.             if Humanoid.JumpPower ~= DesiredJumpPower then
  108.                 Humanoid.JumpPower = DesiredJumpPower
  109.             end
  110.             if Humanoid.JumpHeight ~= DesiredJumpPower then
  111.                 Humanoid.JumpHeight = DesiredJumpPower
  112.             end
  113.         end
  114.         wait(0.1)
  115.     end
  116. end)
  117.  
  118. local AntiAFKToggle = MiscTab:CreateToggle({
  119.     Name = "Anti-AFK",
  120.     CurrentValue = false,
  121.     Flag = "AntiAFK",
  122.     Callback = function(Value)
  123.         AntiAFKEnabled = Value
  124.         if Value then
  125.             spawn(function()
  126.                 while AntiAFKEnabled do
  127.                     VirtualUser:CaptureController()
  128.                     VirtualUser:ClickButton2(Vector2.new())
  129.                     wait(60)
  130.                 end
  131.             end)
  132.         end
  133.     end
  134. })
  135.  
  136. -- Ghost Walk variables
  137. local InitialPosition
  138. local CirclePoints = {}
  139. local CurrentPointIndex = 1
  140. local GhostWalkRunning = false
  141.  
  142. local function GenerateCirclePoints(center, radius, numPoints)
  143.     local points = {}
  144.     for i = 1, numPoints do
  145.         local angle = (i - 1) * (2 * math.pi / numPoints)
  146.         local x = center.X + math.cos(angle) * radius
  147.         local z = center.Z + math.sin(angle) * radius
  148.         table.insert(points, Vector3.new(x, center.Y, z))
  149.     end
  150.     return points
  151. end
  152.  
  153. local GhostWalkToggle = MiscTab:CreateToggle({
  154.     Name = "Ghost Walk",
  155.     CurrentValue = false,
  156.     Flag = "GhostWalk",
  157.     Callback = function(Value)
  158.         GhostWalkEnabled = Value
  159.         if Value then
  160.             if Character and Character:FindFirstChild("HumanoidRootPart") then
  161.                 InitialPosition = Character.HumanoidRootPart.Position
  162.                 CirclePoints = GenerateCirclePoints(InitialPosition, 6, 8)
  163.                 CurrentPointIndex = 1
  164.                 GhostWalkRunning = true
  165.                
  166.                 spawn(function()
  167.                     while GhostWalkEnabled and GhostWalkRunning do
  168.                         if Humanoid and Character and Character:FindFirstChild("HumanoidRootPart") then
  169.                             local targetPoint = CirclePoints[CurrentPointIndex]
  170.                             Humanoid:MoveTo(targetPoint)
  171.                            
  172.                             repeat
  173.                                 wait(0.1)
  174.                             until not GhostWalkEnabled or not Character or not Character:FindFirstChild("HumanoidRootPart") or
  175.                                   (Character.HumanoidRootPart.Position - targetPoint).Magnitude < 2
  176.                            
  177.                             CurrentPointIndex = CurrentPointIndex + 1
  178.                             if CurrentPointIndex > #CirclePoints then
  179.                                 CurrentPointIndex = 1
  180.                             end
  181.                            
  182.                             wait(0.2)
  183.                         else
  184.                             break
  185.                         end
  186.                     end
  187.                 end)
  188.             end
  189.         else
  190.             GhostWalkRunning = false
  191.             pcall(function()
  192.                 if Humanoid and Character and Character:FindFirstChild("HumanoidRootPart") then
  193.                     Humanoid:MoveTo(Character.HumanoidRootPart.Position)
  194.                 end
  195.             end)
  196.         end
  197.     end
  198. })
  199.  
  200. -- Tab 2: Auto's
  201. local AutosTab = Window:CreateTab("Auto's", 4483362458)
  202.  
  203. local AutoJumpToggle = AutosTab:CreateToggle({
  204.     Name = "Auto-Jump",
  205.     CurrentValue = false,
  206.     Flag = "AutoJump",
  207.     Callback = function(Value)
  208.         AutoJumpEnabled = Value
  209.         if Value then
  210.             spawn(function()
  211.                 while AutoJumpEnabled and Humanoid do
  212.                     if Humanoid:GetState() == Enum.HumanoidStateType.Landed or Humanoid:GetState() == Enum.HumanoidStateType.Running then
  213.                         Humanoid.Jump = true
  214.                     end
  215.                     wait(0.2)
  216.                 end
  217.             end)
  218.         end
  219.     end
  220. })
  221.  
  222. local AutoClickToggle = AutosTab:CreateToggle({
  223.     Name = "Auto-Click (15/s)",
  224.     CurrentValue = false,
  225.     Flag = "AutoClick",
  226.     Callback = function(Value)
  227.         AutoClickEnabled = Value
  228.         if Value then
  229.             spawn(function()
  230.                 while AutoClickEnabled do
  231.                     local viewport = workspace.CurrentCamera.ViewportSize
  232.                     local center = Vector2.new(viewport.X / 2, viewport.Y / 2)
  233.                     VirtualUser:ClickButton1(center)
  234.                     local tool = Character:FindFirstChildOfClass("Tool")
  235.                     if tool then
  236.                         tool:Activate()
  237.                     end
  238.                     wait(1/15)
  239.                 end
  240.             end)
  241.         end
  242.     end
  243. })
  244.  
  245. -- Tab 3: Farm
  246. local FarmTab = Window:CreateTab("Farm", 4483362458)
  247.  
  248. local FistTrainingToggle = FarmTab:CreateToggle({
  249.     Name = "Fist Training",
  250.     CurrentValue = false,
  251.     Flag = "FistTraining",
  252.     Callback = function(Value)
  253.         FistTrainingEnabled = Value
  254.         if Value then
  255.             spawn(function()
  256.                 local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
  257.                
  258.                 while FistTrainingEnabled do
  259.                     pcall(function()
  260.                         if Character and Humanoid and Humanoid.Health > 0 then
  261.                             local canTrain = true
  262.                             local screenGui = Player.PlayerGui:FindFirstChild("ScreenGui")
  263.                            
  264.                             if screenGui then
  265.                                 local questMsgFrame = screenGui:FindFirstChild("QuestMsgFrame")
  266.                                 local questTalkBtn = screenGui:FindFirstChild("QuestTalkBtn")
  267.                                
  268.                                 if questMsgFrame and questMsgFrame.Visible then
  269.                                     canTrain = false
  270.                                 end
  271.                                 if questTalkBtn and questTalkBtn.Visible then
  272.                                     canTrain = false
  273.                                 end
  274.                             end
  275.                            
  276.                             if canTrain then
  277.                                 RemoteEvent:FireServer({"Add_FS_Request"})
  278.                             end
  279.                         end
  280.                     end)
  281.                     wait(1.1)
  282.                 end
  283.             end)
  284.         end
  285.     end
  286. })
  287.  
  288. local MeditateToggle = FarmTab:CreateToggle({
  289.     Name = "Meditate",
  290.     CurrentValue = false,
  291.     Flag = "Meditate",
  292.     Callback = function(Value)
  293.         MeditateEnabled = Value
  294.         pcall(function()
  295.             local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
  296.            
  297.             if Value then
  298.                 -- Inicia meditação
  299.                 RemoteEvent:FireServer({"Meditation_Request", true})
  300.                 _G.Meditating = true
  301.             else
  302.                 -- Para meditação
  303.                 RemoteEvent:FireServer({"Meditation_Request", false})
  304.                 _G.Meditating = false
  305.             end
  306.         end)
  307.     end
  308. })
  309.  
  310. local PushUpToggle = FarmTab:CreateToggle({
  311.     Name = "Push Up",
  312.     CurrentValue = false,
  313.     Flag = "PushUp",
  314.     Callback = function(Value)
  315.         PushUpEnabled = Value
  316.         if Value then
  317.             spawn(function()
  318.                 local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
  319.                
  320.                 while PushUpEnabled do
  321.                     pcall(function()
  322.                         if Character and Humanoid and Humanoid.Health > 0 then
  323.                             local canTrain = true
  324.                             local screenGui = Player.PlayerGui:FindFirstChild("ScreenGui")
  325.                            
  326.                             if screenGui then
  327.                                 local questMsgFrame = screenGui:FindFirstChild("QuestMsgFrame")
  328.                                 local questTalkBtn = screenGui:FindFirstChild("QuestTalkBtn")
  329.                                
  330.                                 if questMsgFrame and questMsgFrame.Visible then
  331.                                     canTrain = false
  332.                                 end
  333.                                 if questTalkBtn and questTalkBtn.Visible then
  334.                                     canTrain = false
  335.                                 end
  336.                             end
  337.                            
  338.                             if canTrain and not _G.Flying then
  339.                                 RemoteEvent:FireServer({"+BT1"})
  340.                             end
  341.                         end
  342.                     end)
  343.                     wait(1.1) -- Cooldown baseado no script original
  344.                 end
  345.             end)
  346.         end
  347.     end
  348. })
  349.  
  350. local WeightToggle = FarmTab:CreateToggle({
  351.     Name = "Weight",
  352.     CurrentValue = false,
  353.     Flag = "Weight",
  354.     Callback = function(Value)
  355.         WeightEnabled = Value
  356.         pcall(function()
  357.             local WeightFrame = Player.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("WeightFrame")
  358.             WeightFrame.Visible = Value
  359.         end)
  360.     end
  361. })
  362.  
  363. -- Tab 4: Security
  364. local SecurityTab = Window:CreateTab("Security", 4483362458)
  365.  
  366. local AntiBanToggle = SecurityTab:CreateToggle({
  367.     Name = "Anti-Ban",
  368.     CurrentValue = false,
  369.     Flag = "AntiBan",
  370.     Callback = function(Value)
  371.         AntiBanEnabled = Value
  372.         if Value then
  373.             local oldNamecall
  374.             oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
  375.                 local method = getnamecallmethod()
  376.                 if method == "Kick" or method == "Ban" then
  377.                     return
  378.                 end
  379.                 return oldNamecall(self, ...)
  380.             end)
  381.             getgenv().AntiBanActive = true
  382.         end
  383.     end
  384. })
  385.  
  386. local AntiKickToggle = SecurityTab:CreateToggle({
  387.     Name = "Anti-Kick",
  388.     CurrentValue = false,
  389.     Flag = "AntiKick",
  390.     Callback = function(Value)
  391.         AntiKickEnabled = Value
  392.         if Value then
  393.             local mt = getrawmetatable(game)
  394.             local oldIndex = mt.__index
  395.             setreadonly(mt, false)
  396.             mt.__index = function(self, index)
  397.                 if self == Player and index == "Kick" then
  398.                     return function() end
  399.                 end
  400.                 return oldIndex(self, index)
  401.             end
  402.             setreadonly(mt, true)
  403.         end
  404.     end
  405. })
  406.  
  407. Rayfield:LoadConfiguration()
Advertisement
Add Comment
Please, Sign In to add comment