#code-discussion
1 messages · Page 41 of 1
Yea using it to learn
But u know a human mentor is good who can just tell if the topics I learn is good or should I learn something else
Do u know scripting?
What’s scripting
Lua?
Being serious tho: kind of
Lua
U mean luau right?
Yes which is used to code in Roblox studio
I know a decent bit
Am learning it this time
YouTube and studio docs will take u a long way
Long way?
Like is it still good to learn?
I don't wanna invest much time like months
Docs literally have code samples
With videos, you could start making some pretty cool stuff in like a week
Yea
is there any way possible to have emojis as dictionary keys?
Why tho lol
but it doesn't convert
Ok
here's what i did
i have admin commands right? i have a table full of the commands, with each key being a string representing the name of the command, and the value being the function that the command is associated with. For example:
local commands = {
["fly"] = function()
end()
}
then I've got a player.Chatted function, then i get the message player chatted and do commandsmessage
but when i have something like this:
local commands = {
["(I can't paste emojis in discord's code embed, pretend this is an emoji"] = function()
end()
}
and i chat that same emoji
doesn't call the command
Why though
Just do :emojiname:
Try printing commands[emoji]
If it doesn't work then u can't use emojis as keys
If you want smth cool to happen when u send an emoji you can make a fake message that would fake players message
I dont see any reason to be using emojis as keys for dictionary like wtf
i want players to be able to chat a certain emoji to trigger a certain command
that's it broski
Yeah try debugging, print chattedmessage, commands[chattedmessage], chattedmessage = emoji
already tried all that
but i think i have have found a way around it with unicode escape sequences
Yay
a
"i want to do something but not spend a lot of time with it"
do you have any experience coding
programming
i was gonna say
you can convert the emojis to unicode
and they should match
to which language
By that I meant like if I learnt it but have no good output from it
It is same to python
But logic of every language is same
So if u know one others easy to learn
Python suxs!!
☠️💀
yes
also yes

anything but python
its good for noobs
its extremely slow tho
Yup
transpiled language
Yes intrepeter
But still python has a lot of lib
Java is good
Python good for machine learning projects
Which I dont get, because most had to be written by other people
So in order to become popular it had tons of libraries
But in order to get tons of libraries it had to get popular
,uh
its good for gamdev in general tbh (in the case of user friendliness)
or embedding into any app for users to make stuff.
fake
Roblox uses luau don't diss lua or the entire love2d platform will get to you
Do you guys use script injectors to test your game for exploits?
Oh shit
Lua is ❤️
Do you code anticheats as well in your games?
I'm in the process of creating one.
damn ok
Wouldn't that require you to create your own like streaming and replication systems and not use Roblox one or...
Nah.
Most of them are just a bunch of checks, and most of the time all you need is to just not trust the client's data that is passed through a RemoteEvent.
Hmm ok ok
there is no need to make a client based anticheat if you know how to secure the server
Where did you even read that.
i didn't read it i know it
why are you trusting the client for anything
I never mentioned anything about client checks.
🤷♂️ thats the way most people go though
what type of checks are you adding to the server
and for what kind of a game
What you just said tells me you don't read messages of other people fully.
what type of checks are you adding to the server
and for what kind of a game
Basically you should check anything the client passes through your remote events.
I wouldn't call this an "anti-cheat" 😂
Just common sense to check things
No, but they do prevent what could've been easy exploits 😉
any body know how to code smth like this ? https://www.youtube.com/shorts/e1Yc_qy7FoE
What's the best way to scale a humanoid
scale as in.. model size or
dms
nvm got it
Oh, I actually have a module for this somewhere
Does multi threading work with multiple scripts or can it be done with one script only?
nvm scaleto works
On rigs?
humanoids
Humanoids dont have size
did you try pasting the texture id onto another part to see that it works?
oh you mean like the face the player has on?
yesss
try cloning it ,put it on a part and see if that works
wait check the humanoid description
did you check it?
Looking for devs for a challange vid
WHO WANTS A JOB
IM PAYING 50$ an hour
only for a few hours tho lol
its to do simpel stuff on my game
( UI related ) and other stuff
Why do you need the face
is parallel scripting good for TD games
i hate ppl who just ask why
cuz i need it
wh oicares why bro
Because if you need it for Reason A then there is a different solution than what your doing
It’s so I can help yoy….
I personally don’t know how to get the face decal but I could get you the face avatar like a headshot of it
i need it so i can displa ythe literal face texture of the head of the player
on my player cube
Okay then idk
Can Y'all Help Me
what should i code that will look good in a portfolio
Go take a look there, pick one of the tasks they want done, do it yourself then add it to your portfolio
hi guysss
heyy so atm i got a script that uses moveto to move the player to specific parts. whilst doing that, i play an animation but the standard rblx swimming animations overide/mix with my current animation. is there any way to stop roblox animations for a bit
cappuchino yappuchino in argentino selling for usd tiny 1 or more supported on chrome edge safari firefox brave popera all good browsers dm me mayb
do u pay in usd
can do rbx only as of now, depends if we are talking abt the future
No, as a qualified pentester I only accept USD payment
I need the usd to pay for my bpd treatment 😔
How would I make a daily reward system
Like how would I count 24 hours when the player isn’t there
yes i can
ight dm me ig
use data stores, storing the claim times
How? Make an int value and save it?
How would I check if 24 hours passed is my question
store a timestamp when they claim it and check against the current time when they rejoin / while theyre playing
How do I check against the current time
this basically
I could do the rest but like idk how to check the current time
local ts = os.time()
task.wait(5)
print(os.time() - ts) -- ~5
What does is.time() return
So to check if it’s been 24 hours when the claim it take a variable of os.time then when they click it again see if that time - ostime = 24
Hours
if they are playing you would have to run a constant loop right to check like every minute or so to check for the timestamps
yea
save the timestamp of when they claim it
you can see how long ago that was in seconds by doing (os.time() - claimtime)
so if thst number is >= 24*60*60 then its been 24 hours
or just use 86400 🤓
getting crazy with these optimizations now
lmao
Someone have clothing favorite bot?
@hearty sparrow @spring rivet dont do it hes gonan get ur acc terminated
urgent issue , this guys offering tests to get ur acc banned
i have all the proof
I joined his game and then saw this and left
Use the marketplace #marketplace-info
good job
please take care of htis
what proof
dms
what exactly do you mean by getting your account banned?
can u come dms ill send u eveyrhging
wgat
sure thing
my acc got terminated
should I use a module like ProfileStore or just make my own data saving
do u have the game link
no he just invited me
well now im trying to contact roblox support maybe i can save it
dms
are you fr??? 💀
yes
wtf
ye..
why is that the first thing i see here
idk man
I tried contacting the roblox support to see if i can get it back in some days
that's wild
can you show some of it, like the reason
i might js get banned for sending it here 💀
ima hold off till i get unbnaned
you can dm
basically theres a copy button and a submit box
you click copy, then paste and click submit, and you get terminated for violating child exploitation rules because he had you submit text that says some wild stuff
Anyone know how to make a stall and then there’s like 4 models, a proximity prompt where you click on it and then press buy, suppose you start with 100 coins, a salad is 10. It would do the maths, 100-10 =90, 90 coins will remain in your balance.
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
local coins = leaderstats:FindFirstChild("Coins")
if coins then
coins.Value = coins.Value - 10
end
end
Thank you!
assuming the coins are in a leaderstat which they prob are
any servers where people can do free scripting commisions
for experience and whatnot
?
well all i can do now is wait ig
@stuck radish
its this dude
@pseudo linden got banned
🔥
thanks for the love and the support i appreciate it
i have another painting
do u like it

Wild that it’s taking this long for them to do something lol
wym
You had to be there
dw
the guy got banned
been dealt with
ay i made an appeal u think ima get unbanned
or do i needa contact them some other way
roblox should unban for this
Good, it’s a really clever way to get people termed tbh
ye that guy has been doing it for years
Its relies on common sense which not everyone approaches Roblox with
and extremely immoral
Yeah for sure
unfortunately
some people just can't be regular moral human beings
Skids
yeah
he got some people with like 600k rap gone
i asked him why and he said hes jew
and he spam hard r lmao
sure
dms
Is it possible to call a function without running it?
Assign a variable name to it
can anybody help me with t
why am even trying
Dm FOR suprise [ispaslly] if u are a coder i spelled that wrong
dms
I'll see if it works. Thx
which lvl of code are datastores
i having problem with glue mechanic in my game its delaying anybody know why
Are you anchoring on the server?
i got a video check dms
Why don't you send it here
cant
It's a networking issue
One players owns the assembly and has smooth physics
is there a soulution
the other has shit delay having to wait for the client and then the server to see any updates
Accept some delay for both players and run it on the server
A middleground
hmm cant i make both players player 1?
That's why other Roblox obbies have you either "turn off" or lock in place for the other player to work
Unless you make custom physics and replication
no
what u talking about
I made a function which creates a clone part. I just needed the name of the part, not to clone it everytime I call the function. With help from tman, I figured I just had to return two values instead of one (part and part.name)
sadly so no solutin
thank u for the help
He's got two rope like arms and players join using them
i regret asking this sound complex
il lstop acting like a pro
It's just Roblox physics 🥀
It's one of those obbies where the players are tied with eachother
like those yee yee dating undercover games
what do u mean its og 
I mean.. A couple game is a better term
Part already includes the name though
I am confused on what you are doing?
ok ill act lovely
yes
a couple term
Couple 😻
Anywhere I could show you the script without taking up half the chat?
Anyone help?
Position is a Vector3
Yeah, probably because the position isn't .6 0 .5 and a useless third argument
what is settings
show declaration
u using vector3 for uis?
its Udim2
^
OHH
i think I tried udim2
but didn't work
lemme try again
yeah doesn't work
you can also just type instance.propertyname and look at the datatype its supposed to be
also why r u using an if statement
why r u checking the position
well If it at position as it supposed to be then to play tween
but it will always be at its set position unless you change it
and if you change it you can just run that code afterwards
or just create the connections when the script starts
You can make both clients glue eachother using a Constraint made by a LocalScript rather than the server gluing (and telling a specific client to simulate it)
depending on what you're trying to do
@static coral fixed
thanks for help
by any chance do you know like how do I do this if button is clicked once to open Frame and if it's clicked again to close
👍
team what is the best resource to learn scripting
u can make a boolean flag
How..
Youtube and Roblox Website
for example
Enabled = false
clicked event
if Enabled then
code
else
code
is indenting important in lua
roblox docs and good youtubers and experimentation/practice
well whitespace doesnt matter so no not really
yeah im looking forward to project based learning
Guys how to get better at scripting like what do I have to learn
scripting
i can send you link to message of mine with good youtubers if u want
Yeah I mean I still need little more training I guess
Bruh
ok 1 sec
@static coral would this work?
There trading system i find hard to do, but other simple things is easy for me
nvm I set it to false and haven't made change to be true
Too bad!
what even makes enabled true
🙂
@deep agate i noticed mistake fixing it ;c
ty
the if needs to be inside of the event
Another indian
if enabled == false needs to be in the function passed into MouseButton1Click
What is a good signal module to use? I am looking at red currently but are there other popular alternatives?
What does “While true do
Instance.new(‘Part’)
End” do, I got the general idea that it’s bad.
Nvm I see now
It creates a new part infinitely
It will just crash your studio
Good signal
That's the name of it
How long will it take to master lua?
‘Master’ is super broad; maybe impossible depending on definition
You can learn lua comfortably in a few days though
Can I start taking commissions in a few days?
That will take longer then
And it depends on you
Estimation?
Mm
How long do you think it would take for me to start making minimum wage as a scripter?
@hasty mesa
A month or so
It's that easy?
No lol
To start doing coms yeah
In a month you might find people to pay you like 100-200 robux per script
I mean to start earning a living, ie minimum wage.
Oh
80% of commissions are for 1,000 Robux or less
And the ones that actually pay well filter out most people
You have to build connections
The best talent gets the highest paying commissions
Would you spend your money on someone with a months experience or someone with years
Years
Yeah no brainer
I mean time isn't a issue, whoever is better.
Lower risk, less monitoring and back and forth
Alr
Experience is a gift. It saves everyone time. Knowing what not to do because it sucks or doesn’t work is highly valuable.
Look through the for hire channel for scripters and look at their rates and portfolios
People charging a living wage can usually crank out complex systems, know a lot of the apis and what works and doesn’t work. Time is mastery in a lot of regards.
Good luck
Ty
local Touch = script.Parent
game.Workspace.Block.Touched:Connect(function(otherPart)
if Touch.Touched == "humanoid" then
game.Workspace.Baseplate.BrickColor = BrickColor.new("Teal")
end
end)
Why this not work
i hate this it always happen without a reason my internet is fine
I'm trying to add VFX to my dash and its 2 particle emitters but I can't properly manage the VFX being added/removed, do you guys have any suggestions for doing that?
when player send another player a req to link there hands they stick together like holding hands then one player moves smoothly but the other just lives in hell
@jolly harbor ican send a vid if u want to
I am here to share sacred wisdom. local TS = game.TweenService 🥀
Delete TweenService
i love ts
^L user
can yall help me ith glue
U use it to stick things together
read this ma man
tbh
i might take 300
for an entire system
but htat just me
deadass sat here thinking abt whether to use remote functions or to get the info of attacks and moves from the client
can anybody give me a brief explaining on how to make Ragdoll Movement that is similar to like RAGDOLL UNIVERSE?
are vectors important
Yes
How to know which exatly part activated function? I connect new brand part to the function, but i have 5 same parts, can i get from function which part it was?
just change the names of them and use the one you want to use
i can`t do this
wdym? just use the explorer
because spawning happens always, when i use function it`s not know who it was
wdym?
when Die function activated, it`s duz not which part it was
Be glad you were not in #code-help 5 min ago guys
oh. you're talking about the player's character. well it doesnt need to. it can be any part within the character. you're just trying to get the humanoid. if you want to know, just check the name of the part that's passed into the function
nono
I saying about which part is killing humanoid, because it needs to play unique sound
At the moment of the player's death, a certain sound should be played inside the ball.
what ball?
what i create in spawnpart
and you have specific sounds for each ball?
and you want to play a unique sound with each ball when you die?
i think better insert sounds in player
i have 5 types, and for each type unique sound
you can either have the sounds parented in each ball, or in a table. considering it seems you're parts are named with numbers (im assuming 1 - 5), a table would be better as you can just index the table with the part's name and have that key storing the sound to the ball you want
third party websites
any u recommend
no. i dont have any in mind
its duz not really matter, because i can`t know which ball killed player. For context, ball with same type can be exists
kk, thx for help
you're welcome
steal one

oh that portfolio
pro tip dont use wix
Step. 1: steal a portfolio
Step. 2: rename it
Step. 3: use it to get fame
Step. 4 flex ur roblox fame at a bar and rizz up a fine huzz
Step. 5: get banned for using a fake portfolio and lose everything in the divorce
how do I go through all the parts in a folder
getchildren
How to make a hiring post
For loop
getdescendents
I wanna make a coin folder with a bunch of coin spheres and I dont know how to assign the varriable
so I can do a touched:Connect
thing
If u making coins use tags and collections service
is this the method for anything related to picking up coins and increasing point in leaderboard
It will let to do things to multiple objects easily i already got a exact script for it that I can give u but I can't get on pc rn
oh alr ty
anyone want to hire a 5 year scripter know mostly everyting?
my system works alot faster. however...
Use vector instead of vector3 and it will 3x the speed
ill do some research into that but is it vector.new or vector.create that you are referring to?
So, I wanna know how hair brained I am with an idea.
See this whiteboard, it's editable, I wanna be able to sync it between player and studio
so that if I type something in-game it shows up in studio and vise versa.
am I crazy?
so you want to be able to edit that board in studio and it will appear in the regular game client? do you mean instantly or when the game is updated, because i don't think you can make changes or edits to the game unless you update it
Ideally instantly, or close to instantly.
Anyone know how I could make an oop based sword system similar to combat warriors?
I bet you it would involve data stores but idk for sure
.create
ok thanks
how is vector.create better than Vector3.new
Since it's a luau original lib it's way faster then vector3 in calculations
well its not possible (i think) from studio but you can make an edit on one sever and the data can be transferred almost insanely to every other sever without sever updates
U should still use vector3 but for calculations like terrain generation vector.create is best
idk i heard .create is faster because is newer/ more optimal but idk i have to look into it since it may be fast but is it good for storage? and other stuff
like unreliable remote events are way faster then remote events but they are not the best with large amounts of data and fail more
It's like a int or text while vector3 is a property
Or a data type
yep i need to know this stuff like if i relapsed the player vec3 with an int based system the movement would be blocky since decimals would be floored
I mean technically it should be possible to run a script that syncs it in studio, you can run scripts in studio.
tho im curious on whether it can be a live sync or just on startup
not sure though i know you can make scripts that syncs/ transfers data across all severs
I meant that as a example like int is a type of data and string is anather one and vector.create acts like a from of data u can't Directly set it as position it's used for calculations with vectors
true
it seems the same FPS when I tested
It's not that much faster but if ur doing alot of calculations like in a generation system it can add up to 10x faster
yeah i don't think i will use it for vec3 storage ether because i convert vec3s into vec1s then i put them into buffers though i could update the client list for a little optimizing
Btw wat that terrain 3d or was it gui
it was image elements, i create an extra z axis by using its layout order
Cool
I'll try it some day
anyone tryna make a roblox fps game w me
any1 here code bots
look at the other channels theres one for you to get hired you just have to get accepted for a skill role
ive heard its kinda hard but how hard can it be
hey guys..... so i didnt have a game idea so i made a game of a game idea generator
lol
can someone help me by telling my how i can make a background move in a loading screen like in this game here? https://www.roblox.com/share?code=b0e3b6577a1c70448bab141d38a733b3&type=ExperienceDetails&stamp=1744074948822
https://www.roblox.com/games/90696178012603/Apple-Clicker something like this game?
🍏 Apple Clicker 🍏 Welcome to Apple Clicker, the ultimate idle clicker game inspired by the classic Cookie Clicker! 🌳 Harvest Apples - Click to collect juicy apples . The more you click, the more apples you gather! 🚀 Upgrade & Expand - Use your apples to buy powerful upgrades and expand your apple empire. Automate your apple productio...
yes
i made this a while back i can check my code for it tho fs
that would be nice thankyo
10 dollars for part time or what
Depends what need either full time or part time
well I am planning on hiring a scripter for my horror game soon, so ill send you a friend request and dm you about hiring you later on
Okay I’d rather try get work done soon as then can have a head start on development?
hm ok well let me think of what you can help me script because I wasnt planning on hiring anyone yet
ill dm you soon about it
Ok I’m in uk and it’s 3:42am for me so
actually nvm for now i wanna try to script everything i can and whatever i cant do then i will hire someone so sorry but if you do want me to potentially hire you it will have to be in the future
is that ok?
i know this might not be rlua but how hard would it be to code a insanely fast roblox limited sniper bot?
probs 2 days bt i have 5 years experience
If I wanted to learn how to code/script/program how long do you think it would take for me to know how to script a game on my own
just like any other skill you get in what you put out. if you have no exp then it will take a while just dont give up. there is no real time line
what language?
messagening service
as long as youre actively in a server in studio and not editing explorer
3 months
how should I start
a what is the best language for a open world rpg
Asm
could anyone give me tips on what to do i just finished this youtube series on how to script but i feel like idk how to use the skills when i try coding
What ideas
I'm sure igotmotion has ideas
Good thing I wasn’t referring to him 🙏
Still you
you know to make a dounut
Then you are plainly wrong
Hey guys, I have a pathfinding script for my game but the characters sometimes walk into walls, how would I go around preventing this as much as possible?
any scripter who would like to make a game for fun and I can maybe advertise it to see what happens (I am experienced)
Learn how to implement pathfinding into your Roblox game! This feature creates smart paths to move a character from a start point to an end point. We also cover pathfinding modifiers to make smarter pathfinding decisions, creating an "NPC Following Player" script, and more!
PATREON🎁
Get Access To My Scripts + More Perks By Becoming a Patreon...
Nahh, I fixed it.
Can anyone help me with something to do with data stores,?
what should i make in python on visual studio for fun
local players = Players:GetPlayers()
for _, player in pairs(players) do
task.spawn(function()
local teleportOptions = Instance.new("TeleportOptions")
teleportOptions.ShouldReserveServer = false
local success, errorMessage = pcall(function()
TeleportService:Teleport(game.PlaceId, player, teleportOptions)
end)
--if not success then
-- warn("Failed to teleport player " .. player.Name .. ": " .. errorMessage)
-- -- Fallback to regular teleport if TeleportAsync fails
-- TeleportService:Teleport(game.PlaceId, player, teleportOptions)
--end
end)
---- Small delay between teleport requests
--wait(0.1)
end
wait(10)
callback()
how do I make players join a NEW server, one that isn’t private/reserved (aka can be joined normally through matchmaking)
callback() is to shutdown the server brw
MODS! hes trying to recruit outside of job listings!!
How many plays will $20 bucks get on ads 😭
I think my game is somewhat well branded
listed in the rules and its mainly there because people can be really annoying trying to recruit in a code discussion chat so they made it a rule
ok sorry ima delete it
also atleast try to give a valid description of your game i mean if youre gonna break the rules make it apealing
i wont write books here
AI coded btw
ok 👍
how to fix
can anybody solve my networking problem
Maybe anchor the primary part
How do scripters implement this type of files into in game?
Could any scripters kindly be able to help me?
I can do video editing, but I couldn't get hired, who's interestd?
--//Services
local UserInputService = game:GetService("UserInputService")
--//Functions
UserInputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
print("Clicked/tapped screen")
end
end)
can anyone help me with that so it plays animation
Look up on YouTube, “how to play an animation on Roblox” and figure it out yourself
wow
tens of thousands
is anyone here able to script a ball physic system for 90$,like the blue lock rivals one
ball physics will drive you mad
HIRING ANIMATOR, VFX ARTIST AND SCRIPTER FOR MY BG GAME
40% WILL BE COMPLETE IN 1 WEEK
PAID IN %
GOT A INVESTOR INTRESTED
GOT VERY GOOD DEVS
hello, how can I make a rock exists module like TSB? Is there a tutorial?
And I want to know how can I make destruction physics? Is there a tutorial?
THAT'S REALLY INTERESTING
THANK YOU FOR LETTING ME KNOW
Second time this happened, completely unresponsive, apparently triggered by literally nothing, cant even save

can anyone help?
Bug in studio
Insufferable atm
Explorer has fucked my shortcuts , find all can crash a sesion and stopping is broken soemtimes
chat i need help
what's the best for making ball shooting sys? i'm using LinearVelocity rn
hey i fixed the lag of network now players dont lag but the hands lag
dose anyone know how to fix this
dm for vid
what is that specifically (i never used moon 2)
are these just regular animations on multiple rigs?
im lost
the only way to sort of fix it is to use SetNetworkOwner and set it to either one of the players, or the server
can someone help me make an rng system js guide me ill do it im a new scripter
you can simply do this
-- Items
local Common = {'Hat','Shoe','Bad sword'}
local Rare = {'Greatsword', 'Chainmail'}
local Epic = {'Bison', 'Dragon'}
local TotalPool = {Common, Rare, Epic}
-- These values add up to 1!
local CommonChance = 0.5 -- 50% common
local RareChance = 0.4 -- 40% rare
local EpicChance = 0.1 -- 10% epic
local RarityPool: {string} -- Common | Rare | Epic
local Pull: string
-- Get Rarity
do
local RNG = math.random()
if RNG <= 0.5 then
RarityPool = TotalPool[1]
elseif RNG > 0.5 and RNG <= 0.9 then
RarityPool = TotalPool[2]
else
RarityPool = TotalPool[3]
end
end
-- Now get a random pull from rarityPool
do
local RNG2 = math.random(1,#RarityPool)
Pull = RarityPool[RNG2]
end
thank u ill try this
this is always iffy
hit chance like that sucks
wym
its a shit way of calculating hit chance
ok but like tell me whats the better way
Worst Rng system
he wanted a rng system
you use weights
I refuse to listen to you unless you tell me the better way.
whats that
weighted values
every rarity has a chance and then you pick an item from that rarity
with its own random chance
can somebody please explain wtf polymorphism in cpp is used for, i am very confused
1 symbol for different types
that is a really sucky term
albeit official
o you're talking about the RNG pulls
he meant rng pulls
but also hit chance in general for hitting swords
melee
attacks
should instead increase depending on how far you are from the center of the hitbox
like the chance of missing
a good example i found was
class Animal - method Kill() (base class)
class Dog extends Animal - override Kill()
class Cat extends Animal - override Kill()
you use it a lot in programming im sure you have done it before
but what a werid ass name
idk why you'd do that
because otherwise players will hit full accuracy shots and have a 3/4 chance of missing them
which feels like ass and sucks
versus actually punishing the player for being off target
Can someone dm me documents of how to learn scripting
go youtube
I've heard it's better learning from documents then videos
whoever told you that is lying, it's better to learn from both while making your own project
you have to want to script something to actually learn
otherwise you are forcing yourself
and you wont learn shit
No dip,it's the literal same with every dev category
so... make a project and read from the dev docs about apis you need and functions you dont understand
and watch tutorials for explanations on full systems
the dev docs dont have shit on actual game development
just how to skid off of modules and use some basic features in studio
they are for people who have never played roblox
Oh ok
im lost. I was talking about turn-based hit chance
we are talking about hit chance as in damaging attacks in PVP?
we're talking about 2 different things
yea that one I was off
if you are talking about a turn based game then no what i said doesnt apply
but im talking about something like a fighting game
in turn based yes you want to randomize every hit
yo boys
Is it the best practice to use client-side hitboxes if I do sanity checks on server?
yes
Honestly combat mechanics aren't as complicated as they seem
I can't say the same about cutscenes actually
I never understood how people made animations that fit with the camera movements
animate the camera
Wouldn't this be the same as using server-side hitboxes
Not practically
yes
Theorically yes if projectiles moved as intended on server side
Nope, how those animations fit a hundred percent with the camera movements
Oh, my bad
Do you pretty much animate the camera as well?
But what about VFX and so?
VFX syncing is done with animation markers
I thought it has been all up to scripters when it comes to cutscenes
and you just play around until you get the right one
nope, 3d animation MUCH easier
- 99% of animators do it anyways
But isn't it difficult when it comes to animating 2 characters at once for a cutscene?
nah they sync them up in timestamps and whatnot]
scripting is a huge pain in the ass for cutscenes
only camera skips are nice
Exactly, and even tho they're all not difficult practically I haven't seen a single code example on them so I have no clue how exactly they work
Yes, it sounds like the reason why we would hire animators
What I mean is the validation can be wrong.
If you're hitting a moving person. By the time the client reaches the server to validate that hit, the person might be already past you so it rejects the hit.
The same way if the hitbox was simply delayed by giving it to the server, there won't be hit rejections but simply delay.
Yes, however it will appear more consistently for players
Is it supposed to be visible?
If so, that makes more sense but the hit registration will still be weird
Actually you got a point, it is pretty much why I asked if it is the best practice or not, because it is not really possible to make the perfect hitbox system in a Roblox game due to projectiles being simulated on server side in inconsistent ways
guys how do i script a button like this(im no scripter)
However as you need to make a sanity check, the server eventually needs to make a check with it's current positions and so, meaning it might still be inconsistent
is using "repeat task.wait() until example" or "while not example do task.wait()" have a high performance usage? i use it for some scenarios and i just wanna know if it's bad, for example if 10 players have it running if they're doing the same action (i have checks to make sure it doesn't repeat forever)
good question
they work the same if i am not wrong
since they are both statement loops
If its connected to any Events that are repeatedly fired and start yielding its bad.
most of the time its a non-issue
since you already said you have checks you shouldn't really worry about it
𝐍𝐄𝐄𝐃 𝐇𝐄𝐋𝐏 𝐌𝐀𝐊𝐈𝐍𝐆 𝐀 𝐁𝐎𝐓
any ideas to make to help me get better as a begginer
Looking for a scripter on a project of mine, must know how to work with VFX, SIMULATOR game.
"PS99" type game.
50K R$ + 20%💰
Its a LONG TERM Job offer, will need to work on weekly update.
DC: tender_one📩
realsamthegay
tender.two
aye not cool
how the fuck do i hire a scripter that works up to my level
and doesnt give ass code
You don't
You drop the ego and you teach them to work alongside you
Or you offer a living wage
Bro
So how can you complain when you yourself are also learning alongside your own mistakes
Rome wasnt built in a day
Cheers
hey guys were can i learn lua?
youtube
computer
can i just extract the facial decal from this?
Any ideas how to do this transition smoother ?
What Is the best way to have skill access let me do an example
If you eat a fruit and you click Z you got a skill if you have another One and you click Z It does another one
How should i manage this correctly?
Like add a lot of localscripts in StarterPack and have an if fruit.type = "" then
...?
Use tween service to move a custom external camera
temple run
Preload the plane
Defo not tween service
A spring maybe
How would you guys go about making a responsive gun system
Define responsive
Ive seen alot of methods like tagging humanoids on the client then checking on the server but idk which one works best
Uhhhhh works well with players from different regions
What does that mean
Oh like ping?
Yeah
I see
Yeah that's an issue on Roblox, you can do things like account for ping or whatnot
But it's just gonna be making a hitreg sys pretty much
Yeah but like i dont know what works best
Best is to make client sided casting with effects that play on hit
And then verify on server
And deny hits that arent ok
Otherwise game feels laggy and bad
Better to be 90% accurate than 50% and slow
hello , am look for a scripter who is freely ttrying to work with a big team on a cool game . mostly based on combat , well see for the payment
Yea but the thing is which method do i follow
Theres alot of weird ones like checking with a spherecast, raycast, math.atas???
Raycasting
Projects will need to be done via physics calculations but if you know basic physics ur fine
Mostly will involve angled throw formula
Yeah i made one using .stepped and some lerp thing
Im just wanting the best result here
I get what you mean
But if you are trying to replicate an actual FPS game like valorant/cs/etc.
We don't have that kind of tech atm
It'd be difficult and ultimately worse/less efficient
val 🤑
hello , am look for a scripter who is freely ttrying to work with a big team on a cool game . mostly based on combat , well see for the payment
um
ANY NON MID DEVS HERE WHO WANT WORK (NOT HIRING UWU)
What is it for then?
Freeze car, do smoke effect, spawn plane, teleport player, then tween camera to where it should be..
like how GTA does
you know i ipay
you know i'm a good one
beo
Someone tell me an extremly good programmer bro..?
your darn mom
okay.
brotato what is this
Regular r15 rigs. It's a moon animator 2 file and not the regular animsaves file.
It's usually used to make cutscenes.
And no it's not regular animations on multiple rigs. It's a Moon 2 file.
It's like all in one but each of them don't save it in animsaves.
https://www.codingame.com/ide/demo/124631901d8ad6c731a08b9826022e5f23b98dc Gimme some thoughts on my clash of code puzzle
cause like this is my first time making a programming challenge/puzzle
how do i learn scripting?
Yo i need a bug fix to stop the sinking DM me if you can sort it out ill pay good
dms
How do I stop linear velocity from accelerating in the air
Stop it when it’s in the air
are you applying what you learned?
you dont need to make everything oop
i reduced the lag greatly but i still have some issues
what would I use OOP for
like creating classes/races?
You'll figure it out eventually
Nothing really needs to be an object
Think of it as a design pattern more than a paradigm
There are situations where data encapsulation is a more convenient solution
For example, representing and simulating projectiles through a projectile pipeline
I'm just wondering I dont need help with any code just wondering how a kill leaderboard finds a killer based off a script like these?
I'm wondering the logic behind it so I can understand it for future scripts I make
Can someone please tell me how do i make a death sound work (I have R6 Ragdoll)
local RootPart = script.Parent:FindFirstChild("HumanoidRootPart")
if RootPart then
local Found = RootPart:FindFirstChild("Died")
if Found then
Found.SoundId = "rbxassetid://135021800852257"
end
end
function updatePlayer(plr)
plr.CharacterAdded:Connect(function(char)
local RootPart = char:FindFirstChild("HumanoidRootPart")
if RootPart then
local Found = RootPart:FindFirstChild("Died")
if Found then
Found.SoundId = "rbxassetid://135021800852257"
end
end
end)
if plr and plr.Character then
local RootPart = plr.Character:FindFirstChild("HumanoidRootPart")
if RootPart then
local Found = RootPart:FindFirstChild("Died")
if Found then
Found.SoundId = "rbxassetid://135021800852257"
end
end
end
end
for _, newplr in pairs(game.Players:GetPlayers()) do
updatePlayer(newplr)
end
game.Players.PlayerAdded:Connect(function(newplr)
updatePlayer(newplr)
end)
game.Workspace.ChildAdded:Connect(function(char)
task.wait(1)
local RootPart = char:FindFirstChild("HumanoidRootPart")
if RootPart then
local Found = RootPart:FindFirstChild("Died")
if Found then
Found.SoundId = "rbxassetid://135021800852257"
end
end
end)
Guy they finally accepted the pixelised theme rkblox extension. You can get it if you want. https://chromewebstore.google.com/detail/jet-black-pixelised-theme/ehdjfaecbknlgggmogmaffpaikjekjgn?authuser=0&hl=en
where is this script located?
Any scripter here want to do a paradox puzzle took me a full day to think of a solution
startercharacterscripts
so this is my first time i knew exploiters can manipulate module scripts.
This Ui is cloned from ReplicatedStorage to Workspace using a Local script.
How do you access it?
i hate my life
Dont store any important stuff on the client
all you need are the first 7 lines of the script. the script gets recreated with the respawn since it's parented in the character
im just thinking abt it since
im making a epic minigames type shi
and games are stored inn module scripts
do i store it in serverstorage instead?
Okay, I get no sound
yes
works fine for me. try using :WaitForChild() for the hrp
Everything that the client can see, can be exploited
wheres the hrp sound
hrp part
Im using an R6 ragdoll
so i cant really hear anything
What even is hrp
it's short for HumanoidRootPart
btw exploiters cant change modules. they can definitely use them though
but can they see inside?
ik how they use it
like they go injector then test out diff fucntions
if they have a decompiler and it's available to the client, yeah. putting it in ServerScriptService should prevent them from decompiling it
why?
Who cares about exploiters. They can get insta banned anyways
Guess it varies from game to game in how easy it is to tell
Man. I feel so. Powerless
It's kinda stressing me out
why?
I want to make a game, but Idk how to code. And it's a pretty complicated game too
aaaaaaaaaaaaaaaa how do i make the ragdoll death sound
learn. and dont go straight into a huge project once you learn a few things. start small and work your way up
this is for the player's character, right?
yes
and i already hate the grip script
do you actually die when you ragdoll?
I've only started coding because my friend said I should handle the code
Since we wanted to make a game together
It's a ZZZ fighting game, based off Alternate Battlegrounds
then just say that. dont take a role you dont want
wdym? you just said that the player doesnt actually die
Okay look, when the player resets or gets killed he gets ragdolled. But, I want the kill sound to be added but its not activating the kill sound
same
is it a local or server script?
then the first 7 lines of your script works completely fine for melua local RootPart = script.Parent:FindFirstChild("HumanoidRootPart") if RootPart then local Found = RootPart:FindFirstChild("Died") if Found then Found.SoundId = "rbxassetid://135021800852257" end end
you could even use humanoid.Died and change it that way
No one else is able to
Eh....
yeah but im using a ragdoll
I struggled so much making a dash code that didn't even work.
So I feel pretty defeated now
i dont understand what that changes. unless you're replacing your dead character with the ragdoll
welcome to coding
lmao
It was so easy... So simple
i hate block code ngl
Yall
Is there a setting for block code in Roblox or nah
I love kt


