#code-discussion

1 messages · Page 229 of 1

lethal flicker
#

can somebody help me make a script where it makes something spawn and makes it go somewhere and disapear?

eternal ridge
#

how did you learn how to code?

fading onyx
#

ts not bad js get better ui honestly

faint flame
#

Yo

rotund scaffold
#

anyone wanna make some projects with me i just need a buddy that knows how to script and we can make stuff yk

graceful delta
#

There's a reason people started asking here cryingdead

proud spade
#

Can anyone help me

graceful delta
#

What's up, I'll help best I can when I get home

autumn vale
wise turtle
#

ball is too delayed tbh

autumn vale
#

Is this c++ or am I missing smth

mossy lynx
#

yoo lemme be a dev fr

mossy lynx
hidden dune
#

why does hum.MoveToFinished:Wait() cancel early sometimes when the npc is slow

mossy lynx
#

who here a good scripter who knows datastores, I want to learn them because they are confusing for me, I tried learning from a youtube video but it didnt rlly explain it ykwim

random nebula
#

holy chopped code and chopped language

timid mica
#

do frameworks ever help yall have less memory usage

#

for some reason it does for me

grim delta
#

looking for someone who can give feedback for a somewhat large project

regal salmon
regal salmon
#

8 seconds i think

mossy lynx
#

I havent tried watching brawldev yet tho

#

bro data stores are the fucking worst

regal salmon
#

have you tried the documentation?

mossy lynx
#

no

#

how would I find it

#

would I be abkle to find it all at once

#

or just indivudla lines

regal salmon
#

oh nvm im awesome

#

there you go

mossy lynx
#

ty

#

apprecaite it

regal salmon
#

yw

mossy lynx
# regal salmon yw

should I learn pcalls so I know why to use it before I learn datastores

#

Im still bnew so I dont know a lot, only the basic stuff (well basic to me)

regal salmon
mossy lynx
harsh hull
#

no

#

the graphic thumbsDOWN

#

the scripting skill 🥶

sage vapor
#

can someone help me in dms

static forum
#

Anyone looking to buy games dm me

mossy lynx
#

any1 know why this script wont work? I am trying to make bascially a variant on my sword and im testing it with this

local character

tool.Equipped:Connect(function()
    character = tool.Parent
    local player = game.Players:GetPlayerFromCharacter(character)
    local folder = player:WaitForChild("testFolder")
    local bv = folder:WaitForChild("testVariant")
    
    if bv.Value == true then
    local particle = Instance.new("ParticleEmitter")
    local handle = tool:WaitForChild("Handle")
    particle.Name = "Variant"
    particle.Rate = 40
    particle.Parent = handle
    end
end)

tool.Unequipped:Connect(function()
    local handle = tool:WaitForChild("Handle")
    local particle = handle:FindFirstChild("Variant")
    if particle then
        particle:Destroy()
    end
end)
#

NVM

#

i js realized I cant make boolvalues on the client

humble linden
#

can someone like send me tips on how to code. this my day 1 and i know how to code a killbirck

humble linden
#

local killBrick = script.Parent

local function onTouch(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end

killBrick.Touched:Connect(onTouch)

#

basically the first line is how the code is for the brick

hoary cedar
#

"How the code is for the brick" is not good enough of an explanation for that line

humble linden
#

and then the other lines is when the humanoid which is the charcater hits the brick and health turns to 0

hoary cedar
#

What's the purpose of the function. What is hit?

humble linden
humble linden
hoary cedar
royal ibex
static forum
#

Anyone looking to buy games dm me

humble linden
marsh sparrow
#

Anyone know why this could be happening? my pc and wifi is amazing

#

sometimes it lags sometimes it doesnt

#

its so bizarre

#

Rejoining fixed it

thick quarry
#

Guys please help how do I make this sprinting with animation workkkk
print("sprint active")
--113202647639942 anim id
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local userInputService = game:GetService("UserInputService")
local runService = game:GetService("RunService")
local Humanoid = character:WaitForChild("Humanoid")

local isSprinting = false
local isMoving = false
local SprintSpeed = 30
local NormalSpeed = 16

userInputService.InputBegan:Connect(function()
if isSprinting then return end
if userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
isSprinting = true
Humanoid.WalkSpeed = SprintSpeed
print("Player is currently playing")
end
end)

userInputService.InputEnded:Connect(function()
if not isSprinting then return end
if not userInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
isSprinting = false
Humanoid.WalkSpeed = NormalSpeed
print("Player is currently not sprinting")

end

end)

static forum
#

Anyone looking to buy games dm me

tame rose
hot wraith
tame rose
#

cool ig

marsh sparrow
merry meadow
#

Hello, My script editor is lagging in roblox studio even on a new baseplate. in the workspace, everything is smooth but as soon as I open script editor it starts lagging. I have encountered this issue very recently. In the previous month it was working perfectly

static forum
#

Anyone looking to buy games dm me

velvet summit
#

whats the best way to give a player a tool when they join

velvet summit
cloud atlas
velvet summit
#

ily ty

cloud atlas
tidal saddle
#

Any scripters have good advice on how to actively learn scripting and what areas I should target first? Because I know some basics and such like scripting a killbrick and I used to know how to make a dash ability (forgot that one lol). So reaching out!

wise turtle
# tidal saddle Any scripters have good advice on how to actively learn scripting and what areas...
static patio
#

my friend thinks he can learn scripting by studying free models yall believe in him?

zenith wyvern
zenith wyvern
#

like you guys quit after a singular day

#

you learn scripting by sticking to it, don't swap languages constantly, stick to one language and push through it and you will learn

gaunt mortar
#

Probably a really stupid question but, im somewhat proficient with css, does knowing css help with learning html like at all? I assume not but also they go hand and hand? Im digging out an old laptop tommorow to dust off the really rusty css skills but the problem is the way im building a site doesnt allow direct css alteration and only allows HTML embeds so im going to have to attempt to learn it regardless to get this site up and running

haughty sapphire
spiral monolith
#

Its kind of pointless to know css without knowing html

#

Like eating the sauce and not the pasta type shit

gaunt mortar
spiral monolith
#

Ah

#

Not sure css would help understand html better because css is basically used to style as you prob already know

#

But html is sort of building the whole site

zenith wyvern
#

yes it helps

gaunt mortar
#

Yea i was hoping that maybe in a way understanding what the layout in css was for most sites would help me understand how to build the foundation for HTML at the very least

zenith wyvern
#

html is glue css is pretty paint js is cogs in the machine

gaunt mortar
#

Oh god I forgot about js-

zenith wyvern
#

html is also incredibly easy to learn

gaunt mortar
zenith wyvern
#

its not even a programming language

#

neither is CSS tbf

spiral monolith
#

Not the point tho

gaunt mortar
#

Is it not? When I was introduced to it I was informed it was a code language

spiral monolith
#

Well yeah you code

zenith wyvern
#

to be specific it is a markup language but nobody cares except for nerds

gaunt mortar
#

Idk its been like 5 years since I was like heavily using css

zenith wyvern
#

its more comparable to like notepad lol

gaunt mortar
#

Ah gotcha

#

Yeah im trying to make a site that will communicate with an api to display not real time stats but frequently updated stats to form a number equivalent to a value and use those to create a calculator for trading in a game that doesnt have any inbuilt values so im trying to set a small goal for myself (learning to build the foundation in css) then work my way up to the end goal of the full fledged site

#

Its a bit confusing with kinda just trying to do it myself with no direction

craggy gust
#

?

somber vault
#

any one know how to code

rustic furnace
#

I need advanced scripters that can work on a full game tds style paying in usd must have fast good work dm

somber vault
#

pls dm if some one know how to code

jovial crown
fallow horizon
balmy sorrel
#

yeah buddy you're unqualified 😂

#

I don't know why he even bothered

jovial crown
#

Ur clearly not having commisions

fallow horizon
fallow horizon
jovial crown
#

No one believing ts

jovial crown
fallow horizon
balmy sorrel
#

Also the contributed visits thing is some bullshit

#

I hate when people do that

fallow horizon
#

yall talking just 2 talk im not arguing abt this bs😭

jovial crown
#
  • u lit should've had ur previous portfolio
fallow horizon
jovial crown
#

In 9 yrs programming in toblox

fallow horizon
jovial crown
jovial crown
#

I had a new build yet everything stayed

#

U do not qualify to count as advanced scripter

fallow horizon
#

i’m not arguing w u abt this bro😭

ur starting stuff js to start stuff its never that deep

balmy sorrel
#

everyone worth their shit will ask for one

still slate
#

@rustic furnacedms

lean ocean
snow raft
#

Me when I see a commission that has the word

#

“Fix” in it

#

Or “update previous scripters work” in it

#

I don’t think there is enough money in the world to get me to do ts

#

I’ve seen some things, man

balmy sorrel
snow raft
#

I once worked in a project that had 8 remote events included when I started and 6 of them gave way to exploits that would let you give yourself infinite money

#

One just literally was

balmy sorrel
#

Most of the time it was something relatively simple and I got like 3 - 5k off of it

compact spoke
#

So what

snow raft
#

“AquireMoney(player, amount)”

compact spoke
#

I don't care don't talk to me

snow raft
#

I got 1k usd for what I did

balmy sorrel
#

ok

snow raft
#

Oh

balmy sorrel
#

whatever you were working on

#

must've been insane

#

if you got 1k USD

snow raft
#

It was a simulator

balmy sorrel
#

how many days

snow raft
#

They just had a lot of funding

snow raft
balmy sorrel
#

man

snow raft
#

I was working for 30 an hour

balmy sorrel
#

I guess that's alright

snow raft
#

So like 30 hours of work?

balmy sorrel
#

I wouldn't know I stopped doing comms and did volunteer work instead

snow raft
#

They owed me 1500 they just gave up on the project and didn’t wanna fully pay me 🥀

balmy sorrel
#

wow

#

that's sad

snow raft
#

If I could find a team that was motivated

balmy sorrel
#

lol

snow raft
#

And didn’t give up after a week

balmy sorrel
#

volunteer and motivated do not exist

#

if there is no funding nothing will be done

snow raft
#

The amount of times I’ve found people who volunteer to help me with my projects

#

To do 1 thing then ghost me

#

@fallow dock 🥀

balmy sorrel
snow raft
#

He did it two times

balmy sorrel
#

Will avoid this guy like the plague

snow raft
#

Bro 😭

#

He did it once dmed me a year later saying he was ready to try again and how motivated he was this time

#

To ghost me after another week 😭

balmy sorrel
#

lmao

snow raft
#

You can’t make it up

zealous crystal
#

Tbh u can't complain fractal

#

It's volunteer work

tribal mango
#

Von

deft coral
burnt hamlet
#

can anyone be my sensei

tepid phoenix
#

guys can someone help me, i feel lost, i just watched dev kings scripting tutorials and now Ive learned all of those idk what to do with it, can someone tell me what I should do to get good as as scripter

glacial onyx
#

also try to make alot of stuffs with scripting

bitter harbor
snow raft
magic grail
#

I made a script that when I click the shop button it opens it please i really need help I’ve been trying for over an hour I can’t find the solution to why it’s not working 🙏🙏🙏🙏

lean ocean
#

Nice how are we supposed to help without the script

wise turtle
hot mountain
#

ur life would never be the same 🙂

bitter harbor
# snow raft Yea

any tips for me im also i scripter i wanna get more commissions

austere violet
#

no text wrapping, prefer using multiple spaces (also saves time wasted)

#

the dialogue script runs as a module script and can be easily called out. tried it first with a remoteevent buuuuuuut. was super annoying

#

instead of calling to a event, then the handler sending it to the client, then the client receiving it. all i can do is paste a simple (dialogueMgr.SpawnDialogue(ID, speed, font, Voicebank, minPitch, maxPitch, msg)) and call it a day

warm nova
#

please help me

#

anyone

#

please i cant import animation i made

#

using the default animation editor

austere violet
#

why dont u name them?

warm nova
#

im a lil stupid

#

but even the named ones

#

its like once i save it

#

thats the only time i can use it

austere violet
#

what you could try is opening it up on the creator marketplace, download the RBXM and import them into studio, thats the only thing i could think of tbh

warm nova
#

but once i try to import one i already made

#

it wont allow me

warm nova
#

mind showing me

#

my savior

#

i dead ass dont wanna remake these animation

austere violet
#

um, sure

#

gimme a sec

warm nova
#

they were perfect doubt ill hit the same angles again

#

dem strokes were dam near perfect...smh

austere violet
#

midway forgot u use roblox standard animator so i switched up

warm nova
austere violet
#

yea thats why i closed it and used the normal one

warm nova
#

thats why i use the default

#

oooh ok bet

#

i peep what u did

warm nova
ancient root
#

Roblox is so dumb, it can literally see I just set it 1 line ago.

regal salmon
#

because if not, that's why

warm nova
regal salmon
#

or the function may not have a 100% chance of returning a new instance

austere violet
warm nova
ancient root
#

micro optimisations

regal salmon
#

huh, interesting

#

okay yeah roblox dumb

snow raft
#

I’ve been working on the same project since 2022 but mines evolved to unity

#

Are you at that stage yet

rose notch
#

Would it be more efficient/smoother to make a custom physics engine to replace the roblox physics engine?

somber vault
#

but it also depends

rose notch
somber vault
#

I doubt you should make custom physics for everything in your game

rose notch
#

and the methods I've found for that haven't been satisfactory

rose notch
#

and I need both to be affected by a timescale property

somber vault
#

What's timescale?

austere violet
rose notch
#

except roblox

#

because they suck

austere violet
#

Correct

rose notch
#

and there has actually been a demand for timescale for quite a bit.
but they haven't added it 😭

somber vault
#

I think

rose notch
#

at LEAST

somber vault
#

Slowing down the framerate in order to slow down the physics is not a good idea

austere violet
#

the effort of them putting into the age segregations chatting couldve been putten into actually improving the engine and adding more features that shouldve been added a looooong time ago

rose notch
#

like a better animator

#

and support for bone resizing

#

or atleast letting us animate part size

#

or maybe improving tweenservice

#

like being able to use one tween for different objects

austere violet
#

roblox doing anything exept address their drama or add good features.

#

tutorial on how to procrastinate your inevitable doom of your company to draw out as much money as possible

rose notch
#

but I realized that because the ball uses a physics based system it gets all jittery for no reason

#

I need it too look smooth for players

austere violet
#

then i would say making a custom physics script or just a complex script to make it more realistic would be really good

rose notch
#

but still be in sync

somber vault
#

Roblox did actually get a lot of good features implemented this year

somber vault
#

although to be fair, a lot of their work I think went into the AI stuff that's just made to impress shareholders

rose notch
#

who the hell is using aerodynamics for their slop game

rose notch
#

yea-

rose notch
#

besides aerodynamics and new humanoid controllers

#

which the humanoid controllers are def a W

#

but still need a bit of polishing

chilly canyon
#

Hi

somber vault
#

or is it from 2024, I can't remember

austere violet
# rose notch I need it too look smooth for players

maybe you could make a serversided ball and a client sided one, basically the servercontrolled one would be invisible and the client sided one could follow the server one. and maybe some jank script to calculate smooth curves or smthn like that... never did it before and dont know if it even is possible

rose notch
#

but they don't use physics

austere violet
#

yea

#

i think they have a script that makes it move realisticly

rose notch
austere violet
#

tha hell is a desmos

#

give me a sec

rose notch
somber vault
rose notch
austere violet
#

yea nah....

rose notch
austere violet
#

way out of my pay grade

#

and deff.... out of my skill range

rose notch
austere violet
#

really... really... insane for a goofy game like azure latch

austere violet
#

i swear its always the goofy games who have impressive stuff

austere violet
#

jjs

rose notch
#

🙏

austere violet
#

jjs just added NPCs, and oh my days

rose notch
rose notch
austere violet
#

the npcs are better at fighting than 70% of the player base

somber vault
#

Procedurally generated terrain

austere violet
#

oooooo

#

procedurallyyyyyyy

somber vault
#

useless stuff for Roblox

rose notch
#

characters

somber vault
rose notch
# somber vault ?

like I see it has a getBones() function in it,
that implies something to do with animations

#

so what can be done there

austere violet
rose notch
#

we can now create minecraft

#

in roblox

#

oh but wait can we generate a noise map-

austere violet
#

local Wallet = LocalPlayer.Pants.LeftPocket.Wallet
Wallet.Value = math.huge

somber vault
#

Alright guys

somber vault
#

I'm mentally ill and I'm assuming you two aren't

#

so could you care to act a little bit normal right now?

rose notch
#

so I'm prolly, not ok-

somber vault
austere violet
#

theoretically, its something worth a try, using a image for terrain height, which prob wont work but....

somber vault
rose notch
somber vault
austere violet
#

i know

#

but would it somehow worth with roblox.....

rose notch
austere violet
#

hmmm

rose notch
#

wait can you even look at a pixel of an image in roblox?

austere violet
#

i have an idea

#

you could have a library of noises which connect in a tile

#

basically a proceedurally generated tile of noisemaps which then get SOMEHOW by some miracle converted to terrain

#

i could try it

#

i need a break for working on my game anyway

#

ill keep u updated

somber vault
#

and in how Minecraft does it

austere violet
#

imma go to rest...

hidden dune
#

what

#

who pinged me

austere violet
#

go a vid i could watch when i wake up about that?

hidden dune
#

Actually its perlin noise

#

built in function in roblox

#

math.noise(xposition, yposition zposition)

#

could use math.random() and multiplying to generate a random seed

#

or does math has math.seed

#

i forgot lowk

somber vault
#

I was gonna make a devforum post about it but it just wasn't worth it to write allat

hidden dune
#

perlin noise is smooth gradient

#

how could that not be good

#

you can configure it tho

#

for it to be more smooth

#

like for plains

somber vault
#

Yeah that's not what real-life terrain looks like

#

and some people need to also generate caves, not just the top layer

craggy gust
#

Hm

hidden dune
#

i mean its still perlin noise just on top of more perlin noise prob

somber vault
hidden dune
#

we cannot use 4d

#

we can only theorize about it

somber vault
#

the fourth is just the seed

hidden dune
#

that wouldnt be exactly 4d

somber vault
#

Who cares

hidden dune
#

me

#

call it a seed

#

not 4d

somber vault
#

and for biomes, you use a set of different simple 2d perlin noise that determine things like moisture

#

temperature

hidden dune
#

yeah

#

thats what minecraft uses

#

i said perlin noise on top of another perlin noise

somber vault
#

I can't remember much now

#

but there was actually a video of a presentation that explained it, made by a Mojang employee

hidden dune
#

i watched alot of videos

#

that showed how it works

somber vault
#

There was this one constant that was very important to how caves generate and I can't remember any of it

teal yacht
#

For a game that has a trade system, what is the best server size?6? 10?

rose notch
rose notch
somber vault
# hidden dune i watched alot of videos

Yeah I found the video I was talking about https://www.youtube.com/watch?v=CSa5O6knuwI

In the Caves & Cliffs update we radically changed Minecraft terrain generation, rewriting large parts of it from the ground up. This video summarizes how this actually works, how simple math and code can be used to generate interesting, beautiful, and dramatic terrain.

00:00 Intro
1:14 Size
3:11 Procedural terrain generation
8:47 Perlin noise
1...

▶ Play video
somber vault
#

I think

austere violet
#

also finished the undertale/deltarune style dialogue

#

and the sound library

#

killed me today

rose notch
austere violet
austere violet
urban charm
#

yo is sm1 like able to help me in my game, this is lowk my first time making a combat system with Downslam and uppercuts and they feel kinda sloppy with the timings

rose notch
somber vault
#

I might actually feel like making a devforum post about it now

#

even though it's been like a year or two

teal yacht
#

I'm an analystic and i've been making the feasibility study of my game for some days, and i'm trying to find a way to find any errors, but i just don't find it, i already sent to my team and i can answear all questions and i tried IA too. do you guys know a site or smth that can actually ask good questions so i can finally fix something?

rose notch
# urban charm yo is sm1 like able to help me in my game, this is lowk my first time making a c...

Keep rewriting your script over and over, make improvements and make it fast.

Dont be afraid to change things that you expect to be different.

In this case you can make a modifier button that changes your moves a bit, so when you hold it down, it does an uppercut and doesnt let you jump, but when you let go you can jump and do a downslam, and if you're in the air and hold the modifier button it can do a new move no one has seen before.

rose notch
#

And whats the bug

#

(I feel like this is ai bait but whatever)

lean ocean
#

What's the pay

rose notch
teal yacht
# rose notch What are you doing when you try to find a bug?

For example, my inicial idea of my project is to give a common hero for the player, so he can start using it, people are saying to give a good hero right on the start so the player think he got lucky on the game and get exitec, but i disagree with this idea, since yes, they will find it great, their dopamine will grow a lot on the start, but when you get too much dopamine on the start, your brain will always try to get even more dopamine, or he will get quickly tired of that, so on the first 5 minutes he will find the game great, but because of this explosion of dopamine he got right on the start, he will quickly get tired and will leave the game faster than he would.

#

And i need atleast 30+ minutes of playtime

rose notch
#

Thinking like that is the problem here.

teal yacht
#

for a obby or a generic game the high dopamine is good, but for a long game, i don't think so

rose notch
#

Let me ask you this, what game makes you come back to it often?

teal yacht
rose notch
teal yacht
#

Counter Strike, competitive ones

rose notch
teal yacht
# rose notch Why is that

Because i always remember how good i was and i want to come back and make that fire flicks again, so i can come, notice that i am horrible and practice over and onver again untill i get good again

#

the exactly logic i explained on the image

#

progress of dopamine

#

not taking it all of once

velvet zinc
#

how is this chat alive

rose notch
#

You have to know your target audience

#

You need a topic to start

teal yacht
rose notch
#

Arsenal is a roblox arcade shooter focussed on the gun game mode from call of duty, so people who enjoy that type of game will keep coming back.

rose notch
#

What you need to focus on is the audience you want to satisfy

#

Not the general market

rose notch
#

If you focus on what everyone is playing it wont matter if theyre already satisfied or dont want anything more

#

Or atleast the scope has to be huge

#

Like baldurs gate 3

teal yacht
rose notch
teal yacht
#

makes sense

craggy gust
velvet zinc
teal yacht
craggy gust
#

Just be active and social

teal yacht
#

Like, the game itself has many aspects that people would want to discuss about, like the trade and strategy of bases

rose notch
# teal yacht Where can i find them?I'm looking for a audience that likes to build a comunity

Grace is a good example, its a pretty niece genre but the following is there, its a roblox, speedrunning horror game where gameplay is at the center.

It takea inspiration from doors, which is also a roblox horror game, but it is more focussed on its story and is designed around its much slower paced gameplay.

Grace was created for the people who wanted the same game formula as doors but at a high octane speed.

If you want to find an audience the best way to do that is to become apart of it, or look at the most polarizing playerbase.

craggy gust
#

They only played grace cuz it was like doors and pressure

rose notch
craggy gust
rose notch
craggy gust
#

Also the standards of roblox is genuinely fried.

craggy gust
#

Find a brainrot hit 700k ccu

rose notch
teal yacht
craggy gust
#

Like I understand SAB, plants vs zombies hitting million ccu BUT

#

FIND A BRAINROT ?

rose notch
#

Oh...

#

Uh i mean yea

craggy gust
#

so yea..

rose notch
#

I guess that WOULD be the best

#

Alas, damn you democracy

craggy gust
#

I got many ideas and they are all original since I checked but I just don't got the skills to make the games so just focusing on learning

#

Anyways my break is over I should go back and study ..

rose notch
#

Now i finally mustered the courage to start developping my first game

craggy gust
rose notch
#

Its a huge wall

#

Almost incomprehensible sometimes

#

But you just gotta keep going bit by bit

craggy gust
#

When I was new I thought toolbox was safe.. even the highly rated models

rose notch
#

Ripppp

rose notch
#

Good luck soldier

dense cargo
#

yo how much would yall charge for a combat system

hexed torrent
#

on how advanced it is

#

and how smooth

#

it is

lyric tulip
#

anyone wanna make a game together? i know a bit how to build but coding i just cant figure out

dense cargo
hexed torrent
#

💀

pastel pine
#

Yo I need help with task.spawn()

gray mantle
#

Im what way

pastel pine
#

If I run it and give it a function after saving it as in a variable like this:

V = task.spawn(function()Myfunchere()end)

#

Then does V.cancel(Myfunchere) end the function run while its running?

#

Assuming V is defined already before in the code

gray mantle
#

You need to do task.cancel(thread)

pastel pine
#

And that would terminate the task right

#

Assuming I saved the task as a variable

gray mantle
pastel pine
#

So it would be task.cancel(V)

gray mantle
#

Yeah

pastel pine
#

Hmm

#

Thanks

soft pelican
#

@honest wasp

#

τι κανεις εδω χαχαχα

teal yacht
# rose notch Good idea!

after study for many hours my playerbase i found out that i will need to change many things to not repeat the same error as "build ur base" cryingdead

chilly canyon
gray mantle
magic grail
#

Can anybody tell me how to activate team create ?

#

It doesn’t work idk why

umbral ravine
#

hi i have roblox game name
Throw a block for sale
game idea is you throwing blocks on animes and upgrade and alot more of things
dm me for more details

dusky fog
#

yo guys

#

ima be real with you guys

#

I've been looking for a scripter to help me out in my game for ages

#

and didn't find anyone who's willing to be paid in %

#

i've been working on a huge game solo since last year, and im almost done

#

the game is a really unique clicker simulator

#

its called clicking bonanza

solar ivy
#

i wanna make a basketball game, i know how to script but ive never made anything like a basketball game, can anyone explain 2 me how the basics of a basketball system would work, dis is a long question but if u answer tysm

misty ermine
#

I got a podium in my game that top3 players show up in, one of them has a harmonica item that has a server-sided script. Is there a way i can turn off the scripts on accesories?

#

Or should i just manually check every player when they join and delete any scripts

timid mica
#

how could i achieve something like phantom forces' leg ik

mossy lynx
#

can anyone help me, I watched a video on datastores and Its finally kinda clicking into my head but I need help writing it, if someone can hop on call with me and coahc me through it so if I make a mistake while writing it, you can help me

mossy lynx
#
local DSS = game:GetService("DataStoreService")
local saveVariant = DSS:GetDataStore("Purple")

game.Players.PlayerAdded:Connect(function(player)
    wait(0.1)
    local folder = player:WaitForChild("variantFolder")
    local bv = folder:WaitForChild("purpleVariant")
    local startValue = bv.Value
    
    local success, checkValue = pcall(function()
        return saveVariant:GetAsync(player.UserId)
    end)
    if success then
        if checkValue ~= nil then
            bv.Value = checkValue
        end
    end
end)

game.Players.PlayerRemoving:Connect(function(player)
    local folder = player:WaitForChild("variantFolder")
    local bv = folder:WaitForChild("purpleVariant")
    
    pcall(function()
        saveVariant:SetAsync(player.UserId, bv.Value)
    end)
end)

can ygs tell me whats wrong with this, its my first datastore script ever so thats why its prolly bad

mossy lynx
modest parrot
#
local MenuServiceUtils = {}

function MenuServiceUtils:GETPARTANDCAMERA(part:Part, camera:Camera)
    part = part or Instance.new("Part")
    camera = workspace.CurrentCamera
    
    part.CFrame = CFrame.new(-3617.4, 826.517, -297.4)
    part.Anchored = true
    part.CanCollide = false
    part.Transparency = 1
    part.Parent = workspace
    
    camera.CameraType = Enum.CameraType.Scriptable
    
    camera.CFrame = CFrame.new(-3617.4, 826.517, -297.4) * CFrame.Angles(0, math.rad(180), 0)
    
    
    return part, camera
end

function MenuServiceUtils:GETGUI(Frame : Frame)
    Frame.Parent.Enabled = true
    Frame.Visible = true
    
end

return MenuServiceUtils

can any1 tell me why my gui isnt showing no errors also printed frame.visible it even said it was true but no gui is showing on the screen why

mossy lynx
#

I got a scvript where if the value = true then the sword gets a particle effect it works when I put the value to to true but doenst work when I rejoin (because its not saving)

regal salmon
mossy lynx
#

ok

#

appreciate it

regal salmon
#

np

modest parrot
mossy lynx
#

but if I test it rq like I leave the game instead of unrunning iot will it work u think?

#

js want to test to see if it would work

flat viper
regal salmon
modest parrot
regal salmon
mossy lynx
#

lowkey might haveto upd my pc its mad laggy

mossy lynx
#

task.wait and wait dont matter lmao

regal salmon
#

task.wait is better than wait but wait still works

mossy lynx
#

well yeha thats what I meant like its not stopping it from working

modest parrot
#

unreliable

mossy lynx
modest parrot
#

bro game:bindtocose

regal salmon
modest parrot
#

too unreliable

#

but yea does any1 know?

mossy lynx
regal salmon
modest parrot
#

run it like

game:Bindtoclose

then run the playerleaving function

#

inside the bindtoclose function

#
local MenuServiceUtils = {}

function MenuServiceUtils:GETPARTANDCAMERA(part:Part, camera:Camera)
    part = part or Instance.new("Part")
    camera = workspace.CurrentCamera
    
    part.CFrame = CFrame.new(-3617.4, 826.517, -297.4)
    part.Anchored = true
    part.CanCollide = false
    part.Transparency = 1
    part.Parent = workspace
    
    camera.CameraType = Enum.CameraType.Scriptable
    
    camera.CFrame = CFrame.new(-3617.4, 826.517, -297.4) * CFrame.Angles(0, math.rad(180), 0)
    
    
    return part, camera
end

function MenuServiceUtils:GETGUI(Frame : Frame)
    Frame.Parent.Enabled = true
    Frame.Visible = true
    
end

return MenuServiceUtils

can any1 tell me why my gui isnt showing no errors also printed frame.visible it even said it was true but no gui is showing on the screen why

regal salmon
modest parrot
#

theres no errors and even runned some debug prints

#
local MenuService = {}

local MenuServiceUtils = require(script.Parent:WaitForChild("MenuServiceUtils"))
local RS = game:GetService("ReplicatedStorage")
local Camparts = RS:WaitForChild("CamParts")
local StarterGui = game:GetService("StarterGui")
local Frame = StarterGui:WaitForChild('NEWMAINMENU'):WaitForChild("Frame")

function MenuService:Init()
    
    MenuServiceUtils:GETPARTANDCAMERA(Camparts.MenuServicePart, workspace.CurrentCamera)
    MenuServiceUtils:GETGUI(Frame)
    
    print(Frame.Visible)
end


return MenuService
modest parrot
#

yep

regal salmon
#

oh i see

modest parrot
#

says true

regal salmon
#

you're getting the frame from StarterGui, not the player's own gui

#

StarterGui is for templates, which are then copied to player.PlayerGui when they join

#

it means each player has their own gui

modest parrot
#

yea but when i tried to get playergui in the module it didnt even work it errored

mossy lynx
#
    local folder = player:WaitForChild("variantFolder")
    local bv = folder:WaitForChild("purpleVariant")
    local value = bv.Value
    pcall(function()
        saveVariant:SetAsync(player.UserId, value)
    end)

end

game.Players.PlayerRemoving:Connect(function(playerLeaving)
    game:BindToClose()
    for _, player in pairs(game.Players:GetPlayers()) do
        playerLeaving(player)
    end
    end)
#

like this?

modest parrot
#

no

#

im pretty sure u put the stuff in a game:bindtoclose function

regal salmon
modest parrot
#

call playerleaving function in the game:bindtoclose funciton

regal salmon
mossy lynx
#

wait wym

#

mb I learned so mcuh in the last hour i cant think

regal salmon
#

PlayerRemoving is called when a player leaves, while BindToClose is called when the server stops

royal ibex
regal salmon
#

currently youre binding BindToClose every time a player leaves

#

reread my example and compare it to your own code

mossy lynx
regal salmon
mossy lynx
#

?

modest parrot
royal ibex
regal salmon
royal ibex
#

Just read documentation on it

royal ibex
modest parrot
# royal ibex U think?

i dont use profile store even know its proven to be better i js build on datastore and make it better

royal ibex
mossy lynx
#
function playerLeaving(player)
    local folder = player:WaitForChild("variantFolder")
    local bv = folder:WaitForChild("purpleVariant")
    local value = bv.Value
    pcall(function()
        saveVariant:SetAsync(player.UserId, value)
    end)

end

game.Players.PlayerRemoving:Connect(playerLeaving)
    game:BindToClose(function()
    for _, player in pairs(game.Players:GetPlayers()) do
        playerLeaving(player)
    end
    end)

#

this?

regal salmon
#

thats the same code

modest parrot
mossy lynx
#

bro what

regal salmon
#

its just formatted weirdly

#

yes thats it

mossy lynx
regal salmon
mossy lynx
regal salmon
mossy lynx
#

hm idk then

mossy lynx
regal salmon
#

show me where you're creating them

mossy lynx
#
game.Players.PlayerAdded:Connect(function(player)
    local folder = Instance.new("Folder")
    folder.Name = "variantFolder"
    folder.Parent = player

    local bv = Instance.new("BoolValue")
    bv.Name = "purpleVariant"
    bv.Parent = folder
end)
#

script in serverscript

mossy lynx
#

yeah

regal salmon
#

where is the datastore script

mossy lynx
#

I got a local script that gives me the bool value

regal salmon
#

ahh

mossy lynx
#

in serverscriptservice

regal salmon
#

theres the problem

mossy lynx
#

oh

regal salmon
#

you have to set it on the server
localscripts will only change things on the client, so the server cant access that new value its being set to

mossy lynx
#

wym

#

I mean like the script I js gave u that creates the bv is in a script

#

I just meant I have a local script to give myself the boolvalue so I can test it

#

but tahts not where its created

regal salmon
# mossy lynx wym

LocalScripts are exactly as they say, local
anything executed in these scripts will only apply to the client they were executed on (unless they have authority, for example, their character)
if you set the value of a BoolValue in a LocalScript, that change won't apply to the server, meaning your datastore script can't actually see the change and will use whatever it already has
you would have to use a RemoteEvent or just trigger the change entirely on the server for it to be saveable

mossy lynx
#

Ohhh

#

so I should do that to test it

regal salmon
#

yes, set it on the server

mossy lynx
#

is there any other way to make the bv true besides writing a script

regal salmon
#

you could switch to server view and set it manually through the explorer

mossy lynx
#

oh alr ty

regal salmon
#

yw

dapper orchid
#

what the hell is wrong with roblox studio

#

it keeps giving me new incidint ids as well

#

before it was

#

i tried asking chatgpt i did the steps which say delete logs, caches uninstall roblox studio turn off wifi restart ur pc nothing changed but the incidient id did

patent flare
#

yo could anybody help me with a script rq?

mossy lynx
restive coyote
#

someone drop an idea of what I should script as practise as a beginner/intermediate

tepid phoenix
#

Guys can someone help me with scripting. I've learned all the basics from thedevkings advanced and basic series and I want to start trying to make my own systems for practice but I have no idea how to piece it all together

proper violet
proper violet
#

what

restive coyote
#

i want something fun

proper violet
#

okayyy

#

an item collection system using prox prompt and store a simple inventory

restive coyote
#

ok thats lowk good because thats something i want to make in a future game

proper violet
#

ok

restive coyote
#

thanks!

proper violet
#

show me when you finish it

restive coyote
#

okie dokie

timber shadow
dapper orchid
#

im the only one its a solo project g

#

not only that all the places i try to edit , look at this its not in a group or anything but it shows this

#

same on my alt

teal yacht
#

i finished the game

dense vault
#

Chat im lwk proud of myself i made a functional combat system

teal yacht
#

a

glacial onyx
#

can u tell

fair shoal
#

is there a package for queueing methods / functions

dense vault
warped elk
#

hi

dapper orchid
upbeat jungle
#

How do i make something that sends a message in chat from the system? like if i wanna make a weather system that tells people when its raining.

compact spoke
#

Lol. SO

compact spoke
snow raft
#

After making 50% of my code comments

#

My application has been pending for a few days

#

This is good news

craggy oracle
#

Does anyone know how to make paint not thick and make it flat? I'm trying to make a whiteboard

compact spoke
#

On your settings gears

autumn ermine
#

what is it about

somber vault
#

an obby

autumn ermine
somber vault
#

ok

#

thats fine

snow raft
autumn ermine
#

explaining it to a 9 yr old

stray remnant
#

any scripters for hire?

somber vault
#

na

restive coyote
#

ill send in creations

#

nevermind ill dm

haughty sapphire
static forum
grim void
#

yo guys i have 20 ad credits which is like 5k+ what should i do with it, for now i am currently working on a game about if you Step The Button it will occur some random events or anomalies. Should i use my ads credit to this game?

static forum
#

Of the game

umbral ravine
#

any one who intrerested to buy roblox game
dm me
for more details

grim void
#

bro

#

zoro

#

sorry but i can't trust anyone that instantly

#

you can do commissions if you need some rbx

sand remnant
icy bone
#

Chat

#
local data = {
        ["content"] = "";
        ["embeds"] = {{
            ["Author"] = {
                ["Name"] = plr.Name;
                ["icon_url"] = "www.roblox.com/headshot-thumbnail/image?userId="..plr.UserId.."&width=150&height=150&format=png";
            };
            ["description"] = "Message: **"..index.."**";
            ["color"] = tonumber(0xfffffff);
            ["fields"] = {
                {
                    ["name"] = "User ID";
                    ["value"] = plr.UserId;
                    ["inline"] = true;
                };
                {
                    ["name"] = "Account Age";
                    ["value"] = plr.AccountAge;
                    ["inline"] = true;
                };
                {
                    ["name"] = "Team";
                    ["value"] = TeamValue;
                    ["inline"] = true;
                };
            }
        }};
        ["footer"] = {
            ["icon_url"] = "";
            ["text"] = "Message Logger v.1.0"
        }
    }
    
    local FinishedData = HttpService:JSONEncode(data)
    HttpService:PostAsync(url, FinishedData)

anyone know what's wrong with my data

pale laurel
#

What are Lighting parameters in roblox studio to make 1990s anime graphics like this?

covert locust
#

is it posible to do sanity checks for qtes

#

without making the qte look laggy asf

static forum
# grim void bro

All cool bro I didn’t expect u to do it anyways lol I was just suggesting

graceful berry
cosmic obsidian
#

I dont exsactly know but i would guess the one is the screens position and the other one is the pos inside the window. but this is just a wild guess

silver verge
#

one is screen position, one is viewport position

pale laurel
#

I mean what should be brightness and etc in lighting

#

to make it look like 1990s anime quality

somber vault
#

Mhm

obtuse lodge
#

Can someone help me on how to make a currency code

proper violet
obtuse lodge
#

THen a UI where it displays it

proper violet
#

oh if its for a sab-like game im not helping nvm

#

💔 💔 💔 praysob

obtuse lodge
proper violet
#

steal a barintotyororitor like games

obtuse lodge
#

steal a gun

proper violet
#

not helping, learn to make an actual game

obtuse lodge
lusty ingot
#

yo just curious, what stuff is alright to keep local?

proper violet
#

anything that doesn't allow exploiting

lusty ingot
#

I know local scripts and such can be accessed with exploits/scripts, but to what extent should I put stuff on the server

lusty ingot
proper violet
#

everything that is unexploitable should be on the client

obtuse lodge
somber raft
static coral
somber raft
#

I did

#

Nothing changed

static coral
#

everything that is unexploitable (not exploitable)

somber raft
#

Like what

#

Example?

static coral
#

vfx, playing sounds, gui

#

creating things that only the client will be able to see

somber raft
#

Oh right

#

Dngr r u a good scripter?

static coral
#

playing animations

static coral
somber raft
#

How many month of experience

static coral
somber raft
#

Bro what 😭

static coral
#

nah im playin

#

little over a year

proper violet
somber raft
craggy gust
#

?

craggy gust
somber vault
#

ya

dapper orchid
#

im new to ui design

#

i was at work so i appologies for the late response

somber vault
#

always spawn the same box , rarity , mutation wth

dapper orchid
somber vault
#

but idk whats wrong in my script

dapper orchid
somber vault
#

all my scripts are correct but always spawns the same shit box

dapper orchid
#

well make a function that prevents the same box types from spawning multiple times

somber vault
#

I dont think its a good idea but anyways

dapper orchid
dapper orchid
sacred ore
#

is it hard to hire someone to make smooth running and dash sytem? like the shooting game got *rivals

dapper orchid
sacred ore
#

how much like

#

around what?

#

in usd

dapper orchid
#

i cant tell you tbh

you can go around asking some professionals

sacred ore
#

cool

mossy lynx
jovial crown
mossy lynx
#

i am

#

new but I am

#

and sure its hard to make but not 130 dollars hard

jovial crown
#

value urself

mossy lynx
#

it would be like 30-40 at most

jovial ivy
#

Does this seem right?

mossy lynx
jovial crown
#

Yea

mossy lynx
#

alr

#

I js learned datastores

#

what should I go for next

jovial ivy
jovial crown
mossy lynx
#

I would maike it for 40

jovial crown
mossy lynx
#

bro im fried, my pc is at a stable 5-10% cpu usage but it keeps jumping to 100% and it lags and idk why plus roblox studio, roblox, and discord takes 4% at max

jovial crown
#

Ur not making a Good system Like That unless u undervalue

#

And im pretty sure u do not know how to make it either( no offense) since u jus learned datastores

mossy lynx
#

no ones paying 20 bucks per hour lol

mossy lynx
#

I learned datastores in 10 mins

jovial crown
mossy lynx
#

well I watched a video to grasp the concept of datastores which was 40 mins bcz datastores is like one of the only things that I couldnt uinderstand

jovial crown
mossy lynx
jovial crown
#

ITS NOT HARD

#

FYM BRU

#

Literally 3 functions

mossy lynx
#

I neber asid I can learn it in like 10 mins

#

but I can learn it fast

jovial crown
#

I could in 5

mossy lynx
#

cool

jovial crown
#

Seasons,updateasync,getasync

#

Setasync*

#

Getstoreddatastoee

#

Getdatastore

mossy lynx
#

datastores r easy when u undersatnd it like mad easy but when u dont understand it, its rlly confusing

jovial crown
#

U can not not understand it

#

Its basics

mossy lynx
#

nah

#

I couldnt undersatnd it at first

#

what I had to do was watch a video so I learned the concept of it then I learned from chat gpt wrote a script and now I can write a script on my own

jovial crown
#

Ur not making the advanced movement system

mossy lynx
#

and dont make fun of me for using chat got

jovial crown
#

Im not joking

mossy lynx
#

I coukd

#

if I wanted

#

for 130 I could

jovial crown
#

U couldnt

#

Stop kidding us

mossy lynx
#

could*

#

I dont got the knowlege rn cz i never tried learning but I could learn like I SAID

jovial crown
#

U couldnt

#

It requires practise

mossy lynx
#

could

buoyant olive
#

can someone help me trying to make character rootpart face the direction of the camera

jovial crown
#

There is no tutorials

mossy lynx
#

yeah alr

mossy lynx
#

thats what learning ios

jovial crown
#

No one gonna Hire a person

#

Who doesnt know how to make it (

mossy lynx
#

I could learn

#

😐

#

like waht u not get

jovial crown
#

People Hire Devs

#

Not leadners

mossy lynx
#

i dont care

#

the people they hire had to lear nit at somepoiint rigyht?

#

its the same thing

#

Im js learning it later

jovial crown
#

They do It before accepting commisions

mossy lynx
#

never said anyone was goign to hire me, just saying I would do it for 40

#

I never said anything about that just saying I would do it for 40 like what

#

I would learn ikt and then do it

jovial crown
#

Problem is u couldnt do it bc u don't know how

mossy lynx
#

I COULD LEARN

#

u dont undersatnd or sum?

#

like what

jovial crown
#

Say the price after u do

mossy lynx
#

when u started scripting u didnt know stuff either

jovial crown
#

I could build u a house on 100 bucks

#

When? When I'll learn(never)

mossy lynx
#

ur actually dumb

#

dont get the point

jovial crown
#

U are

mossy lynx
#

the point is I would learn and do it for 40 not that someone will hire me or not the poi9nt is that 130 is too much

#

ur saying all of these othert stuff

#

not related at all

jovial crown
#

To say it u could do It at a price u gotta know how to make it

#

U can't set a price w out knowing how to make it

mossy lynx
#

i mean Ik what it is

#

how to do it

#

When i say how to do it not write it

#

just how it works ykwim

#

so Ik what priceb efore I learn how to write it

jovial crown
#

How it works?

#

I wanna Know how u figured out the anithack system 2

sacred ocean
#

ANY SCRIPTERS OR BUILDERS DM ME

next compass
#

guys, want to ask

#

how can i make a player drop their tools upon death? Roblox does not let my script get tools from their bagpack..

mossy kayak
#

Hey chat, do yall think the flowers look good or should I change smth?

next compass
#

cuz this one is only for coding

mossy kayak
#

Oh mb

next compass
#

it's okay

mossy kayak
#

i thought that was modelling

#

sry gng

next compass
#

it's okayy!

proper violet
next compass
#

happened with a ugc that bypassed the triangle limit

proper violet
#

????

frank crow
#

can anyonne help me set up a UiListLayout for my custom inventory for my hotbar?

proper violet
#

it's pretty self explanatory

mossy lynx
next compass
#

but thanks for responding! 🙂

mossy lynx
next compass
#

but i think he's busy rn

mossy lynx
#

I wrote a datastore for 1 bv I want to add more I dont know how to (anyone hwo sees this msg tryna help me)

proper violet
#

yeah

bright venture
proper violet
#

who do you think

bright venture
#

Idk thats why am asking

proper violet
#

okay

bright venture
#

So who

proper violet
#

who do you think

bright venture
#

Omd

proper violet
#

okayyyyy

bright venture
#

OH

#

I KNOW WHO YOU

proper violet
#

im immature when u can't even finish your own systemmmm looolollll

#

ok

bright venture
#

I didn't make it actually

#

So assuming

proper violet
#

okayyyyy

#

me

modest sail
#
for i, v in gui.APK.Tabs:GetChildren() do
    if v:IsA("TextButton") then
        v.MouseButton1Click:Connect(function()
            Tab = v.Value.Value
            if Tab.Visible == false then
            switchTab()
            Tab.Visible = true
                else if Tab.Visible == true then
                switchTab()
                end
            end
        end)
    end
end```
proper violet
#

indent..

#

so many indent

#

nest

#

rats nest

modest sail
proper violet
#

nesting.

modest sail
#

let me see

#

what does it cause?

#
    for i,v in gui.APK.Window:GetChildren() do
        v.Visible = false
    end
end```