I'm trying to make a GUI admin for my friend's group, but I'm not 100% sure how to get something from a module script to a regular script. For example; Kohl's admin. I have part of my script to start it off, but I can't do much without getting the settings.
print("Admin loaded.")
repeat wait() until game.Players.LocalPlayer.Character
repeat wait() until game.Players.LocalPlayer.Character:IsDescendantOf(game.Workspace)
wait(1 / 20)
local GUI = script.Parent
--Not sure what to do next
I'm kind of a noob, so please go easy on me! :) Thanks if you can help.

2 comments
Hello! If you need to use a ModuleScript inside of a regular Script, you can use the function "require." For example, if the ModuleScript is called Admin in game.Workspace, in your regular script, you may write: local adminModule = require(game.Workspace.Admin)
https://wiki.roblox.com/index.php?title=API:Class/ModuleScript