Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local g = Instance.new("ScreenGui", p:WaitForChild("PlayerGui"))
- local f = Instance.new("Frame", g)
- f.Size = UDim2.new(0,250,0,180)
- f.Position = UDim2.new(0,20,0,100)
- f.BackgroundColor3 = Color3.fromRGB(25,25,25)
- f.Active = true f.Draggable = true
- local txt = {
- ttl = "Modded by Scriptbox",
- warn = "⚠️ Use delay 0.500s or more to avoid ban.",
- start = "Start",
- stop = "Stop",
- speed = "Enter delay (e.g. 0.10)",
- on = "[ON] Auto Keep Rare",
- off = "[OFF] Auto Keep Rare"
- }
- local t1 = Instance.new("TextLabel", f)
- t1.Size = UDim2.new(1,0,0,30)
- t1.Text = txt.ttl
- t1.BackgroundTransparency = 1
- t1.TextColor3 = Color3.new(1,1,1)
- t1.Font = Enum.Font.SourceSansBold
- t1.TextSize = 18
- local w = Instance.new("TextLabel", f)
- w.Position = UDim2.new(0,0,0,30)
- w.Size = UDim2.new(1,0,0,50)
- w.Text = txt.warn
- w.TextWrapped = true
- w.BackgroundTransparency = 1
- w.TextColor3 = Color3.fromRGB(255,200,0)
- w.TextSize = 14
- local b1 = Instance.new("TextButton", f)
- b1.Position = UDim2.new(0,10,0,90)
- b1.Size = UDim2.new(0,100,0,30)
- b1.Text = txt.start
- b1.BackgroundColor3 = Color3.fromRGB(0,170,0)
- b1.TextColor3 = Color3.new(1,1,1)
- b1.Font = Enum.Font.SourceSansBold
- b1.TextSize = 16
- local b2 = Instance.new("TextButton", f)
- b2.Position = UDim2.new(0,130,0,90)
- b2.Size = UDim2.new(0,100,0,30)
- b2.Text = txt.stop
- b2.BackgroundColor3 = Color3.fromRGB(170,0,0)
- b2.TextColor3 = Color3.new(1,1,1)
- b2.Font = Enum.Font.SourceSansBold
- b2.TextSize = 16
- local box = Instance.new("TextBox", f)
- box.Position = UDim2.new(0,10,0,130)
- box.Size = UDim2.new(0,220,0,25)
- box.PlaceholderText = txt.speed
- box.BackgroundColor3 = Color3.fromRGB(40,40,40)
- box.TextColor3 = Color3.new(1,1,1)
- box.Font = Enum.Font.SourceSans
- box.TextSize = 14
- local kb = Instance.new("TextButton", f)
- kb.Position = UDim2.new(0,10,0,160)
- kb.Size = UDim2.new(0,220,0,20)
- kb.Text = txt.off
- kb.BackgroundColor3 = Color3.fromRGB(60,60,60)
- kb.TextColor3 = Color3.new(1,1,1)
- kb.Font = Enum.Font.SourceSans
- kb.TextSize = 14
- local a = false
- _G.autoKeepEnabled = false
- local d = 0.10
- local sR = game:GetService("ReplicatedStorage"):FindFirstChild("L5_z%Q1!Rx_")
- local kR = game:GetService("ReplicatedStorage"):FindFirstChild("ConfirmAura")
- local rR = game:GetService("ReplicatedStorage"):FindFirstChild("G_93$$SDFjw_")
- b1.MouseButton1Click:Connect(function()
- local v = tonumber(box.Text)
- if v and v >= 0.1 then d = v else d = 0.1 end
- a = true while a do sR:FireServer() wait(d) end
- end)
- b2.MouseButton1Click:Connect(function() a = false end)
- kb.MouseButton1Click:Connect(function()
- _G.autoKeepEnabled = not _G.autoKeepEnabled
- if _G.autoKeepEnabled then
- kb.Text = txt.on
- kb.BackgroundColor3 = Color3.fromRGB(0,100,0)
- else
- kb.Text = txt.off
- kb.BackgroundColor3 = Color3.fromRGB(60,60,60)
- end
- end)
- local mt = getrawmetatable(game)
- setreadonly(mt, false)
- local old = mt.__namecall
- mt.__namecall = newcclosure(function(self, ...)
- local args = {...}
- if getnamecallmethod() == "FireServer" and self == rR and _G.autoKeepEnabled then
- local rate = tostring(args[2])
- local a,b = rate:match("(%d+)%s*/%s*(%d+)")
- if a and b and tonumber(a)/tonumber(b) then
- task.wait(0.3)
- kR:FireServer("keep")
- end
- end
- return old(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment