Are both of these server scripts? Are you trying to make the client communicate with the server (or viceversa)? If the goal here is to clone a part on MouseClick then you don’t need any checks.
-- SCRIPT 2
game:GetService("ServerScriptService"):WaitForChild("BindableEvent").Event:Connect(function(value)
if value == "Part Clone" then
local part = Instance.new("Part")
part.Position = game.Workspace.SpawnLocation.Position
part.Parent = workspace;
end;
end)
This is possible using a service. RunService I think? You could detect when an input is sent, and if the message is “Clone Part,” then it will make a part.