#code-discussion
1 messages · Page 160 of 1
Ah i didnt see
who can help me with my shopping system
So just deciding which is closer?
what questions
Cuz there was 2 things in the circle closer 1 was correct
i might have missed
i just assume he wants to create a circle shaped fov and detect shape of an objects he's looking at
what shape is it precisely
and are all baseparts same shape
baseparts?..
any
so theyre any shape?..
i need to get any parts in the area
shouldve said so lol
i never said anything about the shape of the parts
yo udid
area of a specific shape
ill just make you a script that makes a circle from the center of the screen and gets you every part
a little misunderstanding happened
you don't have to, please just tell me what is the best method i can use
nah its easy
anyone know why the trigger is triggering twice even with devounce
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
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
seems fine debounce-wise, are you calling LoadChunk twice on the same ChosenChunk
well but what if i have a ton of those parts that can potentially satisfy the conditions all across the map, is there a way to find those without iterating through all of them?
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
first for initial so grass is the first
you can? but then you need a max range in studs from camera that the script will detect in
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
you're calling LoadChunk on Grass, I assume Grass has a nextChunk which loads inside the LoadChunk() call... but you're also calling LoadChunks() on chunks ahead
so it's double calling at least the one after grass
oh right
hopefully that makes sense
yeah it does
you got this lil bro!
Looking for a developer that can work with me on the scripting side on a backrooms game. dm me
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
i never did code this is so confusing
lol
its a zone if you are in the zone you get 20 damage every sec
already found a bug 😔
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
Good
the problem is its still printing bc debounce is false
wht is the problem for some reason it aint working
how do i make a combat system
any errors?
youtube
can I recive the data from teleport thing only from client?
Can someone help me first time coding dual daggers, i cant position them...
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
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)
just weld them to the hands
any errors
Is it better to use ordered data stores or memory store service for global leaderboards?
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
made this through scripting, its actually pretty easy. opinions?
@cedar stump that looks so good </3
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
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)
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?
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 ?
what issue are you having with your code
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
It just doesn't work
Is there anyway to get animations with root motion or do u gotta move the hrp
is my discord not loading or js this just what you made
Does it give any errors?
use prints to narrow down where the issue is coming from
Im not on my laptop rn
any way to shave some of the 500ms off?
😭 err thats loaded
For animations that move the player up down to the side etc do I gotta move the hrp in sync with the animation
Is anyone interested in funding ugc uploads in exchange for 30% of the earnings? Looking for 10k+ robux funds!
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
The "local touch = " is created after all the touch variables are used!
Ohh alr
I'd recommend putting it under the MainGame Variable to be accessable across the whole script!
Alr thx
np
full menu with UI tweening, what do yall think? (had to design it how my boss wanted)
Looks pretty good!
only got 200 robux for it 😔
I agree
Scam
fr
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
Something that good should be 1k robux
Lol
MINIMUM
(atleast he was pleased with the standalone menu and easy debugging)
Agreed
for future devs to fix
bruh
offtopic but I'm still learning to script and I haven't been seeing any good jobs for me to work with
this was the response to my application a year ago when i was a beginner
he was puttin salt in the wound
damn
i havent applied in 7 months
last time i also got declined but i think this time im actually an intermediate
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!!!

uh yeah you can actually do this
wth
just make an unloader script that parents everything back into workspace as soon as the player gets connected
(playeradded)
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
but why go through the trouble of doing that
if you want to do that then thats the only way
or creating instances and parenting them to workspace
that's like trying to build complex models using only your script(s)
anyone making a pvp game that alr has some prog
How long it took y’all to learn scripting
For me it took around 1 year to two.
Really depends on your consistency and how you manage your working hours.
like a month
I looked at tuts and practiced for 5+ hours a day
do yall know any good bot dev that is willing to join a group that codes in js/knows how mongodb works
Now that’s determination.
Does anyone have any jobs to do in order to get a scripter title i need some portfolio and 200+ line work
😭
Can anyone help me make bubble chat NOT appear 40 studs in the air....
lol thx
I saw that a bit ago lol.
i added speed blitzing to my game
fr, u gonna have the whole president protecting u
nah, they wouldn't let u call it out
interesting conversation you got going there
chat how much do u think making a catalog avatar type system would cost
393984k
a train?
hey does anyone here have any clue on how build a plane makes their map infinite?
is anyone willing to make a gun system for me?? dm for further info
No
Hope this helps 🙂
dude
No
Hope this helps 🙂
No
Hope this helps 🙂
i get it
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
Clone the character and place it in the workspace
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
yea i have a ragdoll
before they die
but i suck at coding so uhh
wish me luck coding it
😭
if you coded the ragdoll then this parts the easy part
heres the code for the ragdoll
maybe
ew
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
tyty
can anyone help me how are people able to use infinite yield and fly around my game and also play sound randomly
use infinite yield?
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
is it good to do modeling and coding together or should i just focus on one thing
Is anyone here able to help me script something? It’s really urgent. I’ll pay if I have to
gameplay cutscene
for my horror game
THEY JUMPIN ME
MY RECORDER IS STRUGGLING TO CONTAIN THE GRAPHICS
they jumping me bruh help!
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
are u already good in one of them or not really
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
it looks fun
i’ll play it once it releases if it’s not already
yessir
a lot of cool scenes in this game
woman crawling out of tv u name it i got it
hopefully man
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
How long did this take to make?
I'm a beginner and curious to see how long it takes to make cool things like this
i have a premade cutscene system
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
the animation usually dont take long, how long did it take to code everything in?
Im tryna improve my scripting
again
i hav the cutscene system
premade
oh
that was the main thing i was curious abt, cutscene
because i had to line them up to match
damn
and add sounds tweaking them to line up
sh takes time lil dawg
cant do she like that in 10 min
yeah i understand it bro it took me like 6 hours to make my first interactable npc
and i still cant code for the response buttons to work 💀
i learned from free models
to this day am the worse coder
how long have u been doin this for
whats that
just a dude with chare will power
...
couple years
start making bands a year ago
? what is it tho
bought a car
yuh
u made the bag from comissions or from a game?
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
a mil robux is a shit ton of robux wym still
thats like 4k
im saying
with 300k visits which is not crazy amount
can still get you 1 mil
oh
if u monitize right
yes bro
in the toolbox
am not explaining what free model is
what does that have to do with scripting 😭
are there any good free ragdoll systems or do i have to make my own 💔
There’s like 300 open sourced ones
Just pick one
any recommendations? i need a good r15 one
free ones exist on toolbox, but most are kinda mid — if you want smooth R15 ragdolls that don’t break animations, you’re better off making your own or tweaking an open-source one so it actually works well.
i could tweak one yeah but making my own.. well idk 😭😭
fr just grab a decent open-source R15 ragdoll, clean up the joints/constraints, and add your own death/knockback triggers , way less pain than building from scratch
alrightt ty
welcome
i cant find any 🥲
do any of u know it
tbh should i allow OkLab colors or just have the user just input rgb/hex/hsv
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
just start super basic man, like one working punch or sword, then toss in 1–2 abilities (dash, fireball or whatever)
keep the code clean w/ modules, use remotes so animations + effects sync, and don’t overthink hitboxes—just do a simple range check
watch brawldev for refs but don’t try to copy the whole thing at once, get a barebones thing working first then build it up
if you're making a combat system
the server should have full control over everything like damage, attack type, blocking etc.
and the client only should send requests to the server on what it wants to do
and receive back data for UI or vfx
i see way too many beginners either have the client handle data it shouldn't even ahve access to
or have the server handle VFX
i remember trying to make datastores on the client
rip lol
true
my game still has the dash system things pon the client, probably should make the server apply the velocity and stuff ngl
also projectiles
client should render visually while server has control over their movement
and ideally they should just be a table of info on the server
true, if you send the data for the projectile like velocity and goal position
the client can perfectly replicate where it will go
i (for some reason) see a lot of one or the other when it comes to them
lol
like either doing everything on the client (why?) or everything on the server (also why?)
yes do everything in workspace
Server takes up a lot of respurces
Resources
For calculating stuff with physics etc
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
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 (:
Learn remoteevents, modules, and OOP
Those are the main 3 things you need to learn to becoming a good coder
Basically it's needed for big games as well
OOP is not necessary at all
its just something useful to know
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
oop is only used to simplify logic not for improving performance
you can still do that without using oop
You can't though lol
???? so what thats got nothing to do with oop
It would be lagging i guarantee you
just use BulkMoveTo and lerp
for every npc
no need for oop
but obv oop makes it easier
however not necessary
whats a good way to script interface for controller players? like how certain real games have u can navigate with the left analogue stick
Don't controller people have a cursor?
yea but i wanna do it through left analogue
Oh ok
is there a way?
There is always a way
true
why? roblox has a built in cursor for controller players
i think it would look more appealing
through actual navigation
console players are a minority so i dont think it really matters tbf
depends on the game
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
That's actually really cool
yea i just figured it out and made it better
Nice
for controller?
yea
sick bro
thanks
in reality, it's just problem solving - knowing what tools to use for your specific use case
what do u find difficult
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
what are u tryna do
Why is it Connect)
^
( not )
do .Touched:Connect(function()
end)
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
You aren’t setting the color
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)```
im using math.random
ooohh
alr
works
thx
I need help why the heck is this happening I dont have these kinda objects in the game. Is it virus?
Pls quick help
Go to script that is giving the warnings
Filter using the explorer
and delete the script
there is no suspicious script
I deleted one if it might Imma try now
Ig its good now
yea
thx for help
Alr
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
@placid copper DMs,
what the fuck 😭
I still have a bit to learn so idk 😭
ahahahaha
can some1 tell me why im getting inf yield for trying to find a part in Workspace?
even though it's there and everything?
wdym
can you show me?
u cant use WaitForChild() for a part that will appear after more than 1 second
ive tried EVERYTHING
is using a localscript a problem?
its a part in workspace
just there
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
u have to put it in the code where u make it appear
how do i do this police lightbar system
while loop
wdym?
so why are you in code-discussion
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
Guys what is OOP?
My bad bro thought this was a code discussion channel
well oop stands for object orientated programming
if u wanna use oop in luau
u needa learn metatables
How did you learn luau? With youtube and gpt ?
thinking of data as objects
Dive into the OOP paradigm and how it works within Luau.
For more, check out these links:
https://create.roblox.com/docs/luau/metatables
https://luau.org/typecheck
Chapters:
00:00 Intro
00:24 What is it?
01:36 Why do I care?
02:01 How do I it?
02:31 Example
03:25 Tangent
04:07 Example pt 2
09:59 When should I use it?
Ty
Warning for trolling
luau doesnt have true oop
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
isnt luau a "functional language"
wsp
yo
whats happening?
ill try lol
alr lol
are you pc?
yup
no i just forgot to make it like so it assigns the colors
here
i didnt understand a single...word.
no im just thinking how the fuck do u look at that and think it would work
theres no color changing property
its pretty good!
spaghetti
you tested it already?
thanks
I tried a bit
thanks
Im working on a rbx game rn and im on a laptop lol
never ever make high quality gaems
your laptop will overcook like hell
it finna act like its finna be on its last breath
need a scripter with experience who isnt ret to do some tasks for $ dm me
watchu need
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
guys i wanna start coding luai but idk where to start 😭
Try to make a small game and read the Roblox studio manual then u could use chat gpt for code for dont js copy and paste, understand the code itself
you shouldnt avoid them because eventually you will use them but try to not rely on them heavily, and for any new game try making a working prototype and then go off that
But for example. i want to make a coin pickup system. The core logic is coins spawn on ground, coins spin, player collects the coin and then it disappear, sound plays, +1 in leaderstats. I do not know how to make a part or mesh spin. How do i learn something specific like that without a tutorial?
google it, you will prob find alot of devforum posts about it
kk ty what kind of small game tho ?
Try to make a tycoon or a simulator or smth, js do smth simple
Read it as u r trying to make the game
Start with simple tuts and then use the roblox dev site and look through other scripts to learn thaats how I do it!
Use the roblox dev site and tuts
Try to understand this. You can use this to make your coin spin
Yeah i looked up forums and read about the orientation.
What is Vector3?
that just a set of 3 numbers?
cause thre is brickcolor3 too
sometimes I forget too
My PC explodes
like position, size and rotation for 3d objects.
brickcolor3 is 3 numbers known as RGB - Red, green, blue. that go from 0 - 255 to choose the color of something
I alwayds remind myself to do that
its 3 quantities which describe something
for example my position can be describled in x y and z coordinates
color can be describled red yellow and green terms
Has anyone a task for me, to earn 4k robux? I can script lua and discord bots DM me
Is recreating grow a garden a good thing in your portfolio?
Like, is it an appealing project?
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?
multiply it
don't add it
alright
why multiply vector3s?
umm, multipying is for cframes
im not really sure tho
oop
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
is this a server script or a local script
also where is it located
local, and its located inside of the part
if youre running it in the server you wont see the part position changing
local scripts dont run in workspace
but
you can put a script and set the runcontext to
client
ye
this pretty much makes it a local script
that can run in workspace
also if the part is unanchored you may not notice it
yea but either way theres no change, I tried going from the server perspective, and client perspective
i anchored it
you want it to move on the client side right
yep
i mean it should work could you send an ss of the part in the explorer
and its children
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
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
alr
I have a CharacterAdded event that stays in luaheap even after the player has left, is this causing a memory leak?
Someone help me fix bugs in script i can Pay in robux only
$700
Connections?
Anyways who wants to be my connection:)
Should I be using a framework for my game? Or should I just make it normally?
wait so the runcontext basically does the same thing as a local script?
pretty much
damn thats rlly useful then
Has anyone a task for me, to earn 4k robux? I can script lua and discord bots DM me
how to make a blender model into a too
import model as meshpart or whatever, it can be specialmesh if hitbox is not important or if its not for combat or if you are using a different method of hit detection. then just parent it to a tool
and if it is for combat
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
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?
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
table.find
practice and experiment and learn about computer related things and do so often
if you are on mobile, read docs and watch videos, if you are on computer, code
its hard to learn coding without actually coding
😭
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
if a game has a mix of loading animation through the animator and the humanoid will it break how animations play
probably not but dont play animations on the humanoid to begin with just use animator
Should I have players get teleported to a place within my experience whenever a new map is chosen for the next round?
what if i am using legacyanimationblending is that fine
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?
i have no idea what that does but it should still be fine
no, unload old map and then load new map
oh okay thanks because im having a bug in my game where players animation becoem stiff and im suspecting thats its this me loading animations sometimes on the animator and sometimes on the humanoid
Is that what most round-based horror games do?
dont load anims on the humanoid, only do so on animator
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
thats just straight up broken or you are not allowed to access it
animations all work but like randomly you will start moving like that like very stiff
then its probably bug in code
Lf for anyone making a Roblox deepwoken kind of game game to invest in
It's a round-based horror game with a killer and survivors every round
different map that is voted upon for each round
Why would you have to
Just load in the map when necessary
yeah just load map then
The issue is guys
The lobby in our game has different lighting properties than the maps do
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
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
Just export rbxm
then just change the lighting as the maps are loaded
And import it
or dont have different lighting
Is this easy to do?
yes, lighting service
why?
is there a way you can get a clickdetector to trigger if the user's holding a tool
the different lighting in the different maps really helps our game pop
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?
you are making extra work for yourself, but if you need the lighting just make it dynamic with scripts
Then just change it while loading
Ah, you are saying that when I am having players load into the map for the round, cover their screens with our loading screen, while lighting is changed?
You can change it instantly but sure
Ok, and what if someone dies mid-round and returns to the lobby?
That can be adjusted for too?
yes
And if they spectate someone in the map while they're in the lobby?
change it again
if you script it yes
So you can just change it on a player by player basis
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
Just store the different properties inside a table
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
dynamic lighting based on whether the client is in lobby or in game
Use a module to store the lighting properties
And spectate mode right
All client side
I should tell him this?
yes
Yh
Y'all I need help I wanna start coding but I don't even know where to start from
dm me
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
-# theres a channel for that
Alright thanks
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.
making the animation make a function with like shoot bullet make a trail and tween the bullet each time u call the function and wrap it in a loop and it will keep repeating and sync it with the animation
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?
yo, do i need to put @ loop2y 2024 in my game for copyright or is it unnessescary
?
tysm
Always ❤️
Unnecessary, 2025 btw
haha yeah mb, thx
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?
@empty wind Common sense
??
who can create bot discord ?
Correct, it only breaks out of the currently loop
Return ends the current function
Not the whole script
i meant return end
or wait i'm a little confused
The “end” in “return end” is to signify the end of the code block. It has nothing to do with the return
i understand
ohhhh so this is why my module script was a little broken
ty xd
Haha no problem, glad to help out
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
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
Use 30% method
what are the differences between Vector, vector2, and vector3?
old, 2d, 3d.
10000/0.7 is how you get the answer
and i use Vector3F32
😼
for gui use UDIM or UDIM2
anyone have some ideas of projects i can make
make buddhist simulator
pray train pray train eat pray
thanks for the idea
make it oop based ?
do it like you would structure any other organised module
Can i pay you to do it? I cant do it myself.
oop gun systems are the best for full proof modular gun system
Hmm
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
no you would just make diffrent classes
Alright
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
Sorry to butt in here, but what is an "oop" system?
No
I need the configurations to be value objects
To be more user friendly
It’s a whole another thing, look it up
aight
you can do this with an actual server script
I know
Object orientated programing
I feel dumb now 
Alright, you know what, I’ll have to start somewhere, I’ll make like a framework for it
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
And it will slowly evolve
yes 
Shut up, configurations should be value objects, and that is final
Scrolling and searching through the script is a nightmare
its way slower
attributes is the only thing you should be using
its like 10x faster than values I think
Can you even copy and paste attributes?
What you mean?
There would be no need to copy and paste attributes
its simple to create
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
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
i’ll check it out
code help is bummy for some reason
I think it’s just fine if I use value objects
thank you it really is
People are very ignorant there
is it possible for you to send me a video of this in action so i can see what you mean
and do you have an output
it doesnt give an output
also is this a server or local script, should be server
server
are you sure? it had print statements like anchored and cancollide
im gonna have to send the video through a link though i dont have nitro
ill check again
sure
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
I could convert every object in the configuration folder into a dictionary
But yeah, we’re done here
I didnt say every object, I said setting/configuration
sent
ok
oh oops
Value object users make me rage
on everything 😭
brother what
people use that 😭😭😭
bro value objects are not even that bad
Hi, does anyone know any resources/tutorials I can use to learn how to make an advanced physics train system?
Is there any place in here where i can look for people to hire me for my drawing???
Honestly I don't think there are any
that sounds too niche
What’s up guys I’m new
hello!
Hi
Dms
why doesnt my code work? the tween just doesnt play in my while loop, and i dont know why
the print statement happens
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
does anybody need bug fixing/system making very cheap prices also maybe for free 🙂
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
someone help me fix bugs in scripts for robux?
💔 good luck bud
@plain jetty for free
Can you show me ur works or smth?
💔
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
if you want coms then do #scripter-hiring
Ah shit that sucks
Server storage exists :(
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
you really dont need to worry about your game getting decompiled if you just obfuscate it in the final project and make another privated development place which is the unobfuscated version, that way it's way harder to modify
you can also use serverstorage
i knowww, i feel so dumb😭
ohh okay thank you
And how much time is he going to need to obfuscate it every single time he needs to publish an update?
Also, why? You shouldn't worry about anything other than protecting your scripts from being exploited, preventing stealing serves minimal purpose that isn't worth it
from the community I come from, (MPS), everyone's a skid who barely knows anything about LUA, so all they do 24/7 is hunting down, dexxing every single pitch/game they see for assets, even sound effects, so actual scripters spend more time on coding anti-dexx ac's than the actual game
Also obfuscation slows things down considerably, in rare cases it just breaks your script, but it still happens
obfuscators like wearedevs are made for LUAU mainly, not LUAU on the side like the other websites, so it doesn't really break it with us
its a stable solution to not get my assets stolen.
You dont need "anti dex" unless you store everything (more importantly, the server part) on the client, nobody should be ever able to steal even half of your game unless you store the serverside on the client
I've gotten paid obfuscators made specifically broken a few times
Well, i was trying to break it, but some "good" free obfuscators broke down on me just because
thats common knowledge who tf stores server code in modules on the client unless its a shared module
I never really bothered with obfuscation.. nothing important should be on the client anyways. Worse they'd take are scripted vfx or smthn.
Surprisingly, more popular games than you'd expect
same goes for remote spy detections
9 times out of 10 if ur game has anti rspy and dex scripters wont touch ur game
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
some important things have to be on the client for the sake of performance and reliability
but as long as u have good sanity checks on the server
u should be good
yeah but server holds authority. I can cast for hitbox on the client, but the server should decide if its valid or not instead of trusting the client.. so skids won't see much more than the way casts are done.
which these days, lots of ppl just use muchacho or smthn anyways
well yes like i said u should still be doing sanity checks on the server
however alot of games forget to do this
and thats when its time to have fun 
anti rspy should be easy to make
in the MPS community, our tools come behind by a tool management module, which is a shared module, also there are _G tools, but these are fully client and vulnerable
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
detect namecall
obfuscating what? obfuscating scripts is against tos and they get removed from marketplace
i meant toolbox thing but whatever
thats the fact, those scripts are supposed to be only in my game, im not distributing them anytime soon
obfuscated scripts still can get decompiled
but the point is, who wants to go through the torture of doing that?
even not,any skilled exploiter can reverse engineer it
decompile() func is in built
actually?
yea
bruh
https://lura.ph/ can break decompilers
same but
its the best obfuscation service out there
it is
nvm wrong channel
are u talking about the studio obfuscator
because clearly u havent seen the exploit env obf
dump this rq if u can dump luraph
no we're talking about the wearedevs obfuscator
thats prometheus
not wearedevs
either ways it works, prevents people from stealing my framework, even if they do, they cant modify it
they can modify it
deobfuscating it isn't really easy for a bunch of wacky beginners trying to steal your assets
or who dont know anything at all
I think I'll just move things to server storage, my "frameworks" are split apart in many module, so some can be server side
are u talking about guis? people can steal guis
no, we're talking about modules
who cares about client side code vro
no shit only anticheats should be obfuscated
why not
yeah but im talking about shi like moonveil.cc that makes a print 1mb
i see exploiters complaining about anticheats being obfuscated all the time
why should they be, anti cheat should be server sided. there's no point in obf server sided
all of them its another community you won't get it
some anticheat measures have to be client sided
people CAN bypass server sided acs
they cant just disable it
but like what can they do client sided
same thing for client sided vro 😭
client sided can just be disabled most of the time
infact you just do :Destroy
vrchat exploiters:
yeah i dont bother with anticheats personally i just secure my remote events and add sanity checks
real
if they want to walk 50 studs per seconds let them 😭
why would the community want client sided, and what can they do with it
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)
oh all g
I just do the basics if its needed
like if I do a fighting game, ill just do basic detection for stuff like speed n shi. Moderators can handle the skids that have more than 1 neuron
talking about traceback?
long story short some guy a while ago genuinely just grabbed the hell outta my old pitch and claimed its his "custom" pitch
what does a pitch mean, I'm sorry I'm kinda new to coding
yeah thats fair as long as ur speed detection etc are serversided lol
it is lol, client sided anti cheat is about as useful as a citron juicer on a carrot
client side walkspeed detections can easily be bypassed with a simple __newindex hook
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.
curse this work wifi from 1986
ohhh
sorry about ur work stolen
the most leaked one is svtama, who later left the community and made RF24
detecting hookfunction was always easy tho
hes truly a genius, made the first ever applicable version
how much should i charge for a plane system
hey amity
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
you have to do
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
Ive thought of this, so would creating sort of a fake display that the client constantly updates to the position of the actual server object work well
if you are talking about constantly updating as in constantly spamming updates from the server, e.g the server keeps sending positions, no
no no
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
like the client itself just updates the position to the position of the object being moved by the server
yes
alright thank you
@fathom sundial
you might benefit from something called an ECS
entity component system
what is that
but i think u should never really trust client info
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
if its mainly for VFX it shouldnt matter 2 much
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
that sounds good
ahh true
or u just have a module for it and have server do sanity checks with the data but make ur client do the work
🥀
the problem with the client moving it is it will be in different positions for each player and its important that it cant be for the type of thing im making
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
ive redesign my combat like 2 times
what type of networking framework are u using
or is it just remotevents?
what are you making if i may ask, because it might be simpler than you think
idk much about networkOwnership i heard it did something like that faster but i also heard its very heavy on memory so idk
not ownership
NetworkOwnership is risky
i mean network modules, like NET or packet module whatever
they reduce bandwidth to almost 9
0
Do you wanna hop on a call? in a VC

