#code-discussion

1 messages Β· Page 50 of 1

vagrant shoal
#

What did bro say

true niche
vagrant shoal
#

What kind of comment

true niche
#

He said u nosy asf

vagrant shoal
#

My fault πŸ˜‚

true niche
#

im just playin w u, it was some advertisement

#

"join my team for %" yidi yada

vagrant shoal
#

πŸ’”

wise meadow
#

any new scripters around wanna learn how to script and make stuff in roblox? hmu

viscid orbit
#

yeahh me

hot hatch
#

sup

steep pebble
#

yh

copper epoch
viscid orbit
#

ass

rapid umbra
#

That looks good great scripting

woeful river
#

hey guys, i dont know if you know who brawldev is but basically hes the new devking, anyways i just finished his collection service video (tags stuff) and now i wanna practice it but i have no idea what i should do. you guys got any ideas on what i can script using stuff like that?

vagrant shoal
#

If you have a PvE game and you have lots of enemies you can use collection service to tag them and manage them that way

final harness
#

Rate ts

#

πŸ₯€

#

Xp system

wise meadow
viscid orbit
wise meadow
# hot hatch

Thats actually pretty cool, i did something similar to this, but it just places 1 base plate and builds walls and stuff

#

Urs is like a whole terrain xD

wise meadow
#

and not making it thru code?

#

or?

viscid orbit
#

i just do the design

wise meadow
viscid orbit
#

i dont script/animate it

wise meadow
#

Gotcha

viscid orbit
#

yeah so im tryna learn to script/animate it

#

no idea where to start tho

wise meadow
#

dm me πŸ™‚ we can talk

viscid orbit
#

ohio

cinder zinc
#

How do I disable this

#

that white sphere

gray shuttle
cinder zinc
gray shuttle
#

wth is that?

abstract kettle
#

Guys

#

Can someone help me make a bike?

#

scirpt.

spring pond
#

Is Roblox still tripping

ionic flax
#

is anyone else having trouble trying to save their game to roblox?

copper apex
edgy pumice
#

someone save me from my disaster

#

my game isnt even close to working and ive spent ages trying to fix it but i am not a scripter so its a little bit hard to only use ai

thorn token
#

Value = v1.."e"..v2
v1 = number less than 10, more than/equal as 1.
v2 = number of zeroes (division by 10)
If v1 >= 10 then -- if v1 is higher than 10, adds 1 to v2
v1/=10
v2+=1
end
if v2 <= 2 then -- Normal number
value = v1
elseif v2 <= 5 then -- In thousands
value = v1.."K"
elseif v2 <= 8 then -- In Millions.
value = v1.."M"
elseif v2 <= 11 then -- In Billions..
value = v1.."B"
elseif v2 <= 14 then -- In Trillions... so on.
value = v1.."T"
end
I think this is right, just a representation of infinite numbers with a value containing a number from 1 to 9.999 and another number representing the quantity of zeroes, We get how many of the v2 and transform it in a string format to show in millions, billions, instead of 1000000000 or 1000000000000.

wise meadow
#

Making a parallelogram with a localscript is literal cancer, i do not recommend chat

rich moat
rugged mist
#

of the number

thorn token
#

yeah

odd nacelle
#

any scripters wanna help with my game i havea team and im a 6 year scritpers 1 builder and 2 ui artsits

crisp snow
#

are these good results

fringe pond
#

Does anyone know how to force certain models to stay loaded in?

wise meadow
wise meadow
fringe pond
wise meadow
#

I just used his triangles

#

then implemented it into my code

fringe pond
hot hatch
wise meadow
#

Now i just gotta figure out how to make it scalable lmao

#

This is what i got rn

rigid cedar
#
if player.Character and player.Character:FindFirstChild("Humanoid") then
            local humanoid = player.Character.Humanoid
            local isActive = humanoid.MoveDirection.Magnitude > 0

            if isActive then
            
                lazyPower.Value = math.clamp(lazyPower.Value - 1.5, 0, 100)  
            else
                print(lazyPower.Value)
                lazyPower.Value = math.clamp(lazyPower.Value + 0.4, 0, 100) 
                print(lazyPower.Value)
            end
        end

Why cant i change the increase of value to less than 0.5 per sec? If i change it to for an example 0.4 no increase is happening...

somber vault
#

new logo is so peak

full wing
#

does anyone know how to link an exit button on my GUI to literally take the ui off the screen

i have the button but can't make it work (scripter is asleep)

patent oracle
#

I've been told that scripting is the easiest to do

woven elm
#

a guy wanted to mute a sound instead of stopping it, told him to use the volume property and he sent this saying "it does not work" sadcatto

peak glacier
#

nvm i kept reading mb sorry

spring pond
crude gust
#

any scripters availlable?

spring pond
#

The worlds best Roblox scriptee aqui

wise meadow
#

just saying lmao

#

also havnt figured out yet how to curve those triangles i made

#

will do some more research and let yall know

#

and testing

high rampart
#

Is it possible for a player in-game to communicate with another player from another server

#

??

#

is it?

keen bloom
high rampart
wise meadow
high rampart
#

just imagine like

peak glacier
wise meadow
#

ive never did that b4 but yea i can only assume

high rampart
#

a walkie talkie where you can speak to ppl from other servers

hasty mesa
#

no

#

thats a no

#

you can send text

high rampart
#

yes text

wise meadow
peak glacier
#

i was just gonna say use http service

wise meadow
#

text yes

high rampart
#

sorry I meant a text walkie talkie

wise meadow
#

voice tho, idk abt all that lol

hasty mesa
#

messaging service

high rampart
#

as in you type something, and the text you typed is shown in the walkie talkie. that already exists so my question was if it is possible to make that text pop up in a player's walkie talkie from another server

#

ye thats what I meant

high rampart
wise meadow
#

i have a feeling tho

#

that u could record the voice on the walkie talking, like for example when u press the talk button, you record the voice audio, then on another server in the same experience be able to play that audio

high rampart
#

interestin

#

yeah but i only meant as in text anyways

wise meadow
#

Im not sure, never did that b4

wise meadow
high rampart
#

I say "hello" in server A and a player in server B sees the "Hello" in their. chat or whatever

surreal scarab
#

can someone help, i need help when a certain thing is touched, it takes some seconds off the clock
for insticnts, the end of a obby

wise meadow
#

yea thats def possible

fossil salmon
#

d

final harness
#

@final harness

final harness
wise meadow
polar scaffold
#

What are the pros to using knit?

hoary cedar
#

This article is authored by Knit's creator

polar scaffold
#

Alr

jade smelt
#

player characters can only look in two directions in my case(2.5D game)
on the player's client, their direction changes instantly(auto rotate is off and their cframe is set manually to face the direction)
however, due to networkownership, on server and for other players, rather than instantly looking in the new direction, they quickly rotate to it instead

how can i make it so that the player's direction change is instant on both client and server?

#

sorry i'd normally put this in help but it got overshadowed instantly

jade smelt
#

seems like the solution is a barebones custom character replication implementation

jade smelt
#

no

golden carbon
# jade smelt no

idk gang not sure why the server would ever quickly rotate instead of being instant

#

ive never had that issue ever

jade smelt
#

thats jsut kinda how roblox's replicatino works

#

like if u suddenly turn ons hiftlock you turn instantly on ur screen

golden carbon
#

i think it positions like that too actually

jade smelt
#

but for other players u kinda justr otate

#

yeah

golden carbon
#

but

jade smelt
#

its eems like the only option i have is like full on custom replication which i wanna avoid

golden carbon
#

if its bad for ur game u prolly just have to do a whole remoteevent type shit

#

yh

jade smelt
#

yeee

cunning ivy
#

is there a way to do proximity prompt with models or is it only parts?

silver verge
#

critical thinking js gone now

cunning ivy
#

ah ok ty

silver verge
#

Yw gng i apologize

#

β€οΈβ€πŸ©Ή

somber vault
#

Anyone have any recommended like simple game ideas I can put my coding knowledge to I know the basics and want to make a simple game that doesn’t require to much fancy work

ionic flax
#

(i didnt make the anims yet)

stable verge
#

are we liking the new roblox logos? 😭

eager magnet
ionic flax
eager magnet
#

but i don't think its drastically different

#

to where anyone will gaf

#

all they did was make it blue

ionic flax
#

roblox studio is black now

eager magnet
ionic flax
#

it looks nice tho

#

ngl

eager magnet
#

havent seen it yet

ionic flax
gilded granite
#

yo who is really good in scripting here

eager magnet
ionic flax
#

fr

somber vault
somber vault
#

blue and white will always be the roblox player/studio colors in my heart

wise meadow
wise meadow
lost burrow
# wise meadow

you said made with zero imported images like thats a hard thing to do

wise meadow
#

Would like to see you recreate exactly what I made above

#

Genuinely

#

Also, kinda condescending coming from a Moderator lmao

rich moat
lost burrow
wise meadow
lost burrow
#

i did not make it with code

#

how do you make a parrallelogram with code

wise meadow
#

THATS EXACTLY WHAT IM SAYING

#

I MADE ALL OF THAT WITH CODE

#

localscript

#

I said that

#

very specifically in my post

lost burrow
#

so you used a library?

wise meadow
#

No no no

wise meadow
wise meadow
#

U make the rectangle

#

then u make the triangles

lost burrow
#

interesting

wise meadow
#

For the outline and inline (theres a black outline and white inline on my parallelogram) you use frames just making lines more or less

#

and positioning them correctly

#

But that was my point

#

I made a Parallelogram with just code

#

No AssetID's, No Images, No Frames

#

Literally just a localscript

wise meadow
#

Cause I figured out something you once again didnt know

#

And 2. I taught you something

wise meadow
#

which thats 879 lines of code

somber vault
#

go try it out

faint thorn
#

can anyone teach me for loops and while loops 😊

umbral elk
#

yeah I'm a professional scripter you can trust me for sure

#

so loops yeah

#

for i = 1, i++, i<n{}

#

I think that's how the syntax works

merry karma
young mirage
#

did they make it so u can do print(Array) and it actually prints out everything in the array?

hasty mesa
young mirage
#

cuz before it use to be table(34305)

hasty mesa
#

you probably had log mode on

young mirage
#

cuz im watching a brawldev tutorial and he said "when i do print(Array)" it doesnt work

hasty mesa
young mirage
#

8 months ago he made the video so i was just testing it and it did that so ye lol

warm sequoia
merry karma
#

holding gun

warm sequoia
crisp prawn
#

Lf Volenters for A Minecraft Game Based On Minecraft Movie Dm me

merry karma
fair shoal
wild heath
#

how can i make player dance with the /e dances

halcyon rock
#

Imagine you have a box
Egg 1 has 50%, to unbox egg 2 and 3 have both 25% add one more egg it becomes 16,66% but egg 1 has still 50%. Add more eggs and the more the chances are widen.

Now add infinite eggs

What are the chances to unbox egg 1?

sharp ember
#

How can I code malware

echo stream
neon sail
#

is there any solution for storing cframe into datastore with small size?

halcyon rock
somber vault
#

Hi guys I was wondering if anybody is down to make friends with me and learn off each other?

somber vault
#

Dm me

#

Hi guys I was wondering if anybody is down to make friends with me and learn off each other?

coarse notch
#

fis the documentation or yt tutorials better for learning how to script

hot hatch
lost pebble
# faint thorn can anyone teach me for loops and while loops 😊

for loops are loops that iterate (run) a specified amount of times through a block of code. an example would be something like this:lua for i = 1, 10, 1 do print(i) endwhen making a for loop, you have three parts: the starting index (i = 1) which is an integer (a whole number) variable, the condition (10), and how much i increments by (+1). for the condition, since we're adding to i, this for loop will stop looping once i is above 10. so this loop will iterate 10 times.
you can also have it count down:lua for i = 10, 1, -1 do print(i) endthis loop will end once i is less than 1.

while loops do the same thing but iterate an unspecified amount of times. instead of checking when a number goes above a certain amount, it checks if the provided boolean expression is true. an example would be:lua while true == true do print("The boolean expression is true :)") task.wait(1) endthis loop will iterate until true == true is false. but bc true == true is always true, this is just an infinite loop. always yield while loops as they can crash your game if you dont. i hope this helped

lost pebble
coarse notch
royal plume
#

who wants to help on my invincble game

coarse notch
royal plume
placid agate
sharp ember
lost pebble
placid agate
lost pebble
lost pebble
coarse notch
#

(its a joke btw)

lost pebble
#

considering it used to be able to teach you how to make a bomb, i wouldnt be surprised if it could teach you simple malware

sharp ember
sharp ember
#

Should I run it πŸ€”

lost pebble
#

sounds like it'll just open a bunch of tabs to crash your pc

sharp ember
#

It just created a phishing link, cuz I said it was for my school project πŸ˜­πŸ™

coarse notch
#

one day they are gonna destroy our planet

#

except for the people who were nice

sharp ember
lost pebble
#

bro

coarse notch
#

kinda feel bad for chatgpt having to explain every line of a code

sharp ember
coarse notch
#

I cannot call you "master." My purpose is to be a helpful and respectful AI assistant, and using titles like that isn't part of my programming.

How else can I help you today?

sharp ember
#

Snap chat Ai can call u master if u want πŸ˜­πŸ™

tacit comet
young carbon
lost pebble
terse wigeon
#

How do I make my assets private?

#

I tried to find it on dashboard but couldnt

static coral
#

unless you allow it to be distributed on marketplace

young carbon
#

couldn’t you just import into your game?

terse wigeon
#

I just dont want people to see it on my roblox profile in inventory

#

I found it now

lost pebble
terse wigeon
terse wigeon
lost pebble
#

you're welcome

static coral
#

oh nvm

#

i didnt see

terse wigeon
wet basalt
#

What is better, having the server managing the player walkseep, or allow the client to do it?

young carbon
#

is it for all the players? or just a specific one?

wet basalt
#

Just a specific one

young carbon
#

client then i’d say

timber parcel
#

hey everyone, I am searching for a pro scripter with over 2.5 years experience and age must be over 15
I will pay him

young carbon
#

for?

timber parcel
young carbon
#

no i mean like what kind of aspect in scripting if u get me

timber parcel
#

for making some cool features and

#

script a 2 player obby game

young carbon
#

yea i ain’t that smart

wet basalt
# young carbon client then i’d say

I'm working on a movement system where certain inputs trigger actions like Running, Sliding, or Dashing. Should all of this be handled client-side to reduce server load? Or is that too risky because of potential exploits?

young carbon
#

dj got this

lost pebble
lost pebble
#

you can do checks on the server to try to prevent it

rotund lichen
#

Guys

#

What is the use of event and functions?

lost pebble
# rotund lichen What is the use of event and functions?

to send infomation between the client and the server.
RemoteEvents are one-way communitcation:

  • client -> server or server -> client
    RemoteFunctions are two-way communication:
  • clinet -> server -> client or server -> client -> server
wet basalt
# lost pebble you can do checks on the server to try to prevent it

I was considering using a dictionary to track players inputs and add debounces, but that might still add an unnecessary workload on the server. Ultimately, if an exploiter wants to exploit movements, they’ll find a way...
Might as well do nothing to prevent this scenario

rotund lichen
#

Guys can you help me like if there is any error can I get help here?

lost pebble
wet basalt
rotund lichen
#

I have 1 year experience but still not that good but I can script but like basics or simple

lost pebble
#

then you can probably compare the magnitude of the character's velocity to the WalkSpeed while they're on the ground to see if it's over the magnitude

#

there would definitely be false positives though

wet basalt
# rotund lichen What is the use of event and functions?

If you need client->server or server->client communication, I recommend using this module: https://devforum.roblox.com/t/packet-networking-library/3573907

It’s a more efficient alternative to basic Remotes, with data optimization for reduced bandwidth usage

valid bay
#

Hey can someone tell me why my rotation isn't being applied, i want to keep the parts original rotation and then weld:

local function onPlateAdded(plate)
    plate.Touched:Connect(function (object)
        if collectionService:HasTag(object, "food") then 
            object:FindFirstChild("DragDetector"):Destroy()
            
            -- local originalRotation = object.Rotation
            local rotation = CFrame.Angles(0, math.rad(360), 0)
            local yOffset = (plate.Size.Y / 2) + (object.Size.Y / 2)
            object.CFrame = plate.CFrame * CFrame.new(0, yOffset, 0) * rotation
            
            local weld = Instance.new("WeldConstraint")
            weld.Part0 = plate
            weld.Part1 = object
            weld.Parent = plate
            object.Parent = plate
        end
    end)
end
wet basalt
#

If I'm not mistaken, this is about rotation modulo 360Β°, meaning 360Β° is congruent to 0Β° (full rotation = doing nothing)

lost pebble
wet basalt
lost pebble
#

yeah im blind dw about it

valid bay
#

It doesn't matter what i try, the rotation isn't being applied

#

oh wait nevermind

lost pebble
valid bay
#

No no it works

#

i had to rotate on the X AXIS????

local rotation = CFrame.Angles(math.rad(180), 0, 0)
#

😭

#

Ok thanks i'll figure something out from here

wet basalt
lost pebble
wet basalt
#

I always have to check them or I just don't care enough to memorize them xd

young carbon
lost pebble
#

like what?

wet basalt
#

@young carbon The documentation is pretty easy to understand on this subject

young carbon
wet basalt
#

On remote events?

young carbon
#

remove events are fine yea

#

i just don’t really use them

wet basalt
#

I like this graph

wet basalt
young carbon
#

i’ve used them once for like a shift to sprint that kind of stuff

#

but that’s really it

wet basalt
#

Once you're used to it I recommend you the Packet module I already recommended above

young carbon
#

alr

#

i just need to think of places to use the remove events, i do have a few in mind now tho

crisp prawn
#

Looking For Voulenters that Wanna Make Any Game In Mind With Me!

gleaming badge
#

i was building a plugin which works with datastores, so each log the plugin pushes into datastores is about 250B, is it alot?

thick sluice
#

time to learn more lua

somber vault
lilac aurora
#

Give me a Brief idea on how to make a viewmodel?

rancid comet
#

anyone wanna collab on a roblox game like "skated"

thick sluice
rancid comet
#

whats the best way to get commisions

lean ocean
# thick sluice

dont use findfirstchild if u wont use it in an if statement

stiff osprey
rancid comet
#

yeah but like any specific types that people want

lean ocean
kindred solar
#

alfie.tubridy β€” 22:59
yeah but like any specific types that people want
frosty cat β€” 23:00
just do

humanoid.Parent["Torso"]

somber vault
#

Does anyone prefer block programming?

kindred solar
split pilot
# valid bay Hey can someone tell me why my rotation isn't being applied, i want to keep the ...

local function onPlateAdded(plate)
plate.Touched:Connect(function(object)
if collectionService:HasTag(object, "food") then
object:FindFirstChild("DragDetector"):Destroy()

        local originalRotation = object.CFrame - object.Position
        local yOffset = (plate.Size.Y / 2) + (object.Size.Y / 2)
        object.CFrame = plate.CFrame * CFrame.new(0, yOffset, 0) * originalRotation

        local weld = Instance.new("WeldConstraint")
        weld.Part0 = plate
        weld.Part1 = object
        weld.Parent = plate
        object.Parent = plate
    end
end)

end

thick sluice
#

.

somber vault
#

heyguysss

fallen flicker
#

need a more efficient way to do this. please

#

Or is doing this okay?

zealous zodiac
somber vault
fallen flicker
zealous zodiac
#

not sure if that would work but ill try

limpid shale
#

I am little bit new at the coding but i wanted to know how can i make the camera tilt and facing the player while the camera is above the player

fallen flicker
zealous zodiac
#

ah

#

yes

fallen flicker
#

Did that work?

zealous zodiac
#

hold on

#

what do you think i should put instead of math.huge πŸ€”

#

yeah it still doesnt work

fallen flicker
#

try and change the velocity to 0 before destroying just to see if it stops

zealous zodiac
#

it works but looks scuffed

#

ill see if i can play around with it

young mirage
#

Guys what do I do if my datstore yets full on roblox studio

#

No more info will be saved right

rugged mist
#

pretty sure you need to mess with the mass

zealous zodiac
#

its in server

frigid turtle
#

Does anyone wanna pay me to help you out with scripting?

brazen tusk
#

yo with a loading screen how come it wont fit the whole screen

slow plover
delicate quarry
#

Show me ur coding portfoilio. it can be any languauge. i wanna see what people built

stiff ibex
#

hiiiiiii

coral field
ember juniper
#

im making my own concerts, is there a way to record the lights and play that recording during the show so i dont have to do them myself?

meager notch
#

hey guys i have a question,someone scammed me 24k robux taxed what should i do

wise meadow
proper fern
#

Does anybody know stuff about transferring data from reserved server to main server?

hot hatch
#

Always prove the peasants wrong

minor stratus
#

i accidentally made a signal library with intrinsic multi threading after trying to figure it out for weeks

#

should be the fastest possible signal library by orders of magnitude once finished

minor stratus
#

i mean intrinsic as in

#

i didnt code it in

#

it just automatically happens as a consequence of the way the script actually works

bleak glade
#

you dont want to add it?

minor stratus
#

no it has it

#

without me adding it

bleak glade
#

weird

#

well its fine to have i guess

minor stratus
#

so most signal libraries handle their yield safety by creating a coroutine right

#

which is required because your actual signal is stored in the original script that first called it

#

my signals are stored in the modulescript itself

bleak glade
#

you dont make an actual instance?

minor stratus
#

no

#

Everything is handled in one module

bleak glade
#

is this for bindables or remotes im confused

minor stratus
#

this is for bindables, i have my own networking lib as well

#

which i need to add serialization to

bleak glade
#

oh ok that makes more sense then

languid meadow
#

what is "Signal Library"

bleak glade
#

as it sounds

minor stratus
#

a signal library is a library for roblox meant to replace "BindableEvents"

languid meadow
#

So its just a folder?

minor stratus
#

usually when you need to handle a lot of variables or events

#

no

languid meadow
#

Oh

minor stratus
#

it handles events without bindableEvents

languid meadow
#

Like

#

I got it

minor stratus
#

its all handled inside the script, there is no instance

bleak glade
#

i dont use bindable events so signals dont seem helpful

minor stratus
#

how-

bleak glade
#

readonly variables or modules

#

like attributes and properties

minor stratus
#

oh god hes a rust user isnt he

bleak glade
#

no

minor stratus
#

πŸ’€

#

oh

bleak glade
#

well yes

#

idk why i said no

minor stratus
#

i can smell the damn crustacian on you from the screen broh

bleak glade
#

why do people hate rust

minor stratus
#

honestly, i dont realyl hate it, i just dont like how inconsistent it is

#

like yes it's a low level language, but that doesnt really excuse so much difference in behaviour between similar things

bleak glade
#

i dont use rust often

#

only really luau, ts, java, c++

minor stratus
#

i do like its struct system though

minor stratus
bleak glade
#

c++ is worth it

minor stratus
#

i need to relearn python Eventually

vagrant shoal
#

I want to learn rust eventually

minor stratus
#

rust is good for personal stuff

#

due to not being cpp

#

lmfao

#

but yeah coding anything for something professional id just stick to something based off C

bleak glade
#

i just started learning cpp but i think it can be good for that

#

based on the header file structure

minor stratus
#

the issue with cpp is just

#

its horribly complex

#

the "bloat" is fucking crazy

#

though i do like that you can choose to just not use the extra stuff

bleak glade
#

my class is making me do everthing solely in object orientated

minor stratus
#

you're not actually forced into any level of abstraction

vagrant shoal
#

I don’t know how I’m good at c and cpp and suck at c#

minor stratus
bleak glade
vagrant shoal
#

I guess the classes shit with c# is what confused me

minor stratus
bleak glade
#

i just started that too

#

my class is making me learn c, c++, and java all in this semester

minor stratus
#

mostly c# which i havent done in years and python which i also havent done in years

#

but been getting back into coding with lua and rust mostly

bleak glade
#

i dont really get javas extends, implement, and abstract defintions tbh but i havent really been trying to learn it

minor stratus
#

now i need to implement disconnecting and preventing function duplication

#

painnn

bleak glade
minor stratus
#

issue is i store my functions in an array

#

so i need to find a way to store a reference to their index

#

i guess i could name the functions??

copper apex
#

Currently learning Go

somber vault
#

BARY FAST API REQUEST

thick sluice
#

how do i make the parts not go into each other like minecraft

thick sluice
#

i want mine like that

static coral
#

wdym

#

if u dont want the parts inside of each other you will need to put them at a different position each iteration

#

????

thick sluice
#

bru

#

like this

#

how do i do that in my script

static coral
#

you need a grid

#

look into 3d arrays

karmic cobalt
lone rain
#

Bro just say lerp

vagrant shoal
#

You are 3 days late bro πŸ’”πŸ₯€

zenith mason
#

appalling to the eye

minor stratus
#

so

#

im kinda not sure how my own script works

#

because i dont think functions are supposed to have cross-file pointers

#

wait no im stupid

tulip heath
#

at least they work

#

mine like to give me errors and say they work at the same time

minor stratus
#

when you access a function from a modulescript, it retains pointers to the original modulescript variables

#

and always executes in the context of that modulescript

#

ok im dumb yeah sorry

#

its just lua api that isnt available as a function

karmic cobalt
#

what z fighting

#

i dont understand

zenith mason
#

whenever you move camera it overlaps

karmic cobalt
#

its area to spawn map

zenith mason
#

treat your eyes with better care πŸ˜”

karmic cobalt
#

I need see this to debug

#

when scripting

zenith mason
#

sure just prevent the zfighting

#

its distracting and gets annoying after a while

#

at least for me during any developments

#

just like make the part .01 studs below or above

#

lol

karmic cobalt
#

k

pulsar basin
#

local Animation = Instance.new("Animation")
Animation.AnimationId = "rbxassetid://________" -- your R6 animation

local function setupSeat(seat)
if not seat:IsA("Seat") then return end

local lastAnim = nil

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
    local occupant = seat.Occupant
    if occupant == nil then
        if lastAnim then
            lastAnim:Stop()
            lastAnim = nil
        end
    else
        local char = occupant.Parent
        if char then
            task.delay(0.1, function() -- short delay to ensure Humanoid is ready
                local humanoid = char:FindFirstChildOfClass("Humanoid")
                if humanoid then
                    local animTrack = humanoid:LoadAnimation(Animation)
                    animTrack:Play()
                    lastAnim = animTrack
                end
            end)
        end
    end
end)

end

-- Attach to all existing seats
for _, seat in ipairs(workspace:GetDescendants()) do
setupSeat(seat)
end

-- Listen for new seats added after runtime
workspace.DescendantAdded:Connect(function(desc)
setupSeat(desc)
end)

Why isnt this working, i want to make it so whenever the player sits down on the Seat part in roblox studio (so thosee things you can insert into a part and it automatically makes a player sit) and change the anim for it, but it doesnt work. Yes ik the anim id isnt in there but its not the anim i tested with other rigs and scripts and it works just this one it doesnt

stable junco
#

any free scripters

#

i am broke

#

drop a dm

vagrant shoal
stable junco
#

idk scripting

#

but making an post will be helpless and i have 2 robux in 2 accs

regal reef
#

in bytenet what else cna i use if i dont wanna use struct

red pelican
karmic cobalt
#

guys whichh is better, with animations or without?

red pelican
#

I think the animation is nice

umbral carbon
#

We have arrays in LUA now?

#

It's evolving too fast

glass creek
#

Hey, i'm here trying to think of a way to make roblox characters have their physics behave like any other part, but without tanking performance too much. Does anyone have an idea on how i could do it?

umbral carbon
vagrant shoal
glass creek
#

i was thinking of making a character controller from scratch, but idk if thats possible without lagging too much

glass creek
#

idk if thats ironic or not

vagrant shoal
#

I genuinely don’t know how you would achieve that

glass creek
#

i mean, i guess the best i could do would be a force-position camera

#

but i really dont know if its even possible to make a propper controller

umbral carbon
lost pebble
glass creek
#

it was really easy to get stuck on objects and you couldnt really go up any slopes without jumping

#

but what i actually did was make a part that i could move with my input

#

that was a test though

lost pebble
#

You can have a sphere as the base (or feet) and spin it in the direction you’re moving. You could then use AlignPosition to align the rest of the body parts above the sphere (or the sphere below the body parts might be better). For jumping, you can bring the sphere up closer to the players torso and then forceable push the push back to its original position causing it to create and upwards forces (idk how well that’ll work)

vernal peak
#

why my script ai helper in spanish

trim dove
rocky lynx
silver verge
rocky lynx
#

Tables are arrays and hashmaps

tawdry trellis
trim dove
vernal peak
#

is WaitForChild just better than FindFirstChild? should I always use that instead of FindFirstChild?

umbral carbon
silver verge
silver verge
rocky lynx
#

Buddy

silver verge
#

😭

umbral carbon
#

😼

glass creek
#

ok so i just found out about the ground controller

#

im gonna look into it and come back with anything i find out

restive ibex
karmic cobalt
umbral carbon
teal grove
#

hey guy i need help

brisk fjord
#

Been using Rojo and its the most "idc if its better or not but its cool" ive ever seen lol

sleek pivot
#

does brawl devs tutorial or any teach u how to make a leaderboard on the top right?

lost pebble
lost pebble
spring pond
sleek pivot
sleek pivot
gilded granite
sleek pivot
#

what tutorial

gilded granite
#

idk just copy this:

local Players = game:GetService("Players")

local function onPlayerAdded(player: Player)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    -- now here you'd want to add your values

    local coins = Instance.new("IntValue")
    coins.Name = "Coins"
    coins.Value = 100
end

Players.PlayerAdded:Connect(onPlayerAdded)
sleek pivot
#

but wouldnt it make less of a scripter since i dont really understand the scripting?

cinder zinc
#

WHY CAN'T I MOVE ON CONSOLE BUT I CAN DRIVE CAR FINE ON CONSOLE...

iron skiff
#

tp system, pushing player system how much for this?

sleek pivot
storm nacelle
#

How do I move this thing for mobile players????

hollow fable
#

roblox is cooking

spring pond
rotund lichen
#

Do you know how like if I touch a part it will have endscreen have a coins and like if I exit the coins will be in lobby too

silver verge
#

touched event that interacts with the library

#

pivotto for teleporting

#

and show ui on the screen

rotund lichen
#

Like

rotund lichen
silver verge
#

?

#

what doesnt make sense

unreal frost
vestal condor
#

who can help me with my datastore leaderboard script

crude tundra
#

where is the best place to learn lua

vagrant shoal
strong smelt
#

Can somone help me out, if you look at my sliding you can see the camera smoothly tweens down but when you look closer (mostly at the walls and floor) It sort of looks like I'm slamming the ground or something weird happens in the middle of the tween like a speed shift. Can anyone explain whats happening?

#

Or also just tell me specifically whats happening with the camera casue I feel like something is definitely off, a good place to compare is rivals sliding where the camera smoothly reaches the bottom quickly but also without it looking like your somehow slamming into the ground

wanton cloud
unreal frost
#

If I were to do something such as the below.

local connection = nil
local start = nil

connection = RunService.RenderStepped:Connect(function(deltaTime: number) 

end)

wait(allowedDropDuration)
connection:Disconnect()

Wouldn't this properly disconnect the event? I'm having an issue where it's resulting in a high amount of activity later on even when I'm disconnecting it properly (did some debugging so I know it's for sure happening)
Any ideas?

hot wraith
#

Prometheus Steps V1.0

  • Footprints
  • Temporary shape memory
  • Variable slowdown - depending on terrain.
  • Piling up in real time under - weight if immobile.
somber vault
#

its a custom build PC ☝️

twin prawn
#

I'm tryna remake it, but there's literally zero latency to it on other player's screens

#

its like magic

vagrant shoal
#

Good question

civic garnet
#

i have a feeling you could also motor6d it

mild plover
#

Can somebody help me learn coding

wise meadow
#

I need more devs, builders etc to help out with a project if anyone is interested:)

trail nymph
terse wigeon
#

How should I store a lot of characters/items with their name, description, rarity, price, weight and other properties? Should I insert values in some table in a module and then make access to it by some key?

inland hemlock
terse wigeon
inland hemlock
tight holly
#

yo im looking for a scripter (paying in % more in dms)

proper fern
#

Does anyone have trouble Removing Async(key) in sorted map MemoryStoreService? I somehow can't get my script to delete it after use, so it keeps on giving the data, even though it logs it's removal.

tight holly
frail stone
tight holly
frail stone
#

If u already had a successful game before then people will accept %

tight holly
frail stone
#

Or make a quick effortless game and save the whole funds for ads

tight holly
frail stone
tight holly
tight holly
frail stone
#

World isn’t centered around us so we have to move on

tight holly
#

yeah right

solar surge
rough minnow
#

how should i learn to script and where to start

steep pebble
#

what do you think?

steep pebble
#

then read articles

steep pebble
waxen needle
modern mirage
#

Guys how do viewport frames work?

rich moat
honest adder
#

guys whats so bad about playing animations on the server??? i moved them to the client and see basically no difference at all. plus i had to do some weird stuff to get it to work how i want when it was much simpler just being on the server... AND playing animations on the client literally automatically replicates to the server anyway. people say "just fire a remote event to the client who u want to play the animation and it will automatically replicate to everyone else" but that causes a longer delay because before everyone else sees the animation they have to wait for the server to tell that 1 client and then that 1 client to replicate the animation back to the server and THEN to everyone else, when before the server just told everyone at the same time. i cant just play it on the client without the server first telling it to either because there are certain checks that only the server can do (to see if the situation where the animation is played is allowed to happen). what i did instead was fireallclients to tell every client to play the animation on that one character who is playing it, so that the server doesnt play it and other clients dont have to wait for it to go back and forth between the server and the client whose character it is, but this caused double animations since the client still automatically replicates the animation to everyone else AGAIN, even though theyre already playing it thanks to the server telling them as soon as possible. to fix that, i had to make another script on the server that sees per character when a new animation is being played and checks whether it should replicate to everyone else or be stopped and destroyed. that fixed the double animations. BUT, all this effort for little to no gain? am i wrong and missing some benefit i cant see?

rich moat
honest adder
tiny obsidian
#

not readin allat

#

ask gpt to summarize in 1 sentence and send

honest adder
#

its like a 45 second read chill... u guys are literally scripters u read long stuff all day

rich moat
honest adder
#

dev forum everywhere repeats the same thing about "doing it on the client is more peformant" "its less stress for the server" but NEVER EVER gives proof

#

havent seen any actual stats or anything to explain

#

and from my experience theres no difference

rich moat
#

I mean

#

Do wtv u want

honest adder
#

im pretty sure once i just took out the part that played animations from my code and the script activity didnt even change

rich moat
#

Prob won't be a diff if ur game isn't big

rich moat
# honest adder im pretty sure once i just took out the part that played animations from my code...
honest adder
#

ok im just gonna test later and see

#

by playing like 20 animations per second or something server vs server telling client

waxen needle
umbral carbon
#

If you guys want to be a successful developer you have to read

glass dust
#

GUYS WHO WANT TO MAKE A TOWER DEFENSE GAME JUST FOR FUN ILL BE THE MODELLER

terse wigeon
#

How can I make animation for rock throwing, for example npc throws a rock and rock should be moved from npcs hand to the enemy?

devout forge
toxic laurel
#

you could use ropeconstraint but it wont allow you to have those chains, just a straight bland rope

silver verge
#

the chains arent going to actually work

#

but just set their cframe every frame

#

based on the length of the rope

weary ravine
#

how to fix this issue it works with the owner of the animation id but not with other accounts and idk how to make them pubilic

oblique epoch
#

Bruv update ur game instead of helping nobs

#

Joking

#

Bcus im nob

narrow nest
#

Yo guys

#

Im looking for like a library or sum called EternalNum

#

but idk how you like uh find stuff like this in studio like is there libraries or modules you can download or sum

merry ravine
#

how can i make some robux to pay a developer for my roblox game?

red pelican
#

Just get some robux

vast hornet
#

πŸ₯€

faint shell
#

would checking cooldown with a remote function cause lag and stuff? lets say 15 people playing my game and there would be average of 1 server invoke per second is that too much or nah

stiff ibex
somber vault
thorn frigate
#

does anyone elses script editor keep saying waiting until connection is stable

stiff ibex
#

im in my local copy

sleek chasm
#

why wont the uicorner work?

trail nymph
astral void
#

how much would an auto chess system cost?

vast hornet
stiff ibex
stiff ibex
vast hornet
stiff ibex
vast hornet
#

i thought it was just like

#

findfirstchild, but for parents

stiff ibex
terse wigeon
#

lmao

jovial leaf
vast hornet
vagrant shoal
jovial leaf
#

Bruh

vagrant shoal
#

Dev king is pretty outdated icl

#

Brawl dev better

jovial leaf
vagrant shoal
#

Use your context clues

#

YouTube search

vagrant shoal
#

❔

#

I been past that stage πŸ˜‚

trail nymph
jovial leaf
#

Idk

stiff ibex
#

header :p

jovial leaf
#

Do I trust this link yall

jovial leaf
#

When I get home

#

I’m tryna learn how to make move sets like blox fruits

#

And gpo and stuff

somber vault
stiff ibex
stiff ibex
jovial leaf
stiff ibex
jovial leaf
#

After work

#

I’m gonna finish dev king

stiff ibex
jovial leaf
#

And then I wanna learn how to make like anime moves

#

Bruh

thick sluice
#

i want it

jovial leaf
#

Not how to change the color of a part

stiff ibex
#

all my project is just low-level code

umbral carbon
umbral carbon
# jovial leaf

There would be some sort of verified symbol
It also says "Report Junk"

jovial leaf
umbral carbon
#

Fr

jovial leaf
umbral carbon
#

Yes

jovial leaf
#

Who’s tryna finish these for me for real

umbral carbon
#

I don't know what that is about

jovial leaf
#

I don’t either

#

Some computer science class at my high school

#

We end up copy and pasting the code off the internet usually

#

To complete the assignments

umbral carbon
jovial leaf
#

It’s super basic

umbral carbon
#

I only get a computer science class once a week for 40 minutes

jovial leaf
#

Just like basics of Java script all we’ve done is
Variables
Loops
Parameters
Functions
If statements
List and data

#

And then are school owns drones so we like program drones and make them fly instead of using controlers

umbral carbon
jovial leaf
#

Should I

umbral carbon
jovial leaf
#

Never used it but maybe

#

I’m trying to focus on learning Lua right now

#

But I’m not a very good video watcher have a hard time sitting in a chair and watching 40 videos

#

To learn on my own so idk

umbral carbon
jovial leaf
#

I sit there watch like two videos and then start tweaking

#

And hop on ghoul re

#

Like I want to learn Lua and I want the money grab

#

But I don’t got the videos in me

static coral
#

you dont need to watch hundreds of videos

jovial leaf
umbral carbon
#

There are weird videos like HapticsService but you can skip it

#

And just go for it once a day

jovial leaf
umbral carbon
#

Not even I have the motivation to watch all of them because the videos are longer than usual

jovial leaf
#

I’ll watch brawl dev and see what’s in their

runic glade
#

Any good devs wanna help me on a game

vagrant shoal
lofty plinth
ivory gate
#

I... AM STEVE.

rigid sierra
#

i'm new to roblox i saw a cheat user in my game what do i do?

ivory gate
#

/ban ____ user name ____

heady jetty
#

i have 3 people helping me on a game but we dont know how to do ui none of us are getting paid but if the game goes well we all split profits 4 ways its on roblox any volunteers?

fresh lance
somber vault
#

Do u want to learn how to copy any game without it being uncopiedlocked

dapper wolf
#

does anyone know why a walking animation is only playing for me and not for others? If someone can help, thank you

winter pulsar
#

is it a paid course?

winter pulsar
#

you might have done something incorrect so just copy the default animation script and paste your id's

static coral
oblique epoch
#

paying 400 robux for sm1 to script inventory

upbeat nymph
#

Hi

ripe hull
#

Hello

upbeat nymph
#

What YouTubers are best at explaining oop

ripe hull
#

idk really learned that a long time ago

#

hold up I might know somebody

upbeat nymph
#

Ok

ripe hull
#

you could try GnomeCode

#

idk I liked it

upbeat nymph
#

I’ll have a look thnx

ripe hull
#

np

hard sparrow
coarse panther
#

I saved, in a DataStore, a table containing stats of each player. How can i print them in the official roblox chat (only on the server the command is run on) and not in the output tab?

neat mauve
somber vault
#
delay(2, function()
    
end)

-- Which one is better? (task.delay or delay) --

task.delay(2, function()
    
end)

which one do i use?

abstract peak
coarse panther
#

task.delay

somber vault
coarse panther
# somber vault can you explain why?

i am alm sure task.delay() runs on the modern task scheduler, while delay() runs on the legacy one. task.delay() is a bit more optimized, and so more accurate

vast kindle
#

because if so, I have a question on them

#

Currently, I've made it so the side dashes cooldowns and most logic are build-in the server

#

meanwhile in the client there's a body velocity, loops, blahblah and also animations

coarse panther
vast kindle
#

so my question is here that to make it as responsive as possible meanwhile making it so it's' not that easy to get exploited in

#

so basically

vast kindle
pearl blaze
#

I need someone who actually has experience and I need straight up answer, for current low to middle pc's how much raycasts you can have in one heartbeat without making someone's pc struggle? Consider 2 cases where range is 10, 500

lofty plinth
nimble dawn
#

There're no output errors so I don't know exactly why is going wrong but my guess is the click detector isn't registering the click?

#

I want the players cam to transition between 3 parts w a tween basically

lofty plinth
lofty plinth
#

yes like that

nimble dawn
#

That didn't change anything πŸ’”

lofty plinth
#

what properties does CD have?

nimble dawn
#

Cancollide is on

floral sandal
#

I just finished a scripting beginners guide. What do you guys suggest I do next afterwards?

nimble dawn
#

Cantouch is on

placid linden
#

anyone got awp?

nimble dawn
#

Anything else?

lofty plinth
#

does it give any console output

#

like inf yield possible

nimble dawn
#

Nothing at all

#

Idek what could be wrong 😭

lofty plinth
#

add some debug prints and see if it at any point gets to the last line

nimble dawn
#

alr

nimble dawn
lofty plinth
#

do it outside the click function 2

#

wanna make sure its loading the script

nimble dawn
lofty plinth
#

where is ur script located

#

and what type of script is it

nimble dawn
#

Local script in a folder

lofty plinth
#

under what?

nimble dawn
lofty plinth
#

cant use a local script there

#

has to be a normal script

placid agate
#
local rs=game:GetService("RunService")
local t=math.pi*2
return function(p,s)
  local o=p.CFrame
  return rs.Heartbeat:Connect(function()
    p.CFrame=o*CFrame.Angles(0,os.clock()%s/s*t,0)
  end)
end

can a mod pin this for people who need it in the future?

lofty plinth
#

also bad practice to use scripts under workspace

nimble dawn
lofty plinth
#

these are the only places u can use a local script

nimble dawn
placid agate
lofty plinth
#

both references

placid agate
#

i wouldn't even use localscripts anymore.

lofty plinth
#

there's some cases where a local script is useful

placid agate
#

how so? setting script runcontext to client is just better in every way. runs everywhere like it's java fr.

lofty plinth
#

Disabling the default roblox local scripts is 1 example

#

pretty sure they only accept local scripts

#

refering to this bogus

placid agate
#

you mean to avoid the other ones from constructing? anything with the same name prevents that.

nimble dawn
lofty plinth
hollow fable
#

yo who wants to help figure out roblox's new character controller thing

lofty plinth
sharp lotus
#

Guys

hollow fable
#

theres a new way to do physics based movement

sharp lotus
#

What's the best way to learn scripting fast ?

hollow fable
sharp lotus
hollow fable
#

what does a bit mean

sharp lotus
#

i coded some lua script to exploit one day

hollow fable
#

do you know what a contructor is

sharp lotus
hollow fable
#

do you know what an integer is

sharp lotus
#

no

#

ok.

#

im cooked.

hollow fable
#

alr just watch some youtube videos then

sharp lotus
#

yep

hollow geyser
sharp lotus
#

and i bought a book too

hollow fable
#

ay i would recommend

sharp lotus
#

"the advanced roblox coding book"

hollow fable
hollow geyser
sharp lotus
hollow fable
#

gang

sharp lotus
#

IT IS GOOD OR BAD?

#

😨

hollow geyser
hollow fable
#

i feel like learning how to code outside of a roblox context is better

#

so codeacademy first

#

to learn the if statements and stuff

sharp lotus
#

alr

sharp lotus
placid agate
hollow geyser
#

whats the point of parameters can someone give me an example of when you would use them?

placid agate
#

you can read it for free on that website.

sharp lotus
nimble dawn
placid agate
#

i'd stop at chapter 5 and start experimenting in studio.

nimble dawn
#

Ignore the script

#

deleted that

lofty plinth
hollow fable
#

true

#

if you have anchored on false and can collide on false then thatll happen

drifting whale
#

Guys, would you say making an procedural animated spider is hard
-# not using IK joints. Aka using math and vectors only

placid agate
nimble dawn
elfin karma
#
local id = 1169240887
local player = game.Players.LocalPlayer
local MarketplaceService = game:GetService("MarketplaceService")

textbutton.MouseButton1Click:Connect(function(player)
    print("hi")
    MarketplaceService:PromptGamePassPurchase(player,id)
end) 

``` Why doesint this work?
#

@anyone

#

😭

royal ibex
elfin karma
#

my dumbahh 😭

royal ibex
royal ibex
elfin karma
#

its not finding the location it for some reason

royal ibex
#

fixed πŸ™‚

elfin karma
#

bro how bored are u

#

to actualy test it out

royal ibex
#

u wanted help?

elfin karma
#

yea but i didint expect you to create a baseplate and test it out 😭

elfin karma
#

ok bro 😭

royal ibex