It doesent run the script on the server for some reason also wondering if you can use loadstrings on client side
Server Script
game.ReplicatedStorage.server.OnServerEvent:Connect(function(plr,exe)
loadstring(exe)
end)
Local Script
script.Parent.MouseButton1Click:Connect(function()
local exe = script.Parent.Parent.Parent.script.TextBox
if script.Parent.Parent.Parent.Parent.server.Value == false then
loadstring(exe.Text)
elseif script.Parent.Parent.Parent.Parent.server.Value == true then
print("Player has gamepass")
game.ReplicatedStorage.server:FireServer(exe.Text)
else
print("player dont got it :(")
end
end)

2 comments
Is LoadStringEnabled set to true?
yeas