Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

what does The Parent property of Ball is locked, current parent: NULL, new parent Workspace mean?

Asked by 3 years ago
Edited 3 years ago

heres my code please help also how can I fit ti ```local button = script.Parent 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)`

0
pls pls pls help pls biack1st 5 — 3y
0
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 OfficerBrah 494 — 3y

Answer this question