Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 08 May 2017 08:04 PM |
So I have a model in workspace, and is only in the player, and not the server.
I want to clone the model into server with the same CFrame values.
How do I transfer CFrame Values between the player and server? |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
| |
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 08 May 2017 08:08 PM |
| yes but when you say in the server script to get the model CFrame it cant get it because its on the player and not the server. |
|
|
| Report Abuse |
|
|
T0XZ
|
  |
| Joined: 22 Sep 2012 |
| Total Posts: 260 |
|
|
| 08 May 2017 08:19 PM |
use replicated storage, both server and client can view and edit that area.
|
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 08 May 2017 08:22 PM |
| You use a local script to view the model CFrame, you fire remote event with the CFrame as an argument and retrieve that in a server script. The server now has the CFrame. |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 08 May 2017 09:04 PM |
No.
Look at remote events and functions on the Roblox Wiki. It allows communication between client and server. |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 08 May 2017 09:05 PM |
| Ik how to use it but in :FireServer() in the parenthesis do i put my argument |
|
|
| Report Abuse |
|
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
| |
|