#code-discussion
1 messages ยท Page 103 of 1
haha same maybe
yeah that, except show everything under your character
increase the size of your explorer window height-wise
it should be at least this big
What do you need it for?
cause im sure there's an Accessory in ur character called "Accessory" and that's why ur code works
but if any other player stepped on the brick, it would not work

i dont care anymore gng ๐
trying to create the super saiyan god
I tested it with other accessory's and you're right it only removed the crown
thought as much
idk why it removed the crown anyways, but there's some changes we can make
give me a few seconds...
BEcause im skilled like that I guess
local sp = script.Parent
sp.Touched:Connect(function(hit)
local noid = hit.Parent:FindFirstChildOfClass("Humanoid")
if noid then
local char = noid.Parent
for _, child in ipairs(char:GetChildren()) do
if child:IsA("Accessory") then
if child.AccessoryType == Enum.AccessoryType.Hat then
child:Destroy()
task.wait(0.2) -- this is for looks gng :heart:
end
end
end
end
end)
hmph
enjoy ๐
im sorry it was hurting me
HAHAHAHHA
its fun helping beginners when you actually knnow what ur doing
oh yeah I forgot about for _, child in ipairs
i remmeber being at this point
does anyone know why when i buy my dev product that gives me 250 sheckles (im tryna make and sell a gag game) it gives me like 1k instead of 250 why? heres my scripts
i just demolished a mc n cheese cup
HELP
and now i get to help others get farther ahead
im eating some toes right now
fries*
@plush zenith help me out i rlly wanna sleep
goodness
but ts bug pmo
what issue u got
let's see...
make it print the schekle ammount in the onserver envent script
please
i was giving the script
hey my friend did a code to equip and unequip a thing when we click on a button and here are the code (the first one is a module call ToolManager and the second one is a localscript in the button and the problem right one is that when we click on the button it equip the thng but when we click a second time it dont unequip. idk if i need to show you more photos
and then show the output
print statements

add em and see what you get
@plush zenith i found the problem, it fires EVERY devproduct i put in it
bro ๐น
i have 3 dev products
lmao
put the same fireclient script in em
and the onserver fired it
HOW DO I SEPERATE EM
I see what you're doing you're looking for the humanoid then looking for the player and looping the player looking for all the hats if they fall under that class
pass a string as a key
wdym
add a second parameter for id (make it custom if u desire)
What I was doing was looking for the humanoid
second paramater showing which product is which
https://gyazo.com/43ad4007a4594ce5ec0107f74447ade0
After an hour, finally got the highlighting correctly, hopefully..
then adding the amount based on that prodoct
for example: event:FireServer(productId, 250)
thats awesome
howd u do that?
easy
custom hotbar!!
I made my own custom inventory.
Well, i just debugged to get it right
niceeeeee
could u js edit the onserverevent script for me
so it can work
im REALLY sleep deprived
pls๐
how does it know the count?
please bro
i gotchu gurt
i have a test and stuff
bruh what am i doing am so bored
๐น you remind me of me
- i have a green fit i wanna wear
schizophrenia simulator
mad drip
dm me calm luh
https://gyazo.com/72a0230917166aa49b11176e49d008cf I have a tools table in every stack, I can get the count by getting the length of the array
12:25 am
bet
๐คฌ
๐ญ
same hahaha
put the code in chat and i'll edit it on my end
then I'll put it here
nice thats cool, whats the {} used for? is it a specific thing in a table?
Oh this is just from my types module where I laid out my structure
๐ฅ
local rs = game:GetService("ReplicatedStorage")
local giveshecklesevent = rs:WaitForChild("GiveSheckles")
giveshecklesevent.OnServerEvent:Connect(function(plr, sheckleamount)
local leaderstats = plr:WaitForChild("leaderstats")
local sheckles = leaderstats:WaitForChild("Sheckles")
sheckles.Value += sheckleamount
print(sheckleamount)
end)
local button = script.Parent
local mps = game:GetService("MarketplaceService")
local plr = game.Players.LocalPlayer
local devproduct = 3310530135 -- change dev product id
local rs = game:GetService("ReplicatedStorage")
local givesheckleevent = rs:WaitForChild("GiveSheckles")
button.Activated:Connect(function()
mps:PromptProductPurchase(plr, devproduct)
end)
mps.PromptProductPurchaseFinished:Connect(function()
local leaderstats = plr:WaitForChild("leaderstats")
local sheckles = leaderstats:WaitForChild("Sheckles")
if leaderstats then
if sheckles then
givesheckleevent:FireServer(250, devproduct) -- amount of sheckles given when bought
end
end
end)
are my scripting skills good
how long you been scripting for?
1 month
took a 3 month quit then came back
lol
pretty good for 1 month!
u done the script?
yay
wanna see what i made?
i made a remake of gag
ez
in 2 days
were gonna need the other script as well
first do the script tho i need help asap
its listed there
@somber vault theres a divider between one onserver and one fireserver
oh
Chat yall think this worthy enough for skill role (my code got all the requirments) ๐


@celest cipher
---------SERVER
local rs = game:GetService("ReplicatedStorage")
local giveshecklesevent = rs:WaitForChild("GiveSheckles")
local sheckleDevProductAmounts = {
[3310530135] = 250
}
giveshecklesevent.OnServerEvent:Connect(function(plr, id)
local leaderstats = plr:WaitForChild("leaderstats")
local sheckles = leaderstats:WaitForChild("Sheckles")
sheckles.Value += sheckleDevProductAmounts[id]
end)
-----------CLIENT
local button = script.Parent
local mps = game:GetService("MarketplaceService")
local plr = game.Players.LocalPlayer
local devproduct = 3310530135 -- change dev product id
local rs = game:GetService("ReplicatedStorage")
local givesheckleevent = rs:WaitForChild("GiveSheckles")
button.Activated:Connect(function()
mps:PromptProductPurchase(plr, devproduct)
end)
mps.PromptProductPurchaseFinished:Connect(function()
local leaderstats = plr:WaitForChild("leaderstats")
local sheckles = leaderstats:WaitForChild("Sheckles")
if leaderstats then
if sheckles then
--[[
only send the id, not the amount. an exploiter can hack their client and send 1000000 to the server
]]
givesheckleevent:FireServer(devproduct)
end
end
end)
explain
why in code people create folders within the code rather than making the folder itself?
what the sigma
wait how does that table work ๐คฏ
i forgot how they work yo
whats ur issue
should i show an example?
so im only sending the ID instead of the amount, cause an exploiter can hack the client and send a big amount to the server
well sometimes you can't go in studio and make a folder inside new players
and then i added a dictionary on the server to organize products and amounts neatly
nvm i got the idea
okay thank you
thats smart
good catch
thanks
man i wanna drop some of my game internals here ngl, its fun talking about this
wdym game internals?
r u making a game
๐ฅถ
hehe yup
same
smash bros in roblox
HAHAHHHA
sorry i'm a bit new, but is getservice essentially finding a part within the game?
to be fair im only one person
but i plan on getting more devs by posting demos online and letting people test
no it finds one of the existing services roblox creates for you, getService just finds one of the existing services
that's one of the best ways to get good devs on your team. showing that you can do well on your own
that's something people don't get
i get it
(im looking at the percentage payment users)
its gonna have rollback netcode EHHAEHEAHAEH
i get it thank you
took 5 months to get the rollback right, but i finally got it
idk if this is a good way to explain it, but:
its a networking solution used mostly in fighting games. both users predict their opponent's inputs
when an input change is detected, the local client rolls the remote client's game state back to the frame where the inputs change, then frames are resimulate usinng the new inputs
theres diff types of services, lets say u open a door that lets u do other things, get service is basically getting a service that has different abilities and such.
for local players = game:GetService("Players") it would give u the ability to do players.playeradded:connect(function()
end
playeradded is apart of players service, its rlly good bc when a player is added/joins the game it will run a function
and this makes it so both clients are synced up again
they got the idea
wat
gulp
getservice tries to find the service, if it doesnt exist it creates it
can i be a tester ๐ฅบ
for finding the service you want to use FindService()
๐ฅฒ
that's a thing?
lemme see it as rn
okay i got the service part but what's does putting it as the value of a variable do?
luau goes crazy
@plush zenith ts line is the error code
its a shortcut
so right now im making like a "good copy" from previous copies of the game so far. ima show you guys
guys what would you recommend someone who is just starting to code to do?
help me aaa
but within his code it's not being used
use copilot
its peak trust
whats that
ai
I could never use that font
its better than gpt
why do you think this happens
it is
idfk im tired af
does anyone know how to lock a player in place like they cant shiftlock to look turn there body or anything
anchor the root
help me
ur trying to basically do lua nil + 10
i did and shiftlock can still move the body
@analog drift so far i got this
everyting you see there is custom
custom character controller, custom animation player
this is needed so i have full control over the game
bro just translated the console stfu 
@plush zenith HELP AAA
sorry but is it being used where they aren't showing it within that picture?
bro please send the code ๐ญ
can i be a builder ๐
@somber vault
im going to telepathically extract the code from your screen
the server one
what u trying to make
sheckles was never verified on the server
Is this normal that you dont spawn on the spawner with your team? I unchecked all of the neutral boxes and changed the team colors
smash bros game in roblox
yikes
I NEED uUUU
๐น
^
haha we gonna see
right now i wanna finish the scripting
1 sec
all i know is u can anchor the player
i can cook on maps while u do that trust
which makes em unable to move
why is bro using promptproductpurchasefinished
that is deprecated and should not be used iirc
use ProcessReceipt
sooo uhhh what do i do
im coding other stuff so im not too worried abt that, hehe
if i was more present here i'd cook with the help
butter's right btw
anchor the whole character
aaaa
if i anchor the whole character will an animation still work on it?
so what's nil?
try some trial and error to see which part determines the rotation, if you want to be more precise
idk
okay
sheckles
line 13
"number and nil" means the second number is nil
no
yup
not necessarily
id is nil?
this font is so ass
recommend me a new one
default font
this one is fat and thick and its nice
did we refrence everything right
None gng
that code is dogshit anyways ๐ญ
ik the table is there so im guessing somehow the id
everything can be handled on the server
or maybe the references are messed up
you can remove the client to server event
who tf are you?
bro help me before 1 am pls
i beg u
no buddy, who tf are you
uh oh
@somber vault
im @civic garnet
@plush zenith lock in i need to go in 10 mins
unfortunately my girlfriend takes up like 100% of my time
๐
add print statements
๐น bro
where tho
print the id on the server
put the print statement above line 13
the one with more d ih cheese in their pubes wins ๐ฅ
please never say this again
no no no print all of the values
damn im lowky good at lua
@plush zenith i forgot to remove the numbers in the fireserver parameters for each script, just did now but it still runs every script like look
i just realized
@plush zenith wake up help mne i beg u
is it possible to prompt a product purcahse on the server?
scripts....?
iirc it is right?
local scripts
button that gives prompt, once bought sends to server of the id
and so on
but ITS SENDING EVERYTHNG
u need different dev products for it to work bludksi
LOOK
there is diff
Is this normal that you dont spawn on the spawner with your team? I unchecked all of the neutral boxes and changed the team colors
yes
this means the 3 local scripts are connected to the same button
hfpohviqwehvopewqnbvwevw
if its sending 3 times, then 3 scripts are each using 1 buttonm
they're in one button each
theres 3 buttons
i think under the hood, roblox adds a UUID to every instance
one for a devproduct that gives 1000, one gives 250, and one gives 5000
BRO HELP ME
PLEASE
he should change the names still but yeah
since when was that normal
can u call ill screenshare in vc
PLEASE HELP ME
forums lil gng
yeah that's a good idea lel
ima call you
ohhh
only thing the forms show is if you're on a team reset and it'll spawn you on that spawner
lmao
๐ฅ
JOIN
so i can't join VCs
I CALLED U IN DMS
zafar i can help
can someone code a microwave that just makes everything explode past 30 seconds if its metallic
Unless this was changed recently im not sure what im doing wrong
-- server
local MarketPlaceService = game:GetService("MarketPlaceService")
local Players = game:GetService("Players")
local SheckleDevProductAmounts = {
[id] = 250
}
local function ProcessReceipt(info)
local userId = info.PlayerId
local productId = info.ProductId
local amount = SheckleDevProductAmounts[productId]
local player = Players:GetPlayerByUserId(userId)
if amount and player then
local leaderstats = player.Leaderstats
local sheckles = leaderstats.Sheckles
sheckles.Value += amount
return Enum.ProductPurchaseDecision.PurchaseGranted
end
return Enum.ProductPurchaseDecision.NotProcessedYet
end
MarketPlaceService.ProcessReceipt = ProcessReceipt
-- client
local MarketPlaceService = game:GetService("MarketPlaceService")
local Button = script.Parent
local DevProduct = 3310530135
local Player = game:GetService("Players").LocalPlayer
Button.Activated:Connect(function()
MarketPlaceService:PromptProductPurchase(Player, DevProduct)
end)``` just do this
or maybe i should make that.... ๐ค
this mf using ai
false
oh yeah
Hey guys, I know a lot about scripting, but don't know what to start with to form a portfolio
Can y'all give me suggestions?
(as long as they don't require models, I do UI designing although, so it can be something related to UI)
just make systems and shit
inventory system, combat system, whatever
I make shit on the daily pal
then add that shit onto your portfolio
the fuck??
I don't know, it's all lost somewhere in the sewage now
Hi ya'll i've been having issues with my Animations loading for me, but no one who play tests the game can see them (either solo testing or team testing) , what am I doing wrong ๐
upload them to a group and use those, also make sure the game's owner is the group
or i think there is a way to make animations public idr
how do i upload them to a group or make the animations public
I already transfered the game from me to my public group
you make the animation, when you upload to roblox just set the owner to a group
this isnt even lua
it is luau
your ragebait does not work on me
0/10 ragebait
local function func(info)
local userId = info.PlayerId
local productId = info.ProductId
print(userId, productId)
end
func("RehizVI", 33345886)
thats literally your code
it doesnt work
๐คฏ
yessirrrr
wrong
@celest cipher enjoy ur sleep ๐ฅด
just plain old wrong
he got the code working boys
0/10 ragebait again
butter cooked
its literally the same thing ๐ฅ
this genius is rambling about not working code
yall two clowns shut the heck up
๐ข
Language 
yay, but one question, @plush zenith @civic garnet how did yall do tht code without events? i was tryna do it with events but i didnt learn anything cuz we didnt do events. can u fill my brain with knowledge pls
I already upload the animations from my account but not from the group how I set the owner to a group, or make the animations public ?
read documentation please
the events happen internally when you use MarketplaceService
slide me it
or js tell me what it means
internal remoteevents and http calls are made
roblox documentation on google
what does that mean
the documentation can explain it better
id explain it if i wasn't doing other stuff rn
yes sir it worked
actually i shouldn't have mentioned http calls since that's not important for this
how do i set owner to group for animations
w walk anim
you dont
player click funny button, roblox's own service (marketplace service) prompts a purchase (dev product), marketplace service fires an event on the server which you have to handle (ProcessReceipt) ahaha funny you get whatever you bought
idk
in order to own the animation, it has to be in ur inventory
bro js tell me what makes the script connect like a event
im trying to find a good way to put it hold up
just reupload them to the group
basically
how do i reupload an animation in the group
holy fucking shit
short temper butter...
when you click purchase, it sends an event to the server. the code for that exists but its stored under the service (we don't see it)
๐
you open roblox studio, open the animation, upload to roblox with group as owner
im sorry im new to this :(
there's a way to see it though i think. there's a setting in roblox
their ragebait is getting to me
@civic garnet see look at what ur doing
going full stackoverflow on the newbies
shame on you!
pluhhh i messed it up
what does the info.productid and bracketed productid mean?
no way that actually works
๐ฅ
because ProcessReceipt passes in a info object
info represents an instance created when the server picks up the remote event when you click purchase
me and @atomic palm are doing this togetehr and have genuinly never done anything before we arnt ragebaiting (i wish we were man)
ohh i had no clue
time to read documentation
its an instance holding the id of the player who purchased, and the id of the dev product
i thought u were just using basic parameters ๐ต
@celest cipher sorry if you arne't getting a good explaination haha
yea lol
are u one of those...
typically you won't get good explainations in hidden devs
linux...?
yes i do use arch linux
people here are either too prideful or arrogant to help you
DIE

im on windows currently though
LEAVE ๐คฌ
i use neovim too
its just a tween
anyways, what was i gonna do again?
no i got the zipline good
right, my game internals
im tyrna do sum else tho
show a clip
๐
silly
i dont understand why people use module scripts for certian movements

could u explain
i need help, for this claim plot handler system my friend made it says this error code on line 66 whats the solution? @plush zenith @civic garnet
HELP ME
idfk go learn how to code
the game broke cuz of this error
"i have a test"
IK GANG
WWWW made it so u can fall off
SEP (Single Entry Point) is easier for me to work with for something like this
what if I deleted all the rigs i used to make the poses for the animation how would I reupload it without having to start all over again?
@plush zenith do u know
ask someone else. but the problem isn't difficult to solve
I know how to publish animations to roblox and set it under group instead of me but I dont know how to reupload a already made animation by me if that makes sense?
when something is nil, lua will include whatever method or property you tried to access in the error message
for example
local thisIsNil = nil
nil.Cheese
"attempted to index nil with 'Cheese'"
@celest cipher so plantF is nil. figure out why
@somber vault jumpscare
diddy blud diddy blud waht
sig nig
idk why my friend left mid scripting
help me
should i use linked list for this signal implementation
how do I reupload these into my group pleas help ๐
load the anims on a rig, then publish em again to roblox and make the owner ur group
hi i'm struggling to understand this, can i have a red circle?
of course
gn yall
i dont have red circles but i have boxes
uhhh yeah totally
(idk what those are)
this makes way more sense idk why you didn't do this in the first place
kind of a reflection on your CLEARLY low iq...
looking like an episode of game theory
silly
(part of larger systerm that loads animations as keyframesequences)
(good for rollback netcode + any player can see animations, as they are now much motors6ds with CFrames)
what's the best way to link buttons to frames?
one approach I've been using is mapping the button to the frame via attribute, so the button would have an attribute like Shop, and then when you click it the script would look for a frame called Shop and open it.
how did you learn how to code like where did you start
After a lot of realizing how stupid weve been, weve finally uploaded it to the group,,,,,,,,, however its still not working 

i need a calm luh coding buddy that we just work on stupid projects together until we randomly pop off โค๏ธ
the anims are only client sided even w the animations created and owned by group
just needa add anim now
whyd i reply
this fire tho
๐ฅ
bettt
model is player.Character
hahahha
i wanted to do this in the past
even had this turned on and still doesnt show for others
pluhh

Is there an error in the output?
What a weird behavior, huh
It should destroy
Is it a LocalScript or Script? And where is it located?
That's it, then
Touched is not a Model event
It's a BasePart (Part, Mesh, etc) event
Try applying the event on all parts of the model
How would you go about linking a jump animation to jump
Or a run animation to run etc etc
Like so:
local function destroyTouchedPart (otherPart: BasePart)
local character = otherPart.Parent
if not character then return end
local humanoid = character:FindFirstChild("Humanoid")
if not humanoid then return end
-- If you want to destroy, uncomment the line below
-- character:Destroy()
-- If you want to kill it, uncomment the line below
-- humanoid:TakeDamage(humanoid.MaxHealth)
end
for _, part in edp:GetDescendants() do
if not part:IsA("BasePart") then continue end
part.Touched:Connect(destroyTouchedPart)
end
Can I take a look on script's parent?
In the explorer
Did you make something like this
Or this
Where is the script located?
It's like how you did here
Right click on the script tab and then click on "Show in explorer" or something like it
Inside the script
On it's content
Change edp for script.Parent and it should work
?
Just loop through the players and use the Hit:IsDescendantOf(Player.Charatcer)
You literally have touched events there
Wait
My brain
Are you using these events for NPCs or players
What Iโd do:
Actually this code can also affect players
If your NPCs are in a folder itโd be much easier
Good idea
You can easily call :IsDescendantOf(workspace.YourFolderName)
I also wouldnโt define a character variable if you donโt know if it was an NPC that touched you. Could be anything
It might be confusing for you in the long run
Someone wrote you this code?
Just check the name instead of the instance type
You donโt need to check if hit.parent is. If hit is, then hit.parent is eitherway
Use Debris
hit:Debris(condition, number)
hit
the number is basically how much seconds it waiting for it to hit again
oh
when did you start scripting
condition.Touched:Connect(function(condition))
I started 5 days ago as of today
but your gonna have to declare and variable to it and write a local function under it
what
you use conditions to only do certain things if it's true or false
how is the first arg a condition its a instance ๐ญ
๐
And apparently when true is hit it returns itself
this the smoothest pathfinding ive ever made it switches bewtween 2 modes when theres obstacles and when theres not
๐ฅ ๐
???
which is better
just use node graphs ๐ญ
why not lmao
this way better
ohh aight mb
nah from what ik you make a function declare that function then to know if you touch it i put that and it work for me
???
Why would you touch the function
It's Instance.Touched:Connect(function(hit)
i can just show you what im talking about gimma a sec
๐ฅ
But if ur right Thank you for explaining
Does anyone know how to code 2 payer obby system?
Like with a custom model to connect each one another
wat dis? ๐ฅด
local rat = workspace:WaitForChild("Rats"):FindFirstChild(plr.Name)
if rat then
for _, part in ipairs(rat:GetDescendants()) do
if part:IsA("BasePart") then
part.Transparency = 1
print(part.Name, "Transparency: ", part.Transparency)
end
end
end
guys this prints that it chaneged the transparency of each part but when i check the rats parts there transparency aint chanegdplease help im so confused
That's because it's in local script
Then why u used wait for child
hello guys i have a proplem which i cant solve the proplem is
i made a script that assign players to diffrent teams when i server test it the players get random teams and each one sees the other in anther team btw i made the autoassignable false
oh
ok ill remove that
but doesnt fix the problem
Ye it won't
so?
they usually have a set path
hey
send the script please
for No, player in pairs(Players) do
ChangeTeam(player)
print(No.. "player")
player.PlayerGui.Timer.Enabled = false
local humanoid = player.Character and player.Character:FindFirstChild("Humanoid")
local rootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
local spawnLocation = MapModel:FindFirstChild(tostring(No))
if humanoid and rootPart and spawnLocation then
humanoid.JumpPower = 0
humanoid.WalkSpeed = 0
rootPart.CFrame = spawnLocation.CFrame
end
end
this is part 1
and this is part 2
if Noplayers >= MinPlayers then
print("c")
for count = Countdown, 0, -1 do
Timer:FireAllClients(count)
task.wait(1)
print(count)
if count == 0 then
print("Starting game...")
local ChosenMapName = randomMap()
if ChosenMapName then
StartGame(ChosenMapName)
AssignRoles()
wait(2)
blackForAll("Murderer")
wait(2)
blackForAll("Doctor")
wait(2)
blackForAll("Detective")
KeepRun = false
end
end
end
else
Timer:FireAllClients(NotEnough)
end
forgot 1 more
isnt this a loop? maybe use break
local function ChangeTeam(Player)
local Team = Teams.Players
Player.Team = Team
end
but i want all players to get teamed
yes once hey all get teamewd use break
so it stops teh code from keep giving teams
cause its a loop
didnt work :/
use #code-help im just abeginner scripter
i cleaned up the code a bit so i should be able to add collision soon
why is ur viewport so small ๐ญ
its average 
soft body sim?
yeah it is but i am planning on adding rigid body's and more. if that works out i may make a game similar to Bad Piggies
That's magnifique
is this a good view port size
What you gonna do that whole middle
that's a huge size bro absolutely massive
I can't even read the settings ๐ญ๐
excouiz moure?
where are the mods
usely coding or working on plugin guis
Chatgpt, Claude, Gemini and more
wait why did t9 fix it for kids๐ญ
t9 did me dirty๐
Tf is t9 a war plane?
Please fix you're grammar๐ฅ
Hi guy
higuy
what?
ใขใคในใฏใชใ โ โ โ
@marsh kelp yes i have
I was gonna send it in #code-help
is it harder to setup than unity? programming wise
saw someone on YouTube taking a long time just to setup his scripts
roblox is way easy atleast to me but then again UE uses blueprints which are petty easy to use
but roblox code is much more easy to learn
oh unity
:D sorry I confused you
oh mb
I used Unity for a few months before coming to Roblox .. but didn't use UE. that's why I asked
UE is much easyer for new coders due to blueprints > Unity uses C# which is harder but lil bit more logical to me
but isn't blueprints a bit limited*** for more complex projects?
or visual scripting in general
Anybody wants to try out my game with me?
kinda you can do a ton with them, but also unity dose visual scripting but its not the best
in UE you can use c++ to code too but it requires alot more setup
wrong gif lol
Yeb that's what I was making sure of, if it was true or not
I guess I'll have to try UE blueprints in the future ( only heard good things about it compared to unity visual scripting )
ye just try it and if you need help you can ask in the unreal engine discord server
there petty nice at least in vc
Oh
what is it
I don't know why, but I have a bad impression about asking for help in discord servers
some are good
but most don't help or your msg go away with the chat in few seconds
the voice chats are full of helpers etc and i think they have helper text chats etc
more professionals than here? ๐ .. Ty I'll join one rn and take a look
๐ฅน
hello
is that real?
Yeb
see
thats usefull
yh
only downside one of my plugins i made is gonna be broken
what you made
do you have any use cases in mind?
the only thing I can think about is to stop using parts as Position holder
sounds based location without using parts or easyier ropes etc
should deepwoken have used ecs if not why
Aha
what
ima go update my rbx studio which i have not done in over week and a half
entity component system
does this look fun?
just put ur entire game under a actor most exploiters are skids so they wont understand whats going on
when they see no remotes in their remote spy
what like namecall hooks?
elaborate on remote tampering, do u mean like arg modification and remote interception?
yeah so all u need to do is add namecall hooking detection
just make a "Trap" table with a custom __tostring metamethod with basic env checks and then do something to trigger the tostring metamethod
like game:FindFirstChild(Trap)
or sum
aight
read the docs bro
no ๐ญ
๐
The wall run game mechanic functions well.
I appreciate how the script detects when the user is near a wall, and when to begin the animation cycle. ๐
With more attention to detail & perseverance, you could make a fully-fledged parkour game out of this.
how to fix this issue related to mesh parts while using the marching cubes algorithm in roblox with editbale meshes
guys i think i made a rarity system, but i looked up and each of these colors have 33,3% chance of showing, how can i make it so common shows like 50% of the time, rare shows 35% of time and legendary shows 15% of time (just started learning scripting via brawldev vids)
make it math.random from 1 to 100, if 1 to 15 its legendary, if from 16 to 50 its rare and common is 51 to 100
also whats the point of having num1 as input if you're not using it
how can i fix the image going up like this when i make the image label rotate
wait with editable meshes, can i uses meshes for procedural terrain generation?
yes
Does anyone have a good tutorial on youtube to make a battlegrounds combat system with blocking, dashes and stuff
ive made a game, can anyone tell me whats wrong and why it isnt getting any retention or engagement?
send me the link man
local ctx={}
return {
Context=ctx,
}
how to access the Context table like this:
return {
Context={},
DoSomething=function()
print(Context) --HOW DO I GET THE CONTEXT WITHOUT USING A REF VARIABLE
end,
}
dms
what?
why are you returning that table?
yall are fake devs if you don't make your next Roblox game using C ๐ https://github.com/roblox-compilers/roblox-c
well it doesn't even have access to game Datamodel but that's fine 
guys i want to make a model (Npc) that chases the player but it flies like bees or anything that flies, do i use MoveTo() or AlignPosition?
anyone know?
i haven't found any tutorials/series on creating the entire system (block + dashes + other things), but if you look for each of them like blocking system, dash system, you should find it easy
Yeah but I cant find ways to add the stuff in anothers script
what do you mean by that?
like someone creates an m1 system which is missing some stuff like m1 reset time, stun and smth else. If I watch another person telling how to add these things.. I dont know where to add the line of code to in the other persons script
idk if u understand
im just like 2 months into scripting
oh, i think as long as you know what does the script in the tutorial do you'd know what to add
makes my brain go boom
well i shouldn't give you an advice though since i still mostly code with gpt lol, but even with gpt you'll still need to know the code since 99% of the time you'll still need to modify it
well i suggest you look on how do people add stun effect to their combat system, you might as well learn from it
Just use wasynth little bro ๐ญ ๐ that project doesn't seem even a 10% complete
and one more @hard cedar , you should look into the devforum
ok
just looked into it and some dude literally open sourced his game with combat system lol
dangg
can you send
How long did it take some of you guys to code
dms
local Facing = currentCameraCFrame.LookVector
local actualFacing = Vector3.new(Facing.X, 0, Facing.Z)
local Vector = (workspace.Target.Position - Character.HumanoidRootPart.Position).unit
local actualVector = Vector3.new(Vector.X, 0, Vector.Z)
local Angle = math.acos(actualFacing:Dot(actualVector))
``` is there an easier way to turn the vectors into the same horizontal plane or is this method already optimal
nvm this doesnt work
why does my vector still have a y coord
ty
How do Grow a Garden devs release their game updates without shutdowning the game?
Also, recently I've heard that ProfileService Module is better then Roblox's DataStoreService. Why is that?
what's the best way to learn advanced Lua lika. oop frameworks metatables and stuff . I only know the basic
Watch the videos that specify on this themes
Read DevForum posts
Read Documentation
It's easier to find someone to teach you
ight
I struggle to read to understand
https://gyazo.com/6e6c2f0bb2d633bed3b5055fd0429a86 My flowchart for my inventory system
I think videos will do better for me
Use AI to make it more simple for you
Videos wont help u in the long run
You can ask AI any questions, you know
You just have to write
oh alright thx
Learn the basics then just start writing
OOP isn't as hard as you think it is
really
Yes
No matter how small the task is, as long youre consistent and practice you will get better
OOP is a very basic concept
When I started scripting, for i,v in pairs loops were very hard to me
Until I just understood them
cool I just finished exams. I'll learn all this during this holiday thx again
There are other concepts surrounding it aswell such as encapsulation
ooh
I am kind of sad about that I do things in roblox studio for like 4 years now
If you find a good beginner java book you can learn it, atleast thats how I learneed OOP
And I still don't have any finished games
If someone teaches you in person or a vc it'll be easier so you can ask questions
relatable. I abandon projects all the time
I just have a lack of motivation and patience
oh I see
I could do that
But I am not a native english speaker
I can write but it's hard for me to talk
yeah I got that ultimate guide to scripting book
I'll see
Recently, I've made an Obby game and I started being very motivated about it... but the whole motivation went away like a day after
I want an Idea for game that will be interesting for me and will stick to me, until I finish it
I'm making an interactive emotional narrative RPG with physics related to aerospace
That's... sort of complicated, isn't it?
I know but I'm doing it haha
Is there any good professional, english speaking Scripter in here that can call in vc and talk? DM ME TO BE APART OF OUR TEAM
RPGs are definitely not for people that dont know oop
That's why we learn
Damn, even after all these years I've worked in Studio - I still don't understand the CFrames and Graphic Functions (bezier curves, for example)
I know how to do opp and I dont even want to work on a rpg way too much coding
Better curves are easy tbh it makes sense after you know it
Bezier*
Im on phone
The formulas, I just can't understand them
And I can't understand the whole thing because I can't understand the formula
You can write them by yourself though right?
I have the time. 2 years is enough to make this project right
No, actually
I don't understand them
I made a test place, but I just copied script to research it
2 year project yeah if you're that type of person to keep going
What script?
It's a formula
It should only be one line
Oh
I've been thinking about making this game since 2020. the drive is a lot to just wear off. but yeah I hope to inspire
I have this one
What project?
Yeah that's the one for 3 points
some idea I have. but I don't really wanna share it, I prefer gatekeeping this
Here is it on the Wikipedia
It's more understable when it's written more clearly
I'll try to understand it
https://pastebin.com/46HKys8Z
guys will this pass me the application?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
As long as it works it should, though u may wanna add some stuff to make it seem more complex
The app readers are suckers for complexity
bro i got rejected NINE TIMES
๐
Using a module that ain't yours dont look good on you
make it work on strict mode
and the common comment is "please add comments to explain your code
A green username is not worth allat bro ๐ญ
its to post in #scripter-hirable
Guys, how he made this?
Probably tweens
IK bones
man i was calling the wrong variable
When I didn't know anything about vectors, instead of finding a vector between player and mouse position to launch a projectile - I just used the mouse position for the projectile direction
I couldn't understand why wasn't it working properly
if i want to get into scripting, is knowledge of advanced maths needed?
like for physics and shit
Yes, it's needed, but for advanced stuff
im confused i wrote a code and it only works 1 time. i have a part that i want to go transparent on contact and come back after like 4 second. but if i touch it again after it came back it wont go transparent again
can someone eplain me why that is i cant find a solution
local GoneContact = workspace:WaitForChild("DisappearOnContact")
local isTouched = false
local function dissapearOnContact()
if not isTouched then
isTouched = true
for count = 1, 10 do
GoneContact.Transparency = count/10
task.wait(0.1)
GoneContact.Transparency = 1
end
GoneContact.CanCollide = false
task.wait(1)
GoneContact.CanCollide = true
GoneContact.Transparency = 0
end
end
GoneContact.Touched:Connect(dissapearOnContact)
did i do something wrong
you didnt change isTouched back to false
``local GoneContact = workspace:WaitForChild("DisappearOnContact")
local isTouched = false
local function dissapearOnContact()
if not isTouched then
isTouched = true
for count = 1, 10 do
GoneContact.Transparency = count/10
task.wait(0.1)
GoneContact.Transparency = 1
end
GoneContact.CanCollide = false
task.wait(1)
GoneContact.CanCollide = true
GoneContact.Transparency = 0
isTouched = false
end
end``
try this
Did it work?
sry was gone for a second
Also, if this is a server script, you don't have to use WaitForChild for workspace objects
someone said wait for child is safer so i know that the part loaded
ah yes now it works
Nothing bad
That's good to hear
Yes
oka
If you don't do it, it aborts on this line
Also, you could use TweenService to change transparency
oh right bc the 1. thing local isTOuched = false is behind the function
yes
If you want, I can help you with implementing TweenService into your script
It's not hard at all
mannn why is my dot product not working
i dont think i understand vectors enough to find the issue
hmmmmmmm
Can you send the script? I'll try to help you
But I don't promise I'll solve it
I understand vectors but not fully
hold on gimme a sec
Ok
local facingUVect = currentCameraCFrame.LookVector
local actualFacing = Vector3.new(facingUVect.X, 0, facingUVect.Z)
local objVector = (workspace.Target.Position - Character.HumanoidRootPart.Position).unit
local actualVector = Vector3.new(objVector.X, 0, objVector.Z)
local angle = math.acos(actualFacing:Dot(actualVector))
``` ta da
facing u vect is the red line, obj vect is the green line
the "actual" variables resolve both vectors into the same horizontal plane
Maybe, it is because you didn't unit the first Vector?
as u can see the angle (degrees) becomes 120 when it should be 180
but still shows 90 for 90
Hm...
the lookvector should alr be in a unit vector i think
Oh, ye
im assuming it is to do with my equation
Don't you have to do, like
Print both vectors magnitude and show me the output, please
happens
Any scripters willing to fix some bugs and create a few things for % dm me
currentCameraCFrame? is that what u mistyped?
I think it's the part cframe
Oh, you didn't mean that
Okay
ta da
Their magnitude now, please
What are you trying to do with this code
nah i mistyped the variable in the print statement :((((
get the angle between red and green line (facing vector and object vector)
What is the vectors magnitude?