Internal error has occured while trying to preform your command or smth

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

nrostochel

New Member
Apr 6, 2025
6
1
3
When I try to use the command there's Internal error has occured while trying to preform your command in chat or something I run 1.20.1 purpur server I think its the part with title and subtitle which I did with SkRayFall I use the latest version of it and please tell me how to make title and subtitle with skript not SkRayFall
 

Attachments

  • Tag (2).sk
    6.3 KB · Views: 22
First, when you have a question on how to do something please check the docs first
send title "Competition Started" with subtitle "Have fun, Stay safe!" to player for 5 seconds
 
When I try to use the command there's Internal error has occured while trying to preform your command in chat or something I run 1.20.1 purpur server I think its the part with title and subtitle which I did with SkRayFall I use the latest version of it and please tell me how to make title and subtitle with skript not SkRayFall
I agree with Meggy. You should check the docs. There's quite a few issues with your code, not only with sending titles/subtitles but readability issues. A lot of those problems can be resolved if you check the docs and do some research on how to optimize your code as currently, the code you have is pretty suboptimal.
 
This is A GUI I made to teleport player;s you can change the names and stuff I used skript and skbee on 1.21.4
ITS A GUI TO TELEPORT PLAYERS YOU CAN CHANGE IT:


command /setspawn:
permission: op
trigger:
set {_pitch} to player's pitch
set {_yaw} to player's yaw
set {spawn} to location at player
set {spawn}'s pitch to {_pitch}
set {spawn}'s yaw to {_yaw}
send "Spawn has been set to %{spawn}%" to player

command /menu:
trigger:
open shulker box with 3 rows named "&4Menu Gui" to player
wait 1 tick
set slot 13 of player's current inventory to paper named "&4Teleport to spawn" with lore "&6Teleport to spawn"

on inventory click:
if name of event-inventory is "&4Menu Gui":
cancel event
if index of event-slot is 13:
teleport player to {spawn}