#code-discussion

1 messages · Page 263 of 1

severe venture
#

try n = 1, 100000, 1000000000000

quaint tapir
#

your a chud if u use pairs and ipairs anyways

#

0.000001800013706088066

dark juniper
#

Those who use next for iteration….

severe venture
#

only real reason to use it would be if you thought it made the code seem more readable to differentiate between tables with known keys

quaint tapir
quaint tapir
severe venture
#

not really

dark juniper
severe venture
#

i could see the being pretty decent for readability, especially since alot of table manipulation gets kinda messy

quaint tapir
#

i remade error prompt 1:1

#

yall wanna see

violet grotto
quaint tapir
#

what about it

#

its just my ratio on my screen

#

causing the stroke to be buggy

violet grotto
#

👍

solid niche
#

Hello.
Are there any scripters here?

autumn oyster
#

?

#

ipairs is supposed to be the faster one

#

are you using ipairs on a dictionary?

autumn oyster
#

why not just click play, kick yourself, go into the explorer -> CoreGui -> KickScreen

#

copy that and paste it into StarterGui

broken grove
#

all three were on an array

hard sonnet
#

anyone down to fully recreate roblox chat but without the age block and filters

broken grove
#

even pre chat restrictions

hard sonnet
#

just for like 18+ experiences then

autumn oyster
hard sonnet
#

idk

autumn oyster
#

used vape?

broken grove
hard sonnet
broken grove
#

still against tos + no age restrictions there

autumn oyster
#

it’s a small world

hard sonnet
#

just wanna remake it fuck roblox atp 🥀

quaint tapir
hard sonnet
autumn oyster
#

i was a private member

hard sonnet
autumn oyster
#

it wasn’t paid lmao

hard sonnet
#

what

#

istg when i found it it was like 4.99$

autumn oyster
#

no 😭

hard sonnet
#

guh

#

u script?

autumn oyster
#

yea ofc

#

i found a lot of the features that went into private lol

hard sonnet
autumn oyster
#

hell no 😭

hard sonnet
#

i wanna do smth big but i have no idea what to do

#

😭

hard sonnet
autumn oyster
#

got a lot of stuff i’m working on dude

hard sonnet
#

oof

visual mural
#

Anyone wanna help me script game I’m making

fallen sierra
#

i made one a few months ago but it was bad both visually and in terms of code and this new one is better

plush zenith
#

buffer module with resizable buffers 🥴 i don't mind if anyone wants to use it as its nothing more than a utility

export type struct_field = "u8" | "u16" | "u32" | "i8" | "i16" | "i32" | "f32" | "f64" | "string"

local size: {[struct_field?]: number} = {
    u8 = 1,
    u16 = 2,
    u32 = 4,
    i8 = 1,
    i16 = 2,
    i32 = 4,
    f32 = 4,
    f64 = 8
}

local struct = {}
struct.__index = struct

export type struct = setmetatable<{
    _b: buffer, 
    _f: {struct_field},
    _o: {number}
}, typeof(struct)>

function struct.len(self: struct)
    return buffer.len(self._b)
end

function struct.expand(self: struct, positive_field: {struct_field})
    local additional_size = 0 
    
    for i,v in positive_field do
        table.insert(self._f, v)
        additional_size += size[v]
    end
    
    local new_len = buffer.len(self._b) + additional_size
    local new_buffer = buffer.create(new_len)
    
    buffer.copy(new_buffer, 0, self._b, 0)
    
    self._b = new_buffer
end

function struct.shrink(self: struct, negative_field: {struct_field})
    local subtract_size = 0
    local field_size = 0 
    local new_field: {struct_field} = {}
    
    for i,v in negative_field do
        subtract_size += size[v]
    end
    
    local new_len = buffer.len(self._b) - subtract_size
    local new_buffer = buffer.create(new_len)
    
    buffer.copy(new_buffer, 0, self._b, 0, new_len)
    
    for i,v in self._f do
        if field_size + size[v] > new_len then
            break
        end
        
        table.insert(new_field, v)
        field_size += size[v]
    end
    
    self._f = new_field
    self._b = new_buffer
end

function struct.read(self: struct, index: number)
    local current_field = self._f[index]
    local current_offset = self._o[index]
    local len
    
    if current_field == "string" then
        len = buffer.readu8(self._b, self._o[index-1])
    end
    
    return buffer["read"..current_field](self._b, current_offset, len)
end

function struct.write(self: struct, index: number, value: any)
    local current_field = self._f[index]
    local current_offset = self._o[index]
    local len

    if current_field == "string" then
        len = buffer.readu8(self._b, self._o[index-1])
    end

    buffer["write"..current_field](self._b, current_offset, value, len)
end

function struct.buffer(self: struct)
    return self._b
end

return function(args: {struct_field})
    local buff_size = 0
    
    for i,v in args do
        if v == "string" then
            buff_size += size[args[i-1]]
        else
            buff_size += size[v]
        end
    end
    
    return function(data: {any}): struct
        local buff = buffer.create(buff_size)
        local o = {}
        local offset = 0
        
        for i,v in data do
            local len = i >= 2 and args[i-1] or nil
            buffer["write"..args[i]](buff,offset,v,len)
            table.insert(o, offset)
            offset += size[args[i]] 
        end
        
        return setmetatable({
            _b = buff,
            _o = o,
            _f = args
        }, struct)
    end
end
plush zenith
#

nvm don't use it 😭 i forgot to account for something in the expand and shrink function

#

unless you wanna fork it and fix it urself that is. i dont mind if you do that

thorny trench
quaint tapir
quaint tapir
plush zenith
quaint tapir
#

hm okay

plush zenith
#

both that and they are easier to read from and write to

#

so you can store all types of data easily

quaint tapir
#

im still learning about it myself; can you put other data types like tables and numbers in a buffer aswell?

quaint tapir
#

ah okay

#

and in what instance would i use something like a buffer?

plush zenith
#

if you have like a custom character or a custom physics object that you wanna replicate to other clients, buffers are the way to go

#

they are just raw bytes of memory so they will travel across the client and server lightning fast

quaint tapir
#

ok i see

#

thanks so much for actually helping me understand and not just redirecting me to google or calling me a larp

plush zenith
quaint tapir
#

i know. like gosh forbid im not on the same level as you

sinful bay
#

@slow hull

#

You script?

sinful bay
#

Do you script

vernal lynx
#

Best script

#

Ever know

sinful bay
#

@slow hull @vernal lynx

#

Let’s make a tower defense game

#

@slow hull I see your YouTube videos

vernal lynx
sinful bay
#

Keep up the dev vlog

vernal lynx
#

But I can build like low poly stuff

sinful bay
#

Oh dang it

#

Mb b man

quaint thunder
#

is BridgeNet2 recommended nowadays? like should people still be using it

sinful bay
#

@slow hull plsss

#

Let’s make a td game together

vernal lynx
sinful bay
vernal lynx
sinful bay
#

Your style don’t quite match

vernal lynx
sinful bay
#

@slow hull

slow hull
sinful bay
#

@slow hull

#

Come on man stop joking

#

You wanna work together or what?

slow hull
sinful bay
#

Gng ik

slow hull
#

you do NOT have my consent

sinful bay
#

Mb

#

Yo hey dude wanna work on a td game

slow hull
#

i just hearted your video bro i dont wanna work on a whole other project

#

i have other projects to deal with

#

projects that arent brainrot related

sinful bay
#

This isn’t brainrot related? @slow hull

#

This is anime related

slow hull
#

i said im working on my projects and they arent brainrot related

pulsar valve
#

Wait is that Master Wu

slow hull
#

i never said yours was

#

please stop pinging me

sinful bay
#

Okay man

regal salmon
#

this guy 🥀

tacit vale
#

am i doing too much or too little

alpine dirge
#

me changing readme.md 10 times a month to make it look like I'm doing something

onyx locust
#

how do i create a round system

shy cipher
# onyx locust how do i create a round system

wait for players

load the map

spawn players and set up some logic to get them out of the round when they die or something

wait till one of the players reaches a winning condition

end the round (teleport players outside, destroy map, save scores, give rewards)

repeat

#

repeat as in an actual while true do end

echo belfry
#

if anyone wants a free scripter for their game just dm me

chilly canyon
# onyx locust how do i create a round system

wait for players

load the map

spawn players and set up some logic to get them out of the round when they die or something

wait till one of the players reaches a winning condition

end the round (teleport players outside, destroy map, save scores, give rewards)

repeat

quartz wing
# onyx locust how do i create a round system

Make state manager and then link it with a map manager to yk load n unload maps, thena simple player manager that spawns players in map, and can also decide which players can join the round and so

#

With state manager u can lowk add a map selection

#

Or diff thing u want

#

Ig

little rose
plucky yarrow
#

Hi guys

#

anyone want me to help with something

#

I have something I would like to sell copies of if anyone want to know more, dm me

severe venture
#

try being more vague

plucky yarrow
#

what does that mean

#

would you be intertested in knowing what it is d=tho

severe venture
#

are you asking what vague means?

echo belfry
#

yeah no one is messaging you

plucky yarrow
#

Ik it means something like dry

severe venture
#

lol what

plucky yarrow
severe venture
#

wild, you need to read more

plucky yarrow
echo belfry
plucky yarrow
#

I will n dms

echo belfry
#

son 😭

#

u just sound like a scammer

severe venture
#

"hey guys, i have something to tell u about something, dm if u want to know what it is"

severe venture
plucky yarrow
#

it's basically a mine system with screenshake and an explosion

#

🙂

echo belfry
plucky yarrow
#

anyone interested now?

severe venture
#

there are max 20 ppl that are gonna read that

plucky yarrow
#

ah

#

thanks

severe venture
#

dont mention that you're selling it tho, it will get taken down

#

pretty unlikely someone will reach out tho

plucky yarrow
#

just: dm me for more about it?

shy cipher
plucky yarrow
#

?

echo belfry
#

if anyone wants a free scripter for their game just dm me

fossil fable
#

si

keen zephyr
#

is there a way to quickly disable all other scripts instead of having to select each one and did it one by one?

keen zephyr
scenic lichen
#

Then select all and disable in properties

keen zephyr
zinc thorn
#

Who wants to work on a game TOGETHER

strange umbra
#

Anyone here have a brainrot pack

#

For free

hard sonnet
#

anyone wanna remake roblox chat w me

scenic lichen
hazy sandal
gritty sapphire
green moss
viscid veldt
#

hachimi hachimi hachimi

astral rune
#

hey guys

viscid veldt
regal salmon
regal salmon
#

though that person is trying to remove the chat filter and age group restrictions

green moss
#

if you attempt to make a Chat that can bypass The Age groups isnt that against TOS?

regal salmon
#

yup

green moss
gritty sapphire
#

yo guys how do u even build up a portfolio when u dont have one and no games wants to hire you

regal salmon
green moss
#

Novinity a little random but im selling a game for a new project im working on what does fully working games sell for atm?

regal salmon
#

i mean look at my portfolio lol

regal salmon
green moss
scenic lichen
regal salmon
#

but i havent really released anything monetized with unity

scenic lichen
#

Wow

#

Oh

regal salmon
#

i intend to but making games is hard 😔

green moss
#

do you make good from the Minecraft Thumbnails?

scenic lichen
regal salmon
regal salmon
# scenic lichen Is roblox easier to use than Unity? And is it better?

easier? yes
better? that depends
if you want a platform that's easier to reach a large number of players, roblox is where you want to be
unity is significantly more capable and less strict on what you're allowed to do though, since you're distributing to any store you want, so if roblox feels too limiting for you then unity (or another game engine of choice) is probably the better option

median tree
autumn oyster
#

does anybody know how to exclude instances from packages lol

round vector
#

hi

jolly forge
#

guys im trying to make a raycasting gun and it's nothing but just one straight raycast from the head towards the camera's lookvector but the problem is it's delayed like crazy. How would you fix this except making player's hitbox bigger, or is making the hitbox bigger actually works well? I wonder how does other FPS games fix this

regal salmon
peak crystal
#

make gun go brr

#

this bot on a goofy ahh timeloop

jolly forge
peak crystal
#

when click send to server

#

sevrer find player gun attachment I assumed u placed

jolly forge
peak crystal
#

rays from that in a straight line unless u directed it

peak crystal
jolly forge
#

it becomes really noticeable with moving targets or moving shooter

peak crystal
#

?..

#

show me how u are doing it

jolly forge
#

client:

local UIS = game:GetService("UserInputService")
local ReplicatedStor = game:GetService("ReplicatedStorage")


local plr = game:GetService("Players").LocalPlayer
local cam = workspace.CurrentCamera

UIS.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        ReplicatedStor.ShootEvent:FireServer(cam.CFrame.LookVector)
    end
end)

server:

local ReplicatedStor = game:GetService("ReplicatedStorage")
local RunServ = game:GetService("RunService")
local Players = game:GetService("Players")

ReplicatedStor.ShootEvent.OnServerEvent:Connect(function(plr, lookDir)
    local char = plr.Character
    local hum : Humanoid = char:FindFirstChildWhichIsA("Humanoid")
    
    if hum.Health <= 0 then return end
    
    local head : BasePart = char:FindFirstChild("Head")
    if not head then
        warn("didn't found ",plr.Name,"'s head")
        return
    end
    
    
    local rcOrigin = head.Position
    local rcDir = lookDir * 10000
    local rcParams = RaycastParams.new()
    rcParams.FilterDescendantsInstances = {char}
    
    local raycast = workspace:Raycast(rcOrigin, rcDir, rcParams)
    if raycast then
        print(raycast.Instance)
    end
end)
#

i also tried raycasting from client and most of the shots on moving target clent says that it's a hit but server says it's not

peak crystal
#

hm

vivid sorrel
#

Dm me if you can teach me how to use blender and make avatar related stuff, I will pay through crypto/paypal/robux

lapis valley
#

yo

#

guys who can help me to make skiing system

quaint tapir
#

who can help me beat my wife

jade terrace
lapis valley
haughty oar
wise turtle
jade terrace
#

Without frostfall's personal army pulls up

jade terrace
scenic cove
#

is vuuk academy worth it?

wise turtle
scenic cove
#

at all

wise turtle
#

nah

scenic cove
#

aight

jade terrace
#

He has an academy 💀

#

What

#

ig, @scenic cove a better way to actually script is to learn using OSS stuff

#

Stop making wrappers, custom modules when oss exists, people there have spent 10+ years with Luau, C, working at companies, projects etc.

#

And it's a 99% chance their module is better than urs

#

Just use api and script ur game

#

If ur not making a game, why else are u learning luau 😭

jade terrace
#

Or knit

tame ibex
jade terrace
#

Blink, Zap, Chrono (unless npc and for some reason it's breaking anims)

jade terrace
tame ibex
#

ur not wasting time son

jade terrace
#

But oss actually a good server imo

mental grove
#

invite me

jade terrace
tame ibex
visual pasture
#

Is looking through open source modules a good place to start learning some essential practices in coding?

tame ibex
#

no

visual pasture
#

Cause I feel like I always keep practicing terrible coding habits that might make working with actual proper programmers hard

wise turtle
#

iirc

#

if it is set to head

distant hamlet
#

such a larp

distant hamlet
#

contradiction

hoary cedar
#

The lot of Roblox programmers are unprofessional. They can deliver functionally relevant APIs, but their implementations can be lacklustre

distant hamlet
#

true my code be lacking some lustre lately

tame ibex
#

ziffix larpson 🤣

#

jk

distant hamlet
#

lucifer johnny michaelson

#

cool name

#

so whos the father

#

fuck is that ai generated shit

visual pasture
#

Like using Query Descendants twice for two types then inserting them into two tables when I could just use Get descendants to just run through it once and separate it into the two tables during the run.

granite vessel
#

guys can someone tell me their story abt how you learned scripting. even small story would be enough. i want to listen to others and decide what should i do. please and thank you

distant hamlet
#

quit

pine kelp
#

i think i just got born with that knowledge

distant hamlet
#

who lied to bro

scenic lichen
distant hamlet
#

on soebs soul we were

scenic lichen
jade terrace
#

Pings

jade terrace
#

Might help

cosmic isle
#

Does anyone have any other ideas on how to optimize this code?

--!strict
--!native

local ws = game:GetService("Workspace")
local run = game:GetService("RunService")
local plrs = game:GetService("Players")

local p: BasePart = script.Parent :: BasePart
local active: boolean = false
local cf: CFrame = p.CFrame
local pos: Vector3 = p.Position

local CFG_RAD: number = 15
local CFG_DMG: number = 100
local CFG_TIME: number = 2.5
local CFG_SHRAPNEL: number = 8
local CFG_DEBRIS_TIME: number = 3

local ovp: OverlapParams = OverlapParams.new()
ovp.FilterType = Enum.RaycastFilterType.Exclude
ovp.FilterDescendantsInstances = {p}

local function spawnShrapnel(center: Vector3): ()
local pieces: {BasePart} = table.create(CFG_SHRAPNEL)
local rnd = math.random

for i = 1, CFG_SHRAPNEL do
    local part = Instance.new("Part")
    part.Size = Vector3.new(1, 1, 1)
    part.Position = center + Vector3.new(rnd() * 2 - 1, rnd() * 2 - 1, rnd() * 2 - 1)
    part.Color = Color3.new(0.2, 0.2, 0.2)
    part.Material = Enum.Material.CorrodedMetal
    part.CanCollide = true
    part.Anchored = false
    part.AssemblyLinearVelocity = Vector3.new((rnd() - 0.5) * 100, (rnd() + 0.5) * 80, (rnd() - 0.5) * 100)
    part.Parent = ws
    pieces[i] = part
end

task.delay(CFG_DEBRIS_TIME, function()
    for i = 1, #pieces do
        pieces[i]:Destroy()
    end
end)

end

local function detonate(): ()
local exp = Instance.new("Explosion")
exp.Position = p.Position
exp.BlastPressure = 0
exp.BlastRadius = 0
exp.DestroyJointRadiusPercent = 0
exp.Parent = ws

local hits = ws:GetPartBoundsInRadius(p.Position, CFG_RAD, ovp)
local checked = {}

for i = 1, #hits do
    local hit = hits[i]
    local hum = hit.Parent:FindFirstChild("Humanoid") :: Humanoid
    
    if hum and hum.Health > 0 then
        local root = hit.Parent:FindFirstChild("HumanoidRootPart") :: BasePart
        if root and not checked[hum] then
            checked[hum] = true
            hum:TakeDamage(CFG_DMG)
        end
    end
end

spawnShrapnel(p.Position)
p:Destroy()

end

local function loop(): ()
local start = os.clock()
local c_base = p.Color
local c_end = Color3.new(1, 0, 0)

while true do
    local now = os.clock()
    local el = now - start
    local alpha = math.clamp(el / CFG_TIME, 0, 1)
    
    p.Color = c_base:Lerp(c_end, alpha)
    
    if alpha >= 1 then
        break
    end
    
    task.wait()
end

detonate()

end

local function onTouch(hit: BasePart): ()
if active then return end

local hum = hit.Parent:FindFirstChild("Humanoid")
if not hum then return end

if (hit.Position - pos).Magnitude > 8 then return end

active = true
task.spawn(loop)

end

p.Touched:Connect(onTouch)

cosmic isle
jade terrace
#

Ur built different

cosmic isle
jade terrace
#

?

cosmic isle
strong tide
#

if i wanna replicate gui like a loadingscreen do i putin replicatedStorage or still in starterGUI

wise turtle
jade terrace
#

Wth?

slim veldt
#

Hi

wise turtle
wise turtle
#

ohok

jade terrace
#

U maybe hao

#

Pari's-???

#

Idk, idc

wise turtle
#

Paris

jade terrace
slim veldt
#

hello, I made my own working car and i want to add a honking system to it, there isnt any tutorial on youtube. does anyone know how to do this or know a tutorial??

fading cedar
#

can make a car but cant get client interaction to make honk

slim veldt
#

I mean I used a tutorial for a car

#

I did t really make it yeah

#

But you get the point

fading cedar
#

if you want button

#

use gui

#

if you want press key

slim veldt
#

Like keybind is H

round vector
#

rsc so ahhhhh

fading cedar
#

use uis

round vector
#

i saw that

slim veldt
#

Me too

fading cedar
slim veldt
#

Alr

slim veldt
#

I want a tutorial vid or something (i’d rather have that for now then learn allot for 1 thingy)

slim veldt
#

What?

#

How

fading cedar
#

its basics of scripting go learn that

#

not everything on youtube buddy

slim veldt
#

I’d rather follow a tut for now. Rather than learning scripting

#

Ur wierd man

round vector
#

its never too late to get a job

slim veldt
#

I already have one brody

#

I just want a simple tutorial🫩🙏

round vector
#

alr bro hag1

round vector
cobalt patio
#

anyone know if a 3 dimensional frequency table be used to hold more complex data sets?

slim veldt
#

Does he have tuts for making a honking system😭

tacit surge
#

guys my ae doesnt detect rspys and idk why

jade terrace
jade terrace
toxic marlin
#

hes good for beginners

jade terrace
toxic marlin
#

who is better

jade terrace
#

A BOOK.

#

Or forums.

#

No way ur telling me u didn't learn python at school

#

If uk python, uk 90% of luau and any high level lang

toxic marlin
#

? do you think everyone learns python at school

jade terrace
#

I learnt luau at school

jade terrace
#

Y'all complicating it like it's some low level lang like embed

#

Or smth

toxic marlin
#

english isn’t an easy language to learn

jade terrace
toxic marlin
#

that doesn’t make it easy

jade terrace
#

Or know the keywords luau uses

toxic marlin
#

can you speak any type of chinese

jade terrace
#
do
 print("hi")
end
jade terrace
#

Chinese is Not english

toxic marlin
#

lots of people know it

jade terrace
#

A majority of people know Hindi according to ur logic, but wrong, majority know english

jade terrace
toxic marlin
toxic marlin
jade terrace
# toxic marlin ?

Like, most people who speak Chinese, also know a bit of English, but most english speakers don't know chinese

jade terrace
#

Like "ok"

#

"yes"

#

"then"

#

"do"

#

"no"

toxic marlin
#

somehow that means everyone should know how to script

jade terrace
#

They are just lazy

toxic marlin
#

wheres your 1000 ccu game at

jade terrace
#

It all starts with a simple problem and a solution to it

jade terrace
toxic marlin
#

any other copes

jade terrace
jade terrace
#

Or smth

#

U kinda give off the vibes of not knowing luau

#

the vibes of thinking print(a+0) is slower than print(a)

toxic marlin
median tree
#

Bros chronically online on discord and twitter

#

bro forgot to tweet this hour

toxic marlin
#

if so, sorry

median tree
#

wdym I’m reminding you to tweet?

#

it’s been an hour since your last one

toxic marlin
#

no way you do fake robux giveaways 😭

#

LOL

median tree
#

?

dark flame
woven bear
#

GUYS I NEED TO LEARN SCRIPTING

#

I NEED HELP

static coral
#

watch tutorials if you dont know any other language

woven bear
#

Like I'm beginner level

#

I used to take classes b4

#

I was making real games yk those blocks scripts

static coral
#

scratch

woven bear
#

Yea

static coral
#

i dont think scratch is really that efficient

woven bear
#

Any similarities?

static coral
#

just learn actual code

woven bear
#

Alr cuz I needa code since I got no money to hire

static coral
#

learn expressions vs statements, memory, variables, functions, arrays, loops, logic (if statements)

#

actually ignore the memory part its not really that important for roblox scripting

#

the knowledge of those things can be applied to all programming languages tho

#

if u know those things u can learn any language

dark flame
#

he probably doesnt know what half of it means

#

just tell him to start with a youtube tutorial

static coral
#

google exists

#

that is golden knowledge for learning any language

static coral
#

and these are like the basics

#

of every language

dark flame
#

the devforum is like

#

the luau google

#

but better

severe venture
#

or just use the docs

waxen edge
#

I wanna switch to profile service but if it works it works do Ym agree

#

So there’s no point

obtuse nimbus
echo belfry
#

if anyone wants a free scripter for their game just dm me

echo portal
#

local age= 18

if age > 18 then
too old
elseif age < 18 then
perfect age
end

quaint tapir
steady raft
#

I thought it should’ve been age <= 18

karmic wadi
#

I swear this server has no good scripters bro

wise turtle
dark juniper
karmic wadi
dark juniper
#

Don’t expect them to be hirable tho

karmic wadi
#

then whats the point

#

eye candy?

dark juniper
#

they the guys who make ur packages

#

Like knit, signal, etc…

#

A lot of them there

#

But they all do CS stuff outside of Roblox

trail pebble
#

anyone wanna help me make a one piece game?

pure python
#

How much estimated visits will I get for two day 25 ad credits each? (My game is a donation game if that affects anything)

vestal sentinel
pure python
slender yew
turbid socket
turbid socket
hollow solar
turbid socket
dark juniper
wise turtle
#

profileservice is mid

turbid socket
dark juniper
turbid socket
#

I got banned for reacting 🫃 to a message

dark juniper
turbid socket
#

When I see something stupid that’s what I react

dark juniper
#

yea but it makes u look like a deepwoken player

#

which... gets u banned

turbid socket
dark juniper
#

do u play roblox?

turbid socket
#

I don’t play deepwoken

dark juniper
#

well surely you've heard of the community right

turbid socket
#

I’ve seen funny videos of deeepwoken ban appeals but that’s it

#

They can get pretty bad tho ig

wise turtle
#

whats wrong with deepwoken 🥺

dark juniper
#

just how they act honestly

#

maybe I should just say gamer

#

instead of deepwoken player

turbid socket
#

Gamer?

dark juniper
#

just dont be a gamer and ur fine

turbid socket
#

What an insane generalization

dark juniper
turbid socket
#

Anyone who plays a game is bad now?

dark juniper
#

is that ringing a bell yet?

wise turtle
#

stop larping

dark juniper
turbid socket
dark juniper
turbid socket
#

Gamer is so broad

dark juniper
turbid socket
dark juniper
#

what about locked in gamer

wise turtle
#

and u think people who play games are gona get banned

dark juniper
turbid socket
hollow solar
wise turtle
#

quenty 💔

dark juniper
turbid socket
#

I have an alt for Ross tho so I’m chilling

wise turtle
#

u don't read enough messages in oss to understand the skidding that goes on there

dark juniper
#

theres boss spax works for fisch grow a garden steal a brainrot

#

crazyblox, flood escape 2 owner

dark juniper
#

tampered reality, the zo creator

wise turtle
hollow solar
wise turtle
dark juniper
#

i could keep going but like theres also sleitnick

turbid socket
#

Who sits down just to read Ross messages

wise turtle
dark juniper
#

idk it kinda deserves galze

turbid socket
wise turtle
#

i need to keep up with the ross meta

turbid socket
wise turtle
#

like fs+

dark juniper
turbid socket
#

Ik someone that got banned for saying piss

wise turtle
#

crazyblox starred my repo

dark juniper
#

ye hes goat, but like all famous people r there just dont act dumb and ur fine

turbid socket
#

The moderation is so bad and it’s completely based off your reputation in the server

prisma pelican
turbid socket
#

It would be so much better with decent moderation

dark juniper
#

if ur that concerned abt it

wise turtle
turbid socket
prisma pelican
turbid socket
dark juniper
turbid socket
wise turtle
#

hiddendevs moderation is non existent

dark juniper
turbid socket
#

They should at least do warns

#

They never warn

dark juniper
#

thats a good point actually

#

idk why they dont do that lol

turbid socket
#

The closest thing they have is a minimod telling you not to do something

#

But even then they just report to mods immediately most of the time

#

Lowkey I would rather be a LoL player than a Ross mod

wise turtle
#

🥺

wise turtle
#

but if ur entire history has been just trolling then ur cooked

turbid socket
wise turtle
#

let me review your history

turbid socket
#

My theory is that they thought 🫃 was transphobic

#

Cause they’re pretty strict about that typa stuff

dark juniper
#

like really bad

turbid socket
turbid socket
wise turtle
#

yes

turbid socket
#

You didn’t see anything right

dark juniper
#

thats kinda crazy

#

just appeal twin

#

im sure u could probably get unbanned

wise turtle
turbid socket
#

I have an alt tho so I’m chilling

#

Only reason I need Ross is to talk to Marcus

#

Who is also the guy who banned me

dark juniper
#

praying for u

#

🙏

wise turtle
#

redwolf are u a pro oss goat

turbid socket
#

@wise turtle can you give me feedback on my server auth

wise turtle
#

no

turbid socket
#

😢

wise turtle
#

im uninterested in server auth

#

server auth characters*

turbid socket
#

Why

#

Server auth is goated

wise turtle
#

why is it goated

turbid socket
#

Cause it prevents most if not all hacks

wise turtle
#

no it doesn't

turbid socket
wise turtle
#

nope

turbid socket
#

It adds an extra layer of security without hindering smoothness

#

Which is why most fps games use it

wise turtle
#

it hinders smoothness

turbid socket
#

If I were making a fighting game I might not use it tho cause that could get pretty complex

turbid socket
wise turtle
#

roblox's system currently hinders smoothness

#

and also cost massive perf loss

#

when u have more players

turbid socket
wise turtle
#

you can do that

turbid socket
#

I might even switch to pure mouse deltas

wise turtle
#

you can do that

turbid socket
#

So it’s worth it then

wise turtle
#

"most if not all hacks"

#

it stops a minority of exploits

#

that you can mostly mitigate with server side checks

turbid socket
#

Doesn’t rivals use server auth

turbid socket
wise turtle
#

when they talk about server auth in fps games theyre talking about server auth projectiles

turbid socket
#

Movement and everything

#

Also you can probably prevent aimbot with some player sens checks

#

Like if a player hits 2 shots when the opponents are in opposite directions

#

Within a certain amount of time

#

Since this is technically possible you can just not register the hit

wise turtle
#

this is just wrong

turbid socket
wise turtle
#

its client sided prediction + reconciliation which does not prevent most if not all exploits

#

thats just impossible

wise turtle
#

and how stuff is implemented

#

for example you can exploit the networking of a game, or their method of lag compensation

#

or stuff like auto parry

#

there are a lot of things you can do outside of just teleporting

#

XD

#

ESP

turbid socket
wise turtle
#

ok what about esp

turbid socket
wise turtle
#

what about anti recoil

turbid socket
#

Aimbot is just a better version of esp

turbid socket
wise turtle
#

you can't just say everything is a sub category

#

the stuff server auth movement prevents is a sub category

#

ok?

turbid socket
wise turtle
turbid socket
# wise turtle ok?

Aim hacks are literally impossible to fix without kernel anti cheat like riot games so it’s not really a fair argument

#

Server auth makes it like 10x easier and more efficient to prevent stuff like no clipping etc

wise turtle
#

you can fix esp & auto parry

turbid socket
wise turtle
turbid socket
wise turtle
turbid socket
#

Stuff of that nature

wise turtle
#

so doesn't count

turbid socket
wise turtle
#

they do

#

theyre movement exploits

wise turtle
#

what about auto bridging

turbid socket
wise turtle
#

those are different categories

turbid socket
wise turtle
#

its not a fps game thing

turbid socket
#

Player reports can prevent all these things anyways

wise turtle
wise turtle
#

as well

turbid socket
#

It’s like a hierarchy

#

Of exploit prevention

wise turtle
#

its pretty blatant if someone is gonna be flying/teleporting/no clipping

#

and thats stuff that can easily be checked as well from the server

turbid socket
#

Sometimes it can get a little weird

wise turtle
#

if people are like closet cheating

turbid socket
#

Like what if your game has an ability that allows for teleportation

wise turtle
#

for example for auto parry we use invisible enemies that are indisguinshable from players that attacks u every once a while

wise turtle
#

this is a non issue

turbid socket
#

With served with it doesn’t

wise turtle
#

maybe 0.01% harder

turbid socket
#

Server auth you can literally ignore anti cheat for movement

wise turtle
wise turtle
turbid socket
wise turtle
#

maybe 5% of hacks

turbid socket
wise turtle
turbid socket
#

It’s like at least 70%

wise turtle
#

7%

#

at the cost of having to limit ur server's player count and also jittering

turbid socket
wise turtle
#

if you have a dynamic map

#

u would have to have like 50 attributes

#

that synchronize the state of ur map

wise turtle
#

it is indisguishable to an exploit that is detecting an attack

turbid socket
wise turtle
turbid socket
wise turtle
#

they have massive infra compared to u

turbid socket
wise turtle
#

in roblox to synchronize a state u need to use an attribute which replicates to everyone. and its quite unoptimized the way they have implemented it. its also a generalized solution and a specialized solution would be even harder to optimize

#

and in that time u couldve done more important stuff for ur game

wise turtle
turbid socket
wise turtle
#

the reason im not reviewing ur implementation is that i know its skidded

turbid socket
#

It’s pretty hard to implement a 100% reliable anti cheat

#

But server auth lets you not worry about that

wise turtle
#

its not pretty hard

turbid socket
wise turtle
#

its a lot easier

turbid socket
#

Especially flying stuff

wise turtle
#

than implementing working server auth movement that accounts for mispredictions via resimulation

wise turtle
turbid socket
#

it’s like an extra 1000 lines of code

wise turtle
#

its 5 lines of code

turbid socket
#

I meant anti cheat in general

turbid socket
wise turtle
turbid socket
#

Server auth jitter isn’t noticeable unless you have super high ping

wise turtle
turbid socket
#

And in that case Roblox default replication would also be pretty laggy

eternal ridge
#

im new to coding, is there any difference in putting a script into workspace then putting it into serverscriptservice?

turbid socket
#

And possibly pendulum physics which could get a little tricky but nothing too crazy

wise turtle
#

mispredictions happen all the time where client/server states diverge for example if u have a bridge that is activated through an eventt

#

and u must handle that gracefully

#

not very easy to do

wise turtle
turbid socket
wise turtle
#

?

turbid socket
wise turtle
#

a physical bridge

turbid socket
#

Yeah then just make it server authoritive

#

It can only be seen if explicitly told by the server

#

Not predicted

wise turtle
#

its already seen

turbid socket
wise turtle
# turbid socket Idk what you’re trying to say here tbh

lets say you already walk on the bridge and ur client is predicting just fine. then the bridge disappears because of an event. the server will receive that event first and compute that the client is falling while the client is still walking forward so now theres desync. and once the authoritative snapshot comes its gonna rubberband the player. and its not easy to solve this because you need to simulate the client on both the server & client so you can do resimulation later on which means you also need to do ur own collision detection system which is way more engineering effort than needed

#

when u gave an example saying its way easier u were comparing a finished server auth movement system with all the edge cases accounted for to an unfinished anticheat

turbid socket
wise turtle
#

so obviously at that point, its gonna be easier

turbid socket
wise turtle
#

i didn't

turbid socket
#

But in my case server auth is very useful

wise turtle
#

you can do that

fringe chasm
#

@wise turtle

#

Hey

prisma pelican
#

how do i make heartbeat functions trigger at the same rate no matter the framerate (client side)

prisma pelican
autumn oak
#

RunService.Heartbeat will connect whenever a frame is rendered on the client sidr

prisma pelican
cobalt patio
prisma pelican
prisma pelican
broken grove
#

its a method so no connect

#

you pass the method the function and frequency as seen above

#

and I guess you get a connection back for disconnecting

prisma pelican
#

so something like runservice.BindToSimulation(function()

end)

broken grove
#

:

#

not .

#

and after end, if you need a different rate than 60 hz, pass that

#

these are the options

prisma pelican
#

ok thank you

prisma pelican
#

i got an error that says

#

RunService:BindToSimulation() is not supported in this version yet.

#

what do i do about that

gusty pike
gusty pike
#

?

gusty pike
vestal pumice
#

Scripting helpers

#

Paris academy

gusty pike
#

It doesn't look legit

wise turtle
#

what

#

are you trolling

gusty pike
gusty pike
wise turtle
#

im banned from inviting people to that server sorry

vestal pumice
#

How did you get invited

gusty pike
solid garden
#

bro

turbid socket
#

She’ll give it to you probably

rich moat
#

Loleris is pretty goated

static condor
#

ok so i'm thinking of making a mechanism for large scale melee battles where people can join shields and form a testudo sorta formation and im considering the best way to go about this

my idea at the moment:

  • Player 1 starts a formation, each player is allocated 3 slots, one to their left, one to their right, and one behind.
  • Player 2 can join the formation by a popup that appears on Player 1s character, where they can press to join left, right, or behind the player 1.
  • Players are locked in place when they join shields, and are only able to do overhead attacks
  • If enough (>70%) in the formation press their "Advance" button or keybind, or retreat, the formation is pushed forward/backwards by a step by playing an animation and moving the players forward.

thoughts? is this a sound way to go about this?

#

is this going to be as simple for me to implement as it sounds

static condor
#

😭

glass goblet
#

good luck gng

#

You will prob need a decent team to pull that off

paper frost
#

Good luck.

solar juniper
#

When I clone my players character in a script and i try to apply velocity on the hrp, its delayed by like 0.6 seconds before the velocity moves, any reason why and how to fix?

stray minnow
wind sparrow
#

can someone help me with camera scripting thing

#

some guy made cool thing im trying to recreate but idk how he made that camera thingy

weak ruin
#

What do you guys think of code assist

shy cipher
weak ruin
wind sparrow
#

im trying to look for the name, thats it i can code it if i see how it works

shy cipher
# weak ruin Chill yo i just asked 😭

it can barely ever understand context of what you're trying to write, randomly triggers and keeps you paranoid because it just happens, annoying when it does happen, need to give in inputs to stop the preview from showing which completely distracts you from what you were writing, preview is most likely not even related to what you are writing, and overall sucks out all the feeling of joy and accomplishment from using your brains to solve a problem (e.g. ternary logic)

#

personally I have all 3 code assist options turned off

#

the built in assistant is good enough to explain some of the worst API imaginable (like datastores)

#

it's that kinda stuff that you're more prone to forgetting than not understanding which the AI is arguably useful for (not code assist though)

weak ruin
shy cipher
#

I think code assist just makes you dumber

instead of being forced to understand common but difficult math (like vector math in vehicles or projectiles) it takes the common solution and shoves it in your face without giving any reason as to why it works (and overall saps away any benefit of code assist and makes you a skid instead of a scripter)

#

AI isn't bad but like don't let it do your work for you, it's a tool

#

it feels much better to know what each component of a formula or equation does than just asserting "it works because it works", like that linear interpolation formula (most simple tween formula)

onyx seal
#

whats the best way to learn luaU

#

almost done with the basics but i still feel like there is alot i am confused about

#

🙏

silver root
#

I'm building a incremental game that spawns models with a floating animation that you would collect as currency. Would spawning them with animation be more effective than tweening the position for a script-built animation and if not how would i go about making them spawn in locally for just you with a floating animation

static condor
#

spawn them on server and animate them locally

#

the server sees a static model that can still be interacted with by the player but the heavy processing is handled via the client (making it jump jiggle bounce or whatever u wanna do with yo freak models)

weak ruin
shy cipher
weak ruin
shy cipher
#

it's bad for that too

#

whenever I use code assist, it keeps trying to make variables and references of things that don't exist

#

I never made a workspace.Part that it wants to use so bad

weak ruin
shy cipher
#

it doesn't trigger when I want it to, works on its own and is generally annoying because I want to see what I'm writing and not what it wants me to write

weak ruin
#

Actually if so was there something like an autocomplete in studio, the only thing i remember is ;require

#

(Btw a must have plugin if you dont want to be miserable)

shy cipher
#

I want to be able to give custom variable names to the services I want to call

#

like I don't do local ReplicatedService I do local RS

#

I don't like having to go back to the variable name to change it back to RS

wispy lion
#

Hey

shy cipher
autumn ermine
#

here’s the thing, skids have no idea how to code

#

I do

chilly canyon
strong tide
#

i like coding

quasi urchin
#

guys does anyone know how to make it so your right arm gets blown off (i know how to do that) and then you can't use any tools (you know that one thing that always happens when you're near an explosion). I assume it's joints just not which ones it is?

merry forge
#

yo how do i get ride of this

#

i forgot

deft coral
#

What the fuck is that

scenic lichen
indigo torrent
merry forge
#

shift insert

indigo torrent
warm glacier
#

any good programmers?

mystic ether
#

Yo guys, somebody know how to make an anti-cheat system for game that has like explosion and stuff like that, I really don't know from where should I start

warm glacier
#

@deft coral

indigo torrent
warm glacier
indigo torrent
mystic ether
visual lagoon
indigo torrent
warm glacier
visual lagoon
indigo torrent
warm glacier
visual lagoon
#

looks weird

warm glacier
#

so ima just make a post

visual lagoon
warm glacier
#

cuz uae banned chat

visual lagoon
#

😢

strong tide
#

@fervent belfry

visual lagoon
#

why you ping bot

somber vault
median tree
strong tide
#
if statement == true then error("statement not true") end 
end```
dire cave
#

How do I code?

gusty pike
pastel pine
#

I've tested this on alts that aren't verified

#

My game actually uses a script that notifies you by chat who you can talk with

#

Nice try

jade terrace
#

Yay💔😋

pastel pine
#

I wasn't claiming I made it I took it off the dev forum

jade terrace
#

Dev forum is filled with weird larpers

pastel pine
#

I'm not making everything myself if someone's done soemthing I want to make ill just use that instead

jade terrace
#

Whatever ur using is bad

#

It's a wrapper 💔

pastel pine
#

It works fine

#

No issues as far as I can see

#

Ur just weird

gusty pike
frosty sorrel
#

guys i have game have so much problem i want one to help me

frosty sorrel
balmy stump
#

whats the issue son

strong tide
#

is cframe.new relative to the origin point (0, 0, 0) or the object's position?

frosty sorrel
balmy stump
balmy stump
#

give me details

frosty sorrel
glad panther
mossy lynx
#

gn gng

#

ye dont mess wit me or my gang

quaint thunder
#

how to lua

strange umbra
#

Script = work bugs = no bugs game= finsihed

#

Ez

true oriole
#

I was wondering if anyone can help me figure out a way of trying to handle like more than 7 click detector connections or connections in general and if its better to handle it on server or client?

sturdy turtle
#

Anyone got a good idea of a game like twenty one as in your on a conveyor belt and you have to spell a letter correctly for hangman

regal salmon
# true oriole I was wondering if anyone can help me figure out a way of trying to handle like ...

whether or not you handle it on the server or client depends on your use case. if you're running code on the client from the click, then handle it on the client, and vice versa
as for handling it better, if a lot of them do the same thing or something similar (e.g. running the same function with different parameters), then you could loop through all of them and run that function for each connection in one script rather than an individual script for each

sharp gulch
#

guys i made a dash system

sturdy turtle
#

Anyone got a good idea of a game like twenty one as in your on a conveyor belt and you have to spell a letter correctly for hangman

true oriole
# regal salmon whether or not you handle it on the server or client depends on your use case. i...

yea thanks, I got the one script/individual as I have currently a module thats ran on server to handle everything, just worried about the tweening that I'm doing in the same module that's impacting bandwidth, probably memory too with all the connections but I'm not sure if I should go client client as I want the change to happen across all clients
previously before commenting, I was thinking if a client -> server -> all clients was possible but it seems unrealistic

regal salmon
#

lerping might be the better option to keep sync

sharp gulch
#

"lerp"

true oriole
chilly canyon
humble sparrow
#

fuck

#

thats rly zoomed out

#

Good Notes?

chilly canyon
#

You should also add libraries

torpid scroll
#

I need advice of how i could learn lua within like 3months to the point i can make a game

narrow ice
nimble star
#

Is there any free courses for learning lua

buoyant junco
visual lagoon
weary socket
#

If you want articles and text lessons then lua 5.1 docs may help

nimble star
cloud wadi
#

anyone know how to make a coin that ups leader stats

solar inlet
#

Guys what’s the best way to make a terraria like hitbox? So like when something touches the hit blade not as soon as you swing it

solar inlet
#

And what is the best way to detect the hit? Just .touched?

solar inlet
hot gulch
visual lagoon
brittle cosmos
#

Does this new teleport logic block gamejoin requests at the api level?

#

oh its not letting me send its the new teleport settings in the blog post ehre


We’re excited to announce a revamp to Teleport controls as well as an explicit control for enforcing server-side Teleports. This would be especially applicable for experiences where places are locked behind progress and you don’t want players to skip content (e.g., skip in-game dungeons to jump straight into a treasure vault place).

Previously, we had the “Direct Access to Places” control with an on or off state.

Off state- the place can be joined via teleports originating within the same Universe only, but allows for insecure client-initiated teleports.

On state- the place is further open to joins by all other methods - including teleports from other Universes. It continues to allow for insecure client-initiated teleports.

Allowing Teleports to be triggered directly from the client (via LocalScripts) is insecure because it allows for exploits to bypass in-game logic.

As such, we are replacing “Direct Access to Places” with 3 settings to give you more control and secure your experiences if you so chose:

Fully Open - Place is joinable by all means - including insecure client Teleports from any Universe, deep links, game invites, joining a user from their profile, and more.
This is equivalent to “Direct Access to Places” on-state - it will be the default setting.

Limited to same Universe- Place is joinable only via Teleports from within the same Universe - including both insecure client Teleports and secure server Teleports.
This is equivalent to “Direct Access to Places” off-state.

Secure within Universe only- Place is joinable only via secure server Teleports within the same Universe.```
hasty hawk
#

Hi i wanna advertise my game.I only have 773 rubux what should i do?

idle stream
hasty hawk
#

what?

#

It wont even appear if you search it

#

Gtg bye