Really Functional Machines

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

Yodaylay22

Member
Jul 24, 2018
15
1
3
USD
For a long time I'm looking for how I can make machines using any block, Example: Click on a glass and open a menu in gui with 2 slots, one you place block of coal and the other side goes out dusting ... I want is learn this logic ....

I would like someone to do this so I can learn


code_language.skript:
command /extremefurnace:
    trigger:
        if player is op:
            give bedrock named "&aMega fornalha" to player
            
on place a bedrock:
    
    if player is op:
        set {%event-location%.fur} to true
        set event-block to red stained clay
        
on rightclick on red stained clay:
    if {%event-location%.fur} is true:
        cancel event
        
        open furnace to the player
    
on break a red stained clay:
    if {%event-location%.fur} is true:
        drop 1 bedrock named "&aMega fornalha"
        delete {%event-location%.fur}
 

Attachments

  • machines.sk
    509 bytes · Views: 183