-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- lang: Lua, file: ftbz_rayfield.lua, target: Field Trip Z (Roblox) -- executor: Synapse X / KRNL / Fluxus / Arceus X -- Rayfield UI lib by Sirius -- ---- load Rayfield ---- local Rayfield = loadstring(game:HttpGet( "https://sirius.menu/rayfield" ))() local Players = game:GetService("Players") local RunService = game:GetService("RunService") local lp = Players.LocalPlayer local char = lp.Character or lp.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") local root = char:WaitForChild("HumanoidRootPart") lp.CharacterAdded:Connect(function(c) char = c hum = c:WaitForChild("Humanoid") root = c:WaitForChild("HumanoidRootPart") end) -- ---- state ---- local noclipOn = false local infConn = nil -- ---- touch / click / proxprompt ---- local function fireTouched(part) if firetouchinterest then firetouchinterest(root, part, 0) task.wait(0.04) firetouchinterest(root, part, 1) end if part:IsA("Model") then for _, p in ipairs(part:GetDescendants()) do if p:IsA("BasePart") or p:IsA("MeshPart") then if firetouchinterest then firetouchinterest(root, p, 0) task.wait(0.03) firetouchinterest(root, p, 1) end end end end end local function fireClick(part) local function tryCD(p) local cd = p:FindFirstChildOfClass("ClickDetector") if cd and fireclickdetector then fireclickdetector(cd) end end tryCD(part) if part.Parent then tryCD(part.Parent) end if part:IsA("Model") then for _, p in ipairs(part:GetDescendants()) do tryCD(p) end end end local function fireProx(part) local function tryPP(p) local pp = p:FindFirstChildOfClass("ProximityPrompt") if pp and fireproximityprompt then fireproximityprompt(pp) end end tryPP(part) if part:IsA("Model") then for _, p in ipairs(part:GetDescendants()) do tryPP(p) end end end -- ---- pickup with temp health lock ---- local function pickupObject(obj) local prev = root.CFrame local targetCF if obj:IsA("Model") and obj.PrimaryPart then targetCF = obj.PrimaryPart.CFrame elseif obj:IsA("BasePart") or obj:IsA("MeshPart") or obj:IsA("UnionOperation") then targetCF = obj.CFrame else return end -- temp health lock for duration of tp local tempConn if hum then hum.Health = hum.MaxHealth tempConn = hum.HealthChanged:Connect(function() hum.Health = hum.MaxHealth end) end pcall(function() root.CFrame = targetCF end) task.wait(0.06) pcall(function() fireTouched(obj) end) pcall(function() fireClick(obj) end) pcall(function() fireProx(obj) end) task.wait(0.06) pcall(function() root.CFrame = prev end) -- release temp lock unless inf health toggle is on task.wait(0.1) if tempConn and not infConn then tempConn:Disconnect() end end -- ---- item give ---- local function giveItem(itemName) local lower = itemName:lower() local found = false for _, obj in ipairs(workspace:GetDescendants()) do local n = obj.Name:lower() if n:find(lower) or lower:find(n) then if obj:IsA("BasePart") or obj:IsA("MeshPart") or obj:IsA("Model") or obj:IsA("UnionOperation") or obj:IsA("Tool") then pickupObject(obj) found = true end end end for _, obj in ipairs(game:GetDescendants()) do if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") then if obj.Name:lower():find(lower) then pcall(function() obj:FireServer() end) pcall(function() obj:FireServer(itemName) end) found = true end end end for _, obj in ipairs(game:GetDescendants()) do if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") then local n = obj.Name:lower() if n:find("give") or n:find("pickup") or n:find("item") or n:find("collect") or n:find("loot") or n:find("add") then pcall(function() obj:FireServer(itemName) end) pcall(function() obj:FireServer(lp.UserId, itemName) end) found = true end end end return found end -- ================================================================ -- WINDOW -- ================================================================ local Window = Rayfield:CreateWindow({ Name = "Field Trip Z", LoadingTitle = "Field Trip Z Cheat", LoadingSubtitle = "by goofymuffin", ConfigurationSaving = { Enabled = false }, Discord = { Enabled = false }, KeySystem = false, }) -- ================================================================ -- TAB 1 — MAIN -- ================================================================ local Main = Window:CreateTab("Main", "home") -- noclip Main:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "Noclip", Callback = function(state) noclipOn = state end, }) -- inf health Main:CreateToggle({ Name = "Infinite Health", CurrentValue = false, Flag = "InfHealth", Callback = function(state) if infConn then infConn:Disconnect(); infConn = nil end if state and hum then hum.Health = hum.MaxHealth infConn = hum.HealthChanged:Connect(function() hum.Health = hum.MaxHealth end) lp.CharacterAdded:Connect(function(c) local h = c:WaitForChild("Humanoid") h.Health = h.MaxHealth h.HealthChanged:Connect(function() h.Health = h.MaxHealth end) end) end end, }) -- noclip loop RunService.Stepped:Connect(function() if not char then return end if noclipOn then for _, p in ipairs(char:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = false end end end end) -- ================================================================ -- TAB 2 — ITEMS -- ================================================================ local Items = Window:CreateTab("Items", "package") local function makeButton(tab, itemName) tab:CreateButton({ Name = itemName, Callback = function() local ok = giveItem(itemName) Rayfield:Notify({ Title = itemName, Content = ok and "TP + click + touch fired" or "Not found in world", Duration = 3, }) end, }) end Items:CreateSection("Healing") for _, n in ipairs({"Bandage","Medkit","Donut","Golden Donut","Antidote","Burger"}) do makeButton(Items, n) end Items:CreateSection("Weapons") for _, n in ipairs({"Bat","Crowbar","Fish","Slingshot"}) do makeButton(Items, n) end Items:CreateSection("Keys") for _, n in ipairs({"Blue Key","Yellow Key","Bunker Key"}) do makeButton(Items, n) end Items:CreateButton({ Name = "Get All Items", Callback = function() local all = {} for _, t in ipairs({ {"Bandage","Medkit","Donut","Golden Donut","Antidote","Burger"}, {"Bat","Crowbar","Fish","Slingshot"}, {"Blue Key","Yellow Key","Bunker Key"} }) do for _, n in ipairs(t) do table.insert(all, n) end end for _, n in ipairs(all) do giveItem(n) task.wait(0.15) end Rayfield:Notify({ Title = "Get All Items", Content = "Ran all " .. #all .. " items", Duration = 4, }) end, }) -- ================================================================ -- TAB 3 — SETTINGS -- ================================================================ local Settings = Window:CreateTab("Settings", "settings") Settings:CreateLabel("Claude is so cool") Settings:CreateParagraph({ Title = "About", Content = "Field Trip Z util\nby goofymuffin", })