local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
local Players = cloneref(game:GetService("Players"))
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local backpackRemote = ReplicatedStorage:WaitForChild("BackpackRemote")
local ToolInstance = Character:FindFirstChildOfClass("Tool")
local Tool = ToolInstance and tostring(ToolInstance) or nil
Character:WaitForChild("Humanoid"):UnequipTools()
if Tool == nil then return end
task.wait(0.1)
spawn(function()
ReplicatedStorage.BackRemote:InvokeServer("Store", Tool)
end)
spawn(function()
ReplicatedStorage.BackRemote:InvokeServer("Store", Tool)
end)
spawn(function()
ReplicatedStorage.ListWeaponRemote:FireServer(Tool, 99999)
end)
spawn(function()
ReplicatedStorage.ListWeaponRemote:FireServer(Tool, 99999)
end)
task.wait(2.1)
local marketItem = ReplicatedStorage:FindFirstChild("MarketItems") and ReplicatedStorage.MarketItems:FindFirstChild(Tool)
local specialId = marketItem and marketItem:GetAttribute("SpecialId") or nil
spawn(function()
ReplicatedStorage.BuyItemRemote:FireServer(Tool, "Remove", specialId)
end)
spawn(function()
ReplicatedStorage.BuyItemRemote:FireServer(Tool, "Remove", specialId)
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: