generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Help with onTouched script

Previous Thread :: Next Thread 
PonyLuver is not online. 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 is not online. 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 is not online. 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
triston220 is not online. triston220
Joined: 08 Mar 2010
Total Posts: 1861
03 Jul 2012 05:24 AM
Use a LocalScript instead of a Script.
Report Abuse
KleurrijkLichaam is not online. KleurrijkLichaam
Joined: 23 Jun 2012
Total Posts: 24
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 is not online. 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 is not online. 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 is not online. Maradar
Joined: 06 Mar 2012
Total Posts: 4478
03 Jul 2012 09:04 AM
@belial52
NOPE
Report Abuse
belial52 is not online. 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 is not online. 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 is not online. Maradar
Joined: 06 Mar 2012
Total Posts: 4478
03 Jul 2012 09:09 AM
inb4thatdoesntwork
curse you floodcheck
Report Abuse
belial52 is not online. belial52
Joined: 10 Oct 2009
Total Posts: 8074
03 Jul 2012 06:41 PM
@Maradar, Nope, mine was better.
Report Abuse
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
03 Jul 2012 07:14 PM
add messages to that player's character.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image