heres my code please help also how can I fit ti
local storage = game.ReplicatedStorage
local ball = storage.Bowling_Ball
local ballman = ball:Clone()
local function clikc(play)
ballman.Name = "Ball"
ballman.Parent = game.Workspace
ballman.Handle.Position = Vector3.new(-40.38, 3.07, 4.736)
button.BrickColor = BrickColor.new("Bright red")
if button.BrickColor == "Bright red" then
ballman:Destroy()
else
ballman:Clone()
end
wait(3)
button.BrickColor = BrickColor.new("Bright green")
end
button.ClickDetector.MouseClick:Connect(clikc)
local function clicks(player)
ballman.Parent = player.Backpack
end
ballman.Handle.Clickdetector.MouseClick:Connect(clicks)`

2 comments
pls pls pls help pls
it means two scripts are trying to change the ball's parent at once, try adding a wait() where you set the parent of the ball