Jump to content

Kitti_Chan

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Kitti_Chan

  1. 16 minutes ago, Elektrodes said:

    I would do a different method. I'm half checking the forums, so let me know if this works.

    
    on join:
    	wait 1 tick
    	while player is alive:
    		loop all players in radius 5 around player
    		if loop-player is alive:
    			apply poison 2 to loop-player for 5 seconds
    			apply nausea 2 to loop-player for 5 seconds

    It might not work, but I would work with doing a loop all players. 

    e it says it can't understand the condition/effect at line 4 and it says there's no loop that matches loop-player in line 5 so i tried changing it to loop-all instead and then it said there was no loop-player or loop-all aaaa

  2. So I'm trying to create a skript that'll give a player poison and nausea if they get too close to a player, but turns out what I did was outdated:

     

    on join:
    	wait 1 tick
    	while player is alive:
    		if players in radius of 5 of player is true:
    			apply nausea 2 to the player for 5 seconds
    			apply poison 2 to the player for 5 seconds
    		wait 1 second

    The error it gives me is  "Numeric ids are not supported anymore" in line 4 only. Anyone know how I can fix this? Thanks! IF THIS IS SUPPOSED TO BE IN A DIFFERENT FORMAT OR LOCATION PLEASE TELL ME, I'M NEW HERE!

×
×
  • Create New...