How do I fix this.. Please Help

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

Congraz

Member
Oct 26, 2018
45
0
0
22
Hey, guys!

I don't know how to make this. I can't remember how.
At the 2 last lines, i want the Random Player in the Broadcast.

upload_2019-5-21_17-36-33.png
 
Try this:


Code:
command /randomdp:
    permission: admin.sk
    permission message: &4&lRad &cDu har ikke adgang til denne kommando.
    trigger:
        broadcast " "
        broadcast "&8[&4System&8] &7Der bliver delt randome ting ud til randome spillere!"
        broadcast " "
        wait 5 seconds
        set {randomplayer} to random player out of all players
        wait 1 tick
        give 3 nether star to {randomplayer}
        broadcast "&8[&4System&8] &7%{randomplayer}% {message}"
        stop

ADDONS:

- Skript
- SkQuery
- WildSkript
- SkRayfall
 
Status
Not open for further replies.