BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:04 PM |
wait()
sp = script.Parent mirror = sp.MirrorObject a = sp:GetChildren()
for i = 1, #a do if a[i]:IsA("ImageLabel") and a[i].Name ~= "MirrorObject" and a[i].AbsolutePosition.X + a[i].AbsoluteSize.X < mirror.AbsolutePosition.X + mirror.AbsoluteSize.X then b = a[i]:Clone() b.Parent = sp b.Name = (a[i].Name.."'s clone") while wait(0.0) do b.Position = UDim2.new(0,b.Position.X - a[i].Position.X,0,a[i].Position.Y) end end end
So it creates the clone but the clone doesn't move.... No output... :( |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
|
| 27 Mar 2014 08:15 PM |
| out before you ruin the innocence of young children. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:16 PM |
| lol sorry, but seriously D: |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
devLucas
|
  |
| Joined: 10 Dec 2013 |
| Total Posts: 526 |
|
|
| 27 Mar 2014 08:21 PM |
| its not supposed to, it just sets the position. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:22 PM |
while wait(0.0) do b.Position = UDim2.new(0,b.Position.X - a[i].Position.X,0,a[i].Position.Y) end
^^ But dat loop D: |
|
|
| Report Abuse |
|
|
devLucas
|
  |
| Joined: 10 Dec 2013 |
| Total Posts: 526 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
devLucas
|
  |
| Joined: 10 Dec 2013 |
| Total Posts: 526 |
|
|
| 27 Mar 2014 08:27 PM |
| b.Position = UDim2.new(0,b.Position.X.Offset - a[i].Position.X.Offset,0,a[i].Position.Y.Offset) |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:29 PM |
| The clone goes crazy, it like orbits the screen D: |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:31 PM |
Pretty much what i'm trying to do is this
o | o Make a reflection of the player, so if the player gets close to the mirror the reflection does too, or if he gets farther. Pretty much a 2D mirror.... |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
GamingOwl
|
  |
| Joined: 18 Feb 2014 |
| Total Posts: 350 |
|
|
| 27 Mar 2014 08:52 PM |
| They have that already. Look in free models. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
|
| 27 Mar 2014 08:57 PM |
^ Yes they do The Mirror Game That's one example of somebody who's cloned a player and used his movement negatively to create a mirror effect. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 27 Mar 2014 08:58 PM |
I've created a 3D mirror before, I just cant create a 2D one D:
This is what I used in the 3D Mirror
a.CFrame = CFrame.new(0,0,0) * CFrame.Angles(0,math.pi,0) a.Position = Vector3.new(objects[i].Position.X,objects[i].Position.Y,math.floor(a.Position.Z - objects[i].Position.Z)+6)
|
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|