@Jaycbee05 it prints @imalex4 i dont know if it worked or not, cause i want to the player looks the block, for example:
attachment 1 (camera) is looking at attachment 2 (block) but by any reason the camera is floating and maybe aiming the block… like dragon ball rage, pressing a button the camera target a player.
i believe the issue here is that you are placing the local script with the way you made it in the Starterplayerscripts try placing it in the Startercharcterscripts instead
It didn’t prints something, but the issue that i got now is that the script is aiming the block but from the sky, and i want to the script aim the block form the player, like Dragon Ball Rage.
Ok, i found the issue, the problem is that you are setting the camera to Scriptable to early, i believe the Starterplayerscripts are one of the first to be Replicated into the player, so to fix your issue all you need to do is add a wait before you set it to Scriptable:
looks like it was aiming from the player to the block, what im meaning, that the player’s camera was at the same position as the character aiming the block, but when the player moves or the position of the block updates, stop aiming
EDIT: nevermind, it was at the sky too, just with another pos.
Since the character spawns in the sky (I assume you are just testing in Studio), the camera will also start in the sky. When the camera mode is set to Scriptable, the camera will stop following the player, even though the player is still falling.
But how i do that the camera follows the player? thats my question
EDIT: When i don’t use while true do, the camera position will be close from the baseplate, using while true do, the camera position will be at the sky
for a following one just change the camera type, eg camera.CameraType = Enum.Cameratype.Follow this explains a lot, follow means it will follow the player, I recommend setting it on the humanoid rather than character.