#code-discussion

1 messages · Page 160 of 1

surreal ether
#

that isnt what he asked

#

.

#

thats worldtoscreen function

#

and getting parts that he's looking at

sudden loom
#

Ah i didnt see

lavish dragon
#

who can help me with my shopping system

sudden loom
#

So just deciding which is closer?

surreal ether
#

nope

#

i dont understand myself

#

this guy isnt answering my questions

marble nova
#

what questions

sudden loom
#

Cuz there was 2 things in the circle closer 1 was correct

marble nova
#

i might have missed

surreal ether
#

i just assume he wants to create a circle shaped fov and detect shape of an objects he's looking at

surreal ether
#

and are all baseparts same shape

marble nova
#

the area of search?

surreal ether
#

baseparts?..

marble nova
#

any

surreal ether
#

so theyre any shape?..

marble nova
#

i need to get any parts in the area

surreal ether
#

shouldve said so lol

marble nova
#

i never said anything about the shape of the parts

surreal ether
#

yo udid

marble nova
#

area of a specific shape

surreal ether
#

ill just make you a script that makes a circle from the center of the screen and gets you every part

marble nova
#

a little misunderstanding happened

#

you don't have to, please just tell me what is the best method i can use

dusky rapids
#

anyone know why the trigger is triggering twice even with devounce

prisma mason
#

from what I can tell your debounce variable is not placed correctly

#

hard to tell without formatting

#

ah I managed to get formatting, let me have a look

surreal ether
#
local camera = workspace.CurrentCamera
local FOV_RADIUS = 150 -- pixels

local function isInFov(basepart)
    if not basepart:IsA("BasePart") then return end

    local screenCenter = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y / 2)  
    local screenPos, onScreen = camera:WorldToScreenPoint(basepart.Position)
    return onScreen and (screenPos - screenCenter).Magnitude <= FOV_RADIUS
end

for _, part in yourfolderidk:GetChildren() do
    if isInFov(part) then
        -- do stuff
    end
end```@marble novayou can fuck with micro optimizations if you need
prisma mason
dusky rapids
marble nova
#

in my game i need to run this check every heartbeat tick, and i don't think that checking every single part on the map is a good solution

dusky rapids
prisma mason
#

prints Grass twice?

#

ah I see now

surreal ether
marble nova
#

i originally thought that there might be some method similar to raycast, but which will instead of checking for parts on a single ray, scan a certain region

prisma mason
#

so it's double calling at least the one after grass

dusky rapids
#

oh right

prisma mason
#

hopefully that makes sense

dusky rapids
#

yeah it does

prisma mason
#

you got this lil bro!

dusky rapids
#

omydays

#

all my approaches didnt work

#

what would u have done

#

@prisma mason

mellow geode
#

Looking for a developer that can work with me on the scripting side on a backrooms game. dm me

acoustic prism
#
local debounce = false
killbrick.Anchored = true
killbrick.CanCollide = false
killbrick.Touched:Connect(function(hit)
    while debounce == false do
        debounce = true
        local humanoid = hit.Parent:FindFirstChild("Humanoid")
        humanoid.Health = humanoid.Health - 20
        print("20 damage has been dealt")
        task.wait(1)
        debounce = false
        
    end
end)
 ``` finally my first usefull script
#

i was to lazy to change the properties

ebon jay
#

lol

acoustic prism
#

its a zone if you are in the zone you get 20 damage every sec

#

already found a bug 😔

young rock
#
function Hitbox:_CheckForCollisionsInParts(CollidingParts:{Instance}, Callback:(CollidingCharacter:Model, CollidingHumanoid:Humanoid)->())
    if self.DetectionMode == "Constant" then
        self._CollidingCharacters = {}
    end
    
    local HitboxCFrame = self.CFrame * self.Offset
    
    local ClosestCharacter, ClosestHumanoid, ClosestDistance = nil, nil, math.huge
    for _, CollidingPart in CollidingParts do
        local CollidingCharacter = CollidingPart.Parent
        if table.find(self._CollidingCharacters, CollidingCharacter) then continue end

        local CollidingHumanoid = CollidingCharacter:FindFirstChildOfClass("Humanoid")
        if not CollidingHumanoid then continue end

        if self.TargetMode == "Multiple" then
            Callback(CollidingCharacter, CollidingHumanoid)
        elseif self.TargetMode == "Single" then
            local RootPart = CollidingCharacter.PrimaryPart or CollidingCharacter:FindFirstChild("HumanoidRootPart")
            if not RootPart then continue end

            local Distance = (RootPart.Position - HitboxCFrame.Position).Magnitude
            if Distance >= ClosestDistance then continue end

            ClosestCharacter, ClosestHumanoid, ClosestDistance = CollidingCharacter, CollidingHumanoid, Distance
        end
        table.insert(self._CollidingCharacters, CollidingCharacter)
    end
    if not ClosestCharacter then return end
    
    Callback(ClosestCharacter, ClosestHumanoid)
end

Does anyone see any problems with this method?
and is it too unreadable

acoustic prism
#

the problem is its still printing bc debounce is false

dusty moth
#

wht is the problem for some reason it aint working

tiny grotto
#

how do i make a combat system

stable verge
#

any errors?

stable verge
tiny grotto
#

like a good one

#

with air combos and laddering

vernal peak
#

can I recive the data from teleport thing only from client?

subtle stag
#

Can someone help me first time coding dual daggers, i cant position them...

past rose
#

Guys what are the most important things to learn in scripting? Ive been doing a lot of small projects but i havent learnt anything new in a while so that s why i was asking

glad apex
#

when i make my own Animate script for some reason my idle runs and my run idles why is this how do i fix it

#

(sometimes)

vale flax
worldly sonnet
zenith shore
#

Is it better to use ordered data stores or memory store service for global leaderboards?

subtle stag
# vale flax just weld them to the hands

Yes you can weld them but u need to position them aswell, and i cant position them into the position and rotation that i want without freezing the idle animation

#

and i cant do that

solar acorn
#

made this through scripting, its actually pretty easy. opinions?

#

@cedar stump that looks so good </3

somber vault
#

does anyone know how to make the mouse be able to control a player's arm

#

like when you move the mouse, the arm swings real time with it

#

kinda like the game halfsword

warm nova
#

how do i handle the spam with a spatial query hitbox detecting multiple baseparts of one character, if i break it at first basepart that has a parent that is a valid character then in a situation where there are 2 characters in the hitbox the second one wouldn't get detected (getpartboundsinbox)

cold heron
#

With Blink can I have multiple files to like better separate proto definitions? Im trying it right now and Im getting weird like data mismatch issues and buffer sizes being invalidated. Any tips?

gentle storm
#

i have a function that returns either (boolean and a generic type) OR (just a generic type)
i think typechecker thinks (boolean,T) as a function that has arg of those types
how would i fix that ?

prisma gulch
empty fulcrum
#

anyone know how to prompt a player to invite a certain friend? Like how they do it in ink games where it says ... is online Invite ... It's the roblox notification style

dusty moth
ivory oxide
#

Is there anyway to get animations with root motion or do u gotta move the hrp

vale flax
prisma gulch
vale flax
dusty moth
#

Im not on my laptop rn

warm nova
#

any way to shave some of the 500ms off?

solar acorn
ivory oxide
#

For animations that move the player up down to the side etc do I gotta move the hrp in sync with the animation

vale flax
#

and transparencysequence

solar acorn
silver copper
#

Is anyone interested in funding ugc uploads in exchange for 30% of the earnings? Looking for 10k+ robux funds!

subtle stag
#

Could i go into vc with someone please, its been 4 hours why wont this work

#

All i need is that the 2 daggers weld to the arms and position themselves how they are in the blender file

#

Sounds SOOO simple

proven lichen
dusty moth
#

Ohh alr

proven lichen
# dusty moth Ohh alr

I'd recommend putting it under the MainGame Variable to be accessable across the whole script!

dusty moth
#

Alr thx

proven lichen
#

np

covert gulch
#

full menu with UI tweening, what do yall think? (had to design it how my boss wanted)

covert gulch
dusty moth
proven lichen
covert gulch
# dusty moth Scam

no there wasnt a set price but he said he was "rich rich rich and will pay alot lot lot"

#

ended up giving 200 rbx

proven lichen
dusty moth
#

Lol

proven lichen
#

MINIMUM

covert gulch
dusty moth
covert gulch
#

for future devs to fix

proven lichen
#

bruh

#

offtopic but I'm still learning to script and I haven't been seeing any good jobs for me to work with

covert gulch
#

this was the response to my application a year ago when i was a beginner

#

he was puttin salt in the wound

proven lichen
#

damn

covert gulch
#

i havent applied in 7 months

#

last time i also got declined but i think this time im actually an intermediate

proven lichen
#

You seem pretty good!

#

Also have you noticed that there haven't been any good offers lately?

#

Its just been. 20K ROBUX MUST BE 18+ 2-3 YEARS EXPERIENCE!!!

vale flax
covert gulch
proven lichen
covert gulch
#

just make an unloader script that parents everything back into workspace as soon as the player gets connected

#

(playeradded)

proven lichen
#

lol same

#

But usually I keep it how it is

#

If someone was making something for me all I'd want is readable code and parts that are easy to access

#

everyone has their own styles

vale flax
covert gulch
#

or creating instances and parenting them to workspace

vale flax
#

that's like trying to build complex models using only your script(s)

fleet atlas
#

anyone making a pvp game that alr has some prog

tiny cypress
#

How long it took y’all to learn scripting

bold hound
#

Really depends on your consistency and how you manage your working hours.

proven lichen
#

I looked at tuts and practiced for 5+ hours a day

sturdy stag
#

do yall know any good bot dev that is willing to join a group that codes in js/knows how mongodb works

bold hound
sweet herald
#

Does anyone have any jobs to do in order to get a scripter title i need some portfolio and 200+ line work

median osprey
celest cipher
wintry stone
lapis sapphire
#

Can anyone help me make bubble chat NOT appear 40 studs in the air....

proven lichen
proven lichen
median osprey
#

i added speed blitzing to my game

wintry stone
#

fr, u gonna have the whole president protecting u

#

nah, they wouldn't let u call it out

proven lichen
#

Any ideas for the code application?

#

it honestly could be anything lol

tribal whale
heady radish
#

chat how much do u think making a catalog avatar type system would cost

heady radish
#

uhm

#

😨

proven lichen
#

is this the running thing?

karmic galleon
glass narwhal
#

hey does anyone here have any clue on how build a plane makes their map infinite?

orchid fern
#

is anyone willing to make a gun system for me?? dm for further info

tribal whale
#

Hope this helps 🙂

orchid fern
wary anchor
#

Hope this helps 🙂

median osprey
#

Hope this helps 🙂

orchid fern
#

i get it

somber vault
#

hey guys

#

weird question

#

does any1 know how to make a dead roblox body stay on the ground when their dead

#

like the player itself respawns but their body stays

#

super weird ikr

#

but i wanna test it

tribal whale
tribal whale
# somber vault super weird ikr

Not super weird a lot of games have this implemented it looks better if you add some sort of ragdoll to the character before they die though

#

I would show you but I've got a 1 day ban I have a similar system in my game

somber vault
#

before they die

#

but i suck at coding so uhh

#

wish me luck coding it

#

😭

tribal whale
#

if you coded the ragdoll then this parts the easy part

somber vault
warm nova
tribal whale
# somber vault maybe
game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAppearanceLoaded:Connect(function(character: Model)
        local humanoid = character:FindFirstChildOfClass("Humanoid")
        character.Archivable = true
        if humanoid then
            humanoid.Died:Connect(function()
                local clone = character:Clone()
                clone.Parent = workspace
                clone:MoveTo(character:GetPivot().Position) -- keep it in place
            end)
        end
    end)
end)
#

Tweak this code but this is the basic premise

#

most important part is character.Archivable is set to true, otherwise your clone will just return nil

hollow thicket
#

ae

#

早上好

warm rune
#

can anyone help me how are people able to use infinite yield and fly around my game and also play sound randomly

sudden estuary
#

client has total control over network replication of their character so its pretty easy to fly, they could just use some body mover or anything that make you fly

#

as for playing sounds , it should be an unsecure remote in your game letting them play the sound and replicate

royal moth
#

is it good to do modeling and coding together or should i just focus on one thing

solemn berry
hidden lintel
#

Is anyone here able to help me script something? It’s really urgent. I’ll pay if I have to

celest cipher
warm nova
#

gameplay cutscene

#

for my horror game

#

THEY JUMPIN ME

#

MY RECORDER IS STRUGGLING TO CONTAIN THE GRAPHICS

arctic herald
warm nova
#

imagine getting jump and your key stolen

#

then they force you to play hide and seek with the keys smacking you everytime u grab the wrong key

fallen sierra
#

cuz like im originally a 3d modeller but since i can already do ok or atleast decent stuff in modeling ive been focusing on coding only

arctic herald
#

i’ll play it once it releases if it’s not already

warm nova
#

a lot of cool scenes in this game

#

woman crawling out of tv u name it i got it

arctic herald
#

u have talent bro

#

hopefully your game goes big

warm nova
#

i dont want to put a whole lot of gamepass on the floor randomly around the map for plrs to buy

#

so instead

#

in needed area

#

the gamepass will be promp on your screen

#

seen how "ink game" did their own

#

its clever

austere rover
#

I'm a beginner and curious to see how long it takes to make cool things like this

warm nova
#

the animation took like

#

half an hour to a hour

#

to line up and animate

#

i use roblox built in animation software

#

and dat thing is dogwata

#

but i make it do so yuh

austere rover
#

the animation usually dont take long, how long did it take to code everything in?

#

Im tryna improve my scripting

warm nova
#

i hav the cutscene system

#

premade

austere rover
#

oh

warm nova
#

so the system is already made

#

the animation took long

austere rover
#

that was the main thing i was curious abt, cutscene

warm nova
#

because i had to line them up to match

austere rover
warm nova
#

and add sounds tweaking them to line up

#

sh takes time lil dawg

#

cant do she like that in 10 min

austere rover
#

yeah i understand it bro it took me like 6 hours to make my first interactable npc

warm nova
#

a simple running animation will take like 10 to 15 min

#

a solid looking one

austere rover
#

and i still cant code for the response buttons to work 💀

warm nova
#

to this day am the worse coder

austere rover
#

how long have u been doin this for

austere rover
warm nova
#

just a dude with chare will power

warm nova
warm nova
#

start making bands a year ago

austere rover
warm nova
#

bought a car

austere rover
#

would u say

warm nova
austere rover
#

u made the bag from comissions or from a game?

warm nova
#

nah dawg

#

am a dev that dont do coms

#

just straight games

austere rover
#

how much visits is like enough

#

like to get enough robux to start investing

warm nova
#

dont worry about visits brutha

#

once you monitize good

#

u can have 300k visits and still make a mil robux

#

its the motion in the ocean

austere rover
#

a mil robux is a shit ton of robux wym still

warm nova
#

like the girls say

#

not the size is how u use it...

#

was that it?

austere rover
#

thats like 4k

warm nova
#

with 300k visits which is not crazy amount

#

can still get you 1 mil

austere rover
#

oh

warm nova
#

if u monitize right

austere rover
#

whats free models tho gng

#

am i supposed to know what it is

peak cave
#

its models

#

u can access freely

warm nova
#

yes bro

peak cave
#

in the toolbox

warm nova
#

am not explaining what free model is

austere rover
#

what does that have to do with scripting 😭

celest cipher
maiden acorn
#

are there any good free ragdoll systems or do i have to make my own 💔

spiral jungle
#

Just pick one

maiden acorn
pseudo elk
maiden acorn
pseudo elk
pseudo elk
#

welcome

maiden acorn
#

i cant find any 🥲

#

do any of u know it

rapid verge
#

tbh should i allow OkLab colors or just have the user just input rgb/hex/hsv

steady locust
#

Does anyone have any good advice for noobs like my selfy trying to cuz iw ant to make a VERY simple fighting game with like abilities but ive been watching BrawlDevs playlist

pseudo elk
rapid verge
somber vault
somber vault
#

my game still has the dash system things pon the client, probably should make the server apply the velocity and stuff ngl

compact spoke
#

client should render visually while server has control over their movement

#

and ideally they should just be a table of info on the server

rapid verge
#

true, if you send the data for the projectile like velocity and goal position

the client can perfectly replicate where it will go

compact spoke
compact spoke
#

like either doing everything on the client (why?) or everything on the server (also why?)

somber vault
#

yes do everything in workspace

neat sigil
#

Resources

#

For calculating stuff with physics etc

compact spoke
#

all that the server should be doing for projectile movement is the simulation which is essentially just doing a bunch of raycasts from one position to the next (fast!)

#

on the client where the projectiles are physically rendered there is no need to worry about physics since everything is purely visual

sinful edge
#

Hey I'm looking for a dev that has good scripting experience especially in Luau that could give me tips on improving at scripting and learning fast and in an efficient way. I know the core of Luau and can make some simple mechanics but I am a bit rusty because it's been a while since I coded. If you have some free time to discuss with me I would really appreciate that! Dm me (:

shy flint
#

someone help with ddestruction physics

#

idk how to even get started

grizzled crystal
#

Those are the main 3 things you need to learn to becoming a good coder

#

Basically it's needed for big games as well

hallow crag
#

its just something useful to know

grizzled crystal
#

It is necessary for things like npcs

#

If you dont do it with oop it will be laggy af

#

Ive had over 10k npcs walking and moving around with no lag

hallow crag
#

oop is only used to simplify logic not for improving performance

#

you can still do that without using oop

grizzled crystal
#

You can't though lol

hallow crag
grizzled crystal
#

It would be lagging i guarantee you

hallow crag
#

just use BulkMoveTo and lerp

#

for every npc

#

no need for oop

#

but obv oop makes it easier

#

however not necessary

prime heron
#

whats a good way to script interface for controller players? like how certain real games have u can navigate with the left analogue stick

grizzled crystal
#

Don't controller people have a cursor?

prime heron
grizzled crystal
#

Oh ok

prime heron
#

is there a way?

grizzled crystal
#

There is always a way

prime heron
#

true

hallow crag
prime heron
#

through actual navigation

hallow crag
prime heron
#

wait i can show a clip rq

#

thats using left analogue stick

#

still with the cursor you could say but its non-controllable just left & right

thorn arch
prime heron
thorn arch
#

Nice

tardy hawk
prime heron
tardy hawk
#

sick bro

prime heron
#

thanks

tidal bolt
sudden estuary
fresh stream
#

guys why ts dont work

#

local part = game.Workspace.mypartiso

game.Workspace.mypartiso:Touched:Connect)function()
local r = math.random(0,255)
local g = math.random(0,255)
local b = math.random(0,255)
end)

#

i think im hit in the head

#

idk why i made a variable for the part

fresh stream
#

every time i touch the part it changes color

#

tryna do that

coarse nimbus
#

Why is it Connect)

prime heron
#

^

fresh stream
#

idk

#

what should it be

coarse nimbus
#

( not )

prime heron
#

do .Touched:Connect(function()

end)

fresh stream
#

alr

#

oh alr

#

local part = game.Workspace.mypartiso

game.Workspace.mypartiso.Touched:Connect(function()
local r = math.random(0,255)
local g = math.random(0,255)
local b = math.random(0,255)
end)

#

it doesnt show any errors but when i try to touch the part it doesnt change color

coarse nimbus
#

You aren’t setting the color

prime heron
#

here

#
local part = game.Workspace.mypartiso

part.Touched:Connect(function()
    local r = math.random(0,255)
    local g = math.random(0,255)
    local b = math.random(0,255)
    part.Color = Color3.fromRGB(r, g, b)
end)```
fresh stream
#

ooohh

#

alr

#

works

#

thx

coral oracle
#

I need help why the heck is this happening I dont have these kinda objects in the game. Is it virus?

#

Pls quick help

thorn arch
coral oracle
#

Bruh

#

If there was a script I would

#

Its from Idk

#

Ever happened to anyone?

thorn arch
#

A nameless one it seems

coral oracle
#

How can I check all scripts in game?

#

Is there a tool?

thorn arch
#

Search in explorer

#

ClassName="Script"

placid copper
#

and delete the script

coral oracle
#

should I write space to explorer?

placid copper
#

Try that

coral oracle
#

hm

#

Ok

coral oracle
#

there is no suspicious script

#

I deleted one if it might Imma try now

#

Ig its good now

#

yea

#

thx for help

thorn arch
#

Alr

coral oracle
#

can someone help with another script?

#

Its abit long Idk If I should paste here if yall want I can paste here or dm

#

170

sturdy vessel
#

@placid copper DMs,

proven lichen
#

huh

glacial surge
#

how do i make a building system

#

my scripter quit]

proven lichen
#

I still have a bit to learn so idk 😭

placid copper
visual ruin
#

can some1 tell me why im getting inf yield for trying to find a part in Workspace?

#

even though it's there and everything?

sour vine
visual ruin
#

is using a localscript a problem?

visual ruin
#

just there

polar shore
#

any1 lf sum1 to make their discord server

i can do channels, roles, custom banner/pfp, bots, welcome leave msg, tickets and more

dm me if u are interested and for price

sour vine
toxic pasture
cold kelp
toxic pasture
cold kelp
#

bruh

#

do you know how to code

toxic pasture
#

i only know build

#

and UI

cold kelp
#

so why are you in code-discussion

woeful plover
#

shiftlocking while ragdolled moves your torso

how can I fix this? I tried turning off auto rotate but it didn't fix the issue

is there another property I should disable or something like that?

#

wrong channel

past rose
#

Guys what is OOP?

hallow crag
#

chatgpt exists

past rose
hallow crag
#

if u wanna use oop in luau

#

u needa learn metatables

past rose
past rose
#

I ve heard of that

final ivy
hallow crag
past rose
#

Ty

somber vault
surreal ether
polar shore
#

any1 lf sum1 to make their discord server

i can do channels, roles, custom banner/pfp, bots, welcome leave msg, tickets and more

dm me if u are interested and for price

young rock
#

isnt luau a "functional language"

proven lichen
#

wsp

rustic rain
proven lichen
#

whats happening?

rustic rain
#

nothing iam just looking for someone to test my 2d game

#

first 2d game

proven lichen
#

ill try lol

rustic rain
#

XD

#

it being sent

proven lichen
#

alr lol

rustic rain
#

are you pc?

proven lichen
#

yup

fresh stream
rustic rain
rustic rain
fresh stream
#

aha

#

joke\

median osprey
proven lichen
proven lichen
rustic rain
narrow vault
#
  • wheres your hit parameter
#

in the touched connection

rustic rain
#

thanks

proven lichen
rustic rain
proven lichen
#

Im working on a rbx game rn and im on a laptop lol

narrow vault
#

your laptop will overcook like hell

#

it finna act like its finna be on its last breath

proven lichen
#

fr

#

its on it last cord

somber vault
#

need a scripter with experience who isnt ret to do some tasks for $ dm me

formal crow
#

im in the learning journey of scripting but what is the best way to tackle a project I have no idea how to do? Obv i try to break it down into smaller bits. But should I avoid AI and YT tuts? or what do you guys do if you are given a project and no idea where to start

shut steeple
#

guys i wanna start coding luai but idk where to start 😭

muted canyon
coarse wraith
formal crow
coarse wraith
shut steeple
muted canyon
shut steeple
#

ill try to make a tycoon

#

alr so i read the manuel

muted canyon
#

Read it as u r trying to make the game

proven lichen
proven lichen
proven lichen
formal crow
#

What is Vector3?

#

that just a set of 3 numbers?

#

cause thre is brickcolor3 too

acoustic prism
#

forgetting the wait code in a while loop

gritty grotto
#

My PC explodes

proven lichen
#

brickcolor3 is 3 numbers known as RGB - Red, green, blue. that go from 0 - 255 to choose the color of something

thick fjord
thick fjord
#

for example my position can be describled in x y and z coordinates

#

color can be describled red yellow and green terms

wicked stump
#

Has anyone a task for me, to earn 4k robux? I can script lua and discord bots DM me

tribal meadow
#

Is recreating grow a garden a good thing in your portfolio?

#

Like, is it an appealing project?

edgy mango
#

local part = script.Parent

part.Position = part.Position + Vector3.new(0, 0, 5)

is someone able to tell me why the part wont change position?

edgy mango
young rock
abstract scarab
#

umm, multipying is for cframes

tribal meadow
#

im not really sure tho

tribal meadow
#

mb

#

@edgy mango don't

edgy mango
#

oop

copper sonnet
#

Hi everyone, I need a partner for me to create my lucky block pillars game, I just need help with the ui and some models. I'm willing to share the Robux the game earns with you if can help me out. If you're interested, just dm me. Thanks

young rock
#

also where is it located

edgy mango
abstract scarab
#

if youre running it in the server you wont see the part position changing

young rock
#

but

#

you can put a script and set the runcontext to

#

client

abstract scarab
#

ye

young rock
#

that can run in workspace

#

also if the part is unanchored you may not notice it

edgy mango
#

yea but either way theres no change, I tried going from the server perspective, and client perspective

#

i anchored it

young rock
#

you want it to move on the client side right

edgy mango
#

yep

young rock
#

i mean it should work could you send an ss of the part in the explorer

#

and its children

edgy mango
#

sure

#

@young rock ^^

young rock
#

as i said

#

local scripts cant run inside workspace

#

replace it with a normal script

#

and change its runcontext to client

#

its in the properties of the script

lament pivot
#

How much would yall charge to script this

Ui scripting , block spell deflect system, 12 spells scripted , adding sounds , animations etc to them I got the assets, projectiles scripts. Etc

edgy mango
#

alr

devout plinth
#

I have a CharacterAdded event that stays in luaheap even after the player has left, is this causing a memory leak?

plain jetty
#

Someone help me fix bugs in script i can Pay in robux only

kind shuttle
#

Anyways who wants to be my connection:)

gentle marlin
#

Should I be using a framework for my game? Or should I just make it normally?

edgy mango
# young rock

wait so the runcontext basically does the same thing as a local script?

edgy mango
wicked stump
#

Has anyone a task for me, to earn 4k robux? I can script lua and discord bots DM me

ancient cedar
#

how to make a blender model into a too

static coral
ancient cedar
#

and if it is for combat

static coral
#

then it depends on your hit detection method, and is it a melee combat system or is it guns?

#

also its not a must, special meshes are just more optimized because they dont have collision

#

and they can be scaled more and colored

vernal peak
#

I want to have a table of valid codes inside a module script. How can I access the table in a diff script and check that the player put down the right key?

ocean verge
#

so like this is a code example, 'friend' is being used here but is it not like a seperate class? i thought friend in cpp was like extends like in java with subclasses

#

but friend here is being used in the class itself

stray sphinx
#

Best way to learn scripting?

#

Im learning on mobile

#

Sometimes laptop

static coral
#

if you are on mobile, read docs and watch videos, if you are on computer, code

upper oak
sudden loom
#

😭

copper sonnet
#

Hi everyone, I need a partner for me to create my lucky block pillars game, I just need help with the ui and some models. I'm willing to share the Robux the game earns with you if can help me out. If you're interested, just dm me. Thanks

manic citrus
#

if a game has a mix of loading animation through the animator and the humanoid will it break how animations play

static coral
final forge
#

Should I have players get teleported to a place within my experience whenever a new map is chosen for the next round?

manic citrus
final forge
#

I'm confused on how there are games out there that do NOT teleport the players to a different place, but their game is still optimized?

static coral
static coral
manic citrus
final forge
static coral
static coral
# final forge Is that what most round-based horror games do?

it depends on the game and will differ from game to game. matchmaking and lobbies? use teleports and reserved servers. game that goes on forvever with exception of map and/or gamemode changing? simply use same server with loading and unloading maps

sonic grove
#

guys

#

a question

static coral
# manic citrus

thats just straight up broken or you are not allowed to access it

manic citrus
static coral
barren oriole
#

Lf for anyone making a Roblox deepwoken kind of game game to invest in

final forge
#

different map that is voted upon for each round

thorn arch
#

Just load in the map when necessary

static coral
final forge
#

The issue is guys

#

The lobby in our game has different lighting properties than the maps do

copper sonnet
#

Hi everyone, I need a partner for me to create my lucky block pillars game, I just need help with the ui and some models. I'm willing to share the Robux the game earns with you if can help me out. If you're interested, just dm me. Thanks

final forge
#

I don't want the lighting to get fucked up- right now the lobby and the map are in different roblox files and I've had an issue trying to bring the map into the main game with the lobby already present. @static coral @thorn arch

static coral
thorn arch
#

And import it

static coral
#

or dont have different lighting

final forge
static coral
final forge
blazing jay
#

is there a way you can get a clickdetector to trigger if the user's holding a tool

final forge
#

the different lighting in the different maps really helps our game pop

tropic plume
#

for some reason, whenever i join my roblox on mobile it dosent rotate the screen, and it breaks the game. how do i fix this?

static coral
# final forge why?

you are making extra work for yourself, but if you need the lighting just make it dynamic with scripts

thorn arch
final forge
thorn arch
#

You can change it instantly but sure

final forge
#

That can be adjusted for too?

static coral
final forge
#

And if they spectate someone in the map while they're in the lobby?

final forge
#

dynamic lighting works if they're spectating?

#

wow

thorn arch
#

I mean

#

The game is only rendered on client

static coral
thorn arch
#

So you can just change it on a player by player basis

copper sonnet
#

Hi everyone, I need a partner for me to create my lucky block pillars game, I just need help with the ui and some models. I'm willing to share the Robux the game earns with you if can help me out. If you're interested, just dm me. Thanks

thorn arch
#

Just store the different properties inside a table

final forge
#

Bet

#

So if I were to commission my scripter to do this task for me, what is the easiest way of explaining what I want done to him? @thorn arch @static coral You guys seem like yk what you're tb

static coral
thorn arch
#

Use a module to store the lighting properties

final forge
thorn arch
#

All client side

final forge
static coral
thorn arch
final forge
#

Alr fair enough

#

Thanks for your help guys

surreal ether
barren oriole
#

Y'all I need help I wanna start coding but I don't even know where to start from

copper sonnet
#

Hi everyone, I need a partner for me to create my lucky block pillars game, I just need help with the ui and some models. I'm willing to share the Robux the game earns with you if can help me out. If you're interested, just dm me. Thanks

vale flax
#

-# theres a channel for that

shadow sphinx
#

I have a main menu with a camera pointing at an idle animated guard for the background. I was wondering if anyone would know how to make the main menu background fully animated by making the guard have a shooting animation with bullets flying past to make it look cool.

rapid eagle
tropic plume
#

in having an issue with my roblox game on mobile, whenever i join my phone dosent rotate naturally- and if i don’t rotate it before joining, it breaks. how do i fix this?

chilly drift
#

does anyone know how to make explosions big

#

i forgot

gloomy kiln
#

yo, do i need to put @ loop2y 2024 in my game for copyright or is it unnessescary
?

rapid eagle
gloomy kiln
empty wind
#

does break end only finish the current loop and then continue the script from where the loop ends?

#

and return end finishes the entire script, right?

somber vault
#

@empty wind Common sense

empty wind
fickle canopy
#

who can create bot discord ?

solar acorn
#

u can find ads abt discord bots on there

icy dew
icy dew
#

Not the whole script

empty wind
#

or wait i'm a little confused

icy dew
empty wind
#

i understand

empty wind
#

ty xd

icy dew
#

Haha no problem, glad to help out

pallid sphinx
#

are there other ways to trigger a script in studio besides the command line?

#

like what if I wanted to bring up a custom ui to edit something after double clicking it

autumn bane
#

if im trying to get a full 10k on a roblox gamepass but roblox takes 30% off home much do i need to put the gamepass at

edgy mango
#

what are the differences between Vector, vector2, and vector3?

icy dew
fair copper
#

😼

proven lichen
dapper oriole
#

anyone have some ideas of projects i can make

fair copper
#

pray train pray train eat pray

dapper oriole
umbral carbon
deep chasm
#

do it like you would structure any other organised module

shadow sphinx
umbral carbon
#

Need more details though

deep chasm
umbral carbon
#

Well

#

I could make a GunModule, perhaps a server module

#

And there would be ModuleScripts for each mode

#

Like a design by contract

#

But I need a way to make interfaces

deep chasm
#

no you would just make diffrent classes

umbral carbon
#

Alright

deep chasm
#

you would make a base class, then modifcations of that. for example if you wanted to change the spread or reload time you would modify it from the base class

ripe ether
umbral carbon
#

I need the configurations to be value objects

#

To be more user friendly

umbral carbon
ripe ether
deep chasm
umbral carbon
deep chasm
ripe ether
umbral carbon
#

Alright, you know what, I’ll have to start somewhere, I’ll make like a framework for it

deep chasm
# umbral carbon I know

I advise not to do this in your module, it should all be code base, your server script should handle all of the external values

umbral carbon
#

And it will slowly evolve

umbral carbon
umbral carbon
#

Scrolling and searching through the script is a nightmare

deep chasm
#

using values in 2025 is crazy

#

bro who uses values

umbral carbon
#

I used it for my melee kit

#

No regrets

deep chasm
#

its way slower

#

attributes is the only thing you should be using

#

its like 10x faster than values I think

umbral carbon
deep chasm
#

There would be no need to copy and paste attributes

#

its simple to create

boreal agate
#

guys when i get spawned in the ball with 2 players either only one of them can move or they cant control it at all. what is wrong with the script?
sorry for asking here but no one helps in code-help

umbral carbon
# deep chasm What you mean?

I want to make my own custom weapon tool
I create a tool, but now, I need all the attribute settings, this is difficult to deal with

stoic stag
#

code help is bummy for some reason

umbral carbon
#

I think it’s just fine if I use value objects

boreal agate
umbral carbon
stoic stag
#

and do you have an output

stoic stag
#

also is this a server or local script, should be server

boreal agate
#

server

stoic stag
boreal agate
#

im gonna have to send the video through a link though i dont have nitro

#

ill check again

stoic stag
#

sure

deep chasm
# umbral carbon I want to make my own custom weapon tool I create a tool, but now, I need all th...

Thats the problem, its how your handling your game enviroment, the fact that your copying your values to new objects or weapon tools is the problem. This is not shaming or any disrespect but its just the fact of a basic approach to programming to a more advanced one. You wouldnt need to think about copy and pasting your values other as long as your system is automated, (which you could acheive in a well constructed oop module) You could easily make a settings module for each weapon and it would contain a simple dictionary of every setting that is editable

umbral carbon
#

But yeah, we’re done here

deep chasm
boreal agate
icy dew
#

Value object users make me rage

deep chasm
stoic stag
#

bro

#

dont hate cuz yall weird

deep chasm
prisma sandal
stoic stag
#

bro value objects are not even that bad

split goblet
#

Hi, does anyone know any resources/tutorials I can use to learn how to make an advanced physics train system?

leaden timber
#

Is there any place in here where i can look for people to hire me for my drawing???

charred mountain
stoic stag
#

that sounds too niche

random ginkgo
#

What’s up guys I’m new

stoic stag
#

hello!

random ginkgo
#

Hi

vernal peak
median osprey
thorn arch
#

🗣️

prisma gulch
#

why doesnt my code work? the tween just doesnt play in my while loop, and i dont know why
the print statement happens

pseudo elk
#

local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local Lighting = game:GetService("Lighting")
local cc = Lighting:WaitForChild("ColorCorrection")

local timeInfo = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, true)
local colorInfo = TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.In)

local timeTween = TweenService:Create(Lighting, timeInfo, {ClockTime = 24})
local activeTween -- will hold the current color tween
local busy = false

UIS.InputBegan:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.R and not busy then
busy = true
-- random grayscale color
local rng = math.random(50, 230)
if activeTween then activeTween:Cancel() end
activeTween = TweenService:Create(cc, colorInfo, {TintColor = Color3.fromRGB(rng, rng, rng)})
timeTween:Play()
activeTween:Play()
activeTween.Completed:Connect(function() busy = false end)
print("ok") -- will print once per press now
end
end)

UIS.InputEnded:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.R then
timeTween:Pause()
if activeTween then activeTween:Pause() end
busy = false
end
end)

#

try this maybe this will work

stoic stag
#

@sour raft can you elaborate

#

i’m curious

peak cave
#

i have created a randomly generating world

#

infinite

smoky shale
#

does anybody need bug fixing/system making very cheap prices also maybe for free 🙂

stray oak
#

I need to start the painful process of organizing module scripts from replicated to server so exploiters cannot decompile my entire game, and I have 74 module scripts which some connects to each other :C

plain jetty
#

someone help me fix bugs in scripts for robux?

stoic stag
#

@plain jetty for free

plain jetty
#

Can you show me ur works or smth?

sudden estuary
#

💔

stoic stag
#

i thought you said you needed me to help you fix ur bugs..... just put the script here lol and i help

#

mb i guess i misunderstood

severe cobalt
#

ive only really used replicated for utility modules.. the server systems i just keep in sss and the api/utils I want to keep hidden in server storage

covert gulch
#

you can also use serverstorage

lean patio
covert gulch
lean patio
#

Also obfuscation slows things down considerably, in rare cases it just breaks your script, but it still happens

covert gulch
#

its a stable solution to not get my assets stolen.

lean patio
lean patio
#

Well, i was trying to break it, but some "good" free obfuscators broke down on me just because

hallow crag
severe cobalt
#

I never really bothered with obfuscation.. nothing important should be on the client anyways. Worse they'd take are scripted vfx or smthn.

hallow crag
#

people make anti dex to make it hard for the skids to make scripts

#

for ur game

lean patio
hallow crag
#

same goes for remote spy detections

#

9 times out of 10 if ur game has anti rspy and dex scripters wont touch ur game

severe cobalt
# hallow crag same goes for remote spy detections

ive always had strict checking with remotes mostly to troll skids lol. I use a lot of enums in a module file in repl but something i always did for the fun of it is kick a player if they sent random garbage more than twice in a minute

hallow crag
#

but as long as u have good sanity checks on the server

#

u should be good

severe cobalt
#

which these days, lots of ppl just use muchacho or smthn anyways

hallow crag
#

however alot of games forget to do this

severe cobalt
edgy flax
#

anti rspy should be easy to make

covert gulch
#

we just use get descendants to automatically disable dex explorer

#

overall we find it any solution works, by now most of the community has switched to creating all of the instances in a script anyways, then obfuscating in the final process

minor relic
minor relic
#

i meant toolbox thing but whatever

covert gulch
minor relic
stoic stag
#

but the point is, who wants to go through the torture of doing that?

minor relic
#

even not,any skilled exploiter can reverse engineer it

minor relic
stoic stag
#

actually?

minor relic
#

yea

stoic stag
#

bruh

minor relic
#

same but

#

its the best obfuscation service out there

#

it is

haughty fox
#

nvm wrong channel

minor relic
#

are u talking about the studio obfuscator

#

because clearly u havent seen the exploit env obf

covert gulch
minor relic
#

not wearedevs

covert gulch
minor relic
#

they can modify it

covert gulch
#

or who dont know anything at all

stray oak
#

I think I'll just move things to server storage, my "frameworks" are split apart in many module, so some can be server side

minor relic
covert gulch
hallow crag
minor relic
#

obfuscated code runs slower lol

#

especially on mobile

hallow crag
#

why not

minor relic
#

yeah but im talking about shi like moonveil.cc that makes a print 1mb

hallow crag
#

i see exploiters complaining about anticheats being obfuscated all the time

stray oak
covert gulch
hallow crag
minor relic
#

they cant just disable it

stray oak
stray oak
minor relic
#

client sided can just be disabled most of the time

stray oak
#

infact you just do :Destroy

severe cobalt
hallow crag
#

yeah i dont bother with anticheats personally i just secure my remote events and add sanity checks

stray oak
#

if they want to walk 50 studs per seconds let them 😭

hallow crag
#

what?

#

i said theres nothing wrong with obfuscating client side anticheat code

stray oak
minor relic
# hallow crag i said theres nothing wrong with obfuscating client side anticheat code

local t=game:GetService("Players")local z=t.LocalPlayer local i=hookmetamethod local E=hookfunction local h=checkcaller local C=getnamecallmethod local f=newcclosure local a a=i(game,"__namecall",f(function(t,...)if not h()and(t==z and C()=="Kick")then return end return a(t,...)end))local Y Y=E(z.Kick,function(t,...)if not h()and t==z then return end return Y(t,...)end)

hallow crag
#

oh all g

severe cobalt
minor relic
#

talking about traceback?

covert gulch
stray oak
hallow crag
severe cobalt
hallow crag
#

client side walkspeed detections can easily be bypassed with a simple __newindex hook

covert gulch
# stray oak what does a pitch mean, I'm sorry I'm kinda new to coding

no its in THAT community, basically we all work our ass off to make soccer roblox tools that are later on used in soccer leagues, so a pitch is the admin commands, with the tools & ui, by overall its a complete combination made for a league to use, and after finishing my pitch, my tools, I can sell them for 3K+ robux, but they have to be a version of their own, unlike the other ones.

severe cobalt
#

curse this work wifi from 1986

covert gulch
# stray oak ohhh

the most leaked one is svtama, who later left the community and made RF24

minor relic
#

detecting hookfunction was always easy tho

covert gulch
#

hes truly a genius, made the first ever applicable version

hushed cargo
#

how much should i charge for a plane system

minor relic
#

hey amity

fathom sundial
#

When u move something like a part on the server is there a way to go about processing it on the client so theres no lag its been happening a bit whenever i try moving something at higher speeds so trying to figure out a solution for it

stoic stag
#

either unreliable events which have some delay

#

or you do estimates/prediction/interpolation

#

like you tell the client the movement and it does it for them

fathom sundial
stoic stag
#

if you are talking about constantly updating as in constantly spamming updates from the server, e.g the server keeps sending positions, no

fathom sundial
#

no no

stoic stag
#

but if you for example get the from the server: hey this bullet was fired, animate it, and you give it the direction, and you use run service to animate all bullets each delta/frame, then yea that should work

fathom sundial
#

like the client itself just updates the position to the position of the object being moved by the server

stoic stag
#

yes

fathom sundial
#

alright thank you

stoic stag
#

@fathom sundial

#

you might benefit from something called an ECS

#

entity component system

fathom sundial
#

what is that

fair copper
#

but i think u should never really trust client info

stoic stag
#

you know collection service? you tag a bunch of things, or you create components, and for example, you give things components.
human bob has component: health, movement

and you have a system manage each component

#

so you might have a system that does your client stuff

stoic stag
fathom sundial
#

yeah what i planned on doing was creating a module to move the object server wise and then creating a seperate module to replicate that movement to the client

stoic stag
#

that sounds good

fair copper
fair copper
#

🥀

stoic stag
#

IM TRAINING AN AI ON GOOGLE COLABS F

#

LETS GO

fathom sundial
fair copper
#

replicate it for all clients

#

hmm

#

its fine u try n improvise ig

fathom sundial
# fair copper replicate it for all clients

then comes the problem of which client do i replicate it from, and i think that introduces even more lag because i need to send it from one client to the server, and then to every other client

fair copper
#

ive redesign my combat like 2 times

fair copper
#

or is it just remotevents?

stoic stag
fathom sundial
#

idk much about networkOwnership i heard it did something like that faster but i also heard its very heavy on memory so idk

fair copper
#

not ownership

stoic stag
#

NetworkOwnership is risky

fair copper
#

i mean network modules, like NET or packet module whatever

#

they reduce bandwidth to almost 9

#

0

stoic stag
#

Do you wanna hop on a call? in a VC