of     1   

Krentix
#215371628Wednesday, April 26, 2017 11:08 PM GMT

Hello. I am making three huge screens with a GUI on it, and I want the text on it to change if somebody speaks near the podium. I don't have very much scripting experience, so anything helps.
Krentix
#215497304Friday, April 28, 2017 7:54 PM GMT

bump
HumanXerxes
#215497503Friday, April 28, 2017 7:58 PM GMT

Here is a simple format: game.Players.PlayerAdded:connect(function(Player) Player.Chatted:connect(function(msg) if [Player is within a certain distance of the podium] then GUI.Text = msg end end) end)
Festivereinhard2
#215500425Friday, April 28, 2017 8:53 PM GMT

oh i have a full script for that. make sure you call the screen "Board" function onChatted(msg, recipient, speaker) local source = string.lower(speaker.Name) msg = tostring(msg) local ChatService = game:GetService("Chat") local filteredmessage=ChatService:FilterStringAsync(msg, speaker, speaker) local pos1 = script.Parent.Position local pos2 = speaker.Character.Head.Position dist=(pos1-pos2).magnitude dist=dist-math.max(math.max(speaker.Character.Head.Size.x, speaker.Character.Head.Size.z), speaker.Character.Head.Size.y) if (dist <= 2) then game.Workspace.Board.SurfaceGui.TextBox.Text = filteredmessage end end function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end game.Players.ChildAdded:connect(onPlayerEntered)
Krentix
#215508417Friday, April 28, 2017 10:55 PM GMT

^ I used that script, and after fixing a few errors, I got stopped at this specific one: 16:51:28.137 - Position is not a valid member of Workspace I added a part, and changed it to game.Workspace.Position in the local defining portion. Didn't do anything.
Krentix
#215509380Friday, April 28, 2017 11:11 PM GMT

bump
Disillusions
#215510279Friday, April 28, 2017 11:25 PM GMT

this is not script begging forum. you're lucky you got a script, work out how to use it yourself
Krentix
#215569257Saturday, April 29, 2017 5:30 PM GMT

And clearly you don't know what "begging" means.
Krentix
#215570803Saturday, April 29, 2017 5:53 PM GMT

I worked out the issue, but the script won't change the text, and it also is disabling Chat Filters. Any thoughts?
Krentix
#215591937Saturday, April 29, 2017 10:36 PM GMT

bump
Krentix
#215599950Sunday, April 30, 2017 12:30 AM GMT

bump
Krentix
#215860986Wednesday, May 03, 2017 5:50 PM GMT

bump again
Krentix
#215931630Thursday, May 04, 2017 9:24 PM GMT

bump
JoshRBX
#215931723Thursday, May 04, 2017 9:26 PM GMT

Festivereinhard2
#215938203Thursday, May 04, 2017 11:12 PM GMT

put the script inside a part...

    of     1