#code-discussion
1 messages · Page 194 of 1
And gag uses it
is one of the most exploited dupe glitches not just joining a different server to exploit a race condition?
@cinder basalt is it the same makers as profileservice and how long has it been around? I basically have avoided 3rd party in my game until now because I don't want to have to deal with migrating off of something later on since I don't imagine a lot of modules in roblox are long-lived/maintained.
fr? it was super common in newer games (albeit this was back in 2020 probably)
It’s impossible to completely prevent duping
i never said it was all
yes true
With trading
Same maker and like a year
live trading
elaborate?
data rollbacks
there is ton of ways
to dupe with exploits
you can find a crack in any system
it's not that bad icl you'll get used to it
Other ui wasn’t bad either
why change it
Most crack can be found in sewer systems
👍
im not roblox so shrug
thanks I see loleris has a thread in OSS too that he actively responds to so that is a good sign I think I will go with profilestore - I appreciate you calling it out
Race conditions
You execute before the server catches up
exploits
you’re trolling
So do you all use one of the roblox package managers for 3rd party modules or just straight get from roblox store like this: https://create.roblox.com/store/asset/109379033046155/ProfileStore
Does one or the other make updating easier?
@cinder basalt also looks like Dead Rails/Grow a Garden use profilestore too
anyways thanks y'all - have a groovy evening/day
go to file then right click then you will sre
see
There is no file button
its on the very too right
Still can’t find
Found it
Confusing asl
It’s the file button for my Mac OS
uhhhh idk i dont use mac
me
they does. Use wally if you coding on vscode with rojo. If roblox studio then get the module directly
can someone help me with my script
what it means
Anyone want to join our dev group? Help each other grow, build, and advertise your services.
nevar
if i was updating a text label with alot of text multiple times a second how can i make its text update faster since its a bottleneck.
Why do you need to change text multiple times a second…?
to make a graphics display with only text
First question is why, but I already know the answer is basically gonna be “why not”
Second question, and also pretty sure I already know the answer, but how many UI objects are you using to do this?
one, a single ui text label, but the engine renders 4k characters
Jesus Christ. I was hoping the answer would just be “too many”
I have no idea how you’d be able to optimize that, unless you want to have like pre-set displays, then you could swap one out with another (with either Z-index or transparency/enabled) and it should be slightly faster than just changing thousands of characters per second
anyone wanna work on a game with me
the code runs pretty fast at 0.0044 per update (with random colors). the issue is the lag that comes from fast updates
Using the transparency/z-index method shouldn’t really change the code performance, more the rendering performance. Trying to render thousands of characters per second, and at least dozens of times per second, isn’t exactly performant given that it is Roblox
yeah thats what i am struggling with. on its own when its not updating it goes to 60 fps so if i can find a way to slow the update time etc.
Could you split it into 4 (or more) different text labels and then update a different one each frame? Or with more update, say, 2 of 6 frames in each quadrant each frame to try and spread the load out a bit more?
the problem with that is that this is meant to be a quadrant
Ah
No idea then, unless you make the quadrants smaller (say 1-2k characters instead of 4k) and only update a few each frame, I don’t think it’s really possible
I wouldn’t think Roblox’s rendering of text is necessarily that performant, given that it likely wasn’t necessarily seen as possibly being used for smth like this
yes i can try to help u
How many parts are rotating? 🤔
I'm still learning script, but I already can do basic stuff, could someone give me some ideas what should I create
One
I hate to break it to you but the video starts paused and ...
become diddy's lawyer simulator
bet
how did i not realize that
Difficulty should be measured in baby oil bottles
need help walking animations only work on the client
oops which one
how do u guys manage to weapons hitbox hit only once for each model in it's swing?
i tried a bunch of different ways but all of them failed
so it only hits 1 model?
i f s t a t e m e n t
a n d a f l a g
flag?
y o u d u m b a h h
sometimes i regret asking here
So like
answer me
When it hits a model it should set model.hit property to true
oh wait
I mean not property
so it can only hit each model once
no, it has a few models in front of the player, player swing and it hits only 1 time for each model
local table = {}
if not table.find(table, Model) then
table.insert(table, Model)
end
.
i tried using a table like that
well u prob did it wrong 🤷♂️
so i might be doing wrong with the animation thig
local ignoreList = {}
track:GetMarkerReachedSignal("hitbox"):Connect(function(value: string)
if value ~= "true" then
table.clear(ignoreList)
return
end
hitbox.Touched:Connect(function(hit: BasePart)
local target = hit.Parent
if
target
and not table.find(ignoreList, target)
and target:FindFirstChild("Humanoid")
and target ~= player.Character
then
local humanoid = target:FindFirstChild("Humanoid") :: Humanoid
table.insert(ignoreList, target)
humanoid:TakeDamage(weaponConfig.Damage)
print("Hit " .. target.Name .. " for " .. weaponConfig.Damage .. " damage")
end
end)
end)
hitbox = weapon.hitbox
whats. the point of the 1st line in the event
its not gonna be the same table each time u attack no ?
unless u put it out of the scope of userinputservice or wtv ur using
is there anyway to "disconnect" hitbox.touched?
cause i'm starting to think that it keeps running even after animation stopped
yes
local connection
connection = hitbox.Touched:Connect(function()
connection:Disconnect()
end)
or u can use :Once instead of :Connect but then its only gonna hit 1 model
thanks, fixed it
how i loop an anim on a npc
can anyone help me make an rng roll ui like sol's rng?
Itried using ai but it didn't work and my code just became messy so I deleted everything
guys it is possible to make a realistic river right
Ofcourse need a lot of physics tho
aww man i justw anted to make a cool river running throug my cool medival build
You will need scripts and good one if you want that
sad
Tween size and pos with random dynamic ui and you got it
ah ok
guys ive made a flashstep code it works just fine but when i flashstep it creat a part in my torso is there any way to remove it?
so If I had like a datastore system which saved every 60 seconds for a leaderboard system, and the game had thousand of players, would this cause lots of errors?
are all the descendants of replicatedstorage generated before everything else?
No
If you’re saving for each player. If you save a single key at a time, you should be fine
No, that would be ReplicatedFirst. And it’s really just that those are loaded to the client before anything else. Generated wouldn’t be the right word to use in basically any context for what objects are loaded/rendered first
who have ragdoll system to R6 & R15
How funny you think you are
Lmao
i've created a plugin that automatically matches texture maps and meshparts and assigns them for me. Instead of i'm picking hundreds of texture maps and import one by one.
I made this with Claude AI + ChatGPT idk anything about lua.
just wanted to show
it's okay
If you are looking for animator or modeler or script am here for you
guys is it possible to hide the roblox logo in the top left ?
how do I use DataStoreService
no, you cant hide coreui
DAMN thats cool
could u slide it:)
STRING BOOLEAN 😭
sure
also i have a question
can i sell this plugin on roblox?
the issue with this is super obvious and i don't know why no one else is pointing out your lack of managing the hitbox marker and touched event connection.
youre literally just gonna end up stacking so much connections for the touched event each time the marker is reached, and you fail to properly implement a debounce on the touched event as well
the main person helping u told you ab how to disconnect the connection, but you could still easily run into more issues w this
shut up
ooooo he said shut up
This just feels wrong and I dont know why. Please give me an idea
Guys i need help. If i take screenshot through. CaptureService:CaptureScreenshot can i save it’s id in data store so when player leaves photo will be there?
I need someone who is familiar with web api 2fa auth scheme, I can pay
you cant save screenshots
you can do that?
that's pretty cool
maybe some hacky solution with http service can help you send image data to your own server to store it
but idk im just saying stuff
guys is there a better more convenient way of creating remoteevents or some other shit ud be making more instances of later, than this?
this is a rojo project file
"Communication": {
"$className": "Folder",
"Client": {
"$className": "Folder",
"FishEvent": { "$className": "RemoteFunction" },
"IncShake": { "$className": "RemoteEvent" }
},
"Server": {
"$className": "Folder",
"CaughtFish": { "$className": "RemoteEvent" },
"PauseEvent": { "$className": "RemoteEvent" },
"ReelState": { "$className": "RemoteEvent" },
"RestartEvent": { "$className": "RemoteEvent" }
},
"Client-CancelEvent": { "$className": "RemoteEvent" },
"Server-CancelEvent": { "$className": "RemoteEvent" }
}
oh yeah i forgot abt that
thanks
no
yes
use blink
idk why you'd use bytenet
there r better alternatives
like zap / blink (i prefer blink)
minions
does anyone know why ive got 2 satchels and they function as two seperate invs
Are you using an inventory module?
once you learn them they increase productivity
AI IS GONNA TAKE OVER PROGRAMMING
YOU ALL ARE GONNA BE HOMELESS!!!!!!!!!!!!!!!!!!!!!!!!
He's not wrong
ai taking everything lil bro
cashiers gone
janitors gone
any form of writing gone
mathematicians gone
diagnosing gone
what will not be gone?
construction
automated by ai
humanoid robots building stuff
bro sora 2 released
it's capabilities are otherwordly
(its*)
I just saw it generating a whole fight between goku and saitama that looks exactly like the shows
with only a few weird anamolies
Well until ai becomes self suficient it needs human interference here and there
Cuz without human to maintain the ai system it will eventually collapse
anyone know scripting to where they could help me figure out why a jump/launch orb doesnt work for mobile players in my game
well until then if it happens programmers will not get replaced
Maybe because you made jumppower 0
Or either disabled JumpButton
i didnt write the script it was a commission, but they dont respond anymore to help
maybe because a cosmic particle from space inverted the binary values for jump power everytime you tried testing on mobile

that is some shit that would happen to me
Anyway can anyone teach me what bindable function does
binds a function
yo tell us what the code does firstly
what do you want
I have an orb that when the player goes up to it kinda like sucks them up into the orb and then when they jump the orb shoots them into the air
you can search about it easily roblox documents everything
it works in pc but not mobile?
yes
I already searched but I can't understand
try looking up yt vids
hm are there 2 buttons on your screen?
Just tell me what it does
it binds a function
Like is it like remote event sends something from server to client and client to server
nah, it just uses jump no gui. i asked chatgpt for a fix and it breifly gave mobile players a seperate gui but that was stupid so I reverted.
how about deleting the code under
lua --Handle mobile jump button
and replacing it with this
i finished my plot system
-- Touch (Phone, Tablet)
if UserInputService.TouchEnabled then
local JumpButton: ImageButton = Player.PlayerGui:WaitForChild("TouchGui"):WaitForChild("TouchControlFrame"):WaitForChild("JumpButton")
JumpButton.MouseButton1Click:Connect(function()
triggerJump()
end)
end```
sorry for the intendation lol
indentation
mobile layouts
memes2 shut up
ok replace that with game:GetService("UserInputService")
wanna take that to dms?
ok
ehhh im not falling for the bait nvm
good boy
local UserInputService = game:GetService("UserInputService")
which line, 88?
if not for my reputation I would 🍇 your mother
yeah replace the variable UserInputService with that
player still has an error
replace Player with game:GetService("Players").LocalPlayer
cuz he cant help u hes a dumbass
if youre so smart can you help
no i dont got time for that. i have rage baiting to do
and you suck 🐓
and ur mom suck my 🍆
your dad is a cU1ck
man I will not let a random get to my nerves
anyways hope that helped bye
ur dad is dead vro 🥀
it didnt get good
@vagrant trellis just use gpt
lame ahh
i replace line 7 with this? correct?
i tried that
the red underlines "Player"
help
ill give 1000 robux to whoever can make it owrk
just make a new line above player and put local Player = game:GetService("Players").LocalPlayer
ight
error gone gonna test it on mobile brb
you can actually do it on pc
in roblox studio there is an option for that
where can i contact roblox staff/devs? they published a bug that literally breaks my game
thats what i meant
understood it now thank you
np man
@potent igloo who would win in a fight batman or spiderman
the orbs dont suck me up anymore
pause
any error?
usually they suck you up, and then the issue was afte that mobile players cant jump and they get stuck in them
no errors in output. u sure youre down to?
oh bet
Are u having issues
Does anyone selling a game my buget is 12k ngl dm me !
Best youll get is an obby game
i already got many good games that went crazy viral for u maybe its too low for someone pepole its a lot
I can create a game for 12k for you instead of selling one of mines
12k is like 30 bucks lol
Wrong
u can check in roblox or google before saying this
Mb its 31.96 dollars
Guys is roblox studio weird for u too?
Just did
Its 31.96 dollars
Cause u gotta account for devex tax
if u devex it so its maybe 31 if u buy it is 100
Broski most devs will use devex exhange rates cause unless u dont like money
Why would you even sell a functional game fof 30 bucks
you know some peolple don't have enough robux to advertise there game so they sell there game for 3k or 4k so they can buy ads
Albert einstein gonna sell my game to advertise it genius mobe
Dude be like the kind of person to sell their car for gas money
12k robux best u can get is either obby game or a decent build comission
If someone actually sells a game for that price its either ass or they dont know better
its a lot for other pople than u think
Nah not a lot
Maybe for a 12 year old
guys cocktail isnt a bad word for a game right?
its not misunderstood by roblox right?
Roblox thought you said the first 4 letters of cocktail
what should i use then
Cocktail refers to alcoholic beverages which while not tos violating, needs your game rated for maturity moderate for alcohol references
oh, what name can i use for a multi-effects potion?
Just name it multi effects potion
Drink, Solution, Potion
bad name
Beverage
i mean the name for the potion
Juice
rainbow juice
Well if its a rainbow yes
dang i cant believe im already doing the potions
Maybe name it Mystic Potion?
im almost there finally
Ikr I got it from chatgpt
🤣
What is your game about?
Shut up dude
if this game fails im cooked, i could have made 1600 if i would have worked instead of creating a game with the minimum salary
incremental
Name me one game that have a potion called mystic potion
1600 euros btw
Like all simulators with potions
Alright what about Celestial Elixir that one was made by me
Pretty sure i saw it in a simulator but name originality doesnt really matter when it comes to this
it seems a lil too complicated
Just name it Multi effects potion
Simple and understandable name
Plain name tho
but its not cool
The main thing is that the player knows what things do
Yes but you also gotta give it style lol
Or would you name an orange cat "orange cat"
The name tells u its an orange cat
Is it cool? No
My dog name is "dog"
i can add a text under the name
local DataStoreService = game:GetService("DataStoreService")
local PlayerDataStore = DataStoreService:GetDataStore("PlayerData")
local PlayersData = {}
game.Players.PlayerAdded:Connect(function(Player)
PlayersData[Player.UserId] = {
Euro = 0
}
local success, data = pcall(function()
return PlayerDataStore:GetAsync(Player.UserId)
end)
if success and data then
for k, v in pairs(data) do
PlayersData[Player.UserId][k] = v
end
end
end)
game.Players.PlayerRemoving:Connect(function(Player)
if PlayersData[Player.UserId] then
local attempt, err = pcall(function()
PlayerDataStore:SetAsync(Player.UserId, PlayersData[Player.UserId])
end)
end
PlayersData[Player.UserId] = nil
end)
Is that code good?
yea but id put the default data only if you cannot find the already existing one
also add some checks for the loading
Its okay
It already does that
It first sets a template on the data
Then reads the data saved and updates the template
Which is good in case ypu ever do a data template change you retain compatibility
i usually create a default table outside the funxtion
why are we making our own datastore when profilestore exists
ProfileStore sucks
and copy it if you dont find any data
Yeah i would use a module for that but his is fine
what sucks about it
I actually came to like profile store
You just gotta understand its api
To use its data recovery features to its fullest
It also simplifies some code youd normally have to manually type on datastore
Well honestly I never used it but what even is the difference between profile store and data store service
💀
wrap it up
Nah lmao
Profile store is an extention of data store
Uses several methods to prevent data loss
Ik like what does it do makes it unique unlike data store
its an implementation of datastore lil bro

I just explained
Data store is prone to data loss in case of roblox servers failing
Profile store adds security measures for that
still i'm not gonna use it
for you it doesn't matter because you'll never make a game that gets above a thousand visits
Well I never got 100 visits

Because I just do games for fun and it's just a hobby for me
And I don't want anyone to play it I just play it with my friends
Does anyone selling a game my buget is 12k ngf dm me !
no adonis it’s good
it looks good but this part isnt necessary
if success and data then
for k, v in pairs(data) do
PlayersData[Player.UserId][k] = v
end
end
just simply doing PlayersData[Player.UserId] = data works too
Does anyone selling a game my buget is 12k ngf dm me !
what you do for disabling movement for the player so if he presses move keys he cant move but at the same time MoveTo() is working
or a other thing to use instead of MoveTo
@bleak crag
what does k stand for in this
i know i, v is index value but i never seen k
sorry i'm not that experienced
k is the index
you can just replace it with whatever letter?
i see
tables are a key-value pair based structure, the key is essentially the identifier of the value
bro this scriptin shi got me FIRED UP
yeah i know what the tables do and stuff
was just confused as i never used anything other than i,v
thats fire
that most ppl just do i, v
k for key, or value for v
you use the index*
key and index are the same thing essentially
either terms work
No
okay if u wanna get technical then sure theyre not the same thing
but people know what you mean when u say key or index
it doesnt matter
Wubnup
you call it index when working with ordered array i.e :
local t = {"1","2","3"}
print(t[1]) -- use a index
key when working with dictionary. ie :
local t = {Name = "localscripter", Skills = 400}
print(t["Name"]) -- use a key
key = string index
index = numeric index
not rlly
the only place that distinction matters is like
sql
it makes no difference here since their purpose is the same
yeah, use whatever
entirely synonymous
most ppl call both indices
and some call both keys
i personally just use index for everything
pedantism competition
because you need to define words that you use
its up to u if u wanna be technical, but imo it wont make a difference whether youre 100% accurate in naming or no
concepts that you use
ok so, ill call tables dynamically typed hashmaps then
roblox assistant just told me to do this I think it is time to disable it now
"Door.CanCollide = not Door.CanCollide"
nobody does that everybody just calls them tables
not everyone call them tables
what do you call them then
actually alot of people call them just hashmap lmao
there is no other type of grouped data in lua than a table
But your exemple is really abd
bad*
so my examples bad because its not urs
whats ur point
u essentially called them the same thing just now
no it's not about that
i dont wanna argue over stupid shit but i dont like when ppl are trying to force their ideals on to others
just name things whatever u like
you can call it a key or an index depending on the case, even if its pointless
and write code however u like
where do they have a conceptual & functional difference
you just call a sort of synonymous of table and call it a example
it's not about ideal
it's how it work
follow it or not it's not my problem
i just inform you about the difference
and where it is used
up to you if you want to consider that or not
I told many times it's pointless, but we got different words because you got different cases
i appreciate the info
No problem
anyone else put cuss words in their script
Does anyone have any good project ideas for an intermediate scripter for practice
coding an rpg game
oh wait thats not the whole thing
I can send all that I have rn in dms
unless you mean actual games and not just challenges
Send me pls if you can thanks.
hey is it possible to stop my npc's from jumping off a ledge and make them just wall off it and fall?
cause for some reason when getting down he is jumping 🙏
anybody know about how battlegrounds games make there hitboxes do they use the defult way just detect player inside hitbox or do they make custom boxes for the players
That’d be awesome if it worked like that 😅 — but unfortunately, you can’t download RAM.
RAM (Random Access Memory) is a physical hardware component inside your computer. It’s made of integrated circuits (chips on sticks, usually DDR4/DDR5 modules), so there’s no way to get more by downloading software.
howd u make the cursor follow your mouse
anyone here script and do ui
custom boxes for players + hitbox predictions + custom character replication
guys what should i make these guards do when there owner dies they still attack or make them fade out
Mf using the 200ms latency ram
looking for a team
can anyone help me with a level up system
So specific.
wally last release according to github is June 2023 - you all still use it?
yes or no?
Guys somepeople can tell how can i use OOP on my codes?
how do uninstall something installed with aftman
If you need to ask this, you shouldn’t be using OOP
only use oop if you're objectively oriented
OOP is when you find a bug and you say "OOPs"
use oop if you need data relative to objects to be in one centralized area per object
an object is much more of an arbitrary term
cause an entire inventory can be an object
random = math.random(1, 2)
if random > 1 then
print("youre lucky")
else
print("youre not")
end```
guys dont steal my code
so many skiddies here
What if
We had strongest skid of today vs strongest scripter in history
can someone helop me with my code
everyday in code help
100 skids vs 1 gorilla
in roblox profiles or what?
skids win
are there projects related to reverse engineering/cheats/AI/kernel level things/securities/low-level security etc..?
Who here wants to join our dev Group? We help each other build & succeed.
if you're looking for examples, you should probably narrow your scope down a bit
why would you ask this in this server
look up guided hacking anyways
why did u call it 418941691489941 ??
cuz thats the ID
ah like that

Here you go
ty
fun fun
what code this ??? phython ?
yes python
How do i import the avatar of ROBLOX player who joins the game into a dummy in workspace
it should be visible locally only for each player and not be overridden by other players character?
abyibe wanna buy my roblox brainrot merg simulator it has 50ccu
Make a table
Hey
I love you
You too
You make me happy
i wanna see some code
how would i make a dictionary with some numbers as keys go in order?
use ipair in loop it will go through order
its a dictionary it has other stuff but still numbers so ipairs just doesn't run the fn
hmm
You only want it to go over the ones with number keys?
and get it in order
Then normal iteration + if statement checking whether key is number
...
Also your code sucks if thats what you need
nah you just too slow to help me
Give me input and expected output
convert it to an array
with the dict keys being the array values
guys how long does it take for scripter application to get checked
Show us what you posted we gonna check it for ya
You gonna get answer sooner
Its like 2 days ish
its bin 2 days
Sometimes takes longer
I think u can open a ticket abt it after 48 hours
@cinder basalt i m back
Who are you
yesterday
Oh its u

Please keep your code away from me
how do u guys script tool animation
Humanoid.Animator:LoadAnimation(AnimID)
ty
And then play it and stop it as needed. Make sure to stop it after playing it
okay ill let u know if work
Yo i got a really good game idea i just need another good scripter to help
we can split profit if you actually do as much work as me
I already did that and it worked but when I join a place with the same datastore it doesn't save or load the data so I did that so it's necessary
watcha thinkin
you experience w lua
ya
What
what would run service be used for? specifically heartbeat
Also just another stylistic choice but u can do
local success, data = pcall(PlayerDataStore.GetAsync, PlayerDataStore, Player.UserId)
When I did "PlayerData[Player.UserId] = SavedData" It worked but when I join a place and use the same datastore for the main place it doesn't either save it or load it so I used what you call is unnecessary
Fast loop
Wait so
No
What do you mean by "No"
U can bind certain functions to the task scheduler
Its not just a fast loop it has more functionality
I know
whats the point of using it for a loop if you can use while true do
oh wait
nvm
You can use connection event on it and it's very useful
Like Connection = RunService.HeartBeat:Connect(function() print("Hello") end) and when you want to stop that loop type Connection:Disconnect()
Used alot in building, Placement system
Ud use heartbeat for loops relying on accurate timing
doesnt it also help with performance issues if someone has a bad advice
it would like perform different for them
It doesn't help or reduce player performance
Because of delta_time, which tells u when was the last loop called
i thought when using run service it is based off the users device performance
i worded it weird i didnt mean to word it like it helps the users performance
It would affect player performance if his device is crappy
I mean delta time is important for few things
I use it a lot
alr
i think i might not be using heartbeat until i know more about it
and how to use it properly
There's prerender, heartbeat, preanimation, prestep, steps and alot
Like RunService is not heartbeat only
Please tell me how you use it
im watching a video about run service but im still a lil confused about it
and how to properly use it
ill just look in the dev form
thanks though
Np man
anyones hiring a scripter?
There's a channel about people looking for scripters
And it's bullsht I talked to 16 people looking for scripters and No one replied at all
are u?
Nah I'm already a scripter
oh
hahaha its bc of chatgpt xd
Wdym

Dawg just reply
.
I hope u havent actually
💀
I will screenshot it for you
what?
Uhh, ig its when i feel its appropriate, like for things that dont need fixed yielding idk
I cant think of an example rn
I meant to say for the kosaks27
I used delta time for math operations like velocity etc
M/s * delta_time and i get the accurate value yk
I only know that it's used for realistic camera movement
Like some update loops that fire when the task scheduler is available without disturbing it and keeping it like stable
Yk
why use remote function to get a client side thing when remote event can do that?
'local dataStoreService = game:GetService("DataStoreService")
local codeStore = dataStoreService:GetDataStore("CodeStore")
local coinsStore = dataStoreService:GetDataStore("CoinsStore")
local httpService = game:GetService("HttpService")
local codes = {
["100Coins"] = 100
}
game.Players.PlayerAdded:Connect(function(player)
-- Create Coins value directly under player (not leaderstats)
local Coins = Instance.new("IntValue")
Coins.Name = "Coins"
Coins.Parent = player
-- Load coins value from DataStore
local coinsData = coinsStore:GetAsync(player.UserId)
if coinsData then
Coins.Value = coinsData
else
Coins.Value = 0
end
-- Load redeemed codes from DataStore
local data = codeStore:GetAsync(player.UserId)
local codesRedeemed
if data then
codesRedeemed = httpService:JSONDecode(data)
else
codesRedeemed = {}
end
game.ReplicatedStorage.RedeemCode.OnServerEvent:Connect(function(plrTriggered, code)
if plrTriggered == player then
if codes[code] then
if not table.find(codesRedeemed, code) then
table.insert(codesRedeemed, code)
Coins.Value = Coins.Value + codes[code]
end
else
print(code.." does not exist.")
end
end
end)
game.Players.PlayerRemoving:Connect(function(plrLeaving)
if plrLeaving == player then
-- Save redeemed codes
codeStore:SetAsync(player.UserId, httpService:JSONEncode(codesRedeemed))
-- Save coins value
coinsStore:SetAsync(player.UserId, Coins.Value)
end
end)
end)
'
How can i make this thing work because i cant redeem the code
YAY
lookng for sm1 sweat shop scripter
does anyone know a method/ have a module for springs to behave with no diffrence on diffrent fps?
because you’d need two remote event calls; with a remote function all you need is invoke
and calling a remote function yields until the value is returned
I can script that if u mind
hello can someone pls explain to me "GitHub link is permitted (use proper file extension). Repositories are not permitted."
the repositories are not permitted part
what do i do if the code has multiple scripts
is setmetatable just a more advanced version of a table or what
backend and frontend and some packages
metatable is a regular table that is attached to another regular table which will then override default behaviour for the table it attached to
but they lowk useless since you can just use normal functions
only real thing you cant do that metatables can is __mode
whaaaa
ok functions are useless too, just make boilerplate code
i say i agree, layers of abstraction are pointless, lets infact create games in assembly from now on
Ahahahaba get it because swift

why doesnt this work guys
There is like a thousand reasons, debug by printing before and after every if and then statement
@slender minnow
Bruh
im like 0 at scripting i just wanted to make a simple game
k
Maybe you are just not at the target position
Because its a vector and not a block so you cant really know where it is
i think i am
1 sec
did i do that right
Loking for a dev who can work on my game paying robux btw
"paying btw" 💔
Make a post #scripter-hiring
idk how
Look at the channel description
If u need a builder check my bio! Really cheap!
wrong channel
in the for k, player in Players:GetPlayers() you inserted a player parameter to onPlayerAdded but there is no parameter of that in the global scope
does roblox have any rules against using their coregui
Also why are you connecting a function for when the player joins to another functions for when the player chats?
No not really
Remove the numbers and parenthesis add a variable to the beginning
what to do if ur application forscripter role hasnt been checked for 4 days
dont think so, you just cant access the service
but ui itself i think should be fine to use
brawldev
Do not advertise your services in chat.
because players dont spawn 1000 z from 0, 0, 0 unless u set a spawn location there
Any tips on how to code lua I’m trying to learn
are you confused with anythign specifically?
what is confusing to you?
Just code in general idk what the language is
roblox is in luau but that isnt too important to know
Ok?
can you print "hello world" into the console
Yes
ok so do you know how variables work?
yes you should watch a tutorial on variables then
but basically a variable stores information to be used later
Okayyy
?
for example i can store a number
local number = 10
by watching tutorials
Have you made a game
yes but none of them are very good in my opinion
But what does thst number do
Can I try
I’ll play it
it stores it so you can use it later
for example now i can do
local number = 10
print(number)
and it will print 10 in the console
Oh okay
Can I try it
What’s it called
i would say most of them are very bugged or unfinished and maybe only 2 of them work
Dev forum, tutorials, books, practicing, documentation.
ye thats what i mean
would anyone here be interested into testing a cursor for roblox plugin
new to roblox development
anyone wanna tell me whats genuinely stopping me from just eating roblox's storage with datastores?
like whats stopping me from just making a loop that doubles a value over and over
Roblox gods
whats the best way to build a portfolio as a new scripter? i think im capable at helping code games but i don't know where to start in order to show people that i'm worth hiring
there is limit of 100 MB iirc
and they will probably rate limit u eventually
or worse if they find out what u doing
can someone please help with this im trying to make my explosion bug but nommater how big i put it in my script it just stays the same my scrpt (local explosion = Instance.new("Explosion")
explosion.Position = hitbox.Position
explosion.BlastRadius = 100
explosion.BlastPressure = 500000
explosion.Parent = workspace)
they variable
I can why?
there are a lot of plugins to help you make cutscenes unless you want complex cutscenes use moon animator and then play the animation from it
im just using raycasting man
you'll have to read the moon animator file and play it
wait, what do you mean by spasm?
are you updating the cup even though the mouse hasn't move yet?
why not use mouse.moved and put the logic there?
I don't know if there's even mouse.moved, but if there isn't maybe try storing the last position and comparing to the current one and if it changes by a set value then update the position
Also, looking back at the video, it could just be the glass material
it's pretty janky
bro i tried
the plugin always dosent work for me
please help me out ill pay u
its so simple its js cutting to certain areas
how much?
alright, I'll help
bro ty
can you show me images in dms?
go to dms
I would use PostSimulation (the new Heartbeat)
Anyone can help me with global chat
how do i test teleport service if it dont work in studio and now the exp in roblox need to be verified so i cant play it for test stuff
you can play your own games
its not a replacement for heartbeat, its a different event.
never fucking mind
weird, i hope internally its just an alias
it's not
they have different behavior
heartbeat is the very last resumption point after delayed threads
post sim is before delayed threads
anyone here can help me with global chat?
hey
so im doing air combat
and uh
i wanna know if what i did makes sense
i use add a line lv t opush them up
then i use another lv that just counter acts gravity for a short duration once they stop going upwards
does that seem smart? or is there a better way
Hi guys
Ok
@sweet herald can you ping rob89eng12 for me
Why
Because its important
Tell me why
Hi
Can someone here optimize messy code
does anyone what ui hover sounds devs use for simulators?
bro why my scrip no work:
local when player press button spawn cheese burger every 2 seconds
local spawn one when they walk 2 time
SHUT UP
How do I begin learning Roblox coding?
watch tutorials
does anyone know why it says this when i try to insert rblxm Do Menu Insert->Service, to insert a Service (x22)
Don't learn
Copy code
Use AI
Be a skid
And join the dark side.
Okay!
anybody here buy/invest in games
What would you define to be a delayed thread?
A delayed thread
ezzz
hi offvault
My fav glazer
❤️
@glossy totem obito
1111111111111111111111111111111111111111111111111
yall got any game ideas, im lost
Dms i had multiple game ideas i broke down
i gotchu
js think bruh
a thread yielded by task.wait or delayed ysing task.delayed
Can anyone help My walk animation and idle overlap and make my shift to run animation glitch
did you set the animation priorities correctly
Idk how to
That's why I came here
theres two ways
when you load the animation on to an animator it returns a track
you can then set the animationpriority of the track through a script
you can also set it by going into the animation editor and setting the animation's animation priority in the settings (click the 3 dots) then publish the animation again to roblox
Ok...
some people are making like $10k/month with ai generated saas apps
Anybody here a programmer I got a question
How did y’all know what to type in the blank
When starting a project
wdym
Like how did y’all know what to type in
hey guys i need help i was trying to remove the display name from chat and looked at a dev form but i made a local sript into starter player scripts and it didint do anything script(local PlayersService = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local function onIncomingMessage(message: TextChatMessage)
local source = message.TextSource
local player = if (source) then PlayersService:GetPlayerByUserId(source.UserId) else nil
if (not player) then return end
message.PrefixText = string.gsub(message.PrefixText, player.DisplayName, player.Name)
end)
can u senda. picture of what you mean
or explain more detailed
i don tthink it asks you for anything when u make a new game
How did you learn how to code
As a beginner
dev forms are your #1 tool
you should watch a tutorial on youtube or other sources 👍
The Indians ain’t helpin
I’d explore
Like do y’all just remember what to write or is it something else
can someone help
i was trying to remove the display name from chat and looked at a dev form but i made a local sript into starter player scripts and it didint do anything script(local PlayersService = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local function onIncomingMessage(message: TextChatMessage)
local source = message.TextSource
local player = if (source) then PlayersService:GetPlayerByUserId(source.UserId) else nil
if (not player) then return end
message.PrefixText = string.gsub(message.PrefixText, player.DisplayName, player.Name)
end)
I learnt coding by myself
just myself
Didn’t watch YouTube tutors
You didn’t write the function down
im dumb vro🥀
look at scripts in free models or visit dev forum and try to understand them
one tip i would say is that its not mainly about remembering and more about knowing how things work
and the more practice u get it will start to make sense
if you don't technically save the player id in datastore but say a hashed version do you still get hit with right to erasure? Or does it not matter there since its not identifiable to the player id?
It’s the same as learning any other language. You just need to learn what a word means and what it does. It’s not memorization exactly, at least not wholly. It’s learning and understanding the language
https://create.roblox.com/docs/en-us/scripting
- check the other two links at top of page in the green
Why would this matter exactly? If the player isn’t playing the game anymore (doesn’t exist) why would you even care about saving their data?
And right to erasure would always apply anyways, it just depends whether you comply with it or not
Any1 here accepting precentage?
🗣️
What do games like tsb do for making players stuck together for animations ive been using motor6d welds but problem is when one player dies while welded the other does too
Nvm i figured it out
per client or wha? meh ill look into it, thanks
hi
i had to spend 2 hours to understand finally functions witht parameters , areguments etc... hope other basics aint harder
😭
How much would someone solo coding an entire dungeon game cost in robux Comms
3 dungeons
A lobby
Npcs
Gui
Combat
M1s
Mob logic
Boss logic
Basically al the stuff in dungeon quest for example
Can someone give me a reasonable estimate price
No strict working times as long as you get stuff done as we build it and stuff
Who are you😭
10k robux'
or 8k
at the minimum
Games like this people actually offer 100k im not even joking
A lot
How much
500k maybe
How much would ppl want for it
Depends
Yea what 🙏
It is what it is
