u didn’t reference the value and try use
playBtn.MouseButton1Click:Connect(function()
onplay()
end)
u didn’t reference the value and try use
playBtn.MouseButton1Click:Connect(function()
onplay()
end)
where is the script that destroy the gui
can u send me the place so maybe i can easily to make it work
Oh just realized that this worked, thanks!
If the script’s relation to the ScreenGui is script.Parent.Parent
then you should destroy script.Parent.Parent
not script.Parent
.