really polished and good looking system, but i advise getting closer to your microphone in future videos, or adjusting it so it picks up your voice rather than the keyboard :)
I was trying to do this with ImageLabel and a transition to a loading screen, i gave up. Also roblox studio for some reason didnt show my game and im depressed cuz i spent hours making that map and its all gone
Hey, commenting again, but i tried combining this with surface GUI for something, and it worked really good, but a problem is that every time the character resets or dies, the menu repeats the tweening and goes to the menu screen again, is there a way to solve that, or is it easier to just turn off the reset option in the roblox menu? (because the character wont take damage in my game anyways) - I'm going to put my code for that below if needed Another REALLY important bug this time tho, is that like 60% of the time the screen cuts to the regular avatar camera right after the tweening finishes, i've set the workspace camera to scriptable and so on already, but i'll see if it could be because of another script im using for player camera effects, i dont think its because of another script tho, because the cameratype remains scriptable even when it kicks me off the loading screen. Code: > Local-script in MenuGUI function tween(obj, dur, cmd) game:GetService('TweenService'):Create(obj, dur, cmd):Play() end local MenuCam = workspace:WaitForChild("MenuCam") workspace.Camera.CameraType = Enum.CameraType.Scriptable tween(workspace.Camera, TweenInfo.new(1), {CFrame = MenuCam.CFrame}) > Local-script under Play(button) script.Parent.MouseButton1Click:Connect(function() local gui = script.Parent.Parent game.Workspace.Camera.CameraType = Enum.CameraType.Custom end) Any help from anyone appreciated, even tho i kind of broke it, its still a really good and quick yet versatile tutorial that i learnt a lot from. Also, the scripts are modified according to what i needed in my game, i used workspace:WaitForChild("MenuCam") instead of what's in the video, because the MenuCam would load later causing the whole script to stop when it couldn't find the MenuCam part, and so on.
How do i hide my other ScreenGui if on play screen? I added 2 screen Gui one is just called like that other one is the menu Gui i would like to hide ScreenGui when on MenuGui
in the menugui script, add: game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = false in the playbutton script, add: game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = true
@@koaltreusI also got a question is it possible to make a BilboardGui Become visible if you pressed a GuiButton and invisible if you pressed the button again?
@@eersatzz in the menugui script, where you see “tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame})” replace the 1 with a 0
@@koaltreus is there a way to make a video to explain it or explain it in another way I'm wondering I know this might be a waste of your time I'm sorry about that
function tween(obj, dur, cmd) game:GetService('TweenService'):Create(obj, dur, cmd):Play() end workspace.Camera.CameraType = Enum.CameraType.Scriptable tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame}) LocalScript:6: MenuCam is not a valid member of Workspace "Workspace". That error happens even though i have put in MenuCam in workspace, i'm kinda new to scripting, do i have to use 'MenuCam.Parent = game.Workspace'?
@@learningscripting maybe check if your MenuCam part is anchored, if not, it could’ve fallen into the void. But in the script, try replacing every “workspace.MenuCam” with “workspace:WaitForChild(‘MenuCam’)”
really polished and good looking system, but i advise getting closer to your microphone in future videos, or adjusting it so it picks up your voice rather than the keyboard :)
Alrighty! Thanks!
bro i genuinelyy love u for ths
Hey man great video! keep up the good work :)
u explain realy good.
thx for advices!
NVM, I fixed it, amazing tutorial
I was trying to do this with ImageLabel and a transition to a loading screen, i gave up.
Also roblox studio for some reason didnt show my game and im depressed cuz i spent hours making that map and its all gone
it doesnt work for me :(
it who'd be great is you put the script in the discerption
1k views!! Thanks y’all! ❤
Edit: 2K VIEWS NOW?????????
nah u deserve 100k views
the player when dead, the Text Button still appeared and the cam go back to MenuCam
@@okelahbegitu4494 disable “ResetGuiOnSpawn” in the menugui
Great tutorial, but what do I need to do if I want to add a blur effect to it?
help my camera doesnt go to my scene it just locks nowhere near where i put the camera pls help
Hey, commenting again, but i tried combining this with surface GUI for something, and it worked really good, but a problem is that every time the character resets or dies, the menu repeats the tweening and goes to the menu screen again, is there a way to solve that, or is it easier to just turn off the reset option in the roblox menu? (because the character wont take damage in my game anyways) - I'm going to put my code for that below if needed
Another REALLY important bug this time tho, is that like 60% of the time the screen cuts to the regular avatar camera right after the tweening finishes, i've set the workspace camera to scriptable and so on already, but i'll see if it could be because of another script im using for player camera effects, i dont think its because of another script tho, because the cameratype remains scriptable even when it kicks me off the loading screen.
Code:
> Local-script in MenuGUI
function tween(obj, dur, cmd)
game:GetService('TweenService'):Create(obj, dur, cmd):Play()
end
local MenuCam = workspace:WaitForChild("MenuCam")
workspace.Camera.CameraType = Enum.CameraType.Scriptable
tween(workspace.Camera, TweenInfo.new(1), {CFrame = MenuCam.CFrame})
> Local-script under Play(button)
script.Parent.MouseButton1Click:Connect(function()
local gui = script.Parent.Parent
game.Workspace.Camera.CameraType = Enum.CameraType.Custom
end)
Any help from anyone appreciated, even tho i kind of broke it, its still a really good and quick yet versatile tutorial that i learnt a lot from.
Also, the scripts are modified according to what i needed in my game, i used workspace:WaitForChild("MenuCam") instead of what's in the video, because the MenuCam would load later causing the whole script to stop when it couldn't find the MenuCam part, and so on.
You could disable the reset button or disable ‘ResetGuiOnSpawn’ in the menu gui
@@koaltreus thanks, i didnt know that existed
can you make a custom animation tutorial? ive tried once, but its never worked (i used the inbuilt animation editors on rigs)
this doesnt work for me i always spawn as my charakter i even changed the command like you said in the comment section pls help me
In the second script line isn't working its something witht the
Gui.enabled
Please help
How do i hide my other ScreenGui if on play screen? I added 2 screen Gui one is just called like that other one is the menu Gui i would like to hide ScreenGui when on MenuGui
in the menugui script, add:
game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = false
in the playbutton script, add:
game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = true
@@koaltreus Thank you! It works perfectly
@@koaltreusI also got a question is it possible to make a BilboardGui Become visible if you pressed a GuiButton and invisible if you pressed the button again?
@@benekthecat7394 yea, thats possible
@@koaltreus is it then a simular script to the one what hides the screenGui but just modified by adding instead of frame name billboard name?
Idk why but it's tweening the camera to the part but then immediately going to the player without me pressing the button
set the cameratype to scriptable, then i think itll work
@@koaltreus I had the same problem and tried it, it didn't work, any other ideas to make this work?
@@koaltreus That doesnt work
@@koaltreus I have the same problem. Is there any way to fix it?
@@koaltreus still doesn't work, could you help ?
hey bro do yk why however much i rotate the cube (camera) whenever i press play it always flops to the side or goes upside down? thanks
is it anchored in the properties?
you never said anything about A. the camera having range
B. Camera has a limited amount of uses
explain
Thank you!
@@thatshiairaqi9886 np!
Can you add a *"Copy and Paste"* to the code? Thanks!
Also, it made it so it went to the player without me pressing the button and had me stuck there. Thanks!
UPDATE = NVM IT WORKED!!!! I CANT FIND THE WORDS TO THANK YOU. CAN I ADDD YOU ON DISCORD??
is there a way to have the game load on the camera instantly instead of seeing the transition TO the camera spot?
@@eersatzz in the menugui script, where you see “tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame})” replace the 1 with a 0
Yo thanks Koaltreus!!!
question is there a way to add animated npcs to your main menu or cutscene? I would like to know
Yes, there is
@@koaltreus is there a way to make a video to explain it or explain it in another way I'm wondering I know this might be a waste of your time I'm sorry about that
@@FilmTune it’s all good, I might make a vid on it soon
@@koaltreus well cya soon I guess thanks for your help👍
oh also whats your roblox profile I wanna give you a request and follow you for your help
@@FilmTunemy profile is Koaltreus
I don’t see anything when I play the camera except the void why?
happened to me too. in the menugui script, try replacing every “workspace.MenuCam” with “workspace:WaitForChild(‘MenuCam’)”
@@koaltreus ok
THANK YOU!!!!!
I need your help. The code works successfully but it does not disappear when I press the ''Play'' button. What should I do?
How do you get the sitting guy
create a guy using the rig builder (found in 'Avatar' section) and just rotate and move its bodyparts to make a sitting pose
@@koaltreus the script didn’t work for the camera
@@koaltreus i tried it the button didn’t disappear when i press play and I didn’t pop up the the camera when i spawned
yo bro everytime i reset the main menu gonna appear again how do i fix it?
@@duckbusiness9524 disable “ResetGuiOnSpawn” in the menugui’s properties
@@koaltreus tysm its worked
when i cklick start then the start gui go but im still in the menu screen
The first script wont work i put the script in and it has the play button but its not at the scenery its where my spawn point is pls help
@@usedtobel1ll1gam3s in the first script, replace every ‘workspace.MenuCam’ with ‘workspace:WaitForChild(“MenuCam”)’
i have it was i cool tutorial
Ok
THIS SHIT DOESNT WORK IN MY GAYM IT SAYS:i cant find MENUCAM in workspaceeeeeeeeeeeeeeeeeeeee
did you name the camera menucam?
@@Icee-Da-Axolotl MenuCam
same problem did you find solution ?
@@Kohkakave workspace:WaitForChild(MenuCam")
function tween(obj, dur, cmd)
game:GetService('TweenService'):Create(obj, dur, cmd):Play()
end
workspace.Camera.CameraType = Enum.CameraType.Scriptable
tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame})
LocalScript:6: MenuCam is not a valid member of Workspace "Workspace".
That error happens even though i have put in MenuCam in workspace, i'm kinda new to scripting, do i have to use 'MenuCam.Parent = game.Workspace'?
@@learningscripting maybe check if your MenuCam part is anchored, if not, it could’ve fallen into the void. But in the script, try replacing every “workspace.MenuCam” with “workspace:WaitForChild(‘MenuCam’)”
omg ur a life saviour, TYSM