explore
key systems
new
docs
discord
search scripts
⌘K
explore
key systems
new
docs
discord
sign in
⌘↵
--
publishes from anywhere on this page
new paste
untitled.luau
empty
/ 512kb
open file
⌘O
explore
key systems
new
docs
sign in
sea-trash-farm-keyless-copy.luau
326 lines · 9.6kb
/ 512kb
open file
⌘O
local P=game:GetService("Players") local LP=P.LocalPlayer local TS=game:GetService("TweenService") local UIS=game:GetService("UserInputService") local isF=false local delay=2 local root=nil local vis=true local function upd() local c=LP.Character or LP.CharacterAdded:Wait() root=c:WaitForChild("HumanoidRootPart") end upd() LP.CharacterAdded:Connect(upd) local cBg=Color3.fromRGB(14,14,16) local cPan=Color3.fromRGB(24,24,28) local cHov=Color3.fromRGB(36,36,42) local cStr=Color3.fromRGB(45,45,50) local cTxt=Color3.fromRGB(240,240,240) local cSub=Color3.fromRGB(140,140,150) local cGrn=Color3.fromRGB(65,190,100) local cDGrn=Color3.fromRGB(16,35,22) local cOrg=Color3.fromRGB(255,160,50) local gui=Instance.new("ScreenGui") gui.Name="TrashFarmerGui" gui.ResetOnSpawn=false gui.Parent=game.CoreGui local M=Instance.new("Frame") M.Size=UDim2.new(0,290,0,185) M.Position=UDim2.new(0.5,-145,0.5,-92) M.BackgroundColor3=cBg M.BorderSizePixel=0 M.Active=true M.Draggable=true M.Parent=gui local MC=Instance.new("UICorner") MC.CornerRadius=UDim.new(0,8) MC.Parent=M local MS=Instance.new("UIStroke") MS.Color=cStr MS.Thickness=1 MS.Parent=M local H=Instance.new("Frame") H.Size=UDim2.new(1,0,0,32) H.BackgroundColor3=cPan H.BorderSizePixel=0 H.Parent=M local HC=Instance.new("UICorner") HC.CornerRadius=UDim.new(0,8) HC.Parent=H local HF=Instance.new("Frame") HF.Size=UDim2.new(1,0,0.5,0) HF.Position=UDim2.new(0,0,0.5,0) HF.BackgroundColor3=cPan HF.BorderSizePixel=0 HF.Parent=H local T=Instance.new("TextLabel") T.Size=UDim2.new(1,-50,1,0) T.Position=UDim2.new(0,12,0,0) T.BackgroundTransparency=1 T.Text="Sea Trash Farmer" T.TextColor3=cTxt T.Font=Enum.Font.GothamMedium T.TextSize=13 T.TextXAlignment=Enum.TextXAlignment.Left T.RichText=false T.Parent=H local CB=Instance.new("TextButton") CB.Size=UDim2.new(0,24,0,24) CB.Position=UDim2.new(1,-28,0,4) CB.BackgroundColor3=Color3.fromRGB(40,40,45) CB.Text="X" CB.TextColor3=cSub CB.Font=Enum.Font.GothamBold CB.TextSize=12 CB.AutoButtonColor=false CB.RichText=false CB.Selectable=false CB.Parent=H local CC=Instance.new("UICorner") CC.CornerRadius=UDim.new(0,4) CC.Parent=CB local L=Instance.new("Frame") L.Size=UDim2.new(1,0,0,1) L.Position=UDim2.new(0,0,0,32) L.BackgroundColor3=cStr L.BorderSizePixel=0 L.Parent=M local Cr=Instance.new("TextLabel") Cr.Size=UDim2.new(0.5,0,0,15) Cr.Position=UDim2.new(1,-150,0,38) Cr.BackgroundTransparency=1 Cr.Text="by Vqelth" Cr.TextColor3=Color3.fromRGB(80,80,90) Cr.Font=Enum.Font.Gotham Cr.TextSize=10 Cr.TextXAlignment=Enum.TextXAlignment.Right Cr.RichText=false Cr.Parent=M local SD=Instance.new("Frame") SD.Size=UDim2.new(0,6,0,6) SD.Position=UDim2.new(0,14,0,46) SD.BackgroundColor3=cSub SD.Parent=M local SDC=Instance.new("UICorner") SDC.CornerRadius=UDim.new(1,0) SDC.Parent=SD local ST=Instance.new("TextLabel") ST.Size=UDim2.new(0.6,0,0,20) ST.Position=UDim2.new(0,26,0,40) ST.BackgroundTransparency=1 ST.Text="Idle" ST.TextColor3=cSub ST.Font=Enum.Font.Gotham ST.TextSize=11 ST.TextXAlignment=Enum.TextXAlignment.Left ST.RichText=false ST.Parent=M local TB=Instance.new("TextButton") TB.Size=UDim2.new(1,-28,0,36) TB.Position=UDim2.new(0,14,0,66) TB.BackgroundColor3=cDGrn TB.Text="" TB.AutoButtonColor=false TB.Selectable=false TB.Parent=M local TBC=Instance.new("UICorner") TBC.CornerRadius=UDim.new(0,6) TBC.Parent=TB local TBS=Instance.new("UIStroke") TBS.Color=cStr TBS.Thickness=1 TBS.Parent=TB local TV=Instance.new("Frame") TV.Size=UDim2.new(1,0,1,0) TV.BackgroundColor3=cPan TV.BorderSizePixel=0 TV.Parent=TB local TVC=Instance.new("UICorner") TVC.CornerRadius=UDim.new(0,6) TVC.Parent=TV local TT=Instance.new("TextLabel") TT.Size=UDim2.new(1,0,1,0) TT.BackgroundTransparency=1 TT.Text="Start" TT.TextColor3=cTxt TT.Font=Enum.Font.GothamBold TT.TextSize=12 TT.TextXAlignment=Enum.TextXAlignment.Center TT.RichText=false TT.Parent=TB local HT=Instance.new("TextLabel") HT.Size=UDim2.new(1,-28,0,20) HT.Position=UDim2.new(0,14,0,110) HT.BackgroundTransparency=1 HT.Text="Press [R] to break trash!" HT.TextColor3=cOrg HT.Font=Enum.Font.GothamBold HT.TextSize=12 HT.TextXAlignment=Enum.TextXAlignment.Center HT.RichText=false HT.TextTransparency=1 HT.Parent=M local DL=Instance.new("TextLabel") DL.Size=UDim2.new(0.5,0,0,30) DL.Position=UDim2.new(0,14,0,142) DL.BackgroundTransparency=1 DL.Text="Delay: 2.0s" DL.TextColor3=cSub DL.Font=Enum.Font.Gotham DL.TextSize=11 DL.TextXAlignment=Enum.TextXAlignment.Left DL.RichText=false DL.Parent=M local MiB=Instance.new("TextButton") MiB.Size=UDim2.new(0,30,0,30) MiB.Position=UDim2.new(1,-76,0,142) MiB.BackgroundColor3=cPan MiB.Text="-" MiB.TextColor3=cTxt MiB.Font=Enum.Font.GothamBold MiB.TextSize=14 MiB.AutoButtonColor=false MiB.RichText=false MiB.Selectable=false MiB.Parent=M local MiC=Instance.new("UICorner") MiC.CornerRadius=UDim.new(0,6) MiC.Parent=MiB local MiS=Instance.new("UIStroke") MiS.Color=cStr MiS.Thickness=1 MiS.Parent=MiB local PlB=Instance.new("TextButton") PlB.Size=UDim2.new(0,30,0,30) PlB.Position=UDim2.new(1,-40,0,142) PlB.BackgroundColor3=cPan PlB.Text="+" PlB.TextColor3=cTxt PlB.Font=Enum.Font.GothamBold PlB.TextSize=14 PlB.AutoButtonColor=false PlB.RichText=false PlB.Selectable=false PlB.Parent=M local PlC=Instance.new("UICorner") PlC.CornerRadius=UDim.new(0,6) PlC.Parent=PlB local PlS=Instance.new("UIStroke") PlS.Color=cStr PlS.Thickness=1 PlS.Parent=PlB local function hov(b,s,db,hb,ds,hs) b.MouseEnter:Connect(function() if b==TB and isF then return end TS:Create(b,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{BackgroundColor3=hb}):Play() if s then TS:Create(s,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{Color=hs}):Play() end end) b.MouseLeave:Connect(function() if b==TB and isF then return end TS:Create(b,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{BackgroundColor3=db}):Play() if s then TS:Create(s,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{Color=ds}):Play() end end) end hov(MiB,MiS,cPan,cHov,cStr,Color3.fromRGB(80,80,90)) hov(PlB,PlS,cPan,cHov,cStr,Color3.fromRGB(80,80,90)) hov(CB,nil,Color3.fromRGB(40,40,45),Color3.fromRGB(220,60,60),nil,nil) TB.MouseEnter:Connect(function() if not isF then TS:Create(TV,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{BackgroundColor3=cHov}):Play() TS:Create(TBS,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{Color=Color3.fromRGB(80,80,90)}):Play() end end) TB.MouseLeave:Connect(function() if not isF then TS:Create(TV,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{BackgroundColor3=cPan}):Play() TS:Create(TBS,TweenInfo.new(0.2,Enum.EasingStyle.Sine),{Color=cStr}):Play() end end) CB.MouseButton1Click:Connect(function() M.Visible=false vis=false end) UIS.InputBegan:Connect(function(i,g) if g then return end if i.KeyCode==Enum.KeyCode.RightShift then vis=not vis M.Visible=vis end end) local function find() if not root or not isF then return end local g=workspace:FindFirstChild("Game") if g then g=g:FindFirstChild("Map") end if g then g=g:FindFirstChild("ScrapPlatform") end if not g then return end local f=false for _,o in pairs(g:GetDescendants()) do if not isF then break end if o.Name=="Destructable" and o:IsA("BasePart") then if o.Transparency<1 and o.CanCollide then f=true ST.Text="Breaking... (Press R!)" ST.TextColor3=cGrn SD.BackgroundColor3=cGrn TS:Create(HT,TweenInfo.new(0.2),{TextTransparency=0}):Play() root.CFrame=CFrame.new(o.Position+Vector3.new(0,4,0)) task.wait(delay) local stillExists = false for _, objCheck in pairs(g:GetDescendants()) do if objCheck.Name=="Destructable" and objCheck:IsA("BasePart") and objCheck.Transparency<1 and objCheck.CanCollide then stillExists = true break end end if not stillExists then ST.Text="Searching..." ST.TextColor3=cSub SD.BackgroundColor3=cSub TS:Create(HT,TweenInfo.new(0.2),{TextTransparency=1}):Play() end break end end end if not f then ST.Text="Searching..." ST.TextColor3=cSub SD.BackgroundColor3=cSub TS:Create(HT,TweenInfo.new(0.2),{TextTransparency=1}):Play() task.wait(1.5) end end TB.MouseButton1Click:Connect(function() isF=not isF game:GetService("GuiService").SelectedCoreObject=nil if isF then TT.Text="Stop" ST.Text="Active" ST.TextColor3=cGrn SD.BackgroundColor3=cGrn TV.BackgroundColor3=cDGrn TT.TextColor3=cGrn TBS.Color=cGrn else TT.Text="Start" ST.Text="Idle" ST.TextColor3=cSub SD.BackgroundColor3=cSub TS:Create(HT,TweenInfo.new(0.2),{TextTransparency=1}):Play() TV.BackgroundColor3=cPan TT.TextColor3=cTxt TBS.Color=cStr end end) MiB.MouseButton1Click:Connect(function() if delay>0.5 then delay=delay-0.5 DL.Text=string.format("Delay: %.1fs",delay) end end) PlB.MouseButton1Click:Connect(function() delay=delay+0.5 DL.Text=string.format("Delay: %.1fs",delay) end) task.spawn(function() while task.wait(0.1) do if isF then pcall(find) end end end)