#code-discussion
1 messages · Page 243 of 1
grid[x][y][z] is faster than grid[hash] btw
Odds are you are over indexing on a minor issue - don't waste the mental bandwidth if it's not a problem
sent u a request
Do you learn this by just practicing and stumbling on stuff like this along the way or..?
benchmarking + experience
it also depends on how sparse the array is and how it was initialized
if it's sparse enough it'll be treated as a hash table rather than an array which has a latency penalty
i use buffers for the main grid since i mainly loop through it and i also use a buffer to keep track of updated columns (though in the future i want to make a better culling method) but for the table i am talking about it is keeping track of the instances x and y. Its called many times per update so optimizing how much memory it uses would be nice
what bxbyalan said
what's your current ops/s and the target you need to hit?
also the "optimize how much memory it uses" is a fundamentally different class of question than the original ask btw (fast lookup vs space efficiency)
what could i make to submit for scripter application? 🤔
i submitted a gun script but it got declined for apparently not being advanced enough
around 38,000 pixels or 190x200 per 0.0946 ms according to os.clock or around 0.085 in rendering alone. My aim is at least 60fps running a basic game on my potato
yeah thats the problem i am not sure how much speed i want to give up for memory
Is that an editable image? Lol
Guys for comms do I try to learn like "advanced" type of scripting or do I just make system as I can now and work my way up
check the performance profiler, you probably are getting pwned by draw calls rather than the buffer access
no, its an attempt to fork canvas draw 3.4.1 by implementing buffers and better update culling
Where do you even learn these terms
my Roblox account is probably older than you - that answer suffice?
alot of milk jugs
When did you make it I'm curious now
1/2/10
pretty useful video btw https://www.youtube.com/watch?v=cWDNVvOh4o0 :3
Hear directly from a top tooling creator on common problems for rendering, how to best diagnose and understand what's going on and strategize on how to move faster.
Speaker: MrChickenRocket (Peter McNeill)
Want to see more Roblox content? SUBSCRIBE to our channel! https://rblx.co/Subscribe-To-Roblox-YouTube
Roblox's mission is to bring th...
Not much younger than me
Ty 🙏
zeuxcg also has great articles on DevForum
i know this is for EI but i get limiting the amount of write calls would help, though i would have to test if checking is slower then just rewriting
he's the former technical director
yeah for this type of usecase reading up on other low level video rendering/image libraries (outside of Roblox) is probably your best bet
Jane do you have any more courses/videos like these?
think of a topic
maybe i do
maybe i dont
Umm
it's stuff like compression/draw call culling that'll be your big performance benefits (only rerender portions of the screen instead of the entire screen)
Maybe smt for multi threading or like "more advanced" use of OOP
more advanced use of OOP
😵
And also why is sometimes using OOP worse for performance
As much as I dislike AI, stuff like Gemini "Learning Mode" or perplexity for seeding topics/reading sources
Idk how to say some stuff generally
ironically "SMT" is its own can of worms within multithreading
i will defiantly do that. from what i can see a better update cull would be the best thing to work on since rendering takes 8 times as long then writing. The way CD3.4.1 does culling is column per column, its fast but lets alot through even if only a slither needs to be updated
https;//roadmap.sh is also a good glossary of terms and a path to follow for researching
scratch that SMT is the generic abbreviation for multithreading, I'm thinking of SIMD
out of ignorance; what do people normally use this for?
is it effectively a cheap way to bypass video upload fees?
I heard of roadmap.sh, I'll look more there then, Thanks 😄
and in general your most valuable skill you'll have in this career path is curiousity
keep at it 🙂
Thanks Alan, all help is greatly appreciated 🙏
wanting to make cooler Ui or 2d games without giving personal information to roblox. The update roblox recently did does rase alot of consern on how they store personal information.
but really it can be used for alot
seems like it'll be a uphill battle, but good luck
thanks, at least you arnt telling me to use EI 
for that gif you sent is the terrain sprite system dynamic, or is that just a predefined data stream for benchmarking purposes
it was just Perlin noise that is defined when new chunks load
anyone else having studio issues rn
Preach
@stable cedar add me so i can dm u
anyone help with this script it will not work im trying to make a loading screen: --// SERVICES
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
--// PLAYER + CAMERA
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
--// UI SETUP
local gui = script.Parent
local bg = gui:WaitForChild("Background")
local skipButton = gui:WaitForChild("SkipButton")
local loadingText = gui:WaitForChild("LoadingText")
--// SETTINGS
local ORIGINAL_ANIM_ID = "rbxassetid://i already have a anim"
local LOAD_TIME = 6
local finished = false
--// 1. FIND THE SCENE (WITH RETRY)
local scene = workspace:FindFirstChild("MenuScene")
if not scene then
warn("MenuScene not found immediately, waiting...")
scene = workspace:WaitForChild("MenuScene", 15)
end
if not scene then
warn("CRITICAL ERROR: MenuScene still not found after 15 seconds!")
return
end
local camPart = scene:WaitForChild("CameraPart")
local rig = scene:WaitForChild("MenuRig")
-- 2. CAMERA LOCK (FORCE EVERY FRAME)
local function forceCamera()
if not finished and camPart then
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = camPart.CFrame
end
end
-- RenderStepped is the "strongest" way to lock a camera
local camConnection = RunService.RenderStepped:Connect(forceCamera)
-- 3. PLAY YOUR ORIGINAL ANIMATION
local humanoid = rig:WaitForChild("Humanoid")
local animator = humanoid:FindFirstChildOfClass("Animator") or Instance.new("Animator", humanoid)
local anim = Instance.new("Animation")
anim.AnimationId = ORIGINAL_ANIM_ID
local track = animator:LoadAnimation(anim)
track.Looped = true
track:Play()
-- 4. FINISH LOGIC
local function finishMenu()
if finished then return end
finished = true
-- Stop the camera force
if camConnection then camConnection:Disconnect() end
-- Fade out
local tween = TweenService:Create(bg, TweenInfo.new(0.8), {BackgroundTransparency = 1})
tween:Play()
-- Wait for fade before returning camera control
task.wait(0.8)
camera.CameraType = Enum.CameraType.Custom
gui.Enabled = false
end
skipButton.MouseButton1Click:Connect(finishMenu)
task.delay(LOAD_TIME, finishMenu)
builder needed ungently (simply the best)
errors?
Can someone help me with my scripting
i did a script but it isn’t working for some reason
like the model isn’t appearing over my body
where can i find pro scripters guys?
What quals do i need in order to post a Feature Request for Studio Features, script-editor inside of DevForum
you need to request entry into the feature request group
it takes a few days or weeks to get accepted
oh thats no fun, can someone else make one for me?
what is it
auto complete delay
i have a problem when i code right now where auto suggestions pop up when im trying to press tab to auto complete a service like ReplicatedStorage etc.
does that make sense?
press enter to use intellisense not tab
Yes but even when i go into script-Editor and change this setting [Autocomplete Acceptance Behavior] to the opposite it still doesn't work
you can probably change the keybind for either accept ai suggestion, autocomplete, or both, whatever you prefer, if you dont like it
I didn't think about that let me try it
idk what u mean cause ive never had this issue i press tab for ai and enter for autocomplete
I'd have to use my right hand for Enter and I'm not used to doing that, its built into muscle memory from when i didn't have this problem
Thats why i was trying to get a delay on the auto suggestions
Yea just swap the keybinds then
im working on finding the keybinds then ill be chilling appreciate your help!
can someone help me with lag reduction? I have a game thats out but its mad laggy especially for mobile players and i need to figure out how to remove as much lag as possible
how do i make a new tag
Collectionservice?
thanks ima look into this rq
Tags aren't real you can put any string
as in this?
Click the + and type anything
if you're on new ui tag editor is under window-script-tageditor
how do i get off of the new ui
Do yall know the rate for paying devs to make a shop and inventory system?
Idon't know honestly
am i ghost rider, as soon as i chatted everyone ran away 😭
2 robux
😻
@heavy sail
U lf someone to make ui?
Do you want me to make the design js not the whole scripting??
how much would you charge
what do you mean by design? would you like create the framework?
The map system inventory and shop for 100 robux
K
lowballing yourself 💔
is task.wait() = runservice.heartbeat:connect
💔
task.wait() is equivalent to 1 heartbeat, yes
alr ty
How long should it take me to learn lua and start to make money from it from like comisions
there's no set amount of time it should take, it depends how fast you can learn
start doing commissions when you feel comfortable making most things you can think of
or see other people requesting
is there something that would be better and would pay more in the development section of this discord
that could transfer to other things rather than just roblox
3d animation
could you make a list on what things would pay the most like 1 paying the most and 5 paying the least
No such a list is not possible to make
Making and owning a game is top 1 that's the only certainty
You wont
i have a roller coaster that has a broken reset button. does anybody have a simple line of code so if i click the button the whole model resets.
loop through where the roller coaster model is stored, and delete it. Then clone something from replicated and move it to the workspace, I guess (you should store the position of where you want it to be). (probably not the most efficient way to do it buuut).
ALT + F4
btw you should focus on creating for the sake of it before tryna profit from it
ngl thats kinda confusing 😂
I can help you in dms
alr bet
gfx, modeling, scripting (in the sense that you learn the fundamentals of coding which makes it easier to learn other languages), animation, kinda vfx, video editing
who can help me im making a upcoming game dm and tell me ur role what you do
what do yall use when making grab moves? welds? align orientation? i wanna know what works best
i want my grab to be rigid, so if the user turns while holding the victim, there isnt delay
WeldConstraints should do the job.
Doing that rn, let’s see. Been about a few days of learning lua. This is my 3rd attempt.
WeldConstraint or AlignPosition with RigidityEnabled set to true
Though be aware theres gonna be latency due to network ownership as the clients calculate their own physics
guys how much people would pay for an uber eat system
hi
hello i am a scripter looking for projects to make for free for my portfolio (if interested DM me)
4500-50k depending on the quality they want this is not m my price I just said
If I had a round based game, Is it possible to direct players who join into a game that’s in intermission rather than having them wait till the round is over?
looking for an investor for an game it is an jump into type game dm
Nvm it’s not possible

How to fix {'errors':[{'code':9009,'message':'WAF Blocked Request'}]}
Like I am sending script to LuauExecutionSessionTask and if the script is short it will work if the script is long it will return WAF Blocked Request
guys, is there a specific listener to detect when a player is trying to leave your game? Right now I'm using:
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.Escape then
--logic here
end
end)
obv id assume this doesn't work on mobile and is also messy
PlayerRemoving
game.Players.PlayerRemoving:Connect(function() --code end)
but that's after they click leave no? or im i missing smth
that was unclear mb
why would that be a problem
i meant specifically like when they are on the leave menu
why would u want them to detect the leave menu 😭
i've seen certain games give an award so they stay instead, and it helps retention a bit
ohh
i asked gpt and it just says use the escape key 
just use guiservice
game.GuiService.MenuIsOpen
or game.GuiService.MenuOpened
for connection
thank u goat
What type of virus?
Try using the global script search for the keyword "require"
And analyze suspicious scripts
ey if anyone wants someone to do scripting for them for absolutely free I'll take some ez-medium ones I need some more experience just DM me
yes
user MoinServusMoinShurke
add me on roblox and then into game edit
When someone donates to me, no VFX effect comes out of my tip jar. Can you tell me what I need for my VFX effect to pop out of my tip jar after a player has donated?
Tried that days ago
Imma explain first
Connect it to a event
There’s a gamepass I didn’t add. It is invisible to me (the creator) and only show up to other players and alts. I tried to find and dispose of it by every mean possible but nothing worked. Note: the gamepass was there way b4 I even added anything to the game (I used the roblox laser tag template)
It also doesn’t appear in studio
i have a event its called opendonate
So
Did you make sure it triggers when someone donates
And then make the VFX trigger when the event is triggered
oh first of all my vfx need to be triggered yes?
where i can do the trigger for the vfx?
Guys im making a portfolio for coding, do i make it on docs, or slides
I recommend sites rather then docs
if you cant create one you can use framer
can u help me please bro
Mkay
mine is ok with a logic and a ui i could add more details but its working well as of now it shows popup every 2 to 5 minutes u say u can accept it or refuse it when u accept it show a beam of where u have to go etc
just figured out a genius algo for lib of babel game
ez
32^1.312 million
for each book b_i on shelf s_i
plr chooses a book b_i on shelf s_i
we use base32 to make it 1.312 mil
each shelf
ur getting banned
people will bypass the chat filter by communicating inappropriately by telling them which books to go to
textfilter api
nuh uh
why do u think i havent thought of this
LOOL
its gojover for ur game
state ur problem
made ui with some scripting
yes bro we kinda got it now
now use buffer
guys when i use lookat with my hmr cframe it works every time but when i use it up like facing the sky it makes the hmr stuck for a little anybody know why>
Why and how and when did you learn to script/program these type of stuff
yo guys, honestly do you think scripting is worth it? how is the demmand right now and there are jobs for short term time?
i think hard then type the answer
ez
ok
I wish to unsee this
ucant make sure its always
theres more long term then short term jobs
but with the right connections you can find good short terms
is there any indians!?!!?
me
hi indian, do you have any skills except for scripting
i script and somewhat build
Can you give me a rough idea of how it works
out of interest, is there any faster way to wait? Faster than task.wait() , before anybody says RunService, its the same thing.
im running some terrain generation code, and with the fixed parameters i add; it can run it without waiting, but i have a feeling it might script exhaust if i push it further. But adding a task.wait() , slows down the process by about 30x
you could create your own implementation but it would be very inconsistent
just throttle it every once in a while
track when the operation starts using os.clock, then check how long it's been since then, if it's longer than say 100 milliseconds, use task.wait
Indians?
How’s it feel that most of y’all jobs gonna be taken over completely by AI soon
what are good networking numbers
like income outcome recover and stuf
hello i am a scripter looking for projects to make for my portfolio for free or low prices (if interested dm me)
thoughts?
That’s really cool
Hey I like it
thx bro idk if to sell this one or another one
hope i find someone
You should try making it better there's already a lot of building systems out there
And I would suggest if you found someone try customizing it for em for the uniqueness
mh wym better
what should i improve
Idk I'm out of ideas rn
lol
But a better GUI ig
WHERE is the gui
i aint got no gui in my system bruh
That's the problem
A new player wont know what to do there
i guess maybe tutorial texts
like the one bottom left yk
Do you have to use a remote event for that?
yep
preview for client and some functions, cloning the object server and some functions and tables
thx bro ima sell it fs
For how much
how much do you think i should
its a complex system
not the one you see
Idk tbh
it uses the same system minecraft uses
Voxel or smth
university math shi
so prob like 3.5k-5k robux
3.5k to first sell
sounds fair
so yh for now 3.5k
thx not tryna make it high but if i put it too low people will just pre-judge
Rs
+1 reason why u should dont use --!strict
bruh
i have nice meme about that, but anyway
local function about_sd (a, b)
local alpha = 54
local deltatime = 4
while true do
-- some code
end
type function _ ()
print('bro ur code is ass')
return types.singleton(nil)end
return nil :: _<>
end
local type = ok()
new type functions look interesting
Selling ChatGPT scripts for 3.5k is crazy, you can see it because of all the cosmetic there is in the prints, only chatgpt does it like that "✅ PLACED BLOCK!" "=== HAMMER ACTIVATED ==="
how do i record screen on the new roblox studio UI
Dont take it personally but if you make it with AI then atleast give it credit or make it free
lol yh i did It on purpose cause i need to sell It, comments make the code more readable, and i asked him to fill the script with comments so when i sell the script people know whats going on in it
i can show you the chat where i asked him that like four days ago
also good for debugging
3.5k for AI is overpriced tho, make it lower, or free, i bet people could use it to make something good out of it
95% of scripters cant make that lol, the way i built the system is very Advanced
why does roblox's built in UI error when ran sometimes?
It just depends on the prompt you give him, if you explain every single thing you want itll make it.
im using DDA algorithm wich is smth you study in the third year of university of computer engineer
does that is it a machine error with it?
took 2 DAYS of prompts, to constantly make it Better: framework, modular, lot of readability, helper functions everywhere
lag
Well, i have a suggestion, make it for multiple shapes, and make it "advanced", Color selection etc and all in an GUI, if you would do that its atleast fair to sell
Just a system with a block placing isnt worth it for 3.5k
its already MORE THAN FAIR lmao
roblox scripts break in studio if u really laggy and in live games they usually warn a lot
im constantly updating it obv
Hes right, make the first list he gave, if you want it professional like he said, then add the lower stuff
If you add all of that the 3.5k or even more should be worth it
perfect thanks for the tip brudda
i also think all those features would make It a Little too complicated to read tho lol dont you think
If im not wrong you can exploit the system through the remote btw, you can just change the args and then you could "spam" the remote, resulting to server lags or even the system maybe breaking, just a basic anti-cheat doesnt solve it, there can be so many vunerabilities, and for the new message, the particle effects arent neccessary, theyre just cosmetic, but the sounds, multiple block types, inventory, save / load, and ui is recommended if you want to sell it for a good price
thats true i need to work on quite some things but at that point the system is 5k robux point black period, i have already lot of guard statements, that prevent placing at distance, and a loooot of other things
that im not gonna state cuz they are too much
Yh i put it together now
Just make extra checks, if theres been a block placed forcefully through a remote or generally not by self it will just ban you permanent
you a juice fan?
wym
not that much, only have 1 song favorited from him
ohh alr
ah
yh thats why i asked
@unreal geode could u check DMs
yh sure
Automatically determining turn sections (for ai drifting and player assist) using signal processing and statistics 
I wanted to stick to functional for my dropper objects, was wondering if this implementation is okay.
local Dropper = {}
function Dropper.New(Model)
local function Start()
print("Hello, world!")
end
return {
Model = Model,
Start = Start,
}
end
return Dropper
Are any scripters good at telekinesis/hemokinesis base games?
For what purpose
A project I've been looking to do, I've been waiting for a good game to add a psychokinesis type hemokinesis game to, until I saw none and thought about making one myself for fun and for people to enjoy. If you want, I can show you the vision I'm trying to create.
You can share things but do know the server only allows hiring through marketplace
There's more info in #marketplace-info
yo.. how can i get the roblox verified role..
Your best bet is to either ask in #staff-help or make a General Ticket #open-ticket
Best to do the second option
hello is this the 3d modeling chat
thanks friend
can someone help?
a
@sand remnant do i use remote event or buffer
I am starting to get into Projectiles as I want to make weapons and I have been looking through guides and tutorials, one thing I am confused about is using equations. How does one learn these things when it comes to projectiles? Like how do people understand what they need to do to make projectiles have drops or do curves flying up or down
example:
local connection
connection = RunService.Heartbeat:Connect(function(deltaTime)
local stepVelocity = velocity + gravity * deltaTime
local stepDisplacement = (velocity + stepVelocity) / 2 * deltaTime
velocity = stepVelocity
local nextPosition = position + stepDisplacement
projectile.CFrame = CFrame.new(nextPosition, nextPosition + velocity.Unit)
position = nextPosition
totalDistance += stepDisplacement.Magnitude
if totalDistance >= MAX_DISTANCE then
projectile:Destroy()
connection:Disconnect()
end
end)
end)```
Im not sure if this is part of coding help but I am more interested in discussing about how people understand equations when its applied to coding
how do simulator games like ps99 and bgsi do their egg hatching animations
where it isnt just a viewport frame
Its mostly just physics
Like formulas for projectile motion
yeah that's something I dont understand how the formulas are applied to it
I think its done with lerping, similar how to you have done it (unsure though)
So for a projectile, its gonna have an initial velocity and its gonna be fired at an angle, then its path can be calculated and traced
the vertical formula is y(t) = Vo * t - 1/2 * g * t^2 and from the video ive been writing this code off on and he has showed this formula in the end and so its very confusing
so y(t) describes the height of the ovject, Vo is the initial velocity and t is time
g is a constant, and since this doesnt have an angle its simply being rolled of an edge
So Vo is really the only variable that you need to input
Im really bad at explaining…
its ok xd, Im just bad at understanding because BrawlDev wrote that out and I just dont clearly see how that formula is used yet, I most likely have to experiment with formulas and understand I suppose
would be cool if he explained in how that formula is used
this is the full coding
local RunService = game:GetService("RunService")
local fireBall = game.ReplicatedStorage.FireBall
local projectileObj = game.ServerStorage.Projectile
local SPEED = 500
local GRAVITY_MULT = .25
local MAX_DISTANCE = 250
fireBall.OnServerEvent:Connect(function(plr, mousePos)
local origin = plr.Character.HumanoidRootPart.Position
local direction = (mousePos - origin).Unit
local gravity = Vector3.new(0,-workspace.Gravity, 0) * GRAVITY_MULT
local projectile = projectileObj:Clone()
projectile.CFrame = CFrame.new(origin, origin + direction)
projectile.Parent = workspace
local velocity = direction * SPEED
local position = origin
local totalDistance = 0
local connection
connection = RunService.Heartbeat:Connect(function(deltaTime)
local stepVelocity = velocity + gravity * deltaTime
local stepDisplacement = (velocity + stepVelocity) / 2 * deltaTime
velocity = stepVelocity
local nextPosition = position + stepDisplacement
projectile.CFrame = CFrame.new(nextPosition, nextPosition + velocity.Unit)
position = nextPosition
totalDistance += stepDisplacement.Magnitude
if totalDistance >= MAX_DISTANCE then
projectile:Destroy()
connection:Disconnect()
end
end)
end)```
I do understand the .Unit and directions for the projectile, but not the motion I suppose
Basically, the computer draws the line and then the part cframe just follows it
You can use a graphing calculator like desmos to see how it would travel
I def get that yeah
so in the script
I suppose the gravity is multiplying with the deltatime to increase its motion drop which adds in with the velocity after that
For the stepdisplacement, I am not clearly understanding it there just yet
Stepdisplacement is just how much it moves i think
I havent read it but thats what it sounds like
You're right
because every Heartbeat replaces position with NextPosition and then adds stepDisplacement
and then the Projectile.CFrame updates to the nextPosition
interesting
does anyone know why my screengui's children don't replicate properly? if i waitforchild it returns infinite yield and if i dont they apparently dotn exist
all in a localscript obviously
ProfileStore is a module that allows for easy ways to store and use player data
“ProfileStore” by loleris (Successor module to ProfileService) [GitHub repo] ProfileStore is a Roblox DataStore wrapper that streamlines auto-saving, session locking and a few other features for the game developer. ProfileStore’s source code runs on a single ModuleScript. Read documentation here: ProfileStore wiki (Click me) Get the m...
oh
ty bro
np
presents is not inside screen gui named credits thats kinda easy
^
it is
uhh thennn
that entire script worked b4 now it just exploded
is this startergui or in repl
who can script here pls help meee
?
dont ask if anyone is a scripter, youre in a coding channel
just say your problem and someone will help
ohhh MB
what problem are you having?
i want to make a tycoon code
best way to detect speed exploit?
If Humanoid.Walkspeed > 16 then
Plr:Ban()
End

Instance.new(part)
Looking for a scripter for an ALREADY PUBLISHED game who can help impliment a rebirth system and a counting system of how many of a certain pet exist and which number that one is.
How much da pay
Just dm me
you really shouldve implemented that 2nd one before publishing because the fact that data already exists makes it way more problematic
It’s okay the game was in beta
With the message ur stuff will not be there when game comes out of beta
It was just to test stuff
ah okay
Yeah. Once I find someone who can help it’ll be sick
are you paying?
if i sent track animation to the server can i get the markers of the track in the server?
just send the id
whats the difference between a scripter and programmer in this server specifically? thank you
Marketplace wise:
Scripter = Luau / Roblox Scripter
Programmer = Someone who codes in other languages like C++ or Java
That’s why there’s #scripter-hiring #scripter-hirable and #programmer-hiring #programming-hirable
also i heard you can do commissions here, not just work for hire, where do i do that?
im looking for luau scripting commissions btw
RemoteFunction.new("CheckLikes", function(player : Player, ID)
warn(11)
local checking = LeagueLikes:GetAsync(ID)
warn(checking)
if checking == nil then
warn(3)
else
warn(5)
end
if checking[player.UserId] then
old = old or {}
old[player.UserId] = nil
warn("removing")
return old
else
old = old or {}
warn("Adding")
old[player.UserId] = true
return old
end
end)
I relleat want this system to when its fired it checks the datastore league likes whichj shoudl be
LeagueLike ={
[LeadueId] = {
PlayerId1 = true,
PlayerId2 = true ,
etc = true
}
collection system
i dont like those comments but you do you ig
whoever needs a scripter dm me (not free)
dose anyone one help me with my new game they get of profit js need to be good at scripting and be nice
anyone know a invisibility cape asset id i can use for my gamepasses
what easing style i should use for a progress bar on a slop game
is there any tutorial about how to use tables with profile store?
probably Quad
Out
--!strict :any 😊
bounce looks really bad for a progress bar
why are you replying to me
just spreading the knowledge
how much robux i should spent on ads for my slop tower game?
i cant read
where do yall learn like datastoring from
like brawldev vids r good but it feels like actual games are so much more advanced
I learned from youtube videos and devforums posts
like profilestore n stuff
so i should use profilestore?
if you want sure yes
does he have an enter key?
idk
Yo chat coding outfit games is usually easier/less cheaper than other games right
hello i need a partner to make game together who can script and make GUI
how to turn off roblox studio next gen now ? i can't find where to turn it off now 😭
I think u can’t anymore
Just add a new tab n add what u want in there
Yes it’s really easy. Shouldn’t take you more than a day to script it
We use playfab to store our data.
Alows for live player data sync preventing dataloss if you crash or whatever
Quite neat
I would like to simply ask for advice on this datastore. I am relatively new to making them and I do not know if its well made . Not done yet . Thanks
local DataStoreService = game:GetService("DataStoreService")
local PlayerInventory = DataStoreService:GetDataStore("PlayerInventory")
local sessionData = {}
local dataMod = {}
local starterData = {
["Inventory"] = { ["SpeedGear"] = false , ["JumpGear"] = false } ,
["Coins"] = 0 ,
}
dataMod.recursiveCopy = function (targetTable) -- We create a deep copy mechanism
local tableCopy = {}
for index , value in pairs (targetTable) do
if type(value)=="table" then
value = dataMod.recursiveCopy(value)
end
tableCopy[index]=value
end
return tableCopy
end
dataMod.loadData = function (player)
if not player then return end
local userId = player.UserId
local data
local success , error = pcall (function()
data = PlayerInventory:GetAsync(userId)
end)
if success and data~=nil then
for index , value in pairs(starterData) do
-- This action is done to check for new items added to the game during updates .
if data[index]== nil then
data[index] = value
end
end
print ("Data has been loaded")
elseif success and data == nil then
data = dataMod.recursiveCopy(starterData)
print("New player has joined.Data loaded")
else
player:Kick("Error has occured. Please rejoin.")
end
if data then
sessionData[userId] =data
end
end
dataMod.saveData = function (player)
if not player then return end
local userId = player.UserId
local dataToSave = sessionData[userId]
local success , err = pcall ( function()
return PlayerInventory:UpdateAsync(userId , function(oldData)
return dataToSave
end)
end)
end
return dataMod
Your save function doesn't do anything if it fails:
dataMod.saveData = function (player)
if not player then return end
local userId = player.UserId
local dataToSave = sessionData[userId]
if not dataToSave then return end -- Add this check!
local success, err = pcall(function()
PlayerInventory:UpdateAsync(userId, function(oldData)
return dataToSave
end)
end)
if not success then
warn("Failed to save data for " .. player.Name .. ": " .. tostring(err))
-- Consider retry logic here
end
end
-
Kicking on Load Error is Harsh
Instead of immediately kicking, try retrying:
dataMod.loadData = function(player)
if not player then return end
local userId = player.UserId
local datafor attempt = 1, 3 do -- Retry up to 3 times
local success, errorMsg = pcall(function()
data = PlayerInventory:GetAsync(userId)
end)if success then break elseif attempt == 3 then player:Kick("Failed to load data after 3 attempts. Please rejoin.") return else wait(1) -- Wait before retrying endend
-- Rest of your code...
end -
Missing Critical Pieces
-
Consider Auto-Save
And rename error to errorMsg in your pcall to avoid shadowing the global
but your on the right track man keep going
local Players = game:GetService("Players")
local PlayerInventory = DataStoreService:GetDataStore("PlayerInventory")
local sessionData = {}
local dataMod = {}
local starterData = {
Inventory = {SpeedGear = false, JumpGear = false},
Coins = 0
}
local function deepCopy(t)
if type(t) ~= "table" then return t end
local copy = {}
for k, v in pairs(t) do copy[k] = deepCopy(v) end
return copy
end
local function reconcile(template, data)
data = data or {}
for k, v in pairs(template) do
if data[k] == nil then data[k] = deepCopy(v)
elseif type(v) == "table" then data[k] = reconcile(v, data[k]) end
end
return data
end
function dataMod.loadData(player)
local data
for i = 1, 3 do
local success = pcall(function() data = PlayerInventory:GetAsync(player.UserId) end)
if success then break end
if i == 3 then player:Kick("Data failed to load") return end
task.wait(1)
end
sessionData[player.UserId] = reconcile(starterData, data)
return sessionData[player.UserId]
end
function dataMod.saveData(player)
if not sessionData[player.UserId] then return end
for i = 1, 3 do
local success = pcall(function() PlayerInventory:SetAsync(player.UserId, sessionData[player.UserId]) end)
if success then break end
task.wait(1)
end
end
function dataMod.getData(player)
return sessionData[player.UserId]
end
Players.PlayerAdded:Connect(dataMod.loadData)
Players.PlayerRemoving:Connect(function(player)
dataMod.saveData(player)
sessionData[player.UserId] = nil
end)
game:BindToClose(function()
for userId, data in pairs(sessionData) do
pcall(function() PlayerInventory:SetAsync(userId, data) end)
end
end)
return dataMod```
took time but np brother
what was wrong is
No retry logic and kicked instantly on fail so i fixed
added retry logic fixed save errors added bindtoclose for shutdown fixed memory leak fixed nested data updates and made it way shorter
alr gg
@tough belfry
I mean it kinda just depends on what you need, for most data saving stuff, all you really need is to load and save data, but just make sure you handle cases where you couldnt able to get the data so you go ahead and kick the player or something like that
If a player rejoins too fast, the game might still be saving your data when you left so you might kick them again
How much time it takes to learn scripting
It depends.
RemoteFunction.new("CheckLikes", function(player : Player, ID)
warn(11)
local checking = LeagueLikes:GetAsync(ID)
warn(checking)
if checking == nil then
warn(3)
else
warn(5)
end
if checking[player.UserId] then
old = old or {}
old[player.UserId] = nil
warn("removing")
return old
else
old = old or {}
warn("Adding")
old[player.UserId] = true
return old
end
end)
I relleat want this system to when its fired it checks the datastore league likes whichj shoudl be
LeagueLike ={
[LeadueId] = {
PlayerId1 = true,
PlayerId2 = true ,
etc = true
}
yo
just use profile service 
x10 better
can someone explain return
thans a lot everyone im gonna implement the changes and i hope its better appreciate the help
masterpiece of code thanks
No problem
‘Return’ returns information.
whats useful about it
I’m not an expert, but my understanding is that return outputs a value from a function so it can be stored in a variable or used elsewhere. I visualize it like this: if you delete an object, it usually just disappears. But if you use return with that action, the function 'hands' you the deleted object back. This allows you to catch it, for example: local banana = deleteObject(item)
if you dont return it ur function basically does something and keeps the information for itself it does not share it ( grossly simplified explanation )
so without return its a function that only does one specific thing but if u return u can use what u returned for multiple things?
where do i find luau commissions (not working for hire), is there a place in this server or do i have to look in another server?
yeah that is a way to see it , ur function returns something say an "apple" and then you use that apple later in the script to do an apple pie
ily
glad to hear it lol
you can return values n cool stuff, you'll get the hang of it soon
i love it
don't lose ur time just learn and use profile service 
cuz when u learn it u will not using datastore service anymore

Yall what type of physics does uma racing use
I hate making frameworks from the deepest point of my soul
guys how to learn how to script zombie in studios?
That’s like the most fun part of dev
Idk when I start to make frameworks Idk where to start and if I somehow know where to start idk what functions to make
How long have u been programming?
It kinda just takes time yk? You practice writing modules and over time you learn to understand what modules should handle what, and what code should be abstracted out. For now just don’t think of them as “frameworks”, just write systems with the intent of making them work and you’ll build the skills to know what frameworks need. You can’t write a framework without knowing how the code intends to use that framework.
I hope that makes a little bit of sense I’m kinda just rambling
It makes sense dw but I just want to make code cleaner and like start to get good habits early ig
Focus on keeping a consistent code structure. People being inconsistent with variable names, function names, etc, or having poor spacing ultimately makes code more unreadable. For now, as you’re newer, the best way to progress is just by creating something you wanna make, and while you do it try to have the discipline to make ur code look nice
Alright, how much time do you think it'll take to understand frameworks fully
why do you need a framework
can someone help with my code, i dont get errors but it wont move towards the chosen area
I mean we never will have a complete or perfect understanding of this stuff. Our goal should be to keep trying to improve, and gather more knowledge/experience rather than total understanding.
Fair point, I meant just that hahahahahhaha
you never stop learning
you just keep improving
Preach
Turn on dark mode
No
Ouch
Dark mode is for building bro when u script white mode is life saver from what I heard
why are u doing SpeedGear =- false, isnt that going to just make it not save if its true?
I’ve been scripting for years and white mode is terrible😭💀
Yo I bought claude pro and it's absolutely terrible for 20$
Yoda scammed my ass
yo why are r15 anims loading but r6 aren’t is there a new bug?
like i tried every bypass properly
even checked with ai
nothing works
and it’s only with r6
Hello I have a question, should I learn Lua 5.1 version first?
is r6 bugged?
if u wanna learn roblox scripting dont learn lua, learn luau
on roblox studio and roblox documentation
ok
idk if theres a book but you can watch videos on youtube
people say python is easier top learn but imo luau is the easiest coding language to learn cuz recourses, its easier to undersatnd (just to me)
holy yap
js yappin for nmun
i will look at roblox documentation
alr
and also practice what you learn or youre going to forget it
gotcha!
idk about that
if ur good at luau do u get slightly better at python
since its pretty much the same just worded differently like instead of local for a variable u dont add local
yeah but Im having a hard time learning python
prolyl cuz im young and like im writing on random websites and it js doesnt seem like it would woirk
like I look at it and it doesnt make sense
that it would work
idk what im fucking talking asbout
why dont u use visual studio code and tutorials
im doing tutorialss rn\
im using chat gpt for help
Im writing a character rpg thing
no experuience in python at all too
but I got guidance on waht to do, and It kinda makes sense since i know luau
do u knopw python
no
shi
ims tuck
im stuck
im trying to figure out how to check if a value is less than 1
like if one value out of all of them is less than 1
why is it so hard, it should be so simple
like if any value out of all of them is less than 1 it returns
and I got all the values in a variable called stats and it still doesnt work by doing if any(stats < 1)
i see
bro im doing it the right fucking way
and its not getting checked off
like bro is this nto fucking right
if any(stat < 1 for stat in stats)
thats fucking right bro
fucking pissing me off
nvm there wasw a problem with my last code
bur the fucking tutoprial checked it off as right
h ttp://tiny.cc/kvdx001 100% not ip logger
bro im trying to learn python on free code camp and its so fucking confusing on waht it wants me to right
write
give an example
dont flame me
if u can undersatnd it
the first line should contain the character name
lines 2-4 should start with the stat abbreviation, STR, INT or CHA (in this order), then a space, and then a number of full dots (●) equal to the value of the stat, and a number of empty dots (○) to reach 10. Example: if the value of strength is 3 there must be 3 full dots followed by 7 empty dots. The dots are given in the editor.
like it says rthis, but i dont undersatnd the way to do it, I had to ask chat gpt on what it means and I printed the right thing and it still aint saying I passed
yo finally i fucking beati t
did all of that shit
@agile hill
i am learning oop any advice
local Treadmill = {}
Treadmill.__index = Treadmill
function Treadmill.setup(treadmill: Model, character: Model)
return setmetatable({
treadmill = treadmill,
character = character
}, Treadmill)
end
function Treadmill:start()
local treadmill = self.treadmill
local character = self.character
if not treadmill then return end
if not character then return end
if not character:FindFirstChild('Humanoid') then return end
local prompt = treadmill:FindFirstChild('Base'):FindFirstChild('ProximityPrompt')
if prompt then
prompt.ObjectText = character.Name
prompt.ActionText = 'Stop'
end
treadmill:SetAttribute('Todo', 'stop')
treadmill:SetAttribute('Using', character.Name)
local humanoid: Humanoid = character.Humanoid
humanoid.WalkSpeed = 0
humanoid.JumpPower = 0
humanoid.JumpHeight = 0
self.origin = self.character.HumanoidRootPart.CFrame
warn(self.origin)
local spawn = self.treadmill:FindFirstChild('Spawn')
if spawn then
self.character.HumanoidRootPart.CFrame = spawn.CFrame
end
local animator: Animator = humanoid.Animator
self.track = animator:LoadAnimation(character.Animate.walk.WalkAnim)
self.track:Play()
end```
Guys which one is better. ACS or Carbon engine. Which one is old
thx this looks alot more readable and professional
boi
ew
fym ew
Rojo btw
--!strict
local Treadmill = {}
Treadmill.__index = Treadmill
export type Treadmill = typeof(setmetatable({} :: {
treadmill: Model,
character: Model,
}, Treadmill))
function Treadmill.new(treadmill: Model, character: Model): Treadmill
return setmetatable({
treadmill = treadmill,
character = character
}, Treadmill)
end
function Treadmill.Init(self: Treadmill)
local treadmill = self.treadmill
local character = self.character
local humanoid = character and character:FindFirstChildWhichIsA('Humanoid') :: Humanoid
if not (treadmill and character and humanoid) then return end
local base = treadmill:FindFirstChild('Base')
local prompt = base and base:FindFirstChild('ProximityPrompt')
if prompt then
prompt.ObjectText = character.Name
prompt.ActionText = 'Stop'
end
treadmill:SetAttribute('Todo', 'stop')
treadmill:SetAttribute('Using', character.Name)
humanoid.WalkSpeed = 0
humanoid.JumpPower = 0
humanoid.JumpHeight = 0
self.origin = self.character.HumanoidRootPart.CFrame
warn(self.origin)
local _spawn = self.treadmill:FindFirstChild('Spawn')
if _spawn then
self.character.HumanoidRootPart.CFrame = _spawn.CFrame
end
local animator = humanoid:FindFirstChildWhichIsA("Animator")
if animator then
local animate = character:FindFirstChild("Animate")
local walk: any = animate and animate:FindFirstChild("walk")
local walkanim = walk and walk:FindFirstChild("WalkAnim")
if walkanim then
self.track = animator:LoadAnimation(walkanim)
self.track:Play()
end
end
end
@tame elk @untold lynx
this is how you get proper type checking for oop
thank you i didnt even know roblox had export
already done its called rojo
its mainly for roblox. Some people I think do know unreal but smaller percentage of the hd community
Ppl really should use unity or unreal its so much better to make games
It is harder
But higher quality of creation
hello guys im making a game with a starter character and i made a vip gamepass and once its purchased i want to change the starter character to someone else but i dont know how to code it
I am a professional Roblox Scripter, Builder, Animator, Modeler, and UI Designer offering high-quality development services for games and projects of any size.
⚙️ Skills Include:
• Lua Scripting & Game Systems
• Map & Asset Building
• Animations (R6/R15)
• 3D Modeling
• Clean & Modern UI
✅ Reliable
✅ Fast & Professional
✅ Quality-focused
PAYMENT IRL ONLY
📩 DM me if you’re serious about your project and want results that stand out.
dms
there's a better way
you don't need typeof
I cba to write it out tho
You can type check inheritance without typeof(setmetatable)?
Bc the other solution is to manually type every function/property and that blows
Typeof(setmetatable( properly types any property of the class ur inheriting from
It’s also a pretty compact / easy way to do it imo
Hello I’m a Roblox developer open for commissions.
I specialize in game development and scripting.
Feel free to DM me for details or examples of my work
Hello, I've noticed a different kind of function which is this :
TextChatService.OnBubbleAdded = function(msg:TextChatMessage)
if msg.TextSource then
return
end
local properties =
end
What is the difference from of that function to something like : TextChatService.OnBubbleAdded:Connect(functionExample)
it's a callback, i believe it allows you to return something back to the caller, as opposed to :Connect for events, which dont allow you to return something
in this case, i think you can return a BubbleChatMessageProperties to change what the bubble will look like
pretty similar to remoteEvents and remoteFunctions right?
remote functions, it acts basically the same. remove events, no
Yep! There's one relatively new plugin I regularly use called, "Azul."
Works phenomenal for what I do. Here's the link to their documentation forum:
https://devforum.roblox.com/t/azul-—-easy-but-powerful-studio-first-two-way-sync-tool/4159808
Azul Quick Start — GitHub — Studio Plugin Azul is a two-way code synchronization tool between Roblox Studio and your local filesystem (with full IntelliSense/autocomplete support). Azul’s main goal is simple: Bridge the gap between professional tools like VSCode (or any other IDE!) and Studio without the complications & complexities of t...
bro's never seen someone be formal
That must be the case here. Lol.
no reason to be formal
no reason not to be either
it makes u look odd
what's the best for combat sword
- make the sword tool
- clone it and weld to the right arm
i mean the best like the best to make high quality combat system
not something for shit
It doesnt really matter
Guys im making 3 things to build up a portfolio (which includes: A admin panel, Interactive NPC system and player abilities (like a fireball or some stereotypical thing), should i make more or nah
You can make a high quality combat system with either
I'm thinking about the data with more than one sword
it will be harder to get nice pos in the hand for every sword
I mean you can still use a tool where you pivot the handle of the tool to the grip of thr sword
yep i think ill do that
local button = script.Parent
local textl = script.Parent.TextLabel
local ts = game:GetService("TweenService")
local mainpart = script.Parent.Parent
local siz = script.Parent.siz
button.MouseEnter:Connect(function()
textl.TextColor3 = Color3.new(1, 1, 1)
ts:Create(mainpart, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 364,0, 75)}):Play()
ts:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 370,0, 75)}):Play()
ts:Create(siz, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 130,0, -1)}):Play()
end)
button.MouseLeave:Connect(function()
textl.TextColor3 = Color3.new(0, 0, 0)
ts:Create(mainpart, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 340,0, 73)}):Play()
ts:Create(button, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 346,0, 73)}):Play()
ts:Create(siz, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 69,0, -1)}):Play()
end)
button.Activated:Connect(function()
local bsfx = game.ReplicatedStorage.FxFolder["Button Click"]:Clone()
bsfx.Parent = game.Workspace
bsfx:Play()
local inv = script.Parent.Parent.Parent.inventory
if inv.Visible then
inv.Visible = false
else
inv.Visible = true
end
task.wait(0.2)
bsfx:Destroy()
end)
its not working like inventory doesnt open can sm1 help
there is noerrors
is this a client script
yeah
I JUST MADE A DOOR AND I CANT SOTP OPENING IT 😭 😭 🙏
button.MouseButton1Click:Connect(function()
local bsfx = game.ReplicatedStorage.FxFolder["Button Click"]:Clone()
bsfx.Parent = game.Workspace
bsfx:Play()
local player = game.Players.LocalPlayer
local plrgui = player.PlayerGui
local inv = plrgui["menu frame thing"].inventory
inv.Visible = true
task.wait(0.2)
bsfx:Destroy()
end)
its still not workin
script.parent.siz
?
add some prints and see what line it stops on
12:40:13.983 ▶ visible (x6) - Client - LocalScript:37
but it doesnt pop up
nothing
is ur screengui enabled
yeah
but i have resetonspawn off
it doesnt change anything
Please anyone know how to script a snowboarding system like the one in SHRED SNOWBOARDING GAME?
I can pay
can someone tell me what the hell a framework is and how they work (i have been trying to understand this for months)
bruh is there any way to return old studio ui?
guys why is this code not working
local part = script.Parent
local SSS = game:GetService("ServerScriptService")
local folder = SSS:WaitForChild("Data")
local PS = require(folder:WaitForChild("PlayerData"))
local target = workspace:FindFirstChildOfClass("SpawnLocation")
local debounce = {}
local cooldown = 1 -- touch cooldown
local function teleporting(hit)
local character = hit.Parent
local humanoid = character:FindFirstChildOfClass("Humanoid")
local root = character:FindFirstChild("HumanoidRootPart")
local player = game:GetService("Players"):GetPlayerFromCharacter(character)
if humanoid and root and player and not debounce[player] then
debounce[player] = true
-- TP
root.CFrame = target.CFrame + Vector3.new(0, 3, 0)
PS.AddWins(player, 1)
local sound = script:WaitForChild("SFX")
if sound then sound:Play() end
task.delay(cooldown, function()
debounce[player] = nil
end)
end
end
part.Touched:Connect(teleporting)
its supposed to tp me back to spawn and add a win to me
what's the output
maybe your charachter isnt loaded out yet or spawn isnt in workspace
root.CFrame = target.CFrame + Vector3.new(0, 3, 0) you are adding a Vector3 to a CFrame on this line
the correct thing to do would be root.CFrame = target.CFrame * CFrame.new(0, 3, 0)
theres nothing wrong with doing that, in most cases adding that vector there is exactly what you want
you're right, a vector3 can be added to a cframe
forgot
no output
lemme try
still nothing happens when i touch it
try replacing that line with ```
character:PivotTo(target.CFrame + Vector3.new(0, 3, 0))
i just copy pasted your code and it works for me
one sec
is it a normal script (not localscript) in a part in workspace, and is the runcontext set to legacy? (or server)
huh weird
still doesnt work i dont think thats the problem
the script should run if it's in the workspace so that looks alright
is the part's canTouch property on?
is the part anchored
try adding a print in your script see if it runs
maybe the folders you're waitforchild(ing) arent there?
doesnt work
Is the script disabled by chance?
put it at the top of the script if it wasnt there already and see
no lmao
i tried, i cant seem to find it
Hm
maybe im doing the whole thing wrong is this correct?
are u sure cause for me the icon is white when its enabled and grey like yours when its disabled
did it print?
nope
Hm
is the model that it's in, in the workspace?
yeah
try setting RunContext to server, even though it should work with legacy
damn
btw this wasnt scripted by me
you sure the part isnt getting destroyed or smth?
its the jakedev slap tower kit
is it there when u play
idk if that makes a diff
show me the part and its children in the explorer while you're in play mode
just hop on team create at that point 
i might js hire bro if hes interested to fix the scripts lmao
see if the part's canTouch is on while in play mode
the part has a touchinterest so something is binding to its touched meaning your script is running
im baffled how the print at the top wont print
check ur dms
vro has outdated studio
ts aint working bro
can anyone help me with my code?
local timevalue = game.ReplicatedStorage.Time
local gameinprogress = game.ReplicatedStorage.GameInProgress
local lobbypart = workspace.Lobby
local gamepart = workspace.Game
local intermissiontime = 30
local gametime = 60
while true do
timevalue.Value = intermissiontime
gameinprogress.Value = false
repeat timevalue.Value = timevalue.Value - 1
wait(1)
until timevalue.Value == 0
gameinprogress.Value = true
timevalue.Value = gametime
for _, plr in pairs(game.Players:GetChildren()) do
if plr.Character then
plr.Character:MoveTo(gamepart.Position + Vector3.new(0,2,0))
end
end
repeat timevalue.Value = timevalue.Value - 1
wait(1)
until timevalue.Value == 0
gameinprogress.Value = false
timevalue.Value = intermissiontime
for _, plr in pairs(game.Players:GetChildren()) do
if plr.Character then
plr.Character:MoveTo(lobbypart.Position + Vector3.new(0,2,0))
end
end
end
help me to create random map selector
whats the point of findfirstchild
Finds the first child of that instance with that name, so if theres duplicates it picks a specific one all the time.
Me personally i use it if something has the odds to exist or not exist, since it wont error if i try use it
ima explain how i use it
Lets say a instance named “Item” is only gonna appear when someone loots a box
So i can do
—// insert code
end ```
This would work if it equals nil
It wouldnt error
thanks
Yw
I think i can help w that
Can i ask whats erroring tho
how do i successfully use data structures for an inventory system
How do you guys best handle NPCs? Do you spawn them blank and use a script to give them clothes, hair and such from the marketplace, or do you have them pulled premade from the replicatedstorage?
premade is probably better
someone got raycast benchmarks
First time using toolbox. Hair models are messy to find oof
r there any good ragdolls on devforum rn that r clientsided?
premade is better, u dont have to get accessories from toolbox tho, use humanoid descriptions, you can apply any accessories/clothes
from the roblox catalog
then use game.Players:CreateHumanoidRigFromDescriptionAsync() or whatever its called and make sure u parent the created rig to workspace or somewhere atleast otherwise it will be parented to nil and wont show up
u can make a module for specifically making cooldowns or just use timestamps and tables
like for example
AbilityCooldowns[player][ability] = true
@final iris
Whazzup
u indian na?
yeahh why?

Technically
rizzmas
I am born in nz
muhehehe
i am making indian game like im indian too dm pls
Oh trust me
💀 u know hindi?
mango mango
I know more māori kupu
nz ( newzeland)?
oh
@final iris can u make intermission system for my game 🫠🫠🙏🏻🙏🏻
Sure sure
dm pls
Bet
but how u do that in my studio 👽
Ah dw just gimme some specifics like
Aight so do u want players to be spawned in a lobby when its inter
And do u want it to also include when its game time
Or just intermission
i want like ppls spawn in lobby and intermission time get started then after 30 sec game gets started and players het teleported to the game or random map
i will give you shoutouts ~^~^~
ok so if i made a table for an example how do i like add the cooldown to the ability that was used and how do i count it? do i use task.wait or is there other way
local abilities = {
explosion = {
damage = 10
cooldown = 3
range = 30
}
}
local cooldowns = {}
local function useExplosion()
local stats = abilities.explosion
end)
you can cache the time the ability was used and then just check if the difference between the time its called and the original time is more than the cooldown
cooldowns[abilities.explosion] = true
then remove it with task.delay, the delay time being the cooldown time
or use timestamps like the other person said
for each tower with cos, move their co's to the clientsidedobjects folder in replicatedstorage
you could prob use collectionservice or just find them by name
and just move co's that have dedicated folders for them in clientsidedobjects to their respective folders
yall know what this means
im working on a game i cant fix clientsidedobjects
anyone
skid ok?
use server sided objects
print("ello")
guys i think my codes r broken can anyone fix them for me? dm
✦ Anime Inventory UI ✦
Made this for fun! If this post does well, I’ll drop a pack of 4 Anime UIs like this for FREE.
📩 Commissions: Add "draticl" on Discord
🔗 Link to Profile https://t.co/SUlIhW7Rxp
#ROBLOX #RobloxDev #UI
Hey guys, I wanted to know how yall make ur portfolio websites
html
how
u can code it yourself or you can use cardd
how do i stop people reselling game kits that ive made is there a way to manually authorise who has access with scripts?
❌
wym no
I mean you could probably authorize script data through HttpService and a key but like
why bro
and that would probably term you too
loadstring and require checks are SUPER strict in moderation
even if you used packages the old code would be leaked still
rlly wow
its possible but rlly risky
for client scripts you can't use HttpService you'd have to use a (creator marketplace published) required module, but u gotta be the owner of the module (or have shared access) to let others use it
and yet again exploiters can just obtain the data of the required module by hooking
nah wait u cant even do that without making it a public asset so ur basically screwed
brawldev on yt
ty
mf dont name promote
use MULTIPLE
one developer on youtube isn't gonna cut it
recommendations are:
YouTube - easiest to understand
DevForum - For specific things
Books - Only some are good, most are poop though
@next star ^
make sure not to restrict yourself to one creator for youtube
luau is pretty easy to self-teach if you grind enough
last time it made me quit after 1 hour 💔
oh alr alr
if you want to spend the money, sure, it may be easier since they can answer you immediately
so get a tutor only if i want to take it to the next lvl?
other than that idk what the diff is
nah, you don't need to do that
you can if you want, it's actually really just optional
where would one study how to optimise their code? i've been trying to find stuff but the most i can find is really low level optimisation
Research memory leaks, better formatting, better practices, type checking, and pragmas
This knowledge helped me alot when it came to optimization
wdym by better formatting?
ooh right okay
another optional thing is describing what specific code blocks do with comments (--//)
whats pragmas? i just searched it up and its just giving me random wikis
one sec
/types/#type-inference-modes on luau.org
there's WAY more than what it shows on there but it's definitely a good practice
thanks!!
i've seen games go from 20fps to 60fps and i've been really wanting to know how to do that lol
--// Pragmas
--!strict
--!nocheck
--!nonstrict
--!nolint
--!native
--!optimize 0
--!optimize 1
--!optimize 2
--!optimize 3
Every pragma roblox has
oooh those things
I'm assuming you're used to basic luau
So I would start by trying to learn stuff like metatables, type checking ,etc
i know some advanced concepts but i dont know things like this
i know metatables and type checking
although i was wondering, is there another use for metatables other than in oop?
sometimes apis
modules are basically apis but
metatables can advance that
i dont really remember anything else
awesome, thanks for the help!!
thoughts?
ik this was like an hour ago but, could i like obfuscate the code, put in on something like github and then acces code from that.
i highly doubt anyone who purchases will go through the process to try and find the code doing that
yes and no
some obfuscators can term you
and plus
this isn't really
ideal
and obfuscators can be deobfuscated
so yeah
idr mind that i just want atleast 1 layer of protection i dont think theyre gonna go through effort to do that
even if its not a published module on roblox?
well, most obfuscators ARE primarily used for exploiting
so they hide inappropriate messages in the obfuscator and stuff
which then results in termination
oh damn
Only 1 person has to go thru the effort of doing it
Once 1 person has done it then everyone gets the materials
IMO not worth it
so my best bet is just hoping that they wont resell my stuff. bc i tried that and its not working
can anyone help me script a datastore script. chatgpt keeps messing up. bro he uses fireserver in a serverside script😭
Any experienced scripter here?
💔chatgpt
Wsp?
💔black pfp in the big 2026
theres many on yt/devforum
So uh I need someone to teach me scripting rather than some yt tutorial yk...like someone who questions me and stuff..my past experience with coding is python
0 correlation
Meet new people / make friends
I tried to meet a lot of different scripters
You have to be the one asking questions
Make friends w other programmers and ask them questions to better your own knowledge
Where exactly do I start if I have some knowledge in python
Find something you wanna make
Anthing that interests you
Break it down into parts and code from the bottom up
look idc about ur childish insults whatever.
im just saying, i dont reccomend using ai like that (bc evidently it has problems) especially for something like datastore scripts. there is a lot about them on yt/devforum and even you can read the docs
Is there any book or something?
People suggested brawl dev but I prefer something I can read as a pdf
u a beginner?
I just learned via tutorials and repeated practice
Roblox docs are there to help you if u have questions regarding code
But you have to be the one to look for it
bro i tried on dev forum but there were only tutorials on how to make different stuff. and same on yt
nothing is related to what i want
Yea
what exactly do you want
Like I wanna learn the language not follow along the tutorial
when u click on a part it turns red if you rejoin it stays red. simple as that
bro you cant learn without tutorials😭
Dude like half the tutorials on Roblox studio is just them making some specific stuff
Not teaching you how exactly it works
no
like i learned trough brawl dev and this guy
Like in python you gotta know how functions parameters and arguments have to work right
Which guy
any scripter that can make a pathing system similar to steal a brainrot games - DM ME
In YouTube?
ask chat gpt
ye his name is script_ing
Alr thanks
same in lua
but easier