I want to learn how to make a snow shovel script and backpack, almost like bee swarm sim or snow shoveling sim, but this game will be private for my friends. This is the code I got:
local waitdur = 1.2 playing = false local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
script.Parent.Activated:connect(function() local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Shoveled) wait() if playing == false then playing = true attack:Play() wait(waitdur) playing = false attack:Stop() end end)
script.Parent.takeawaypart.Touched:connect(function(part) if playing == false then elseif playing == true then if part.Name == "snowpiece" and part.Digsleft.Value == 3 then part.Digsleft.Parent.Size = Vector3.new(4, 1.5, 4) wait(1) part.Digsleft.Value = 2
elseif part.Name == "snowpiece" and part.Digsleft.Value == 2 then
part.Digsleft.Parent.Size = Vector3.new(4, 1, 4)
wait(1)
part.Digsleft.Value = 1
elseif part.Name == "snowpiece" and part.Digsleft.Value == 1 then
part.Digsleft.Parent.Size = Vector3.new(4, .5, 4)
wait(1)
part.Digsleft.Value = 0
elseif part.Name == "snowpiece" and part.Digsleft.Value == 0 then
part.Digsleft.Parent.Size = Vector3.new(4, 0, 4)
wait(1)
part.Digsleft.Value = -1
end
end
end)
but I can't figure out how to make a backpack script or a basic "Sell snow at Frosty!" script. Someone please help.
(sorry for asking for scripts)

3 comments
Just play the carbon copy games from that game. treasure hunt simulator, woodcutting simulator, snow shoveling simulator, ghost hunt simulator, the list goes on and on.
Please put all of your code in a code block
Bump