#code-discussion
1 messages · Page 98 of 1
when they rejoin, it calculates how much time passed and how much each plant has grown, grown fruit, etc
local gay = Gay.New()
❌ No capital n in new ❌
😭
I need help. I'm calling all children from replicated storage and its saying stack overflow. How do I fix this?
local Room = {}
Room.info = require(script.RoomInfo)
Room.lastTurnDirection = nil
Room.random = Random.new()
function Room.GetRandom(PrevRoom)
local PossibleRooms = game.ReplicatedStorage:GetChildren() <--The error
local RandomRoom = PossibleRooms[Room.random:NextInteger(1, #PossibleRooms)]
local Direction = Room.info[RandomRoom.Name]["Direction"]
local HasStairs = Room.info[RandomRoom.Name]["Stairs"]
local PrevHadStairs = Room.info[PrevRoom.Name]["Stairs"]
if (PrevRoom.Name == PrevRoom.Name)
or (Direction and Direction == Room.lastTurnDirection)
or (HasStairs and PrevHadStairs)
then
return Room.GetRandom(PrevRoom)
else
if Direction then
Room.lastTurnDirection = Direction
end
return RandomRoom
end
end
function Room.Generate(PrevRoom)
local RandomRoom = Room.GetRandom(PrevRoom)
local NewRoom = RandomRoom:Clone()
NewRoom.PrimaryPart = NewRoom.Entrance
NewRoom:PivotTo(PrevRoom.Exit.CFrame)
NewRoom.Parent = workspace.GeneratedRooms
return NewRoom
end
return Room
what the fuck is "HSRDataContentProvider" service?
like bro it does nothing there isn't a single command for it
so I have this gui displaying the coins and gems you have while its also displayed in the leaderboard stats, is there a way I can make the leaderstats for coins and gems not show while still keeping the amount you have in the gui ?
the parent for coins local script is the text label
Sure. Just don't store the data in a "leaderstats" folder
So just change the name of the folder to anything ?
Yes. Make sure to update your references
@wary furnace
Yea I updated all of them I’m currently playing around and trying to see what’s the issu
no
what
yes but it loads onto stack faster from local
doesnt call __index of fenv metatable
to call them every time
i can make benchmark and send
application id [removed]
at least i can agree on it being hard to read
in a loop
Yo can anyone help me install react and typescript?
yes in a loop and also when its used more than once
wait shit am i not supposed to open a ticket for this
you can
time to figure out how to open ticket
yep opened now i have no idea what happens next
this is the upgrades script ```lua
priceInt = game.ReplicatedStorage.priceOfUpgrade
clicksInt = game.ReplicatedStorage:WaitForChild("clicks")
clicksMul = game.ReplicatedStorage:WaitForChild("clickMultiplier")
plr = game.Players.LocalPlayer
--plr.PlayerGui.clickUIScreen.clickUIFrame.upgradesButton.Text = "Price: "..100
priceInt.Value = 100
plr.PlayerGui.clickUIScreen.clickUIFrame.upgradesButton.Text = tostring("Price: "..priceInt.Value)
button = script.Parent
button.MouseButton1Click:Connect(function()
if clicksInt.Value >= priceInt.Value then
clicksInt.Value = clicksInt.Value - priceInt.Value
plr.PlayerGui.ScreenGui.currencyFrame.clickLabel.Text = tostring(clicksInt.Value)
priceInt.Value = priceInt.Value * 2
plr.PlayerGui.clickUIScreen.clickUIFrame.upgradesButton.Text = tostring("Price: "..priceInt.Value)
clicksMul.Value = (clicksMul.Value) * 1.5
plr.PlayerGui.clickUIScreen.clickUIFrame.mulLabel.Text = tostring("Multiplier:"..clicksMul.Value.."X")
plr.PlayerGui.clickUIScreen.clickUIFrame.doublePer.Text = tostring(clicksMul.Value * 2)
end
end)
and this is the pass script ```lua
local MarketplaceService = game:GetService("MarketplaceService")
local clickMultiplier = game.ReplicatedStorage:WaitForChild("clickMultiplier")
clickMultiplier.Value = 1
local player = game.Players.LocalPlayer
MarketplaceService.ProcessReceipt = function(receiptInfo)
local player = game.Players:GetPlayerByUserId(receiptInfo.PlayerId)
if not player then
return Enum.ProductPurchaseDecision.NotProcessedYet
end
if receiptInfo.ProductId == 3306982751 then
clickMultiplier.Value = clickMultiplier.Value * 2
player.PlayerGui.clickUIScreen.clickUIFrame.mulLabel.Text = tostring("Multiplier: "..clickMultiplier.Value .."X")
player.PlayerGui.clickUIScreen.clickUIFrame.doublePer.Text = tostring(clickMultiplier.Value * 2 .."X")
end
return Enum.ProductPurchaseDecision.PurchaseGranted
end```
I don't have access to tickets yet so prob scriptone is going to answer it
-# you're cooked (I know from experience)
guys can anyone help? Ive beentrying all day 😦
worst case ima get ban
y
y like "yes" or y like "why"
y like why because y
What is the most efficient way of retrieving any player's leaderboard position? (in the context of OrderedDataStore)
cuz nothing worse can happen
but banned for what
wait wrong channel
k
guys how much robux would i need to pay a scripter to make a round based system game where you steal the object and keep your bar green by holding it if it drops to zero you die so steal it back from others to survive?
Applications are ridiculous
10k-15k
fr?
nah what
is it that complex?
takes like 20 mins
Any respectable Luau scripter will charge you the DevEx rate
no way 10-15k
That costs $35
thats what i thought too im asking for something very simple yet i dont know how to code
Not rly. They just have specific / bit strict rules
im not going to overpay becuase roblox dev ex rates are trash
they dont like it they can switch to unity or fortnite
That's the value of R$
Pay in USD if you're unhappy with it
someone who wants you to work for them and they'll pay in pets:
get that coders want to dev ex but for a simple game 10k robux feels high… im looking for fairer deals based on project size
then learn to script without worrying about costs
gamedev without doing half the work costs money
you have to understand that
you don't need to pay in Robux, you can pay in USD
It may seem like a lot to you, but to those who earn it instead of buy it, its value is a lot less impactful
cuts costs by 70% 😭
devex rate is only used if you earnned from your game
ok I get you want to cash out but I’m not overpaying just because dev ex rates are bad… im paying based on the work not the cash out value 🤷♂️
paypal, cash app, venmo, visa gift cards
all methods of cash payment that are 70% the cost of robux post devex
no one gets payed in devex rate and go to buy clothes, they do withdraw it in cash
only time i’ve accepted robux is for ad credits
that's why you seem people don't accept Robux at all
but you can get USD and pay ad credits with it?
maybe easier for the taxes?
ok i get that earning robux feels different than buying it but value should still be based on the work done imo
just checked, turns out usd is an option
no one said it's not, but if you pay in potato we need to pay as much potato as the cash value
you don't pay 60$ for a job then pay 60potato*** for the same job
the value you're giving is significantly less than if you just paid in ANY other method
is there a reason why you're so adamant on not paying in the cash equivalent
maybe they don't understand how devex works
or at least that's the only reason I can think of
first you have to pay over 1.4x to cover taxes ALONE
then you have to pay over 70% to cover devex
its much worse than covering sales tax lol
Ok I get the comparison but robux isn’t a reliable currency like cash 😭 plus dev ex rate takes a big cut the robux price shouldn’t be as high as the cash value… 😑
your point is that
robux isn't reliable so i should pay less
devex takes a LARGE cut from the SCRIPTER so i should pay them less
tbh we all want the devex rate to be higher or the same price that you buy Robux in
but what can we do?
Yeah. Just about $35
taxes and dev ex take most out of the money so paying full cash in robux doesn’t make sense………. the buyer ends up paying way more than the scripter actually gets… 😬
Agree
so explain why you’d rather pay in robux
that's why you should pay in cash
no reason lol
i dont have too
if i have robux i will use robux
any1 can take the offer if there willing
good luck
Oh I get it now, you prefer knowing the value based on work.. then pay 70% less
good deal
i think hes just not old enough to pay in cash
most people who offer robux are either ugc creators, or just kids
yeah they will get it to pay clothes or gamepasses
some people ( young one ) price their work at a rate lower than 1k Robux.
idk how you get confirmation from 5 people that it's a certain amount, argue that it isnt, and leave lol
the only problem is
ive been hired to fix systems that those kids create (sometimes even people who were paid a good amount)
and its completely shit
I don't agree with it but you'll get the quality you ask for without complaining about the adults pay rate
that's not a problem but a business plan :D
tru
then you ask for the real rate xD
me when paypal cashapp and basically everything is blocked in my country
g2a and other resellers sell visa gcs
I was assigned to improve a gun system
I looked inside, was amazed like seriously how good it is
Did nonsense shit because tf the system is perfect
thats just robux
💔
i have NEVER experienced that
i dont think you understood
😭
Proper cache pool, proper organisation
whats vibe coding
if u dont like the rates roblox offers epxlore other platforms like unity or forttnite roblox isnt a place where most people make a full time living 😂
No nonsense shit and uses coroutine
and here i'm stuck with someone using proximity prompt service to handle individual proximity prompts
paypal was banned in my country, and they only lifted the ban in 2023
and thus triggering whenever any proximity prompts fire
sounds like a you problem when i find people who accept my rates w/ no quarrel
coroutine usage is not good though
still banned in mine
It didn't matter much
i dont think you want all your code to run parallel all the time
certain cases where it cant
idk if its going to be a problem i havent created a post yet
Coroutine was used perfect
You got genius coder
I heard you can make an international bank account but it'll have an insane tax rate to keep the account open
@lilac gale i understand ur still learning but its important to accept how things really work
visa is blocked in my country actually
where would yall recommend for others to go to when it comes to learning lua?
like you can't use visa cards
not visa
like they made 1 card type available
you don't have any international bank*** supported in your country?
its okay to be embarrassed that you can't ask mommy to pay a scripter
no no the goverment made 1 card type available that can't interact with the other ones
thats what it looks like from here
If exactly LUA, then to electronics & WiFi programming
whgat
Lua + java
i mean like roblox lua
have you learned programming in the past?
and you can't use the other card types for payments
nope
if so just learn the engine and what roblox offers
LUAU, then use devforum
i only watched brawldev videos and terrible youtube tutorials
learn general programming languages not specific to roblox first so you have programming knowledge
then apply that to lua
most people who learn lua from tutorials dont understand core parts of programming since theyve never learned it
when the gov wants to hurt their economy :(
i thought lua was a good and easy beginner language
why do i gotta learn java and stuff
its cuz of the sanctions
not cuz of the goverment
It's in fact easy beginner language
never said learn java
crypto still works tho
java is a general programming language not specific to roblox
russian?
u know what im just gonna come out and say it... ur an idiot if u think u can make a living off of roblox..
period
putting words in my mouth
ye
different programming paradigm youre forced to use
Vikinglaw making bands out of his game 💔
makes sense, had friends w/ similar problems
like?
what? but I heard that Russia had a good economy/job market
Crypto ye
i mean some ppl can but most cant
almost everything is exclusively oop
good thing rent is 200$ and u can make 5k a month just from comms
russia does not have good economy dawg
Everything else no
I agree
dude whats oop
Object oriented programming
just learn an easy language
yea
luau
Python
C++
lol no wonder why u roblox devs r ovepricing ur trying to make a living off of roblox 😭 theres nothing wrong with that but u guys need to srsly chill with the prices
there are people that pay those prices
and alot of them
Look at how much groups are making
remember unity or fortnite is always an option
c++ was what made programming so much easier for me in the beginning
if you can't hire someone good for the price they asked then find someone worse
i kinda agree with them cause half of their commissions are prob people asking for help in their grow an italian brainrot simulator 99 or smth
remember this conversation ended 15 mins ago
hop on #scripter-hirable
ur a roblox dev ofc u agree with them thats what u want for ur self
bro you'll scare him for life
arent you also a game dev?
i have made exactly 0 games
calm down
you're the problem
they want to pay less than 5$/1.500Rbx
YOU ARE BROKE
i know literally almost nothing about luau
why dont you just find a scripter
im perfectly calm ur the own constan replying my messages u over dramatic person 😂
ur so stupid bro
+1
ive asked you 3 times why are you not willing to pay in usd
dodged it all 3 times
cuz he doesn't make any money he's 12 yo
actually replied to my bait instead of my question
simple project dont see the need to do it
read what he replied to lol
meaning you're broke
AHAHAHHAAHAHAHHA
you're not the one who can say what's simple, the expert is
the same person who'd pay in exposure and percentages btw
(game isnt open for release and a total of 0 ccu)
u mean the roblox dev who will overprice
approximately how long will it take me to learn python
lawl ur so funny
2 weeks
oh that's not that bad
you don't need to listen to one person or 2.. just see the market prices
i got a custom made backpack made to match my hotbar ui i have, and when u toggle it u cant see the image of the items or the names. any idea how to fix or anyone who could help?
it really isnt. i hope you find programming fun, though! don't learn lua just for roblox, i suggest checking it out for other parts of your life if programming interests you
lol some rando told me i had to pay 100 bucks to create the project
in dev discussion
lmao i cant trust what any1 says in this server now ngl
ok lets think this logically
several roblox scripters are telling you the same range of price
depends on the person... it took me 2 weeks to understand what the f variables are ( even though I know but got confused by the ppl teaching )
only one told me 100
it was @jaunty path
I think @woeful gate is a ragebaiter
time to learn the basics of python ig
variables were the easiest thing to learn
most people struggle with using roblox studio's tools however
finally some dude who isnt trying to take advantage of the situation like u guys
💀
hire him
shoo shoo
Roblox tools feel like blender functionality, literally you scroll in Insert panel and find out so much shit you can shaman with
Use single script for all kill bricks 👍
Not if you're learning in English when you don't speak it.
I did understand the concept and was using it, but the word itself was new to me.
variables are a universal concept in math though?
how much robux should i pay to make this game a reality? Game Concept:
A round-based competitive multiplayer game.
Players start in a lobby.
At round start, players are teleported to random spawn points on the map.
One player is randomly chosen to hold a core object.
Players steal the core from others to become the holder.
Holding the core fills a personal bar; not holding it drains the bar.
If a player’s bar drains fully, they die (eliminated from the round).
The round lasts for a fixed time limit (e.g., 90 seconds).
If time runs out, player holding the core with the fullest bar wins.
If only one player remains alive, that player wins.
After a round ends, players return to the lobby, and a new round begins automatically.
i thought there'd be a direct translation
Still can't understand what variables mean but my head knows what it os
isn't this just hot potato
inverse hot potato
How should I handle Dev Product purchases, like what event should I use from MarketplaceService, it only needs to grow all plants like in grow a garden basically so its just a repeatable purchase
hold it to win
read it wrong
math math math math
CollectionService bro
i'll be such a good scripter
NEVER go to code help for actual help
y
read it for a calm 20 seconds
is it cause half of the time theyre wrong
Codehelp is a dismorale organisation
ignores your questions, and if you're terrible you're gonna be turned into a gif
They'll shit on you
its #1138134620341272677 2
yep
exhibit a
unless it's on the devforum.
the devforum is the best ❤️
Devforum is best place to ask for help, but you need investigate your issue deep enough before pisti
until the guy with a chatgpt wrapper replies to your question and does not solve it at all
Posting
Otherwise they'll send you link to issue
Telling you to read how it works first
Agree, I didn't even post most of my problems when I was learning but found them on the devforum
where would you guys recommend others to learn luau besides dev forums?
ask ai bro
Bro that's the only place
are you deaduzz
Maybe YouTube
and if it doesn't have an answer then
isnt there an official roblox scripting tutorial
find it
does it work for you? mine is always drunk
i'm not touching youtube
watched a raycast tutorial and it set me back hours
nah i never used ai ever
but i asked it 1 question "where to start scripting"
for anything above beginner level it begins using deprecated methods
Mine used wait() in big 2025
and it answered really good
AI dont work well usually I used it a lot like two months ago and your better off just asking for help cause itll give you outdated stuff as well
yeah mb for scripting its actually really bad
it would allow you to manage their connections in one big place
better than hundreds of individual scripts
willing is important
Thx for sending it for me
I cba
that's what it'll look like at first but when you actually look again at the answar you'll find it's the most basic one
but it's like most good scripters didn't have anyone good helping them
so you dont really need it
Devforum
but every question has already been asked
Roblox forums
and that's the best thing about it
and the learner mentality
is the roblox ai assistant any good for scripting
No
This shit is intended for degenerative people
And still wouldn't work
Never touch it
dev forums it is
It failed to create kill brick with print statement
after thinking for 5 hours and deleting ( or trying ) all of your other scripts
deleted the game?
made a pipe bomb
No, it made send remote event each 100ms to check time and send to client!!!
i could prob figure it out
It's easier than you think
the only problem is i have to memorize like 3 billion variables or whatever
you don't need to memorize anything
maybe when first starting.. but with time it'll all come to you without trying
yea i do
what if you want the server to do something?
it’ll be more annoying to set up 300 remote events
or like the rest of us. you'll search for it
whenever i try to make somthing and for the love of god can't figure it out
and connections are not as expensive as you think unless they’re created constantly for no reason
9/10 times it's because i didn't know the variable for it
you don’t have 9 million kill brick connections
don’t micro optimize every facet of your beginner game
no reason
will ... some stuff, but not a lot and not everything
terry davis
oh ya
quick question
when it comes to exploiters who use local scripts
how do you patch that
U can't
kill the local script
do you just make an anti cheat or do you have to change it to be server sided
you sure you're a beginner?
There's a whole different system on anti cheat
It requires tons of knowledge on how roblox works
i don't know remote events or tables
i don't know how to make a gun even though i'm halfway there
in simple terms, you don't patch it but verify everything on the server
Variables arent that hard to memorize?
Depends on the exploit btw, and the script they used
but that's something that even the most experienced programmers struggle with... so don't think about it now
Solara integrates inside player module scripts and it's basically impossible catching out
ok then uhh
UI scripts are in CoreGui which is inaccessible by default
for simple ones you can
how do i make a gun once i'm done with the ray cast thing
No shit uses simplicity nowadays, too much deprecated shit
IIf youre new just watch the brawldev series then after that make small projects from what you learned, you will learn more about scripting and programming in general once u start practicing cuz then you will be googling all the time
The _G exploit got patched
i'll be honest
i don't wanna touch his advanced scripting guide
Do you want to learn?
You gotta get out of your comfort zone
IF you REALLY want to learn
Don't think about anti exploit until you're somewhere in advanced knowledge which is further than you think
math in Roblox is simple and i totally didn't fck up raycast
U mainly use magnitude, xyz and vector3
whats magnitude and vector3
🙏
what's math in Roblox? i love vectors but not CFrames
no CFrames and no physics
I mean thats kind a vague questiopn
Usage of coordinating, positioning, raycast and basically something more
well I don't know the math I hate if I knew I wouldn't hate it
Vector3 is 3D space
The math you will use is pretty much simple, unless you are making something advanced
Or physics related
Vector2 is used for gui
Usually it's alr integrated
Like springs
Or wheel logic
:((( the fun stuff are all advanced math
whats cframes used for
Yeah i use Quenty's spring module from his nevermore engine
ask robin not the one who hates math
do yous eriously think
i know who robin is after joining this server less than a hour ago
@copper apex
CFrames tells you the position and orientation of an object
Vector3 is just the position
orientation as in if an object is rotated
or if they change color or shape or smth
right?
Orientation is the rotation of the object yes
Its not the color
Its easier to think of them as matrices
you think they know matrices?
oh it's a math thing right?
Matrices arent that hard to understand
Space-time yes
yeah agree but you don't see them unless you need to
Let's add space time in roblox!
isn't that calc or is that alg 2
I took a matrix theory class
Thats where I learned it
Idk where else it could show up
But they could show up anywhere honestly
i learnt it a lil bit in alg 2
where its like
[2 4] + [3 6] = [5 10]
[5 7] + [5 1] =[10 8]
Yeah pretty much
if you're good with math then you'll have an easier time learning to program
it's mostly logical thinking after you learn the syntax
If you take a linear algebra course (mainly it's applications) you can get a lot from it
I heard a lot of people take discrete math but I'm not a comp sci major so i didnt take it
i am good with math but i need a good way to learn how to script
ik dev forums but i wanna know where to look in dev forums
there's no good you
but your way
You see youre using it wrong, you have to actually just do something, like a small project and only look in devforum if youre stuck with a particular problem
some learn from books, others from youtube
making a gun is pretty simple
You just have to write thats the way to learn
If you wanna make it, go ahead
i already finished the raycast part even though it'll a lil flawful and i have no idea how to learn it
i wanna know how to make it damage something
define finished
you can finish a video, follow the tutorial and not learn anything
I think a lot of beginners underestimate the power of the internet, THERES so much resources you just have to learn how to find it, as you program more and more, you will realize how important it is to just research
can you make something different with it?
i kinda tried everything
i asked for help in another server, got a flawed answer
Dont ask in servers
i looked at a youtube tutorial and it set me back hours
In my opinion, i think u should figure it out urself
i looked at dev forums and one of them told the guy to just switch to a hitbox system instead
Youtube tutoriuals suck as well
You dont get nothing out of it
Yeb try to fix the problem yourself for a bit then ask in the devforum
i can't figure it out if i didn't even know GetMouseLocation existed
:((((((
Also i think a gun system for a beginner is extreme, start with a door system maybe? Open, closing, locking, build up your logic before you get to more advanced things
Tutorials where they just show you the code suck, but if they actually teach you with a lesson, then its good
i need to learn how to make a gun system tho
i think it'd be better if i just
You need to learn how to code first
learn it right away
same as ra.yd.. raycasts are on the advanced side not the beginner one
It is better to build up your foundation
You get a more deeper understanding instead of just understanding "gun systems"
Agree, youtube is only good for the basics anything after this you'll only watch them code
but if you have the basics down you can learn the rest yourself with a bit of searching
How does data storing work, does it make a folder in the player with values in it?
If you pasted that into google right now, you will have the answer
Yeah
gues i'll go fuck myself
Great decision
why the hell is my tool broken
people in a help channel when you ask for help
😭
So real
But some answers are really easier to find just by googling
that's the fun thing, this is not the help channel
make sure everything is unanchored
so then
if i'm making a gun do i need a custom model from another place and put the script there
what
np
i tried to make a simplke gun model using roblox parts
if i don't anchor them together they just fall off
if i anchor it it locks me in place
you need to unachor and weld everything
Are you just starting learning scripting?
Welding
you'll need to weld them
preferably export it/make it in blender so that its 1 model
do i need a plugin for that
no, but there's plugins for it
Don't really see a point, anyways same as with welding
tbh it's best to just put one part as the gun if you're just starting out
its just better to manage 1 main part than to have a bunch of little pieces that u need to weld constantly
wait nvm
that's even harder to do than welding
Basically just a cube to later on rename to handle and weld to actual model ig
fym
I mean it anyways should be named handle
Yea
you can just make it in studio
still evil
and then export and reimport it as a mesh which will then be 1 part
+if that's from studio parts he can just union them
no its easier then
how do i weld
.
you need blow torch and eye shield
I highly suggest you watch a tutorial on how to make tools in roblox

duuuuuuuuuuuuuuuuuuuuuuuuuuuude
ppl will fear you more than black cats
You have part 1, part 2. Spawn Weld Constraint in one of the parts and in Weld Constraint properties set Part 1 to Part 1 and Part 2 to Part 2
Saying that with black cat on pfp is ironical
then what the fuck is the point of weld then
why does that exist if weld constraint is right there
...
mine is a kitty not a cat
Fair
can someone help with my code pretty please
You can put that weld constraint anywhere, it is just easier to store them in one part and welding each part to it. As well Tools must have part called Handle to attach to the arm
@lusty patrol make the gun just one part.. you're coding not building
Again - watch tutorials about making a tool
Stop making it harder for us to explain each step
Wait you're actually there? WAT
what
god forbid i ask for help
Learning basics is much better with visuals like youtube tutorials
And I already explained how to do it
i'm not touching a youtube tutorial
- Create tool
- Create part inside it
- Rename part to Handle
last time i did that i watched the worst raycast tutorial oat
Now the part is attached to arm
beggars can't be choosers
why coding so hard
If you want to add more parts:
- Create a Weld Constraint inside the Handle
- Set Part 1 to Handle
- Set Part 2 to the new part you created
MAKE SURE NO PARTS ARE ANCHORED
there's better resources at my disposal right now
it's like picking a tortilla to eat instead of a perfect burger right infront of you
that is?
this server?
I am telling you to watch tutorial about making a tool, not about scripting it
😭
what's #code-help for then
if you need to ask for real help then go to the devforum
and i cant navigate the dev forum to my advantage
That's a code name, only most active members know it is there to share memes
- Open google
- Search your problem and add roblox at the end
- Your Dev forum or Roblox documentation is there
Exact thing you needed - of how to create a tool
ok i checked a couple of dev forums about raycasting
one of them just told the OP to switch to a hitbox system
i looked at documentation
You haven't even created a tool yet, why are you watching tutorials about raycasting...
they talked about a different type of raycast
yes i have..?
From conversation we had for the last couple of minutes - you at least had problems with it
because i didn't know how to weld
you told me to look at a roblox youtube tutorial
After explaining it with text...
You finally welded it?
yea i'm so excited
Making a working gun system from 0 is quite hard, so I just took someone's unfinished one out of dev forum or smth like that and finished it)
is this sarcastic oooor
that's literally like
In one moment they work, in the next one it goes completely new direction
the equivalent of copying from a roblox youtube tutorial
Cause there's nothing bad about learning and copying from youtube tutorial. I didn't just took finished work and did nothing with it
No reason to invent a bike, when you can improve it
Vault 8166
meaningful
פרחים
a vault password. You don't need it, but someone will
DOPZASL
Who scripts & wants to make a button incremental?
I think u got lied to sadly. 😔
Yes
So lets say you have values under a folder called leaderstats. Basically what it does is get these Values to the PlayerId In General Terms. then you just set the values to the id so when the player leaves
thats the easiest way i could say it
Ohh ok thank you
you understand? that was kinda confusing
how women look at you when you tell them attempt to concatenate string with nil
Boiii ts got a good chuckle out of me!!
holy shit my gun is somewhat working
lemme record it
you do know how to use tools right?
i'll send it in #code-help
i heard someone say you ddint
dm
const creativeTemplates = [
"Here's an innovative approach to consider: [CREATIVE_IDEA]. What makes this particularly interesting is [UNIQUE_ASPECT]. We could take this even further by [ENHANCEMENT].",
"Imagine if we approached this from a completely different angle: [ALTERNATIVE_PERSPECTIVE]. This opens up possibilities for [OPPORTUNITIES]. The creative potential here is [POTENTIAL].",
"Let me share a creative framework for this: [FRAMEWORK]. This approach is powerful because [BENEFITS]. You could adapt this by [CUSTOMIZATION]."
const template = this.selectRandomFromArray(creativeTemplates)
yeah abs not thats stupid
it really isnt
Does anyone know what my target sent and received KB/s should be for my game to run smoothly for players on relatively weaker wifi?
30 on avrg
Hmm, okay. thank you!
no it not
for a beginner it is...
the finished gun system is hard to comprehend at a firs tglance, but the actual building process is just a bunch of features stitched together
sure, but an average scripter ez
anyone need a small time coder for like UI or some small to medium size systems?
do long scripts make the game lag a lot?
no. it all depends on what the script actually does
framesizeX=frame.AbsoluteSize.X
framesizeY=frame.AbsoluteSize.Y
buttonsizeX=button.AbsoluteSize.X
buttonsizeY=button.AbsoluteSize.Y
button.MouseButton1Click:Connect(function()
local randX=math.random(0,framesizeX-buttonsizeX)
local randY=math.random(0,framesizeY-buttonsizeY)
button.Position=UDim2.new(0,randX,0,randY)
end)```
why is the random started form 0 & not -(frame-button)?
UI, btw
wdym?
In short.. Metatables just set tables that are more complex that allow you to do more operations on them??
are you talking about why the math.random goes from 0 to frame-button? if so, that's what you put: math.random(0,framesizeX-buttonsizeX)
yea
frame-button is to prevent button from going outside of frame
why start from 0 tho
with metatables you can basically add and define more functionality to tables. so yeah
bc that's what you put
is there cases where metatables help you more than progrmaming without them?
nah like, last time I made a script for spawning coins in a coinzone, back then code for random positioning of coin was:
local offX,offY,offZ=coinzone.Size.X/2,coinzone.Size.Y/2,coinzone.Size.Z/2
local randX,randY,randZ= math.random(-offX,offX), math.random(-offY,offY), math.random(-offZ,offZ)
newcoin.Position=coinzone.Position+Vector3.new(randX,randY,randZ)```
using them in modules when making a constructor. but a lot of people dont do that since you cant pass metatables through events
oh is it cuz the position of UI depends on the top left corner?
that's the default. yeah. it depends on the AnchorPoint
that explains everything
can you explain a constructor in short? Is it usually when poeple do,
PartModule.New(Partsize, PartColor, PartPosition), PartModule.edit(Partsize, PartColor, PartPosition)??
what's diff between Size and AbsoluteSize tho?
it's terminology in oop. it's the method within a class that initializes the data within it. it's usually .new that's the constructor. in lua, you dont have any restrictions with what you can name it
i dont think frames have a property called AbsoluteSize
oh. it's read only
preciate it
if that's what you want. it's your game. looks good though
Whats up with this table.find?
I may have figured the promblem
no
it's not working
here's the code im using
for _, stack: Type.StackData in bar do
if stack._Name == Item.Name then
foundStack = stack
end
end
if foundStack then
print(table.find(foundStack._Items, Item))
end
a table
so you're looping through a table with tables?
if it prints nothing then foundStack wasn't found
if it prints nil then table.find didnt find anything
ok
try using prints to check
foundStack is a stack which is a table
and a "stack" is this:
export type StackData = {
_Name: string,
_Image: string,
_ItemType: string,
_IsDroppable: boolean,
_Items: {Tool},
--_StackID: number,
}
"_Items" is the thing i'm using tab;e.find on
are UI corners meant to disable when the size is negative?
if it returns nil, it didnt find Item
this is when its positive
I know
so i dont get your problem
What is outputted when you run
And what is the problem
It prints:
["_Items"] = ▼ {
[1] = Sword
},
also it's the fact thats it's giving me nil
that's odd it shouldn't be able to print that
what am I refering to?
nvm i looked it up, they intentionally disable it on negatives cause it can cause rendering issues
was just curious cause i noticed it when i made a typo
Is this your expected output or the actual output?
If it prints nil then it didn't find anything
No it's what I'm using table.find on
is there any known way to make a seperate reflection color for a specific mesh?
Ion get the initial problem what was it again
Why wont table.find work"
It looks through the table, and tells me where the "needle" is located?
yeah that's what it does
and why does it not work
you seem like you know what it does
anyone know how I can make this go up instead of down
probably not
its scripted so that the Y value on size gradually increases
and rotating doesnt work so increasing the Y makes it go down either way
negative UI sizes are really bugged so that isnt really an option either
could you somehow move the black ui downwards
wdym
so ehen it grows it does from the bottom to the top
thats what im trying to do but as i explained above, since rotation doesnt work the UI will always be increasing downwards
this is what happens if i rotate it and then lower the starting point
only way that ive found to make it go up is negative size, but those r broken so i dont wanna do it
This looks like it'd grow from the bottom to the top, why doesn't it work here?
change the position while you're changing the size: UDim2.new(0, 0, 0, 1 - sizeRatio)
because it always goes down even if its rotated
oh I see
I don't really know how to fix that though I'd try to rotate and stuff
Godspeed
not visible anymore after doing this
this is how i've had it set up
and then after doing (1, 0, 0, 1 - yScale) it stopped showing up
nvm, works if i do (1, 0, 1 - yScale, 0)
first time ive used udim2 so idek what the differences are between numbers
is it just the same as this
mb. i put it in the offset instead of the scale
yes
you're using scale to change the size, though, right?

its going up now but the only issue is that its doing it backwards
entire UI turns dark then gradually lightens
instead of going from light to dark
are you changing the size with what i sent?
Is there a reason why it has to go from down to up
preference
👍
and because its starting at 1
the scale is going from filling the entire thing to filling nothing
instead of vice versa
that was supposed to be for the position. keep what you had for the size
huh
how would changing the position fix it
wouldnt that just drag it away from the ui
no
works now
how is gradually changing the position causing the same effect as a 180 rotation though
It flips the position of the gui object
yeah
if i set the position to 1 manually it causes this
but with what he sent which is basically doing the exact same thing
its the same effect as a 180 degree rotation
ion understand
i think i get it now actually
is it because its matching the speed of resize
just to mimick it without actually rotating
what it does is sets the position opposite of its size. Size = 0 Pos = 1 Size = 0.25 Pos = 0.75 Size = 0.5 Pos = 0.5 Size = 0.75 Pos = 0.25 Size = 1 Pos = 0
yeah
its weird but it works perfectly
makes it seem like the top and bottom switched out but in reality its just the top moving at the same speed as the resize
Hey guys I’m kinda stuck right now I learned the basics of coding and I don’t know where to go from their
I know their is a lot more to learn but where should I go to learn it
And where do I go to learn the key terms
And stuff
I’m just so lost and don’t know what to do any help?
Alright what about learning like all the terms for scripting?
What the hell is table.find
yo can some help me out with my combat script?
I can hit once, but after that, I have to do an M1+M2 to attack again. Otherwise, I can’t attack
Does anyone have a development team I can join ill work for free 👍
guys im not sure how too feel rn
had this massive game breaking bug wit my cards
and it kinda just fixed it self
randomly
i cant seem to replicate the issue and i changed litteraly nothing
What the fuck is my table ,find doing?
I'm not sure what I'm doing
But im rufering to the samw thing
at least i think i am
I dont think it;s the tables
I'm refering to the same instance
erm, what
What does local do within code?
Whats the best way to make smooth dashes?
how to not let a character spawn but the game and ui loads normally?
You mean like your camera is locked in a position while the game loads or something?
What are you trying to achive?
@upper sleet i meant to do is a main menu and load the character later and the viewmodel when he spawn
i disabled characterautoload but it didnt load the ui
should i just trap players in a box before loading in?
Yeah you could try that
you don't have to stop anything from loading, you can change the player camera's position to whereever you want it to be and have the UI of the main menu
as for the character you can trap them in a box and move them to whatever spawnpoint you want when you want the actual game to start
wdym
just make sure you change the camera type back to custom from scriptable
kiss kiss heart heart
note this section
primarily
ill do that
😭
mew
anyone a scripter thats down to make a game in 2/4 weeks, dm ill explain current idea
Everytime a programmer hears someone say this Trust me none will dm you lol
Hiring a scripter payment 0.0000000000001%
0.0000000000001% of $1,000,000,000,000,000,000,000?? that's a steal bro
Hey everyone, I really need help with a per-player collectible system I'm building. 😓
I'm working on a game where Fragments and Clues (named Fragment1–10 and Clue1–10) should appear one at a time in sequence for each player.
🔧 Setup:
All fragments and clues are stored in ReplicatedStorage.
I use ShowNextItem and HideItem RemoteEvents to show/hide items.
I clone items into Workspace via ShowNextItem.
Player clicks/taps to collect, it should show text (from a StringValue), play sound, fire save event, and hide the item.
❌ Problems:
-
All fragments and clues appear at once when the game starts.
-
Clicking or tapping doesn't do anything — no hint text, no disappearance, no progression.
-
The per-player logic isn't working. Everyone sees everything.
🔍 What I want:
New players should only see Fragment1 and Clue1 on join.
When they collect Fragment1, only then should Fragment2 appear, and so on.
Same for clues. Everything must be per-player.
When collected, the item should disappear and show lore/clue text through Hint UI.
I’ve tried separating the logic into ServerItemHandler, ItemVisibilityManager, and save/load scripts using DataStores. But I’m stuck and frustrated. 😩
Any help is super appreciated. 🙏 I can share scripts if needed.
Is there a way to detect when a player's speaking?
dm if u script and want to make button incremental (i invest robux)
voicechatservice
oh i see
just check roblox services tho there is a way
I don't think there iss
Heard I can try using an AudioEmitter in the character?
Lmao if that makes sense 😭
INTRODUCTION Hey everyone! In this tutorial im gonna be showing you how you can access the player’s voice chat volume permitting you to make the player do actions like jump and etc. STEP 1 : Enabling Voice Chat To enable voice chat you must open Game Settings which you can find in Home. Click on Communication. Enable Enable Microphone. ...
open to feedback
is it best to keep models that i want to duplicate/clone and put back into workspace in serverstorage or replicated?
if the client never needs to clone it then put it in server storage
i need to clone serverside the only thing i need locally is the gui names, but i feel like thats just a bunch of useless reqs so im making a list of names instead
Does anyone know where i can find tutorials and documentation on ai cars?
acc nvm just using replciated
just create a node graph and get a pathfinding module to move the cars
Where would i find a module?
just look into this https://devforum.roblox.com/t/nodegraphv20-create-connected-networks-of-nodes-easily/2865840
I spent some day working on a tool for my studio and decided to share it as a free tool. It lets you quickly place down 3D nodes and connect them together to form networks or paths This could be useful for: Custom NPC Pathfinding NPC Patrol Routes Any sort of static movement paths for objects I built this because unlike some similar tools o...
why do u need to clone gui on the server
anyone a scripter thats down to make a game in 2/4 weeks, dm ill explain current idea
Wait @hallow crag, would there be any actual module scripts that i can use?
yeah theres a button in the plugin to import the modules
u need
you need to create a node graph first tho
when someone presses spawnbooth proximity prompt itll clone from replicated to server
huh
why would u need to do that
fire to the server
clone the booth on the server
then pivot it to the position you want
or if u want the booth to be completely client sided (wont be seen by other players) then clone it on the client
yeah i basically did that i just did everything on server instead
wtf is that avatar 😭
its not gui its proximity thats y
or else i wouldve doen that
thats just for decorating it
dont be racist
ok so use ProximityPrompt.Triggered on the server
and then to decorate use a remote
yes yes i did but thanks so much
okay
dm to make button incremental i put 20k robux to ads
Looking for someone that can handle fandom wiki
we arent lol?
Check DMs
kk
sure 💔
bodycolor and humanoid:addaccessory and humanoid:removeaccessory
Ahh can someone help me I want the tools have a custom walk animation and when the player unequipped the tool they will back to the original walk animation
i mean.. u kinda are, same ui, same map, same systems, looks like a 1;1 with a different name
@ruby ciphernoob
how do i fix this black thing
hey guys, what would be the optimal way to code a jumping rope game? the collision is important, as I am currently using option 2 and sometimes the rope goes through players, or kills players that are lagging
- hingeconstraint
- heartbeat on server
- client-sided heartbeat, current speed remote event sent from server
I got a problem since sometimes with my code the "cam 1" doesnt get detected and I have to restart the test few times to make it work again once. How do I fix it
local ts = game:GetService("TweenService")
local camFolder = game.Workspace.Cameras
local camera = game.Workspace.CurrentCamera
local blackFrame = script.Parent.blackFrame
local button = script.Parent.EnterButton
local label = script.Parent.GameTitle
button.MouseButton1Click:Connect(function()
button.Visible = false
camera.CameraType = Enum.CameraType.Custom
end)
local ti = TweenInfo.new(
3,
Enum.EasingStyle.Cubic,
Enum.EasingDirection.Out,
0,
false,
0
)
camera.CameraType = Enum.CameraType.Scriptable
blackFrame.Visible = true
camera.CFrame = camFolder.cam1.CFrame
task.wait(3)
Thats the code above it is slightly modified from a youtube tutorial
use waitforchild
What
Can you explain please? I am quite new in scripting and roblox studio overall
i would recommend looking up WaitForChild then
if you use that you can make sure your code waits for the cam1 to exist
Alright thanks
Where should I insert it then?
function module.ChangeCombo(char)
local combo = char:GetAttribute("Combo")
if lastSwing[char] then
local passedTime = tick() - lastSwing[char]
if passedTime <= 2 then
if combo >= MaxCombo then
char:SetAttribute("Combo", 1)
else
char:SetAttribute("Combo", combo + 1)
end
else
char:SetAttribute("Combo", 1)
end
end
print(combo)
lastSwing[char] = tick()
end
so I run this right and even tho it shows my attribute is 2 when I check it still prints out 1 why is that
because combo variable is being set then changed and then not updated to the new attribute value
so your printing what it was before you changed it
what do i use oop for
whatever u think needs oop
gng im asking cuz i feel like its useless unless ur making a singleplayer game or like a minigame of some sort, im making plr pvp and i jus wanted to make sure cuz its way better to use attributes and module functions imo
?????/
do u know what oop is?
yeah
what is it then
a class based structure
yeah its just preference if u prefer to use attributes then use attributes
im saying i can make a char class and do actions w it or use attributes
i feel like its easier w attributes thts why im askin
theres are some cases where its easier to use attributes and some cases where its easier to use oop
depends what situation ur in
im asking what oop is actually useful for or better to use
for creating enums or your own datatypes yeah
but in a game sense
if you understand what i mean
like u could make a npc class which takes in a npc model
then u could store the npc state
position etc
and create a moveto function in it for example
oh so like enemy ai for example? have classes for each and make them cointeract
yeah
yk when one fights u and the others back off