How to make MAIN MENU with Camera Effect | Roblox Studio Turorial #3

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

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

  • @Travellerthattravels
    @Travellerthattravels 10 месяцев назад +5

    Thank you a ton be trying to make something for my game like this forever

  • @Preamac
    @Preamac Год назад +7

    WOW i subbed and liked! This really helped me!

    • @deciq_z
      @deciq_z  Год назад +1

      Tysm! 🥰

    • @MatthewPhaneuf
      @MatthewPhaneuf 5 месяцев назад +1

      @@deciq_z can u help me with this it wont work for me idk why🤨🤨🤔

  • @eyereeFN
    @eyereeFN 10 дней назад

    IT WORKSSSS THANKS SO MUCHHHH

  • @S-Developer-n2s
    @S-Developer-n2s День назад

    ThankYou ❤❤❤❤

  • @Mike_Rottchburns
    @Mike_Rottchburns 14 дней назад

    When I was a lad I ate 4 dozen eggs every morning to help me get large, and now that I’m grown I eat 5 dozen eggs so I’m roughly the size of a barge

  • @FlowByteStudios
    @FlowByteStudios 5 месяцев назад +1

    great video thanks

  • @hira-oq7se
    @hira-oq7se Год назад +6

    I keep getting the " Infinite yield possible on 'Workspace:WaitForChild("CameraPart")' " error

    • @deciq_z
      @deciq_z  Год назад +2

      You have to name the part to CameraPart

  • @Retrostudio_fan
    @Retrostudio_fan Месяц назад +1

    i’m putting the CamreaPart that I put in and it doesn’t show anything in the script I put the same name in the script, but it doesn’t show anything

  • @28kcrzy
    @28kcrzy 6 месяцев назад +1

    Thank you alot

  • @just_jazkie
    @just_jazkie Год назад +2

    i wonder whos that red hat guy anyway?????

  • @theodore3540
    @theodore3540 10 месяцев назад +1

    Why'd you create a vector and not use it?

  • @Atarulavv
    @Atarulavv 10 месяцев назад +4

    is not working😭😭😭😭😭😭 how do u fix that?

  • @MrRyan128
    @MrRyan128 9 месяцев назад +3

    Local RunService = game:GetService("RunService")
    local players = game:GetService("Players")
    local CameraPart = workspace:WaitForChild("CameraPart")
    local CurrentCamera = workspace.CurrentCamera
    local LocalPlayer = players.LocalPlayer
    local Mouse = LocalPlayer:GetMouse()
    local GUI = script.Parent
    local PlayButton = GUI.PlayButton
    local MOVE_SPEED = 150
    local function UpdateCamera()
    local Center = CameraPart.CFrame
    local MoveVector = Vector3.new((Mouse.X - Center.X)/MOVE_SPEED, (Mouse.Y - Center.Y)/MOVE_SPEED, 0)
    CurrentCamera.CFrame = CameraPart.CFrame * CFrame.Angles(math.rad(-(Mouse.Y - Center.Y)/MOVE_SPEED), math.rad(-(Mouse.X - Center.Y)/MOVE_SPEED), 0)
    end
    local Connection = RunService.RenderStepped:Connect(UpdateCamera)
    PlayButton.Activated:Connect(function()
    Connection:Disconnect()

    GUI:Destroy()
    end)

    • @Tomato_RL07
      @Tomato_RL07 28 дней назад

      LEGEND TYSM OMG U SAVED ME

  • @broily3566
    @broily3566 4 месяца назад +1

    It's not workinggg helppp I've been working for hourssss😭😭😭

    • @ColebOficial
      @ColebOficial Месяц назад

      --//Services
      local RunService = game:GetService("RunService")
      local Players = game:GetService("Players")
      --//Objets
      local CameraPart = workspace:WaitForChild("CameraPart")
      local CurrentCamera = workspace.CurrentCamera
      local LocalPlayer = Players.LocalPlayer
      local Mouse = LocalPlayer:GetMouse()
      --//Gui
      local GUI = script.Parent
      local PlayButton = GUI.PlayButton
      --//Constants
      local MOVE_SPEED = 150
      --//Functions
      local function UpdateCamera()
      local Center = CameraPart.CFrame
      local MoveVector = Vector3.new((Mouse.X - Center.X)/MOVE_SPEED, (Mouse.Y - Center.Y)/MOVE_SPEED, 0)
      CurrentCamera.CFrame = CameraPart.CFrame * CFrame.Angles(math.rad(-(Mouse.Y - Center.Y)/MOVE_SPEED), math.rad(-(Mouse.X - Center.Y)/MOVE_SPEED), 0)
      end
      --//Events
      local Connection = RunService.RenderStepped:Connect(UpdateCamera)
      PlayButton.Activated:Connect(function()
      Connection:Disconnect()

      GUI:Destroy()
      end)
      Here The Script

  • @BagOfChipsDude
    @BagOfChipsDude Год назад +3

    Bro why did i spawn on R15? still, thanks, your script worked, im making a game on R6 not R15

    • @DavidPuiu420
      @DavidPuiu420 10 месяцев назад

      Game settings > Avatar

  • @Dimer-14
    @Dimer-14 6 месяцев назад

    😄Thank You

  • @Thecreeper8211
    @Thecreeper8211 9 месяцев назад

    it wont work i copied every step I named everything the same as you named it, How to fix pls?

  • @qwexx1253
    @qwexx1253 9 месяцев назад +1

    i did all scripts and not working
    why wouldn't you just copy all script?
    and put in the description?

  • @ella_yep
    @ella_yep Год назад +1

    idk what i did wrong, followed every step but when i clicked play it didnt work (i spent an _hour_ doing the script)

    • @deciq_z
      @deciq_z  Год назад +1

      Im so sorry about it. What is the error you are getting?

    • @ella_yep
      @ella_yep Год назад +1

      @@deciq_z idek im not rlly getting an error it just didnt work

    • @ella_yep
      @ella_yep Год назад +1

      @@deciq_z wait nvm i think i fount jt lmao

    • @Kloud_Services
      @Kloud_Services Год назад +1

      im getting the sam how did u fix@@ella_yep

    • @WaffleDev-rblx
      @WaffleDev-rblx 8 месяцев назад

      @@ella_yep same, with every tutorial i do, none of the scripts work for me

  • @Mrdooooodle
    @Mrdooooodle 6 месяцев назад

    Dev_Deciqz I need help. when I press the start button the camera is bugged
    Please Lmk how to fix!!

  • @Patrick102-m4q
    @Patrick102-m4q 8 месяцев назад +1

    how do i put sound

  • @RayRaySmellz
    @RayRaySmellz Месяц назад

    does it only work on certain templates as I am using the FPS system one and I've followed a bunch of tutorials for main menus and nothing at all has worked. I've literally been doing this for hours now :(

    • @averyrandomdude7468
      @averyrandomdude7468 24 дня назад +1

      Istg bro I’m tryna make a story game and I want the main menu to be faced at the terrain I created but each script won’t let me bro keep me posted if you find a script that works

    • @RayRaySmellz
      @RayRaySmellz 23 дня назад

      @averyrandomdude7468 I literally gave up on the game bro :/

    • @averyrandomdude7468
      @averyrandomdude7468 21 день назад

      @ same dawg

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

    Do ur script so that when ur in the gui u cant move , ur invicible and invisible

  • @Scullgaming962
    @Scullgaming962 10 месяцев назад +1

    what musikc

  • @Imvincenzo.
    @Imvincenzo. Год назад

    hii! im planning on doing a horor game, and i dont really know lua code language, only thing i know to do are proximity prompt dialogues and theres so much to do on a horror ame, would you like to help me? do i need to pay for it?

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

      How did ur roblox horror game go?

  • @vdk69brawlstars
    @vdk69brawlstars 10 месяцев назад

    brooo, :c it doesnt work. I literally copied the script from the comments, did every step u did. I dont have the camera plus the play button aint working. I spent 1 hour to decorate my main menu place and nothing works ;c
    Edit : Nvm It worked!!! looks awesome tysm bro!

    • @Atarulavv
      @Atarulavv 10 месяцев назад

      How do u fixed it?

    • @Lucidluca
      @Lucidluca 10 месяцев назад

      hey how did you get it to work please?

    • @Thecreeper8211
      @Thecreeper8211 9 месяцев назад

      how did you fix it?!?!?!?!?

    • @Mrdooooodle
      @Mrdooooodle 6 месяцев назад

      yo bro how did you fix it?

  • @0MN1P0T3NT1AL
    @0MN1P0T3NT1AL 10 месяцев назад

    bro this sucks i followed all instructions and it didnt work

  • @ichigoontiming2447
    @ichigoontiming2447 5 месяцев назад

    why does my charatcer spawn in first

    • @ColebOficial
      @ColebOficial Месяц назад +1

      --//Services
      local RunService = game:GetService("RunService")
      local Players = game:GetService("Players")
      --//Objets
      local CameraPart = workspace:WaitForChild("CameraPart")
      local CurrentCamera = workspace.CurrentCamera
      local LocalPlayer = Players.LocalPlayer
      local Mouse = LocalPlayer:GetMouse()
      --//Gui
      local GUI = script.Parent
      local PlayButton = GUI.PlayButton
      --//Constants
      local MOVE_SPEED = 150
      --//Functions
      local function UpdateCamera()
      local Center = CameraPart.CFrame
      local MoveVector = Vector3.new((Mouse.X - Center.X)/MOVE_SPEED, (Mouse.Y - Center.Y)/MOVE_SPEED, 0)
      CurrentCamera.CFrame = CameraPart.CFrame * CFrame.Angles(math.rad(-(Mouse.Y - Center.Y)/MOVE_SPEED), math.rad(-(Mouse.X - Center.Y)/MOVE_SPEED), 0)
      end
      --//Events
      local Connection = RunService.RenderStepped:Connect(UpdateCamera)
      PlayButton.Activated:Connect(function()
      Connection:Disconnect()

      GUI:Destroy()
      end)
      "Here The Script"

  • @ST4ROLIVI4234
    @ST4ROLIVI4234 5 месяцев назад

    2:09 i do not know how.. 💀

  • @Booper3834
    @Booper3834 10 дней назад

    i got 2 errors
    1: ContextActionService:BindAction can only be called from a local script
    2: Players.MYUSERNAMEMINDYOBUISNESS.PlayerGui.MainMenuGUI.MenuController:1: Incomplete statement: expected assignment or a function call

  • @levonze
    @levonze 8 месяцев назад +1

    Your camera moves too much to right
    Fixed Code
    local RunService = game:GetService("RunService")
    local Players = game:GetService("Players")
    local CameraPart = game.Workspace:WaitForChild("CameraModel"):WaitForChild("CameraPart")
    local CurrentCamera = game.Workspace.CurrentCamera
    local LocalPlayer = Players.LocalPlayer
    local Mouse = LocalPlayer:GetMouse()
    local GUI = script.Parent
    local MOVE_SPEED = 25
    local function UpdateCamera()
    local Center = CameraPart.CFrame
    local MoveVector = Vector3.new((Mouse.X - Center.X)/MOVE_SPEED, (Mouse.Y - Center.Y)/MOVE_SPEED, 0)
    CurrentCamera.CFrame = CameraPart.CFrame * CFrame.Angles(math.rad(-(Mouse.Y - Center.Y)/MOVE_SPEED), math.rad(-(Mouse.X - Center.X/2)/MOVE_SPEED), 0)
    end
    local Connection = RunService.RenderStepped:Connect(UpdateCamera)

    • @ParadiseVFX
      @ParadiseVFX 5 месяцев назад

      doesnt work for me do i put the Camera under StarterGUI?

    • @ParadiseVFX
      @ParadiseVFX 5 месяцев назад

      Nevermind thank you so much!

    • @ParadiseVFX
      @ParadiseVFX 5 месяцев назад

      actually it doesnt work.

  • @joaopedro-hw9bl
    @joaopedro-hw9bl 10 месяцев назад

    FULL SCRIPT
    local RunService = game:GetService("RunService")
    local players = game:GetService("Players")
    local CameraPart = workspace:WaitForChild("CameraPart")
    local CurrentCamera = workspace.CurrentCamera
    local LocalPlayer = players.LocalPlayer
    local Mouse = LocalPlayer:GetMouse()
    local GUI = script.Parent
    local PlayButton = GUI.PlayButton
    local MOVE_SPEED = 150
    local function UpdateCamera()
    local Center = CameraPart.CFrame
    local MoveVector = Vector3.new((Mouse.X - Center.X)/MOVE_SPEED, (Mouse.Y - Center.Y)/MOVE_SPEED, 0)
    CurrentCamera.CFrame = CameraPart.CFrame * CFrame.Angles(math.rad(-(Mouse.Y - Center.Y)/MOVE_SPEED), math.rad(-(Mouse.X - Center.Y)/MOVE_SPEED), 0)
    end
    local Connection = RunService.RenderStepped:Connect(UpdateCamera)
    PlayButton.Activated:Connect(function()
    Connection:Disconnect()

    GUI:Destroy()
    end)