- server replicates player state every change it does (and client incorporates that in its code ofc)
- client has full authority over movement (sprint, dash, mobility), and plays VFX for those locally while making the server replicate it for all other players
- client can "predict" their hit will happen by playing all of the VFX and animations and stuff immediately, and maybe also simulating the damage VFX/animations on other players/mobs depending on the hit
- you honestly can't do much about rollback netcode, roblox is very limited
you're gonna have to give the client some level of authority for maximum UX
#code-discussion
1 messages · Page 239 of 1
and how much hour u give to learn in the day
10 thousand
bro thinks he are a chinese student
other games like TF2 do the 'predicting' with hits, if you've ever hit someone and heard the SFX and saw the VFX and then you die without registering
makes sense. i work as a cashier, so in my perspective having a job doing development is a big accomplishment
youre doing better off than me haha
cashier tuff
thats my problem icant make a project can u give me any idea, im in ep 10,advance
lowkey there are no jobs in nyc
combat system
Not like I haven't had my fair share of hell lol
and how
yk job is just luck right
@gilded lava if you'd like, I still have that server with the OGs, if you want to catch up
hum i will see that
thats incredible add me
whos in it
best youtuber/series to learn basic roblox studio scripting???
I'm looking up vids and copying them and it does not work noramlly so I try to figure out what was wrong and correct it myself
I started scripting 3 days ago
I need some to🥹
im just doing brawl devs rn
18 vids is a lot
Idk if I should skip the first 3
fr
I am aware of the whole concept of replication and the structure what im not sure is how to make a proper framework thats scalable for big projects
Say i was to have hundrends of effects/abilities , the last thing i want is stutter or any kind of net trouble
Ecs
Net trouble do you mean like too much kbs?
use Akira Framework
ecsbuilt in
what part is confusing
lol
Hello, i have spent about 3 weeks trying to script something and i just cannot do it, i am about to give up on my game unless someone can help. Im trying to make an item grapper, sort of like a reverse graple hook. It will shook out and pull items towards you. If anyone is willing to help please dm me, i can give you more info then, i really need help. Thanks
go to code help and ask
dont ask to dm people
- grapple exp lerp from hand to obj pos
- on end lerp item to hrp, grapple is visual
easy
I know, its just not working for some reason, i cant figure it out
what’s the incentive if i help u
wdym
I dont have much robux, i have like 1K including whats in pending. I will honestly do anything, if you need help with building or smth
i am at my last resort
relax
this is actually a difficult problem if u want a coiling springy grapple visual, too
it’s about 2k robux worth
1.95k robux
i can really only offer 1k, im sorry its all i have
alr well thanks anyways ig
someone nice would help you for free
its alr
he’s trying to guilt trip people
no im not im just desperate, u dont need to help if u dont have time or if its not worth it
dude literally nobody cares, dont try and be the main charector
u failed the social experiment
bro
i would have helped u if u didnt
thats just not true
they really didn't
they told you what they could offer in robux and even offered to do extra work to pay it off
you chose to flaunt your higher wealth instead of politely rejecting it
aint reading allat
you are extremely entitled
are you his alt?
i knew it
how would he struggle on something so simple
u almost got me
no, but i am helping them
with
the grappling hook
not everyone knows how to script
when you have enough experience it may seem easy, but to someone who's never done it before it's not exactly the most beginner-friendly experience
blah blah blah
lmao
anyone want do work on a game together i model and know a little about scripting
@hoary cedar hey ziffix, sent a friend request for an inquiry
I keep my DMs locked for business. You can make your inquiry here
I'm gonna be totally real with you I forgot how to change a part's position when welded to the player
it'll need to be tweened later but for now I just need to know how to have it appear in a different place
while I've been finding results online I don't think any of them are actually what I need
bro vs code really js another blender
ts js like going from animation editor to blender
we in the big leauges now 🥹
Who can help me I’m a beginner scripter and I just made my first play GUI with a script but everytime I join the game it shows me falling down and not just me teleporting to the spawn point I’m made some checkpoints but idk why it’s not spawning me where the main checkpoint is it just completely broke and I wanna make it where I can’t move until I press the play button! pls help
hello goats
how do i make my UIStrokes consistent with a script
can a wise prophet show me the way
thanks
Yes, well there are a few ways to do this.
First, in the Properties tab of the UIStroke there is a property called "StrokeSizingMode" here you have two options ScaledSize and FixedSize. Selecting ScaledSize will mean it will scale. To change this in the script you have to do:
UIStroke.StrokeSizingMode = Enum.StrokeSizingMode.ScaledSize
The second way is a bit less simple to implement but its implementing this script:
-- Made by @ItsCaelmYt
for _, v in pairs(script.Parent.Parent:GetDescendants()) do
if v:IsA("UIStroke") then
local BASE_SIZE = 1200
local uiStroke = v
local initialStrokeThickness = uiStroke.Thickness
local camera = game:GetService("Workspace").CurrentCamera
local function updateStrokeThickness()
uiStroke.Thickness = initialStrokeThickness * camera.ViewportSize.X / BASE_SIZE
end
camera:GetPropertyChangedSignal("ViewportSize"):Connect(updateStrokeThickness)
updateStrokeThickness()
end
end
where you customize the scale sized based on the size of the windows of your game
ahh, i will try that
what does applyimpulseatposition do?
how can i detect if a TextButton inside a SurfaceUI is pressed
by a mobile player
and it prompts a purchase
does anyone have any experience with using cursor for coding
wdym?
yeah
a cursor as in the mouse on the screen correct?
oh
ai
bruh
dude said charector
leave this server for me pls bro @lunar mist
if health > 70 then
print("Healthy: " .. health)
else
print("You are unhealthy: " .. health)
end```
Real
This is certainly code
my 1st code
Good job
if level >= 10 then
print("You can enter.")
else
print("You cant enter this room.")
end```
what will it print?
You cant enter
hey whats hapenin
local bossHealth = 41
if playerHealth <= bossHealth then
print("You cant defeat him")
else
print("You can defeat him")
end
what will print
Is this a quiz
im a builder
added
If you have advertisement fund then i also want to work on it
idk man its too hard
wait is deprecated in favor of task.wait as it is more performant
use task.wait
but it is doing the same thing
if you want to know why exactly task.wait is better you can google it. they both yield the current thread, task.wait just does it better
ok
why does my datastore work perfectly in studio, but outside it just keeps bugging. no errors it just skips some lines of code and its really frustrating
show code
Who reads vagabond from here (peak)
anyone knows how to do a troll system where you can spectate and buy trolls to troll the player you currently watching im just wondering the core set up cause never did it
is it like connected to spectate system?
like I got spectate system do I add troll logic to that script? I got the troll menu already
Idk
Anyone wanna help make a cashgrab for fun
isnt for fun like the antithesis of a cashgrab because you're doing it for the cash
you can have fun making it
im having somewhat fun making mine rn
I'm in desperate need, my data initialization just keeps skipping lines and its really really weird
Initialize
local function Initialize(plr: Player, profile: typeof(PlayerStore:StartSessionAsync()))
print(profile)
local leaderstats = Instance.new("Folder", plr)
leaderstats.Name = "leaderstats"
local aura = Instance.new("StringValue", leaderstats)
aura.Name = "Aura"
aura.Value = profile.Data.Aura
if aura.Value ~= nil then
aura.Value = Gigantix.getShort(Gigantix.stringToNumber(profile.Data.Aura))
else
aura.Value = "0"
end
local cash = Instance.new("StringValue", leaderstats)
cash.Name = "Cash"
cash.Value = profile.Data.Aura
if cash.Value ~= "0" then
cash.Value = Gigantix.getShort(Gigantix.stringToNumber(profile.Data.Cash))
else
cash.Value = "0"
end
print("Got Values", aura.Value, cash.Value)
plr.PlayerGui.Base.Values.Aura.TextLabel.Text = ("Aura: ".. aura.Value)
plr.PlayerGui.Base.Values.Cash.TextLabel.Text = ("Cash: ".. cash.Value)
if Gigantix.isEquals(Gigantix.stringToNumber(profile.Data.Aura), {0}) then
plr.PlayerGui.Base.Values.Aura.TextLabel.Text = ("Aura: 0")
end
if Gigantix.isEquals(Gigantix.stringToNumber(profile.Data.Cash), {0}) then
plr.PlayerGui.Base.Values.Cash.TextLabel.Text = ("Cash: 0")
end
if profile.Data.GloveEquipped ~= "" then
print(profile.Data.GloveEquipped)
local newGlove = replicatedStorage.Gloves:FindFirstChild(profile.Data.GloveEquipped):Clone()
newGlove.Parent = plr.Backpack
else
print(profile.Data.GloveEquipped)
end
end
The leaderstats are fine, but the playerGUI text just doesnt update, and the glove never gets added to the backback, but rather doubles when i go in the shop to equip it!
PlayerAdded func
local function PlayerAdded(plr: Player)
local profile = PlayerStore:StartSessionAsync("Player_".. plr.UserId, {
Cancel = function()
return plr.Parent ~= players
end,
})
if profile ~= nil then
profile:AddUserId(plr.UserId)
profile:Reconcile()
profile.OnSessionEnd:Connect(function()
DataManager.Profiles[profile] = nil
plr:Kick("Data error... Please rejoin bruther")
end)
if plr.Parent == players then
DataManager.Profiles[plr] = profile
Initialize(plr, profile)
else
profile:EndSession()
end
else
plr:Kick("Data error... Please rejoin my brutha")
end
end
have you done any debugging?
yes
like adding prints in different places to see if its reaching those points
where does it reach in the real game?
how do i check that
press F9 in-game and click server
lmao
i hate lag and loading
should just be removed from real life
YES IT WORKS
LETS GOOOOOO

Quick dev question out of curiosity: for Roblox devs here, roughly speaking, how much time / budget would a large-scale roguelite dungeon crawler (Archero-inspired) take, with a complex combat system, full inventory & menu systems, progression, gacha, and UI-heavy features, ... basically a full project?
Just looking for some estimates, thanks
You can do it with 400K.
so with 1k USD - 1k5 i should be good then good to know
Yes, if you can go higher then better.
And the time depends on how good your manager is.
yo
chat did i cook
ready for release lowkey
oh its the sphinning ball thing
🤔
hey guys
my obby has a few tween parts (lasers, moving walls etc.), it's all done with server scripts
this gets quite laggy, what's a client-side workaround?
some of these parts might not be streamed in at the start if i just try to call it with a starterplayer localscript
can somone help me roblox shut down my game saying i was spamming a server ID, but the thing the game is about you spawn in a lobby to and get telported, i want to fix the issue but don't know how please help me local placeId = TelportAreas[CurrentMap.Value] -- The PlaceId of your map
local privateServerCode = TPS:ReserveServer(placeId)
print(privateServerCode)
TPS:TeleportToPrivateServer(placeId, privateServerCode, PlayersTeleporting)
im trying to use the rolimons api to fetch a user's inventory items but it just doesnt work for the life of me. any help?
how do i use http service to fetch stuff off of rolimons like the inventory items and a live feed of something like recent value changes?
$5 to anyone that successfully helps me figure this out
yes
bro i got a good idea for a cashgrab lowk
guys if i've got playerdata that is 20kb per player is that bad? That means i can only have 5000 players (in 100mb limit). Is there a way to increase server datastore size on roblox?
Yes bad
How do I insert a file the only options I have is for insert is insert part insert object or import Roblox model someone help please
--!native
--!optimize 2
local n=10^6
local tc,osc=table.create,os.clock
local t=tc(n)
local a=osc()
local c=0
task.wait()
for i=1,n do
c+=1
t[c]=i
end
make this perf faster
99% of people fail this
delete task.wait() 
flush gc
i had code before it
That isnt how that works tho i dont think
it alleviates
Gc isnt guaranteed
i know
Kk
I was shit-posting anyway my instinct is to pool the loop
also maybe not use an array but it depends on the endgoal of the code problem
a hash would b better
loop backwards from n so u avoid couner
or do t[i] = i
ehhhhh
yeah true though i assumed c was in case we wanted to change the loop dramatically
but ur valid
u will have access to more internal optimisations
wtf
none of this matters if this is only being run once
when do they look at apps
Wanna make a cash grab with me ?
Wsppp chat sry I was not able to chat today 
guys
any tips on how to learn frontend ?
like I wanna animate ui button and stuffs like that
tweens
but I can't find any good videos
you just need to tweens and that's really it
go through the tween documentation and do multiple simple experiments with some Uis
alr thanks
anytime
so scripting is like 90% only practicing
you can't just learn and apply it right after u learn it
yes ofc you need to know how to script
that's nice
dont rely just on videos
use the roblox documentation if needed
yo scripting is js logic
syntax is easy
if yoy know the logic you can cook anything
even if you only know math and physics
you r already 90% done
the thing with programming is you need to be able to understand which tools you need to get to your goal
yeah fr
and there are many
tbats why its fun
and if you like messing with it, C and C++ r perfect
Which c++ u use
if you want to implement X functionality what do you need to achieve that? what functions do you need to write how should they look like? what does the engine provide to help you achieve what you need? structuring code etc
blah blah blah
i lwkey hate using c++ but if you know ehat you r doing its fun
Ye i was about to say
Nobody likes using c++
And c is for the crazy people that like low level shit
C is fun but c++ below like c++ 20 gives brain damage
just start with wtvr language you want it doesnt even matter really
C++ cancer ong
Language doesnt matter when youre starting out
Just pick something you want to make and make it
fr
C is not something you should learn to code on most languages you will use will not be like C
c is for crazy people
C is a good starting language if what you want to do is lower level or embedded
Its a perfect starting language for that
the only thing i used c++ and c for was a 3d graphic engine (never doing it again)
my brain never recovered
if thats what you want to do this is the wrong community to be a part of
Make a graphics engine so that you know that you dont want to make a graphics engine
dont do i5
the math haunts me to this day
and i was using glfw, the "easiest" library
I mean id argue that knowing C is good for working on certain things in luau like serdes and networking architecture because a lot of concepts and practices transfer over
But its not necessary to spend a lot of time in c if you just want to do roblox things
yeah roblox is different
once you grasp the API you r done
you can only optimize
but once you can do actual games, your work is done
and id argue that scripting is easy js takes time
programming in a game engine is also entirely diff
oh yeah fr
anyways are promises actually used in devving or are they just some unknown useless feature?
Anyone know how to hide teams from the leaderboard without disabling the leaderboard?
on my last job I was extending an api for a program the company was developing and that is an entirely diff world to working with a game engine
It depends on what you're coding
it is for 99.9% games
all front page games are the same
scripting is the least of your problems
whether it is efficient or not
luau api is quite easy to learn imo
yeah exactly
that doesnt mean ur code will be good tho
depends what you're tryna do but
but if you need to utilize frameworks like profilingservice or knit
most roblox stuff isn't very complicated anyways
especially with the slop that front page is nowadays
i always try to keep code related stuff organized
cuz seeing way too much stuff demotivates me for some reason
I don't even like the roblox engine tbh it feels like it has no direction and the nesting of all the default components is dogshit
good for the cash
aint nun making their dream game on roblox
ain't nun making the money they should on roblox either
Nah steal a brainrot is the most peak you'll ever see
trust
investment
lots of talented ppl on roblox they are just in the wrong place you need starting capital to actually make any considerable money on this platform and you need to screw over a lot of ppl in the process
dawg
you can work minimum wage
for 1 month
and make enough capital to start
Actually more than enough
you can live off comms tho right?
yeah and hire some kids you can exploit to do shit for u and bag all the money
that's not it for me
if you have the connections for sure else you will be making money to live well in 3rd world countries
ts is worse than anarchy
I dont think so unless you are getting some insane comms
literally
roblox is the pure definition of capitalism
yhh its pretty calm income for a 3rd world country
I could never do that to these kids roblox is too predatory I like to think I have some morals
ill start scripting comms soon.....not creative enough for graphic design and ui😔
have u seen all those indonesian games why do you think they are fine with developing on roblox lmao it's decent money for them
im pretty sure they r like cooked since no one in 2nd or 3rd world countries spends money
like from my perspective I make decent money in an actual job more than I would ever make on roblox as a dev
traditional dev jobs are still the way to go
if you lack morals tho you can make a lot of money on roblox
by leeching off all the kids that think 4000 robux is worth their time and effort
4000 robux 🥀
hi
yes
where do you find normal dev jobs tho?.....fiver?
help someone can
you gotta fill out a job application
what are you looking for?
backend, frontend? do you want to work on apis do you want to work with data lots of diff stuff
also indie games are popping off why not try godot
thought of that.....ill do that later on in life.....for now im just in the godot discord server lol
lots of successful games promote themselves exclusively on tiktok
building experience now will help you a lot later on too
will prolly go into backend,frontend is like the ui right?
frontend can be a bunch of stuff
yhh stuff like this rlly helps thats why im learning coding.....cus if i dont make money from it i at least learned a new skill
UI is not all you need to integrate APIs if you are working on an interface for a program lots of working with and transforming data
oh alright
which do you do
I work on backend stuff maintaining and extending apis
working with databases creating databases stuff like this
stuff the user doesn't necessarily see
C# is a very good language to start with for traditional programming
lots of companies use azure devops working in a scrum model
idk
UnUsefull
thank you
which programming language do you main tho?
C# like I said lots of companies work within the microsoft environment
ASP.NET would be the API framework for it for example
the whole .NET ecosystem
C# is a good language
Lots of stuff to learn with and actually applicable to get a job
you can not go wrong with C#
oh alright will prolly understand this more when i learn more
add me back btw
lots of actual jobs to find working with this language
im starting with python and lua mainly for money cus im saving up for a thinkpad
so ill do scripting comms
python is very strong
value your work on roblox a lot of ppl will try to take advantage of you
if this is your only option at least make the most of it
alright man
also I really mean it when I say look into indie game development outside roblox
indie games are popping off
and btw do you know any other options?
to make money?
idk what country you live in but probably getting a part time job or mini job would do a lot more for you
if you think abt money / hour no roblox commision will ever give u any significant amount of money without connections
you have to realize most people on roblox are also teenagers to early adults they themselves do not want to pay people fairly its the entire business model
to make young people that aspire to be devs put in hours for a shitty pay
I mean all you need is to look at these commissions on this discord
make an entire game in 3 weeks for 1200 dollars
that might be worth it for people in countries where wages are very low
but in any respectable country you should not give this the time of day
lowk you should
it rubs me the wrong way seeing all you guys tryna save up for shit having to work literally indian factory worker wages on roblox you can do better than this
Do not get into roblox development for money its not worth it there's so many other things that make way more money and take way less time to learn
exactly
if you want a playground to develop your overall skills with an engine where you have lots of assets available sure
roblox is fine
by the time you guys finish school hopefully the tech job market will not be as shit as it is rn too
I know a bunch of guys with unis finished that are struggling to find a job in tech rn
like making furry vr char avatars
anyways my code is not erroring and it's not working either hell yeah
lemme add a gazillion prints
like what thoo?
i cant do that
cus of my country ofc
and im looking for like $350
scripting could prolly bring in the amnt i need right?
guys i need help
with
can u call?
i dont have a mic
oh
like what
well basicly i want to make a rotatable object so when you move your mouse it would rotate it based on the cameras rotation. heres what i have but this is rotating by the local rotation of the object not the camera Inspect.CFrame = CFrame.Angles(math.rad(Input.Position.Y-LastMousePos.Y),math.rad(Input.Position.X-LastMousePos.X),0)
If youre west coast flipping burgers will pay more than roblox dev
you gotta take in account alot of people are teenagers and nobady is gonna hire them
anyone fimilar with datastore
ye
dosent work i figure
Oh if youre below the legal age of employment then you can do whatever you want to earn a little bit of money it doesnt really matter
like i said it rotates oon local of part not camera
But plenty of places hire 15 year olds in the usa
u also gotta take in account everyone goes to school
and none really wants to flip burgers
When I was in high school almost everyone i knew had a part time job of some sort
so you are fimiliar
yea
hmmm
wanna work on a jjk project with me and my friend we have a lot of
bro did u not see my pfp
like sign me up rn
so like what yall need
rotate using CAMERA AXES
use this instead
CFrame.fromAxisAngle(camera.CFrame.RightVector, angle)
and change the stuff
ur code rotates it from its own axes
you got a portfolio
dms
were ingame rn actually tresting and stuff
fixes on datastore and big fixees
so is ur datastore already coded?
How do i go on mobile view so i can see how uis l0ook? i can't find this feature in this new ui update
there should be a mobile test option
click Test in the top left, there should be an option that says Device Emulator click it and it will bring up the options menu for which screen and device to emulate
if it's grayed out switch back to the workspace view instead of having a script open
yo thats nice good job
anyone has postman experience lmk
Are you testing in studio?
Studio is hosted locally so Server - Client latency will always be really low.
You don't actually communicate with a rblx server, you communicate with your own router which is much faster for you.
Hiring or looking for work in channels isn't allowed, see [#rules](#rules message)
trying to implement a batched table approach in a collect incremental game is confusing for me would i be fine if i just sent over each individual collect to the server without performance taking a huge hit
whenever i change the walk and run animation ID it just doesnt animate it
Can smbd tell mr where can i learn coding
if u r talking about roblox dev, think of something u wanna make, open roblox studio, think about what all goes into making that thing work, if its a game, what mechanics are there, once u think of a mechanic, think about whats needed to make that mechanic
once u have thought of the stuff needed to make a mechanic, think of a very simple version of it with less features and then try to google and youtube around for a tutorial that shows how to make it, follow the tutorial and pay attention to the syntax
write along with the tutorial, if you encounter errors, google the errors and see why there's an error, you'll get a lot of errors at first but trust me you want to see the errors right now because once you know what the error means you know how to solve it
do this for different mechanics and features and you'll basically have learned how to think like a problem solver and know the luau programming language enough to make some simple to moderate stuff
Uo bro
Can we dm
@tawdry socket
i mean i can but like when you are trying to learn coding u should spend the first few days on your own trying to figure stuff out before you ask others because you need to first develop the trouble shooting skills of googling what the error is and how to do stuff
only once you have the basics down does it make sense to start asking for help imo because then you'll have a good idea of what's not just a simple google search away
perhaps youtube but i dont really recommend that, you could search for websites teaching lua and read them and follow them in studio, lua is a really easy language to get along with due to it's beginner friendly syntax like javascript
Ty broski
if you watch video tutorials only watch a few at most
they are really only for the absolute beginning couple days
How do u type that fast
too many years of using a computer
hes on discord 24/7 he got experience
Lol
lol i used to be like 5 years ago
I love coding
i got good at typing by playing roblox as a kid
But i didnt know how to learned it 😉
playing kingdom life in 2010
im doing it now, i got nothing better to do except stalking on discord, making anticheat and making webs 😭
goated game
anticheat nice
do u work on any named ac solutions
Real
Tu very much
How did u start it @tawdry socket
Coding
i started coding about a year and a half ago, i wanted to make a lightsaber dueling game and i spent all the time over the summer where i wasnt working or doing university research working on roblox coding lmao
Lollll
after about 3 months i was able to make decent games and after about 6 months i branched out to actual programming with C# and C++
nah, i do it for fun, maybe sell it one day
U learn too much
Ok im go washing
See ya
ac devs can make pretty good money i know a couple guys who work on some named anticheat solutions in larger games and they get paid a couple grand to just insert a file into a game
yeah i know, was thinking about making a competent anticheat for minecraft but honestly java is just not for me, i got hired as staff at a pretty known client-sided anticheat solution and i also didnt liked that so now im just making one for roblox lmao
its easy and i somewhat enjoy it, or atleast the parts where i dont have to fix 426524 false flags
because one detection set catches multiple cheat modules
and for the love of God i cant separate them 😭
URGENT : i'm looking for a decent scripter to make a poison candy game ! needs to be done right now (i'll pay)
yea the guys i know literally have memorized the different characteristics of roblox exploit tools and they know the quirks of them to detect when one is being used
like how namecall behavior changes when chocosploit injects namespace changes
i mean detecting roblox exploits isnt that hard, or atleast for me since i was also around in the cheating scene for years and developed so called executors for myself since i couldnt get myself to download some shady ones from online, but honestly im just aiming at detecting modules the best I can, finding out quirks about cheats like what they modify about the game is just too much of a hustle for me 😭
at the end of the day both anticheat's job is to prevent cheating
at some point i also gaved a shot at making a client sided anticheat like yk making a modified bloxstrap or what its called and then making the anticheat built in
because server sided ones are very limited
but i gaved up on that idea since if its only in usermode then it has very limited options in detecting cheats on the user's computer
and i cant do kernel
my friend can, but understandably doesnt want to spoon feed me and hes insisting that i should start learning but idek where to start 😭 so i just dont
how to fix this? charcter is above the ground on steep terrain
yoo thats sick i really like your camera implementation
does someone know how to make a app
took 3 years bro 😭
it just follows head rotation
and i added some spring to it
eg when land
whenever i try to make smooth camera the character just visually stutters
prerender and renderstepped cannot save me lmao
function CameraModule:Step(DeltaTime)
if Player.Character then
self.Character = Player.Character
self.Head = Player.Character:FindFirstChild("Head")
self.RootPart = Player.Character:FindFirstChild("HumanoidRootPart")
self.Humanoid = Player.Character:FindFirstChild("Humanoid")
if not self.Head then return end
self.NewCFrame = self.Head.CFrame:ToObjectSpace(self.RootPart.CFrame)
if self.OldCFrame then
local ,,z = self.NewCFrame:ToOrientation()
local x,y,_ = self.NewCFrame:ToObjectSpace(self.OldCFrame):ToEulerAnglesXYZ()
self.SmoothCFrame = self.SmoothCFrame:Lerp(CFrame.new(x * self.RotationMult.X,y * self.RotationMult.Y,z * self.RotationMult.Z), lerpnum)
self.Camera.CFrame = self.Camera.CFrame * CFrame.Angles(self.SmoothCFrame.X,self.SmoothCFrame.Y, -self.SmoothCFrame.Z)
end
self.OldCFrame = self.NewCFrame
CameraModule:ShowCharacter()
CameraModule:UpdatePos(DeltaTime)
end
end
function CameraModule:UpdatePos(Delta : number)
if self.Head and self.Camera and self.RootPart then
local Relative = self.RootPart.CFrame:PointToObjectSpace(self.Head.Position)
CameraModule.HeadOffset = CameraModule.HeadOffset:Lerp(Relative, 0.1)
local x,, = CameraModule.Camera.CFrame:ToOrientation()
CameraModule.BaseOffset = CameraModule.BaseOffset:Lerp(Vector3.new(0,math.clamp(x, -1.5, 1),0), 0.1)
self.Humanoid.CameraOffset = CameraModule.HeadOffset + CameraModule.BaseOffset + CameraModule.CamOffset
end
end
this is mine
oh yeah
that happens to me aswell
what step do you run it on
oh do you still have the stutter
its better to turn off autorotate in the humanoid and make custom one
renderstep
mmm autorotate i havent thought of that
my camera is a third person lock-on camera
inspired by For Honor's camera system
but i imagine that first person would still get that awful stuttering look on the character
yes
do u still have it or is autorotate what causes it
idek
because honestly it would make sense that autorotate causes it
its prob smth to do with first person
locked cameras
like shiftlock
oh locked
well i think a camera that stays in the same position relative to the character wouldnt have the stuttering
when i spring move the camera then i get the stuttering
idk
but i think its because of desync between the renderstep and character movement steps in runservice
makes it every so slightly off by a small amount every frame
Yall what are the best vids that go over like niche scripting tips that are actually helpful
videos by suphi kaner do a pretty good job at covering a specific topic in pretty good depth
but tbh i think that just thinking of something to make then trying to make that thing will give a lot of exposure at a decent level of depth for a variety of topics
Anyone know how to make the roblox ball faster
Guys can someone help me understand events
local partIsTouched = false
touchpart.Touched:Connect(function(otherPart)
if partIsTouched == false then
partIsTouched = true
print(otherPart.Name)
task.wait(2)
partIsTouched = false
end
end)```
vector.zero isn't fastcalled
what do you not understand about them
what
not necessarily a value changing
a reusable piece of code
just any game event
functions are a block of code that can be triggered with a function call
and can have arguments passed to change what they do
and then can also return a value if necessary
they asked about events though
yo how do i make shiftlock control
i gotta code a time machine ggs
the server looks clean and smooth but the client is so fucked due to the split second delays
yo thats sick
ty but that shit got me balding
is the client mispredicting and the visuals arent resimulating correctly?
How it works
Im legit confused about everything
Everything the same but it feels different
Don't care lmao
how to stop people using exploits to lag game?
learn to code
broski what are u saying
ppl are using delta i believe to lag game
i was asking how to stop it
lag exploits = no sanity checks
chat am i cooked
give up on touching
Dang it sounds weird when I say it out loud
-- LOCAL SCRIPT INSIDE TOOL
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local char = player.Character
local rootPart = char:FindFirstChild("HumanoidRootPart") :: BasePart
local tool = script.Parent
local remote = tool.RemoteEvent
local DIST_MULT = 600
local function OnActivate()
local params = RaycastParams.new()
params.FilterDescendantsInstances = { player.Character, tool }
params.FilterType = Enum.RaycastFilterType.Exclude
local origin = rootPart.Position
local dir = (mouse.Hit.Position - origin).Unit * DIST_MULT
local rayResult = workspace:Raycast(origin, dir, params)
if rayResult then
remote:FireServer(rayResult.Instance, rayResult.Distance)
print(rayResult.Distance)
end
end
tool.Activated:Connect(OnActivate)
-- SERVER SCRIPT INSIDE TOOL
local tool = script.Parent
local remote = tool.RemoteEvent
local RAY_DISTANCE = 50
local function IsWeird(hitPart: BasePart, Distance: number): boolean
if not hitPart:IsA("BasePart")
or typeof(Distance) ~= "number"
or Distance > RAY_DISTANCE
or not Distance then
------------
return true
end
return false
end
remote.OnServerEvent:Connect(function(player: Player, hitPart: BasePart, Distance: number)
if IsWeird(hitPart, Distance) then
return
end
-- do some stuff here
end)
guys i've been hearing a lot about not doing raycasts on server and i just wanted to know if this script is vunerable to any exploits
im making an oop based tree chopping system, does anyone have suggestions for the features i could add?
What software is that
VS code
Are you able to use it for Roblox?
Thanks bro
colorful axe
someone tell me if this is buns or alright
plez
I've heard plenty of people say that roblox-ts is so much better and blah blah blah, is it actually worth using or is it just overglazing?
what is roblox ts
roblox typescript
idk
it's vs code
lol bet
its so weird, some people say its better some say its worse
movement code is a physics system spread out across a bunch of module scripts
I'm assuming by parallels you mean like, running a predictive algorithm on both the client and the server?
actually i could try making an interpolation buffer and showing the client a delayed recording
Just use actors so the code run on more than one core
it all sounds too annoying i got like one failed Algorithms class worth of experience imma just ditch multiplayer and run everything on the client 🔥
where to allow api access in the new studio ui
does someone know how to code quests and dialouge
if u already know typescript and you know it well then rbx-ts will probably let you write code faster
but if you know luau very well and arent experienced with typescript then it probably wont be a more efficient tool
still useful to learn typescript though
and its pretty cool
does someone know how to code quests and dialouge or a tutorial that has helped u
why is Vs code so useful
it's just proper coding software
has alot of useful features
like what
plus copilot is miles above the roblox AI
ooo
like a gazillion shortcuts if you are a true crackhead
lets you code stupid fast
I don't have the hand coordination for it
no lol
fawk
it warns you though
does it tells me what i should do instead
and github copilot will warn you about logic errors
base VScode no it will just tell you what the issue is kinda like how when you run code on roblox studio and it gives you an error message
ooo
only difference that you don't gotta run the code
if you have the github copilot extension
it will probably give suggestions on how to fix it
np
Are u a scripter
yeah
if u say could I hire u then no
Ah ok
yo when would u use modules in ur code?
i know like the fundamentals of oop but i’m lowk confused when u would use it
When you feel like you gonna do this more than once then use a module
It's like a bigger function that's it
It's commonly used in handlers tho
ahhh alright thank you
yea i’ve seen i js never understood it
I need to make custom script animation stuff where should I look to get started
im new to coding, and i wanted an opinion from someone experienced. what would you say is the most effective way i can learn to script as a beginner?
for me personally, i learnt it through youtube tutorials (mostly to get the hang of the logic) and reading through the roblox developer hub and watching some of the videos on there
Stick to a server like this. You won't learn anything more fresh
alright thank you. ive watched a few videos, so ill continue doing that. ill also check out the dev hub.
thanks, i havent explored much of it yet, but so far i am seeing some helpful stuff in here.
and definitely dont be afraid to ask people for help on things, i recommend posting here or on the roblox devforum for assistance or advice
okay, i will. i see people asking for help on specific things in here, and i can see thatll be me soon, when i eventually start to grasp more about scripting.
Is it okay for me to advertise hre?
no, read #rules
i'm not particularly experienced but this server has a big bullying problem cuz the average age is about 15. i recommend that, if you know what to ask, use ai since its is very powerful for learning how to code
cool idea. i never thought of ai as a learning tool for scripting. im willing to try it out.
You gotta watch YouTube tutorials. If you want, have AI explain more concepts like ray tracing, module scripts, or literally anything. I’m also open to helping people.
Yeah, kids here are terrible
If u type anything wrong they will destroy u
would anyone here be willing to help me learn lua
нет
i have a question if i wanted to make a pairing system like in the 2 player games how would i do that i have tried it before and i couldn’t figure it out
if you mean how to teleport them to a different server you gotta use TeleportService and teleport them to a reserved private server. Check the roblox docs (TeleportService/TeleportToPrivateServer)
OHHHHH that makes a shit ton of sense. i have another question tho because i created a rigged model how do i make it so when the players go into the designated booths one of them turns into the rigged model?
local game = game
player.Character = model
tysm
yeah raycasting is better
Homemade RemoteFunctions
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end
if input.KeyCode ~= Enum.KeyCode.E then return end
if cooldown and cooldown > 0 then return end
if debounce == true then return end
replicatedStorage.Events.SendPlayerInfo:FireServer(plr, "SuperSaiyan", true)
end)
replicatedStorage.Events.SendPlayerInfo.OnClientEvent:Connect(function(plrData, key)
if key ~= "SuperSaiyan" then return end
How can I fix client–server desync where my car collides with another player at high speed on my client, but the server or other players client doesn’t register the collision. So on my screen it hits and but on other persons screen it shows me hitting the air.
is anyone familiar with making roblox cars here
Urgent : i'm looking for a decent scripter to make one of these poison candy game (i'll pay dm me)
Is there a way to move the hole model without having to copy every single one of the parts and buttons like just copy the model and place it in the tycoon
Why are you doing a debounce AND a cooldown
Seperate Debounce for while the effect is on, and cooldown between effects
group them all as a model
and if youre doing it in a script, set a primary part for that model and use or :SetPrimaryPartCFrame:PivotTo to position it
The former is deprecated
hey
how tf do i make custom animation
cuz it aint workin even thru the avatar settings
Hi I have some problem with a discord bot script anyone mind helping me?
instead of asking if anyone can help, just post your problem and any info you think would be needed, and you'll get help faster


any scripters taking simple tool comms
any scripter here to do a job for me, small task n get paid in Robux dm me
I used align orientation for my side fighter but when the players run into each other they still turn, anyone got any recommendations
Anyone is expert in making self bot here in node.js extension.
less
Использование ИИ в конечном итоге обернётся против нас
i dont see how that is deserving of a ban lol
he hasn't scammed you, he just has high prices
just means he's less likely to get sales
mr. obvious how are you I missed you
i've been quite well, thank you 😊
it already has
the crazy thing is that are his prices on the post
so what made him to charge 50 pounds
💀
I JUST REALIZED HE SAID "MIN 50"
HAHAHAHAHAHAH
yo is there any way to not make the player teleport while scaling him (ToScale) on the server?
https://devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/5X/5/8/4/b/584b5be812079faed16f9473a4f6eac7c34fb433.mp4
vid not mine
is the parts like food and when you eat them you get bigger?
ye
its not me who made the vid but i wanna do something similar
not player character tho its custom rig
why does he even glitch like when he touches them he should just get bigger
not lag and go back
I need to see the script
otherwise its not possible to tell you
its just using ScaleTo(number) on the server
when u do that on the client it doesnt lag
only solution ik rn is that just do it in everyone's client but then idk how to make hitboxes work on server then
this should be on client side anyways
then how do i use hitboxes on the server? if the size is client
each client sees what part they eat you dont need to have parts that everyone can have access to
so there are 2 players
player1 eats like 5 parts and he sees 10 left player2 doesnt see 10 left he sees all parts which is 15 parts since he didnt eat them
then you just gotta do it very optimized and well on the server script so its not messy
thats the only way i guess
i tried changing the size of every part of the player's character on the server but it still does it
that makes it worse
why you dont just scale simply
by changing the scale value
I mean some kind of delay will definitely happen but still better than changing all parts manually
this
when you click the model
and look in properties
just add like very small amount of value as example +0.01 or +0.1
anyone knows how much time does roblox need to verify my game? it only got a small code in it about 1k lines only 😭
so you dont get instantly big
replicate scale to the server
also :ScaleTo exists on the character itself
thats ScaleTo()
js a guess but mayb have a ScaleTo value nn have th scale slowly scale up likee 0.1 to whatever ScaleTo isss >,>
lags the player
he just doesnt like to do cheap work nothing crazy
so if you want him to script smthn he takes 50 min
minimum
i tried that and it did the absolute same
what wass th tool abt o,o
slap tool literaly
they might be charging per hour
slap*
Ouuu
they all bad
did you find someone to make it for you?
no
a slap tool is interesting iveee never worked ww ragdolls b4 >,>
youd want to do something on the client then replicate it to the server so the other clients can see it
how much are you paying?
are you interested if yes dm me simply
how much would u even pay for the slap tool
how do you do the new group prompt
the thing to prompt someone to join ur group within the game
GroupService:PromptJoinAsync(groupId) on the client
appreciate it
whats the best free anticheat?
is it a comm or you making a game?
making a game
with a friend i met like 18hrs ago
cool....whats it about?
buy brick sell brick
u get a chance to get better brick
like
theres a chance u get a better brick#
oh alright
woah
the player base will be like little kids right?
like the type of ppl who play
oh alright thats good
started 20 hrs ago
ik
its basically a loop but the co owner said add minigames to get special bricks
BrickData.Bricks = {
{Name="Common Brick", Rarity="Common", Price=10, Chance=nil},
{Name="Rust Brick", Rarity="Common", Price=12, Chance=nil},
{Name="Trap Brick", Rarity="Uncommon", Price=25, Chance=nil},
{Name="Healing Brick", Rarity="Uncommon", Price=30, Chance=nil},
{Name="Toxic Slime Brick", Rarity="Rare", Price=50, Chance=nil},
{Name="Soundwave Brick", Rarity="Rare", Price=55, Chance=nil},
{Name="Phantom Brick", Rarity="Epic", Price=100, Chance=nil},
{Name="EMP Brick", Rarity="Epic", Price=120, Chance=nil},
{Name="Time Brick", Rarity="Legendary", Price=250, Chance=nil},
{Name="Void Brick", Rarity="Legendary", Price=300, Chance=nil},
{Name="Final Brick", Rarity="Mythic", Price=nil, Chance=4000000},
{Name="God Brick", Rarity="Mythic", Price=nil, Chance=6000000},
{Name="Secret Brick", Rarity="Secret", Price=nil, Chance=8000000},
{Name="THE Brick", Rarity="Secret", Price=nil, Chance=9000000},
{Name="V.I.P Brick", Rarity="Exclusive", Price=nil, Chance=9500000},
{Name="Christmas Brick", Rarity="Exclusive", Price=nil, Chance=9700000},
{Name="Halloween Brick", Rarity="Exclusive", Price=nil, Chance=9900000},
{Name="LUNIGHTALARAS", Rarity="???", Price=nil, Chance=10000000}
}
yea thats the chunk of all the bricks
worst prices ever
imma make the map in a min
the chances that are nil are like u cant get them by buying the bricks but hte nil prices u can only get by either being an admin [ not added yet] or by getting them through the chances to get it
so like
u cant sell them yet.
but the max inventory space is 10
might add index
depends if i can be asked
u feel me?
imma go make the map
cya
Anyone wanna do a rpg game about Frieren? im an animator.
U should do a mob psycho battlegrounds game
why? i want to make a rpg about frieren
ooof
Yea u could do that if ya want
ye im tryng to find people now
cuz im broke
and how much progress you got
server auth
Is it even worth having models in server's workspace?
cant i just make server only store the data
then clients make parent the models to workspace themselves
server shouldn't handle visuals at most, so yes
do other games do this
idk this feels super extreme. on server side its just gonna be the map and that's it 💀
there's no downsides in doing this tho right
i just have to code it so clients can build the models, get updated whenever
basically handling the replication myself
local Players = game:GetService("Players")
local DataStoreService = game:GetService("DataStoreService")
local BrainrotStore = DataStoreService:GetDataStore("BrainrotRNG_V1")
local Remotes = game.ReplicatedStorage.Remotes
local RollEvent = Remotes.RollEvent
local AnnounceEvent = Remotes.AnnounceEvent
-- Brainrots
local Brainrots = {
{Name="NPC Stare", Chance=2},
{Name="Metal Pipe", Chance=5},
{Name="Skull Emoji ??", Chance=25},
{Name="Skibidi Toilet", Chance=250},
{Name="Strawberry Elephant", Chance=10000, Secret=true}
{Name="Developerinho", Chance=100000, Secret=true}
}
-- Weighted roll
local function roll()
local pool = {}
for _,b in pairs(Brainrots) do
for i=1, math.floor(10000 / b.Chance) do
table.insert(pool, b)
end
end
return pool[math.random(#pool)]
end
-- Player setup
Players.PlayerAdded:Connect(function(player)
local folder = Instance.new("Folder")
folder.Name = "Inventory"
folder.Parent = player
local data
pcall(function()
data = BrainrotStore:GetAsync(player.UserId)
end)
if data then
for name,amount in pairs(data) do
local v = Instance.new("IntValue")
v.Name = name
v.Value = amount
v.Parent = folder
end
end
end)
-- Save
Players.PlayerRemoving:Connect(function(player)
local saveData = {}
for _,v in pairs(player.Inventory:GetChildren()) do
saveData[v.Name] = v.Value
end
pcall(function()
BrainrotStore:SetAsync(player.UserId, saveData)
end)
end)
-- Roll handler
RollEvent.OnServerEvent:Connect(function(player)
print("SERVER: Roll received from", player.Name)
local result = roll()
print("SERVER: Rolled", result.Name)
local inv = player.Inventory:FindFirstChild(result.Name)
if not inv then
inv = Instance.new("IntValue")
inv.Name = result.Name
inv.Value = 0
inv.Parent = player.Inventory
end
inv.Value += 1
print("SERVER: Firing client event")
RollEvent:FireClient(player, result.Name)
end)
local result = roll()
local inv = player.Inventory:FindFirstChild(result.Name)
if not inv then
inv = Instance.new("IntValue")
inv.Name = result.Name
inv.Value = 0
inv.Parent = player.Inventory
end
inv.Value += 1
RollEvent:FireClient(player, result.Name)
if result.Secret or result.Chance >= 250 then
AnnounceEvent:FireAllClients(player.Name.." rolled "..result.Name.." ??")
end
end)
Is there any errors for this script
its all 1 script
just run it
I did, Its suppost to be an RNG brainrot game, And when i running it, I press ROLL it says after rolling but then it doesnt show me what i got or what i hatched
well then if it doesnt say any errors
there is none
but it might not work as intended
how do i know if there are errors
Guys how can I preload animations without roblox yelling at me about the animation limit on an animator.
I'm pretty sure the animation limit was 256 before, I don't know why they lowered it to 32 tracks.
AnimationTrack limit of 32 tracks for one Animator exceeded, new animations will not be played.
Can somoneone help me, I'm trying to add a prefix before admin usernames but it's not working, the local script is located in starterplayerscripts
add prints throughout it to make sure its actually reaching that line
depends on your game actually
But yea, I would create buildings visually
output
yeah i just knew how to find output
I did thanks tho but i figured it out now, OnIncomingMessage uses TextChatService not the channel 🤦♂️
hey does anyone has a pack of free animations to use
since im bad at animation but wanna see if my scripts are functionals
Just use the toolbox
comment any suggestions
for some reason my data keeps getting jumbled up when saved like this and I have no idea why
I've heard that you aren't supposed to use multiple data types in a index and maybe this is why???
idk
one sec I have a theory
happy new year everyone
Actually I might just Be Doing the Dictionaries Wrong
I remember them starting from 0
AnimationTrack limit of 32 tracks for one Animator exceeded, new animations will not be played.
did anyone else get a silent change of 255 -> 32
what tf is this
ok yeah nvm I just indexed wrong I'm Stupid
Someone decline my application already It's about a day 
why is print fart
you applied for scripting comms?
Ye
Hello, do any of you know about a animation bug that is getting abused to crash a server? (makes client fps of everyone in the server very low)
"AnimationTrack limit of 32 tracks for one Animator exceeded. new animations will not be played." is the only thing that gets spammed in console when the crash is happening in game
i would show screenshot but no perms
if anyone know why this could be happening and if theres a patch, please let me know,
If you show profeciency in your role then you'll get it ,.tho I'm not really into working hard so I didn't use something fascinating for the application
Is AI replacing scripters anytime soon? what's stopping it right now? it can code pretty well
Wait guys where can i learn to start to script?
And build and js learn about Roblox studio enough to make a crappy game
To build my experience
on lua.org
building is by just trying
Alr
I have tried like using those assets and pre built stuff but its js bad when u put them together
yea they never fit well
try to come up with ur own style
So i reckoned that im better of building from scratch
Alr
yea or you could try to recreate styles and see if their easy to you
Okay thanks for the help man
np
Im trynna build a game with my laptop from 1720 and its pain
And im trynna get my parents to get a new one but they are saying to focus on my exams and stuff
haha also have a old laptop from 2019
lol
I still don't know what the hell lerp() could be
Hey guys,
I am scripting something client based (only visible by the player) and I'm wondering where I should place the script for the client. Should I place it in the StarterPlayerScripts?
linear interpolation
yo is there a way to apply an entire bundle to a player’s character by just using the bundle ID instead of manually setting up a bunch of humanoid descriptions? i already checked humanoid description methods, players service, humanoid methods, avatar editor service and avatar creation service
ah
doesn't seem very linear though?
let me test this again rq
yeah these animations definitely aren't linear
might just be this one
no they have these too
Weird
but to clarify this means that lerp is the thing that actually makes it transition from 1 angle to another
this is really important
lerp is used to find a point between two other points
Like
Part3.CFrame = Part1.CFrame:Lerp(Part2.CFrame,0.5)
would set Part3 to half way between Part1 and Part2
so here it's finding the inbetween of the pose, and not just setting it
that is incredibly dumb
Its like manual tween
why wont my script kill the player?
local y = 1
while true do
y = y + 20
script.Parent.Size = Vector3.new(2048, y, 2048)
wait(.5)
end
local function Getkilled(hit)
print("hit")
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Health = 0
end
end
script.Parent.Touched:Connect(Getkilled)
does it print hit
nope
If you do this in a loop its basically an exponential tween
Idk what FPSFIX is but you just have to relate the alpha to dt instead of messing with "fps fixes" like that cause framerate can fluctuate for any reason
Does the part change size tho?
yup it does that just doesnt kill me
Does it kill you if you jump in early? My theory is that resizing a part doesn't immediately trigger touched events to be honest
guys im trying to make a plugin that edits scripts and I know its possible but what do you have to do to make it actually work
let me test that
Because you have a loop above the function
Damn
While loops dont let anything underneath run
What exactly are you having trouble with
what do you actually write I looked it up and its like script.source or smth? can you give a example bc theres not much documentation
The only barrier is that the .Source property is locked security such that only a plugin can read and edit it, otherwise yes its as simple as reading, (searching, replacing,) writing Source