I’m currently having an issue with the script that is supposed to execute a GUI when the command is used in the chat by anyone. I’m attempting to find all of the solutions, but they don’t seem to function for me as intended to. If I could be offered some assistance, it’d be appreciated to be taught something new from an experienced scripter.
Aim for this script:
- When a player states “.info me”, it privately shows them the GUI (which is located in StarterGui).
Here’s my current script:
plr = game.Players.LocalPlayer aim = game:GetService("StarterGui").ScreenGui:Clone().Parent == plr.playerGui plr.Chatted:Connect(function(message) if message == ".info me" then aim = true aim.Frame.Visible = true end end)
Is there a line that I’m doing inaccurately? If so, please inform me as I’d like to learn the basics.