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

How do I make this script filtering enabled?? Steps plz?

Asked by 7 years ago

Hi, im a new scripter and I would appreciate you helping me make this script filtering enabled step by step, so i can disect it and learn. I have a car spawning GUI which lets you choose which car you want to spawn and select it. If you have over 10,000 money then it spawns the car clicked on to a location.

The Gui is working fine, and when I click the buy button it works (says error if i dont have 10,000), however the car doesnt spawn to the location from the workspace

Car spawning script:

01local P = script.Parent
02local player = P.Parent.Parent
03local index = 1
04 
05local vehicles = {
06--  {NAME                       , THUMBNAIL ID}
07    {"Toyota Corolla 2010"  , 0}, --LEAVE ALL THUMBNAIL ID AS 0. THERE IS NO POINT FOR A PICTURE.
08    {"Smart Fortwo" , 0},
09    {"Sudiko Green Yoga"    , 0},
10    {"Sudiko Blue Yoga" , 0},
11    {"Toyota Prius 2010"    , 0},
12    {"BMW i3"   , 0},
13    {"TCI"  , 0},
14    {"Toyota Prius 2016"        , 0}
15}
View all 69 lines...

This is a script in the serverstorage and the "vehicles" folder is in the server storage too

thanks for helping!!

1 answer

Log in to vote
0
Answered by 7 years ago

You don't make the script filtering enabled, you make the whole game filtering enabled. It's really easy. Just click Workspace in ROBLOX Studio, and scroll down until you find, 'Filtering Enabled'. Once you find that, you can simply tick it and boom, save/publish the game and it'll ALL be filtering enabled, but that does not mean exploiters can not exploit items in Lighting or RemoteService, but everything in Workspace will be Filtering Enabled, so you can literally just add the car in Workspace and it'll basically be filtering enabled.

Hope this helped :D

0
Also, you've got to change the position where the car goes ~ CrimsonFlux CrimsonFlux 6 — 7y
0
My game is already in filtering enabled. Because of filtering enabled the script does not work. I need to make the script filtering enabled compatible. BADABOO2016 3 — 7y
Ad

Answer this question