Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Roblox Lua Script using Rayfield Interface Suite
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Gamepass Menu",
- LoadingTitle = "Loading Features",
- LoadingSubtitle = "by xAI",
- ConfigurationSaving = {
- Enabled = false,
- FolderName = nil,
- FileName = "GamepassConfig"
- }
- })
- -- Variables for features
- local Player = game.Players.LocalPlayer
- local Character = Player.Character or Player.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local VirtualUser = game:GetService("VirtualUser")
- -- Feature states
- local NoclipEnabled = false
- local DesiredJumpPower = 50
- local AntiAFKEnabled = false
- local AutoJumpEnabled = false
- local AutoClickEnabled = false
- local AntiBanEnabled = false
- local AntiKickEnabled = false
- local GhostWalkEnabled = false
- local FistTrainingEnabled = false
- local MeditateEnabled = false
- local PushUpEnabled = false
- local WeightEnabled = false
- -- Função para atualizar personagem no respawn
- Player.CharacterAdded:Connect(function(NewChar)
- Character = NewChar
- Humanoid = NewChar:WaitForChild("Humanoid")
- task.wait(0.1)
- Humanoid.JumpPower = DesiredJumpPower
- Humanoid.JumpHeight = DesiredJumpPower
- end)
- -- Tab 1: Misc
- local MiscTab = Window:CreateTab("Misc", 4483362458)
- local NoclipToggle = MiscTab:CreateToggle({
- Name = "Noclip",
- CurrentValue = false,
- Flag = "Noclip",
- Callback = function(Value)
- NoclipEnabled = Value
- if Value then
- RunService:BindToRenderStep("Noclip", Enum.RenderPriority.Camera.Value + 1, function()
- if Character then
- for _, part in pairs(Character:GetChildren()) do
- if part:IsA("BasePart") then
- part.CanCollide = false
- end
- end
- end
- end)
- else
- RunService:UnbindFromRenderStep("Noclip")
- if Character then
- for _, part in pairs(Character:GetChildren()) do
- if part:IsA("BasePart") then
- part.CanCollide = true
- end
- end
- end
- end
- end
- })
- local JumpPowerInput = MiscTab:CreateInput({
- Name = "Jump Power",
- PlaceholderText = "Enter Jump Power (e.g., 50)",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- local Value = tonumber(Text)
- if Value and Value >= 1 then
- DesiredJumpPower = Value
- if Humanoid then
- Humanoid.JumpPower = Value
- Humanoid.JumpHeight = Value
- Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
- wait()
- Humanoid:ChangeState(Enum.HumanoidStateType.Running)
- end
- else
- Rayfield:Notify({
- Title = "Invalid Input",
- Content = "Please enter a number greater than or equal to 1.",
- Duration = 5
- })
- end
- end
- })
- -- Monitora mudanças no JumpPower e JumpHeight
- spawn(function()
- while true do
- if Humanoid then
- if Humanoid.JumpPower ~= DesiredJumpPower then
- Humanoid.JumpPower = DesiredJumpPower
- end
- if Humanoid.JumpHeight ~= DesiredJumpPower then
- Humanoid.JumpHeight = DesiredJumpPower
- end
- end
- wait(0.1)
- end
- end)
- local AntiAFKToggle = MiscTab:CreateToggle({
- Name = "Anti-AFK",
- CurrentValue = false,
- Flag = "AntiAFK",
- Callback = function(Value)
- AntiAFKEnabled = Value
- if Value then
- spawn(function()
- while AntiAFKEnabled do
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- wait(60)
- end
- end)
- end
- end
- })
- -- Ghost Walk variables
- local InitialPosition
- local CirclePoints = {}
- local CurrentPointIndex = 1
- local GhostWalkRunning = false
- local function GenerateCirclePoints(center, radius, numPoints)
- local points = {}
- for i = 1, numPoints do
- local angle = (i - 1) * (2 * math.pi / numPoints)
- local x = center.X + math.cos(angle) * radius
- local z = center.Z + math.sin(angle) * radius
- table.insert(points, Vector3.new(x, center.Y, z))
- end
- return points
- end
- local GhostWalkToggle = MiscTab:CreateToggle({
- Name = "Ghost Walk",
- CurrentValue = false,
- Flag = "GhostWalk",
- Callback = function(Value)
- GhostWalkEnabled = Value
- if Value then
- if Character and Character:FindFirstChild("HumanoidRootPart") then
- InitialPosition = Character.HumanoidRootPart.Position
- CirclePoints = GenerateCirclePoints(InitialPosition, 6, 8)
- CurrentPointIndex = 1
- GhostWalkRunning = true
- spawn(function()
- while GhostWalkEnabled and GhostWalkRunning do
- if Humanoid and Character and Character:FindFirstChild("HumanoidRootPart") then
- local targetPoint = CirclePoints[CurrentPointIndex]
- Humanoid:MoveTo(targetPoint)
- repeat
- wait(0.1)
- until not GhostWalkEnabled or not Character or not Character:FindFirstChild("HumanoidRootPart") or
- (Character.HumanoidRootPart.Position - targetPoint).Magnitude < 2
- CurrentPointIndex = CurrentPointIndex + 1
- if CurrentPointIndex > #CirclePoints then
- CurrentPointIndex = 1
- end
- wait(0.2)
- else
- break
- end
- end
- end)
- end
- else
- GhostWalkRunning = false
- pcall(function()
- if Humanoid and Character and Character:FindFirstChild("HumanoidRootPart") then
- Humanoid:MoveTo(Character.HumanoidRootPart.Position)
- end
- end)
- end
- end
- })
- -- Tab 2: Auto's
- local AutosTab = Window:CreateTab("Auto's", 4483362458)
- local AutoJumpToggle = AutosTab:CreateToggle({
- Name = "Auto-Jump",
- CurrentValue = false,
- Flag = "AutoJump",
- Callback = function(Value)
- AutoJumpEnabled = Value
- if Value then
- spawn(function()
- while AutoJumpEnabled and Humanoid do
- if Humanoid:GetState() == Enum.HumanoidStateType.Landed or Humanoid:GetState() == Enum.HumanoidStateType.Running then
- Humanoid.Jump = true
- end
- wait(0.2)
- end
- end)
- end
- end
- })
- local AutoClickToggle = AutosTab:CreateToggle({
- Name = "Auto-Click (15/s)",
- CurrentValue = false,
- Flag = "AutoClick",
- Callback = function(Value)
- AutoClickEnabled = Value
- if Value then
- spawn(function()
- while AutoClickEnabled do
- local viewport = workspace.CurrentCamera.ViewportSize
- local center = Vector2.new(viewport.X / 2, viewport.Y / 2)
- VirtualUser:ClickButton1(center)
- local tool = Character:FindFirstChildOfClass("Tool")
- if tool then
- tool:Activate()
- end
- wait(1/15)
- end
- end)
- end
- end
- })
- -- Tab 3: Farm
- local FarmTab = Window:CreateTab("Farm", 4483362458)
- local FistTrainingToggle = FarmTab:CreateToggle({
- Name = "Fist Training",
- CurrentValue = false,
- Flag = "FistTraining",
- Callback = function(Value)
- FistTrainingEnabled = Value
- if Value then
- spawn(function()
- local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
- while FistTrainingEnabled do
- pcall(function()
- if Character and Humanoid and Humanoid.Health > 0 then
- local canTrain = true
- local screenGui = Player.PlayerGui:FindFirstChild("ScreenGui")
- if screenGui then
- local questMsgFrame = screenGui:FindFirstChild("QuestMsgFrame")
- local questTalkBtn = screenGui:FindFirstChild("QuestTalkBtn")
- if questMsgFrame and questMsgFrame.Visible then
- canTrain = false
- end
- if questTalkBtn and questTalkBtn.Visible then
- canTrain = false
- end
- end
- if canTrain then
- RemoteEvent:FireServer({"Add_FS_Request"})
- end
- end
- end)
- wait(1.1)
- end
- end)
- end
- end
- })
- local MeditateToggle = FarmTab:CreateToggle({
- Name = "Meditate",
- CurrentValue = false,
- Flag = "Meditate",
- Callback = function(Value)
- MeditateEnabled = Value
- pcall(function()
- local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
- if Value then
- -- Inicia meditação
- RemoteEvent:FireServer({"Meditation_Request", true})
- _G.Meditating = true
- else
- -- Para meditação
- RemoteEvent:FireServer({"Meditation_Request", false})
- _G.Meditating = false
- end
- end)
- end
- })
- local PushUpToggle = FarmTab:CreateToggle({
- Name = "Push Up",
- CurrentValue = false,
- Flag = "PushUp",
- Callback = function(Value)
- PushUpEnabled = Value
- if Value then
- spawn(function()
- local RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
- while PushUpEnabled do
- pcall(function()
- if Character and Humanoid and Humanoid.Health > 0 then
- local canTrain = true
- local screenGui = Player.PlayerGui:FindFirstChild("ScreenGui")
- if screenGui then
- local questMsgFrame = screenGui:FindFirstChild("QuestMsgFrame")
- local questTalkBtn = screenGui:FindFirstChild("QuestTalkBtn")
- if questMsgFrame and questMsgFrame.Visible then
- canTrain = false
- end
- if questTalkBtn and questTalkBtn.Visible then
- canTrain = false
- end
- end
- if canTrain and not _G.Flying then
- RemoteEvent:FireServer({"+BT1"})
- end
- end
- end)
- wait(1.1) -- Cooldown baseado no script original
- end
- end)
- end
- end
- })
- local WeightToggle = FarmTab:CreateToggle({
- Name = "Weight",
- CurrentValue = false,
- Flag = "Weight",
- Callback = function(Value)
- WeightEnabled = Value
- pcall(function()
- local WeightFrame = Player.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("WeightFrame")
- WeightFrame.Visible = Value
- end)
- end
- })
- -- Tab 4: Security
- local SecurityTab = Window:CreateTab("Security", 4483362458)
- local AntiBanToggle = SecurityTab:CreateToggle({
- Name = "Anti-Ban",
- CurrentValue = false,
- Flag = "AntiBan",
- Callback = function(Value)
- AntiBanEnabled = Value
- if Value then
- local oldNamecall
- oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local method = getnamecallmethod()
- if method == "Kick" or method == "Ban" then
- return
- end
- return oldNamecall(self, ...)
- end)
- getgenv().AntiBanActive = true
- end
- end
- })
- local AntiKickToggle = SecurityTab:CreateToggle({
- Name = "Anti-Kick",
- CurrentValue = false,
- Flag = "AntiKick",
- Callback = function(Value)
- AntiKickEnabled = Value
- if Value then
- local mt = getrawmetatable(game)
- local oldIndex = mt.__index
- setreadonly(mt, false)
- mt.__index = function(self, index)
- if self == Player and index == "Kick" then
- return function() end
- end
- return oldIndex(self, index)
- end
- setreadonly(mt, true)
- end
- end
- })
- Rayfield:LoadConfiguration()
Advertisement
Add Comment
Please, Sign In to add comment