Top down Camera view in studio lite!
HTML-код
- Опубликовано: 9 фев 2025
- Za tags
#robloxstudio #roblox #robloxstudioscripting #studiolite #robloxgraphics #lighting #hdr #shader #robloxstudiotutorial #ligma #retro #unregisteredhypercam2
The script in the video:
______________________________________________
--[[Paste this in a LocalScript inside of StarterCharacterScripts]]
local Plr = game.Players.LocalPlayer
local Char = Plr.Character or Plr.CharacterAdded:Wait()
local Primary = Char:WaitForChild("HumanoidRootPart")
local Cam = workspace.CurrentCamera
local StudsY = 20--[[change this to how far you want your camera to be]]
local function Enable()
Cam.CameraType = Enum.CameraType.Scriptable
game["Run Service"].RenderStepped:Connect(function()
Cam.CFrame = CFrame.new(Primary.Position.X,StudsY,Primary.Position.Z) * CFrame.Angles(math.rad(-90),0,0)
end)
end
Enable()
______________________________________________
Thanks bro!
Np!
Dang i wonder how you changed the sound for jumping because every time i tried it basically only worked once and after i died it stopped working
Edit: actually I found out how to, atleast I think so allI needed to do is put the local script in startercharacterscripts
Noice! Although for other people to hear you jump you may want to make the localscript into a script
Top down camera i made for my friend's story game.
Hey sorry to random ask you this but I making a game I need a bit of help with it so could pls help me with it not forcing just asking
Yeah sure! What part of your game do you need help in? I'll also try to answer your questions.
@ well i need help with 4 things 1 a ending to my with cutscene and credit 2 qte i want this in my game because i want so that way the player has more interaction and probably going to a fight stuff but i probably do that on my own 3 deaths animations i want animation for when the player die 4 a death screen i know there some out there but there a bit off and i want to base off of door you die and skull not text you just die and the skull stay there but as soon as you respawn it disappears i want the deaths animations to play first then i show the death screen that really it 4 things as much as it sounds difficult i pretty sure there a something where scroll down and if you type in deathsanimations then something sould help a bit it does not work/it does exist then sorry but i saw a video and i see not code for the death animation so i was thinking maybe it was a code for the text thingy im test out really quick
Test it out and yeah it does not exist now I not going to wish good lucks just yet I going to see if you want to actually do or no ok
@@CailanAlexandercan you please clarify what you intend on doing on the second one.
Alrighty, so here's a compilation of what I think you need help in.
Ok so I'm guessing on the first one you want to make a cutscene? Second one I don't know what you mean by credits ending credits? The third one is a death animation? I'm also guessing it's kinda like the one from arsenal where you can have custom death anims, or is it something like, when the player dies they get ragdolled idk. And the final one is a death screen thingy like doors? I'm guessing like the little skull where it does a sort of shaking effect.
Btw put this in starter character as local script