BOXEY Posted May 5, 2021 Share Posted May 5, 2021 (edited) hello i am trying to make a skript to spawn the mob that the player types in and ineed to know how to set the mob to spawn to what they types and how to spawn it then here is my skript so far: command mob [<text>]: permission: {@permission} permission message: {@pm} usage: /spawn (mob) trigger: if arg-1 is not set: send "{@prefix} Please enter a mob" to player stop else: send "{@prefix} Summoning Mob of:" wait 15 ticks send "&7Mob: %arg-1%" set {mob::%uuid of player%} to arg-1 wait 15 ticks send "{@prefix} At your location" spawn {mob::%uuid of player%} at location of player help Edited May 5, 2021 by Boxmonkey stuff Link to comment Share on other sites More sharing options...
_Tarna_ Posted May 5, 2021 Share Posted May 5, 2021 You need to parse the variable as a mob since you are currently trying to spawn in text. Discord - Tarna256#8675 In-game name - _Tarna_ Follow @Tarna_256 on Twitter --------------------------------------------------------- [VIP] - 7/27/2020 Support - 7/8/20 | 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - now Moderator - 12/20/22 - now --------------------------------------------------------- Link to comment Share on other sites More sharing options...
BOXEY Posted May 5, 2021 Author Share Posted May 5, 2021 (edited) like this?? set ({mob::%uuid of player%} to arg-1) phased as mob @Tarnerd Edited May 5, 2021 by Boxmonkey Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now