@Beastcraft_Gaming You most likely read this post.
@iSyriux Adding onto Beastcraft_Gaming, you should use RunService.Stepped instead of wait().
wait()