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

Is there ANY way to pass objects from the client to the server with Filtering Enabled?

Asked by
ipiano 120
10 years ago

I just noticed that a lot of the Roblox stock weapons, such as the Rocket Launcher, don't work with Filtering Enabled. I think it may have something to do with Humanoid.TargetPoint not updating properly when Filtering is on, so I'm trying to find a way around this, but the only thing I can think of is using Mouse.Hit. The problem with that is that it's only available on the client, and if you try to pass it though a remote event with something like this

game.Workspace.Event:FireServer(Mouse.Hit)

It comes out nil on the server side. Is there ANY way I can access this information on the server?

1 answer

Log in to vote
2
Answered by
Lacryma 548 Moderation Voter
10 years ago

Pass in the arguments you need.

game.Workspace.Event:FireServer(Mouse.Hit.p)

That will for sure go through. Oh and as far as I know, you cannot pass objects.

0
I've tried that. It hasn't worked before. I'll try again and get back to you. ipiano 120 — 10y
0
I stand corrected, I must have been doing it wrong before. Thanks! ipiano 120 — 10y
Ad

Answer this question