#code-discussion

1 messages · Page 210 of 1

balmy zenith
#

has certain protection and convenience

#

ie session locking

patent pine
#

Hello

#

anyone a scripter here?

ocean zenith
#

I wish I had some programming skills

azure comet
#

Hey wanna be a slave for me? Im making a very high quality game and I could use someone who can be a living punching bag for me to take my anger out on and add blame to

#

Did I mention Im not paying you

drowsy hemlock
#

Que

azure comet
#

Also very harsh work conditions too, I assign you a potato pc to use

#

I demand about 500k lines of code per script

#

And very frequent deadlines, like basically you finish whenever I want you to be finished

#

Actually Im also not gonna take no for an answer, I have a trafficking convoy on its way to your location as we speak

obtuse harbor
silent summit
#

Is it normal to just enslave people in this place wha

viral kestrel
#

is it fine if i name the datastores and the table i'm saving like this?

local DataStores = game:GetService("DataStoreService")
local PlayerData = DataStores:GetDataStore("PlayerData") 

game.Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new("Folder", player)
    leaderstats.Name = "leaderstats"
    
    local coins = Instance.new("IntValue", leaderstats)
    coins.Name = "Coins"
    coins.Value = 0
    
    local success, data = pcall(function()
        return PlayerData:GetAsync(player.UserId)
    end)
    
    if success and data then
        coins.Value = data.Coins
    end
end)

game.Players.PlayerRemoving:Connect(function(player)
    
    local playerData = {
        Coins = player.leaderstats.Coins.Value
    }
    
    local success, errorMsg = pcall(function()
        PlayerData:SetAsync(player.UserId, playerData)
    end)
end)

lean radish
#

hello sigma scripters

just asking, how much robux would i have to pay for a clean, ODM gear system from attack on titan?

lean radish
hoary cedar
solid notch
#

scripter for % pls

solid notch
#

i contributed 200m and like 20k ccu so yes

solid notch
balmy zenith
#

he prolly got a full time j*b

lean radish
solid notch
#

he still typing

solid notch
hoary cedar
lean radish
solid notch
#

not everyone solo dev's

lean radish
hoary cedar
solid notch
lean radish
solid notch
#

well i have a good enough pitch i guess

hoary cedar
#

No. I am happily employed

hoary cedar
solid notch
#

oh well not bad in that case

lean radish
#

aw

solid notch
#

but if ur supporting a whole family then yes

#

and depends on ur country too

lean radish
#

24k/year in australia means youre near homeless

hoary cedar
#

USD->CAD

balmy zenith
#

whats the circumstances 🤔

#

ah

hoary cedar
balmy zenith
#

does canada got expensive college 🤔

lean radish
hoary cedar
#

I quit my job for it

#

Nets me more income than I've ever earned with a crappy retail job, lol

#

But yeah, generally, around my age group, you'll struggle to find developers willing to work for a percentage alone, @solid notch

#

Despite my circumstances, I still need a steady income; I cannot afford to earn nothing for months on end

solid notch
solid notch
viral kestrel
#

@hoary cedar dms

hoary cedar
solid notch
#

i have a friend who would literally work for fun, and hes probably top 10% scripter easily

hoary cedar
solid notch
#

in Uni now though

solid notch
hoary cedar
#

Not likely given my demographic

#

That demographic is where you're most likely to find professional scripters

solid notch
#

but not shit either

hoary cedar
crisp geyser
#

The code itself is fine. It’s most likely running since something else in the workspace is touching it. Do a humanoid check to only allow it to run if a player touches it.

dusky relic
solid notch
dusky relic
#

I am jealous

solid notch
#

not that i need it

hoary cedar
#

Then you'll be fine

#

You can surely find someone to work for a % if the stakes aren't that high

solid notch
#

i hope so cuz everyone is geeked

granite igloo
#

Force ur friends to learn roblox studio

solid notch
#

may as well learn myselff

granite igloo
solid notch
#

0% but it can go to 100% within a few days

#

of serious dedication

granite igloo
#

Good experience

solid notch
granite igloo
#

i dunno if u can complete a game in a few days

#

Just setting up stuff is a day for me

hoary cedar
solid notch
#

its easy bruh

hoary cedar
#

Especially with today's rotting attention spans

solid notch
#

cant seriously grind

viral kestrel
#

@hoary cedar could u check dms i have some questions

granite igloo
hoary cedar
viral kestrel
viral kestrel
#

just forget it

hoary cedar
#

👍

lofty musk
#

Whats a game I can make to train/imrpove my code

signal arrow
#

sorry if this isnt the correct chat but i know how to code in java and some c++ and i wanna learn lua, but all the lua tutorials are for beginners and go over basic if statements and prints, im wondering if there’s anywhere i can go to learn it without having to sit through those things?

static forum
#

Anyone need a scripter dm me

misty cosmos
signal arrow
hot copper
#

how do you know when u are ready to do commisions?
cause i've been scripting for a year and a half and idk im ready to do commissions

signal arrow
signal arrow
#

scripter hiring*

hot copper
#

aight

#

thanks

gilded void
#

that's true but prefer to learn from free models

#

there is a great guy on youtube

#

explain everythin g

crisp geyser
#

If you’d prefer not to use ai, read through the DevForum and roblox Luau documentations.

I highly recommend BrawlDev if tutorials are the way you’d want to go.

modern seal
balmy zenith
#

noice!

somber vault
#

@signal arrow honestly just look at open source scripts

modern seal
lean ocean
#

never say that again

dusky oracle
warped cape
modern seal
#

th end goal now explodes you :>

#

AAAAAAAAAAAAAAAAHHHHHHH

dusky oracle
narrow river
#

so thats like 1.2k hours

#

or sum like that

#

idk

#

nvm its 3k

dusky oracle
#

if i started coding for like 5 hours a day everyday, starting from scratch, when do you think id reach a point of advanced understanding

static forum
#

1 year

dusky oracle
#

ok that sounds reasonable

dusky oracle
#

i have a passion project i eventually wanna end up working on, and i think i wanna start scripting and just tinkering around with really simple parts of the project and eventually build it properly

#

hopefully roblox wont shut down before i can materialize my project

strong spire
#

Who here is a good scripter dm

hot copper
hot copper
azure jay
strong spire
#

Dm

fluid thunder
#

Can someone with a mid ccu game with like 300-500 reply to this message i have a deal for them

static forum
strong spire
#

Ok

last cosmos
#

If any one have hood gun system dm me, idk if I can ask this here... sorry if im wrong

rotund pawn
#

How does grow a garden handle per player stock? Do I really have to create datastore for per player stock to handle situation when player buys Item and rejoins before restock interval?

#

Srsly I can't understand how to make this without expensive database input for each player stock

azure jay
#

You don’t need a big complex system

rotund pawn
#

I know, it just seems like an overkill to make datastore for each player stock and keeping all values there

azure jay
#

Use relative timestamps instead of exact stock values

rotund pawn
#

Can you elaborate please?

azure jay
rotund pawn
#

I am thinking just to save lastRestockTimeStamp and "recepit" of how many of what items was purchased. Server will handle the difference and updates when player joins

azure jay
#

The server calculates current stock dynamically

rotund pawn
#

In terms of efficiency: Should I keep the receipt inputs in "local" array and just save on leave?

azure jay
rotund pawn
#

Thank you

azure granite
#

just have data stored for player of the current stock. every tiem they buy something lower it in their data store. then update the data store every time server refreshes

#

thats what i do and it works

olive summit
#

is there any way to fireallclients except a specifc one?

tribal mason
#

SetAsync or UpdateAsync? who know whats better

tired stag
#

Yes, AI significantly affects water resources, primarily through increased water consumption for cooling data centers and the energy demands of AI models.

obsidian hedge
#

And either way, it's always recycled.

tired stag
#

guys did you know ants are sour if you eat their but

obsidian hedge
tired stag
#

🙂 th

#

thx

fluid thunder
#

i need help with code

#

@silent summit @tired stag

#

local monk = game.Workspace.Monkey

local function changeTransparency()
monk.Transparency = 1
monk.Transparency = 0.25
monk.Transparency = 0
monk.Transparency = 1
monk.Transparency = 0.25
monk.Transparency = 1
monk.Transparency = 0.50
end

changeTransparency()
changeTransparency()
changeTransparency()
changeTransparency()

fluid thunder
#

Like i want it to keep changing transparencys

fluid thunder
rancid valley
#

basically they are all changing so fast you don't see it

fluid thunder
#

Ohh tysm

fluid thunder
#

i did this

#

is it good

fluid thunder
foggy plinth
#

no

foggy plinth
#

your just doing the last " monk.Transparency = 0.47"

each second

#

so instead you need to do
monk.Transparency = 1
task.wait(1)
monk.Transparency = 0.86

grim rampart
#

omori pfp

#

yurrrr

drowsy hemlock
#

Fr

rigid rover
fluid thunder
#

racist bc im black

rigid rover
rigid rover
#

buddy

fluid thunder
#

sure

exotic comet
#

Mods!!!!!!

#

I can't accept people being mean to my people

alpine tusk
upper marlin
#

I am trying to learn how to script but i can’t find a good scripting guide that’s not outdated on youtube any recommendations?

void flint
#

peak scripting

sharp perch
upper marlin
sharp perch
#

the fundamentals haven't changed

supple lagoon
#

"blah blah blah is deprecated, use blah blah blah instead"

#

but. study the api

#

i think thats the best advice for learners its what helped me most

inland warren
#

yo guys yall know ink game?

#

so I wanted to make like when the player/character gets shot

#

the character moves

#

a little bit

#

like in ink games

#

but yall have an idea how to do that?

proud idol
warped cape
#

what should i make to show off on my portfolio

#

actually yk what

#

i know javascript

#

wait

fathom sundial
warped cape
#

bro

fathom sundial
#

yes

warped cape
#

tbf i could code everything atp

#

but i never got around to making a portfolio

#

i recently just got into commisions

fathom sundial
warped cape
#

something roblox related

fathom sundial
#

id say

warped cape
#

like 2 months ago

fathom sundial
#

ui scripting

#

is good

#

and mechanics

warped cape
#

yea but it's incredibly easy

#

i am working on a steal a brainrot type game

#

but i'll work on it tommorrow

#

for the whole day

fathom sundial
#

maybe make something like a player carry mechanic

#

or an npc that does something

rotund heath
#

@dusty zenith

#

mp

gleaming verge
#

does someone know how to prompt this to the player?

hot copper
#

what do yall think about people using chatgpt on commissions

#

not like using it to create the entire code but using it as a help

hot copper
#

do you think there is gonna be an AI at some point thats gonna replace an entire programmer

fathom sundial
#

yuh

#

maybe at some point

hot copper
#

dude theres no point on working atp

#

we should kill every tech company CEO

#

so they stop making AI

exotic comet
warped cape
exotic comet
warped cape
#

13

#

i've got half term

exotic comet
#

What

#

Ohh

#

Lucky

exotic comet
gleaming verge
#

dw already found how

exotic comet
gleaming verge
gleaming verge
exotic comet
#

Oh social service

exotic comet
gleaming verge
#

np

hot copper
#

are yall using rojo + modularized code + loader?

exotic comet
#

Yea

#

@hot copper

plush summit
# fluid thunder local monk = game.Workspace.Monkey local function changeTransparency() monk...

local monk = game.Workspace.Monkey

local function changeTransparency()
    monk.Transparency = 1
    task.wait()
    monk.Transparency = 0.86
    task.wait()
    monk.Transparency = 0.76
    task.wait()
    monk.Transparency = 1
    task.wait()
    monk.Transparency = 0.70
    task.wait()
    monk.Transparency = 1
    task.wait()
    monk.Transparency = 0.47
end

changeTransparency()

no need to spam changeTransparency() like 6 or 7 times just do it once and also task.wait should be between the changes in transparency

#

also I suggest you do game.Workspace:WaitForChild("Monkey")

fathom sundial
plush summit
#

I didnt add the numbers

#

cause idk how long he wants it to wait

fathom sundial
#

oh ok i was gonna say

#

makes no dif without the values

vernal peak
#

Yo can somone explain what oop is

#

Is searched it up but couldn’t understand it

plush summit
#

it would prob be better if he just did monk.Transparency = math.random()

#

and made it a loop

#

but its wtv

wide sparrow
#

a video will explain it better than anyone can in words

main sorrel
#

does anyone know how rebirth system with requirement are coded in brainrot games

#

do they have to code each rebirth level

fathom carbon
#

Anyone know how I should handle giving items when a player buys a gamepass? I'm afraid that if they leave during or right after the buying process, they wont receive their items

fathom carbon
plush summit
waxen edge
#

yo guys which is better to use for a tds tower throwing a knife

run service or touched
to detect when the knife was touched and do the daamge & vfx

main sorrel
azure jay
main sorrel
# waxen edge wdym

when the tower decides to damage the enemy, it will damage it after playing the throwing animation

#

that's my idea

waxen edge
main sorrel
#

if you already know which enemy you're attacking, why would you use detection on the knife

plush summit
plush summit
#

ty bro

#

can u do it with math.random tho

waxen edge
#

how else u gonna detect that

#

thats what i asked touched or runservice to detect when knife is hit

main sorrel
azure jay
#

local monk = workspace.Monkey

local flickerValues = {1, 0.86, 0.76, 1, 0.70, 1, 0.47}

local function changeTransparency()
for _, value in ipairs(flickerValues) do
monk.Transparency = value
task.wait(0.1)
end
end

changeTransparency()

main sorrel
waxen edge
azure jay
waxen edge
#

well rn am checking the distance

#

and run service will be more better because touched at the speed of the object might not hit correctly

#

local distanceToTarget = (currentTargetPos - newPos).Magnitude
if distanceToTarget < 2.5 then
-- Hit detected, deal damage

exotic comet
#

Dumb ai generative message

granite galleon
#

i smell fearmongering

exotic comet
#

Wtf yrrep here @hasty mesa

#

Hii

exotic comet
#

What is strings interpolation

wind spruce
#

Im a complete beginner at scripting , how do i start ( i dont want those bullshit tutorials which explain roblox studio for the 100th time )

potent igloo
#

just skip the first video if you already know studio

summer phoenix
#

nvm tho

#

it wasnt much

fair copper
#

🔒

quaint crane
#

W

hot copper
#

im looking to do my first commissions any suggestions?

real solstice
fair copper
#

but dont make it obvious

fathom carbon
fair copper
#

a module that runs updates and fires ur remotes or whatever

#

then call it if they buy a gamepass

#

or whenevr you recalculate their data

#

add or subtract the data

#

you call that function

#

then listen in on the fires on the client script to update ur ui logics

fathom carbon
#

Not sure I understand, I have an inventory module, contains all logic and whatnot to handle inventories. What I'm worried about is players with high ping leaving before receiving the items after buying a gamepass

fair copper
#

player with high ping leaving before receiving items

#

then u can create a fallback

#

like the trade doesnt happen and the items get sent back to inventory instead if there is any error

fathom carbon
#

what

#

For a gamepass, not the trading

#

my trading works fine

real solstice
#

ai generated ahh response

fair copper
#

i dont think roblox has huge latency problems with gamepasses tho

fathom carbon
#

I'm saying that they can get rid of the item after getting it the ffirst time via trading, so checking if they own the gamepass and matching it with their inventory wouldnt do anything

fair copper
#

ohh

#

so its a developer product u mean

south bridge
real solstice
fathom carbon
south bridge
#

it's pumpkin season

fathom carbon
south bridge
#

not watermelon

fathom carbon
#

they can only get it once from gamepass, but they can trade it away

real solstice
#

sorry bri the pumpkins were out of stock

south bridge
fair copper
#

🤔

#

hmm so basically they own the item via the gamepass but they can trade it away

fathom carbon
#

Yes

#

so I cant check to see if they have it or not, because that could just meant hey traded it

fair copper
#

hmmm

real solstice
fathom carbon
#

I'm not sure if anyone even has this problem at all, maybe roblox just doesn't count gamepass purchases if you leave directly after because I've never heard of anyone talk about it

fair copper
#

i think once it deducts ur robux

#

it marks the gamepass bought

real solstice
fathom carbon
real solstice
#

oh I see, well in that case you can have a separate global event for purchases on the server which is fired from the client, and set the module from that script on the server

#

and by global I mean you can send something like the type of purchase (product/pass) and the name of the purchase and handle all that in 1 event

fathom carbon
#

thats the same problem I have already though

#

the time it takes to get from the client to the server via event

#

again I'm not sure it really matters, I assume roblox handles this but I don't want that happening to someone then my game getting flagged for not giving people what they bought lol

real solstice
#

right that’s a fair point since it’s robux purchases but I wouldn’t worry about that if your game does not consist of 50,000 wait for childs on the server and 8 while loops running at all times

#

you don’t usually see anyone having issues with buying game passes right?

fair copper
#

do yall watch ur memory usage

past wing
#

never did never will

fair copper
#

i dont really notice mine going up alot, what makes it go up?

real solstice
#

gamepasses in basically all games come from some UI (the client) which means they always will be firing some event AKA the same thing you do

#

well you should watch out for things like any and all effects in the server

#

this includes tween service, animations and particles and more probably

frail plaza
#

what to do if a player hits a wall

#

while velocity is affecting them

#

i tried raycasting

#

to stop the velocity

#

if they are near a wall

#

unfortunately doesnt do it fast enough

#

so they go to kingdom com

real solstice
#

you know I have this problem too but the only way out is to use ray cast or the get parts in box or radius

fathom carbon
frail plaza
#

memory leaks bad for performance

#

like really bad

fathom carbon
real solstice
#

bro it’s hard for it to get to that point

fathom carbon
#

wym the raycast doesnt do it fast enough

frail plaza
#

very fast

#

idk if im not doing enough raycasts

#

or something

#

i can send the code if u want

fathom carbon
#

If the point of the game is your speed, then spending resources on alot of raycasts isnt bad

frail plaza
#
    local Att = Instance.new("Attachment")
    local Velocity = Instance.new("LinearVelocity")
    
    Att.Parent = Character.HumanoidRootPart
    Velocity.Parent = Character.HumanoidRootPart
    
    Velocity.ForceLimitMode = Enum.ForceLimitMode.PerAxis
    Velocity.VelocityConstraintMode = Enum.VelocityConstraintMode.Vector
    Velocity.Visible = true
    Velocity.Attachment0 = Att
    Velocity.MaxAxesForce = Constraint
    Velocity.VectorVelocity = Direction * Vector3.new(ForceX,ForceY,ForceZ)
    
    local CancelRoutine = coroutine.create(function()
        if Moveable then
            RunService.Heartbeat:Connect(function()
                Velocity.VectorVelocity = Character.HumanoidRootPart.CFrame.LookVector * Vector3.new(ForceX,ForceY,ForceZ)
            end)
        end
        
        if CancelOnWall then
            RunService.Heartbeat:Connect(function()
                if not Character:FindFirstChild("HumanoidRootPart") then return end
                local HRP = Character.HumanoidRootPart:: BasePart

                local RayParams = RaycastParams.new()
                RayParams.FilterType = Enum.RaycastFilterType.Exclude
                RayParams.FilterDescendantsInstances = {Character}

                local RayCast = workspace:Raycast(HRP.Position,HRP.CFrame.LookVector * Vector3.new(4,0,4),RayParams)

                if RayCast then
                    if not RayCast.Instance:HasTag("Hitbox") and not RayCast.Instance.Parent:FindFirstChildOfClass("Humanoid") then
                        for _, Vel in Character:GetChildren() do
                            if Vel:IsA("LinearVelocity") then
                                Vel:Destroy()
                            end
                        end
                    end
                end
            end)
        end
    end)
    
    task.spawn(CancelRoutine)
    
    game.Debris:AddItem(Velocity,Duration)
    game.Debris:AddItem(Att,Duration)
    
    return Velocity
#

not really about speed

#

but velocity and other speed based projectiles/moves are used a bit

real solstice
#

one thing I think you should do is change it to include which will allow you to only look at your map and delete the checks you have to make sure it is the map (I assume)

#

that probably will make minimal if not 0 change but it’s something

real solstice
#

you know in the raycast params you can do include or exclude

#

yes

#

and always when I have hitboxes or raycasts I use include wherever I can because it ignores everything but exactly what I specify

frail plaza
#

soin my maps

#

should i just giver

#

all wall

#

the tag

#

"wall"

fathom carbon
#

I mean it looks fine, The only thing I notice is that you're using heartbeat, which fires after the physics sim

frail plaza
#

and check for that

fathom carbon
#

there are methods that fire pre physics, maybe that would work for velocity a bit better

fathom carbon
#

not sure though

real solstice
#

no I mean do you have a folder with all possible things you can collide with?

frail plaza
#

i can use the current map

#

but itd be a bit complicated

#

actualy nvm

real solstice
#

oh well you would usually put just that and it would only look at that folder

frail plaza
#

i have a folder with the map

#

that dynamicaly changes

#

ill just use that and the lobby for testing

fathom carbon
#

news to me

real solstice
#

also if they are moving that fast then maybe increase the lengths of the raycast

frail plaza
frail plaza
real solstice
#

also I find HRP.CFrame.LookVector.Unit * distance a bit better but I assume your logic already sets the length to 4

frail plaza
#

some rando told me icant

#

😭

real solstice
#

bro you can 100%

fathom carbon
#

I'm not sure to be honest, I guess I've never actually tried

#

I just assumed so

real solstice
#

oh wait mb

fathom carbon
#

not sure why it would be locked to the client

real solstice
#

sorry renderstepped is blocked

#

only .Heartbeat works from run service

fathom carbon
#

Learn something new everyday I guess

frail plaza
#

lmfao

#

it fires every frame after simulation

#

which is done on client

#

server has its own framrate

#

but only used on heartbeat

#

or so ive been told

real solstice
#

yeah so the best thing you can do is put all that in the client and change it to renderstepped, stepped or whatever

#
  • make the raycast bigger or maybe even depend on your current velocity
frail plaza
#

i dont work with raycasts often

fathom carbon
frail plaza
#

this is gonna annoy the fuck outta me

fathom carbon
#

local RayCast = workspace:Raycast(HRP.Position,HRP.CFrame.LookVector * Vector3.new(4,0,4),RayParams) this one

real solstice
#

to be fair if i were you

#

i'd just change it to include, make the raycast longer and pray

real solstice
#

oh I see

fathom carbon
#

Yeah you could extend the raycast based on their velocity

real solstice
#

did you do something like HRP.CFrame.LookVector.Unit * distance for the direction though?

fathom carbon
#

so it'd be extremely long if theyre extremely fast and vice versa

frail plaza
#

fuck you clyde

#

wont let me send the full sript

#
function KnockbackService.Knockback(Direction,Character,Duration,ForceX,ForceY,ForceZ,Constraint,CancelOnWall,Moveable)
#

here are the paramaters i send

real solstice
#

oh damn what do the force ones do?

#

the x, y and z

frail plaza
#

those are for the linearvelocity

real solstice
#

oh so it's just a knockback in any direction you want?

frail plaza
#

yeah

#

its not a set direction

#

bc in my game im using velocity alot

real solstice
#

i have one in my combat game that adds a body velocity for 0.2s to any direction and with any force i want it and it works fine within maybe 15 lines lol

frail plaza
#

so i need this

real solstice
#

i see

#

yeah in my game it's just a simple knockback handled by the roblox physis

frail plaza
#

wait

#

does bodyvbelocity not cause the character to start tweaking tf out if theyt hit a wall

real solstice
#

it does but since my knockback does it for 0.2s it's not a problem

#

and i find the newer velocities just confusing you know all of them need like 5 attachments

frail plaza
#

not really confusing

#

only 1 attachment

#

and they are not physics affected

real solstice
#

ye I know

#

that's why i use the older ones right now

frail plaza
#

its deprecated tho

#

might get removed

real solstice
#

but ig i will have to change for more complex moves or functions you know

#

ye well hopefully not lol

#

i do use align position and orientation though i think those are pretty cool

frail plaza
#

btw for this

#

it works with ALL descendants right?

real solstice
#

yeah just like exclude

frail plaza
#

k

#

so best things i can do are just either calculate on client or change based on speed

#

bc thats kinda bs

real solstice
#

yeah the best thing you can do is extend the raycast or make it update more often (aka put it on the clients since .heartbeat is absolutely as fast as you can do it on the server)

#

i have this dash which works like tsb where it turns with the direction you look with shiftlock and i had to put it on the client or it just didn't update quickly enough

frail plaza
#

if a velocity is destroyed on the client

#

will it also destroy onserver

#

or would i need to add a server event to handle that

real solstice
#

that's a good question lol usually it wouldn't but in that case you would probably need to create it on client too

frail plaza
#

is it a good idea to handle velocity on the client tho?

somber vault
#

if anyone interested to code for us for 50k dm me.

somber vault
real solstice
frail plaza
#

rip

real solstice
#

maybe you could find some breakthrough with the modern velocities but i was never able to and im already on like my third combat game which uses the same dash system

#

i mean the same idea

#

of a dash system

frail plaza
#

gleep glor

#

damn

real solstice
#

so i had to resort to sending an event with stuff like time, velocity and the part itself to the client and that has a repeat loop with renderstepped for the requested duration

frail plaza
#

i cant say that

real solstice
#

so i have a global remote event that is sent to the client, on the client i create a body velocity and update it with renderstepped for however much time the event receives

#

this is my script:

--//Velocity Handler
velocityEvent.OnClientEvent:Connect(function(part, velocity, maxForce, lifetime, directionsTable: {any})
local setLifetime
if not lifetime then
setLifetime = 60
else
setLifetime = lifetime
end

--//Parameters
local mode = directionsTable[1]
local vector = directionsTable[2] or Vector3.zero

--//BodyMover
local bv = Instance.new("BodyVelocity")
bv.Name = "Velocity"
bv.Parent = part
bv.MaxForce = maxForce
bv.Velocity = Vector3.zero
bv.Velocity = bv.Velocity

--//Timing
local startTime = tick()

repeat
    Run.RenderStepped:Wait()

    if mode == "LookVector" then
        bv.Velocity = part.CFrame.LookVector.Unit * velocity
    elseif mode == "SpecialVector" then
        bv.Velocity = vector.Unit * velocity
    end
until tick() - startTime >= setLifetime or not part:FindFirstChild("Velocity")

--//End
bv:Destroy()

end)

summer phoenix
#

just use a table atp

frail plaza
#

oh ma god

#

i did something really cool

#

i found a way to handle the velocity on client

#

AND make it replicate

#

im so epic

fiery terrace
#

Guys i started learning script i watched all brawldev tutorial but i dont find other tutorial like simple sustems and all where to find

frail plaza
#

why is it failing to find the parent??? ```lua
if game.Players:GetPlayerFromCharacter(Character) then
for _, Player in game.Players:GetPlayers() do
return Event:InvokeClient(Player,Direction,Character,Duration,ForceX,ForceY,ForceZ,Constraint,CancelOnWall,Moveable)
end

#

litteraly making no sense

#

im not even using any parents here

#

nvm

carmine pond
#

anybody familiar with avatareditorservice searchcatalog personalized results while fetching multiple assettypes at once?

drifting mulch
#

hey guys i think i need litle help for my game i think the problem is in datastor who is free to join and tell me what to do

bronze path
# frail plaza why is it failing to find the parent??? ```lua if game.Players:GetPlayerFrom...

You honestly shouldn't use InvokeClient here since an exploiter can abuse its side to make your server code yield forever, and you should never be sending this amount of arguments over a remote. There's probably a way to simplify that
Your loop will also only ever run for one iteration (so for 1 player) due to the return keyword and we have no idea what youre using for the character variable

#

Lots of issues both logical and stylistic here

#

If you have multiple players, I bet you this code will seem to break-

#

Use the marketplace to put your portfolio up for programming hiring. #marketplace-info

junior zephyr
#

is anybody here looking to script for a fun project. Cant promise payment but will be a fun simulator style project where you run your own kebab shop
Lmk if interested I’ll explain more

strange kiln
#

“Who wants to make my game for me (no payment)”

soft goblet
slender pewter
#

im still confused on wat booleans are

vernal peak
vernal peak
#

ive been reading this for like 5 min

#

and I dont see one track:play()

#

is track:Play() bad? cuz im making a dash system rn

real solstice
#

do you mean the animation?

vernal peak
real solstice
#

oh well this whole script is actually just a global velocity updater which I use in multiple things like moves or the dash, the animation is played separate I have a function for playing animations too

vernal peak
#

oh nvm then im trippin

real solstice
#

yeah don’t worry about it also if you want to play animations then do so on the client since that’s where all visual stuff should be

vernal peak
#

oh I got a question, my client and server do multiple checks each when doing an action to see if they are allowed or not

#

is that bad for memory

real solstice
#

I have something similar and even thought it will always put things on cooldown whether you can perform the action or not the only check I have is on the server because I prefer to keep things clean

#

it shouldn’t be a problem though

gritty path
#

Is observing pre made scripts along with scripting what I learned a good way to learn scripting?

wise turtle
#

yes

gritty path
#

Ok

#

Thank you

slender pewter
#

someone explain to me about returns

iron vigil
#

I’m just getting back into scripting and I’m wondering if there’s any generous soul to help me for just a little bit. I already have a goal in mind I’m just needing assistance getting there. Pretty simple goal but let me know if ur willing to help

iron vigil
somber vault
#

code discussion dead for more than 1 hour

fathom sundial
#

real

azure jay
hybrid ledge
#

How can i check here if the player allowed permission?

AvatarEditorService.PromptAllowInventoryReadAccessCompleted:Connect(function(result)

mighty palm
#

Hey

#

How did y’all learn to code?

harsh isle
#

hey

#

guys

mighty palm
#

Yk how to code?

harsh isle
#

kinda

mighty palm
harsh isle
#

Youtube

balmy zenith
mint moon
# mighty palm Where did u learn?

im also still learning but something that made me do huge steps especially at the very beginning was first of all understand how roblox studio work, maybe spend a week and just mess around with roblox studio unitil you learn how most things work, then watch a YouTube full guide of scripting at least the basic part, after that Just make a baseplate and try to do different random things, whatever comes to your mind you do it,

tulip owl
# mighty palm Where did u learn?

also an tip i recommend for all beginner scripters is that never spend time fully remembering how all the syntax works for each thing that will just slow you down, the documents are always there if u need it

slow drift
#

what is System

iron kraken
#

i think its total memory

wispy shale
slow drift
raven marsh
rain sparrow
#

Am kinda confused rn
I need guidance
After following brawldev adv series
Should I watch someone making game and do same like Modev shows how to make complete end to end simulator
If I follow someone making game I feel I will know best practices and other stuff with witch i can make more games easily
But will take more time if i follow another playlist

Or

Directly make game on own
If I directly do I fear that if I face a weird bug I can't solve at all
And won't optimize the game well enough face so many bugs that i cant release any games

I just wanted to know how do scripters actually do it how do they become so good that they are confident that they can make any game or solve any bug be in team and develop games etc

rotund pawn
#

Make game on your own and watch tutorials for stuff you can't figure out yourself

#

Be ready that your first few games will be trash and forgotten

#

Well, do not try to create game. Create core function - such as shop system, economy, map generation, datastores,....

rain sparrow
# fervent karma Make your own games

but if i do that i wont know how to make pet hatching system
or how to make it good on mobile
then i also wont know how to do like rebirth and other things and face a lot of bugs
will face a lot of issue because after the lua series i wanna build game either i can follow another series showing how to build game or i do my own game

fervent karma
#

They most likely will be ass but at least you learned from it and also work on other games for free or % at the start to really build experience with working with a team

fervent karma
#

You make it to learn from it

rain sparrow
#

ok so i wont follow any complete tutorial
for pet hatching thing i will do on own and get help and if required see particular that thing

fervent karma
ocean oasis
#

Just make things

rotund pawn
rain sparrow
#

yes so i will make my own things and get help if required make mistake solve it and move ahead rather than following a pre built game guide on youtube

correct approach?

rotund pawn
#

Yup

rain sparrow
#

tysm @fervent karma @rotund pawn @ocean oasis for the guidance ❤️ really appriciate it

fervent karma
rain sparrow
#

yea

balmy zenith
#

🫡

rotund pawn
#

I can recommend obby as starting game

ocean oasis
fervent karma
#

If your gonna do scripting you gotta stay motivated to do it

rain sparrow
#

yea i wont fr this is the first time someone actually gave advice else few them made fun 💀

TYSM 🥹 REALLY REALLY LOVE U GUYS SM

fervent karma
#

Cause it takes time to learn like anything else

rotund pawn
# ocean oasis Or a round based game

Those games require atleast some kind of remote event handling, that is why I always recommend obby. It is just touch and move functions and they can learn datastores on that template.

rain sparrow
#

u know i felt so demotivated like do top devs just see tutorial and stuff and take ages

but after ur advice ik like they just do on own and take help

#

and lean on the way

ocean oasis
#

Tho remotevents/functions arent really an advanced concepts

#

Theyre pretty straightforward too

rotund pawn
ocean oasis
#

Usually id encounter a roadblock and be met with an in built method that solves it thats how I found out about remote events and how to implement them

ocean oasis
#

What are some use cases?

fervent karma
rotund pawn
#

The primitive use case can be server script that generates random world and fires bindable event from server to server script that players can join.

ocean oasis
rotund pawn
#

Or when I have global leaderboard and I want to securely add input after player does action.

ocean oasis
#

So server to server handleing

rotund pawn
#

Yeah

#

That's why I love programming, so many ways to do stuff.

ocean oasis
#

I love finding my own way to do something and it functioning

rotund pawn
#

Its love-hate relationship depends on how much my programs are working

late dock
#

@rain sparrow can u dm pls

#

i cant dm for some reason

rain sparrow
warped cape
#

flow charts could help

warped cape
#

i love being able to create bombs to destroy innocent houses

#

in roblox

rich moat
rotund pawn
#

Agree

warped cape
#

anyone's rojo working slowly?

#

it's sync is very bad

#

oh i haven't updated it

#

okay i updated it and it's even worse

#

now it's not syncing

rain sparrow
warped cape
#

it'll save you painful debugging

rain sparrow
#

ok but like how to create a basic flow chart for like pet hatching egg

real bluff
#

can somebody help me with chassis for cars and bikes

real bluff
balmy zenith
rain sparrow
#

get reward -> press E to hatch -> go to hatch -> get reward -> Opens Pet GUI -> Press E to hatch -> Get scammed

#

(this is just for fun porposes)

#

ig that flow is way better?

azure jay
rotund pawn
#

I have never ever made a flow chart in my 10 years of programming lol

#

That will be expensive asf, to make whole game xd

bronze path
#

You have to use the marketplace to hire people

cunning harness
tall sedge
#

hey! I need help with trying to achieve this effect again, but with the use of UiListLayout. I already tried to get their AbsolutePositions, but that was buggy (the indicator frame would appear above one frame, but for the rest would just disappear).

fluid thunder
#

Guys what scripting tutorial is best is it deadass brawldev bc he explains well but i gotta watch like 18 in basic scripting and in advanced 38 vids and theyre like 30 fucking minutes each thats 48hrs togheter in both playlists any other youtubers or do i just watch brawldev

wild vector
#

who do yall think is a goated scripter but is underrated and doesnt get the recognition he deserves

obtuse harbor
#

ts is literally on the second place when you search 'ragdoll death'

plain copper
#

how do I shift to using module scripts almost always like all advanced coders at this point?

fluid thunder
#

Guys can someone explain raycasting

fluid thunder
frigid thorn
#

its just an imaginary line or idk how else to explain

fluid thunder
#

ima watch a tut

frigid thorn
iron kraken
fluid thunder
#

what youtuber u recommend @frigid thorn

fluid thunder
iron kraken
#

use raycast.params and workspace:raycast

#

what is this bot

fluid thunder
#

got hacked

wild vector
nocturne spire
#

Yo can someone give me an idea on what I should script. I am a beginner

glass island
#

Why is it so harrd to find a good scripter that takes percentage which is worth 2k-6k a day. So they get 2k-6k a day....

nocturne spire
glass island
nocturne spire
#

I will dm you with results

glass island
#

Ok

wild veldt
bronze path
#

maybe they js don't wanna earn $15 usd

wild veldt
distant hamlet
#

it aint bad if it isnt full time

fluid thunder
#

.-.

frail plaza
#

should i make my velocity system client or server sided?

fallow gulch
#

server

frail plaza
#

i made it client sided

#

for player experience

#

well not fully client sided

#

only some calculations are

glass island
glass island
bitter ember
bitter ember
glass island
#

Not the roblox template

bitter ember
#

of i make how much u pay me

viral kestrel
#

any ideas on how to make a variable count down from a certain amount of time? for example 1h,12h,24h,48h, etc

#

i wanna get to making a playtime rewards system

median tree
#

99-1

supple spindle
hot copper
#

Which one do you guys recommend

supple spindle
hot copper
#

ive found it on a sleitnick video and just wanted to know what yall think about this

supple spindle
#

idk roblox does it with the first method and i think they know their engine the best

hasty mesa
#

methods

hot copper
#

i can literally show u rn

hasty mesa
#

to access methods you need to do
Class.method(Object)

#

you would still have to readded the methods

#

if you do object:Method()

hot copper
#

Second screenshot not correct my bad

#

Second screnshot would just be a normal function passing itself as an argument

#

not a method

#

so:

#

yea my bad i took the second screenshot wrong

#

Thats the no metatables method

hasty mesa
#

you can use it if you want

#

when replcation having to reconstruct it is normal

hot copper
#

tbh i think id rather use a fucking metatable than doing allat

#

ig i'll just use whatever uses the least memory or sum idk

#

i'll have to test

hasty mesa
#

memory doesn't matter that much

hot copper
hasty mesa
hot copper
hasty mesa
#

yeah

glass island
hot copper
#

what are the benefits

hasty mesa
hot copper
#

so its just for the workflow right

#

if u like more vsc than roblox studio then u should use rojo but there is really no technical difference right

hasty mesa
#

yeha

slender pewter
#

why is this code not working local function doodoo(n1, n2)
local result == n1 / n2

if result > 2 then
    print("the result is less than bigger than 2!")
elseif result < 2 then
    print("result is bigger than 2")
end

end

doodoo(1, 2)

copper cape
#

guys what do u think how important is datastructures and algorithms for roblox dev , not other languages just luau

hot copper
#

local result = n1/n2

#

== is for if statements

quaint crane
#

guys u like my thumbnail

elfin fossil
#

anyone else having this issue?

#

Why are corescripts having this issue

quaint crane
#

code aint right prob

elfin fossil
#

yea but I cant do anything about it

quaint crane
#

use...AIIII

elfin fossil
#

bro

#

its roblox corescripts

quaint crane
#

lol

elfin fossil
#

you cant access them

#

💀

quaint crane
#

oh sh mb im a builder

tawdry ice
elfin fossil
#

no

tawdry ice
#

just insert a custom one if its that

#

oh

elfin fossil
#

corescripts are not accessible by anyone

tawdry ice
elfin fossil
#

they're like built in scripts that are hidden

quaint crane
#

make them unhiddencryingdead

elfin fossil
#

bro

#

💀

elfin pendant
#

what unit of measurements is used in the length of a ray?

high crater
#

eyo how do you learn scripting? im having trouble rn i just watch tutorials but idk what im supposed to do like take notes or follow along

elfin fossil
#

is this something that could happen if the server freezes?

elfin pendant
misty cosmos
fallen wadi
#

if my hiring post gets approved yall should check it out

#

im desperate on some tuff shi

eternal solar
#

i feel so smart😼

shut geyser
#

Hey! So is it possible to add custom metamethods to metatables? I want to create a neural-network like library, and there needs to be a possibility to have multiple neural networks easily by just using multiple tables.

quaint crane
#

W or nah

wise topaz
rain sparrow
#

after learning lua how can someone have their code be written in such a way that it follows best practice? clean code, use of proper script under proper parents etc?

wise topaz
#

--this thing--

rain sparrow
# wise topaz idk try to use comments

thx but like u know imagine if i try to make a simulator game i make a file for like pet hatch and then do other things and try to bring them all together i feel wont it be a bit messy?

wise topaz
tough fable
rain sparrow
tough fable
#

What

vernal peak
tough fable
#

Why would They not

vernal peak
#

u right im trippin

tough fable
#

It’s just a function that gets called with input arguments

tough fable
fair copper
#

finally fixed the katana

#

kind of

delicate sand
#

skibidibattler100 is here guys

#

i want yall to glaze me

cunning harness
#

just incase anyone interested 🥀

#

ngl there are many scripters over there

teal blade
#

Hello can anyone give me a challenge to program, im really forcing myself to stay motivated

deft coral
#

not this stuff

#

genuine advice, lock in rq

#

if ur doing games programming, pick 5 games you love and make a venn diagram of qualities, either systems or artistic, that you like about them and see where the 5 games overlap

#

take the overlapping qualities and use that as ur prompt for ur new project

#

and make sure u make something that represents you and an idea you have right now and you feel like you have the capability and should make right now

#

p much the main way to ensure you will stayt motivated on something

#

cuz it represents you so thoroughly

#

if its some arbitrary algorithm then you wont stay motivated

teal blade
foggy burrow
#

@deft coral some goated ass advice gng

#

I like it

deft coral
deft coral
foggy burrow
deft coral
# foggy burrow I like it

i learned it from a mentor, it got me through my first short film and that won me a film festival at my university so i hold it close and give it out when i can

foggy burrow
#

Ah yeah I see I see

#

You still do film?

#

Or just programming

deft coral
#

i do both yeah, programming is self taught for me

#

i am a like

#

"little of this little of that" person, i do coding on my off days, my main work is with my social assistance company and im a manager at a dunkin donuts lol, rn im saving up for more film equipment so i can start my next project

foggy burrow
#

Aye that’s tufffff

#

I’m self taught too

deft coral
#

everything p much is part time its chill

#

oh nice

#

how did you start

foggy burrow
#

I used to do film but I’ve really just gotten all into programming

foggy burrow
#

Once I discovered how to program and make video games

deft coral
#

the most terrifying part dude

#

i learned quickly honestly i dont reallyt care to be a director, i love being in charge but the responsibility (and learning i have adhd) made it very daunting

foggy burrow
#

I was able to create anything I wanted and not have to rely on others to make it happen for me

deft coral
foggy burrow
#

Real video games imo are just the best creative outlet it takes so much like art, game design, programming, sound design, filming etc

#

Animations

deft coral
#

I think it fits me moreso because I like to have control what my audience perceives

#

At least like in things I care about most

#

like I love making games cuz theyre just fun and I feel like I have a good intuition for whats fun, but my more /srs things I wanna do as an artist I reserve for film

#

because I need to be particular about it

#

games leaves just a little too much freedom for the audience to get distracted or just outright not engage with the theme

#

not that i wanna be controlling and make propaganda, just i want the audience to not be distracted, I wanna direct them to specific spaces in a certain amount of time

foggy burrow
#

Nah I gotchu

#

Yeah they are both really good

#

And fun

lyric lynx
#

yo can anyone give me tips to make my first 100M

#

deadass being serious rn

vernal peak
#

Fuck typa question is that gng

lyric lynx
#

bro

#

im stuck on 11M for the past month

#

pls help

#

took bro 40 seconds to type tha

#

and he dleted it

#

deleted*

vernal peak
#

No bruh I was thinking if I should post or not

lyric lynx
#

nah im being serious

#

im stuck at 11M robux

#

i need 100M

#

for the flex

vernal peak
#

Life really crazy

winter gust
#

Hi, so I'm having issues with data saving in my game. The datastore has been generally reliable but we've had issues with players losing almost all of their data. We currently use SetAsync() for updating data, and I was thinking of converting it to UpdateAsync() and then having an additional check for if player level is lower than it is normally because player level has dropped every time data loss has occurred. Is this a sound implementation of the UpdateAsync() function to replace SetAsync()?

local function SavePlayerData(UserId)
    if not DataTable[UserId] then return end
    local CurrentTime = os.clock()
    local tries = 0    
    local success, errorMessage = pcall(function()
        DataStore:UpdateAsync(UserId, function(OldData)
            local savedData
            if OldData.Level >= DataTable[UserId]["Level"] then
                savedData = OldData
            else
                savedData = DataTable[UserId]
            end
            return savedData
        end)
    end)
end
harsh isle
#

hey, does anyone know how i could use one localscript in StarterPlayerScripts to change the Idle and Walk of the player?

vernal peak
#

Fuck is pos

summer phoenix
#

i alr got it solved its good

feral topaz
#

Hey guys. I'm working with multiples youtubers with +100.000 views per video each one. I'm looking for somebody experienced and with contacts in the roblox development side to make a project happening. I can explain further more in private and share every detail there.

nocturne spire
#

Hey guys, can you give me ideas on what I should make I am a beginner and I just learned remote functions.

vernal peak
#

go back to the lab twin

vernal peak
nocturne spire
vernal peak
#

gng do it rn

#

it will take like 5 min

nocturne spire
#

I am going to sleep

#

And I closed my laptop

#

😴

harsh isle
#

does anybody know how to properly weld a part to the right arm on a player? i can send my script and a screenshot. It won't weld on the proper place

late sparrow
#

If u need help scripting dm me

fervent aspen
#

guys i got a question

#

generally how much do you think a fully custom combat system would cost

somber vault
#

30k+ robux

fervent aspen
#

estimate

somber vault
fervent aspen
#

somethings not adding up

somber vault
#

its around 300-450 USD

#

surely

outer sapphire
#

Fortune so vast

#

But it’s not adding up fr

outer sapphire
fervent aspen
#

and I dont want it resold

outer sapphire
outer sapphire
fervent aspen
fervent aspen
fervent belfryBOT
#
Tag » apps

How to Apply

If you want to apply for a role in our community, the applications can be found here! It is highly recommended to check out our Application Rules to learn the requirements for these skill roles!

Pending Time

An application for a skill role may take up to 0-48 hours to be read. If pending beyond that time, please create a ticket using /ticket and then selecting the "Application" category in #cmds

Application Tickets

To ensure your ticket is being dealt with maximum efficiency, please link your application in the media section of the ticket. As well as specify which role you are after. Also, if you have any doubts or concerns related to applications, then you may create a ticket.

Application Tickets take 2-3 days and up to 1 week to be resolved.

Still don't know how? Watch this video to find out how!

iron vigil
#

looking for another scripter to work on something

iron kraken
strong pilot
#

anyone know why my grab ability, when i grab another player i spaz out a bit?

#

I disbled can collide etc but for some reason when I weld it sticks me in the ground for a sec

#

But on dummies it doesn’t happen

misty tree
#

so chat

#

how hard is it to code

iron kraken
#

depends on what ur coding

tall sedge
tall sedge
misty tree
tall sedge
misty tree
#

ima recreae hero of tsushima 1:1

topaz crypt
#

How do yall do your cutscenes, this moon animator module method aint cutting it

tacit marten
#

wsg guys