#code-discussion
1 messages · Page 14 of 1
so u R a kid
@discordfederalagency
ok
WHAT FUNCTION DO I USE
TO CHECK IF REMOTE EVENT IS FIRED
tell me sound:0:7
ok
its called something like happy beige
or sumert
yup
okeyz
what ze fek u want it to do when fired lil bro
i sent script
just tell me what function
bro is NOT batman
Wdym?
homie u dont
dont send it to me what do u want me to do w it
u need to fill the fireclient()
send it here
how
just tell me why it isnt doing the thing i want
WHAT U WANT IT TO DO
i want the ui to tween to a specfic udim2 but its tweening somewhere different
WHY DOES THAT MATTER
change the udim2 then
ez
yes i did
brother i dont know ask someone more advanced
bruh
CUZ U NEED TO PUT IT IN THE PARENTHESIS
ahhhhhhhhhhhhhhhhh
so theres 2 scripts, one where the print thingy happens and the remote event is fired and the other one has the leaderstats. how do i connect the two because i want the value of leaderstats to += 1
yall is a slanted list like this able to be scripted so its scrollable?
anything is possible they say
alr bro thats not an answer 😭
piut fireclient(plr,leaderstats)
good girl
tiny bit of math tho
yes
r u insane
yes
u wasted my time
bruh idk what to do im stuck
delete everything
well sorry that i wasted ur time but im just a bit stuck
ougougaga?
shut up noob
bruh
ur script is messed up
just pretend it is points
so u want to make is so every 3 sec player gets +1 age and cash?
bro is making people broke af
they arent supposed to even win
the one that fires remote event?
no.. lol
ok bye
bye
idk stay stuck forever
show all of it
how do i move the background like in the loading screen, so lets say whatever is in the background can move diagonally
its too big
how can i make the background u and v change, so like its moving diagonally
move the texture
make it big and move it
idk what im saying btw
dont listen
its too big
guys can somebody help me so i wanted to recreate fall guys' memory fruit and everything was going great but suddenly i noticed red doesn't always appear. This is the module script where i think the problem is. the fact is that i did some debugging with print but i noticed that only in the first print red is there, then it disappears
Sorry for the video but the script was too long
how could i change the offset of the basketballs. its an image label with its ScaleType set to Tile.
how could i change the offset of the basketballs. its an image label with its ScaleType set to Tile. it doesnt have to be a image label but anyway to make an effect like this but change the offset
can someone help me im trying to upload ugc with a npc on it but each body part is it's own meshpart and im not able to use blender
u want the basketballs to kinda move a bit
i want the basketball been flowing in the background during the loading screen
so moving
this is how to fix it
yes
put them all in a frame and tweenposition the frame
have you tried a different shuffle besides fisher yates
nope i didn't why would that be the problem?
i didnt feel like reading all your code but why do you need an array for colors
can someone help me with understanding loops
there is a code i have that should makle snese but dosent
that should work and i dont understand
then send it?
local Slab = game.Workspace.Slab
for myCounter = 1,10,1 do
Slab.BrickColor =("CGA brown")
task.wait(1)
Slab.BrickColor =("Lime green")
Slab.BrickColor =("Really blue")
task.wait(1)
end
BrickColor.new
where would i put that
after your =
are we deaduzz
im a new dev
Slab.BrickColor = BrickColor.new("CGA brown")
local partIsTouched = false
touchPart.Touched:Connect(function(otherPart)
if partIsTouched == false then
partIsTouched = true
print(otherPart.Name)
touchPart.Transparency = 0.5
touchPart.CanCollide = false
touchPart.Color = Color3.fromRGB(255, 255, 0)
task.wait(2)
partIsTouched = false
touchPart.Transparency = 0
touchPart.CanCollide = true
touchPart.Color = Color3.fromRGB(265, 85, 255)
end
end)``` why does my block turn blue. the colors are set to yellow and purple.
rgb 265? 💀
ty yoda
np
one more question
it goes blue because the 265 is being read as 0, as RGB is 0-255
ok
for myCounter = 1, 10 ,1 do can u tell me which each one do i kinda forget
oh yeah I typed it wrong lol
1 = start, so i = 1 is starting the index at 1, 10 is ending the loop at 10, 1 is a value of change 1,2,3,4 you could ptu that at 4 and it would do 1,5,9,
ty bro
i tried with Random.new():Shuffle() but i still have the same problem
ill try
its one image @sour vine
then make a dozen of basketballs pngs and clone()
Does anyone know how to reference the player in workspace
what is the difference between task.wait() and wait()
can u make a double jump script on server? or does it have to from client
its the same
game.Players.LocalPlayer:waitforchild("character")
it has to be a script
no
character isn't a child of player
it is
ragebait 101
it's a property
but, don't believe me. Believe the docs https://create.roblox.com/docs/reference/engine/classes/Player#Character
it counts as a child tho
🤡
What is that font 😭
local Lighting = game:GetService("Lighting")
local timeSpeed = 12 -- Speed at which time progresses (1 sec IRL = 12 sec in-game)
game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
Lighting.ClockTime += (deltaTime * (timeSpeed / 3600))
print("ClockTime:", Lighting.ClockTime)
end)
it will run for about 2 or 3 frames, then will get stuck at something like 23.0025 (x309)
Maybe you didn't put a whileloop
made some tweaks to my normal maps and the update time and gotta say the water looks pretty neat
still dunno what to do about my tiling issues yet, i might have to apply some kind of edge smoothing to the height map or something to get it to line up better.
What part of it is not working
this water making me feel wet gng
are you using editablemesh for this?
Uh it's not working
Task.wait() is a faster and more precise version of wait()
do you want the character or the player itself?
The player itself in workspace
the player isnt in workspace, its inside the "Players" tab
Player model*
so the character then?
Yeah mb
nw
1 sec
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
use this
only works inside local scripts
since ur using "game.Players.LocalPlayer"
then u have to get the player somehow
game.Players.PlayerAdded:Connect(function(Player)
--you got the player here, now just get the character
end)
@tame sigil you can use chatgpt o3 mini for help, its really good for programming
oh ok ty
np
Btw what's the :Wait() for
Also local player isnt a thing
In the script thing
the wait is there incase the character hasnt loaded fully yet
are you using a normal script
and trying to get the localplayer
Wait
Do I put these in starter player scripts
which script are you using
this one?
or the other one
Other one in a local script
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
this script should work then
alr
Do I put the local script anywhere
Or in player scripts
u can put it in player scripts, startergui, and some other places but i would place it in starterplayerscripts
It's not working
I mgiht be dumb but this is what I wrote
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
game.Players.PlayerAdded:Connect(function()
humanoid.WalkSpeed = 100
end)
remove the game.players.playeradded thingy
everything else looks fine
are you getting any errors
Not anymore
What does the game.players.playeradded do
Guys I got a question I’m making climb the ladder simulator still looking for a coder but I’m not paying since im just recording a yt I have 80k subs what should I add to the lobby we’re still making the pets
Is it just for the player in Players
Well you should add a shop
Levels
it checks for whenever a player joins the game, its unnecessary to have in this scenario
Im struggling don’t know how to but even if I did what should I add to the shop
Pets, upgrades
Btw what's your YT? I'll check it out
Now next step if find a coder
I don’t post Roblox content on there I post dumb rapper shit that makes me viral but any short I post goes viral so if I make a game I’ll promote it on there my yt is axen_aep
Ty man
I see
Could I also reference the player by putting a script inside starterplayerscript and saying local player = script.parent
no the character is a model in workspace
if its in starterpack i think you can
it has to be a local script and the player scripts are inside a subfolder called "PlayerScripts". and also there's really no need to use that since u can just do "game.Players.LocalPlayer"
no
i thought he was referring to character for some reason
i have been coding for too long today
xd same
yeah... the super high level overview of it is ->
start of game:
- create mesh
- init jonswap spectrum textures (for calculations)
every variable change ->
- calculate jonswap spectrum
every update ->
- Generate complex numbers based off of server time. Use that to calculate height, displacement, and normal maps.
- Do an inverse fast fourier transform per map
- Apply results to mesh
then todo is:
- parallelize iFFT calls (working on)
- parallelize the iFFT itself (down the line, still deciding if I want to do it based on stages or sub calculation)
- add frame delays and interpolate iFFTs during delay phases (i JUST finished this, extremely hard to notice but lets me delay the frame times)
- work on colors
then stretch is (if I can get enough performance out of the iFFT):
- use 2 more iFFTs to calculate the jacobian to make detailed foam
- better light interactions
what is iFFT 😭
inverse fast fourier transform
fast fourier transforms converts a wave from frequency domain to time and back.
the most simple one is an audio visualizer. Those bars bouncing based off the input sound is the perfect example of an iFFT.
oh okay, ty for explaining
but for ocean physics, all I care about is the inverse. Frequency -> time.
I essentially use whats called a spectrum to generate the ocean physics itself then convert it to a texture to draw on a mesh.
This is a single, tileable mesh that I then instance. Once its calculated, super cheap to copy/paste
I actually have some visualizations of some of the data, one sec
alright
wait I meant character*
How many players average
u should use ai if u need more help, its gonna explain it a lot better than what i can do 😭
! VOLUME warning on the spectrum video.. forgot I was listening to music when recording lol
Spectrum data is the red & green. If you look closely, you can sorta see the wave patterns
Then the video is all I got for the heightmap. Very first version, full of issues but it did something
wow thats impressive, nice work man
tyyy eventually when Im more happy with the performance and look of the ocean, Im going to implement buoyancy so itll be possible to use a ship on it
wow i wish i knew how to do stuff like this but im too stupid lowkey 😭
tbh im still hiding some stuff from the video bc its driving me insane LOL
thought it would be an easy fix but nOOOOO
Alr
Wait so the classic version of chat gpt is the one that helps with coding right
like right here you can see creasing and i still cant figure out why
the heightmaps are like ever so slightly offset and its causing that issue
yeah i think so
do you know how to fix it?
alr
Ive already sewn together the vertices but its still acting up for some reason
10
Still growing atm
only 1 ad ran
10 ad creds
weird
whats the game?
sometimes 5 but usually 10
you want the link?
my only hope is to take the heightmap and apply a very slight blur to slope out the triangles a bit more
sure
dms
yeah it would make it look more natural
tho tbh I might just slice off some of the vertices then slope it to the next set
try, see if it works
actually looking at it more, some of the triangles looks stretched. Maybe I just gotta calculate the average between the points... one sec
Still looking for help on this
you should use profilestore/profileservice
doing data saving by yourself is kind of risky since there's a lot of things that can go wrong
“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 module...
Last time I used a module for a datastore it stopped working and when I tried to look for the fix everything just said to stop using it
what module did you use
I think I used Datastore 2
oh okay, ive never used that but ive used profilestore a LOT and its really good
ive never had any data issues with it
ohh
Hold on I'll check it out
theres a chance still need help on the way im trying to save data if the wiki doesn't say
do any of yall think a how to train your dragon game would be interesting
i feel like some of the stuff would be a pain to program
could be
Can I get it too
15k from 10 players dang
If I want to add something to Items, do I use table insert?
dure
yeah this is the closest I can get it to be invisible. At this point its just floating point precision issues, which I already put to 10^8 precision (just set it to a random high value)
I had to turn off normals bc they're not tiling correctly, which I have to fix now
how do i make a thing like this "a gamepass that gives you a apple that you can eat, it is a touch prompt" yk what i mean
you can eat forever
chatgpt it
What's it like working in a team of scripters and other developers vs alone?
Can someone who knows how to code well dm me and lmk thoughts on something i made
Please
Me
does anyone know how to split a square into multiple different shaped parts ? Like glass ?
local success, result = pcall(function()
return 0 / 0
end)
print(success, result)```
make a hiring post lil bro
im a french is english bro
true, nan
they did it in like 2010 you can do it in 2025
hi!
yo youre not finding someone here
How much
Dms
ye and it will obviously take you years
i need some genuine advice, I am currently lost and in need of something to code and I need a topic that is highly traversed by many large game developers and is highly needed for most games, like physics? where would I find information on writing code for customizable roblox physics that is credible and a good source of information?
local function cursed()
print("Infinite loop")
return cursed()
end
cursed() -- infinite loop??```
does this loops forever
no
Can someone help me fix a bug in my game for free please i new developer☹️☹️
how do i fix the __index repetition in watch, is it a problem like a memory leak or no, it even happens when i call the .new function one time
before cursed() do
while true do
cursed()
end
its not a problem
impressive but bro, what is that horrible music 😭
three of these: `, then without a space put Lua then press enter, then paste your code, enter again, then the three symbols.
can anyone here help me scripting for guis like inventory and shop?
looking for some help idk why it not working i can't see the image
can someone help me
what is wrong
I am making a pass the bomb game and when tagger leaves it just breaks instead of a new one being picked i got a video
@somber vault
CAN SOMEONE HELP ME WITH THIS BUG ITS DRIVING ME CRAZY
you mean if the tagger leaves the game?
as in when the tagger leaves the bomb gets like deleted
The Yoo anyone here know alot about creating icons/thumbnails
No i just breaks rounds stop and
Everything
maybe do in code that when a player leaves, if that player is the tagger then give the bomb to someone else?
I am a new developer so
I got video if you wanna see it
Okay
hey, is it possible to modify the source of modulescripts by script? I read that modulescripts are read-only
u can insert a value but it will only show in the table that is in the script
hello everyone, can someone help me figure why the :PointInside isnt working?
is there any module that can make server script communicate other server script like bindable event?
wdym?
maybe use the good signal module
idk
delete the return
why did u answer then
i wanted them to know
did they know that you existed?
idk
for what are you using that script
does he know u existed
well i wanted him to know he wasnt alone in not knowing
im trying to check if the player is inside another object
thats dumb
youre dumb
i will end it right here
alr lemem check
there's no such method of region3 called "PointInside"
good boy

huh, i guess deepseek made an oopsie then
bruh
bruh
any idea how i could check if the player pos is inside an object?
lemme try to write a script myself
how do i play the tweens?
@twilit parcel you want the script in the chat or screenshot from roblox studio
a script pls
here in chat?
Who can advertise my Roblox group for Robux
guys i forgot how to play the tweens can someone help
yep yep
alr gimme 5 minutes
that doesnt make sense
i have to try in roblox studios too
what doesnt
i wouldn't recommend using TweenPosition
use TweenService instead because it has more customizability and functions
whats the better alternative?
okay, how do i do that then
im only learning
if its too inconvinience then could you just give me the idea?
there's documentation here https://create.roblox.com/docs/reference/engine/classes/TweenService
thanks
-- The part you want to check if the player is inside
local targetPart = workspace.Part -- Change this to the part you want to check
-- Function to check if the player is inside the target part
local function onPlayerTouch(part)
-- Check if the part touched by the player is a character's part
local character = part.Parent
if character:IsA("Model") and character:FindFirstChild("Humanoid") then
print(character.Name .. " has touched the part!")
-- Optionally, you can add more logic to handle specific actions when a player is inside
end
end
-- Connect the function to the Touched event of the part
targetPart.Touched:Connect(onPlayerTouch)
the lines with the 2 -- are notes
bro make it into a lua message
please code block 🙏
real bro
ideally edit the message instead of flooding the chat by reposting it too
i would use game.Workspace:GetPartsInPart()
its cleaner
this is not quite what im trying to achive tho since this is touched
im trying to actively check if the player position is inside the object or not
for whta you need that?
wait a sec
i wanted to do so that whenever a player enters a new room, it does something
function isInsideBrick(position, brick)
local isinside = false
local overlapParams = OverlapParams.new()
overlapParams.FilterType = Enum.RaycastFilterType.Include
overlapParams.FilterDescendantsInstances = {brick}
for _, v in game:GetService("Workspace"):GetPartBoundsInBox(CFrame.new(position), Vector3.new(0.01,0.01,0.01), overlapParams) do
if v == brick then
isinside = true
end
end
return isinside
end
was a function from a code from mine
hey dont hate on nine inch nails
i will because it sounds like them horribly loud screeching asmr thingies that are purposefully bad
need help with cmdr - I want one argument to be able to accept 2 things. For example, the argument should be able to accept a player OR a string in the same argument, with autocomplete for player
replace the Vector3.new(0.01,0.01,0.01) with Vector3.one*0.01
broo the song is so good even a video game used it for a boss battle
like one from a company under bethesda type of video game
maybe the rest is but that little snippet sounds horrible
i feel like a min + max check would be more efficient than this
its the build up before the main part 😭
id say something is .... my ears but its inapropriatte for this channel
makes you feel better the other recording had jazz
like just vec:Min(maxvec):Max(minvec) == vec should do the job
if i remember correctly
sounds nicer but it sounds like a horror game's tension music 😭
darn first time seeing OverlapParams and getPartBoundsInBox lol
its my favorite trumpet duo in any piece of jazz music in existence 😭
and my favorite duo piece!
The Jitters from Big Bad Voodoo Daddy.. after the snippet in the video that guy SCREAMS that trumpet and it scratches my brain sooo right
could you explain abit more pls
i enjoy juice wrld
yeah so nine inch nails def isnt your type of music LOL
why is this pop up not enabling?
local CollectionService = game:GetService("CollectionService")
local player = game.Players.LocalPlayer
for _, barrel in ipairs(CollectionService:GetTagged("Barrels")) do
local proximityPrompt = barrel:FindFirstChild("ProximityPrompt")
if proximityPrompt then
proximityPrompt.Triggered:Connect(function()
local playerGui = player:WaitForChild("PlayerGui")
local popUpGui = playerGui:WaitForChild("PopUpGui")
if popUpGui then
popUpGui.Enabled = true
end
end)
end
end
it's basically just clamping the vector to the range of values between minvec and maxvec and comparing that to the pre-clamped vector
my bad, wrong channel
so if it's outside of that range then it won't be equal, causing a result of false
i forgot that i had birthday in 3 days
you could also shortcut it further by using the new vector library, so instead you would write it like vector.clamp(vec, minvec, maxvec) == vec
https://create.roblox.com/docs/reference/engine/libraries/vector
didnt region3 have a range check?
i checked the documentation for region3, it doesn't have anything of the sort
so this method is the most ideal one i've found
and it's proven to work well as i implemented it in a building game
now that i think about it, the check should even work against people trying to break it with NaN
Guys, does the value of NumberRange when created always permanent?
i saw that code block fail
https://create.roblox.com/docs/reference/engine/classes/WorldRoot#GetPartBoundsInBox oh it was in workspace
yeah all this does it take the range and return anything in it. Idk if its as efficient as vector checks or not, ig depends on how roblox caches
considering that reflection (communication between scripts and the engine itself) is really slow, it's not very good for trying to do the same thing
you can at least filter the result
vector checks can be pretty fast if you're just operating on data in the script environment
I think you should replace GetPartBoundsInBox with GetPartsInPart
i heard the vector library is a bit faster than the Vector3 one too
guys will this tween script work in the picture
endEvent.OnClientEvent:Connect(function(won, roundstats)
end)
this part above works 100%, so dont ask if this function works, it does, and im just wondering if the tween i made will move the ui elements to the goal position
should work right?
idk run the script
but the vector type and Vector3 type thing confuses me a bit
YESSSS
balls
they seem to be treated as the same type but they still appear different
thank u so much for helping
always wondered why they made 2 separate 3d vectors
something about supporting vectors outside of roblox itself
in things that use luau
does roblox support svg?
not sure
Oooo sweet, thanks Jolly
is this correct?
looks right but idk im running 1% brain power rn so just test it
should work
out of curiousity, why roomPosition/2 instead of roomSize/2?
also one tip, you could have it just be return vector.clamp(playerPos, regionMin, regionMax) == playerPos since the compare results in a boolean
^
i think he made a typing mistake
quite possibly
@twilit parcel just double check that bc i think its an oversight
yep-
how do i make a tween reverse? like is there a function or do i have to make a whole new tween
i believe you'd have to make a new tween
new tween but tweenInfo has a property called "reverses"
if i use that bool then can i make it so that the tween plays, it waits 2 sec then plays in reverse
just found out i cant
it plays immediately after the tween finishes. The only way to make it 2 seconds is by setting the delay time, but that affects the start as well
so im making a new tween
yep, i was just told that
Id say just have it play the new tween on tween.Complete
i forgot that tweeninfo has properties besides time, easingstyle, and easingdirection
lol
for the most part im still using lerp 💀
math.lerp my beloved
Yo change your font lil boy
Your a boy in a mans world
And im a man
no
who loooooooves to play with boys
what the diddy
they should change their font to one in the style of russian cursive
i should
someone make this real
huh
and downloadable
that might actually be useful for my game
because it has arrows which move along wires to indicate which direction the signal goes
and people complain about it lagging them every time it starts the tweens again when they have it rendering over 400 of them 😭
math.lerp my beloved
believe there's even a lerp for vectors somewhere
Doctor notes
ignore the fact i used coroutine.wrap instead of task.spawn
i was being rather religious about it for a while
but could do something like what im doing with my ocean. I have a slighty delay between map generation times bc the computation is complex. When I generate a new map, I store the current vertices then put the new vertices in an array. You can easily add some sort of smoothing too.
Doing like this you can update the direction every frame with as much performance impact as dust from a cheeto
my lerp factor is a count between last generation frame and current actual frame, but I could easily interrupt it without messing with the lerp.
you can use task.desynchronize under an actor too if u still need performance
the lerp isnt noticeable at speed. This is with a 10 frame delay
that won't help
the performance draw is coming from things that can't be ran in parallel
is this editablemesh
yep
i also realized one of the main inefficiencies of this which i could easily fix
oo
aight
this is bad
absolutely horrible
god knows why i made it do this
that's definitely why it runs so slow
Why
calling :GetPivot() on several hundred models at once takes A LOT of time
i should've just made it cache that cframe after the line is generated
this is what the effect is btw
rn im working on a lazy scheduler for my iFFT algorithm so I can spread the work out to multiple frames. This will enable me to calculate multiple cascades with displacement, normals, and jacobian foam then stitch them together. The worse the cpu is, the more I can delay the frames and the lerping will make it hard to notice. First version should run around 150fps despite adjusting 64^2 vertices and using a glorified complex number multiplication with the complexity of N*log2(N)
When I get parallel to be smarter scheduled, I should reach 240fps
i aint reading allat
long story short: detailed water!
🤑
Basically he's working on summ
And it does summ
Which results in summ
yeah i think so
but its gonna look soooo good once I properly implement lighting and foam.
huh question pls, why is there this code giving a inconsistant result?
local roomPlacement = {}
local getRoom = game.Workspace:WaitForChild("Rooms")
for i, room in ipairs(getRoom:GetChildren()) do
if room:IsA("BasePart") then
roomPlacement[i] = room
print(i,room)
else
continue
end
end
more importantly, why did you put an else branch with just continue in it
its the same result you just cant rely on getChildren to be ordered
uhhh no reason at all-
also that
do i have to order the getChildren afterwards or is there a easier way to do that?
this is the kind of performance i'm getting out of a random logic-heavy thing i stole from someone (this only happens when the arrows get reset back to the start of the line)
if the order doesnt matter then you dont need to
like if you just need to get the children, that works fine as it.
its extremely rare that you actually need it to be ordered and in majority of cases it shouldnt need to be
i paid the price of trusting the order of :GetChildren() for a while
:GetChildren() is hella weird sometime
because roblox did an invisible change that resulted in it randomizing the order of properties in my game's configuration tool
but i somehow magically fixed it
"i" just represents a pointer. A pointer points somewhere. In this case, the pointer points to where to find your room in the RAM.. so order shouldn't matter if what you're using it for is something like ->
local example = getRoomsTouchingPlayer()
for i, v in example do
doSomethingWithRoom(v)
end```
anyone here can help me? scripting guis like inventory or shop.
Any scripters wanna make a pvp game?
is there any scripter that might be available and wint ghost me
i need a small commision
discuses
ye whats your question
Anyone got experience making a syncing animations on a player if a player change dances it automatically syncd
check dmed bro
guys can anyone dm me i need help with a script
sync to server time
local precision = 100
local trackOffsetPercentage = (workspace:GetServerTimeNow() % precision) / precision
This puts the value in a range of 0 to .99. ServerTime % precision caps it at 0 to 99. If ServerTime hits 100, it goes back to 0. Divide it by same clamp to make it a decimal.
Use TimePosition on animation track. https://create.roblox.com/docs/reference/engine/classes/AnimationTrack#TimePosition
set it to track.Length * trackOffsetPercentage
This essentially makes a progress bar.
then play the animation.
*note unless you have the animations very strictly client side, there could be slight desync in the animations themselves. Tho by having it strictly client side, you have to have the client handle animations for other players too. This can be easily handled through a remote event that fires to all clients like remoteEvent:FireAllClients(targetCharacter, animation) then just handling the animation inside of remoteEvent:OnClientEvent
alright ill dmed u when im on pc
But u know how to make those?
you can load any animation with this method. Its unbiased.
As for how to make roblox animations, just look up "Roblox Animation Editor for character rigs"
https://create.roblox.com/docs/animation/editor
any good resources for scripting decent car systems?
guys can anyone dm me i need help with creating a script
both players are using a different dance from what it appears
in this case, you have to add additional logic.
When a player starts playing an animation, store the animationId in a table. Ex:
currentDance[Character.Name] = animationId
When the player does something to stop dancing, remove the entry.
currentDance[Character.Name] = nil
When the player presses the sync button, get the dance that player is currently doing through currentDance[playerName] then play it with the time settings mentioned earlier
if currentDance[playerName] is nil, the player isnt dancing
Have the table be initialized at the start of the script as well, rather than inside the function. Do this client side to make it sync better
okay
yo chat so i been tryna learn scripting i understand a few stuff and forgot some stuff what should i do
Should profilestores be kept in serverscriptservice?
Yes ofc
You wouldnt want exploiters messing with your data, would you?
Oh ok Ty
anyone here made a scripting portfolio on carrd? im looking for ideas on how i can make the layout of my own
how do i add a vfx i made attached to a part to my teleportation script
im at a loss
Obby with a twist ideas?
obby but if you dont do it in 30 minutes you get banned and has gamepasses to increase your time
hello everyone, question pls, im using camera:GetPartsObuscuringTarget(...,...) right now and wanted to hide objects that are inside the array while also display the objects that are not in the array
what is the question
how can i achive the ladder?
i know how to hide the objects but not sure how to display it again
depends on how you hid them
im planning to just set the transparency to 1
then maybe put them in array inside of another table that also contains a key that saves their original transparency value
Anyone here that can slide me 1k if your rich 😭🙏
how do i ignore the mobile joystick when scripting a gun, when i move it shoots there.
troll obby maybe
could someone help me with something in a roblox script
when someone tries to walk over a part to get a vest, they cannot get 2 different vests and im trying to change that but i dont know what im looking at
what part is stopping them from getting a second vest
this
removei t
completely?
ye
try it
Players going to get 50 vests now
type shito
thank you so much it worked
me when i forget to use :WaitForChild
Is this a good way to structure story code?
looks decent
I'd consider creating individual modules
one containing the objective display text lookup, and then one for each story action (if they get bulky enough at one point)
Thank you for the feedback. I suppose I'll continue like this until it gets too verbose before refactoring
test
Someone here codes simulator and modular? Im looking to hire dm me

whats the pay?
$100 USD
and you need the full game scripted?
No just a mechanic
Dm me
this isnt allowed!!
make a post instead
It doesn’t let me
you must meet the requirements to post one
Just bc im new to discord bruh
you cant hire people out of the marketplace
how would i make a unragdoll script with this ragdoll script
script.Parent.Activated:Connect(function()
local _holder_character = script.Parent:FindFirstAncestorOfClass("Model")
_humanoid = _holder_character:FindFirstChildOfClass("Humanoid")
script.Parent.Activated:Connect(function()
local _holder_character = script.Parent:FindFirstAncestorOfClass('Model')
_humanoid = _holder_character:FindFirstChildOfClass('Humanoid')
local humanoid = _humanoid.Parent:FindFirstChild('Humanoid')
if humanoid then
for index, joint in pairs(_humanoid.Parent:GetDescendants()) do
if joint:IsA('Motor6D') then
local socket = Instance.new('BallSocketConstraint')
local a1 = Instance.new('Attachment')
local a2 = Instance.new('Attachment')
a1.Parent = joint.Part0
a2.Parent = joint.Part1
socket.Parent = joint.Parent
socket.Attachment0 = a1
socket.Attachment1 = a2
a1.CFrame = joint.C0
a2.CFrame = joint.C1
socket.LimitsEnabled = true
socket.TwistLimitsEnabled = true
joint:Destroy()
humanoid.EvaluateStateMachine = false
humanoid.Parent:FindFirstChild('Left Leg').CanCollide = true
humanoid.Parent:FindFirstChild('Right Leg').CanCollide = true
humanoid.Parent:FindFirstChild('Left Arm').CanCollide = true
humanoid.Parent:FindFirstChild('Right Arm').CanCollide = true
end
end
end
end)
I can’t post
you dont need to post, just go to #scripter-hirable and find someone
save all the properties of the parts in to a table then recreate from the initial state data
yo has anyone here every made a unboxing system
yes
qucik question do you use the actual names of the items to define them or do u use something else
im not a scripter but im tryna find the best way to define my items to avoid duping and exploiting
cuz my scripter is asking how i want it
part.Name = "part"
part.Parent = workspace
part.Touched:Connect(function(otherPart)
print("Touched!")
end()) ``` I know that this is wrong, but what is happening step by step? Does the function call pass in a nil value?
I understand what I need to do to fix it though. just curious.
i love you so much
omg
how did i not think of that
nvmd ChatGPT is my savior
Can anyone help me make a command script for studio? I want it to change all surface appearences with the same colour value to another one.
how you guys would block this exploiting bypass?
char = workspace.Xestlers char.Parent = nil char.Humanoid.Name = "2" char["2"].WalkSpeed = 430 char["2"].HipHeight = 1 char.Parent = workspace
Reinstall roblox
i need 240 rbx, anyone have any small task they need me to complete?
is it possible to check who a player is following on roblox cause I read a few dev forums and all are outdated
strictly client side always made me wonder
but i was thinking a ready system instead
fr
i am so broke rn
where 1 player starts dancing, the dance stops at X keyframe when synced, and then resumes when all players are readyt
😭
gimme some rbx or gay
huge issue guys how do i print "hello world"
print("dlrow olleh")
LF Teammates for #1338148716418171052
requirements:
Amateur scripting abilities
Classic roblox building style
DM ME!
I see, thank you for your help
Sir yes sir.
@uncut helm I gotchu
-- Create a module for printing text
local Printer = {}
Printer.__index = Printer
function Printer.new()
local self = setmetatable({}, Printer)
self.messageQueue = {}
return self
end
function Printer:addMessage(message)
table.insert(self.messageQueue, message)
end
function Printer:printMessages()
for _, message in ipairs(self.messageQueue) do
self:processMessage(message)
end
end
function Printer:processMessage(message)
local processedMessage = ""
for i = 1, #message do
processedMessage = processedMessage .. string.sub(message, i, i)
wait(0.05) -- Simulating processing delay
end
print(processedMessage)
end
-- Encode the message using an unnecessary function
local function encodeMessage(message)
local encoded = ""
for i = 1, #message do
encoded = encoded .. string.char(string.byte(message, i))
end
return encoded
end
-- Create a printer instance
local myPrinter = Printer.new()
-- Add the encoded "Hello World!" message
myPrinter:addMessage(encodeMessage("Hello World!"))
-- Print the messages in the queue
myPrinter:printMessages()
modular script for printing messages
I see, but will this print hello world?

I see, thank you for your help in assisting me in printing the phrase "Hello World!" on the hit game engine Roblox Studio, I shall forever remember this as I explore the game engine and make my own games.
I wanna double check something, when I need animations to match on 2 players, does it then move to be handled on the server?
or do I make events fire to the two players
what did i mess up again
local mainmenu = script.Parent
local Menu = mainmenu.Menu
local Play = mainmenu.PLAY
local SHOP = mainmenu.SHOP
local setting = mainmenu.SETTINGS
local Leaderboard = mainmenu.LEADERBOARD
local function OpenShop()
Menu.Visible = false
SHOP.Visible = true
end
local function OpenSettings()
Menu.Visible = false
setting.Visible = true
end
local function OpenLeaderboard()
Menu.Visible = false
Leaderboard.Visible = true
end
while wait() do
SHOP.MouseButton1Click:Connect(OpenShop)
setting.MouseButton1Click:Connect(OpenSettings)
Leaderboard.MouseButton1Click:Connect(OpenLeaderboard)
Play.MouseButton1Click:Connect(OpenPlay)
end
your gui elements are defined wrong
how so?
you put mainmenu.PLAY
you mainmanu is your screen gui
you supposed to do Menu.PLAY
and your while statement is pretty bad too
you can just remove the while loop
its not neccessary
i wanna get into roblox studio game coding, any1 got any ideas of stuff i should look at
If you're a complete beginner then watch BrawlDev's Beginner and Advanced playlist. Those two should keep you busy for a little while.
Also try making small projects here and there
#1278154978598326406 got some good things to look at aswell
Thank you!
Is there any way we could make some type of global jumpscare that would jumpscare all servers
Yes use messagingservice
It allows global server communication u can just send a signal (publish a message) and have all servers listen for it and when it receives fire a remote to all client to play the jumpscare
thank you ill look at it
Np
massage service
does anyone know a good and fast plugin for applying motor6d to models
RigEditor lite
Is There Any Staff Available?
Looking for someone with a decent pc who would be willing to help with a project.
Have you achieved it yet? If you haven't yet, tell me what you're going to use it for and tell me what I can get for helping you.
easy
I need 240 also for any task
sure
do u still need a tm
depends how good you are
ok
would it be better to use body velocity or linear velocity to move the player for a slide/roll or setting the rootPart cframe?
1.2K USD is a fair price for a complex framework?
I NEED HELP ASAP for some reason camera and player is like shaking when i walk in studio please help asap ill send crypto
please help
I wanted to buy a gamepass, I can code something for you
I’m new to scripting and I was trying to make a rig follow waypoints and an error happened does anyone know how to fix it?
you forgot to add the comma
Oh
I need help, whenever i press the image button it closes the main gui does anyone know how to fix? Dm for more context / explanation
If i am trying to create a concept where one player can freeze another player. And once you freeze the player they become an iceblock. Is it possible in roblox studio to make it so you can push the other player around in the ice block and make them slide around?
Thats pretty advance
yes
lol
Why is there more helping here than in code help
The sounds 😩 Been clickin this part since 7 this morning
does anyone know if its worth using switching to use ByteNet
and is it only for replacing remote events and remote functions?
Hey if anyone here plays emergency response liberty county and wants to be staff in a big server dm me.
yall, if a map has three rooms, and theres a script that basically hides the rooms the player isnt in and changes it upon the player changing rooms, will that be possible? if so will it improve performance?
Technically yes but it depends on the rooms itself for how worth it is
I just randomly got this but me and you are on the same level rn keep working
thanks you keep working too lmk how it goes
what exactly is it checking
if it injects it into the coregui then it detects it
and moniters replicated storage
and watches memory spikes
game.Teams:FindFirstChild(Team1):Destroy()
game.Teams:FindFirstChild(Team2):Destroy()```
how can i destroy a team
team1 is a team instance and it still cant destroy it
i forgot proximity prompt service existed lol
Theoretically wouldn’t it be possible to add an 2d animation system into Roblox?
does anybody know why whenever I click the button that’s suppose to show the game pass prompt it doesn’t? I have no errors
show your code
^
Hello, could someone tell me what these errors with the scripts below mean?
Obviously the ones in red
whats an easy way to advertize a game
Advertisement
local Terrain = workspace.Terrain
local Colors = {
[0.8] = Enum.Material.Snow, -- Mountain Crests
[0.75] = Enum.Material.Basalt, -- Dark Rock
[0.7] = Enum.Material.Rock, -- Rock -- Dark Grass
[0.3] = Enum.Material.Grass, -- Grass
[0] = Enum.Material.Water, -- Deep Ocean
}
function createcube(region, material)
if typeof(region) == "Region3" and typeof(material) == "EnumItem" and material.EnumType == Enum.Material then
Terrain:FillRegion(region, 4, material)
else
warn("Invalid parameters: Region3 expected but got " .. typeof(region))
end
end
function GeneratePerlin(mapSize, frequency, scale, amplitude, seed)
local random = seed and tonumber(seed) and Random.new(seed) or Random.new()
for x = 0, mapSize * 10, 10 do
for z = 0, mapSize * 10, 10 do
local xOffset = random:NextNumber(-100000, 100000)
local zOffset = random:NextNumber(-100000, 100000)
local sampleX = x / scale * frequency + xOffset
local sampleZ = z / scale * frequency + zOffset
local baseY = math.clamp((math.noise(sampleX, sampleZ) + 0.5), 0, 1)
local y = baseY * amplitude
local material = GetMaterial(baseY)
local region = Region3.new(Vector3.new(x, y, z), Vector3.new(x + 10, y + 10, z + 10))
createcube(region, material)
end
task.wait()
end
end
function GetMaterial(y)
local bestKey = 0
for key in pairs(Colors) do
if y >= key and key > bestKey then
bestKey = key
end
end
return Colors[bestKey] or Enum.Material.Grass
end
GeneratePerlin(100, 0.4, 10, 15)
How to add resolution to the terrain rn it looks kinda dogshi
nvm ima have to use WriteVoxels
Does anyone know how to outdent all of this code :( i accidently indented while i was coding and didn't realize until it was far too late
Hold shift and then tab with it selected
Ty bro 🙏
that’s a lot of tables
ik, please do not judge
you don’t need to wait for child on everything too
oh right
if anyone's familiar with planeConstraints, if I want to use physics movers to change the Y position, is anyone familiar with using LinearVelocity to do so? I've been experimenting with this for the past half hour and no results so far
Check your output
im doubtful, can you send a screenshot of your output
me when I put a script in storage
it was a joke
least funniest joke:
yeah, it's a networking module
if team1 is the team instance then you just call :Destroy() on that
Anyone wanna give me a project idea? (Scripter not that good doe)
FindFirstChild expects a string for a name, and isn't guaranteed to return an instance if something of that name isn't a child
Does anyone can script but just for 500 - 1000 robux and just TD game? Like just add some stuff
Don't use Roblox Physics 🙏
Ok noone
But if some errors I can ask here?
💀 id be cooked
sure lol its a learning chat afterall
Ohh okay
Btw can I ask like how to activate a button?
The mouseclick and touchtap?
You'd be more cooked trying to use Roblox Physics
how else am I supposed to move an assembly
you reference the button first, then use the MouseButton1Click
This should provide with what you're looking for
ideally use Activated, works best cross platform
like if MouseButtonClick or TouchTap then?
or like if Activated then?
ohh yeah its activated
like if Button.Activated() then?
Not a real person
does PreloadAsync only work on the server
if you want it to be a button that isnt like on/off then you can use click detector and do .mouseclick: connect(function()
clone uis?
maybe do ui = game.startergui.yourUi
ui1 = ui:Clone?
:Clone()
lol
yes
yeah i know that but like where will i use it or place it
in any script rly
can i ask like how to control how many and like change name?
by its name do you mean the text on it
wait i know it
Parent
then?
To any scripters pro or beginners
When you see a explorer very unorganised you can still work on the game or you need it to be to organised ?
Need to organize
Hmmm okay then i'm not psychopath
ty for answers! :)
so first, put the task.wait(1) on while task.wait(1) do
just make the line 8 "while task.wait(1) do"
remove the line 9, because you're resetting the timer every seconds
and put the condition (14 to 26) in the while loop
@rotund lichen
ohh ok
i mean i hope it's the right thing you want
huh what do you mean while loop?
the loop on line 8-12
if u want the script to wait 3 seconds before running just write in the begin off ur scrip task.wait(3)
and it will never run the if statment as it is of rn
Amen
Hater
who has experience making mining games
I've only made a few but i can try help
do you know how to make a virtual depth system
💔
Virtual depth system doesnt actually mean anything specific
Virtual depth doesnt mean anything in general
yeah
factual
every now and then i join this discord to see if any scripters are still good
and i've come to the conclusion no
Am I? 
you're in oss so it's acceptable
but you won't work for me so it's less acceptable
Youre looking for a solution to have an infinite mine no?
is controller support bugged?
it seems like its not connecting any of the gamepads, im using the controller emulator to test but with real controllers this doesnt work either
its not picking up any input
I need to make sure im not going crazy but, Is this a valid way to create custom buffer objects?
please 🙏 explain why
can anyone here can help me for scripting guis like inventory and shop?
sup
can anyone here can help me for scripting guis like inventory and shop
question pls, why doesnt the proximity promt show up when i stand near my bed?
p sure its based of camera idk tho
cuz ur NOT near ur bed
ur character only is
make the maxrange like 100 or something
i made it 10000 and it still didnt work
theres a propriety hold on
is there a way to send a frame created by client to server
ohhh got it
i had an invisible wall blocking the ray lol
ill turn that propriety off then
thanks @sour vine
how much should i pay someone to make a roblox greedy noobs kit /withraw and donate system?
Like 10k at least
k
Idk though
same but think yotubers might drop it
browies im trying to make a cat spawn at the position of the parent but it doesnt work. there anythin wrong?
does anyone know how to use smartbone module?
Sorry for touching lua
make a variable for the cloned cat and parent and then position it
You are not moving the clone as he said above
you are trying to move the replicatedstorage cat, not its clone
Put the cat in serverstorage
but if i move it in the replicated storage it, when it goes into the workspace it will teleport to the position i put it at right?
@indigo herald Do this
you gotta move the clone variable
Then use a local inside the function like this
local cat = game.ServerStorage.cat:clone()
it is not related to its position in replicatedstorage or smth
ahhhhh thx i got it
Move the cat to serverstorage
run it on the server the client cant spawn stuff in the workspace i believe
print("run doom")
Also for cld you can change it from
local cld = script.Parent:WaitForChild("ClickDetector")
To
local cld = Part:WaitForChild("ClickDetector")
local newcat*
it avoids confusion
No
The people in there are harsh but it is the way to learn
Oh
you have to endure it
Whats the difference between here and there
there are more experienced ppl there
yes endure the pain
this chat is for uhhh feedback I think?
anyway code help is definitely better in terms of finding ppl that can help you
Alr
u like it hard huh ?
Please dont take it out of context, thanks

ur the one giving off hints
people who use task.wait instead of wait() and [] instead of . r going to hell
nahh
hey im new to coding how to disable this dum dum stupid box pls help
mispelled something maybe?
i usually get that when a script runs before whatever it needs hasnt loaded or i misspelt something
also wasnt there an easier way to get that duck object? think it was some function like getchildren or something
nope i tried this in a new roblox studio and it works quiet well
this is the first time i encountered an error revolving "master control"
fair, good point
ahh fair. was mainly referring to the infinite yield possible bit. not sure what master control even is tbf
hmm i dont think its the duck that is the problem
im not sure how am i going to fix this tbh
it said here that the problem lies on this code
local camera = game.Players.LocalPlayer.PlayerScripts:WaitForChild("Camera")
local function onCharacterAdded(character)
local player = game:GetService("Players").LocalPlayer -- This is how you could get the player here
camera.Enabled = true
local humanoid = character:WaitForChild("Humanoid", 5)
if not humanoid then
return
end
humanoid.Died:Connect(function()
camera.Enabled = false
end)
end
game:GetService("Players").LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
do
local alreadyExistingCharacter = game:GetService("Players").LocalPlayer.Character
if alreadyExistingCharacter then
onCharacterAdded(alreadyExistingCharacter )
end
end
This is so bizzare
