Hihi! I need assistance with a part and the void

Putting

repeat task.wait() until not workspace:FindFirstChild("ChallengePart")
game.Players.LocalPlayer.PlayerGui.PartChallenge.KILLTIMER.LocalScript.Enabled = false

doesn’t seem to do anything. No error, no nothing…

you could just do in a local script:

game.Workspace.ChildRemoved:Connect(function(part)
 if part.Name == "ChallengePart" then

 game.Players.LocalPlayer.PlayerGui.PartChallenge.KILLTIMER.LocalScript.Enabled = false

 end
end)

Oh crap, thank you! Lemme try this.

Nope, timer still kept going… Odd.

Did you put it in a local script?

Yup.
image

Where did u put the local script?

Workspace.

thats why local scripts dont work inside workspace lmao, put it in startergui

Awesome! It works. Thanks. For other help ,I’m gonna put the solution as kingbob’s code.

1 Like

Local Scripts would only work in either:

“StarterGui”,“ReplicatedFirst”,“StarterPlayerScripts”,“StarterCharacter” and then some other places

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.