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 » Scripting Helpers
Home Search
 

Re: How to make a personal message

Previous Thread :: Next Thread 
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
05 Jun 2012 11:00 AM
I want this script: script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid") then
local i = Instance.new("Message",game.Workspace)
i.Text = hit.Parent.Torso.Position
wait(2)
i:Destroy()
end
end
----------
But I don't want everyone to see the message.


~Thanks
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
05 Jun 2012 11:04 AM
to make it so only one player sees it, you can put it in their PlayerGui or Camera.

Example:
Instance.new("Hint",game.Players["1Topcop"].PlayerGui).Text = "Only 1Topcop sees this"

OR
Instance.new("Part",game.Workspace.CurrentCamera).Anchored = true --[[ Must be local script ]]
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
05 Jun 2012 11:06 AM
@Topcop
You ninja, you...
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
05 Jun 2012 11:07 AM
:3
-->> A message to all: NOU.floodCheck <<--
Report Abuse
cyclone3260 is not online. cyclone3260
Joined: 23 Aug 2010
Total Posts: 1038
05 Jun 2012 11:20 AM
I don't want a specific person to ONLY see it. I want whoever touches it to ONLY see it.


Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
05 Jun 2012 11:30 AM
p = game.Players:GetPlayerFromCharacter(hit.Parent)
message.Parent = p.PlayerGui

????
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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