Solved the latter is not an item type

  • 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.

wgt'm;lkhwtr

Member
Feb 24, 2019
2
0
0
24
code:

every 1 second in world "world":
if {startTemple} is true:
set {startTemple} to false
message "A game on map temple is going to start in 30 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 20 seconds! join with /join temple"
wait 10 seconds
message "A game on map temple is going to start in 10 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 9 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 8 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 7 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 6 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 5 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 4 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 3 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 2 seconds! join with /join temple"
wait 1 second
message "A game on map temple is going to start in 1 seconds! join with /join temple"
set {templeRunning} to true
loop all players in world "world":
if {inGameTemple.%player%} is true:
teleport player to location at (-200, 4, 245)
send title "Wave 1" to player for 3 seconds
set block at location at (-199, 4, 264) to stonebrick
set block at location at (-200, 4, 264) to stonebrick
set block at location at (-201, 4, 264) to stonebrick
set block at location at (-199, 5, 263) to stonebrick
set block at location at (-200, 5, 263) to stonebrick
set block at location at (-201, 5, 263) to stonebrick
set block at location at (-199, 6, 262) to stonebrick
set block at location at (-200, 6, 262) to stonebrick
set block at location at (-201, 6, 262) to stonebrick

i get the error: a block an't be set to stonebrick because the latter is not an item type
 
Use stone brick instead of stonebrick
 
Status
Not open for further replies.