I wanted to ask how i could animate the screen like for it to move around when you join a game, or if i want the screen to appear very time you respawn, Animated like camera movement or fade in
it dosent work. Like i cant type MouseButton1Click it just put the red line under it as if it has a error i dont get it heres the code for the script "Main": local camerapart = workspace.CameraPart local camera = workspace.CurrentCamera local PlayButton = script.Parent.Play repeat camera.CameraType = Enum.CameraType.Scriptable until camera.CameraType == Enum.CameraType.Scriptable camera.CFrame = camerapart.CFrame PlayButton.MouseButton1Click:connect(function() script.Parent.Enabled = false camera.CameraType = Enum.CameraType.Follow game.Lighting.Blur.Enabled = false end)
@LuckyEcho for some reason when i do the script at the start and test it out nothing happens the camera is the same as it always has been following my player. the only thing i noticed is that roblox studio thinks of the equal on the line below repeat as a error. pleas help me out :)
Ok, here is the code again, try replacing lines 6-10 with this. (The Repeat Loop & The Setting Camera CFrame Part) repeat game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable until game.Workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable game.Workspace.CurrentCamera.CFrame = workspace.Baseplate.CFrame --Change the part AFTER the equals to the part you want the camera to go to.
this is actually very helpful, i might make my very own game some day from watching videos on your channel :)
You really helped me thanks.
Can you make a tutorial where you spawn in a map and every 10 mins you have to choose a diffrent map?
I wanted to ask how i could animate the screen like for it to move around when you join a game, or if i want the screen to appear very time you respawn, Animated like camera movement or fade in
it dosent work. Like i cant type MouseButton1Click it just put the red line under it as if it has a error i dont get it heres the code for the script "Main":
local camerapart = workspace.CameraPart
local camera = workspace.CurrentCamera
local PlayButton = script.Parent.Play
repeat
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
camera.CFrame = camerapart.CFrame
PlayButton.MouseButton1Click:connect(function()
script.Parent.Enabled = false
camera.CameraType = Enum.CameraType.Follow
game.Lighting.Blur.Enabled = false
end)
nvm im stoooopid i used text label instead of text button :D
it works now btw
hey can you pls start put script on description?
and can you pls add a tutoril how make respawn menu when he died
Maybe if you guys really need it, but you're not going to learn anything if you just copy and paste. Keep trying!
ye but that not way how learn program you need teach everything abouit it
@@LuckyEcho
@@anasanas-i5f3u true, I will be making more videos on just explaining things.
@LuckyEcho for some reason when i do the script at the start and test it out nothing happens the camera is the same as it always has been following my player. the only thing i noticed is that roblox studio thinks of the equal on the line below repeat as a error. pleas help me out :)
Ok, here is the code again, try replacing lines 6-10 with this. (The Repeat Loop & The Setting Camera CFrame Part)
repeat
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
until game.Workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable
game.Workspace.CurrentCamera.CFrame = workspace.Baseplate.CFrame --Change the part AFTER the equals to the part you want the camera to go to.
sadly the camera is still on the player :/