|
| 06 May 2014 05:34 PM |
So, I have this local script in my player, and it looks something like this:
player = game.Players.LocalPlayer cam = workspace.CurrentCamera
local coordFrame = Instance.new("CFrameValue", player) coordFrame.Name = "CoordinateFrame"
game:GetService("RunService").RenderStepped:connect(function() coordFrame.Value = cam.CoordinateFrame end)
and then I have a script in workspace that looks something like this:
repeat wait(1/60) print(game.Players.Player1.CoordinateFrame.Value) until false
Note this isn't the actual code, it should produce the same error: "can't get value." Could someone tell me what is producing this error, and how I may fix it?
Thanks! 2-- I accidentally posted this on a different forum, and roblox won't let me post it again. |
|
|
| Report Abuse |
|
|
|
| 06 May 2014 05:36 PM |
Does it immedieately start looping when the server starts
i'm asian |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 06 May 2014 05:49 PM |
"Note this isn't the actual code, it should produce the same error: "can't get value.""
Can you atleast give us a copy of the line spitting the error? |
|
|
| Report Abuse |
|
|
|
| 06 May 2014 05:51 PM |
It's basically the same thing. If you really want it, here:
local caminv = camera.CoordinateFrame.Value:inverse()--Error can't get Value |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 May 2014 06:58 PM |
| Bump[3] C'mon guys, really? |
|
|
| Report Abuse |
|
|
|
| 06 May 2014 08:50 PM |
| local caminv = camera.CoordinateFrame:inverse()--? |
|
|
| Report Abuse |
|
|