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

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 55

  • @Travellerthattravels
    @Travellerthattravels 10 місяців тому +5

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

  • @Mike_Rottchburns
    @Mike_Rottchburns 12 годин тому

    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

  • @Preamac
    @Preamac Рік тому +7

    WOW i subbed and liked! This really helped me!

    • @deciq_z
      @deciq_z  Рік тому +1

      Tysm! 🥰

    • @MatthewPhaneuf
      @MatthewPhaneuf 4 місяці тому +1

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

  • @Djharrison1234
    @Djharrison1234 16 днів тому +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

  • @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

  • @FlowByteStudios
    @FlowByteStudios 5 місяців тому +1

    great video thanks

  • @theodore3540
    @theodore3540 10 місяців тому +1

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

  • @just_jazkie
    @just_jazkie Рік тому +2

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

  • @Atarulavv
    @Atarulavv 10 місяців тому +4

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

  • @28kcrzy
    @28kcrzy 5 місяців тому +1

    Thank you alot

  • @Scullgaming962
    @Scullgaming962 9 місяців тому +1

    what musikc

  • @qwexx1253
    @qwexx1253 8 місяців тому +1

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

  • @Patrick102-m4q
    @Patrick102-m4q 8 місяців тому +1

    how do i put sound

  • @broily3566
    @broily3566 3 місяці тому +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

  • @Thecreeper8211
    @Thecreeper8211 9 місяців тому

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

  • @Mrdooooodle
    @Mrdooooodle 6 місяців тому

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

  • @BagOfChipsDude
    @BagOfChipsDude Рік тому +3

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

  • @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 14 днів тому

      LEGEND TYSM OMG U SAVED ME

  • @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?

  • @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 7 місяців тому

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

  • @RayRaySmellz
    @RayRaySmellz 24 дні тому

    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 10 днів тому +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 9 днів тому

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

    • @averyrandomdude7468
      @averyrandomdude7468 7 днів тому

      @ same dawg

  • @LoucaLouca74
    @LoucaLouca74 7 місяців тому

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

  • @Dimer-14
    @Dimer-14 5 місяців тому

    😄Thank You

  • @ichigoontiming2447
    @ichigoontiming2447 5 місяців тому

    why does my charatcer spawn in first

    • @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"

  • @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 9 місяців тому

      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?

  • @ComputerCritter
    @ComputerCritter 9 місяців тому

    bro this sucks i followed all instructions and it didnt work

  • @ST4ROLIVI4234
    @ST4ROLIVI4234 5 місяців тому

    2:09 i do not know how.. 💀

  • @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)