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

How to make this Filtering Enabled?

Asked by 5 years ago
Edited 5 years ago
001originalAmmo = script.Parent.Ammo.Value
002m = Instance.new("Message")
003 
004function computeDirection(vec)
005    local lenSquared = vec.magnitude^2
006    local invSqrt = 1 / math.sqrt(lenSquared)
007    return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
008end
009 
010 
011 
012function updateAmmo()
013    m.Text = " "
014    --for i = 1,script.Parent.Ammo.Value do
015    --  m.Text = m.Text .. "|"
View all 105 lines...

1 answer

Log in to vote
2
Answered by 5 years ago
Edited 5 years ago

Well, we can not help you with the overall process of turning this code into a filtering enabled one as this is not a request site for you to utilize. We can only suggest you the tools and help you along the journey!

With that said, I will provide you a few Roblox API links that could really help you get into how to turn this code into a filtering enabled one.

Here is the explanation of what is Filtering Enabled and the properties it has, make sure to read the exceptions, very important so you do not lose time if you commit one!

https://developer.roblox.com/en-us/api-reference/property/Workspace/FilteringEnabled

As for the Filtering Enabled core communication tools you have Remote Events and Remote Functions, the link I will provide will explain in detail with examples all the possible communications you can do.

https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events

I also have an answer on a question on Scripting Helpers on where to put your scripts in case you attempt to script with Filtering Enabled.

https://scriptinghelpers.org/questions/55070/whats-the-best-place-to-store-local-scripts#53918

This is just a few of the links full with information that you can utilize to learn to code in Filtering Enabled and finally end up transforming your code to Filtering Enabled.

Good luck with your journey on transforming the code to Filtering Enabled, make sure to ask more questions if you get stuck with your attempt.

:)

1
if i would receive such answers like this one i would feel on this website like in heaven ErtyPL 129 — 5y
1
Hopefully it helps him research a bit on Filtering Enabled and learn from the experience though. iDarkGames 483 — 5y
Ad

Answer this question