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: Simple Humanoid Text +1 Increment Once Touched

Previous Thread :: Next Thread 
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 10:26 AM
Where can I find one of these?
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 10:40 AM
Just a simple brick that when it's touched the name of it changes to 1, then when someone else touches it, it changes to 2, ect, ect...
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
23 Aug 2015 10:44 AM
x = 0
function namechange()
x = x + 1
script.Name = x
end

script.Parent.Touched:connect(namgechange())
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 11:29 AM
script.Parent.Touched:connect(namechange())

It says "Touched is not a valid member of the model"
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
23 Aug 2015 11:31 AM
x = 0
function namechange()
x = x + 1
script.Name = x
end

script.Parent.Touched:connect(namechange())
Report Abuse
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
23 Aug 2015 11:32 AM
x = 0
function namechange()
x = x + 1
script.Name = x
end

script.Parent.OnTouched:connect(namechange)
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 11:34 AM
Says the same thing ):
Report Abuse
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
23 Aug 2015 11:34 AM
Dont listen to me Im dumb af .3.
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
23 Aug 2015 11:35 AM
You asked for a brick to do something, someone gives you a script that does exactly that to a brick, then you go and put that script inside of a Model?

Put it in a brick.
Report Abuse
AdvancedDrone is not online. AdvancedDrone
Joined: 17 Apr 2010
Total Posts: 2599
23 Aug 2015 11:35 AM
local x = 0
script.Parent.Touched:connect(function()
x = x + 1
script.Name = x
end)
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
23 Aug 2015 11:36 AM
no no no

if its not a valid member of model, put it in a part >.<
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
23 Aug 2015 11:37 AM
... then come back and ask why it skips so many numbers.
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 11:40 AM
It does nothing but create a blank message block on top of the screen, are you sure it works with humanoids?
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
23 Aug 2015 11:44 AM
it doesnt work with humanoids..
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
23 Aug 2015 11:45 AM
but it does work with parts that are part of a humanoid
Report Abuse
robloxer8282 is not online. robloxer8282
Joined: 25 Dec 2012
Total Posts: 819
23 Aug 2015 11:46 AM
For instance, torso, right leg, left leg, left arm, right arm, and your head
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 11:46 AM
But I'm trying to have it displayed, so it's visible in-game
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
23 Aug 2015 11:58 AM
I'm sure that Humanoids don't have Touched events.

I'll guess that what you actually want to do is change the name of a model so that that name gets displayed like a character's name over its head.

Have a Model in workspace. Inside that Model, have a Humanoid and at least 1 part, its Name being "Head". Inside of "Head", put this script:

x = 0
waiting=nil
script.Parent.Touched:connect(function()
if not waiting then
waiting=true
x = x + 1
script.Parent.Parent.Name = x
wait(1)
waiting=nil
end
end)
Report Abuse
EntityXF is not online. EntityXF
Joined: 25 Mar 2009
Total Posts: 370
23 Aug 2015 01:36 PM
I love you
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