So it's a tool giver script that uses FE
Here's the script in a localgui in startergui
local Bclickdetector = workspace.Burger.ClickDetector Bclickdetector.MouseClick:Connect(function(clik) game.ReplicatedStorage.Events.GiveBurger:FireServer() end)
And then I have a event in replicated storage and heres the script in that
script.Parent.OnServerEvent:connect(function(clik) burger = game.ReplicatedStorage["Cheese Burger"]:Clone() burger.Parent = clik.Backpack end)
No errors but it doesn't work... help...
--Server script inside of part: local Bclickdetector = script.Parent.ClickDetector Bclickdetector.MouseClick:Connect(function(Player) print ("Clicked") game.ReplicatedStorage["Cheese Burger"]:Clone().Parent = Player.Backpack end) --Check output if it does not work and tell me what it says
Click Detectors are not compatible with FE. Try referring to this thread: https://scriptinghelpers.org/questions/17049/how-would-i-fix-click-detectors-if-filtering-is-enabled (Full credit to Goulstem for answer).