I making a round system that gives the player a tool when the round starts heres my code:
this is the round script: it is a script in ServerSciptService
local giveTool = game.ReplicatedStorage.givetool.Value
while true do
map = game.ReplicatedStorage.Maps.map1:Clone()
map.Parent = game.Workspace
giveTool = 1 -- Changes the value
wait(120) -- round time is 2 mins
map:Destroy()
map = game.ReplicatedStorage.Maps.map2:Clone
map.Parent = game.Workspace
giveTool = 0
wait(120)
map:Destroy()
end
ToolGiver script: it is a script in workspace:
game.ReplicatedStorage.givetool.Changed:Connect(function()
local tool = game.Lighting.tools.tool1:Clone()
tool.Parent = game.Players.LocalPlayer.Backpack
end)
What am i doing wrong? it wont give me the tool!

2 comments
If i wanted to delete the tool would i just put v.Backpack.tool:Destroy?
Yes.