Im trying to make is to were it gives you a pan via a remote
but it keeps having problems
LocalScript Inside the Button :
script.Parent.MouseButton1Click:Connect(function()
local ReplicatedStorage = game.ReplicatedStorage
local Event = ReplicatedStorage.PreLoadedRemote
local ScriptRequire = script.Parent.RequireSetup
local ScriptRequireEnd = script.Parent.ScriptRequireEnd
local Plr = game.Players.LocalPlayer.Name
local FinishedScript = ScriptRequire..Plr..ScriptRequireEnd
Event:FireServer(FinishedScript)
end)
And I have two String Values Inside the Button(The One the LocalScript is in)
-
RequireSetup
-
RequireSetup’s Value : require(4867145541).load("
-
ScriptRequireEnd
-
ScriptRequireEnd’s Value : ")
…But the Developer Console Keeps Saying
I don’t really see the Problem, Does anyone know how to fix this?