I don't understand this error message

Hello, everyone! I need help finding out what this error message means because I’m not so sure myself:

[ Luraph Script:: Luraph Script:1: require(assetId) cannot be called from a client.

I’m sure that this is from a local script but I’m not sure of why this is happening. Here are two scripts in my game:

local StatGui = script.Parent
local Status = game.ReplicatedStorage:WaitForChild("Status")
StatGui.Text = Status.Value

Status.Changed:Connect(function()
StatGui.Text = Status.Value
end)



local TweenService = game:GetService("TweenService")
local SG = game:GetService("StarterGui")

--Variables
local Frame = SG:WaitForChild("ScreenGui"):WaitForChild("Frame")

--Camera Manipulation
local cam = workspace.CurrentCamera
local StartCam = game.Workspace:WaitForChild("StartCam")

cam.CameraType = Enum.CameraType.Scriptable
cam.CameraSubject = StartCam

Frame.Position = UDim2.new(-37,0,0,0)

wait(3)
print("Second tweening began")

local FrameTween = TweenService:Create(Frame, 
TweenInfo.new(2,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0), 
{Position = UDim2.new(0,0,0,0)})
 FrameTween:Play()

print("Second tweening done")

Thank you to anyone that can help me out!

You’re error sounds like it might be a virus. Try clicking on the error to see if you can locate it’s source. If you can’t find it, try control + shift + f, and search for require

If it is a script that you did not make, then delete it. If you have free models in your game, make sure you always clean them out.

3 Likes

I don’t have any free models, but I was thinking that this was a plug-in because, if I’m correct, my script doesn’t appear to have errors. However, all my plug-ins are either popular (like F3X building tools) or used by well-known Youtubers, so I wasn’t sure if the error was from that.
I can’t locate the source and was thinking of searching for require, but didn’t get the chance to. I don’t have access to studio and won’t for a while, so I’ll update this post later.

Thanks for the help!

1 Like

I just fixed my problem. I found that it was connected to a problem I was having earlier. My scripts were making a bunch of question marks on a line and at the end of the line, it was requiring a number.

Once again, thanks a lot!

1 Like