How to Make Lightning in Roblox Studio

Sdílet
Vložit
  • čas přidán 1. 07. 2023
  • Kenney assets pack: www.kenney.nl/assets/particle...
    Lightning (Roblox):
    create.roblox.com/marketplace...
    Find Terrain Height with Ray Casting | Roblox Studio: • Find Terrain Height wi...

Komentáře • 57

  • @epicloser8571
    @epicloser8571 Před rokem +9

    Beautiful man thanks for all the hard work you’ve gave to us for the past years and we respect you hugely

  • @fakeaccount7530
    @fakeaccount7530 Před rokem +8

    “I know how it feels when you get things going and people don’t really notice”
    It’s alright man we love you till the end ;(
    Asides from that, can’t wait to see what this video holds!

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před rokem

      Haha, thanks man!

    • @QUBIQUBED
      @QUBIQUBED Před 9 měsíci

      @@SimTekGameDevelopmentU think your videos need to be more edited theres a lot of padding

  • @katzeghg1548
    @katzeghg1548 Před 11 měsíci +1

    This is by far my favorite Video of yours, bc it‘s soo simple and still very cool 🙏

  • @Bervenor
    @Bervenor Před rokem +3

    0:41 that was unexpected, were all here for ya and we appreciate the videos you make man.

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před rokem +1

      Aw thanks man! I definitely appreciate that!

    • @QUBIQUBED
      @QUBIQUBED Před 9 měsíci

      @@SimTekGameDevelopmenthow is the channel going

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před 9 měsíci

      @@QUBIQUBED oh it’s going! I still enjoy doing it. Thanks for asking! I got a little behind on the comments this week though!

  • @austinblanchette9399
    @austinblanchette9399 Před rokem

    Thanks for making these videos! All of them are helpful!

  • @slyhorse9912
    @slyhorse9912 Před 9 měsíci

    your videos are really good , keep up the good work

  • @Jean_TeddyBear
    @Jean_TeddyBear Před 9 měsíci +1

    you explain so good, i litteraly understand all of it,
    for other video i just copy the code, but for you, i copy it and understand it at same time, thank you

  • @katzeghg1548
    @katzeghg1548 Před rokem +1

    Tysm for thoose videos

  • @fortniteog_yt8039
    @fortniteog_yt8039 Před rokem +2

    Nice

  • @dreykandreigamad6650
    @dreykandreigamad6650 Před rokem

    nice video, also can you make a tutorial on how to add bullet recoil?

  • @harip761
    @harip761 Před rokem +2

    WOW SICK! THIS IS NICE, And 1st

    • @harip761
      @harip761 Před rokem +2

      Btw, i have a cool idea maybe you can do, like for the guns, maybe how to make aim down sights, like with a aimpart and the camera teleports onto it so it looks like your looking down the sights of the gun

    • @harip761
      @harip761 Před rokem +2

      The Video was quite helpful

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před rokem +1

      Thanks! Oh you changed your username!

  • @drewchaboo719
    @drewchaboo719 Před rokem +1

    Are you going show how make homes or something you can hide in from that?

  • @spookyh
    @spookyh Před rokem

    Hey Man!, I hope you are okay!, Thanks for the great video!

  • @maxdestroycity
    @maxdestroycity Před rokem +1

    can you make an assault gun with ammo and reload? and kickback

  • @thomazplays9305
    @thomazplays9305 Před 9 měsíci +1

    I made a very simple script that sets the brightness of the atmosphere at 50 when the lighting strikes. it goes along perfectly

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před 9 měsíci

      Aw nice thinking!! I wish I had thought of that!!

    • @thomazplays9305
      @thomazplays9305 Před 9 měsíci

      @@SimTekGameDevelopment your scripting skills are way far superior than mines tho... can you give me some advice on how to improve my skills?

    • @SimTekGameDevelopment
      @SimTekGameDevelopment  Před 9 měsíci

      @@thomazplays9305 Aw man, it’s just practice. I program for a living. Not with Roblox, but JavaScript, Node.js, and some other languages. The languages are pretty similar though. The more you do it the better you’ll get!

    • @thomazplays9305
      @thomazplays9305 Před 9 měsíci +1

      @@SimTekGameDevelopment thanks, I'll try my best ;)
      Your videos are pretty good btw, please keep that up and good luck out there

    • @x1orx
      @x1orx Před 6 měsíci

      Hey if you wouldnt mind how did u do this? :)

  • @MUHAMMADARIFFIRDAUSBINZAIDIMoe

    Hey dude its been 7 months can you do how to body and arm follow camera and mouse just like fps game? Also can you do fps hand/viewmodel please.

  • @DangOldRegularOld
    @DangOldRegularOld Před rokem +1

    I updated my game! I would love it if you watched the update video!

  • @mistercheese2471
    @mistercheese2471 Před 3 dny

    it does work now but I doesn't dissaper directly

  • @chalabihuseyn8462
    @chalabihuseyn8462 Před 11 měsíci

    Can you copy and paste the code for some reason mine doesnt work

    • @QUBIQUBED
      @QUBIQUBED Před 9 měsíci

      Fix it then😂😂😂

  • @MACHETEMAN72
    @MACHETEMAN72 Před 3 měsíci

    william afton?

  • @Cody-gw4pq
    @Cody-gw4pq Před rokem

    How to i make the sky light up

    • @tuba7174
      @tuba7174 Před rokem

      add somewhere in the code where the lightning strikes something to change the lighting in ur game to how yo uwant it to be

    • @Cody-gw4pq
      @Cody-gw4pq Před rokem

      ​@@tuba7174i dont understand make a video or smth

    • @QUBIQUBED
      @QUBIQUBED Před 9 měsíci

      @@Cody-gw4pqmake the brightness (in lighting) maximum when the lightning strikes

  • @riananimations7102
    @riananimations7102 Před 7 měsíci

    That do damage?

    • @RawOpsis
      @RawOpsis Před měsícem

      script the Beam part to see if they can find Humanoid(player) if so then health to 0

  • @X16_R
    @X16_R Před rokem

    My names thunderx and u created my weapon lightning 🤣

  • @dasussydoge
    @dasussydoge Před 12 dny

    it never worked :(

  • @drewchaboo719
    @drewchaboo719 Před rokem

    Am 2nd

  • @user-bx6sj3vn3o
    @user-bx6sj3vn3o Před 5 měsíci +2

    The code ive got is down below, ive checked about a million times to make sure everything was correct, but its still for some reason not working.
    local strikePart = script.Parent.StormPart
    local rnd = Random.new(tick())
    local stormSwath = 50
    local debris = game:GetService("Debris")
    local averageDelay = 8
    local beamWdAdj = 100
    local startPos = Vector3.new(0, 150, 0)
    local function makeStrike(l_startPos)
    local strikePartClone = strikePart:Clone()
    strikePartClone.Parent = workspace
    strikePartClone.Position = l_startPos
    strikePartClone.StrikeSnd:Play()
    strikePartClone.Beam.Width0 += rnd:NextInteger(0, beamWdAdj)
    strikePartClone.Beam.Width1 += rnd:NextInteger(0, beamWdAdj)
    local stopPos = Vector3.new(startPos.X, 10, startPos.Z)
    local diff = stopPos - startPos
    for i=1, 5, 1 do
    strikePartClone.Att1.WorldPosition += diff/5
    wait()
    end
    wait()
    strikePartClone.Att1.WorldPosition = strikePartClone.Att0.WorldPosition


    debris:AddItem(strikePartClone, strikePartClone.StrikeSnd.TimeLength)
    end
    while true do
    local xRnd = rnd:NextInteger(-stormSwath, stormSwath)
    local zRnd = rnd:NextInteger(-stormSwath, stormSwath)
    startPos = strikePart.Position + Vector3.new(xRnd, 0, zRnd)
    local t = rnd:NextInteger(0, averageDelay)
    print("time of delay = ", t)
    wait(t)
    spawn(function()
    makeStrike(startPos)
    end)
    end