I am having problems with FilteringEnabled?
Hi, when I turn on FilteringEnabled, all my scripts' (Both Scripts and LocalScripts) written code turned to
before all written code turned to 4.
this is what my script is.
01 | local plr = game.Players.LocalPlayer.leaderstats |
02 | local name = game.Players.LocalPlayer.Character |
03 | local backpack = game.Players.LocalPlayer.Backpack |
04 | script.Parent.MouseButton 1 Click:Connect( function () |
05 | if plr.Coins.Value + 1500 then |
06 | plr.Coins.Value = plr.Coins.Value - 1500 |
07 | local clone = game.Lighting.Magics.BubbleMagic:Clone() |
08 | clone.Parent = backpack |
09 | clone.Disabled = false |
10 | script.Parent.Visible = false |
12 | if plr.Coins.Value < 1500 then |
13 | script.Parent.Text = "No Coins to buy this magic, " ..name.Name.. "." |
15 | script.Parent.Text = "Bubble Magic - 1500 Coins" |
When I turned off FilteringEnabled, this always happen. Is FilteringEnabled or an error doing this??