#code-discussion
1 messages ยท Page 297 of 1
HEllo guyssssssssss
Ai
Do you think its worth it?
If you only want to do it for the money, you won't enjoy it.
If you like coding, then do it.
Will AI take over programmers jobs anytime soon? No, it lacks the ability to do that as of now.
It's useful for making things that have already been done. Problem solving is a weak point.
It is likely that the actual writing of code will be taken over, whilst software "architects" design solutions.
Alright thanks for that.
hi
well 30 min isnt enough
i agree
atleast 30 mins a day would take more then a year
how much should i charge for 2 cars
low poly?
2.5k robux is kinda low
yo guys i got a question does this make sence ```lua
local InventoryModule = {}
local ItemConfig = require(game.ReplicatedStorage.ItemConfig)
function InventoryModule.addItem(inventar, item, menge)
if ItemConfig[item] == nil then
return false
end
if inventar[item] == nil then
inventar[item] = menge
else
inventar[item] = inventar[item] + menge
end
if inventar[item]> ItemConfig[item].maxStack then
inventar[item] = ItemConfig[item].maxStack
end
return inventar
end
Why wont my leaderstats show up in studio? I cant see them in the top right at all and my code is completely correct?
u mean u dont see the option on the top right or does it show up but not the points u want
like do u see ur name at the top right?
u forgot to parrents the things
u have to do
No exactly like is it turned off? I dont see my name at all, when I press Tab it doesnt pop up
yeah true
I tried this as well and it doesnt change anything, when I hit play all the things are where they need to be in workspace?
the 2nd argument of Instance.new handles that
though it is deprecated and shouldnt be used
did u also do
coins.parent = player?
points i meant
u have to do for both of them
again, it does that
and also u have to put a value for point i dont know if u have to
check and see if leaderstats is actually being created
have you disabled the player list?
try to add .Value to ur points
playtest and check Players.[player name].leaderstats
Nope but I also havent touched Studio since they changed the tabs from the classic look to the new look so It might be disabled idk
/to open leadrboard
this is what it looks like rn and its popping up under the player tab when I playtest it,
strange
try clicking tab to open leaaderboard
yeah send a screenshot of what it looks like in game
game.Players.PlayerAdded:connect(function(player)
local leaderstats = Instance.new("IntValue")
leaderstats.Name = "leaderstats"
local points = Instance.new("NumberValue")
points.Name = "Coins"
points.Value = 0
leaderstats.Parent = player
points.Parent = leaderstats
end)
ive always done mine like this so that leaderstats is an intValue and it works
๐คฃyo that worked
lol
are we deadass
ohg .. .
guys can someone help me now :D
bro I spent like 2 hours on this ian even gon lie
dan ,, ,
dataStorage high key frying me
how much would you charge for an inventory system
im jus asking
how to even make custom inventorys
im making 1 rn
yh how?
so u need to save playaData
and in that data the inventory gets saved
then u got ur items or what ever
now like i mean with custom gui and stuff
oh'
ahh well u jst do gui stuff
make you little box where the tool is gonna be you gotta make a textbutton change the text to toolname then you could use uistroke tos how equipped or unequip like color change or somethin
and all you doing
is simulating backpack to character and vice versa
understood the first text
local InventoryModule = {}
local ItemConfig = require(game.ReplicatedStorage.ItemConfig)
function InventoryModule.addItem(inventar, item, menge)
if ItemConfig[item] == nil then
return false
end
if inventar[item] == nil then
inventar[item] = menge
else
inventar[item] = inventar[item] + menge
end
if inventar[item]> ItemConfig[item].maxStack then
inventar[item] = ItemConfig[item].maxStack
end
return inventar
end
``` can someone confirm this makes sence?
if you have a iamge ig
yes
i thought u need a service to make a inventory system
its in another module
ok
yes a stack limit
i dont use modules'
since there just for like organization
i could jsut use functions local
only ues modules for stuff that will be needed to be retirved from multiple scripts
cant u jusst use events
thats only time i use modules
yh but its better for module
ok
i use modules pretty ofter ngl
like now for inventory i have playaData Module, ItemConfig (for the items and properties of them) and a InventoryModule for adding and removing Items
how to build a good portfolio
not sure
well
just make it look like u know what ur doing
and put what ur good at
and info about ur game deving
nah but like what projects are good enough to show
real
how do those two things correlate ๐ญ
look at my portfolio and tell me if you think those are good things to show off
because i dont personally think they are but i also dont really have anything else
ong my ears blasted on every single video i click on
lmao why is your volume so high
art system is p good to add ig
one of them doesnt even have audio
fnaf fan game is def nice to see

idk if you wanna put minecraft at the top tho
i make minecraft plugins too lol
when i send people the link i usually put #roblox at the end
is that ur main bizz
which will send them straight down to roblox stuff
i wouldnt say either is
ic
there is a tower defense guide on yt so idk if its nessecary to show that on ur portfolio but other than that its pretty good. No glaze but i rlly like the camera shi ur doing in some games
what camera shi?
the zooms and stuff
also the tower defense system is to show that im capable of it lol, most people hiring for a TD game are probably wanting to get a custom system
true
btw what is that typing speed at the wise robin ๐
are you calling it fast or slow
fast
i can tell
did u do all these projects jst for fun or did u think "i will make a game that can be put into my portfolio"
the TD one was the only one i made for the portfolio
the rest were just projects i had made over time that i slapped on the portfolio cause i needed some lol
i see
nah but looks good
thanks
no
anyways there is a obby at the end do u think thats good for portfolio, i made it like a year ago and that the only "real" thing i did. Otherwise i jst do 1 thing and go on to the next.
so u think a obby is good? :D
like a basic obby?
๐ญ probably not
perhaps
anyways imma go break my brain abt this inventory
gl
Yo can someone give me opinion on this please https://www.roblox.com/share?code=a944226747763946bb4c31470a9e5a8c&type=ExperienceDetails&stamp=1775258365478
I need a coder.
if you need sum for port then script sum for me king โ๏ธ
sure :D
im jst not very good or fast
but if u get along with that sure
C0 and C1 properties getting locked as read-only during animations frying me rn
transform
Thanks for the wisdom nephew
help pls
Hai can someoen test my game plz
With a script
I can
Ok dm me pls
What Is it about
Outfit game
Cool
no
whats the fix for the character not loading fast enough before a playeradded script runs ? i tried waitforchild on literally everything
is roblox lua different from regular lua
but generally theyre somewhat the same right
just use task.wait
character appearance loaded
not all devices load at the same time
ic ic thanks
np
what do u all do when u dont understand something when u learning (like pcall) do u just skimm throush the totorial and hope while doing it again and again it some how popes up in your head?
i search about it in the devforum and apply it myself
ic
what exactly do u serch in dev forum
like how to use data storage or somethign else
u mean datastoreservice?
yes
i have a character handler function and it won't run when i team test but always works in a regular test
can you give us a snippet of your code maybe?
function CharacterHandler.CharacterAdded(player)
player.CharacterAdded:Connect(function(character)
local rblxcharacter = Players:GetHumanoidDescriptionFromUserIdAsync(player.UserId)
local description = player.Character:WaitForChild("Humanoid")
description:ApplyDescription(rblxcharacter)
for i,v in pairs(rblxcharacter:GetChildren()) do
if v:IsA("Accessory") then
v.Parent = player.Character
elseif v:IsA("Decal") then
v.Parent = player.Character:FindFirstChild("FakeHead")
elseif v:IsA("Shirt") or v:IsA("Pants") then
v.Parent = player.Character
elseif v:IsA("BodyColors") then
v.Parent = player.Character
player.Character.FakeHead.Color = description.HeadColor
end
end
local parts = player.Character:GetChildren()
for i = 1, #parts do
local characterObject = parts[i]
if characterObject.ClassName == "Accessory" then
if not characterObject.Handle:FindFirstChild("HairAttachment") then
parts[i]:Destroy()
end
end
end
print(player.Character)
description.MaxHealth = DataManager:GetData(player, "Physique").Health
player.Character.Parent = workspace.Living
description.Parent:SetAttribute("DefaultWalkspeed", 16)
description.Parent:SetAttribute("DefaultJumppower", 50)
end)
player:LoadCharacterAsync()
end```
docs for everything
learning to read docs is important
```lua
code here
```
ty
is it on the server or client
this is in a modulescript that is required and called when a player joins on the server
hmm
it looks like a timing issue i'm ngl it always runs in regular tests but not team test
everything is flipped around
what do u mean ?
rblxcharacter is the humanoid description, and description is the humanoid
oh
for i,v in character:GetChildren() do
if v:IsA("Accessory") then
v.Parent = player.Character
elseif v:IsA("Decal") then
v.Parent = player.Character:FindFirstChild("FakeHead")
elseif v:IsA("Shirt") or v:IsA("Pants") then
v.Parent = player.Character
elseif v:IsA("BodyColors") then
v.Parent = player.Character
player.Character.FakeHead.Color = description.HeadColor
end
end
you should be looping through description in this case
well actually just character
actually this doesnt rlly make sense
yeah
it's for a humanoid that's inserted in the game
this whole for loop is pointless it seems
cause you can't see the imported humanoid
there's a blank humanoid the character is assigned to instead of their default character
so there isnt a humanoid in there ?
thats fine
can you try to playtest with somebody else in the roblox client
the for loop is still not doing anything
ive had the same issue with a system i was working on but when i tried it in the roblox client it worked perfectly fine
what is FakeHead for ?
ya imma publish it
why dont u use the normal character head
welds was my last purpose
wdym
i cant animate with the weld
use motor6ds
does motor6ds actually move the weapon itself or just the hand holding it
cause a while back on a different game it was not working
wdym
motor6ds dont move stuff
it's a weld rifght
ye kinda like one
ya and u can't animate with it
but i always use it in custom rigs
no u can
ive tried it before
the actual thing being welded u can move in the roblox animation tool ?
that was my problem when i tried it nothing let me actually move the item that was welded with roblox animation
if you are animating tools, you should be converting the RightGrip weld that is created when equipping tools into a Motor6D
at least thats the most compatible way
motor6ds are basically like joints for a rig
so in comparison to adding a righthilt to the players character to weld the object to and move the hilt
is there a difference
yeah
add animationcontroller
you can animate with a motor6d
under it
ohh
you cant without a motor6d
have u done that
??
np
animation controller is to replace humanoids
i must be confused then
should i just get rid of the custom character
cuz of humanoid calculations
humanoids are not that slow
i mean if you dont need humanoid functionality i guess ...
how to post in #scripter-hirable ?
hey if any scripter wants make a slop cashgrab game with me and split revenue dm all you need to know is scripting id handle the rest dm for more info
Can places made/saved via the save place api get you termed?
can yall tell me some websites for good uis? (for roblox preferably)
oh shi wrong channel
Affinity
any one need coder dm me
ok bro doesnt know it
i need u to code me a full game,no percentage,u get paid with experience ๐
guys, anyone knows how i can change a rigs head ? i've tried everything under the sun i can find online and with gemini's help too and nothing works
why do some people use vs code instead of just scripting in roblox?
yo guys
Guys im not a scripter i just want to ask how do you guys show off your skills and work when you cant just printscreen the code and post on creations?
All of sudden i thought of this
portfolio
That is?
๐ญ
portfolio is a collection of your work to show your skills and what you can do
past work?
oh
then you dont directly show your entire code
you may show like some part of it
like advanced part
Oh i see
yes
yo
YO
do yall think my portfolio has some good stuff
let me see
hey
alr
dang
i don't suggest using discord servers as your portfolio
a majority of people do not want to join a discord server to view your work
use a website instead
yes better idea
@hollow knoll you too
ugghhhhh fuuuuuckk
๐ญ
fiiine i'll make a twitter account
good man
Ok I'm not sure how to exactly explain this, just wondering if anyone is having this following issue
Whenever I'm typing out functions, if, for loop, i tend to press enter after typing out the last part of the line, which will auto complete with the "end or end)" but there are times where this end word will end up in the wrong place
Example:
for i = 1, 10 do
if true then
end end <-- (there are times it will end up here)
my quick fix to it is to ctrl + z then press enter again
i never had this problem
only when im making a game with data stores when it had leaderboard too
horror
w
if i wanted to do something like posture/blockpoints, can i use a table of data or is it better to just use a number value
how do "return end" statements work in functions?
it stops execution of the function
Right but whats the point of this?
because maybe the function has no point in running anymore
or there was an error
function foo()
if not condition then return end
-- code
end
is the same as
function foo()
if condition then
-- code
end
end
makes it nicer to read
hmmm alright that clears it up a bit for me
tell me what you know
I mean if youve truly never touched it before these first 4 days id say prolly not alot tbh. But thats how it was for me
give it like a week it'll all start making more sense i think
As someone whoโs been there done that itโs mainly aptitude
How to open roblox studio, hopefully
simple tween
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = player:WaitForChild("PlayerGui"):WaitForChild("MainUI")
local tweenInfo = TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local function addHover(button)
local originalSize = button.Size
local growSize = UDim2.new(
originalSize.X.Scale * 1.1, 0,
originalSize.Y.Scale * 1.1, 0
)
button.MouseEnter:Connect(function()
TweenService:Create(button, tweenInfo, {Size = growSize}):Play()
end)
button.MouseLeave:Connect(function()
TweenService:Create(button, tweenInfo, {Size = originalSize}):Play()
end)
end
addHover(gui.RollButton)
addHover(gui.ShopButton)
addHover(gui.QuestButton)
Whats the first scripting thing I should learn?
whatever brawldev teaches
Staying in studio for 5mins ๐ญ
Is brawldev the best teacher for scripting?
no idea
Ah ok, itโs always interesting to look at the dev YouTubers cause they teach so differently
I was a devking guy myself
I just forward what Ive seen people say
Yea that makes sense
Itโs important that newer people understand how to properly learn scripting in the modern day
so very helpful of you to do that
Mate youโre reported
For cussing
Good luck ๐
Mate Iโm not worried
anyone experienced in game optimisation in GENERAL not only scripting
I just remembered who you were so I brought it up lol
really detailed
its not hiring
i was gonna ask for help
and neither this isnt programming?
Yeah, itโs hireable
i got no money thenb
Good luck finding someone to optimize
Try using claude
Get claude to use mcp
im not saying anyone to spoon feed me, im asking someone if they ever know the default values of how much should join data, network bandwith be
anyone that knows microprofiler
I doubt anyone is saying anything for free
maybe u right about that
i dont trust ai in general really..
since when i cant find this information online
its gonna pull up random numbers
from unity
Then specify roblox studio
lemme see
If youโre being vague abt something ai is just gonna guess
If youโre being exact then ai will be more helpful
tis still gonna guess it im p sure
Sometimes yeah, if thereโs plenty of open source documentation on optimizations that you need ai will just find that eventually and use it
If itโs some brand new problem then good luck
Ai is not the best at brand new problem solving
glorified google search engine
Literally
this is just practice work learning c++ a little bit more
ofc obstructors are not perfect and any obstructor can be bypassed which is why it's just practice work, it has a bunch of security built into it but man i wish roblox had a good anticheat lol
hi, i recently hired a scripter and i suspect his work is ai. is anyone here good at detecting ai code and could give me some insight?
does he use pairs
are remote events made by the script
and all put in the same folder
Are the comments ai looking
Yeah
ask him to explain the code and framework in a call
tell him to sharescreen while doing so
thanks for your help guys ill do all of these
Hi
hi
this map good for a lobby its wip
It genuinely got manipulated to believe im a scammer
Last night it just started spamming that I was a spammer
because someone told them I was a troller
Lmfao
I wonder who will break itโs prompts first
Idek what the account is, its like it has trigger words but its also partially managed by a person
Can I buy robux with these card details?
Can I buy robux with these card details?
is grace an ai bot?
Can I buy robux with these card details?
Can I buy robux with these card details?
xi
Can I buy robux with these card details?
Your account has been rate limited
50/50
yh because
Porg have you brought it up to mods yet
i think shes a bot bro last time i was in chat wit her in it i couldnt understand what she was saying
Was it English
Yeah but she also blocked me
and took a screenshot of my chats
it was but i think she saying stuff like
@long adder whatโs the temperature in Cleveland, Ohio
i couldnt understand bro
i dont have
Well I dont think mods care given this message is still up #dev-discussion message
can i check chat logs?
Tell me something she said
i dont think her first languge is english
Exactly how she said it
im tryna find
at least 1
No less no more
this ain't a bot are u dumb
We found the handler @weak radish
man shut up you're a bot
Selfbotted accts have been doing this lately but itโs mainly been in dms
Mate
@weak radish
Read bottom to top
Mate paid $20 for a 4L and canโt scrape a jar model
LMAO
what is 4l
I donโt need a 4l
A 4 letter username
tf
theyre gone?
You can get shitty combos like his username for $20 but I would be caught dead before doing that
Who
veer
Theyโre right there
Lmfao
I saw that
Click them
It says apr 4 join date
They blocked you maybe?
is it just claude's characteristics or a bug cuz my claude literally said that this script has an extreme failure and then proceeds to explain so much until at the end it realizes that there was no failure at all and literally said "nevermind"?๐
it was claude sonnet 4.5 though๐ญ
bro why arent u useing 4.6?
i'm a free user bro i'm trying my best to avoid limit lmao
I asked my claude to add something to a script 3 times, it failed every time (It was a really simple task, just using a simple python library) and used up all my tokens
yeah my case was really concerning especially for API users, imagine you're asking a simple question and then it proceeds to explain like 10 paragraph but then it realizes that it only needs to answer in one line and then it said "nevermind" like wtf
Api lets you limit tokens
You set max output tokens
and you manage max input internally
geniunely there is no one less funny than @glossy slate
yeah i mean it would still waste your tokens though when it's literally wasting the 900 from the 1000 max token set explaining the wrong term and in the end saying "nevermind"

Yeah but thats always risks of ai
its unreliable
i mean i've never found this issue in other models like gemini or gpt where the AI corrects itself inside one respond, that's why i asked whether it's "claude's feature" or just a bug
Claude needs more lashings
Can anyone explain RunService to me in layman terms?
Roblox documentation is complicated to understand
it is basically what runs the game as the name suggests
search roblox task scheduler
it will return u the delta time of these events which is the difference between the current time and the last time the event occurred
u can then use this delta time for many things
roblox internally uses it for a lot of things
for example you can use it to move a part by defining a studs per second speed and then multiply it by the delta time and then add that to partโs position
DeltaTime. This video is all about that mysterious variable that oh so many game developers seem to struggle with. How to use DeltaTime correclty? I got the answers and hope this video will help to deepen your understanding about how to make frame rate independent video games.
0:00 - Intro
0:34 - Creating The Illusion of Motion
1:11 - Simple Li...
i use socks as gloves and gloves as socks
Says teddiursa
so you're basically superman
anyone want to make a invicinble cc game?
what's good yall, anyone a beginner/mid-tier scripter?
me im a beginner skidder
hi guys is it still possible to send chat messages from roblox to discord using webhook
is this bad?
probably
why are you trying to do so in the first place
but what to change
its a studio problem.
i think its cuz im using bintToClose and PlayerRemoving after another
but i need it so if game crashes no data gets lost
alr ig
good boy
f
divinebiopsy: f
โFirst ten people to click my bio get FREE robuxโ ahh
Anyone needs help?
Iโm jk
๐๐
Click my bio
Sus
Ofc
Sonu
Yesssssss
how much is normal to know on day 4 of learning to script?
Go ahead
Not a lot
You already asked this earlier bro
It said yes
maybe i did
Just take time no one is chasing you in life
No need rush
@random cedar
67?
Hello friends, any begginner/mid-tier scripters hmu
Ohh thats you
What does hmu mean
hit me up, DM me
What about proffesionals
why would i hit you
๐ญ
You not even begginer bro
?
why
Jokes
yeah im advanced
Well looks like it
would u happen to be looking for a team or nah?
i have more then 4 days of experience but this is the first time i actuallly stick to learning it and i know all of basics and most of the advanced on brawldevs stuff so im doing prettu good i think
sounds so good for 4 days i think
Well i need something to script so sure but im not the best
Mind if I dm?
Sure
guys im not gonna lie
im just typing to get xp so i can send pics
yeah so basically
today ive just been home all day to learn vfx but ima kinda shit at it
ive made a lightning effect with clouds and impact but idk how to make debris using particle emitters cause im so badd at vfx
i also make a small explosion with beam, like a ray type of vfx but its okayyyy
im barley even at level 5
but im gonna get there
ngl good luck with that
yeah
its taking forever to even reach level 4
idk how i even got to 3
i just want to send my vfx so i can get feedbacks
๐ฅ
im cur makin some bg, its hard to do in solo but i want to make a prototype for showcase
and then find someone to continue it
what is it
ohh i thought it meant big game
what anime? or is it corss
cross*
cross, i want to be a bit flexible
i already made an unique destruction system also
so ye
ahh okay okay
so i think if i make the prototype and showcase it ill get some guys bcz its already creates a wow effect
yeah make like a showcase that gets eveerything of the game
could someone give me a scripting challange i think im at a early intermediat level.
like imagine the destruction system where shards are made with triangulation and all are randomized
try raycasting
Try to do mechanics with hard math
That sound good thx.
for example projectiles that have complicated trajectories
raycasting is kinda weird cause my beam follows my cursor but goes thru walls which i dont want it to do
tf u need raycasting for mouse
u can get mouse cords
shh idk
i dont script i just use Claude, just so i can see my vfx as like a ability
broski u can't be THAT potato
bro i havent learned scripting
its literally 3-4 lines and js copy paste with different path
its not even fucking scripter's work
Guys I got the funds but I lowk need to polish my game is called survive disaster for luckyblocks if u interested dm me..
i can leave the vfx functions for VFX maker and in 99% he'll make it
i just learned vfx
You can learn that super quick
i mean the script for vfx not the vfx
oh yeah
This is my simpel Raycast ``` local RunService = game:GetService("RunService")
local originPart = game.Workspace.OriginPart
local direction = Vector3.new(100, 0, 0)
RunService.Heartbeat:Connect(function()
local rayResult = workspace:Raycast(originPart.Position, direction)
if rayResult then
print("Something has hit the ray")
else
print("Nothing has hit the ray")
end
end)
dont really understand heartbeat tough
would like to use it for my APIs
heartbeat is an event that fires every frame.
Oh okey thx
math.random got excluded
๐ฅ
for a combat system should anims be played on the server?
No
Always play your anims on the client as they will reflect to everyone else due to network ownership. Running animations in the server wastes processing power
so they would be playing an animation as soon as they click?
@tame ibex
does anyone know if moving a part to replicatedstorage actually optimizes anything/reduce lag?
I'm pretty sure yeah
I have a gun models folder that's very detailed and when I move the models to rep there's a noticable raise in preformance
alright thanks!
Why is CFrame so confusing and i need it so often):
It's position and rotation
think of it like that
guys
is offset the position?
The first paramter is the position
All I know is store inventory items and shop items in rep
local LookAt = Vector3.zero
CFrame.new(Pos,LookAt)```
The CFrame is positioned at the Pos variable and is looking at lookat
You also have CFrame.LookVector which is one stud towards where the CFrame is looking at
and same thing for CFrame.UpVector and CFrame.RightVector
yeah i will learn it at some point prob that didnt clear things up sadly
I suggest you learn off a video because it's easier to understand when you can see the outcome of the code
Youtube got plenty
yeah
a CFrame is just (Pos.X, Pos.Y, Pos.Z, Rot.X, Rot.Y, Rot.Z) isn't it?
something like that
Yeah but it's vector3's
Not each axis seperated
yeah I know, I just meant conceptually speaking
A CFrame is basically a matrix encoding the rotation of an object and it's position
Did the new roblox upadte mess up getting the players face from humanoid descripton?
btw should the server at least send the current M1 combo index back to the client after receiving the attack input, or is that unnecessary and inefficient?
bro got me
thank you
Yes, the server should handle logic like that so exploiters have a harder time exploiting your game
we can see the black outline
u aint fooling me this time
only the master dictator mbappe can
yep
Boaz= boe-az
@cyan lantern
I think it's like that because from a movie someone was named doeg. And his name was pronounced doe-egg
not like doe
Boe ass
that isnt simpler
I would trust you to say mayonnaise
I mean what is complicated about it? It legit has. vectors that tell you what is up right and front and one additional vector for the position
maineesuh
not complicated but using other concepts like matrices can add complexity when not necessary if the user doesn't already know and understand matrices
but I am to assume that if they already know matrices then they would already understand cframes and how to read the roblox docs
I mean I am not using other concepts, that is what they are actually in memory. I remember when I was first learning about them everyone presented them as some encoding of the orientation of position and rotation. Which worked fine until they started multiplying them and just said this is how we do it with CFrames and never eleborated further
to use matrices as an example is unnecessary if the person doesn't already know what a matrix is
But now that you know that they are matricies and down the line when you do learn some linear algebra you would understand that matrix multiplication is just the final product of what you would get by applying said matricies on one vector
๐
๐ค
yeahh i was always confused why theyre multiplied
its like a 4 x 4 matrix or smthing
how in the world do I scale my ui for all devices
First you can detect which device then you can create the UI based upon that device
There are also some adding that can help with UI
@eternal apex
Roblox GUI Objects can be sized and positioned in either Scale or Offset, represented as {ScaleX, OffsetX}, {ScaleY, OffsetY}.
- Scale allows your objects to appropriately scale to a percentage of the screen dimensions they are being viewed on.
- Offset ensures that the dimensions of the object stay consistent, no matter the size of the screen. This means that they will not adapt or be responsive towards changes in device resolution.
Tutorials
- Devforum Guide
- Scale & Offset explanation and examples, BillboardGUIs, UIGridLayouts + other layouts, Explorer hierarchy
- YouTube Guide
- Scale & Offset explanation and examples, AnchorPoints, Device emulator, UI basics
this will also help https://create.roblox.com/store/asset/1496745047/AutoScale-Lite
or if youre fine with paying for a better version https://create.roblox.com/store/asset/5100886874/AutoScale-Plus?pagePosition=1
hi
hi
Yo, I have a question in CFrames.
`local part = script.Parent
local lookPart = workspace:WaitForChild("LookPart") -- why not just use workspace.LookPart?
local startPos = part.Position
local lookPos = lookPart.Position
local CFrame = CFrame.new(startPos, lookPos) --[[isn't this line wrong? Since like when you use local CFrame = CFrame.new(0, 0, 25) doesn't this change the position?
Then how does local newCFrame = CFrame.new(startPos, lookPos) make the part look toward the LookPart??]]
part.CFrame = newCFrame
`
And why do you do:
part.CFrame = part.CFrame * CFrame.new(25, 0, 0) -- why do you multiply CFrames to conceptually quote'unquote "add CFrames"??
you asked why we use WaitForChild instead of LookPart right?
Yeah that aswell
the best way i can explain that is this: roblox loads the game in pieces. If your script runs the exact second the game starts, LookPart might not have downloaded to the client yet.
does that make sense
Yeahh
@jade crag about your question with CFrames, its behavior changes based on the amount of arguments. If you pass one Vector3 then it only cares about position. if you pass two vector3s then you are using LookAt. The first vector3 sets the position and the second Vector3 is the target
I get it now and also like for kill bricks, we use WaitForChild but why don't we use FindFirstChildOfClass("Humanoid")
Also CFrames arent numbers, they are Matrices. Multiplying them doesnt multiply them, it composes them.
Ok
when you write kill brick, i assume you use a .Touched event. That event gives the hit part. To kill the player you find the humanoid inside the character. FindFirstChild("Humanoid") is typically used. But in my opinion I agree that FindFirstChildOfClass is actually better
I think that FindFirstChildOfClass is better because if the developer renames the Humanoid to something else, it will still find it because its always a humanoid regardless.
Also never use WaitForChild because it pauses the script.
if you use WaitForChild on the kill brick, the script will pause forever if a non-player touches the brick
alright, glad its cleared up.
is someone down to code review my function i created?
alr so i have this script that makes a part look at you at all times and i wanna have multiple but I DONT WANT TO RENAME MULTIPLE AND CHANGE EACH SCRIPTTT
is their a way to like just do multiple with 1 script?
use module to make it fuctional maybe?
so u insert only name of part and then it like copies what u alr did
wdym?
so i just ctrl c ctrl v each one when it has a module??
for example make a function in a module called idk function followModule.FOLLOWME(part)
that has parameters of part and then u can make it functional
well kinda
everything that u have specified must then be unspecified
idk what ur code is looking rn so idk exactly
uhh i can send it
is it long?
not rlly
sure ig but pls not in a message but in a code message
u know how to type code in discord
nah
like ```lua
local anything
Just paste the entire block if it's too long, it should embed as a .txt file
kk
did u ever worked with modules before
Use a module script and require it in all the parts using a script. It makes it more organized and easy to handle, so u can make changes to just the module and every script will have it implemented.
All of a sudden when players join the main game they get automatically kicked from the place? They join legally through the lobby but when they get to the main place it just kicks them
I didn't make any changes to teleport service
Did you implement that kick?
No I have no idea where it's coming from
Okay
Check your plug-ins
What dop I cxheck for
For the presence of scripts
Outside of Roblox's default scripts, there should never be scripts in Workspace
That's weird though, my only plugins are for mcp and character loader
and autoscale lite
I found the scirpt
Make sure you have the official plug-ins, @random cedar. Try disabling them all for now
if not words[2] and words[2] ~= "SIXTH_SPIN_BOT" then
local chair = ServerStorage:WaitForChild("Chairs")[plr.equippedSkin.Value]
if chair then
chair = chair:Clone()
chair.Parent = chairs
chair:PivotTo(map.ChairSpots[i].CFrame)
chair.Name = i
if plr.Character then
if plr.Character.Humanoid then
local hat = ServerStorage.SweetheartHat:Clone()
hat.Parent = plr.Character
chair.Seat:Sit(plr.Character.Humanoid)
table.insert(inGame, plr)
inGame[plr] = i
table.insert(chosenChairs, i)
else
plr:Kick("Something went wrong, please rejoin")
end
else
plr:Kick("Something went wrong, please rejoin")
end
end
task.wait(.1)
end
end
That's not it, but if it's foreign to you, remove it
Use the Find & Replace All to locate it via the kick message
It's the only one with that error message
Ctrl + Shift + F
I'm going to revert to an earlier place version
I know the issue
Characters were being loaded in too late or something like that
how does one go about making animated text? (like multiple letters going up into one frame)
anyone know how obs works?
like the code or how to use it?
it fin i saw tutorial
also i made this after learning some code ๐
why is the recording only quater the screen
and its not global for everyoen!
your display capture is probably set too big
its only per player
how to change
select it > right click > transform > fit to screen
i went screen capture is it right?
yup
im bak
why it doing this
capturing your display capture causes an infinite loop
looks like your screen is taller than your viewport
how to fix
go to settings > video
find "base canvas resolution"
click the dropdown
and see if you can find your screen's size
OMG TYSM ๐
Yay!
alr ๐
I dont use mac recording software cuz it takes up 2 gb per min of recording
I'll start to do this too
Sounds fun
does anyone wanna play hunt showdown or rust with me\
Rest in peace my grandma
She got hit by a bazuka
id pay him -3 robux for this amazing idea
yo
yo
Go back to Rsc
@wanton egret why are you larping
larping
your work is free uncopylocked shit from YouTube
larp
larp
larp
get eem tay
think i perfected my animation module
still requires additional animations like startwalk, startrun, endwalk, endrun, walktorun, runtowalk
why the flashlight from the current cam?
no hate looks actually tuff just wondering
Nice lighting overall 
looks good asf
is it a horror game
this tuff asl
?
?
?
Need a builder
๐ฎ
lool
someone pls lmk why ```local uis = game:GetService("UserInputService")
uis.MouseIcon = "rbxassetid://8399128527"``` doesn't work ๐
meant to change mouse icon but it doesnt
use getmouse
yo nvm chat i got the wrong assetid
@novel finch
Uh if i remember correctly you gotta do get mouse
depricated
Oh it is?
oh
it will be
was the id just wrong then
yeah it was wrong on the website but i got it on the toolbox and it was correct then
yep works ty guys
awesome sauce
yes
because are you setting mouse icon before or after player creation
mb
its fixed
ggs
no it's not that it was just the icon
by my experience i always set the icon when the character loads
it just works
yeah i made sure that happens by having the script in startercharacterscripts
because its cool
yup

oh my god
Wow! This is really cool, Iโve made a Minecraft demo to I believe so
Thanks man
Would you need help with anything?
oh wow
๐
No it's alrifght I just made the sway as a test for a viewmodel
Can we continue to dms
sure
can anyone color this?
chat how do i download an entire copy of my game? as a file
'can anyone do my job for me'
i js cant do it
ikik im joking lol
np
Can anyone tell me where i can learn lua the best?