UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 25 May 2013 02:17 AM |
script.Parent = Workspace.CurrentCamera function Talking(Text) if string.lower(string.sub(Text,1,2)) == "m/" then Message = Instance.new("Message") Message.Text = string.sub(Text,3) Message.Parent = Workspace Game:GetService("Debris"):AddItem(Message,3) end end Game.Players.LocalPlayer.Chatted:connect(Talking) Game.Players.LocalPlayer.Parent = nil
I know its a local script, but shouldnt it be making server side messages? |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 25 May 2013 02:42 AM |
Another thing I hate is when local scripts say somethings not a valid member of the script And Im like
IM LOOKING RIGHT FREAKING AT IT IN THE EXPLORER |
|
|
| Report Abuse |
|
|
|
| 25 May 2013 02:51 AM |
"Message.Parent = Workspace"
That'd do it. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 25 May 2013 02:53 AM |
| I did, its still local only (Local meaning client side) |
|
|
| Report Abuse |
|
|
|
| 25 May 2013 02:58 AM |
| I'm not sure why you think it'd be local. You're parenting it to the workspace. |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 25 May 2013 03:02 AM |
| I'd think its local because I can see it and no one else can |
|
|
| Report Abuse |
|
|
|
| 25 May 2013 03:28 AM |
| Oh, I misread the problem. Try putting the LocalScript somewhere else. Maybe the problem is that the Message was instanced from inside the camera. |
|
|
| Report Abuse |
|
|
|
| 25 May 2013 03:29 AM |
| Oh wait, nope, it's likely because your player no longer exists. There really is no reason to continue replicating the environment so the message probably doesn't get replicated to the server. |
|
|
| Report Abuse |
|
|
|
| 25 May 2013 03:44 AM |
| I will put the message into the player's PlayerGui, so only the player can see it. |
|
|
| Report Abuse |
|
|
Treshold
|
  |
| Joined: 01 Aug 2012 |
| Total Posts: 109 |
|
|
| 25 May 2013 04:30 AM |
Localscripts can only make local messages. I don't know why, but it has been like this for a long time :/ So if you want to make other people see the messages, use a normal script. |
|
|
| Report Abuse |
|
|