Solved How can you give a player a custom splash potion with skript?

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

iTheMooster

Member
Jan 15, 2024
2
0
1
14
im trying to create a skript that gives you a splash potion of instant healing, but each time i try it doesnt work, heres the skript

give splash potion of instant healing with all flags hidden named "&7ʜᴇᴀʟɪɴɢ ᴘᴏᴛɪᴏɴ &6ᴄᴏɴsᴜᴍᴀʙʟᴇ <##F200FF>ᴍᴇᴅɪᴄ" with lore "&9ɪɴsᴛᴀɴᴛ ʜᴇᴀʟɪɴɢ <##7273FF>2" to player

the error that happens when it attempts to give this item is

'splash potion of instant healing with all flags hidden named "&7ʜᴇᴀʟɪɴɢ ᴘᴏᴛɪᴏɴ &6ᴄᴏɴsᴜᴍᴀʙʟᴇ <##F200FF>ᴍᴇᴅɪᴄ" with lore "&9ɪɴsᴛᴀɴᴛ ʜᴇᴀʟɪɴɢ <##7273FF>2"' cant be added to a player because the former is neither an item type an inventory nor an experience point
 
nevvvvvvvvvvvvvver mind!!!!!!!! i just figured it out 2 minutes after posting this, i dont even know how this always happens....

give splash potion of strong healing with all flags hidden named "&7ʜᴇᴀʟɪɴɢ ᴘᴏᴛɪᴏɴ &6ᴄᴏɴsᴜᴍᴀʙʟᴇ <##F200FF>ᴍᴇᴅɪᴄ" with lore "&9ɪɴsᴛᴀɴᴛ ʜᴇᴀʟɪɴɢ <##7273FF>2" to player (for anyone in the future also trying to figure it out.)