#code-discussion

1 messages · Page 288 of 1

tribal mango
#

gui

coral coral
craggy forum
#

bro how do i make custom image function

upper jay
#

listening to inputs via UserInputService, listening to Players.LocalPlayer, or basically anything we want only rendered in the client (eg systems where the client renders bullets via LocalScript while the server simulates via Script so it looks responsive to the player)

upper jay
coral coral
#

like thanks

upper jay
#

oh mb

coral coral
#

yh

#

how long u been scripting

upper jay
#

started 2020 so technically 6 years, if u ask me when i started diving deeper into scripting though it would be 4 years

upper jay
#

hbu

#

a few months?

coral coral
#

yea

#

just started diving into it rn

#

im acc getting the hang of it pretty fast

upper jay
#

awesome dude, keep it up

coral coral
#

thanks

upper jay
#

for me the best way i learned after getting the fundamentals down was just trying to code different stuff

coral coral
#

im just doing like puzzles

#

whats enum 😭 or what does it do

upper jay
#

u can think of enum as an label for a specific and unique value, like for example notice how when you set a parts material, you need part.Material = Enum.Material.Plastic

#

this is much more convenient than trying to guess whether it accepts a string "Plastic" or "plastic" or maybe even a number

upper jay
atomic dune
#

hey! i’m a new coder looking for a small group of active coders (both beginners + experienced) to improve together, share tips, and help each other grow 🙏 add me if your interested

coral coral
#

is it like plastic is a specific value so if we do print enum.material.plastic.value prints our the value of plastic?

upper jay
# coral coral oh i get it

u can also take inspiration from enum instances and use them in ur code

like for example making a dictionary that acts as an enum for your "function's different modes", so maybe you could just use func(enum.Mode1) or func(enum.Mode2)

while enum is an dictionary that could look like

enum = {
    Mode1 = 1;
    Mode2 = 2;
}

so ur function would basically just check if input == 1, then do mode1 stuff, otherwise if input == 2 do mode2 stuff

#

Mode1 being the label and 1 being the actual value that the code is interacting with

upper jay
#

its highly likely that roblox checks the enum's value (instead of the name) to decide which image to render as material, makes it convenient to change names so eg if they wanted to change .Plastic to like.... .DryPlastic lol, they dont even have to change any of their internal code because no matter how they change the name of the enum, if they always just check the value, it will always equal to 256

coral coral
#

could we lwk go into pc

upper jay
#

unfortunately can't, outside rn

coral coral
faint sapphire
candid fox
#

you can find things in the toolbox with pretty much the exact same effect

faint sapphire
edgy quarry
#

Anyone meeds help?

winged bough
#

yo does anyone know why when i equip a regular tool with just a single normal part inside, i get a lag spike?

edgy quarry
#

Or connections firing on equip

#

Massive physics

#

Re calculating

#

Yeah

#

Also no handle setup

#

Show me the tool in explorer fully expanded

winged bough
#

i cant add images rip

edgy quarry
#

Dms

winged bough
#

alr

edgy quarry
#

Fr but no vibe code

minor jacinth
#

We all vibe code

proud bay
#

anybody have any IDE suggestions similar to kiro

edgy quarry
#

Were asking

#

What might cause problem

mild sequoia
#

can i make rigged models draggable? and making them ragdoll?

stable verge
#

whys my roblox studio super laggy? I'm not even running the game and there isn't much parts. The client memory says 2k mb. Is that normal?

hoary cedar
#

Check your RAM and CPU usage through the Task Manager

stable verge
hoary cedar
#

Not Roblox Studio's

stable verge
hoary cedar
#

Close your other applications, especially Spotify, Discord, or Chrome if you have the apps

#

These are all Chromium based, which is infamously RAM-hungry

dense spade
hoary cedar
dense spade
#

isnt it made with electron?

hoary cedar
#

Electron uses Chromium for rendering

dense spade
#

oh got it

weary socket
#

Who here still has 8gb ram like me? It seems like everyone is on 16gb min

weary socket
#

How much did that cost you

hoary cedar
#

At the time, around $180

weary socket
#

Wow, decent

hoary cedar
#

DDR5, 6GT/s OC

weary socket
#

Im stuck with a laptop so I cant even change if I wanted, forever 90%+ RAM usage lol

hoary cedar
#

Corsair Vengeance RGB

weary socket
#

Yikers

#

Also why is every ram stick literally glowing rgb, like I want ram that doesn't glow lmao

#

Amazon just gives me glowing ram like da fuq

#

Probs and extra 15 bucks for that

stable verge
hoary cedar
#

I'm lowkey like the white accent it gives my otherwise black PC

weary socket
#

Very sleek

dense spade
hoary cedar
dense spade
dense spade
#

didnt have to flex 🥀

#

i have a laptop 4060 WHYYYYY

glossy slate
#

i run on a 4gb of ram and a brobably melted cpu and gpu this is a laptop

hoary cedar
#

Just bought a CableMod Pro cable for my keyboard

#

Might get some more for my PC

glossy slate
#

just use wirless keyboard bro

dense spade
dense spade
#

wired is the goat

dense spade
sullen fox
#

hey ziffix could you help me possibly im experiencing a problem that deals with currency mismatch between client and server @hoary cedar

#

yo if u see this next morning lmk because the problems a bit lengthy and ima go catch some 💤 's

cold pebble
sullen fox
#

thanks tho

cold pebble
remote bear
hoary cedar
cold pebble
sullen fox
cold pebble
#

flexxing is just immature bro

sullen rain
#

It's code discussion chanel not chatting

cold pebble
#

post it in general instead of code discussion

#

prob this child too immature to read channel names

hearty lion
half heath
#

---hello im claude---

#

--claude is best ok--

cold pebble
hearty lion
#

no reason to buy it asides from having OCD

snow veldt
#

if I were rich I'd have a completely bluetooth workspace

#

too bad im poor and i got cables all over my setup

echo belfry
#

dm me if you want a free programmer

#

just dont be under 15

blissful arch
#

dm me if you want an even freer programmer

#

just dont be over 13

fading ermine
cobalt loom
potent maple
#

Do you guys add the productId attribute to UI buttons via scripts, or do you set it manually once when the buttons aren’t created dynamically?

regal salmon
sharp gull
#

@lost yoke @shadow cedar

#

@austere garnet

potent maple
daring chasm
#

print:world

lost yoke
remote bear
hard garden
#

Have any of you scripted a working behavior tree

weak radish
remote bear
fluid moth
#

Guys how to save inventories when the player leaves or dies?

proud swallow
#

can somebody helps me bc i hvae a PBR texture it works fine in studio but as soon as i go into roblox it seems like the Normals map and roughness isnt existing anymore and my texture is broken

hard garden
remote bear
# fluid moth Guys how to save inventories when the player leaves or dies?

Managing player data on Roblox usually means combining ProfileService for saving/loading, Replica for replication, and custom signals for change detection. DataService handles all of this in an extremely easy to use way.

Roblox Creator Store: https://create.roblox.com/store/asset/81002536597861/DataService
Wally: DataService = "leifstout/datase...

▶ Play video
weak radish
remote bear
remote bear
#

reverse

weak radish
remote bear
weak radish
remote bear
weak radish
# remote bear they wouldnt like that

they wouldnt like that


local PlaytimeRewardConfigurations = {}

export type RewardData = {
    Type: string,
    Amount: number?,
    Name: string?,
    Image: string?,
    Time: number,
}

-- Reward Type: Cash, Spins, Item
-- Time : Minutes

PlaytimeRewardConfigurations.Rewards = {
    [1] = {Type = "Cash", Amount = 500, Time = 0.1, ImageId = ""} :: RewardData,
    [2] = {Type = "Spins", Amount = 2, Time = 0.2, ImageId = ""} :: RewardData,
    [3] = {Type = "Item", Name = "Green", Time = 0.3} :: RewardData,
    [4] = {Type = "Cash", Amount = 20000, Time = 0.4, ImageId = ""} :: RewardData,
    
    [5] = {Type = "Item", Name = "Yellow", Time = 0.5} :: RewardData,
    [6] = {Type = "Cash", Amount = 100000, Time = 0.6, ImageId = ""} :: RewardData,
    [7] = {Type = "Item", Name = "Pink", Time = 0.7} :: RewardData,
    [8] = {Type = "Spins", Amount = 5, Time = 0.8, ImageId = ""} :: RewardData,
    
    [9] = {Type = "Item", Name = "Purple", Time = 0.9} :: RewardData,
    [10] = {Type = "Item", Name = "Orange", Time = 1} :: RewardData,
    [11] = {Type = "Spins", Amount = 15, Time = 1.1, ImageId = ""} :: RewardData,
    [12] = {Type = "Item", Name = "Brown", Time = 1.2} :: RewardData,
}

return PlaytimeRewardConfigurations
quartz timber
#

yo

remote bear
weak radish
quartz timber
#

I made a script for a door with a key,

local TweenService = game:GetService("TweenService")
local Time = 1

script.Parent.ProximityPrompt.Triggered:Connect(function(player)
if player:WaitForChild("Backpack"):FindFirstChild("Key") then

    script.Parent.ProximityPrompt.Enabled = false
    
    TweenService:Create(script.Parent.Parent.MainDoor, TweenInfo.new(Time, Enum.EasingStyle.Quint, Enum.EasingStyle.InOut), {position = script.Parent.Parent.RotateDoor.Orientation}):Play()
    
    wait(Time + Time) 
    
    TweenService:Create(script.Parent.Parent.MainDoor, TweenInfo.new(Time, Enum.EasingStyle.Quint, Enum.EasingStyle.InOut), {position = script.Parent.Parent.ReferDoor.Orientation}):Play()
    
    wait(Time)
    
    script.Parent.ProximityPrompt.Enabled = true 
    
end

end)

Is the script, says there's something wrong with this part specifically : Enum.EasingStyle.InOut not sure what to do

weak radish
remote bear
weak radish
remote bear
quartz timber
weak radish
#

if you just uploaded it as is

remote bear
plush oxide
remote bear
plush oxide
#

like you could make a clean ahh module but if there isnt any raycasting or pathfinding or any other complex api then ur geting rejected

weak radish
weak radish
#

fs

plush oxide
remote bear
remote bear
plush oxide
#

is the fps supposed to be that low

weak radish
weak radish
remote bear
weak radish
plush oxide
#

👍

remote bear
weak radish
#

Spotify keeps giving me an ad about owning up to tax fraud

#

should I be worried

remote bear
plush oxide
#

probably

plush oxide
#

😭

weak radish
remote bear
plush oxide
#

does anyone listen to music when scripting

remote bear
plush oxide
#

👍

weak radish
#

listening to it rn

remote bear
weak radish
#

otherwise i wouldnt be getting harassed by the uk government to own up to tax fraud

plush oxide
#

or just sit in complete radio silence

#

with nothing but your toughts

civic portal
weak radish
civic portal
#

otherwise i lowk get bored

remote bear
plush oxide
#

thoughts*

remote bear
plush oxide
remote bear
#

⛷️

weak radish
wet rampart
#

guys does fast cast have some problems?, like i used it on a ball shooting system where the actual ball follows the bullet object, and when i shoot it sometimes just gets deleted for some reason

wet rampart
#

which one is better?

weak radish
#

and fastcast is fast

potent maple
weak radish
#

you cant use that for global leaderboards

mellow vale
plush oxide
#

you could make a store that stores players that joined before

#

and a specific stat

weak radish
plush oxide
#

they mean its not built in or made for it

#

but you can makeshift it

weak radish
#

the whole point of profile store is session locking and stuff

#

you dont need a wrapper if you dont need things like that

plush oxide
#

fair

west dirge
#

anyone know the best way to preload animation? mine still have a delay and doesn't appear after the first input

weak radish
#

@remote bear hmrc is investigating tax fraud

#

they are investigating shop owners using cash tills to hide transactions

weak radish
#

own up now and get a reduced penalty

plush oxide
#

or content provider if you want it simpler

#

but it may not work

weak radish
#

protect your business

potent maple
potent maple
weak radish
#

i said you couldnt use it for the leaderboard

brisk isle
wet rampart
brisk isle
wet rampart
#

yea

#

i still havent found a way to make the ball have some delay to prevent that or another fix

brisk isle
wet rampart
#

hmm true

tepid temple
#

does roblox allow you to call proximityprompt.triggered on client or is it considered bad practice?

brisk isle
thick ether
#

hi so I made a module that imitates the roblox studio compiler with intellisense, richtext display, running code without loadstring(), and abilities to create your own built-in functions
caveat is the text detection is a bit iffy (I used a textbox with a transparency of 1 and custom text selection and cursor because it's a lazy way to sink input)
Was wondering if anyone would find it useful

thick ether
#

also what @ zpt6 said

dense spade
thick ether
#

I was planning to publish it as a supplement to existing ones

#

Tho I'm receiving feedback that it's probably too inconvenient as an admin panel of sorts despite being able to replicate the entire studio ide

neat escarp
#

anyone here knows about KCD2 combat?

tepid temple
#

what's better profilestore or dataservice

plush oxide
#

profilestore

#

dataservice adds basically nothing to profilestore

dense spade
#

i would go with profile store because better control over what your code does

wraith shadow
#

guys i kinda need help

#

i cant explain so someone has to do vc

blazing warren
#

does anyone know a good tutorial for making an FPS game?

eternal apex
subtle fractal
#

Wait.

#

you have a regular show pfp

#

the system is 10/10

weak radish
eternal apex
#

Not

#

100% made by me lol

#

It’s just like really generic that’s why

past hawk
#

Can anyone help me coding a obby game

eternal apex
warm token
past hawk
warm token
past hawk
#

okey ill try

warm token
#

actually good towers are these @past hawk

celest grove
warm token
celest grove
warm token
past hawk
#

Um

#

How do i make a part dissapear when i touch it and fall inside of it?

versed arch
#

and set castshadow to false too so that it wont create a shadow

past hawk
versed arch
#

like this:

mighty jolt
#

yo who can code

#

dm

#

like really experiences

#

experienced*

dim walrus
versed arch
#
local part = workspace.Part
part.Touched:Connect(function(otherPart)

  local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
  if humanoid then
      part.Transparency = 0
      part.CanCollide = false
      part.CastShadow = false
  end

end)

@past hawk

dim walrus
#

part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
part.CanCollide = false
part.CastShadow = false
part.Transparency = 1
end
end)

dim walrus
mighty jolt
#

yo anybody w any experience in making games wanna join my crew for free? i'll pay u if the game gets big praysob
its a open world mmo rpg based on wukong r6 kinda like rell seas btw

mighty jolt
dim walrus
#

because you have the key to everybodys room

versed arch
dim walrus
#

does anyone want to help me work on a td game?

#

i can script but i need another guy for it aswell

#

i have a bunch of the models ready

potent maple
#

Hello, I want to add a multiplier to my game that increases by 2× with each purchase (developer product). The first purchase would give 2×, the next 4×, and so on. However, the only issue is that MarketplaceService doesn’t seem to provide a way to check whether a user has previously purchased a developer product (at least, I haven’t found one).

Should I store the multiplier value in a DataStore instead?

dim walrus
potent maple
dim walrus
dim walrus
#

what kinda game you workin on?

#

@potent maple

clever kindle
#

What do you guys use to rig, My rigging plugin is bugging

potent maple
dim walrus
potent maple
dim walrus
#
  1. trying to land myself a little job
potent maple
dim walrus
#

ah i see

#

np

#

what about music? got that covered?

potent maple
dim walrus
exotic barn
dim walrus
exotic barn
#

i will dm you in around 3 days not today

weak radish
weak radish
silk bay
#

Does anybdy know how to setup a donation booth script for loading gamepasses of the owner of the booth

weak radish
mighty jolt
#

not old enough

weak radish
mighty jolt
#

im 14

remote phoenix
#

not old enough to get a job but old enough to rob a bank

weak radish
#

Sure abt that?

mighty jolt
#

would rather just work at mcdonalds

weak radish
mighty jolt
#

bro it pays like 100 euro tf 💔

weak radish
#

Saying youre not old enough is just an excuse given you are quite literally allowed

mighty jolt
#

alr bro

tropic tundra
# mighty jolt yo anybody w any experience in making games wanna join my crew for free? i'll pa...

Hiya bud some advice for you wait till you have a income to make a group i was making them at your age with money it was boarderline impossible and they where groups like SCP groups so had loads of free acessable assets yours is going to be a massively custom made game id suggest learn basic Lua coding then learn some blender join communitys and make freinds my dev team for my current 300+ community is freinds i made in other communitys who volenteere. and if you wanna make a bigger game start small make a layout for the map plan what you wanna do ect make sure you undertsand the idea and then try do smth small. However I wish you the very best on your work 🙂

remote phoenix
#

etc*

weak radish
remote phoenix
#

no thats not the summary

silk bay
weak radish
silk bay
#

Start passionate soon after meh i dont wanna do it i quit

tropic tundra
#

we should be nice to new developers people getting into this are great to have as they might be the next best scripter modeler or such

weak radish
tropic tundra
#

if you had told me when i ran my first group i would have a decently succsessfull group id be like nah untrue

silk bay
tropic tundra
#

I mean if you want like specialty work like scripters or modelers you need cash

#

but the guys who work for me i also did train

silk bay
silk bay
tropic tundra
#

cause i dont pay em

silk bay
#

Ye exactly

tropic tundra
#

but for the record Ive spent smth like 500 GBP on my group

silk bay
#

People go like im makin tis that ill give you game % / will pay you if game goes successful like thats not how stuff works

#

And they want full time workers

tropic tundra
tropic tundra
#

i started deving at 14

#

4 years later i encourage massively people to learn

split gazelle
tropic tundra
#

even if its just to build its amazing to have the skill to build and make smth

weak radish
split gazelle
silk bay
#

I kinda started at 13 like not fully dedicated i knew nthin then quit for 2 yrs then came back

tropic tundra
tropic tundra
silk bay
tropic tundra
#

I wasnt saying me

silk bay
tropic tundra
#

Anyway ima go play some minecraft then figure out the plan for some CCs i gotta pay for I wish you all the best 🙂

silk bay
#

Thats a specific type of convo possible if one of the person is more experienced or has more knowledge otherwise if both people are at same level it could also be an arguement or js a normal discussion if we are discussing abt a code its a normal convo and discussion not a ted talk

dim walrus
#

i dont know what to make

#

im like a mid scripter

weak radish
dim walrus
#

what's that

weak radish
#

If you dk what oop is

#

Im guessing you have 3 months experience

dim walrus
tropic tundra
#

brother people dont always know accroynims

dim walrus
#

taking breaks

candid fox
dim walrus
#

being burnt out

tropic tundra
dim walrus
#

and just quitting

dim walrus
#

thanks for the idea

weak radish
#

its worse than I thought

tropic tundra
weak radish
#

OOP IS BETTER

#

TRUST ME

#

its way more useful

#

just google it

dim walrus
# weak radish its worse than I thought

fym worse than you thought just because you can make code that is better than half the people's here dosent mean you can just shit on everyone for their skill

fervent widget
#

oop is so hard

dim walrus
#

bro thought i diditn see that

#

get out

#

BRO

dim walrus
#

how cute

fervent widget
weak radish
#

you wish

dim walrus
#

i wish do i now

tropic tundra
#

perhaps cheer up be a lil optimistic

dim walrus
weak radish
tropic tundra
#

lol

fervent widget
#

i love skidding random scripts and making an ss script

weak radish
#

what do you expect

dim walrus
fervent widget
weak radish
tropic tundra
dim walrus
urban scaffold
#

quick question about this code

"function PlayerData.Iventory_AddItem(Player : Player , ItemName : string)
local Data = PlayerData.GetPlayersData(Player)
if not Data then return end

table.insert(Data.Inventory , ItemName)

end"

this basically adds an item that is in your inventory to data storage, correct? (well adds the item name and then from the item name you can get the item back)

urban scaffold
#

its my tutors code

#

im trying to understand this section of it

#

im not copy and pasting it in my code ofc

#

plus he left out things for me to do within the code, ANYWAY

#

am i rigth

clever kindle
#

Is there a way to tell a game your playing is made with server authority?

tranquil stream
#

does anyone know how to fix the baseplate texture disappearing at far distances from camera?

azure jay
urban scaffold
#

whats the table though im wondering

#

no wait

#

it makes sense yeah

#

function playerData.getPlayerData(player: Player)
return sessionData[player.UserId]
end

#

ive learned a bit of OOP recently

#

so this seems like it would have been better with OOP

#

but im not skilled enough to wrap my head around it fully yet

#

maybe i will be soon and ill just remake this

azure jay
#

I swear the more I read the more get written

azure jay
urban scaffold
#

oh wrong part

azure jay
#

local data = sessionData[player.UserId]
data:AddItem("Sword")

fresh beacon
#

awesome

urban scaffold
#

ignore the other one

#

function PlayerData.GetPlayersData(Player : Player)
return SessionData[Player.UserId]
end

#

correct one, i am rewriting my tutors code in my own sort of way that way i understand it better than by copy and pasting

#

sorry if im being confusing again

azure jay
urban scaffold
#

theres two functions

#

let me see stuff

azure jay
urban scaffold
#

basically first function gets the player and gives the session data that the player has

#

then this function
function PlayerData.Iventory_AddItem(Player : Player , ItemName : string)
local Data = PlayerData.GetPlayersData(Player)
if not Data then return end

table.insert(Data.Inventory , ItemName)
--TODO : update the leaderstats

end

#

first defines data by getting the players data, using the first function

#

if that data is blank, it ends the function

#

it then inserts within that table?

#

so it inserts

#

in the data table
what the item name is, defined as the inventory within the key

#

okay i think i get it

#

and then like

#

after you get the data

#

you put it in the storage

#

whatever the data is

#

but thats a diff function

rare cradle
#

Yall should I script character customization UI on the server (There is a place separated for the character customization)

fresh beacon
#

Are you allowed to remove the age groups thingy for your games chat>

#

or make a custom one without it>

blissful arch
fresh beacon
#

I don't want it in my game anyways since the chat is pretty dead and splitting it into 3 sections makes it even more dead

blissful arch
#

bro look at the links in this post

#

all the games got permabanned

summer tartan
#

all things such as beds and so on from games had a deadline to remove them due to such concerns too

autumn raft
#

yo anyone wanna wanna make a simple game

#

it will take like a day

#

with help

earnest radish
#

Beside OOP, what can metatables be useful for?

sullen fox
#

with the metamethods

compact spoke
#

all of the metamethods are useful in some way

potent maple
#

I'm interested in how you guys handle developer products. Do you use a single general ModuleScript, something like:

[636136] = function()
    -- grant items or handle other logic
end
compact spoke
#

Did you make this

#

or did AI make it

spice cypress
#

la inteligencia artificial ay caramba

hoary cedar
spice cypress
#

doesn't git keep track of author shit why u have to put it as a comment

#

i ruh roh

hoary cedar
spice cypress
#

does it matter

#

i mean if someone wants to use it they're gonna have to go to ur github anyway aren't they

compact spoke
#

You don't get to downplay things

#

Its okay to be careful

hoary cedar
spice cypress
#

idk it just seems like a hastle

#

i mean if you forgot to update it after a commit then it would be wrong

#

and then that would get messy surely

#

¯_(ツ)_/¯

hoary cedar
# sullen fox what is it handling?

It serves as a central pipeline for all game-passes, developer products, and can expand to serve a custom in-game economy. It's very useful in terms of testing, analytics, and wide-scale behavioural adjustment

potent maple
spice cypress
#

also you said ur working in a team but github says ur the only contributor

hoary cedar
hoary cedar
#

I mean, I'm even handling gifting in that system

rich tartan
#

inside a typical shooter gun tool. is there a smarter way to get the aim cframe into the tool server script other then remote event from the localscript of the tool? that seems so inneficient. i wonder if theres a better way i'm unaware of

hoary cedar
dark juniper
#

What are u my mom

compact spoke
west dirge
#

is there a way to export animation events in moon animator? like when i export the rigs it just doesn't

rich tartan
real karma
#

who needs help

left roost
#

With scripting ? Me

shadow sphinx
#

im new can someone help me with my code rq

shadow sphinx
#

oh wsp @hoary cedar

hoary cedar
#

Just raw organization and tooling

shadow sphinx
#
local passingTestScores = {}
local failingTestScores = {}

local testScores = {99, 46, 67, 87, 92}

for i, v in testScores do
    if v >= 65 then
        v = passingTestScores
    elseif v <= 64 then
        v = failingTestScores
    end
end

print(passingTestScores, failingTestScores)
```Can someone help me with ts
wise turtle
#

rate my architecture

brisk isle
hoary cedar
brisk isle
# wise turtle rate my architecture

looks organized but id probably clean up the naming a bit since u got Assets and assets and also Interface and Client overlapping a little

#

8/10

shadow sphinx
brisk isle
wise turtle
shadow sphinx
brisk isle
brisk isle
shadow sphinx
shadow sphinx
brisk isle
#

ipairs is for arrays like that table and pairs is more for general tables so whoever told u that was just wrong

shadow sphinx
#

the person who told me that said that instead of doing pairs and ipairs i can just loop through the table normally

atomic dune
#

hey! i’m a new coder looking for a small group of active coders (both beginners + experienced) to improve together, share tips, and help each other grow 🙏 add me if your interested****

shadow sphinx
#
local tilesFolder = game.Workspace:FindFirstChild("Tiles")

local tiles = tilesFolder:GetChildren()

for i, v in tiles do
    while true do
        tiles[i].BrickColor = BrickColor.random()
        task.wait(1)
    end
end
```Can someone help me with ts
strange ravine
#

I been scripting for like half a year now is it still worth it to keep learning or ug think ai will take over

shadow sphinx
#

it can never replace human coders

#

it will only make scripting more valuable

unreal jacinth
shadow sphinx
#

the only area where scripters are getting hired less because of AI is Roblox Studio and anywhere outside of it, people are actually smart and know the values of human programmers.

iron epoch
# shadow sphinx ``` local tilesFolder = game.Workspace:FindFirstChild("Tiles") local tiles = ti...

@shadow sphinx the problem with that code is you have a "logic jam". Because you have a while true loop in your for loop, im pretty sure your script is getting stuck on the first tile. Put the while loop on the outside and the for loop inside. This way the script will cycle through every tile. Try this: local tilesFolder = game.Workspace:FindFirstChild("Tiles")
local tiles = tilesFolder:GetChildren()

while true do
for i, v in tiles do
v.BrickColor = BrickColor.random()
end
task.wait(1)
end

iron epoch
grizzled acorn
#

i have a game that spawns parts based on how good the timing of your click is, is there a possible way to make it non ping reliant, kind of like robeats if anyone knows that game

iron epoch
#

does that answer your question @grizzled acorn

grizzled acorn
#

yea but my game isnt like a rhythm game, it just spawns parts server side with a size based on the timing of the click

#

my question is, does having the calculating of the timing of your click being in a localscript make roblox ignore the ping of the player

#

like for instance i had my friend join robeats with a vpn on 600ms and he could feel literally no difference than being on 50ms

#

but in my game it was SUPER delayed with the timing

iron epoch
# grizzled acorn yea but my game isnt like a rhythm game, it just spawns parts server side with a...

heres the issue with that, by the time the server sees your click the perfect timing may be late because of the 50-100 ms it took to travel as a signal. Instead of the server waiting for a click, the server and client need to agree on the time. The server can spawn the part and record the exact time. The client clicks the part. Instead of sending an I clicked message,t he client sends the time and the click actually happens on their screen.

grizzled acorn
#

the client sending the time would make it feel delayed still then no

iron epoch
# grizzled acorn the client sending the time would make it feel delayed still then no

@grizzled acorn the key to making it lag free isnt about how fast the server gets the message entirely; it's also about what the player sees on their screen the exact moment they click. In your game, I would assume you are waiting for the server to tell the client, that wait is the delay. In a non ping reliant game, the client handles visuals instantly. The server is "past-tense". The server may recieve the message like milliseconds later. But because the player already saw the part react on their screen, they wouldn't care that the server took a moment to officialize it. The only thing that would be delayed is other players seeing what you did.

ember turret
#

i have a question. im using statechanged function and it seems like its very inaccurate if i make it server sided. would be fine if i just make it client sided and then send the info to server and do some small validations?

grizzled acorn
fervent widget
#

chat should i make a serverside

#

i made ts gui - i didnt i skidded it and made it better

iron epoch
ember turret
#

ty

viral cliff
#

Anyone know why the prices aren’t working in game on the stands but on studio they look fine

#

500 Robux to the helper

frail plaza
#

we have no code snippets

sullen fox
#

and how is the display being set in game

viral cliff
#

Like it’s not putting the prices least expensive to most

#

But in studio it does

sullen fox
#

did u publish it

viral cliff
#

Yea

sullen fox
#

could you showcase that?

viral cliff
sullen fox
#

i need to see the code

viral cliff
modest hound
#

anyoen got an idea of reconile

#

do i save client pos and validate depends on that pos

ashen gate
#

does anyone have a gifting gamepass script

unborn vector
vivid bloom
#

my first time making an M1 system lmk if its good so far : local Fists = {}

-- Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerScriptService = game:GetService("ServerScriptService")

-- Variables
local ServerModules = ServerScriptService.Modules
local Settings = ServerModules.Settings
local WeaponSettings = require(Settings.Weapons)
local Debris = workspace.Debris
local HitboxesParent = Debris.Hitbox
local Modules = ReplicatedStorage.Modules
local Packages = Modules.Packages
local Zone = require(Packages.Zone)
local Assets = ReplicatedStorage.Assets
local Hitboxes = Assets.Hitboxes
local M1Hitbox = Hitboxes.Weapons.Fists.M1.Hitbox
local Events = ReplicatedStorage.Events
local Remotes = Events.Remotes
local VFXEvent = Remotes.VFX

-- Functions
function Fists.M1(player, params)
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local humanoidrootpart = character:WaitForChild("HumanoidRootPart")

local M1Settings = {
    Hits = WeaponSettings.Fists.M1.Hits,
    BaseDamage = WeaponSettings.Fists.M1.BaseDamage,
    HitWindow = WeaponSettings.Fists.M1.HitWindow,
    Cooldown = WeaponSettings.Fists.M1.Cooldown
}

local ComboCount = character:GetAttribute("ComboCount")
if character:GetAttribute("WeaponEquipped") == false then return end

local function M1HitboxHandler()
    local ClonedM1Hitbox = M1Hitbox:Clone()
    ClonedM1Hitbox.Parent = HitboxesParent
    local M1Zone = Zone.new(ClonedM1Hitbox)
    local M1HitboxCFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1.5)
    
    M1Zone.partEntered:Connect(function(hit)
        local HitHumanoid = hit.Parent:FindFirstChild("Humanoid")
        if HitHumanoid == humanoid or character then return end
        
        
    end)
end

end

return Fists

weak flax
potent igloo
#

when you set the size of it

potent igloo
#

because if you ever have an npc ai on your game, you would be able to use the same m1 function youre using for the players

pliant girder
#

can someone help me udnerstand how to randomly spawn models on a map?

#

i destroy the models with a shovel then i need them to clear and respawn after a time in a random position

quaint tapir
midnight dock
#

bro this button only fires when i press r2 on cotrller

#

how do i make it fire when i hit A

#
local function OpenMenu()
    if CurrentTab == "Discovery" then
        CurrentTab = "Transistionion"
        warn("Going to creating league, from Discovery")
        local playerGui = player:WaitForChild("PlayerGui")
        local DSCT = playerGui:WaitForChild("ButtonHandler").League.DiscoveryFrame.ScrollingFrame

        fadeUI("DiscoveryFrame", false)
        BackBtn.TextButton.Interactable = false
        Makeleague.GroupCreateBack.TextButton.Selectable = false
        wait(.7)
        fadeUI("CreateLeague", true)
    elseif CurrentTab == "GroupInfo" then
        CurrentTab = "Transistionion"
        warn("Going to creating league, from Discovery")
        warn("Right Here")
        GroupInfoPage(false, CurrentGroup, true)
        BackButtonFade(false)
        BackBtn.TextButton.Interactable = false
        Makeleague.GroupCreateBack.TextButton.Selectable = false
        wait(.7)
        fadeUI("CreateLeague", true)
    else

    end
end

btn.MouseButton1Click:Connect(OpenMenu)
btn.Activated:Connect(OpenMenu)

tropic terrace
#

yo guys how much should scripters usually charge to make a full game

fiery drift
tropic terrace
#

thats like the base of it

regal salmon
fiery drift
#

⤴️

remote bear
#

adding a z pass (before and after). its not that fast or the best yet but i will improve it

snow veldt
regal salmon
#

infinite money?!

snow veldt
#

pay infintie

regal salmon
#

valid

snow veldt
#

Yesz.

#

I know my worth

weak flax
potent igloo
weak flax
weak flax
civic current
#

use auto scale plugin

#

and add aspect ratios

weak flax
#

how do i add that

#

acpect ratios

#

@civic current

civic current
#

with the auto scale plugin

#

lol

#

or manually

weak flax
#

i use

#

autocale lite

#

how do i add it

potent igloo
#

just set the sizeconstraint property to relativeYY

civic current
weak flax
#

constraint

#

?

potent igloo
#

to the highest frame in the hierarchy

weak flax
civic current
civic current
weak flax
#

to eveything/z

#

?

civic current
#

main frame is enough

weak flax
#

i added it

#

and it srtill does it

#

im uisng a grid layout

civic current
#

does wat

weak flax
#

it still

#

is the same size

#

its too big bro

civic current
#

scale it down?..

weak flax
#

i want it to be this size

civic current
#

make the size smaller brotation

weak flax
#

im using an ui grid layout

#

and ui padding

civic current
#

my god bro

weak flax
#

dude

dense spade
#

the plugin doesnt scale the uigridlayout

dense spade
# weak flax

select the size values here and paste it in CellSize of uigrid

weak flax
#

wait o whta do i do

dense spade
#

🥀 BONK

stable verge
dense spade
#

remove uigrid,size the thing how u want,copy the size values,put the size value in the uigrid property CellSize

tropic terrace
#

thats expensive asl

snow veldt
#

for. Real bro.

tropic terrace
#

i thought it was 500-700

snow veldt
#

unless you wanna get some 13 year old who will vibe code your whole game for 10k-30k robux

#

unoptimized and very exploitable

dense spade
snow veldt
#

then you can do that too

snow veldt
weak flax
#

yeah so it just did not work

#

@dense spade

dense spade
cerulean sleet
#

hey is it possible to to play a animation only on the server and not do it on the client.

minor jacinth
dense spade
#

in CellSize

snow veldt
#

yeah Claude definetly has gotten very powerful

dense spade
snow veldt
#

at a cheap price of maybe 1000 usd a month

#

(I do not know the real price)

minor jacinth
weak flax
minor jacinth
#

Low-key a steal

dense spade
#

im for hire to fix anyones broken AI code praysob

weak flax
minor jacinth
dense spade
dense spade
snow veldt
#

son im crine praysob

dire rune
stable verge
dense spade
snow veldt
#

Ai is my therapist and my accountant

minor jacinth
dense spade
#

asked code help alot tho

dense spade
snow veldt
#

thats the craziest thing ive read

dense spade
minor jacinth
dense spade
#

the real one is watching netflix on the couch

snow veldt
#

bro checks in with his ai to make sure its okay to respond with that

dense spade
snow veldt
#

AI training you bro

dense spade
#

training me to be like matrix battery

remote bear
frail yarrow
modern seal
snow veldt
#

thats how i set my dash up

modern seal
#

i cant remember if i did linesr vel or bodyimpulse whyver its called

eternal apex
#

Anyone wanna test my game rq with me

cobalt loom
eternal apex
dense spade
open sedge
honest hedge
#

does anyone know where i can find a already made pet system? never used pets before and seems like a lot of time to make a new pet system

open sedge
open sedge
#

Or hire someone

honest hedge
open sedge
#

maybe go on YouTube?

honest hedge
#

yeah youtube has some good tutorials to make one but its normally 10-20 parts each an hour long and didnt wanna spend 10-20 hours making a pet system, but if i have to i will

open sedge
#

I meant like uncopylocked systems

haughty sapphire
fresh beacon
#

internet so dogshit

#

kicked me out of studio 25 times

#

in 1 hour

honest hedge
vapid radish
#

and if its not to your liking, i'd say just figure it out yourself. or better yet, hire someone

haughty sapphire
fresh beacon
#

and not the fact I crashed 25 times

modern seal
#

o,O ~?

fresh beacon
modern seal
#

oaw

remote phoenix
#

if your internet is consistently unstable

azure coral
#

Is OOP really really required? I know how to use it and all but usually i can't really think of any use for it aside from convinience and what not

hoary cedar
#

Not much different to how you would answer a call with a phone than a laptop

azure coral
#

i understand

cyan lantern
#

paradigm

midnight dock
#

this is hopeless

#

wish someone would of told me to stop making this game months ago

cinder temple
#

Honestly the roblox official videos

boreal dirge
modern seal
#

I hate ppl who r proud of using AI or brag about it

#

using ai should be th guilty self conscious shameful last-resort

midnight dock
#

fuck all of you guys

modern seal
#

It's like, why brag about smth literally ANYONE can do ?? you're js a nobody get outta heree

midnight dock
#

im in here begging for help

#

u mother fuckers just yappin

modern seal
hearty lion
midnight dock
#

YES

hearty lion
#

and then I realize I'm trying to make something way too compex

static coral
lean ocean
#

prob skidding

hearty lion
#

No.

dense spade
#

pinged 8 times damn thats crazy

kind shore
#

Sjajnssksjshshshsjshshshhs

mossy vessel
#

need scripter for a game payment 100-300 usd lmk send ur portfoilo and past work otherwise i wont respond

lean ocean
#

i can make more at mcdonalds

hallow dawn
#

Is buying templates worth it?

remote bear
normal iris
rotund moat
cinder temple
dense spade
ancient root
#

I didn't know you can get rid of Roblox's Menu button

#

Menu still works

#

Roblox W?

dense spade
#

how about for mobile players who cant press Esc

ancient root
#

Fuck knows

#

I'm gate keeping tho

dense spade
#

oh well

#

looks like a cool feature to make a game not feel like its roblox

ancient root
#

Oh yeah it don't

tardy pasture
ancient root
#

unless you use the back button

dense spade
ancient root
#

You can still use the phone's built in nav buttons

#

that are part of its ui

dense spade
ancient root
tardy pasture
#

if they then wanna quit roblox they have to buy a new phone or sum idk

dense spade
#

but disabling that prevents mobile players from being able to change settings

ancient root
dense spade
#

like graphics or volume

ancient root
tardy pasture
ancient root
#

with the back button

ancient root
dense spade
ancient root
#

It's part of their UI

dense spade
ancient root
#

Iphones should 100% have it

dense spade
#

What? how ?

ancient root
#

Swipe gestures innit?

dense spade
#

im literally on an iphone rn

dense spade
#

iphones never had a software level back button like androids

ancient root
#

Point for androids

#

1 - 0

tardy pasture
#

android best

#

i got mine like 10 years not even a scratch on it

ancient root
dense spade
#

true i used to have android phone with pirated games on it

tardy pasture
dense spade
#

its only for educational purposes

ancient root
#

I'm gate keeping this shit so Roblox can't fix it.

dense spade
hasty mesa
ancient root
#

Maybe

#

Bro I can't fucking navigate this new studio UI

#

where's the old UI

tardy pasture
#

ik it sucks

cyan trail
#

how to see what code is causing high memory in sent and received

modern seal
mossy vessel
lean ocean
#

The truth hurts

mossy vessel
#

i am a sourcer bud i dont pay this is the budget that i was provided with i really dont care if u can make more if u work at mc

lean ocean
#

It's fine we can work at mc together

mossy vessel
#

sure as long as we get paid idc

mossy vessel
#

the truth does hurt

boreal dirge
mossy vessel
#

wdym

boreal dirge
#

what type of game u want

mossy vessel
#

dm me

#

ill send the info

boreal dirge
#

just say here

mossy vessel
#

id rather discuss it in private.

marsh dust
#

is coding something i should get into even if i'm not passionate about it or is it something like music where you should only do it if you love it?

regal salmon
junior coral
junior coral
minor jacinth
regal salmon
junior coral
#

and also where do i even ask people if they wanna make a game with me

junior coral
fervent belfryBOT
#
Tag » Use the Marketplace

All hiring, recruiting, or collaboration requests—paid or unpaid—must be posted in the marketplace channels. Read #marketplace-info to find out how to post.

This includes:

  • Job offers, freelance work, or commissions
  • Team recruitment for games, partnerships or volunteer work

Posting these outside of the marketplace is considered channel misuse and may result in moderation action. Only asking for advice/feedback is acceptable.

-# View our Discipline Guidelines for more information about the rules.

minor jacinth
junior coral
#

or decently advanced shit

regal salmon
#

any free ai will give outdated information

minor jacinth
junior coral
regal salmon
#

i am a programmer who uses ai to assist in my coding when necessary, i know from experience

minor jacinth
#

When starting a project you should have a md file for documentation and architecture of the game and Claude knows data stores and it’s up to date praysob

junior coral
#

should i try make a dialog system using claude

minor jacinth
#

And don’t just ask Claude to build a Dialog system praysob

regal salmon
minor jacinth
#

Can’t acknowledge that some vibe coders are leagues ahead of 99.9% of programmers

#

Calling non vibe coders programmers is kinda pushing it tbh they should stick to being called scripters

regal salmon
#

i don't really understand why you're so adamant on people using AI to vibe-code
do you want programmers to be replaced by it?

#

and if so, why?

minor jacinth
minor jacinth
#

Even if it’s a brain rot game 10k ccu is 10k ccu

regal salmon
#

if you spend the time to learn, you can become better at coding than AI, but you can't get to that point if you just resort to vibe-coding instead

lean ocean
#

remember humans made chatgpt 🤕

regal salmon
#

AI doesn't write good code a lot of the time
it writes functional code, but that doesn't make it good code

regal salmon
lavish sphinx
#

😭

minor jacinth
#

We’re making brain rot slop games get a grip

regal salmon
#

not everyone is

#

i know i'm not

#

and i'd really rather there not be brainrot slop games on the platform if i'm being honest

minor jacinth
minor jacinth
#

But too bad that’s not the reality we live in

regal salmon
#

so then why not encourage people to put effort in instead of make mass-produced slop 😭

minor jacinth
#

I can’t blame you tipati is shit and Roblox keeps messaging me rubbish when I devex but do as you please

wise harbor
regal salmon
wise harbor
minor jacinth
wise harbor
#

Take a minute to reread my message and comprehend what I am saying