How to Fix Scripts | Roblox Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 94

  • @CyberCreator
    @CyberCreator  3 года назад +7

    Did anyone figure out how to fix the warning for the code I didn't fix at the end?

    • @njstudios2055
      @njstudios2055 3 года назад +3

      for i=1,9 do, cuz u cant already have i be a bigger number than what it is going to be or counting to

    • @mr_griffolukegriffiths9166
      @mr_griffolukegriffiths9166 3 года назад +2

      you would need to tell it to count backwards for this loop to work ;)
      or switch the start and end point
      for i = 9,1,-1 do
      would work

    • @Vainglory100
      @Vainglory100 3 года назад +2

      I feel like this is a personal attack Cy.

    • @CyberCreator
      @CyberCreator  3 года назад

      Your code was formatted correctly! You were the example of the correct way to post your code!

    • @CyberCreator
      @CyberCreator  3 года назад

      Yep! That covers both of the potential solutions!

  • @stickman5180
    @stickman5180 3 года назад +8

    Programmer: how did you know I was a programmer?
    Their keyboard: CLICKITY CLACKITY CLICKER CLACK

  • @Papaintion
    @Papaintion 3 года назад +3

    The only Roblox Studio Creator I’ll watch every single chance I get.
    Gonna join the discord..

    • @CyberCreator
      @CyberCreator  3 года назад +1

      Thank you! Good to see you in the discord!

    • @axtx36t
      @axtx36t Год назад

      @@CyberCreator how do i fix Syntax Error: (6,2) Expected ')' (to close '(' at line 5), got 'Clicks'

    • @axtx36t
      @axtx36t Год назад

      @@CyberCreator im just going off a tut and dont know much about scripting

  • @mr_griffolukegriffiths9166
    @mr_griffolukegriffiths9166 3 года назад +2

    Im going to be sending so many people to this video 😁

    • @CyberCreator
      @CyberCreator  3 года назад +1

      Haha I was thinking about you when I made this. Hopefully it saves some time

  • @exemida
    @exemida 3 года назад

    Congratz you've earned yourself a subscriber! Thank you Im learning more from watching this video than I did from reading this book I bought.

  • @Saykator
    @Saykator 3 месяца назад

    How to fix "we have disabled some language features becasuse this script is too long and it's affecting system performance. You can change this in Settings."

  • @elpapucousma5898
    @elpapucousma5898 2 года назад +1

    Cuando puse este script en dos bloques, por alguna razon uno funcionaba y el otro a medias (Por si acaso, no me aparecia el error en el output).
    El script:
    local Interior = script.Parent
    local Exterior = game.Workspace
    while wait(10) do
    Interior.BrickColor = BrickColor.new("Smoky grey")
    Interior.Material = Enum.Material.Asphalt
    Exterior["Light Level 0"]["Annoying sound"]:Pause()
    Exterior["Light Level 0"].Part["Turn off light Level 0"]:Play()
    Exterior["Light Level 0"].Part.PointLight.Brightness = 0
    wait(5)
    Exterior["Light Level 0"]["Annoying sound"]:Play()
    Interior.Material = Enum.Material.Neon
    Interior.BrickColor = BrickColor.new("Persimmon")
    Exterior["Light Level 0"]["Annoying sound"].Volume = 0.3
    Exterior["Light Level 0"].Part.PointLight.Brightness = 0.2
    Exterior["Light Level 0"].Part.PointLight.Color = Color3.new(1, 0.670588, 0.670588)
    wait(0.1)
    Exterior["Light Level 0"].Part.PointLight.Brightness = 0.3
    Exterior["Light Level 0"]["Annoying sound"].Volume = 0.5
    Interior.BrickColor = BrickColor.new("Crimson")
    Exterior["Light Level 0"].Part.PointLight.Color = Color3.new(1, 0.52549, 0.52549)
    wait(0.1)
    Exterior["Light Level 0"].Part.PointLight.Brightness = 0.5
    Exterior["Light Level 0"]["Annoying sound"].Volume = 1
    Interior.BrickColor = BrickColor.new("Really red")
    Exterior["Light Level 0"].Part.PointLight.Color = Color3.new(1, 0.254902, 0.254902)
    wait(10)
    Exterior["Light Level 0"].Part["Turn on llight Level 0"]:Play()
    Interior.BrickColor = BrickColor.new("Institutional white")
    Exterior["Light Level 0"]["Annoying sound"].Volume = 0.5
    Exterior["Light Level 0"].Part.PointLight.Color = Color3.new(1, 1, 1)
    end

  • @alxmin4932
    @alxmin4932 3 года назад +2

    Great video! I'm sure this well help a ton of people.

    • @CyberCreator
      @CyberCreator  3 года назад +1

      Thanks! Hopefully so!

    • @RobloxLife-cy6lb
      @RobloxLife-cy6lb 2 года назад

      @@CyberCreator How do I fix 10:04:34.626 run\:1: Incomplete statement: expected assignment or a function call - Studio

  • @blackshadow6216
    @blackshadow6216 3 года назад +1

    Great videos just make sure u put cc on all your future videos so i can understand better thx😁

    • @CyberCreator
      @CyberCreator  3 года назад +1

      Got it! I definitely want my videos to be more accessible so I'll do my best!

    • @blackshadow6216
      @blackshadow6216 3 года назад

      @@CyberCreator you dont have to put your own cc the auto generated one should do the trick 🌚

  • @daganiojacob18
    @daganiojacob18 2 года назад

    Gonna say that deprecated globals can still work.

  • @nooby9235
    @nooby9235 2 года назад +1

    omg thanks so much

  • @xstars2843
    @xstars2843 2 года назад

    I have a little problem here, so basically i was just minding my own business making a game when i chose a ship which was a lot of scripts (i think so) and then my roblox studio just suddenly froze and now i cant get in. Please make a vid on how to fix it.
    Edit: i actually think that my scripts are broken.
    Edit 2:When i try to get in the studio it says "Access is denied"
    Edit 3💀: Yay its working again lol.

  • @beansze4940
    @beansze4940 3 года назад

    Also, I am on the discord server and the staff is very helpful. Thank you

  • @xiaoweishi5873
    @xiaoweishi5873 2 года назад +1

    Someone asked if I was autistic because I didn’t know what she was talking about even though I said I started 2 days ago and then they didn’t help me their name is HOLYMACARONIES

  • @gon.mp4481
    @gon.mp4481 3 года назад

    Slightly late but I do appreciate this help, Also is it by any chance possible to fix inconsistent delays because i have a cutscene intro and you wait 2 seconds before it plays and sometimes certain scenes take longer then they are supposed to and other times they play normally. Is it possible to fix this inconsistency?

  • @universalsapnifs7428
    @universalsapnifs7428 Год назад

    how to fix attempt to perform arithmetic (add) on Instance and Vector3

  • @QuackersLikesToQuack
    @QuackersLikesToQuack 2 года назад

    im not sure why this is happening but the scripts in my game sometimes works and sometimes doesnt work

  • @xHunor
    @xHunor Год назад

    while wait() do
    local player = game.Players.LocalPlayer
    script.Parent.Text = "🐒 "..player:WaitForChild("leaderstats"):FindFirstChild("Monki").Value
    end
    what is wrong???
    it says this : Players.blackcomplete21.PlayerGui.GUI.MAINGUI.Monkeys.Stat:3: attempt to index nil with 'Value'

  • @4Ever2DayYT
    @4Ever2DayYT Месяц назад

    It says here unknown global 'input' can you help me pls I'm trying to make an first person shooter game

  • @InsectBucket215-vq3mb
    @InsectBucket215-vq3mb 2 года назад

    My entire game scripts needs fixed i have 179 warnings that needs fixed

  • @dogman1357
    @dogman1357 7 месяцев назад

    I love the video but it didn't help with the null bc in one I have local combo = 4 and later I have if combo >= MAX_COMBO then and it does smth but it says that it can't compare a nill but Idk why it is a nill. i need help with this

  • @gameswitheli
    @gameswitheli Год назад

    Can we talk over discord about a problem i have

  • @Funn11111
    @Funn11111 Год назад

    i don’t have a output for some reason, any way to fix this?

  • @RobloxLife-cy6lb
    @RobloxLife-cy6lb 2 года назад

    How do I fix 10:04:34.626 run\:1: Incomplete statement: expected assignment or a function call - Studio

  • @alanyang9815
    @alanyang9815 2 года назад

    so i tried to make a tower defence game (td game) but when the enemy gets to the end the it comes with an error and says ServerScriptService.Main.mob:18: attempt to index nil with 'Destroy' idk whats gone wrong and here is my script: local ServerStorage = game:GetService("ServerStorage")
    local mobs = ServerStorage.mobs
    local mob = {}
    function mob.Move(mob, map)
    local Humanoid = mob:WaitForChild("Humanoid")
    local Waypoints = workspace.Map.Waypoints

    for Waypoint=1, #Waypoints:GetChildren() do

    end
    for Waypoint=1, #Waypoints:GetChildren() do
    Humanoid:MoveTo(Waypoints[Waypoint].Position)
    Humanoid.MoveToFinished:Wait()

    end
    Apple:destroy()
    end pls help

  • @crep2cat
    @crep2cat 2 года назад

    I Need help my script is broken for users

  • @baconclover6977
    @baconclover6977 2 года назад

    im not allowed to have discord :(

  • @oggaraggairoaawfauhaiu31_UN
    @oggaraggairoaawfauhaiu31_UN 2 года назад

    uh excuse me i got a warning called Workspace.Button.Script:3: attempt to call a RBXScriptSignal value, please help

  • @mjulegutt
    @mjulegutt Год назад

    Fade is not a valid member of PlayerGui

    • @mjulegutt
      @mjulegutt Год назад

      local cam = workspace.CurrentCamera
      local StatCam = workspace.StartingCam
      local targetcam = workspace.EndingCam
      local TS = game:GetService("TweenService")
      local fade = script.Parent.Parent.Parent.Fade
      function Fade0()
      for i = 1,0,-0.05 do
      fade.Transparency = i
      wait(0.05)
      end
      fade.Transparency = 0
      end
      function Fade1()
      for i = 0,1,0.05 do
      fade.Transparency = i
      wait(0.05)
      end
      fade.Transparency = 1
      end
      wait(0.001)
      cam.CameraType = Enum.CameraType.Scriptable
      local tweeninf1 = TweenInfo.new(0.001,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0)
      local partproperties1 = {CFrame = StatCam.CFrame}
      local tween1 = TS:Create(cam,tweeninf1,partproperties1)
      tween1:Play()
      script.Parent.Parent.Visible = true
      script.Parent.MouseButton1Click:Connect(function()
      print("Loading")
      local tweeninf = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0)
      local partproperties = {CFrame = targetcam.CFrame}
      local tween = TS:Create(cam,tweeninf,partproperties)
      script.Parent.Parent.Visible = false
      tween:Play()
      wait(1.1)
      Fade0()
      wait(0.5)
      cam.CameraType = Enum.CameraType.Custom
      wait(0.5)
      Fade1()
      end)

  • @Notwhalecoolos
    @Notwhalecoolos 2 года назад

    ServerScriptService.Leaderstats:13: attempt to index nil with 'Price' - Server - Leaderstats:13
    TomBuild how to make a brookheavon game part 7 but is not work can you help me

  • @justforepicgamesidk7570
    @justforepicgamesidk7570 Год назад

    Hi I’m using a console script in my game and I entered a script for me to troll and then this thing appear Expected identifier when parsing expression, got Unicode character U+201c (did you mean ‘“‘?) Is there anyway to fix this?

  • @juniorbro18
    @juniorbro18 Год назад

    my error with the LocalScript is: Expected >eof

    • @HR1A554
      @HR1A554 Год назад

      eof is end of function, you needed to type end where you want to end the script

  • @KremGhost
    @KremGhost 2 года назад

    so I have a Map and I have lots of warning errors and I don't know if that's what's crashing me if you can tell me how to fix the problem

    • @RobloxLife-cy6lb
      @RobloxLife-cy6lb 2 года назад

      @POP Y'know how to fix 10:04:34.626 run\:1: Incomplete statement: expected assignment or a function call - Studio

  • @GabeioIDK
    @GabeioIDK Год назад

    omg cloud 35 is responding

  • @Sofleezy
    @Sofleezy 2 года назад

    can you help me with my script

  • @straw5929
    @straw5929 2 года назад

    quick question: when i type “script” in the coding page it shows “red” that means im getting the error from the word. Can you help me?

  • @Arwenrei
    @Arwenrei 2 года назад

    can somebody tell me how to fix script in reply
    ""if game:GetService("ReplicatedStorage"):WaitForChild("GameData"):WaitForChild("InGame").Value == true then
    require(script:WaitForChild("Main_Game"));

  • @snacky8559
    @snacky8559 3 года назад

    how do i enable the output because i cant find a option

    • @CyberCreator
      @CyberCreator  3 года назад

      Click View (In the top of the screen on studio) then Output

  • @my_youtubechannel8858
    @my_youtubechannel8858 2 года назад

    I subbed thx

  • @InfernoPlays333
    @InfernoPlays333 Год назад

    i didnt get any help with this video my problem is.
    if(datastore:GetAsync(initKey) == nil) then

    end
    it doesnt work

    • @InfernoPlays333
      @InfernoPlays333 Год назад

      ignore this im an idiot i forgot to turn on a setting

  • @sparklyspartan1833
    @sparklyspartan1833 3 года назад +1

    Yo

  • @my_youtubechannel8858
    @my_youtubechannel8858 2 года назад

    Yes😊

  • @alanyang9815
    @alanyang9815 2 года назад

    pls help

  • @jmfive_
    @jmfive_ 3 года назад +1

    e

  • @daganiojacob18
    @daganiojacob18 2 года назад

    'game.Workspace' or 'workspace'

  • @nullgaming2072
    @nullgaming2072 3 года назад +2

    Early 😀👋

  • @nubbycastration
    @nubbycastration 2 года назад +1

    69th comment (real)

    • @Vandezza
      @Vandezza Год назад

      I like your style 😉😉

  • @Infectedwoundd
    @Infectedwoundd 2 года назад

    Unsub

  • @Infectedwoundd
    @Infectedwoundd 2 года назад

    Fake

  • @Infectedwoundd
    @Infectedwoundd 2 года назад

    So fake

  • @rakovina123
    @rakovina123 Год назад

    Can someone help?
    ReplicatedFirst.LoadingScreenScript:27: attempt to index nil with 'Background'

  • @GabeioIDK
    @GabeioIDK Год назад

    do you know haw to fix this cloud_319094400.Model.WeatherScript:35: attempt to call a nil value

  • @Retiredguy903
    @Retiredguy903 2 года назад

    How to fix findfirstchild is not a valid member of model "workspace.Raspiestmedal" (I'm raspiest medal)