Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 20 Nov 2016 07:59 PM |
I'm aware there's a wiki tutorial on this but it's outdated and there are newer methods you have to use to filter strings and whatever. I've never tackled this, so can anyone point me in the right direction here?
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
|
| 20 Nov 2016 08:01 PM |
gui={"label","part","gui};
while true do chat=workspace.Chat; keyboard.KeyDown:connect(function(letters) table.insert(gui,Instance.new("TextLabel", gui); end
|
|
|
| Report Abuse |
|
|
FiredDusk
|
  |
| Joined: 18 May 2012 |
| Total Posts: 160 |
|
|
| 20 Nov 2016 08:02 PM |
| Hey, your videos helped me get to where I am today. I thank you for that too. But idk exactly what you are looking for but this video helped me out: https://www.youtube.com/watch?v=uoUfrm9ZUbI&list=LLd6NwFz8dX8mXihBXsrpRAQ&index=21&t=704s |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 20 Nov 2016 08:14 PM |
thx lotsofviolence you're the best
Hi, FiredDusk, I'm glad I could help you out :) Thanks for the link, but that video is over a year old so I'm not sure I trust it - I'll check it out though. New methods have been introduced since then, I think, that involve filtering the string on the server and I trust certain people here more than people on YouTube.
I don't need a full tutorial, just some advice I guess
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 20 Nov 2016 09:10 PM |
idk
b
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
|
| 20 Nov 2016 09:17 PM |
First you need to create the gui that you will use for the custom chat then get rid of the default roblox chat. After that make two stringValues in the workspace or wherever you want it one named PlayerName and the other Chat. Then make a localscript that every player will have. In the script program it so that when the Chat changes you will show what it says in the player's chat gui. And then make it so when a player says something in their chat gui it will change the value in the workspace. Also because the localscript is only looking for the chat value to change you will need to set the PlayerName value before you change the text in the Chat value otherwise when the localscript detects the change it might not always get what the PlayerName value is. this is only one way to do a custom chat Im sure there are other ways that might be more efficient but iv only done a custom chat like one time before and this is how I did it. I hope this helped and good luck
R$5,390 |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
|
| 20 Nov 2016 10:39 PM |
The basics I feel. Obviously A LOT more optimization.
need: TextBox ScrollingFrame
----client local function newChat() remoteevent:FireServer(TextBox.Text) end local function scroll() if(statement on positions)then --scroll this amount end end local function event(player,message) local a=Instance.new("TextLabel") a.Text=player..": "..message a.Parent=playergui end TextBox.FocusLost:connect(newChat) ScrollingFrame.ChildAdded:connect(scroll) remoteevent.OnClientEvent:connect(event) ----server function event(player,message) for _,p in next,game.Player:GetPlayers() do local str=chat:FilterStringAsync(message,player,p) remoteevent:FireClient(p,message) end end remoteevent.OnServerEvent:connect(event)
|
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 21 Nov 2016 02:43 PM |
mk
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2016 02:52 PM |
@Wrathsong What? Nothing would have changed since then, and the filtering method should be trivial to add. If you don't know how to, you shouldn't be trying to create something like this in the first place. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2016 02:53 PM |
| Oh my goodness just fire a remoteevent when somebody chats and then whenever they chat display it in everybody's GUI. |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 21 Nov 2016 03:18 PM |
https://www.youtube.com/playlist?list=PLatbVFCcsDB9JZE_1WQvmG0i4NrpNIybs
i didn't say i don't know how to use fe wtf
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 25 Nov 2016 02:58 PM |
thx
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow my twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|