#code-discussion

1 messages · Page 20 of 1

latent gust
#

260k characters per key

#

= ~256k kb

#

library itself is whats limited

shut sorrel
#

what even is worth 1gb, certainly you can just exclude snippets of a database some other way

#

Use compression too

plucky depot
#

does anyone else get a ton of motivation to work on something for a good 4 seconds then it goes away

latent gust
#

doing hard things separates the men from the boys

crisp steppe
#

who here knows OOP looking for comm work

cold idol
#

Anyone know why my script isn't working? (Yes API is enabled)

somber vault
#

Anyone want to join my team

kind drift
#

Hi

#

I wanted to challenge my code skills

#

but idk what to make

#

what is considered like mid lvl coding ?

#

@forest kayak

sweet finch
somber vault
#

oop

forest kayak
#

try to make a round system

kind drift
bleak glade
plucky depot
bleak glade
#

damn

#

250 for a pet system got me motivated

latent geyser
#

can you guys give some ideas for mini interactable events?

kind drift
#

@latent geyser a ball follow u when it touch u it get teleported at random like not too far from the player then now u have to touch it

#

and therz a timer

kind drift
#

I tried making it but ... ;/

plush veldt
crisp steppe
#

who here knows OOP looking for comm work

thick dagger
#

I'm looking for a plugin where you can put in several scripts and it compared the performance of them in like charts, does anyone know the name of it or who made it?

hasty mesa
#

boatbomber

thick dagger
#

thats it

#

I forgot his name

#

I was thinking between maxiumumadhd or tyridge

mystic igloo
#

i was feeling sad cuz i found this youtube video about a guy that made a very cool game but it only had like 72 visits and then when i looked him up he now has over 100M visits lol

crisp steppe
#

does anyone know OOP here?

gloomy kiln
#

why do coders use vscode

#

what does it do

hexed pollen
scarlet jackal
#

It looks cooler

#

You can customize the background

viral fable
#

does anyone know how the active turn system work in games like final fantasy?

plucky depot
#

what

mystic grotto
#

you lack discipline
dont bother if all you rely on is a little spark

plucky depot
#

??

#

coding and shit isnt something i do 24/7

mystic grotto
#

im just saying, you know that your little burst of motivation won't be enough, and yet you still naively think its worth chasing that little spark of motivation even when you know you don't have what it takes to sustain it

plucky depot
#

bro your acting like some samurai or something telling me off

mystic grotto
#

ok

plucky depot
#

its something that happens to most people

#

just because i wanna work on my game all of a sudden for 4 seconds doesnt mean im never gonna work on it

#

i get that feeling whenever im playing a game already

#

but then i start something else in the game

#

and then it goes away

#

it doesnt matter that much

#

master wu in here 💔

hexed pollen
#

@plucky depot

#

I love you

plucky depot
#

si

#

ok

hexed pollen
#

Just know that

sacred prairie
#

Hmmmm

stray osprey
#

whos a good scripter

hexed pollen
fallen summit
#

i feel like it’s more of a responsibility i have to do rather than if i want to do it

#

which makes me do it

#

and it’s something that i enjoy and i see other people liking what i make which is great

#

i think this is what every dev should try and do imo or else your entire thing won’t be good

split root
#

yo guys

#
local part = script.Parent
local proximityPrompt = part.Parent.es:WaitForChild("ProximityPrompt")
print("ok")
local billboardGui = part:WaitForChild("ShowUI")
print("ok2")

proximityPrompt.Triggered:Connect(function(player)
    print("eje")
    billboardGui.Enabled = true
end)
somber vault
#

Dude i cant make a pls donate stand to save my life, ive been trying to make my own and i cant

split root
#

anyone know why this isnt working

somber vault
split root
#

check users gamepasses id?

#

and then clone a button that will have the ID the players gmepass

#

idk..

split root
ivory dune
#

guys why this script replicate to all player not for one player

local touchedpart = game.Workspace.Checkpoints.Checkpoint1
local playergui = game:GetService("Players").LocalPlayer.PlayerGui
local screengui = playergui.NotesScreenGui
local checkpoint6 = touchedpart.Parent.Checkpoint6
local checkpoint4 = checkpoint6.Parent.Checkpoint4

touchedpart.Touched:Connect(function()
     screengui.Enabled = true
     wait(6)
     screengui.Enabled = false
end)
checkpoint6.Touched:Connect(function()
    screengui.Enabled = true
    screengui.Steps.Text = "Parts are moving again!!!!"
    wait(8)
    screengui.Enabled = false
    
end)
checkpoint4.Touched:Connect(function()
    screengui.Enabled = true
    screengui.Steps.Text = "The parts is moving every 2seconds."
    wait(8)
    screengui.Enabled = false
end)
somber vault
split root
#

lol

hexed pollen
ivory dune
#

answer me guys...

#

...

hexed pollen
hexed pollen
copper apex
#

If it's in starterGUI

#

It gives every player inside it

#

If you want to only have one client, you have to use a remote event

#

Do the touched event on the server, then fire a remote event to the client who touched it, by using hit.parent to get the character

somber vault
#

Yo i got a day ban for talking trash to an exploiter, will this affect me joining the dev ex program i was about to apply?

copper apex
#

Idk

proud yoke
#

@copper apex

#

Dms pls

somber vault
#

yo

#

can someone code this

runic socket
somber vault
#

bet

somber vault
thin nova
somber vault
mighty dawn
#

if parent then workspace

#

end

tough vale
#

what should i do if i'm wanting to start learning how to code in roblox? do i do youtube tutorials roblox youtubers make, experiment in studio, etc

#

sorry if im asking here no one in #code-help is answering

meager anvil
tough vale
slim crest
somber vault
#

Anyone know how to set up animations on scripts (will pay)

hexed pollen
somber vault
meager anvil
subtle bramble
#

Anything less and you're better off spending 16 years coding yourself tbh

meager anvil
#

I'll do it for 3 dollars so I can buy a cheeseburger

meager anvil
subtle bramble
#

Like i said he's better off doing it himself if he pays less than 100 bucks nobody will do that for less

meager anvil
#

Hard work? Brotha, it'd take less then 30 seconds

#

Or you could be a good person and explain to him how, destroying the capitalist market I've worked so hard to install in this channel

subtle bramble
meager anvil
solemn pendant
#

if anyone want the pack dms

#

this pack speific for new devs to improve thier skills :)

north wadi
#

Hiii I was just wondering if anyone knows some good resources to learn to script in roblox studio

hexed pollen
north wadi
inland bay
somber vault
inland bay
#

if you want to make a decompiler

#

then sure

somber vault
inland bay
#

theres only 3 major ones

#

oracle medal and konstant

somber vault
#

Do we need more

inland bay
#

nope

somber vault
#

Alright then I think I'm good

inland bay
#

its piss easy

#

and bytecode past the universal instructions

#

is literally based on the language

somber vault
#

So I should learn bytecode and make a decompiler

inland bay
#

I am just saying its basic

#

and easy

somber vault
#

Well.

#

Why not

inland bay
#

its not like asm though

#

like you would NEVER write a script using bytecode

#

💀

somber vault
#

What's asm

inland bay
#

assembly

somber vault
#

I've never seen that abbreviated before

inland bay
#

its literally always abbreviated

#

😭

somber vault
#

Perhaps I'm crazy

#

I'm probably crazy

hexed pollen
inland bay
#

no?

#

what 💀

hexed pollen
#

?

shut sorrel
#

devforums is where you go when the docs isn't as descriptive as you want it to be, some doc examples are extremely detailed and some is just a short paragraph

gloomy kiln
#

why do coders use VScode

#

what does it do

gloomy kiln
finite steeple
#

looking to hire a scripter paying 40-50$ a hour need a couple jobs done

finite steeple
#

u been scripting ui

#

so it can work

#

and making a checkpoint system

somber vault
#

checkpoint for 40$

#

??

#

thats too high

finite steeple
#

wdym?

somber vault
#

40 $ is a lot for a checkpoint

finite steeple
#

no

#

bc it syncs

#

with ui

somber vault
#

wdym by that

#

like checkpoint makes ui effects?

finite steeple
#

i have a 100% bar at the top

somber vault
#

ohhh

#

hm yeah itll definetely be more advanced then

#

do you have some way of getting the numbers of stages in ur game assuming its a parkour game

#

if no i can just do it myself

finite steeple
#

i got a basicy obby

#

so each stage is a checkpoint yk

#

so would u be down to doing it?

proud yoke
somber vault
gloomy kiln
crimson plank
#

hmm

finite steeple
somber vault
gloomy kiln
gloomy kiln
#

i may not know that much scripting since i'm learning but i think thats a steal

somber vault
#

even 2 bucks

gloomy kiln
#

ngl not even 5 bucks

inland bay
#

a checkpoint system is literally a gpt prompt

gloomy kiln
#

150 robux

inland bay
#

💀

proud yoke
gloomy kiln
#

yea its brawldev

#

head over to playlists then basic scripting

#

he explains everything step by step with an example

proud yoke
#

Ty

somber vault
inland bay
#

checkpoint system isnt worth anything

somber vault
#

people in this server tend to overprice scripters and thats one of the main reasons i started learning scripting

inland bay
#

obby mechanics dont really go for anything

gloomy kraken
somber vault
#

if it was a percentage

#

40% of it would be money and 60% of it would be to have the ability to recreate whatever I can imaginate (which i ofc cant do rn because im not that skilled), and for hobby purposes

gloomy kraken
#

oh good because doing things for money makes that thing a nightmare

cunning harness
#

id give 2 robux

magic heart
thick sapphire
#

How do you organize classes outside of roblox?

#

(for bigger projects)

hardy pilot
#

Huh

#

Like other engines?

gloomy kraken
thick sapphire
hardy pilot
#

I dont understand what you are talking about

soft vault
#

Guess what code this could possibly be

smoky condor
#

What do I do if i dragged my view thing in rbx studio out of the screen and now i cant see the place…

soft vault
#

double click home button>

smoky condor
#

It no work

soft vault
#

holy sigma

#

reopen it ig

smoky condor
#

Alr did

#

No work

#

Nvm it work

#

Just needed to reset my shit

dusky fox
#

who wanna become the co founder of my OP game

whole edge
dusky fox
#

ill do the modeling and building

whole edge
#

dms

latent fox
limber nacelle
#

Yo

#

Albania best country btw

ancient kettle
#

Hey guys, i am making a racing game using the roblox's template, anybody knows how i can make a infinite round system?

whole edge
lean root
#

can anyone know why icant open?

tight spear
lean root
hardy pilot
lean root
#

well well dont judge me

bleak glade
sour vine
# lean root

replace goalopen and goalclose with Open and Close

#

also i dont think u can trigger prompt on regular script

hardy pilot
lean root
#

why?

bleak glade
hardy pilot
#

Also probably because of this

lean root
#

i change it

#

its still not working tho

bleak glade
#

because they’re tables?

hard storm
#

getting luau programmer role is so hard

bleak glade
sour vine
hard storm
#

I mean the role to post commisions n stuff

#

to do

sour vine
#

oh

#

how do u even get the role

hard storm
#

you go to their applications and show a code example

bleak glade
#

nesting is deemed bad and you won’t get the role for a little needed nesting

sour vine
#

cant i just get code from ai?

bleak glade
#

Ai code is not good enough to begin with and they have high standards

hard storm
#

it's harder

#

especially if you get usrdottik to rate your code

bleak glade
hard storm
#

I sent 500 lines of code, that comparing to some of the people doing comms I tought it was even more then needed

sour vine
#

i finna nail it

hard storm
#

yet bang

sour vine
#

wheres the channel

hard storm
#

nested code out of nowhere and api usage too little

sour vine
#

whats nested code?

bleak glade
hard storm
#

I am still trying to figure out where I nested my code

bleak glade
#

It’s indented code

#

It’s not even bad

hard storm
sour vine
#

oh like using for example for instead of tween

#

or something like that

bleak glade
#

looping tables

bronze lynx
sour vine
#

got it

#

whats the channel where i can apply

bleak glade
sour vine
hard storm
lean root
bleak glade
hard storm
#

yeah same bro

sour vine
hard storm
#

I tried to find it

#

but couldn't

#

so wrote this masterpiece

bronze lynx
# hard storm

at least 10,000,000,000,000,000,000,000,000,000 (10^27) iterations

sour vine
hard storm
#

27 itterations

#

10^27

bleak glade
hard storm
bleak glade
#

I wouldn’t even apply it’s fodder

#

especially if dottik is checking it

hard storm
#

I searched his stuff up

sour vine
#

dottik:destroy()

#

redaverage was permenently banned

hexed pollen
hard storm
#

he has 1,335 contributions in github

hard storm
#

We will miss him

#

💯

hexed pollen
hard storm
#

K I guess time to rewrite my application for our favorite dottik

hard storm
#

ANDDD DONE

#

does anyone want to rate my application

sour vine
carmine yacht
daring echo
#

is there a way to randomize npc outfits and if yes, what clothes will they be randomized from

hard storm
#

wait no it's not

#

it will iterate trough each loop

#

but your studio will 100% crash if you try to do anything there

hard storm
#

you just have to create an array of clothes id's for pants, tshirts, e.t.c. and pull random one using clothesarray[math.random(1, #clothesarray)] and apply it to whater clothing it is

daring echo
#

thanks bro! will do that

copper gust
#

is it possible that humanoid.StateChanged() on server side doesnt detect Enum.HumanoidStateType.Jumping when a player jumps ?

somber vault
# copper gust is it possible that humanoid.StateChanged() on server side doesnt detect Enum.Hu...

Yes, on the server side, Humanoid.StateChanged may not always detect Enum.HumanoidStateType.Jumping due to network replication delays or filtering. The client processes movement first, and sometimes the server doesn't receive the jump state change.

    player.CharacterAdded:Connect(function(character)
        local humanoid = character:FindFirstChildOfClass("Humanoid")
        if humanoid then
            humanoid.StateChanged:Connect(function(old, new)
                if new == Enum.HumanoidStateType.Jumping then
                    print(player.Name .. " is jumping!! OMGG")
                end
            end)
        end
    end)
end)```

If it's unreliable, consider using Humanoid.Jumping on the client and sending a remote event to the server ![SHRUG](https://cdn.discordapp.com/emojis/1210642534272081990.webp?size=128 "SHRUG")
copper gust
sacred prairie
#

if ur code indents like this, u need to do better

#

😮‍💨

somber vault
# sacred prairie 😮‍💨

I wrote this on Discord in just 5 seconds, and I'm doing it for free definitely not a passion project. If it were, I'd put in way more effort.

tribal meadow
#

can anyone help me

#

i have a script to play an animation but after character dies the animation does not play anymore

#

local tool = script.Parent
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

local function setupCharacter()
-- Wait for the Humanoid and Animator to be fully loaded
local humanoid = character:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")

-- Setup animation
local swingAnimation = Instance.new("Animation")
swingAnimation.AnimationId = "rbxassetid://99943546814809"

local animationTrack = animator:LoadAnimation(swingAnimation)
animationTrack.Priority = Enum.AnimationPriority.Action

local isAnimationPlaying = false  -- Variable to track if the animation is playing

-- When tool is activated, play the animation
tool.Activated:Connect(function()
    if not isAnimationPlaying then  -- Check if the animation is already playing
        isAnimationPlaying = true  -- Set the flag to true, indicating the animation is playing
        animationTrack:Play()  -- Play the swing animation

        -- Wait until the animation finishes (animation length)
        animationTrack.Stopped:Wait()  -- Wait until the animation is stopped

        isAnimationPlaying = false  -- Reset the flag after the animation finishes
    end
end)

end

-- Setup for the first time the character is loaded
setupCharacter()

-- Listen for when the character respawns
player.CharacterAdded:Connect(function(newCharacter)
character = newCharacter
-- Set up the character again after respawn, ensuring the animation works
setupCharacter()
end)

tough island
#

does anyone here know OOP? if yk OOP dm me

cerulean osprey
#

is there a better way? its weird to type set attribute and get attribute alot when they also change

uncut arrow
tough island
#

does anyone here know OOP? if yk OOP dm me

#

does anyone here know OOP? if yk OOP dm me

stuck radish
#

bro

stuck radish
tough island
#

i did

#

no1 knows what that is

stuck radish
#

..

#

"does anyone know oop" is not the question u should be asking

#

ask what you're having trouble with

tough island
#

no troubles

#

i just need someone who knows OOP

stuck radish
#

ok

tough island
#

and knows the program

tough island
stuck radish
#

🧢

tough island
#

these man are scripters

#

i need someone who knows OOP

stuck radish
#

...

#

ragebait is real

tough island
#

does it look like i care?

stuck radish
#

yes

#

otherwise u wouldn't be asking around in all channels

tough island
#

well i need someone who knows OOP to dm me

#

looks like you know scripting

#

python, lua, java

outer bridge
#

just scripting some stuff to make a nice portfolio and this happens 😭 roblox studio ai is so useless

outer bridge
#

and a few lines around the screen to make it seem faster

hexed pollen
tough relic
honest shuttle
#

hello guys Who is very good at scripting?

#

@everyone

north niche
tough island
#

can i not? say it in dms

sage stirrup
tough island
#

ion need coding help

sage stirrup
outer bridge
#

what do i have to use other than color3? i used it and then an error appeared saying it expected brickcolor.. id like to use rgb.

tough island
sage stirrup
tough island
#

omds

#

bro listen

sage stirrup
#

Ur not allowed to hire outside of it

tough island
#

??

sage stirrup
#

Idc but just letting u know

tough island
#

bro

#

idc if u dont care

#

in hiring they are ded scripters

outer bridge
sage stirrup
outer bridge
#

all he said is u cant hire outside of scripter hiring

#

ur crashing out

tough island
#

im tryna hire someone who knows OOP

sage stirrup
#

Fr

sage stirrup
tough island
#

they are fcking shit

#

i need someone who knows OOP like i said

sage stirrup
tough island
#

how?

#

i do it???

sage stirrup
#

You don’t know how to write??

#

“I’m looking for someone who is proficient in OOP”

#

You haven’t even posted anything lmao

woeful gate
tough island
#

yh ik i havent posted

tough island
woeful gate
tough island
#

this guy is taking the piss

#

all i need is help

woeful gate
tough island
#

i need someone who knows OOP

#

so i can hire them

fallow arrow
sage stirrup
#

Yes that’s why there’s hiring channels

woeful gate
tough island
#

i dont have access

woeful gate
#

create a post in hiring channel

sage stirrup
tough island
#

it wont allow me

sage stirrup
#

What does it say

tough island
sage stirrup
woeful gate
tough island
woeful gate
#

do

sage stirrup
#

Do / post

woeful gate
#

No space in between / and post

sage stirrup
#

Next time let’s learn to use our words instead of getting mad at everyone

woeful gate
stone storm
#

whats a great way to start my scripting journey in roblox

sage stirrup
woeful gate
#

Or use chat got

#

gpt*

sage stirrup
#

Have a project in mind, use code online to do it and along the way you’ll learn

sage stirrup
#

No problem

woeful gate
#

😊

tough island
#

why is it an error?

sage stirrup
#

After safe items f

sage stirrup
tough island
sage stirrup
#

You need to add one

woeful gate
stone storm
tough island
woeful gate
sage stirrup
tough island
#

that's how you create datastores right?

sage stirrup
#

No

#

Don’t use profile service yet if u don’t know data stores

tough island
#

shi

#

idk how to make data stores

sage stirrup
#

Read that

woeful gate
#

he has to read Al that

#

ahahahhaa

tough island
floral marsh
#

doesnt run on give me any errors

stone storm
#

like how code help exists

sage stirrup
woeful gate
floral marsh
#

s

tough island
#

im confused af

stone storm
#

now what i meant, sorry

woeful gate
#

And when u ask for help u get called skid

tough island
#

i want it to pop up into here

floral marsh
#

i cant send the code....

#

its too long

sage stirrup
woeful gate
floral marsh
#

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage.RemoteEvent
----------------------------------------------------- Remotevent
local Userinputservice = game:GetService("UserInputService")
local Players = game:GetService("Players").LocalPlayer
-----------------------------------------------------Checks
local Unlocked = Players:WaitForChild("Unlocked")
local Rinnegan = Players:WaitForChild("Rinnegan")
----------------------------------------------------- Eyes Value
local LeftEye = Players:WaitForChild("LeftEye")
local RightEye = Players:WaitForChild("RightEye")

-- Right

#

----------------------------------------------------- Input
local function Effect()
local ColorCorrectionEffect = Instance.new("ColorCorrectionEffect")
ColorCorrectionEffect.TintColor = Color3.new(0.737255, 0.415686, 1)
ColorCorrectionEffect.Parent = game.Lighting
end

local Camera = workspace.Camera.FieldOfView
local function Fov()
Camera = 180
end

----------------------------------------------------- Eyes Settings
local RinneganInstant = game.Workspace.Sound:WaitForChild("Main")
local RinneganCut = game.Workspace.Sound:WaitForChild("Rinnegan")
----------------------------------------------------- Sounds

------------------------------------------------------ CutScene

Userinputservice.InputBegan:Connect(function(Input, gameProccesedEvent)
if Input.KeyCode == Enum.KeyCode.G and Rinnegan.Value == 1 and Unlocked == 1 then
if not game.Lighting:FindFirstChild("ColorCorrectionEffect") then
Effect()
end
RinneganCut:Play()
LeftEye.Value = "Rinnegan"
Camera = 80
end
end)

-- left eye
Userinputservice.InputBegan:Connect(function(Input, gameProccesedEvent)
if Input.KeyCode == Enum.KeyCode.G and Rinnegan.Value == 1 and Unlocked == 1 then
if not game.Lighting:FindFirstChild("ColorCorrectionEffect") then
Effect()
end
RinneganCut:Play()
RightEye.Value = "Rinnegan"
Camera = 80
end
end)

woeful gate
#

brawldev is perfect

#

He has a vid on datastores

floral marsh
#

it doesnt run or give me any errors

floral marsh
woeful gate
tough island
#

ion understand tbh

woeful gate
woeful gate
#

and some of ur variables are undefined

#

plus make a reference to camera variable like ur variabl is named Camera and just do Camera.Fieldofview = 80

#

u can’t just do camera = 80

tough island
#

ion understand this data

#

thing

#

it doesnt pop up

woeful gate
stone storm
#

data happen, data gets stored
player come back, data restored

#

Btw, do u guys think too much tutorials can be harming

somber vault
#

GUYS HELP HELP HELPH ELHPHE LP

#

OI NEED HELPPPPPPPPPPPPP

#

HELP ME

floral marsh
north niche
outer bridge
#

yah, i found out. thanks.

light shard
#

ill make ppl backend and frontend websites for free since i cant find jobs and am bored and i need portfolio

#

ill make ppl backend and frontend websites for free since i cant find jobs and am bored and i need portfolio dm me

quartz aurora
#

i made an auto rebiths gamepass system. does it good ?

somber vault
#

Any1 wanna make a duo game? I have a map already and a solid plan

#

Dm me

pseudo lynx
#

how can i make a spray can tool thath wotk s like on aspray paint game?

#

i asked here because people are yappin in the code help

weary chasm
#

You just have to track when the tool is eqquiped then track when the player holds the mouse click after that get the mouse hit position and add on that position the part that is colored

pseudo lynx
#

ok thanks

glass garden
#

If anyone uses my Lines of Code plugin, I finally updated it after almost 10 years

somber vault
#

Yo

#

Any1 wanna make a game

#

I got progress

weary chasm
#

What is the game about?

quartz aurora
#

can someone help me fix my code ?

#
local respawnTime = 5 -- Temps en secondes avant le respawn
local originalPosition = part.Position

local function onTouch(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        local leaderstats = player:FindFirstChild("leaderstats")
        if leaderstats then
            local bricks = leaderstats:FindFirstChild("Bricks")
            if bricks then
                bricks.Value = bricks.Value + 1
                part:Destroy()
                wait(respawnTime)
                respawnPart()
            end
        end
    end
end

local function respawnPart()
    local newPart = part:Clone()
    newPart.Parent = part.Parent
    newPart.Position = originalPosition
    newPart.Touched:Connect(onTouch)
end

part.Touched:Connect(onTouch)```
#

?

weary chasm
#

What do you want the script to do?

quartz aurora
#

to give 1 of bricks value when touched and after 5 seconde the part respawn at the same pos

weary chasm
#

Maybe the problem is that you get the players character and leaderstats are in the player from players

quartz aurora
#

ok

sage stirrup
stone yarrow
#

why tf is this simple ass code wont work

quartz aurora
#

the respawn part function doesn't work

stone yarrow
#

im just trying to make the gui appear and disapear bruh

sage stirrup
sage stirrup
#

Script.parent.mousebutton1clicked

#

Wait nvm lol

#

Wth is this code 💀💀

stone yarrow
quartz aurora
stone yarrow
sage stirrup
sage stirrup
sage stirrup
stone yarrow
#

game.players.localplayers Doesnt make sense at all to me

quartz aurora
#

its getting the client

sage stirrup
#

@quartz aurora you’re destroying the part that has the script in it lmao

quartz aurora
#

oh...

#

thats why...

#

then i just need to make the part invisible and not able to get touched for 0.5 seconde

sage stirrup
#

A better way to do it is this:

use the respawn function for the initial part, in the script change local part to the new part so you can do stuff when that new part is touched

#

And you can safely destroy the part

stone yarrow
# quartz aurora .

its getting the client to detect if the player is clicking the button?

quartz aurora
#

no not rlly

sage stirrup
quartz aurora
#

its just a function

#

to get player

#

but in local

stone yarrow
#

i forgot what function do lol

#

is this better?

#

tf does this mean

quartz aurora
#

the code is working but not too good

sage stirrup
quartz aurora
#

local function respawnPart() 
    part.Transparency = 1
    part.CanTouch = false
    part.CanCollide = false
    part.CanQuery = false
end

local function respawnPart2() 
    part.Transparency = 0
    part.CanTouch = true
    part.CanCollide = true
    part.CanQuery = true
end

-- Define the onTouch function
local function onTouch(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        local leaderstats = player:FindFirstChild("leaderstats")
        if leaderstats then
            local bricks = leaderstats:FindFirstChild("Bricks")
            if bricks then
                bricks.Value = bricks.Value + 1
                respawnPart()
                wait(2)
                respawnPart2()
            end
        end
    end
end


part.Touched:Connect(onTouch)```
#

buttt its giving me more than one some time

sage stirrup
#

Put it in server script services

quartz aurora
#

and i dont know how to fix this

sage stirrup
#

Just have one respawn function

quartz aurora
#

oh ok thw

stone yarrow
quartz aurora
#

local part = script.Parent

local function respawnPart()
part.Transparency = 1
part.CanTouch = false
part.CanCollide = false
part.CanQuery = false
wait(2)
part.Transparency = 0
part.CanTouch = true
part.CanCollide = true
part.CanQuery = true
end

-- Define the onTouch function
local function onTouch(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
local bricks = leaderstats:FindFirstChild("Bricks")
if bricks then
bricks.Value = bricks.Value + 1
respawnPart()
end
end
end
end

part.Touched:Connect(onTouch)

#

is it better like thhat ?

stone yarrow
#

keycode is not a valid member of something something?

sage stirrup
#

KeyCode not Keycode

stone yarrow
#

you mean the caps lol

quartz aurora
#

bro i got 7 bricks instead of 1

#

thats cap

stone yarrow
#

coding might not be my thing lol

#

FUCK

#

i cant believe i miss the other keycode lmao

quartz aurora
#

is this code working ? : local DataStoreService = game:GetService("DataStoreService")
local bricksDataStore = DataStoreService:GetDataStore("BricksDataStore")

game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

local bricks = Instance.new("IntValue")
bricks.Name = "Bricks"
bricks.Parent = leaderstats

-- Charger les données du joueur
local success, data = pcall(function()
    return bricksDataStore:GetAsync(player.UserId)
end)

if success and data then
    bricks.Value = data
else
    bricks.Value = 0
end

end)

game.Players.PlayerRemoving:Connect(function(player)
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
local bricks = leaderstats:FindFirstChild("Bricks")
if bricks then
-- Sauvegarder les données du joueur
local success, errorMessage = pcall(function()
bricksDataStore:SetAsync(player.UserId, bricks.Value)
end)

        if not success then
            warn("Failed to save data for player " .. player.Name .. ": " .. errorMessage)
        end
    end
end

end)

sage stirrup
#
local part

function respawnPart() 
    part = Instance.new("Part") -- or you can clone something in relicated
    part.Touched:Connect(onTouch)
  
end

-- Define the onTouch function
function onTouch(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if not player then
      return
    end
    
    local leaderstats = player:FindFirstChild("leaderstats")
    if not leaderstats then
       return
    end

    local bricks = leaderstats:FindFirstChild("Bricks")
    if not bricks then
      return
    end
    
    bricks.Value += 1

    part:Destroy()

    respawnPart()
end

respawnPart()

#

@quartz aurora

quartz aurora
#

thx

stone yarrow
#

finally working

#

next i have to make a inventory system :D

#

idk how to start

slim crest
#

Does anyone know how to fix lerp jittering?

mystic grotto
slim crest
mystic grotto
# slim crest Wym?

runservice provides an argument called deltaTime which tells you the time between frames; since the time between frames is not always consistent, you get jittering. Multiply your lerp's t by dt to mostly fix it

slim crest
mystic grotto
slim crest
somber vault
#

@echo stag when terraria

simple field
#

How do I add a particle to play when I run my code?

#

Like I have a flight system and I want the particle to play when I run my code which it does but it doesn't play when the player enters flight the second time

slim crest
#

() whenever u want it to emit

simple field
#

And what if it has a specific name

slim crest
#

Then put that specific name..

uneven latch
#

hi guys this script is not working can you give me advice?

toxic iron
uneven latch
#

serverscriptservice

#

@toxic iron

toxic iron
#

you need to enable jumpower to use it

#

local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        local humanoid = character:FindFirstChildOfClass("Humanoid")
        if humanoid then
            humanoid.UseJumpPower = true
            humanoid.JumpPower = 1000
        end
    end)
end)```
toxic iron
somber vault
#

Anyone can script this?

toxic iron
somber vault
#

lokey

#

20

#

yea

#

wait can in be 15?

uneven latch
uneven latch
wary pollen
#

don't use chatgpt or deepseek for luau

uneven latch
#

so there is better AI for lua?

wary pollen
uneven latch
floral marsh
#

i could do it for free

somber vault
#

Bet

north niche
somber vault
# floral marsh explain it

So basicly its for my main menu and if you hit the down errow it goes down and hit it again it goes down and if you hit it again down it goes back to the first one

somber vault
#

check it out

somber vault
#

bet

floral marsh
#

but

somber vault
#

but.

floral marsh
#

u gotta wait tomorrow

somber vault
#

..

floral marsh
#

its late atm

somber vault
#

its 5:56

floral marsh
#

its 1 am

somber vault
#

oh nvm different timeline

#

1 am?

#

bro pls its quick

floral marsh
somber vault
#

..

#

how ik you not gonna steal it?

floral marsh
floral marsh
mossy field
somber vault
#

thats even worst

floral marsh
#

im js bulding up my portofolio

floral marsh
somber vault
#

wait

floral marsh
#

far from demon slayer

somber vault
#

you doing naruto game?

floral marsh
#

yup

somber vault
#

bro

#

stop fucking copying

floral marsh
#

wym?

somber vault
#

do sum different

#

im doing naruto game

floral marsh
floral marsh
somber vault
#

uhh

floral marsh
#

ye

somber vault
floral marsh
#

animations

somber vault
floral marsh
#

and akatsuki sh

somber vault
#

bro

#

im doing

#

IT

#

NOT

#

YOU

floral marsh
#

i am

somber vault
#

you fucking stealing me ideas

floral marsh
#

no

somber vault
floral marsh
#

u just showed me a demon slayer game

somber vault
#

yea did you not see the main menu 😭

floral marsh
#

ill do much proggress

somber vault
#

what about this i help you and you help me?

floral marsh
#

i made the rinnegan

floral marsh
somber vault
#

STstop copying

#

im making the rinnagan

floral marsh
#

😭

somber vault
#

let me see

#

its prob shit

#

send in dms

floral marsh
somber vault
#

NOOOOOO

#

bruh

floral marsh
somber vault
#

we got the same mind

#

i was doing some plans

floral marsh
somber vault
#

ooo

carmine yacht
#

@sacred wagon

floral marsh
carmine yacht
# carmine yacht <@1113835538525470771>
local function onPlayerRemoving(player)
    if not playerOwned[player] then return end

    for _, v in playerOwned[player] do
        characterObjects[v] = nil
    end
    
    table.clear(playerOwned[player]);
end
#

you did not clear playerOwned when leaving

somber vault
#

Bruhhh

carmine yacht
#

im gonna lose my shit

somber vault
#

lol

#

Yo darkest

#

can you get on pc and show me

#

i like seeing stuff

floral marsh
floral marsh
carmine yacht
#

thats not my resource

#

and why would i do that

floral marsh
carmine yacht
#

theres no need to store the userid that would be even stupider

somber vault
#

bro pls

carmine yacht
#

because then gc would not clean it up at all

floral marsh
#

tomorrow

carmine yacht
#

as the index would still be relativce

#

relative

#

lmao

somber vault
somber vault
floral marsh
#

😂

somber vault
#

bro

#

ima beat your ASS

carmine yacht
#
[10000] = true; -- won't be cleaned up by gc
[Instance(XXXXXXXXXXXXXXX)] -- will eventually be cleaned up by GC once the instance is 'removed' (in this case the player, this takes time though)
``` @floral marsh
somber vault
floral marsh
somber vault
#

than let me see rinnagan

carmine yacht
floral marsh
carmine yacht
#

but he forgot to cleanup a table that has meshparts that are stored in a table

#

binded to player instances

#

i added the cleanup for it it's 1 line fix but its annoying because i have to make a massive change on something else i released

#

for a brand deal

floral marsh
#

copy and paste it

carmine yacht
#

bro i don't need the roblox assistant

#

you don't even understand what i am talking about

floral marsh
#

sir

carmine yacht
#

you just told me to use a numbered index

#

instead of an instance that will be nullified

floral marsh
#

cus my eyes are red

carmine yacht
#

GC wont clean up the numbered index

floral marsh
#

im dying

carmine yacht
#

ragebait bro

floral marsh
carmine yacht
#

yea that cleanup was the fix

floral marsh
#

ull grt a dm from me

floral marsh
#

and oh ye loading screen is gonna better

somber vault
#

yea

#

yea

#

your loading screen is gonna be SHIT

#

lol

#

and stop fucking copying me

somber vault
feral plank
#

So I have been scripting for a while now and I got all the basics down. But the only thing that I don't understand is "Module scripts". Like I get that they store information and u can ask for it from any other script but I see a lot of developers using more module scripts then local or server scripts. Can someone please tell me the value of module scripts or like a example cuz I really don't know where to use them
Is there something about them I don't know about?

somber vault
#

Paray

#

@feral plank

feral plank
#

yes

somber vault
#

you think you can script this?

feral plank
#

what does it do

#

I can make that gui

somber vault
#

i thought it was ovy..

feral plank
somber vault
#

.

#

just look at the game

#

and look at main menu

#

exacly

#

..

#

@feral plank

#

@mellow perch

feral plank
#

i'm still new

#

but it doesn't look that hard

somber vault
#

ok.

feral plank
somber vault
#

umm

#

can one of you do my shit?

feral plank
#

I came here for help and one is asking me to rate his mid menu and the other wants me to make his game 😭

somber vault
#

who me?

#

@mellow perch do my shit now donkey

#

lol

#

lollol

#

lollllllllllllllllllllllllllllllllllllllllllllllll

#

no

#

do it for me

#

yea

#

@mellow perch

exotic stream
somber vault
#

in ad manger for some reason the game in the group doesnt show up

slim crest
#

Can someone help me with a lerp glitch😭 Ill pay 1k if fixed

tidal owl
exotic stream
tidal owl
#

maybe add dialogue

exotic stream
#

i was gonna add that later its still a WIP

#

since u cant really have achohol or cigarettes in r oblox :I

tidal owl
somber vault
#

ooo your 18?

tidal owl
#

yes

somber vault
#

HEHEHE

#

alr bet so um i already got Ihatereal but what about you help me with my game naruto game? and i got alot stuff like a option button thing i want it to be like when you press m

#

Can you do that?

somber vault
#

bet

tidal owl
#

i dont have to make the gui do i

somber vault
#

no you dont

#

i do it

#

alr lets

#

yea i can do a chat

#

add me rq

tidal owl
#

added

somber vault
#

alr

#

bet

inland bay
#

nice gif steal

north wadi
#

Just wondering would 10k (robux) be enough to hire someone to script an entire game. Would include scripting an admin panel, currencies, uis, code system (like redeeming a code for a certain amount of cash), teleportation, daily quests, and similiar tasks. Wouldnt be a strict deadline or anything would be months

hot wraith
#

Guys why did a fucking page come from nowhere, look

north wadi
#

same issue

#

The hell is going on

hot wraith
#

idk xd

north wadi
#

Hopefully it gets fixed later or sum

hot wraith
#

I was wondering if I'd been hacked

north wadi
north wadi
hot wraith
hot wraith
north wadi
#

noo vencord emoji deleted 💔

proud yoke
somber vault
#

true 😭

pseudo quarry
#

Coding anything for cheap just dm

copper rune
#

this might be a braindead question but is chatgpt good for scripting?

#

I mean you could ask it to make you anything and it would.

hot wraith
somber vault
#

Is it possible to send a picture from somebody roblox pfp to a webhook in discord?

tough grove
#

Is this tracking on what device my game crashes?

serene kelp
frigid stag
#

It's cool

somber vault
#

will a day ban i just got affect me joining the dev ex program?

exotic stream
frigid stag
exotic stream
somber vault
worldly harbor
#

yo

exotic stream
peak summit
#

is anyone able to help me with datastores?

safe tinsel
#

I can!

#

Whats the problem?

sacred mauve
young olive
#

finally got my new gaming pc and can work on my game now

somber vault
# exotic stream update on gas station game

This looks pretty cool!

Suggestion: make some (rare chance) customers talk different languages such as Spanish or french, and you can make maybe some sort of system to understand them not by language but maybe by something else

and you get paid a little extra by this, is just a suggestion though

carmine imp
primal jacinth
#

can anyone help me out

hushed basin
# celest geode

its decent at like maths related problems but its horrible with the roblox api lmk

golden stratus
primal jacinth
#

im using a global leaderboard free model

golden stratus
#

dm me

primal jacinth
#

and im trying to change the currency from cash to shapes

gloomy kraken
plucky plank
#

when i make combat systems whats the best way to avoid replication lag? from both players?

gloomy kraken
#

i... didnt look properly and always thought it was a woman

celest geode
gloomy kraken
celest geode
#

I haven't but they exist

#

Trust me bro

plucky plank
#

cap

celest geode
hard storm
#

bro took the stupid pill

hard storm
#

obv they can get pregnant

celest geode
#

MODS

plucky plank
plucky plank
gloomy kraken
hard storm
celest geode
#

My favorite democrat activists all said it's true therefore it's true

gloomy kraken
#

i thought guys dont have the organs to get pregnant

celest geode
hard storm
celest geode
grand basalt
#

people who want to buy roblox followers at a good price come dms

somber vault
#

can someone help me with my tower defense game?

modern timber
modern timber
somber vault
grand basalt
modern timber
modern timber
celest geode
gloomy kraken
celest geode
gloomy kraken
# grand basalt blue badge

yeah but wouldnt a person have a guilty conscience knowing that they didn't get those followers legit?

main mason
hardy pilot
main mason
#

now I see why

#

cause it's prob him

novel ingot
#

Y’all think an anti cheat that detects when a hacker injects their scripts is doable?

main mason
hardy pilot
#

And it can backfire

main mason
hardy pilot
main mason
#

the only way I see is checking the memory

hardy pilot
#

There's some different methods but its usually just something niche

#

Then it bans the entire playerbase at a change or gets bypassed really easily

novel ingot
#

Ya saw this game that has one and now I’m interested, I had a friend test it and they were banned immediately upon injection

main mason
#

what game ?

novel ingot
#

A game called Donation Central

hardy pilot
#

Half of the methods people use also get circumvented when you autoinject

hardy pilot
novel ingot
#

True

#

My game has a bunch of hackers so I wanted to hire someone soon to make an anti chest sometime In the future

#

Im Cooked

#

Thanks for the info!

hardy pilot
#

What are they exploiting in your game specifically

#

Does movement give them that much of an advantage

novel ingot
#

Basic flying, high jump,auto kill and stuff

#

Im sure I can just hire someone to make an anti chest for those

main mason
#

make a basic anti cheat on the client