Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to move the default ROBLOX chat?

Asked by 6 years ago

I want to lower the default chat instead of having it be in the top left corner, but I'm not sure how to do this.

Is this possible, or would I have to make my own custom chat entirely?

2 answers

Log in to vote
2
Answered by
Sir_Melio 221 Moderation Voter
6 years ago
Edited by evaera 6 years ago

There's something called the Lua Chat System.

  1. Test-play your game
  2. Look in the Chat service in the Explorer and copy everything the game added there
  3. Exit test-play
  4. Paste them in the Chat service again
  5. Look into ClientChatModules > ChatSettings
  6. You should be able to edit various chat settings in there, including the position of the Chat window GUI

Hope this helped

0
I'm confused, do I copy the entire script or the folder it's in? Ramshackles 14 — 6y
0
Copy everything, and save the game with everything in it Sir_Melio 221 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

Hi Ram,

It's very simple to do what you're asking. Just locate the ChatUI inside of the player. Then, move that UI to wherever you want in the script. So, I'd make a .PlayerAdded event that does this when a player joins. Something like this:

ServerScript under ServerScriptService

local players = game:GetService("Players");

players.PlayerAdded:Connect(function(plr)
    local gui = plr:WaitForChild("PlayerGui"):WaitForChild("Chat"):WaitForChild("Frame");
    local desired_pos = UDim2.new(0, 0, 0.6, 0);

    gui.Position = desired_pos;
end)

Well, I hope I helped and have a nice day/night.

Thanks,

Best regards,

~~ KingLoneCat

0
-1: You should never be manipulating client UI from server code. When Experimental Mode is off (filtering enabled), this code doesn't even work, because the server does not have any access to client GUIs. evaera 8028 — 6y

Answer this question