Mods Cs
Mods Cs
Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using System.Diagnostics.SymbolStore;
using Photon.Realtime;
using UnityEngine.XR;
using GorillaLocomotion;
using ExitGames.Client.Photon;
[Header("For LongArms")]
[SerializeField] private string handTag = "HandTag";
[SerializeField] private GameObject gorillaRig;
void Start()
{
void Update()
{
if (MosaSettings)
{
GorillaLocomotion.Player.Instance.maxJumpSpeed = 6f;
GorillaLocomotion.Player.Instance.jumpMultiplier = 2f;
}
if (hakpyBoost)
{
GorillaLocomotion.Player.Instance.maxJumpSpeed = 6.2f;
GorillaLocomotion.Player.Instance.jumpMultiplier = 2.5f;
}
if (TagFreeze)
{
GorillaLocomotion.Player.Instance.disableMovement = true;
}
if (NoTagFreeze)
{
GorillaLocomotion.Player.Instance.disableMovement = false; ;
}
if (Quit)
{
Application.Quit();
}
if (Disconnect)
{
PhotonNetwork.Disconnect();
}
if (BadQuality)
{
QualitySettings.masterTextureLimit = 999999999;
}
if (SlideControl)
{
GorillaLocomotion.Player.Instance.slideControl = 0.05f;
}
if (LoudHandTaps)
{
GorillaTagger.Instance.handTapVolume = 7f;
}
}
private void OnTriggerEnter(Collider other)
{
if (Longarms)
{
if (other.CompareTag(handTag))
{
gorillaRig.transform.localScale *= 1.35f;
}
}
}
}