#code-discussion
1 messages Β· Page 222 of 1
they are all quite different from each other
it just depends if it's done
yea it is
like just as an example i was a builder before, now when i build something its like 50% building 50% scripting
i can literally do everything except scripting
you can automate tons of stuff
but im slowly learning how it works kinda
u would be unstoppable if u learned scripting
DAYUM
mb caps lock
its just too hard man but yeah
it does suck but it stops sucking after like... idk 48 hours ish
like i know
good game ideas
modeling
drawing
composing
animation
if u learned blender for building
im confident u can learn scirpting
yea for sure
everytime i boot that app up idek what im doin
blender is like a nasa space shuttle
yall are right though
on soul
they got him with the book of infinite knowledge
dude i have an idea for a horror game
its like yall know this game called eternal darkness
theres a mechanic where you slowly lose your sanity and it mixes up with the actual gameplay so you have to figure it out
i want to do a game that its like a group of 4 investigating 4 different missing people's corpses and you have to identify them and investigate
the thing is that their souls will haunt you when you make a mistake and it doesnt go away
and basically you slowly lose your sanity the more mistakes you make and the game has actual paranormal stuff so you gotta know whats real and whats not
its an ugly example cause the game is heavily in dev but as a builder i might have to place every decoration
but once u know scripting u can pretty easily make something that auto-places grass decorations when the game starts
and u can do other stuff too (like the windows light up at night, or you can destroy trees and they grow back)
its fun to take your builds and make them interactive
is that second image roku city
idk what that is
its the city from my game
TRUE
mb i keep having caps lock on
like in fruit battlegrounds
i was told once by a game dev who kinda mentored me for awhile that module scripts are so op for scripting
and I've heard of concepts such as OOp scripting adn what not
what are module scripts
Yo realistically how hard is making a single Aba move
to make the process easier
just a way of organizing code
helps to stay organized
guys
prolly decently hard
whats the best game to use as a portfolio for a scripter
oh srsly?
these things are good to learn (but not strictly necessary, most people just learn what they need to know next when making their game)
dudes be talkign abt OOP like its the holy grail of coding
yea its just a special script that you can re-use
OOP is just kind of a way of organizing aswell
fair enough
oh okay then i guess il brush it off
u will probably find yourself using parts of these, so dont worry too much about it
like i mean its fine to learn random stuff/study things/be curious
but u can also just learn whatever is the next piece of ur game and youll be fine
you usually end up picking up things like Modules as you go
omg i just got an idea for a simulator
its kind of like pet simulator but mixed with this nintendo game
pikmin
being able to make anything is so worth it imo
there are LOTS of great old games that havent been adapted yet to roblox
also u can legit do anything like i added horror + night time + base building to my obby
and no one can tell me no
u get to just do legitimately whatever u want
bet
cuz at the moment i forgot the vids i watched on modules
π
true because i have this idea for a game
its like jet set radio mixed with gta online
ngl watching these videos as a beginner is like. trying to get an explanation on how an engine works when ur a caveman whos never even seen a car
they are sooooooooooooooooo difficult and sooo complex
i did not get ANYTHING from them videos until i had 2-3 months of scripting
good analogy tho
i have so many crazy ideas that if i had the tools i would go CRAZY
so why wouldnt i
yo you sound JST like me when I was tryna learn scripting
(barely learned anything since then tho so idk hwy I'm talking like a unc but wtv)
u actually sound like u are good with ideas (lots of people pitch themselves as idea guys but their ideas are just "Steal a brainrot with toilets instead of brainrots")
iss there any way to get all gamepasses, tshirts etc a player made with or without a proxy reliably
to be fair my ideas are kinda like that but with games that arent on roblox but
instead games mixed with another concept/quirk to make them new again
which is good specially on roblox
tried it, didnt work
http requests r on and game is published
u can really do anything u can think of
with only a bit of scripting skil
csgo surf adapted into roblox would be insane
movement abilities are actually very good because its like. a small to normal amount of code
but then literal like
hours of gameplay
and if you make it right, its playable on basically any map
thats actually a good idea for a potential
so you can get random maps from toolbox and parkour on them
popular game i see that becoming very popular
yeah
movement abilities are forever goated, tehy give u the most gameplay of anything i think
like the ROI is very very very high on movement abilities
even basic ones
i think the game im making rn is perfect for a portfolio
because its a roguelite so its like what i can code based on randomness stats etc
lots of calc
is there away where i can enabled all the particale emitter at once? or am i stupid and should just use tag editor , (im new to scripting)
making a remake of a game I loved as a kid
what's that
its my main map
and every couple of ingame secs theres a chance the biome changes
and all the map assets will change
if anyone got a potato pc or wants a better pc performance dm (u wont regret it)
can anyone tell me a good game idea
colony game always fun
i have a friend , he is marketplace staff member in devs cove server , and he is investor
Any way I can make this smoother?
In what way smoother
idk show ur code
anyone know how to like fix hum physics recovery freeze thing
if anyone got a potato pc or wants a better pc performance dm (u wont regret it)
yo how do ppl be knowin what math n shi to use when they making something?
Can anyone teach me making good games from roblox studio
is this good structuring?
ye'
john doe
looking for a scripter fuII time for more information dm me. Yes theres a payment ofc.
sorta just a way to make your own functions?
that's atleast how i use it, functions and info.
there's advanced stuff like OOP, but really you can go on a big game without using it (myself included)
how i use it for info
I'd argue that OOP isn't that advanced its more like at an early intermediate level
how much should someone charge for a system like catalog avatar game
but u have specific items instead of the whole catalog
10 robux
thereβs also a free module that roblox has inside of one of their template thingies
what really
i think itβs the clothing store template
ugc homestore
it gives you that exact feature of it being specific items
oh the ui is just kinda shit
is this not how tools work ? can someone tell me why the code aint executing its a server script and its inside the tool script.Parent.Equipped:Connect(function() warn("HA;ELEHFDJKMNB") end)
the server doesnβt handle tool equips. .Equipped only fires on the client, you need to use a LocalScript inside the tool to detect it
the script is correct, just put it in a localscript
π thx for the help tho i found the issue and u were wrong it can be used in a server script i just forgot to set requires handle to false
oh yeah youre right lol
we're both right actually, my fix was like a bypass to it
glad you found the fix though
local Uis = game:GetService("UserInputService")
local tweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local BooleanValue = game.ReplicatedStorage:WaitForChild("TaskBoolean")
local player = game.Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local Mask = PlayerGui:WaitForChild("ScreenGui"):WaitForChild("Mask")
local MaskModel = game.ReplicatedStorage:WaitForChild("MaskModel")
local charachter = player.Character
local Head = charachter:WaitForChild("Head")
local masktime = 10
local CurrentTime = masktime
local MaskEquipedFlag = false
local maskModelClone = {}
Uis.InputBegan:Connect(function(input, event)
if event then return end
if input.KeyCode == Enum.KeyCode.R then
if not MaskEquipedFlag then
Mask.Visible = true
Mask:WaitForChild("MaskE"):Play()
Mask:WaitForChild("HeavyBreath"):Play()
MaskEquipedFlag = true
maskModelClone = MaskModel:Clone()
maskModelClone.Parent = Head
task.wait(2)
Mask:WaitForChild("HeavyBreath"):Play()
else
Mask:WaitForChild("MaskUnE"):Play()
Mask.Visible = false
MaskEquipedFlag = false
end
end
end)
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = playerGui:WaitForChild("MaskUi")
local Bar = screenGui:WaitForChild("Bar")
local BarStartSize = Bar.Size
local BarEndSize = UDim2.new(0, 0, 47, 0)
RunService.Heartbeat:Connect(function(DeltaTime)
if MaskEquipedFlag then
Bar.Visible = true
CurrentTime -= DeltaTime * 2
CurrentTime = math.clamp(CurrentTime, 0, masktime)
else
CurrentTime += DeltaTime*2
CurrentTime = math.clamp(CurrentTime, 0, masktime)
Bar.Visible = false
end
Bar.Size = UDim2.fromScale(CurrentTime / masktime, 1)
if MaskEquipedFlag and CurrentTime <= 0 then
Mask.Visible = false
MaskEquipedFlag = false
end
end)
third day of scripting
yo i wanna make a ball system like azure latch but for basketball how would i do that?
calculate
you spelt character wrong on line 10 :(
fixed it long time ago
local character = player.Character or player.CharacterAdded:Wait()
tweenservice so π₯
whats the best zone module
spr better
Hello i am a Scripter And Thumbnail / Photo editor / creator with 1 year of scripting experience and outside of roblox photo editing experience Dm me for any jobs u have
made their account today btw βοΈ
u shouldnt advertise here both of u
mb
its alr maybe go to devdiscussion or smth
ok
anyone looking for investors?
how is the t rex reaching the pieces
better question actually how is the pigeon moving the pieces????
camera, walkspeed
i am building a herberg game and i have all these npc that i have to let walk around but should i do it with layout parts or is there a different way
roblox --> discord webhooks are allowed right
how do yall structure your ui code
i use a module that loads modules for each Gui object
OOP
wdym
instead of
local c = self.instance:WaitForChild("b):WaitForChild(c)
do:
local a = self.instance
local b = a:WaitForChild("b")
local c = b:WaitForChild("c")
much cleaner
thanks
np
personally, i like putting them in a black dark box with camera changed
does anybody know how i can grab a player's hair accessories and skin color only and apply it to a startercharacter or their character ingame because i have a starter character but wanna apply the hair accessories and skin color
humanoid descriptions
yeah its kinda hard to understand because ive never had to use thisbefore
yes please but it would also be helpful if you explained it
through comments or whatever you please
search it on roblox docs
you need to use humanoid:ApplyDescription/ApplyDescriptionReset
or humanoid:AddAccessory
what if its a startercharacter with no humanoid description
lemme just read the doc fully
ok i understand it now
dm me
yo guys is for .. pairs and for .. ipairs like a foreach loop, to loop through arrays and stuff
yes ipairs does in order from 1 to the end, and pairs does it randomly
is there people who still uses pairs ?
obv
I do sometimes
but yeah its stupid
its a habit at this point
any beginner scripters or anyone scripter looking for job dm me
dont use pairs/ipairs its useless
Itβs pointless
Do yall use findfirstdescendants
"grandpa and grandson playing chess" ahh moment
they kirkified the kid
π
Whats a different way to write this code scince I know it will usually just not execute:
if part.Position == Vector3.new(1, 1, 1) then
-- Code here
end
what do you use other than pairs when iterating through a loop
why is it a thing if its useless?
Looping through arrays or lists seem pretty useful to me
It won't work cux roblox uses floating point and it will never be true except by chance so you can make it like you see if the distance between the two vectors is less than or bigger than a number you set so maybe lets say 0.01 so you be some what sure it is in the same place
local targetPosition = Vector3.new(1, 1, 1)
local tolerance = 0.01
if (part.Position - targetPosition).Magnitude < tolerance then
-- Code here
end
With his mouth ok?
anyone got any ideas what should i script? Because im making a portofolio but i dont really have any vids showing my scripts
make some abilities
people love battleground-style abilities
Ok i'll note that
can anyone help me with this small problem
What's the problem
so basically i have both r6 and r15 rigs with their default animations
i want to add animations from the roblox marketplace, how do i do that
Go to the Creator Dashboard.
In the horizontal navigation, select Development Items, then click the Animations button,
Select your animation
In the left-hand navigation, click the vertical three dots icon, then select Copy Asset ID from the contextual menu.
how do i find the zombie animation there
Did you made it or did someone else
huh
basically i want the animtions from the roblox marketplace like the zombie or toy animation into my rigs
Just search zombie walking
huh
Oh wait you want roblox's anim?
just click on it and in the bar where you type url there should be some numbers that indicate the animation id
Make sure you opened roblox from browser
that's exactly what im doing for the past hour or so, but this error shows up everytime
That happens because you have to repost the animation yourself
what does that mean and how do i do that, im very new to scripting so
wait imma send you a tutorial in dms
bet tysm
day 3 of learning scripting
How do you make a backup of your data with profile service
me when i made combat haha easy peasy animation hitbox go brr, me when gun systems WHY WONT IT FUCKING WORK
how much ai did you use

can anyone help me with something im currently making a custom inventory system but im stuck
im scripting on my own btw
thats cap
if you did that on your own in 3 days youre going pretty good but 3 days is basically nothing
why wont the flashlight follow the camera boy
flashlight not following the camera is an easy fix
at first day i leraned tween, uis tables, second day data stores physyc math, third everything else
cuz the scripts is not done "bud"
bro what the fuck
yeah cframe
π π π do you know how to use variables
yk hwo to use metatables boah
thats easy
how did you figure out data stores on your second day thats insane
sure xd
thats wild
yeah but using tweenservice on the first day is ludicrous
they lowk ez when you understand how to actually use em
yh
crazy overstimulation tryna learn tweens on your first day
well yeah they are easy i figured them out in like 20 minutes
50/50
TABLES GO BRR
yeah dude exacvtly its way too much for your first day lol
i figured them in 1 script example theyr pretty ez
just learn how to use modules efficiently befre vro π₯
wait a sec i got script at my first day
i wouldnt suggest modules until like after a week or 2 of scripting
how much documentation did you read
honestly your right but still you should learn modules before tweens
i watched brawl dev, soon started reading everything that didnt mentoined in tutor
-- Services
local CollectionService = game:GetService("CollectionService")
--Other Stuff
local generator = workspace:FindFirstChild("Generator")
local clickDetector = generator:WaitForChild("ClickDetector")
local moduleInfo = require(game.ReplicatedStorage.ModuleInfo)
local GeneratorStatus = moduleInfo.GeneratorStatus
local generatorBrokeTime = moduleInfo.generatorBrokeTime
local alivetime = moduleInfo.ElapsedTimer
local lightEnabled = true
GeneratorStatus = "on"
local PointLightFolder = workspace:FindFirstChild("PoinLight"):GetChildren()
local GeneratroDisabledSound = generator:WaitForChild("GeneratorDisabled")
local GeneratorEnabledSound = generator:WaitForChild("GeneratorEnabled")
local ErrorSound = generator:WaitForChild("Error Sound")
local LightTag = CollectionService:GetTagged("LightPart")
function Disable()
for _,Obj in ipairs(PointLightFolder) do
local PointLights = Obj:WaitForChild("PointLight")
PointLights.Enabled = false
end
end
function Enable()
for _,Obj in ipairs(PointLightFolder) do
local PointLights = Obj:WaitForChild("PointLight")
PointLights.Enabled = true
end
end
print(generatorBrokeTime)
local function GeneratorDisable()
for _, parts in ipairs(LightTag) do
parts.Color = Color3.fromRGB(63, 63, 63)
GeneratroDisabledSound:Play()
Disable()
end
GeneratorStatus = "Off"
print(GeneratorStatus)
end
local function GeneratorFixing()
clickDetector.MouseClick:Connect(function()
if GeneratorStatus == "Off" then
GeneratorStatus = "on"
for _, parts in ipairs(LightTag) do
parts.Color = Color3.fromRGB(199, 199, 199)
GeneratorEnabledSound:Play()
Enable()
end
else
print("Generator Alredy Working")
ErrorSound:Play()
end
end)
end
while task.wait(generatorBrokeTime) do
GeneratorDisable()
GeneratorFixing()
end
my script at second day lol
i learned tweens ebfore modules because i wanted to figure out how to work with services
brawl dev W
ik that script is shit
yeaa
ah yes the famous game:GetService()
os.data is so usles bruf
the new roblox studio is so ugly oh my god
i dont udnerstand why they want to change it
disable new Gen studio in beta settings
try using keys and they will become the most useful thing youve ever needed
i just did man its just soooo ugly
i kinda like it
it could be beautiful but not effective
i would like it a little if they didnt darken all my scripting colors for no reason
thats your problem bro they didnt change anything in mine
bruf i need to script animatronic ai later but idk how lel β οΈππ
i would use it because i know theyre gonna force us to migrate to it but i dont want them to change my colors
PathFindingService and humanoid:MoveTo
this is good!
ik but its way harder
ty
its just the basics
nah if u didnt understand they just dont follor player
still, its hes 3rd day
they have 1 by 1 mechanic as real one and even more
you dont necessarily need to make it follow the player
like vent crouch, some of them can't, awake time, security mask connect and etc
pathfind service find a path from a given position to any position you like
Humanoid:MoveTo is essential to make the NPC actually move
understand?
making them move is 10% of goal
yeah you can do hitbox checks to see if it came into contact with any humanoid and kill them and play the jumpscare
i can help you if you need it
no i mean not that, thats not default npc which follows his path, see person and kills him,
it actually need to hear sound of step and dropped item, it can walk in vent (idk how to realize it yet) , turns in rafe mode when player in his magnitude and etc
just do updates
rn ill try to do it by my own if ill have troubles ill message u
i wanna remake secret of the mimic in roblox
nice, but im trying to do sum horror idk, im trying to do fnaf remake
actually im a builder but started learning scripting tho
ok
how do people learn to code
making a thing
PathfindingModifier
alr will check it, Ty
can someone help me blacklist myself from a dono lb (cant send here its too long)
I would recommend watching youtube tutorials to get a basic understanding
Years ago I used AlvinBlox
the goat
after that set yourself little projects to do and use documentation and devforum to deepen your understand of different things
anyone wanna learn lua together , w/ intermediate knowledge pls
added u
if anyone is learning to script or could help me with scripting, dm me or reply to this please!
Dmd you
could anyone help me a w a quick fix, I just need my wins to be doubled if the player owns the gamepass
So generous π
You would need datastores
Use MarketplaceService to check if the player owns the gamepass. When they win, check if they own the gamepass. If they do own it, multiply their win amount by 2 before adding it to their total. Also make sure to handle cases where the gamepass purchase might fail or get revoked. The main thing is just using an if statement to check gamepass ownership before giving them the wins
Or just multiply their wins by two if they own a gamepass
could i send u the script and u check
cause i did that
Allg
im offline rn
sure
ok dm me thanks
anyone got a full admin abuse kit with the traits, events? (global system chat not needed)
where can u find testers?
test them ur self lol
saves you alot of time and money
for what kind of game
simulator
too much
π«©
dmin u
how much will u pay?
since when do testers get pay lol
wait they dont?
ive tested like 3 big games and never got paid for it
bro.
why?
well ur a nice owner then
heh thanks
oh
ddo u know ECS
hi does anyone want to teach me scripting im a beginner? thanks
nope
sure
yay!
u can dm me
wat
okay ty
and tell me what ur struggling with
hi guys anyone want to join my server and play?
sure
It says you are professional π«
i lied to get clients
So a scammer π€
nop
Do you really have 875k visits
ya
is visual code helpful?
Nice I got like 4k π₯²
yes
No except if you wanna go one of the best scripters on roblox
Nah
use its its great for cleaning up ur code
aligning everything making it tidy
brawl dev is coming in clutch brah
only use it when studio isnt enough
visual studio is usefull in teams where they use Git
Idk other benefits from it tbh while doing roblox projects
better intellisense when working with classes
package managers are nice
certain tools (i.e blink) are also easier to manage and work with on a cli vs roblox studio
better tooling & highlighting when writing code
etc
use it if u want
Bro knows peak
could someone rq give me a very simple game design idea?
can u send examples of your scripting
Dms
guys how long does it take to learn lua
why everyone lowkey using brawl dev now
should I perform knockback on the local or server side
it took me two weeks to get the basics down and be able to actually code stuff, and then I slowly learned over time filling in the gaps of things I didnt know.
but thats because I didn't have experience with any coding languages before it
how can i make knockback without the character shake the legs so much
his vids are super good
and the latest
for scripting
yo could i ask u a question?
u
could you give me an idea for a simple game to make(cuz am new to scripting and i want to learn)
same
im new too
i was thinking simulators or smth
like two weeks ago
same
ish
How much could you do?
not much rn
Do u watch tutorials?
like yk basics?
cuz of school i only finish the beginner brawl dev video
brah
but when i saw the advanced one
alr
but you could still give me an idea
notthing
cus the beginner
/right
mainly teaches you the very basics and what each code does
and even the systems you can create arn't capable of making a game
yea thats true
could U give me a simple game idea
like a simulator or smth..
Money
Wait when you watched all the vids for beginner what did you make?
Like what were you able to make
Money sim
nah
he js made some silly obby game
for a money sim
you gotta know how
ngl
it lowkey might be too advanced tho
thats not bad
cuz u gon have to code rat ai bit wtv
it combines a simulator
same
Bro iwatched all of the beginner tutorial and im a good way into the advanced tutorials of brawl code
but learning each step one by one
and I still dont know how to code
will help
js find the game tut
I think jst tryna do things on your own and applying the concepts is the best approach
learn ffrom there
thing is whenever I watch tutorials I end up jst copying them
so its hard to work off that
yeah your right
but i rather see the concept
and then dissect that concept
and use it in my way/understanding
how would you make it so that npcs move on the server but it replicates to the client exactly
Trust me
uhh idk
do you just change the npc position slowly on the server and then lerp between cframe changed positions on the client?
I heard c frames is going to take a 100 years to understand
Itβs not to scary trust
fair
It sorta already does that
Like the engine does that
Roblox Game Idea
Rat defense simulator
Has a bases
Rat enemies/npcs that attack your base
Base has weapons that fight rats
Base produces Cheese
Cheese helps get better bases and weapons
Gain more cheese/booster every new wave level gained
*Wave levels-lvl 1, 2, 3, 4 etc..
can copy if you want
jst a simple conecpt to help me grow as a dev
not my DREAM game obviously
Ok
But answer my question
could you script it?
use chatgpt or grok too to help
rn no
Wait also
progressively yuh
What are some like good stuff you learned from beginner series
oh loops, findchild/getchild
andddd
hol up
What systems could you create?
Variables
Tables/Instences/Index/Randoms/events
bro thats MAD basic
yeah im just saying but if I want the enemy to smoothly move I shouldn't lerp on the server
Still beginner tho
Can u do oop and whole systems yet
Or u getting there
fr dog I know that too
Need someone with VR experience, imagine a player near a table and he bends over a table to look at some items, I can get only the position of headset and joysticks, so If I just get the headset movement it would look like player just moves inside the table, can I somehow know if player moves his headset to move or when he just bends over?
System my man
Like what could you create?
Then just make the enemy ig fully client side
Or its movement atleast
yeah i know that--(tbh i probably forgot a little bit of it cuz of school)
Why the need for such smooth and responsiveness anyway
basic stuff
How long u been scripting
but i code and scripting progressively i'll learn it by default
like 2 weeks
yeah i know
Thought it was like gonna be a year
nahh
Maybe Iβm just a slow learner
in a yeah i would know ALOT
like i mean i'll be already making a combat system
I still learn something new everyday
i mean deepworken type beat
with your expericence what can you make rn?
Nearly every thing
^
woww
I mean
good for you
Idk
crazy
quick question
I still ask Claude for simple stuff and why this stupid code doesnβt work
within a year what were you able to create as a scripter?
But I donβt need it for systems or actual important things
Well
Wait
whats calude?
Oh
Uhhh
Alr thank you
Lemme think
ima use that
I
Made not much
its good
why?
Whatβs that
For practice
..
I was those type of people that wanted to learn everything first then code
I see
Later tho I tried making a few games
like vfx gfx stuff like that
But since I wasnβt good at anything else except scripting
I got nowhere
Now Iβm nearly finished making a game
yeah kinda the same for me
My self
but am quite mid at vfx
Sooo u gotta learn a lil more then code to make stuff
Vfx isnβt too hard
but now I probably forgot
Just practice for a week and youβll be a pro
yeah, the only problem is know how to create certain effects
Like what
explosions
Same
I quit coding like twice
timed effects
slashes
Youβll get better as u go
My best advice is making a game
yeah
thats why i wana script also
to blend it with vfx later on
Vfx overrate skill tbh
I mean not everyone wants to play a 100th version of battlegrounds
But I still use it for my game
Itβs just minimal
yeah
just make a game you find fun
yeah thats what am doing tn
Pretty cool
Or lil kids find fun
and that
but passionately i wana make a zelda type game
with an actual open world
Every game needs an audience of ur audience is big enough u donβt need to cater to every other audience as well
Thatβs why shooter games are for fps ppl and stuff
I mean best games are the ones that can be for everyone
Like grow a garden
But that game lwky sorta ruined Roblox a lil
alr guys am a head to deving
But that guy hella rich so
Make games that are trending
Nah
yes
Ur money will last as long as trend
for income yuh
And usually they donβt last
and if that money i used to make a good game
Where u gonna get the money for the first game then
usually cashgrabs are quite easy to make and don'tt rlly require any funding
Who?
takes a few games before you make it
The guy who made grow a garden
Yeah its easy but hard to market and mostly flops
Yeah
like $35 million a year
I heard
took me about 2 years before i made any robuxs
They need to be made fast. Which is why almost every trend game is made by a team, the ones that actually do good atleast
Oo how much
100 in a few months lol
yuh thats why you make alot of them and try to be a little unique when making them
rv chaos is going good
yuh
I scripted for
Wordie, Dead Sands, Dangerous Buggy Driving and RV Chasos
U got a portfolio?
and some other games that aren't out
10k ccu
peak was 14k
Pretty nice
nah
Hopefully I can get there w my own
dont need one
Oh
Does anyone know how to make a cursor change when hovering over a button
It works when it's not hovering over a button but when it is it breaks how can I fix that
oh mb
Did you try using the MouseEnter event
yooo im a new dev, im so confused on how prof devs use modules scripts what do they use them for?
Well I don't think that would work
Because
Are we talking a UI button?
I need it to adapt
Wait I might
Auctally because the person I'm working for said it was just needed in the menu
Yeah
What's the sample code for that
If it was different gui buttons
You can set an attribute on each button
and use attributes to track which button sets a specific cursor
Yeah but that takes a bit and nagging my fellow devs is kinda rude
How many buttons are there?
you just go on the button instance
and at the bottom of the list of properties is attributes
It depends on what you want
You need a cursor icon to change for specific buttons
so maybe you can store the textureid of the cursor on each button
I don't work with attributions too much
Yeah
But how
..
guys
Hello,
I have practically zero experience with scripting, but I plan to learn how to for one reason:
I'd like to create a comic reader that takes images and places them in the map as 1x1 studs, would that be feasible?
Nvm
What would this do?
If I stored it could be used?
The issue is that it's automatically making my cursor no matter what into a different cursor then what I set
you'd have to send over some code man
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local runservice = game:GetService("RunService")
local playerGui = player:WaitForChild("PlayerGui")
local enabled = true
local mouse_image = Instance.new('ImageLabel')
local mouse_x = mouse.X
local mouse_y = mouse.Y
local camera_x = workspace.CurrentCamera.ViewportSize.X
local camera_y = workspace.CurrentCamera.ViewportSize.Y
mouse_image.BackgroundTransparency = 1
mouse_image.Image = "rbxassetid://117633044828401" -- mouse image
mouse_image.Size = UDim2.fromOffset(mouse_x/camera_x,mouse_y/camera_y) -- change these how you would like
mouse_image.Name ='mouse_image'
mouse_image.Parent = player.PlayerGui:WaitForChild('Background') -- will change later
mouse.Icon = mouse_image.Image
mouse.Move:Connect(function()
if enabled then
enabled = false
task.wait(.2)
local objects = playerGui:GetGuiObjectsAtPosition(mouse.X,mouse.Y)
if #objects > 0 then
end
mouse_image.Position = UDim2.fromOffset(mouse.X - 50,mouse.Y - 50)
print('moved')
enabled = true
end
end)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local runservice = game:GetService("RunService")
local playerGui = player:WaitForChild("PlayerGui")
local enabled = true
local mouse_image = Instance.new('ImageLabel')
local mouse_x = mouse.X
local mouse_y = mouse.Y
local camera_x = workspace.CurrentCamera.ViewportSize.X
local camera_y = workspace.CurrentCamera.ViewportSize.Y
mouse_image.BackgroundTransparency = 1
mouse_image.Image = "rbxassetid://117633044828401" -- mouse image
mouse_image.Size = UDim2.fromOffset(mouse_x/camera_x,mouse_y/camera_y) -- change these how you would like
mouse_image.Name ='mouse_image'
mouse_image.Parent = player.PlayerGui:WaitForChild('Background') -- will change later
mouse.Icon = mouse_image.Image
mouse.Move:Connect(function()
if enabled then
enabled = false
task.wait(.2)
local objects = playerGui:GetGuiObjectsAtPosition(mouse.X,mouse.Y)
if #objects > 0 then
end
mouse_image.Position = UDim2.fromOffset(mouse.X - 50,mouse.Y - 50)
print('moved')
enabled = true
end
end)
Oh btw I was testing something
just a question, how long have you been coding?
maybe around 3 or 4 years
idk
That's my awful code π
I'm messing around with cursor stuff
I dont even think you need to use mouse.Move
since this runs whenever the mouse moves, even if it isnt hovering over a button
No I'm making something else also
ah
Yeah but I need it to run when it's also hovering over a button
I'ma make a isa statement
And use what you said
honestly
since roblox animation script is so ass should i just stop and play movement state animations depending on the movement state
You can add a connection to each button, specifically a MouseEnter connection
when the mouse touches the button, you get the X and Y coordinates of the mouse position as paremters as well
alright sounds easy enoguh
so when it touches the button with that then how do i change the button image
oh wait nvm ik
im so dumb
wait no
whats the real way of doing it lol
ik a way to cheat it
i dont think my employer will care too much anyways
can someone help me with a piece of code
Ok so I have made a code that should clone the player into the kart, and spawn you in the race track, but that doesnt work. Do you know why?
What part of it isn't working exactly?
Spawning the player into the kart, it just keeps them in the waiting area
foobar2000 reference
Which part of your script is responsible for that?
How do I learn to script consistently?
experiment with everything
--// Kart Spawning Logic
local function spawnKart(player, spawnCFrame)
if not spawnCFrame then
warn("No Spawn CFrame provided for", player)
return nil
end
local ownerId = getOwnerId(player)
-- Default values
local kartName = DEFAULT_KART
local wheelsName = DEFAULT_KART
local gliderName = DEFAULT_GLIDER
--// FIX: Properly getting data from player
if player:IsA("Player") then
local data = player:FindFirstChild("Data")
if data then
-- CHECK: Do these ValueObjects actually exist in your Data folder?
if data:FindFirstChild("EquippedKart") then kartName = data.EquippedKart.Value end
if data:FindFirstChild("EquippedWheels") then wheelsName = data.EquippedWheels.Value end
if data:FindFirstChild("EquippedGlider") then gliderName = data.EquippedGlider.Value end
end
end
if not KARTMODELS:FindFirstChild(kartName) then
warn("Kart model not found: " .. tostring(kartName) .. " using default.")
kartName = DEFAULT_KART
end
if not ASSETS.Wheels:FindFirstChild(wheelsName) then wheelsName = DEFAULT_KART end
local kartModel = KARTMODELS[kartName]:Clone()
kartModel.Name = tostring(ownerId)
kartModel:SetAttribute("KartID", kartName)
kartModel:SetAttribute("OwnerID", ownerId)
-- Wheel Setup
local wheelsModel = ASSETS.Wheels[wheelsName]:Clone()
local oldWheels = kartModel:FindFirstChild("Wheels")
if oldWheels then oldWheels:Destroy() end
for _, wheel in pairs(wheelsModel:GetChildren()) do
if wheel:IsA("BasePart") then
wheel.CFrame = kartModel.PrimaryPart.CFrame * wheel.CFrame
end
end
wheelsModel.Parent = kartModel
should be this part
Im saying it should be because, I dont know if it is working
I'm not seeing any code that moves the player to the cart
oh shoot wrong code line,
should be this
kartModel.Parent = KartsContainer
player.Character = kartModel -- This sets the player as the Kart
_KartCache[player.UserId] = kartModel
else
kartModel.Parent = AI_KARTS
ServerKarts.new(kartModel)
end```
How is this supposed to move the player to the cart?
turns the player to the kart
I want the player to be the kart
Iβm learning with the documentation and stuff but I donβt know what to learn or how to apply it
Name something you want to make. Keep it light
But is there an order I should learn things?
you just need paris academy
local mouse = game.Players.LocalPlayer:GetMouse()
local guiObject = script.Parent
guiObject.MouseEnter:Connect(function()
mouse.Icon = "rbxassetid://YOUR_IMAGE_ID_HERE" -- Replace with your custom image ID
end)
guiObject.MouseLeave:Connect(function()
mouse.Icon = "" -- This will revert to the default cursor
end)
Does anyone know if this code would work to change a cursor pic when I hover over a button
@odd lantern
should work
I'd say start with "https:/ /create.roblox.com/ docs/ scripting" ||remove spaces|| (you can skip advanced for now it just tells you how to optimize your game), this gives you a general overview of scripting. After that there isn't really a order to learn the rest of the stuff. Just learn things you will be commonly using
actually don't skip Security and cheat mitigation tactics under advanced
My computer died before testing π
But ty
omfg
How do I apply my knowledge
chatgpt
chatgpt is when comments
he is just lost
Is it a good idea to create hitboxes locally, detect hits on the client, and then perform distance checks and apply damage on the server for combat system?
my annoying dev is being a drone rn
ive asked this guy to make a script for 2 days
he hasnt
a script that does what
when u press left shift it sets ur speed to 30 and changes ur walk anim to a run anim
anyone got a full admin abuse kit with the traits, events? (global system chat not needed)
So I want to make an image that rotates around a circle but like from a certain degree radius but I with trigonometry is hard, any suggestion?
I want to make a field goal system like cfb
isnt that just cos(a) = x and sin(a) = y
Nah
Thatβs like level 1 of trig
Not even level 1 itβs like entry level
it is what u need though
Yeah
ya that takes a month buddyβ¦
Guys. Do I still have a chance if I told you I've been scripting for 3 years and I just knew about OOP?
anyone got a full admin abuse kit with the traits, events? (global system chat not needed) im willing to pay
Ya
Glad to hear that.
i just ruined my games scripts and idk how to fix it, my whole things a mess, can anyone help me please
Roll back the version history
bro im to late
ive done alot and publishef many times
im new to studios and basically i hired ppl to do a job
i think i f'ed it up
i need sm1 to help me fix it
So?
idk how studio works
can u help me
100%
okay
Any time you've published or saved, it's been recorded as a version
im ngl i tried looking and i couldnβt find it
check dms
what does studio look like
send screesnshot
no like whats ruined is scripts
oh lol
and my emotes arent in the ui anymore
speaker sync gone
hold e for shop gone
idk what happened, i was just building
im desperate for help bro
theres a seperate file roblox has called auto recovery place, you should be able to recover it from there
it should pop up when you open studio but im pretty sure you could find it in settings or in your file explorer
I Just finished my final math exam today and i hate to see this 
can you help me? i can give you access
please
its on your computer not on studio
find roblox in your file explorer then go studio -> autosaves
check version recovery then
if you scroll back far enough you should be able to find it
yeah ngl i give up
yeah but eveb then if i find it
idk what to do with it
do you know how to script
then i'd reccomend not making a game at all yet
would reccomend watching brawldev's scripting tutorial series
then learn programming patterns like OOP and ECS
after that make a bunch of systems for games you might want to make, so you can drag and drop them for your games
after you have a large enough library of systems then start making games
okay thanks
anyone wants to make horror, im builder and beg scripter 
pay?
js partners
sry lol
a
any recommended resource in learning ESC? i struggle if its only shown how to without being explained properly
or any example project i could do to learn
welp for the past few weeks ive watched brawl devs beginner and advanced tutorials and took some time to practice i am still not done with it but i do have some questions and i would wanna know whats your opinion ive spoken to some people in voicechat and 2 said that youtube tutorials are good but when you actually try to make something its gonna become hard and now i am afraid that i am wasting my time trying to complete brawldevs scripting tutorial and i am very clueless on what to do right now because he explains so well! but im afraid that when i actually try to make something i might have issues with it. so what should i do continue brawl devs scripting tutorial and complete it or start working now and if i have anything i wanna know i watch and see if i can understand it ?
i think you should rather actually make something and dont worry about
if u run into any problems ask others to help or review ur code
so i started making simple games now and progressively try to make it more complex and harder?
ye maybe even try using modulescripts for frameworks
still dont know what frameworks r
do you know what OOP
nope
ok so what if you wanted to make a car, it would be the best if you didnt have to add the same script to every car since youll have to update and adjust the scripts by hand. for this reason we could use OOP:
local carModule = {}
carModule.__index = carModule
function carModule.new(speed)
local self = setmetatable({}, carModule)
self.speed = speed
return self
function car:initialize()
local speed = self.speed
--//Handle controls here
end
return carModule
in another script
local car = carModule.new()
car:initialize()
you dont have to understand metatables or .__index
but self is the car objecy
oh you mean if i had reuseable variables / functions that i wanna use in other scripts that i should use a module script forn them?
oh yeah i already knew that i didnt know what OOP is lol but ig OOP stands for that
and if you want to control the code you can use OOP
i stopped at userinputservice with brawldevs tutorials
its Object Orientated Programming
it allows you to create your own objects
just like roblox part with has the method :Destroy() and property .Color
ye sorry for the overwhelming
np thanks for the advice
youll understand it one day hopefully
ive been so clueless
i dont think a clicker sim isgonna have a whole lot of oop in it
good luck
never said that
i wasnt talking to you
no need for oop im talking about other stuff
ah ok
Do you guys do shit like this?
task.wait(math.random(3,5))
item.Enabled = true
Item is ProximityPrompt, that is reenabled after action.
idk why I do it
why do u make it a random number ?
To be fair idk, its for NPC when can take next command from player.
Kinda like simulating real life when human has to take some random wait before next customer
dont hardcode the numbers
and depending on the game, it may be better to use task.delay
... how tf else would u do it ?
declaring it in top level code
Why?
dont use magic numbers
explain me exactly how and why a hardcoded number aint good
if you want to modify it, depending on your game, you may have to change it in several scripts in many places, so instead you should declare it somewhere globally so that you just have to change it once
if i want a player to wait 5 seconds before he is able to shoot with his musket again then ill make him wait goddammn 5 hardcoded seconds
yea bet u cant explain it
Yeah, I know that. but there is no reason to create variable for wait 3-5 seconds when it is invoked only few times in game
reading comprehension is dead π
Thanks for the tip, dw
you really should, it will become messy if u expand on the system or if someone else modifies
fine send me the documentation then lazy ahh
cause if its in more than 1 place then u might even forget to change it in a place
and that can lead to bigger problems
Sorry but my primary job is programmer, I know what and how to do code π
yea but thats still hardcoded
I just like to do task.wait(random), when interaction delay is supposed to be more "human"
no
if i put a number in a module script and use it evrywhere its still hardcoded
yes ?
do u know what hard coded means
do u ?
its subjective. depends on hardcoded definition, but global variable isnt hardcoding
thats still hard coded