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

How to make scripts and GUI's usable on a filtered enabled game?

Asked by 6 years ago

So I've been working on this game for a few days and I want to make it FE. The game is ultimately a fighting game. You get to choose your character with the GUI I made and yea. The problem is the GUI dose not work when FE is on and I tried making remotes for it but it just will not work. The way the Gui works is when you choose a character it clones a local script from ReplicatedStorage in to your PlayerGui. Here is an example. https://gyazo.com/d3274e7a7692c6c44edd1d280d225a24 when I tried to make it FE the Gui did not even work properly and when I finally got it to work the scripts that were cloned in to the PlayerGui were client side only witch is something I don't want. Any Ideas?

Here is the code to button on my Gui

script.Parent.MouseButton1Click:connect(function()
    if game.Players.LocalPlayer.Character.Humanoid.RigType.Value  == 0 then
     local Remote = game.ReplicatedStorage.JoJo:Clone()
Remote.Parent = game.Players.LocalPlayer.PlayerGui
game.Players.LocalPlayer.PlayerGui.Admin:Remove()
    end
    if game.Players.LocalPlayer.Character.Humanoid.RigType.Value == 1 then
        script.Parent.Text = "You need to be in R6"
        wait(4)
        script.Parent.Text = "Jojo"
    end
end)

and here is the script that gets cloned in to the PlayerGui from ReplicatedStorage. I put it in pastebin because it is to long to paste here

https://pastebin.com/raw/i6ySrHcv

0
You should probably check this wiki article first, and post another question with the code if you're struggling, you provided us no information to help you with. http://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events YabaDabaD0O 505 — 6y
0
I read that already and I've tried to do this but nothing works dsbrown25 5 — 6y
0
what other information do you need? dsbrown25 5 — 6y

Answer this question