#code-discussion

1 messages Β· Page 108 of 1

tough garden
#

chatpgt type shit

stray burrow
#

to hard

gentle stag
#

Make Roblox studio

hallow crag
#

go make a obby or sum then

stray burrow
#

Also hard

gentle stag
#

Make an obby lil bro

#

Then why even bother being a dev

hallow crag
stray burrow
#

I bet you guys 1 Robux

#

I can make Roblox create

#

studios

gentle stag
stray burrow
#

In 6 years

gentle stag
#

Bro what

tough garden
#

rahhhh

hallow crag
gentle stag
#

Grrrr

stray burrow
tough garden
gentle stag
stray burrow
#

I gave you a pencil

hallow crag
tough garden
#

im selling all my limiteds

#

so that i can run ads

stray burrow
#

1 Robux

tough garden
#

πŸ˜”

stray burrow
#

For your lims

tough garden
#

ill think abt it

stray burrow
#

and

#

uh

#

what’s your game name

tough garden
#

🀫

#

its not even released

#

i just got a bit of limiteds

#

so itll take a sec to sell it

stray burrow
#

How the hell do you gave pending Robux then

tough garden
#

selling the limiteds

#

🀨

stray burrow
#

Gimme your lims for free praysob

tough garden
#

πŸ˜–

stray burrow
#

I gave you a pencil remember

gentle stag
#

Great idea

#

Wait no

#

Why am I sharing my idea

alpine cedar
#

is anyone fimilar with making ugc and could help me real quick?

hallow crag
alpine cedar
frank sluice
peak kelp
#

as a scripter, what are the best showcases to put on my portfolio

median zenith
#

how much would yall charge for a pet hatching system?

fleet hill
#

is there no way to lock the gamepad mouse to center???

#

Ig not

#

roblox jank

maiden thicket
slate tinsel
#

What physics can I use to make an airborne momentum? If you are moving in a direction and jump, you continue to move in that direction until you hit ground. You should not be able to change direction during it.

slate tinsel
hardy pilot
#

Oh and also enertia

hardy pilot
slate tinsel
#

I meant roblox physics like linearassembly and stuff

hardy pilot
#

Same thing

slate tinsel
#

It's not as easy to implement it in roblox with coding with just knowing the physics concept.

hardy pilot
slate tinsel
#

Lmao

#

Thanks for explaining what google is

jolly aurora
#

bro average HD script kiddy

#

bro discovered the words inertia and drag

slate tinsel
#

Blud could not spell Inertia right in first place

prime ledge
#

this kids 100% watching that brawldev tutorial

#

it had like 15-20 vids

#

hes just typing out all the titles included in that playlist lol

hallow crag
prime ledge
#

did this guy hacked or smt

#

mods

#

"and its boring" "i quit like 7 times throughout the process"

#

im not trying to downplay you, you're starting out, everyone has started out at a point before

#

but saying its boring after learning basics is crazy

#

if you can't see my point by the msgs above, im not even going to try to enlighten you

twin merlin
#

dummy got flash banged

weak radish
prime ledge
weak radish
weak radish
celest zinc
#

why making viewmodels are so dumbass

old heath
#

damn

novel minnow
formal scroll
novel minnow
#

lol

old heath
#

lol

golden atlas
#

can anybody help?

#

i am new to this

golden atlas
formal scroll
golden atlas
formal scroll
golden atlas
#

ik but

#

wheres debugger

formal scroll
#

in studio

golden atlas
#

turned i t off ty

formal scroll
#

np

fresh island
#

someeone hellp wiht the long arm movement systemm

magic tide
#

Ik that ain't coding but I need some help if anyone knows the solution

magic tide
#

Not even reddit is helping, that's bad

celest zinc
#

studio is always buggy, so just wait

#

actually if you low your volume while the studio client is running, all your studio sound gets low too

magic tide
hardy pilot
hardy pilot
magic tide
celest zinc
#

my studio import window gets terminated if i try bulk importing any model πŸ™

hardy pilot
hardy pilot
magic tide
#

Idk if that will help but I'll try, ty

hardy pilot
gilded pecan
#

Is there any point of using task.spawn() when you can just use coroutines instead and have more control (when needed)

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

Players.PlayerAdded:Connect(function(player)
    wait(0.2)
    local leaderstats = player:WaitForChild("leaderstats")
    local plot1 = workspace.plot1
    local plot2 = workspace.plot2
    print("finding plot")
    if plot1.Istaken.Value == true then
        print("plot 1 taken trying plot 2")
    elseif plot2.Istaken.Value == true then
            print("plot 2 taken")
    elseif plot1.Istaken.Value == false then
            print("giving player plot 1")
            player.leaderstats.plot.Value = 1
            print("gave player plot 1")
    elseif plot2.Istaken.Value == false then
            print("giving player plot 2")
        player.leaderstats.plot.Value = 2
        print("gave player plot 2")
    else
            print("all plots are taken how tf are you here")
            print("found plot")
    end
end)


it says it adds to leadersats but doesnt im so cofused can anyone help

peak kelp
#

does anyone know how to save and load ivnentories in profilestore i can only do values rn

outer bridge
#

uh what

silver verge
#

since that would take over defining the variable

#

it's just a shorthand

wraith wren
hallow crag
weak radish
#

Not even bad for a first script tho

#

Most people don't get theirs working

scenic cove
#

can you guys give me something not to hard to script. I need to improve.

south herald
#

Sorry I know this was a while ago but could I have your modified version?

#

Was looking at people discussing fastcast and came across your uh message

coral prawn
south herald
#

I wonder if that will work with most the api

#

I'll try it out when I got the time, thanks tho!

south herald
#

Cheers

coral prawn
south herald
coral prawn
south herald
coral prawn
#

Yeah.

south herald
#

Alright thanks mate!

coral prawn
#

No problem.

wise turtle
#

me me me

trim wind
snow mauve
#
local tools = {
    ["Golden Gun"] = gamepassTools.GoldenGun["Golden Gun"]
}
-- Functions
giveStarterGear.OnServerEvent:Connect(function(plr, name)
    if tools[name] then
        tools[name]:Clone().Parent = plr.StarterGear
        tools[name]:Clone().Parent = plr.Backpack
    end
end)

Anyone know why when, at first when I clone it into the player's backpack, the gun works, but AFTER when the player resets and the gun now appears in the startergear, the gun stops working? Why is this?

thick sail
#

Why isn't the server cloning it instead

wraith wren
wraith wren
#

xd

heady grotto
#

v

copper dragon
#

Sho wants me code for free

#

Who*

lost fox
#

no one

copper dragon
#

Mb bro I'm just trying to get more experience πŸ˜ͺ

hallow crag
#

can u not see the OnServerEvent lol

copper dragon
#

What's wrong @hallow crag

#

I'll see if I can help

hallow crag
#

nothing is wrong

copper dragon
#

Oh alr

urban palm
#

hi guys

idle summit
#

i have a lot asset and images to upload ?
is any way can i upload them automatic or faster not manualy ,

cursive raft
thick sail
idle summit
wraith wren
#

what can I do to imporve myself in scripting and become so good

#

any tips?

heady coyote
#

why is'nt the ArcHandle moving the part accordingly to how i expected it to be

local ConvertedAxis = ConvertAxisToVector()
--Converted Axis is the axis that the accessory will rotate on but converted from
-- enum.axis.Y to vector.new(0, 1, 0) as example
local Rotation = CFrame.fromAxisAngle(ConvertedAxis, math.deg(RelativeAngle))

TweenService:Create(Att, MainTweenInfo, {CFrame = Rotation}):Play()
balmy owl
golden atlas
#

I MADE IT TRANSPARENT IM SO GOOD

night drift
#

w

glossy solstice
#

Any scripters my budget is 5k robux

night drift
blazing berry
#

yo guys i need someone to help me with a donation game on roblox

glossy solstice
night drift
#

idk i can only the basics like print instance and kill brick so prob not

golden atlas
night drift
golden atlas
night drift
#

yeah i could not even predict a future where i give up again

golden atlas
hushed basin
#

"matter fact imma dm u" πŸ₯€πŸ’”

#

bro thinks hes some celebrity

night drift
#

he is

hushed basin
blazing berry
#

yo anyone good scripter here?

night drift
proper edge
hushed basin
proper edge
#

On the pay

hushed basin
#

im the best scripter alive

proper edge
#

I’m better

hushed basin
#

i think its supposed to be called leaderstats

blazing berry
#

dm

hushed basin
#

aint nobody dming u buddy u aint a celebrity πŸ₯€πŸ’”

#

yea

#

no bro

#

leaderstat

#

keep the coins the same

night drift
#

leaderstats on both

hushed basin
#

just the top one

#

put an s at the end of the string

night drift
#
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = Player
    
    local Coins = Instance.new("IntValue")
    Coins.Name = "Coins"
    Coins.Value = 0
    Coins.Parent = leaderstats``` this is what mine looks like
hushed basin
#

no u can keep ur code but just change leaderstat string into leaderstats

#

legit just add an s at the end buddy THIS ISNT THAT HARD

#

yea ur cooked i agree

#

its fine we all start somewhere

night drift
#

how long scripting?

hushed basin
#

u will learn

#

and get better

night drift
#

thats good

#

not boring when you get the codes to work

#

codebro29 is the best

outer bridge
#

what should i do
a) make my own operating system in roblox
b) make a video for youtube to make a game by ONLY scripting

night drift
#

yeah and still super good

outer bridge
#

in what

#

scriptig or ui

#

ok can u speak basic english

#

can u not piss me off when i teach you

#

and most importantly

candid abyss
#

which color preset is better?

outer bridge
#

can u pay me

outer bridge
night drift
outer bridge
#

na i cant do c

candid abyss
#

what do u need

#

so then actually code, watch 1 vid, with that knowledge, put it to the test. Do that everyday and you'll get better

night drift
#

watch one at a time and keep repeating

candid abyss
#

Don't watch all of them and do nothing till the end

night drift
#

just watching wont help

candid abyss
#

but really, if you can't watch one 9min vid and put that knowledge to the test, then idk what you're doing bro. Your education system failed you bro

night drift
#

make a part that gives you a speed boost or a loop that spawns random parts around the spawn

near ocean
#

If you want to learn how to code, don't watch those awful videos. They mix up teaching you luau and the Roblox API. Search up a Lua tutorial since it's the same as luau. Luau is just a sandboxed version of Lua with key changes. After that you learn on demand as you make what you want.

#

It's okay if you forget, that's part of the process

candid abyss
#

use code academy

#

to learn lua

#

or at least the basics

night drift
#

you gotta try just watch how to do it and keep doing it until you understand how to do it

#

thats what i am doing

near ocean
#

If you want to be able to program, learn the bare bones stuff. Learn Lua. Then continue on with the API

night drift
#

make a part and put a script in it

#

script.Parent.Touched:Connect(function(Hit)

hallow crag
#

it doesnt need to be workspace

night drift
#

i started sctipting like 4 days ago and i think im starting to get somewhere

#

this is a basic kill brick

#

keep doing it over and over again and you will learn

keen juniper
#

Take a 30 minute break, rome wasnt built in a day πŸ‘

night drift
#

never gonna learn with just giving up

#

why

#

im not that good either

#

but i just take my time and dont give up

#

not that hard i think

#

hard part is what to do everything is done alr

south oak
#

u js do πŸ˜„

night drift
#

when you forget it repeat it

kindred perch
#

learn a few concepts then apply them.

#

id say learn a concept, apply it, then learn another concept, apply it, and then apply both of them together

night drift
#

remember to take a break once in a while and keep repeating the things you dont understand

#

ok

#

i hope im a good scripter by then to

celest zinc
#

drink about 1000-1500 mg of caffeine, search a lot of tutorials about programming logic, arrays etc, how roblox studio work, then just find a real quality luau tut playlist

wraith wren
heady pecan
#

ofc u cant implement it in games yet

#

you only know the basics

#

after learning the basics

#

learn roblox studio

#

where to store data

#

and where to store scripts

#

all that

neon yew
#

can anyone help, my remote event doesnt work, --Service Imports (Server script)
local replicatedStorage = game:GetService("ReplicatedStorage")
local remotes = replicatedStorage.Remotes


game.ReplicatedStorage.Remotes.Attack.OnServerEvent:Connect(function(player)
local character = player.Character

if character then
    local humanoid : Humanoid = character:FindFirstChild("Humanoid")
    
    if humanoid then
        print(player.Name .."Has attacked")
    end
end

end) (Client script) --Services Imports
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")


--- Variables

local remotes = replicatedStorage:WaitForChild("Remotes")


runService.RenderStepped:Connect(function(deltaTime: number)
if userInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
remotes.Attack:FireServer()

end

end)

celest zinc
celest zinc
#

im on phone so sorry if I'm seeing something wrong

neon yew
wraith wren
#

So this is my first ever day of scripting, I was trying to make this block appear and then after 1.2 sec it becomes red and then it disappears after 0.8 sec (2 sec in total) and repeat but it isnt working< can someone help??

`local DisappearBlock = workspace.Stairs.DisappearBlock

local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
DisappearBlock.Color = DisappearBlock.BrickColor
DisappearBlock.Material = "SmoothPlastic"
end

local function Appear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
wait(1.2)
DisappearBlock.Color = Color3.new(1, 0, 0)
DisappearBlock.Material = "Neon"
end

while true do

task.wait(2)
Disappear()
task.wait(2)
Appear()

end`

wraith wren
near ocean
#

no. Thats the clean approach

wraith wren
#

@near ocean now i see

#

it happens only 1 time

#

`local DisappearBlock = workspace.Stairs.DisappearBlock

local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
DisappearBlock.Color = DisappearBlock.BrickColor
DisappearBlock.Material = "SmoothPlastic"
end

local function Appear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
wait(1.2)
DisappearBlock.Color = Color3.new(1, 0, 0)
DisappearBlock.Material = "Neon"
task.wait(0.2)
end

while true do
Appear()
task.wait(2)
Disappear()
task.wait(2)
return
end`

#

how do i make it loop?

near ocean
near ocean
wraith wren
#

i started today

wraith wren
near ocean
#

What is data()? Are we referencing a constructor? like: local data = class.new?

wraith wren
near ocean
# wraith wren its not looping

Try:


local DisappearBlock = workspace.Stairs.DisappearBlock

local function Appear()
    DisappearBlock.Transparency = 0
    DisappearBlock.CanCollide = true
    DisappearBlock.Color = Color3.new(1, 1, 1)
    DisappearBlock.Material = "SmoothPlastic"
end

local function TurnRed()
    DisappearBlock.Color = Color3.new(1, 0, 0)
    DisappearBlock.Material = "Neon"
end

local function Disappear()
    DisappearBlock.Transparency = 1
    DisappearBlock.CanCollide = false
end

while true do
    Appear()
    task.wait(1.2)
    TurnRed()
    task.wait(0.8)
    Disappear()
end
wraith wren
#

its turining red and white

#

without disppaering

near ocean
#

If youre referencing a class and that is a module full of objects being written into the datastore then sure ig

near ocean
wraith wren
#

but now its only changing color

near ocean
# wraith wren make it red, then it disappear then it appears after 2 sec

Try:

local DisappearBlock = workspace.Stairs.DisappearBlock

local function TurnRedAndAppear()
    DisappearBlock.Transparency = 0
    DisappearBlock.CanCollide = true
    DisappearBlock.Color = Color3.new(1, 0, 0) -- Red
    DisappearBlock.Material = Enum.Material.Neon
end

local function Disappear()
    DisappearBlock.Transparency = 1
    DisappearBlock.CanCollide = false
end

while true do
    TurnRedAndAppear()
    task.wait(0.8)
    Disappear()
    task.wait(1.2)
end
wraith wren
#

its now appearing red and siappearing

#

without getting original color

short ledge
near ocean
short ledge
#

..Now there is I replied to the other one

median oyster
#

Are these good enough to where people want to hire me or do I spend like days working on a really good design?

These 3 have took me like an hour each at most

#

Like looking at the others I might have to spend like a couple days making smth, only thing is tho I can only script

hoary cedar
#

I wouldn't hire you for your code quality and design, but that's only because I know how to script

fickle oasis
#

Also player.Character exists

#

Look at the documentation

slender owl
fickle oasis
#

modules goat

sick hound
#

How do I make these 2 scripts work together? Whenever I paste them both they fight eachother and neither work.

timid nova
#

does anyone know where i can buy scripts n stuff im tryna reverse engineer good shi n learn

silk gust
#

πŸ’”πŸ’”πŸ’”

crimson basin
#

His code?

steel drum
#

hey guys, can any1 help me figure out why my tool's animation doesnt play?

crimson basin
#

What is the animation?

steel drum
#

output

steel drum
crimson basin
#

Is it for r15 or r6?

steel drum
#

.

#

OH MAN

#

😭

#

How can I forget abt that

#

that must be the reason ty πŸ™

crimson basin
#

Damm

steel drum
#

same output

crimson basin
#

Oh

#

What about animation?

#

Idle or action?

steel drum
#

action

crimson basin
#

Do you know what tool activated means?

steel drum
#

not exactly

brittle idol
#

When the player clicks with their tool equipped

#

Fires Equipped signal

#

But that is not the issue

steel drum
#

talk to k_

#

he scripted it actually

#

I was just asking for him

crimson basin
#

Try to put animation.Animationid inside tool activated

brittle idol
#

I mean I can try, but I doubt it'll fix it

#

Sec

#

Yeah no fix

crimson basin
#

Wait who made the animation?

brittle idol
#

It is under the group.

uneven solar
#

guys i need financial advisor

#

1.1k group for 9k bobux

#

deal or no deal

brittle idol
crimson basin
#

Ofc no deal

uneven solar
#

why not

brittle idol
#

1.1k is nothing

crimson basin
#

Ask chatgtp

#

Did you get same output when you try it?

brittle idol
#

Yeah

stiff zinc
#

How do I learn this stuff

crimson basin
#

Instance animation inside the tool and do local animation = tool.test(remember to change the of animation)

#

And ofc put your animation id inside animation

brittle idol
#

I've done that as well

crimson basin
#

Something is wrong with the ID

#

Your script is fine

brittle idol
#

I will look into it.

outer osprey
#

Uhh can anyone send me some good tasks to train my scripting abilities?

minor fulcrum
#

admin panel

dry hamlet
#

its because he didnt do .animator

#

local am = humanoid.Animator:LoadAnimation(anim) am:Play()

errant fog
#

guys

#

can I pass self to another module?

#

maybe via a function?

#

so like

-- Script 1

AnotherModule.Whatever(self)

-- Script 2

function AnotherModule.Whatever(PassedSelf)
  PassefSelf.Health = 100
end

brittle idol
dry hamlet
#

you sure?

#

@errant fog prob

#

test it

errant fog
#

it works

#

πŸ‘Œ

#

now if i change something

#

will it change in the script

#

that passed it?

brittle idol
errant fog
#

(i dont think i need to but js in case)

errant fog
#

i'm makling a statemachine

brittle idol
#

I don’t think it’s a good practice.

errant fog
#

why not

#

look

#

i have priorities

#

like
Attack = 20
Kick = 15
Blablabla = 10

#

it check if it can attack

#

passes self to an attack module

#

it checks things

#

and returns a bool

#

everything that has to be checked

#

happens in another scripting

#

keeping my statemachine and stuff clean

brittle idol
#

Ig if it works, it works

errant fog
#

it'll make the code much cleaner

#

atleast that's how i imagine it

brittle idol
#

Ig so

mellow lagoon
#

task.wait(0.2)
local clickdetector = script.Parent:WaitForChild("ClickDetector")
local players = game:GetService("Players")
local player  = players.LocalPlayer
local leaderstats = player:WaitForChild("leaderstats")
local plot = leaderstats.plot.Value
local gui = game.StarterGui.planting_ui:WaitForChild("Frame").Visible
local wrongplotui= game.StarterGui.gotoyourplot.Visible

clickdetector.MouseClick:Connect(function()
    print("player clicked")
    if plot == 2 then
        gui = true
        print("clicked on right planter")
    else
        gui = false
        wrongplotui = true
        print("clicked on wrong planter")
    print("player clicked planter findhed working")
    end
end)

it doesnt print or do anything when the player clicks

manic nacelle
#

Anyone looking to hire a project manager?

golden elm
#

hiring a scripter only %

crimson basin
#

Damm only 0%

spiral girder
#

Is it bad practice to use waitforchild on everything in the initial definitions of a local script considering the server might not have replicated certain items to the client in time

thorn scaffold
#

does anyone have an idea on how to make a physics based movement system like crazy cattle 3d?

oak solar
#

yo can someone help me my roblox studio keeps crashing on me and it keeps saying log in again? Someone please help its driving me crazy im just trying to work

vagrant sorrel
#

would you guys find useful a module that is like a process manager?

near ocean
#

But if it's run on server then yeah better to do the wait for child chain

young whale
#

Who can be my Dev i am hiring

somber vault
#

is .001 seconds good enough for a state machine switch

naive hill
#

Hi! How do you guys usually handle loading screens? What do you preload using content provider? Do you wait for game:IsLoaded()? I wrote a simple loading screen script but on a larger game it takes forever--presumably because I am preloading all the GUIs and a lot of the stuff in the workspace?

somber vault
crude quarry
uneven jolt
#

is it more efficient to move a viewport.position into the screen or move the viewport.Camera.Position into the scene?

#

im guessing the first one

ionic solstice
#

does anyone know what serialization is

#

i am garbage at data saving and whaterver tf this is

crimson trench
#
local canActive = true
local cost = 10

button.Touched:Connect(function(hit)
    local personagem = hit.Parent
    local player = game.Players:GetPlayerFromCharacter(personagem)

    if player then
        local money = player:FindFirstChild("leaderstats"):FindFirstChild("Money")
        local multiplier = player:FindFirstChild("Multiplicador")
        local humanoid = personagem:FindFirstChild("Humanoid")

        if humanoid and canActive and money.Value >= cost then
            canActive = false
            money.Value -= cost
            multiplier.Value += 3
            task.wait(0.3)
            canActive = true
        end
    end
end)

I want it to keep buying continuously while I’m standing on it, not just when I touch it.

ionic solstice
#

maybe put a while statement like while the player is touching a part you want to deduct a certain value

shrewd dome
#

should I tween player position on client or server

chilly canyon
#

database

true birch
#

Moving player?

old sage
#

.

true birch
#

..

rapid verge
rapid verge
#

preferably using a module script to help handle what you want that part to do

meager kernel
#

idk if roblox physics bs counts as code discussion but can someone help me make the dummies act like the player and not flop around like demented fishes?

#

sometimes they randomly decide to work correctly but its inconsistent

#

I've tried anchoring them but I can't do that because they're not always at the same Y level when the aniamtion starts

hallow crag
#

it doesnt need to be workspace

#

it can be serverscriptservice

near pasture
#

Is it just me or are the people asking for a scripter to script an entire game for them for like $150 dollars kind of insane?

lean ocean
#

uh yea

terse osprey
#

Most an entire game should ever cost is like 500

#

Maybe more

remote bear
weak radish
terse osprey
#

It'd be $1000 split between modelers scripters builders

weak radish
nocturne solar
#

does anyone know how to take like local Animation CFrame (Like this: 0, 0, -1.32348898e-23, 0.989820659, 0.130954713, 0.0557314679, -0.137281761, 0.981803238, 0.131210521, -0.0375347026, -0.137525797, 0.989786744)
and apply it to the same limb on a rig

short void
#

can someone explain __type in metatables I know its not a metamethod so what is it?

somber surge
#

would anyone be interested in buying a site from me which i made for a client but i got scammed ? its a full-stack website.

patent gorge
#

in your opinion whats the best roblox scripting ai

lean ocean
#

none

dense flame
#

How much my budget should be for hiring a scripter that’ll be coding two minigames, ui and 2d house customization system

gloomy kraken
#

i think you'll script to the best of your ability no matter which ai you use

somber surge
green basin
somber surge
#

nope

#

its like a full website

#

everything works

green basin
#

For what

somber surge
#

ill see if i can find his doc he made

green basin
#

How do you make something but forget it's purpose

#

U sure it's yours?

somber surge
#

it is mine i developed it

#

he didnt pay me

#

so he scammed me

#

im just looking to resell it

abstract dagger
somber surge
#

nextjs

abstract dagger
#

just nextjs?

crude glacier
somber surge
#

and for database Prisma

#

its got stripe as well

abstract dagger
#

oh thats cool

somber surge
#

im just open to offers atm

#

hate being scammed

abstract dagger
#

lowk u should just email a local shop or something in your town saying u have a website or something

somber surge
#

i already have a local venu near me who contacted me for a website

pale ferry
#

can anyone help me to fix a small thing ( i guess) ? im trying to make a rebirth system but its not working since my scripts dont upgrade them on the server but just on the client. Anyone knows how to do that?? πŸ™

near pasture
#

imagine paying a developer only $500 to script deepwoken or something

tidal bolt
#

the server has to do that

#

a RB system tends to have a little bit of bouncing back and forth

pale ferry
#

i have no idea tbh

tidal bolt
# pale ferry how do i do that

you shouldn't really be letting the client decide when or not they should rebirth - like client should request a rebirth through a remote event, then the server should check whether or not they can rebirth (checking a value etc) - then fire back to the client to complete the action if they can actually rebirth

#

like:
PlayerRequestRebirth: client -> server
server: check if player can rebirth
can rebirth: PlayerCanRebirth: server -> client

pale ferry
#

Ok

#

Alright thanksss

chilly imp
#

Start an argument over how this is wrong:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
#

πŸ₯°

#

πŸ₯Ά

thin wadi
#

Is there a showcase channel?

#

I made this rlly cool thing after like one week of coding, 2nd project

thin wadi
#

Tbh it’s nothing that big, but

#

I find it cool

keen lynx
#

Making a US army game dm me to be dev ( not paying doing percentage only for long terms as a team )

exotic minnow
slender yew
#

whats a good way to instantly stop the sound from playing? now I'm using a method where I set the parent to nil and then reparent it, but it doesnt work well with new roblox audio

exotic minnow
#

Its a method

slender yew
#

its not satisfactory cause I can't call a play after a stop

#

code runs all at once so it stops and plays at the same time

#

result: audio is stopped

exotic minnow
#

Change listener in soundservice then

#

As in where you recieve the sound

#

but if its not like global sound then idk

#

Uh not global sound but if it has a parent somewhere

slender yew
#

thats a good idea

exotic minnow
#

Or change volume

#

to 0

#

lol

fast turtle
#

Any ideas on some coding challenges? (Just trying to get better at code)

fast turtle
proper edge
pine torrent
tired violet
hardy pilot
hardy pilot
#

☎️

unreal dust
worn flax
unreal dust
worn flax
heady steeple
worn flax
#

πŸ€‘

ornate needle
#

Is there any way to safe data from one place to another place?, still same game like pet sim 99 and trading plaza, I’m using profile service for data

pseudo maple
#

Ive gotten all the basics down, where should i go to know?

fresh oak
pearl blaze
#

DataStoreService saves data and every place in experience can access it.

#

If by "place" you mean currently running server then use it's jobId as index.

frank vapor
#

gng who wants to teach me how to script πŸ˜›

sage fern
#

what is indexing and what does it do

#

and why and what would i use it for

cobalt rock
#

or accessing a specific element in a table?

cosmic lava
#

Im looking for one

hardy pilot
unreal dust
hardy pilot
shy bronze
copper apex
#

In roblox you can index instances

#

Which allows u to access properties of an instance

hardy pilot
shy bronze
upbeat stream
#

plss how do i learn coding

snow mauve
thick sail
#

Ye ye my bad

proper edge
#

then transfer that knowledge to luau

dull acorn
#

selling a already scripted game dm if interested

worn flax
#

@timber mortar

I messaged u >:) just pinged ya so u could see

gloomy canyon
#

how do i remove chat logs and make it bubble chat only

simple saddle
#

guys i need help with something

#

how much would scripting a pet simulator type game cost

weak radish
weak radish
#

but keep bubble chat

sudden patio
gloomy canyon
balmy owl
celest zinc
sudden patio
#

i cba

stark zodiac
somber vault
#

Anyone here experienced coder?

sudden patio
uneven solar
#

so technically

#

all of you are coders

devout plinth
#

Anyone know why I can't add an actor into my game

oblique oyster
# upbeat stream plss how do i learn coding

just do something on freecodecamp with python or something, get the basics down (variables, functions, for loops, etc.). Then mabey watch a short tutorial specifically for luau. And just begin coding

onyx phoenix
#

anyone wanna look over my code and give me suggestions for improvement? i can't really confirm if my code is decent or not if i have nobody to help out

onyx phoenix
#

oki

hexed phoenix
#

is that script good I think....

onyx phoenix
#

its not bad its just a lot of pets

#

a lot of pets is gonna be a lot of code

hexed phoenix
#

yep

#

I'm doing pet rng simulator0-0

lavish sphinx
stark zodiac
lavish sphinx
ivory oxide
#

say i want to make a parry system, what scripts would i use and where, like would i use any modules?

uneven solar
#

to northdane

stark zodiac
#

just make ur fucking own u lazy

uneven solar
#

calm down enstein

stark zodiac
#

surenda

#

i eat you for breakfast

uneven solar
#

πŸ’€πŸ’€πŸ’€πŸ₯ΆπŸ₯Ά

#

another level of corny

#

bro probably eats mustards

young wagon
#

guys how to learn scripting in most efficient and fast way?

onyx phoenix
lavish sphinx
#

Use YouTube or dev forums for things you don’t understand and just take your time to learn and take notes when needed

lavish sphinx
#

I’m making a game called sacrifice tycoon

#

Instead of the droppers dropping parts they drop dummies and avatars and you get souls as a currency

tiny ravine
#

Oh..

lavish sphinx
#

Yea

#

Kinda twisted but I wanted to be unique

tiny ravine
#

Fair enough ig

lavish sphinx
#

I’m still in the early stages tho and I’m pretty new to everything

tiny ravine
#

Whenever I try make something I end up using chat gpt and it kills me in the inside

#

Yh same

lavish sphinx
#

Yea I try and avoid using ai because it just doesn’t feel right to me I just look at the dev forums and look up what’s happening and usually I’ll get a forum that has similar problems

tiny ravine
#

Maybe i should try that

onyx phoenix
#

chatgpt doesn't actually give great advice like a lot of people say

#

i'm still nowhere near being a professional and i can already see bad practices in chatgpt's code

tiny ravine
onyx phoenix
#

true, but you shouldn't use it as a long term solution or to write entire scripts for you

#

using it for a small thing you can't be bothered to search up or go on the devforum for should be ok though

tiny ravine
#

Yh i don't use it to make a whole script because im tryna learn but then I feel like I cheated so I just give up and quit rblx studio for 2 weeks lol

somber vault
#

Can anyone

#

Teach me scripting

oblique oyster
somber vault
#

Last time I learned print πŸ˜­πŸ’”

lavish sphinx
#

Just look up really basic YouTube tutorials like how functions work or how to define variables

somber vault
#

They still give no sense

lavish sphinx
#

Those are like 2 fundamental things you’ll need to do anything

somber vault
#

On how for example you’ll be able to use that in a code

#

That’s why I want someone to guide me through live

#

So that I csn ask questions

lavish sphinx
#

Well that part is kinda up to you, but variables will be used in almost every script

somber vault
#

Just a little bit

#

So I get the hang of it

oblique oyster
lavish sphinx
#

Not really I’m at work right now and I’m still learning myself, look up devking and follow his basic playlist

#

That’s what I did to get the basics down then I started learning on my own and following more specific tutorials

somber vault
blissful ruin
#

question, how can i get started on creating an airplane that moves based on your mouses position on the screen ( like aviacio's planekit.)

#

like i dont even know where to start

copper apex
#

Look at how aviacio did it and learn

blissful ruin
#

they removed it from roblox

#

and nobody on the internet has like a forked one

vapid arrow
#

i currently have this script but because of the animation the vfx gets a curve how do i fix this

elseif keyPressed == "C" then
    local char = player.Character
    local hrp = char:WaitForChild("HumanoidRootPart")
    local anim = char.Humanoid.Animator:LoadAnimation(script.RudeBuster)
    local direction = hrp.CFrame.LookVector -- cache it clean before animation plays
    anim:Play()
    anim:AdjustSpeed(1.5)
    task.wait(0.4)
    local sound = Folder.Moves.Base.RudeBuster.Sound:Clone()
    sound.Parent = hrp
    sound:Play()
    game.Debris:AddItem(sound,1.5)
    local vfx = Folder.Moves.Base.RudeBuster.VFX:Clone()
    vfx.Parent = workspace.Effects
    vfx.CanCollide = false
    vfx.CFrame = hrp.CFrame * CFrame.new(1,1.5,-3) * CFrame.Angles(math.rad(0),math.rad(-90),0)
    local bv = Instance.new("BodyVelocity")
    bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
    bv.Velocity = direction * 250
    bv.Parent = vfx
    game.Debris:AddItem(vfx,1.5)
    
    vfx.Touched:Connect(function(hit)
        if hit:IsDescendantOf(player.Character) then return end
        local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
        if hum and not hitlist[hum.Parent] then
            hitlist[hum.Parent] = true
            hum:TakeDamage(20)
            task.delay(1.5, function()
                hitlist[hum.Parent] = false
            end)
        end
    end)
end
vapid arrow
#

thats not the issue mate its the humanoid rootpart lookvector that changes during the animation

vapid arrow
#

no?

#

bro are you stupid 😭

thorn arch
#

if your vfx doesnt mesh well with animation then you either have to change the animation or the vfx to not be dependant on each other

vapid arrow
#

bro its the bodyvelocity thats dependant on the animation not the vfx

thorn arch
#

you said the vfx gets curved?

vapid arrow
#

the path gets curved

thorn arch
#

send a video if possible

thorn arch
vapid arrow
#

im using tween rn so it works

#

πŸ₯€

#

im making rude buster

thorn arch
#

then store the look vector before playing the animation

#

and keep the body velocity going in that direction

balmy owl
thorn arch
#

use relative to world

vapid arrow
#

im tired of this stupid blender because i just cant seem to weld the axe to the rig

#

it works already

vapid arrow
#

yeah

#

it has a handle

thorn arch
#

should be easy then

vapid arrow
#

it doesnt work

#

normally im using an ik rig

#

yeah ts pmo bro

#

its gone now too

#

because someone told me to use a normla rig

thorn arch
#

are you welding in blender?

#

for animation?

vapid arrow
#

what

#

i have a rig and a weapon

thorn arch
#

like are you trying to add it as part of the rig in blender

vapid arrow
#

yeah so it moves with the rig

#

and i can properly animate it

#

because moon isnt as smooth

thorn arch
vapid arrow
thorn arch
#

and make it part of the rig

vapid arrow
#

blender is too hard for that

green mountain
#

how do I stop a function if a bool = true?
ex:

local function hello()
for i = 1, 999 do

if bool == false then
task.wait(1)
print("hi")
else
-- STOP THE FUNCTION HERE --
end

please help :D

thorn arch
green mountain
winged marten
#

yo whats best way to get into coding as a beginner rn?

frigid sandal
#

Yo, any game devs here? Hit me up β€” I got something good for you!

frigid sandal
green mountain
# hallow crag if bool then break end

so if I had this:

local function hi()
(whatever here)
end

local function hello()
for i = 1, 999 do

if bool == false then
task.wait(1)
print("hi")
else
break
end

while true do
hello()
hi()
end

if bool = false will it stop doing hello() and do hi()?

hallow crag
green mountain
#

tysm man

hallow crag
#

np gl

solid rain
thorn arch
#

Why does no one code block

solid rain
#

task.delay might be written incirrwctly but what it does is execute that function and continue with the others and after 10s the bool will be set on false

proper flicker
#

Does anyone know how I could replicate smooth footstep sfx to all clients, I cannot acces the anim tracks which I play from the players client locally, so I cant rlly use event markers only on the client cuz I cant replicate them to others. How would I be able to replicate the footstep sounds for other clients correctly

proper flicker
thorn arch
#

Why not?

proper flicker
# thorn arch Why not?

is there a way for me to use rays to see when the feet ar touching the ground on each client

#

why would I

#

play on 300 ping and look

thorn arch
#

The delay for the sound and footsteps should be equal so they would remain synced

#

So the ping doesn't matter

#

When the event marker is triggered, fire a remote to the server

proper flicker
proper flicker
#

and causes network issues

#

it will add up

thorn arch
proper flicker
thorn arch
#

Or u can let it be unsynced

#

It's not that important in terms of Gameplay

proper flicker
#

footsteps u need to hear correctly

#

can I use rays or nah

#

on clients

#

to detect when feet touch ground

#

and add a debounce no?

thorn arch
#

Not sure how u would use rays exactly

#

Might be easier to use parts in part or similar

proper flicker
thorn arch
#

Either way it will be heavy on performance

proper flicker
#

and play coresponding footstep sounds on part

thorn arch
#

No real reason to do it

proper flicker
proper flicker
thorn arch
thorn arch
proper flicker
proper flicker
proper flicker
thorn arch
weak radish
proper flicker
#

doesnt rlly know acc requirements

proper flicker
#

this you mean?

thorn arch
#

Fr

proper flicker
#

idk how he runs that

thorn arch
#

If it's only raycasting at the character then no

#

Plus, using queries for crucial mechanics is different from using them for peripherals like syncing sound

#

@proper flicker is the animation at a fixed speed?

cosmic tartan
#

I forgot to ask , how does movement system works and how is it created

mystic flint
#

I need partner for my journey of making my own studio

mystic flint
thorn arch
cosmic tartan
proper flicker
#

but im just gonna do what u said with events

#

and a hacky bypass on the client hsi footsteps

cosmic tartan
thorn arch
# proper flicker yes

Then u can reduce the number of events fired by firing once at the start of the animation

#

Then periodically playing the sound

cosmic tartan
#

is there a default script for movement?

thorn arch
#

Until another event is fired when it ends

cosmic tartan
#

that would save so much time

thorn arch
cosmic tartan
thorn arch
#

It is loaded into the player by Roblox when the game runs

#

So you can playtest in studio and copy it from inside ur character

cosmic tartan
#

How can I get it and edit it

young mantle
thorn arch
#

Yeah

#

The animate script

cosmic tartan
#

Thanks

thorn arch
#

That's what i meant

cosmic tartan
#

so I just need to make my own animations

proper flicker
# thorn arch Then u can reduce the number of events fired by firing once at the start of the ...

I used unreliable remotes ig and some bypass hacky shit like this:

task.spawn(function()
    for _, player in Players:GetPlayers() do
        repeat task.wait() until player.Character
        
        player.Character.DescendantAdded:Connect(function(descendant)
            if descendant:IsA("Sound") and descendant.Name == "Footstep" then
                descendant:Play()
                descendant.Ended:Connect(function()
                    descendant:Destroy()
                end)
            end
        end)
        
        player.CharacterAdded:Connect(function(char)
            char.DescendantAdded:Connect(function(descendant)
                if descendant:IsA("Sound") and descendant.Name == "Footstep" then
                    descendant:Play()
                    descendant.Ended:Connect(function()
                        descendant:Destroy()
                    end)
                end
            end)
        end)
    end
end)

Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(char)
        char.DescendantAdded:Connect(function(descendant)
            if descendant:IsA("Sound") and descendant.Name == "Footstep" then
                descendant:Play()
                descendant.Ended:Connect(function()
                    descendant:Destroy()
                end)
            end
        end)
    end)
end)

LocalPlayer.Character.DescendantAdded:Connect(function(descendant)
    if descendant:IsA("Sound") and descendant.Name == "Footstep" then
        descendant:Destroy()
    end
end)
thorn arch
#

You can use it rhe default anims

young mantle
proper flicker
#

server adds the sound instance and destroys after 3 seconds

young mantle
#

physics + visuals but don't rely on animations for movement itself

cosmic tartan
#

but how does dashes work

thorn arch
#

Then yes

cosmic tartan
#

how do you aply physics for it

thorn arch
thorn arch
young mantle
#

ApplyImpulse for uncontrolled movements and LinearVelocity for controlled movements

#

so if you want to fling the player then probably apply impulse

spiral girder
#

Why does my game not load 90% of the time when i click the play button in studio

#

its just the sky and nothing else

pearl blaze
#

Probably something related to Streaming

spiral girder
#

it is enabled

pearl blaze
#

Well go learn what streaming is.

#

Or disable it if you don't need it.

#

You probably need it if you wanna optimize your game for mobile or have big map.

spiral girder
#

The thing is is my map is not large at all

#

i barely have anything in it

pearl blaze
#

Then don't use Streaming.

spiral girder
#

still does the same thing when disabled

pearl blaze
#

Well having Streaming enabled is always good.

lavish sphinx
#

πŸ’€

worthy cosmos
#

guys do you know how to get the flag's player icon with the location of the player?

spiral girder
pearl blaze
spiral girder
#

this is all that shows

pearl blaze
#

On server.

spiral girder
#

nope

pearl blaze
#

Well that's the reason, no?

#

You don't have character so camera just chilling

#

Where else would camera go?

spiral girder
#

Im asking what the reason for this is

#

i dont have any code that would lead to this

rain osprey
#

the bots login every hour to get the shitfuck event, no sane human being would do that
-# grow a garden

pearl blaze
#

You don't have any code that isn't leading to this.

#

What should happen in your opinion?

spiral girder
rain osprey
spiral girder
#

I'm getting a bunch of api errors in console

pearl blaze
#

What SHOULD happen?

spiral girder
#

The character should spawn into the world

#

like normal

#

and be able to walk around

#

after waiting awhile it worked and my character is just invisible

pearl blaze
#

So go fix that?

spiral girder
#

dawg

#

I don't have any code that contributes to the spawning of a character into the world

pearl blaze
#

So your character just doesn't spawn?

spiral girder
#

It is a problem with studio

lost pebble
spiral girder
#

Thats why i was asking if anyone has experienced this issue before

#

I didnt notice an outage with roblox studio when i checked

pearl blaze
#

If this is happening in all places yeah.

#

But you checked right?

lost pebble
#

stuff just sometimes errors with roblox for whatever reason. it should resolve itself at some point

pearl blaze
#

I had many problems where I thought roblox is dumb but I caused the problem, even tho error was on roblox part.

spiral girder
#

nvm roblox is experiencing an outage rn

neon nova
#

oh is that where all those weird messages are from?

rain osprey
#

a barb

#

a barbershop hair

#

a barbershop haircut that costs a quarter

sand flower
#

Ok

rain osprey
#

man wows audience in 2 sentences!

#

this 97 year old stage still serves barbershop haircuts the old fashioned way

elfin timber
#

hello my hidden devs friends

#

is it bad to do 2 while loops

#

cus i deadass forgot

spiral girder
#

wtf

lost pebble
lost pebble
#

you're welcome

spiral girder
#

it looks like your while loop will run infinitely no?

ruby cipher
elfin timber
#

i havent really mapped out the code

#

im tryna make grow a garden purely for practice

spiral girder
#

you just have to make sure you call a break in the second while loop

elfin timber
#

and im scripting as it flows

neon nova
#

guys is this error from the roblox outage rn

thorn arch
#

It's a yielding infinite loop

stark zodiac
elfin timber
stark zodiac
#

time complexity

#

i.e the time it takes your program to run relatively to the amount of data inputed

#

idk tho

#

consult someone with more expertise

lost pebble
tawny jacinth
#

Far better than roblox's recommended

pseudo maple
#

What should i move onto after completing and having a basis in the foundations? (Variables-tables)

blazing berry
#

Wsg guys im working on a new game and i need scripters dm me if u want to help.

rocky mica
#

yo does anyone know how i can fix an arm from not appearing

thorn frigate
#

is there a way to update data for offline players using profile store?

thorn frigate
lone marsh
#

lemme get the API up forgot

true birch
#

Update data for offline players the heck

lone marsh
thorn frigate
true birch
lone marsh
#

only works if u do :GetAsync instead of starting a session

true birch
#

Weird

wide sparrow
#

if you can probably check to make sure the player doesnt have an active seession in a server first

thorn frigate
wide sparrow
lone marsh
wide sparrow
#

whenever a player buys something

thorn frigate
wide sparrow
#

store it under a "pendingPurchases" table

wide sparrow
thorn frigate
#

okay ty

pseudo maple
#

How should i know progress after getting the basics down?

#

Should i take free models and break them apart?

hexed pollen
pseudo maple
hexed pollen
#

Do that then
Some other easy stuff is:
Basic level system
Making parts moves
Basic coin system
Nothing too much

hexed pollen
#

If you just can't get it look up videos then try on your own ag

pseudo maple
lone marsh
#

what should i code for my portfolio

pseudo maple
hexed pollen
lone marsh
pseudo maple
ivory oxide
#

Scripting a parry system with posture is so hard😭

pseudo maple
lone marsh
pseudo maple
hexed pollen
lone marsh
#

hmm

pseudo maple
lone marsh
#

guess i can make a quick grid system

hexed pollen
pseudo maple
lone marsh
hexed pollen
#

Yup

#

I see a lot of placement systems people want too

lone marsh
#

ima just do fence placing

#

going to need 2 variants

#

nvm 3

hexed pollen
#

Yea

#

What i used to do is look at hiring scripters and see what most people were hiring for and made them system to add to my thing

lone marsh
#

i could probs just do the single fence and the connector

hexed pollen
#

Could be nice

#

Gl

lone marsh
#

which 1 do i use

sullen fox
#

i just realized i was trying to save a function...