#code-discussion

1 messages · Page 40 of 1

bleak topaz
#

and clone in into that inven

fossil salmon
#

if i insert a humanoid into a table do i need to clean it manually after the humanoid dies?

static coral
#

might be able to bypass it by using __weak metamethod

fossil salmon
static coral
#

but im not too sure how it works

fossil salmon
static coral
ebon frost
#

oh

bleak topaz
#

you can for instance create a folder of all the items in your ganme

#

and make it corrospond to the object that lets you pick up the item

ebon frost
#

wdym

bleak topaz
#

uh

#

you could create a folder via explorer

#

in rep storage

#

or server storage

#

and then inside it create your items

ebon frost
#

can i jsut dm you

spare reef
#

What’s something easy I can script as a beginner

remote bear
#

i managed to optimize chunk storage to reduce memory

ebon frost
#

so

shadow steeple
ebon frost
#

uh

#

can i have some help

arctic ginkgo
#

I’m desperate now, The mesh blox plugin I use for converting meshes into terrain is not working properly does anybody have any idea as to why???? It used to work

#

Is it maybe because of the new studio update?

ebon frost
#

uh

#

so ```game.Players.PlayerAdded:Connect(function(player)
-- Create the inventory folder for the player
local leaderstats = Instance.new("Folder")
leaderstats.Name = "inv"
leaderstats.Parent = player

-- Create an inventory folder to hold the items (parts)
local inventory = Instance.new("Folder")
inventory.Name = "Items"
inventory.Parent = leaderstats

-- Handle proximity prompt interactions
local function onProximityPromptTriggered(proximityPrompt)
    local part = proximityPrompt.Parent -- Get the part that has the proximity prompt

    -- Clone the part, but only store relevant information
    local partClone = part:Clone()

    -- Store the relevant information in the player's inventory (such as name and position)
    local newItem = Instance.new("ObjectValue")
    newItem.Name = part.Name
    newItem.Value = partClone -- Store the reference to the cloned part
    newItem.Parent = inventory

    -- Optionally, you can destroy the original part or make it disappear from the world once added to inventory
    part:Destroy() -- This will remove the part from the world
end

-- Assuming you have some parts with proximity prompts, listen for those prompts
for _, part in pairs(workspace:GetDescendants()) do
    if part:IsA("ProximityPrompt") then
        part.Triggered:Connect(onProximityPromptTriggered)
    end
end

end)

winter stratus
#

anyone needs a coder?

ebon frost
#

me

#

i need help

winter stratus
ebon frost
#

i tried gtp lol

#

im tryna do like a dead rails bag ysstem

winter stratus
#

wait

#

wait a sec

#
    -- Create the inventory folder for the player
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "inv"
    leaderstats.Parent = player

    -- Create an inventory folder to hold the items (parts)
    local inventory = Instance.new("Folder")
    inventory.Name = "Items"
    inventory.Parent = leaderstats

    -- Handle proximity prompt interactions
    local function onProximityPromptTriggered(proximityPrompt)
        local part = proximityPrompt.Parent -- Get the part that has the proximity prompt

        -- Create a new ObjectValue to store the item's data
        local newItem = Instance.new("ObjectValue")
        newItem.Name = part.Name
        newItem.Value = {
            Position = part.Position, -- Store the item's position
            -- Add other relevant data here, like item type, color, etc.
        }
        newItem.Parent = inventory

        -- Optionally, you can destroy the original part or make it disappear from the world once added to inventory
        part:Destroy() -- This will remove the part from the world
    end

    -- Assuming you have some parts with proximity prompts, listen for those prompts
    for _, part in pairs(workspace:GetDescendants()) do
        if part:IsA("ProximityPrompt") then
            part.Triggered:Connect(onProximityPromptTriggered)
        end
    end
end)

``` try now
ebon frost
#

uh

#

so

strong latch
#

anybody need a cheap scripper

winter stratus
ebon frost
#

its not working

#

all im tryna do is make it so proxmity prompot adds the part to inv

#

but

#

idk howto

winter stratus
#

lol

ebon frost
#

me too

#

Lol it geets it wrong

winter stratus
#
game.Players.PlayerAdded:Connect(function(player)
    -- Create the inventory folder for the player
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "inv"
    leaderstats.Parent = player

    -- Create an inventory folder to hold the items (parts)
    local inventory = Instance.new("Folder")
    inventory.Name = "Items"
    inventory.Parent = leaderstats

    -- Handle proximity prompt interactions
    local function onProximityPromptTriggered(proximityPrompt)
        local part = proximityPrompt.Parent -- Get the part that has the proximity prompt

        -- Clone the part, but only store relevant information
        local partClone = part:Clone()

        -- Store the relevant information in the player's inventory (such as name and position)
        local newItem = Instance.new("ObjectValue")
        newItem.Name = part.Name
        newItem.Value = partClone -- Store the reference to the cloned part
        newItem.Parent = inventory

        -- Optionally, you can destroy the original part or make it disappear from the world once added to inventory
        part:Destroy() -- This will remove the part from the world
    end

    -- Assuming you have some parts with proximity prompts, listen for those prompts
    for _, part in pairs(workspace:GetDescendants()) do
        if part:IsA("ProximityPrompt") then
            part.Triggered:Connect(onProximityPromptTriggered)
        end
    end
end)
correct the error in this code
#

@ebon frost try now

ebon frost
#

bruh

winter stratus
#

i asked chat gpt again

ebon frost
#

broke the script

winter stratus
#

ayo

#

actually

ebon frost
#

ye

winter stratus
#

put -- in this part and i think it should work now

strong latch
ebon frost
#

dont got money for that stuff

strong latch
#

i do it cheap

#

hella cheap

ebon frost
#

i have 0

#

🙂

winter stratus
#

same

strong latch
ebon frost
#

nah dont got any

strong latch
coarse nimbus
#

stop begging for jobs

winter stratus
strong latch
ebon frost
coarse nimbus
#

what are "buissnessas"

strong latch
winter stratus
# ebon frost ty
local part = script.Parent
local prompt = part:FindFirstChildWhichIsA("ProximityPrompt")

prompt.Triggered:Connect(function(player)
    -- Check if player has an inventory
    if not player:FindFirstChild("leaderstats") then
        local leaderstats = Instance.new("Folder")
        leaderstats.Name = "leaderstats"
        leaderstats.Parent = player
    end
    
    -- Add to inventory (example using IntValue)
    local inventoryItem = player.leaderstats:FindFirstChild("ItemCount") 
        or Instance.new("IntValue")
    
    inventoryItem.Name = "ItemCount"
    inventoryItem.Value = inventoryItem.Value + 1
    inventoryItem.Parent = player.leaderstats
    
    -- Optional: Destroy the part after collection
    part:Destroy()
    
    print(player.Name.." now has "..inventoryItem.Value.." items")
end)
ebon frost
#

could you format that

winter stratus
#

yes

#

did it work?

ebon frost
#

no

winter stratus
#

send a pic of it

ebon frost
#

nothying

#

it literally doesnt do anything

bright vapor
#

I have a script I need help with so I have this module script and I'm trying to make it so the effects causes the there stats to change but what would I add to add/subtract from there leaderstats and stuff?

winter stratus
ebon frost
#

yew

#

ye

#

im trying to do somthing prettyv sepcifci

winter stratus
naive verge
#

Anybody wanna make a thirst trap game and monitize kids for some brainrot game

naive verge
#

Ye

strong latch
#

how much

naive verge
#

Half the profits and a 3.5k rbx

strong latch
#

bet

#

partial upfront

#

?

naive verge
#

I dont be doing thay

#

All upon completion

alpine jungle
#

making a roblox game but not very good at scritping can anyone help me?

odd marlin
#

Who here A Good Ui Maker

#

@here

ebon frost
#

wrong place

strong latch
#

fine

#

dm me

alpine jungle
#

You have a lobby and spawn system where the game waits for two players to join. Once two players are ready, a cube spawns, and all players are teleported to the top of it. There will be different styles, with one being randomly chosen out of five. There will also be kill parts scattered around, and the last person standing wins.

I’m planning to implement a crate system where players can get boosts like extra jump or other abilities to help them perform better. I also need to fix the loading screen and update the text labels for things like intermission (waiting for players) and map loading messages.

winter stratus
alpine jungle
plucky brook
#

@alpine jungle what do you mean by styles? As in maps?

strong latch
#

nobody is going to do it for free

alpine jungle
plucky brook
#

yeah nothing good is for free lol

strong latch
alpine jungle
#

i dont wna tit crazy good i jsut want the basics got done

strong latch
#

rocrazzy

#

ill do it for cheap

alpine jungle
#

is that okay?

strong latch
#

for like one or two of the systems

alpine jungle
#

just make the whole teleport and text label system work thats it

strong latch
#

for 700?

#

teleport to a seperate place or somewhere different in the game

alpine jungle
#

it will jsut be one location

strong latch
#

likie a different place

#

?

alpine jungle
#

ill try fdn someone who will do it for free ik someone will be nice

strong latch
#

bro

#

nobody works for free

#

and whoever does doesnt make good stuff

#

@alpine jungle

alpine jungle
strong latch
#

if u want your game to do good it cant be from people that work free

strong latch
alpine jungle
#

no i just want the basics done the rest of scripting iwant to earn

#

learn

strong latch
#

somebody help me out here bro

strong latch
plucky brook
#

@alpine jungle i recommend you do the basics first so you can learn…

alpine jungle
#

ik its jsut i struggling so hard id what to do

strong latch
#

hire me

plucky brook
#

go in code help if theres something you dont understand and ask questions, everyone asks for help to get to where they are.

plucky brook
#

@strong latch how long have u been doing lua for.

strong latch
#

i aint that great thats why i do commissions for pretty cheap

winter stratus
#

talking no an illiterate is hard bro😭

strong latch
#

yipee i got a working sack system like deadrails

bleak topaz
#

if i worked on lua for a year and got comms FOR ANY PRICE i would be a happy man

#

😭

strong latch
#

🤷‍♂️

lusty barn
#

kind of does if you don't wanna be given ts

#

with no organization and 100 tick errors

#

quality of code matters too

strong latch
#

🤷‍♂️

hearty spruce
#

yo who wanna make a inv system for 700-1.6k

hearty spruce
#

its glitched

#

it doesnt work

strong latch
spare reef
#

What is something I should make as a new scripter

#

I have done a kill brick

#

Moving part

#

Uhhh teleport pads

#

That’s it

#

Hellooo

sonic juniper
#

Intermission system

spare reef
#

Idk anything about gui scripting

#

Not quite that advanced

median tiger
median tiger
median tiger
oak frost
#

Is there any recognised or "industry standard" way of clumping repeated inputs to decrease client server traffic? For example a clicker game, is there a way to avoid firing a remote every time the player clicks the button?

rotund bay
#

guys so if my script has 116 errors what dat mean

hearty spruce
#

bro if anyone wants a scripter, you should hire @bleak topaz he is very polite and is rlly good and cheap and is like very hardworking lol. He is a very talented scripter. he made a whole inv system for 300 robux

somber vault
#

when i hold click it works but if i click it breaks why is this happening

somber vault
#

they're effing useless

#

nvm i fixed it

tidal steppe
#

whats the best way to sort numbers highest to biggest

#

highest to lowest

#

i mean

exotic ferry
#

Does anyone know why this doesn't actually push back the player?

            local otherChar = otherPlr.Character
            local otherCFrame = otherChar:FindFirstChild("HumanoidRootPart").CFrame
            local backwardsDir = -otherCFrame.LookVector
            local knockBackForce = backwardsDir * pushStrength 
            
            otherChar.HumanoidRootPart:ApplyImpulse(knockBackForce * otherChar.HumanoidRootPart.AssemblyMass)
            
            print(plr, " has hit and pushed back the player: ", otherPlr)
            
            task.spawn(function()
                task.wait(punchTime)
                hitDebounce = false
            end)```
#

doesn't throw any errors.

lost pebble
lost pebble
bleak glade
#

i have a bubble sorter in c

#
  
void sort(int* values) {
  int i, j;
    for (i = 0; i < MAX - 1; i++) {
        for (j = 0; j < MAX - 1 - i; j++) {
            if (values[j] > values[j + 1]) {
                swap(&values[j], &values[j + 1]);
                printValues(values); 
            }
        }
    }
} ``` you dcan use this but compare values > to sort it highest to lowest, just convert it to luau
bleak glade
mint cloud
maiden cedar
#

yo im looking for a scripter for a fun little project. dm me

mint cloud
bleak glade
mint cloud
tall snow
mint cloud
odd galleon
#

umm i try to write tool script but instead weapon or something like that i just want it to play idle fist stance thing

tall snow
#

on click or on equip?

frank pollen
#

oh Tool.Equipped:connect(function()

ur stuff here

end)

odd galleon
frank pollen
#

? :Play has Parameters?

odd galleon
#

nop

tall snow
#

yeah

odd galleon
#

idk how to write it play right

tall snow
#

take out the parameters in your :play function

frank pollen
#

Normally id use just :Play and :Stop

odd galleon
#

okay i did

#

oh

#

i didnt know it can just write stop lol

#

i thought it have to only boolen like true or false

frank pollen
#

When you type :Play click inside those parenthesis

#

and Read what pops up, these are the only things you can put in there

odd galleon
#

o

surreal sky
#

can anyone tellme why this doesnt work?

odd galleon
#

do it have to do with animation event

tall snow
surreal sky
surreal sky
fringe pond
#

What's in the output when ran?

surreal sky
surreal sky
surreal sky
fringe pond
#

I'd suggest learning how to use modules, remote events, and some key roblox functions if you want to learn the most important things

surreal sky
fringe pond
#

Yes

surreal sky
fringe pond
#

prevents burnout and keeps you motivated to learn more

#

Always think of what you can make with what you're learning, otherwise you'll feel it's useless

surreal sky
fringe pond
mint cloud
fringe pond
#

Eventually, you can take small commissions, which can be a motivation of their own

#

Or you can begin your "dream game" after you've learned enough

#

Both work and they do in-fact enhance your skills

mint cloud
#

Or you can take a commission while knowing nothing because 🤑

fringe pond
fringe pond
fringe pond
#

I've paid devs over 60k (scripters) for certain things because they have experience in keeping it clean, modular, functional, and maintainable

#

Where as I wouldn't pay more than 500 for a scripter who knows nothing 😂

mint cloud
#

Cap

#

Fake it till u make it

remote bear
#

i have improved the memory in my system now i just new to improve the speed sad_hamster

shrewd sierra
#

@unreal herald your anticheat game is GARBAGE it crashes on join. Im sorry

valid edge
#

Is anyone here scripter

bronze lintel
#

i am

tiny crescent
#

making a game need 1/3 devs

remote bear
night maple
#

For some reason whenever I enable crouch and keep holding the same key in which I was moving the animation of crouching doesnt play and freezes at the keyframe it was enabled on UNTIL I change direction or stop, then the animation plays well

I'm thinking it might be something regarding the movedirection connection but I'm unsure so I'm asking for help

local function Crouching(input, typing)
    if typing then return end
    
    
    if input.KeyCode == Enum.KeyCode.LeftControl then
        if humanoid:GetAttribute("MovementStunned") == true then return end
        if isRunning == true then return warn("Attempting to Crouch While Sprinting") end
        if coolDownCrouch == true then return end
        
        isCrouching = not isCrouching
    
        if isCrouching then
            crouchTrack:Play()
            crouchTween:Play()
            crouchTrack:AdjustSpeed(0)
            
            humanoid.WalkSpeed = crouchSpeed
            humanoid.JumpPower = 0
            
            coolDownCrouch = true
            task.wait(0.5)
            coolDownCrouch = false
        else
            
            crouchTrack:Stop()
            tweenDefault:Play()
            
            humanoid.WalkSpeed = defaultSpeed
            humanoid.JumpPower = 50
            
        end
    end
end
userInputService.InputBegan:Connect(Crouching)




humanoid:GetPropertyChangedSignal("MoveDirection"):Connect(function()
    if humanoid.MoveDirection.Magnitude > 0 then
        crouchTrack:AdjustSpeed(1)
    else
        --currentCam.FieldOfView = defaultFOV
        crouchTrack:AdjustSpeed(0)
    end
end)```
weak radish
#

I did not realise how annoying exploiters are

#

You have to do sm remote events its crazy

frank pollen
#

wym?

#

add event validation

tiny crescent
#

who builder 3/4 devs

frank pollen
#

everything important should be done on server anyways

weak radish
#

You cant store chances client side

frank pollen
#

you shouldnt store chances client side anyways????

weak radish
frank pollen
#

no you wouldnt

weak radish
#

Since its much faster

frank pollen
#

Storing your chances effects speed?

#

your not opening 1 million runes at once 😭

#

it literally makes 0 difference

weak radish
#

Remote events make it slower

frank pollen
#

Write a speed test script

#

and show me

weak radish
#

Do you not think remote events make it slower?

#

Do you think they are instant?

frank pollen
#

they dont.

#

they are instant

#

.0002seconds does not change anything

weak radish
#

Try firing more than 1 event in the time a player leaves

frank pollen
#

Yeah, thats easy

weak radish
frank pollen
#

.0002 seconds

#

it takes longer to close off the client that to run a remote...

weak radish
#

Not two

frank pollen
#

Woah .0004 seconds

#

Takes longer to run 2 remotes than it does to close the client

weak radish
frank pollen
#

you do realize that you have nothing that will be effected by .0002-4 seconds

frank pollen
#

not even .001 seconds or .01

weak radish
#

God

frank pollen
#

you can run it 50x and the player wouldnt even feel it

weak radish
frank pollen
#

Run it 100-300 times and most players wont feel it.

weak radish
#

.

frank pollen
#

my data stores run with out the player even noticing it

weak radish
#

How many remote events do you have fire when the player leaves

frank pollen
#

1 but im saving a 500-600line table

#

Filled with data

#

Possibly Thousands of lines worth of data

weak radish
#

Have you tried kicking the player...

frank pollen
#

it does not matter, the player wont feel it.

weak radish
frank pollen
#

it saves

weak radish
#

And if you're sending a 500-600 line table

frank pollen
#

the moment they leave, it saves

weak radish
#

Exploiters can change that

frank pollen
#

no they cant

#

its on the server

weak radish
#

Why are you sending stuff to the client

frank pollen
#

Client has 0 access to it

weak radish
#

As they leave

frank pollen
#

im sending from the client to the server

weak radish
#

.

frank pollen
#

one last validation

weak radish
#

Then its on the client

frank pollen
#

It gets validated before saved

#

and the remote triggered to update the data, has traceback validation

#

even if you were to bypass it, you couldnt

#

traceback validation will instantly ban you for attempting to bypass it

weak radish
#

How are you gonna verify every stat

frank pollen
#

Comparing before, after with a % difference

weak radish
#

So they can change it..

frank pollen
#

Nope

weak radish
#

.

frank pollen
#

The Remote required to, has Traceback

#

only very specific scripts can run the save trigger

weak radish
#

Omd

#

If you're comparing before and after

#

With a %

#

Then it allows a limited amount of percentage increase

#

So you can change it

frank pollen
#

Except they CANNOT save it

#

because i validate the data

#

Every change, gets validated

#

if you make a change, with out the validation

#

It automatically bans you

weak radish
#

Whats the game then

frank pollen
#

My data gets validated

weak radish
#

The theme

frank pollen
#

This is on my Inf Miner

#

Thousands of lines of table gets saved, it requires validation for every change, because every change gets saved

#

the player doesnt even feel these checks

weak radish
#

The client can just increase in small amounts

frank pollen
#

no, they cannot

#

because thats an unvalidated change

#

it will ban automatically

weak radish
#

Its gonna be validated if its small

frank pollen
#

no it wont

weak radish
#

Otherwise actual ones wont validate sob

frank pollen
#

Change - Validates * saves*

#

what they are doign is *Change * - saves

#

the validate isnt occuring

#

Meaning it will instantly ban

worldly harbor
frank pollen
weak radish
#

My computer wont run either without 100 errors

#

Ive gone to like every forum

#

Everything and it still doesnt wrok

frank pollen
#

i just hate python tho 😭

weak radish
#

Pythons basically lua

frank pollen
#

so i use D++

frank pollen
remote bear
#

i managed to lower the memory used now i just need to make it run faster

silver verge
#

summing up python as a language only for discord bots is kinda crazy

hardy pilot
#

Deleting messages

#

wow

rocky lynx
#

nothing to see here

hardy pilot
#

Aura loss was immense

rocky lynx
#

caught testing some message deletion functionality

#

lmao chill queln my aura is still intact

exotic ferry
lost pebble
valid edge
#

Can anyone help me to add to my roblox game an map?

#

Pls

hushed veldt
exotic ferry
lost pebble
#

and the print statement prints?

regal turret
#

i know html,css,js
can i get work?

ember nimbus
ruby kite
#

anyone having this shitty problem

remote bear
ruby kite
#

makes debugging whole a lot worse than the old version

somber vault
#

discord client modifications violate the Discord terms of use

rocky lynx
#

What discord client modifications?

#

message deletion functionality is built in.

somber vault
#

nah

#

discord removing it soon

#

because that allows people to conceal law breaking information

rocky lynx
exotic ferry
#

Here's the code

#
local hitBoxModel = game:GetService("ReplicatedStorage"):FindFirstChild("hitBox")
local debris = game:GetService("Debris")

local pushStrength = 200
local punchTime = 0.3


punchSpawnFire.OnServerInvoke = function(plr)
    local hitDebounce = false
    
    local plrChar = plr.Character
    local hitBox = hitBoxModel:Clone()
    local playerCFrame = plrChar:FindFirstChild("HumanoidRootPart").CFrame
    local lookVectorOffset = playerCFrame.LookVector * 2 -- Gets 2 studs in front of the player's CFrame / Direction.
    local desiredCFrame = playerCFrame + lookVectorOffset
    
    
    hitBox.Parent = plrChar
    hitBox.Anchored = true
    hitBox.CanCollide = false
    hitBox.CFrame = desiredCFrame
    
    
    hitBox.Touched:Connect(function(obj)
        local otherPlr = game.Players:GetPlayerFromCharacter(obj.Parent)
        if otherPlr and otherPlr ~= plr and hitDebounce == false then
            hitDebounce = true
            local otherChar = otherPlr.Character
            local otherPos = otherChar:FindFirstChild("HumanoidRootPart").Position
            local direction = (otherPos - plr.Character:FindFirstChild("HumanoidRootPart").Position).Unit
            
            print(otherChar.HumanoidRootPart)
            print("Massless?", otherChar.HumanoidRootPart.Massless)
            otherChar.HumanoidRootPart.AssemblyLinearVelocity = direction * 1000
            
            print(plr, " has hit and pushed back the player: ", otherPlr)
            
            task.spawn(function()
                task.wait(punchTime)
                hitDebounce = false
            end)
            
        end
    end)
    
    task.spawn(function() -- Wait the desired punch time, to then delete the hitbox.
        task.wait(punchTime)
        debris:AddItem(hitBox, 0.1)
    end)
    
    
end```
hardy pilot
#

Stopped happening to me though

lost pebble
# exotic ferry ```local punchSpawnFire = game:GetService("ReplicatedStorage"):FindFirstChild("p...

i see you changed it up a bit. if the code is executing, then idk what else to tell you rather than check to see if the velocity is actually getting set to the hrp. also there are a few things you should change. when cloning the hit box, you should set the properties first then parent it. always parent last when cloning or making a new instance. and the part where you use Debris to destroy the hitbox, you dont need to use task.spawn(). it'll already make a new thread for you

obsidian lark
#

anyone wanna join my project?

#

looking for a scripter.

turbid torrent
turbid torrent
timber bramble
teal saddle
#

Guys I need a scripter who accepts commission for a battleroyale game

unreal herald
night maple
#

why whenever I print the players move vector from the playermodule it always = 0,0,0? how am I supposed to get the value changed

ruby kite
#

what is assistant even about bro 🙏

sullen spruce
#

Need a full scripter who want join a big project and may accept %

vocal parrot
#

anyone down to help me out im stuck my code dosnt work

keen narwhal
#

Working on another theme extensions used javascript for everything

crystal sparrow
#

Hello! Are you a scriptwriter or a builder? With friends, there are 4 of us and we plan to create a Battle Ground on the theme of Fairy Tail. For the game to work, you need some skill! We need Animator. Of builder. VFX you have to be competent. We have YouTube channels and we offer an ad fee of 1200 robux per month. If you're competent, answer us, it could be great!

flat jacinth
#

for all of the new ones I HAD TO FIND IT OUT AFTER DIGGING FOR 2 HOURS

touched CANT BE ON THE CLIENT/LOCAL SCRIPT ONLY SERVER SCRIPT

flat jacinth
#

at least not for parts

hushed pond
#

Why would you use .touched on client ?
I'm not criticizing, just asking a use case.

elder spruce
#

can someone help me im new to scripting

elder spruce
flat jacinth
hushed pond
lucid kayak
#

touched sucks anyway

hushed pond
novel cloak
#

touched isn't that useful outside of very basic games

flat jacinth
flat jacinth
#

just practicing

elder spruce
# hushed pond What do you need help for

im trying to make a countdown of 20 seconds then reset, i m trying to make a simple obby with yk those two glass things one fake one real? and when countdown resets the they change collide. also add a sign next to it that show the cowntdown but when i do with while true loop the randomize of obby and countdown have a ~100-200ms difference, idk what to do with module or anything im new

#

idk even how to explain that

hushed pond
elder spruce
flat jacinth
spark fable
elder spruce
#

the problem is that i have just started and i dont know events im pretty sure something easy asf exist there for this

spark fable
surreal sky
#

can anyone tell me why this doesnt work?

latent gust
#

the irony is hilarious

vast hornet
#

i'm using this function to make a player rejoin my game, but it gives out an error code, please help

slow plover
timber bramble
#

actually

#

gaslighting remotes to be bindable events my fav ❤️🙏

eager sentinel
#

LOOKING FOR SCRIPTERS, WRITE TO ME IF U ARE SCRIPTER

balmy plume
#

I heard youve been looking for me

frank gorge
#

local waifu = Instance.new.Part("Waifu")

serene nexus
#

i wish scripting was literal

#

like u deadass just type what u want to happen and it happens

sudden python
#

Arghhh

balmy plume
bronze depot
serene nexus
#

sheesh

#

i could be a scripter then

jade cosmos
#

hello my fellow programmers 👋

plucky brook
#

👋

sonic juniper
#

Im trying to uses jakobsen's model for "advanced character movement" but i cant get the particles to move sensibly

#

Is anyone familiar with it?

formal abyss
#

I need clothing favorite bot

idle badge
#

what's arg1 in ```lua
IntValue.Changed:Connect(function(arg1))

#

it says it's a number

#

but what for

timber bramble
#

its a string

mint cloud
#

Why

timber bramble
#

i dunno im speaking nonsense

#

no bro like its an intvalue

#

and youre listening to its changed event

#

what could it be 😭

#

other than a damn number

mint cloud
#

Intuition told me it should be the new number

timber bramble
crude flume
#

Where did u guys learn lua?

mint cloud
#

The internet

opal yarrow
#

Yt?

abstract badge
#

HELP my first time makeing a game wth does that error message orange thing at the bottom say

opal yarrow
#

From which channel ?

merry meadow
#

where to start coding from?

abstract badge
merry meadow
#

I have been a roblox dev and earned 50k robux and 200$ but I want to furnish my basics

#

because I am not able to take on big major tasks

merry meadow
#

so I want to restart from basic

mint cloud
abstract badge
opal yarrow
abstract badge
#

making the most basic cookie clicker jus need to figure out how to make pets and do leaderboards and make gamepass's XD

mint cloud
abstract badge
#

dont understand where i went wrong

abstract badge
opal yarrow
#

I think u need to put player parentheses in the bracet and add player inside the if statement I guess so i am not a advance scripter

abstract badge
opal yarrow
#

Oo

mint cloud
abstract badge
#

like that?

bleak glade
# abstract badge

why are you adding that when you already wait for it? it would infinite yield before it ever runs that if

mint cloud
abstract badge
abstract badge
gaunt delta
#

does anyone know how I can stop the camera from being obstructed by some parts similarily to how you would use collision groups

mint cloud
gaunt delta
#

no

#

Like i want the camera to be able to go through them

#

yk that trick that people used to do for obbys

#

im working on a tower defense game for some people and im trying to make it so that the mobs dont obstruct the camera

honest hinge
#

just set CanCollide to false

#

?

deft rover
# abstract badge

try doing "if leaderstats:FindFirstChild("Rebirth") or rebirth then
print("true")
else
print("false")
end"

deft rover
idle badge
# abstract badge

why is everything in a local script (if you want to change values, you would need a server one)

little epoch
#

Could someone give me advice on what to add to my game after trying it out? I want to ensure that it's successful.

hasty mesa
gaunt delta
deft rover
hasty mesa
#

in the camera module

gaunt delta
deft rover
#

if yourCamera:IsA("Camera") then
part.CanCollide = false
elseif yourCamera:IsA("Player") then
part.CanCollide = true
end

deft rover
hasty mesa
valid axle
#

and how do you want to set the cameras cancollide to false or true gng

valid axle
eternal igloo
#

ive never scripted before, chatgpt and youtube tutorials are the G for it

abstract badge
eternal igloo
#

chatgpt never fuckin works tho

abstract badge
#

right

eternal igloo
#

it says stuff and it dosent work

#

it puts you in a 6 hour long loop

nova geyser
#

does anybody have a good yt tutorial to help me learn to code

abstract badge
#

its cause it dosent have all the information it needs like existing variables in other scripts

eternal igloo
#

is there a channel for looking to make a game

#

with others

deft rover
eternal igloo
nova geyser
deft rover
eternal igloo
#

lol

#

is there a channel where u can look for other people to make a game w eachother

#

i need ts

abstract badge
#

tf

#

an onion?

#

mmmm onions

shrewd sierra
abstract badge
eternal igloo
deft rover
abstract badge
#

eeeeeeh thats enough scripting for today

#

replace what

eternal igloo
#

anyone tryna make a game w me

#

or do i gotta solo ts

deft rover
#

if leaderstats:FindFirstChild("Rebirth") print("true") else print("false")

unreal herald
deft rover
#

replace that

deft rover
abstract badge
abstract badge
eternal igloo
eternal igloo
#

i aint gon lie

#

any game rlly we js need ideas

eternal igloo
#

i got a few ideas

deft rover
#

you typed it wrong

eternal igloo
#

if you wanna hear em

deft rover
#

its "Rebirths" not "Rebirth"

unreal herald
spare reef
#

What’s something easy I can make as a beginner

#

I’ve made a kill brick

#

Teleporter

valid axle
spare reef
#

And moving platform

eternal igloo
spare reef
#

lol

valid axle
eternal igloo
#

👍

eternal igloo
valid axle
#

i dont think anyone wants to make a game with you then lmao

eternal igloo
#

im more of a modelling person

spare reef
#

What’s something easy I can make as a beginner

valid axle
eternal igloo
abstract badge
spare reef
#

Bruh

#

I can’t make an entire clicker simulator

eternal igloo
#

@abstract badge @deft rover

yall tryna hear my ideas

spare reef
#

I’m talking something rq

#

Small thing

eternal igloo
deft rover
spare reef
#

That’s too hard rn

abstract badge
spare reef
#

Me

#

Too

valid axle
eternal igloo
eternal igloo
shrewd sierra
eternal igloo
#

i can try though

abstract badge
#

neither did anybody else in this chat ask

abstract badge
valid axle
#

0/10 ragebait

abstract badge
#

so why u gotta be rude

valid axle
#

its just the true gng 🙏

eternal igloo
abstract badge
valid axle
valid axle
eternal igloo
#

so?

#

i can figure it out bro

#

hop off

abstract badge
#

keep yo ugly ass opinions to yourself how bought that

valid axle
#

so how do yall tryna make a gaem then

abstract badge
#

sense u think u some mighty being

valid axle
#

i acc am

eternal igloo
#

gaem

unreal herald
valid axle
abstract badge
#

lol

eternal igloo
#

...

valid axle
#

😮

eternal igloo
#

fake af

valid axle
#

whats the job of the mods

eternal igloo
tiny crescent
#

who wanna join challenge 3/4 devs

valid axle
tiny crescent
valid axle
tiny crescent
valid axle
tiny crescent
valid axle
supple spindle
#

lmao

west swan
#

is tick() faster or more accurate than task.wait()?

valid axle
#

i would use task.wait or task.delay and stuff i dont really use tick much

west swan
#

alright thanks

haughty pawn
#

is it possible to script a sim game with AI?

valid axle
gaunt delta
haughty pawn
valid axle
#

i mean

#

nah not really just sort the stuff to the right category

#

and it should work too

haughty pawn
#

tru

solid adder
#

WHO IS A GOOD SCRIPTER? We are trying to hire someone for our game! DM

shrewd sierra
native orchid
west swan
#

alr

stone root
#

ppl, if i have a function calling a coroutine and i yield outside of it, am i yielding the main thread instead of the current coroutine?

tropic cove
#

bro im going to go mental, is it just mine or is otheres roblox studio just randomly not letting you click buttons but it still responds? like its not crashing or slowing it just wont let you interact, i mostly get it after i press play and press stop and then it starts to bug like why is it doing this

rain kernel
#

CAN ANYONE SEND ME A ROBLOX FILE OF A GAME

abstract badge
#

pls someone help fix this code

#

local rebirthButton = script.Parent
local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvents = replicatedStorage:WaitForChild("remoteEvents")
local rebirthEvent = remoteEvents:WaitForChild("rebirth")

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local leaderstats = player:WaitForChild("leaderstats")
local clicks = leaderstats:WaitForChild("Clicks")
local rebirths = leaderstats:WaitForChild("Rebirth")
local gems = leaderstats:WaitForChild("Gems")

rebirthButton.MouseButton1Click:Connect(function()
local clicksValue = clicks.Value
local rebirthsValue = rebirths.Value
local rebirthsAmount = tonumber(rebirthButton.Name)
if rebirthsAmount then
local cost = 100
local gemsGiven = rebirthsAmount + 10

    if clicksValue >= cost then
        clicks.Value = clicksValue - cost
        rebirthEvent:FireServer(rebirthsAmount, gemsGiven)
        gems.Value = gems.Value + gemsGiven
    end
end

end)

#

ive been trying to figure this out for the whole day

ocean valley
# abstract badge local rebirthButton = script.Parent local replicatedStorage = game:GetService("R...

local rebirthButton = script.Parent
local replicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvents = replicatedStorage:WaitForChild("remoteEvents")
local rebirthEvent = remoteEvents:WaitForChild("rebirth")

local Players = game:GetService("Players")
local player = Players.LocalPlayer

-- Wait for leaderstats and its children
local leaderstats = player:WaitForChild("leaderstats")
local clicks = leaderstats:WaitForChild("Clicks")
local rebirths = leaderstats:WaitForChild("Rebirth")
local gems = leaderstats:WaitForChild("Gems")

rebirthButton.MouseButton1Click:Connect(function()
local rebirthsAmount = tonumber(rebirthButton.Name)

-- Make sure rebirth amount is a valid number
if rebirthsAmount then
    -- Set cost dynamically based on rebirthsAmount if needed
    local cost = 100 * rebirthsAmount
    local gemsGiven = rebirthsAmount * 10

    if clicks.Value >= cost then
        -- Call the server to handle the rebirth securely
        rebirthEvent:FireServer(rebirthsAmount, gemsGiven)

        -- These updates should ideally happen server-side!
        -- If your server handles them, you can remove these lines:
        clicks.Value = clicks.Value - cost
        gems.Value = gems.Value + gemsGiven
    else
        warn("Not enough clicks for rebirth!")
    end
else
    warn("Invalid rebirth amount from button name!")
end

end)

abstract badge
#

thats what i keep getting

#

every time

ocean valley
abstract badge
#

no

#

i dont know what ive done wrong

rain kernel
#

is uncopylocks,com legit

stone root
#

local rebirths = leaderstats:WaitForChild("Rebirth") ts?

abstract badge
#

16:25:33.947 Infinite yield possible on 'Players.skullybones007.leaderstats:WaitForChild("Click")' - Studio

stone root
#

well then where do u get the rebirth with waitforchild? theres ur error

stone root
#

make sure rebirth does exist

abstract badge
#

its supposed to be Clicks

#

and Rebirths

#

however its giveing me yet another message

#

is this what scripting is like wanna kms

#

hate ts

stone root
#

lol

#

what u tryna do bro?

#

onclick consume all clicks and increase rebirth by one?

abstract badge
#

YES

#

exactly that

#

so the rebirth resets all your clicks and gives u 10 gems and increases rebirths on leaderboard by 1

stone root
#

well

abstract badge
#

well

stone root
#

u doing sm weird

#

invalid rebirth amount from button name

#

local rebirthsAmount = tonumber(rebirthButton.Name) could be this idk im blind, not in roblox rn

#

what u have to do bro is get the values from the ls, make a function to do the process, call the function on click, and also, inside the function, fire the server with just the parameters u need, and on the server script, get the event call, and process another function to set the corresponding values

#

fire server, from a local, u can send the plr + params, so u get the plr and with the values on the params, u set the values to that specific plr

ornate coral
stone root
abstract badge
stone root
abstract badge
#

imma jus scrap it delete it all figure something else out

#

ion have time to spend a whole day on one bit of script

pearl osprey
#

how your days and games going guys 😄

rain kernel
#

is xeno a good executor for stealing games

pearl osprey
#

why would you steal games?

abstract badge
#

MODS BAN EM

#

not stealing my game lil boy XD

abstract badge
#

its essentially a virtual window into a server where people can jus go all up in ur shit

#

dont use it if u do use a virtual machine

pearl osprey
#

lol

#

where can i get testers for free 🙂

#

i made a game like toh but endless and It took me 5 hours, and i need to just play with someone and see their reacctions for how it is

bleak topaz
#

im pretty sure client is better for that kinda stuff

ornate coral
austere hamlet
#

L/F scripter willing to pay 1k+ rbx 🙏

grand oak
distant lintel
#

Hey yo CHAT I was tryna purchase a roblox gift card online and I accidentally bought a $20 roblox gift card and it's only 🇺🇸 🇳🇱 🇬🇧 🇩🇪 I can't use it since I'm in Canada so I just wanna give it to someone who needs it just Dm me a message if you want it im not joking it's basically usless for me

please only dm me if you really need robux I wanna give it to somebody who needs it

pure compass
#

why cant i activate a click detector while carrying a tool?

wicked terrace
#

yo, does anyone have an idea on something that i can script to improve my skills

nova geyser
#

does anbody know a good youtube video tutorial for coding so i can learn

nova geyser
wicked terrace
nova geyser
wicked terrace
#

the entire series

#

brawldev

nova geyser
#

yeah but like can u send me one of them

wicked terrace
#

or dev king

#

just seearch him on yt

#

its a pplaylist of videos

gaunt crater
#

Hey! I'm looking for a script where team uniforms can be assigned (e.g., Class D uniform for a specific team). I'll be using a locker system for armor and weapons, so the script just needs to apply clothing IDs to all teams. The budget is $3. Apologies for the small task size 😭—just let me know if you're interested!

nova geyser
wicked terrace
#

i personally watched the brawldev

lone belfry
#

Guys impulse or bodyvelocity or linearvelociry for a dash?

supple wadi
#

bodyvelocity is depreciated

deft coral
#

personality test

#

or this

carmine yacht
#

but second option

#

because of arrays

alpine jungle
#

🔧 Roblox Scripter | 4+ Years Experience

Hey! I’m a scripter with over 4 years of experience in Roblox Studio. I specialize in clean, modular code and have worked on a variety of systems including quest mechanics, lobbies, shops, and more.

Skills:

Module Scripts & Code Organization

OOP (Basics & Concepts), Metatables, Composition

State Machines, Memory Management

Experience with RemoteEvents, DataStoreService, UI scripting

I’ve collaborated on many projects (solo & team) and enjoy building systems that are efficient and scalable. No public portfolio yet, but happy to show work or chat about what I can do!

DM me if you’re looking for a reliable programmer for your project.

deft coral
#

put that in scripter-hirable

vernal peak
#

what are tables used for?

jaunty herald
#

my mom can read this code 😭

placid shore
#

can someone help me fix my nuke script

#

Kill radius and explosion radius

loud stratus
#

U do not have 4 yrs anyone past 2 years would’ve had their own game by now 😂

#

And quit comms

alpine jungle
#

okay sorryi dont have lodes of time as i work full time and do not have motivation for a full game!

prime pasture
#

how do i make a part give admin?

#

when touched

terse badger
rare cradle
#

how to make buttons behind frames unclickable without making them invisible

sonic juniper
#

is there an equivalent of unity's fixed update?

native orchid
tacit vale
#

anyone got any idea how to achieve this? ^^^

storm nacelle
#

hey so im having an issue can someone whose kind enough please read this and just lmk why what im doing is wrong and how to fix it thank you im sure if someon reads this they will understand what im doing

loud stratus
#

no scripter who has more then 2 yrs of experience is still doing comms

#

they wouldve made their own games by then

loud stratus
wet mauve
loud stratus
#

u must be fat as shii

wet mauve
#

Wow still projecting

#

When are you gonna learn 😔

loud stratus
#

🤡

#

🫃

storm nacelle
#

@loud stratus

#

can u help me rq

#

isnt the i in "for i, v in pairs()" supposed to be a number??? hte index?

native orchid
storm nacelle
#

@native orchid can u help me please bro

#

real quick

native orchid
#

With what?

storm nacelle
#

so

#

im so lost

#

hold on

#

how do i make I the index number in a for loop

#

its saying the i is the value of the thing and that v is nil

#

i dont get this

#

please help

native orchid
#

If your table is indexed with numbers then i would be a number

storm nacelle
#

it is tho

#

this is my table

native orchid
#

So what's the problem

storm nacelle
#

this is my code

#

its saying that like "i" is equal to the name of the value

#

look

loud stratus
storm nacelle
loud stratus
#

you roasted me so hard

loud stratus
storm nacelle
loud stratus
#

show me ur songs table

storm nacelle
native orchid
loud stratus
#

ur not showing me ur songs array

#

ur showing me u looping through it

storm nacelle
native orchid
storm nacelle
storm nacelle
loud stratus
# storm nacelle

yeah getchildren will automaticlaly wrap the index's in numerical format

#

so your index's are numbers not strings

storm nacelle
#

i would put I in the V and it would print the name

#

bruh what im so lost how do i fix this i want i to be hte index and v be the value

autumn oak
#

wait nvm

storm nacelle
storm nacelle
#

its not tho

autumn oak
#

ask chatgpt

gaunt delta
native orchid
storm nacelle
#

its saying i is the value

native orchid
#

songs[i] gets the value at i

sonic juniper
#

why is verlet integration not working on the boblox

storm nacelle
#

oh

#

my

gaunt delta
storm nacelle
#

okay wait

sonic juniper
#

i have watched a million videos and guides

#

yet the verlet integration is not working

native orchid
#

i is a number, songs[i] is whatever is in the songs table at index i

storm nacelle
#

okay i see

gaunt delta
#

that is not the problem

storm nacelle
#

wait

gaunt delta
#

you are setting playing to a boolean

#

Playing is read only

#

you have to use Sound:Play() or Sound:Stop()

storm nacelle
#

IT WORKS THANK

#

I SET 6 to NIL

#

it works i see now

#

ur wrong goofy ahh

native orchid
storm nacelle
#

lol all good thanks guys i appreciat eit

#

appreciate all you thanks

native orchid
vernal peak
#

how tf i turn these big ass errror lines off

wanton owl
vernal peak
#

i tabbed out and tabbed back in and it was gone

wanton owl
#

in the console?

vernal peak
#

NVM ITS BACK

vernal peak
#

this thing

wanton owl
#

try one = not 2 ==

vernal peak
#

still here

wet mauve
#

At button.touched

#

And change == to =

near knoll
#

i am crying now

sour trellis
#

luau is ass

tight pewter
#

also did some comms for longer than 2 years

loud stratus
tight pewter
#

cause i have real initiative IRL

#

but the point is that your statement wasn't really true... and then when you couldn't refute... you attempted to insult me after

raven acorn
#

anyone tell me why this doesnt work im tryna run a remote event from a proximity prompt

#

local Prompt = script.Parent --this is the proximity prompt
local Event = game.ReplicatedStorage.CharEvents.Ice --this is the remote event to fire
local RS = game:GetService("ReplicatedStorage")
local Player = game.Players.LocalPlayer

local Event = game.ReplicatedStorage.CharEvents.Ice --this is the remote event to fire

Prompt.Triggered:Connect(function(Player)
Event:FireClient(Player)
end)

plucky depot
#

how do i make my own /e emotes in the chat

wet mauve
#

Bud

#

You can literally use a server sided script with a proximity prompt

#

Why are you trying to overcomplicate your game while making it unoptimized

earnest python
#

What would be the first script you would use

#

Scripting a game

coarse surge
#

What do you mean?

#

it depends on the game you're trying to make

earnest python
#

How bout a rng game

wet mauve
earnest python
#

Yes

wet mauve
#

Start with the classic game:GetService(“Players”).PlayerAdded:Connect(function(player)

earnest python
#

Ok

vocal cradle
#

is .Chatted being removed soon?

delicate quarry
#

Is being a learning to become Roblox coding dev still the move for making a side hustle? or has the coding job market gone downhill.

#

like is it worth it learning roblox's lua and data structure? or should i stick to learning python

ruby iron
#

worth lua

shrewd narwhal
#

how do you get if the player's roblox menu is being down (aka being paused)

shrewd narwhal
plucky depot
#

@shrewd narwhal elaborate pls

#

like what 2 stuff do i edit

shrewd narwhal
#

no thats wrong

plucky depot
#

wym

plucky depot
shrewd narwhal
#

what do you mean by "custom command"

#

you mean /e or

plucky depot
#

i already have it like that i was just making sure there wasnt a easier way

shrewd narwhal
#

you can add something like this in local animnames


    dance4 = {
        { id = "rbxassetid://", weight = 10,  music="" }, 
        { id = "rbxassetid://", weight = 10, music="" }, 
        { id = "rbxassetid://", weight = 10, music="" } 
    },
#

the new variable called music can be changed

#

and must be manually added in the script

plucky depot
#

i didnt even know there was a music varible

#

variable

shrewd narwhal
#

i added that

#

you can remove it

plucky depot
#

o

#

but i also wanna be able to move when playing it at like 3 walkspeed so uh

shrewd narwhal
#

well do it on another script

plucky depot
#

is there anything already there

#

i have a script that does everything i want rn i was just making sure i couldnt do it with animate

shrewd narwhal
#

since yk the animate scipt's animation will be automaticly cancelled when doing another action

shrewd narwhal
#

except for walking animation if that what you want

plucky depot
#

yeah i got a walk anim rn

delicate quarry
#

Is being a learning to become Roblox coding dev still the move for making a side hustle? or has the coding job market gone downhill.

twilit drum
#

Nvm

#

I mean you can still start

#

Get % on a good game or some sh

#

Or own a viral game

delicate quarry
#

like for small tasks

#

not a whole game

twilit drum
#

Na

#

Not anymore

delicate quarry
twilit drum
#

id rather work fulltime on a project

crimson plank
#

Hm

twilit drum
crimson plank
crimson plank
#

Or just take usd pay?

twilit drum
#

yeah

delicate quarry
crimson plank
twilit drum
#

$50

#

base price

delicate quarry
#

thats hella nice bro

#

per task?

twilit drum
#

ye like per comm, it just depends on complexity it can go higher

#

but i havent done a comm in like

#

6 months

delicate quarry
#

Good for you bro!

#

How long did it take to fully learn lua

#

without breaks

twilit drum
#

i havent even mastered it yet

strong latch
#

Is there a place I can sell my Deadrails systems

rain sparrow
#

Am doing it from thedevking

#

I want professional guidance as I want to enter into game development