#code-discussion

1 messages · Page 241 of 1

open sparrow
#

i tried alot of combinations

hasty cobalt
#

no

#

if its not visible to anyone then they wont

fickle python
#

I have a plan 🔥

oblique haven
#

what i do with custom models is use a part sorta like a humanoid root part but at the feet which is used as the hitbox for the custom model which ive tested on flat terrain and works fine for me

open sparrow
oblique haven
open sparrow
oblique haven
oblique haven
open sparrow
#

I will probably just create my own physics

#

A custome humanoid

oblique haven
#

alright

junior bison
#

is it possible to delay the user's movement without making a whole new movement on my own

junior bison
#

like, i wanna interfere with userinput and make it delayed

#

i actually managed to pull it off, but the player's movement wasn't delayed

#

it was delayed on release

spark pier
#

Need some help! I have a open and close tween animation. It does what its suppose to do when I click a button, it tweens the open animation and close animation, but lets say button A clicked and its in its open state and I click on button B, it closes it instead of making a new open tween.

Code:

function TweenLoader:AnimateElement(element: GuiObject, attribute: string)
    if not element then return end -- nil
    if not attribute or attribute == "" then return end
        
    local existingAnim = activeElementTweens[element]
    if existingAnim then
        existingAnim:Stop()
        activeElementTweens[element] = nil
        return
    end
        
    local success, result = pcall(require, TweenFolder:FindFirstChild(attribute))

    if not success then
        warn{`Error Occured || {attribute} module failed to run. {result}`}
        return
    end
    
    -- Creates new tween object if it does not exist
    local tween = result.new(element)
    activeElementTweens[element] = tween
    tween:Play()
end
hoary axle
#

guys how do yall organize your scripts in roblox

#

my scripts are getting really out of hand and i'm tryna learn how to organize them better but it's such a hassle rn

fair topaz
hoary axle
#

for all my modules i slam all of them into a folder in replicated storage 😔

patent lantern
#

How much might a scripter charge for a ui plugin to be made? (a collection of very simple stuff)

fair topaz
fair topaz
#

lowkey

#

helps me

hoary axle
#

wow

fair topaz
#

you can try this

hoary axle
#

u gotta teach me abt that

fair topaz
#

it works for me

tame ibex
fair topaz
#

if you feel way too overwhelmed you should js simplify whatever you r making and chop it up into more modules

fair topaz
tame ibex
viral herald
#

module loaders aren't the industry standard anymore

fair topaz
#

why

hoary axle
#

i've been scripting for a few months i dont know any of these words 🥲 i just have like a module that stores data like smt u can match an id to and then theres like a separate module for the functions of it ...... and when i try watching youtube videos theyre all straight forward but just too hard for me to think abt right now

#

really dont know how to organize modules into anything other than data tables and functions and sometimes the modules end up with a thousand lines of code

viral herald
fair topaz
#

bro what

viral herald
#

yeah matter of fact some studios still use knit

fair topaz
#

fuck knit

rancid pebble
#

im selling an advanced anti cheat if any1 needs 1

fair topaz
#

newcclosure and your ac is cooked

rancid pebble
quaint thunder
#

are there any experienced scripters here?

tame ibex
#

don’t aks to ask. ok?

quaint thunder
tame ibex
#

why not here

quaint thunder
#

because i just prefer to ask in dms

tame ibex
#

ok?

#

why are scripter apps taking so long

#

3 days

scarlet coral
#

bro i suck at scripting

#

like fr i cant even make a leaderboard 😭

zenith pollen
#

I don’t think I’ve ever seen anyone use a leaderboard that isn’t a free model ur good

sage vapor
#

https://www.roblox.com/games/136495694101541/untitled-sword-game can someone play my game and gimme feedback? it feels a little empty and repetitive

Roblox

🗡️ Welcome to Untitled Sword Game! 💀
Fight players, earn Skulls and Kills, upgrade swords, and unlock new worlds with huge multipliers in this fast-paced, movement-based sword game!

🎁 CODES
Join the communication server for codes!

⚔️ HOW TO PLAY
• Battle players to earn Skulls and Kills.
• Upgrade your sword to grow stronger...

lost pebble
# hoary axle really dont know how to organize modules into anything other than data tables an...

you could try organizing your modules for specific reusable purposes. dont just cram everything into a single module. if your moudles are getting into the 1000 lines mark, either that thing is very complex, or you're doing too much inside of one module. also, storing them in a folder within ReplicatedStorage is fine. i would recommend storing modules that are only used by the server inside of ServerScriptService if you have any

verbal onyx
#

guuys help

#

data store isint data storing

cloud atlas
#

Base64

#

Roblox has support for it

#

Encode on gpu

#

Decode on Roblox

winged oar
#

any experienced coder who can help me with a script or fix it, will pay you i just need this task done by someone who can do it

latent portal
#

Hola chicos, ¿dónde se encuentra la agencia de modelos?

pastel comet
winged oar
#

so i have a script where it plays songs, its ids i put in

latent portal
#

Hola, ¿esto es para modelaje?

winged oar
#

and for some reason some audios dont play

#

and i want my script to skip over them

#

but they skip working songs and not the deleted ones or shit

#

and the issue is since it doesnt skip it

pastel comet
#

oh you might not have access to them

winged oar
#

i do

mossy lynx
#

why dont u remove it from code

#

dm me the code if u want

#

couldnt u just remove it completely tho

latent portal
pastel comet
latent portal
mossy lynx
#

the fuck ru saying

pastel comet
#

lo siento no hablo espanol

latent portal
#

I'm sorry guys, I'm trying to find the modeling channel for my game.

latent portal
mossy lynx
#

ur speaking another language bro

#

😭 ✌️

winged oar
#

so

mossy lynx
#

but

#

its right under this

pastel comet
mossy lynx
#

go to modeling

#

its called modeling

latent portal
#

I never had the chance to learn English properly, man.

mossy lynx
#

bro

pastel comet
#

shit mb

mossy lynx
#

if im speakiong english

#

why areu replying to me in whatever that is

#

spanish or sum

latent portal
#

Thank you, brush.

mossy lynx
#

but yeah its there

latent portal
#

Yes, that's Spanish, my friend, it's very similar to English.

azure granite
#

local part = workspace.folder.part

Do i need to do workspace:waitforchild(folder):waitforchild(part)

Or just workspace:waitforchild(folder).part

pastel comet
#

workspace:waitforchild(folder):waitforchild(part) wouldnt hurt unless the script is time sensitive

azure granite
#

and just waitforchilding the parent

#

only

hoary cedar
pastel comet
#

yea theres a difference one waits for the parent and one waits for both if you wait for the kid you wait for the child to exist

#

its not as confusing as it sounds

azure granite
#

oh i thought if parent existed then everything beneath it must have been loaded

#

maybe that was for something else

quaint thunder
#

blv inna e code me dawg

west dirge
#

What are must have in a portfolio?

north dune
weak flax
#

\yo does anyone wanna make a roblox game with me? i alrready have an idea be more of a scripter

#

we split funds

next minnow
#

does anyone have a script for goggles to be wearable

frozen gazelle
#

someday might learn character accessories scripts, idk

trim bolt
#

anybody have a good tut on raycasting

#

i know ill need it for my game

azure granite
#

DateTime.now().UnixTimestampMillis vs Workspace:GetServerTimeNow() vs tick() ?

regal salmon
# trim bolt i know ill need it for my game

Learn how to script Raycasting in your Roblox games! Raycasting is an easy concept to understand, but a very difficult concept to implement, making it one of the most popular scripting concepts on Roblox. Follow along this long, detailed tutorial discussing what raycasting is, how to create visuals for your raycasts, learn RayResults, Raycast Pa...

▶ Play video
inland sierra
#

anyone messed with config service yet?

deft coral
young summit
#

can someone vc with me and help me fix this issue

#

probably the weirdest thing that's ever happened to me

#

my orignal model code is working but not my cloned but they're the exact same

digital canopy
young summit
#

bro

#

i promise u its not

#

dm me

unreal anchor
#

Has anyone ever had issues with Roblox rejecting certs for specific external APIs

#

Like NetFail

#

I'm not sure if Roblox just doesn't like the cert from CloudFlare or if DNS is just propagating

deft coral
#

Theres an API blacklist roblox has

balmy sorrel
#

hi

somber vault
#

would you like to politely join my sevrer?

balmy sorrel
#

nope

somber vault
#

It's in my ass

#

I mean my bio

#

💋

hoary cedar
#

Do you have a portfolio?

quick stream
#

Yes

hoary cedar
#

Send your portfolio here, @quick stream

distant hamlet
#

thats not a portfolio blud

hoary cedar
#

Where is the evidence of your experience as a Roblox scripter?

quick stream
#

Come in dm

hoary cedar
#

Link GitHub projects

#

You can do that right here, @quick stream

quick stream
#

I cant

hoary cedar
strong spire
#

Bro mods

#

@dense plover

inner basalt
#

...................................................

celest pulsar
#

just me or I legit don't see a proper use or practical use of returns outside of using it to end code blocks in module scripts or just end blocks in general

#

kind of like break for loops but instead of loops its if statements and functions

regal salmon
celest pulsar
#

I forgot about that

regal salmon
#

thats like the main purpose of return lol

celest pulsar
#

yea I feel stupid

regal salmon
#

💔

celest pulsar
#

🥀

real fulcrum
#

LF a good scripter to adapt an old pet hatching system i had to my new game with my new pets

celest pulsar
celest pulsar
proud jay
#

I want to apply to be a scripter in the hiddenDevs web. If my game has multiple server and client scripts, do I combine them to 1 file in the github?

regal salmon
#

they still return a result...it's just nil

night prairie
#

wsp yall

cloud prawn
#

anyone need any models trying to expand my portfolio(free) and improve

real fulcrum
#

LF a scripter to adapt my old egg system to my new pets and new eggs

inland sierra
#

anyone know how to make trails look nice in any direction? im making a coin collection system and i want the coins to have an effect when they move quickly

tame ibex
#

ezz

real fulcrum
strong spire
#

@narrow belfry dms

spare widget
#

Who is a roblox dev and can work with me ??!!!

spice minnow
#

how can i repost the game with new stats, the only way i know is to copy a download and repost it but it will affect some scripts, what way can i do for not affecting the scripts?

#

Im gonna post my game but the problem is that the place where we made all the scripts and stuff have very bad stats because we joined the game to test it so it has very bad stats (it was private) if i now post it with this bad stats will it affect it with the algorythm and stuff?

regal salmon
#

then save it in a new experience

#

do that for each place individually

#

except on every place other than the first place just add it to the game you made for it

#

you will have to redo your game settings, but everything in the place will be unaffected

spice minnow
regal salmon
spice minnow
#

GG

spice minnow
#

i tihnk it still work right?

regal salmon
#

its possible they wont even work if the original place is private, or at all

#

i recommend just remaking them

#

same with badges if you have any

jovial crown
#

how to remove fling on high speed objects in roblox studio

woeful vigil
#

Guys how do you guys make your animation handlers? like what does the api look like

regal salmon
distant hamlet
#

30% of 0 is 0

distant hamlet
#

just make a wrapper for animation which just loads it with an id

#

and it handles the stupid animation object creation

brave cairn
slender smelt
#

lf someone who knows python 😄

coarse elm
#

Guys I’ve completed beginner scripting (variables, loops, functions, basic events).
What’s the next step to become an intermediate/advanced scripter?
Appreciate any guidance 👊

rustic torrent
#

25 dau with a 430 minute average playtime

prime merlin
#

Hello my name is Achilles I'm holding 2 channels on socials and I want to advertise peoples games and get either a percentage of their earnings or a fair robux payment. If you are that person or you know someone that could help fell free to dm!

rustic torrent
#

3% conversion with 132 arppu

woeful vigil
distant hamlet
#

you could cache it

#

i dont bother

woeful vigil
#

What do you use?

regal salmon
#

also go to an advanced series..

shut bison
#

local ModuleLoadBatchSize = 10

function SHARED.LoadFolder(folder)
    print("Requiring modules...")
    
    for i, child in pairs(folder:GetChildren()) do
        if child:IsA('ModuleScript') then
            local Module = require(child)
            
            if Module['Init'] then
                Module.Init()
            end
            
            print("Successfully required "..child.Name..".")
        end
        
        if i % ModuleLoadBatchSize == 0 then
            task.wait()
        end
    end
    
    print("All modules have been required.")
end

return SHARED```

is this a good module loader?
gentle stag
#

Hey everyone I have a beginner forum for Roblox beginner devs to start with, it's a tutorial. Dm me if interested

regal salmon
#

it works and i assume it serves your purpose

shut bison
iron tundra
#

why does this not spawn any explosion??? ```while true do
task.wait(0.1)
peter.Transparency += 0.1
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 67 --haha 67 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end

end

shut bison
iron tundra
#

peter is infact still not exploding

regal salmon
iron tundra
#

um yeah i see peters flying

#

and then slowly disseapearing

regal salmon
iron tundra
#

infact no printsa

#

maybe i could do peter:somethingsignalyadayada("Transparency")

regal salmon
iron tundra
#

like this? ```while true do
task.wait(0.1)
peter.Transparency += 0.1
print(peter.Transparency)
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 69 --haha 69 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end

end```

iron tundra
#

not even a singular bit printed ❤️

#

btw ts full code ```local sound = script.Parent.Sound
local peter = script.Parent

peter:GetPropertyChangedSignal("Parent")
if peter.Parent then
sound.Playing = true
end

task.wait(7)

while true do
task.wait(0.1)
peter.Transparency += 0.1
print(peter.Transparency)
if peter.Transparency == 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 69 --haha 69 get it hoho
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(2)
peter:Destroy()
end

end

#

i hid the begining hohoho

regal salmon
#

i take it there's no errors either?

iron tundra
#

ye no errors

regal salmon
#

what type of script is this and where is it located

iron tundra
#

legacy in rs

#

gets copied to workspace

regal salmon
#

make sure the copying is actually working then

iron tundra
#

i infact see peters

#

when joining

#

because i got a spawner which peters get copied to then moved

regal salmon
iron tundra
regal salmon
#

also, does the sound play?

iron tundra
#

yes it plays

#

i used getpropertychange

#

for

#

like

#

it checks for when peters parent is workspace

regal salmon
#

are you sure youre editing the right script

iron tundra
#

it dosent even remove it 😭

#

whatever this is im pretty sure it prints transparency

#

could be because of +=

#

idk

deft yarrow
iron tundra
#

oh lois im duplicating lois

deft yarrow
#

peter.Transparency == 1 then here

iron tundra
#

hold on

#

yess it works

iron tundra
deft yarrow
iron tundra
#

i didnt know that transparency can go over 1 thru code

north dune
#

It dont work that way

deft yarrow
#

it work because in binary value under zero aren't exact like 0.1 can be 0.100000003 and with the addition it doesn't hit a perfect 1 so it doesn't get true and peter will never explode

iron tundra
#

ohhh

#

anyways next thing i have to do is make explosion not delete itself when peter is deleted

#

task.wait(1) will do the trick

#

yeah peak

#

next thing i gotta figure out is if this actually speeds up the spawning ```local piotr = game.ReplicatedStorage.ohlois
local part = script.Parent

while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end

task.wait(7) -- hoho more peters upcoming for more difficulty

while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end

task.wait(7)

while true do
task.wait(0.5)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end```

rancid grove
#

i need sum help with my script

#

im trying to give a badge

#

can anyone help me?

#

ive tried everythingpraysob

iron tundra
#

i geniunly dont know

#

i am bored

#

peter griffin boss fight

rancid grove
#

help me then

kind shore
rancid grove
#

how can i help you? im ahh at scripting

#

anyways

kind shore
#

yeah like i also have an editor issue knife model animate

rancid grove
#

alright

kind shore
#

dm me what's your issue

rancid grove
#

but im trying to give a badge to a player

lapis parrot
#

any tips for learning lua ?

north dune
#

Start with the basics?

lapis parrot
#

ye i watched brawl devs guide

#

but idk what to do now

north dune
#

test your skills

#

try making a simple click detector

viscid crown
#

made a voting game which had a live vote count for all servers!

gray frost
iron tundra
#

pretty late response

#

i did something diffrent

prisma aspen
rustic torrent
#

yo boys

#

im planning on advertising a roblox army typa game at some point within the next month or so

#

so quick question

#

what settings should i use and should I target a specific audience

iron tundra
#

guys how can i make a label change multiple times like a dialoge where if you click once it will say first the thing then if you click again another diffrent thing?

warped rune
#

What to use instead of .Touched guys?

fresh peak
# warped rune What to use instead of .Touched guys?

Click detector or proximity prompt like eg local prompt = Instance.new("ProximityPrompt", part)
prompt.ActionText = "Open Door"
prompt.ObjectText = "Door"
prompt.HoldDuration = 0

prompt.Triggered:Connect(function(player)
print(player.Name .. " used the prompt!")
end)

loud ravine
fresh peak
#

Then raycasting for direction

solar juniper
#

When scripting abilities would it best to do the effects as fireallclient or would keeping it within a range be the best

warped rune
fresh peak
#

Yes

warped rune
#

alright thank you but final question how exploitable is it

fresh peak
#
  1. Raycast from a start point → forward direction
    2. Create a laser beam part from start → hit position
    3. Show it for a short time
    4. Destroy it
warped rune
#

also can it be rescaled while its showing

#

gradually

fresh peak
#

Yes

warped rune
#

alright thank you im doing it fully server sided so it wont be a problem im guessing

fresh peak
#

Best method is like

beam.Width0 = 0.05
beam.Width1 = 0.3

solar juniper
#

Client tells the server: “I hit this player”

cant u just check if the player is close on server

fresh peak
solar juniper
fresh peak
warped rune
#

so if its all on the server no voulnerabilites?

iron tundra
#

ok why does this not reenable the script ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value")

while true do
task.wait(0.05)
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end

open sedge
#

hi

iron tundra
#

the value is 1 but it just refuses to enable the script

safe tundra
#

so i just starting scripting but when i try to do anything to try and learn more i get stuck because i need to do other things like ui and stuf like that so any tips?

iron tundra
fresh peak
open sedge
#

the getpropedgychanged signal is good but you forgot to add :Connect(function() after

solar juniper
open sedge
#

then a end) at the very bottom

#

we all saw that

fresh peak
iron tundra
# open sedge then a end) at the very bottom

something like this? ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value"):Connect(function()
while true do
task.wait(0.05)
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end

end)

iron tundra
#

infact my peter machine is not toggling

fresh peak
iron tundra
#

it is still refusing to enable the script

open sedge
#

are the variables correct

#

and does the dialogue value change to 1

iron tundra
#

yup

#

where should this run tho

#

sss?

solar juniper
open sedge
#

looks like a server script so anywhere you’d like to put it, sss, the part in workspace, wherever you’d like

fresh peak
open sedge
#

just not in client things

fresh peak
iron tundra
#

aight idk why its not enabling tho

#

hold on im gonna shower

#

to remove all my coding skill i learned

fresh peak
#

Oh

#

Damm.

#

Well

iron tundra
#

yes showering

#

yall probably never heard of that

fresh peak
#

I’ve heard

iron tundra
#

lies

fresh peak
#

No

iron tundra
#

by the way this dosent do the trick aswell ```local spawnerscript = workspace.spawner.Script
local dialogevalue = workspace.dialoge
dialogevalue:GetPropertyChangedSignal("Value"):Connect(function()
if dialogevalue.Value == 1 then
spawnerscript.Enabled = true
end
end)

#

i geniunly dont know why

fresh peak
#

Is tha in local script?

iron tundra
#

no

#

server

fresh peak
#

And put it in serverscriotservice

iron tundra
#

i did

fresh peak
#

Use this spawner

script.Enabled = false -- waits to be enabled

while script.Enabled do
spawnEnemies()
task.wait(5)
end

iron tundra
#

the enemies are peters btw

#

🙏

fresh peak
#

Oh

iron tundra
#

peak idea ik

lime gyro
#

What is buffer library used for (genuine question)

fresh peak
#

Got it?

lime gyro
#

So it's better for datasaving ?

fresh peak
#

Yes, but only in specific cases.

#

Think of it as:
A raw byte array
Much faster than tables
Very memory-efficient
Not meant for everyday gameplay logi

#

@lime gyro

#

Now got it?

lime gyro
#

Oh

fresh peak
#

Ye

warped rune
# fresh peak Now got it?

darkgpt fix this script i get the error that tells me roblox wants to crash
``local TweenService = game:GetService("TweenService")
local part = workspace.LOBBY.Circles

local tweenInfo = TweenInfo.new(
.5,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
0,
false,
0
)

while true do
for _, part in ipairs(part:GetChildren()) do
if part:IsA("MeshPart") then
local startCFrame = part.CFrame
local goal = {}
goal.CFrame = part.CFrame * CFrame.Angles(math.rad(90),0, 0)
end

    local tween = TweenService:Create(part, tweenInfo, {CFrame = part.CFrame * CFrame.Angles(math.rad(90),0, 0)})
    tween:Play()
    tween.Completed:Wait(0.1)
end

end``

lime gyro
#

While true is shi

fresh peak
#

So much mistake

#

1st mistake while true do

#

2nd local part = workspace.LOBBY.Circles

for _, part in ipairs(part:GetChildren()) do

#

3rd tween.Completed:Wait(0.1)

#

4th you recreate every tween every time

#

My man fix this shit

#

@warped rune

warped rune
#

fix it i didnt write it

#

u know how to fix it

lime gyro
#

Heartbeat maybe ?

fresh peak
#

Ok

warped rune
#

i took a few scripts dissasembled assembled threw away the rest

fresh peak
#

Gimme a few min

warped rune
#

bet

fresh peak
#

local TweenService = game:GetService("TweenService")
local circlesFolder = workspace:WaitForChild("LOBBY"):WaitForChild("Circles")

local tweenInfo = TweenInfo.new(
0.5, -- duration
Enum.EasingStyle.Linear,
Enum.EasingDirection.InOut
)

-- rotation per step
local ROTATION = CFrame.Angles(math.rad(90), 0, 0)

while true do
for _, mesh in ipairs(circlesFolder:GetChildren()) do
if mesh:IsA("MeshPart") then
local tween = TweenService:Create(
mesh,
tweenInfo,
{
CFrame = mesh.CFrame * ROTATION
}
)
tween:Play()
end
end

-- wait slightly longer than tween duration
task.wait(0.55)

end

#

This should work

#

I removed allmistakes

#

Try

#

@warped rune

fresh peak
#

Ok

warped rune
#

im joking its so good ty

lime gyro
warped rune
fresh peak
lime gyro
#

Ye that'll do

fresh peak
warped rune
fresh peak
#

Tell me 👀👀

warped rune
#

cant tell no one sorry

fresh peak
#

Kk

lime gyro
fresh peak
#

Auto correct is too stupid

warped rune
warped rune
#

its about lasers

fresh peak
lime gyro
#

It's usually used for car systems tho

fresh peak
#

Tweeing is

Simple, safe, crash-free
No physics required
Easy to loop indefinitely
Perfect for cosmetic rotation

#

@lime gyro

#

Hinge / Motor6D would be overkill unless
You want the circles to physically collide with players
You want realistic mechanical beha

lime gyro
#

Ah nah

#

I meant hinge constraints and cylindric constrants

fresh peak
#

Oh

iron tundra
lime gyro
#

It's just cause I hate looping and tweening generally I use them for most spinning stuff

fresh peak
#

Well it’s 12

#

It’s night for me

warped rune
#

exactly 12

fresh peak
#

Good night

warped rune
#

?

fresh peak
lime gyro
#

Cya

warped rune
#

7:34pm

fresh peak
#

Btw wana join my server

warped rune
#

for me

#

sure

fresh peak
#

At my bio

#

Gn to all

#

Have a good day

copper ivy
#

yo guys i need help with something i want to move part around and what i should use? i want to part be not laggy and everyone in the server see at same position even new players that joins

copper ivy
#

make it move around however u want

vestal jay
#

Yo I need help making a stun system just want to know how it works

halcyon cypress
#

how many minutes of playtime should game have on release?

quiet spear
gray frost
#

Set network ownership to the player thats moving it

#

then let them ove it

iron tundra
#

ok i got a issue first clones have scripts inside of them but the rest dont why????????????????? (spawner code) ```local piotr = game.ReplicatedStorage.ohlois
local part = script.Parent
while true do
task.wait(0.2)
local threepeter = piotr:Clone()
threepeter.Parent = workspace
threepeter.Position = part.Position + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
end

(sound and explode code)local sound = script.Parent.Sound
local peter = script.Parent

peter:GetPropertyChangedSignal("Parent")
if peter.Parent == workspace then
sound.Playing = true
end

task.wait(14)

while true do
task.wait(0.1)
peter.Transparency = peter.Transparency + 0.05
if peter.Transparency <= 1 then
local explosion = Instance.new("Explosion")
explosion.BlastRadius = 0
explosion.Parent = peter
explosion.Position = peter.Position
task.wait(1)
peter:Destroy()
end

end
and move the peters scriptlocal threepeter = script.Parent
local sound = script.Parent.Sound
local peter = script.Parent

peter:GetPropertyChangedSignal("Parent")
if peter.Parent == workspace then
while true do
task.wait(0.05)
threepeter.CFrame = threepeter.CFrame + Vector3.new(0,0,1.5)
end

end

gray frost
iron tundra
#

i infact fixed the issue it was the damn local script being everything

#

local script cant handle my legacy script 😭

copper ivy
latent portal
#

Hola chicos, ¿dónde está el canal de modelaje? Quiero hacer una pregunta sobre modelaje.

latent portal
chrome verge
restive birch
#

i need help

#

which when i press a button goes to a hangercam part
i want it so the cam follows my mouse
can anyone help?

regal temple
#

lf passionate scripter to work on a game with my dev team, dm me,

stiff citrus
#

can you use Profile Store and Data store at the Same Time

dapper dagger
#

so this guy is allowed to offer such a low amount of money for that much work, and my job offer gets declined because 5k robux isn't enough for a builder to build a map using free models

#

I thought this server had gotten better at enforcing minimum pricing for recruitment fairs, but clearly that’s not the case

dapper dagger
#

bro look at the tasks noway

#

it's worth 2.5k$ min

dapper dagger
#

i mean if you wanna get jewed it's alright

dapper dagger
stray oak
stray oak
dapper dagger
#

not that big

stray oak
dapper dagger
#

just a casual find the map like find the scissors

stray oak
#

so how big..?

fallow tiger
dapper dagger
#

fair enough

fallow tiger
#

5k robux is pretty much nothing in dev ex terms

dapper dagger
#

I agree that it might not be enough at all

dapper dagger
#

lmaoo

grizzled sphinx
#

please tell me people are actually talking abut code here

dapper dagger
#

yeah ig

#

but it's mostly for errors i believe

fallow tiger
fallow tiger
dapper dagger
grizzled sphinx
#

bro i came from the horrors of code help 😭

slow plover
#

And then everyone came in out of no where

#

So it because code help v2

#

Without discussions of code any at all

stoic radish
#

Setting up Learning Group // Advanced Scripters

To enter you must fill at least 1 of these requirements:
-Know OOP
-Have at least coded anything using module scripts.
-Have finished any Advanced Scripting guide. (Youtube, etc.)
Planning on making this group with challenges you have to complete and everyone doing the challenges sends their file with what they accomplished. Then we help fix any inconsistencies or optimizations for your code.

DM me to join

dapper dagger
#

if you want to learn OOP, you can do it easily by watching this:
https://www.youtube.com/watch?v=fByFKZarNiI

Dive into the OOP paradigm and how it works within Luau.

For more, check out these links:
https://create.roblox.com/docs/luau/metatables
https://luau.org/typecheck

Chapters:
00:00 Intro
00:24 What is it?
01:36 Why do I care?
02:01 How do I it?
02:31 Example
03:25 Tangent
04:07 Example pt 2
09:59 When should I use it?

▶ Play video
brave cairn
#

you're advertising

iron kraken
#

luaoop

#

just know __index

#

metamethod metatable

#

the metatable search itself if it cannot find a table in the table that the metatable is attached to

fallen sequoia
#

Is there any way to check if an instance still exists? Destroying it doesnt make it equal nil, and I can't use FindFirstChild because multiple of the instance have the same name, so I'm wondering what the method is

while LettersFolder:FindFirstChild(Label.Name) do

while Label ~= nil do
fallen sequoia
#

ah right

compact echo
#

guys who can help me my m1 sword system is not that good idk why the animations when they end quickly the animation return to idle or walk i want it to wait a little bit longer to the second animation and why the script takes some time to respond and start the animation

merry cradle
#

making a dev product, is there something wrong with the code

compact echo
merry cradle
#

what

compact echo
#

like "12345678910"

merry cradle
#

oh mb

compact echo
compact echo
#

i remade the system 3 times

bold hound
compact echo
#

wait

bold hound
#

There’s more errors

compact echo
#

where's the ) in end

bold hound
#

Yeah that and the the function brackets too

compact echo
bold hound
#

You can also only prompt stuff from the server when using the MarketplaceService

compact echo
bold hound
#

And connect it to a event to the server

#

At last

compact echo
bold hound
#

?

bold hound
#

It’s a local script

compact echo
bold hound
#

According to him

merry cradle
#

copied it directly from their description

compact echo
#

yep yep good

bold hound
#

That tutorial is dumb

#

It’s not working is it?

merry cradle
#

but not here

compact echo
bold hound
#

Yeah

merry cradle
#

alr it worked

compact echo
#

u r richer than David

merry cradle
#

😔😔

bold hound
#

Still move it to to the server if you wanna handle it better

#

You gotta process the receipt and all that shit

merry cradle
#

since you can purchase products multiple times

compact echo
#

like if he payed the GamePass he will get 99999 crystal and the bla bla power

smoky dagger
merry cradle
#

lmao

#

chat real quick whats this

bold hound
#

Press manage and see what happens

merry cradle
bold hound
#

Happens

west dirge
#

guys once your script works do you delete all the debug prints or keep them just incase

compact echo
#

its the best thing cuz u will have the basic so u just have to fix the bugs

#

then add any frontend things if u like

west dirge
#

i was talking about the prints you make to help w debugging but someone told me to just comment them

#

i did that

#

but thx either way

compact echo
#

or to be faster just send the code to chat gpt to know where's the bug BONK i don't want lose half the time looking for the f small letter

compact echo
#

i don't want to remake the system for the fourth timesWHYYYYY

cinder spindle
#

so i should script animate and use effects??? like make a cutscene or a ablity of sorts?

cinder spindle
distant hamlet
dusky schooner
#

hey could anyone help me with the donation

frail plaza
#

is this the right way to do this?

chilly scroll
frail plaza
#

that would probably be a better way of doing it

#

rn its structured like this

pastel comet
#

dont listen to him clone a new module for EVERY ENEMY

frail plaza
#

should i remove the enemies folder and replace it with an enemies module script

#

would it be a good idea

#

to make a function to find an enemyt

chilly scroll
chilly scroll
#

like data.rig = {}

#

then get it by requiring then data.rig

frail plaza
#

oh wait

#

nvm

chilly scroll
#

then u can easily get it

frail plaza
#

yeah

icy gale
#

Anticipation, overshoot, etc

cinder spindle
#

for example how would anticipation work

icy gale
#

It's what Nintendo does and likely any game studio

#

Well, if you're doing an explosion for instance, you can have a very small twinkle before the blast

#

Usually you don't have time for that and have to stack it all in the recovery though

cinder spindle
#

ooh that’s nice to think

#

how can i get started i have no vfx pack

icy gale
#

The Smash Bros director posted a great video about it some time ago

icy gale
cinder spindle
icy gale
cinder spindle
#

okay thanks

#

tutorials tho?

icy gale
cinder spindle
#

thanks tho dude

#

do you animate or script?

icy gale
#

Script

#

I'm a rubbish animator but I can't afford anyone

midnight dock
#

hey

#

is there a way to get a group shout and who shouted data from a roblox game?

#

i think access is denid

gleaming dove
#

How do I send photos?

fresh peak
#

H

#

Gya

regal salmon
midnight dock
#

is there a good artile or video for api

verbal hemlock
# frail plaza

whats the difference between script, and module script

regal salmon
midnight dock
#

its interesting as shit

#

i think im gonna make my own matter of fact

#

in the future i might even be able to make something better than currently

#

im tryna make some record breaking games

daring chasm
opaque parrot
#

Is it possible to create snow accumulation with Roblox terrain or part terrain? Like Minecraft snow accumulation

compact echo
#

how did they make th background like that

#

i mean this one

midnight dock
#

is it possible to access a group shouts through a proxy

loud dirge
compact echo
loud dirge
compact echo
fallen summit
compact echo
loud dirge
loud dirge
compact echo
loud dirge
dusky schooner
#

could someone pls help me in created a donation leaderboard from scratch
pls

compact echo
#

why the f would ask if its mine

loud dirge
#

Lol i am just confirming

compact echo
#

so u don't know how

loud dirge
#

U mean that square when we move the mouse?

#

I don't actually understand

compact echo
#

nvm i think i got it

#

i have just to try

loud dirge
#

W

verbal tendon
#

Gl gng

loud dirge
compact echo
#

expect SFX

loud dirge
loud dirge
verbal tendon
loud dirge
#

Say what u want to fix less try to fix it

verbal tendon
glass acorn
#

Correct

#

U get a prize

loud dirge
#

Lol what is going on this server

midnight dock
#

did u ever find out

wheat pumice
#

use proxies.

#

make one. not free usually

lapis parrot
fallen summit
#

minor adjustments

#

aero and controls and weapons are completed

#

has new structuring and uses OOP

fallen summit
#

no the only thing providing thust is the engine in a linear direction

inland sierra
#

microwave.. im adding a ding sound and some VFX but this is kinda the basic concept

karmic tangle
#

was that intended

inland sierra
#

because its going to explode

#

js havent gotten to that part yet

karmic tangle
#

ur on the right track then

golden cave
#

yall think ai will overtake programmers

celest kettle
golden cave
#

yeah take in we're literally in the beginning stages of ai

loud dirge
golden cave
#

not in the evil way

#

like the movies

#

but in terms of jobs and such yes

loud dirge
#

@golden cave can u define how your soul work?

golden cave
#

wdym

loud dirge
#

Ai works on billions of example on browser but most of them are just trash

twin cairn
#

I think repetitive tasks can very much be done by AI, Administration, Customer Service, things you do the same task over and over.

#

Finance is also a big thing

#

I doubt if creative fields will actually accept it

#

Especially, if consumers will accept it.

versed meadow
#

is anyone good in discord js bot

regal salmon
radiant mortar
#

Guys how can I fix this
local part = script.Parent

part.Anchored = true

local function onTouchEnded(otherPart)
part.Anchored = false
end

part.TouchEnded:Connect(onTouchEnded)

It ended with breaking a whole wall instead of the place the car hit

versed meadow
radiant mortar
#

Yeah

loud dirge
radiant mortar
#

With the script?

loud dirge
#

Yep

radiant mortar
#

Create a game

loud dirge
#

Lol

#

Say?

radiant mortar
#

Im gonna make a crashing system

loud dirge
#

Use
touched event

#

Part.Touched:Connect(function (hit)
part.Anchored = false

end)

loud dirge
radiant mortar
#

Alr

#

Thanks

loud dirge
#

Mmmm

#

np

regal salmon
#

you should just state your issues immediately, don't waste time saying that you have one

cold crow
#

"chatgpt cant fix my problem"

regal salmon
#

you could've had your issues solved 25 minutes ago if you had just said what the problem was

cold crow
#

thats why it doesnt work

versed meadow
versed meadow
# regal salmon list the issues you're having

anyway, the thing is, every time i go towards the / commands with an interaction, it says 'this interaction failed.' indeed, the problem is that a large part was done with chatgpt, but i don’t really have a better solution for that right now. i’m a beginner

versed meadow
regal salmon
#

or dm it to me if you need to

versed meadow
versed meadow
silent wasp
versed meadow
versed meadow
silent wasp
#

Np

fresh peak
#

To

void imp
#

@rotund galleon hello, can u check ur dm box?

loud epoch
#

local heavy = dead

(only scripting ill ever know)

open python
#

hi

tardy pasture
#

yo if i were to create a pathfinding is it better on the server or client side ?

idle badge
#

client most likely since you dont want to overload the server

#

but if you need it on the server you need to do the calculations on the server

gray frost
#

if you're asking that question then idk if you're ready for pathfinding

fair topaz
#

became restarted

#

absolutely hallucinates stuff

gray frost
#

real

fair topaz
#

dawg cant even give me a snippet from the docs

#

you're better off googling

#

and if becomes slightly complex

#

claude ai will start spitting out bullshit

chilly scroll
#

ai is terrible for luau

#

uses everything depreciated

fair topaz
#

yeah true

left ginkgo
teal bolt
#

anyone know how to keep players from spawning in mid air? and sometimes not at spawn points?

fair topaz
#

used to be way better

left ginkgo
fair topaz
#

nothing

teal bolt
fair topaz
#

claude ai has failed me

teal bolt
left ginkgo
fair topaz
#

and trust me i was a d1 glazer like 4 months ago

fair topaz
left ginkgo
#

and so far only a few compilers exist out there made from scratch

#

simply because its too complex to reinvent

fair topaz
#

guy above also said that claude is bad for luau

#

so in my experience it is bad

left ginkgo
#

ur experience just be bad lol

#

its doing everything for me no issue

fair topaz
#

on roblox it is bad

left ginkgo
#

better than any programmer

fair topaz
#

good for you

#

i'd still rather use claude than any other ai

silent wasp
#

I mean idk I just started using claude

#

It kinda helps when I don't know sm like minor detail

#

Gives quick tips for solutions too

fair topaz
#

data outdated

silent wasp
#

I just modify that data to not be outdated then 🤷

fair topaz
#

js do it yourself atp

#

i resort to claude only to fix the small typing errors before actually compiling the code

silent wasp
#

I just use ai to start and finish it

fair topaz
#

he wont find any real error

silent wasp
fair topaz
#

but still

#

oh i use it for math too

#

but it fell off in basically everything

#

i even have a shortcut on my pc for claude 💔

fallow quiver
#

@opaque cloud dm

steady oxide
#

i use it to fix errors and math

smoky shell
#

local hitboxCFrame = char:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0, 0, -3)
local hitboxSize = Vector3.new(4,4,4)
--Params
local hitboxParams = OverlapParams.new()

        hitboxParams.FilterType = Enum.RaycastFilterType.Exclude
        hitboxParams.FilterDescendantsInstances = {char} -- exclude the character from the hitbox
        -- Excludes Character


        local creatHitbox = workspace:GetPartBoundsInBox(hitboxCFrame, hitboxSize, hitboxParams)
        
        local humsHit = {} -- make a hum table to loop through
        
        for i, v in pairs(creatHitbox) do
            if v.Parent:FindFirstChild("Humanoid") and not humsHit[v.Parent.Name] then
                
                humsHit[v.Parent.Name] = true -- if it finds
                -- another part of the char dont damage it, it has been damage already
                
                Remotefunction:InvokeServer(v.Parent, 10)
            end
        end
    end)
#

anything to improve my hitbox

unreal geode
#

best way to improve

#

its using the same system that uses minecraft

#

really complex math shi

regal salmon
errant basin
#

who can help me with a script of music?

night sky
#

Heyo any scripters wanna make some extra money fixing some bugs??

night sky
torpid crag
#

whats wrong with my code

while true do
    
end
#

it keeps crashing my studio

unreal geode
regal salmon
#

im gonna assume legit

#

what's essentially happening is it's trying to run an infinite number of loops in the span of one single frame
loops that run infinitely need to have some sort of yield at some point in the loop in order to keep studio from crashing, so simply adding task.wait() to the end of it will suffice, or replace true with task.wait()

subtle nebula
#

Nil

#

Why nil

#

Why not false

torpid crag
#

chatgpt says true

torpid crag
subtle nebula
#

What is the code

torpid crag
#

can we get someone who knows what they're doing

subtle nebula
unreal geode
subtle nebula
#

What’s inside the while loop

torpid crag
#

I know for a fact its not nil

unreal geode
subtle nebula
#

You mfs be setting this guy up

torpid crag
#

wouldnt that infinitely loop the while true causing cyclic recursion?

#

I think we need a mod

subtle nebula
#

What’s inside the loop

#

Why just a while loop

torpid crag
#

because it seems to be breaking whats inside the loop

subtle nebula
#

Well a while true do will just loop forever extremely quickly

#

It will crash

#

Too much to handle

torpid crag
#

my pc is powerful I think it can handle a small loop

subtle nebula
#

Clearly not

#

There needs to be some sort of delay

torpid crag
#

I just asked chat gpt and it said you're wrong

subtle nebula
#

Tell chatgpt to suck my singular ball left

torpid crag
#

suck ball left

#

that was funny

subtle nebula
#

code

#

NOW!

fleet silo
#

Sup

brazen estuary
#

easiest fix of all time

#

or just do this:

while task.wait() do end
orchid blaze
#

makes sense

regal salmon
torpid crag
#

:/

hallow dawn
#

What's a good CTR%

plush badge
#

is it possible to remove the edge slipping on a roblox obby ?

spare apex
#

can someone give me some ideas

#

on what to add to my game

vivid dragon
#

Well whats the game about

tame ibex
#

review this object pooler faster than partcache and partpooler

local function New(template:BasePart,amount:number)
    local arr_parts=tc(amount)::{BasePart}
    for i=1,amount do
        local c=template:Clone()
        SetNewIndex(c,'Anchored',true)
        SetNewIndex(c,'CFrame',cf_far_away)
        SetNewIndex(c,'Parent',folder_cache)
        arr_parts[i]=c
    end
    local count=0
    local function Get():BasePart
        count+=1
        return arr_parts[count]
    end
    local function Free()
        SetNewIndex(arr_parts[count],'CFrame',cf_far_away)
        count-=1
    end
    return Get,Free
end
snow raft
#

white space in general

#

too little white space imo makes it harder to read

snow raft
#

that does this

#
local function SetNewIndex(obj, key, val)
  obj[key] = val;
end
#

why

#

what benefit does this have over Changed or GetAttributeChangedSignal

tame ibex
snow raft
#

why dont you use it for arr_parts

snow raft
#

rawset?

snow raft
#

there is no consistency why did you do this 😭

tame ibex
#

arr_parts[count] is a part

#

so SetNewInstance(arr_parts[count],’Position”,newposwha)

snow raft
#

show me the setnewindex function

tame ibex
#

can’t

snow raft
#

if i saw what it was i would probably understand

tame ibex
#

lost the code now

#

because it was so easy to make LOOL

tame ibex
#

which it is

snow raft
#

i once spent a few days trying to make the best task schedular

#

it had like 100x efficiency on task.wait n stuff

#

but at the end it was so bare bones it wasnt even worth it

tame ibex
#

i’m the best

snow raft
#

unless you are pooling 1 million things every second you dont need to focus too heavily on optimizing it

#

and using a function instead of directly indexing values is probably not going to provide much optimization

tame ibex
#

builds up

#

atoms at the start of the universe

snow raft
#

you could alternatively

#

make an object and just pool it that way

void tusk
#

also function overhead

#

non zero cost abstraction

tame ibex
#

passing in part more cost

#

accessing property more cost

#

array is very fast ezzz

void tusk
#

k so im guessing you are joking rn

tame ibex
#

it’s also more elegant

#

Get
Free

Get
Get
Free
Free

void tusk
#

ur not the bloat guy i remember :C

tame ibex
#

no args to pass in ok?

void tusk
#

youve changed ...

tame ibex
#

this is the best pooler i’ve ever seen

snow raft
#
local pooledReserveFolder = -- instance folder in replicated storage
local pooledActiveFolder = -- instance folder in workspace

local function NewPooledPart(obj: BasePart)
  return setmetatable(
    {Part = obj}, {
      Reserve = function(self) 
        self.Part.Parent = pooledReserveFolder;
      end,
      Free = function(self)
        self.Part.Parent = pooledActiveFolder;
      end,
    }
  );
end

#

why not do something like that

tame ibex
snow raft
#

what do you need the efficiency for

void tusk
tame ibex
snow raft
#

really the only thing you need to really focus on efficiency for is things that are rendered every frame or things that are processed every physics step

snow raft
#

it just makes life easier

tame ibex
snow raft
#

i wouldnt do it like that

tame ibex
#

boiling frog analogy

tame ibex
void tusk
#

for that situation, it just doesnt rlly make sense

snow raft
void tusk
#

when you could return a table of functions directly

snow raft
#

everything i make can usually be scaled millions of times without performance issues

tame ibex
#

@void tusk what’s bloat about it

snow raft
#

right out the box

tame ibex
#

there’s a reason for everything i wrote

snow raft
#

i said usually