#code-discussion
1 messages · Page 92 of 1
and syn xs decompile was mediocre at best
yh
I wasn't looking at them individually, I was just looking at what was said to be deobfuscators
if i finish my top secret optimizer it can deobf luraph
same way u can deobf vmp with llvm but for roblox
does it just rebuild the cfg or sm
Anyone here that would like to help on my game?
i dont pay*
just wondering if you want to be a part of it
it just optimizes everything away
ragh
can someone give me a tip for new scripters that just started 30m ago
Selling fully functional magi game parry combat weapons dungeons and all included I can screen share and everything it all works price is negotiable with magic skills wands health levels progression npc and two maps
anyone knows a script that kicks players automatically when they execute saveinstance() ?
watch brawldev
yo guys i need help w script where if somone buy developer product they ahve 6/10 chnace of getting prompt and claiming my free ugc i can pay 2k i cover tax
Why all the tutorials are useless
cuz u stuck in tutorial hell
i dont think u can directly detect when a player does that, maybe you can use a service to check incoming data for a specific client and kick them if it passes a certain threshold or just kick them if their ping randomly spikes
actually dont do 2nd idea
not a good idea
I gotta make a fork of Luau vm that implements branch tracing xd
So u can do deadcode elimination and deobfuscation with runtime traces
And u can just reconstruct the Lua script with only the code that was executed present
So u can reverse only what’s actually ran from ur trace
It’s how I start my reversals always with obfuscated code so I can see what’s actually happening without any dead code or shit that isn’t ran
every instruction just log stack R/W and VM state
In low level code I do the same thing I just single step the code and on every memory r/w I log the CPU context so u can completely emulate the code
yo guys i need help w script where if somone buy developer product they ahve 6/10 chnace of getting prompt and claiming my free ugc i can pay 2k i cover tax
how do u deal with branches that arent ran
Why does :WaitForChild() fail to work with streaming? Anybody know what i can do about this?
because the child will not be rendered until it is in streaming distance, u need to use model and set streaming mode to persistent or :AddPersistentPlayer or just increase streaming distance
how did yall learn to script
Thanks, I think ill just set it to persistent, but do you know why :WaitForChild() fails even after the object streams into workspace?
did u set a timeout for it or did it give inf yield warning
inf
i think it will return the :WaitForChild func if it gives the warning, so just add math.huge as a timeout to it
but make sure that the instance will load in immediately or very quickly when client finishes loading otherwise the script will inf yield anyway
Wdym
The whole point is to eliminate them
So u can see only what’s executed
To reverse step by step
u will only see the code that’s ran nothing else
what if those other branches are important
They can be but they aren’t important to the code u ran
The whole point is to reverse only what is ran at that point
U can find out what the other branches do later
Removing all the unnecessary code is crucial to starting the reversal
You can figure out what other branches are important after
ok
hi people i need some help with this code
waiting for players?
yes
whats the issue
the text isnt being updated when the player leaves the area
it stays as it is
i mainly need help with this cuz ik the issue but i cant seem to fix it
when the char touches the part everything then is working as it should be
I dont think u can do table_example.remove
oh
lmao
Ohh yeah
it should be printing 0
So its annoying
and that error
but with tables u gotta remove with the index not object
Its not like a dictionary where you can access with an object or a string or whatever
U gotta use an integer index
oh
So basically what u gotta do is loop thru the table, find the index of what ur tryna look for, then save that and use that index in table.remove
can i just decrement somehow
hmm idk lemme check
it would be much easier
Oh table.remove without an index just pops the last thing I think
cuz i dont need the palyer id
oh nice what did u do
oh okay bet
lmao cuz i just need the text to change
idgaf abt the player or whose getting removed
its abt the number
so thanks
ohhh
hey question, why do you put the = next to the variable?
yeah np
mistake
ohhhh
yup
i keep seeing pro scripters doing it so i was thinking its a way to like format it well or something
could some one help me with some code, im having trouble. DM me if you can help
nah they just dont bother giving a space to save time
just send it here so everyone can help together
kk
we dont talk abt why the touched event and touchended event are working at the same time
but what matters is the last valye
value
so idc lmao
so basically it is a pet placing system, one on the left is server side and one on the right is client side
the problem is a random clone is being made and it is not supposed to be there
organisation
Whats the best way to learn scripting
find some youtube playlists with base about scripting, repeat everything from the videos (to learn better) and join some projects for practice or start your own little project
copying blindly from tutorials not a good idea
that's not what i meant dude
“repeat everything from the videos”?
very good advice, learn from proper set out courses, then replicate the videos in ur own sandbox type studio and practice,
he means as in repeat or apply the knowledge you got From the videos because they are core fundamentals or scripting
i didnt add blindy
the more you write the better your memory works
oh i thought u meant just copy everything from tutorial
but yes practice is important
your issue got fixed?
does anybody know anything about fflags and if they provide built in fps lockers? i'd like to be able to change fps between 30 and 240.
nothing ts is tuff 🥶
what about the price
put it at atleast 500
trust me bro
my first script
That´s a very detailed issue.
as detailed as every game idea in #scripter-hiring is original.
"I have a very original game idea never seen before"
"grow a garden"
Sadly it´s mostly every roblox game.
roblox devs used to be creative 💔
or at least more than they are now
i swear if i see one more grow a garden post, i'm gonna crash out
and lets not forget "pls donate" clones
there is a potential in this platform, well not the best cause limits but there is still stuff people can create and sadly it´s just games like these
hi, why when i create handle for my tool, why is my part invisible ?
there is potential, but ppl aren't creative anymore, they just wanna make copies of what is popular to fill their pockets as if there aren't 10 thousands of those already. No passion whatsoever
nah
sadly true
ai generated ideas 
nah, i've seen chatgpt make ideas that are 100 times more original than what they make
trust me chatgpt ideas nothing like real creativity
hell, i wouldn't be surprised if siri was more creative
it puts random shit together
but I agree
Chatgpt should be used to add to the idea not make it all
never
i've only seen a few devs that were genuinely passionate and creative
99% are just copies of whatever is trending
always
oop is useless
but thats just how it is
name one use other than to make ur code 10x worse
the free market has determined slop is better
making ur code 10x better
lol bro never used oop before
how does making ur code slower and harder to debug make it 10x better genius
idk, maybe organize things better? Make ur stuff more customizable? 😭
ur dumb
When I use oop I don't use metatables j just do values in the instances
i just dont use oop cuz im not an idiot
😭 💔
Cuz Ur unorganized
nope
just lke we gonna ignore all game engines strongly object oriented
same game engines are also cpu bound
Also it's just satisfying
Not if you do it right
embrace imperative programming
true but at some studios OOP is mandatory
ever heard of cache locality
the right way of doing oop is just writing imperative code
weve been writing imperative code for decades with no issues
OOP isnt perfect but calling it trash because of 'cache locality' is ehh
its trash because of performance and less debugability
mike acton has a great talk covering both
its good cuz it helps u organize ur stuff better
it doesnt
thats not OOP fault, bad architecture
no
it does
the general idea of combing data with functions is bad
if pushes the idea that ur program is about functions
when in reality is about data and how they transform
modules give you all the organizaiton you ever need
you never need classes only namespaces
whatever u say OOP manages complexity in large teams and shit
pure imperative
do you have proof its better for managing complexity
i have proof that imperative is perfectly fine for complex stuff
purest form of imperative also
well
your scripts become monolithic when the project grows
and lack of encapsulation
how do you manage that?
also team collaboration
encapsulation is not just an oop concept
namespaces exist
subsystem archetecture exist
all of which existed before oop existed
Skidding has spread to code discussion 🥀
I wanna start making open-source modules, should I start using VsCode alongside with Rojo?
use neovim
I dont wanna have to setup all that lol
Why do u want to make open source modules
u much more experienced in this area , i'll give up
Genuine question
hold down ur weapons
I want to get better
Aren’t there better ways to get better
Sure there probbably is
did you do something because you did something?
oop makes it 10x better and easier anyways
I think open source is great because I also get to learn from other people
proof?
I'll somewhat agree with him now but I dont think we need to drop OOP to trash still
And I dont think you are stupid because using OOP
That kinda nonsense
well i haven't found any reason not to use it til now
the only thing that's useless is another 185456th grow a garden/battlegrounds game
well ig ima check in the talent hub to see if the ppl hiring are a bit more creative
hey guys could I get some help with smth?
Basically I want to place pets but a random clone keeps spawinging in could you help? The first screenshot is local script, and the second is server side
I never actually did something 💀
Does someone know how I can get around this?
Do you mean that it's spawning 2 pets when it should be spawning 1?
kind of, i can send you vid in dm if you want
Just send here
Hey I was watching that bruh
Yes
I kinda am not confident with this, but you could change tool.Activated:Connect to tool.Activated:Once
ty bro ill try
Lmk, it wouldn't explain why the extra is only visible on the client though
sadly nah it doesnt work
Rats
ty for trying tho
The block is a descendent of the tool right?
um kind of, do you want a screenshot of the hierarchy?
the tool is sorta kinda a template and then using other scripts it uses that template to make a tool
if u want i can show them aswell
Yeah show the script that makes the tool pls
The issue is that modelInstance is being parented to the workspace, try parenting it to the tool's Handle
modelInstance.Parent = tool:FindFirstChild("Handle")
yo ty bro
Did that help?
Haha nice, glad to help. The reason that was a problem was because when the tool got destroyed the model was still left over in workspace. Now when the tool gets destroyed the model also gets destroyed because it's a descendent of the tool
Just a side note, it's a good idea to make sure the player actually has the pet before placing it. You should do a check on the server because currently an exploiter can spawn any pet of any weight and mutation
ok sounds good, im not kidding when i tell you, you have helped me more than any other person
Ah I'm just happy to help out. Good luck with the rest of development and feel free to ask here or #code-help if you run into any problems
ok ty bro, goat
Yo does anyone wanna make a game with me and my friend for fun
y'all i need help
so recently my game js got backdoored for the second time
and this time there were skeletons dancing on a black screen being the skybox
i did not set it like that, 6 secs later, a grey screen appeared and a horrific sound played
and i've disabled allow http requests and when i join back my game in roblox player
it says Http Server Error: Http isn't enabled in this game. Please enable Http Requests for Roblox to work.
i know this is probably fake but how do i fix it
whats the talent hub
any1 know how to make outfit game scripts? dm if so
have you checked dev forum or contacted Roblox ik it's slow ash but you could eventually get your game back.
where you can hire people or get hired
commisions basically
is that a game
or something in the discord server
How do you make it so a rig updates the avatar everytime the person that rig is based on changes their avatar
Go to create page on the Roblox website and go to talent hub
k
OMG HOW LONG HAS THIS BEEN A THING FOR
this is so good
yo what should i script that isnt too complicated that would get me accepted for scripter role
I think for more than 2 years now
maybe even 3
bru I wish I knewn about this earler
fr
maybe try rodevs as well
its another discord server similar to this one
looking for a co partner to script a game. we both goin split game revenue
rodev like the ytbr
except the people actually have unique ideas that are not grow a garden clones or whatever the line game was
idk, its a server
looking for a co partner to script a game. we both goin split game revenue
what game
and if ur a scripter u should probably look for a co partner that does modeling or smt
Could I know some more details of the game
I could help
i don't think any scripter is gonna co script with someone for a possible future %
unless he's got some crazy models
nah fr
I’m still debating whether I should get more devs or just do everything myself
depends
what kind of game r u making
Racing game similar to Mario kart
I’ve done some of the ui and the lobby where u spawn in although not fully finished, I’m just not sure whether I should get someone else or not
Cuz if I do everything I will probably learn a lot about studio
Well for assets u can learn blender
for scripting, there are some tutorials on yt
id suggest u learn how to code in general, maybe python
then start learning luau
Yea for scripting all I’ve been doing is learning from yt or searching online
Out of topic but do you know where I can find different cartoony texture packs? Or do I just have to look on yt @wintry stone
i have no idea
Chat.. do people expect you to fully make animations, effects, UI when you're making game mechanic as a programmer? or is it just a myth
Depends on the person hiring
Some people hire animators and UI designers separately
but someone might hire a programmer and expect them to do everything else (its roblox and 13 year olds hire all the time)
r u good at scripting?
Yeah I saw it a few times here, I don't mind putting place holders that they can change/edit but making every thing for 300 Robux isn't fun
Im mediocre imo
Oh hell no 😭
Its fine to take on low paying commissions if you're just learning, but eventually you'll have to put more value on yourself
Cant let these kids have you make an entire game for 20 bucks 🙏
300Rbx was just hypothetically speaking
But yeah I agree the minimum is 40$ for a full game ( joke )
😂
Sold this for $40 CAD
how long does coding take to fully make a game on your own without help or tutorials
What kind of game?
just in general for a new scripter to make a game'
There is no general timeframe. You need to be specific about the project's scale
tycoon.
was it linked to something? if yes then that's a good price, ( if anyone asking that's 30USD )
Yes. It's connected to a client-sided API that reports the final colour
for a beginner?
I remember getting asked to fully make an enemy AI framework for 25USD
with everything you can imagine: ground/air movement, Attacking and Defending and Fleeing, enemies being in a group with a leader, fully customized to add different enemies and so on.
for a simple tycoon game, it can take you from a month to 8, depends on what bugs you'll allow to live in your game.
someone should take me under their wing 😭✌️
😭 take me under your wing'
Lol? what did you imagine?
😂
well they're technically bugs, but worse because you can't see them.
so real
calm down mate, can't you see the "Maybe" in my name?
ill take my chances
you said you got asked to make an enemy ai framework or wtv
which means you are skilled enough to make commissions and to be accepted
so yeah the chances for @inland musk are high that Ur decent enough to teach him
My best advice is to make games without high hopes, so when they break, you don't get a new trauma like me.
^
the chances a small game like that done by a single person to blow up in these times is almost 0
what should i make after ive made an obby
the best way to make Ur game idea successful would be
becoming good at something specific instead of everything (become a modeller,animator ect)
getting the money needed to hire people to work for you
then work on Ur game idea
tung tung tung sahur tycoon or something like that
in my opinion atleast
I have no experience so idk
I'm basing off what I heard
gotta shit brb
☠️
well I got "asked" didn't say I accepted it.
I told them to I'll take some time to study their request and after some time I found out that I'll need an extra 150$ and a few months If I wanted to go through it.
I ended up making like 40% for myself just to learn after it, and yeb I was correct.
your advice is pretty sound. I believe in specialization instead of being a "Jack of all trades" aka mediocre at everything
you still are in the level to being considered for a task so yeah
the chances of being a "jack of all trades" are almost zero unless you have sum special talent
a better Obby 😄 or look for a game you like and copy it.
Would have to have years of experience honestly
decades even
I just stick to 2 things max
the average person needs years of experience to be considered "good" at a specific part of developing
fr
unless Ur sum talented genius with 200 iq and fast learner with insane memory you won't make it in everything
I think most of us started with the idea of being a "jack of all trades" == making a full game solo and earning a lot of money.
uhh not me I just want a hobby that doesn't give useless results
I would only touch scripting, I hate everything else 🙏
contributing to game development as a scripter sounds like a good hobby to me
and I can make sum pocket money or decent money if I'm good
I am saying it so they can learn by doing, not to expect much from their game if they decided to publish it.
😂
Does anyone have tips on when to accept %?
if the game is already generating revenue, then sure
otherwise its usually a waste if you're in it for the money
if it's very promising or if it already has profits
like a awaited game I guess?
What If the owner is contributed to big games?
Then that could also be good as a learning experience and networking
I don't mean big games studio just big studios or games lol
are you a 150% sure?
even if it doesn't work and you get nothing you'd make good experience and if you do a good work maybe work with him again in his next project
^
so yeah you should go for it if it's that case
my tip is entirely based on logical thinking and not experience btw so don't criticise!!!
@paper imp Nice portfolio, I didn't knew you can make it look that good using github
@marsh kelp sir I have a question
what do people mean with "specializing in frontend and/or backend"
what does that mean
this one
what
Its like scripters who only do UI, or visual stuff like VFX
instead of backend stuff
like datastores or really anything the player doesnt see
I'm pretty sure if they don't specify you need that skill then they give you it
using logic of course
I dont believe this really exists though, scripters should be efficient at both of these things
well I mean it doesn't sound bad to just be good at one of them
its not exactly bad, but its limits you as a developer
like, if I was frontend and I could only script the frontend for the inventory system, but I couldnt script saving the inventory
yeah that's what most people do, of course with more experience you try the other side.
then what would be the point 😂
that doesn't follow
if it requires to learn how to script saving the inventory in order for the inventory system to work then you'd know it
or else you can't say you can make a full working Inventory system
tbh it's a confusing term, people toke it from webDev because in it there is a big difference between the two. ( not like in roblox/gameDev )
I think frontend and backend are actual categories by just terms people use to refer to specific groups of things
Thats my exact point
you cant just do one or the other
you need BOTH
💯
yes but if you decide to only work on "frontend" only then everything you learn would still include a bit of "backend" but it would be way less than what Ur originally going for
what
Welp I think I skipped too many steps
Can't agree. If you ask me to make you a button click effect It can take me days to just make it feel good.
I'm still learning the basics
how the fuck is there backend and frontend in luau
There really isnt
yeah that confirms what I said
thats my argument 😭
.
Wow
its either you know how to script or you dont know how to script
are you guys seeing
Stack Begin - Studio
19:43:56.262 Script 'assets.LL-Updated.ServerLocationSystem.PerformanceGui.PerfDisplay.Handler', Line 63 - Studio
19:43:56.262 Stack End - Studio
19:43:56.280 ServerLocation is not a valid member of ReplicatedStorage "ReplicatedStorage" - Studio
getting spammed in the output?
no
why do you think this happens
Why does it happen
ask chat gpt 😂
I didn't even do anything i didnt run any script or anything
can you please read the error message
ServerLocation doesn't exist/ didn't load
What is the ServerLocation again
how about @odd lantern takes us both under his wings?
he seems to know both front/backend
Im pretty sure he's also still learning
aren't we all learning?
I'll be learning forever
uhhh
I've only been doing roblox scripting for like 2-3 years
fair
need to lock in
only?
wowwwww that sounds professional take me under Ur wing sir
saying it like it's just few days ago....
I started 2 days ago
¯_(ツ)_/¯
cough xough
well, I dont mind responding to questions or helping people out
ive been doing that recently
it also helps me learn what im not understanding or missing
I'll be in Ur care then sir
Good luck
when I need help
👍
i'll cheer you on from behind
for real? you don't sound like it
all my answers are based on logic not knowledge or experience tho
well... programming is all about logic
I learned what FindFirstChild and WaitForChild are this morning
how did you know what serverlocation was
I mean based on logic it's kinda evident
😭
its not an actual object ive ever seen
yeah based on logic sure but ive never seen it before in studio
what could serverlocation possibly mean mate
I was thinking maybe which server it is or something i dont know
I'm pretty sure almost every name has some logic behind it
not 100% cuz I'm new
Yeah but ive never seen ServerLocation in replicated storage
It was a plugin error
bro why do people ask for free work and expect to make a successful game 😭
Also its not an actual thing thats not how you find where the server is located
can someone help me im trying to make it where your in a certain area it'll say text then when you stop being near that area it'll go away but i can't figure it out heres my code:
local frame = script.Parent
local partToTouch = game.Workspace.Part1
local function onTouched(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
frame.Visible = true
end
end
partToTouch.Touched:Connect(onTouched)
uhhhhhhhhh
i wouldnt use touched i would use position difference
back
would anyone be interested in a dev product receipt processing wrapper, makes handling products a lot easier and cleaner
i dont know how to do that
im new to scripting thats the only way i could think of
use magnitude
local player = game.Players.LocalPlayer
local frame = script.Parent
local partToTouch = workspace:WaitForChild("Part1")
while true do
wait(0.1)
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local dist = (player.Character.HumanoidRootPart.Position - partToTouch.Position).Magnitude
if dist < 10 then -- within 10 studs
frame.Visible = true
else
frame.Visible = false
end
end
end
add local radius = 10for detecting radius
and use if distance <= radius then then load in the UI/text
thank you guys for the help
you supply a dictionary
return {
["Trolls"] = {
["Nuke"] = 3292426547,
["Delete"] = 3292426550,
["Lava"] = 3292426549,
["Tsunami"] = 3292426548,
["Zombies"] = 3292426545,
["Freeze"] = 3292426546,
},
["+1 Save Slot"] = 3298861474
}
ProductService:Get():ListenToPurchase({"Trolls"}, function(Data, Decision)
Decision(Enum.ProductPurchaseDecision.PurchaseGranted)
TrollMethods[Data.ProductString](Data.Player)
end)
and you can listen to specific sets or just ids
so every id under trolls will fire when purchased to that listener
You did not set the visible to false part😭
local tool=script.Parent
game.Players.PlayerAdded:Connect(function(plr)
local stat= Instance.new("Folder")
stat.Name="leaderstats"
stat.Parent=plr
local Clicks=Instance.new("IntValue")
Clicks.Name="Click"
Clicks.Value=0
Clicks.Parent=stat
end)
tool.Equipped:Connect(function(sound)
print("Tool Equipped")
end)
tool.Activated:Connect(function()
local R,G,B=math.random(1,255),math.random(1,255),math.random(1,255)
tool.Handle.Color=Color3.new(R,G,B)
local character=tool:FindFirstAncestorOfClass("Model")
local player=game.Players:GetPlayerFromCharacter(character)
if player and player:WaitForChild("leaderstats") and player:WaitForChild("leaderstats"):WaitForChild("Click") then
player.leaderstats.Click.Value=player.leaderstats.Click.Value+1
end
end)```
- The Instances arent created, whats the move?
How to fire a method using brackets?
module:FireMethod() --no
module["FireMethod"]()
Too lazy
module"FireMethod"
Name Caller is always given in as first argument to the call
👋 howdy
So basically
module:FireMethod()
translates to
module.FireMethod(module)
which can be represented as
module"FireMethod"
hi
I know bro
Why did you ask then? 😭🙏
oh right, because machines can still read obfuscated code.
Ima only encrypt the disk that I use backup then.
What does this mean
Hey guys, I don't know how to script, I can do everything else besides it. successfully created (till a certain point) then nuked my entire games system making progress with chatgpt and gemini SEVERAL times.
I just had the idea, is it actually achievable, that with no experience or knowledge of scripting that I can just search different tutorials that I need for my game like:
"How to make a data store for your game"
"How to create health for your character and enemies"
"How to make your player attack with clicking"
"How to add VFX to your attack"
"How to set your character to autoroute to enemy"
"How to create enemy respawning system"
^Can I do these things and just follow and paste what people are doing and end up with a fully functional game?
yo im learning scripting best yt to learn from?
You should just watch yt or ask 1 question at a time
because a lot of those things comes with many steps not just 1 thing per thing
TheDevKing
he has a lot of basic tutorials
for more advanced tutorials I recommend B ricey or suphi kaner
byteblox vs suphi kaner boxing match
my bets are on suphi kaner
partially because idk who's byteblox
😂
BrawlDev is p good I heard
Anyone know a working method for sending webhook requests to discord without paying for a hoster
make sure it's a server script
yeah there's this website to do it
but I'm not level 5 so can't send
dm?
yo guys so this is what i used for player data and my data manager server script. I switched to profilestore now, should i still keep using physical folders that I duplicate into the player and then extract that data when they leave?
I feel that using physical folders can be kind of sucky for if the game deletes their player before you can get it it just errors maybe make a module or store the physical folders in a fake player that won't instantly remove on roblox server error
a module can work
ikr i just thought of that
i could make the physical folder be stored somewhere else until it is fully extracted
wdym
like i put all of the player data folders inside replicatedstorage
so when a player leaves, it still remains until i wanna get rid of it
Ohhh yeah that's a good stratagey but I still a modulescript can still be better in some scenerios
no usually when I store stuff I use datastore with a custom module I use to store the minimal data possibled
oh ok
alr ima learn how to store data in module scripts
im pretty sure profile store does that
alright it's quite basic want a example
but im not entirely sure
yeah sure
nope
go to #scripter-hirable
so a module script is a normal script pretty much but instead you can call it from other scripts so when you call it you will pretty much run the code and it'll return a chosen variable ```Code you want can be local or serverside...
return variable or functioon or whatever```
I explained it quite bad I can redo if you want
wait
so i do use module scripts
but im just not advanced at it
i use it to reuse code
let me show you
for what project? and what kind of pay
Ohhh okay so you have a basic understanding
yeah i do
for completing all the scripting needs of the project youre looking at around 500 bucks pay
I think the biggest things you can learn in a module script is {["text"]=1}
USD
i probably cant rn but u should lead with that, youll get a lot of good interested scripters also go to #code-help instead (also technically you are not allowed to ask for employees outside of certain chats)
ok wait so mighty
this is my datastore template
its in a module script
do you think i should use this
didnt know that
and just access it / edit it whenever i need to, THROUGH the module script
whenever i wanna add items to a player or something
cuz rn i just use phyiscal folders / integer values
i do everything with objects
YEAHHH you should that's a really good structure it depends which you want do you want to do the replicated storage folders and have to organize or just be able to do that
oh alr
so i should stop using my folders
and just edit it through the module script
obviously through a table with every player's structure
I mean folders might actually be more efficent it just depends which do you want to use do you want a module sciprt so you can have literal functions to do what ever you want so you can do something like .saveplayerdata or do you want ti only be able to read
both are easy to read but do you want to be abvle to add things like functions
dm if u wanna make an incremental game you MUST be able to script 😭 i also script and do uis
idk what i would use functions for
Ohhhhhh alright so a module is best then if you want ease to edit
a module gives you way more access
function FlingPlayer(UserId)
--flings player
end```
so just any function
yeahhh'
oh alr
you can add any function to a table like
function FlingPlayer(UserId)
--flings player
end
local Var = {FlingPlayer=FlingPlayer}
Var.FlingPlayer(UserId) -- flings players userid
``` and note you can make a module return any var
@jaunty herald
oh ok
does that sound useful?
?
nvm i was thinking in the context of saving player's data 😂
no i understand now
yeah i use functions all the time in modules
like auto welding a bunch of parts in a tool
or creating a new map in a new round
Ahhh alright I think you should use a module because it gives you access to litteraly do something like Module.SaveData(UserId)
ohhh alright
i get it
ok im gonna have to get used to this then
cuz im used to editing folders with object values 😂
XD
Im starting but his tutroials are really old like 2018
the basic tutorial playlist still good imo
he discusses about basic programming concepts (and basic luau)
the advanced playlist though idk
but I don't think theres too many changes in roblox's api
guys I'm thinking of getting the skilled coder rank is it high reward? is it worth getting
Alright I need some opinions for y'all.
Currently, whenever a player uses an ability in my game, it checks the server to make sure it's off cooldown, then the server triggers the ability on all clients. All clients play the animation locally (So I can use keyframeReached for VFX syncing). After some time the original client checks for Hitboxing and the server does a sanity check.
Is there a better way to do this, so if the main player lags and their local animation is delayed, since everyones animation is local it would be different causing misleading Hitboxes?
Wdym do you mean you want the hitbox to be insync with what the player sees?
Since the animations are played locally so I can use keyframe reached.
If player1 did the move, and they have high ping, and player2 has low ping. Player1 animation would be delayed. So player2s animation would be finished, making it misleading
Bad grammar holyyy I apologize
how can i make ui sort itself in a way i want with scripts? like if i do a for i think to clone tabs for like items in an inventory how can i customize how they sort out
not everyones animation is local the localplayer has control over their animation state not their animation itself the client predicts it so if there's a lag spike the play will keep going threw the animation then the client will send a new state then it'll look how the client looks instead of walking for example you know when someone lags out and their character keeps walking
the animation itself would be delayed but then you'd have to change the animation state on that player on your own client
My issue is the server telling everyone to trigger it. Since you can't pass animationtracks from server>client.
So basically no matter what they would be synced?
Even if it's all player locally on each separate client?
Ohhh you want to make a remote event communicate the animation in real time
I have a module I can give you that can run animations locally
it litteraly is a reverse engineered version of animation tracks so it can play it without even being part of roblox
so yes you can do that using a unreliable remote event you can fireallclients the animation part and the clients can use my module to put the player in that state locally
you can barrow my animation player module but it's quite complex
I'll look into the unreliable remote events then
unreliable remote events are just less reliable remote events it's just less laggy and is good for optimization
so you won't get the request with high certainity but you'll get it most of the time for things like animations that aren't very important
It's fine
could u help me
with?
a code, check dms
does anyone know why when I :Sit a humanoid on a drive seat using A-Chassis the interface doesnt properly set up, and whats the workaround?
:Sit thing
I spent 3 games to realize that I dont understand :Sit
It sounds simple
But idk what happens with it that always something fails
i just messed up SO bad that my plugin just return the rbxm file somehow💗
gngo i got "user_Test.rbxmx" somehow
im new to scripting but how did the scripter of grow a garden make the plants grow part by part? is it using tweens? and for how big the plant will be would be math.random maybe?
he definitely didn't use tweens
Each plant has different phases. Most likely categorized each plant by its phases, and swaps them out over time
well
it grows in chunks
so yeah
but istg if i see another grow a garden clone
roblox has enough of them
it's not original and you won't gain popularity from it 🥀
hey does anyone know how to remove collisions with humanoids but without falling from the map ?
use collision groups
How could I stop auto farmers in my game?
i hate how every "classic" roblox game adopted the jtoh style
but doesn't call it the jtoh style
classic roblox does not look like that
what type of game is it
Attack on titan
so like do the auto farmers just tp to the titan's back or smth
I am figuring out how to make a server ac.
I know that but people can use a cframe.
I have a pretty good client ac
I could do a magnitude check. but there could be people who are just going hella fast and get detected by that.
check their position with their previous position is within a certain range
adjust that range depending on what the player is doing
the range check while walking, running, and using ODM gear would change alot
if a player is moving like their using ODM gear but is meant to be walking, they should be TP'd back to the spot they're meant to be at
Yeah
do you have anyplace to store the player's stats like state, walkspeed or weapons on the server
Right now we are redoing our systems. but no we don't have walkspeeds or anything on the server.
My buddy is working on the titan ai right now.
and I am working on all the ui.
I could do a math between the nape and player and if they are moving oddly very fast to the other titan than I could detect them that way. I know a game that does it.
kk
but the thing with that system is when we have like speed buffs into the game it could detect that.
and false ban people.
so track if they have a speed buff
make people report
motivate players to report by guaranteeing some reward
these sort of methods are easier said than done
false positives could be awful
alternatively dont ban people but instead move them back to where they were before
thats not gonna be good either
would ruin the gameplay
i would rather get banned ngl
rip anyone who lives in a country with poor internet 😔
im pretty sure thers gonna be a lot of tutorial for that
no
idk how to call it
does anyone know how to make a system like by mm2 where the roles spins? idk how to make a gui spinning system idk how to call it ```lua
-- 🌀 Spin effect
local function SpinningWords()
local SpinTime = math.random(2, 4)
end
im pretty sure thers gonna be a lot of tutorial for that
buddy
yes buddy
stfu if you dont know
brother you need a whole damn system
what do you expect? write it down for you?
just watch some tutorial
GOOGLE BROTHER
We have a good client anticheat. That blocks most scripts like dex, and remote spies.
what tut
how to name it?
tell
@sudden estuary tell
do u know?
Update: This project is no longer actively supported, however the methodology and coded examples should be more than enough to guide you in setting up your own spinner. Have fun! What is a Crate System? Playing around a few front-page games, you’ll notice a popular method for earning items: spinners! Generally, they contain a collection of ...
took some time ngl
then why would u worry abt teleporint users?
and having an anti cheat doesn't mean you shouldn't have a report system
Because no anti-cheat can be bullet proof
yes exactly
hence why you need a report system
aren't those type of anti cheat detectors prone to false positives
what im u supposed to do with this
eat it
brother READ it
its exactly what you need
this is not even what i needed
u didn't want the item spin?
you know the role system
THAAT
but i just need the words in my table go one by one and randomly stop to 2 - 4s
look
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local YouAreGui = playerGui:WaitForChild("YouAreGui")
local Words = YouAreGui:WaitForChild("Words")
local Roles = {
"Cool Twin 😎",
"Noob 💀",
"Pro 💪",
"Giga Chad 🔥",
"Rat 😭",
"Lazy Dev 💤",
"Tryhard 🧠",
"Speedrunner ⚡",
"Builder 👷♂️",
"Ghost 👻",
"Tank 🛡️",
"Goofy 🤪",
"Helper 🙏",
"Bacon King 🥓👑",
"Rich Player 💰",
"Clown 🤡",
"Legend 🏆",
"Hacker 😈",
"Spy 🕵️",
"Pirate 🏴☠️",
"Wizard 🧙",
"Nerd 🤓",
"Samurai 🗡️",
"Thief 🥷",
"Zombie 🧟",
"Alien 👽",
"Cool Cat 😺",
"Shy Guy 😳",
"Secret Agent 🕶️",
"Banana🍌",
"Dumb💩",
"Kind❤",
"A Pro Athlete💪",
"Slow🐌",
"Fast🐱🏍"
}
-- 🌀 Spin effect
local function SpinningWords()
local SpinTime = math.random(2, 4)
end
the whole table one by one the words go spin
hello
thats actually more simple
well i only thing i found remotely close is this
Hi, in this video I'll be showing you how to make races reroll, with rng and spin animation. With developer products. In the RPG game series.
I forgot to show this but modify the data_handler server script:
local ProfileTemplate = {
appearance = {
weapon = "",
shirt = 1,
pants = 1,
face = 1,
race = "human",
gender = "male",
},
ra...
nvm
nvm what
i quit
great
you have everything u need infront of you
yet u quit
idk what else is great
this is not close to what i need
dumbass
it is close
U THINK I WANT TO QUIT????
yes
ur wasting my time
im not
no i fucking dont
you are wasting ur time
it is very close to what you need
yes
you wish
do you know how to script?
it is very close
I don’t understand why it keeps on showing “Gamepass is currently not available” , can anyone help?
how
the only difference is the other one spins
you just use the same logic
for just changing the text
thank you for your time
lazy
is the mouse delta position different depending on the different screen resolutions one may have?
do you know how to script?????
exactly
you dont
so stop being the genuis here when you dont even know how to script
i do you dont
u dont have to help me
calling me lazy
idiot
you clearly do
this is a very simple system
yet you can't make it yourself
and have the audacity to say that you could script?
you do it then if you know how to
why would I do it for you?
you a nobody to me
yo guys if i carry player inventory data through a module script in server script service, how should I access it in a local script?
is it effective to access the entire inventory through a remote function
cuz players could have hundreds of items
my game plz play
how can i learn OOP as a beginner?
Go on YouTube or the devforum there are tons of resources there
it's how I learned it
Whats the chance a game like minecraft blows up
I tried Youtube and nothing really helped me. I already know some OOP with printing but i want to make actual systems with OOP. Devforum i cant find any
With custom world generation
What are you trying to make?
I do not know yet but devs suggested me to learn OOP since I was stuck in loop where i cant learn anything new
so i did it
For me I make custom tool systems where I only need to call .new() then have a load of other functions
yea that's great
u can try making a currency system with oop
how so?
did i scare yall ?
NOOO
YES MCDONALDS IS HIRING !!!
U just got me a heart attack
Why does the ui get cut off?
What plugin is that
make different scales and positions for each device in scripts
does anyone even use snake_case for luau
for example
module.__index = module
function module.new(data)
local self = {}
self.Currency = data.CurrencyName
self.Value = 0
return setmetatable(self, module)
end
function module:Add(value)
self.Value += value
print(self.Value)
end
function module:GetCurrency()
print(self.Currency)
end
Script
-- require module here
local Gems = module.new({Currency name = "Gems"})
Gems:Add(5) --prints 5
Gems:GetCurrency() --prints Gems
sry I'm typing on mobile so it might take a while
thats with printing. i meant actual systems
yea like the add function
go see YouTube
actual systems like you make ur own inventory with oop
yk
yea u can refer to YouTube for that
alr then
ye ik
Hi guys can some one help me i am tranna make a time traveling script but it don't work :(
in line 25 u cloned it but u didn't parent to workspace
can you dumb that down please i am new to scripting 😭
yeah
lighting service like the light i am using sorry i am slow
i am so confused 😭
it's ok
on the right hand side
there should be workspace serverscriptservice
replicated storage and all
now u should create a blur effect and a color correction effect inside of that lighting service
yep that one
:o
add the + button
yep
then add the blur effect
and a color correction effect
then rename the Blur effect -> Blur
if debounce == false then
debounce = true
task.wait(cooldown)
debounce = false
else
--do code here
end
ok then u dont need to rename it again
just add a color correction effect
yes that one
done
okay
wait where's ur blur
nicee
but the whole thing dissapared
gud job
😭
💀
try this
maybe just create one debounce
wait what r u trying to fo
can i just send tou the game and you fix it i will pay 200 robux it is all i got
i want to make a time traveling game
wait only this system right
when you have to click f to send you back or into the future so you can do a obby
send you back or into the future
yeah
for example if the there is a door in the past you can go into the future where the door is gone
ik its not code discussion but how do i turn ts off
and continue the obby :)
Like teleporting the player?
can u help me rq how do i turn that off in my ss 😭
erm one sec
what are the best channels/ websites to learn luau
try rejoining ur game
just click all the F keys its one of them lol
shift + f3
wait i will dm you what i am doing
k
you see you just have to click alt+f4
eays
works like a charm
eveysingle time