#code-discussion

1 messages · Page 22 of 1

open yarrow
#

not like i care about money for the most part

austere mulch
#

find the motivation

inland bay
#

money my beloved

#

💔

cunning niche
ember nimbus
#

it's a psyop

open yarrow
#

im too lazy to research what kids like to just spam cashgrabs on

#

as well

cunning niche
#

i was in the process of making a feet washing simulator

#

never released

austere mulch
open yarrow
#

i should make an api to detect inappropriate outfits and kick the player until they've dressed more modestly

cunning niche
open yarrow
#

but the 2nd one souinds like it could have issues

austere mulch
cunning niche
#

i would use chatgpt API

open yarrow
#

cutouts on sweaters

inland bay
ember nimbus
#

there are too many of them that's like 80% of your playerbase

open yarrow
#

while not inappropriate by themselves the arm warmers and thigh highs are kind of like

#

a telling sign

austere mulch
open yarrow
#

doesnt matter if it's realistic

cunning niche
#

what is a chest avatar

ember nimbus
austere mulch
ember nimbus
open yarrow
#

but probably

#

2016 oders are shaking in their boots

austere mulch
#

tbh

#

wouldn't you loose a lot of players then

ember nimbus
#

as much as i HATE weird people

#

there are too many of them

#

to leave as a blacklisted market

open yarrow
# inland bay dark skintone etc

im not kidding this sounds so racist but i had to literally add a score for accounts with a dark skin color when i made a scraper

cunning niche
#

i hate how roblox patched the alt fingerprinting method

open yarrow
#

i'm actually not kidding

cunning niche
#

they had to change os.clock()

open yarrow
#

i think i have the code somewhere

inland bay
#

💔

austere mulch
#

i logged into roblox on my school's computer today

#

they left one without admin restrictions

open yarrow
inland bay
#

I actually had a random forest classifier model for this somewhere

open yarrow
#

little timmy (age 7) shouldn't be able to enter games and see t his

inland bay
#

well not this exactly

#

but it was avatar style

austere mulch
ember nimbus
ember nimbus
open yarrow
ember nimbus
#

source: luau github

austere mulch
#

this is roblox's problem

#

their moderation is responsible for inappropriate clothing and accessories

open yarrow
#

yes well roblox is dumb

#

and not to sound racist but roblox outsources a lot of it's moderation to india, it's why some stuff gets past incredibly easily

hollow hemlock
#

that's been long ago

#

nowadays they tend to use AI more

open yarrow
#

yeah that also dont help either

ember nimbus
hollow hemlock
#

it very much does considering the scale of roblox

#

text moderation has always been AI

#

at a certain scale though it becomes unviable to moderate every single asset uploaded to the site with humans

open yarrow
austere mulch
#

I was in a game once and the chat filter just gave up somehow.

open yarrow
#

considering roblox uses ai for some of this it really doesnt give me confidence

hollow hemlock
#

so you either allow the content and then remove it later (like most other social media) or you use AI to filter out content that needs to be reviewed

#

low confidence results will likely be manually reviewed which results in a upload maybe taking longer

#

point is when you have a couple million users active at once, all producing possibly explicit material it becomes unfeasible to effectively moderate at a large scale that you have to resort to AI or start having to filter cases or change the entire moderation strategy to be a "moderate later, post first"

open yarrow
#

yeah

#

it's just the fact that from what iv'e seen and experienced

#

it's so ineffective at some cases

hollow hemlock
#

that's just the downside of a large system

#

can't do much about that

#

from a technological standpoint though, this is actually considered impressive

open yarrow
#

ye

hollow hemlock
#

i remember someone mentioning that roblox's ai models for moderating content are better at their job than similar cloud providers

#

not that it really matters, because a single explicit asset going through is too much anyway for most people and would have them resort to immediately complaining about how roblox moderation is extremely bad or something

open yarrow
hollow hemlock
#

you could probably call that selection bias

#

maybe that's the kind of audience the game you are playing attracts

open yarrow
#

true

#

but i see it on games that are like

#

just normal

hollow hemlock
#

i can guarantee you if you actually count though in regular top games that it's much less than 20%

#

would be interesting actually

open yarrow
#

if we're d iscounting bacon hairs, it's probably around 20% for the games i play

#

like im talking unique avatars

#

i play a bit of tsb and jjs, theres a LOT of people who dress weirdly in deep

hollow hemlock
#

if someone were to take random users in random games and count how many of them have a nsfw avatar

open yarrow
#

i see a lot of people with weird av's in tsb and jjs

open yarrow
#

I could try and run an experiment

hollow hemlock
#

actually, that reminds me

#

for one of the games i develop for we ran a quick test to see how many discord users are in some condo server

#

which was roughly 2.5% of all members

open yarrow
#

christ that's a bit

floral shoal
#

Can someone help me to make a global timer?

sacred lotus
#

What did u guys do to be pro at Scripting

sour vine
balmy wedge
#

wtf this guy knows the method

floral shoal
#

Can someone help me with my global timer?

rancid stirrup
#

Lf scripter chat i can pay!

worn sigil
rancid stirrup
rancid stirrup
#

I need NOW

gloomy kraken
rancid stirrup
gloomy kraken
rancid stirrup
gloomy kraken
rancid stirrup
#

Do you script?

gloomy kraken
#

yeah

rancid stirrup
#

I can pay

#

Maybe a but less since its nit that hard of a work imo

gloomy kraken
rancid stirrup
cerulean osprey
#

is it a better practice to get health and other stats from zombiedata or make a seperate variable

rancid jacinth
#

and if u have a lot of zombies in ur game

#

might i suggest DOP as opposed OOP

hard storm
cerulean osprey
hushed forge
#

those who know

hard storm
hushed forge
#

this stuff is magnificient

opaque isle
#

im so done bro

#

my code hates me

#

i have an obby and on each stage there are parts you can move around and it works on every stage except 27, on 27 it only sometimes works.

i mean at first i thought it was a client sided issue, not rendering the parts in, so now im using the server to ensure everything is going good, but that specific stage is just not having it bro

glass bolt
#

How would i retrieve the thumbnail of a UGC item and put it on a imagealabel using a code?

jaunty socket
#

Hello! So I have a problem with my equip and unequip button, whenever i try to unequip or equip the sword it just duplicates and doesnt do it's job

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")

local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)

local item, purchased, equipped = nil, false, false

button.Text = "Purchase (100 Kills)"

local function createItem()
    if not item then
        item = Instance.new("Part")
        item.Name = itemName
        item.Size = Vector3.new(4, 1, 4)
        item.Position = Vector3.new(0, 5, 0)
        item.BrickColor = BrickColor.new(unequippedColor)
        item.Parent = game.Workspace
    end
end

local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end

local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end

button.MouseButton1Click:Connect(function()
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText() -- Ensure the button updates immediately after purchase
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
end)
acoustic yarrow
#

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):WaitForChild("Kills")

local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)

local item, purchased, equipped = nil, false, false

button.Text = "Purchase (100 Kills)"
button.BackgroundColor3 = unequippedColor

local function createItem()
    if not item then
        item = Instance.new("Part")
        item.Name = itemName
        item.Size = Vector3.new(4, 1, 4)
        item.Position = Vector3.new(0, 5, 0)
        item.BrickColor = BrickColor.new(equippedColor)
        item.Parent = game.Workspace
    end
end

local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end

local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
        button.BackgroundColor3 = unequippedColor
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end

button.MouseButton1Click:Connect(function()
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        print("Equipped!")
    end
    updateButtonText()
end)
#

The createItem function now only creates the item if it doesn't already exist

#

removeitem properly destroys the item and sets item to nil to prevent duplication

#

update buttontext updates button text and color correctly based on the purchase and equip status

jaunty socket
#

It doesnt work

#

hm

tall flame
#

does anyone know how to fix Max lua stack size reached?

acoustic yarrow
#

oh

jaunty socket
#

yeah it basically clones it

#

alot actually

acoustic yarrow
acoustic yarrow
#

I dont know that much with only code

acoustic yarrow
tall flame
#

the problem is i dont know where it comes from

jaunty socket
#

you need perms??

tall flame
#

when i try to create snapshot in luauheap on the client it gives me this error

acoustic yarrow
#
local function createItem()
    if not item then  cloning
        item = Instance.new("Part")
        item.Name = itemName
        item.Size = Vector3.new(4, 1, 4)
        item.Position = Vector3.new(0, 5, 0)
        item.BrickColor = BrickColor.new(equippedColor)
        item.Parent = game.Workspace
    end
end
#

try this

#
local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):WaitForChild("Kills")

local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)

local item, purchased, equipped = nil, false, false

button.Text = "Purchase (100 Kills)"
button.BackgroundColor3 = unequippedColor

local function createItem()
    if not item then
        item = Instance.new("Part")
        item.Name = itemName
        item.Size = Vector3.new(4, 1, 4)
        item.Position = Vector3.new(0, 5, 0)
        item.BrickColor = BrickColor.new(equippedColor)
        item.Parent = game.Workspace
    end
end

local function removeItem()
    if item then
        item.Parent = nil
    end
end

local function equipItem()
    if item then
        item.Parent = game.Workspace
    end
end

local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
        button.BackgroundColor3 = unequippedColor
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end

button.MouseButton1Click:Connect(function()
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        if not item then
            createItem()
        else
            equipItem()
        end
        print("Equipped!")
    end
    updateButtonText()
end)
#

this should work

jaunty socket
#

should i give you perms??

acoustic yarrow
#

what perms?

#

in the game

#

?

jaunty socket
#

Yeah? Editing

#

and it still didn't work

acoustic yarrow
#

dm me

smoky violet
#

hi

gentle crypt
#

hi scripter chat

#

i have a great idea

#

lets make a cashgrab

#

everyone here

smoky violet
mighty nymph
#

guys what is the superior way to structure your code/ own framework? i've used knit and it's bad apparently 😔

mighty nymph
molten plinth
carmine imp
carmine imp
somber vault
#

Anyone can do combat system customaziton powers.

zinc sigil
#

Looking for a scripter i dont have the hiring channels so ima ask here im making a dead rails inspired game but ur on the sea in a boat instead

gray shuttle
zinc sigil
#

oh rlly?

#

im a builder and gui kinda

zinc sigil
#

uh

gray shuttle
#

on my own

zinc sigil
#

oh bruh

gray shuttle
#

im jk

zinc sigil
#

ahh goód

gray shuttle
#

gl tho

zinc sigil
#

kk ty

keen bloom
dusty lagoon
#

lf dev friends

raven quartz
#

Are remotes fired before client has fully loaded guarenteed to be ordered when ran on client?

carmine imp
#

i believe so

somber vault
#

an

wary wedge
#

Where should I learn Roblox scriptin?

somber vault
#

any one trying make naruto game

wary wedge
#

I kinda know html, not sure if it's going to help me

vernal barn
#

goofy ahh function i just coded

local function compressTables(Table)
    local compressedTable = ""
    for i, v in ipairs(Table) do
        compressedTable = compressedTable .. ":;;:" .. v
    end
    return compressedTable
end
livid spear
vernal barn
#

i needed a way to put tables in to leaderstats

vernal barn
livid spear
#

you dont need pairs or ipairs anymore

vernal barn
#

oh

#

thx for letting me know!

#

so it's more like python now

livid spear
#

i cant relate cuz i only did python for 5 days

#

i am luau main

balmy wedge
nimble crown
#

i will borrow this code kind gentleman

balmy wedge
#

i dont think youd use it anywhere

#

i made it because i had an oop based item system where i needed to clear out animations if the player's character ever changes

nimble crown
somber vault
#

Who tryna make naruto game

nimble crown
somber vault
#

bet

#

dm

#

how can i fix the player becoming normal after being red

balmy wedge
#

:unred all

nimble crown
toxic frost
#

somebody help me

nimble crown
toxic frost
#

i dont really know how to organize a sorta board game

balmy wedge
#

what

toxic frost
#

so basically theres 5 players facing eachother, each player interacts with their own ipad and own screen, but im not sure if i should make 5 folders in workspace so each player has their own thing or if i should just make everything locally, so that you locally replicate the opponents on their place, but theyre not actually real

toxic frost
#

noooo

#

basically something like this

nimble crown
wary wedge
#

Heyy! I'm trying to learn how to code, do you think this chanell would be good for that'

#

?

nimble crown
#

why didn't u send something like that before

wary wedge
#

If not do you have any recomendations?

toxic frost
wary wedge
nimble crown
wary wedge
#

NIceee!

#

Ill learn from him them

#

The last thing I wanted was to learn with a Ro builder ahhh teacher

balmy wedge
#

i think his oop tutorial is a bit

#

off

#

its better learning metatables from chatgpt or something

nimble crown
wary wedge
#

Alr alr!

wary wedge
#

Soo I learn everything fro him besides the meta tables

balmy wedge
#

yup

cyan tangle
#

i created a part that follows under my character, when this part touches another part in the workspace, i want its color to change, how can I do this??

wary wedge
cyan tangle
nimble crown
#

`partFollow.Touched:Connect(function(hit)

if hit and hit:IsA("BasePart") then
    partFollow.BrickColor = BrickColor.new("Bright red")
end

end)`

cyan tangle
#

wrote a similar code in chatgpt but it doesnt work

cyan tangle
nimble crown
somber vault
#

.

nimble crown
cunning pagoda
#

If anyone cant find a dev, needs a manager, needs a team or wtv. Dm me
I will find whoever u need dm me

pure hazel
#

How do i make it so that my character grows using scripts? like those "be a ..." games

azure rivet
#

anyone know of more programming communities that involve lua/python/cpp game programming to a more intermediate/advanced level as well?

#

(im getting back into roblox game development and i keep finding fodder posts on the devforum lmao)

latent gust
eager meadow
#

If you had to relearn lua, how would you do it?

brazen moon
#

you can do it with a humanoid

latent gust
#

sure but hes likely not talking about making the humanoid bigger or smaller

latent gust
#

he's likely talking about having muscles and shit grow

brazen moon
#

there are some properties within the humanoid that you can modify which will also modify the rest of the body parts in the character model

#

don't answer a question if you don't know the answer to it

latent gust
#

sybau

#

ask him for clarification before you attempt to debunk a valid answer

brazen moon
#

and also saying "sybau" just demonstrates your immaturity

latent gust
#

its literally 100% valid, no amount of mental gymnastics you do will change that its only invalidated by additional information he provides

#

go crawl back under your dads blankets broski

brazen moon
#

There are plenty of developer forum posts about it

latent gust
#

he did not say that is what he is trying to do

#

he is likely trying to make a game like the mogger or weight lifting games

brazen moon
#

He didn't say that 😭

#

"How do i make it so that my character grows using scripts? like those "be a ..." games"

latent gust
#

right - he didnt specify which is why my answer is valid

#

now if you want to ask him for more information go ahead

#

otherwise sybau

brazen moon
#

You know what

#

how about you sybau

latent gust
#

nah you sybau

brazen moon
#

you don't even have a skill role

latent gust
#

i dont need one

brazen moon
#

then how about google your provided answer to the dude

#

dumbass

latent gust
#

how about you sybau

brazen moon
#

people like you make the world much worser

latent gust
#

then exit

#

you know what to do lil bro

brazen moon
#

you're too lazy to research your own answer

latent gust
#

keep yappin

winged galleon
#

all of the higher level servers im in are private or inactive

#

i personally dont use servers, just talk to friends with varying levels of experience (e.g. friend whos familiar with pathfinding and ai, friend familiar with current roblox engine bugs, etc.)

rapid eagle
#

what's yall wifi speed 🙏🏻

winged galleon
gloomy glen
#

how u guys stay motivated to learn scripting 😭

rapid eagle
rapid eagle
winged galleon
rapid eagle
#

I love makin hhorror games

#

:P

winged galleon
rapid eagle
#

what's y'all wifi speed?

rapid eagle
latent gust
#

thats one application of a methodology

rapid eagle
#

LMAO

winged galleon
#

if he wanted to make a game w/o a normal character they could simply make it invisible or make a custom StarterCharacter

latent gust
#

most modern games with growth for muscles and things dont do that

winged galleon
#

in either case ScaleTo is all they need

latent gust
#

its not

latent gust
modern jetty
#

can someone help me script on my game i cant pay tho

latent gust
#

you cant magically make a 6 pack from a standard torso

rapid eagle
#

ngl

latent gust
#

yeah when you make custom meshes

#

the old school way was to weld cylanders to the torso and grow them but it looks like shit and its outdated

modern jetty
#

can someone help me script on my game i cant pay tho

azure rivet
rapid eagle
azure rivet
#

lmao ok

eager meadow
modern jetty
#

ok

#

dm me

hasty pelican
#

hello chat

eager meadow
#

good evening chat

hasty pelican
#

how much do yall make from commisons

eager meadow
#

like 200k per

hasty pelican
#

i want to start scripting since im doing an seris of begginer and advanced and i know printing and veribales 🙂

eager meadow
#

i love veribales

hasty pelican
eager meadow
#

To make datastores you do this

#

game.SaveData = True

#

In a local script

hasty pelican
eager meadow
hasty pelican
#

oh ur a blender modeller?

eager meadow
eager meadow
hasty pelican
#

lol

eager meadow
#

its ez

hasty pelican
#

so if i learn scripting. and then some gui stuff how easy do u think i can get hire for something basic and get only 200 robux?

#

lke how easy is it to get hired

eager meadow
#

If you learnt i would hire u

hasty pelican
#

okay, im rewatching the series now. you will be my very reason and my determation. thank you

hasty pelican
#

i think i can run studio now

#

the laptop is 10 yrs old WHYYYYY

#

from my AUNT

#

caps lock

cunning pagoda
#

anyone here needs to find a scripter, dev team, manager, anything, dm me.

cinder helm
#

who wants me to be their scripter

#

I offer supe

#

low prices

cinder helm
#

@eager meadow

hasty pelican
cinder helm
#

I dont know because I dont really use discord sorry

hasty pelican
#

okay

#

just remember that so u dont be annoying and ping people after already pinging 🙂

cinder helm
#

alr

#

btw what things should I script

#

to add to my portfio

hasty pelican
#

i know

cinder helm
#

what

hasty pelican
#

if ur the owner once u click someone a gui frame pops up with options to like fling or copy user id (if possible) so its easier to ban people and troll! idk

#

i think u can use mouse click events, highlights and other stuff to achive this idk

#

im new to scirpinting

cinder helm
#

u can just use ban commands

#

for the first one

hasty pelican
#

oh

#

sorry i didnt now

cinder helm
#

its okay

#

tell me other things tho cus u have good ideas

hasty pelican
#

hm idk

cinder helm
#

bruh

hasty pelican
#

oh i got it

cinder helm
#

all that typing for that

#

oh what

hasty pelican
#

okay so code a working tool that checks the id of the user. if its the id of the owner it will print "its the owner" if its not the id it says "not the owner" and bans the person. its gonna say something like unlimited money tool for owner and its a trap for hackers (idk)

cinder helm
#

damm thats pretty smart but i dont think hackers will be able to go into the actual game behind the scence

#

but that is a very good idea if they do

hasty pelican
#

thanks

cinder helm
#

any other ideas?

hasty pelican
#

ye

cinder helm
#

what?!!

hasty pelican
#

or code a leaderstat saying "gems" each second u get a gem, and by walking into litlte orbs it increases the each second. and make it so once u get 10 gems a frame pops up saying "Rebirth?" and u click it. all ur gems go but u get 20 walkspeed and another mutiplier. its a little more basic but u can enhance it by adding data stores so it saves. at least its one project for ur portfio

#

but it might be a longer video/showcase so it might be a bit much

cinder helm
#

no that is good any other ideas?

cyan tangle
#

can someone help pls? I start the game in roblox studio, but what I do is that the codes I write do not work immediately, that is, after a few seconds or minutes, the codes start to function, what kind of problem is this?

hasty pelican
#

every 10 seconds every player in every srver gets flinged global side. (idk)

cinder helm
#

haha lol

hasty pelican
#

OH I GOT IT

cinder helm
cyan tangle
cinder helm
#

leolover is telling me good ideas

cyan tangle
#

kk

#

I've been thinking for hours that what I'm doing is wrong and I just realized it.

cinder helm
#

spit it out then

#

type faster brooo

hasty pelican
#

using parts so its easier. its gonna be almsot a flat 2d mario inspired game/short showcase. its gonna have parts like cubes to give the player "Coins". its not gonna be a leaderstat, its gonna showcase through a small gui! and if u fall into lava using a flat part u die and restart. using diff levels u make offscrean, ur gonna make it random levels like doors. and then using friends from ur friend list (trust me its possible i saw many games do it) they are gonna be enimes that are on the level. if it touches u, ur dead. and if u have no friends its gonna use a noob as a placeholder

#

my windows 9 laptop is slow af chill

cinder helm
#

sorry bro my laptop if I unplug my charger it turns off after a minuite

hasty pelican
#

ah alr

cinder helm
#

I dont understand your idea but I imagne it is good

cunning pagoda
#

dm me if you need a dev team, devs or just a manager for your project!! (im experienced with over 1m+ visits)

cyan tangle
#

before u go offline

cinder helm
#

you know you can search it up...

cyan tangle
#

what should i search

cinder helm
#

search up

cyan tangle
#

what kind of problem is this

hasty pelican
cinder helm
#

how to fix the delay on scripts on roblox studio

#

ye ig

hasty pelican
#

a 2d platformer game inspired by mario

#

using friends as goombas (and noobs as placeholders)

#

its infinite as it uses levels u created and random it

#

clears levels as u pass for less lag

#

doors + mario

cinder helm
#

idk I want like simple stuff for my portifo

hasty pelican
#

Orbs is coins displayed by GUI

hasty pelican
#

a punch system??

#

left click does a short animation and it creats some half invisble part on the arm. whatever it touches does -25 damage

wraith hamlet
#

why is only one person being teleported while others are restricted smh (pls check through entire script!! ^_^.)

long prawn
#

Hey there, I'm working on a game and have to create a system with auras, each one having its own set of abilities. How should i go about implementing it? Like, i little to no idea of what to do.

bright rivet
#

Is anyone here like good with Basic Admin Essentials 2.0?

cunning pagoda
#

Looking for a developer, a dev team, or just a manager? dm me and we can discuss different ways to make your project better,

cunning pagoda
somber vault
#

anyone know how do a combat system

cunning pagoda
somber vault
#

Alr bet

severe sun
#

erm why do people just use ai to script there games

cunning pagoda
#

Looking for a developer, a dev team, or just a manager? dm me and we can discuss different ways to make your project better,

dire isle
#

@regal zinc

somber vault
#

i need help scripting a money and playtime leaderboard for my game

wraith hamlet
#

is there anyway to speed up teleporting from one game to another or does roblox need those extra few seconds to optimize it?

vale atlas
carmine imp
#
local function movePartsInHeartShape(leftPart, rightPart, meetingPoint, duration)
    local elapsedTime = 0
    
    local leftStart = leftPart.CFrame.Position
    local rightStart = rightPart.CFrame.Position

    -- Define control points for a cubic Bezier curve for each part.
    -- Adjust these control points to tweak the curvature of the heart shape.
    local leftP0 = leftStart
    local leftP1 = leftStart + Vector3.new(0, 10, 0)         -- move upward from the start
    local leftP2 = meetingPoint + Vector3.new(-5, 0, 0)      -- curve inward toward the meeting point
    local leftP3 = meetingPoint

    local rightP0 = rightStart
    local rightP1 = rightStart + Vector3.new(0, 10, 0)
    local rightP2 = meetingPoint + Vector3.new(5, 0, 0)
    local rightP3 = meetingPoint

    -- Cubic Bezier interpolation function.
    local function bezier(t, p0, p1, p2, p3)
        local u = 1 - t
        return (u * u * u) * p0
            + 3 * (u * u * t) * p1
            + 3 * (u * t * t) * p2
            + (t * t * t) * p3
    end

    local found = false
    local connection; connection = RunService.Heartbeat:Connect(function(deltaTime)
        elapsedTime = elapsedTime + deltaTime
        local t = math.min(elapsedTime / duration, 1)  -- Clamp t between 0 and 1

        -- Compute new positions along the Bezier curves.
        local newLeftPos = bezier(t, leftP0, leftP1, leftP2, leftP3)
        local newRightPos = bezier(t, rightP0, rightP1, rightP2, rightP3)

        -- Update each part's CFrame so that the orientation resets.
        leftPart.CFrame = CFrame.new(newLeftPos)
        rightPart.CFrame = CFrame.new(newRightPos)

        if t >= 1 then
            connection:Disconnect()
            found = true
        end
    end)
end
tall blade
#

Can anyone help me make a pickup system, custom hotbar, and inventory?

#

I am good at making Uis but I just suck at scripting

ruby oxide
#

its 3 am can someone help me so that i can go too sleep

fallen axle
#

made a python to lua compiler, has classes and oop aswell, it was a pain to compile the class

boreal wyvern
#

What has roblox come to

boreal wyvern
#

nvm

fallen axle
boreal wyvern
#

idk like creations feedback

fallen axle
#

oh

#

after i make it look good

#

cuz the code format is trash

boreal wyvern
#

what is the red box

#

wait so you put stuff in the bottom and the result is the top?

fallen axle
#

and it gets formated on bottom

#

red box is i detect if size changed to run the bottom code

#

just for testing

#

the left screen was for the ast but uh, string limit of roblox reached so it kinda breaks with big code

boreal wyvern
#

ok

#

does it turns python to lua or lua to python

#

oh nevermind

hallow zealot
#

Anyone wanna help in making of an anime game

boreal wyvern
hallow zealot
#

the profits will be shared

#

I have a team already now just looking for good coders

fallen axle
tired violet
#

@hasty pelican brooo i overengineered it

#
local part = script.Parent

local threads = {}
local intervalTime = 2
local damage = 10

local function touching(humanoid)
    local parts = workspace:GetPartsInPart(part)
    
    for _, part in parts do
        if part.Parent == humanoid.Parent then
            return true
        end
    end
    
    return false
end

local function damageLoop(humanoid)
    task.wait(0.1) -- arbitrary delay time
    
    while true do
        humanoid:TakeDamage(damage)
        
        task.wait(intervalTime)
        
        if not touching(humanoid) then
            break
        end
    end
    
    threads[humanoid] = nil
end

part.Touched:Connect(function(hit)
    local character = hit.Parent
    local humanoid = character:FindFirstChildOfClass("Humanoid")
    
    if humanoid then
        if threads[humanoid]then
            return
        end
        
        threads[humanoid] = task.spawn(damageLoop, humanoid)
    end
end)
#

there u go dude

#

should damage at a set interval, bruh i cant think straight

#

ah shit im in the wrong channel bruh im stupid

spiral ice
hasty pelican
#

i just learnt random!!!!!!!!

#
local randomNumber = math.random(1, 6)
while true do
    local randomNumber = math.random(0, 1)
    baseplate.Transparency = randomNumber
    wait(2)
    
end```
boreal wyvern
boreal wyvern
hasty pelican
boreal wyvern
#

numbers includes decimals

hasty pelican
#

that seems more free if u can say it like that. more faster

#

thanks\

tall blade
#

how

#

i dont have any digital payment methods

stone isle
#

you can't do it for free

vale atlas
#

guys simple question, provide some insight
if you have a 400 stud cube with tiles size 5 each. thats about 80 tiles. If each player is allowed to generate a cube like that in a server of 20 people.
is that good or bad?

vale atlas
#

lol yes as in good or yes bad>

spiral jungle
#

Okay

stone isle
#

good = not bad

boreal wyvern
# spiral ice
local function getMatchingTexts(basefolder, text)
  local matching = {}
  for i, v in pairs(basefolder:GetChildren()) do
      if v:IsA("TextLabel") or v:IsA("TextButton") then
          if v.Text == text then
             table.insert(matching, v)   
          end
      end
      local mini_matches = getMatchingTexts(v, text) -- Makes it recursive to search the entire directory
      for i, mini in pairs(mini_matches) do
          table.insert(matching, mini)
      end
  end
    return matching
end

local base = Instance.new("Folder") -- MUST BE AN INSTANCE NOT A TABLE (Doesn't have to be a folder tho)
local targetText = "Example text" -- The text you are looking for

local hasTargetText = getMatchingTexts(base, targetText) -- Returns a table of objects (TextLabels and TextButtons) with text that matches the value of the target text variable

#

not tested but i am 90% certain it works

neon lodge
#

Does this look well like a good way of making this?

lusty robin
#

why is ypcall() depreciated and what was it meant to do

#

I think xpcall() creates a custom error handler instead of pcall(), but I use pcall() for everything. Should I still keep using pcall()? Seems like theres no clear difference between the two.

balmy wedge
balmy wedge
#

you can just use the if not success then

end

balmy wedge
#

its just a bit cleaner

neon lodge
#

oh the true isnt rlly needed?

haughty drum
#

you can use "not" for false boolean values

#

if not Part.Anchored then

#

but if you put something under your conditional it already thinks of it as true

somber vault
#

anyone tryna join my naruto project

somber vault
#

yo

wintry ore
#

how do I add a whitelisted group to this?

 local DoubleJumpConfig = {
    ["JumpPower"] = 150,
    ["JumpCoolDown"] = 5,
    ["AnimationID1"] = "rbxassetid://99294151474360", -- Replace with the re-uploaded version of "Animation"
    ["AnimationID2"] = "rbxassetid://126551177320692", -- Replace with the re-uploaded version of "Animation2".
    ["Gamepass"] = {
        ["GamepassLocked"] = true, -- Only let gamepass owners use the double jump?
        ["GamepassID"] = 1010809379, -- Replace with yours, if the above is false this will be ignored.
        ["WhitelistedUsers"] = { -- Users who will get the double jump for free.
            "ZoeTheGameMaker",
            "The_beast3659",
            "exokrxy",
["WhiteListedGroups"] = {
    "35668455"
}
        };
    };
}

return DoubleJumpConfig ```
somber vault
#

anyone trying do a naruto project

copper apex
#

Just add your group ID in the WhitelistedGroups

balmy wedge
#

i think they mean how to implement it

old valley
#

Is it possible to make a physics system like in the TABS game?

copper apex
copper apex
fluid acorn
#

can someone help test my game: it's about drawing and like a "This or That" game but based on user drawings

lean cave
#

I can help

shrewd oxide
#

how do i make a ui work with mobile

acoustic yarrow
#

Udmi

shrewd oxide
acoustic yarrow
#
frame.Size = UDim2.new(0.5, 0, 0.5, 0)```
shrewd oxide
#

i have that

#

but my friend tested my ui and he said the scroll down thing doesn't work and the ui doesn;t drag around and the button don't drag around either

#

he said when he drags down one thing it drags the whole thing foever

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

north wadi
#

dont want to get into too much detail as i havent began working on it

north wadi
ivory lark
#

its possible to find a low quality scripter for that yeah

north wadi
ivory lark
#

The thing is that the game wont be organized and itll be hard to add onto it

ivory lark
#

giving % + robux could also work tho

north wadi
#

Hm I see

#

Would persay 10k + % work

ivory lark
#

Depends on the chances of the game succeeding

#

Do you have any investors or money to sponsor the game?

north wadi
ivory lark
#

How about the map, do you have any builders that are willing to work on it?

north wadi
#

Going to look into that when I get some good progress on it

north wadi
ivory lark
#

I might have an offer for you, lets go to dms

north wadi
north wadi
bleak glade
#

most of my comissions are like 30k robux and take like a few days so i personally wouldnt take that

drowsy shadow
#

im new to scripting but how should i go about making a game like be grass or be a fish
ik the basics
just not advanced things

copper apex
#

I didn't go about making a whole game, except I tried to recreate smaller parts, like maybe a leaderstats, or a teleporting system,

mellow creek
#

would anybody be able to help me script a working donation booth like how pls donate is?

unreal frost
#

Any devs here know how to make a scrollingframe scale for "Scale" and not purely offset? When I change the property of scale of the canvas side it just grows until the integer limit.

mellow creek
keen crest
#

anyone know why my bodyparts are glitched and i cant move WHYYYYY 😭

#

its in studio and in the game, i didnt change any scripts and then randomly when i playtested after making a gui this happened

runic maple
#

could anyone help me make a flight system support animation ids

unreal frost
lapis grove
#

You guys have a cool color as your title

lost pebble
final prawn
#

c++ moment

jaunty socket
#

can anyone tell me why the equip and unequip button didnt work?

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false
button.Text = "Purchase (100 Kills)"
local function createItem()
    if not item then
        item = game.Workspace:FindFirstChild(itemName)
        if not item then
            item = Instance.new("Part")
            item.Name = itemName
            item.Size = Vector3.new(4, 1, 4)
            item.Position = Vector3.new(0, 5, 0)
            item.BrickColor = BrickColor.new(unequippedColor)
            item.Parent = game.Workspace
        end
    end
end
local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end
local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end
button.MouseButton1Click:Connect(function()
    if debounce then return end
    debounce = true
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
    wait(0.2)
    debounce = false
end)
jaunty socket
#

how??

shell stream
jaunty socket
shell stream
#

is anything yielding

jaunty socket
shell stream
#

that should mean ur kills is always being deducted right

jaunty socket
#
-- Function to handle when a character dies
local function onCharacterAdded(character, player)
    local humanoid = character:WaitForChild("Humanoid")
    humanoid.Died:Connect(function()
        local creatorTag = humanoid:FindFirstChild("creator")
        if creatorTag and creatorTag.Value then
            local killer = creatorTag.Value -- This is the player who dealt the final blow
            if killer and killer:IsA("Player") then
                -- Increment the killer's kills
                local kills = killer:FindFirstChild("leaderstats") and killer.leaderstats:FindFirstChild("Kills")
                if kills then
                    kills.Value += 1
                end
            end
        end
    end)
end

-- Set up leaderstats and handle deaths
game.Players.PlayerAdded:Connect(function(player)
    -- Leaderstats
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local kills = Instance.new("IntValue")
    kills.Name = "Kills"
    kills.Value = 0
    kills.Parent = leaderstats

    -- Handle character deaths
    player.CharacterAdded:Connect(function(character)
        onCharacterAdded(character, player)
    end)
end)
jaunty socket
#

but it wont equip or unequip

shell stream
#

it IS the leaderstats script

#

wait nvm

#

still working for me

shell stream
#

i mean its not even the problematic part

#

no clue why it just doesnt work for you

jaunty socket
#

inside frame

#

I could give you edits if you want

shell stream
#

if its deducting ur kills then it is being referenced properly

jaunty socket
#

but it isnt equipping or unequipping

#

it keeps buying it

shell stream
#

if u remove the purchased/equipped/unequipped state check and making the button execute each function individually does it work

shell stream
#

oh i was blind sry on my side the kills value isnt being minused

#

shouldnt u just use a remoteevent/func to set ur leaderstats value

jaunty socket
shell stream
#

btw in the original script theres no line that substracts the kills so idk how it is being done in ur game

jaunty socket
shell stream
jaunty socket
#

k..

humble sequoia
#

If we are 2 scripter working together and wanna contact a person who is hiring a scripter, how should we appouch this? and will devs who are hiring scripters be willing to hire 2? We wont ask for a higher payment, we will just work together to finish stuff faster and with better quality.

Also it is always better to work with a friend.

sage stirrup
#

My friends r stupid ngl

humble sequoia
hexed zinc
#

still wild

#

shit gon take longer'

humble sequoia
#

We have worked together on some stuff and we finished it faster

rare basin
humble sequoia
rare basin
#

But i dont know how others will see it.

#

It is a little strange.

humble sequoia
# rare basin It is a little strange.

I saw indians doing that when I was working as a translator.

lets say a person wants you to translate a 50 page file.

lets say you are going to translate it for 200$ and deliver it in a week.

there is always that group of Indians with 500+ five stars rating who are gonna ask for half your payment and will deliver faster than anyone else. And they would get the job every time.

jaunty socket
sage stirrup
stuck radish
#

congrats on SI

sage stirrup
#

Thank u goat

rare basin
humble sequoia
ornate rock
#

i have a question

#

where did you good scripters learn lua

proper flicker
#

does anyone know why my cog doesnt go to the pin thingies on the generator, heres my code

latent gust
fallen axle
#

got metamethods to work in my python to lua compiler

gentle halo
#

does anyone needs a script help

hard mulch
#

selling a ball shooting system for pretty cheap

gentle halo
#

Does anyone needs help with scripts i can help+if you need a system or a script i got some plenty that u can buy

carmine yacht
fallen axle
#

im just translating python into luau

carmine yacht
#

but why translate it like that

#

well

#

i mean to each their own

#

gl

fallen axle
#

but with python

jaunty socket
#

@gentle halo

#

anyone?

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false
button.Text = "Purchase (100 Kills)"
local function createItem()
    if not item then
        item = game.Workspace:FindFirstChild(itemName)
        if not item then
            item = Instance.new("Part")
            item.Name = itemName
            item.Size = Vector3.new(4, 1, 4)
            item.Position = Vector3.new(0, 5, 0)
            item.BrickColor = BrickColor.new(unequippedColor)
            item.Parent = game.Workspace
        end
    end
end
local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end
local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end
button.MouseButton1Click:Connect(function()
    if debounce then return end
    debounce = true
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
    wait(0.2)
    debounce = false
end)
#

@gentle halo

carmine yacht
#

good luck

fallen axle
#

Thx

jaunty socket
#

I just want someone to help me for the equip and unequip

nova garnet
#

who scripter want to make blue lock game i will show u potential

jaunty socket
#

could anyone help with my script?

nova garnet
#

i get scammed with that ngl

sage stirrup
nova garnet
jaunty socket
#

they're not even talking about scripts

#

or helping

#

(rare to see one)

plucky plank
#

is mouse leave unrelible

latent gust
#

It’s more efficient when seeking help to post the issue and your code

jaunty socket
#

bruh

charred shore
#

dm me if you have lua scripting role (not asking for help)

jaunty socket
#

anyone?

#

could you help?

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false
button.Text = "Purchase (100 Kills)"
local function createItem()
    if not item then
        item = game.Workspace:FindFirstChild(itemName)
        if not item then
            item = Instance.new("Part")
            item.Name = itemName
            item.Size = Vector3.new(4, 1, 4)
            item.Position = Vector3.new(0, 5, 0)
            item.BrickColor = BrickColor.new(unequippedColor)
            item.Parent = game.Workspace
        end
    end
end
local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end
local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end
button.MouseButton1Click:Connect(function()
    if debounce then return end
    debounce = true
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
    wait(0.2)
    debounce = false
end)
toxic cliff
#

Good afternoon guys, I was wondering if someone here could guide me through learning scripting, ive always been interested in it and all I need is for someone to make me a set of challenges everyday for a tutorial video so I could practice

jaunty socket
jaunty socket
#

it keeps buying the tool

merry lodge
#

alright let me check

jaunty socket
merry lodge
#

you didn't convert the part to a tool

jaunty socket
#

It is a tool

#

venomshank

merry lodge
#

lemme correct your script rq

jaunty socket
merry lodge
#

aight thest this: local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false

button.Text = "Purchase (100 Kills)"

local function createItem()
if not item then
item = Instance.new("Tool") -- Make it a Tool instead of a Part
item.Name = itemName
local handle = Instance.new("Part")
handle.Name = "Handle"
handle.Size = Vector3.new(4, 1, 4)
handle.BrickColor = BrickColor.new(unequippedColor)
handle.Parent = item
item.Parent = player.Backpack -- Give the tool to the player
end
end

local function removeItem()
if item then
item:Destroy()
item = nil
end
end

local function updateButtonText()
if not purchased then
button.Text = "Purchase (100 Kills)"
elseif equipped then
button.Text = "Unequip"
button.BackgroundColor3 = equippedColor
else
button.Text = "Equip"
button.BackgroundColor3 = unequippedColor
end
end

button.MouseButton1Click:Connect(function()
if debounce then return end
debounce = true

if not purchased then
    if killsStat and killsStat.Value >= 100 then
        purchased = true
        print("Purchased!")
    end
else
    if equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        print("Equipped!")
    end
end

updateButtonText()
wait(0.2)
debounce = false

end)

#

hope it works

jaunty socket
#

It didnt work

merry lodge
#

😭

jaunty socket
#

and theres a venomshank stud

merry lodge
#

i need to be in your game to see this

jaunty socket
#

friend me and ill give edit perms

merry lodge
#

user?

jaunty socket
#

RayanSan12

merry lodge
#

added

jaunty socket
#

why are you a bacon?

#

and joined in 2025

#

weird

merry lodge
#

bruh

#

wow bacon hater

#

bro thinks im gonna ruin his whole game or sum 😭

jaunty socket
#

its just that i have a weird feeling with new accs

merry lodge
#

i understand that fr

jaunty socket
#

like they could basically ruin things

#

I cant even see the collaboration buttton

merry lodge
#

just for your own sake cause im a bacon let someone else help you

jaunty socket
#

nah

#

imma still risk it

merry lodge
#

too much racisme

jaunty socket
#

SORRY

#

@merry lodge

merry lodge
#

bruh

jaunty socket
#

Okay look I do not care if someones a bacon its just that i have a weird feeling if they're new

#

@merry lodge I added you

#

sone

#

donee

jaunty socket
#

startergui - windowgui - shop - shopframe- venomshank - button - equip and unequip

merry lodge
#

aight

weary zenith
jaunty socket
toxic cliff
#

ik this is easy to make

#

but I just started today

weary zenith
#

hm

#

what videos are u watching

toxic cliff
prime iron
#

making an fps game im 4 year scripter could do with another one for help to speed up pace 50/50

toxic cliff
polar scaffold
#

watch brawldev instead bro

weary zenith
polar scaffold
#

yea

weary zenith
#

brawl dev is good

toxic cliff
#

okay!! ty both

#

and

weary zenith
#

brawl dev has a 18 vid beginner playlist and like 30 some advanced

toxic cliff
#

if you dont mind can I make a gc with you both so I could reach out?

polar scaffold
#

alr

weary zenith
#

ye sure

toxic cliff
#

added!

weary zenith
vocal tusk
#

guys can someone help me my scripts don't work (it doesn't even print "hello world"

polar scaffold
#

k

vocal tusk
#

im losing it

#

i followed a 40 mins tutorial aswell

#

(for the menu)

#

then i tried to fix it

merry lodge
#

@jaunty socket yo LocalScripts can't access Workspace properly for tools. You need to use ReplicatedStorage and a RemoteEvent to request the server to give the tool to the player.

vocal tusk
#

just to realize it doesn't even print("hello world")

merry lodge
#

after that try this script

#

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local replicatedStorage = game:GetService("ReplicatedStorage")

local itemName = "Venomshank"
local equippedColor = Color3.fromRGB(190, 31, 31) -- Red for equipped
local unequippedColor = Color3.fromRGB(64, 208, 24) -- Green for unequipped

local purchased = false
local equipped = false
local debounce = false

-- RemoteEvent for handling equip/unequip from the server
local equipEvent = replicatedStorage:FindFirstChild("EquipVenomshank")
if not equipEvent then
equipEvent = Instance.new("RemoteEvent")
equipEvent.Name = "EquipVenomshank"
equipEvent.Parent = replicatedStorage
end

button.Text = "Purchase (100 Kills)"

local function updateButtonText()
if not purchased then
button.Text = "Purchase (100 Kills)"
button.BackgroundColor3 = Color3.fromRGB(255, 255, 255) -- White for purchase
elseif equipped then
button.Text = "Unequip"
button.BackgroundColor3 = equippedColor
else
button.Text = "Equip"
button.BackgroundColor3 = unequippedColor
end
end

button.MouseButton1Click:Connect(function()
if debounce then return end
debounce = true

if not purchased then
    if killsStat and killsStat.Value >= 100 then
        purchased = true
        print("Purchased!")
    end
else
    if equipped then
        equipped = false
        equipEvent:FireServer(false) -- Tell server to unequip
        print("Unequipped!")
    else
        equipped = true
        equipEvent:FireServer(true) -- Tell server to equip
        print("Equipped!")
    end
end

updateButtonText()
wait(0.2)
debounce = false

end)

#

@jaunty socket do you already have a remote event for the script

jaunty socket
#

I have a remote called remote event

merry lodge
#

@jaunty socket try it now

jaunty socket
#

it keeps cloning it

#

maybe an item per person

merry lodge
#

wait how do you see if its working

jaunty socket
#

test duh

merry lodge
#

i cant buy the venomtool

#

i need 100 kills

#

😭

merry lodge
jaunty socket
jaunty socket
gentle halo
# jaunty socket Then give yourself 1b kills

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

local equipped = false
local currentTool = nil

-- Function to equip the tool
local function equipTool(tool)
if currentTool then
currentTool.Parent = ReplicatedStorage -- Move the current tool back to ReplicatedStorage
end
tool.Parent = player.Backpack -- Move the tool to the player's backpack
currentTool = tool
equipped = true
end

-- Function to unequip the tool
local function unequipTool()
if currentTool then
currentTool.Parent = ReplicatedStorage -- Move the tool back to ReplicatedStorage
currentTool = nil
equipped = false
end
end

-- Bind to a key (e.g., "E") to equip/unequip the tool
mouse.KeyDown:Connect(function(key)
if key == "e" then
if equipped then
unequipTool()
else
local tool = ReplicatedStorage:FindFirstChild("Sword") -- Change to your tool name
if tool then
equipTool(tool:Clone()) -- Clone the tool to avoid moving the original
end
end
end
end)

#

check this

#

it's just a template a made for equip and unequip a sword

merry lodge
jaunty socket
gentle halo
#

yeah it is

#

@jaunty socket

jaunty socket
gentle halo
#

replace sword with the items you want and done

gentle halo
jaunty socket
gentle halo
#

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local playerBackpack = player:WaitForChild("Backpack")

local equippedItem = nil

-- Function to equip an item
local function equipItem(itemName)
if equippedItem then
-- Unequip the currently equipped item
equippedItem.Parent = ReplicatedStorage
end

local item = ReplicatedStorage:FindFirstChild(itemName)
if item then
    equippedItem = item:Clone()
    equippedItem.Parent = playerBackpack
end

end

-- Function to handle button clicks
local function onButtonClick(button)
local itemName = button.Name:sub(6) -- Get the item name from the button name (e.g., "EquipSword" -> "Sword")
equipItem(itemName)
end

-- Connect button clicks to the equip function
for _, button in pairs(script.Parent:GetChildren()) do
if button:IsA("TextButton") then
button.MouseButton1Click:Connect(function()
onButtonClick(button)
end)
end
end

#

@jaunty socket check this?

jaunty socket
#

what do i do with sub:(6)?

#

@gentle halo

pseudo lynx
#

do you guys think anyone would make a car system like this (https://www.roblox.com/games/14475792710/CARS-Dealership-Tycoon) for 200 rbx

Roblox

🤑Thanks for 100k likes! Use code thxfor100klikes for money in-game!
❗❗Like the game! New code at 125k likes!👍

Welcome to Dealership Tycoon! Build a car dealership, drive and customize cool cars, race at the race track, roleplay with friends, and more in this epic tycoon! Earn money by driving, racing cars, and having cars equipped on platforms ...

#

?

jaunty socket
#

anyone?

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false
button.Text = "Purchase (100 Kills)"
local function createItem()
    if not item then
        item = game.Workspace:FindFirstChild(itemName)
        if not item then
            item = Instance.new("Part")
            item.Name = itemName
            item.Size = Vector3.new(4, 1, 4)
            item.Position = Vector3.new(0, 5, 0)
            item.BrickColor = BrickColor.new(unequippedColor)
            item.Parent = game.Workspace
        end
    end
end
local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end
local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end
button.MouseButton1Click:Connect(function()
    if debounce then return end
    debounce = true
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
    wait(0.2)
    debounce = false
end)
jaunty socket
# manic nacelle Bro use this " ``` ``` "

could you help?

local button = script.Parent
local player = game.Players.LocalPlayer
local killsStat = player:WaitForChild("leaderstats"):FindFirstChild("Kills")
local itemName = "Venomshank"
local equippedColor = Color3.new(0.745098, 0.121569, 0.121569)
local unequippedColor = Color3.new(0.25098, 0.815686, 0.0941176)
local item, purchased, equipped = nil, false, false
local debounce = false
button.Text = "Purchase (100 Kills)"
local function createItem()
    if not item then
        item = game.Workspace:FindFirstChild(itemName)
        if not item then
            item = Instance.new("Part")
            item.Name = itemName
            item.Size = Vector3.new(4, 1, 4)
            item.Position = Vector3.new(0, 5, 0)
            item.BrickColor = BrickColor.new(unequippedColor)
            item.Parent = game.Workspace
        end
    end
end
local function removeItem()
    if item then
        item:Destroy()
        item = nil
    end
end
local function updateButtonText()
    if not purchased then
        button.Text = "Purchase (100 Kills)"
    elseif equipped then
        button.Text = "Unequip"
        button.BackgroundColor3 = equippedColor
    else
        button.Text = "Equip"
        button.BackgroundColor3 = unequippedColor
    end
end
button.MouseButton1Click:Connect(function()
    if debounce then return end
    debounce = true
    if not purchased then
        if killsStat and killsStat.Value >= 100 then
            purchased = true
            updateButtonText()
            print("Purchased!")
        end
    elseif equipped then
        equipped = false
        removeItem()
        print("Unequipped!")
    else
        equipped = true
        createItem()
        item.BrickColor = BrickColor.new(equippedColor)
        print("Equipped!")
    end
    updateButtonText()
    wait(0.2)
    debounce = false
end)
gentle halo
gentle halo
manic nacelle
jaunty socket
#

so could anyone help?

gentle halo
ebon jetty
#

any tips on helping me getting better at scripting

tight pendant
misty dune
#

Anybody know how I fix the A-chassi on a car the speedometer isn't popping up

frank flax
#

yo, I've been making an fps framework, and I want to make a csgo like hotbar system, I want it to be mostly client sided, I dont want to send remotes to the server to make the player equip a tool, can somebody give me ideas on how I could achieve it?

fading hull
#

Can any scripter help me figure out velocity for volleyball legends, I need to figure out how they make there stuff

latent gust
#

On mobile I see my inventory is cut off after 3 items with the standard backpack, what’s the best way to handle that

half mango
#

help

timid nebula
#

i need a scripter for gun systems for a hood game and running/walk animations

heavy sleet
plucky plank
#

What should i learn to make an good quality combat system in specific?

plucky plank
native orchid
woven sand
#

how legit is this response? (ChatGPT)

elder maple
#

very legit

native orchid
#

What do you mean by one best way

coarse karma
#

can anyone help me make me an obby progress gui

native orchid
#

Either is it the best way, or it is one of many ways

woven sand
elder maple
#

chatgpt is correct

woven sand
#

sweet, thx for the thoughts yall

native orchid
#

Just remember that you don’t have to use modulescripts

#

Some people like keeping everything in tiny containers spread across their game, and some like centralized monolithic scripts

#

Do things because you’ve identified a reason to, not because that’s what other people do

native orchid
plucky plank
native orchid
#

Learn how networking works

#

Get really comfortable with passing data safely and efficiently between the client and the server

plucky plank
#

do you have any good tutorials i know the basics with functions and remove events ... but i havent gone into any more depth relaly?

native orchid
#

There are loads, most of the roblox specific ones are probably garbage though

#

Just dig around on the internet and find out how online video games actually work

plucky plank
#

alr

#

ill try

native orchid
#

That will do you more good than any shitty Roblox tutorial

#

Why?

plucky plank
native orchid
native orchid
#

If you and I are connected to a fighting game and you punch me, your client is in the future as far as I’m concerned

#

People say this but how often in practice are they actually reusing code like that

#

I almost never reuse code anywhere

#

Math utilities I guess?

plucky plank
native orchid
#

Yeah but other than that, what?

native orchid
plucky plank
native orchid
#

This is your adventure, go crawl and scrape the internet for this information

near vigil
#

is learning to use rojo worth it?

native orchid
thick sail
#

Any way I can silence this?

near vigil
thick sail
#

Basic ass question but my brain isn't braining

#

I wanna rewrite that code cleanly

thick sail
#

🗣️

#

Only use it cause of my game partner

#

Would much rather do everything in studio

native orchid
#

Just make games

plucky plank
#

im assuming that hit detection locally has to be down to some degree

near vigil
#

screengui*

near vigil
thick sail
native orchid
#

Ignore OOP shills, ignore OSS nerds, make fun games quickly

thick sail
#

Can't fucking stand VScode I swear

near vigil
#

oops

thick sail
#

What's the point

native orchid
thick sail
#

VSCode risks desyncing

#

And if you're working with someone you have to wait to commit changes

#

It's literally stupid asf

near vigil
#

but isn't the saving the game aspect way more manageable than having 500 different files?

native orchid
#

Just use roblox studio, plain scripts no modules, turn off syntax highlighting, turn off autocomplete

near vigil
#

i've tried having folder for my game, but i end up with 300 different versions

#

files*

native orchid
#

Use a mono width green font and become based

thick sail
#

Took me two weeks to figure out why syntax highlighting was broken in vscode

#

Utter trash

native orchid
#

You know how Goku wears weighted clothes and becomes strong as fuck?

near vigil
#

rojo has been the most uncomfortable few hours of my life

#

i'm tired of seeing 'unused variable' here or whatever

thick sail
native orchid
#

Make your tools are bare and unforgiving to use as possible and become stronger

thick sail
near vigil
#

yeah

thick sail
#

It's pain

native orchid
#

then turn all the conveniences back on

summer vortex
#

guys i want it to add 1 coin every second, how do i fix it?

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

local coins = Instance.new("IntValue")
coins.Value = 1
coins.Name = "Coins"
coins.Parent = leaderstats

coins.Value = coins.Value +1

end)`

near vigil
#

i sometimes check the for hire, page and i see alot of people requiring rojo, so is it just something that my future self has to learn or just truly shelf it forever

native orchid
#

People use rojo because it feels cool and it makes shit harder to work on, which means they get paid more

shrewd oxide
#

can you make every gui mob compatiable like it works with mob or only some

native orchid
#

It’s the same reason OOP took over the industry

near vigil
native orchid
summer vortex
#

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

local coins = Instance.new("IntValue")
coins.Value = 1
coins.Name = "Coins"
coins.Parent = leaderstats

while true do
coins.Value = coins.Value +1
end

end)`

like this?

native orchid
#

For what?

near vigil
summer vortex
#

Bro where do i put it i js started scripting

#

idk shit

#

alrrr

near vigil
#

while true do
task.wait(1)
coins.Value = coins.Value +1
end

summer vortex
#

Yayyy

#

thanks @west dust and @near vigil

near vigil
#

np

near vigil
#

ok, closed rojo and my speed feels 10x faster

#

i feel like the weight left my body as i speak

thick sail
#

That's literally the only reason people use it

native orchid
#

And what about OOP allowed you to do this?

native orchid
#

Kind of wild he admitted that

thick sail
real sundial
#

What is rojo guys

near vigil
thick sail
#

You have to use rojo too it's fucked

native orchid
#

Why?

real sundial
#

Ok thanks!

native orchid
#

“What is OOP good for?”

“Here’s one thing I did that OOP didn’t help with at all, but it is good trust me”

#

Y’all are in a cargo cult and have no idea

native orchid
real sundial
#

I searched up rojo roblox, it is headache

near vigil
#

are frameworks useful though? i see quite a bit of people using things like knit or maid

near vigil
#

but then again the time spent learning them prolly isn't worth it

near vigil
native orchid
#

They’re useful if your goal is to feel like a galaxy brain and fiddle with your tools and make your thing better at making things so you can make things to make better things

#

and never actually make anything

near vigil
#

so then the only valuable thing is what, abstraction?

native orchid
#

The only useful thing is failing repeatedly and learning harsh lessons on your own

summer vortex
#

`local button = script.Parent
local function onClick()-- Change button appearance
button.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
button.Text = "Clicked!"
task.wait(1)-- Reset appearance
button.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
button.Text = "Click Me!"
end

button.MouseButton1Click:Connect(onClick)

button.MouseButton1Click:Connect(function()

end)`

when some1 clicks the button i want it to give 1 coins

#

how do i do

native orchid
#

Learn how to do things that are hard, everything else comes with that for free basically

near vigil