I was working with the "SharingFunction" module script that is connected to the localscript and then suddenly when I hit play to test it, the localscript just stops working even thought I haven't touched it. I had tested it before and everything was just working fine and now it just suddenly stops. Its not giving me any errors in the output either.
At first I thought it was because the modules that it was trying to access were not loading or something. So I tried to remove the WaitForChild function and was hoping to get some kind of error. Still nothing.
I copied the script and moved it to a different localscript (because maybe the localscript itself could have been broken?)
In the end I restarted Rblx studio and thought that it could have maybe been some kind of bug. Still no luck.
Any help would be appreciated.
-- Inside the localscript local Client = game:GetService("Players").LocalPlayer local Mouse = Client:GetMouse() local Face = {Front=Vector3.new(0,0,4),Left=Vector3.new(4,0,0),Right=Vector3.new(-4,0,0),Back=Vector3.new(0,0,-4)} local LastTarget = nil print("Works until here") local ItemModule = require(script.Parent:WaitForChild("ModuleScript")) local Function = require(script.Parent:WaitForChild("SharingFunctions")) print("Doesn't want to go any further than this.") local Ceil = Function.Ceil local GetBoxFacing = Function.GetBoxFacing local FindItemByPos = Function.FindItemByPos function LoadMap() -- do some code here. end LoadMap()