Комментарии:
I never expected this video to become so popular
ОтветитьSo i made like a loading screen before it but the play button is in the way how can i fix that?
Ответитьthe play button doesent dissapear
ОтветитьI've seen a lot of people pasting the code incorrectly, I'm going to do it nice and clean ;)
local CurrentCamera = workspace.CurrentCamera
local Part = workspace:WaitForChild("MenuCamera")
local PlayBTN = script.Parent.BG.Play_btn
wait(0.001)
CurrentCamera.CameraType = Enum.CameraType.Scriptable
CurrentCamera.CFrame = Part.CFrame
function Play()
CurrentCamera.CameraType = Enum.CameraType.Custom
script.Parent:Destroy()
end
PlayBTN.MouseButton1Click:Connect(Play)
bro he just scammed us all report
Ответитьhow could i make it so it destroys all of it for only you once you press the play button
Ответитьayo when i hit play the play button and the camera view won't go away
Ответитьis there a link to the model?
ОтветитьTysm this really helped a lot :3
ОтветитьNice tutorial !
I have a solution for the infinite yield
Maybe the camera is too far from the player so the player can't load it
I made this mistake because i created a platform with the camera and i moved it away of the map so the players can't see it
Hope this help ;)
I did everything correctly and even checked for spelling errors but the play button wouldn't work
Ответитьman u did clickbait i wanted a main menu like the thumnail :(
ОтветитьThis is the Great HaZe Channel.
ОтветитьThis is what i need for my haikyuu game i'm making thx
ОтветитьI need help, everything works but when i hit play nothing happens, i checked multiple times for spelling errors but nothing is missing and the buttons are all named correctly.
Ответитьclickbait thumbnail
Ответитьthe camera works, but not the play button
Ответитьits not working bruh
ОтветитьIt worked! Could you make a part 2 that includes a credit button?
Ответитьbroh thx!! you helped me so much!!
ОтветитьIt works thank you. Just an quick issue when I hit play the camera flips over the camera is anchored.
Ответитьwhen I try it, it says infinite yield possible. Is there any fixes?
Ответитьplay button is not working
ОтветитьI tried everything. There are no misspells, and I typed everything. Still, it is not in the camera position. Please help
ОтветитьWhat's the game in the tumbnail?
Ответить--Varibles
local CurrentCamera = workspace.CurrentCamera
local Part = workspace:WaitForChild("MenuCamera")
local PlayerBTN = script.Parent
wait(0.001)
--Set the camera position to MenuCamera
CurrentCamera.CameraType = Enum.CameraType.Scriptable
CurrentCamera.CFrame = Part.CFrame
--Functions
function Play()
CurrentCamera.CameraType = Enum.CameraType.Custom
script.Parent:Destroy()
end
--Run the Function
PlayBTN.MouseButton1Click:Connect(Play)
how to make it move
Ответитьhow do i make when the camera follows the mouse
(i might do this at my game and try to make the avatar make any pose for the main menu)
Hi i was wondering if it would be possible for u to maybe make it so when we press play it gives us options for a spawn, and we have to chose a spawn location in order to play the game?
ОтветитьBro, it didn't work for me, when I enter the game it spawns directly, help me, I did everything the same😢
ОтветитьHello! may I ask? This the first tutorial that work for me and it's really great but can you please help me? I want the play button to have some animation to look more nicer and smoother! I hope you can help me!
ОтветитьIdk what I did wrong. I copied the script correctly and even checked for spelling errors but when I test it it brings me straight to the spawn location and not the camera.
ОтветитьHey i Wonder if you give us some model that i can use ☺️
ОтветитьSCRIPT:
local CurrentCamera = workspace.CurrentCamera
local Part = workspace:WaitForChild("MenuCamera")
local PlayBNT = script.parent.BG.Play_btn
wait(0.001)
--Menu Camera
CurrentCamera.CameraType = Enum.CameraType.Scriptable
CurrentCamera.CFrame = Part.CFrame
--Function!
function Play()
CurrentCamera.CameraType = Enum.CameraType.Custom
script.Parent:Destroy()
end
--Run function =)
PlayBNT.MouseButton1Click:Connect(Play)
Nice, I am going to use this to implement a main menu so when the player presses play, it then does an animation to move down or fade away. When the credits underneath this is pressed, it then changes the camera to a position and then the credits will show.
ОтветитьYo the camera and everything works but when I click play it doesn't take me off the camera can you help me out
ОтветитьHello! My name is Enrique, I have seen all your videos which I really think are great and because of your knowledge in the area of Scripts. I would love to know if you would be interested in participating in the development of a Roblox experience that is quite advanced. What it really needs is someone to bring it to life with the scripts. If you are interested, do not hesitate to reply and I will be happy to give you more details! Many successes.
Ответитьgood tutorial man
your script worked even tho I removed some line so the camera is fixed on a part
but it would be good to have the script in the description
This need change:--Locals
local CurrentCamera = workspace.CurrentCamera
local Part = workspace:WaitForChild("MenuCamera")
This need change to ---------------------------------------------------------------------------------------local Playbtn = game.StarterGui.MenuGUI.BG.Play_bnt
wait(0.001)
--Sets
CurrentCamera.CameraType = Enum.CameraType.Scriptable
CurrentCamera.CFrame = Part.CFrame
--function
function Play()
CurrentCamera.CameraType = Enum.CameraType.Custom
script.Parent:Destroy()
end
--RUN!!!!!!!!
Playbtn.MouseButton1Down:Connect(Play)
And play button not work i will add
script.Parent.MouseClick1Down:Connect(function()
script.Parent.Parent.Visible = false
end
You need to change this script: local Playbtn = game.StarterGui.MenuGUI.BG.Play_bnt
ОтветитьCan you make a video on how to add a second camera for another mode thanks. Also please make it so that when I click It should teleport me to another game. Also it works nice video! 🗿🗿🗿🗿
Ответить