#code-discussion

1 messages · Page 208 of 1

balmy zenith
#

you could also just do it based on how much is currently in used

#

so say you always got a 20% extra pool of existing

foggy burrow
#

Like wdym

#

Just calculate how much is being pulled?

balmy zenith
#

say you got 100 in use, youd remove it if it goes over 20 in pool

foggy burrow
#

The only thing is that could vary

#

I would remove the pool if it goes over 20?

balmy zenith
#

just the ones over 20

foggy burrow
#

Oh

#

Just the single cached

balmy zenith
#

yeah

#

so anything over 20 wouldnt be pooled basically

#

20 is probably too little tho

#

maybe 40%

foggy burrow
#

40% of the total cache

#

But what if the cache needs to be increased cause there’s more rocks that needs to be spawned

balmy zenith
azure comet
#

join my dev team boy

balmy zenith
#

so anything over the 40% wouldnt be pooled ie instantly destroyed when freed

azure comet
balmy zenith
#

🤷

foggy burrow
#

Oh you mean on return

azure comet
#

your name is sooo familiar

#

did your pfp use to be a green haired anime girl

balmy zenith
#

no

#

not green

azure comet
#

welp wrong guy

modern seal
#

hi witum

azure comet
#

sorry for getting you all hot and bothered with my awesome aura

balmy zenith
balmy zenith
balmy zenith
foggy burrow
#

On return

modern seal
foggy burrow
azure comet
modern seal
foggy burrow
#

Why

#

Bro im tryna understand this cache shi

azure comet
#

Cause you would make a good weapon

#

fine figure it out then I will bother you about it later

summer aurora
#

have y'all ever wondered why Roblox hasn't made a new type of leaderstats

#

looks really jarring to do Player.leaderstats

azure comet
#

Im tryna gather up some devs for this awesome isekai game I wanna work on its a pasison project I been brainstorming for almost an entire year

summer aurora
#

you'd expect them to make it a object property by now

balmy zenith
foggy burrow
#

Bro just make your own leaderstats

#

@balmy zenith

#

I just wanna make sure

#

I understand

#

So don’t have any instances in a cache at start

#

But when a rock gets created for example let’s say 20

#

20 rocks would then be added

summer aurora
#

same energy as Players.NumPlayers

foggy burrow
#

And then every couple seconds

#

I remove bits of the cache

foggy burrow
#

But I’m a little too busy with my own work

#

Is that all correct @balmy zenith?

balmy zenith
foggy burrow
#

Yeah I gotchu

azure comet
foggy burrow
#

My own studio

azure comet
#

whatcha makin

foggy burrow
#

The link in in my discord bio

#

If you wanna join the server and check it out

fickle karma
#

could anyone be my scripting coach? im trying to get better

rigid rover
scenic jungle
#

Is there a way to learn how to properly organise your code? Whenever I thought I organised it properly, I'm met with the code not working. Besides that, I know how the code should work too but again, I have no idea how to put it in a way for the program to understand.

lean ocean
#

Show example

shut ridge
#

Second I will recommend to activate --!strict to ensure your script are perfectly good typechecked

#

And then you can take comments on lines/functions where you think that is may be little complicated and you may forgot how it works after a while

rigid rover
scenic jungle
scenic jungle
# rigid rover bud just paste code to ai say organize code

How should I learn then? Besides that, I am literally taking computer science for college soo relying AI on something kinda defeats one of the few reasons why I got here, I want to actually learn while having fun with experimenting.

#

Oh mann.

#

I wanted to ask why my code did not work until I realized I have no image permissions.

shut ridge
shut ridge
scenic jungle
# shut ridge Send code here

local.KillBrick = scrip.Parent

local function health_drain()
humanoid.Health -= x
--the x is a placeholder

KillBrick.Touched:Connect(function(otherpart)
health_drain(humanoid == 0)
KillBrick.BrickColor = BrickColor.new("Bright Red")
task.wait(1)
End

#

I did not thought about this.

#

Many thanks.

quaint nexus
#

wsp guys is it hard to get luau role?

shut ridge
#

Function is not closed , humanoid not defined, x not defined, function habe no argument

hasty star
#

modular scripts are confusing as fuck

#

like

#

i know how to use them

#

but i dont know why to use them

static forum
#

Cooked

hasty star
#

how so

hasty star
neat sigil
#

Data, and it’s way better organized

hasty star
#

yea ive heard that before

hasty star
#

apart from a couple i am simply not ready to do

lean ocean
#

imagine u have to store a weapons stats

#

u would use a module for that

hasty star
neat sigil
#

Rng rates data

lean ocean
#

u can also use it to store functions

hasty star
#

ohhhh

#

so like

neat sigil
#

Each attack function for different characters

hasty star
#

instead of making a door function and duplicating it to every door i can just define the variables and call the modular script

neat sigil
#

Eh u would use collectionservice for that either way

hasty star
#

oh

#

huh

#

anyways thanks

#

im gonna go try and figure out how to make a state machine

#

(for my fluid sim)

scenic jungle
quaint nexus
#

if any1 needs help ping me*

static forum
#

How are u

eternal current
#

@quaint nexus yo i got a question, i got a gun system but somehow it doesnt work on console like when i click right trigger it doesnt shoot, is there anyway to bind it to the right trigger to give the gun system console support

mental relic
#

look at devforums

shut ridge
# scenic jungle For the function not closing, I forgot to add it back from the image I copied in...
  1. local.killbrick is wrong should to local kill Rick
    2)local function health () is her enot need able just make all in the touch functions.
  2. get the humanoid. Local character = otherpart.Parenr
    Local. Humanoid = character: FindFirstChild("Humanoid")
  3. just set Humanoid.Health = 0 maybe before this line also check if humanoid then
    ...
    5)the rest seems okay paste the code in studio the studio will also marks mistakes etc
wintry stratus
#

is bodyangularvelocity world relative or part relative

#

and if its world relative then is angularvelocity part relative

scenic jungle
summer phoenix
#
local.KillBrick = scrip.Parent

local function health_drain()
humanoid.Health -= x 
--the x is a placeholder

KillBrick.Touched:Connect(function(otherpart)
health_drain(humanoid == 0)
KillBrick.BrickColor = BrickColor.new("Bright Red")
task.wait(1)
End
balmy zenith
#

what the frick

summer phoenix
#

its not my code its the other guys code

summer phoenix
#

😭

#

what is the purpose

#

Is he scripting mona lisa

wise turtle
#

yes.

fiery terrace
# wise turtle yes.

Guys i wanna learn lua but idk where can you tell me a yt channel or good website

wise turtle
#

DISCORD 📜
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P

MEMBERSHIPS 🎁
Get Access To My Scripts + More Perks By Becoming a Channel Member! 👇
https://www.youtube.com/@BrawlDevRBLX/join

BEGINNER ROBLOX SCRIPTING SERIES 🟢
https://youtube.com/playl...

▶ Play video
balmy zenith
#

why would he

south bridge
#

documentation mogs

shut ridge
#

and pls read studio errors

#

it points 99% of your code out

#

I watched tutorials lol when I first stepped into luau. I don*t know where to begin

shut ridge
cobalt apex
#

yoo]

wise turtle
slate lotus
wise turtle
#

i heard he was fine

slate lotus
#

else you might learn bad practices

tawdry ice
scenic jungle
# shut ridge local.killbrick? What does that even mean?

I have read it and no errors were shown in there. Besides that, local.KillBrick is the model it's using in the workspace
KillBrick is the name of the model and local. is the place where it searches for (or at least I think what it does.)

scenic jungle
inland agate
#

why do you write code like that

scenic jungle
inland agate
scenic jungle
#

I literally said it's telling the code to refer to that specific model from what I understood.

inland agate
#

not local.killBreak

#

also the wait you have at the end of the function doesn't implement a cooldown for taking damage

scenic jungle
#

Oh. I see. How do I do that?

inland agate
#

do what

scenic jungle
inland agate
#

implementing a cooldown?

scenic jungle
#

I asked reddit too to gain more knowledge.

scenic jungle
inland agate
# scenic jungle Also yes.

set a variable called canDamage = true or something and then when the player hits that part set it to false

and then set it to true 1 second later using task.delay(delayamount , function())

inland agate
#

np

faint smelt
inland agate
shut ridge
shell breach
#

is it js me i know what to do its js hard executing it in roblox lol

modern seal
#

how hard is scripting movement system ?? im a beginnerr

deft coral
#

i would start a little simpler first and work into it, wont take long

loud bridge
#

twin

#

ok find 🥱

#

its not a real programming language tho

#

although a DSL is still a programming language

#

luau is js

#

luau

random nebula
#

Luau is a standalone language used in other games like warframe, alan wake 2 and Witcher 4

summer phoenix
#

Every channel always has this one guy

blazing leaf
lean ocean
#

look at his pfp

#

expected

#

femboy

proper veldt
#

How is the raycast Instance left leg when i have it in the filter?

exotic rapids
#

how can I fix different characters with humanoids "bouncing" if their platform stand gets set to true and then to false?

fierce spruce
#

Yo can any1 find me a ready made sniper with a working scope I'll pay u

lost crest
#

does anyone know a module to track friends in a server

#

for friendboosts

proper veldt
#

Used wrong parameter variable

summer phoenix
proper veldt
#

It’s just the players character

summer phoenix
#

How did you access it

#

through player.?

proper veldt
#

But I created the RaycastParams variable but did params.FilterType

proper veldt
summer phoenix
#

kk

vagrant viper
#

in your scripts why can't you refer to a model position, like when I group together a bunch of parts I'm unable to refer to it like: partModel.position

somber vault
#

what do I script 😔😔😔

exotic comet
somber vault
exotic comet
#

Wtf

somber vault
#

😔😔😔😔

exotic comet
#

When can you appeal ?

somber vault
#

idk i forgot

exotic comet
#

Me its on november 4th@somber vault

#

Wtf

somber vault
#

its in februraty or smthn idfk

exotic comet
somber vault
#

yea

exotic comet
somber vault
#

2

exotic comet
#

Oh..'

#

Its my first

somber vault
#

sad

exotic comet
#

Last time it was because of some African countries

#

Lets go dm

vale dune
#

Guys this isn’t related to luau but does anyone think they could help me with something related to python?

grim tendon
#

How much theses task would cost for a dev (for a donation game)

Tasks & Features to Implement
• Shop Ul (with gifting functionality)
• Codes Ul
• Settings Ul (linked to donation options, effects, and SFX)
• Booth Edit Ul (refreshing, text applying, booth inventory, etc.)
• Daily Rewards system
• Clan feature
• Player Chat Tags-VFX
Implementation (three main effects)
• Time Tracking for the top time leaderboard

carmine dragon
#

can someone help me with something dm me if u can help

rotund ore
#

Was asked by a friend to review his code cause his game gets hacked too much. Do you guys think I will ever finish?

scenic jungle
scenic jungle
#

--This code is for experimenting with the KillBrick.
local KillBrick = script.Parent
--This is the brick itself.

KillBrick.Touched:Connect(function(otherPart)
local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
--This is the function to find the humanoid.
if damage == true then
print("Continue as usual")
else
task.delay(5,damage)
end
--This is the function to make the brick not kill the player.
if humanoid then
damage = false
KillBrick.BrickColor = BrickColor.new("Bright red")
task.wait(1)
end
end)
--This is what happens when you touch it.

#

I am not too good at this. There is always an error at line 13 but I have no idea how to make it work properly.

opaque blade
#

I dont see anything defining otherpart

#

Unless I'm blind

#

Lemme reread it

#

@scenic jungle where's the thing defining "otherpart"

vast marten
#

Looking for someone heavily experienced with the editable mesh API, paying good.

(Objectively simple task)

exotic comet
#

Otherpart is the part that touched

real mantle
#

Does anyone know how to achieve animated roblox chat tags

exotic comet
#

Look at the docs

real mantle
#

How

#

I didn't find anything man

exotic comet
#

Hm thats weird lemme check

vagrant viper
exotic comet
#

Oh I cant send links@real mantle

opaque blade
#

Sorry, im looking at it wrong

#

I think I see the issue

real mantle
opaque blade
#

Which one is line 13

#

That would help a lot

#

Been doing this for 4 years bro

#

or 3 idk

#

Ngl, ima take a nap

scenic jungle
#

And otherPart is when the part has been touched.

#

I genuinely thought Discord would give me a notification while it was running in the background.

opaque blade
#

I found it

opaque blade
bold hound
#

I help improving language english for five rupee.

somber vault
#

ez

#

and stop using free models

real cliff
#

the it

#

the it

static forum
#

Does anyone know how to deal with setnetworkowner issue smooth transfer of ownership

real cliff
analog apex
#

PetGenerator Module: https://pastebin.com/w6XELuFU
PetGeneratorFrame LocalScript in StarterGui: https://pastebin.com/V3V57Tjc

Players.zemey.PlayerGui.PetGeneratorFrame:26: attempt to call missing method 'Fill' of table - Client - PetGeneratorFrame:26

This is an object oriented programming question; how come I can't call the Fill method? Thank you in advance. 🙂

real mantle
#

Does anyone know how to achieve animated roblox chat tags, i tried "TextChatService.ChatWindowConfiguration" but didn't work for me

scenic jungle
#

That part specifically.

median tree
vernal peak
#

Guys this is my first time making an rng system:

so far my thoughts are; player fires “roll” event, server catch’s it then rolls a rarity and power name using a module script table in that rarity then adds a tag to the player with the power name. Another script listens for instance added then gives the player the ability they rolled

Is constantly adding and removing tags a bad idea?

wet hill
#

Hi

vernal peak
balmy zenith
bold hound
#

Do you not use modules?

vernal peak
#

I did

#

Tables

#

I have one for rarity and another for power ability’s

bold hound
#

A table is not a module.

#

I mean ModuleScripts.

vernal peak
#

Yeah but u usually store tables in a module script

#

Or am I trippin

bold hound
#

Yeah, you do.

#

You can use them for anything though.

vernal peak
#

Alr but what did

#

He mean

#

By that

bold hound
#

Create a module, require it, and add a function that listens on power adds.

vernal peak
#

Thats what i did

balmy zenith
#

not even listen on power adds, you call the function to add a power

bold hound
#

Yeah.

vernal peak
#

Fuck is power add

bold hound
balmy zenith
vernal peak
vernal peak
#

OH U WANT ME TO USE A REMOTE EVENT

bold hound
#

No?

balmy zenith
#

why need to listen

#

just call directly

vernal peak
#

Wym call

bold hound
balmy zenith
#

call to give power directly

vernal peak
#

Cuz the rolling is a separate script

analog apex
plain basin
#

the one with the red arrow pointing at it is the one printing nil, why

balmy zenith
#

print what player is in the handler

#

its prolly different

worn eagle
balmy zenith
#

you can see the white print has the same exact instance as warn

#

meaning the only issue is the player key youre tryna access itself

plain basin
#

im using the same instance of player am i not?

balmy zenith
#

print to check it

plain basin
#

oh

#

wait

#

nvm sorry

proper veldt
#

Do you guys get mocked for being roblox developers?

fleet atlas
#

How do u decomp files

modern seal
digital oak
plain basin
modern seal
#

okie

vale flame
#

Hello I wanted to know if it's possible to make a script that only allows players who follow a specific person on Roblox to go through a wall (I'm not a scripter)

hazy reef
#

Hows that possible dawg

worn eagle
#

so its possible

hazy reef
worn eagle
#

roblox has a API called followings API

#

100% possible

hazy reef
#

Ok if thats possible thats cool ive never seen it implemented

worn eagle
#

i might make it for fun ill send the results here

vale flame
vale flame
#

Wait I'm reading that it won't work with only using Roblox studio

worn eagle
vale flame
#

You need to HTTP request ?

open oracle
worn eagle
vale flame
balmy zenith
#

hm?

#

roblox servers can do http requests

vale flame
#

Oh okay cool then

#

I mean I know they do some but I didn't know if they could do any HTTP request

worn eagle
vale flame
#

Yeah I've set that to true

balmy zenith
#

they can get and post

vale flame
#

But to check who is following you you gotta use Roblox followings API right. Do they allow you to use their own API ?

worn eagle
#

i just got the error

#

while making it

#

its possible tho if i use the group method

balmy zenith
#

can proxy

vale flame
worn eagle
vale flame
worn eagle
#

you basically just make a badge on your game and it will track the followings and everything

#

ive just tested it and can confirm it works

vale flame
worn eagle
vale flame
vale flame
vale flame
worn eagle
#

ive added you anyways i could make it for you if you want!

#

takes like 10 mins to make

vale flame
worn eagle
#

pretty much yeah!

mortal lance
fiery pulsar
#

7

lean ocean
#

67

safe lagoon
#

67 😔

fiery pulsar
#

rt

warm flicker
#

my script is working in studio but not in game could someone help me 😭

ripe arch
#

guys

south vapor
#

sup yall

exotic comet
south vapor
#

i'm pretty good

#

i lost some of my scripting skills

exotic comet
#

Same lmao

south vapor
#

I didn't script in a while now

exotic comet
#

School?

south vapor
#

Exactly

exotic comet
#

That's so boring bruh

#

I prefer scripting than going to school

south vapor
#

same here

#

but guess what

exotic comet
#

Like I get real useful skills

south vapor
#

I don't have the authority to just stop

#

I was about to ask

exotic comet
#

Yeah no choice :/

south vapor
#

how can I *-1 a cframe

exotic comet
#

I don't get it

south vapor
#

I want to get the negative value of a cframe

exotic comet
#

Oh

south vapor
#

so like opposite

exotic comet
#

What about -cframe

south vapor
#

does that work ?

exotic comet
#

I think

#

Didn't try tho

south vapor
#

It doesn't

exotic comet
#

Oh

#

What about the *-1? Doesn't work too?

south vapor
#

how can I get the old roblox UI :(

south vapor
#

it is a cframe not a vector

exotic comet
quartz jewel
south vapor
#

I'm just not used to it

#

it gives me the ick

exotic comet
exotic comet
median plover
#

What can I use i, v for

#

Ipairs

quartz jewel
haughty vortex
#

Coding hurts my brain

#

😵‍💫

viscid matrix
#

after a long procrastination i learnt something about scripting wow

rapid eagle
#

To switch signs

south vapor
#

you cannot

rapid eagle
south vapor
#

cframe doesn't work like that ig

balmy zenith
#

use :Inverse

south vapor
#

I did

#

I knew inverse was the solution but it didn't work, then I found the problem

rapid eagle
south vapor
#

ty for the help cat

#

are you a scripter

rapid eagle
south vapor
#

uh

#

what

#

oh so you're new

rapid eagle
#

I been a scripter for 3+ years

south vapor
#

wdym by never worked with them then

warped cape
#

same

#

wait you haven't worked with cframes in 3 years

rapid eagle
south vapor
#

you just don't use them ?

#

ui scripter or smt like that ?

rapid eagle
rapid eagle
south vapor
#

strange

rapid eagle
#

Also I recon frontend uses them

rapid eagle
#

I just don't use them

south vapor
#

feels like it to me

balmy zenith
#

bro a skid

rapid eagle
balmy zenith
#

script kid

rapid eagle
#

Like a scripter kid?

balmy zenith
#

yeee

rapid eagle
#

In age or as a metaphor

south vapor
#

in what way do you not use them

bitter harbor
#

guys i need help
local function RunGame()
print("GAME BEGINS")
local spawnLocation = workspace.SpawnLocation
local spawnParts = workspace.SpawnParts:GetChildren()

for _, player in pairs(game.Players:GetPlayers()) do
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        local randomPart = spawnParts[math.random(1, #spawnParts)]
        player.Character.HumanoidRootPart.CFrame = randomPart.CFrame + Vector3.new(0, 3, 0)
    end
end
TeleportPlayers(spawnLocation)
Countdown(ROUND_TIME)

end

rapid eagle
bitter harbor
warped cape
bitter harbor
bitter harbor
south vapor
#

ok what is teleport players

bitter harbor
south vapor
#

bro i'm gonna eat you alive if you say that again

bitter harbor
#

lol

rapid eagle
#

I cant help like that especially on mobile

south vapor
#

i meant send the function

rapid eagle
#

Put it in lua plz

warped cape
south vapor
balmy zenith
#

he must be ragebaiting

bitter harbor
# south vapor i meant send the function

local function TeleportPlayers(cframe)
local players = Players:GetPlayers()
for i, player in players do
if not players.Character then continue end

    players.Character:PivotTo(cframe)
end

end

south vapor
#

here you go

warped cape
#

pivot to is deprecated i swear

#

just set the c

warped cape
#

frame

south vapor
#

players is a table

warped cape
#

oh yea

#

i love pivoting a table

bitter harbor
rapid eagle
#

Use player

rapid eagle
south vapor
rapid eagle
#

To loop in a a table

#

Yet ur using the table

proven iron
#

#building-hirable
🚨Professional Roblox Developer Looking for Work 🚨
I create optimized, engaging Roblox experiences with clean scripting, polished UI/UX, and reliable game systems (inventory, combat, data saving, etc.). Experienced across multiple genres, I deliver fast results with clear communication.

💵 Pricing starts at $30| Payments via PayPal, Cash App, Crypto, or Gift Cards (No Robux)

📩 DM me to discuss your project and bring your ideas to life.

south vapor
#

this has to be scam

bitter harbor
south vapor
#

no it is player

random nebula
warped cape
south vapor
#

players is the players in game

loud bridge
#

alan wake 2

south vapor
loud bridge
#

or

random nebula
#

it is

loud bridge
#

or anything

random nebula
#

it literally is lol

bitter harbor
loud bridge
#

else

loud bridge
random nebula
#

you can literally reverse warframe

#

and see it uses luau

south vapor
#

are you sick my friend ?

rapid eagle
#

He was the lead dev for warframe

rapid eagle
loud bridge
#

youre stupida s shit

#

ngl

warped cape
south vapor
random nebula
#

alan wake 2 devs credit roblox for luau

#

cuz they use it in their game

#

u dont know what ur talking about lmao

rapid eagle
#

He is going to fix it himself

random nebula
south vapor
#

shhh, you're the one who doesn't use cframe yet has 3 years of exp

bitter harbor
south vapor
#

what you did

random nebula
bitter harbor
#

i made another table after the countdown to tp back

south vapor
#

yeah i'm not helping you again

#

you're stupid ash

bitter harbor
south vapor
#

show me your code again

random nebula
#

why bro go silent

bitter harbor
random nebula
#

@loud bridge

lean ocean
bitter harbor
#

local function RunGame()
print("GAME BEGINS")
local spawnParts = workspace.SpawnParts:GetChildren()

for _, player in pairs(game.Players:GetPlayers()) do
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        local randomPart = spawnParts[math.random(1, #spawnParts)]
        player.Character.HumanoidRootPart.CFrame = randomPart.CFrame + Vector3.new(0, 3, 0)
    end
end

Countdown(ROUND_TIME)
for _, player in pairs(game.Players:GetPlayers()) do
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        player.Character.HumanoidRootPart.CFrame = workspace.SpawnLocation.CFrame + Vector3.new(0, 3, 0)
    end
end

end

#

instead of the function

south vapor
#

istg

bitter harbor
#

i made a for loop

bitter harbor
south vapor
#

ok

#

delete your progress

bitter harbor
#

why

south vapor
#

and fix the function instead

#

cuz you're wastin memory

bitter harbor
#

true

#

i will do it with the function

lean ocean
#

@loud bridge

south vapor
bitter harbor
south vapor
#

doesn't seem to be

#

maybe you're new ?

random nebula
#

@loud bridge hey bro respond

bitter harbor
south vapor
#

and use the function instead

neon grove
#

hi

bitter harbor
south vapor
#

nvm just continue with your work

bitter harbor
south vapor
rapid eagle
south vapor
#

what's that

rapid eagle
#

Also came is some thing in Roblox so it doesn't make me a cool not to use it

south vapor
#

i may use it but don't actually know it

rapid eagle
bitter harbor
#

i changed the teleport function like you said too

south vapor
#

single thread = not using module scripts (or smt like that)

balmy zenith
#

multi threaded is actors

south vapor
#

can you explain what is these ?

balmy zenith
#

multi threaded = parallel code = using actors with task.desynchronize

south vapor
#

bad english moment :(

#

sorry couldn't comprehend what you've said

balmy zenith
#

parallel code

#

runs at same time

south vapor
#

is that bad or no

#

cuz I do it

balmy zenith
#

you dont do it

#

parallel code is likely faster because you do many things at the same time

#

its not trivial

south vapor
#

idk much

#

but hey, who cares

#

if it works perfectly then why would I want smt else

austere matrix
#

I have a leaderboard, but lets say I have 5k players across all servers. Would this cause any datastore issues or lag? I am not too familiar with datastores.

bitter harbor
#

@south vapor i did what you told me to

south vapor
#

nice and did it work

bitter harbor
south vapor
#

see, you gotta trust me

bitter harbor
#

local function TeleportPlayers(cframe)
for _, player in pairs(game.Players:GetPlayers()) do
if player.Character then
player.Character:PivotTo(cframe)
end
end
end

south vapor
#

ik

bitter harbor
#

local function RunGame()
print("GAME BEGINS")
local spawnLocation = game.Workspace.SpawnLocation.CFrame
local spawnParts = workspace.SpawnParts:GetChildren()

for _, player in pairs(game.Players:GetPlayers()) do
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        local randomPart = spawnParts[math.random(1, #spawnParts)]
        player.Character.HumanoidRootPart.CFrame = randomPart.CFrame + Vector3.new(0, 3, 0)
    end
end
Countdown(ROUND_TIME)
TeleportPlayers(spawnLocation)

end

bitter harbor
south vapor
#

yes

#

gj, now i'm gonna work

bitter harbor
balmy zenith
balmy zenith
idle musk
#

main problem is some inconsistencies in the

#

casing

balmy zenith
#

where?

bitter harbor
#

guys i need help with something

#

anyone can help?

fair copper
idle musk
# balmy zenith where?

in voxel container you're methods are using pascal while some of your other methods (like in voxel container), you're using camelcase

#

i dont know if that's intentional or not but you should probably stick to one method of casing just for consistency

#

otherwise code is pretty good

balmy zenith
#

wym like local functions are supposed to be camelCase, or do you see a method having actual inconsistency?

strange kiln
#

Camelcase is for chunps

balmy zenith
strange kiln
#

Real ones always capitalize the forst letter of a word

#

No matter what

fair copper
balmy zenith
#

ig

fair copper
#

ok lemme tweak the numbers and test it

ebon frost
#

who here scripts for -100 usd

blazing oasis
#

Guys what is the safest way to selll a game without a contract

grim python
#
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local Humanoid = character:WaitForChild("Humanoid")

local Running = false

Humanoid.WalkSpeed = 16

Humanoid.HealthChanged:Connect(function(health)
    if health < 31 then
        Humanoid.WalkSpeed = 9
        print("speed set to 9")
    elseif health >= 31 and not Running then
        Humanoid.WalkSpeed = 16
        print("speed set to 16 (auto heal reset)")
    end
end)

UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
    if gameProcessedEvent then return end

    if input.KeyCode == Enum.KeyCode.LeftShift then
        if Humanoid.Health < 31 then
            return 
        end

        if not Running then
            Running = true
            Humanoid.WalkSpeed = 30
            print("speed set to 30")
        else
            Running = false
            Humanoid.WalkSpeed = 16
            print("speed set to 16 (stopped running)")
        end
    end
end)

this script is running fine but it runs everything twice for some reason, how can i fix that

#

why does it even run it twice i dont get it

broken grove
#

Running and SprintMechanic

grim python
#

ohhh so i asked ai and it made another scipt

silk ridge
#

Doesn't have tips on a good knockback system?
Problems i am facing in my current system, i am using linear velocity, with the mode being Vector and One Attachment, and all creatures body parts are set to massless.

All i want to achieve is the creatures going back in one direction, the most basic of knockback systems

In my system i have power variable and no matter how much a up it nothing changes, this was issues cause the MaxForce was set to 100000, i had to set it to 9e9, to see any increase in power for the knockback to start affecting the creatures and i don't know why the number has to be that High

if anyone has anything on knockback system, please tell me, i have watch so many tutorials and i don't know what i am doing wrong

flat remnant
#

toolbox?

#

¯_(ツ)_/¯

silk ridge
oak charm
austere matrix
austere matrix
#

oops

#

Also does anyone know how I can change my name

oak charm
austere matrix
#

Why the hell is it bababoy

deft coral
#

idk

#

i think its rover/ro-whatever verification

austere matrix
#

I'll do that

oak charm
#

np

long swallow
#

hey can someone help me fix an error

deft coral
oak charm
austere matrix
oak charm
#

data issues are headache

austere matrix
#

with budget?

oak charm
#

u can yeah

austere matrix
#

Does updateasync support adding new players into the store?

austere matrix
oak charm
#

do a quick research ull see what i mean

austere matrix
oak charm
#

it creates new entry if the key does not exist

austere matrix
#

alright thanks, mb lol i rarely code with datastores

oak charm
#

ye dw gl

austere matrix
#

thank you

austere matrix
# oak charm ye dw gl

mb to come back again, this will be the last time lol. It should be good like this right ?

austere matrix
oak charm
#

also why you have tostring 2 times

#

just use key

austere matrix
oak charm
#

xd happens

austere matrix
#

😂

paper current
austere matrix
#

Alr ty

pastel pine
#

How do I delete backpack and inventory coreui

#

Or disable it

flat remnant
paper current
#

Replace choose type by backpack or all

pastel pine
#

Thanks gonna try it now

loud bridge
#

mb cuh

random nebula
#

vros mad he got disproven

#

fkn idiot

loud bridge
#

im not mad...

#

you were though

#

you pinged me like 3 times

#

how desperate were you

#

😰

random nebula
#

get destroyed kid 🚬

loud bridge
#

🤣

random nebula
#

why is vro posting himself

loud bridge
#

is that the best you got

#

💔

#

wilted rose emoji x8

random nebula
#

all yap no bite 🥀

loud bridge
#

skull emoji x9

#

shut up gng

#

im busy

random nebula
#

wise dodge

loud bridge
#

😠

#

shut up

#

yo wait i dont think i can say that here 💀

#

😇

#

emojis on discord lowkey

#

weird lookin

blazing hawk
#

best way to learn lua code

twilit aurora
#

Anyone know how to fix animation breaking with the new r6 update?

gray minnow
#

function Database:load() : ()
    local profile: TableType
    local getPromise = Promise.new(function(resolve, reject)
        profile = ProfileStore:LoadProfileAsync(self.entity.Name .. "-".. self.entity.UserId, nil)
        if profile then
            if next(profile.Data) == nil then
                profile.Data = Database.TemplateDataProfile
            else
                for _,v in pairs (profile.Data) do
                    if v then
                        HttpService:JSONDecode(v)
                    end
                end
            end
            profile:AddUserId(self.entity.UserId)
            profile:ListenToRelease(function()
                self:cleanUp("Maybe other server")
            end)
            if self.entity:IsDescendantOf(Players) == true then
                Database.cache[self.entity.Name] = profile
                self.profile = profile
            else
                profile:Release()
            end
            resolve(profile)
        else
            reject("Data retrieval failed.") 
        end
    end):andThen(function(data) end):catch(function(error) warn(error) self:cleanUp(error) end)
end```    is promise good guys? im debating on keeping this part in my code any tips?
neon grove
#

hi

empty nebula
#

anyone wanna play or talk dm me

karmic summit
#

hi

iron kraken
#

hi

quaint sage
#

hi

agile peak
#

hi

steady nacelle
#

hi

static coral
#

hi

split hare
#

hi

weak hemlock
#

hi

gray minnow
#

hi

royal moth
#

hi

weak hemlock
#

hi

steady nacelle
#

hi

scarlet temple
#

hi

ebon frost
#

hi

sour jetty
#

anyone wanna test a game?

static coral
storm monolith
#

anyone know why when im customizign a rig i imported an accessory then put it into the rig then when i try to move it all the parts get scattered and when i try to undo it breaks

zenith wyvern
#

depends

jade nova
#

WHO WHERE CAN MAKE A DONATIONSCRIPTED?

rotund ore
chilly stratus
#

What are some good roblox scripting YouTubers that I could learn from

gray minnow
#

promise is good tho ngl

#

with the pcall i get alot of callbacks but with the promise it catches everything and doesnt bother me

#

w promise

sick lintel
#

I am looking to make a portfolio so if anyone needs me to work for them for free lmk. (I really appreciate any donations 6322pepeiossparklyheart)

vernal peak
#

how do I detect attribute changed signals for nearby clients from a local players client

whole canyon
#

guys do you know how to make smt to put on marketplace?

nimble granite
tender loom
#

if ur awesome sauce at scripting dm me

nimble granite
sour elm
wheat field
#

Yo I need help, Im making a don't wake the ____ game and whenever IO pick up a npc it dupes it into backpack turning it into a tool but the clothes don't load can someone help?

tender loom
#

rq

nimble granite
tender loom
#

or don’t

#

wanted to help u help me

nimble granite
blazing leaf
#

gng pls help, what and how datastore

summer phoenix
#

so hes gonna have to change that shit fast

light zinc
#

my guy has a death wish

summer phoenix
#

🤬

tender loom
#

well any1 who can script i got a bag for u

granite forge
#

Rogue has hella copies if there's a Deepwoken copy they're not doing shit

solar quartz
#

Need a developer team! I have a game that is nearly finished. It just needs a bit more touching up and bug fixing and a built community. Dm me for more details

nimble granite
#

the mods said its good if i amke it lol, the devs dont really gaf

turbid socket
#

does anyone know how to get conections cuz i see the skiddiest ppl working for front page games. do i just create like 5 projects im proud of then use them as a way to prove my skill to employers

dense moss
#

anyone know how to fix error code 773, with tp service, games publsihed and thiird party service is on

maiden kettle
#

no but i cant bc chatgpt i am to broke to buy it lol

#

and i can only send like 1 screenshot so it cant make it

supple rock
#

Use Snapchat ai

#

It’s free

neon grove
#

no uh

#

its

somber vault
#

Guys i make a e to pick up when we pick up the proximityprompt still not destroyed and we can equip it and see

neon grove
#
local Part = script.Parent

Part.Touched:Connect(function(hit)
local Humanoid = hit.Parent:FindFirstChild("Humanoid")
if Humanoid then
  Humanoid.Health = 0
end
somber vault
#

what do i do

neon grove
#

for what?

somber vault
#

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local FlashlightPickupEvent = ReplicatedStorage:WaitForChild("FlashlightPickupEvent")

local function setupProximityPrompt()
local flashlight = workspace:FindFirstChild("Flashlight")
if not flashlight then
return
end
local handle = flashlight:FindFirstChild("Handle")
if not handle then
return
end

local prompt = handle:FindFirstChildOfClass("ProximityPrompt")
if not prompt then
    prompt = Instance.new("ProximityPrompt")
    prompt.Name = "PickupFlashlightPrompt"
    prompt.ActionText = "Pick Up Flashlight"
    prompt.ObjectText = "Flashlight"
    prompt.RequiresLineOfSight = false
    prompt.MaxActivationDistance = 10
    prompt.Parent = handle
end

prompt.Triggered:Connect(function(player)
    if player == Players.LocalPlayer then
        FlashlightPickupEvent:FireServer()
    end
end)

end

-- Wait for Workspace.Flashlight and its Handle to exist
local function waitForFlashlight()
while true do
local flashlight = workspace:FindFirstChild("Flashlight")
if flashlight and flashlight:FindFirstChild("Handle") then
break
end
task.wait(1)
end
end

waitForFlashlight()
setupProximityPrompt()

#

huh

neon grove
#

e to pick up an object?

#

np

somber vault
#

yeah and it doesnt destroy when we pick up doesnt destroy the uhh proximityprompt

#

no one help me?

#

bruh

tardy rose
#

Can someone teach me how to script lua roblox for 10$ praysob

modern seal
#

@gezeh

#

@potent canopy

still jackal
tardy rose
shut ridge
# tardy rose ?

Why pay 10 Dollar if you can learn everything free on YouTube

tardy rose
#

ur rlly dumb

shut ridge
#

Wasting money to let someone teach you( who probably may also be bad at scripting) is not a good decision

#

Just watch YouTube from Brawldev

#

He explains really well

tardy rose
#

be quiet

#

it doesnt help what helps u

#

im not u

#

this isnt fucking jjk i cant adapt to what u adapt to

scenic lichen
#

brawl dev deadass explains it better than anyone else would

#

he the goat

shut ridge
#

You never tried

#

🥀

tardy rose
#

u be quiet

shut ridge
#

Lmao

tardy rose
#

,m,kk\

balmy zenith
#

everyone but you is wrong 🥀
yet here you are asking to be taught

tardy rose
#

heres the big tuff guy back to be toxic again

#

u gonna say skill issue again or maybe poopy head this time what u got for us?

balmy zenith
#

toxic how

light fable
#
local cf=CFrame.new
local v3=Vector3.new
local function b(p0,dir,len,depth,col)
    if depth<=0 then return end
    local p=Instance.new("Part")
    p.Anchored=true
    p.Material=Enum.Material.Neon
    p.Color=col
    p.Size=v3(0.2,len,0.2)
    p.CFrame=cf(p0)CFrame.new(0,len/2,0)dir
    p.Parent=s
    game:GetService("TweenService"):Create(p,TweenInfo.new(0.3),{Transparency=0}):Play()
    task.wait(0.05)
    local ncol=Color3.fromHSV((col:ToHSV()+0.07)%1,1,1)
    local ncf=p.CFramecf(0,len/2,0)
    local br=r(2,4)
    for i=1,br do
        local ang=math.rad(r(-50,50))
        local rot=cf(0,0,0)CFrame.Angles(ang,math.rad(r(0,360)),0)
        task.spawn(function()b(ncfrot,cf(),len0.7,depth-1,ncol)end)
    end
end
local base=Instance.new("Part")
base.Anchored=true
base.Size=v3(2,1,2)
base.Position=v3(0,0,0)
base.Color=Color3.new(0.2,0.2,0.2)
base.Parent=workspace
b(cf(0,0.5,0),cf(),15,8,Color3.fromHSV(r(),1,1))```
balmy zenith
#

what is this bro

#

holy unreadable

#

🙏

tardy rose
balmy zenith
#

how

tardy rose
#

u just insult every fuckin thing u see

#

if it was urs u would fucking glaze

#

ur a d7ck bro im not gonna lie

balmy zenith
#

how is this an insult

tardy rose
#

everything i said earlier u said skil isue and insulted

balmy zenith
#

i havent said any insults

#

the one saying insults is you buddy

tardy rose
#

now ur sayin unreadable when hes just showing his talent

balmy zenith
#

talent? bro he aint got no talent

#

you glazing af

tardy rose
tardy rose
balmy zenith
#

look whos saying the insults

#

so hypocritical

tardy rose
#

@pale geode and u say im bad have u seen this chat

balmy zenith
#

so many hypocrites 🥀

tardy rose
#

just quiet man :/

balmy zenith
#

raging over a few words 😔

tardy rose
#

i wont talk to u anymore its aight just hate on anyone u see

balmy zenith
#

i aint even hating but aight

tardy rose
#

ok

digital fog
#

Bro rotunnel is absolutely lifechanging 😭

#

It's way better than roproxy imo

slow drift
#

you degen

digital fog
#

Holy brotation is coding luau in visual studio mb

#

I'm still stuck on the roblox plane 😔

tardy rose
tardy rose
#

ur being toxic at that point

tardy rose
balmy zenith
digital fog
digital fog
#

I'm stuck out here coding on roblox while bro's on a whole other software 😭

#

Idk skill

balmy zenith
#

using vscode doesnt directly relate to skill yk that

next plank
#

it's just a preference of workflow

balmy zenith
#

isnt that hard to setup rojo, just follow the simple ahh guide

digital fog
#

But how do I test my code

#

Do I just go in blind until I paste it back in studio

tardy rose
next plank
#

rojo syncs your code automatically for you

digital fog
#

Ohhh

#

That's epic

next plank
#

yeah, rojo is very useful

balmy zenith
balmy zenith
digital fog
#

It's peaceful until it isn't

next plank
slow drift
balmy zenith
slow drift
#

infact youre the most toxic person ive ever seen on this discord

balmy zenith
#

and roblox doesnt even require ides

tardy rose
balmy zenith
tardy rose
digital fog
balmy zenith
#

everyone is wrong, im right 🥀

digital fog
#

job had one bro 😭

tardy rose
slow drift
digital fog
#

What in the swear counter

#

@grok is this true

balmy zenith
slow drift
#

im guessing not since youre like 13

balmy zenith
#

and got insulted like 4 times 😔

digital fog
tardy rose
slow drift
#

blind

balmy zenith
slow drift
#

anyways

tardy rose
#

@digital fog who thought u how to script

digital fog
#

Udemy my beloved

balmy zenith
slow drift
#

dont continue the argument

tardy rose
tardy rose
next plank
#

i think most scripters i actually know are self taught

balmy zenith
#

telling others to shut up isnt a power move buddy 🥀

tardy rose
digital fog
#

It's a website to watch courses

slow drift
digital fog
#

Ye

slow drift
#

i mean i am self taught

balmy zenith
digital fog
next plank
digital fog
#

Normally whenever I see someone who isn't self taught they're being forced by like their parents to go 😭

balmy zenith
#

he didnt even try yet 🥀

tardy rose
digital fog
# tardy rose How though

Personally I would recommend the complete roblox course by Mr. Fire on udemy, it taught me everything I know and he keeps updating it

tardy rose
#

i just cant do scripting as much as i try like i just cant learn

slow drift
balmy zenith
#

youtube, roblox documentation, luau documentation, dev forum(mid), practicing

slow drift
#

i learned by doing

next plank
# tardy rose like on roblox forum?

the dev forum is a very great place to learn a wide wide range of topics, but roblox documentation really helps you understand luau api if you just read through it

digital fog
#

All the legendary roblox devs learned from free models

#

I don't know how people learn from those when the code looks like spaghetti 😭

balmy zenith
next plank
tardy rose
#

i just cant learn i feel like i have to hire someone on fiverr to teach me like 1 on 1 but that is basically youtube and i tried youtube and couldnt learn

digital fog
#

Stickmasterluke, cracky4, etc

slow drift
balmy zenith
tardy rose
balmy zenith
digital fog
balmy zenith
tardy rose
balmy zenith
#

stop trying to get someone to teach you

tardy rose
balmy zenith
next plank
balmy zenith
tardy rose
balmy zenith
slow drift
next plank
#

no one is saying anything man

#

😭

balmy zenith
#

how long have you even tried? 2 days?

tardy rose
tardy rose
#

i think last year it was a month of learnin

balmy zenith
#

aint trying hard enough

tardy rose
#

but i stopped bc i was mad i couldnt make a gun system after a month

balmy zenith
#

you just gotta yolo and start coding

digital fog
balmy zenith
#

legit the only way

digital fog
balmy zenith
digital fog
tardy rose