script suddenly stops working without any giving any error in the output?
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.
02 | local Client = game:GetService( "Players" ).LocalPlayer |
03 | local Mouse = Client:GetMouse() |
04 | local Face = { Front = Vector 3. new( 0 , 0 , 4 ),Left = Vector 3. new( 4 , 0 , 0 ),Right = Vector 3. new(- 4 , 0 , 0 ),Back = Vector 3. new( 0 , 0 ,- 4 ) } |
07 | print ( "Works until here" ) |
09 | local ItemModule = require(script.Parent:WaitForChild( "ModuleScript" )) |
10 | local Function = require(script.Parent:WaitForChild( "SharingFunctions" )) |
12 | print ( "Doesn't want to go any further than this." ) |
14 | local Ceil = Function.Ceil |
15 | local GetBoxFacing = Function.GetBoxFacing |
16 | local FindItemByPos = Function.FindItemByPos |