#code-discussion
1 messages ยท Page 19 of 1
why
Embracee the futureeee
its not cheating bc just u can use too lol
its litteraly a cheatcode
๐
but yea its scripts soemtimes are just nott that good
Sooner or later game development is going to be completely AI u can fight it and LOSEE or embrace and rack up CASH
ah whatwever
You can write perfect scripts but can u write a script about every single system that has ever been invented in roblox in 10 minutes?
just use AI dont be enemy u make dirty future for we
i have a rpg game idea
like shindo life
but you dont need to spend your life savings on bloodlines and other stuff
as i think thats a part the free2play players hate
thats ur first game bro .Word of advice as a friend dont even try making it
i made games before just not that proffesional
like?
like i dont own any but i worked for many people and we got success
i own like 35 percent
dyum good for u
am making a game rn
i can help to i have so much free time
if game bring cash i am in
lets make a game everyon gets equal share of profit?
as games make good robux if appealing to
people
what type game we should make i am ABSOLUTE EXPERT about UI's and Script for UI's
hmmm
i am average at everything
what is a game genre people just love to play
i probabaly think sims
ye ig
kai cenat tiktok rizz party simulator
i am good at sims but we should make different what about UI related game
its not unique idea
yea
we have brain so i think we should make unique
wait what about rpgs
no so much effort for nothing
k
so simple and easy to make everyone make this so we got none players
i prob think sims the only option
yea but what kind of unique
everytime one of my videos on yt get a view i get so much sweet motivational dopamine am addicted
what about a tycoon?
we looking for fast cash
not unique and boring to make bc everything gone same after make first things CTRL+C CTRL+V
lemme quickly search a game
so related UI game is good but what it should be
huh??
true
i have like a meme tycoon idea
if yall are willing to make it
what about leaderboard game? its gonna be unique
h
every 5 second u stay in game u should get random item or something
leaderboard games could be good
shouldnt we take this discussions to dms?
i get this idea from u know banana game from steam
idk how to do it
lets first we talk here about game
nah
we should do it in a group
wait guys
i got a idea
a parkour fast paced obby game
but combined with a story
cause parkour obby games are doing good on roblox
We need to make a fast game that people can quickly enter and play in their free time.
yea
parkour games with different level seems to be the play
combined with story people would get engaged
yeah we do that
ok so we have the idea now let me make a group rq
pls say it gonna make cash
๐
tap Messages in the bottom row and select the New Message icon. 2. Then, you'll be able to select New Group and select your friends you'd like to add into the group chat.
this is what google says to do ro make group
New game?
i can accept friend request
@surreal sky
how do you add a medikit that every player gets during the match and once used it should be gone from their inventory
yes
Chat any scripter who can make my vfx go bigger and then its night for 1 minute i need it for my donation game?
Yeh how much you paying
how much can a buffer fit?
i have a long number i have to fit into a buffer
should i perhaps partition it or just use a buffer with 1 index
the number is super long
in some cases if used in a bad way can be over 150+ digits long
Can someone help me troubleshoot a problem? Something was working yesterday and today, even though I didn't change anything related to it, it's fully broken. If anyone is kind enough to help, pls dm me so i can describe the problem in detail
1 gb
Why would your number take over 1 gb
Also Roblox can natively support digits that long just won't be precise
nuh uh
has anyone encountered 3d text plugin text disappearing
Im working on a gun and Im quite new to scripting, this is just for practice. Im trying to figure out why when the gun is unequiped, and I use UIS, and it is re equiped, it wil print it out twise more than last.
You are reconnecting the event every time tool.equipped is called
So your creating multiple input began connections
Either disconnect the event when the tool is unequipped or connect you input began event outside of the equipped event connection
O wait
Let me try something and ill show you again
Alright
lol, i told you im new to scripting
TH
WTH IS THIS
crazy ik
Ok so whenever you equip the tool your are creating a connection for the InputBegan event
Ye
That means that adding a second one is going to create twice as many and fuck it up more.
o so like how do i fix that#
im new so like what do you expect, im learning
oh sry
Take the input began event OUT of the equipped event
but i need it to know if it is equiped
Wait lemme just try it
tool.Equipped:Connect(function()
toolenabled = true
UIS.InputBegan:Connect(function(input, gameProccessedEvent)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if toolenabled == true then
print("gun shot")
UIS.InputEnded:Connect(function(input, gameProccessedEvent)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
if toolenabled == true then
return nil and toolenabled == false
end
end
end)
end
end
end)
end)
tool.Unequipped:Connect(function()
toolenabled = false
end)
just putting it here for safe keeping
dontt ask, ik it sucks
Can someone help me troubleshoot a problem? Something was working yesterday and today, even though I didn't change anything related to it, it's fully broken. If anyone is kind enough to help, pls dm me so i can describe the problem in detail
ye well like
it works but it doesnt
because now it will shoot even if its not equipped
wait so now do i do this
make a unequiped event
then set the equiped value to false
lemme try
local tool = script.Parent
local UIS = game:GetService("UserInputService")
local toolEnabled = false
local function onInputBegan(input, gameProcessed)
if gameProcessed then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 and toolEnabled then
print("gun shot")
end
end
local function onInputEnded(input, gameProcessed)
if gameProcessed then return end
if input.UserInputType == Enum.UserInputType.MouseButton1 and toolEnabled then
toolEnabled = false
end
end
UIS.InputBegan:Connect(onInputBegan)
UIS.InputEnded:Connect(onInputEnded)
tool.Equipped:Connect(function()
toolEnabled = true
end)
tool.Unequipped:Connect(function()
toolEnabled = false
end)
what does the return end mean?
The function will stop running at that point
alright, also why is it becase of gameProcessed?
It says if gameProcessed
Why do you need that
Gameprocessed means that they were interacting with gui or smth similar
O ok
That makes sense
Thanks alot
so typing e in chat doesn't trigger smth like that
np
so did his code get fixed
what was the issue
He was reconnecting InputBegan and InputEnded every time that the tool was equipped
So that code ran twice as much every time.
Yeah
nice
i was like what in the pythoon lua
hello
does anyone know how to make f3x work only in a specific place
like a plot of something
hello
@somber vault thanks it worked, one question, it says i have an error.
because of line 9
its too do with UserInputType, but I dont know why
wt
It works fine, but Im noit sure why its saying that
that shouldnt be happening
hey zumechi
btw all the stuff above it is just variables
hi
wanna crash your comp
no : (
ye do a while try do
ye with print
ik ive done it before
im new but not that new
with no wait() it wil crash
i am learning some very advanced concepts rn
now i need to do some remote events
nice
can u add a print(input) above that rq
where?
line 8
uhh
yes
: (
because im trying to use remote events
so it shows in the server
from a local script
is it wrong ig
did it not error here
no
Which line is line 9
why u are doing if for toolenabled 2 times?
and also show the entire script
how many lua codes are there?
for example; print,if,then,else,end,while,do,etc.
its enabled and disabled
u dont need inputbegin and inputended in tool
remove them
since u got functions that check above
ok
LIKE LOOK
yeah i see
Just leave it
fr
the moderators don't really care, and I bet they're not even allowed to care
code helps just done
This is why I don't ask for help anymore
fr
i just ask for help in codedisccussion
atleast this is about coding
and just get soemone to dms for help
this has just became an chatting server or smth
fr
but some of my best dev buddies are from here
i met them here
and we actually make games together
so just code help is done its cooked
Can anyone give me a script that makes the player that uses graphics below 4 will have ColorCorrectionEffect enabled and if its 4 or above then it will be disabled meaning normal gameplay. This is to stop/prevent players from using low graphics to see dark areas.
does anyone here know OOP? & Interested in fulltime work, let me know!
Ive almost finished the gun, but im just trying to make the position of the bullet set to where my gun is
This is the code ive got so far
Also ignore the horrible coding skills of Velocity and theres no tweening, im new so im just practicing what ive learnt
I wish I could lol
why cant you
how do you start
Learn with devking
his first series I alr know
Learn with devking and watch his tutorials
Hes the best
Do advanced then
i know all the local things
wait what is that coding game
Thats what Im learning
I can do that
?
i played it vefore
nice
Help how do I set the position to the gun
i think thats it
Ive seen that lol
so guys me and my friend have been coding a power system for a while now
randomly it doesnt work
we need help
over 900+ lines of code
couldnt fit the entire thing on screen
this is the powerdata
crazy
Dude nobody can read that
Can you help with a problem with my script
Well its not a problem, its just im trying to do smh
Basicly i need to set the new instance part to the position of the tool
this is the code
If anyone has resources on how to make/operate a Finite State Machine please share
guys I used so many functions and modulescripts that i made my code for my entire complex intermission system this small
-- < CODE > --
while task.wait() do
runIntermission()
runVoting()
runRound()
end
lol
can i see that modulescript lol
these are what mine looks like 90% of the time
couldnt zoom out all the wait
crazy
most of the time
my modulescripts
are very short
the one im using rn
is 87
lines
im only using
2 rn
dang yeah mine are usually really packed with functions and stuff bc i like being able to understand the front part (like where i use the modulescripts) even if the back part is super hard to navigate
with like the system being over 800 lines of code
ohh
i like just having 1 modulescript
with the data
so i can just change
the damage or anything
really fast
as you see here
if i even change the description it changes in the gui
yeah a lot of constants and settings
I don't really make weapons systems so i dont really use as many constants but i do use a few for like wait times and stuff
oh wait
yeah
this is my other one
like the other scripts just make it work
lol
thats my fav part
how tf did I do this ๐ญ
โค๏ธ rollerbot
aie
modulescripts saving ur life
fr
before i used to have the list in the system
would be so hard
to even change damage
had to change it 6 places
when i changed to modulescript
only once and the others copied it
Bro what is this madness
uhhh system for fighting/powers
Say I have something like this
How would I go about getting the location of each egg in the UI
To create like a frame at the center of each egg
I used WorldToScreen w/camera but itโs never accurate
for i, v in blablabla:getchildren() ... frame:clone() ... frame.parent = screengui ... frame.position = udim2.new(v.position)
so readable
theres so much gambling all over my screen!!!!!!!
Whatโs better for combat logic. Folders or attributes
just out of genuine curiosity, how would someone go about making a player's head look in the direction of the closest player?
Lookat
And cframes
cool ๐ซก
Hey guys, why is my steering inverted? Someone help, this is my script
wait(1)
SeatValue = script:WaitForChild("Seat")
if SeatValue:IsA("ObjectValue") and SeatValue.Value and SeatValue.Value:IsA("VehicleSeat") then
seat = SeatValue.Value
car = seat.Parent
if seat:FindFirstChild("RocketPropulsion") then
seat.RocketPropulsion:Fire()
end
local RemoteControlled = car:FindFirstChild("ControlByRemote")
while seat:FindFirstChild("SeatWeld") and RemoteControlled do
wait()
if not RemoteControlled:IsA("VehicleSeat") then it break?
break
end
RemoteControlled.Throttle = seat.Throttle
if car:FindFirstChild("LeftMotor") then
car.LeftMotor.DesiredAngle = seat.Steer*math.rad(40-RemoteControlled.Velocity.Magnitude/4)
end
if car:FindFirstChild("RightMotor") then
car.RightMotor.DesiredAngle = seat.Steer*math.rad(40-RemoteControlled.Velocity.Magnitude/4)
end
if car:FindFirstChild("Configuration") then
if seat.Throttle == 1 and car.Configuration:FindFirstChild("Forwards Speed") then
RemoteControlled.MaxSpeed = car.Configuration["Forwards Speed"].Value
elseif seat.Throttle == 0 then
RemoteControlled.MaxSpeed = 0
elseif seat.Throttle == -1 and car.Configuration:FindFirstChild("Reverse Speed") then
RemoteControlled.MaxSpeed = car.Configuration["Reverse Speed"].Value
end
end
end
if seat:FindFirstChild("RocketPropulsion") then
seat.RocketPropulsion:Abort()
end
end
W code?
try flipping the values
the steering values?
it worked, thank you very much ๐
really?
yeah
i made the 40-remotecontrolled into -40-remotecontrolled and it worked
just multiplied them by -1
its fine
you helped
i didnt think of flipping the values lol
i wasnt expecting it to work ngl
yall im trying to figure out a way to put a script into players that spawns a block infront of them every 5 seconds. the only problem is how to put this script into each player? would i have the script premade in replicated storage and just clone and parent to each new player that joins? or is there better ways to go about. learning for future references
for specifics iโm not trying to just make a local script per player, im trying to figure out how i can do one thing for every player and make it interchangeable from animations to cloning parts or scripts and stuff for each and every player
If its every 5 seconds, its probably better to have them in local scripts per player so it doesnt lag the entire game
local script bro
does anyone here know OOP? & wants easy comm work, let me know!
check dms
who can model a basic basketball for me for free rq
OOP is easy
I like it
Find one on the toolbox/asset marketplace
Surely you can get something there
hey and i OOP
that was a joke bc i love OOP and its easy
lemme get hired
bro waited all life for this moment
real
OOP is easy once you understand how metatables work
Anyone know how to do combat system?
how can i reduce data packet size
if ur just looking for someone to do it for you for free just grab something from toolbox
toolbox doesnt work
if i use local scripts does it matter if i use script or localscripts? and if so, will it affect if others can see the block?
youd probably be fine using a server script if its getting added to debris service
or use object pooling
but just connect to game.Players:PlayerAdded to add it to all the players
After getting good at other languages. I realize you should only use few scripts in Roblox to run things as a runner while using module as the equivalent of classes in Java 
Remembering my past self spamming local/script cringes myself
I mean you dont necessarily need to do oop
if its local, each player can only see their own block.
how you do this feature depends heavily on what the feature is, what you want it to look like
you dont need a script per player though. you can do things per each player like this
for i,v in game.Players:GetPlayers() do
--each loop is a different player. they all get looped over once.
print(v.Name)
end
lol never suggest to someone that they should use scripts from toolbox
Some of the most hilariously horrible code I've ever seen lives there
Could someone help me regarding this: I want the player to be touching 2 parts at the same time to kill them. My problem is how can I structure this with 2 touched event, or if there's an easier way, what is it?
try using 2 attributes on the player, if one is true and they touched another part, you know they should die
yo, did yall miss me
good place too start somtimes :/
so like how do i find a scripter for my game?
does anyone know why the v2 economy web api is not working?
how tf do i find scripters
cause i ain tryna hire from hd but twitter got no scripters lol
ye i think im better off making friends then hiring ppl ๐
is there a way to code on lua without roblox studio
Rojo
dont hire in chat
I need them percise
It's for encryption
then it will fit
wdym
I64 won't fit it I know
The number is out of it's scope
I meant for buffers
Writei64
I know
does not exists
I already have a custom buffer module
Oh yea I got it messed up with rust
Maybe partitioning with i32?
Ok
Is that overkill or better
To pass the table or its encrypted buffer
I want to reduce packets
no
I feel like it's more so of how long/big your table is
No?
its not overkill I mean
alot of games are beginning to use buffer network libs to reduce packet size for even small data
dont hire in chat
ig it will be team game not like hire, still?
no finding anyone in chat
doesn't matter that you're not paying them
but idk why you're tryna find devs if you're not gonna pay them
team creating they will get % from game
dont hire people if you cant afford to pay them
It's like getting a girlfriend that you know fully well wants you for your money, but you still get here anyways.
her*
uhhh so does anyone wanna fill out my survey for computing class it has something to do with coding i think
a
Your girlfriend is your partner not your worker though
The dynamic is very different
One is an exchange and the other is a feeling
the feeling of having a network of scripts with no lag
Programming nerds
can someone help me set up local secrets in studio
can someone help me w this?? please and thank you dm me if u can help, my dms are open.
tru
Can anyone help?
I'm trying to create a draggable tool, so basically you can hold it and you can drag it using a rope. When I intialize the rope (in a SERVER script) everything goes well and for the one player that wants to drag the tool it works completely smooth, however for the server/rest of the players the tool is still welded to the player's hand??? How tf is this possible everything is done in a server script so why is it only working for one player...
local startingWeapons = game.ReplicatedStorage.MeleWeapons.Starting:GetChildren()
game.Players.PlayerAdded:Connect(function(plr)
startingWeapons[math.random(1,#startingWeapons)]:Clone().Parent = plr.Backpack
end)
your code doesnt work because of the wait(2)
the player loads before the script runs
therefore its not connected to plradded yet
I am making an index/collection book for a Find the ____ type of game.
Should I manually add each object that the player is gonna find into the gridlayout and scrolling frame or make 1 template and then use a for loop to loop in a table and make an frame for each object?
for loop
i could help implementing it if you want
I am thinking of making a module script that has the objects table, then another module script will require it to make a new slot for each item in the table.
There is smth else I wanna do
When a player clicks on the object, he gets a frame thath as a hint on where to find it.
I am thinking on making 1 frame named "Description"
Then when the player clicks on any frame, I will make a module script that gets the hint and zone from the object table and changes the text to it.
Am I plannin this correctly?
I would love to but I am doing this for a commission so I am not able to give access to other scripters, also I want to make it myself so I learn it.
I am thinking of making a module script that has the objects table, then another module script will require it to make a new slot for each item in the table.
I think you might be overcomplicating this a bit
It is just for readability peruposes, but I can put all of them inside 1 module script.
Module scripts are a good practice imo, but Im sure you'd do well with just one
Your aim is to keep the connections low, and requiring a modulescript in another modulescript is just wasting resources imo
I'd fit it into one modulescript and break it up into sections with comments
Okay, I will work on it.
great!
Thanks for your time.
good luck :)
if u got any questions feel free to ask!
why won't the voices in my head stop
life gets stressful sometimes, the best thing you can do is go for a walk or hang out with friends
it really clears my head at least
thanks htd I'll give it a shot
wonderful
if you dont like meaningless walking then just go to a shop nearby and get urself a treat tbh
that's what i usually do
bro just go to a casino and drop 50 racks on red, it really helps the soul when ur struggling ๐
Fr
guys how to get moon animtor for free
i got it before it became paid
money
fr
blender is so goated
open source
so many good features
and doesnt lag that bad
blender is kinda overwhelming though there's too many features
which itself isnt a bad thing but like
too many features
yeah i get that but as long as you ignore most of them
and learn basic ones first
its fine
true
it shoves everything in your face so it can get overwhelming
especially for people who arent really versed in computer language
guys anyone need free scripting?
i will do
only for today
no, i dont want anything, just testing my scripting skills
Do you wanna make an NPC dialogue system?
yo wsp
What is the game about?
can you ?
Never a movement system before so i dont know.
do yk raycasting
then whats the problem
Fair enough, i suppose i could try.
k lemme add you whats your user?
Rbx?
Accepted.
k i wil add you to a place now
Alr lets continue in DM's
k
hello guys
am shit at coding
well, novice very novice
and i see people worse than me
somehow managing to get commisions
and i dont
whats the probleM
It's not about how good or bad you are, it's about how good you are at selling your services
@somber vault
How do you guys break down systems?
Yeah
an i say tmrw as i have some work rn
Itโs hard to put into words
Simplify it as much as possible, until you can think of the rough lines of code
Hi! I wanna start doing commissions and I know the basics of scripting, but every commission I'm looking at is either too hard for me or I don't know how/where to start. How do I fix that problem?
Try to make your own systems, then make harder and harder systems
For example, start with a teleporter, then an elevator, then a dash or something
Alright thanks
but like lets say im making idk.. a weapon system how would i break it down so its not too overcomplicated because currently i write code with no plan and i feel like its starting to affect me as i get more knoweldge .. but i have no clue where to start on planning it
oh
Elaborate, what specifically do you want out of the weapon system?
Is it equipped through a hotbar or inventory? What would you do with a given weapon?
Be super specific, or you might as well say, Iโm going to draw something, but I donโt know what it will be until I start, I just want it to be scary
if you plan on using animations, hitboxes, and inputs, you might want to streamline that and could take multiple revisions to make it easier to add new content later on
set up all the really annoying stuff first
so lets say maybe.. its a sword .. equipped via an custom inventory system
the sword does 10 damage for an slash and 30 damage for an power attack (idk a name) its got vfx and each move has an animation that needs to play (this is just hypothetical but yea probably need more details)
also that probably isnt a weapon system lmao... its more of a weapon but yeah..
I use modules as settings, and a script that reads each module so I can just add animations and change the settings and still feel like a different weapon
but how would you plan a system like this? like if you were going to make this before you start coding what would you be thinking of / setting up
You just start making it, you will change how it works mid way little by little as you come up with better ideas. But I would think like I need the core mechanics like animation, vfx, sfx, inputs, and hitbox, that's already a big bulk of a game
I would start maybe with how the inventory welds items to the player and how it's considered a weapon, make a stats system
the stats system takes account of equipped items from a list of available items, if those items are equipped and a input is pressed it will play a animation and create a hitbox
I would probably start with setting up the player data to store values, either using a module or attributes
o
but then how do you keep your system not complicated? and easy to use
one step at a time, it will get complicated, that's why you have to change it mid way to make it easier, people use modules often mostly for that reason; just to stay organized, use folders and keep the workspace clean, leave comments and try not to repeat the same code if you can avoid it
welp
But if you're the one who made it, you kind of remember, you know more than anyone else I should say, like looking at stuff other people make is still confusing but my stuff makes sense to me
yeah i feel like that its just... i keep messing up because i try to create something simple like really simple stuff i was doing when i was learning coding .. but now i have more knowledge and its taking me 100 times the time to make something so simple... and idk how to stop because i keep trying to make it reusable and oop based etc etc...
I don't really use oop it makes me slower, but that's just how I taught myself, what I usually do is at least make a working prototype with ugly code that works and looks good but is ugly under the hood, then I rewrite it in a better and more efficient way by borrowing snippets of the working code
It takes a long time but it's not too bad
welp so what do you do if your in a low time commission ?
Make it work and hope they don't come back with complaints
I do very specific systems not so much whole games so I can get away with complicated sloppy code for non scripters
o
Do what you're good at and have time for
okat
how is it slower
He probably means it takes him longer to make stuff in oop
it would just take me longer to try to write code in oop format but I can achieve the same goal faster without using it, I still practice it though
OOP is really really good for reusability
itll save a LOT of time
lets say you have a module script for cooldowns that contains a table and methods to add and check cooldowns
I have written a lot of utilities in oop but it's still just not my style
that lets you save time on implementation for it for every script that uses a cooldown
OOP will be implicitly used when you write a module with variables and functions
thats what an object is
fields and methods
you dont code EVERYTHING in OOP
cause its not an OOP language
but when designing utilities that design process allows you to save time
I've made a tower defense game using it to challenge myself and see what the hype was about and it did streamline the process but it took me a while to wrap my head around it
I mostly need to learn it to move to other programming languages because luau lets you have a lot more freedom
I like non strict languages
you don't need type checking to catch errors if you never make errors
unless you are coding in an engine like unreal or unity it will be very different applications and use cases
I do want to switch to unity eventually, or learn opengl, one of these days
Hello im trying to do custom camera position but i got some little problem (im only clicking w or s)
local camera = workspace.CurrentCamera
RS:BindToRenderStep("LockCamera", 1, function( )
local characterCFrame = game.Players.LocalPlayer.Character.PrimaryPart.CFrame
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = characterCFrame * CFrame.new(4,2,8)
end)```
Yall im making a game called shoot orphans simulator and ive got the gun system + the npcs what should I add (dont mind the project just give me suggestions :3)
The syntax might be tricky at first, but the type checking will help you in the long run and offers you more power in editing. I started using C++ then moved to Unity. I'm glad I did, and I wouldn't recommend roblox as a start to game dev unless you specifically want to make roblox games
A lot of the architecture is completely different than what you would do in those game engines. Working on single player games in Unity/Unreal would probably get you there faster than transitioning
ip68 ๐ ๐ ๐
then you don't use oop the right way ๐ช
I'm content with that
Why when I turn off cancollide on the torso it turns back on by it own, is that roblox default feature or?
It's unfortunate that I've only learned Roblox game development, but I can make anything I can think of even without oop, it would just look like my own mess I can interpret, at least when I go to learn Unity I can do so in a more proper way I hope
I am transitioning from Unity, and I can make anything in Unity and scale it to infinity using OOP. It's def worth the effort imo ๐
Is there anyway to increase the limit of onMouseButton1Click? I exceeded the limit of 200
the only thing that made me come here, is that the marketing/promo of a steam game is extremely hard after you bust your butt on a game forever. It carries more risk because players demand larger experiences and the eco system is not as accessible for f2p models/smaller games
I have been practicing making classes and I do see how it is useful it's just so hard to switch from what I'm used to, been trying to learn node js for discord bots, the syntax is challenging but logic is about the same for most languages
I think I should really get into unity to help with the oop enforcement more
It's true about the whole marketing which is a big reason why I was hesitant, but Roblox has so many software limitations and censorship I can never truly make what I want creatively
But the marketing, networking, and unlimited storage basically is amazing
it is a huge drawback
I can make insane systems in unity. You just can't get the flexibility without OOP because maintenance costs just ramp up after a certain point
I'm trying to make a pair that sets a debounce for an action whenever the right part is found in a pair. Lets say I press a button, if the text is right, I want the debounce to be enabled and I can no longer press the button. If the answer/answers in _, v are all incorrect, I want the debounce to be off but only after all the variables are tested.
my only problem so far is that when the right thing is found, it's still setting the debounce to false and the action can be repeated.
concept isn't what i'm working so no script on but it's related
Post your code
Canโt help unless we see it
local RS=game:GetService("ReplicatedStorage")
local Debris=game:GetService("Debris")
local Hitbox=require(game:GetService("ServerScriptService").Modules.Box)
local Mod=require(game:GetService("ServerScriptService").Modules.Mod)
script.Parent.Equipped:Connect(function()
local plr = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
local char = plr.Character
script.Parent.Activated:Connect(function()
if char:GetAttribute("Busy") then return end
char:SetAttribute("Busy", true)
local anim = char:WaitForChild("Humanoid").Animator:LoadAnimation(RS.Animations.Scav:FindFirstChild("Loot"))
anim:Play()
local Box=Hitbox.SLB(char,Vector3.new(5,6,5))
Debris:AddItem(Box,.5)
local Parts,stop = workspace:GetPartsInPart(Box),true
if #Parts ==0 then
warn("Wrong Thing")
warn(Parts)
task.wait(.5)
char:SetAttribute("Busy", nil)
else
warn("Found, continued")
end
for _,v in pairs(Parts) do
local found
if stop then
if v.Parent~=char and v.Parent:FindFirstChild("Humanoid") and v.Parent:GetAttributes("RigType", 2) then
task.spawn(function()
Mod.act(char,v.Parent, nil)
stop=false
found=true
return end)
end
end
end
end)
end)
everything else is fine but i'm just trying to get the correct debounce so that this script doesn't re-run from the input when it finds the correct thing
i got it
Guys can i ignore this or can i break my game?
Uhm fix it
ye i prob should
I'm learning to do some basic framework scripting for my new platform-style adventure game. Was just wondering if someone could give me some pointers there? I'm aware that there are several scripts to keep in mindโScripts, LocalScripts, ModuleScripts.
guys how do i check the cursor's position in a script?
be more specific, pointers on what, if its just what each type of script does its
script for server,
localscript for client
module client/server depends on which script your require it on
Well "basic framework" is what I mentioned needing some pointers on. Basically I just want to know a good place to start with the scripting. Is there a professional template or blueprint to follow with that sort of thing or is that not necessary? I'm also curious about how I can make it so players will become my custom character instead of defaulting to their Roblox characters?
You add a character model named StarterCharacter in StarterPlayer
UserInputService:GetMouseLocation()
My framework is just a module loader on both the client and server with modules in ReplicatedStorage for data used for both client and server and modules in serverstorage for data used on the server like stats or tables I donโt want the client to see
Ohhh I see. Can I see an example?
yeah
this is my module loader, it takes in any parameters to load the modules into an initialized table where i can then access it anywhere on the server
inside replicated are the modules id use on the client and server
rarity stores the know rarities, layout order, and colors, both used on the server to check if rarity exists, and client for the UI
same for eggs, storing the cost and using it on th eclient
im storing petdata in serverstorage as the client doesnt need to know about it, exp, pet boosts
the client is pretty much the same but as a module so i can require it and access things the player would have, the plr, the gui, mouse, etc
that pretty much sums up my framework
bad font
Oh wow this is cool, okay thanks. Tbh iโm intermediate at scripting and I understand some advanced things, but laying down a good framework has always puzzled me. Trying to do better about that this time around. Would you be able to give me a basic rundown of what I could do for a platformer game like mine? Maybe mine wonโt start out as complex as yourโs, but not sure.
hi guys i am a newbie dev and i am making a click simulator but i cant find the problem in this situation right here
hold up
could use some help thank you
Name
lightmode user ๐
mulitiplier.Name = "VALUE NAME"
Thx
np
he talking about water proofing
ip68 is like no dust can get nor if you put the device underwater
but high power water jets can push water through still
no shit
thatโs why I posted the picture
thatโs the joke Iโm making fun of him for not knowing ip68 refers to waterproofing and not internet protocol
stop giving shit by saying "no shit" when you didn't know shit, im here to help you understand this shit
are you dumb
type shit
why do you think I posted the image
like use your brain
why do you think I followed ip68 with three skull emojis
ts guy ragebaiting atp
cuz you thought he said a joke like i hacked iphone 3, and you though bro said, we on the iphone 36 now, you said lol what is a iphone 36, isn't it iphone 16
i said nah b, they talking about wifi and water proofing
and now you tryna act like you understood, but im onto you
what are you yapping about
stg yall be dumb as hell
like if you have more than one functioning braincell
you know the difference between ipv4 and ip68
you arenโt a special genius ๐ thatโs why I posted the image
bro is not an intellectual ๐
ts is why you gotta caption memes in 2025 cuz people act stupid as shit and canโt use context clues
someone teach me avl tree
keeping the sterotype alive with this one
always tryna get the last say?
๐ซก ๐คฆโโ๏ธ
what do you name the script that get player data from the data store when they join and save it when they leave
Can anyone help me make a code to make a part teleport me to another part
This one ainโt working
when I look dumb so I have to redirect the argument to something unrelated
itโs discord bro ๐
learn and move on ๐ ๐
player.HumanoidRootPart
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("HumanoidRootPart") then
local hrp = hit.Parent.HumanoidRootPart
hrp.Position = Vector3.new(destination)
end
end)```
is it long to modify a script that is client sided into somthing that you and 1 other can see (like in the same team as you)
This?
since the character is a model donโt you have to use character:PivotTo(part.CFrame)?
how do i learn scripting but also showering?
Iโm trying to do a Naruto run animation when pressing shift but it only works when I jump.
Please if anyone can help me it will be greatly appreciated
I tried everything
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
-- Create an Animation object and set its AnimationId to your animation's asset ID:
local shiftAnimation = Instance.new("Animation")
shiftAnimation.AnimationId = "rbxassetid://YOUR_ANIMATION_ID_HERE"
-- Load the animation onto the humanoid:
local shiftAnimTrack = humanoid:LoadAnimation(shiftAnimation)
-- Detect when a key is pressed:
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
-- Check if the pressed key is LeftShift or RightShift:
if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then
-- Play the shift animation:
shiftAnimTrack:Play()
end
end)
-- Detect when a key is released:
UserInputService.InputEnded:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then
-- Stop the shift animation:
shiftAnimTrack:Stop()
end
end)
both isnโt possible
๐
Your code@latent gust makes my arms move all weird
so learn to code bro
Bro I tried everything
video doesnt even play
looks fine to me lol
๐ซ๐
is anyone here willing to help me add stuff to my game before release please ๐ dm me
i once again put my self under the hell that is this server, wsp
Ppl here are so mean brah js help the dude
well weโd prolly help him if he was in the right channle lol
go to code-help if he wants help 
use the cfram method, i dont know how tho, just know what it is.
So should I ask code help
guys im making progress
im getting an attribute changed signal for the character, if the character dies do i have to disconnect the last signal and make a new one to the new character or can i just use plr.character
to learn to script
so the better way is to use raycasts to determine an accurate time when the part is touched and when so you ensure it sits by using repeat as some bugs could happen. id also use pcall to ensure he sits, so pcall inside the repeat
๐ค
i dont know wtf all that is but ill figure it out
also, how would i go about making this repeat itself
so basically you know how when you write an if statement you have to put an "end"
lol its ok
same thing with repeat, but it uses until
repeat value += 10 until value == 100
you can also do:
repeat
value += 10
-- add more if u want
until value == 10
what if i want it to go infinite
and id also suggest using color3 instead of brickcolor, its easier to configure
then use a while loop for beginners or runservice
you can do while true do end but ADD A task.wait OR YOUR STUDIO WILL CRASH
local function AdjustColor(part, color)
Part.Color = color
end
part.Touched:Connect(function(touchedPart)
local humanoid = touchedPart:FindFirstChild("Humanoid")
if humanoid then
AdjustColor(touchedPart, "Really red")
end
end
me
Why is there no search bar in object browser? ๐ค
Wsg im also trying to learn script how do you learn?
Why would it crash?
so basically while true do is an infinite loop because while something is not false the below runs. you can use this like while player.health > 50 do blah, but an infinite loop would be while true do. and this runs like i said, infinitely. so it runs infinite times per second and hence itll crash your pc because your pc cant run infinite times per second
right now im following brawldevs beginner tutorial, but i am also reading on the roblox creator hub and looking through channels like this one to learn more about scripting
grab system im working on i still need to add throwing
Using dragdetectors or custom
tysm
can someone help me i cant select in between letters
i would say custom
if that doesnt work just restart ur roblox studio
Hey, I'm new to lua and was wondering the best way to learn it
that wasnt the issue i just needed to press the insert key
alright
can someone help me w this? @ HTD helped but the og did not work and this version kinda works. My dms are open tysm
Im also still new, but i know all the basics, all i did was watch "TheDevKings" videos, and i just kept repeating it, and i just kept thinking of ideas i can do with those topics for example loops, i would just keep practicing the same thing until i fully understood it
then ill mix topics like loops and functions, and just completely practice that over and over
kool
?
wanna know how i learnt?
sure
i watched so much tutorials (how to make games such as sim, or clicker) and read dev forums
i also just learnt by using the roblox documentations, and just implementing them into my scripts
great idea
and it helped you alot?
ya
After learning lua I gotta learn how to model ๐
you shouldnt be using the player added here
what are you trying to do
anyone know how to get the roblox display name of a user using python?
Im trying to make a debounce system. I need to check if the player is in the table. Do I need to loop through the whole table to look for the player with a for loop or is there an easier method
table.find
if table[player] then
end
table find is ass
appreciate
???
Yup
big table, long time looking for it
did you not know about indexing
Does anyone know any open source lua projects
ill gwt up and dig through an old project and find it ive done this before
https://users.roblox.com/v1/users/ID returns json that contains displayName @trim heath
how would i get the userid with the username?
you don't
uhhhhhhhhhhhhhh i forgot
there is a way im about 90% sure
this is the code
it works but its messy
im just wondering if theres a better way to get user id with username
bruh
BRO
this is the code
i think its game.players:getuseridfromnameasync or something
in python ๐
oh sorry
alg bro
is there a better way
its not really messy
fr
can anyone explain to me what react is
i am trying so the moment the player joins the game, they gain one of the random tools, like in dead rails 5 days ago
is this python?
yes
Is seeing tutorial videos (how to make battlegrounds game; how to make pets game etc.) going to give me experience?
Dont learn the engine to make a game; make a game to learn the engine.
i think thats kinda like "practice over theory"
maybe
well i did some vfx and want to code it for being applied in a specific area when a specific key is pressed and i think youtube tutorial videos would be helpful
Sure they could help, i have no clue how to code except for some flowchart im on my way to learn
i just discovered arrays
@sacred wagon @sacred wagon
No I donโt think so
wtf man dont ping everyone
@everyone
๐ฑ
@open yarrow
hi
Sure
is there anyone who has worked with moving platforms in studio
Anyone got any tips for me since I'm applying for a scripter role? I'm not sure how professional they want it to be.
there was a video for that
in youtube. if you may search it up
Moving platforms are easy my friend.
there was a glitch i switched ideas since no one replied
Alright
i need help with smth else tho
Speak
What is the problem.
its a medal link
but anyways
i had a script in the platform
and my friend changed it
the script was when you touched the platform you froze, i deleted it, and now i freeze every time i test the game
I can't find it for some reason
do you use while true do?
You probably already solved this but the issue is :FindFirstChild(num), use WeaponOptions[num], should work
it tries to find num as a string, 1 = "1" and theres no weapon called "1"
anyone know about limits for requestasync with httpservice?
would requesting 1GB of data every minute be limited somehow?
Each request (including headers and body) is limited to roughly 256 KB. Similarly, the response size is generally capped at about 256 KB.
really?
did you figure that out on your own or is it public somewhere
its in the docs
is thedevkign a good channel to learn to script?
where at? i can only find a mention of a 500 request per minute limit
httpservice
jumping straight into a project and googling every question you ask yourself is better