#code-discussion
1 messages · Page 225 of 1
no it's in c++ but I find it useful as a roblox dev
for real and ive seen people literally walk into harvard classes they never paid for and still learn without the teacher caring
lol thats insane
theres a video on it idk what it was called
Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art of programming.
💻 Slides, source code, and more at https://cs50.harvard.edu/x.
❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvente...
does anyone remember an old like running joke in the roblox dev community about c++ scripts running in roblox? they had a name like meta scripts or something
lol like
why would u ever go to uni except for the status of a degree
shits wild
do you know what API is? i heard i should have it turned on not quite sure what it means tho @clever sapphire
Their presentations really help, just like my course helped me; they taught me how to speak, how to behave, etc. But you can simply pay for a public speaking course.
u talkin about like enable studio access to api services?
yeah you need that on
for data stores
yeah definitely
yeah not sure what api services are
And btw, i learned to hate making group projects
its like
the datatypes? like string, boolian, and number?
data stores api, messaging service api
A b4tch of my group didn't do anything in 1 year
actually idek what else
no
those are data types, not an API
gym portal
The documentation has 500 Pages
The b*** took 7 months to make 6 pages, i made 500 pages in 1 day from 8 AM to 4 AM, and she took the credits bc i can't proof in law that she didn't make it
Because my team didn't prepare the report. so a tip, if someone don't do something u told them to do, make a report so you can kick them from your group
dang i hope i dont get a team like that lol im in the first semester rn and I only did a mini website project with ai integration with a random group that was kinda decent
goddam
thats pathetic maybe u should have a talk with them
I talked to them for 7 months, but she is like that girls that are shy and pretend to be cool with everyone, so they didn't belive me, they only noticed it now, but its too late to kick someone from a group.
There's another group in my course that knows nothing about programming, but they're about to pass because they're sucking up to the professor. That was another lesson I learned, too—to suck up to the professor.
why's the environment so toxic 🥀
What do you guys read here?
akais
dont use that for a logo bro
aiais
ye
;-;
that does not looks like that
read alias at first glance
i watch so many crime shows
💔
Why?
not good for the eyes
Hmmm
i dont even know what it says
its also just like objectively not good
wait let me cook rq
you gotta sit there starin at it to piece together what it says
dont go too crazy with the font
and this one? good for eyes?
yeah way better than the fire
here i made you one
It'll be for a company of my friend, but he will use it for roblox too
why does it look like the letters are greeting each other
kinda cool
i draw it 2x
remove the extra lines
Ok
I agree
actually
When you have a good name, you don't need to worry too much about creating an extraordinary logo, since everyone will remember the name itself.
am i allowed to put all/any music in my game? or can i get banned for copyright?
you can get banned
ah dangit
good thing i asked
how to hook actor
elloooo!
chat am i cookin>?
both
niceee u early on your scripting journey?
some of his systems, like placement limit is client side, i made it server side and so on
no
since the start of 2023 or abit before i think
i am pretty much intermediate
aye word thats sick. love to see it
thanks
how to make oak chopping system like oaklands like how are they made
vector math screwing with me
this is so true tho but wouldnt it depend if youre trying to grow a game
1st world def good for money
but in the long run?
another method is you could basically for the first 14 days run ads for all countries, get into algorithim, on the 15th day, start running the ads without the poor countries, also work, but you'll need much more robux
btw its a lie that people say better countries higher your CPP, mine didn't change anything
atleast for me
whats cpp again
cost per play
ohh yeah
ok yeah this seems about right
you need to get 0.03 max, above this you are doing something wrong
costly but worth it
what determines cpp anyways
amount of impressions/amount of people that click on your thumb
hmm i see
trust me, 3rd world country is the worst thing you can get, they are really dumb(with all respect, since i'm from a 3rd world country), and they destroy your playtime bc, for example, in a obby, you forget to move the camera of the player to the certain position after he dies and respawn, he will complete the checkpoints he already passed and will leave
you could exclude them right and its better to do that?
what countries should you target and avoid
philippines, indonesia and vietnam, you'll get a good amount of CCU, but nothing of revenue, with 500 CCU i was getting almost nothing a day
Don't do this
dont exclude?
i tried, i got much more revenue with US players, but you'll lose algorithim
I mean, on sponsor, with that method, yes, you can exclude, but on game in general, don't exclude them
the ads are just to teach the algorithim who they should recommend the game to
wdym on sponsor and game
how much you have
like a lot 
if you have a huge budget whats the most to spend is it like go all out or find an actual balance
Excluiding these countries for sponsor so you teach algorithim that they should recommend your game for better countries, but on the settings of the game, where you can BLOCK countries from joining your game, never do this
i see
okay yeah ofc
for this method i recommend atleast around 90k
i dont think theres like a roblox option to block ppl from joining based on region anyways
If you have a good theme, the first 14 days is enough to get into algorithim
so on the first 14 days, be right nothing goes wrong with your game
like bugs
There is
would that affect future launch
oh interesting
Like, running ads for 3 days to test thumb, and all that and then start the real ad?
yeah
No, what is going to happen is, you run the ads for 3 days, then you stop it, if your game stays with 0 CCU for 24 hours the study resets
so it'll not affect
so what campaign would you do anyways
This is from 2 months ago, the algorithim changes everytime, so it could be different now, idk
daily budget or like lifetime etc
i se
daily*
for 14 days
atleast 14 days
How you said you have a lot of robux
after 14 days
run 2 ads
better to go more?
i mean first 14 days if u get on home rec ur kinda set right?
if it's a good game yeah
Then probably its gonna appear a message on your overview saying what you need to improve to get better stats
do you still put ads atp
Nah
i see
so btw is it better to max out on stuff if u have a big budget or do u find a reasonable balance
Why are you helping your competitor?
yes you absolutely need good retention
expect home recs to get you several hundred ccu to start
if u have bad retention, itll fizzle out
exactly
@teal yacht do you own and make games or do you work on games
Both
whats in it for him
That's basic, there are much better strategies but they require more money
whatcha mean
heh guess WHOS got that
What game are you makin
cant say it here
Btw how old are you
i dont usually disclose that
By this i will assume less than 14
Most of young people are scared of saying their age
Like
i'm 18
i'm not gonna get hacked by saying that
i see well its just for privacy reasons i have a reasonably big image
most people recognize Run Hide Fight
ngl i don't play roblox its been years, i only enter to study the theme, so its probably a big game that i don't know
oh wow
thats nice
js for educational purposes 😭
its bc its boring now to play the games😭
i see 🥹
yeah, cuz rn the games are for ages of 4-9

well btw if u wanna get more info on the game my teams working on i can dm u
when i was kid i used to enjoy a game where there was just a park in it
Yeah sure
fr, Like the most simple games with friends
I am well over 18 and don’t disclose my age unnecessarily for opsec reasons
Hm
why do you want to know young people's age?
i was gonna say that if he is young with all he has rn he will probably succeed if he keep it up
oh ok
Anyone hire me gng
Should I use Controls:Disable() for stun effect?
its unreliable in some cases, prefered to use humanoid walkspeed
Then I'd need to use variable to prevent players use block and other stuff while stunned
When you re-enable controls, if player is trying to move for example is holding "W" key, they wont move, causing a bug-like scenario where you wont be moving even tho the movement key is held
it might also disable some other controls you didnt intend to touch
Alright, so it's better to use humanoid walk speed and make a variable that will prevent players from using block etc?
Yes, super simple and optimized compared to disabling controls, because controls forces to engine to block all types of inputs
Alright, tysm !!!!
And, do you think it's better using oop for combat system?
yeah modular scripting is very important for clean code and optimization
try to use modules more often than regular scripts
Alright, I'll finish my combat system using regular scripts first, and then I'll try to recreate it with the OOP , since I don’t have much experience with modular scripting
someone hire me Im +3 years of scripter and I can make you a system (except gag) of a game (payment per script and it changes to the scripts length)
no
I cant.
Is single script arcitecture good?
piss off
hey I’m intrested in buying games dm me if you have one
anyone wanna collab
I’m down
I will
hi
who knows how to script?
ok
sup
Whats the issue
sm1 give me a very basic task, i just started scripting yesterday and i wanna see if i retained the information
Make a simple economy with fluxing tax tates based on region
a door open with e proximity prompt
i cant do an animation but ya ill try that
Use profile store and bridgenet or bytenet
money or nothing bro
no no he is just doing for simply
door opening isnt anim
not for me
Bro i need game ideas
fps game
My word is it always this bro
Mid
i dont ever look for frontpage games ngl
best to go for is simple and easy
I prefer like private rp communties they pay good
have you earned from priv rp??
i have many ideas and i know how to build on;y thing is that i need to scripters . i know hwo to build reaaly good
how did you even grow the community tho??
how do u make the prox prompts do stuff 😭
ik how to insert it and thats about it
are the concepts good? show me em
Well, I don't own them myself. I prefer to work for people
Examples: Star wars games / Medieval Games / Scpfs
ok you cooked bro ngl but you gotta keep on learning
yes ik im cooked, is thedevkings basic tutorial good for learning
thats what im going off of rn
So you just worked on coms and they payed you usd + %?
No, I prefer just USD.
I'm working on my own combat engine right now like the game Bulwork but, R15 and PvEvP aspect in it. Taking many examples from there
How much are you placing in ads?
Nothing, I said I'm working on my own engine that I will then use.
Currently I have no published game, I just work on comissions within the genres.
Wdym youre own engine?? Is this not a game
My own engine as in Framework for a game..
sup so I have an issue, how could I load a players appearance onto a custom rig without it changing the bodyparts or sizes?
okay so i made a door but its not with a prox prompt
let’s talk in dms
dm me
Accept my friend request, your dms are off
got a problem with my custom startercharacter, the idle works for it but the walking animtion plays the roblox default r15 walk animation rather than the custom one
walk and run are separate animations
Is it a bad idea to hire a programmer who will code my game in Roblox typescript considering it's a small niche within roblox coding and it might make it impossible for a normal lua developer to work on the codebase if its written in typescript which reduces my hiring selection pool of programmers by like 90%
i put the custom walk animation on both the run and walking yet it only plays the run
u answered it
yes don't
worst choice u can make
Conversely, you can argue that Roblox TypeScript developers are generally more capable and reliable, since TypeScript tends to attract more advanced programmers than the typical Luau developer base. So despite my selection pool being reduced, they will be of more competent devs
so im not sure
this isn't true
luau >>>
Thats a really flawed way of looking for devs, while yes Typescript devs tend to be more skilled its not becouse of the difficulty but becouse Typescript gives more organization and as the name says type checking so you could also find a mediocre dev who likes to typecheck if you really want to look for good devs just set the years of experience bar high
👎
stop hiring minimum wage luau devs maybe
anyone wanna play or talk
yo
how do i make a prompt which prompts players to get notified for a upcoming event
ts is mainly used to be able to hire ppl from outside of roblox
since ts is a big language unlike luau
it depends on ur budget and scope/complexity of the game ur tryna get made
can someone give a very simple task i started learning scripting yesterday
make a fully functioning first person gun system using raycasts which is then able to check for penetration and make holes in a wall, make sure to include all animations aswell as limb damage, gun attachments, etc...
its the most basic thing i could think off right now i think thats good for a beginner
Make a lava brick
ez alr
kill brick?
Depends on how well you can handle extreme temperatures
ok
Make it be deadly unless you are wearing a special suit you can find and equip
If you have that working you can give yourself a heat meter that limits how long at once you can touch lava bricks without dying
A website to sharpen your Roblox scripting skills with handmade challenges.
too difficult for noww
guys why layout order its weird asf when using on uilistlayout
how to configure it correctly
all of ts is beginner level
says expert but thats easy 😭
the scale is arbitrary
How do you guys structure your code aswell as handling server-client communication effectively, since i dont want remote events firing hundreds of times when my game includes stats that are updated and need to be visualised every few milliseconds
u probably dont actually need to fire every few milliseconds to update ur code
hello guys
does anyone want to help me with scripting? im a begginer and i have been learning for about 2 weeks now and it would be great to have someone help me
what do you need help with
just overall i want to be able to make games that can generate money
Seek employment instead
yo guys im selling an UI manager that lets you close automatically UIs and open the one you want to and is modular and personalizable, im doing it for REALLY cheap robux, is anyone interested?
huh?
To update the ui
selling 3 lines of code 😭
like a shop?
also wrong channel
how so lol
that changes on the server side every few milliseconds
you can just ask ai with no experience and itll just generate you a .Mousebuttton1click connectino which opens a ui of your choice
ok so like the player is getting strength and they need to update the ui to show more strength?
well not strength
bro what
read what i wrote
lets say they have passive income that has to update everyone millisecond or so
"ui that closes automatically when you open another one"
it updates on the server side but not on the client side
you dont make that in 3 lines lol
ok u can do that by just adding it on the client
with 0 remotes
10 maybe
buddy what
its from the server side
70
how are you meant to know how much to add and when it changes and stuff
no definitely not
lets say you add 100 per second as an example
lol bro you cant do it it ten either if you wanna make it sellible
yh def yes
you have one loop on server that adds 100 per second
and you have oneloop on the client that adds 100 per second
if the data is not sensitive and it is predictable, you can let the client calculate it for themself while the server stores the true amount, for example, if you get 1 xp per kill, the client can easily predict this and change it themself without the server telling them to
why would anyone sell something so simple
you can also just use networking lib + unreliable remotes
becausw the dev currupted
amount will fluctuate
buddy
😭😭
u can send a remote whenever the amount changes
but sending a remote every time to add to client is not needed
?
how much you get
to start making some robux? i got 0 im a beginner leave me alone geez
hmm tbf
then use what i said above
do commissions
they pay too much for things that are too difficult
teach me how to get commissions
also it may be a viable option to just change how your game handles certain things to make it more optimized
i got like 100k in a month of commissions from easy tasks
i am mid level scripter
but that depends on your game
you must be looking in the wrong places
easy tasks fro you
and how old are u
i was just talking about it in general to see how others would go about doing it
15
me to 15
so u make 380 a month
now i dont do commissions and just invested loads of robux into ugc and other stuff so i make way more now
no haha that was ages ago
bruh
unreliable + networking is good bet for rapidly changing data tho
yeah thanks for the input
is it weird wanting to make roblox development your career or
yes u do
for i,v in pairs(ui:GetDescendants) do
v.MouseButton1Click:Connect(function()v.ObjectValue.Visible = not v.ObjectValue.Visible)
end
just remember that if you are replicating large amounts of data u will have to use networking lib because unreliable limit is around 700 or 900 bytes i dont remember
how to get commissions
not really
do what u want
it makes way better money than anything else that would require the same amount of work
doesnt tire you out or anything
if u listen to other people for advice u will be working mcdonalds for the rest of ur life
roblox is good start but don't take as career
tell that to all these multimillionaires cuz of roblox
oh yh cause every ui has mousebutton1click obv
if roblox down what you do?
lol why not
yeah alright got me there, 4 lines
no
roblox has way more opportunities and its so easy to invest into and make way more profit
yes it takes 1 line to check if v is a button
print("Hello , world")
whats that gonna do?
local UIManager = {
CurrentElement = nil,
ExcludedElements = {
"GlobalEvent",
"NotificationFrame"
-- Aggiungi qui altri nomi e non saranno più affected
}
}
local function _IsExcluded(element)
for _, excludedName in ipairs(UIManager.ExcludedElements) do
if element.Name == excludedName then
return true
end
end
return false
end
local function _ShowElement(element)
if element:IsA("Frame") or element:IsA("ImageButton") or element:IsA("ScrollingFrame") then
element.Visible = true
elseif element:IsA("ScreenGui") then
element.Enabled = true
end
end
local function _HideElement(element)
if element:IsA("Frame") or element:IsA("ImageButton") or element:IsA("ScrollingFrame") then
element.Visible = false
elseif element:IsA("ScreenGui") then
element.Enabled = false
end
end
function UIManager.OpenWindow(element: Frame | ScreenGui | ImageButton, allowMultiple: boolean?)
-- Se è escluso, mostra solo l'elemento e stop
if _IsExcluded(element) then
_ShowElement(element)
return
end
_ShowElement(element)
if not allowMultiple and UIManager.CurrentElement then
_HideElement(UIManager.CurrentElement)
end
UIManager.CurrentElement = element
end
function UIManager.CloseWindow(element: Frame | ScreenGui)
-- Se è escluso, nascondi solo l'elemento e stop
if _IsExcluded(element) then
_HideElement(element)
return
end
_HideElement(element)
UIManager.CurrentElement = nil
end
function UIManager.ToggleWindow(element: Frame | ScreenGui, allowMultiple: boolean?)
if UIManager.CurrentElement == element then
UIManager.CloseWindow(element)
else
UIManager.OpenWindow(element, allowMultiple)
end
end
return UIManager
what this script do?
every ui you have it automatically closes when you open another one
i think it it module
too overcomplicated
so whats the matter with the script?
every ui you have it automatically closes when you open another one
roblox wont be down in like less than 7 years bruh
whyd u send the script?
proved a point to a guy
oh mb
don't belive in time any things give unexpectation
you're good
roblox has 300 M users monthly
its at his peak rn
wait if your an advanced scripter maybe you could help me
im not
with the money you make from roblox you can easily invest in real world opportunities you know
look the moderation
im quite a beginner
so?
you know abt modular scripting right?
yh
would it be better to register inputs on local script or module script
im looking into modular structures with 1 client and 1 server and rest modules
i mean its not a "better there or there", everything you do should pretty much be modular for organization
so yh modular
gonna go eat dinner now
alr thanks
it depends what for
you're welcome
combat controller
then yeah i guess you should use a module
for a clean system I wanna register a universal cooldown for everything but if I reference it in a module how can I check if the player has the cooldown
local playerCooldowns = {}
--when a player joins:
playerCooldowns[player] = 0
--when a player does something
playerCooldowns[player] = x
--when a player leaves:
playerCooldowns[player] = nil
--to check cooldown:
playerCooldowns[player]
make sure its on the server side though
ok thanks 👍
i need help. i made a script so that when i press a text button it will play an idle animation. however, when i test the game there are no code errors but the animation just doenst play?
can i see code
Any alternatives to tags for kill logs?
What kind of commissions yall doing?
spend time finding one person who will pay you alot instead of doing random stuff for different people
you can build a good relation and get more and more as you work together
id spend a whole week on just that if i were you
Bet, I normally do like 3d modeling and sculpting characters, but for the last 3 years I've moved over to scripting.
trust me find some stupid person with lots of money thats in a rush to get loads of stuff done quick
maybe not in this server
just look around anywhere
tutorials, roblox documentation
or you can type that exact sentence into google and you'll find the answer someway somehow
does it teach everything
no tutorial will ever teach everything
because theres always new things to learn
even if youre 10 years into programming on roblox
but it gives you a solid base and its probably the best scripting series out rn
Oh
after if i finish that what would i need learn next or is it everything i need to know the basic and advanced series
after that you would be able to learn by your own
using the documentation
but you should start before thinking of what you will do after
this is the kind of things ppl that never start worry about
if i wanna learn to code what should i start with liek python or? and where shoulkd i learn
lua + roblox 😃
does anyone know how i could start approaching some entering and leaving mechanism for vehicles? like in GTA when you wanna go in the car the player first walks to the door, opens it and then takes a seat. how would i approach this?
start with making car ig
already made a car system
I mean it must be part of car system
so well it needs own sub system I guess
which would hold 4 seats table with players
and play animation inside of door
well that doesnt matter i really just need to know how i would combine an animation with a random position in a radius from x around the door making it basically a dynamic animation
sounds way too complicated bruh
because if i were to play an animation regularly, then the player would just teleport to that spot, but i wanna start the animation based on the position the player is at
just make the player always walk to the same spot in front of the door
you can just animate by keyframes door and use animation controller or tween it
what about the orientation?
like orientation of player
yes make plr face the door
then play animation of player + door
that sounds good let me try that thanks man
i tried doing that but that is fairly inaccurate since it always stops at a different spot
can modules that are used by local scripts use a bindable event to talk to a module that is used by server scripts?
Nope
Fundamentally, BindableEvents do not network. They're local to the client and server
You need a RemoteEvent
Bro how do I make my module scripts talk to each other without events
Like physical ones
That's impossible
The only way to communicate between the client and the server is through RemoteEvents
I see so many videos talking bout not ever using remote events and functions
Something like zap blink burnet
no
Those videos are referring to networking libraries or frameworks, which both abstract the usage of RemoteEvents
Are they hard
No. The point of abstraction is to provide a streamlined interface for a more complicated or laborious procedure
Cuh 😭
you speak so professional and elegant ive never seen anything like this
even adding word definitions
It's important for developers to understand the terminology and common phrasing of their field
Abstraction is a major concept of software development
Yo do u use this too
And if u do which one do u use
I have never made use of a networking library. The current codebase I am employed on has a homebrewed networking solution
Generally, these libraries utilize compression and scheduled, batched approach to delivering information
This optimizes bandwidth usage, which is what these libraries solve at their core
My codebase does the same
This really only matters for games that see large player counts and deliver large amounts of data frequently
For a bog standard, "steal an x" game, a networking library is overkill
unnecessary optimizations are still optimizations 🔥
Does anyone actually use the collapsible functions feature on the Roblox Script Editor?
yes? its super useful for reading code and finding bugs in frameworks
Its just for viewing lol
Anyone who is using that is using vs code instead
VS saved my life
What is the real advantage of VS?
More time spent in the kitchen irl (Somehow even laggier than roblox studio 🔥)
it looks better has nice plugins and is industry standard
Theres nothing wrong with using studio
is it bad to have 5 remotes for a map voting system?
Why u even need remotes
Ui voting system checks on the server etc
i will try
i made a uicontroller but im using a localscript to check for changes in the humanoids health and data to then update the bars and fire the functions in the uicontroller modules should i leave it like that or try wrapping the local script ina module aswell ?
1 to make the ui show cause i called it on the server, 1 to vote, and 1 to show everyones votes
Yh
If it feels disorganized then yes move it to a module, but theres nothing wrong with using the local script there
Ight
My game has 9 or 11 remotes
I think i could make 1 remote do all the ui Popups
but i didnt think that far
so its too late
lol
You can use plugins and also have access to copilot
Super helpful
Not to mention, if you use a package manager like Wally and rokit, you can easily import packages
copilot kinda buns tho
but i see ur point
use blink
gng ts js a empty text chat
OH WAIT
I JS READ IT
THERES A TEMPLATE
?
runtime typechecking is probably even more useful than the performance stuff networking libraries provide
also these libraries were first made to save time in the rojo workflow
yo
do you know how blink/zap works
im searching them up rn
it generates optimized networking code based on the schema u write in their custom language
so lets say I make an sprint event. how do I reference it in my server script?
after you use blink to generate the files, you would require the module and reference the function like any other remote wrapper
What's the best way of making a Dialogue System? I'd like something style RPG Maker
its way better if you have a custom chat mode for roblox
also does anyone know any good use cases for generics?
the only one I can think of is for an array, like java has with arraylist
ArrayList<String> cars = new ArrayList<String>(); // Create an ArrayList object
hello, i made a pathfinding script for my own player instance, problem is when i do this the walk is not smooth and kinda stuttering, any ideas on how to fix that? (local script btw)
@wise turtle
type Char = Instance(Model)
is this how i make the event only allow TargetChar
HELP ME PLEASE
In the WORST CASE of using e.g.
local Hearbeat=RS.Heartbeat
local Wait=Heartbeat.Wait
Wait(Heartbeat)
Is this still EXACTLY AS FAST as RS.Heartbeat:Wait()????
Ur the fucking goat I’ve been tryna do this network library shit for like 10 hours straight now
Finally got something to work
owo
how did yall learn how to script?
someone send him the every roblox scripters journy image
pick ur pathway
- turn into an animal
- turn into a different gender
- autism
- adderall
- drugs
- savant syndrome
- depression
Hm
I feel like I’m getting stupider when I learn scripting
Nah but fr how do y’all learn these tutorials are bs they just link a course or barley teach anything
Born with scripting knowledge
start with failing
I have failed 2 times so far
This is my 3rd time trying to learn
learn from ur mistakes
Everyone telling me to do different things but once I’m done with basic tutorials they tell me to copy a script off tool box and learn or read the docs
Feels like I learn something and after a day I forget it
It’s like I have to sit there 24/7 learning so I dont forget
- random beginner scripter yt videos
- learn how to interact with proterties
2.5. learn roblox services - learn how to store things in tables
- learn how to get information out from a table
- learn what meta tables are
- learn how tables and metatables interact
- learn client server interaciton
- master OOP
- start your first project with beginner devs
- fail
- try again with better devs
- succeed on making a bad game
- keep making projects and learning from them
- use ur past projects to build ur portfolio
- get hired
Get a free model tv model and start to script it
Using click detectors and image labels
Wdym?
You go in the toolbox and look for just a tv model
Hmm
And then I script the buttons and things?
Then you will make it work by adding and scripting click detectors and image labels
Yeah exactly
Lowk good idea ty
hi guys how do i become a pro scrwipter
Buy my courses
ohh bet
Np and if u dont understand anything just look it up, for example if u dont know how click detectors Work go in youtube and look for a click detector tutorial
Alr ty
You Gotta script offline to achieve that title
im only a 300 elo scripter
elo doesnt matter, its how much power in rise of kingdoms you have
Im crine
What do you mean by "duplicate"?
i have a brick with some code in it that
makes leaderboard have coin stat
gives u 10 coin when hit
goes to random position
is me able to legit just ctrl c ctrl v it
🙂
https://www.youtube.com/watch?v=64p1V1pV4-4 Smooth Animation??
anyone here do machine learning
i got bored and made law from onepiece, anyone got any suggestions on what else i could add
any of law's other abilities
its only room + shambles rn
animation and vfx are lackluster cause i dont do much of either
can anyone tell me why its not working local partsParent = workspace.Room4.Buttons
local parts = partsParent:GetChildren()
local randomPart = parts[math.random(1, #parts)]
local value = Instance.new("BoolValue")
value.Name = "IsCorrect"
value.Value = true
value.Parent = randomPart
print(randomPart.Part.Position)
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") and part:FindFirstChild("ClickDetector") then
local click = part.ClickDetector
click.MouseClick:Connect(function(player)
-- Turn green when clicked
part.Color = Color3.fromRGB(0, 255, 0)
wait(5)
part.Color = Color3.fromRGB(255, 0, 0)
if part:FindFirstChild("IsCorrect") then
print("destroyed")
workspace.Room4.TunnelGate:Destroy()
end
end)
end
end
What about it isn't working?
You're doing:
print(randomPart.Part.Position)
But randomPart is already a part, so there is no child named Part.
so it's
print(randomPart.Position)
the entire script is
local partsParent = workspace.Room4.Buttons
local parts = partsParent:GetChildren()
local randomPart = parts[math.random(1, #parts)]
-- Choose the actual part to click
local basePart = randomPart:FindFirstChildWhichIsA("BasePart") or randomPart
local value = Instance.new("BoolValue")
value.Name = "IsCorrect"
value.Value = true
value.Parent = basePart
print(basePart.Position)
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") then
local click = part:FindFirstChildOfClass("ClickDetector")
if click then
click.MouseClick:Connect(function(player)
part.Color = Color3.fromRGB(0, 255, 0)
task.wait(5)
part.Color = Color3.fromRGB(255, 0, 0)
if part:FindFirstChild("IsCorrect") then
print("destroyed")
workspace.Room4.TunnelGate:Destroy()
end
end)
end
end
end
If i'm not wrong
It now works
doing tasks for cheap price ;-;
this my first code
local function addition (n1,n2)
local result = n1 + n2
print(result)
end
addition(3,5)
addition("apple","orange")
what is the best way to learn scripting?
who here trynna get they games coded?? 👀
Who wants to be hired 🤩🤩🤩🤑🤑🤑👍👍👍
me
Does anyone have any idea how and if I can make the studio interface bigger
For like scripts and everything
u can ctrl scroll to zoom in on scripts and to increase the other interface size u may have to check studio settings
^^
if there's nothing you can adjust studio size on windows settings (if youre on windows)
take out their hearts
i might have to make a law devil fruit ngl
also turn off cast shadows
yo guys
would anyone here help me make my game faster, its a 4v4 tag game and fast paced, i need someone to help me speed things up
does anyone know of a working chat script? im in the middle east so chat is disabled for me and i wanted to add a custom chat to my game
Anyone do macroing / coding services here?
increase fov 🙏
againts tos probably
whatd does that mean 💔
field of view
ujhh
Camera then go to properties and change field of view
i work for one tag game i can help u if... dm
Its a simple property
Its a property in the camera object
i cant pay
In studio
ah then ;-;
wdym by macroing ?
there is no best way everyone has his own way
for what
what is the highest scripting rank?
Scripting god
walkspeed = 50
.
where are the ranks at?
im in the process of trying to make an incremental game and i have a question about if there is a better way i should go about the collectables as my only current solution is sending a remote event from the server to the client to generate a item and then the client sends a remote event back to the server when they have collected above a certain threshold (my current threshold is 10 total items collected) does anyone know any better alternatives to this?
Can h explain ur collecting system more detailed
its two way server to client asychronous communication where the server is generating a key that that client recieves and then the client handles the UI effects, models, and generation. After the client collects the collectable by walking into it the client sends a list of items that i call batched items. The batched items add up to a total amount of 10 and are used to prevent too much remote event firing. When the server recieves these items it verifies the authenticity of it by checking if it could of been generated and then removes these items from a list that tells all the possible items that could of been generated and generates more items since it is under spawncap if it was before.
ex. of batched table
bt = {[item1] = 8, [item2] = 2}
@iron kraken
Ok what if the player leaves before u collect 10 then they lose progress?
I think it’s fine if u fire server everytime a player picks something up
And u prob want some server checks for security
Cuz and exploiter would still be able to get items if they happen to choose an item that is in the table
oh thats handled by game.players.playerremoving
So the data is still on client tho
Because u only fire server after 10 are received?
thats a different case
when the player leaves all the temp data the client stores is sent to the server
I’m not sure if u can fire client tho in player removing
and batched items fall into that category and they are handle by the corresponding module script
oh yea
Ye but once player removing is triggered u can’t communicate with that player any more across client server
ill change it to use a remotefunction then
oh
So it would be easier to just fire every time the player picks up and maybe add a distance check on server
i mean but the difference of 10 items is neglibile it wont be a big deal if the server doesnt pick up on the missed items
Ok
whoever needs a scripter dm me
is there any docs or sum for ball physics?
it gets the angle of the ground somehow
Make the player speed 45
No I meant help me w the game
i need some advice. So my game is decent everything look great we even ran ads but we got no active players. i looked into other game wich looks bad and the data takes 5 min to load when u join and it got 2 k active players like can someone pls tell me what i shuld do?
do you like play your game?
what is the game about
look in code help
https://devforum.roblox.com/t/orienting-a-part-to-the-ground-normal/521902 read this, you need to orientate the animal's cframe to match the ground's normal
Hi everyone. I’ve been trying to make this work for a few days now to no avail. Basically I’m trying to orient a part CFrame to the normal of the ground beneath it. The end result is a custom Go kart framework. Like shown in this video. In the video the guy basically did four raycasts downward and then averaged the normals of them. That’...
thx for the reply but i already found a solution
after searching like 20 devforums
lol
works too i guess lmfao
it's exactly what i wanted lol
it aligns perfectly
i had to lerp it out cuz the version i found was snapy
yo
anyone here know python?
and knows there way around VS code and anti gravity
like i was making my twitter and discord bot
( my twitter bot was working before btw )
and now its giving me a message that makes all my python code not work, like if i run it it wont work
whats the message?
Could not find platform independent libraries <prefix>
this
yeah
uhh a quick search gave me the solution: add PYTHONHOME to your environment variables
there's plenty of stackoverflow forums on this error message so have a look through those if that doesnt work
thx man
no worries
how do people make those cool animation of buildings where like pieces start at a random position then builds it self
script
yeah but what is the concept i cant find anything on the internet related to that
let me look a bit more
loop through all the parts and store all there positions in a 3d array then use the array to find the closest parts near the part then turn those visible remove from array and then continue but the starting point now is those new parts u revealed
something like that idk

u cud also just loop every time but thatll be laggy if u hvae a ton of parts but itll be less work
hi guys this is prolly redundant but which approach is better for making an aimed move (throwing a snowball)
casting a ray from the character location and pointing it towards the mouselocation then tweening between them
casting a ray from the camera location instead and tweening from the character
yez ik
did u advertise game?
also do u have good thumbnail
I moved this code into my module script (and altered it to work) do i have to put it in a function to reference it or?
local Players = game:GetService("Players")
local Leaderstats = game.ServerStorage.Leaderstats
Players.PlayerAdded:Connect(function(player)
-- will run when player joins
Leaderstats:createLeaderstats(player, {
{name = "Coins", value = 0},
{name = "Level", value = 1},
})
local coins = Leaderstats:getLeaderstat(player, "Coins")
coins.Value = 0
end)
hiii
i’m looking for someone who can code a script that saves the team a player is on, so that when they leave the game and join back, they spawn in the same team they were in before
Ask chatgpt
i already did and it didnt work
script too basic for it..
Do u want me to ask it for u
Mine has superpowers apparently
please
Assuming you mean Roblox (Lua). Here’s a simple pattern using DataStoreService that saves a player’s team name and restores it when they rejoin.
Setup
-
Make sure your teams are inside game.Teams, with unique Name values.
-
Put this script in ServerScriptService as a normal Script.
-
Enable API Services in Game Settings → Security (for DataStores to work).
Script
local Players = game:GetService("Players")
local DataStoreService = game:GetService("DataStoreService")
local teamStore = DataStoreService:GetDataStore("PlayerTeamsV1")
local Teams = game:GetService("Teams")
local function setPlayerTeam(player, teamName)
if not teamName then return end
local team = Teams:FindFirstChild(teamName)
if team and team:IsA("Team") then
player.Team = team
-- Optional: move character if already spawned
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
player.Character:MoveTo(team.SpawnLocation and team.SpawnLocation.Position or player.Character.HumanoidRootPart.Position)
end
end
end
local function loadTeam(player)
local userId = player.UserId
local success, savedTeamName = pcall(function()
return teamStore:GetAsync(userId)
end)
if success and savedTeamName then
setPlayerTeam(player, savedTeamName)
else
-- No saved team or load failed: do nothing (Roblox default selection)
end
end
local function saveTeam(player)
local userId = player.UserId
local teamName = player.Team and player.Team.Name or nil
local success, err = pcall(function()
teamStore:SetAsync(userId, teamName)
end)
if not success then
warn("Failed to save team for " .. player.Name .. ": " .. tostring(err))
end
end
-- When player joins: load their last team
Players.PlayerAdded:Connect(function(player)
loadTeam(player)
-- Optional: also save whenever their team changes
player:GetPropertyChangedSignal("Team"):Connect(function()
saveTeam(player)
end)
end)
-- When player leaves: save their current team
Players.PlayerRemoving:Connect(function(player)
saveTeam(player)
end)
Notes
This saves only the team’s Name, not the object itself. So if you rename teams, old data will no longer match.
If you want to force everyone to have some team on first join, just assign a default team if savedTeamName is nil.
If you paste this in and it errors, send me the exact message and I’ll adjust just the part that’s broken.
tysm, it worked
yo guys i'm looking for a modeler for my tower defense game we are like 9 persons and we kinda need help with modeling since our current modeler cannot finish every thing by himself. we unfortunatly do not have a budget so we cannot hire with cash, (only %), for more info check dms
Who wants to be hired 🤩
Not me 😄
crazy
me
How much you paying ?
Me im scripter hehe
W 4 years
Do you still hire bro?
If you hire me i will delete all my games and tiktok
In my phone 📱
Probly anything what you want me to create?
Car
I'm currently on work rn 🙃
I'm bored making things like that
I'll make some and give you the car later when I have time
Accept my rq
Afk
Should I have the animation manager have a function called play:(anim) or should I make it so it listens to signals and plays/clears them itself
what the parenthesis that directly trail after a function is called are meant for?
I remember they' can store arguments I believe they are called
but I'm perplexed and what the purpose of having arguments in the function parenthesis help with
Scripters specify parameters within those parentheses, @woeful mural
Functions enable scripters to package code for reuse. That code may need to operate with different data. Arguments & parameters facilitate that
having a main function makes everything cleaner and easier, so 🤷
Say you package an algorithm which adds two different numbers, we can set it up to work with varying input like so:
local function add(a, b)
print(a + b)
end
Then:
add(5, 5) --> 10
add(5, 10) --> 15
-- ...
Anybody wants to try out my Mini-game with me please?
what is it ?
a Player vs Player Survival game
try it out with me so I can quickly check how is it with 2 ppl
For HD admin, is there a way so that players with a certain stat can also access the commands? So if they have x amount of money then they can use the commands
worth it to learn oop and metatables while making a pvp game?
definitely.
🗑️
Bro say OOP in 2025 🥀
is this basicaly oop? ```lua
local Items = {}
Items.__index = Items
function Items.New(Item)
local MetaItem = setmetatable(Item or {},Items)
MetaItem.Name = MetaItem.Name or "PlaceholderName"
MetaItem.Type = MetaItem.Type or "PlaceholderType"
MetaItem.Description = MetaItem.Description or "PlaceholderDescription"
return MetaItem
end
function Items:Attack()
print(self)
print("Attacked with "..self.Name)
print("Item is a "..self.Type)
end
return Items
lock in
idk ive never done it before
Yes
made my first working script
local speed = math.random(1, 1000)
if speed > 50 and speed < 100 then
print("this number is higher than 50")
elseif speed < 50 then
print("this number is lower than 50")
elseif speed == 50 then
print ("this number is = 50")
elseif 101 < speed then
print(speed)
end
You shouldn't be destroying and creating GUI objects to render a new window
my ui is dynamic
That doesn't change my statement
fair, I think the biggest issue is calling module.UI recursively
because I do have viewport frames and since that renders 3d objects it could be performance heavy
im going to optimise it
different approach ig
That's technically fine; you don't have to worry about a stack overflow
You're not calling module.UI from module.UI
oh yeah, im calling it within a button click event within module.ui
Are the dev king and other peoples tutorials outdated?
thedevking is outdated and he is just bad overall. and for the other people it depends on who they are
i would recommend brawldev tho if you are starting out
dev king is trash
oop sucks🤑
whats wrong with oop 🥀
holy nesting
?
try making your code more readable first
I’d do it all on the client if I was you
Manipulate what? 😭
Doing it on the client then sending to the server with server checks ❌
Doing all uis on the server ✅
New era of Roblox devs gotta be studied
who tryna be a dev for my solo leveling game
if you have to create or manipulate a gui on the server your code is structured wrong period doesnt matter what performance implications it got
ui on the client
exploiters dont change that fact because what are they gonna do change the ui on their screen wow
^
these that are hiring scripters ignores all dm
can i dm someone to let me know if i go in spam
maybe that's the problem
It applies to every single use case
There is just no exception
The fact that you can manipulate the ui of clients on the server in the first place is a vestige of 15 years ago
If you genuinely think you should be doing the uis on the server then go ahead
You asked for advice urself
Have you considered players with 100+ ping will literally have to wait to click through your guis and load things for no reason whatsoever
You showed 1 script of handling the ui on the server
Thats 1 too many
0 of your uis should be ping based for user input
JFK was the best president the US has ever seen and will ever see in their lives
Do you know what an event organizer is lmfao
They arent from roblox
Its literally just any user
No they dont
There are plenty of bogus posts and replies by people with no idea tagged event organizer
Just like all of the other roles that arent admins
Maybe go 20 posts down in that thread you found for the marked answer that gives more reasons you shouldnt do it and was given 10x the likes over your event organizer
UI on server 💀
Its not different its a known pattern and if you come in here specifically asking for "okay or overcomplicated," step 1 is "move it to the client" no matter who you ask, even if its currently "working fine"
Like the other guy said you were the one to ask
How do scripters fight against exploiters in games with quick time events on the client side? Exploiters can just do checks to click it at the perfect time, or pass through a custom time, etc. is the only way to have a report system so other players can report
U dont
Unless its absolutely needed. Anything u do on the server gets fucked on the client when they try to make changes, especially when the server is making changes to a ui that the client has already made changes to
If theres like no client interaction then its chill
the best way is to design your game in a way where hitting every quick time event does not offer you a significant advantage over missing a few
anti cheat just goes on top of that
Thats gonna be a problem.
I just feel like its impossible to prevent exploiters from winning every game
then unless its literally a fighting game or an fps where you have to deal with aimbot the game is poorly designed
if the entire game loop is "press q e in the perfect moment" is it really a swimming game or did you make guitar hero
Its not, but theres many QTE mechanics
Glorified guitar hero
If that makes sense
option a. lean more into every other aspect of your game and have "hit every input perfectly" be just one axis of skill expression
option b. do research on how online rhythm games deal with cheating
an inbetween is having anything -50ms to 50ms count as a "perfect" input, -100ms to 100ms as "good" and so on so the skill ceiling of an exploiter isnt significantly higher than that of a good... reactor
theres a lot of games where even if you have a cheat for the mechanics it does not guarantee a win
its just one axis though, anti cheat and matchmaking are not meaningless, im just telling you that theres more options because you asked for anti cheat specifically
Y'all, can someone dm me where I can get game templates, I want to make simple games by myself and learn. For now I want an obby template with skips, shop gear, etc
-# (also don't make the stupid joke of hahah @graceful vale finding templates ok, it already came to my mind and I laughed)
yo my server and client broke, is this happening to anyone else?
@graceful vale
there you go
elaborate
my ui doesnt load and my data stopped being fetched
parts of them should load seperately they just stopped
ill just ctrl z and see what happened
replicated first is also not loading my loading screen
show outputs
k
the infinite yields are nonsense cuz they exist
thing is i joined on another pc and the same thing happened
to get rid of the inf yields, make sure that you spelled the names right and that the child actually does exist and then just add math.huge as a timeout
get rid of them first then check if it doesnt solve the problem
oh ok
well heres the thing
the server is having issues too
it was just working am oment ago
and then i edited some local scripts
and then it broke
so its probably just studio
r u not maybe using profilestore wrong
ok one sec that was the last thing i did
i did it very lazily this time
yeah it has nothing to do with that
everything just broke at once
i probably accidentally moved something in workspace
Im basicly making a game a bit like taxi boss, but instead of taking "normal people" you take criminals that have completed hiests exc. Then there are cops after you. That will try to get you (Your car basicly has health, and when a cop rams ur car some of that health gets taken away. When ur car dies you basicly die)
Its gonna be a hell to script😭
How long do yall think its gonna take
what do you mean by "game templates" because I see that your a builder. I'm just alittle confused?
Game systems that are already made


