I just want to point out, at least in the roblox model linked in the description, an error appears the first time you try to lock on when there's no target. This only happens the first time, because when your first attempt to lock onto something is actually successful, no error appears. The error doesn't actually seem to break anything, but I just though I'd point it out. And the error is: "Players.playerusername.PlayerGui.CombatGui.Handler.Camera:278: attempt to index nil with 'Disconnect'"
Nice video! Can you make a video about your dialogue system but make it work with functions? For example use it to open shops or accept quests through dialogues You’re awesome :)
Thanks man, you're an absolute life-saver! I wouldn't be able to make this well on my own, so the explanation of the code is really appreciated! Gonna learn a lot from you!
Hey teletacos, lately I've taken an interest into your Target Lock On script and while using it I noticed that once the target you locked onto dies then you have to press the lock on keybind a second time to deactivate it then press the keybind again to lock on to another target. I was wondering if you can take some time to help me figure out how to completely deactivate the lock on once the target dies without having to press the keybind again.
don't know if you still need this but in case anyone in the future does: in "camera" module script on line 218 after the line "local lineOfSight..." and before the line "if not lineOfSight then..." just throw in if target.Humanoid.health
Bro thanks i had no idea how this would work, i saw an issue though when i ran the lock on, my character phases into the floor, any fixes for this? @TeletacosRobloxTutorials
Hey thx do you know how i could add an icon to the lock on system so when i lock on and icon shows on the enemy pls
Yes and also when using it on certain tools for eg a combat system when you get knockback you flies away
I just want to point out, at least in the roblox model linked in the description, an error appears the first time you try to lock on when there's no target. This only happens the first time, because when your first attempt to lock onto something is actually successful, no error appears. The error doesn't actually seem to break anything, but I just though I'd point it out. And the error is: "Players.playerusername.PlayerGui.CombatGui.Handler.Camera:278: attempt to index nil with 'Disconnect'"
Nice video!
Can you make a video about your dialogue system but make it work with functions? For example use it to open shops or accept quests through dialogues
You’re awesome :)
Thanks man, you're an absolute life-saver! I wouldn't be able to make this well on my own, so the explanation of the code is really appreciated! Gonna learn a lot from you!
BIG CONGRATS ON 1000 SUBSCRIBERS 🎉🎉🎉
how to make mobile support for this please
Hello , i've found that if you spam the key E a few times your camera will get stuck in lock on
This could most likely be fixed by adding a simple debounce in the script, I apologize for the problem
You're amazing dude!!!
YAY U BACK
Thanks for your sharing, have a nice day ^_^
amazing video
wait, what is the weapon your sueing and can i have the tool with the script too?
is there a way to make it that when ur character runs sideways you look sideways while moving but lock on still works
the camera is too far or too close to the target and someotimes isnt even at the target
yoo bro, you might not see this comment but is there a way to change the code to include a shake?
what could i swap out or add to make the camera focus on the space between the 2 players instead of the other player?
For the dialogue system, it works perfectly in studio. However, the proximity prompt doesn't show up in game. Any ideas why this is happening?
would you record a video on how to make that a given player is killed by some player and that the admin can heal him under some command?
Thank you so much!!!
is there a way to make it instant when you get close to a player?
If my enemies humanoids are named something different like "EnemyHumanoid" what would I change to get it to work?
also for the next video, can you make a tutorial for a phone, i kinda need one for a project
the gui doesn't spawn for me, is there a way to fix it?
How do i make it so it happens automatically when near a humanoid?
Hey teletacos, lately I've taken an interest into your Target Lock On script and while using it I noticed that once the target you locked onto dies then you have to press the lock on keybind a second time to deactivate it then press the keybind again to lock on to another target. I was wondering if you can take some time to help me figure out how to completely deactivate the lock on once the target dies without having to press the keybind again.
don't know if you still need this but in case anyone in the future does:
in "camera" module script
on line 218
after the line "local lineOfSight..."
and before the line "if not lineOfSight then..."
just throw in
if target.Humanoid.health
@@Musashi444 tysm
ngl for me it just straight up doesnt work
where do i put the lock on gui
can you make moblie support?
Good tutorial
thanks bro
Wen i use it it just placed me in to the ground 😢
I found the error in the code, try to reimport the model and it should be fixed!
Je t'aime
does it work on players?
Does this work on top down camera
Yes it does but my camera shakes for some reason
tysm
How does targeting NPCs work since they don't have a HumanoidRootPart?
Add a HumanoidRootPart to them.
@@lowrhyan567 I tried, it still won't lock onto them unless I import a rig with a humanoid root part already in there
works on mobile?
9 MORE SUBS UNTIL 1K
dark souls
Didnt work, tried on r6 and r15 dummies
make sure it has a humanoidrootpart
@@coolbybys Even if you give the dummy a humanoidrootpart it still doesn't lock on to them. Only players
my brain broke trying to understand the code lol
Bro thanks i had no idea how this would work, i saw an issue though when i ran the lock on, my character phases into the floor, any fixes for this? @TeletacosRobloxTutorials
Hello one fix for this could be replacing the line 260, which is the PivotTo, to instead be character.HumanoidRootPart.Cframe = newCframe