Can Anyone Help Me With This Script When The Player Already Has The Sword He Can't Get It Again... Thanks!
local Players = game:GetService("Players")
local sword = game.ReplicatedFirst.ClassicSword
local debounce = false
local part = script.Parent
local function onTouched(part)
if not debounce then
debounce = true
local player = Players:GetPlayerFromCharacter(part.Parent)
if not player then return end
local backpack = player.Backpack
sword:Clone().Parent = backpack
delay(4, function()
debounce = false
end)
end
end
part.Touched:Connect(onTouched)
