The script works perfectly fine when I play-test it, add a print("success")
inside the pcall
to see if the script is running at intended(also add another print on the top of the function to see if the event fires at all).
The script works perfectly fine when I play-test it, add a print("success")
inside the pcall
to see if the script is running at intended(also add another print on the top of the function to see if the event fires at all).