LocalScript isnt responding

Hello there, I’m encountering a problem with LocalScripts. When I try to write a script inside a LocalScript placed within a Part for a glare effect, it seems nothing happens. Even the simplest code available inside the script, like print("Hello world!"), still doesn’t respond, even when I place the LocalScript in various locations (like directly in the Workspace).

Parts left its not relate to script logs

Local Script
Capture

Script


I have taken several steps to isolate the issue:

  • Ensured that the Enabled property of the LocalScripts is set to true.

  • Verified that the parent objects of the LocalScripts (e.g., Workspace, BillboardGui) exist and are not being destroyed prematurely(With my glare effect local script)
    Screenshot (1930)

  • Tested this behavior in multiple different game projects, both new and existing, with the same result.

  • Confirmed that Server Scripts within the same environment are executing normally.

6 Likes

Do you have any plugins that may affect this? If so try disabling all of them and see if this helps.

Also try contacting roblox support or creating a bug report if there is no other solution to this.

1 Like

Local scripts dont work in workspace. You need change to a serivce that does work.

3 Likes

Use a normal Script with RunContext to Client.

3 Likes

For local scripts to work you need to assign some function first (even Player.PlayerAdded), bc it won’t work even in playerGUI by itself like global scripts

1 Like

Um yes, I tried it before, there’s no any plugins related to it, only create character of players, cutscenes, animations, welds and guis only

Yes, i know it, am already try put it on different one, not only that one so ye, bro got any different locations to lemme try it?

Is this should be works:D? i quite wondering bcs I design this to let them works on multiple people but each players will have different effects from a only billboardgui inside a block?

it does work, localscripts dont run in parts or in the workspace

1 Like

Ye, you right, at first i just try to make a glare effect system simple liek this, billboardgui will known as a glare effect, block where it should be known as an point flashlight, localscript manage for direction camera of each players look at that certain face(Front) so if they look at that face part more straight, it gonna be more bigger but the local script at first it already wasnt responding
Screenshot (1930)

1 Like

Ah, i see, ik that workspace it’s not gonna be works so do you know any ways to make it better but still keep what i want to achieve?

as @DiscoDino01 said use a normal script with the runcontext set to client

1 Like

ok thank bro, i hopefully its works

so yeah, its still doesnt work :L

Have you tried putting the script outside of the gui? maybe parenting it to Part will work

1 Like

its nice idea , I will try, am hopefully it works bcs the local script is dying :U

localscripts still dont work in workspace. Change it to a normal script with RunContext as Client

1 Like

i see, its working now, thanks bro:D

1 Like