Code GUI scripting

This is the script i put in codeCallback
Cuz my remotefunction is called UseCode

image

Your remotefunction has to be replicatedstorage.Function.UseCode or else it will never receive the remotefunction

You should read this article:
Remote Events and Callbacks | Documentation - Roblox Creator Hub

so you mean i have to put

No…

local   replicatedstorage = game:GetService("ReplicatedStorage")
local function yourRemoteFunction(data)

local result = data * 2
  return result
end

local remoteFunction = replicatedstorage.Function.UseCode
remoteFunction.OnServerInvoke = function(player, data)
  return yourRemoteFunction(data)
end

So i change it to false for 35 and for 37 i put nil
and it says i already used this code
I feel like we almost there