How to do checkpoints?Parkour Spawnpoint

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

LovelyDimon

Member
Sep 18, 2022
4
0
1
23
I want to do a checkpoint,when player is step on gold block,but chepoint dont work unlike sound and particle
Code:

on step on gold block:
player is in world "christmasWorld1"
play totem at player's location to the player
play sound "entity.experience_orb.pickup" with volume 5 to the player
set (spawn.%player%) to location of player


on player respawn:
if player's world is "christmasWorld1":
teleport player to (spawn.%player%)
else:
stop
 
Status
Not open for further replies.