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…
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.
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.
Local Scripts would only work in either:
“StarterGui”,“ReplicatedFirst”,“StarterPlayerScripts”,“StarterCharacter” and then some other places
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.