#code-discussion

1 messages Β· Page 274 of 1

peak crystal
#

dont do that

nimble violet
#

wont it fix if i just put it into a while loop instead? cause then ill have the same like number of runs not dependent on framerate

peak crystal
#

why are u running it every frame

#

that clearly isnt needed

nimble violet
#

cause its smoother

peak crystal
#

use states

#

lazy ones

#

so u aint slamming the client

nimble violet
#

states how?

peak crystal
#

if idle or latched then dont spam it

nimble violet
#

i have that

peak crystal
#

predtermined would help

nimble violet
#

ok lemme explain, when i dash, i have it constantly appling force for dash duration so that i can turn whilst dashing

peak crystal
#

???

#

why not just have it as a int attribute

nimble violet
#

its nothing to do with states or anything

peak crystal
#

and have the script read off that

nimble violet
#

the issue is that on higher framerates, 240 instead of 60, a RS.heartbeat is gonna run 4x more no?

peak crystal
#

have the server control the playters position

exotic phoenix
exotic phoenix
#

Best approach -> scrap the entire project

#

this bug is clearly unfixable

peak crystal
#

best approach become a famous developer

exotic phoenix
#

best approach set yourself as your pfp

nimble violet
#

best approach just escape + r + enter urself apparently

exotic phoenix
#

and larp

dense spade
nimble violet
#

idk

#

if it isnt, sorry

peak crystal
#

get it right

exotic phoenix
#

I use my youthful testosterone production to build muscle

peak crystal
exotic phoenix
#

I shall remain the jacked skid

peak crystal
#

you know i'm a dude yea?

#

my pfp is my girl πŸ₯€

granite quarry
#

[ROBLOX PHYSICS QUESTION] Guys how do i achieve this type of collision in studio, assuming my character is a part too

exotic phoenix
exotic phoenix
peak crystal
#

noi no MY girl

peak crystal
#

transfer thjje force to a lienarvelocity

#

and move vroom

#

or

#

u can use assembly

#

ez

exotic phoenix
granite quarry
exotic phoenix
granite quarry
exotic phoenix
exotic phoenix
#

no longer possible

#

I mean if it was a part then maybe

#

but a cylinder???

granite quarry
#

yes the ball is a part

peak crystal
#

LOL

granite quarry
#

a flat circle

peak crystal
#

bro a circle?

exotic phoenix
granite quarry
#

not a sphere

#

it's a flat circle

exotic phoenix
#

Do not bestow that name upon us

peak crystal
exotic phoenix
dense spade
exotic phoenix
#

loyalty test

granite quarry
dense spade
peak crystal
#

roblox doesnt render 4D

granite quarry
dense spade
peak crystal
#

oh yeah this drone movement im loving

#

full glsaze myself

dense spade
rotund pawn
#

I want to create delaership where user can browse cars, should I teleport the camera to position and localy show vehicles or create viewportframe over screen? That tbh sounds better, but I would like to add some background fog (lighting effects)

dense spade
peak crystal
rotund pawn
#

Yeah tbh that sounds as better option πŸ˜„

peak crystal
dense spade
dense spade
peak crystal
peak crystal
dense spade
#

i dont think Animated Textures work too

#

alot of things dont work on viewport frames

rotund pawn
#

I just need sea, fog, skybox to be visible in browser

peak crystal
#

simulate partials

#

convert partials to

#

to parts or mesh parts and use the API to mold them

#

(ez) (will lag the game)

dense spade
#

i feel like viewports add extra complexity lol, a 3d scene would be more interactive

modern seal
#

viewport is for lazy ppl

#

and viewports lighting is horrid itll make yr models look likee stinky

rotund pawn
#

Yeah I decide to Just TP camera to subject part, locally create sea and stuff around it. Its way easier

dense spade
lunar viper
#

hi

quaint tree
#

then some playing with physical constraints

peak crystal
#

to captain obvious

quaint tree
peak crystal
quaint tree
#

skid cant comprehend 1 sentence

peak crystal
#

thats all?

#

one sided ahh

quaint tree
#

Yes Bro im the Best.

peak crystal
#

people who are truley the best doesnt put 2 capital B's in the wrong spot

#

just saying

quaint tree
peak crystal
#

I turned u into a gif

quaint tree
#

I got a Fan!

peak crystal
#

anything but making a game yea?

quaint tree
#

Only Skids make Games in LUAU.

peak crystal
#

ur bio says Cpp

#

what u done in cpp

quaint tree
#

Source Engine Bro.

#

You dont even Know what SE is Bro.

peak crystal
#

dang I dont?

quaint tree
#

Even SE is older than you Bro@

peak crystal
#

ongod?

quaint tree
#

Yes Bro.

#

30 Years Old Engine.

peak crystal
#

Source engine isnt 30 years old 😭

#

released in 2004 bozo

#

replaced GSRC

quaint tree
#

seriously you are a clown to believe google

peak crystal
#

google

quaint tree
#

se existed before its release date lol

peak crystal
#

😭

quaint tree
#

it existed since 1994 or 1996-ish

peak crystal
#

it started in 2000 or just ebfore

#

bozo

#

when did half life release

#

1998

#

so 1998 to 2004

#

you chubby little baby

#

know ur place πŸ‘…

quaint tree
#

this guy is bipolar

#

roasted his ego and now he talking like he works at valve

peak crystal
#

??

#

its simple research bro

quaint tree
#

google ai research ahhh

peak crystal
#

look at 5 diff sources

quaint tree
#

do you know the game tf2

peak crystal
#

no I wouldnt!

quaint tree
#

its been in works in se since 1993

peak crystal
#

whats that game!

quaint tree
#

πŸ₯€

#

this guys delusional

peak crystal
#

im mocking u

quaint tree
#

Bro You arent Mocking Me Bro.

#

You are My Fan Bro@

peak crystal
#

u are Ai

#

actaully

#

show me a video of

#

ur Cpp work

quaint tree
#

Yes Bro im Actually Intelligent.

#

Correct!

peak crystal
#

if ur all that show me some work

quaint tree
#

btw just to stroke ur ego my iqs 124

#

So Yes Bro im Actually Intelligent.

peak crystal
#

well then lets see here

#

@quaint tree Skid test!
when opening or creating a port in CPP what would u write stdd and on

quaint tree
peak crystal
#

failed

quaint tree
#

Cant Even Shit with My Fan.

peak crystal
#

W larp

quaint tree
#

Holdon Bro Ill Return to You Tryhard Fan When im.Done.

peak crystal
#

ill wait

#

if u can code a proper remote desktop with sendcode based controls for games like roblox

#

using CPP

#

thats the baseline

amber verge
#

why is gng arguing with an alt im crine

peak crystal
#

and try to hide it

#

atleast he isnt

quaint tree
quaint tree
quaint tree
#

hence why i look like a newbie

peak crystal
#

u r a newbie

amber verge
#

ping it

hasty crater
#

i love luau

local thread = coroutine.running()
task.delay(0.5, coroutine.resume, thread, "hello")

local message = task.wait(1)
print(message) --> "hello"
earnest radish
#

Does anyone know how to make the player morph match the physics of the morph? (For example, the player is a ball, I want the player to behave like a ball, be able to roll or bounce while still keeping the humanoid feature such as jumping, dying etc..)

hasty crater
amber verge
#

ROdevs

hasty crater
#

too many

ember nimbus
#

for the people who use while task.wait do

hasty crater
dusky relic
hasty crater
# dusky relic can you break down what's happening here?

Line 2: a function is scheduled to call coroutine.resume(thread, "hello"), where thread was the original thread of the script, after half a second
Line 4: the thread of the script is yielded by task.wait for 1 second
Line 5: Half a second later, the scheduled function runs, resuming the yielded script thread early, passing it "hello" as the return value from the last C function that yielded (task.wait)
Another half-second later, the task.wait will try to resume the script due to the duration elapsing, which will generate an error: cannot resume dead coroutine

#

"yielding" has no protections, coroutine.resume can short-circuit a yield and give the code that yielded any return value

ember nimbus
#

there is no separate system for task.wait

#

it uses the same as everything else

#

oh the task.wait also trys resuming it?

#

i'm not getting an error when i run it

#

just resumes a bit early

hasty crater
hasty crater
# ember nimbus i'm not getting an error when i run it

i did not test this on roblox but it should be creating an error message when task.wait eventually gets around to trying to resume the thread, could indicate something weird but that's not the main "interesting" thing about this behaviour to me

ember nimbus
hasty crater
#

yeah haha

#

coroutine library is rarely used anyway (other than maybe .wrap(fn)() but i see more people using task.spawn)

#

but hey i can inject a little more chaos into every codebase with this, keep the interns on their toes

#

it's a fun way to break type safety because it means that any function that yields can actually just return anything

silk gorge
#

How would I approach making a pogo stick, That can lean without walking and when jumping it would jump into that lean direction?

quaint tree
formal acorn
#

any cheap brainrot packs yall recommend

tardy mason
hardy holly
hardy holly
remote root
#

how to tezst my limits in scripting

neat escarp
#

raycasting hitboxes is the best for hit detection?

formal acorn
#

no

copper spindle
neat escarp
copper spindle
#

My question is also the same @formal acorn

copper spindle
#

And similar stuffs like an bullet.

neat escarp
#

idk im watching few tutorials about it and it is getting confusing very fast

copper spindle
#

You can also use params which is a plus point if you wanna add skills per character or something like that

copper spindle
neat escarp
#

i should prob learn tho 😭

copper spindle
#

Those are the basic things to be learnt before ray casting

#

Those are easier than you think

#

Get familiar with those things first

neat escarp
#

how should i learn them tho?

copper spindle
copper spindle
neat escarp
#

but he never goes in detail about advanced systems

copper spindle
#

@neat escarp yeah, that's understandable get familiar with CFrames first bro.

gray hatch
#

hi guys

#

any ideas of a script i can make for applying to the lua scripter role?

icy bone
#

rojo is killing me bro

#

fucking version mismatch 24/7

alpine dirge
#

real talk

proud bloom
#

do someone know a person that can make a admin absuse panel for me in good price?

austere garnet
granite quarry
#

what is happening

pale rose
#

show me line 10

pale rose
#

Yo guys, do u put all UI in starter GUI , or on replicatedStorage so code can put on PlayerGui?

#

I made a LoaderUI, and code just put on PlayerGui so dint need use stupid WaitForChild all time, and be faster to start

but the UI maker dint like that, so i want to know how u guys made it

empty tangle
#

how do i achieve being able to climb left and right like in the video? is it some sort of configuration that was made to the trusses or is it just a custom climbing system

iron kraken
#

custom

#

climbing is just regular humanoid behavior and u cant change that

#

pretty easy to do tho just get input and move up down left or right

jagged quartz
#

i need someone to help me rq

icy bone
#

@jagged quartz do you need help or are you just saying it

#

for the love of the game

empty tangle
jovial crown
empty tangle
#

depending on if the playercount increases/decreases

jovial crown
empty tangle
#

where did u get that from

jovial crown
empty tangle
jovial crown
pale rose
#

To code is bad for some reasons

jovial crown
hearty lion
pale rose
jovial crown
#

its no differnet than just asking it to code to you

pale rose
#

and yh to tell me where i can found

#

or just simple explain

pale rose
empty tangle
pale rose
#

kk

#

yguys alread use Matter?

#

or saw about ECS

modern mulch
#

for module scripts whats the difference between playerclass.new and playerclass:new

modern mulch
icy heron
#

uh

#

i dont actually know

#

: passes itself though

#

as its first arg or whatever

icy heron
modern mulch
#

like it passes the table?

icy heron
#

basically

#

a.b() passes nothing automatically

#

a:b() passes a:b(a)

weak radish
#

Anyone with 2+ years in luau, what are your rates

icy heron
modern mulch
#

what is the point of passing itself?

icy heron
#

and easier to write sometimes

#

also for metamethods or metatables

weak radish
modern mulch
#

whats the difference between a metamethod and metatable

icy heron
#

but hourly pay is a shitty method for anything code related

weak radish
weak radish
icy heron
#

^

#

but yeah basically it depends on what you do

icy heron
#

methamethods are the functions or whatever

#

metatables hold the functions

weak radish
modern mulch
#

they prob gonna do per day

#

or week

#

or based on the system

icy heron
weak radish
modern mulch
#

oh my fault

weak radish
#

Rn I do partial upfront and milestones for large projects but sometimes it varies

#

but yeah I charge per task

young willow
#

Yo

untold breach
#

tf the Sigmoids functions means

icy heron
#

or am i tripping

untold breach
wild ember
tranquil tangle
#

guys im tryna make a 1v1 fighting game how do i make those queue pads like in rivals or something, i suck at this

heady spire
#

how does contentprovider work, what does preloadasync actually do for animations? do i still need to do load animation on the character animator because im not sure if preloadasync actually returns an animationtrack doesnt seem to return anything

icy heron
#

whats something i can do for my beginner scripter thing

#

idk what i can weite

limpid veldt
#

do you want to buy my system? it's a fps system

weak radish
limpid veldt
#

nope

icy heron
#

😭

limpid veldt
#

no a First Person Shooter

weak radish
icy heron
#

that kind of fps

#

πŸ’€

icy heron
#

thought they meant that

weak radish
south acorn
limpid veldt
#

nuh

bold hound
icy heron
#

Guys

limpid veldt
#

see

#

look in your dms

snow veldt
# icy heron idk what i can weite

for me personally I found that I learnt best by :

  • Watching 1 Tutorial that covers the basics like variables, for loops, while loops etc..

  • Start a basic project, it can be anything as long as it's kind of small like a shooting game

  • When you need something, don't go watch videos that cover the whole system, think about what you need to accomplish it, and research that ONE thing

icy heron
#

My ossue isnt that I just dont know what to script

snow veldt
#

make a game

limpid veldt
icy heron
snow veldt
#

start one game and boom

bold hound
icy heron
snow veldt
#

you will know a million things you need to code

#

that you wouldnt have guessed

icy heron
#

I DONT KNOW WHAT TO CODE

bold hound
#

πŸ₯€

snow veldt
#

fairs

icy heron
snow veldt
#

that is understandable

snow veldt
bold hound
icy heron
#

I mean i have a component based magic system i made but I doubt it counts as complex enough to count so πŸ’”

weak radish
icy heron
#

Don't think it would

bold hound
#

To me, even if you just opened studio once, created one part, you are a developer.

#

Same for every other skillset.

#

I donβ€˜t have high standards.

icy heron
#

uh huh

#

your not a application reader though so irrelevant 😭

icy heron
#

Im sorry veo

#

Oh wait

snow veldt
#

you can do it

icy heron
#

I made a genetic algorithm for this

snow veldt
#

i believe in you .hyprland

icy heron
#

That might count

#

tho I lowk barely tested it

#

eh ill see πŸ‘€

icy heron
hardy holly
errant oxide
rose notch
#

am I the only one who didn't know what task.wait() returns the delta time?
leading to this?

#

this is actually so useful

#

I can yield and do calculations at the same time

wise turtle
#

yes yes

harsh panther
#

Can someone help pls

umbral carbon
harsh panther
cinder temple
harsh panther
#

oh

#

i'm trying to get this button to work in my gameso that it gives u the option to join the group

#

but it isn't working

umbral carbon
#

This is a very valuable skill that you have now gained

west folio
#

I need someone to help me with a pet system script - I can pay robux

echo locust
#

anyone here whos made a skill replication framework for a combat game. How exactly do you write the instructions to make a move or effect happen?

#

do you write as a function in that skill module or?

pallid zenith
#

roblox assistant is really good πŸ˜‚

snow veldt
#

wadda flip

dull bloom
#

What’re some good stuff to make for ur port

ocean crystal
sinful bay
cobalt pewter
#

what is honestly the best way to learn scripting

south bridge
#

start

deft coral
cobalt pewter
#

like

#

yt tutorials

#

or

south bridge
#

yt and docs

wild ember
#

would probably just learn how to install rojo and github copilot and you’ll be good to go

shut harbor
#

who does combat systems

wise turtle
silver night
#

ew type script programmer..

#

just playin

jagged mortar
#

Is anyone here

faint stump
#

no

jagged mortar
#

Hi

faint stump
#

πŸ’€

jagged mortar
faint stump
#

no info

jagged mortar
#

My bad

regal salmon
jagged mortar
regal salmon
jagged mortar
#

I meant for free everyone on there costs a lot

#

And I’m looking for like a team to make friends

regal salmon
#

you're doing it percentage-based, aren't you?

jagged mortar
#

I’m not sure

#

It’s like we all look for who needs a job then all work on it and split the robux and stuff

#

I’m sorry

regal salmon
#

so yes, percentage-based

jagged mortar
#

Yes then

regal salmon
#

hiring in these dev channels isn't allowed, and i don't think sole-percentage projects are allowed in the marketplace either, but you can take a look

jagged mortar
#

Ok I’ll check but where can I ask if not there?

jagged mortar
#

Are you good at lua

#

?

regal salmon
#

i am, but i'm not interested in joining a dev team at the moment

jagged mortar
#

No not that

#

Need some help with a round system

#

But I have no one to guide or help me

regal salmon
#

what are you having trouble with?

jagged mortar
#
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")

local screenGui = game:GetService("StarterGui")
--------------------SETTINGS--------------------
local MINPLR = 2
local INTTIME = 15
local VOTE_TIME = 30
local RTIME = 300

screenGui.VotingGUI.Enabled = false
---------------VALUES----------------------------
local GameStatus = RS["Round Values"]:FindFirstChild("GameStatus")
local TimeLeft = RS["Round Values"]:FindFirstChild("TimeLeft")
--------------------CREATE FUNCTIONS-------------
local function setStatus(text)
    GameStatus.Value = text
end

local function countdown(seconds)
    for i = seconds, 0, -1 do 
        TimeLeft.Value = i -- this references the string
        task.wait(1)
    end
end

local function waitforplayers()
    while #Players:GetPlayers() < MINPLR do 
        setStatus("Waiting For 2 Players")
        TimeLeft.Value = 0
        task.wait(1)
    end
end

local function VoteGUI()
    screenGui.VotingGUI.Enabled = true
    task.wait(30)
    screenGui.VotingGUI.Enabled = false
end
--------Teleports----------------------------------------
local function LTP()
    
end

local function Red_Round_TP()
    
end

local function Blue_Round_TP()
    
end
--Actual System--
while true do 
    waitforplayers() --Checks Player Number
    
    VoteGUI()
    
    setStatus("Vote Time")
    countdown(VOTE_TIME)
    
    setStatus("Intermission")    --sets the UI
    countdown(INTTIME) -- starts the countdown next i need to do the teleport
    
    if #Players:GetPlayers() < MINPLR then
        setStatus("Not enough players returning to lobby")
        task.wait(2)
        continue
    end
    
    setStatus("Round Started!")
    countdown(RTIME)
    
    setStatus("Round Has Ended!")
    task.wait(3)
end```
#

I’m doing my best but don’t know how to do the teleport

jagged mortar
#

Yes

#

Serverscriptservice

regal salmon
# jagged mortar Yes

StarterGui is not how you access player guis, i suggest using a RemoteEvent to fire to clients and handling gui stuff in a local script instead

#

but if you want to directly access a player's gui, it's under Player.PlayerGui

#

StarterGui just contains the templates for the gui

jagged mortar
#

Thanks bro

#

1 more question

#

Do you know anyone that tutors luau for free?

regal salmon
#

or use :PivotTo() on their character model and pass in the target CFrame

regal salmon
jagged mortar
#

Thank you

jagged mortar
regal salmon
#

no problem, you too

plush badge
#

does it exist a bot that does rbx2discord

regal salmon
plush badge
#

not bloxlink or rover

#

Like u type the person robloxuser and it gives the discord user

lavish matrix
#

@regal salmon can I please get some help. I sent the issue video in dms. Because, for some reason it wouldn’t let me send it here.

regal salmon
#

media requires you to be Bronze II level

worn pawn
#

haven't posted in awhile, but made this grid placement system in a few hours tonight and happy with how it turned out. any suggestions on helping reduce bounding box without setting it manually? Or is that the best method?

azure lark
#

is it worth using --!strict on all of my scripts

rapid verge
#

learn the basics with brawl dev
once you've done that start learning CS concepts like datastructures and programming patterns like OOP

then go make systems/frameworks/libraries, things like UI formatters or signal module
everytime you make one, save it to your device

games take too much effort at your stage, your objective is to isolate your learning to scripting

once you're ready to make a game, you can just drag and drop those things in to speed up progress by like 20%

misty bay
weak radish
#

also wdym "writing isn't viable in the current market"? If you're working in a long term project you need to be able to write code otherwise you aren't gonna stay there long lol

dim compass
#

is that intentional?

rotund pawn
#

Currently implementing area notification to my project, when user gets near Point (or in range), they get a notification where they are. What are some easy checks to do?
I do not want to spam server by checking distance from all areas to player, so I might just create local script checking nearest Point and set current area locally

dim compass
#

is it jsut visual or does it affect gameplay for other players

rotund pawn
#

Just a visual "You have entered this area", so I think local script with Server Validation if user is really there (XP for exploring area) is the best approach

#

What would you use to check the distance? Areas are far away, mostly islands

jaunty vessel
#

Any clue on how discord bots like bloxiana take calatog avatar outfit codes n turns takes their item IDs?

dim compass
frail plaza
#

is this the prper way to use bytenet?

rotund pawn
tidal heron
dim compass
#

id still recommend bounding boxes or other spatial queries though

dim compass
#

.Touched relies on the physics engine which would be extremely unstable for this kind of thing

tidal heron
#

i thought calculating the distance all the time would be heavy

dim compass
#

its pretty light

rotund pawn
dim compass
tulip seal
#

In a sort of hybrid combat game. I have 2 options, upon doing any form of attack do bounding box on the playerside and validate on server. Or send a remoteEvent and let the server handle part detection etc. This would prevent exploiting, but cause client delay

dim compass
#

implement some kind of rollback netcode i guess

tulip seal
#

What does that mean?

#

nvm I understand

dim compass
#

server predicts the players input and if its wrong it rolls back a frame or two
but it might be a little too advanced so perhaps the first option?

tulip seal
#

Yeah I'll do that. It does sounds like an interesting topic to get back into though

rotund pawn
#

Okay, also what is the best way to play animation on character?
I want server to FireAllClients(Char,AnimID), is that correct way or are there some sorf of default roblox replication?

dim compass
#

also, playing your animations locally on the client (on that client's character) replicates it to everyone

rotund pawn
cold kraken
#

Hello Everyone, I am a Discord Bot Developer looking to help people who need custom bots! Send me a DM if you would like to ask me something about a bot or you would like one made! Thanks for your time and I hope some people will contact me πŸ™‚ (I can make literally anything.

plucky depot
#

what do i do to make a weapon welded to my character without it being a tool

#

i was thinking just do a starter character with it as the simplest way since my game would eventually have character customization

#

wrong channel fuck

neat escarp
#

what is better for melee combat system , shape casting or ray casting?

plucky depot
#

like aba or something

neat escarp
# plucky depot is shape casting using parts

Shapecasting does not use physical Parts, it is a mathematical "ghost sweep" that calculates if an imaginary 3D volume (like a sphere) touched an enemy along the path your arm traveled between frames.

plucky depot
#

but i found a module called client cast if you wanna look at it

neat escarp
#

i encountered it while learning to make and use combat modules like Raycast Hitbox 4.01 and they said this :
"This resource is no longer supported and has been superseded by ShapecastHitbox. While the library is still usable today, it contains some bugs and performance issues that the original team is no longer addressing. You are welcome to fork the project and publish improvements if you wish."

slender yew
#

why does my rig properly animate in roblox animator but not in moon animator

plucky depot
#

where did they say that

pale rose
#

I was programming and came across an interesting problem: if I were to create a ViewModel, would I have to replicate the character animations in the view?

I believe I can bypass this with Weld or Motor6D, how do you guys do it?

zenith pollen
distant hamlet
humble gorge
#

how do I transfer my game into my group?

quaint tree
quaint tree
#

roblox allows transfers only for 30k robux if the games already published

quaint tree
#

back then u had to contact roblox and pay a 30k fine

humble gorge
#

k

#

I transferred it

obsidian trail
#

@silver night

silver night
#

ok hi

#

so what type of scrolling are you talking about? Because the only "side scrolling" I know of is like, a scroll bar on a UI

#

which is easy to make if thats what you mean

obsidian trail
#

I am an artist, sound designer, and planner. I would like to implement a side-scrolling game, but I am wondering if it is possible. I do not know much about coding.

#

πŸ€”

obsidian trail
#

A simple example would be Metal Slug.

#

This is a side-scrolling action game.

silver night
#

oh so kind of like, doom?

#

correct me if im wrong

obsidian trail
silver night
#

but is it similar?

silver night
#

oh oh

#

yes that'd be possible

obsidian trail
#

oh :D!

silver night
#

Theres a game that has that actually, if I could find it I would link it

obsidian trail
silver night
#

Ill dm you the link

modern mulch
#

when setting up methods do you always need a meta table?

#

or is that strictly for storing data

jovial crown
#

yk u jus copied the great gif right

#

i wouldnt work with u bud

#

you're legit the worst person who wanted to hire someone i've seen lol

#

xd

#

yea bud ur even worse than i thought

#

scope creeping like u can't be serious bud

#

he's unproffesional who can't find any job

quaint tree
jovial crown
quaint tree
#

dont act egoistic

jovial crown
#

i got a bunch of clients lol

quaint tree
jovial crown
#

i never did any of that

quaint tree
#

for luau programmers

jovial crown
quaint tree
#

i cant show you my main got barnished from discord

jovial crown
quaint tree
#

due to a shitass server

jovial crown
#

πŸ’€

#

Sure bud

#

i believe u

quaint tree
#

after my main got barnished

#

its not like im gonna spend my time for some roles

jovial crown
#

it doesnt show his coding listst at all

quaint tree
#

πŸ™

distant hamlet
#

why he got lil maggots on his face

jovial crown
#

he's a scripter and u showing models

quaint tree
#

false

#

no skid is good here

jovial crown
#

u gotta be ragebaiting lol

icy heron
#

sir yes sir

jovial crown
distant hamlet
#

modellers have no power bro

jovial crown
icy heron
#

no

distant hamlet
#

i could just delete one script and the entire game would break

icy heron
#

not yet

distant hamlet
#

if i delete a model u think the game would break?

quaint tree
#

with skids around here

quaint tree
#

if 1 model is gone the entire rgames gone

icy heron
#

if your script references a model

#

itll break because no model

distant hamlet
#

just that script

jovial crown
icy heron
#

your gonna hire

#

me right @peak mist

quaint tree
icy heron
#

so ive been avoiding it

#

yes me

quaint tree
icy heron
#

im a femboy btw if that helps

#

damn

#

your immune to it

quaint tree
#

you are a 4chan user

distant hamlet
#

4chan is ancient

jovial crown
#

buddy ur work terms r horrible and i don't think u got enouigh money

distant hamlet
#

ohio in the big 26

quaint tree
#

cro doesnt even realize it

icy heron
#

πŸ€‘

distant hamlet
#

why mention race

jovial crown
#

he's a%%

quaint tree
icy heron
#

fire him and ill do it for free πŸ™

quaint tree
#

@jovial crown is under 13

distant hamlet
#

all of ur under 13 lol

quaint tree
#

to be censoring ass

distant hamlet
#

like wtf is this convo

jovial crown
#

yuh im out of these brainrotted Chat

quaint tree
icy heron
#

ok but i need a job

distant hamlet
quaint tree
#

even cancer has a better use than yo

#

big yahu

distant hamlet
#

weak ass shot bro

quaint tree
#

πŸ₯€

icy heron
#

please im broke i need a job πŸ™ 😭

quaint tree
icy heron
#

never

quaint tree
distant hamlet
#

how did u know bro

#

shit got me sobbing

quaint tree
modern mulch
#

when setting up methods do you always need a meta table?
or is that strictly for storing data

analog radish
#

yoink!

obtuse shard
#

can someone help me in dms
im having trouble setting animations up and making them work

coral oracle
elfin timber
#

if i have a script that makes random npcs, do i use meta tables or modules to give them functions (e.g. walk, run, attack, sleep, etc.)

wooden harbor
wooden harbor
elfin timber
nova shore
#

who here is good with python

boreal scarab
#

Hey guys, I'm creating an Ultras game. I need helpers.

rancid dagger
#

guys is there anyone who just started and needs some help with scripting

peak jolt
wooden harbor
modern mulch
#

how do you create a key within a key on dictionaries

balmy frost
#

guys, there is a admin purchase popup that keeps happening in my game, does anyone know where do i find the source so i can delete it?

icy heron
#

but uh no dude we dint have your game its physically impossible

balmy frost
candid fox
balmy frost
#

but it def shows for other accounts

candid fox
#

id probably just disable all the scripts in your game then re- enable them and see which is causing it

balmy frost
#

😭

balmy frost
#

cause i cant find it for the life of me

#

i'll pay you 3k robux to find it and delet eit

knotty glacier
#

You using HD?

lost pebble
frail plaza
#

why am i getting this error?

#

nvm

zealous wave
#

Yoo

quaint tree
#

skids

remote hollow
pale rose
#

Hey mans, how yours render smt on client, and use that thing on server?

Lets take exemple a gun, that gun will be render on all client, but this is not interessant to be render on Server, just know some aspects in world, like position

I try to just Make a part in world, and, on client i transform that part in a modelled gun

Idk if is the best way to do that, or if this is really necessary, so.. someaone can help me?

rare cradle
#

how long does it take for the middleman to contact me?

icy bone
bleak glade
icy bone
#

You understood those sentences yoda

#

crazy

pale rose
#

and sorry for bad english, its not my main language

icy bone
#

It's not beneficial for tools.

pale rose
#

Okok, look, lets just ignore the tool part, its really a bad example that i do

Lets focus on how apply that in all other things in game that rlly need that

lapis haven
#

hes not asking if its beneficial for tools he's asking how do people handle rendering on the client but validation on the server

potent igloo
# pale rose yeahh ty

using vfx replication for example:
instead of doing this on the server:

local vfx = game.ReplicatedStorage.VFX:Clone()
vfx.Parent = workspace
vfx.ParticleEmitter:Emit(10)

you do this on the server:

event:FireAllClients()

and this on the client:

event.OnClientEvent:Connect(function()
  local vfx = game.ReplicatedStorage.VFX:Clone()
  vfx.Parent = workspace
  vfx.ParticleEmitter:Emit(10)
end)
#

this is good because when you create the vfx on the server, the server automatically replicates all properties and stuff to the clients, including stuff that the client could have predicted by itself

brazen sphinx
#

holy W πŸ”₯

potent igloo
#

so instead of creating the vfx on the server, its good to tell the clients only small info necessary to create the vfx

#

this will reduce bandwidth and reduce the amount of operations on the server at the same time, which will reduce ping

pale rose
potent igloo
#

so you just replicate the name of the npc, and the cframe

#

and the client renders it

#

but this is gonna be kinda hard to do so you might wanna look into chronos custom replication

pale rose
potent igloo
#

if there are moves that are easy to predict, let the client do it

#

like, if your npc is walking from point A to B, you dont need to replicate each intermediate position between A and B, you just need to tell the clients that the npc is gonna walk from A to B

pale rose
#

Cool, ty , im gonna search about chrono and try to replicate what u say

clever mist
#

does tping anchored parts then unanchoring use less network than tping unanchored

fervent lintel
#

Oh wait

#

anchored parts then unanchoring

im so blind god fuck i got to increase my font size so i can read better

#

teleporting them unanchored then unanchoring would be heavier (though it won't like tank your performance right off the bat ofc)

clever mist
#

so i just tp them unanchored

fervent lintel
#

Ya

orchid arch
#

here is some cancer

fervent lintel
#

i think i will run it

orchid arch
#

its an all opcodes test

#

and a quicksort unit test

fervent lintel
#

uhuhuhuuh.

analog radish
dense spade
warm wave
#

yo, I am having a little problem. I am trying to stop a running local function that has a while loop in it. but I can figure out how

nimble bear
warm wave
nimble bear
#

oh

warm wave
#

slidethread = coroutine.create(slide)

local function startslide()
if not isSliding then
slidethread = coroutine.create(slide)
coroutine.resume(slidethread)
end
end
local function stopslide()
isSliding = false
coroutine.close(slidethread)
end

#

if Humanoid.FloorMaterial ~= Enum.Material.Air then

    if input.KeyCode == keybind then
        startslide()
        print(coroutine.status(slidethread))
    end
        

    
end
if input.KeyCode == Enum.KeyCode.Space then
    if isSliding == true then
        stopslide()
        unslide()
        print(coroutine.status(slidethread))
    end
end
nimble bear
#

WHAT i dont know about coroutine lol

#

idk what to tell u 😒😒

warm wave
#

oh shoot ok, yeah I am learning about it rn lol

#

eh

nimble bear
#

cant u just like

#

put an if

#

or maybe add a multiplier

warm wave
#

i tried so many ways man

nimble bear
#

uhh

#

maybe do it without coroutineΒΏ? πŸ€”πŸ€”

warm wave
#

i tried it with task and that also did not work

nimble bear
#

wait is coroutine where the loop isss st

nimble bear
warm wave
#

ye

nimble bear
#

uhh

#

why not just a normal functionΒΏ?

warm wave
#

it does not work with just called the slide() function and unsilde() function

nimble bear
#

ohhh

pale rose
#

What is corontine

warm wave
#

calling*

nimble bear
#

i see what u trying to do i think

warm wave
pale rose
warm wave
nimble bear
#

why dont you try to add like

#

a value necesaary for the while..

#

and when you cancel it.. the value gets changed

#

and the while doesnt work

warm wave
#

while elapsed < slideDuration and isSliding do
local dt = task.wait(0.1)
elapsed += dt

    slide.Velocity *= 0.7
end
pale rose
warm wave
#

this is what I got for the while

nimble bear
#

oh i see

#

why dont you make the while print the isSliding value

#

that way you can know if its changing or not inside the coroutine

warm wave
#

oh let me try that

#

nope, it true the whole time, does not change when I press jump πŸ™

nimble bear
#

bruh 😒

#

uhh

warm wave
#

i knooowww

nimble bear
#

πŸ₯ΉπŸ₯ΉπŸ₯Ή

#

wait what do u know

warm wave
#

wdym

#

about the script or coding

nimble bear
#

i meant like what do u mean with i knowww

warm wave
#

welp, ima go try to figure out this for the next 5 weeks

#

cya πŸ₯Ή

nimble bear
torn holly
#

Yall, how does one have a mana system in replicated storage without that state being replicated to other clients

nimble bear
#

hUh

#

uhhh

#

i guess you can make the server give it to the only person who should have it

#

instead of using replicated storage

broken grove
nimble bear
#

hi how do you make a ball have a gui?!?!!?!??!!?!?!!??????????? aghhhhhhhhhhh

cold pebble
#

anyone need help wit hcodes?

wraith tangle
#

guys

#

how can i make a sound that well idk how to explain it, sounds globally if you know what i mean

#

im tryna do a gunshot

#

that everybody can hear

#

and that has proximity

copper spindle
copper spindle
#

Yo guys I need help in this

#
-- CHECK IF PLAYER IS ON DANGER ZONE --
local NPC = script.Parent
local HRP = NPC:WaitForChild("HumanoidRootPart")
local DangerZone = game.Workspace:WaitForChild("DangerZone")
local PlrOnZone = {}
local radius = DangerZone.Size.Z / 2

local function isOnZone(plr)
    local Dist = (DangerZone.Position - HRP.Position).Magnitude
    if Dist <= radius then
        PlrOnZone[plr] = true
    else
        PlrOnZone[plr] = nil
    end
    print(PlrOnZone[plr])
end

task.spawn(function()
    while true do
        task.wait(1)
        for _, plr in pairs(Players:GetChildren()) do
            if not plr.Character then
                repeat task.wait() until plr.Character ~= nil
            end
            local hum = plr.Character:WaitForChild("Humanoid")
            hum.Died:Connect(function()
                if PlrOnZone[plr] then
                    PlrOnZone[plr] = nil
                end
            end)
            isOnZone(plr)
            print(PlrOnZone[plr])
        end
    end
end)

#

Yo ! Guys.

How can i check if a player is standing on the danger zone or not. I tried making a table and changing its values. BUt it turned out to be give values unexpectedly

hoary cedar
#

You can also cast a ray downward

rapid verge
copper spindle
copper spindle
copper spindle
distant hamlet
# copper spindle What's that ?
local function aabbvsaabb(p1: Vector3, p2: Vector3, s1: Vector3, s2: Vector3): boolean
    local h1 = s1 * 0.5
    local h2 = s2 * 0.5

    return
        math.abs(p1.X - p2.X) <= (h1.X + h2.X) and
        math.abs(p1.Y - p2.Y) <= (h1.Y + h2.Y) and
        math.abs(p1.Z - p2.Z) <= (h1.Z + h2.Z)
end
copper spindle
#

what is p1, p2, s1 and s2 ?

distant hamlet
#

position and size

copper spindle
#

Oh, okay

distant hamlet
#

of the zone hirbox and hrp

#

make sure they are axis aligned

copper spindle
#

Let me try this

dense drift
#

@fading onyx unban me please

small oak
#

Can someone please help with a GITHUB issue?

copper spindle
small oak
#

Huh?/

copper spindle
#

huh ?

somber vault
#

hello can someone rate my module

#

its not that big

#

its l;ike only 350 lines long

modern brook
#

hey guys...cute_sideeye

#

does anyone... know how to script a moving ferris wheel

somber vault
#

?

verbal forge
modern seal
#

whts with ths

exotic barn
peak jolt
#

uuuuuh wheres ur talent uuuh

verbal forge
#

calm down calm down

#

guyss

tardy mason
half cobalt
#

@modern seal

#

whats wrong with you

covert locust
#

whats a better way to script? right now the way i script is to just put a bunch of shit in and then recode all of it when im satisfied

dense spade
severe gorge
#

iam new to scripting i want to become a pro can yall just me resources for it i have like braw dev beginner and advanced videos can yall help me

keen spindle
#

U dont need to learn from resources

#

Js learn what u want

severe gorge
#

okay

keen spindle
severe gorge
#

you are a learner too?

keen spindle
#

Yepp

severe gorge
#

iam a modeller too tho lol

keen spindle
severe gorge
#

accept my req

polar edge
#

can someone help me i`m creating a jjk based games but i cant figur out how to make domains so i went to jjs and i cant figure out how they do domains without changing the players positions

covert locust
#

basically make a rough draft first

#

im wondering if theres a better way to do this

neat ether
#

An example I can give is making it so when a player uses their domain you can clone a large hollow invisible sphere over their position and tween it's transparency

#

Not saying this is how JJS does it or that it's a particularly elegant way to do it

#

Just giving you an example to go off of

rose notch
#

Whats a good way to add time scale to roblox?

Ive tried this before but the crappy roblox engine has some weird quirks once you start slowing things down too much.

And clues?

#

Another problem with my system before is that, even though you could slow down physics multiple times to create a gradual slow down effect, it would mess up physics and wouldnt be accurate.

bold hound
rose notch
# bold hound What do you mean by *time scale*?

Most game engines have a universal timescale property, which dictates how fast time is moving.

Roblox does not have an option for timescale on physics calculations, except they do because particle emitters have a timescale property which works exactly as I have just explained it.

#

You can do it rn and create a particle emitter, then search for the timescale property,
Then just set it to whatever.

#

But physics is a no go for some weird reason

#

What praysob

rose notch
# static coral make your own physics

That could work if I really put in the time and effort but if I do that I also have to code a custom collision system, and all AssemblyLinearVelocity properties would become useless.

#

Plus why is it so difficult and clunky in the first place

neat ether
#

If you don't mind using it Server Authority basically ensures that the code you use will run 60 times a second and be synced across client and server

rose notch
#

I havent heard of that before

neat ether
#

It's just their official form of Client Side prediction

rose notch
#

Oh

neat ether
#

Adds a method to runservice called BindToSimulation which ensures that everything it runs runs 60 times a second

#

Even if engine has to slow down or speed up to compensate

#

Since you have that consistency you can use it to change your timescale however you want

rose notch
#

Because I think I see where ur going but im not sure

neat ether
#

For example, you want something to happen every 10 frames. You can just use GetServerTimeNow as a clock. Store it as a variable

Then take the difference between the actual clock and the variable, divide it by 10 and math.floor it

#

You'll have a value that changes by 1 every 10 frames

#

That you can do whatever with

#

Doesn't have to be frames

#

Can just use unix time

static coral
neat ether
#

But syncing across clients is kind of a pain in the ass

rose notch
#

Actually is there a way to access the velocity that is applied to parts in roblox?

pastel pine
#

I forgot the property name tho

#

You can also just use velocity force object

nimble bear
pastel pine
#

I'm pretty sure

#

I used it for making a helicopter spin once but that was a few months ago

nimble bear
#

yeah i think thats how conveyors work

copper spindle
nimble bear
#

i was sleeping LOL

copper spindle
#

Then can you try decals or textures. If you don't want the billboards. @nimble bear

#

Maybe textures must work for you

nimble bear
#

yeah but their images depend on where you're watching the surface from instead of always looking the same from all places

#

im trying to make like ender portal thingie

copper spindle
#

Is that part a ball

nimble bear
#

ye πŸ₯Ή

humble gorge
#

W/L thumbnail? spent a few hours on making it

copper spindle
copper spindle
#

Its good but it looks kinda plain

humble gorge
copper spindle
#

Can you try adding anykind of text on the tumbnail like obby at the centre top of the tumbnail

humble gorge
#

and this is the game screenshot

copper spindle
humble gorge
#

it's my first thumbnail btw

copper spindle
#

That's nice bro.

#

I am not complaining about your first try

humble gorge
#

I'm tryna get better

#

it won't affect my mental health because my mental health is already horrible

copper spindle
#

Bro

humble gorge
#

I barely survived the first few days of 2023 and the last week of 2022

#

I couldn't drink water without vomiting when 2023 started

humble gorge
copper spindle
#

Yeah i am not lying its good

humble gorge
#

I won't press esc r enter IRL

#

because my family would be sad

humble gorge
#

I am gonna make the stupidest decision of my life by spending 1k robux on ads

copper spindle
#

Try adding some king of text like OBBY for BRAINROTS

copper spindle
humble gorge
#

ye Ik

#

I would go to sleep rn but I've only been awake for 12h

#

I'm usually awake for 15h