|
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 18 Aug 2015 05:18 PM |
ty for your help :)
This is my siggy. lol |
|
|
| Report Abuse |
|
|