PonyLuver
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 69 |
|
|
| 02 Jul 2012 09:15 PM |
| I really need help. Could someone please demonstrate how to make a Message appear only to the player who touched a brick? |
|
|
| Report Abuse |
|
|
belial52
|
  |
| Joined: 10 Oct 2009 |
| Total Posts: 8074 |
|
|
| 02 Jul 2012 09:22 PM |
What is this touched script you speak of?
By the way everyone, I'm just firing up the grill, no warning. |
|
|
| Report Abuse |
|
|
PonyLuver
|
  |
| Joined: 01 Apr 2010 |
| Total Posts: 69 |
|
|
| 02 Jul 2012 09:30 PM |
| Like when a humanoid/player touches a brick a message [msg] pops up saying something and lasts 4 seconds then goes away. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 05:24 AM |
| Use a LocalScript instead of a Script. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 05:31 AM |
local deb = false
part.Touched:connect(function(p) deb = true if game:GetService("Players")[p.Parent.Name] and deb then local msg = Instance.new("Message", workspace) msg.Text = "Hai thar" wait(4) msg:Destroy() deb = false else deb = false print("No h4x found") end end)
|
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 03 Jul 2012 08:04 AM |
| lol ur code is going to errrorrr when something not a player touches iit |
|
|
| Report Abuse |
|
|
belial52
|
  |
| Joined: 10 Oct 2009 |
| Total Posts: 8074 |
|
|
| 03 Jul 2012 09:01 AM |
da bst wy to do tchd scrpt is
Instance.new("TouchedScript", part)
|
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
| |
|
belial52
|
  |
| Joined: 10 Oct 2009 |
| Total Posts: 8074 |
|
|
| 03 Jul 2012 09:05 AM |
| @Maradar, Get out for not getting the troll ways of this forum. |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 03 Jul 2012 09:08 AM |
@belial52 I understood it, but you should use a service Instance.new("TouchScriptService",game.Workspace.Part) |
|
|
| Report Abuse |
|
|
Maradar
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 4478 |
|
|
| 03 Jul 2012 09:09 AM |
inb4thatdoesntwork curse you floodcheck |
|
|
| Report Abuse |
|
|
belial52
|
  |
| Joined: 10 Oct 2009 |
| Total Posts: 8074 |
|
|
| 03 Jul 2012 06:41 PM |
| @Maradar, Nope, mine was better. |
|
|
| Report Abuse |
|
|
RA2lover
|
  |
| Joined: 09 Nov 2008 |
| Total Posts: 1254 |
|
|
| 03 Jul 2012 07:14 PM |
| add messages to that player's character. |
|
|
| Report Abuse |
|
|