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!
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'"
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
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 :)
Thank you so much!!!
amazing video
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 🎉🎉🎉
Thanks for your sharing, have a nice day ^_^
You're amazing dude!!!
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'"
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
YAY U BACK
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
is there a way to make it that when ur character runs sideways you look sideways while moving but lock on still works
thanks bro
what could i swap out or add to make the camera focus on the space between the 2 players instead of the other player?
Good tutorial
yoo bro, you might not see this comment but is there a way to change the code to include a shake?
also for the next video, can you make a tutorial for a phone, i kinda need one for a project
tysm
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?
Je t'aime
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?
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
the gui doesn't spawn for me, is there a way to fix it?
If my enemies humanoids are named something different like "EnemyHumanoid" what would I change to get it to work?
is there a way to make it instant when you get close to a player?
How do i make it so it happens automatically when near a humanoid?
does it work on players?
where do i put the lock on gui
can you make moblie support?
Does this work on top down camera
Yes it does but my camera shakes for some reason
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!
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?
dark souls
9 MORE SUBS UNTIL 1K
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