Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Humanoid teleport with CFrame doesn't work when Filtering enabled?

Asked by 5 years ago

Hi.

Im need a script which teleports Player to the freeze cam.

I wrote this script:

game.Workspace["PLAYERNAMEHERE"].Torso.CFrame = script.Parent.Sosiska.CFrame

This works, but not when Filtering is enabled...

I don't know why, but this works in studio and isn't work online. Hate this logic...

Any help?

Also when i disable FilteringEnabled it's works in online too...

Thanks.

0
U need to use a remote event i think if u want FE enabled MaxDev_BE 55 — 5y
0
It's already remote event.... pmainokiborg 6 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Hello,

Your script works in studio because studio runs as the client and as the server.

You need to use the power of Remote Events...

Ad

Answer this question