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: How do we make a message say an ID on roblox?

Previous Thread :: Next Thread 
zeldalinklover is not online. zeldalinklover
Joined: 05 Jul 2010
Total Posts: 3510
18 Aug 2015 05:11 PM
I'm going to make a thing where it says the ID of a person who steps on it. I'm new to scripting, so can anyone help?

This is my siggy. lol
Report Abuse
71428 is not online. 71428
Joined: 06 Aug 2015
Total Posts: 339
18 Aug 2015 05:12 PM
Look at who stepped on the brick then remember their name. Go to Roblox.com and search for the name in the people search. Then you can look at their profile and copy their ID from their profile. Then you can go back in game and yell out the ID.
Report Abuse
EchoReaper is online. EchoReaper
Joined: 14 Oct 2008
Total Posts: 4323
18 Aug 2015 05:13 PM
player.userId
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
18 Aug 2015 05:16 PM
local brick = game.Workspace.Part --change here

function onTouched(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
local message = Instance.new("Message", game.Workspace)
message.Text = game.Players:GetUserIdFromNameAsync(player.Name)
wait(3) --change here
message:Destroy()
end
end

brick.Touched:connect(onTouched)
Report Abuse
zeldalinklover is not online. zeldalinklover
Joined: 05 Jul 2010
Total Posts: 3510
18 Aug 2015 05:18 PM
ty for your help :)

This is my siggy. lol
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