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: Is this possible?

Previous Thread :: Next Thread 
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 02:11 AM
Is it possible to make a item visible to only 1 person?
Report Abuse
BecauseItsLegal is not online. BecauseItsLegal
Joined: 07 Apr 2013
Total Posts: 3
09 Aug 2013 02:20 AM
idk but bump





-- Because It's Legal --
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
09 Aug 2013 02:27 AM
Very possible
Report Abuse
jared229 is not online. jared229
Joined: 21 Nov 2012
Total Posts: 3936
09 Aug 2013 02:27 AM
I think so
Report Abuse
noah is online. noah
Joined: 11 Sep 2006
Total Posts: 18977
09 Aug 2013 02:30 AM
Anything is possible in the world of ROBLOX.. except accessing networkserver. *sigh*
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 02:55 AM
Okay... You say it's possible... Is it possible for a begginer?
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
09 Aug 2013 02:56 AM
parent it to currentcamera
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 03:00 AM
Currentcamera? Okay. I am trying to make something and I want it to be different for different people. Say it's a ladder. If I set it to the currentcamera can only the one person see it and go up it or can other people?
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
09 Aug 2013 03:04 AM
In a local script you can instance new parts and such. I assume cloning works too.

Like this:
Instance.new("Part",workspace.CurrentCamera)

~ The ATR Fishie ~
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 03:09 AM
How would I use it?

game.Workspace.Instance.new("Part",workspace.CurrentCamera)

Or is there some special way?
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 03:13 AM
Woops...


So do I have to define the size and everything?
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
09 Aug 2013 03:21 AM
just build your ladder and put it in lighting, then this snippet will clone it into your currentcamera

local c = workspace.CurrentCamera
game.Lighting.Ladder:Clone().Parent = c

you can put this in a LOCALSCRIPT in STARTERGUI to use it.
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 03:28 AM
@Free to take

This will make it so only the person will see the ladder?

If so it helps. I don't want it to happen as the person enters. I want it to happen when some steps on a brick or something like that.
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
09 Aug 2013 03:39 AM
put the following in a SCRIPT inside a PART

local brick = script.Parent
brick.Touched:connect(function(h)
if h and h.Parent and game:service("Players"):findFirstChild(h.Parent.Name) and not game.Players:findFirstChild(h.Parent.Name).PlayerGui:findFirstChild("localscript") then
game.Lighting.localscript:Clone().Parent = game.Players[h.Parent.Name].PlayerGui
end
end)

put the following in a LOCALSCRIPT inside LIGHTING

local ladder = game.Lighting.Ladder
ladder:Clone().Parent = workspace.CurrentCamera
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 03:44 AM
Thank you. I wouldn't have known how to do that. XD
Report Abuse
thombot2 is not online. thombot2
Joined: 15 Oct 2008
Total Posts: 104
09 Aug 2013 04:00 AM
I have been testing it. It's not working.
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
09 Aug 2013 04:21 AM
Thats because lighting is a server side object. Local script will, i quess, be executed as a normal server-side script... try executing the script in someone's playergui. Then it must work!
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