ANPstore

BeFish Script

Jul 22nd, 2025 (edited)
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.80 KB | None | 0 0
  1. -- ONLY WORKS IN SPECIFIC GAME PLACE ID
  2. if game.PlaceId ~= 94503612388426 then return end
  3.  
  4. getgenv().SecureMode = true
  5. local Rayfield = loadstring(game:HttpGet("https://raw.githubusercontent.com/SiriusSoftwareLtd/Rayfield/main/source.lua"))()
  6.  
  7. -- Services
  8. local Players = game:GetService("Players")
  9. local LocalPlayer = Players.LocalPlayer
  10. local RunService = game:GetService("RunService")
  11. local Lighting = game:GetService("Lighting")
  12. local TeleportService = game:GetService("TeleportService")
  13. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  14. local SoundService = game:GetService("SoundService")
  15.  
  16. -- Settings
  17. local speedBoost = 30
  18. local speedBoostEnabled = true
  19. local noclip = false
  20. local connections = {}
  21. local currentFishForm = nil
  22. local lastValidPosition = nil
  23.  
  24. local tracerEnabled = false
  25. local espEnabled = false
  26. local espObjects = {}
  27.  
  28. -- 1. FIXED SPEED BOOST SYSTEM
  29. local speedConnection = nil
  30.  
  31. local function applySpeedBoost()
  32.     if speedConnection then speedConnection:Disconnect() end
  33.    
  34.     if speedBoostEnabled then
  35.         speedConnection = RunService.Heartbeat:Connect(function()
  36.             local character = LocalPlayer.Character
  37.             if character then
  38.                 local humanoid = character:FindFirstChildOfClass("Humanoid")
  39.                 if humanoid then
  40.                     humanoid.WalkSpeed = speedBoost
  41.                     humanoid:SetAttribute("WalkSpeed", speedBoost)
  42.                 end
  43.             end
  44.         end)
  45.     else
  46.         local character = LocalPlayer.Character
  47.         if character then
  48.             local humanoid = character:FindFirstChildOfClass("Humanoid")
  49.             if humanoid then
  50.                 humanoid.WalkSpeed = 16
  51.                 humanoid:SetAttribute("WalkSpeed", nil)
  52.             end
  53.         end
  54.     end
  55. end
  56.  
  57. -- 2. FISH TRANSFORM SYSTEM
  58. local function transformToFish(fishName)
  59.     local character = LocalPlayer.Character
  60.     if not character then return end
  61.    
  62.     currentFishForm = fishName
  63.     character:SetAttribute("FishForm", fishName)
  64.    
  65.     pcall(function()
  66.         for _, child in pairs(character:GetChildren()) do
  67.             if child:IsA("Model") and child.Name == "FishForm" then
  68.                 child:Destroy()
  69.             end
  70.         end
  71.        
  72.         local fishModel = ReplicatedStorage:FindFirstChild("FishModels") and ReplicatedStorage.FishModels:FindFirstChild(fishName)
  73.         if fishModel then
  74.             local newFish = fishModel:Clone()
  75.             newFish.Name = "FishForm"
  76.             newFish.Parent = character
  77.            
  78.             local humanoid = character:FindFirstChildOfClass("Humanoid")
  79.             if humanoid then
  80.                 humanoid:ApplyDescription(humanoid:GetAppliedDescription())
  81.             end
  82.         end
  83.     end)
  84. end
  85.  
  86. -- 3. NO CLIP SYSTEM
  87. local function applyNoClip(state)
  88.     if not LocalPlayer.Character then return end
  89.    
  90.     for _, conn in pairs(connections) do
  91.         conn:Disconnect()
  92.     end
  93.     connections = {}
  94.    
  95.     noclip = state
  96.    
  97.     if noclip then
  98.         local character = LocalPlayer.Character
  99.         local fish = character:FindFirstChild("FishForm")
  100.         if fish then currentFishForm = fish.Name end
  101.        
  102.         local conn1 = character:FindFirstChildOfClass("Humanoid").Died:Connect(function()
  103.             task.wait(1)
  104.             if noclip and currentFishForm then
  105.                 local newChar = LocalPlayer.Character
  106.                 if newChar then
  107.                     transformToFish(currentFishForm)
  108.                     applyNoClip(true)
  109.                 end
  110.             end
  111.         end)
  112.        
  113.         local conn2 = RunService.Stepped:Connect(function()
  114.             if LocalPlayer.Character then
  115.                 local rootPart = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  116.                 if rootPart then
  117.                     lastValidPosition = rootPart.Position
  118.                     for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
  119.                         if part:IsA("BasePart") then
  120.                             part.CanCollide = false
  121.                             part.Velocity = Vector3.new(0, 0, 0)
  122.                             part.RotVelocity = Vector3.new(0, 0, 0)
  123.                         end
  124.                     end
  125.                 end
  126.             end
  127.         end)
  128.        
  129.         table.insert(connections, conn1)
  130.         table.insert(connections, conn2)
  131.     else
  132.         if LocalPlayer.Character then
  133.             for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
  134.                 if part:IsA("BasePart") then
  135.                     part.CanCollide = true
  136.                 end
  137.             end
  138.         end
  139.     end
  140. end
  141.  
  142. -- 4. ANTI-LAG SYSTEM
  143. local function optimizedAntiLag()
  144.     local buildFolder = workspace:FindFirstChild("Build")
  145.     if buildFolder then pcall(function() buildFolder:Destroy() end) end
  146.    
  147.     local audioFolder = ReplicatedStorage:FindFirstChild("Audio")
  148.     if audioFolder then
  149.         pcall(function()
  150.             for _, sound in ipairs(audioFolder:GetDescendants()) do
  151.                 if sound:IsA("Sound") then
  152.                     sound:Stop()
  153.                     sound.Playing = false
  154.                     sound.Volume = 0
  155.                     sound:Destroy()
  156.                 end
  157.             end
  158.             audioFolder:Destroy()
  159.         end)
  160.     end
  161.    
  162.     pcall(function()
  163.         for _, sound in ipairs(SoundService:GetDescendants()) do
  164.             if sound:IsA("Sound") then
  165.                 sound:Stop()
  166.                 sound.Playing = false
  167.                 sound.Volume = 0
  168.             end
  169.         end
  170.     end)
  171.    
  172.     Lighting.GlobalShadows = false
  173.     Lighting.FogEnd = 9e9
  174.     Lighting.Brightness = 2
  175.    
  176.     for _, obj in ipairs(Lighting:GetChildren()) do
  177.         if obj:IsA("Sky") or obj:IsA("Atmosphere") or obj:IsA("Clouds") then
  178.             pcall(function() obj:Destroy() end)
  179.         end
  180.     end
  181.    
  182.     local blackSky = Instance.new("Sky", Lighting)
  183.     blackSky.SkyboxBk = "rbxassetid://1"
  184.     blackSky.SkyboxDn = "rbxassetid://1"
  185.     blackSky.SkyboxFt = "rbxassetid://1"
  186.     blackSky.SkyboxLf = "rbxassetid://1"
  187.     blackSky.SkyboxRt = "rbxassetid://1"
  188.     blackSky.SkyboxUp = "rbxassetid://1"
  189.    
  190.     Rayfield:Notify({
  191.         Title = "Anti-Lag Activated",
  192.         Content = "Build folder and audio files removed",
  193.         Duration = 3,
  194.         Image = 4483362458,
  195.     })
  196. end
  197.  
  198. -- 5. ESP SYSTEM
  199. local function updateESP()
  200.     for _, obj in pairs(espObjects) do
  201.         if obj then pcall(function() obj:Destroy() end) end
  202.     end
  203.     espObjects = {}
  204.    
  205.     if not (tracerEnabled or espEnabled) then return end
  206.    
  207.     for _, player in ipairs(Players:GetPlayers()) do
  208.         if player ~= LocalPlayer and player.Character then
  209.             local rootPart = player.Character:FindFirstChild("HumanoidRootPart")
  210.             local head = player.Character:FindFirstChild("Head")
  211.            
  212.             if rootPart and head then
  213.                 if tracerEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  214.                     local attachment0 = Instance.new("Attachment")
  215.                     attachment0.Name = "ESP_Attachment_"..player.Name
  216.                     attachment0.Parent = LocalPlayer.Character.HumanoidRootPart
  217.                    
  218.                     local attachment1 = Instance.new("Attachment")
  219.                     attachment1.Name = "ESP_Attachment_"..player.Name
  220.                     attachment1.Parent = rootPart
  221.                    
  222.                     local beam = Instance.new("Beam")
  223.                     beam.Attachment0 = attachment0
  224.                     beam.Attachment1 = attachment1
  225.                     beam.Color = ColorSequence.new(Color3.fromRGB(255, 100, 0))
  226.                     beam.Brightness = 10
  227.                     beam.Width0 = 0.2
  228.                     beam.Width1 = 0.2
  229.                     beam.Parent = attachment0
  230.                    
  231.                     table.insert(espObjects, attachment0)
  232.                     table.insert(espObjects, attachment1)
  233.                     table.insert(espObjects, beam)
  234.                 end
  235.                
  236.                 if espEnabled then
  237.                     local billboard = Instance.new("BillboardGui")
  238.                     billboard.Name = "ESP_NameTag_"..player.Name
  239.                     billboard.Size = UDim2.new(0, 100, 0, 40)
  240.                     billboard.AlwaysOnTop = true
  241.                     billboard.MaxDistance = 1000
  242.                     billboard.Parent = head
  243.                    
  244.                     local text = Instance.new("TextLabel")
  245.                     text.Size = UDim2.new(1, 0, 1, 0)
  246.                     text.BackgroundTransparency = 1
  247.                     text.TextColor3 = Color3.fromRGB(255, 255, 0)
  248.                     text.Text = player.Name
  249.                     text.TextScaled = true
  250.                     text.Font = Enum.Font.SourceSansBold
  251.                     text.TextStrokeTransparency = 0.5
  252.                     text.TextStrokeColor3 = Color3.new(0, 0, 0)
  253.                     text.Parent = billboard
  254.                    
  255.                     table.insert(espObjects, billboard)
  256.                 end
  257.             end
  258.         end
  259.     end
  260. end
  261.  
  262. -- MAIN LOOP
  263. local function mainLoop()
  264.     local character = LocalPlayer.Character
  265.     if not character then return end
  266.    
  267.     local humanoid = character:FindFirstChildOfClass("Humanoid")
  268.     local rootPart = character:FindFirstChild("HumanoidRootPart")
  269.    
  270.     if humanoid and rootPart then
  271.         if speedBoostEnabled then
  272.             humanoid.WalkSpeed = speedBoost
  273.             humanoid:SetAttribute("WalkSpeed", speedBoost)
  274.         end
  275.        
  276.         if lastValidPosition and (rootPart.Position - lastValidPosition).Magnitude > 50 then
  277.             rootPart.CFrame = CFrame.new(lastValidPosition)
  278.         else
  279.             lastValidPosition = rootPart.Position
  280.         end
  281.     end
  282.    
  283.     if tracerEnabled or espEnabled then
  284.         updateESP()
  285.     end
  286. end
  287.  
  288. -- Character Added Handler
  289. LocalPlayer.CharacterAdded:Connect(function(character)
  290.     task.wait(0.5)
  291.    
  292.     if speedBoostEnabled then applySpeedBoost() end
  293.     if noclip and currentFishForm then
  294.         transformToFish(currentFishForm)
  295.         applyNoClip(true)
  296.     end
  297. end)
  298.  
  299. -- Initialize
  300. RunService.Heartbeat:Connect(mainLoop)
  301.  
  302. -- ====================== GUI INTERFACE ====================== --
  303. local Window = Rayfield:CreateWindow({
  304.     Name = "🐠 Be Fish Cheat Menu",
  305.     LoadingTitle = "Loading Fish Cheats...",
  306.     LoadingSubtitle = "by TakayamaZhou",
  307.     ConfigurationSaving = {
  308.         Enabled = false,
  309.     },
  310.     KeySystem = false,
  311. })
  312.  
  313. -- Fish Tab
  314. local FishTab = Window:CreateTab("Fishing", 4483362458)
  315.  
  316. FishTab:CreateSection("Movement")
  317. FishTab:CreateSlider({
  318.     Name = "Speed Boost",
  319.     Range = {16, 100},
  320.     Increment = 1,
  321.     Suffix = "speed",
  322.     CurrentValue = speedBoost,
  323.     Flag = "SpeedSlider",
  324.     Callback = function(val)
  325.         speedBoost = val
  326.         if speedBoostEnabled then applySpeedBoost() end
  327.     end,
  328. })
  329.  
  330. FishTab:CreateToggle({
  331.     Name = "Enable Speed Boost",
  332.     CurrentValue = speedBoostEnabled,
  333.     Flag = "SpeedToggle",
  334.     Callback = function(val)
  335.         speedBoostEnabled = val
  336.         applySpeedBoost()
  337.         Rayfield:Notify({
  338.             Title = "Speed Boost "..(val and "Enabled" or "Disabled"),
  339.             Content = val and "Current speed: "..speedBoost or "Speed reset to default",
  340.             Duration = 3,
  341.             Image = 4483362458,
  342.         })
  343.     end
  344. })
  345.  
  346. FishTab:CreateSection("Player ESP")
  347. FishTab:CreateToggle({
  348.     Name = "Tracer ESP",
  349.     CurrentValue = tracerEnabled,
  350.     Flag = "TracerToggle",
  351.     Callback = function(val)
  352.         tracerEnabled = val
  353.     end
  354. })
  355.  
  356. FishTab:CreateToggle({
  357.     Name = "Name ESP",
  358.     CurrentValue = espEnabled,
  359.     Flag = "NameESPToggle",
  360.     Callback = function(val)
  361.         espEnabled = val
  362.     end
  363. })
  364.  
  365. -- Misc Tab
  366. local MiscTab = Window:CreateTab("Miscellaneous", 4483362458)
  367.  
  368. MiscTab:CreateSection("Visuals")
  369. MiscTab:CreateButton({
  370.     Name = "Optimize Game (Anti-Lag)",
  371.     Callback = function()
  372.         optimizedAntiLag()
  373.     end
  374. })
  375.  
  376. MiscTab:CreateSection("Character")
  377. MiscTab:CreateToggle({
  378.     Name = "NoClip Mode",
  379.     CurrentValue = noclip,
  380.     Flag = "NoClipToggle",
  381.     Callback = function(val)
  382.         noclip = val
  383.         applyNoClip(val)
  384.         Rayfield:Notify({
  385.             Title = "NoClip "..(val and "Enabled" or "Disabled"),
  386.             Content = val and "Fish form will be maintained" or "Collision restored",
  387.             Duration = 3,
  388.             Image = 4483362458,
  389.         })
  390.     end
  391. })
  392.  
  393. MiscTab:CreateButton({
  394.     Name = "Anti-AFK",
  395.     Callback = function()
  396.         for _, v in pairs(getconnections(LocalPlayer.Idled)) do
  397.             v:Disable()
  398.         end
  399.         Rayfield:Notify({
  400.             Title = "Anti-AFK Activated",
  401.             Content = "You won't be kicked for inactivity",
  402.             Duration = 3,
  403.             Image = 4483362458,
  404.         })
  405.     end
  406. })
  407.  
  408. -- Server Tab
  409. local ServerTab = Window:CreateTab("Server", 4483362458)
  410.  
  411. ServerTab:CreateSection("Server Controls")
  412. ServerTab:CreateButton({
  413.     Name = "Rejoin Server",
  414.     Callback = function()
  415.         TeleportService:Teleport(game.PlaceId, LocalPlayer)
  416.     end
  417. })
  418.  
  419. ServerTab:CreateButton({
  420.     Name = "Respawn Character",
  421.     Callback = function()
  422.         local char = LocalPlayer.Character
  423.         if char then char:BreakJoints() end
  424.     end
  425. })
  426.  
  427. ServerTab:CreateButton({
  428.     Name = "Change Server",
  429.     Callback = function()
  430.         TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
  431.     end
  432. })
  433.  
  434. -- Info Tab
  435. local InfoTab = Window:CreateTab("Information", 4483362458)
  436.  
  437. InfoTab:CreateSection("About")
  438. InfoTab:CreateLabel("Be Fish Cheat Menu v1.0")
  439. InfoTab:CreateLabel("Created by TakayamaZhou")
  440.  
  441. InfoTab:CreateSection("Links")
  442. InfoTab:CreateButton({
  443.     Name = "Join Discord Community",
  444.     Callback = function()
  445.         setclipboard("https://discord.gg/example")
  446.         Rayfield:Notify({
  447.             Title = "Discord Link Copied",
  448.             Content = "Community link copied to clipboard!",
  449.             Duration = 5,
  450.             Image = 4483362458,
  451.         })
  452.     end
  453. })
  454.  
  455. InfoTab:CreateButton({
  456.     Name = "Donate via PayPal",
  457.     Callback = function()
  458.         setclipboard("https://paypal.me/example")
  459.         Rayfield:Notify({
  460.             Title = "Donation Link Copied",
  461.             Content = "Thank you for your support!",
  462.             Duration = 5,
  463.             Image = 4483362458,
  464.         })
  465.     end
  466. })
  467.  
  468. -- Load the interface
  469. Rayfield:LoadConfiguration()
  470.  
  471. -- Initial notification
  472. Rayfield:Notify({
  473.     Title = "Cheat Menu Loaded",
  474.     Content = "All features are now available!",
  475.     Duration = 5,
  476.     Image = 4483362458,
  477. })
Tags: BETAtest
Advertisement
Add Comment
Please, Sign In to add comment