What do you want to achieve? I’m making a simple round based sword fighting game for a project.
-
What is the issue? When the round starts, I get my sword, but when the round ends the sword only dissapears if the sword is unequipped.
-
What solutions have you tried so far? None so far.
hasStarted.Changed:Connect(function()
if hasStarted.Value == true then
for _, player in pairs(game.Players:GetChildren()) do
local char = player.Character
char.HumanoidRootPart.CFrame = GameSpawn.CFrame
local sword = game.ServerStorage:FindFirstChild("ClassicSword")
local copy = sword:Clone()
copy.Parent = player.Backpack
end
else
for _, player in pairs(game.Players:GetChildren()) do
local char = player.Character
char.HumanoidRootPart.CFrame = LobbySpawn.CFrame
player.Backpack.ClassicSword:Destroy()
end
end
end)
Looking for a response!