jeep2729 Posted August 11, 2021 Share Posted August 11, 2021 Hey, its me again. I was wondering if there was any skript code that allows you to zoom in with the spyglass zoom Idea: when player is shifting and holding right click and If player has a lead on there head (monocle) then It will zoom in with spyglass zoom I dont have a skript currently because idk where to start so please tell me if my idea is possible Link to comment Share on other sites More sharing options...
jeep2729 Posted August 11, 2021 Author Share Posted August 11, 2021 Idk if this is even possible Link to comment Share on other sites More sharing options...
Deflecto Posted August 12, 2021 Share Posted August 12, 2021 (edited) I'm not sure if this is a clientside animation for the zooming. It may be the case that the client determines when it zooms in, similar to how bows show a custom animation when you pull them. It's possible though for you to still create a zoom effect by applying slowness to the player. Here's my best alternative for the moment: options: monocle: lead named "§eMonocle" slowness: 4 on sneak toggle: player is not sneaking player's helmet is {@monocle} metadata "monocle" of player is not set set {_c} to true set metadata "monocle" of player to true while player is online: {_c} is false: remove slowness from player delete metadata "monocle" of player stop loop else: apply slowness {@slowness} without particles to player for 5 seconds set {_c} to false player is alive player's helmet is {@monocle} player is sneaking set {_c} to true wait 1 tick on right click on lead: item is {@monocle} cancel event set {_i} to 1 of item remove {_i} from player's inventory set player's helmet to {_i} Edited August 12, 2021 by Deflecto 1 Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 5 hours ago, Deflecto said: I'm not sure if this is a clientside animation for the zooming. It may be the case that the client determines when it zooms in, similar to how bows show a custom animation when you pull them. It's possible though for you to still create a zoom effect by applying slowness to the player. Wow nice! You are correct, the animations are clientside Link to comment Share on other sites More sharing options...
jeep2729 Posted August 12, 2021 Author Share Posted August 12, 2021 Is it possible to add pov/zoom without slowing down the player, My quest isnot the animation of the zoom, just make you zoom in even without a animation but thanks, it will work Link to comment Share on other sites More sharing options...
Lapzzo Posted August 12, 2021 Share Posted August 12, 2021 I dont think so, the slowness is the best option 1 Link to comment Share on other sites More sharing options...
jeep2729 Posted August 12, 2021 Author Share Posted August 12, 2021 thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now