Ok the code is below and i tried if clone then that just didnt even do anything at all......
local Classes = game.ReplicatedStorage:WaitForChild("Classes")
local Baton = game.ReplicatedStorage.Classes.Brute.Baton
local RocketLauncher = game.ReplicatedStorage.Classes.Brute.RocketLauncher
local Shotgun = game.ReplicatedStorage.Classes.Brute.Shotgun
------------------------------------------------------------------
game.ReplicatedStorage.ShopBuy.OnServerEvent:Connect(function(player,Brute)
-------------------------------------------------------------------------
local clone = Classes.Brute:FindFirstChild(Shotgun):Clone()
if clone then
clone.Parent = player.Backpack
end
-------------------------------
local clone2 = Classes.Brute:FindFirstChild(Shotgun):Clone()
if clone2 then
clone2.Parent = player.StarterGear
------------------------------------------------------
local clone3 = Classes.Brute:FindFirstChild(RocketLauncher):Clone()
if clone3 then
clone3.Parent = player.Backpack
-------------------------------
local clone4 = Classes.Brute:FindFirstChild(RocketLauncher):Clone()
if clone4 then
clone4.Parent = player.StarterGear
--------------------------------------------------------
local clone5 = Classes.Brute:FindFirstChild(Baton):Clone()
if clone5 then
clone5.Parent = player.Backpack
-------------------------------
local clone6 = Classes.Brute:FindFirstChild(Baton):Clone()
if clone6 then
clone6.Parent = player.StarterGear
end
end
end
end
end
end)

1 comment
it givs the play a 3 tools from a kit