I have it so once you collide with a part, you will have the ball spawn.
local Red = game.Teams.Blue
local db = false
script.Parent.Touched:connect(function(hit)
if hit.Name == "Handle" then
local p = game.Players:GetPlayerFromCharacter(hit.Parent.Parent)
if p.Team == Red then
if db == false then
db = true
wait()
local newItem = game.ReplicatedStorage.Football:Clone()
newItem.Handle.CFrame = CFrame.new(-189.549, 1.5, -37.55)
newItem.Parent = workspace
newItem.Football.Name = "Handle"
wait(4)
db = false
end
end
end
end)
This only happens once and whenever I collide again it doesn't work...
