Making a group rank system into a team system

Hello! I have a ordering system (not made by me) and it has a rank script in it but I want it to be it by team and not rank.

My main issue is I got no clue how to.

– | SFS - Cafe Ordering | –
– | Written by RlGHTEOUS6795572660
– | Using ‘DraggableObject’ module by Spynaz

– | Below are customizable settings to make the menu individual | –
return {
–| System Settings |–
GroupId = 5122099, – | Your staff GroupId (e.g What group staff are in / your games group)
StaffRank = 12, – | The minimum rank users have to be to place orders
ItemCap = 5, – | This how many items a customer can order

FontSettings = {
	MainFont = Enum.Font.SourceSansLight, -- | This is the Font most text will be displayed in
	-- | If no MainFont is given, will default to SourceSansLight
	BoldFont = Enum.Font.SourceSansBold, -- | This is the Font that will be used for Bold objects (can be the same as MainFont)
	-- | If no BoldFont is given, will default to MainFont
},

ItemTracking = { -- | Tracks order, to make sure the item given to the customer is given by the staff member
	Strict = false, -- | If strict is enabled, the system will not accept the item having no previous parent (i.e created, and parented straight to customers backpack)
	Enabled = true, -- | Without strict, ItemTracking ensures Items have been placed in either a staff members backpack/character, or have no previous parent
}, 

Items = { -- | Put the items you have in your Cafe here
	Drinks = { -- | Now supports categories (Improves UI / User Experience)
		"Coffee",
		"Hot Chocolate",
		"Green Tea",
		"Smoothie",
		"Milkshake",
		"Juice",
		"Milk",
		"Water"
		
	},
	Food = { 
		"Pizza",
		"Taco",
		"Hot Dog",
		"Burger",
		"Pancakes"
	},
},

--| Logging Settings |--
OrderLog = { -- | Logs completed orders
	Prefix = ":", -- | Prefix for your command
	Command = "orderlogs", -- | Log command
	Enabled = true, -- | Enable or disable order logging
	Amount = 10, -- | Amount of orders saved at once in the log (time ordered)
	MinRank = 12, -- | Minimum rank to view order logs (uses same GroupId)
},

StaffData = { -- | ALlows managers to view how many orders individual staff have completed
	Prefix = ":", -- | Prefix for your command
	Command = "stafflogs", -- | Log command
	Enabled = true, -- | Enable or disable staff logging
	MinRank = 12, -- | Minimum rank to view staff logs (uses same GroupId) 
},

--| Points & Ordering |--

Points = {
	Enabled = false, -- | Enable or disable points
	DataKey = "_Points", -- | Default datastore key, changing this will reset all points saved, be careful
	AmountPerOrder = 1, -- | Amount of points per order completed
	PointsName = "Points", -- | Points leaderboard name
	StartingPoints = 1, -- | Default amount of points
},

--| Hand To System |--

--| Note: The way this ordering system is built allows the use of other HandTo tools;
--| as long as the item is added to the Player's backpack, however if you wish you may use the built in basic command system
GiveSystem = { 
	Enabled = false, 
	Prefix = ":",
	Command = "handto",
	MinRank = 0,
}

}

I have tryed team only guis but it wont work as its a script with a hidden gui.

Is there away to make this happen? If you need the full script of the link to the ordering system just ask and I will give it to you!

You should probably provide the full script so that someone can convert it for you, you didn’t really provide much context/details regarding your issue.

I put the script in now. Does that work?

Now what code have you written which requires this module script?

This is just a settings script, I need to see whatever other scripts you’re working with.

-- | SFS - Cafe Ordering | --
-- | Written by RlGHTEOUS6795572660
-- | Using ‘DraggableObject’ module by Spynaz

-- | Below are customizable settings to make the menu individual | --
return {
	--| System Settings |--
	GroupId = 5122099, -- | Your staff GroupId (e.g What group staff are in / your games group)
	StaffRank = 12, -- | The minimum rank users have to be to place orders
	ItemCap = 5, -- | This how many items a customer can order

	FontSettings = {
		MainFont = Enum.Font.SourceSansLight, -- | This is the Font most text will be displayed in
		-- | If no MainFont is given, will default to SourceSansLight
		BoldFont = Enum.Font.SourceSansBold, -- | This is the Font that will be used for Bold objects (can be the same as MainFont)
		-- | If no BoldFont is given, will default to MainFont
	},

	ItemTracking = { -- | Tracks order, to make sure the item given to the customer is given by the staff member
		Strict = false, -- | If strict is enabled, the system will not accept the item having no previous parent (i.e created, and parented straight to customers backpack)
		Enabled = true, -- | Without strict, ItemTracking ensures Items have been placed in either a staff members backpack/character, or have no previous parent
	}, 

	Items = { -- | Put the items you have in your Cafe here
		Drinks = { -- | Now supports categories (Improves UI / User Experience)
			"Coffee",
			"Hot Chocolate",
			"Green Tea",
			"Smoothie",
			"Milkshake",
			"Juice",
			"Milk",
			"Water"

		},
		Food = { 
			"Pizza",
			"Taco",
			"Hot Dog",
			"Burger",
			"Pancakes"
		},
	},

	--| Logging Settings |--
	OrderLog = { -- | Logs completed orders
		Prefix = ":", -- | Prefix for your command
		Command = "orderlogs", -- | Log command
		Enabled = true, -- | Enable or disable order logging
		Amount = 10, -- | Amount of orders saved at once in the log (time ordered)
		MinRank = 12, -- | Minimum rank to view order logs (uses same GroupId)
	},

	StaffData = { -- | ALlows managers to view how many orders individual staff have completed
		Prefix = ":", -- | Prefix for your command
		Command = "stafflogs", -- | Log command
		Enabled = true, -- | Enable or disable staff logging
		MinRank = 12, -- | Minimum rank to view staff logs (uses same GroupId) 
	},

	--| Points & Ordering |--

	Points = {
		Enabled = false, -- | Enable or disable points
		DataKey = "_Points", -- | Default datastore key, changing this will reset all points saved, be careful
		AmountPerOrder = 1, -- | Amount of points per order completed
		PointsName = "Points", -- | Points leaderboard name
		StartingPoints = 1, -- | Default amount of points
	},

	--| Hand To System |--

	--| Note: The way this ordering system is built allows the use of other HandTo tools;
	--| as long as the item is added to the Player's backpack, however if you wish you may use the built in basic command system
	GiveSystem = { 
		Enabled = false, 
		Prefix = ":",
		Command = "handto",
		MinRank = 0,
	}
}

Fixing the formatting.

Loader: – | Loader | –

– | NOTE: Do not change unless you know what you’re doing! (This starts the load process)

local mainSettings = require(script.Parent)
require(6804908251):Load(mainSettings)
script.Parent.Parent:Destroy()

Read me:

–[[

| SFS Ordering | 

| A customizable way to manage cafe / resturant ordering | 

SFS - Cafe Ordering is a package in order to improve the item ordering experience in Cafes / Restaurants.
This is a guide on how to use the script.
To change the settings for the script, use the Settings script, located in the same position in this script.
In the script you will find a bunch of settings available to change.

Unless you know what you are doing, please don't touch the loader script as this could cause the script to break.

Written by RlGHTEOUS 

Version: 1.1
x`
(Note: Large amount of items at a time may make Order Logs hard to read, working on a change to fix this issue)
(Note: ThumbnailCamera is used for the Model's thumbnail)

]]

Also here is the link to the dev forum post by the person who made it:SFS | Cafe & Restaurant Order System

1 Like

I didnt make it my kind sir. I just simply made a comment about some errors.

I copyed the URL to to the post, did not mean to put your comment.

1 Like