Weeeoooooo Posted March 23, 2021 Share Posted March 23, 2021 (edited) so i made a dupe server but you can only do 50 dupes command dupe: trigger: if {dupecount::%player%} >= 50: send "&cYou cant dupe anymore use /limitdupe!" console command "pex user %player% add limit.dupe" #This is just another dupe if you want it say else if {dupecount::%player%} < 50: if player is holding barrier: send "You cant dupe a barrier lol" to player else if player is not holding barrier: give player player's tool add 1 to {dupecount::%player%} on join: if {dupecount::%player%} is not set: set {dupecount::%player%} to 0 #this has to be in to check if the dupe count is not set and it will set it to 0 if u dont put it, it wont work! Edited March 23, 2021 by Weeeoooooo uh i did it wrong 1 Link to comment Share on other sites More sharing options...
iiFlameYT Posted March 23, 2021 Share Posted March 23, 2021 2020 GO BRR put it in this Link to comment Share on other sites More sharing options...
_Tarna_ Posted March 23, 2021 Share Posted March 23, 2021 You now you don't need to set the variable to 0 on join for it to work. If you add 1 to a variable that is not set, it automatically gets set to 1. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
_omga Posted March 23, 2021 Share Posted March 23, 2021 "You now" If I helped you at all, leave a like! IGN: _omga Discord: omega#1000 Link to comment Share on other sites More sharing options...
Skript Posted March 23, 2021 Share Posted March 23, 2021 I don't understand the point of this skript? Link to comment Share on other sites More sharing options...
Weeeoooooo Posted March 23, 2021 Author Share Posted March 23, 2021 18 minutes ago, Skript said: I don't understand the point of this skript? its just a dupe skript where you can only do it 50 times Link to comment Share on other sites More sharing options...
Weeeoooooo Posted March 23, 2021 Author Share Posted March 23, 2021 21 minutes ago, _Tarna_ said: You now you don't need to set the variable to 0 on join for it to work. If you add 1 to a variable that is not set, it automatically gets set to 1. Na bro it will say <none> 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