This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new(require('discord.js').Client)().on('message',m=>m.content=='🏓'&&m.reply('🏓')).login('TOKEN'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var GameMode = com.hypixel.hytale.protocol.Gamemode; | |
var Player = com.hypixel.hytale.server.core.entity.entities.Player; | |
exports = { | |
onCollide : function(entity) | |
{ | |
if (entity instanceof Player) | |
{ | |
entity.setGameMode(GameMode.Adventure); // Sets the mode to adventure | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
util.AddNetworkString("SetRound") | |
util.AddNetworkString("DeclareWinner") | |
GM.RoundStage = 0 | |
GM.RoundCount = 0 | |
if GAMEMODE then | |
GM.RoundStage = GAMEMODE.RoundStage | |
GM.RoundCount = GAMEMODE.RoundCount | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class SkyboxRotator : MonoBehaviour | |
{ | |
[SerializeField] private float _rotationSpeed = 2f; | |
private Material _skybox; | |
void Start() | |
{ | |
_skybox = Instantiate(RenderSettings.skybox); |