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 |
|
|
|
| 09 Aug 2013 02:20 AM |
idk but bump
-- Because It's Legal -- |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |
|
jared229
|
  |
| Joined: 21 Nov 2012 |
| Total Posts: 3936 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 09 Aug 2013 02:56 AM |
| parent it to currentcamera |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|