#code-discussion
1 messages · Page 265 of 1
so at the local Part, i named the part sssPart, the name wont affect it aslong as i reference it, right?
Yes just do local part = workspace.sssPart
local Part = game.Workspace.sssPart
i thought game.Workspace was the proper order
Procedural multi-directional movement
Holy
looks like that one clanker from wall-e
the bestfriend with that wall-e clanker
still looks cool
You able to do it?
is this right?, local Part = Workspace.sssPart
Part.ClickDetector.Mouseclick:(function()
local clone = Instance.new("Part", workspace)
clone.Position = Vector3.new(6, 15, 0)
print("Cloned this part")
end)
print was just extra
You forgot to connect function
wait theirs a errror
Yea
part?
What’s the error say
ServerScriptService.Script:3: Expected identifier when parsing method name, got '('
:
- it's MouseClick, not Mouseclick
- you forgot to add Connect after your colon
- not detrimental, but setting the parent in Instance.new is deprecated, you should set it with
clone.Parent = workspace
how do i set the parent
clone.Parent
it's in the message
son learn the basics first
Be my scripter please your an expert 🙏
I succkk
called learning labrobro
if you need scri*ters im here 🤑
yea but first he needa know the basics
Why’d you tag it out 
cuz its tagged as auto deletion
They got a buncha fundamentals down. Just minor fixes
I do need but for % of my game , spending 20k robux on it tho like on add credits since ik it will hit
what you need to script
wait where do i put the clone.parent
you dont 😭
clone.parent = workspace or smth
couldent be where local clone is, right?
hmm
whats the game idea
I need to make a map where you chop trees and if you agree I can tell the idea
Dms
You could. Depends on what you want the clone to do
right after you make the new instance is fine since youre already setting it immediately
looking for work on text channels 😻 >>

this is the first one that looks rightlocal Part = Workspace.sssPart
clone.parent = Workspace.sssPart
Part.ClickDetector.MouseClick:Connect(function(Part)
local clone = Instance.new("Part", workspace)
clone.Position = Vector3.new(6, 15, 0)
print("Cloned this part")
end)
said by who
the rules
You don’t really need to pass part in the function
what ur telling me what to do, local Part = Workspace.sssPart
Part.ClickDetector.MouseClick:Connect(function(Part)
local clone = Instance.new("Part", workspace)
clone.parent = Workspace.sssPart
clone.Position = Vector3.new(6, 15, 0)
print("Cloned this part")
end)
Nooo
yah lowkey dosnt look right
Workspace.sssPart?
You wanna make the clones child of the sssPart
sry still trying to referenct the actual parts name
Might’ve been an overreaction
- parent should have a capital P
- workspace should be lowercase
- you're passing "Part" into your function, when it actually passes a player. it'll still pass a player, but the name will confuse you
you dont need to pass anything in this case though since you never use it
I forgot it passed the player- Woops
They aren’t doing anything with it so it’s fine
also, didnt see, but you should remove the workspace argument in Instance.new
so just ("Part")
yup
is there a way to avoid recursive module references?
ServerScriptService.Script:2: attempt to index nil with 'Parent'
use a shared module to hold data
Send the script
also think i fixed capitilization
local Part = Workspace.Part
clone.Parent = workspace.Part
Part.ClickDetector.MouseClick:Connect(function()
local clone = Instance.new("Part")
clone.Position = Vector3.new(6, 15, 0)
print("Cloned this part")
end)
why did you move the parent set outside the event?
^
you should watch youtube tutorials for scripting
hi chat
been watching devking
does anyone use rojo here
Brawl dev is good
on episod 16 rn but stopped to create shi
watch brawlDev dev king is old
i doubt theres a significant enough difference for it to matter
watched him tell 13 but he overcomplicates, ill go back when im finished devking beginner
theyre both gonna be using outdated code anyway
yes i figured that, but i can't figure out to do that exactly
idk why
tell me what ur doing
Aren’t brawl Dev’s tutorials new
does anyone know how to port rbxm to rojo projects
mhm sure
2yrs ago
could we go to dms so our messages don't get missed btw?
atleast the beginner
ye sure
Man it’s been that long 
yeah, but theres still quite a bit thats changed since those
i wanna use an open sourced framework but they only uploaded it to roblox
you should use brawldev's for more updated information, but if you find devking easier to understand, i dont see why you should switch
forgot to add a clickdetector and added one, but when i click it, this pops up
ServerScriptService.Script:4: attempt to index nil with 'Parent'
Ngl how I learned to code 40% from free models, 30% from brawl dev, 10% from friends, and 20% from dev forum
Send the script
reverse engineering?
thats a thing right
local Part = Workspace.Part
Part.ClickDetector.MouseClick:Connect(function()
clone.Parent = workspace.Part
local clone = Instance.new("Part")
clone.Position = Vector3.new(6, 15, 0)
print("Cloned this part")
end)
you need to set the parent after creating the clone
Ye
clone doesnt exist before its declared
You set the parent before the part even exists
More of like I copy and pasted existing code, like a teleport script, and eventually copy and pasted so much I learned how to move the player’s model.
Stuff like that
i tried doing that with a telaporter but still didnt learn anything
YESSSSSSSSSS
I made a buncha free model games when I was still learning
But polished it like it wasn’t a free model game (still was pretty apparent since things didn’t even blend with each other)
One of them was a obby game which had a buncha teleporters
You got it to work?
I must’ve made like 30 of them
i made a free model game like a month ago, theirs nothing to do except drive around a house
Thing is you might be missing the polish aspect.
Since I still tried to understand what the code was doing at least to try to make it seem like it wasn’t a free model game.
the game or my script?
assuming the game i still didnt know jack
The game I made like 2 yrs ago
Anyways my best advice is to just continue making. Start small then build off of it.
ight thanks, you lowk helped me learn and the other green pfp dude, im prob watch like 2 more devking tuts and hop on da blox
ok ima msg js for future
setfenv(1, Service:GetEnvVars(getfenv(1)))```
never realized how goated
local Service = require(game:GetService("ReplicatedStorage").Shared.Service)
:SetupClientVars()
:LoadModules({
{path="shared/Modules/Math/ProceduralAnimator", as="Animator"};
{path="shared/Modules/Math/Wobble", as="Wobble"};
{path="shared/Modules/Tools/Input", as="Input"};
{path="shared/Modules/Tools/Iris", as="Iris", initCall=".Init"};
})
:SetEnvVars()
print(Wobble)```
grouped modules but i can still call it without indexing
this dosn't work with the type checker and also caises luau to deoptimize
screw the type checker but why does it deoptimize?
because modifying the env makes it unsafe
for roblox to do optimzations
and unpredictable
to what you will do
yeah well i wanna do what im doing without it having a performance cost 🤣
this may be completely removed from luau at some point
what are your thoughts, how much should i take for that
10 bobux
lowkey just look at the budget of the user
but 150k would be good lowkey
plus ur skill and experience also adds to the amount of cash
not really
i got a similar amount for finishing a game, not even doing the whole game lol
What's the best way of HTTP requesting the Roblox website from a roblox server script?
someone please help me fix this script:
local proxy = script.Parent
local sound = proxy.Parent:WaitForChild("Sound")
local sound2 = proxy.Parent:WaitForChild("Sound2")
local item = proxy.Parent.Parent
local isActive = false -- BOOLEAN
item:GetPropertyChangedSignal("Parent"):Connect(function()
if item:IsDescendantOf(workspace) then
isActive = true
else
isActive = false
if sound.IsPlaying then
sound:Stop()
print("sound1 stopped")
end
if sound2.IsPlaying then
sound2:Stop()
print("sound2 stopped")
end
end
end)
proxy.Triggered:Connect(function()
if not isActive then return end
sound2:Play()
end)
sound2.Ended:Connect(function()
if isActive then
sound:Play()
end
end)
tf is a boolean
🙏
anyone interressted to work with me on this game? its with brainrots, and i want a weather effect and cool atmospheric effects for the event itself. anyone that can help me with this?
not for free no
we can talk about payment if we can make what we want for sure!
hey guys im looking to get some feedback from you, how much would you realisticly charge for game like this to be recreated 1:1?
Quick breakdown:
-# - Cases:
-# - - Opening cases, pretty much a simple system, different rarities and items you can get from different "case" entities, all customizable, case opening sequence and results, allowing you to open it again if you got enough currency, or go back (You can open up to 5 cases at a time)
-# - Case Battles:
-# - - Basically the same thing but each contestant thats inside of a created battle gets one case, up to 5 players at a time, and whoever gets the most out of it in "Cash" gets everyones drop. (Skins)
-# - Trading:
-# - - Simple skin exchange with other people no requirements.
-# - Rewards:
-# - - Hourly rewards granted to you as free cases, or currency.
-# - Stats:
-# - - Basic stats showing basically your whole story inside of the game with how much cases have you opened, how much you spent, won, time spent inside of the game, etc.
-# - Settings:
-# - - Customizable settings per user to mute sounds, shadows, and stuff like that.
-# - Leaderboards:
-# - - Shows top players in different categories such as opened cases, top earned, top sold or something like that
-# - - At this moment we have the whole ui done with animations so theres no need to script anything like that, just the core systems
-# - - Not sure if i explained everything correctly but how much do you guys think such game would cost realisticly?
im looking to get a quick rough estimate if possible so i know how much can i realisticly pay someone to not overpay thanks again
40-70k
i meant in usd if possible
well would come up to 250$ i believe
my guy wants 400$ at the moment so im not really sure
Lol
$250 bucks for a full game
If u pay someone $250 for this you’ll have a very ass game
Im surprised people do it for $400
thats what i was thinking too
i mean 400$ isnt that bad, how much would you do it for then?
Do u have a code reviewer in your team
yeah.. me 😭
I dont code full games, i charge by the hour
Which comes out to 60-70 usd an hour avg
Effective work, not your 9-5 mentality
People who need urgent, solid work come to me
So i can charge for it
i believe thats too expensive for most of the roblox small time creators
but people dont pay for work in your case they pay for reliability and speed so yeah good for you
Ye i totally get that ofc. But i charge that when you need me for the whole night
Yea
But for ur game
yeah that makes sense lol i mean me my self i used to charge by the project now since i have barely any time i charge much more and still get the same amout of clients
A good engineer would want at least >$1k
nah im just a project manager we are trying to be budget friendly
but thanks honestly
500+ for that is crazy
If ur game gets popular you really dont want ass code as you cant keep up the momentum for updates
unless u got some divine intellect
i thought like 250 bucks would get us such game honestly, there are some programmers which could be up for that but the prices vary so much tbh
Your average graduate computer scientist earns $120k+ as a base salary
Thus thats what they charge as
yeah but this is roblox you know right
yeah but this is roblox
most of "game creators" here at hiddendevs dont really have spare 120k fr
And the top devs earn hundreds of millions
keyword top
they are lookin to get some good but also budget work get done
not every person and their mother is roblox multi millionare
And the top pays
looking for testers willing to pay 50 robux DM me
This is a medium charge too
If you run 150k in revenue you made back your dev
And this is easy af
i mean i used to charge low since i was still in high school and i mean thats honestly not bad for being a roblox programmer but now ever since i barely have any time i charge way more but i also try to make up for it lol
but at the other hand when hiring someone i expect it to be as cheap as possible 😭
this is hard
well it also depends where are you from though, 250$ for some people is alot of money, for some its barely enough to get through the week lmao
yeah i guess we will 😭
Outsource indian devs
Meta
Recreations r usually sold as templates and since this one's not that popular I cant see it selling for more than 100
But if youre talking about 1 client
I can see it costing 400 yeah
quit yappi
250$ is like a month salary here
crazy
sandwich
wages go much less in other countries
grilled cheese
rotten fries
i know that but what country are you in
foodborne illness
eg
egypt? dang
ys\
headaches
local function SpawnNPC()
local TotalWeight = 0
for _, npc in ipairs(NPCS) do
TotalWeight += npc.Chance
end
local RNG = math.random() * TotalWeight
local Counter = 0
local SelectedNPC
for _, npc in ipairs(NPCS) do
Counter += npc.Chance
if Counter >= RNG then
SelectedNPC = npc.Model:Clone()
break
end
end
if not SelectedNPC then
warn("No NPC selected to spawn!")
return
end
SelectedNPC.Parent = workspace
if not SelectedNPC.PrimaryPart then
for _, part in ipairs(SelectedNPC:GetDescendants()) do
if part:IsA("BasePart") then
SelectedNPC.PrimaryPart = part
break
end
end
end
if not SelectedNPC.PrimaryPart then
warn("NPC model has no BasePart: " .. SelectedNPC.Name)
SelectedNPC:Destroy()
return
end
local spawnPart = workspace.DefaultMap.Spawners.Common
local size = spawnPart.Size
local cf = spawnPart.CFrame
local offsetX = (math.random() - 0.5) * size.X
local offsetZ = (math.random() - 0.5) * size.Z
local spawnY = size.Y/2 + SelectedNPC.PrimaryPart.Size.Y/2 + 0.1
local randomRotation = CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
local spawnPosition = cf.Position + Vector3.new(
cf.RightVector.X * offsetX + cf.LookVector.X * offsetZ,
spawnY,
cf.RightVector.Z * offsetX + cf.LookVector.Z * offsetZ
)
local spawnCFrame = CFrame.new(spawnPosition) * randomRotation
SelectedNPC:PivotTo(spawnCFrame)
end
What's the possible issue in this?
any errors?
Sorry, I forgot to run that function 😭 Literally spent an hour trying to find out what was the actual problem.
happens to the best of us
is it fine to have multiple process receipt scripts in the serverscriptservice or will things mess up?
i have a question
why would u need multiple
im struggling to make everythin work in 1
so im thinking its easier if i just split them up
cuz i kinda suck at scripting /:
im pretty sure u only need one
yes one
bed bugs
no you can only have 1
marketplaceservice.ProcessReceipt = function() end
marketplaceservice.ProcessReceipt = function() end -- overwrites
fried bacons 
meo0w
sry.
looking for animators,vfx,scripter to work on my game am creating,i also have a investor
i can show some progress in dms
Dont bother, hes paying %
does someone know how to make a sword system like type soul, i also have a link for inspo
Hlw..
u look cute
combat system?
yo
yo
yo is my data validation looking good?
nope
😳
Nah
ya
q
why would I lie.
idk gng

but u got an awful personaility
overcooked porkchop 
i don't want to lower my cortisol
stay sub 5
sub 5 meaning
You
yea u are a sub 5
it means ultimate chopped
like max u can be chopped
nah that sub 3
i mean u are a sub 3
Im not your mirror
yea u are not
@tough vapor
So stop acting like i am
U do comms?
Dms
I am not 🤞🏻
any acripters wanna help make a game
u paying?
@honest heron , because no one will help u for free
In a way
Like its money but
Dm me
what game
Dm ill twll u
no hiring here btw!~
Oh alr
Yoo
So I have a tower game with 200 average CCU
But it only got like 300 Robux in the past 3 days
Is that normal or am I cooked?
Yo i dmed u
addmore gamepasses
Dev products i mean
okay
You made no money cuz you dont have dev products 😭
Yea lol but idk what to add
What your game about
Its like you have to climb a tower and theres a worm trying to kill u
oh the worm tower type games?
yea
just add the same type of dev products in the other games if you really dont know what to add
trust bro that will get you money
Like if a player die make a button go on screen for 19R$ where they respawn where they dies with their brainrot
That alone could get you more money cuz most can afford
okay thanks
NP
alr
Is there a down-side to script registry that I'm not understanding? It feels like I would have seen more people talk about if it's as useful as I think it is
did you spend all your money on thumbnails and nothing on the gui 😭
okay well ur thumbnail game is strong but ur guis are kinda ehh
set the anchor point for all these buttons to 0.5 , 0.5
did you mean organs bro 😭
you should probably fix that cause i dont think that words allowed on roblox
if i was to make a laser beam typa ability that follows the players mouse how would i go about getting the mouse position on the server constantly
currently my script just fires the mouse once to the server after a key is pressed that corresponds to an ability, how can i change the input of the framework (if i should) to be able to apply it to an ability like a beam that tracks
A client wanted me to make a wizard game where the player runs in a 2D platform straight away from the wizard (enemy player) and the wizard can select hexagons as pieces if the terrain, either to obliterate or make it lava. Once u are finished you gamble with boxes that cost 200 wizards. To get skins or ablities. So heres how Id do this. the wizard game should be easy in my opinion technically I would just put hexagons in folder make a UI for the mobile players and PC players using offset then if ui/button is pressed then selected area becomes lava/gone based on wht the wizard wants. Then if player passes give them 200 credits and then if the player has 200 credits they can gamble depending on what variable they roll its added to the stats so if they get speed 2 16 + 2 = 18 walkspeed. Etc etc. And I also use gambling system and evenly split chances for someone to be the wizard, the last wizard CANT be a wizard so if theres 5 players but one of them was the last rounds wizard then its 25 25 25 25 instead of 20 20 20 20 20. Make sense guys?
remote
wdym
the way to get the mouse position on the server is to fire it from the client to the server
as for the beam
do all players need to see it
yes i have that working rn anyway idk how to get it to constantly send tho for like a holdable aimable laser beam typa ability
loop
well probably but the server would need it for the hitbox
why can you not just calculate it based off of where the beam lands
or the beams trajectory with a raycast
remote function
invoke the client for the mouse pos
use unreliable remote events too
mmmm
bro
because its a constant beam kind of move
i forgot about those
are u ragebaiting
definently do not use a remotefunction with invokeclient
unreliableremoteevent is fine
how come
js use unreliable remote event
invokeclient requires a response from the client
if someone is exploiting they can just never return a response
causing the server to hang
i see
and overtime that builds up and can crash a server
so yea
unrealiableremoteevent is a good option
but you just have to ensure that there is an order
otherwise your beam will bounce around between the positions instead of actually following the mouse
this is probably the most difficult part of using them
i see i think i get it
ill jus try something im kinda new to scripting so im just experimenting on tryna make stuff as robust as possible
this is a good project for that then
simple idea as well
but you can learn about optimization and replication
hi can anyone help me with something
can someone help me with some code please
Why dont you post the question with the code that way whoever sees your messages will just reply
i dont have image perms
print("Code here!")
oh thank you
how does the function know what 'otherPart' is defined as?
script.Parent.Touched:Connect(function(otherPart)
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
It's the BasePart that makes contact with the script's parent (so the part that the script is under)
But for example if I have let's say a wall and I walk into it with my character, it's safe to say that most if not all of the parts in the character (hat handles, legs, arms, etc) will be passed as otherPart one by one
and, does it have to be called 'otherPart'? Or can it be named something else? I've also seen 'hit' being used
Can name it whatever you want as long as it fits in the naming rules for variables
so, everything i put in the parameters of 'function(...)' has to go according to certain naming rules?
are there like certain words that have certain functions
i've also seen onTouch
Essentially yes
is that why???
I.e the variable cannot be named 0Part, cannot be named touch part, cannot be named .part, etc.
looking for a scripter - add me pvp game for dc superheros each character finished = 10k robux
And preferrably not named anything like type, script, etc. all the reserved keywords
is there some kind of documentation on each of these words we can use?
scripting turns out to be harder than i thought 💔
btw, are there any like courses i can take that give me exercises or teach me LUA
This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!
DISCORD 📜
Join my Discord Community if you want scripting help, participat...
lovely
the docs
no

Official roblox docs is the way to learn the API
is it ok to use nested loops for my invetory system to see which slots are avaible?
send the code
havent made one yet
but basically client send a remote function ,server return table of player invetory and player loops throught it
wym
il show u ui structure
its a dictionary with the key being Item and inside other table with name and description
iv been facing a problem where my ragdolls have crazy latency ( when enabled on the server-side ) i tried making them client sided and this happened. how can i fix this :p
show rhe UU
i sent it on dms bc doesnt let me send pics here
some people learn better from videos
obviously docs are way better
hihi is there anyway to "Remove" a player data 
how do you make purchase processing screens or whatever its called, like e.g. you buy a dev proudct and in the background a ui appears saying like processing or whatever
any1 wanna satrt a dev group 4 fun
im down
hi
everyone has their own way of learning
hmm
I mean no one knows at the start that reading the docs is better
I dont blame anyone i started with yt tuts too
same
sometimes
its just hard to understand what does this or that mean even though you already searched it on docs
that's the issue with me
so i find it easy if i had to search it on yt or simply ask chat gpt
before i guess
how do games like steal a brainrot and grow a garden handle mutations from events? Do they run a random roll every couple of seconds for all mutatable instances for the duration of the event? or do they roll once at the start of the event and then just delay the mutation to make it seem like the timer matters?
does anyone know how to make terrain dissappear with streamingenabled?
follow nice tutorials like brawl dev if ur looking to script roblox lua
and u can ask questions in private for help
to me aswell
if it is lua
does anybody have an idea of what I should script for the LuaU application
i dont have any ideas for a 200 line single script
It's Luau, lol
?
ok?
Anyways, take a look at my GitHub in my bio. I upload random scripts that are around that line count
Hey man, if you're tryna earn a role that signifies experience in the language, knowing its proper name is a start 😂
im following a devking tut for leaderstats and it says the script i made dosnt work since players is not a valid member of fatamodel for the game, can any1 help
a lowercase u thank you for the laughs
What are the modules that are init last called? Are they core modules or dependencies
A
what could you have possibly named fatamodel 😭
They have no name
meant datamodel
If a module is required, it is a dependency
it means players doesnt exist as a child of datamodel
send the script
game.Players.PlayersAdded:Connect(function(player)
local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"
local Points = Instance.new("IntValue", leaderstats)
Points.Name = "Points"
end)
Bro cuz I got my weapon manger and input manager last init so all controllers can connect to them before they fire, but idk what to do with my plr state module. I have it init first bc controllers need that to be done in order to work but I don’t want to call it A controller and I can’t call it a manager since it’s init first
its PlayerAdded not Players
remove that s boii
ur a unknown hero
lol next time just put it through ai dude it fixes up spelling errors fast
wont have to wait for someone to respond
hii kosak
hi
I have a question I’m kinda new to scripting and when I see ppl do script for ability’s and combat system some do it complicated and some simple is it better to do simple scripts or not and if yes or not why is that could smb tell me pls
Hey guys, I'm currently working on a big project and I keep hearing that big games have to be in TS or you have to use this framework, etc. I want an honest opinion on what's the best way to get my game out there.
delete the screengui and ctrl + z
it should put it above all other ui
its just how roblox studio works dont ask me 😭 it happened to me many times before
is js grouped everything in one screengui
i didnt make it, working for someone js coding the ui
then remove the main frame and ctrl +z
or any ui entity
and itll put it above everything else
roblox studio™
dang
the ui is pretty cool i like it actually
i never play this type of games though not a big fan honestly i dont even know why
^
Some ui movement https://streamable.com/ebk3bo
how do i get a direction relative to a character?
What yall think
3d ui?
Yes
I think he's using viewports since the 3d object has a 2d perspective kinda
yea i was wondering that aswell
I cant change my name 😭
I’m using this, but I made a wrapper for it that makes it super easy to set up and handles the bobble movement https://devforum.roblox.com/t/screen3d-a-3d-ui-framework-that-just-works/3273671
Do you want to create awesome, phighting-esque 3D UI without the hassle of Renderstepped loops, arbitrary offsets, or god forbid UI resizing issues? Well boy, do I have the solution for you! Screen3D was made with the goal of bridging the gap between 2D and 3D UI. Usage: First, create your Screen3D object. This can be done for any 2D ScreenGu...
im stuborn so i'll never touch this
interesting
if only I could post links so I could show my 2d to 3d level editor 😭
how do i make it so that
instead of this
being directly tied to position on grid
it would take into account the player's rotation
and adjust accordingly
the arrow is the movement direction btw
eyes for visual flair
you can see he's looking towards (-1,1)
but the movement direction would still be (-1,1) unit'ed
ngl I dont got a clue what im looking at
You want to get the move direction?
Input direction?
Elaborate
Directional dashing? As in you snap in a direction to move?
no
if you would be holding the a key while moving in that direction it would play that animation
but i dont want to map out the keys
i want to just use the vector direction
I need ideas on what to script
Yeah so what you want is the input direction
climbing
already have made tha
i dont want to have like 10 input checks
Oh boi do i have a solution for you
I've made combat, inventory stuff, a level editor, rollback netcode
Why not use the movedirection under humanoid?
and some other things
Or
that would give you what i dont want
Do you want to figure out if the player is moving left or right
well actualy
if i was for example
facing one direction
and dashing in the other
it wouldnt play the proper anims
i want to know all directions
wasd
might js make a table with all the movement keys and their according dashes atp
Oh you want it so when they click the corresponding movement key, it snaps them to that dash direction or sum?
Ok apart from move direction, you could get the move vector via player module like this
local controls = playerModule:GetControls()
local moveVector = controls:GetMoveVector()
im honest to god gonna kill the other scripter working w/me
I believe you can get non camera relative too
this guy names things horribly
all his code is unreadable
and bc of the way he did things
they dont even work with my scripts
even though i told him how all my services work
this mf made his own that dont even work with my datastoring
half of his scripts are just chatgpt shit
lowk I've been a scripter for 4 years and I still dont have good naming practices
he would name player "p"
he litteraly says that he uses chatgpt for all his debugging
i cant
im working with him
under a commisioner
- he finished his work already
😭
yikes
honestly I use GPT every once in a while because it is a decently useful tool but I'm not dependent on it like some devs are
but it sucks with roblox lua anyways so I end up writing the code myself anyway
Atp only use chatgpt if ur like rlly stuck and u cant find any alternative to help you
Honestly
neverrrr
just start devforumaxxing
But theres roblox ai helper thing or smth
Anyone know any phone apps i can make ctr thumbails on, and also make outlines?
its buns
agree
Ok im back
🤤
No cap, why cant u put highlights in them
Do you want the move vector relative or NOT relative to the camera
so many limitations
turns out neither of our solutions will work
It irritated me sm when I first started, I was trying mid coding and it would add its own stuff
Anyone know any phone apps i can make ctr thumbails on, and also make outlines?
the shitty ass scripter im working with hardcoded everything
kill your scripter dawg
I hate when ppl do that
i cant change anything without recoding everything
thats why i never work with any other scripters
Ibis painr
i didnt have a choice 😭
I have it and its good, but theres not really an outline feature
and cant make text transparent
Clip studio
will try
Oof
I'd cry if I were u tbh id haye to work with sm1 like that
Honestly
chat gpt would help, at the cost of your morals
it would be chatgptsception
look at this stupid ass naming
how the FUCK is ab revelant to this
😭
its not even cA or sum
why'd they camel case 2 letters
single letters 💔
Should blocking animations be loading on the server or client for a combat system?
anims on client
logic on server
client
js make a damage handler
or damageservice i mean
all the damage related functions should be filtered there
incase you want damage multipliers
or blocking as suggested
(or maybe you already made allat and im stupid)
always handle things that should have little to no latency/delay on client for the most part
wym?
i have a big question so im trying to make animated models that load floating above the players head when they load in and play there respected animation how do i go about this ive been trying everything from animation controllers to make them glorified rigs and welding and adding joints nothing i do seems to work is there an easy way to do this?
my layout is 2 meshparts that form the object i need one of them welded since they both make the one object and now need that object to float over my head and play an animation when i load in how do i fix this
add humanoidrootpart
Like whenever the player starts blocking, do I just create a parry tag for the parry window duration
humanoid
or is there a ebtter way to go about it
and animator
again, damageservice
dosent humanoid cause server lag there will be 8 players a time
check the window which the player started blocking and when they got hit
with time or something
or tick
idk never heard about lag
it wont cause much lag with only 8 players
would it add up though because my game is an incremental with many object being locally spawned in at once
corny
if not is humanoid much simpler just animating the root part
if its local then it wont cause much lag for other players
unless you mean something else
nah just local so it should be fine then that boosts my player count to 16 because 8 players with 8 humanoids
or theorhetical player count
holy nesting
nestmaxxing
are you trying to make your code as unreadable as possible or what
how is that unreadable (save for the single letter vars) 💔
it is readable but it takes a bit to realize what the variables even are
can you tween a mesh??
tween how
wdym how? (little confused by your wording)
what are you trying to tween
size, position
yeah why not
cornball
local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(
2,
Enum.EasingStyle.Quad,
Enum.EasingDirection.InOut,
0,
false,
0)
local propeties = {
Position = Vector3.new(1000, 1000, 1000)
}
local tween = TweenService:Create(part, tweenInfo, propeties) ```
this is my code
and i set it to 1000 to see if it would move
also its in a model
does that change anything
no
you aren't playing it
you're only creating it
ohhh
you need to do tween:Play() below the variable
i havent used tween service in a minute
alright thanks bro god bless, have a great day
thanks you too
should i turn my script editor into the old powershell command thing?
what
Should I fire to the server to start the attack to validate everything, then the server fires to the client to play the attack animation?
Or play animation first then fire?
wait for validation
If I want to use animation markers for vfx timing how should I go about that
what animator ur using?
Just listen on client and fire?
I animate in blender but I've already imported it to roblox
and added the markers "Hit"
So I just listen on client and fire to server?
tell me again what's the goal?
Creating a hitbox on the Hit marker, alongside creating a slash vfx
yea
then you would tell the server to create slash
the server validates that the ability or wtv was used
then does it
Hey guys, I'm currently working on a big project and I keep hearing that big games have to be in TS or you have to use this framework, etc. I want an honest opinion on what's the best way to get my game out there.
Just be yourself you don't need to use that bullshi
U can use Nevermore It has all anything you need
Why do people even get into huge projects 😭 , I made 3 small games they made me a good amount and now working on another small project launching in this saturday 😭
Alright thx
Ask the owner
Guys
Have any of y'all developed a pathfinding NPCs for a fps game
That doesn't shutter n mimics at least some real player movements
How complex is it
a Model doesnt have a Touched event. only derivatives of BasePart (Part, MeshPart, and UnionOperation) have it.
its really just preference
roblox-ts is for people who prefer typescript over luau, and frameworks are just there to make things a bit easier. you can 100% still make a "big game" in base roblox on your own
do pro scripters even use repeat until
whos got any recommendations for learning luau for roblox
ive watched the brawldev beginner series on youtube
and i still dont know how to code anything without searching it up
thats fine
keep doing that until you don't have to search stuff up
it's a process
by searching it up i mean just watching tutoirals and copying the scripts
Write it on a paper or something
but i feel like if i keep copying the scripts without actually learning the script i wont get far
copy and learn at the same time
alright thanks
what games do u recommend i try to make that would help me learn to script better
alright thanks
'have you been watching brawldev? if not dont start with him, watch devking tuts first
if self.IntermissionRunning or self.RoundRuninng
Put it in a one statement
Reverse checking
Yes
one more thing, should i use a mapservice or just bundle map generation into the roundcontroller module?
ive watchesd the first like 12 episodes of the brawldev scripting for beginners
so should i watch the devking ones?
think of something and go script it
like a moving part, color changing part, e.t.c
if you can easily do that then do something harder like opening and closing a door
100% of making a game is problem solving skills
There's a bunch of different ways to solve a problem
If you're just watching tutorials it isn't gonna do anything unless your putting it into practice
No, instead ask chatgpt how to put things together, it'll save months of scripting
okay ill start today thanks
personally i was getting a little confused with brawldev since he overcomplicates most of his stuff, devkiing explains it great for people who atleast know the basics or are learning,he also gives great scripting ideas, personally i made a button that makes it rain, dosnt sound to complicated but its great for learning

It helped me, YouTubers make terrible tutorials
How I got 6k ccu
,afk
what the hell is ccu, everyone talks about it but i have no idea
Concurrent players
so like through out the whole games time being up?
No
an amount of people playing the game at once
Ccu is amount of players online at a given time in your game
oh i see now
you’re supposed to script stuff
and practicr
copying scripts without thinking abt how it works or what it does wont help you
if anyone wants a free scripter for their team just dm me
why for free
experience
and I don’t have any ideas on what to program
relatable
Anyone wants to test my game for 50 Robux Dm or reply
dms
@patent gorge dm
guys, how to make domain expansion smooth sphere forming like jjs?
What instances can I use to create ship vehicle? Align pos and orientation with force to move?
if you wanted to make a projectile like a spear or something, would you tween or lerp?
lerp would be best
tween flexibility is low
thank you

How do u learn more after learning the basics. might sound stupid but is it just doing it?
self doesnt mean only oop gng

Read docs
basically, just learn as you go lol
think of something you wanna make, try to make it, and use the internet to learn how
Generally more modularization is better since it allows you to better isolate functionality for different things. I'd definitely say level generation is separate from round control.
i want to do commisions quickly and i'm a scripter with 7-8 months of experience. anyone got any ideas of what i could script with these requirements?
`Luau Scripter skill role can only be attained when an applicant creates and submits a sophisticated Luau code with a working demonstration in a Roblox Place. The code must encompass the intermediate level aspects of programming in Luau. At least 80% of your code must be Luau programming language exclusively, rest 0-20% can be other programming language(s).
A minimum of 200 lines of Roblox Luau code in a single script (excluding empty/ blank lines and comment lines).
Only GitHub link is permitted (use proper file extension). Repository link is not permitted, submit direct link to the Luau code.
You must demonstrate a broad understanding of Roblox and programming logic.
You must show broad understanding of Roblox API. We suggest using CFrame math, physics, metatables, open-source libraries, etc.
The code must be well written and efficient, with proper utilization of functions and methods.
Code must be well presented in order to maintain readability.
There must be appropriate comments written by you, to demonstrate an understanding of the provided code.
A demo game demonstrating the functionality of the script must be provided.
Ensure that your code is well-optimized and avoid any unnecessary components/ extra lines.
Roblox place must be owned by you, or you must be specifically credited in the game description. Alternatively, credits are allowed in-game (must be specified in the description if the credits are in-game) or on an external page (like Roblox DevForum) if this external page is linked in the game description.
Avoid the following:
Irrelevant or unnecessary blocks of code.
Several modules/ scripts combined together.`
if i started scripting from now how long would u guys think it will take for me to make my first commision
prbly a few months if u learn quickly tbh
Ur getting auto ignored if u send that message
in your opinions, which advanced scripting tutorial series is better
BrawlDev
TheDevKing
docs
which was CLEARLY one of the 2 options portrayed, thx
Make like a gun system or smth like that, u can also make a 5 m1 combat system wit hella stuff and mad if statements cu Idt they will care as long as its 200 lines idk tho
Nvm
Must be well written
What do you think of my theme
dozen work
idk what comes next in learning to script, i try to make less spaghetti code, but idk how to improve enough so i can start building frameworks and proper systems
cause it isn't like one step at a time like usual stuff, it feels like you do spaghetti code then you jump all the way up to frameworks
Here's something that might help
Scripting Roadmap The scripting roadmap has three categories, the basics must everyone know to continue with other more difficult categories. Intermediate is someone who maybe does already commissions and is already not really anymore a new programmer. It is also useful to check what you maybe never knew and now found out through the lists ▶...
bro tysm
I’ve been learning for about a 2 months but YouTube is is really not showing me anything 🫤I understand the language but I don’t know how to program with it ??Yk what I’m trying to say ??
you have to practice
brawl dev is good
No problem
thx
looking at the roadmap i only miss metables and OOP (from the things i want under my belt) which is something i always avoided like the plague
guess there is no escaping it
you use _ for tables
(it still works even if it isn't for a table)
the first parameter is the value and the second one is the key no?
if I remember correctly
pairs too
pairs are completly useless and ipairs has like one niche use
and ipairs lol the difference is minor, from what I remember it just goes through two at once no
whats the niche use
I wanna know now
idk never had to use it
complete and irreversable world domination by AI
hopefully we never need to use it
it only iterates over the array
but its slower than just doing a while loop
oh hey thanks Matthew
first is the index/key and second is the value
r u saying that its better to use a while loop to iterate through arrays/tables
if there isnt a dictionary and array in the same table, use general iteration
aka no pairs/ipairs
does that mean u only use while loops
for i, v in tbl do
print(`{i}: {v}`)
end
for loops are so annoying
what should i make for free
skid
I made a teleport part scrip with 2 part how do i make it so when stepping on either of them you teleport to the other without it looping or a cooldown and wait for the person to step off the platform ?
how stupid are you
@broken grove sent DM
other way around
syntax for for loop is:
for i = start, end, optional_increment do
OR
for … in iterator, …args do
so u can do for i, v in function do
Print("hello world")
yo chat is anyone here a roblox scripter i bought a system and need helping scripting it in my game if anyone can help
for loops are so useful
while loops are very unreliable, so its better to just use for loops
Luckyblock game again bruh
idk i just wanna sound like an advanced scripter man
Someone wanna take a look and test at my discord bot
Literally both have different use cases
nice boids LOOL
Half of the things you can do is either not possible or way too complicated without for loops
while loops
oh
hey can anyone help me basically Im trying to use topbar plus to make a settings for my game so that i can make an option to turn a music playlist i made in replicated storage on or off but i dont know how to locate the topbarplus button inside the music local script
i have 2.2m visits btw
i use them, but they are really annoying to deal with personally in my opinion
bro i do not care
thats not even a lot lmfao
Why are you tryna flex some pitiful ass numbers
jus admit ur ahh
Congrats?
i dont think they are hard i think they are annoying
You must suck
no tf you arent
how do u know
i just do
I can add the tool in if you want
wym
Like I can make a tool in the starterpack
If you need help with that
But that’s all i can do
500 robux
for loops are when you have a defined initial number of iterations
While usually works well with break after a "while true", or just "while variable"
Does anyone know how to spoof?
is that dogg
or eg
Guys how do animation based vfx work? Cuz with a fireball, we can js clone the part with client and everything is good, how about with animation based vfx? Can u save vfx inside animation id?
anyone got a tutorial on how to make a basketball game
Yeah that’s gonna be a pain my guy
no way its this underaged user again
Wait who
fwinx
ion even know you
ye
His discord account is 6 years old tho
it dont matter
bordie really my fan out here ion even know who ts dude is
I mean unless he was like 6-8 when he made his discord he isn’t really under age
And I doubt that
How old do you think he is @sharp gulch
based off his pfp like 13
guys is there any decent method to block save instance, I have only seen a method of blocking UGCValidationService but there is also this one bypass in save instance that pauses rendering, I wanna know how I would be able to detect that as well.
What is the best method to remember Lua language and the basic I’m kinda new and most of the time I forget script logic and what everting accs mean so I have to go back to creator hub or ask Assistant how to write the script like that
go code
get good
Holy no help
its help