Roblox Studio | How to make a flickering light

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 53

  • @_stick111
    @_stick111  2 ปีที่แล้ว +5

    the script was in the description , ill put the scripts in the comments for now on, also lmk if yall want more scripting vids even tho i havent uploaded and my channel died
    while true do
    wait (8)
    script.Parent.Light.PointLight.Enabled = false
    script.Parent.Light.Transparency = 0.5
    wait (1)
    script.Parent.Light.PointLight.Enabled = true
    script.Parent.Light.Transparency = 0
    wait (0.05)
    script.Parent.Light.PointLight.Enabled = false
    script.Parent.Light.Transparency = 0.5
    wait (0.05)
    script.Parent.Light.PointLight.Enabled = true
    script.Parent.Light.Transparency = 0
    wait (0.05)
    script.Parent.Light.PointLight.Enabled = false
    script.Parent.Light.Transparency = 0.5
    wait (2)
    script.Parent.Light.PointLight.Enabled = true
    script.Parent.Light.Transparency = 0
    end

    • @aquaticproducts4274
      @aquaticproducts4274 2 ปีที่แล้ว +1

      It’s not working and I don’t know why,I put the script in correctly and I can’t find what’s wrong

    • @Spidfyr
      @Spidfyr ปีที่แล้ว +1

      @@aquaticproducts4274 The script uses a point light. If you didn't use a point light, then that could be why. If you want to use a spot light or any other type of light then just change the parts where it says point light to other types of lights. If that doesn't work then create a local Light script. Ex from my build: local Light = game.Workspace.OFFICE["decor"].Light.Light

    • @Akohen_1
      @Akohen_1 9 หลายเดือนก่อน

      is there a way to make it random?

  • @TheBiddler
    @TheBiddler ปีที่แล้ว +1

    very well-made script, is easy to re-customize. I love it! Keep it up.

  • @YungRagz
    @YungRagz 3 ปีที่แล้ว +5

    I love the Yoshi’s island music XD

  • @danrevetti1991
    @danrevetti1991 2 ปีที่แล้ว

    IT WORKED! as long as you replicate it exactly it works!

  • @anythingforyouofficial.
    @anythingforyouofficial. 2 ปีที่แล้ว

    THANK YOU SO MUCH!!! im trying to make a horror bar and this is PERFECT!!

  • @911opper8
    @911opper8 3 ปีที่แล้ว +2

    If it didn't work, Make sure everything is named correctly and the scripts are were there suppose to go.

    • @k1ttyyz_
      @k1ttyyz_ ปีที่แล้ว

      THANK YOU SO MUCH!!🙏🙏🙏

  • @nororo111
    @nororo111 2 ปีที่แล้ว +5

    Hey I made an easier script, I'm a beginner at scripting but it works. You can mess around with the brightness and the wait thing but don't touch anything else
    Ok so first insert a script in your part (Not a local script), then in the script copy and paste this
    while true do

    local light = game.Workspace["Flickering light"].Reallight
    light.SpotLight.Brightness = 0.7
    wait(0.2)
    light.SpotLight.Brightness = 0.3
    wait(0.4)
    light.SpotLight.Brightness = 0.3
    wait(0.2)
    light.SpotLight.Brightness = 0.4
    wait(0.5)
    light.SpotLight.Brightness = 0.2
    wait(1)
    light.SpotLight.Brightness = 0.1
    end
    Hope that helped you

    • @cheese269
      @cheese269 2 ปีที่แล้ว

      Wait what do we put the script in, and what stuff do we name?

    • @nororo111
      @nororo111 2 ปีที่แล้ว

      @@cheese269 Just put a script(NOT LOCAL SCRIPT) in the part, and thats all you dont need to name the part anything

    • @cheese269
      @cheese269 2 ปีที่แล้ว

      @@nororo111 oh thx

    • @cheese269
      @cheese269 2 ปีที่แล้ว

      @@nororo111 it not work

    • @nororo111
      @nororo111 2 ปีที่แล้ว

      @@cheese269 Maybe you did it wrong? did you delete the "Print helle world"

  • @idyllically1301
    @idyllically1301 4 ปีที่แล้ว +1

    Tysm for the script and the video I had trouble scripting this!

  • @Stuffed_Freddy
    @Stuffed_Freddy 2 ปีที่แล้ว

    It works very well, thanks for the tutorial!

  • @angellleal
    @angellleal 3 ปีที่แล้ว

    yall it works make sure the names are Light

  • @trolld3vrblx809
    @trolld3vrblx809 3 ปีที่แล้ว +5

    0:08 AAAAAAAAAAA

  • @mydisabilitybrothausedchan2040
    @mydisabilitybrothausedchan2040 2 ปีที่แล้ว

    yeah, but i changed it to work like from rmg B)

  • @eleacy6231
    @eleacy6231 3 ปีที่แล้ว +1

    4:06 "--[[Last Synced 10/3/2020 06:51"
    Check your plugins.

    • @liamisntweirdarchive
      @liamisntweirdarchive 2 ปีที่แล้ว

      check when this video was created buddy

    • @Bloxer
      @Bloxer 2 ปีที่แล้ว +2

      @@liamisntweirdarchive You didn't get it, That Sync Sign isn't supposed to be there, and if it is that means you have a virus plugin installed.
      (If you go all the way to the end of the code you will find cheat code which could allow exploiters to hack your game via Backdoor scripts.)

  • @FungusUnited
    @FungusUnited 2 ปีที่แล้ว +1

    do you know how to make it shoot out particles everytime the light flickers

  • @Davirogbushh
    @Davirogbushh 3 ปีที่แล้ว

    thanks so much man!

  • @karinaseppa5017
    @karinaseppa5017 3 ปีที่แล้ว

    Omg yess tysm last vido I watched did not work

  • @andy-gamer
    @andy-gamer 3 ปีที่แล้ว

    Thanks

  • @LeftyWithPuppetEditz
    @LeftyWithPuppetEditz 2 ปีที่แล้ว

    How can we make flickering lights fast?

  • @DestinRestin
    @DestinRestin 3 ปีที่แล้ว

    hey man if you still dont have one theres a free one called openshot Video editor
    not the best but better as without one

  • @dominicdurant5075
    @dominicdurant5075 2 ปีที่แล้ว

    the script doesn't work, except last time it did

  • @oyasumidrawz
    @oyasumidrawz 3 ปีที่แล้ว

    how do you make screen flickering light?

  • @benjaminszz
    @benjaminszz 3 ปีที่แล้ว

    if you dont have an editor, how are you playing this music?

    • @ill8012
      @ill8012 3 ปีที่แล้ว

      youtube, spotify, other things.

  • @ilikelobsters.2376
    @ilikelobsters.2376 3 ปีที่แล้ว

    Hey, you don't really need an editor. I have never had an editor before (even a friend who would edit). Just add a text to your video or voiceover. No need for the disgusting notepad.

  • @adok123-e3l
    @adok123-e3l 2 ปีที่แล้ว

    Can u give me the script like paste it

  • @elderhernandez4739
    @elderhernandez4739 2 ปีที่แล้ว

    you dont have to type

  • @ChaseDJ549
    @ChaseDJ549 4 ปีที่แล้ว

    How do you get that baseplate material?

    • @_stick111
      @_stick111  4 ปีที่แล้ว

      This plugin web.roblox.com/library/1693759466/Automatic-Baseplate-Upgrader

  • @comicallytv6046
    @comicallytv6046 3 ปีที่แล้ว

    it didnt work

  • @duckr9608
    @duckr9608 3 ปีที่แล้ว

    Can i get the script please

    • @danrevetti1991
      @danrevetti1991 2 ปีที่แล้ว

      while true do
      wait (8)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (1)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (2)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      end

    • @deebafo947
      @deebafo947 2 ปีที่แล้ว

      wait (8)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (1)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      wait (0.05)
      script.Parent.Light.PointLight.Enabled = false
      script.Parent.Light.Transparency = 0.5
      wait (2)
      script.Parent.Light.PointLight.Enabled = true
      script.Parent.Light.Transparency = 0
      end

  • @THEpawfulltrust
    @THEpawfulltrust 3 ปีที่แล้ว

    It did not work-

    • @KnowWhatYouSee
      @KnowWhatYouSee 3 ปีที่แล้ว

      it does if u name everything properly

    • @nororo111
      @nororo111 2 ปีที่แล้ว

      Mind showing me the script? (Copy and paste it here)

    • @THEpawfulltrust
      @THEpawfulltrust 2 ปีที่แล้ว

      @@nororo111 IT TOOK YOU A YEAR?!
      I certainly don’t have it now lmao

    • @nororo111
      @nororo111 2 ปีที่แล้ว

      Lmao, yes it took me a year is that so surprising?

    • @THEpawfulltrust
      @THEpawfulltrust 2 ปีที่แล้ว

      @@nororo111 yes.
      But I don’t have the model with the broken code on it so I can’t really copy and paste it lol

  • @heytherekiddo69
    @heytherekiddo69 ปีที่แล้ว

    how to make it loop