Need help with this script on my bungeecord server

  • 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.
Jul 29, 2022
1
0
1
23
on join:
set slot 0 of player to paper named "&8» &bServer&fVælger &8«"

on rightclick with a paper:
if name of tool of player is "&8» &bServer&fVælger &8«":
wait 3 ticks
open chest with 3 row named "&bServer&fVælger" to player
format slot 0 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 1 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 2 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 3 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 4 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 5 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 6 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 7 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 8 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 9 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 10 of player with 1 101 named "&2Prison" to run [execute player command "/server prison"]
format slot 13 of player with 1 Grass named "&2Survival" to run [execute player command "/server survival"]

There is no errors in script but when i try to use it in game its saying unknown command when i press on the grass and the iron bar
im using serverswitcher to switch between servers
 
on join:
set slot 0 of player to paper named "&8» &bServer&fVælger &8«"

on rightclick with a paper:
if name of tool of player is "&8» &bServer&fVælger &8«":
wait 3 ticks
open chest with 3 row named "&bServer&fVælger" to player
format slot 0 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 1 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 2 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 3 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 4 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 5 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 6 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 7 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 8 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 9 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 10 of player with 1 101 named "&2Prison" to run [execute player command "/server prison"]
format slot 13 of player with 1 Grass named "&2Survival" to run [execute player command "/server survival"]

There is no errors in script but when i try to use it in game its saying unknown command when i press on the grass and the iron bar
im using serverswitcher to switch between servers

if you used skript for the commands, maybe there's an error in that script causing it to not recognize them as commands
 
Status
Not open for further replies.