Mines just broken its telling me the part isnt a valid member of workspace when the spelling is correct and everything not sure why but its acting like the part im looking at right now just doesnt exist
So, a continuation of Connor's comment, what SPECIFICALLY do I have to type? Just "game.PlayerCharacter.Humanoid" for the variable or what? And also, how do I make it so you teleport to a new area when you press "Play"?
local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") local cam = workspace.CurrentCamera local starterCam = workspace.MainMenuCam local playButton = script.Parent.Play local settingsButton = script.Parent.Settings local settingsFrame = script.Parent.SettingsFrame local main = script.Parent local teleportPart = workspace.TeleportPart -- The part you want to teleport to when you click play hum.WalkSpeed = 0 repeat cam.CameraType = Enum.CameraType.Scriptable cam.CameraSubject = starterCam cam.CFrame = starterCam.CFrame until cam.CameraType == Enum.CameraType.Scriptable and cam.CameraSubject == starterCam and cam.CFrame == starterCam.CFrame playButton.MouseButton1Click:Connect(function() main.Visible = false
cam.CameraType = Enum.CameraType.Custom cam.CameraSubject = player.Character hum.WalkSpeed = 16 -- Setting the walkspeed to original again char:SetPrimaryPartCFrame(teleportPart.CFrame) -- Setting the characters position to the parts position end) settingsButton.MouseButton1Click:Connect(function() settingsFrame.Visible = not settingsFrame.Visible end)
If you want to make it so you cant move just add a variable for the players characters humanoid. Then change the WalkSpeed to 0 and when you click on play change it to whatever speed you want.
I don't even know what I did wrong. I followed all of your steps. But when I tested it it didn't work. But then I checked the Output it said the part (camera) is not an object, what do I do?
YOU ARE INCREDIBLE I WANTED TO FIND SOMETHING LIKE THIS IT WORKED!!! Thank you so much! I'm subscribing
Why the hell does he have 13 subscribers and not 1k or smth man RUclips needs to put this guy on recommend page. Istg
thanks i was searching for this specifically 👍
how do i make it so the settings can be also closed by a button that is in the corner of the frame?
Thanks for the help
Is it possible to make a spinning main menu like in minecraft cuz idk how to make one
Hi! Good job! ☺️
Good vid man
Wondering how you can put your avatar in the background
like your avatar in the background just for show
Damm that's how I remember his voice compared to now
Mines just broken its telling me the part isnt a valid member of workspace when the spelling is correct and everything not sure why but its acting like the part im looking at right now just doesnt exist
deserves more subs
the model is deleted...
what plugin in the vid ?
So, a continuation of Connor's comment, what SPECIFICALLY do I have to type? Just "game.PlayerCharacter.Humanoid" for the variable or what? And also, how do I make it so you teleport to a new area when you press "Play"?
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local cam = workspace.CurrentCamera
local starterCam = workspace.MainMenuCam
local playButton = script.Parent.Play
local settingsButton = script.Parent.Settings
local settingsFrame = script.Parent.SettingsFrame
local main = script.Parent
local teleportPart = workspace.TeleportPart -- The part you want to teleport to when you click play
hum.WalkSpeed = 0
repeat
cam.CameraType = Enum.CameraType.Scriptable
cam.CameraSubject = starterCam
cam.CFrame = starterCam.CFrame
until cam.CameraType == Enum.CameraType.Scriptable and cam.CameraSubject == starterCam and cam.CFrame == starterCam.CFrame
playButton.MouseButton1Click:Connect(function()
main.Visible = false
cam.CameraType = Enum.CameraType.Custom
cam.CameraSubject = player.Character
hum.WalkSpeed = 16 -- Setting the walkspeed to original again
char:SetPrimaryPartCFrame(teleportPart.CFrame) -- Setting the characters position to the parts position
end)
settingsButton.MouseButton1Click:Connect(function()
settingsFrame.Visible = not settingsFrame.Visible
end)
@@TeletacosRobloxTutorials thank you, good sir.
@@TeletacosRobloxTutorials Wait, the script isn't working.
@@randallmays5463 Any errors?
@@TeletacosRobloxTutorials I got the code wrong with the camera. I forgot to put the name of the part instead of "MainMenuCam".
it wont work for me..
Hey taco it wont send me too my cam and I need help because I have been going through lots of stress while being new to studios
❤
Taco :O)
can you make it when your press m or something you return to the menu
.
Is there a way to make it so it doesnt reappear after death
can you make it so you cant move until you press play pls
If you want to make it so you cant move just add a variable for the players characters humanoid. Then change the WalkSpeed to 0 and when you click on play change it to whatever speed you want.
@@TeletacosRobloxTutorials How u do that I still a noob at studios :(
I really want it for my player not to move until press play.
I don't even know what I did wrong. I followed all of your steps. But when I tested it it didn't work. But then I checked the Output it said the part (camera) is not an object, what do I do?
Roblox is case sensitive, so maybe you don't have "camera", but have "Camera" in workspace?
Um check workspace properties and disable streaming then it will work thats what I did
Idk why i responded this was a year ago lol
what font did u use?
I used FredokaOne
doesnt work