of     1   

Netakra
#183629042Monday, February 15, 2016 12:42 AM GMT

I am trying to make a violinist play the instrument but when I am trying to make it customizable by letting the script choose how many beats per bow and use a set tempo, the wait() in the cframe doesn't seem to be fast enough to be accurate. Since this is an issue because I am using CFrame, is there another better way to accomplish this? Here's what I have so far: http://www.roblox.com/games/361493063/Orchestra-WIP |Netakra|
JarodOfOrbiter
#183629111Monday, February 15, 2016 12:43 AM GMT

If you're doing it on the server, it would have replication issues and appear jumpy, which could easily be why.
Agluk15
#183629130Monday, February 15, 2016 12:43 AM GMT

Instead of lowering the wait, why not change the increment you are CFraming it by? The animation will be a bit less smooth, but there are ways to compensate.
12103net
#183629291Monday, February 15, 2016 12:45 AM GMT

it is ALWAYS better to render on the client. use remoteevents for better animation
Netakra
#183629564Monday, February 15, 2016 12:49 AM GMT

What? Doing it on the client?? I've never done animations on the client, why would that increase the preciseness of wait()? Or would using a some body force/position or whatever be more useful for this? |Netakra|
JarodOfOrbiter
#183629716Monday, February 15, 2016 12:52 AM GMT

The problem isn't wait, it is dropped packets. Your internet isn't foolproof, you know. A lot of the data is lost and needs re-transmitting.
12103net
#183629852Monday, February 15, 2016 12:54 AM GMT

because the server has to replicate EVERYTHING. if it's a heavy load, it's not going to replicate well to the client. >put the violin guy in camera for people when they join and animate it on client with :fireclients
Netakra
#183629953Monday, February 15, 2016 12:55 AM GMT

@net er... put him in their camera??? what and why?
12103net
#183630074Monday, February 15, 2016 12:57 AM GMT

camera is rendered on client just do it
12103net
#183630202Monday, February 15, 2016 12:59 AM GMT

put violin man in replicatedstorage. game.Players.PlayerAdded:connect(function(p) clone a localscript that clones violin man into camera (server can't access it) end)
Netakra
#183630444Monday, February 15, 2016 1:03 AM GMT

Okay so you're saying I need to clone an entire orchestra into the player's camera, and then run about 50 different musician's instrument scripts in the client
Agluk15
#183630492Monday, February 15, 2016 1:04 AM GMT

12103net has no idea what he is saying btw.
Netakra
#183630553Monday, February 15, 2016 1:05 AM GMT

@Ag; Okay because he was confusing me. I figured out the formula I need for the wait since I was using the wrong formula lol, had to actually do more than I thought initially. |Netakra|
12103net
#183630595Monday, February 15, 2016 1:06 AM GMT

@akra uh if you're running 50 scripts at once, that's why it is lagging give me a model that does a heavy animation load on server, i'll make it client and show you i'm not lying (doesn't have to be your orchestra thing, just something that lags from server to client.) yes, you need to run the animations on client.
Agluk15
#183630704Monday, February 15, 2016 1:07 AM GMT

Animations can be ran from the client or server, you troll. Get out. CFraming on the other hand should be like this: Client (Do animation) > Client Sends to Server > Server sends to all other clients It will play instantaniously on that client, and after a short delay of about 0.01 on the other clients.

    of     1