#is 364.0/s bad script preformace?
1 messages · Page 1 of 1 (latest)
im not the kind of person who knows about shit like this
but uhh
please optimize that singular local script
considering the fact that it is 35 PERCENT when everything else is sub 1 percent then
YES
I don’t even wanna know what you coded in there🙏
You’re using multiple rendersteps?
I have one renderstepped for the camera sway one for the camera head position and one for hiding the hed, one for playing animations
I don’t think renderstepped is bad
oh ok
im not really sure but just thinking you can try putting the camera sway and everything into module scripts so you can run all the functions in one singular renderstepped function
That should definitely help
Why wouldn't you just put them all in one lol
Send your code here so we can help
beacuse thats hard scripting
No it's not
Just take the code out of all three render steps and paste them into one
Or make all the connections a function instead and call those 3 functions from your render stepped connection
local RS = game:GetService("RunService")
local Players = game:GetService("Players")
RS.RenderStepped:Connect(function()
local player = Players:WaitForChild("LocalPlayer")
local char = player:WaitForChild("Character")
local head = char:WaitForChild("Head")
local cam = workspace:WaitForChild("CurrentCamera")
cam.CFrame = head.CFrame * CFrame.new(0, 0.5, 0)
end)
-- More RenderStepped for realism
RS.RenderStepped:Connect(function()
local player = Players:WaitForChild("LocalPlayer")
local char = player:WaitForChild("Character")
local head = char:WaitForChild("Head")
local cam = workspace:WaitForChild("CurrentCamera")
cam.CFrame *= CFrame.Angles(math.sin(tick() * 5) * 0.01, 0, 0)
end)
RS.RenderStepped:Connect(function()
local player = Players:WaitForChild("LocalPlayer")
local char = player:WaitForChild("Character")
local head = char:WaitForChild("Head")
local cam = workspace:WaitForChild("CurrentCamera")
cam.CFrame *= CFrame.Angles(0, math.sin(tick() * 2) * 0.01, 0)
end)
RS.RenderStepped:Connect(function()
local player = Players:WaitForChild("LocalPlayer")
local char = player:WaitForChild("Character")
local head = char:WaitForChild("Head")
local cam = workspace:WaitForChild("CurrentCamera")
cam.CFrame *= CFrame.new(math.sin(tick()) * 0.05, math.cos(tick() * 2) * 0.02, 0)
end)
RS.RenderStepped:Connect(function()
local player = Players:WaitForChild("LocalPlayer")
local char = player:WaitForChild("Character")
local head = char:WaitForChild("Head")
local cam = workspace:WaitForChild("CurrentCamera")
for i = 1, 10000 do
local _ = math.sqrt(i) * math.random()
end
end)
RS.RenderStepped:Connect(function()
local _ = Players:WaitForChild("LocalPlayer")
wait(0.001)
end)
👆
Oml my eyes are burning
Wtf is that
First off
You have at least 2 syntax errors
2 of the render stepped functions don't do anything
And in one of them you're calculating a random number 1000 times per frame
Honestly
It might be time for a demotion to S0
That's the worst shit I've ever seen an S1 Cook up
no like it updates faster with more renderstepped
so its like more fps
How delusional are you 😭
I'm 99% convinced this is a troll
who even does game.Players:WaitForChild("LocalPlayer")
isnt it like if the player takes long to join so you wait?
definitely not going to change shit
we cant be serious 💔
S1 thinking his him
Just make while true do
if not game.Players.LocalPlayer then
continue
end
it will help a lot
isn't continue only for for loops
also add task.wait() 😭
thats not how it works bruh 😭
dont tell him
dont be so mean lol he just asked a question
not the worst s1 script I've seen
still ass
.LocalPlayer is a property and is always there
isnt that what i typed
Nvm
i wanted to troll but then remembered he's also a troll
or just 🏊
tf I cause a whole ass war
Bro none of yall here helpful
S1 and yall clowning for bad scripts
In the same way yall tell people to go here for scripting help, how about you actually give them help
Hypocritical.. smh
Still need help? @chilly hawk
Shut the hell up, if you're not gonna help him or this conversation, take the damn talk to his dms
im sorry but what the hell is s1 does this mean season 1 of scripting or theres scripting ranked
Lowest scripting rank
so theres scripting ranked🧚
keep crashing out buddy, heh
I've said what I've said
Yes
@chilly hawk ?
no
we are not horses
we are humans
sywau
shut ur worm ahh up
thx
do as you please
but you're s1
and ur also s1
s1 = noob, dumb and autistic
^
nah
🪞
oh, youre an s1 with a lower iq lvl
wow
why should i
becuae youre "scripter1"
yall litrally just came here to llaugh at him
i didn't
i replied to other guy
then why are you here?
and said?
oh ^ I see
.
ok, valid
Rule34
woah
Naggers
People who annoy you
Yo
Be careful
There's a staff in this forum
