#code-discussion
1 messages · Page 159 of 1
everyone started out using free models otherwise your not a real developer. am i right?
If you ask ai for reasoning aswell towards your awnser or maybe like what you need to use to get to the conclusion it could be effective aswell
But I've heard brawldeb is really good
Fr lol
i used to take a uncopylocked games and publish it with my gamepass id 😭
Yess that's what I mean. I didn't get direct answers just a push in the right direction
I litterly worked on so much uncopylocked games and have made like no money 😭 waste of 2 years or so
I had no skills though back then
I don't use free models. Most of the free model systems I've found are structured very different from how I structure my code and it was hard to follow.
Damnnnn
Idk how advanced you are but I recommend staying away from commissions asking for ragdoll until you've made one yourself. It took me like 3 days and tons of hours to get one that works well on r6 and r15
I think I kinda found out that I don't really want to work on full games being ui designer builder modeler and loads of other stuff and would rather just focus on key skills in the form of commissions even if I'm getting a "bad deal"
I need to get my name bigger and expand my portfolio anyway
Yeah i don't code alot tbh and just stick with what I 100 percent know
True true. I think a good portfolio feat is a plugin. They're relatively easy to make but they can be super helpful with commissions. I made a plugin that imports my ragdoll, stun, fly ect systems. I made them super modular and easy to follow so I can publish it at some point
Ohh alright
Very cool
how would i go about making my assets be aniamted with skin mesh without lag??
Well I'm gona go bed bc it's 2am 🥀
Idk pray ig
how can i make that work ?
aint u a scripter
script sum for me lil scripter to not make it lag cuh
You trying to connect a function to it or something?
No idea what Ontrix is supposed to be
YH
You do proximitypromot:triggered:connect(function(plr)
end)
i needa remple "function" by the name of the function ?
That's how you link functions to things. You just need to add the function your calling between the parentheses and it'll call that function upon prompt trigger
damn it worked
yess keep going girl, i learnt alot too dm me about it
can someone help me with creating a game version checker
game.PlaceVersion
wdym it does though
this is mines
script.Parent.Text = "Game Version: " .. game.PlaceVersion
it d
it dont display any version
it does not work sadly
really odd, is there any error or anything?
anything more in the script?
no not really im new to this scripting thing
right but pls check the output tab for errors
Is higher or lower CPP better?
Using profile store for my datastoring anyone know how to make a leaderboard with profilestore. Do I have to make a new ordered Datastore synced eith the profile store one
The game
Anyone know how to code something that creates a ghost of you that follows you? Sorta like that ghost rod in fisch
Profile store doesn't work with global leaderboards
if I want to make a timestop ability similar to Slap battle, would using magnitude be helpful?
Yea if u wanna make it for people within a certain distance
i dont script so i aint know
I've tried to use overlaps, and it do works but it's not very accurate
or consistency
InFamous Neon Run (No SFX)
Does anyone know why does the rig clips through the ground?
you turned off can colide
But the rig needs to not collide with the player.
Like the player should be able to pass through the rig.
@vale flax
I think you would know by what I meant to try to say from this video.
If I anchor it, I don't think it would be able to move....
oh in that case you may want to utilize collisionservice
Hmm so if I add it in, it would work right?
Because I need to let the scripter do it. Since I can't script.
Guys how do i make thing moves like a car and stuff
What would u use in scripting to do that
I haven't written an extension in months is this an inefficient way of writing stuff
Huh.
Yo can anyone that does combat systems explain how you cancel a attack/m1 midway through if hit?
issue is with collisiongroups
the rigs are set to the default one
Oh,
Where is that though?
In properties?
Because I am not much aware of it.
Does anyone know what’s behind the red box?
seeing its a leaderstats script with data store then its gotta be a saving function (Just getting into coding, so i dont know exactly what the line would be)
Thanks I just started scripting the other week
i dont code much lol, i may be right or wrong probaly could find a youtube tutrial
playerData:SetAsync(player.UserId, playerStats)
Thank you so much
check out reactive metals youtube turtorials for data store and leaderstats there very well explained
Thank you guys
i dont understand tho, did you not write this?
why is there a red box?
It’s my friend quizzing me lol
lf advanced scripter to look at my current code and anims to see why my dash isnt tuning and syncing correctly, it currenly feels very off, will pay $$ generously if they offer good advice
a return
?
What does that mean
i switched my in game day/night cycle clock to use unreliable remotes instead of remotes and it doubled my incoming packets to 140. i thought it was supposed to do the opposite?
you know...
function func(a)
return a
end
whast this?
@verbal coral
??????????????????????????????????
TweenService:Create(Part1, MyInfo, {CFrame = Part2.CFrame})
????????????????
??????????????????
@tame snow
GUYS IF YOU USE FIGMA IS THE FIGMA TO ROBLOX PLUGIN GOOD BECAUSE IM HAVING PROBLEMS WITH IT
ik how to do this but I just tab through most of it
wait what am I saying I don't tab through that
but like what if it's the other way around
actually I don't think that mattters for the question
shouldn't you be answering these by yourself
Use guard clauses
could you explain how? i searched and don't get it kinda
Yo yall what would be a fair amount to charge for a full game scripted like build a plan
Only the scripting
In robux*
does anyone script java here
if not the n return end
u basically check it not in the if loops
@jovial crown DMs.
okay i started getting it tysm!
so the idea is that if the conditions are met it will let the script go further and if not the script will end instantly
right?
but you just revert it
-# ⭐ ping me if you answer please! :)
hello, so, i've come up w/ this little character teleport function for a cutscene system I'm making.
it teleports the player just fine, but when it comes to NPCs, the NPC teleports for a split second, before getting shot back to its original position. they have the same exact hierarchy as the player does (has a humanoid and everything) and the NPC & player go by the same script. so i'm not sure why it's acting so strangely. any ideas/help would be greatly appreciated! here's the function
local function teleportCharacters(teleportTable, teleportsFolder, characters)
for tag, teleportName in pairs(teleportTable) do
local character = resolveCharacter(tag, characters)
local teleportPart = teleportsFolder:FindFirstChild(teleportName)
if character and teleportPart and character:FindFirstChild("HumanoidRootPart") then
local root = character.HumanoidRootPart
root.CFrame = teleportPart.CFrame + Vector3.new(0, 3, 0)
end
end
end
What's the best Data Store method?
yeah that is good use no point in requiring all of them seperately
just use profile service or sdm
although i've never used SDM, i've seen syntaxes of it and it's pretty straightforward
Anyone looking for an experienced game/server manager dm me. I can go through in more detail what i do.
what is this service
i alr learned guard clauses and it doesn't look like this anymore 😉
kamehameha framework
Guys can anyone hop in call with me I am trying to add points to a leaderstat when a proximityprompt is triggered?
I need a scripter for my game I want it to be like "creatures of sonaria" my game is iceage monsters dm
is this a client or server script?
oh yeah, i figured out it was because it was a client script! i changed it so it was server-sided. thank you though!
alright. that's something you gotta watch out for
is it a bad thing if 90% of all my code are organized in modules
can you apply a filter to a microphone in studio
like a radiopass effect
or is it even more garbage than i thought
Guys does anyone know a tycoon pack which is modern for sale?
if you can read it it's alr
u should just learn oop honestly
oop?
object oriented programming
it's really hard tho
the one where you use metatables
Hello, this is gonna sound strange or way out of what I think Roblox is capable, but...I want to make an advanced particle physics/nuclear physics simulator for roblox, like the kinda stuff we would see done by Physics PHDs, but into Lua, is this possible? What is the approach i should take, anyone who has worked with a physics engine capable of this?
dont
huh?
ofc you can
someone probably already has
there is nothing else in luau representing oop
structs pseudo oop is best
yes there are
tables themselves
and metatable methods are slower because they have to search your entire table before searching the metatables __index
the more keys you have the slower your methods will be
which one is faster getpartboundsinbox or getpartsinpart since first one uses cframe & vector3 as position and size to check and the second one uses a part instance
yo anyone need free scriptes i can script for free im tryna build up my portfolio (Not long term)
just benchmark it
u right why am i even askin
someone get me verified badge
yo wsg gang who tryna help me
is it hard to learn scripting
when you start getting good at scripting its a whole nother brain
yes
who tryna help me tho
Hey guys! im trying to make a map generation system, chunks delete whenever the player is farm from it, kinda like crossroads. problem is chunks are deleted but the spawners like cars are still spawning
for _, v: Part in SpawnFolder:GetChildren() do
task.spawn(function()
NewSpawner(ObjectTemplate,v)
end)
end
SpawnFolder.ChildAdded:Connect(function(v)
task.spawn(function()
NewSpawner(ObjectTemplate,v)
end)
end)
im using task.spawn, any idea how i could stop these spawners?
try debris
Paying someone to make me.a steal a brainrot kind of game, can be skidded BASED off my idea. not including map
how much u plan to pay
debris or task.cancel
is oop when u use single entry points?/
I saw someone tlaking about using one server scirptand one clioent script with the rest being modules is that good for programming
thats what I do
a server driver and a client driver. Thats how you stay close to an OOP system
did u pay the guy
no i just saw it in this server
no
alr cuz im doing that for a full game for the first time to see if it fixes some bugs i normally get (like loading bugs wth multiplayer
oh the icon guy
He understood and just said he will send it when i am ready to pay
it may help with race conditions if you keep all of your gameplay script connections in the init files
yea i just initialize all the modules in my server script after knowing the data is loaded
my data didnt load for a solid 2 minitues and when it loaded the game worked perfecvtly fine using this
(which never happens normally
what assets are you using that take 2 minutes to load???
guys whats the difference with animationcontroller and animator?
On avg, how much payment should i take for mathing a pathfinding script for a monster that will chase players if too close?
animationcontroller was designed for npcs
but in newer work you should not use it for loading animation
just use animator
both animator and animationcontroller are similar?
no
wait so animationcontroller is designed for npcs without humanoids but animator is for parts
animationcontroller doesn't really have any use anymore
it had use before animator came into play
so basically animator is for animations in parts
if u wanted to animate non humanoid objects before animator came you used animationcontroller
well you can only animate parts
not sure what you mean by that
well I noticed animationcontroller has a animator in it
yea , just liek how humanoid has one
animator is for like loading animations without humanoids
animator is what you use to load animation for anything
you should no longer use humanoid/animationcontroller for loading animations
so animationcontroller is like humanoid for loading animations
since ppl in code help are being useless could one of yall help me possibly fix my script with my pilum
yes
it no longer has any use
sure
ok thx
this is ment to be a pilum / throwable weapon
but for some reason will not work; any time i have the item equiped to a slot i can not open my invetory / close it & become unable to equip the item and use it
this is a working script using the same base code but its for a sword not a throwable weapon idk if it will help to have but incase
im unsure whats causing the issue
so idk wich parts the relevant part
like any time i have the item equipped to my inv i cant access the inventory or equip anything
well no wonder code-help couldn't help
how often do you use AI when making games
Debugging is like being the detective in a crime movie where you're also the murderer.
guys
my developer product is working but its not giving any item any prints or something else please some can help me?
-- Product Functions
local productFuncs = {}
productFuncs[111111111] = function(player)
print("Someone purchased Kill All!")
for _, plr in ipairs(game.Players:GetPlayers()) do
if plr ~= player then
plr.Character:BreakJoints()
end
end
end
game:GetService("MarketplaceService").ProcessReceipt = function(info)
local player = game:GetService("Players"):GetPlayerByUserId(info.PlayerId)
if not player then
warn("Player not found for user ID: "..info.PlayerId)
return Enum.ProductPurchaseDecision.NotProcessedYet
end
local callback = productFuncs[info.ProductId]
if callback then
local success, err = pcall(callback, player)
if not success then
warn("Error in product callback: "..err)
return Enum.ProductPurchaseDecision.NotProcessedYet
end
return Enum.ProductPurchaseDecision.PurchaseGranted
else
warn("No product function found for ProductId: "..info.ProductId)
return Enum.ProductPurchaseDecision.NotProcessedYet
end
end
idk cuh✌️
Is that profilestore ur using
nop
Why is self the actual module and not the pool object?
THERE IS NO ANY OUTPUT WHY ITS NOT WORKING LIKE IM GETTING CRAZY
we in the same boat bro dw
I’m in bed depressed about my code
And might have to redo a whole system
@royal ibex DMs.
why my output start writing the after some seconds wipe all and restart write other stuffs? i lose the errors like this
metatables
?
Show me how did you print it
bro i have to do it today how can i fix that
can someone help me how to script?
However I have this issue now, any idea?
can someone coach me, i wanna learn scripting
bro
do you even know how to use table.remove
Do you even know what youre talking about?
table.remove takes 2 values
It's not a table.remove issue
it is
Explain this then
?
calling me dumb
when using 1 value in table.remove
IT REMOVES THE ELEMENT AT THE END OF THE TABLE IF THE POS ARGUMENT IS NOT PROVIDED
HOLY SHIT
hello chat, teach me oop like i'm a disabled 5 yo kid with autism
and yes, it is THAT bad
do you even know the basics
oop isnt that hard bro 😭🙏
Should I do logic as a scripter or combat
I’ve been working on combat but I think logic could be fun
even more
Especially for grow a __ games and steal a __ games
oop example:
local module = {}
module.__index = module -- this is important set the index to the module itself
function module.new(whatevervalues)
local self = setmetatable({}, module) -- set the metable a empty table and new meta to the module itself
-- set ur cool values here
self.coolName = "SO COOL!"
return self -- return it here
end
function module:Update(whatevervaluesifuwant) -- always do : for these functions so it can access self
print("hi")
if self.coolName then
print(self.coolName)
end-- you can access self values anywhere in these functions if u defined them within self
end
return module
usage in script example:
local moduleOOP = require(script.ModuleScript)
local newObjectValue = moduleOOP.new() -- here you create the new value
newObjectValue:Update() -- on the varaible where u created the new value you can perform functions
okay
you know what i totally wouldn't get banned, that's too absurd
but i alr deleted that
Your constructed is defined with a dot but your calling it with a :
Are you stupid
<PoolModule.Create(params)>but.. <local pool = PoolModule:Create(opts)>
when you later call self:Warmup(...), the method lookup goes through the metatable and you end up seeing self as the module table
Can someone assist me on making hitbox on a tweened object? Touched doesnt work. I thought that using GetPartsBoundInBox may be the answer, but won't it be too heavy to check for parts like every couple of milliseconds..?
If you do 0.1 and use spatial queries usefully then it won’t be as heavy
Or you can cast a ray
Isnt the hitbox going to be too small then
What is that
No I was calling :GetObject on the module instead of the object
Thanks gng
so coolname is the attribute and update is the method?? you create a new instance with .new() ?
damn bruh i wish i learned this before
coolname is a value you can change/access in every function
And yes you create a instance with new
in other languages its literally just class NAME what is a metatable?
also dont u gotta pass self in the function parameters?
No because you use :
what does that do?
Using the : constructor automatically passes self
oh
also how do u make constructors?
I think Theyre called constructor
like you can use function module:update()
Or function module.update()
But when u use . You Gotta pass on self as the First parameter
is vs code github copilot trustable? he said he knows luau and he can read my whole project, so it should do a good enough job
If ur planning to use self at least
you dont always have to use .__index
no like a way of initiating the objects or customising them if ygm
hell no
It wouldnt work as oop without it
yh idk if to trust that thing
how he made it it is that it creates a class object with a constructor
cuz if he didnt add "module.__index = module" there his example would error
depends
What
If I didnt use index metamethod I wouldnt be Able to use functions on the new created object unless i define it with self on every new object created
i said your example will error
this line
That too
newObjectValue:Update()
attemp to call method 'Update' a nil avlue
if you didnt add the index metamethod
apple_inator guy didnt even understand what i said lol
chat ipairs is the fastest ong
chat ipairs is the fastest and most updated!!!!
Index metamethod is used so it looks in the entirety of the module table if it isnt in the self table
For oop
I dont use ipairs or pairs
indeed it will look in module itself if a field is missing
idk what we are arguing about
we are saying same thing in different words
Can someone help me please with this:
https://devforum.roblox.com/t/profile-service-replica-service/3872777
Hello! Recently, I discovered the ProfileService and watched a YouTube tutorial on how to set it up. It was actually quite easy to understand. I also made a DevForum topic asking how to update a TextLabel when certain data changes. People said there are basically two ways: using RemoteEvents or using ReplicaService. I thought it would be better...
replicaservice is a project by some guy
so no it wont be better
c++ function would be faster than lua function
They are supossed to work together, and I need it because replica service can send data to the client in parts for high performance
make this part of replica service yourself
replica service is open sourced on github
just skid it if yo ucant
rephrase
what do i make
projects
Are you new?
kinda, just need exampkes
Just keep practicing and mastering fundamentals. Maybe make some obby first to start understanding basics of luau and script structures
i know most basics
Well, then keep mastering them and start make some projects
what project
Up to you. Any practice that can help you with mastering fundamentals and learning smth new always good
im gonna work on rng
hell no! go straight to examining luau source code, parser, compiler and bytecode generation!!!
Alright, good luck with that ! I hope you success
dm me for scripting help
@surreal ether
hi
do yk script? like alot?
uh, probably
alright texted ya
guys, for sword slashes what feels better? trails or vfx?
__index is so powerful
3d vfx but you could go down with trails if u really want to
can anyone teach me scripting im dogshit at basic scripting…
as i said earlier you can dm me for scripting advice/help freely
i didn’t even see that
mb
Hey I have a question, if im trying to do a global limited time stock system so if it runs out there would be no more, How would I be able to sync thru new servers?
Memorystoreservice
If two players get connected to each other via a RopeConstraint, does both player NetworkOwners fusion to only one NetworkOwner?
yes
well
there is network island
a group of parts that areconnecetd by constrainsts/joins
theyre theated as one physics entity
roblxo assigns ONE network owner to the whole island
but you can ovveride that with BasePart:SetNetworkOwner()
tysm! that definitely explains my errors now
I wonder though, if I wanna work with that fusioned NetworkOwner, how I can access it? I mean like, if I set the NetworkOwner of one base part of one character it will automatically be the NetworkOwner of the whole thing?
uh
if two players are "fused" into one network assembly
then yeah youd only need to set the networkowner on one part in that assembly
internally in BasePart:SetNetworkOwner(player) roblox finds the root part of that assembly and updates the owner for the entire assembly
so no need to worry
every info i said is from this
Why can't client see if he owns part ownership?
If for example ApplyImpulse only usable when you have ownership
tysm man! I‘ll have a look into that link too, appreciate ya 🫡
Can't you just Apply it as client
And then check if it actually applies
and if it's not then you know you don't own it
they can check if owns
Wdym, they can?
if part:GetNetworkOwner() == localPlayer then local player owns end
this cant be done in local script
bruh
isnetworkowner(part) but i think thats roblox executors function
GetNetworkOwner
im dumb i forgot network api cant be used on client sorry
thats the only way to do it on client
too late I already tested it STUPID
well then how's my idea?
to actually check
by using forces
Like a 2 frame yielding method
that takes 2 frames
genius?
idk
because I'm making custom replicator
I don't want to send any new info to the remotes that give info to player that he owns this part
and recreate the part
oh wait
no hell no
replication itself is fucking slow, why do I even wanna create a method to check if client owns part
good luck learning!
^
why are you sending this? you're the one who fucked up and thought you can know part networkship on client
you can
just not in studio
wtf is this
synapse docs
what?
nothing to worry about
and c++
yup
part network ownership is stored in client memory
if it isnt or its just not there (im not sure) then client doesnt own the part
alright then
I'm forcing my every player to buy and download synapse to use this exact function and execute my code every time they join or game will kick them out.
ong bro
Boom I have c++ access now
synapse is discontinued for like 3 years 💔
can you rephrase what you want to make
And give it to everyone on my game discord server
Code my game in c++ and force players to download injector from my game discord server or I'll kick them from the game every time they join
Boom full c++ access!
yeah figure it out on your own
Nah shit I won't do it
It's genius idea but really fucking hard to make
How are you forcing roblox players to download injectors to play your game
new executor developers dont even know what hyperion uses VEH to communicate
it was so easy to just create own VEH and stop hyperion one from running
Yeah non kernel anti cheats just suck ass
how much would you typically pay for a quest system?
need a coder
dead chat
^
Other way around
should i try and script with rojo, wally and such on vs code or use roblox studio?
Ppl prefer outside but i just use roblox studio
Both have their advantages and disadvantages
what is a remove event & remote function?
with a remote event you can transfer data from client to server or server to client, like for example you are trying to throw something like a ball where you clicked with the mouse, so you take the starting position of the ball and the position of the mouse, and then fire a remoteevent to the server with the starting position and the mouse positon and then the server get these 2 so you can clone the ball to other clients or maybe clone it on the server then use these positions to make it move from point a to point B, this is just a example of how it can be used
any simple idea with some linesof codes no effort ?
?
and a remote function can be used for like shops to verify on the server that the client has enough money you can use a remote function to verify that and allow the purchase if enough money since you can use a remote function to get data back
ohh
alright tysm
Is this code good commented?
i do not have the patience to document my code half the time so yeah lol
atp people can just get ai to do it for them
and roblox refuses to go kernel too
why do you even need commets if you already address them? you named it firstSpawnWave then added a commnet -- First wave the zombie will spawn, i mean if this helps you then yea but usually my scripts barley have any commnets in them
probably for other scripters he's working with
So its for an application, does it look AI generated?
nope
guys what scripting project should i make to put on my port give me ideas
a car driving
not that good in frontend 🙄
first person shooter
JUST said im NOT THAT GOOD in FRONTEND
what does in fronted mean
Bow mechanics
tiktok part 2 ahh background m,usic
If any experienced roblox scripters are reading, I have a question.
I'm a senior student in university and I have a lot of programming experience, mainly with java and python, so I am very familiar with most concepts in programming. I have always wondered if it's worth becoming a roblox scripter, not to make a living but maybe a side income
looking for a scripter
yeah for like extra 700 bucks a month
and 3 hours of your life everyday
you gotta find good offers
18$ LMK
Yo
Bro built a ipad
man, how could i start working with other people, if i dont have a portfolio
like, no one accept, even if i make a task for free
to give example
Make a portfolio
do some personal projects to build up a portfolio
you don’t necessarily need to work for other people, you can lead your own projects
guys should i limit the amount of unanchored objects that a player can have in his base
or nah for the funni
uh
can anyone tell me how to change the price of a gamepass inside my shop in my game
Not possible, but if you have several gamepasses/products you could adjust which one the player is prompted to purchase according to the price.
guys this is my third day scripting
i figured out how to do rain dropped
is this script good?
`local rainspawner = 0
while true do
if rainspawner >= 1000 then
break
end
local RandomNumber = math.random(20,60)
local RandomNumber2 = math.random(20,60)
local RandomNumber3 = math.random(20,60)
rainspawner = rainspawner + 1
task.wait()
local rain = Instance.new("Part", game.Workspace)
rain.Size = Vector3.new(.5, 2, .5)
rain.Position = Vector3.new(RandomNumber,RandomNumber3,RandomNumber2)
rain.Transparency = .5
rain.Anchored = false
rain.CanCollide = false
endprint("Loops finished")`
i also learned instances and breaks/ loopsss
aa
Pretty good overall in my opinion
could be improved but what couldnt lol
Is anyone interested in funding ugc uploads in exchange for 30% of the earnings? Looking for 10k+ robux funds!
if any scripter here knows how to make a plane flight/ building system like in the one build a plane please hmu need one asap
How do I make a mirror?
looks good but i feel like you didn't need to comment some stuff like --Small delay
i been doing it for 4 days only lolllll
i learnt alot
Can’t it be achieved through linear velocity
look at the comments in this function i found made by one of my teammates
give a challenge to code
hello
any cody coders
help me i need sleep what is this error dawg
i am this close to just hiring someone
Atleast bro is trying to communicate 🙏
oh hi
cani help
show
One second
Someone said it’s because I’m not the one who published it and that’s what ChatGPT also said
But I did publish it tho? And it was working before
It’s just not public
you have some Infinite yields
I haven’t been able to fix that either
wait whys it say possible
ive never seen it say possible and not that it was yielding
I have no idea this is my first time developing a game
It always says that
maybe i hadnt realize because i hadnt gotten one in a long time
If it waits for longer than 5 seconds it gives that warning
I am the owner of the game.. is it because it’s not public yet or? I have published it myself aswell as in it was a blender file, I used the import shit all right, and I published it
Do you own the animation?
Did you upload it using animation editor?
When I saved it to Roblox yes
So you have a model with keyframes, and you uploaded it to roblox?
I’m not sure what it’s called but it’s the one where you literally just import the animation onto a rig from blender, and then upload it
And you used the asset id of that animation?
keyframes is the rhyombus shape instance theyre created when you make an animation
you publish those to roblox

I am using asset IDs, but when it comes to importing I used the Roblox blender plugin
I did do that that’s why I’m so confused
It imported it into roblox as a model right?
are you sure that its the animation's id
Nope as an animation
I’m not sure there isn’t an option to pick it just uploads, thing is if this was my first attempt I’d understand something was wrong, but it’s ONLY the run and it works just fine before but I made a tweak to the code to add something and it just broke
Like it’s the run assset that’s failing
is that a group game?
And basically in game it plays the first keyframe then stops
Is the speed set to 0 or something
Nope, have a few commissioned things but haven’t made a group yet
thats likely a playing of the actual animation issue than the error
No I keep moving the animation just stops
So is the animation speed is set to 0 or something?
Don’t think so
I’ll try to tomorrow since it’s 5 am now, the idea of the code is that it’s supposed to override the universal run animation once I equip the weapon
Might be a priority issue then
does the character stop in the animaton or does it go back to it's default position
Oh interesting. Do you know if it happens in the actual game or just in studio?
If I keep running it’s just first keyframe but I keep advancing
cause then that might be because its not looped
what do you mean first keyframe?
Just in studio I haven’t tested but I did try restart my studio, the game isn’t published
The first pose of the run cycle
I’ll attempt that tomorrow too
can i see the code to play the animation
Could you add me and I can send it tomorrow? Apologies
Thank u all for the help seriously
animations are a bit finicky
Is anyone interested in funding ugc uploads in exchange for 30% of the earnings? Looking for 10k+ robux funds!
guys omggg my bushes are so beutifgule
Hey does anyone know how to make a like mirror?
viewportframe
Hello
Need a Roblox cheat 100% undetected ? Make sure to join .gg/gotsolara
STFU
guys should I use tween for doors or constraints
just put in a script "while true do end"
it'll get you farther than you think
hmmmm 🤔🤔
itll leave roblox studio speechless
whats the most optimal way to add a sheathe system to ur combat? just using a part to define a space for the weapon to go? or is there a better way
Is object inheritance possible in roblox?
yes
Well you have to define space otherwise how weapon will know where to go
Don't search for imaginary method that you don't need to give it anything to work, just script.
i am trying to make it so when you join into the game and the timer ends, the equipped sword is given to you
Anyone know a good offer amount for a terrain generation script using parts?
what timer
looking for skilled coders to make a clash royale style game with me
what do u do
im making a discord bot, which does like tickets and auto mod. im using replit to make the bot. i dont want all my features and that into one script, i want sepreat scripts for the features but idk how to do that, can anyone help, plz
what timer
im making a discord bot, which does like tickets and auto mod. im using replit to make the bot. i dont want all my features and that into one script, i want sepreat scripts for the features but idk how to do that, can anyone help, plz
So if I set a NetworkOwner in Roblox and its connected with each other then Roblox transfers the NetworkOwner that I set on all other parts too. But does it work likewise with NetworkOwnerAuto? If I set it to false for one part, is it false for the others too?
yo why when i put my game on r6 im stuck (i have no r15 anim)
guys whaddafuk is returning
It's insanely bad and wacky
Not worth trying
Network ownership is set for the whole assembly so all parts connected
Returning a value
elaborate?
It was a while since I tried it but getting types to work at all might not be possible
I believe it was also worse performance wise
You just have to try and see
are we talking about the same object inheritance
MeshPart inheritting BasePart is like roblox itself right, In oop maybe a different example like a Car inheritting Vehicle, I just wanna know if it's something inefficient
It's inefficient yes
ty
Np
It's why if u have one part anchored it will error if u set the network ownership to a connected part
thanks
does anyone know if runservice heartbeat dts are consistent? for example if you increment a number by dt on heartbeat both on server and client, would they slowly become further apart?
Quick test showed that it doesn't change and is quite consistent (>0.01s error for most steps).
for how long though?
im worried about for like 1h+
It's been running for 7 minutes in roblox studio with minimum ping, currently it shows no visible errors
hmm it might not be accurate on studio
assuming you are on studio
since the server runs on the same pc as the client
I'll do ingame tests
cool question but why would you even need to do this
Same result but more fluctuations from active checking by the client due to ping
You are very correct in thinking of this
guys should I tween a door or use constraints instead?
use cases
@craggy current mb didnt think
client and server have different schedulers
theyre independant
if yo udo heartbeat on server it runs only on server
yo have you tried grape flavoured sprite
im doing clientside prediction but i mean now that i think about it i need to add rollback aswell prob
u guys r good
i have to implement rollback anyway i was seeing if i could get away w not doing it lol
theyre separate events so dt may vary due to network lag and frame rate differences
no dt can be different
they just need to add up to the same number after 10 seconds have passed
He is asking if the accumulated delta time for server and client will have the same sum
thats what i said
dt is higher on the server im pretty sure
is your use case applicable to use game:GetServerTimeNow() instead
maybe but not sure how
^
^^ just send a start time to the client and then sync with GetServerTimeNow
yo someone scripting and making ui?
no they wont become further appart
dt is the time between 2 frames
if the frame takes time then dt will be over 0.016 (assuming you are in 60fps)
exactly
over 1 second dt would still add up to 1
yeah but i dont know how accurate the timers on roblox are
wdym
i've heard about os.clock becoming inaccurate over time so it wouldn't surprise me if heartbeat did too
either way this is resolved
cause it doesnt matter anymore
for what im doing
os.clock IS ACCURATE

whats more accurate time() or tick()
.clock beats both
really?
https://create.roblox.com/docs/reference/engine/libraries/os#clock
sub-microsecond precision
roblox even says to use it for benchmarking
oh wow
os.clock is superior
well i will be switching i guess
oh okay thanks bro
os.clock is the best for comparing the difference between two points in time on the same device
hey, i have recently finished my game and also uploaded it and well it doesnt get any viewers. I have even made a vid on that game, a devlog, but well it doesnt get viewers too. can yall help me out on how to make my game get a good player base.
does GPT-5 have any new features benefiting devs or just the same.
claude is much better from my own experience.
all ais hallucinate once u get deep into a project
how does ContentProvider:PreloadAsync work? i'm confused
i'm launching a game with an image, and when I launch the game, the image takes a tiny bit of time to load and show on screen
I thought preload would fix this but it doesn't, how does it work?
tick is
os.clock cant get inaccurate if youre not running roblox for YEARS straight since it measures cpu time used by the program and returns how much cpu time your lua script has consumed so far
been trying to debug this
Yo
static int os_clock(lua_State* L)
{
lua_pushnumber(L, lua_clock());
return 1;
}```
```cpp
static double clock_period()
{
#if defined(_WIN32)
LARGE_INTEGER result = {};
QueryPerformanceFrequency(&result);
return 1.0 / double(result.QuadPart);
#elif defined(__APPLE__)
mach_timebase_info_data_t result = {};
mach_timebase_info(&result);
return double(result.numer) / double(result.denom) * 1e-9;
#elif defined(__linux__) || defined(__FreeBSD__)
return 1e-9;
#else
return 1.0 / double(CLOCKS_PER_SEC);
#endif
}
static double clock_timestamp()
{
#if defined(_WIN32)
LARGE_INTEGER result = {};
QueryPerformanceCounter(&result);
return double(result.QuadPart);
#elif defined(__APPLE__)
return double(mach_absolute_time());
#elif defined(__linux__) || defined(__FreeBSD__)
timespec now;
clock_gettime(CLOCK_MONOTONIC, &now);
return now.tv_sec * 1e9 + now.tv_nsec;
#else
return double(clock());
#endif
}
double lua_clock()
{
static double period = clock_period();
return clock_timestamp() * period;
}
Full problem:
My chunk spawner thing spawns a chunk and that spawner is the logs cars, when the chunks get deleted the logs cars stilll get spawned
probably but im not a scripter so i wouldnt know
can someone debug my game please
for free its a simple bug that i cant fix
Is it possible to make a dead humanoid which is ragdolled, a draggable object which can be revived at any place and then be able to move from the place it was revived? (By humanoid I mean a player not a bot)
?
yea
i couldnt understand it at first
uhm evade has smth similiar
but its not dragging you can carry the body
maintain a reference to the coroutines for spawning the cars, then kill them when the chunk is deleted
dont mind the code, why would i want that? im new to scripting
its just the code help ai
ignore it
uh ok
how do i activate dark mode?
studio settings
found it ty
help with what
yk that u can get free help in #code-help
Oh.
hm thats rly odd
hey wait
myb its the French auto translation
that's messing things up
guys does anyone know how to make like a water right with big waves, but so the game doesnt lag? I am tryign to make a game about diving and I want like BIG waves on water
ive been trying to understand how GoodSignal works and i have a dumb question,
why does the module do something like this:
local freeRunnerThread = nil
local function acquireRunnerThreadAndCallEventHandler(fn, ...)
local acquiredRunnerThread = freeRunnerThread
freeRunnerThread = nil
fn(...)
freeRunnerThread = acquiredRunnerThread
end
local function runEventHandlerInFreeThread()
while true do
acquireRunnerThreadAndCallEventHandler(coroutine.yield())
end
end
function Signal:Fire(...)
local item = self._handlerListHead
while item do
if item._connected then
if not freeRunnerThread then
freeRunnerThread = coroutine.create(runEventHandlerInFreeThread)
coroutine.resume(freeRunnerThread)
end
task.spawn(freeRunnerThread, item._fn, ...)
end
item = item._next
end
end
instead of just this:
function Signal:Fire(...)
local item = self._handlerListHead
while item do
if item._connected then
task.spawn(item._fn, ...)
end
item = item._next
end
end
i kinda understand how stuff at the top works but just dont understand why would it need something like that
idk
ask the guy who created module
there is a lot of ways to code the same thing
well i was going to make a signal class myself a really basic one, wanted to take a look at the popular ones and it does this
someone in the code help chat said that its for optimization
i see
i sent a long message explaining the difference between coroutine.resume and task.spawn'
read it if youre interested
ive read it but why is there a code in another language, is it roblox's?
guys, can someone please help me? I don't know how to use returns and math, if someone can help me I would be grateful 🙂
not exactly roblox's its luau's
oh okay
for any coding advice you can dm me
just not abusing
@surreal ether also do you know why linked lists are used in signal modules, is it to "secure the order"?
can anyone tell how to make a daily chest system
nope
i never made a game before
Yoo anyone has tips where to get preferably smaller or intermediately big commissions pls?
How much should I charge for a global nuke that kills all players when someone buys a certain dev product.
In robux.
Only the scripting part.
thats like 10 lines of code max dude
As much as you think it’s worth
Though I think ai can do that easily tbh, so I doubt many people will want it
look what my gpt doing yall
gng chatgpt cant even make a normal script
the ai will take over coding jobs they say
ts workflow
ts
if any scripter here knows how to make a plane flight/ building system like in the one build a plane please hmu need one asap
you think i havent tried that
I dont see urs there
alr been a week and post got removed and i also sumbitted another one 6 days ago which hasnt been replied to
since the approvers here are so quixk!
😄
Guys I need help
Idk man spamming it every channel isnt the way tho
Anyone have clean code tips?
better than nothing
youd be surprised the chances of actually running into a scripter who knows their stuff in chat is higher than the post areas
Better off resubmitting as its been basically a week
So I’m making a hostage game where you save them so you get proximity prompt on them then you hold f them hostage minigame starts like in ink game jump rope type minigame you have to keep thing in middle and if it hits sides you lose
It isn’t working
yo ik this is a stupid thing to say but i have a game idea that is pretty good i mean im not saying its great it actually might be buns and im pretty dumb and i dont have a single dev skill although i can be a founder of a game i mean if u dm and u have a skill if u want u can help me with the game i dont give any money upfront but only % (ik probably no one will text but if u think its a good idea maybe it will work out) so yeah just dm if u want (i only will take like 2-5%)
i mean if u want 42 robux u can take it brodie
Whats the best way to load a players inventory, if the inventory is big will a lag spike be unavoidable?
each little operation from the second image is a pets frame being loaded into the inventory
the best way i can think of rn is to add a max inventory limit
to prevent it getting out of hand
how do i script trippi troppi
Who wants to earn hundreds of thousands of Robux?
i do, and i know the best way
tell me the way 
pay money
wdym fell into it bro
my who
huh?
what does comms mean
commisions
no 💔
oh 💔
Rate my web design 1-10
10
Thx
you do lua?
This web design is ts but I use lua too but not for websites.
you can code lua?
Yeah
can we talk in dms?
Alr.
how mute people in your game so they can see the chat but not type in it
Guys, does free ugc strategy on games still worth?
@rugged sierrado you need a coder
yes
dms
this is my setup, i need help wherre as in, if audio is played through adonis admin commands, the audio is played through the emitters and not a local sound
tos and privacy pages could use some work
its good overall
could use some spacing
for these borders
a for loop
for _, item in ipairs(directory) do item:Clone() end something like that
this is my setup right now
so i have this audio setup in my game, where i have invisible blocks infront of speaker models, which have audio emitterrs in them. I want it so that when a person plays music through adonis admin, which is :music 4fadsfhdsbfsd. I want the music to play through the emitters and not a local sound.
@sudden loom
heys guys
If u were to be assigned to script a game similar to posion candy game, how much would u have charged? u are the sole scripter for this, and u have been provided other assets like ui, models etc
this is the main project ive been working on
@sudden loom you here?
do they work?
or do you need me to script them
they work, just not through adonis admin
hm
When i try playing it through adonis admin, they play a local sound instead of through the emitters
ok
this is very easy so u got this
ill add more stuff like group management
promote demote etc etc
restrictions maybe
so far it can also like assign roles based on the groups you're in
basically bloxlink copy
ipairs 💔
idk man thats what i use
idrk difference between them i dont see it
generic iteration is your friend
lag
iterator functions exist only to support old scripts lol
guys, what is the best way to search area with a very specific shape for parts?
i have no idea how to explain it in words but i need something like this
how do i do it
i never worked with anything related to hitboxes before
depends on what those parts are
are they baseparts
yes
what shape you need
cuz you need to know geometric properties of a shape you want to detect
and check for it
i want to make a system that detect parts that player is looking at AND are in range that the player can reach
a cone, basically
with a spherical base
.
guys i need some help with my shop system coding.
Raycast it
circle or a sphere
how can i search the whole area with a single ray
❌
U can do runservice and use a certain amount of degrees
