HD Admin Commands Overview
HD Admin Commands Overview
HDAdminMain
local settings = [Link]
local module = {
-----------------------------------
{
Name = "commands";
Aliases = {"cmds"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Commands", "Commands"})
end;
--
};
-----------------------------------
{
Name = "morphs";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Commands", "Morphs"})
end;
--
};
-----------------------------------
{
Name = "donor";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Special", "Donor"})
end;
--
};
-----------------------------------
{
Name = "serverRanks";
Aliases = {"admins"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Admin", "Server Ranks"})
end;
--
};
-----------------------------------
{
Name = "ranks";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Admin", "Ranks"})
end;
--
};
-----------------------------------
{
Name = "banland";
Aliases = {"banlist"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Admin", "Banland"})
end;
--
};
-----------------------------------
{
Name = "logs";
Aliases = {"commandLogs"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local log = main:GetModule("cf"):GetLog("command", plr)
[Link]:FireClient(plr, {"commandLogs", log})
end;
--
};
-----------------------------------
{
Name = "chatLogs";
Aliases = {"clogs"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local log = main:GetModule("cf"):GetLog("chat", plr)
[Link]:FireClient(plr, {"chatLogs", log})
end;
--
};
-----------------------------------
{
Name = "info";
Aliases = {"about"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"About", "Info"})
end;
--
};
-----------------------------------
{
Name = "credits";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"About", "Credits"})
end;
--
};
-----------------------------------
{
Name = "updates";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"About", "Updates"})
end;
--
};
-----------------------------------
{
Name = "settings";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"Settings", "Custom"})
end;
--
};
-----------------------------------
{
Name = "prefix";
Aliases = {};
Prefixes = {[Link], [Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local prefix = [Link][speaker].Prefix
main:GetModule("cf"):FormatAndFireNotice(speaker, "InformPrefix",
prefix)
end;
--
};
-----------------------------------
{
Name = "clear";
Aliases = {"clr"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Clears all messages off your screen";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local prefix = [Link][speaker].Prefix
[Link]:FireClient(speaker)
end;
--
};
-----------------------------------
{
Name = "radio";
Aliases = {};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "COMING SOON";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
end;
--
};
-----------------------------------
{
Name = "getSound";
Aliases = {"getSong", "getMusic"};
Prefixes = {[Link]};
Rank = 0;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local sound = workspace:FindFirstChild("HDAdminSound")
if sound and [Link] then
local soundId = [Link]([Link], "%d+")
main:GetModule("cf"):FormatAndFireNotice(speaker,
"GetSoundSuccess", soundId)
pcall(function() [Link]:PromptPurchase(speaker,
tonumber(soundId)) end)
else
main:GetModule("cf"):FormatAndFireNotice(speaker, "GetSoundFail")
end
end;
--
};
-----------------------------------
-----------------------------------
{
Name = "cmdbar2";
Aliases = {"commandBar2"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommandToActivate = true;
--
};
-----------------------------------
{
Name = "refresh";
Aliases = {"re", "reset"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Clears all effects and loops from the player";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
for commandName, people in pairs([Link]) do
if people[plr] then
[Link][commandName][plr] = nil
end
end
local originalCFrame
local head = main:GetModule("cf"):GetHead(plr)
if head then
originalCFrame = [Link]
end
plr:LoadCharacter()
local head = [Link]:WaitForChild("Head")
if originalCFrame then
[Link] = originalCFrame
end
end;
--
};
-----------------------------------
{
Name = "respawn";
Aliases = {"res"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
plr:LoadCharacter()
end;
--
};
-----------------------------------
{
Name = "shirt";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
main:GetModule("MorphHandler"):ChangeProperty(plr, "Shirt", id)
end;
--
};
-----------------------------------
{
Name = "pants";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
main:GetModule("MorphHandler"):ChangeProperty(plr, "Pants", id)
end;
--
};
-----------------------------------
{
Name = "hat";
Aliases = {"accessory"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
main:GetModule("MorphHandler"):AddAccessory(plr, id)
end;
--
};
-----------------------------------
{
Name = "clearHats";
Aliases = {"clrHats", "clearAccessories", "clrAccessories", "removeHats",
"removeAccessories",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ClearAccessories(plr)
end;
--
};
-----------------------------------
{
Name = "face";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
main:GetModule("MorphHandler"):ChangeProperty(plr, "Face", id)
end;
--
};
-----------------------------------
{
Name = "invisible";
Aliases = {"invis",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if [Link] then
main:GetModule("cf"):SetTransparency([Link], 1)
end
end;
--
};
-----------------------------------
{
Name = "visible";
Aliases = {"vis",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if [Link] then
main:GetModule("cf"):SetTransparency([Link], 0)
end
end;
--
};
-----------------------------------
{
Name = "paint";
Aliases = {"color","colour",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Color"};
Function = function(speaker, args)
local plr = args[1]
local color = args[2]
if [Link] then
main:GetModule("MorphHandler"):ClearProperty(plr, "Shirt")
main:GetModule("MorphHandler"):ClearProperty(plr, "Pants")
main:GetModule("MorphHandler"):ChangeAllBodyColors(plr, color)
end
end;
--
};
-----------------------------------
{
Name = "material";
Aliases = {"mat","surface",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Material"};
Function = function(speaker, args)
local plr = args[1]
local material = args[2]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Material =
material})
end
end;
--
};
-----------------------------------
{
Name = "reflectance";
Aliases = {"ref","shiny"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Reflectance =
number})
end
end;
--
};
-----------------------------------
{
Name = "transparency";
Aliases = {"trans",};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Transparency =
number})
end
end;
--
};
-----------------------------------
{
Name = "glass";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Color =
[Link](255, 255, 255), Material = [Link], Transparency = 0.5})
end
end;
--
};
-----------------------------------
{
Name = "neon";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Color =
[Link](150, 150, 150), Material = [Link], Transparency = 0})
end
end;
--
};
-----------------------------------
{
Name = "shine";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Reflectance = 0,
Material = [Link], Transparency = 0.5})
end
end;
--
};
-----------------------------------
{
Name = "ghost";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Reflectance = 0,
Color = [Link](255, 255, 255), Material = [Link],
Transparency = 0.7})
end
end;
--
};
-----------------------------------
{
Name = "gold";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
main:GetModule("cf"):SetFakeBodyParts(char, {Reflectance = 0.5,
Color = [Link](255, 176, 0), Material = [Link],
Transparency = 0})
end
end;
--
};
-----------------------------------
{
Name = "jump";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = true
end
end;
--
};
-----------------------------------
{
Name = "sit";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = true
end
end;
--
};
-----------------------------------
{
Name = "bigHead";
Aliases = {"bhead"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):SetHeadMeshSize(plr, [Link](2,2,2))
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):SetHeadMeshSize(plr, [Link](1,1,1))
end;
--
};
-----------------------------------
{
Name = "smallHead";
Aliases = {"shead"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):SetHeadMeshSize(plr,
[Link](0.75,0.75,0.75))
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):SetHeadMeshSize(plr, [Link](1,1,1))
end;
--
};
-----------------------------------
{
Name = "potatoHead";
Aliases = {"phead"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
if head then
local mesh = head:FindFirstChildOfClass("SpecialMesh")
if mesh then
main:GetModule("MorphHandler"):ClearAccessories(plr)
[Link] = [Link]
end
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
if head then
local mesh = head:FindFirstChildOfClass("SpecialMesh")
if mesh then
[Link] = [Link]
end
end
end;
--
};
-----------------------------------
{
Name = "spin";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
if number == 0 then
number = 14
end
local head = main:GetModule("cf"):GetHead(plr)
if head then
local spin1 = head:FindFirstChild("HDAdminSpin1")
local spin2 = head:FindFirstChild("HDAdminSpin2")
if not spin1 then
spin1 = [Link]("BodyAngularVelocity")
[Link] = [Link](300000, 300000, 300000)
spin1.P = 300
[Link] = "HDAdminSpin1"
[Link] = head
spin2 = [Link]("BodyGyro")
[Link] = [Link](400000, 0, 400000)
spin2.D = 500
spin2.P = 300
[Link] = "HDAdminSpin2"
[Link] = head
end
[Link] = [Link](0,number,0)
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
if head then
local spin1 = head:FindFirstChild("HDAdminSpin1")
local spin2 = head:FindFirstChild("HDAdminSpin2")
if spin1 then
spin1:Destroy()
spin2:Destroy()
end
end
end;
--
};
-----------------------------------
{
Name = "poop";
Aliases = {"poo", "explosiveDiarrhoea"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
FireAllClients = true;
BlockWhenPunished = true;
Function = function(speaker, args)
wait(12)
end;
--
};
-----------------------------------
{
Name = "icecream";
Aliases = {"ic","clown"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
FireAllClients = true;
BlockWhenPunished = true;
Function = function(speaker, args)
wait(26)
end;
--
};
-----------------------------------
{
Name = "warp";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = true;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
Function = function(speaker, args)
wait(7.5)
end;
--
};
-----------------------------------
{
Name = "blur";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
ClientCommand = true;
--
};
-----------------------------------
{
Name = "hideGuis";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
--
};
-----------------------------------
{
Name = "showGuis";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
--
};
-----------------------------------
{
Name = "ice";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local itemName = "FreezeBlock"
local hrp = main:GetModule("cf"):GetHRP(plr)
if [Link][plr].Items[itemName] == nil and hrp then
local item = [Link]:Clone()
[Link] = [Link].."'s "..itemName
[Link] = false
[Link] = [Link]
[Link][plr].Items[itemName] = item
[Link] = workspace
local clone = main:GetModule("cf"):CreateClone([Link])
[Link] = [Link]
clone:SetPrimaryPartCFrame([Link])
[Link] = "FreezeClone"
[Link] = item
main:GetModule("cf"):AnchorModel(clone, true)
local faces = {2620487058, 258192246, 20909031, 147144198}
local faceId = faces[[Link](1,#faces)]
main:GetModule("MorphHandler"):ChangeFace(clone, faceId)
main:GetModule("Extensions"):SetupItem(plr, itemName)
end
end;
UnFunction = function(speaker, args)
main:GetModule("cf"):UnFreeze(args)
end;
--
};
-----------------------------------
{
Name = "thaw";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
main:GetModule("cf"):UnFreeze(args)
local plr = args[1]
if plr and [Link] then
main:GetModule("cf"):AnchorModel([Link], false)
end
end;
--
};
-----------------------------------
{
Name = "freeze";
Aliases = {"anchor"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if plr and [Link] then
main:GetModule("cf"):AnchorModel([Link], true)
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
if plr and [Link] then
main:GetModule("cf"):AnchorModel([Link], false)
end
end;
--
};
-----------------------------------
{
Name = "jail";
Aliases = {"jailCell","jc"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local itemName = "JailCell"
local head = main:GetModule("cf"):GetHead(plr)
if [Link][plr].Items[itemName] == nil and head then
local item = [Link][itemName]:Clone()
[Link] = [Link].."'s "..itemName
[Link] = [Link]
item:SetPrimaryPartCFrame([Link] * [Link](0,-0.2,0))
[Link][plr].Items[itemName] = item
[Link] = workspace
main:GetModule("Extensions"):SetupItem(plr, itemName)
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local itemName = "JailCell"
local item = [Link][plr].Items[itemName]
if item then
[Link][plr].Items[itemName] = nil
item:Destroy()
end
end;
--
};
-----------------------------------
{
Name = "forceField";
Aliases = {"ff"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):CreateEffect(plr, "ForceField")
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):RemoveEffect(plr, "ForceField")
end;
--
};
-----------------------------------
{
Name = "fire";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):CreateEffect(plr, "Fire")
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):RemoveEffect(plr, "Fire")
end;
--
};
-----------------------------------
{
Name = "smoke";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):CreateEffect(plr, "Smoke")
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):RemoveEffect(plr, "Smoke")
end;
--
};
-----------------------------------
{
Name = "sparkles";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):CreateEffect(plr, "Sparkles")
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):RemoveEffect(plr, "Sparkles")
end;
--
};
-----------------------------------
{
Name = "name";
Aliases = {"fakeName"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local text = args[2]
main:GetModule("cf"):CreateFakeName(plr, text)
end;
UnFunction = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
local fakeName = main:GetModule("cf"):GetFakeName(plr)
if head and fakeName then
fakeName:Destroy()
[Link] = 0
end
end;
--
};
-----------------------------------
{
Name = "hideName";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local text = ""
main:GetModule("cf"):CreateFakeName(plr, text)
end;
--
};
-----------------------------------
{
Name = "showName";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
local fakeName = main:GetModule("cf"):GetFakeName(plr)
if head and fakeName then
fakeName:Destroy()
[Link] = 0
end
end;
--
};
-----------------------------------
{
Name = "r15";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):ConvertCharacterToRig(plr, "R15")
end;
--
};
-----------------------------------
{
Name = "r6";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("cf"):ConvertCharacterToRig(plr, "R6")
end;
--
};
-----------------------------------
{
Name = "nightVision";
Aliases = {"nv"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
--
};
-----------------------------------
{
Name = "dwarf";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local size = 1
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale =
0.75*size, HeightScale = 0.5*size, WidthScale = 0.75*size, HeadScale = 1.4*size})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale = 1,
HeightScale = 1, WidthScale = 1, HeadScale = 1})
end;
--
};
-----------------------------------
{
Name = "giant";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local size = 3
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale =
0.75*size, HeightScale = 0.5*size, WidthScale = 0.65*size, HeadScale = 1.4*size})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale = 1,
HeightScale = 1, WidthScale = 1, HeadScale = 1})
end;
--
};
-----------------------------------
{
Name = "size";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local size = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale =
1*size, HeightScale = 1*size, WidthScale = 1*size, HeadScale = 1*size})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale = 1,
HeightScale = 1, WidthScale = 1, HeadScale = 1})
end;
--
};
-----------------------------------
{
Name = "bodyTypeScale";
Aliases = {"btScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {BodyTypeScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {BodyTypeScale =
0.3})
end;
--
};
-----------------------------------
{
Name = "depth";
Aliases = {"dScale", "depthScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {DepthScale = 1})
end;
--
};
-----------------------------------
{
Name = "headSize";
Aliases = {"headScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeadScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeadScale = 1})
end;
--
};
-----------------------------------
{
Name = "height";
Aliases = {"hScale", "heightScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeightScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeightScale = 1})
end;
--
};
-----------------------------------
{
Name = "hipHeight";
Aliases = {"hip"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = number
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
main:GetModule("MorphHandler"):UpdateHipHeight([Link])
end
end;
--
};
-----------------------------------
{
Name = "squash";
Aliases = {"flat", "flatten"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeightScale =
0.1})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {HeightScale = 1})
end;
--
};
-----------------------------------
{
Name = "proportion";
Aliases = {"pScale", "proportionScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {ProportionScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {ProportionScale =
1})
end;
--
};
-----------------------------------
{
Name = "width";
Aliases = {"wScale", "widthScale"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player", "Scale"};
Function = function(speaker, args)
local plr = args[1]
local number = args[2]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale =
number})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale = 1})
end;
--
};
-----------------------------------
{
Name = "fat";
Aliases = {"obese"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale = 2,
DepthScale = 1.5})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale = 1,
DepthScale = 1})
end;
--
};
-----------------------------------
{
Name = "thin";
Aliases = {"skinny"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
RequiresRig = [Link].R15;
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale = 0.2,
DepthScale = 0.2})
end;
UnFunction = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeProperties(plr, {WidthScale = 1,
DepthScale = 1})
end;
--
};
-----------------------------------
{
Name = "char";
Aliases = {"become"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "UserId"};
Function = function(speaker, args)
local plr = args[1]
local userId = args[2]
main:GetModule("MorphHandler"):BecomeTargetPlayer(plr, userId)
end;
UnFunction = function(speaker, args)
local plr = args[1]
local userId = [Link]
main:GetModule("MorphHandler"):BecomeTargetPlayer(plr, userId)
end;
--
};
-----------------------------------
{
Name = "morph";
Aliases = {};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Morph"};
Function = function(speaker, args)
local plr = args[1]
local morph = args[2]
if morph then
main:GetModule("MorphHandler"):Morph(plr, morph)
end
end;
--
};
-----------------------------------
{
Name = "view";
Aliases = {"watch","spectate"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
FireToSpeaker = true;
--
};
-----------------------------------
{
Name = "bundle";
Aliases = {"package"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
local bundleId = args[2]
main:GetModule("MorphHandler"):ApplyBundle(humanoid, bundleId)
end;
--
};
-----------------------------------
{
Name = "dino";
Aliases = {"TRex", "dinosaur"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
local bundleId = 458
main:GetModule("MorphHandler"):ClearAccessories(plr)
main:GetModule("MorphHandler"):ApplyBundle(humanoid, bundleId)
local head = main:GetModule("cf"):GetHead(plr)
if head then
local sound = [Link]("Sound")
[Link]:AddItem(sound, 5)
[Link] = "rbxassetid://177090631"
[Link] = head
[Link] = "DinoSound"
[Link] = 1.5
sound:Play()
end
wait(4)
end;
--
};
-----------------------------------
{
Name = "follow";
Aliases = {"join", "joinServer"};
Prefixes = {[Link]};
Rank = 1;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Teleports you to the specified player's server (if they are in
the same game as you).";
Contributors = {"ForeverHD"};
--
Args = {"UserId"};
Function = function(speaker, args)
local userId = args[1]
local success, errorMessage, _, placeId, jobId = pcall(function()
return game:GetService("TeleportService"):GetPlayerPlaceInstanceAsync(userId) end)
if success and placeId and jobId then
[Link]:TeleportToPlaceInstance(
placeId,
jobId,
speaker
)
else
local playerName = main:GetModule("cf"):GetName(userId)
main:GetModule("cf"):FormatAndFireError(speaker, "FollowFail",
tostring(playerName))
end
end;
--
};
-----------------------------------
-----------------------------------
{
Name = "fly2";
Aliases = {"flight2"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Speed"};
ClientCommandToActivate = true;
--
};
-----------------------------------
{
Name = "noclip";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Speed"};
ClientCommandToActivate = true;
--
};
-----------------------------------
{
Name = "noclip2";
Aliases = {"flight2"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Similar to the original noclip, however other clients can see
you whilst noclipping.";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Speed"};
ClientCommandToActivate = true;
--
};
-----------------------------------
{
Name = "clip";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
--
};
-----------------------------------
{
Name = "speed";
Aliases = {"ws", "walkSpeed"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Speed"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = args[2]
end
end;
--
};
-----------------------------------
{
Name = "jumpPower";
Aliases = {"jp"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = args[2]
end
end;
--
};
-----------------------------------
{
Name = "health";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
local newHealth = args[2]
if newHealth < 1 then
newHealth = 1
end
[Link] = newHealth
[Link] = newHealth
end
end;
--
};
-----------------------------------
{
Name = "heal";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = [Link]
end
end;
--
};
-----------------------------------
{
Name = "god";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = [Link]
[Link] = [Link]
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
[Link] = 100
[Link] = [Link]
end
end;
--
};
-----------------------------------
{
Name = "damage";
Aliases = {"dmg"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if humanoid then
humanoid:TakeDamage(args[2])
end
end;
--
};
-----------------------------------
{
Name = "kill";
Aliases = {"die", "commitNotAlive"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = true;
Tags = {"Abusive"};
Description = "Kills the player.";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
if char then
char:BreakJoints()
end
end;
--
};
-----------------------------------
{
Name = "teleport";
Aliases = {"tp"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
Teleport = true;
--
Args = {"Player", "Individual"};
Function = function(speaker, args)
local plrsToTeleport = args[1]
local targetPlr = args[2]
main:GetModule("cf"):TeleportPlayers(plrsToTeleport, targetPlr)
end;
--
};
-----------------------------------
{
Name = "bring";
Aliases = {"br"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
Teleport = true;
--
Args = {"Player", "Individual"};
Function = function(speaker, args)
local plrsToTeleport = args[1]
local targetPlr = args[2]
main:GetModule("cf"):TeleportPlayers(plrsToTeleport, targetPlr)
end;
--
};
-----------------------------------
{
Name = "to";
Aliases = {"br"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
Teleport = true;
--
Args = {"Player", "Individual"};
Function = function(speaker, args)
local plrsToTeleport = {speaker}
local targetPlr = args[1][1]
main:GetModule("cf"):TeleportPlayers(plrsToTeleport, targetPlr)
end;
--
};
-----------------------------------
{
Name = "apparate";
Aliases = {"ap", "skip"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Teleports the player x studs forward (8 default)";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Studs"};
Function = function(speaker, args)
local plr = args[1]
local studs = -((args[2] ~= 0 and args[2]) or 8)
local head = main:GetModule("cf"):GetHead(plr)
if head then
[Link] = [Link] * [Link](0,0,studs)
end
end;
--
};
-----------------------------------
{
Name = "talk";
Aliases = {"say", "speak"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local text = args[2]
local head = main:GetModule("cf"):GetHead(plr)
if head and #text > 0 then
[Link]:Chat(head, text, "White")
end
end;
--
};
-----------------------------------
{
Name = "bubbleChat";
Aliases = {"bchat"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommandToActivate = true;
--
};
-----------------------------------
{
Name = "control";
Aliases = {"hijak"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
--check 1st person from list
local plr = args[1]
if speaker ~= plr then
local speakerHead = main:GetModule("cf"):GetHead(speaker)
local plrHead = main:GetModule("cf"):GetHead(plr)
local itemName = "ControlPlr"
if [Link][speaker].Items[itemName] == nil and speakerHead then
local originalCFrame = [Link]
local item = [Link]("ObjectValue")
[Link] = [Link].."'s "..itemName
[Link] = plr
[Link][speaker].Items[itemName] = item
[Link] = workspace
local clone =
main:GetModule("cf"):CreateClone([Link])
[Link] = originalCFrame
[Link] = "FakePlayer"
[Link] = item
[Link] = true
main:GetModule("Extensions"):SetupItem(speaker, itemName)
--
if plrHead then
[Link] = [Link]
end
[Link]:FireClient(speaker,
{"bubbleChat"})
--
end
local itemName = "UnderControl"
if [Link][plr].Items[itemName] == nil then
local item = [Link]("ObjectValue")
[Link] = [Link].."'s "..itemName
[Link] = speaker
[Link][plr].Items[itemName] = item
main:GetModule("cf"):FormatAndFireNotice(plr,
"UnderControl", [Link])
main:GetModule("Extensions"):SetupItem(plr, itemName)
end
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local underControl = [Link][plr].Items["UnderControl"]
if underControl then
local controller = [Link]
if controller then
main:GetModule("cf"):RemoveControlPlr(controller)
end
main:GetModule("cf"):RemoveUnderControl(plr)
end
end;
--
};
-----------------------------------
{
Name = "handTo";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
if [Link] then
local plr = args[1]
local tool = [Link]:FindFirstChildOfClass("Tool")
if tool ~= nil then
tool:Clone().Parent = [Link]
[Link]:UnequipTools()
tool:Destroy()
end
end
end;
--
};
-----------------------------------
{
Name = "give";
Aliases = {"tool"};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Tools"};
Function = function(speaker, args)
local plr = args[1]
if [Link] then
local tools = args[2]
for i,v in pairs(tools) do
v:Clone().Parent = [Link]
end
end
end;
--
};
-----------------------------------
{
Name = "sword";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if [Link] then
[Link]:Clone().Parent = [Link]
end
end;
--
};
-----------------------------------
{
Name = "gear";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local gearId = args[2]
local pdata = [Link][plr]
if main:GetModule("cf"):FindValue([Link], gearId)
and pdata and [Link] < [Link] then
main:GetModule("cf"):FormatAndFireError(speaker, "GearBlacklist",
gearId)
return
end
local success, model = pcall(function()
return([Link]:LoadAsset(gearId)) end)
if success then
local tool = model:FindFirstChildOfClass("Tool")
if tool then
[Link] = [Link]
end
model:Destroy()
end
end;
--
};
-----------------------------------
{
Name = "explode";
Aliases = {};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local hrp = main:GetModule("cf"):GetHRP(plr)
if hrp then
local explosion = [Link]("Explosion")
[Link] = [Link]
[Link] = [Link]
[Link] = 0
[Link]:BreakJoints()
end
end;
--
};
-----------------------------------
{
Name = "title";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
SpecialColors = true;
--
Args = {"Player", "Text"};
Function = function(speaker, args, self)
local plr = args[1]
local color = [Link]
if not color then
color = [Link](255,255,255)
end
local text = args[2]
local head = main:GetModule("cf"):GetHead(plr)
if head then
local titleName = "HDAdminTitle"
local title = head:FindFirstChild(titleName)
if not title then
title = [Link]:Clone()
[Link] = titleName
[Link] = head
end
[Link] = text
[Link].TextColor3 = color
local h,s,v = [Link](color)
[Link].TextStrokeColor3 = [Link](h, s, v*0.2)
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
if head then
local title = head:FindFirstChild("HDAdminTitle")
if title then
title:Destroy()
end
end
end;
--
};
-----------------------------------
{
Name = "fling";
Aliases = {};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = true;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local speakerHrp = main:GetModule("cf"):GetHRP(speaker)
local plr = args[1]
local plrHrp = main:GetModule("cf"):GetHRP(plr)
local plrHumanoid = main:GetModule("cf"):GetHumanoid(plr)
if speakerHrp and plrHrp and plrHumanoid then
local flingDistance = [Link](14,20)
local speakerPos = [Link]
local plrPos = [Link]
local bodyPosition = [Link]("BodyPosition")
[Link] = [Link](10000000, 10000000, 10000000)
[Link] = "HDAdminFlingBP"
bodyPosition.D = 450
bodyPosition.P = 10000
if plr == speaker then
plrPos = ([Link] * [Link](0,0,-4)).p
end
local direction = (plrPos - speakerPos).Unit
[Link] = plrPos + [Link](direction.X, 1.4,
direction.Z) * flingDistance
--
local spin = [Link]("BodyAngularVelocity")
[Link] = [Link](300000, 300000, 300000)
spin.P = 300
[Link] = [Link](10, 10 ,10)
[Link] = "HDAdminFlingSpin"
[Link] = plrHrp
[Link]:AddItem(spin, 0.1)
--
[Link] = 0
[Link] = plrHrp
[Link]:AddItem(bodyPosition, 0.1)
for i = 1,30 do
[Link] = true
wait(0.1)
end
wait(1)
end
end;
--
};
-----------------------------------
{
Name = "clone";
Aliases = {};
Prefixes = {[Link]};
Rank = 2;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Creates a clone of the specified player";
Contributors = {"i_ncendiarism", "ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = [Link]
local hrp = main:GetModule("cf"):GetHRP(plr)
if hrp then
local clone = main:GetModule("cf"):CreateClone(char)
local humanoid = clone:WaitForChild("Humanoid")
[Link] =
[Link]
[Link] = 25
[Link] = 25
local cloneHrp = clone:WaitForChild("HumanoidRootPart")
[Link] = [Link] * [Link](0, 5, 0)
[Link] = [Link]
[Link] = [Link]
end
end;
};
-----------------------------------
----------------------------------- (3) ADMIN COMMANDS
-----------------------------------
{
Name = "clear";
Aliases = {"clr"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Clears all clones and inserted items in workspace";
Contributors = {"ForeverHD"};
--
Args = {};
Function = function(speaker, args)
[Link]:ClearAllChildren()
end;
};
-----------------------------------
{
Name = "insert";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
local assetId = args[1]
local success, model = pcall(function()
return([Link]:LoadAsset(assetId)) end)
local hrp = main:GetModule("cf"):GetHRP(speaker)
if success and hrp then
main:GetModule("cf"):Notice(speaker, "HD Admin", "Successfully
inserted asset: ".. assetId)
local modelSize = model:GetExtentsSize()
local part = [Link]("Part")
[Link] = true
[Link] = false
[Link] = 1
[Link] = modelSize
[Link] = model:GetModelCFrame()
[Link] = model
[Link] = part
[Link] = [Link]
model:SetPrimaryPartCFrame([Link] * [Link](0,
modelSize.Y/[Link].Y*1.5, modelSize.Z/2-4) * [Link](0,
[Link](180), 0))
else
main:GetModule("cf"):Error(speaker, "HD Admin", "Failed to load:
".. assetId..". Can only load Catalog items or assets owned by the game owner.")
end
end;
--
};
-----------------------------------
{
Name = "m";
Aliases = {"message"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
SpecialColors = true;
--
Args = {"Text"};
Function = function(speaker, args, self)
--
local mType = "Standard"
local mTitle = "Message from "..[Link]
local mSubTitle =
main:GetModule("cf"):GetRankName([Link][speaker].Rank)
local mDesc = args[1]
local mDescColor = [Link]
if not mDescColor then
mDescColor = [Link](255,255,255)
end
--
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {speaker, mType, mTitle,
mSubTitle, mDesc, mDescColor})
end
wait(main:GetModule("cf"):GetMessageTime(mDesc))
end;
--
};
-----------------------------------
{
Name = "serverMessage";
Aliases = {"sm", "smessage"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Text"};
Function = function(speaker, args)
--
local mType = "Server"
local mTitle = "Server Message"
local mSubTitle =
main:GetModule("cf"):GetRankName([Link][speaker].Rank)
local mDesc = args[1]
local mDescColor = [Link](255,255,255)
--
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {speaker, mType, mTitle,
mSubTitle, mDesc, mDescColor})
end
wait(main:GetModule("cf"):GetMessageTime(mDesc))
end;
--
};
-----------------------------------
{
Name = "serverHint";
Aliases = {"sh", "shint"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--f"
Args = {"Text"};
Function = function(speaker, args)
--
local hType = "Server"
local hDesc = "Server: "..args[1]
local hDescColor = [Link](255,255,255)
--
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {hType, hDesc, hDescColor})
end
wait(main:GetModule("cf"):GetMessageTime(hDesc))
end;
--
};
-----------------------------------
{
Name = "countdown";
Aliases = {"countdown1"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
--
local hType = "Countdown"
local hDesc = args[1]
local hDescColor = [Link](255,255,255)
--
if hDesc == 0 then
hDesc = 10
elseif hDesc < 1 then
hDesc = 1
end
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {hType, hDesc, hDescColor})
end
wait(hDesc+1)
end;
--
};
-----------------------------------
{
Name = "countdown2";
Aliases = {"countdownM"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
--
local mType = "Countdown"
local mDesc = args[1]
local mDescColor = [Link](255,255,255)
--
if mDesc == 0 then
mDesc = 10
elseif mDesc < 1 then
mDesc = 1
end
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {nil, mType, nil, mType,
mDesc, mDescColor})
end
wait(mDesc+1)
end;
--
};
-----------------------------------
{
Name = "notice";
Aliases = {"n"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local text = args[2]
[Link]:FireClient(plr, {"Notice", text})
end;
--
};
-----------------------------------
{
Name = "privateMessage";
Aliases = {"pm"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local message = args[2]
main:GetModule("cf"):PrivateMessage(speaker, plr, message)
end;
--
};
-----------------------------------
{
Name = "alert";
Aliases = {"warn"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local message = args[2]
[Link]:FireClient(plr, {"Alert from "..[Link],
message})
end;
--
};
-----------------------------------
{
Name = "tempRank";
Aliases = {"tRank"};
Prefixes = {[Link]};
Rank = 3;
RankLock = true;
Loopable = false;
Tags = {"Ranks"};
Description = "Ranks a player (until player leaves)";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Rank"};
Function = function(speaker, args)
return(main:GetModule("cf"):RankPlayerCommand(speaker, args, "Temp"))
end;
--
};
-----------------------------------
{
Name = "rank";
Aliases = {};
Prefixes = {[Link]};
Rank = 5;
RankLock = true;
Loopable = false;
Tags = {"Ranks"};
Description = "Ranks a player (for the given server)";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Rank"};
Function = function(speaker, args)
return(main:GetModule("cf"):RankPlayerCommand(speaker, args, "Server"))
end;
--
};
-----------------------------------
{
Name = "unRank";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = true;
Loopable = false;
Tags = {"Ranks"};
Description = "Sets the players rank to 0 (NonAdmin)";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
return(main:GetModule("cf"):Unrank(plr))
end;
--
};
-----------------------------------
{
Name = "music";
Aliases = {"sound", "audio"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
local soundId = args[1]
local soundName = "HDAdminSound"
local sound = workspace:FindFirstChild(soundName)
if not sound then
sound = [Link]("Sound")
[Link] = true
[Link] = soundName
[Link] = workspace
else
sound:Stop()
end
[Link] = 0.5
[Link] = 1
sound:ClearAllChildren()
local info = main:GetModule("cf"):GetProductInfo(soundId)
if [Link] ~= "null" and [Link] == 3 then
[Link] = "rbxassetid://"..soundId
sound:Play()
[Link]:FireAllClients{"Standard", "Now playing
'"..[Link].."' ("..soundId..")", [Link](255,255,255)}
return
else
[Link]:FireClient(speaker, {"Standard", "Invalid
SoundId", [Link](255,255,255)})
end
end;
UnFunction = function(speaker, args)
local sound = workspace:FindFirstChild("HDAdminSound")
if sound then
sound:Stop()
end
end
--
};
-----------------------------------
{
Name = "pitch";
Aliases = {"playbackSpeed"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
local number = args[1]
local sound = workspace:FindFirstChild("HDAdminSound")
if sound then
[Link] = number
end
end;
--
};
-----------------------------------
{
Name = "volume";
Aliases = {"loudness"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
local number = args[1]
local sound = workspace:FindFirstChild("HDAdminSound")
if sound then
[Link] = number
end
end;
--
};
-----------------------------------
{
Name = "buildingTools";
Aliases = {"btools"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"GigsD4X"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if [Link] then
for i,v in pairs([Link]:GetChildren())
do
v:Clone().Parent = [Link]
end
end
end;
--
};
-----------------------------------
{
Name = "chatColor";
Aliases = {"chatc"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Color"};
Function = function(speaker, args)
local plr = args[1]
local color = args[2]
[Link]:GetSpeaker([Link]):SetExtraData("ChatColor", color)
end;
UnFunction = function(speaker, args)
local plr = args[1]
local color = [Link](255,255,255)
[Link]:GetSpeaker([Link]):SetExtraData("ChatColor", color)
end;
--
};
-----------------------------------
{
Name = "sellGamepass";
Aliases = {"sell", "prompt"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
if id > 0 then
pcall(function()
[Link]:PromptGamePassPurchase(plr, id) end)
end
end;
--
};
-----------------------------------
{
Name = "sellAsset";
Aliases = {"sell2", "prompt2"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local id = args[2]
if id > 0 then
pcall(function() [Link]:PromptPurchase(plr, id)
end)
end
end;
--
};
-----------------------------------
{
Name = "team";
Aliases = {"joinTeam"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "TeamColor"};
Function = function(speaker, args)
local plr = args[1]
local teamColor = args[2]
if teamColor then
[Link] = teamColor
end
end;
--
};
-----------------------------------
{
Name = "change";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Stat", "String"};
Function = function(speaker, args)
local plr = args[1]
local statName = args[2]
local value = args[3]
local stat = main:GetModule("cf"):GetStat(plr, statName)
if stat then
if stat:IsA("IntValue") or stat:IsA("NumberValue") then
if tonumber(value) then
[Link] = value
end
else
[Link] = value
end
end
end;
--
};
-----------------------------------
{
Name = "add";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Stat", "Value"};
Function = function(speaker, args)
local plr = args[1]
local statName = args[2]
local value = args[3]
local stat = main:GetModule("cf"):GetStat(plr, statName)
if stat then
if stat:IsA("IntValue") or stat:IsA("NumberValue") and
tonumber(value) then
[Link] = [Link] + value
end
end
end;
--
};
-----------------------------------
{
Name = "subtract";
Aliases = {"sub"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Stat", "Value"};
Function = function(speaker, args)
local plr = args[1]
local statName = args[2]
local value = args[3]
local stat = main:GetModule("cf"):GetStat(plr, statName)
if stat then
if stat:IsA("IntValue") or stat:IsA("NumberValue") and
tonumber(value) then
[Link] = [Link] - value
end
end
end;
--
};
-----------------------------------
{
Name = "resetStats";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local leaderstats = plr:FindFirstChild("leaderstats")
if leaderstats then
for _,stat in pairs(leaderstats:GetChildren()) do
if stat:IsA("IntValue") or stat:IsA("NumberValue") then
[Link] = 0
elseif stat:IsA("BoolValue") then
[Link] = false
end
end
end
end;
--
};
-----------------------------------
{
Name = "time";
Aliases = {"clockTime","ct","timeOfDay", "tod"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
local number = args[1]
[Link] = number
end;
--
};
-----------------------------------
{
Name = "mute";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
[Link]:FireClient(plr,{"Chat", false})
end;
UnFunction = function(speaker, args)
local plr = args[1]
[Link]:FireClient(plr,{"Chat", true})
end;
--
};
-----------------------------------
{
Name = "kick";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = true;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Text"};
Function = function(speaker, args)
local plr = args[1]
local reason = args[2]
local kickMessage = "by ".. [Link].."\n\nReason: '"..reason.."'\
n"
if #reason < 1 then
kickMessage = "By: ".. [Link]
end
plr:Kick(kickMessage)
end;
--
};
-----------------------------------
{
Name = "place";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local placeId = args[2]
local placeInfo = main:GetModule("cf"):GetProductInfo(placeId)
local placeName = [Link]
if placeName then
main:GetModule("cf"):FormatAndFireNotice2(plr, "ClickToTeleport",
{"Teleport", placeId}, placeName, placeId)
else
--[Link]:FireClient(speaker, {"HD Admin", placeId.."
is an invalid placeId!"})
end
end;
--
};
-----------------------------------
{
Name = "punish";
Aliases = {};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
if plr and [Link] then
[Link] = nil
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
if plr and [Link] then
[Link] = workspace
end
end;
--
};
-----------------------------------
{
Name = "disco";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
EndDisco = [Link];
--
Args = {};
Function = function(speaker, args, self)
local propertiesToChange = {"Ambient", "OutdoorAmbient", "FogColor"}
local originalAmbients = {}
local running = true
local tween
local tweenInfo = [Link](1, [Link])
local targetHues = {3/3, 2/3, 1/3}
for i,v in pairs(propertiesToChange) do
originalAmbients[v] = [Link][v]
end
[Link](function()
while running do
for i = 1, #targetHues do
if not running then
break
end
local targetValue = targetHues[i]
local newPropValues = {}
for i,v in pairs(propertiesToChange) do
newPropValues[v] = [Link](targetValue,
1, 1)
end
tween = [Link]:Create([Link],
tweenInfo, newPropValues)
tween:Play()
[Link]:Wait()
end
end
end)()
[Link]:Wait()
running = false
tween:Cancel()
for propName, originalValue in pairs(originalAmbients) do
[Link][propName] = originalValue
end
end;
UnFunction = function(speaker, args, self)
[Link]:Fire()
end;
--
};
-----------------------------------
{
Name = "fogEnd";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
[Link]:Create([Link], [Link](2), {FogEnd =
args[1]}):Play()
end;
--
};
-----------------------------------
{
Name = "fogStart";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Number"};
Function = function(speaker, args)
[Link]:Create([Link], [Link](2), {FogStart =
args[1]}):Play()
end;
--
};
-----------------------------------
{
Name = "fogColor";
Aliases = {};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Color"};
Function = function(speaker, args)
[Link]:Create([Link], [Link](2), {FogColor =
args[1]}):Play()
end;
--
};
-----------------------------------
{
Name = "vote";
Aliases = {"poll"};
Prefixes = {[Link]};
Rank = 3;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the poll menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "Answers", "Question"};
Function = function(speaker, args)
local plrArg = args[1]
local answers = args[2]
local question = args[3]
[Link]:FireClient(speaker, {targetPlayer = plrArg,
server = "Current", answers = answers, question = question})
end;
--
};
-----------------------------------
{
Name = "lockPlayer";
Aliases = {"lockPlr", "lockp", "lock"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {""};
Description = "Locks all parts with the specified player.";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local char = plr and [Link]
if char then
for a,b in pairs(char:GetDescendants()) do
if b:IsA("BasePart") then
[Link] = true
end
end
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local char = plr and [Link]
if char then
for a,b in pairs(char:GetDescendants()) do
if b:IsA("BasePart") then
[Link] = false
end
end
end
end;
--
};
-----------------------------------
-----------------------------------
{
Name = "loadMap";
Aliases = {"restoreMap"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {""};
Description = "Restores the last saved copy of the map. Use ;saveMap to
backup a copy of the map. A default copy is saved at the start of the game.";
Contributors = {"ForeverHD"};
--
Args = {};
Function = function(speaker, args)
local mapBackup = [Link]:FindFirstChild("HDAdminMapBackup")
if mapBackup then
[Link]:FireAllClients{"Standard", "Restoring map...",
[Link](255,255,255)}
for a,b in pairs(workspace:GetChildren()) do
if not b:IsA("Terrain") and [Link] and [Link] ~= "HD
Admin" and not b:IsA("Script") and not [Link]:GetPlayerFromCharacter(b) then
b:Destroy()
end
end
local terrainBackup = [Link]
if terrainBackup then
local terrain = workspace:FindFirstChildOfClass("Terrain")
terrain:Clear()
terrain:PasteRegion(terrainBackup, [Link],
true)
end
local mapBackupClone = mapBackup:Clone()
[Link] = workspace
for a,b in pairs(mapBackupClone:GetChildren()) do
[Link] = workspace
end
mapBackupClone:Destroy()
[Link]:FireAllClients{"Standard", "Map successfully
restored!", [Link](255,255,255)}
end
end;
--
};
-----------------------------------
{
Name = "createTeam";
Aliases = {"cTeam"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {""};
Description = "Creates a new team";
Contributors = {"ForeverHD"};
--
Args = {"Color", "TeamName"};
Function = function(speaker, args)
local team = [Link]("Team")
[Link] = [Link](args[1])
[Link] = args[2]
[Link] = [Link]
end;
--
};
-----------------------------------
{
Name = "removeTeam";
Aliases = {"rTeam"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {""};
Description = "Removes an existing team";
Contributors = {"ForeverHD"};
--
Args = {"Team"};
Function = function(speaker, args)
local team = args[1]
if team then
team:Destroy()
end
end;
--
};
-----------------------------------
{
Name = "permRank";
Aliases = {"pRank"};
Prefixes = {[Link]};
Rank = 5;
RankLock = true;
Loopable = false;
Tags = {"Ranks"};
Description = "Ranks a player (permanently across all servers)";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Rank"};
Function = function(speaker, args)
return(main:GetModule("cf"):RankPlayerCommand(speaker, args, "Perm"))
end;
--
};
-----------------------------------
{
Name = "crash";
Aliases = {};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
local crash = [Link]:Clone()
[Link] = [Link]
[Link] = false
end;
--
};
-----------------------------------
{
Name = "forcePlace";
Aliases = {"fplace"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Number"};
Function = function(speaker, args)
local plr = args[1]
local placeId = args[2]
local placeInfo = main:GetModule("cf"):GetProductInfo(placeId)
local placeName = [Link]
if placeName then
[Link]:Teleport(args[2], plr)
else
--[Link]:FireClient(speaker, {"HD Admin", placeId.."
is an invalid placeId!"})
end
end;
--
};
-----------------------------------
{
Name = "shutdown";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {};
Function = function(speaker, args)
local kickMessage = "The server has been shutdown by "..[Link]
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {nil, "Shutdown", "Server
Shutdown", "", "Shutting down server...", [Link](255,255,255)})
end
wait(3)
for i, plr in pairs([Link]:GetChildren()) do
plr:Kick(kickMessage)
end
[Link]:Connect(function(plr)
plr:Kick(kickMessage)
end)
end;
--
};
-----------------------------------
{
Name = "serverLock";
Aliases = {"slock"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Locks the server for players lower than the given rank";
Contributors = {"ForeverHD"};
--
Args = {"Rank"};
Function = function(speaker, args)
local rank = args[1]
if rank < 1 or rank > 5 then
rank = 4
end
[Link] = rank
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {"Standard", "The server has
been locked for ranks below '".. main:GetModule("cf"):GetRankName(rank).."'",
[Link](255,255,255)})
end
end;
UnFunction = function(speaker, args)
[Link] = 0
for i, plr in pairs([Link]:GetChildren()) do
[Link]:FireClient(plr, {"Standard", "The server has
been unlocked", [Link](255,255,255)})
end
end;
--
};
-----------------------------------
{
Name = "ban";
Aliases = {};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the ban menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "Reason"};
Function = function(speaker, args)
local plrArg = [Link]:UpdateBanPlayerArg(speaker, args[1])
[Link]:FireClient(speaker, {targetPlayer = plrArg,
server = "Current", length = "Infinite", reason = args[2]})
end;
UnFunction = function(speaker, args)
local plrArg = args[1]
local banDetails = main:GetModule("cf"):GetBannedUserDetails(plrArg)
[Link]:FireClient(speaker, banDetails)
end;
--
};
-----------------------------------
{
Name = "directBan";
Aliases = {"dBan"};
Prefixes = {[Link]};
Rank = 4;
RankLock = true;
Loopable = false;
Tags = {};
Description = "Directly bans a player, instead of displaying the ban menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "Reason", "Details"};
Function = function(speaker, args, self, details)
local playerArg = args[1]
local _, targetPlayersArray, individual =
[Link]:ParseQualifier(playerArg, speaker, {}, true)
local userIdsToBan = {}
if individual then
local plrName = targetPlayersArray[1]
local userId = [Link]:GetUserId(plrName)
[Link](userIdsToBan, userId)
else
for i, plr in pairs(targetPlayersArray) do
[Link](userIdsToBan, [Link])
end
end
local speakerData = [Link][speaker]
local speakerRank = [Link]
for i, userId in pairs(userIdsToBan) do
if userId > 1 then
local reason = args[2]
local plr = [Link]:GetPlayerByUserId(userId)
local username = (plr and [Link]) or
[Link]:GetName(userId)
--
if not details then
details = {}
end
local server = [Link]
local length = [Link]
local lengthTime = [Link]
if server == nil then
server = "Current"
end
if length == nil then
length = "Infinite"
end
if lengthTime == nil then
lengthTime = "0m1h0d"
end
--
local totalTimeInSeconds = 0
lengthTime:gsub("%d+%a", function(c)
local d = tonumber(c:match("%d+"))
if d then
local timeType = c:match("%a")
local amount =
main:GetModule("cf"):GetTimeAmount(timeType, d)
totalTimeInSeconds = totalTimeInSeconds +
amount
end
return
end)
--
local plrData = [Link][plr]
local plrRank = [Link]
if plrData then
plrRank = [Link]
else
if userId ~= [Link] then
local success
success, plrData =
[Link]:GetData(speaker, 1, userId)
plrRank = plrData and tonumber([Link])
end
end
--
local errorStart = "Failed to ban "..username..": "
if totalTimeInSeconds < 1 and length ~= "Infinite" then
main:GetModule("cf"):FormatAndFireError(speaker,
"BanFailLength", errorStart)
elseif server ~= "Current" and [Link] ~= 0
and ([Link]["permban"] or
[Link]["pban"]) then
main:GetModule("cf"):FormatAndFireError(speaker,
"BanFailVIPServer", errorStart)
elseif server ~= "Current" and speakerData and
[Link] < [Link] then
main:GetModule("cf"):FormatAndFireError(speaker,
"BanFailAllServers")
elseif not plrRank then
main:GetModule("cf"):FormatAndFireError(speaker,
"BanFailDataNotFound", errorStart)
elseif speakerRank <= plrRank then
main:GetModule("cf"):FormatAndFireError(speaker,
"BanFailPermission", username)
else
local banTime = "Infinite"
if length == "Time" then
banTime = [Link]() + totalTimeInSeconds
end
local record = {
UserId = userId;
BanTime = banTime;
Reason = reason;
Server = server;
BannedBy = [Link];
}
if
main:GetModule("cf"):FindUserIdInRecord([Link], userId) or
main:GetModule("cf"):FindUserIdInRecord([Link], userId) then
main:GetModule("cf"):FormatAndFireError(speaker, "BanFailAlreadyBanned",
errorStart)
else
if server == "Current" then
[Link]([Link], record)
else
-----------------------------------
{
Name = "permBan";
Aliases = {"pBan"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the ban menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "Reason"};
Function = function(speaker, args)
local plrArg = [Link]:UpdateBanPlayerArg(speaker, args[1])
[Link]:FireClient(speaker, {targetPlayer = plrArg,
server = "All", length = "Infinite", reason = args[2]})
end;
UnFunction = function(speaker, args)
local plrArg = args[1]
local banDetails = main:GetModule("cf"):GetBannedUserDetails(plrArg)
[Link]:FireClient(speaker, banDetails)
end;
--
};
-----------------------------------
{
Name = "timeBan";
Aliases = {"tBan"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the ban menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "?m?h?d", "Reason"};
Function = function(speaker, args)
local plrArg = [Link]:UpdateBanPlayerArg(speaker, args[1])
[Link]:FireClient(speaker, {targetPlayer = plrArg,
server = "All", length = "Time", timeDetails = args[2], reason = args[3]})
end;
UnFunction = function(speaker, args)
local plrArg = args[1]
local banDetails = main:GetModule("cf"):GetBannedUserDetails(plrArg)
[Link]:FireClient(speaker, banDetails)
end;
--
};
-----------------------------------
{
Name = "globalAnnouncement";
Aliases = {"ga","broadcast"};
Prefixes = {[Link]};
Rank = 5;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Broadcasts a message to all servers.";
Contributors = {"ForeverHD"};
--
Args = {};
Function = function(speaker, args)
[Link]:FireClient(speaker, {"broadcast", {},
7})
end;
--
};
-----------------------------------
{
Name = "globalVote";
Aliases = {"gv", "gVote", "globalPoll", "gPoll", "gp"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the poll menu.";
Contributors = {"ForeverHD"};
--
Args = {"PlayerArg", "Answers", "Question"};
Function = function(speaker, args)
local plrArg = args[1]
local answers = args[2]
local question = args[3]
[Link]:FireClient(speaker, {targetPlayer = plrArg,
server = "All", answers = answers, question = question})
end;
--
};
-----------------------------------
{
Name = "globalAlert";
Aliases = {"gat", "gAlert"};
Prefixes = {[Link]};
Rank = 4;
RankLock = false;
Loopable = false;
Tags = {};
Description = "Displays the alert menu.";
Contributors = {"ForeverHD"};
--
Args = {"Text"};
Function = function(speaker, args)
local message = args[1]
[Link]:FireClient(speaker, {MenuName = "alertMenu",
Data = {targetPlayer = "all", server = "All", message = message}, TemplateId = 12})
end;
--
};
-----------------------------------
-----------------------------------
-----------------------------------
{
Name = "thanos";
Aliases = {};
Prefixes = {[Link]};
Rank = "Donor";
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local plr = args[1]
main:GetModule("MorphHandler"):ChangeAllBodyColors(plr,
[Link](167, 94, 155))
main:GetModule("MorphHandler"):ChangeProperty(plr, "Face", 173789324)--
1442002588)
main:GetModule("MorphHandler"):ChangeProperty(plr, "Shirt", 1729864201)
main:GetModule("MorphHandler"):ChangeProperty(plr, "Pants", 1539857193)
end;
--
};
-----------------------------------
{
Name = "headSnap";
Aliases = {"hs"};
Prefixes = {[Link]};
Rank = "Donor";
RankLock = false;
Loopable = false;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player", "Degrees"};
Function = function(speaker, args)
local plr = args[1]
local degrees = args[2]
local head = main:GetModule("cf"):GetHead(plr)
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if head and humanoid then
local neck = main:GetModule("cf"):GetNeck(plr)
if neck then
if [Link] == [Link].R6 then
neck.C0 = [Link]([Link].p) *
[Link](0,1,0) *
[Link]([Link](90),[Link](180),[Link](degrees))
else
neck.C0 = [Link]([Link].p) *
[Link](0,[Link]/1.7,0) * [Link](0,
[Link](degrees), 0)
end
end
end
end;
UnFunction = function(speaker, args)
local plr = args[1]
local head = main:GetModule("cf"):GetHead(plr)
local humanoid = main:GetModule("cf"):GetHumanoid(plr)
if head and humanoid then
local neck = main:GetModule("cf"):GetNeck(plr)
if neck then
if [Link] == [Link].R6 then
neck.C0 = [Link]([Link].p) *
[Link](0,1,0) * [Link]([Link](90),[Link](180),0)
else
neck.C0 = [Link]([Link].p) *
[Link](0,[Link]/1.7,0)
end
end
end
end;
--
};
-----------------------------------
{
Name = "fart";
Aliases = {};
Prefixes = {[Link]};
Rank = "Donor";
RankLock = false;
Loopable = true;
Tags = {};
Description = "";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
Function = function(speaker, args)
local farts = {154967038, 2663775994, 131314452, 340261128}
local fartVolumes = {0.5, 0.5, 0.2, 0.3}
local fartTimes = {0.5, 0.7, 1, 2}
local plr = args[1]
local hrp = main:GetModule("cf"):GetHRP(plr)
if hrp then
local fart = [Link]:Clone()
local fartId = [Link](1, #farts)
[Link] = hrp
[Link] = "rbxassetid://"..farts[fartId]
[Link] = fartVolumes[fartId]
[Link]:Play()
[Link] = true
wait(fartTimes[fartId])
[Link] = false
[Link]:AddItem(fart, 5)
end
end;
--
};
-----------------------------------
{
Name = "boing";
Aliases = {};
Prefixes = {[Link]};
Rank = "Donor";
RankLock = false;
Loopable = true;
Tags = {""};
Description = "Who does't love a good bit of yoga?";
Contributors = {"ForeverHD"};
--
Args = {"Player"};
ClientCommand = true;
FireAllClients = true;
Function = function(speaker, args)
wait(2)
end;
--
};
-----------------------------------
};
return module