i'm having trouble with the script... is this right local Intensity = 10 local xMagnitude = .5 local yMagnitude = .5 local plr = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local player = plr.LocalPlayer local cam = workspace.CurrentCamerca local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") player.CameraMaxZoomDistance = 0 player.CameraMinZoomDistance = 0 function update() local currentTime = tick() if hum.MoveDirection.Magnitude > 0.5 then local x = math.cos(currentTime + Intensity) + xMagnitude local y = math.abs(math.sin(currentTime + Intensity)) + yMagnitude local bobble = Vector3.new(x,y. 0.5)
local plr = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService")
local player = plr.LocalPlayer local cam = workspace.CurrentCamera local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid")
function update() local currentTime = tick() if hum.MoveDirection.Magnitude > 0.5 then local x = math.cos(currentTime * Intensity) * xMagnitude local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
@@GRSLogics thank you so much, I've already figured out what I need to do, and I added somethings and made the camera the way I wanted it to, but thanks and also, I shall be putting your credits in my script :D
@@GRSLogics is it okay if I dont add credits please? thanks sorry I just am trying to make a myth game and it would look really werid with you credited you know?
Hi people in the replies, I think ik what the problem is but idk how to explain it lol = try copy and pasting this? --//Vars
local Intensity = 10
local xMagnitude = .5 local yMagnitude = .5
local plr = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService")
local player = plr.LocalPlayer local cam = workspace.CurrentCamera local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid")
function update() local currentTime = tick() if hum.MoveDirection.Magnitude > 0.5 then local x = math.cos(currentTime * Intensity) * xMagnitude local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
local plr = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService")
local player = plr.LocalPlayer local cam = workspace.CurrentCamera local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid")
function update() local currentTime = tick() if hum.MoveDirection.Magnitude > 0.5 then local x = math.cos(currentTime * Intensity) * xMagnitude local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
i'm having trouble with the script... is this right
local Intensity = 10
local xMagnitude = .5
local yMagnitude = .5
local plr = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = plr.LocalPlayer
local cam = workspace.CurrentCamerca
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
player.CameraMaxZoomDistance = 0
player.CameraMinZoomDistance = 0
function update()
local currentTime = tick()
if hum.MoveDirection.Magnitude > 0.5 then
local x = math.cos(currentTime + Intensity) + xMagnitude
local y = math.abs(math.sin(currentTime + Intensity)) + yMagnitude
local bobble = Vector3.new(x,y. 0.5)
Try this
--//by GRS//
print("First Person Script by GRS")
--//Vars
local Intensity = 10
local xMagnitude = .5
local yMagnitude = .5
local plr = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = plr.LocalPlayer
local cam = workspace.CurrentCamera
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
--//Setups
player.CameraMaxZoomDistance = 0
player.CameraMinZoomDistance = 0
--//Functions
function update()
local currentTime = tick()
if hum.MoveDirection.Magnitude > 0.5 then
local x = math.cos(currentTime * Intensity) * xMagnitude
local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
local bobble = Vector3.new(x,y, 0.5)
hum.CameraOffset = hum.CameraOffset:lerp(bobble, .25)
return
end
hum.CameraOffset *= .75
end
--//Connections
RunService.RenderStepped:Connect(update)
--//by GRS//
@@GRSLogics thank you so much, I've already figured out what I need to do, and I added somethings and made the camera the way I wanted it to, but thanks and also, I shall be putting your credits in my script :D
@@jaxon_ninja24 Yw bro if you got any video suggestions you can write anything in the comments I am always looking for new projects and content.
@@GRSLogics is it okay if I dont add credits please? thanks
sorry I just am trying to make a myth game and it would look really werid with you credited you know?
@@OrcaGuyreal players don't see credits in game
Thx a lot! Very customizable as well which I love!
No Problem gang
Thanks man, it worked! You're the only right one, that had the code right. You deserve a sub!
Np thank you for the Sub
nice, but i also need the script where if youre idle, you also bobble, but very slowly.
Nice vid man, keep it up!
ty
Absolute legend! Thanks man!
Ur actually a god ty homie
Np I hope it helped!
Thanks, have a nice day
thanks you're my man !
:) I hope it helped
it worked, thank you
thanks man it does work
np :)
yo bro, can you make a vid how to fix firstperson body with camera bobble?
The effect is the same as another youtubers script did you copy it?
It also didn't even do the effects like you said it would :(
No I did not copy from anyone.
ay is it possible to make the script to see our legs and body
It is...You want me to make a vid on that?
@@GRSLogics idk if u still read these replies but yes that would be cool
dang we got 2.5k views ty!
good for you
@@6sixlives ye
how to unlock camera?
Should i make a video on that?
@@GRSLogics kind of late since this video has been uploaded about a month ago, but it would really help if you made it third person
how do you fix it for if you die somehow@@GRSLogics
yo dude used your work for robux XDDDD
Thats alr
How Did He Make Another one of those things before the one?
by edeting the video? or what do you mean?
Doesnt work..
copy and paste from my pastebin and put a localscript in StarterCharacterScripts. I hope that helped
@@GRSLogics I did that and it still didn't work...
Hi people in the replies, I think ik what the problem is but idk how to explain it lol = try copy and pasting this? --//Vars
local Intensity = 10
local xMagnitude = .5
local yMagnitude = .5
local plr = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = plr.LocalPlayer
local cam = workspace.CurrentCamera
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
--//Setups
player.CameraMaxZoomDistance = 0
player.CameraMinZoomDistance = 0
--//Functions
function update()
local currentTime = tick()
if hum.MoveDirection.Magnitude > 0.5 then
local x = math.cos(currentTime * Intensity) * xMagnitude
local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
local bobble = Vector3.new(x,y, 0.5)
hum.CameraOffset = hum.CameraOffset:lerp(bobble, .25)
return
end
hum.CameraOffset *= .75
end
--//Connections
RunService.RenderStepped:Connect(update)
@@KomedyKatAnimations Well then idk
fake, didnt work
It does work you just have to follow the tutorial bro or copy the script on my pastebin
@@GRSLogics BRO IT DEFINETILY DOESN'T WORK I GRABBED IT FROM YOUR PASTEBIN EVEN AFTER making it myself and it doesn't work
can you make it so that in third person it stops bobbing
--//by GRS//
print("First Person Script by GRS")
--//Vars
local Intensity = 10
local xMagnitude = .5
local yMagnitude = .5
local plr = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = plr.LocalPlayer
local cam = workspace.CurrentCamera
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
--//Setups
player.CameraMaxZoomDistance = 0
player.CameraMinZoomDistance = 0
--//Functions
function update()
local currentTime = tick()
if hum.MoveDirection.Magnitude > 0.5 then
local x = math.cos(currentTime * Intensity) * xMagnitude
local y = math.abs(math.sin(currentTime * Intensity)) * yMagnitude
local bobble = Vector3.new(x,y, 0.5)
hum.CameraOffset = hum.CameraOffset:lerp(bobble, .25)
return
end
hum.CameraOffset *= .75
end
--//Connections
RunService.RenderStepped:Connect(update)
--//by GRS//
it doesnt work