#code-discussion

1 messages Β· Page 106 of 1

pine torrent
#

After receiving a metal plates as a gift on my back

#

Two weeks ago

#

Tmrw surgeries start

gritty nexus
#

metal plates?

last flint
#

Depends on how you want the system to work

pine torrent
#

One fell on me with sharp corner on my shoulder ripping apart little skin

#

And another fell flat on me

pine torrent
#

Wasn't satisfied with it

#

At least I'm free from job

#

And get salary

gritty nexus
#

😎

#

vacation in hospital

pine torrent
#

I'm so glad Ukraine got free healthcare

#

Unlike America

gritty nexus
#

im scared of america

pine torrent
#

I think I'd live with metal plates on my back

#

If i was in America

gritty nexus
pine torrent
#

My development manager told me he got 1.5k$ bill for calling ambulance

pine torrent
pine torrent
#

Didn't close one holder

gritty nexus
#

oh what

pine torrent
#

No insurance

#

So he got bill

pine torrent
#

If i walked away

gritty nexus
#

what did it do to ur back

pine torrent
#

But i was welding another plates on floor

pine torrent
gritty nexus
#

i cant imagine metal paltes doing too bad harm unless they were thicc and heavy

pine torrent
#

Like seconds after falling on me

#

Otherwise I'd turn into yogurt

gritty nexus
#

what kind of plates were they

pine torrent
#

Welded on eachother

bright bough
#

anybody want to script for my dev team lon gterm? DM me if yeah

pine torrent
#

One weighting around 25kg

gritty nexus
#

OH WOW

pine torrent
#

They were mainly in width so it wasn't that hard

#

To endure

pine torrent
gritty nexus
#

yeah

pine torrent
#

U can carry ur body weight

gritty nexus
#

I imagine 5mm plates when I hear "metal palte"

pine torrent
gritty nexus
#

plate*

pine torrent
#

Yea usually they're 5-8 mm

#

But these were for tight rollers

#

So they were thicker

#

Like 40mm

#

Or maybe bigger

#

But i remember it's not that thick

gritty nexus
#

I never had bad inguries yet

#

never had a broken bone lol

pine torrent
#

By falling from bicycle

#

Couldn't eat or drink for 2 weeks

#

Now my jaw makes funny sounds

snow stone
#

Anyone bro, how to do image gifs like for UI, when u start the game a animated logo comes up

pine torrent
#

@gritty nexus anyways Ur commission would cost around 2.5k r$

#

If made properly and fairly

#

Raw price, no "fame" pricing

snow stone
pine torrent
snow stone
#

like ur not that guy

pine torrent
#

Autism?

snow stone
#

Ragebait praysob

gritty nexus
snow stone
pine torrent
pine torrent
gritty nexus
pine torrent
#

And get angered by any a little bit explanatory answer

pine torrent
#

But you can fix it if you got nothing to do in life

gritty nexus
#

no wonder when he got a anime pfp

exotic basin
#

Code discussion

gritty nexus
#

lol

elfin timber
#

im making a grow a garden remake for practice. how do i make it so that my visual thingy doesnt go over the soil visually? i can give the script if needed

pine torrent
#

It's like "above all"

elfin timber
#

holon how do i like

#

send scripts

pine torrent
#

Use it like this

weak radish
elfin timber
# pine torrent Use it like this ``` ``` ``` ```
local Player = game.Players.LocalPlayer
local RS = game:GetService("ReplicatedStorage")

local PlantPlace = RS.PlantPlace
local Tool = script.Parent

Player:GetMouse().Button1Down:Connect(function()
    if Player:GetMouse().Target.Name ~= "Soil" then 
        return end
    if Tool.Parent ~= Player.Character then 
        return end
    
    --RS.Events.PlantEvent:FireServer(Player:GetMouse().Hit.Position, Tool.Name)
end)


while true do
    repeat task.wait() 
    until Tool.Parent == Player.Character
    
    PlantPlacePart = PlantPlace:Clone()
    PlantPlacePart.Parent = game.Workspace.Client
    
    repeat 
        local PlayerMouse = Player:GetMouse()
        if PlayerMouse.Target == nil then
            if PlantPlacePart ~= nil then
                PlantPlacePart:Destroy()
            end
        end
        
        if PlantPlacePart.Parent ~= game.Workspace.Client then
            PlantPlacePart = PlantPlace:Clone()
            PlantPlacePart.Parent = game.Workspace.Client 
        end
        
        if PlayerMouse.Target and PlayerMouse.Target.Name == "Soil" and PlayerMouse.TargetSurface == Enum.NormalId.Top then
            PlantPlacePart.Position = PlayerMouse.Hit.Position
        else 
            PlantPlacePart:Destroy()
        end
        
    task.wait()
    until Tool.Parent ~= Player.Character
    PlantPlacePart:Destroy()
end


weak radish
elfin timber
#

now my question is if i can somehow make the preview stick to soil

weak radish
#

oh wait

#

you already check if their aiming at soil

#

just dont move the preview if they arent aiming at soil?

elfin timber
#

but its still sticking out

#

when you aim at the edge

#

or i could just

#

not care

paper imp
weak radish
#

There is a way to stop that but it's not worth it

elfin timber
lean pier
#

any discord ppl up to make me a server with bots in exchange for 3d models?

errant rose
#

If I wanted to stop a CFrame from bouncing, how would I do that?

gusty fog
#

bouncing?

errant rose
#

So, basically I'm trying to offset the humanoid root part off the ground cuz it keeps falling in when I disable the humanoid. And I'm using CFrames to keep it up

#

But the thing is it keeps autocorrecting itself

gusty fog
#

You need to set the CFrame on .PreSimulation

#

(on the client)

errant rose
#

The thing is, I want this to work on the server side...as I don't really trust the client too much with that much code

gusty fog
#

Humanoids already trust the client to that extent

knotty pawn
#

Whats good average time on game to get on home recommendations?

gusty fog
#

the client handles most physics and position updates for the character

errant rose
#

How would I keep it protected then? If an exploiter decides to break into my game? Would I need to make an anti cheat of some sort?

gusty fog
#

You can, but it's not worth unless it's critical to your game

#

Exploiters are an unsignificant minority

errant rose
#

That gives me a bit of relief then.

#

I'll try it out and see

zenith cloak
regal dagger
#

can anyone tell my why im not getting any replies from people or any commissions

#

😭

#

πŸ™

zenith cloak
regal dagger
#

how do u get a portfoolio

gusty fog
regal dagger
#

can you tell me how

#

ill give an ex of how i approach them

elfin timber
zenith cloak
zenith cloak
regal dagger
#

"Hello. I would like to do this commission for you. I have over 1.5 years of experience. I could easily finish this around (..) or (..). If you don't have any others, please respond to me."

#

Is this good or no

zenith cloak
regal dagger
#

uhhhh

#

this is my first time doing commisssions

#

so i cant do videos of previous systems

#

but ill do the removing that and portfolio part

#

thanks for your help

zenith cloak
#

np

zenith cloak
regal dagger
#

ok

lofty bramble
#

can anyone help me rlq i have a code cause when i got an code where when you jump on an glass it destroys itself its like 50/50 its an squid game game and but it respawns right of it and not where its supposed to can anyone hlpe

open sparrow
#

like

#
self.SuspensionStiffness
paper imp
oblique anvil
#

guys

zenith cloak
ruby cipher
#

gng what?

ruby cipher
oblique anvil
#

guys for this why doesn;t the ball bouncing animation work? it doesnt bounce but instead moves with the right hand, which I animated to move up and down to replicate the bouncing

#
local conn
conn = tool.Touched:Connect(function(hit)
    print("Picked up by",tool.Parent)
    local weld = Instance.new("Motor6D")
    local toucher = game.Players:GetPlayerFromCharacter(hit.Parent)
    if toucher then
        tool.Position = hit.Parent.RightHand.Position
        weld.Name = "Joint"
        weld.Part0 = hit.Parent.RightHand
        weld.Part1 = tool
        weld.Parent = hit.Parent.RightHand
        tool.Parent = hit.Parent

code for picking up ball

ruby cipher
oblique anvil
#

guys im new what does that mean

ruby cipher
#

ur new

#

so u used chatgpt for this

#

?

#

do something easier than code physics bro

oblique anvil
#

fair

ruby cipher
#

didnt meant to be targeted to you

broken mica
#

how do you use bridgenet2 to fire data from client to server and vice versa? (My server just recieving nil ;-;)

ruby cipher
#

thats fye tho

oblique anvil
#

whats janitor module

ruby cipher
#

i use trove personally

oblique anvil
#

trove

#

whats that!!

ruby cipher
#

google

oblique anvil
#

ok

#

@ruby cipher can u answe rmy main question tho

lost pebble
ruby cipher
#

plus its a lot more organized

oblique anvil
#

so do i use trove, janitor or destory

lost pebble
#

eahc to their own though ig

ruby cipher
#

what if i just wanna disconnect without destroying the instance

lost pebble
oblique anvil
#

Um

#

so trove

ruby cipher
#

ye

#

thats why im saying its organized and useful

gusty fog
oblique anvil
#

Ok trove it is

ruby cipher
#

ye its js preference

gusty fog
#

there's also maid, which I use

ruby cipher
#

i like trove and a lot of other game devs i know do

ruby cipher
oblique anvil
#

Where do I get trove

ruby cipher
#

search: "Roblox Trove"

gusty fog
#

google Roblox trove, lol

#

it'll be on github

oblique anvil
#

@gusty fog @ruby cipher I can;t find the code anywehre

oblique anvil
#

Clicked that and the code was nowhere to be found

knotty pawn
#

Bro another banger game

#

These new games getting soo good

stiff ibex
#

hiiiiiiiiiiiii

patent hamlet
#

Any of yall know how to setup smart bones collisions?

gusty fog
knotty pawn
#

Average playing

#

I think it made it good

night drift
#

its a good sign that im starting to be able to read scripts right? i cant make my own scripts tough.

#

i can under stand most of it now

glass pumice
patent hamlet
#

Ye

#

My arms are going through the cloakj

true birch
exotic minnow
#

Made a remotes wrapper

sleek obsidian
#

Why

exotic minnow
#

But essentially optimization, being centralized and ease of use

#

I dont wanna have 10+ remotes for everything I make and deal with waiting for it to create, etc

#

This approach allows for literally just essentially listening for traffic while abstracting that into simple .New() and OnClientEvent ahh πŸ₯€

#

I kinda wanna get programmer role on here at some point but I mainly work on internal stuff and I don't really know why would I make game for that I feel like they should change the rules on applying for programmers role

static forum
#

Anyone know how I would make the player fall down slowly like zero gravity kinda but if I use gravity it’s only for everything aka the world I want it to be just the player

static forum
#

Wdym

exotic minnow
#

bodyvelocity which pushes upwards like partially the amount of gravity

static forum
exotic minnow
#

Instances for setting physics stuff

exotic minnow
#

Actually @static forum mb you need bodyForce

static forum
#

Can u give me an example

exotic minnow
#

Nah its on youtube

#

But what you need to do is calculate the total mass of the character and then do calculation for gravity its all on youtube

static forum
#

Someone said do this hrp.AssemblyVelocity.Y = Hrp:GetMass() * whatever gravity is

exotic minnow
#

Hrp:GetMass() would only get mass of rootpart

#

nothing else

#

meaning it wouldnt be properly getting mass of your character

static forum
#

Oh

exotic minnow
#

so it would be different for different characters

#

But yes you need to apply Y velocity to rootpart

static forum
#

So how do I do it

#

Best way

exotic minnow
#

And honestly for getting rootpart I recomend doing

characterModel.PrimaryPart

static forum
#

I want it like haikyuu legends

exotic minnow
#

You just need to have for i,v in pairs loop

#

essentialy get all instances which are parts in character

#

then do :GetMass()

static forum
#

Ok

exotic minnow
#

and count it all up into one number

static forum
#

One sec

#

BRB

#

@exotic minnow

#

Would this work

exotic minnow
#

Yeah essentialy what you want

static forum
#
local character = script.Parent
local hrp = character:WaitForChild("HumanoidRootPart")

local totalMass = 0
for _, part in pairs(character:GetDescendants()) do
    if part:IsA("BasePart") then
        totalMass += part:GetMass()
    end
end

local gravity = 196.2
local gravityMultiplier = 0.5
local upwardForce = totalMass * gravity * (1 - gravityMultiplier)

local attachment = hrp:FindFirstChild("LowGravAttachment") or Instance.new("Attachment")
attachment.Name = "LowGravAttachment"
attachment.Parent = hrp

local vectorForce = hrp:FindFirstChild("LowGravForce") or Instance.new("VectorForce")
vectorForce.Name = "LowGravForce"
vectorForce.Attachment0 = attachment
vectorForce.Force = Vector3.new(0, upwardForce, 0)
vectorForce.RelativeTo = Enum.ActuatorRelativeTo.World
vectorForce.ApplyAtCenterOfMass = true
vectorForce.Parent = hrp
#

So this would work

exotic minnow
#

It should work

static forum
#

Are u in studio rn

#

It’s late for me can I test it for me plz

#

😭

exotic minnow
#

Nope

sturdy briar
#

i have issue with my system to get list of top best pets in eq no idea why it works weridly everytime the output is other


        for _,v in allpets do
            for i = 1, MaxEquipAmout do
                if not toequip[i] then
                    toequip[i] = v
                    print(tostring(i) .. " is empty soo we puting here " .. v.pet.Name)
                    break
                else
                    if v.stat > toequip[i].stat then        
                        for move = MaxEquipAmout-1, i, -1 do
                            if toequip[move] then
                                print("Moving " .. tostring(move) .. " with pet " .. toequip[move].pet.Name .. " to " .. tostring(move + 1))
                                toequip[move] = toequip[move+1]
                            end
                        end
                        print("Setting " .. v.pet.Name .. " on top on index " .. tostring(i))
                        toequip[i] = v
                        break
                    end
                end
            end
        end
plush barn
#

After almost a week of coding I’m feeling a little discouraged because I forgot everything I learned well most things and worked really hard, if anyone coder has a piece of advice they could give me please send them, thanks πŸ‘

solemn roost
#
function StateRegistry:DoesPlayerHaveStateInGroup(plr: Player,group: string,exclude: string)
    local groupExists = false
    for _,gr in ipairs(StateRegistry.StateGroups) do
        if gr == group then
            groupExists = true
            break
        end
    end
    if not groupExists then return false end
    for state,value in pairs(StateRegistry:GetStates(plr)) do
        if value and StateRegistry.StateBlueprint[state][group] then
            --print(state,exclude)
            if state ~= exclude then
                warn("RETURN MEEEEEEEE")
                return true
            end
        end
    end
    return false
end

^^^ THIS returns true (as it should)

local result = StateRegistry:DoesPlayerHaveStateInGroup(plr,group,exclude)
    print(result)

but ^^^ THIS prints false (as it shouldnt)
wtf is happening here? is it some race condition?

#

i checked with breakpoints too just to make sure

#

i genuinely cant see how it could be one given that the warn message prints and RIGHT AFTER result is apparently false
nvm im rewriting this, i was on a strange line of thinking when i wrote it and will use a state machine instead

small solar
#

is there any plugin that automatically turns != into ~= cuz i dont have a tilde on my keyboard and its kinda annoying

small solar
true birch
#

What model is you keyboard

small solar
#

i have an italian qwerty keyboard and the tilde is nowhere

true birch
small solar
#

no clue i got it for my birthday, it's called omoton

#

the brand

#

it's a 80%

true birch
small solar
#

nope

#

this is the model

#

the fingers are only covering t he page up button and the arrows

true birch
#

You wanted ~

fickle oasis
small solar
small solar
true birch
small solar
fickle oasis
#

something u dontn need

small solar
#

oh yeah thats true

true birch
small solar
true birch
#

Wth

#

It's literally the default place for it I think

small solar
#

eh maybe in other keyboards

true birch
#

Nah every keyboard

true birch
small solar
#

ima just bind it to the pound symbol

true birch
#

Okay that might help

small solar
#

oh yes

#

~ much better

#

okay now for some unknown reason my equals isnt working

#

alright thanks for the help ima solve this alone

#

cya

true birch
#

Lmao

#

Goodluck

solemn roost
#

im sorry

scarlet dune
#

Question, are all the front page games programmed in a modular approach now?

pure shale
#

are there any flaws in this script

solemn roost
#

the fact i even had an issue like that happening

#

shows the code probably wasnt gonna cut it anyway

#

i wanted to know regardless what was happening exactly though

#

bc it was really weird

patent sinew
#

hey i was wondering if anyone could help me out with the kill all button im making because it doesnt seem to work and i dont know whats wrong with it

patent sinew
#

ok

tawdry trout
#

whats the best way to learn how to script? Im tryna make a game but idk how to code and i wanna get to a point where i can code anything

patent sinew
#

dont mind the toolbox lol, tried looking for images but just used a text button

jagged osprey
#

I wanna implement my movement animations into the game does anyone know what code id have to use

stray burrow
#

guys

#

my game won’t publish and some person told me to wait a bit

#

but I waited for 4 hours

#

still private for some reason

sturdy sage
#

πŸ˜”

patent sinew
sturdy sage
#

NO end the

#

end the funciton

patent sinew
#

what

#

ur telling me i didnt notice that

sturdy sage
#

yeah

patent sinew
#

how do i end it

sturdy sage
#

did you not put an end or is that just a very early screenshot

patent sinew
#

just add a )

sturdy sage
#

no just end your function

patent sinew
#

where

patent sinew
#

no like actually im so confused

sturdy sage
#

wait it is ended

patent sinew
#

mark up where so i can end it 😭

#

IDK

sturdy sage
#

why is it fucking

patent sinew
#

thats a function

sturdy sage
#

i though tit wasnt ended cause its ass is floating

patent sinew
#

lol

sturdy sage
#

alr ill rereads it

#

hold on

patent sinew
#

oaky

sturdy sage
#

no error?

#

How many studs can you jump?

patent sinew
#

yeah

final harness
#

nasa kids

sturdy sage
#

you're not checking if the player bought the gamepass

#

you're just making a function

patent sinew
#

ohhh okay

sturdy sage
#

you could go on the client and do somethign like

MarketplaceService.PromptGamePassPurchaseFinished:Connect(function(Player, passId, wasPurchased)

patent sinew
#

okay thank you

sturdy sage
#

and if they bought it, it fires a remote event

#

where the server receives it and does all the killing

#

html and css is so weird

#

its like a programming language that isnt

#

its like an editor but it just uses text

#

theres nothing much i have to study here, i could probably just have html css tags in like a seperate tab

silver verge
sturdy sage
#

where i refer to it everytime i forget something

#

why not

silver verge
#

why would you trust the client w that

sturdy sage
#

wtf can you replicate

#

prompt purchases

#

with an injector

#

is that a thing

silver verge
#

yo you js said fire a remote

sturdy sage
#

oh shit yeah LOL

silver verge
#

also yes because waspurchased isnt safe

patent sinew
#

guys im confused

#

it still doesnt work

sturdy sage
#

hold on let me just get my old gp prompt i know its better

silver verge
sturdy sage
#

i dont have marketplace servicxe saved in my head

silver verge
#

is it a gamepass or a product

patent sinew
#

developer product

silver verge
#

ok use processreceipt

patent sinew
#

wait hold on

#

yeah

silver verge
#

look at the docs on how to use it

patent sinew
#

where do i place processreceipt

#

i think i alr have that

silver verge
#

server script

patent sinew
#

i do have it alr

silver verge
#

ok

#

now look at the docs on how its used

sturdy sage
#

MarketplaceService.ProcessReceipt = function(receiptInfo)

patent sinew
#

i just need it to where the buy product prompt shows up

silver verge
silver verge
patent sinew
#

can i vc in server and share screen

sturdy sage
#

its where he should look bro 😭

silver verge
patent sinew
#

join general 20

silver verge
#

no

patent sinew
#

😭

silver verge
patent sinew
#

ok

silver verge
#

can do it from the server too

#

doesn't matter

patent sinew
#

alr have it

sturdy sage
#

do it on the server dont trust the client

silver verge
sturdy sage
#

no do the kill stuff on the server

silver verge
sturdy sage
#

i know it doesnt matter where you prompt it on 😭

silver verge
#

yo

#

like

#

youre adding conflicting info here gng

sturdy sage
#

anyone with common sense could figure ts out

silver verge
#

saying "do it on the server" after i say prompt it from the client or server

sturdy sage
#

acc yeah nvm what i said was pretty conflicting

silver verge
#

is only confusing him more

sturdy sage
#

my fault bro

#

bad timing

silver verge
#

😭

sturdy sage
#

LOL

silver verge
#

all g

patent sinew
#

got it to where it pops up, made a new script

#

gonna do a new server script

#

dont bro, ts sucks

eternal apex
#

lmao

silver verge
#

docs

eternal apex
silver verge
#

go to the new to scripting one

eternal apex
silver verge
#

you'd need to define learn

#

youre always learning new things

eternal apex
#

well

silver verge
#

just keep making projects

eternal apex
#

when were you able to just like go in and work on a successful project confidently

silver verge
#

i mean i always felt confident in the moment but looking back on projects, the codebase is ass

eternal apex
silver verge
sturdy sage
#

dunning krueger is real

#

1 year ago i thought i was the shit

#

now rereading my code 1 year ago i was shit

#

now i am the shit

silver verge
#

give it another month

sturdy sage
#

i wish i stuck to lower level programming languages

#

my first real language was C and C#

#

then i got bored of it and made roblox games

#

i could've been a cool low level language nerd

#

IDE's for low level languages are terrible though

midnight sedge
#

anyone here experience with memory datastore & messagingService

glacial juniper
#

any1 know a scripter who can do stuff quickly

ionic solstice
#

i am

#

but not a quick one

#

i specialize in minigames, PVP9sword-fighting), skills, modular obbies

summer scarab
modern saffron
#

anyone here have the blue shirt salsa russian guy meme dance aka assumptions?

#

as animation ofc

true birch
ashen pebble
#

yall know any ROBLOX servers w unserious mods/admins but highly populated?

#

thx brah

proper edge
#

arcane lineage

#

real

ashen pebble
#

thx brah

oblique epoch
#

guys

#

is 1.5k robux good for day 1

#

on a game that has no ads

ionic solstice
#

anyone wants a system scripted

#

check my about me

oblique epoch
#

yh

proper edge
oblique epoch
#

yh

amber vine
#

aye how much do you guys think it will cost to hire a scripter for a game like 99 nights in the forest?

uneven lion
#

Would yall say roblox docs is the best way to learn new stuff/understand new things

#

Or more yt tutorials

pure flame
near ocean
pure flame
#

ye its in starterpack

near ocean
#

Try humanoid:EquipTool()

pure flame
#

isnt that what the inventory does

#

the roblox inventory

near ocean
#

Is the issue that it is being equipped in the beginning when you JOIN the game?

pure flame
#

the issue is when you equip it the tool doesnt go into the characters hands instantly

#

theres a delay

near ocean
#

Show script in dms

pure flame
#

its literally just this

#

unless u wanna see where the animation is played

near ocean
#

Show too

pure flame
near ocean
#

Only thing I can think of is maybe there's just a delay when the animations are being loaded. Where do you load the animations?

pure flame
near ocean
#

Okay is that the same class?

pure flame
#

the other class inherits this

placid lark
near ocean
# pure flame the other class inherits this

Are you using Serenade: Startholding() as part of init when you want it holding the weapon in the beginning of the game? If there's a delay when you JOIN the game and no immediate holding, it's probably just the client fetching the animations

cursive wadi
#

who can script

pure flame
#

the delay happens no matter what

near ocean
#

Where is the code being executed

pure flame
#

on the client

#

trystartholding()

cursive wadi
#

wanna be hire?

pure flame
#

i think i found the best solution i can get

#

if i make the tool invisible for 0.1 seconds

#

its not noticable

#

and theres gonna be a cooldown on equipping tools anything

near ocean
# pure flame

You are requiring a module at the beginning everytime you execute? Maybe prerequire outside of the function and the refer to via table?

pure flame
#

no

#

that function is ran once per mower

#

per tool

near ocean
# pure flame

Only thing I can think of is if this function is being run for every single tool in the game as part of init at a loop it might delay

#

Maybe run asynchronous and clean up threads afterwards

pure flame
#

the issue might just be the c0 and c1 on the motor

#

i think i need to set it to the hand

#

so instead of waiting for the animation it just goes directly to the hand

#

but that would require me to remake the animations

#

im gonna go to sleep ill figure it out tomorrow thanks for the help

warm carbon
#

Would anyone know how to make an anti cheat?

#

and or prevent exploits from going off in the experience?

fleet marlin
#

who can scripty and wanna be hiure

errant rose
# gusty fog the client handles most physics and position updates for the character

Coming back to this, I tried it out. It kinda works but it's still correcting itself somewhat. Here is my code if you want to look at this. and a vid showing it. (Yes ik this is code discussion but i asked here to respond back) https://streamable.com/p89d5q

Watch "Custom Movement System - Roblox Studio 2025-06-21 01-25-48" on Streamable.

β–Ά Play video
errant rose
# warm carbon Would anyone know how to make an anti cheat?
raven marsh
#

am i cooking

somber vault
#

no

gray frost
worn flax
visual vector
#

am a new scripter looking for work to build a portfilio dm if you interested rates are 300 to 1000

gray frost
#

You don’t need to be hired to have a good portfolio

keen lynx
#

yo

raven marsh
errant rose
chilly imp
#

Does anyone know where i can find a smart rig ai module?

gray frost
chilly imp
#

Real funny

umbral carbon
#

Like it looks so similar

elfin timber
plain hawk
#

can someone help me with my grow a garden type system where when i leave i want my slime to save on the plot when i rejoin but cant get it working

cobalt rock
dawn meadow
#

looking for a scripter who can do guns/combat and UI functionality please dm me if interested

spring scarab
#

guys jus a question

#

how much time does it take to fully learn scripting

#

from a to b

#

i have been scripting for a year

#

and didnt learn much

hoary cedar
plain hawk
hoary cedar
#

It is dependant on many personal factors

spring scarab
#

ohhh

#

so it can take a lot

hoary cedar
#

Or no time at all

spring scarab
cobalt rock
# spring scarab ohhh

explore ways to learn. It's a subjective experience. Don't only do stuff in studio and don't only watch tutorials or read the devforum. Do both

hoary cedar
#

Luau is as much of a scripting language as the rest

#

It's not as if you're limited to Roblox resources

cobalt rock
spring scarab
#

im having issues understanding complicated scripts

hoary cedar
#

Like?

spring scarab
#

i can do the easy ones

spring scarab
hoary cedar
#

Is that it?

spring scarab
#

yea kinda

hoary cedar
#

Then focus on learning pathfinding

spring scarab
#

yea thats what im tryna do kinda

#

alr guys gtg see ya im tryna learn more rn

hoary cedar
#

"AI" is often associated with finite state machines (FSMs)

#

This is also where I could imagine someone getting confused

#

FSMs control the logic surrounding NPC behaviour

#

Study them

rotund thunder
#

Any scripters looking for a j*b

#

Make players cash save, right now whenever the player joins the game it multiplies the wins by 10,000 and makes that the cash of the player.

Fix wins leaderboard

Make helicopter cost 50,000$ instead of a gamepass

Make it so players can respawn because they cant right now

Add effects and sound for glass for fail and success (ill send a video of what i mean)

Fix morphs and make them proximityprompt morphs

green rapids
#

sup, for hitboxes should I myself create a module script from scratch or should I use a module already made like muchacho hitboxes

rotund thunder
worn flax
rotund thunder
worn flax
#

Lowkie dms

sudden estuary
steep light
#

I need someone to make me a system like the game β€œJoin any player!” has. Dm me if you might be able to do it!

cobalt rock
#

isn't it just a scam

stuck otter
#

Guys how do you make pathfinding not attempt to squeeze through holes that are too small and get stuck?

peak pewter
#

guys i have a question why do scripters hate doing guns and vehicles

hoary cedar
#

Vehicles require a lot of mathematics to be done properly

#

Firearms require just as much, plus greater state management

peak pewter
#

ah right that makes sense, its not as easy

sharp totem
#

when u use the # can you get also the size of a dictionnary?

peak pewter
#

thanks for explaining

glass depot
#

Hey guys, have anyone tried using ScaleTo and tween it successfully? I'm tweening a model but the scale is always off, it's always twice the size of its original size at Scale = 1

I've set the model streaming mode to Atomic

Here is the code

local function TweenModelSize(
    model: Model,
    startScale: number,
    endScale: number,
    tweenInfo: TweenInfo?,
    callback: ((stats: "Completed" | "Cancelled") -> ())?
): (() -> ())?
    if not model or not startScale or not endScale then
        warn("Invalid Model or startScale or endScale")
        if callback then
            callback("Cancelled")
        end
        return
    end

    local elapsed = 0
    local scale = startScale

    model:ScaleTo(startScale)
    local info = tweenInfo or TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In)

    local tweenConnection
    local function onStep(dt)
        elapsed = math.min(elapsed + dt, info.Time)
        local alpha = TweenService:GetValue(elapsed / info.Time, info.EasingStyle, info.EasingDirection)
        scale = math.abs(startScale + alpha * (endScale - startScale))

        model:ScaleTo(scale)
        if elapsed >= info.Time then
            warn("TweenModelSize: Tween completed", endScale)
            model:ScaleTo(endScale)
            tweenConnection:Disconnect()

            if callback then
                callback("Completed")
            end
        end
    end
    tweenConnection = RunService.Heartbeat:Connect(onStep)

    return function()
        if callback then
            callback("Cancelled")
        end
        tweenConnection:Disconnect()
    end
end
placid peak
#
-- Services --
local requiredXP = script.Parent:WaitForChild("requiredXP")
local player = game.Players

-- Folder --
player.PlayerAdded:Connect(function(plr)
    local tool = script.Parent
    local character = tool.Parent
    local leaderstatsFolder = plr:WaitForChild("leaderstats")
    local xpValue = leaderstatsFolder:WaitForChild("XP")

    local humanoid = character:WaitForChild("Humanoid")
    -- Library --
    tool.Equipped:Connect(function()
        if xpValue.Value >= requiredXP.Value then
            humanoid:UnequipTools()
        elseif xpValue.Value <= requiredXP.Value then
            print("works")
        end
    end)
end)```

why wont the humanoid:UnequipTools() thing work
hallow crag
#

add a print statement above the call to check if its even being called

placid peak
hallow crag
#

just check for errors next time

#

in output

placid peak
proper edge
#

there wouldnt be errors cause .playeradded wouldnt be called at all

short delta
#

anyone know how can i do a thing like when i collect for example a golden version in the backpack there is writtent "golden (name of the thing)" same for rainbow . here is the code that work on collecting stuff :

late sapphire
#

d

glacial condor
#

roblox's relatively new Input's are actually so good

#

i used to make them myself but now its natively supported

vestal condor
#

who can help me with my horror game queue cuz i dont think it works like this to tp me to the game

hollow wharf
#

Im trying to put a sword onto my back but im not sure what the correct weld point would be to make it match up w the animation any ideas?

silent niche
#

I’m currently working on a Blue Lock game and I need some help. I'm trying to create a unique ball kicking system inspired by Azure Latch. I've managed to put something together, but honestly, it’s not great.

If anyone understands how the kicking system in Azure Latch works and can explain how they made itβ€”or share tips on how to build something similarβ€”I’d really appreciate it. Thanks in advance!

midnight oar
#

hi

#

im lookinh for someone to script a vehicle system

gray frost
#

You gotta loop through the dictionary and increase a counter

weak radish
gray frost
hollow wharf
#

Well yeah but any time I try hiring my posts get canceled

wide sparrow
#

lmao

weak radish
gray frost
#

Scripter hireable is the wirst place to find a scripter

weak radish
#

uh oh

wide sparrow
gray frost
#

Get on Twitter instead

#

No big dev looks on here

weak radish
gray frost
#

I tried getting hired here

#

No one could afford me

#

Went on Twitter

#

Now I average 200k+ per commission

#

Lol

weak radish
#

Nice

#

I've done small commissions here

#

like sub 30$

narrow vault
weak radish
narrow vault
weak radish
narrow vault
#

are u literally getting advice from a guy who 100% is watching donald trump sigma edits

stuck ridge
narrow vault
distant snow
#

lf a begginer/intermiedent scripter

weak radish
distant snow
#

hey

weak radish
midnight oar
#

i mean

distant snow
midnight oar
#

dm me back

distant snow
#

and improve together

gray frost
proper edge
gray frost
gray frost
proper edge
#

might not be idk

gray frost
proper edge
#

you mind if i see ur portfolio?

#

lowk wana see ur projects

gray frost
#

I don’t have one rn tbh, I cleared it like 5 days ago 😭

proper edge
#

tuff

gray frost
somber vault
#
local proxy = script.Parent.Attachment.ProximityPrompt
local part = script.Parent
local tween = game.GetService("TweenService")


proxy.Triggered:Connect(function()
    part.Size = Vector3.new(4,1,4)
    
    local goal = {goal.Size = Vector3.new(x + 1,y + 1,z + 1)}
end)

Anyone know why this is not working / how to make it working?

weak radish
gray frost
gray frost
#

But they have discord

proper edge
#

gives me more hope in myself lmao

gray frost
proper edge
#

ive actually never made a portfolio

gray frost
#

Just make a discord server and put your stuff in

somber vault
proper edge
#

most of my works i consider not worthy for a portfolio

gray frost
#

Not an attachment

weak radish
somber vault
#

What does that attachment do?

gray frost
gray frost
weak radish
#

How many years of experience

gray frost
weak radish
gray frost
gray frost
uneven lion
#

game.Getservice ???

weak radish
uneven lion
#

Yeah its prob that

weak radish
#

*service

uneven lion
#

How did that not error right away for him

weak radish
proper edge
#

if not then thats huge

uneven lion
#

He put game.GetService

#

Unless that works lol

uneven lion
#

@somber vault change the game.Getservice to game:GetService(β€œTweenService”)

gray frost
weak radish
#

wait lua or luau?

proper edge
gray frost
somber vault
somber lodge
# somber vault
local proxy = script.Parent.Attachment.ProximityPrompt
local part = script.Parent
local TweenService = game:GetService("TweenService")

proxy.Triggered:Connect(function()
    TweenService:Create(part, TweenInfo.new(1), {Size = part.Size + Vector3.one}):Play()
end)
```rude mf
tidal bolt
#

you're already referring to the part in the first parameter

#

don't need to refer again

somber lodge
#

cause you adding 1 to every axis

tidal bolt
#

the docs are an amazing resource

worn pilot
#

to code stuff like this would u also need to know java script

gray frost
#

It’s just rich text

trim wind
#

What you guys think about ai taking over coding?

narrow vault
#

ai is shit at fixing code or doing advanced code

trim wind
uneven lion
trim wind
#

It can

uneven lion
#

No it cant because its an ai

narrow vault
uneven lion
#

And as code gets more advanced ai cant keep up efficiently

trim wind
#

Ai learnes from us and knows every code possible but just acts stupid sometimes and makes up this code what doesn’t work but it will take over coding cuz who did you guys learn from? Think about it

uneven lion
#

Go have ai do more advanced coding for bigger games and tell me how it does

#

If it has to be corrected occasionally on basic code imagine that

fresh cloud
#

i am trying to get the number of "elements" before and after a specified "element" inside a bitfield buffer., using only the element bitoffset.
The buffer have a 12 bits header and each element have the same size of 97 bits (12 bits header + 85 bits of data).

#

Someone here knows how to do it?

restive hill
#

how can i give multiple parts a function of one script like if parts are in a folder and i want all the parts in the folder to have one script

#

like i cant just copy paste script by script into the single parts wouldnt that lag the server?

sand flower
#

watch a tutorial

tall nimbus
proper edge
tall nimbus
proper edge
#

as in dont abandon it

tall nimbus
#

i think doing it with breaks increases the

#

productivity when u take it in hours spend

tall nimbus
proper edge
#

actually looks cool

sand flower
#

taking breaks every 20 or 30 mins gets me too distracted

tall nimbus
#

i easily get distracted

sand flower
tall nimbus
#

i get distracted even while working

#

am cooked

sand flower
#

real

sand flower
tall nimbus
#

last year sept or nov

sand flower
#

oh nice

#

how'd you stay motivated

tall nimbus
proper edge
#

ive been on studio for like 9 hours now

tall nimbus
#

commissions made me money but

proper edge
#

and i havent been stuck on anything

#

im so productive today

tall nimbus
#

idk i started learning blender for making games

#

but then i got too much into blender

#

that i didnt make any games

tall nimbus
#

idk how to explain it

proper edge
#

i absolutely just cant get myself to like blender

sand flower
proper edge
#

i did realistic renders 2-3 years back but thats all i did

tall nimbus
#

i get more fun by making models for my projects than commissions and its at a point where i hate commissions

sand flower
tall nimbus
sand flower
tall nimbus
#

i didnt make much i think in a year i started my earning was inconsistent as hell

proper edge
#

i did my first ever comm after like 2 years of learning lmfao

tall nimbus
#

4 or 5

#

tbh depends on the person

sand flower
#

damn you got good that fast ?

tall nimbus
#

if you have a mentor

#

you can get good in 1 month

sand flower
tall nimbus
#

just learn the things that needed and skip the learn by mistakes thing

proper edge
#

if you put in the time its easy

tall nimbus
tall nimbus
#

that tme i had a lot of study holidays

#

for my 10th

sand flower
#

im looking at ur creations from 2024 these are really good damn

tall nimbus
#

so like i might have done 8 hrs a day on blender

#

for consistent few months

sand flower
tall nimbus
#

i had leave that time

proper edge
#

transitioned to scripting? or you're still mainly modelling

tall nimbus
#

for exam preps

sand flower
#

based spending that time on blender instead

tall nimbus
proper edge
#

ooo

#

scripting ui is such a pain

sand flower
proper edge
#

making it on stuff like photoshop though

tall nimbus
proper edge
#

i spend too much time on photoshop sometimes

tall nimbus
#

ye

#

thats how i learned subd workflow its really good for swords

sand flower
tall nimbus
#

for scripting i just had a friend tell me the basics

#

then i read docs

proper edge
#

wym by workflow vro

tall nimbus
sand flower
tall nimbus
sand flower
proper edge
#

icic

cobalt rock
#

A game made in 3 days just got 21.5 Million concurrent players.

tall nimbus
#

yeah like raw videos not edited

sand flower
sand flower
#

yes

#

they just dropped an update

cobalt rock
tall nimbus
#

3 days?

#

😭

cobalt rock
#

Tell me, why do 21 million enjoy that game.

sand flower
#

i dont get it either

tall nimbus
#

imean am partially feed by gag, a reason am making this too, i think i can actually find fun doing this project aswell not too far away from the trend

#

anything can blow up in roblox if u have the funds

#

its always a 50/50 tho

#

even if the games AAA level

cobalt rock
#

The idea is unique but it’s mostly just a cash grab and it gets boring later when you have nearly infinite money.

sand flower
tall nimbus
#

in roblox its always a 50/50 cant even read the playerbase

cobalt rock
#

At least it’s better than brookhaven

proper edge
true birch
#

πŸ‘

proper edge
#

you'll learn alot more

sand flower
cobalt rock
#

Seems like better games get less players

proper edge
tall nimbus
#

like i always start with wanting to complete a game and leave off after creating some systems

proper edge
#

you overcome the challenges and you learn lots of new stuff or just refine your skills

proper edge
tall nimbus
#

yeah essentially its all about practise

sand flower
tall nimbus
#

thats why i thought of taking

#

breaks for dev

#

restrict dev to 3 hrs a day at max dead line is till i live 😎

proper edge
#

i found stuff like trello really helps

#

i list out my ideas first and then slowly implement them bit by bit

tall nimbus
#

def helps

sand flower
tall nimbus
#

its like starting out small

#

having a fundamental pillar for the game

#

and adding new things from there

placid peak
#

would u rather, get eated by a camel, or get spit by a toe

proper edge
#

yeah you dont get all mixed up

true birch
proper edge
#

wtf is that bro πŸ˜­πŸ™

copper creek
#

hi

proper edge
#

hi

grizzled lava
silent niche
real latch
#
local players = game:GetService("Players")
game.Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player
    local points = Instance.new("IntValue")
    points.Name = "points"
    points.Parent = leaderstats
    
end)

part.Touched:Connect(function(hit)
    local char = hit.Parent
    if char:FindFirstChild("Humanoid") then
        local player = players:GetPlayerFromCharacter(char)
        if player then
            local leaderstats = player:FindFirstChild("leaderstats")

            
            if leaderstats then
                local points = leaderstats:FindFirstChild("points")
                if points then
                        if points.Value >= 10 then
                            print("rich")

                        else 
                            print("brokie")    

                        
                    end
                end
            end
        end
    end
end)```somebody please help me i am so tired i  have been debugging for an hour
copper apex
#

The part isnt the workspace?

#

@real latch

real latch
#

i am not that stupid robin

real latch
proper edge
proper edge
real latch
#

nope

#

2 scriptsonly this and

#
local mouse = player:GetMouse()

local leaderstats = player:WaitForChild("leaderstats")

local points = leaderstats:WaitForChild("points")

mouse.Button1Down:Connect(function()
    print("+1 point")
    points.Value = points.Value + 1
end)```local script btw
#

1 sec

proper edge
#

@real latch

#

i see what u did wrong

proper edge
true birch
#

Button1Down

#

What does this do

real latch
#

clicked

proper edge
real latch
#

same exact thing just sound fancier

proper edge
#

but the server cant see that its changed

true birch
#

Yes he is right

proper edge
#

you need to use remote events to increase your points

real latch
#

so what do i do

#

noooooooooooooooooooooooooooooooooooooooooooooooooooooooo

true birch
#

What

real latch
#

i hate remote event

true birch
proper edge
#

its essential for scripting

#

its very simple

real latch
#

remote events and data stores poop in a bag

true birch
# real latch remote events and data stores poop in a bag
  • Remote Events

from the client to server
something:FireServer(arg)

something.OnServerEvent:connect(function(arg)

end)

from server to client
something:FireClient(player, arg)

something.OnClientEvent:connect(function(arg)

end)

from server to all clients
something:FireAllClients(arg)

something.OnClientEvent:Connect(function(arg)

end)

#

I wrote ts on my note to remember it

real latch
#

what tutorials did you watch btw

true birch
real latch
#

you finished it

true birch
#

Yes I still haven't finished Physics and Guis

real latch
#

nah i watched the thedevking just finished everything thebday berfore yesterday

true birch
#

Devking is good too but does he teach latest updates?

elfin timber
#

Dev king a real one

#

Helped me of the trenches

#

Out*

real latch
#

wait check this

elfin timber
real latch
#

it was

true birch
elfin timber
elfin timber
true birch
#

And button3?

real latch
true birch
real latch
#

check this out an atou clicker and autoclicker disabler no ui needed

#

e=auto clicker q=no more auto clicker

true birch
#

Idk

real latch
#

3 scripts

#

i needed to use remote events

#

but i dont remeber anything

elfin timber
#

Button4 is usually the side key if roblox supports that idk if it does

elfin timber
real latch
#

button 6 domain expansion infinite hacks

#

bye guys

somber vault
#

RS.PreSimulation

#

does RS.PreSimulation run in a deterministic order

green rapids
#

i got a weird issue, my animations are group owned aswell as my game but when im testing only client can see their own animation, from the others they're just moving but don't have any animations
and i don't feel like managing all anims on the server would be the right choice, what should i do?

keen lynx
#

yo, everyone dm me what type of game genre u want to see in dms or want someone to create em

gray frost
green rapids
#

anims are children of the said script

green rapids
#

wym what

gray frost
#

All you gotta do is load the animation into the animator catflop

wind vessel
#

Can anyone help me make a egg system because i am stupid

green rapids
gray frost
green rapids
gray frost
gray frost
green rapids
gray frost
#

You’ll see an animator

green rapids
gray frost
#

Great

#

Now you do

#

local track = animator:LoadAnimation(animationInstance)
track:Play()

green rapids
#

using a loop

gray frost
#

No