0% found this document useful (0 votes)
20 views

Mods Cs

Uploaded by

b65dxy4nx2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Mods Cs

Uploaded by

b65dxy4nx2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

using System.

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;

public class Mods : MonoBehaviour


{
[Header("Made By Rezzy")]
[Header("=======================")]
[Header("Hella Mods And Stuff")]
[Header("=======================")]

public bool MosaSettings;


public bool hakpyBoost;
public bool TagFreeze;
public bool NoTagFreeze;
public bool Quit;
public bool Disconnect;
public bool BadQuality;
public bool SlideControl;
public bool Longarms;
public bool LoudHandTaps;

[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;
}
}
}
}

You might also like