#code-discussion
1 messages ยท Page 167 of 1
its different
if you want good anti cheat
make employment ui
and make the error message
Get a job
RemoteHandler:FireServer(remoteName, args ...)
check blink out
blink
i am currently working
on normal m1s
lightattacks
thhen i will be optimizing and fixing allat stuff
then i will work on crit
dash
dashing is easy and sprint and allat stuff
will focus on making skill framework
which will be easy
and after that will work on aerial lightattack and lunge
yeah i mean its just data driven
then will do the prog
๐คท๐ปโโ๏ธ
i like to make my own
idc about much only if i fiind a problem
its like one script for a whole mma grappling system where there is take downs grappling ground and pound its combined one combat tool is like 1500 lines
am just flexing the lines xd
hmm
hmmm
one of many
blink is a bit more advanced than the one im using currently
i basically editted the networking module to fit my game
try it out
zamn
nah i cant really redo my whole backend but
my script isnt finished yet tho ๐
i am so tired anyways
i will now focus on improving my scripts
later i work on addingg more
im basically done with my melee combat
i just made hitboxing
i just gotta fix my damage calculation logic
but why do u want to reinvent the wheel
for buffs and debuffs
just use some module no?
reinvent the wheel?
i hhave a lot of hitboxing methods
so u gotta build custom ones?
yes it's not that hahrd
yk i used to use a blockcast from my character's hrp
back when i started this
cus i thought it was a rpg
and it wouldnt matter
LOL
but i realized i can just instead use raycasts and give blocky hitboxes to npcs instead for accuracy
i use partsinbox
Does anyone here know how to script good
ye
i think most of the people here can script good
Does anyone here have a Cross-Server Party System optimized for large quantity of players I can just buy off of them? We made one ourselves, but the issue is its scalability, which isn't able to handle more than 200+ active users at once creating & deleting parties constantly.
i think u just need a good networking backend for cross server
since ur main issue seems to be traffic
or is it something else? the reasons of ur code failing
how did Ink Game on Roblox created ip ban
Thatโs just the new ban thing from Roblox
Oh yeah
they added banasync
Yea
ty
who wanna join my community for making simple roblox games
e
what functions can i utilize to make this:
server hub who teleport's player from start place to destination place (same universe)<-- done
teleport's player's to reservedserver's of the destination place. <-- done
make destination reservedservers send data such as
PlayerCount
Friend's in server (example we're friend's and im in one of the reservedserver's, it will display my username and the server im in.)
Server Running Time.
And the startplace should receive and display that data?
what functions can i utilize?
guys for 50 robux who can fix a script
Hey guys, so I made my whole script inside a Touched function. I have many variables I need to get from there so I can add on my when humanoid dies event. How can I bring these variables to the humanoid died event?
The variables are located in :
Server Script > Module Script > Function > Function
The died event is located in the Server Script
Move them out the code and assign them from the code.
Looks nice.
One message removed from a suspended account.
One message removed from a suspended account.
major upgrade to before
lol
Learning Roblox scripting shouldnโt feel overwhelming. Tutorials are scattered, and asking for help isnโt always easy. Thatโs why we built BulletLearn, your AI-powered tutor that actually teaches you to script like a pro. โถ Here's your work if you don't use BulletLearn: โถ Here's the work that you could do if you learn using BulletLe...
One message removed from a suspended account.
One message removed from a suspended account.
i need to send a link but im lvl 1 where do i send guys
yo anyone know how to add like velocity on a part when you spawn it like i want that when i spawn a part its like launch with force yk what i mean
who needs scripting help dm me
can anybody help me fix or improve my code its kinda broken
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local characterLoader = {}
function characterLoader.loadCharacter(player, characterType)
if not player then return end
local equippedName
local folder
if characterType == "Killer" then
equippedName = player:WaitForChild("EquippedKiller").Value
folder = ReplicatedStorage:WaitForChild("Characters"):WaitForChild("Killers")
elseif characterType == "Survivor" then
equippedName = player:WaitForChild("EquippedSurvivor").Value
folder = ReplicatedStorage:WaitForChild("Characters"):WaitForChild("Survivors")
else
return
end
local avatarFolder = folder:FindFirstChild(equippedName)
if not avatarFolder then return end
local newChar = avatarFolder:FindFirstChild(equippedName):Clone()
newChar.Name = player.Name
local humanoid = newChar:FindFirstChildOfClass("Humanoid")
local hrp = newChar:FindFirstChild("HumanoidRootPart")
if not humanoid or not hrp then
return
end
if player.Character then
player.Character:Destroy()
end
newChar.Parent = workspace
player.Character = newChar
newChar:WaitForChild("HumanoidRootPart")
task.defer(function()
local cam = workspace.CurrentCamera
if cam and humanoid then
cam.CameraSubject = humanoid
cam.CameraType = Enum.CameraType.Custom
end
end)
if avatarFolder:FindFirstChild("WalkSpeed") then
humanoid.WalkSpeed = avatarFolder.WalkSpeed.Value
end
if avatarFolder:FindFirstChild("Health") then
humanoid.MaxHealth = avatarFolder.Health.Value
humanoid.Health = avatarFolder.Health.Value
end
end
return characterLoader
is there an error?
theres no error it just doesnt like pos the cam correctly
like it changes the char but
the cam is at the original position of where the character was before their character changed
is this something cool? I wanted to make it so roblox players could add songs to my own spotify playlist for jokes
thats cool
you should actyually do that
uhh
would it be tos???
I would have to do the cencorship on the song names or I would get nuked
true
What is this unemployed activity
bro imagine listening to music in 2025
No one makes good songs anymore
what does local means in roblox studio?
does anyone know how to enable this inventory button in studio?
i think its satchel on roblox devforum its custom inventory
ye
who wanna join a community for making simple roblox games
does anyone know how to put dev products in a game if so dm me
guys is there a way i cna open a published version of my game instead of the newly edited one?
unless you have a backup i doubt it
we getting paid?
Yabadaba
use a dictionary instead of an if statement for equipped name and folder
if the character type is not in the dictionary then return
also like do Player.CharacterAdded:Wait() instead of newChar:WaitForChild("HumanoidRootPart")
for what joining a server
ye if we help u say right we getting paid?
also use
Player:LoadCharacter()
since destroying the character normally doesn't respawn it automatically
i found this showcase on yt and i rlly liked the button sounds can someone please find the sounds for the buttons!!๐ฅ
block collection sound look it up in tb
whts tb gng๐ฅ๐ฅ
nvm
i still cant find pls give id
soon
??????
just give the id pls
bro left you on a cliffhanger ๐
wait gng can someone give me the id tho
let me try find it bro
lol
ok thx
Tmrw I do it
y not today
im working on knockback in my combat systems and theyre usually pretty choppy or feel weird, anyone have any advice for scripting smooth knockback?
are u doing it on server?
the knockbacks
not for joining a server ur getting paid
For doing work I mean mb
yeah but my dev spots are full
i js need members
u should play it on client then replicate it for all clients
and just make server update the positions
it should feel smoother
as a security measure, add sanity checks that checks if the knockback distance is even sensible or not
and ur done
thank you!
wait so can someone find the sounds for the buttons in this video pls
who wanna join a community for making simple roblox games
me
function RoundSystem:AssignPlayersToChairs()
local players = self:GetActivePlayers()
local availableChairs = self:GetAvailableChairs()
players = self:ShuffleArray(players)
availableChairs = self:ShuffleArray(availableChairs)
self.assignedChairs = {}
local assignmentCount = math.min(#players, #availableChairs)
for i = 1, assignmentCount do
self.assignedChairs[players[i]] = availableChairs[i]
end
return self.assignedChairs
end
function RoundSystem:TeleportPlayersToChairs()
for player, seat in pairs(self.assignedChairs) do
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local character = player.Character
local seatCFrame = seat.CFrame
local offsetY = 2.5
local targetCFrame = seatCFrame + Vector3.new(0, offsetY, 0)
character:PivotTo(targetCFrame)
if character:FindFirstChild("Humanoid") then
character.Humanoid.Sit = true
seat:Sit(character.Humanoid)
end
end
end
end
function RoundSystem:GetAvailableChairs()
local availableChairs = {}
for i = 1, 6 do
local chair = chairs:FindFirstChild("Chair" .. i)
if chair and chair:FindFirstChild("Seat") then
table.insert(availableChairs, chair.Seat)
end
end
return availableChairs
end```
Hello, so this is my current function of the teleporting to chairs system is similar to breaking point however the teleport is inaccurate and it doesn't even seat the player it tilts and its very buggy.
Looking for scripter to help fix two bugs in my game it's easy bug but I am not able to fix it my game is almost done
Please dm me if any scripter is free I can screen share so it's easy for you to understand
who wanna join a community for making simple roblox games
Payement ?
You like it ???
to join a server
nop but for make the game you give money ? ( robux )
So anyway wants to script the photo shoot scene from squid game for quick money
How much?
rate the syntax its peak
nah its peak
def not inspired by ANY popular languages
How much u want
5k robux?
USD
Not taking usd
2.5k robux and we got a deal.
Deal
Alr can I msg you later in dms coz I am currently going out
who wanna join a community for making simple roblox games
guys how can i make โJoin group + like the gameโ for free rewards?
This is a good system ?
tysm
who wanna join a community for making simple roblox games
who ever need a anti cheat hit me up โ๏ธ
made this today
sick
anyone down to make games togethere
same pfp brochacho
oh thats sick
What can I say Dexter is peak
real
2.5k robux for a quick project isn't that bad
Icba to check what the task was
it's a bit laggy..
guys, if i replicate a gui from a local script into player will it be accessible from server?
who wanna join a community for making simple roblox games
Ty
Ty
oh thats sick how do i do that
i meant the ui only lol
like the bar thing moving
thats all
hum yes Script AND Ui
tween
but tween has an end part
end Udim2
idk if u get what i mean
do you just repeat the tween?
yes wait i check my script
oh alr
why
cuz if the game fails then alls over
true but im advertising with 10,000 robux
its a risk but it can pay off
sry I meant 100k
still
wdym
If it is well made people will like it
I am the only guy to find that 10k is a lot
do you know how to script
ok good idea
its $100
Yes
do you want to make a game with me
what game ?
Its a shooter
not in dev ex
true
shooter game
bruh no sorry i don't like shooter game...
no I didnt
ok its alright
How do I post a job in the script hiring
run /post in cmds
who wanna join a community for making simple roblox games
where would i find scripting work for small jobs, to increase my portfolio and earn
rodevs if you are lucky
lol
hai guys, i had some problem, idk its within my code or not, but the problem is, i try to make some system that u collecting a coin with some radius given. My main account can do that, in roblox studio or roblox player, but my friend account, my other account cannot collect the coin. Do someone had some ideas?
who wanna join a community for making simple roblox games
get out
check ur datastore stuff
Did you publish to roblox under the file menu in top left corner?
Just make own projects or copy others
yo guys im a new coder, just learning
local Player = game:GetService("Players")
local PlayerStats = {}
local function StatsOutput(player)
local stats = PlayerStats[player]
if not stats then
return print("No stats found!")
end
print(`Player: {player.Name}`)
print(`--> Coins: {stats.Coins}`)
print(`--> Level: {stats.Level}`)
print(`--> Inventory: {table.concat(stats.Inventory, ", ")}`)
end
Player.PlayerAdded:Connect(function(player)
local NewStats = {
Coins = 0,
Level = 0,
Inventory = {},
}
PlayerStats[player] = NewStats
StatsOutput(player)
task.wait(5)
if PlayerStats[player] then
local GainedLoot = {"Wooden sword", "Health Potion", "Basic Shield"}
for _, item in ipairs(GainedLoot) do
table.insert(NewStats.Inventory, item)
end
NewStats.Coins += 50
StatsOutput(player)
end
end)
Player.PlayerRemoving:Connect(function(player)
PlayerStats[player] = nil
end)
what do u guys think
Any coder available to help fix a small big @ me asap
Cool
guys i really need help in make a door animation like a door for a crate to open
who can do it pls quick
i will pay him 50 robux
add a datastore to save their data when they leave instead of deleting it
what functions can i utilize to make this:
server hub who teleport's player from start place to destination place (same universe)<-- done
teleport's player's to reservedserver's of the destination place. <-- done
make destination reservedservers send data such as
PlayerCount
Friend's in server (example we're friend's and im in one of the reservedserver's, it will display my username and the server im in.)
Server Running Time.
And the startplace should receive and display that data?
what functions can i utilize?
Icl 50 robux aint enough for a animation
and saying โpls quickโ wont make animating faster.
Literally read the fucking documentation
Its all in it
literally stop watching trump sigma edits
messagingservice memorystoreservice
local module = {}
module.__index = module
function module.Create(player: Player)
local self = setmetatable({}, module)
self.Player = player
self.Ammo = 12
self.SecondModule = require(game.ReplicatedStorage.Gun)
return self
end
function module:Print()
while true do
task.wait(1)
local newAmmo = self.SecondModule:Shoot(self.Ammo)
self.Ammo = newAmmo
print("Current Ammo:", self.Ammo)
if self.Ammo <= 0 then
print("Out of ammo!")
break
end
end
end
return module
what do u guys think
dont use metatables
my cats
๐ญ ๐ข
false icl
saw a guy once get reviewed by another guy, you saw their app and you done grabbed their role and threw it in a volcano
๐
I go over every single application since I became AR*
๐ข

๐
I was expecting a crashout already
yo, mvntau how do you get the dev forum member role?
To obtain any of the 2 DevForum roles, you must first have the respective Trust Level on the DevForum website.
Secondly, make sure your ROBLOX account which has the right Trust Level is linked to your Discord account through HiddenDevs' website.
After, make a "General Ticket" through the /ticket command; follow the prompt and add in the description that you wish to obtain the role(s).
The two DevForum Trust Levels are "Member", and "Regular".
Common Misconceptions
Linking your DevForum profile in the ticket
We do not use this link, instead we use the username of the account linked to your HiddenDevs account.
Requesting without Trust Level
You must have a Trust Level displayed on your profile, if not; you cannot get the roles
For more information visit the DevForum FAQ
here
ah, ty
y
they are slower than normal methods and its slower the more keys you have because it has to search the entire table first. not too mention its rather ugly and why use weird features to replicate oop if you can just use structs or function references inside tables?
so it makes data stores slower?
what
so you should never use oop?
no, you can simulate oop without using metatables
how exactly?
if this tech had no purpose then why would it be added
im kinda new to oop but i have only been using meta tables dont know of any other ways
function references
basically
when you assign a key in a table to a function, it passes a reference to it instead of duplicating the entire function. this way its still effective for doing oop
you can also just
have a utility library with functions for manipulating your data structures
like for example the buffer library or string library
your passing by reference and not value essentially
where you dont attach any methods to the object and they only contain data
yes
this is actually the most efficient method of โoopโ. least memory usage and fastest methods
?
you dont need multiple copies of functions
like you have a class
unless you are overloading a function or its polymorphism type shi
yh if you need to override
in which case you can just add behaviour to simulate this
you can also use types to do function overloads and just use the same function
by making an intersection of 2 function types you can create an overloaded function
is this what most people do?
no
rah
its a little more effort but its less shitty and faster
its similiar โoopโ method to what is used in C
like the structs fake oop
aight ill look into it whats it called so i can learn it
basically the exact same
when will roblox add an actual oop
wdym whats it called
it already exists technically, the paradigm exists for luau without the actual features and it does exist in robloxโs game engine with the instance classes and whatnot
.
well it doesnt really have a name. i just meant like this:
function declaration
instance.key = function (function is cached, new one is not created)
looking for a scripter to do a basic incremntal game will get percentage and robux
whats a incremntal game
cookie clicker
r u deadass
-like
oh ok
hes liveass
nice
why make bad code on purpose though?
it is an objectively worse way of coding
its standardized because skidding is normalized
straight bars
kind of but my point still stands, it is an objectively worse way of coding
why use the worst method of oop when there are better methods
yes
guys what should i make wihth only a part im 1 week into scripting
theres no reason to use them. the only use for metatables is when exploiting
no, you can use function references. or structs fake oop as i said. and you can implement inheritance pretty easily too. you can implement polymorphism too actually
probably because you are using metatables
access what? and wym expose the base class? that is the point of inheriting from it
local DragSystem = Drag:WaitForChild("DragDetector")
local Higlight = Drag:FindFirstChild("Highlight")
DragSystem.MouseHoverEnter:Connect(function()
Higlight.Enabled = true
end)
DragSystem.MouseHoverLeave:Connect(function()
Higlight.Enabled = false
end)``` my first drag system
there is a way to achieve private fields pretty simply as well. and how do you expect to implement this with metatables? you will still be able to access it in the metatable
.Sides will still show up in intellisense im p sure
tuff but id probably do
local Triangle = setmetatable({}, {__index = Shape})
Triangle.__index = Triangle
you can just play with custom types to achieve better. you can create a type for private members and then a type for public members then return the public type from constructor
and then dont use metatables obviously
does anyone here know how to use IK and procedural animation? i am so confused over it, making a horse but it wont move
does anyone have good recommendation on learning Lua for beginners?
Rate 1-10
rate what
i wanna ruin your dreams so ima tell u that theres like 100000 of these games
then why are you trying to make it
reading comprehension is dead
dont use complex words please
yo any1 free test my game real quick plss
what game is it
dm
check pins
thank you
Anyone know how to make it so that a certian team spawns with an item? Ive been stuck on this for top long๐
Too*
Can yall tell me how you organize your code or if you use any frameworks or you can recommend using them
modulescript
require it twin
guys how do i invert a camera view frfr
made this viewport mirror
issue is i am inverting viewport camera view by setting R00 to -1
that causes some
issues to say the least
Like the character will appear inside out
any other way to invert the camera view?
roblox isnt 4d yet
well i mean doesnt change the fact its appearing inside out
so i mean if setting R00 to -1 isnt a way i can invert the camera view
without fucking up generally everything else
then what is
I need help - whats the best way to learn eg who is the best on yt or any websites that help with practise , thank you
like i need actual advice
sa
eg?
yt people dont teach the best stuff
but i would recommend sleitnick and suphi kaner
also docs are great
wtf is eg :(
oh, it was e.g.
I'm stupid
I thought it was a word, and he was asking to learn "eg" ๐ญ
sup
What is that a website?
youtubers
who scripts?
does anyone have a basic script for vfx?
is it some kind of russian yoututber
almost anyone talking here?
I donโt think any of them are russian
https://www.youtube.com/@5uphi
https://www.youtube.com/@sleitnick1
Hey my name is Suphi and I'm a developer and on this channel I will be sharing tips tricks and tutorials and also sharing my projects that im working on
Discord: https://discord.gg/bEn49K5JUt
Patreon: https://www.patreon.com/Suphi
Donate: https://www.roblox.com/games/7532473490
anybody wanna make a game with me? dm me if you want to
Money?
how do i give a r6 dummy default anims?
I know but like how do i edit the actual code in a different script
how do I autocomplete this?
yo why when I create a part set to HRP's position, fire a remote to the server and create another part set to HRP's position there's a significant displacement between the two parts? I thought the character physics replicating to the server took ~Xms (ping), so when I fire a remote event which takes X ms to arrive, the HRP's position should have been updated to the server no?
Huh
Just do any variable
The variable will be the player
should i make steal a labubu
Like 70 copies of that game already exist
whats better for knockback? applyimpulse linear velocity or body velocity?
i use 2 module functions for it
one does a parabolic arc type of knockback and another is just impulse
body velocity if u wanna manipulate the path
mind if i see t he parabolic one?
guys is there any way i can make a global leaderboard using profilestore?
are you asking how to do it or if its possible?
both actually
just give me a pointer i'll figure it out, just discovering profilestore and yeah wondering what it can do
not in studio atm sorry
do you know how to use profilestore?
np
yea i've set up a basic data saving framework with it to play around a bit
atm was thinking about just making an ordered data store that just saves and leaves the loading to profilestore
just wanted to know if there are better options
i really like the way profilestore handles player data, i find it quite elegant so that's why i attempt to keep it as the main data handler
indeed
why do local scripts and module scripts run in different environments
hdy guys handle getting attacked midway through a attack in a combat system?
does anyone know how to make a global restock shop like the ones you see in games like grow a garden etc where the restock is the same across all servers?
local only runs on Client, modules can be accessed from scripts and local scripts and are in replicated storage
How do people make smooth vfx like synced with the weapon's path or whatever
im having a weird issue right now
Nvm
Ehm
Idk abt vfx
Iโm abt to get a poem from Nxen
im initializing my module in a local script and it connects an event that uses a table assigned in global scope but when other modules try to add stuff to that table it adds it on a different environment from where it was initialized, and the event never uses the elements added to that table
environment for module script is itself so that you can require relative modules
yea im just not sure how to get around this
u use require all the time and correct?
show code
local OnCharacterHooks = {} :: { CharacterHook }?
-- adds the hooks in another environment
function Module.AddCharacterHook(Hook: CharacterHook)
table.insert(OnCharacterHooks, Hook)
if Player.Character then
task.spawn(Hook, Player.Character)
end
end
function Module.OnCharacterAdded(Character: Character)
Character:AddTag("Player")
for _, Hook in OnCharacterHooks do
Hook(Character)
end
end
function Module.Init()
-- the init was only called in another environment, so it never gets the hooks, and the hooks never get called
Player.CharacterAdded:Connect(Module.OnCharacterAdded)
if Player.Character then
task.spawn(Module.OnCharacterAdded, Player.Character)
end
end
this is pseudocode
environment not scope mb
and
im not talking about client and server
this is only happening on the client
you can just make a function to retrieve the hooks
wdym
no
then wdym different environment
like what
do you mean when you add a value to the table, you cant access it from another script?
oh hi hao
yea thats what i thought
but
it prints required twice
and i cant figure out why
where is the module script located
where is the print
first line
show
is client a script or local script
local script
so not a script with run context
Does anyone have an idea why the .Activated and .MouseButtonClick1 work well on pc and controller but don't on mobile?
nope
like in diffrent places?
are you trying to modify a table in the module script using other local scripts/module scripts?
right click the tab and click show in explorer
yea
okay how are you doing that
looks like you have a duplicate script, just delete one
oh one of them runs inside starterplayerscripts
wait wtf
lol
use error to see what requires it
that's weird
oh.
try putting a print at the top of the modulescript
supposedly there is a bug where a module gets required twice
luau lsp sometimes auto import absolutely, which works for server scripts
not as much for client scripts..
and the return value gets cached twice
if you want true 'global scopes' as you put it , you can get a public module that allows you to do that, like suphis Global Framework module.
thats why i just keep modules in replicated storage
yea thats quite smart
why are your modules in starter player?
But you know there is parameters already defined in the picture How do I autocomplete that
modules can be everywhere they can run, depends on what your using them for
good idea ๐
yeah but client modules should be in replicated storage
because it ensures that they are loaded before any localscripts in starter player run
making my own ai chatbot within roblox maybe making it open source, anyone down to test it dm me
na not even
then what
no api
are u data training ur roblox ai chatbot bro
js scripting
trying to
tbh its pretty bad but the more ppl use it the more i can learn from it
hi guys Iโm day 3 in scripting and Iโm able to make kill bricks, speed bricks, basically Iโm just learning and using events like playeradded touched connect find first child wait for child etc
I want to make a kill brick that gives you 2 chances but Iโve not been successful, the best I did was make it so it puts you to 1 hp then I made it wait 3 seconds so you can get off it and then made it so you die but I canโt get that to be conditioned to if you touch it again, I know this is confusing but any suggestions?
nah
i dont have 7 billion to train the ai so i js want ppl to ask it more questions
can u explain ur 2nd part more bro
my brain just 
if people ask it more questions how do u process them?
do u store those questions and connect somewhere to answer them?
idk
yes
thats what i was thinking
idk i js need time to do it
then just use a http smthn shit i havent dabbed up on that shit yet
some outer api
lol
yh
Iโm sorry Iโm not good at explanation LOL, ok so my coding is on my computer and Iโm using my iPad rifht now to talk but Iโll try..
so I made a kill brick that when touched by a humanoid, will set your HP to 1 and print โyou have 3 secodns to get off, you have been warnedโ
then I put warning = true (before it was just warning = false, idk if this is needed but I made it a conditional for if you step on it again)
Then I put task.wait(3)
so I then put another if statement below this
if humanoid and warning = true then
humanoid.health = 0
print (โyou was warnedโ)
Iโm pretty aware this obviously has no way to let the character touch it again without dying in 3 seconds but I tried copying the events that made this run above the if statement and that didnโt work, any way I can make it so you have to touch the brick again to die?
hmm
twin what
so i think
once a player touches the brick, the script pauses for 3 seconds before continuing to the health = 0
right
so if the player is still on the brick and the script is already running its course, so touching it again won't reset the timer or change the outcome.
not just die after 3 seconds, the 3 seconds is to give the player time to get off
the best way to handle this scenario would be
use a debouncer and a a separate conditional check that handles the second touch
so before touched event u add the local debounce = true
and add conditions maybe hmm
debounce is true, it means this is the first time the player has touched the part or something
make the debounce false on the second touch instead
they touch the brick again while debounce is false, their health is set to 0.
then u just reset ur debounce back again
alright Iโll try do that tomorrow, quite late for me xd
is my progress good for day 3 of scripting?
day 3 was mainly learning about events but I didnโt have much time but I think I got it
i mean i think u need some work at logic gates and oop
but its fine we all get better
whatโs that?
yea I learnt about that
itโs quite cool
I used it for when a part is touched
so I made 2 parts and if I touch 1 then the other one goes transparent
I used a de bouncer to reset it after 2 seconds
so I gotta do that to the kill brick
Iโll find a way to get that in there and test it out
hmm yeah so basicallly its something this ?
if humanoid then
if debounce then
humanoid.Health = 1
debounce = false
task.wait(3) -- your wait timer
if humanoid.Health > 0 then
debounce = true
print("The warning timer has expired.")
end
else
humanoid.Health = 0
debounce = true -- Reset the debounce so it can be used again.
end
end
yeah thats how u would go on about it
Lol
obviously add conditions n whatever make it complex as fuck
thank you man
Iโve got a goal btw
by the end of this summer or well when I return to school (sep 5th)
I want to have been enrolled or completed 1 commission
patterns to use for better coding and more complex logic idk
it helps knowing them beforehand
ah so itโs like a frame for codes
basically optimised coding
yea the people who could hire me wouldnโt like spaghetti code that hurts the performance of the game xd
no its because well, its impossible to make quality games without those
yea thatโs also true
well my current goal is to just get hired for a commission
but also learning scripting to me is quite fun
kind of
put ur best showcases on the portfolio
most interesting ones would be physics based systems
I see, Iโll build some up further on when I learn about more complex things cause right now Iโm just learning the very basics
yeaah dont worry about portfolio stuff lol
u make those when u can atleast make full fledged systems
yea yea im saying
yo , anyone have a script to show 3d models in front of camera
I'm too lazy to do it if anyone has already done it 

100k robux for who ever fixes my external data not transferring to a new universe/place
ME
Someone put me on some goated combat scripters anime specifically
They made the VEO3 thingy free
why do it tell me that item is not in sale ๐ญ
i love scripting
nothing else makes you feel like a complete idiot and a genius at the same time
did u put the pass on sale
Put it on sale ๐
einstiens of our generation
amount that goes into generators like this is crazy
HP = 50
Local MaxHealth = HP
Why doesnโt it work?
Might be peak.
ive done everything
restarted pc. waited hrs. reinstalled studio
nothing
i dont have perms to post on it but ill check if anyone has a fix thx
do yk what sub to check? not familiar with the site
jus search
i dont think u can make bug reports
cuz u need to be accepted into it
idk why but yeah
search is useless https://devforum.roblox.com/search?q=connecting to server
Chat with other creators, learn about Roblox platform updates, and report issues with the platform.
contact support
they gon take forever
nd wait 7 years for the earliest reply
Hallo guys is it possible to mirror a camera view
like split screen?
or pip?
no more like
flipping the players camera view
like from this
to this
@tacit jewel
excluding the gui mirroring
oh yea idk
Yo how do i set base HP for a character? Whatโs the code that Roblox accepts?
Is it humanoid.maxhealth?
Do you want to script it? Because there is an easier way, you click on the humanoid in the character, and you scroll through the properties and find health and max health somewhere
Does anyone know how to change the keybind for a tool? For example when you have a tool you press numbers to hold it like 123, but how can I change that to a different thing like G?
Where would be a place for a noob like me to start coding?
find something u wanna make
and make it

youtube maybe
youtube, devforums, github
github yes greatt place
he better stick to youtube
real
is there an aura farming channel
you can pick up some knowledge by sitting in code help
WHEN THEYRE ACTUALLY CODE HELPING
dont read the shitpost
yo
code help used to be different back then
cuz people go to chat gpt for code help now
now it's just #chat replacement
and chatgpt makes worse code
and they come to code help
what changed about it?
brainrot attacked
how bad was it
500 casualties
may the fallen be honored
Anyone wants 11k Robux to script for me six leg from squid game
how long did it take for you guys to learn how to code? please be realistic
1 day
(jokes)
i am always learning
is there a way to check when someone buys something from ur roblox group using api? i know how to do this with my personal token but i dont want my bot to rely on me staying logged in
We born with it
Failed to generate purchase auth token: MarketplaceService:getProductInfo() failed because HTTP 400 (Bad Request) - Studio
Internal error while fetching asset type because MarketplaceService:getProductInfo() failed because HTTP 400 (Bad Request) - Studio
why we doing this dude
lua took me a year on and off to learn basics
and after you start to understant the language
learning more advanced stuff comes easier
just learned thiss!!
who wanna join my community for making simple roblox games dm fast
if anyone need any game assets for cheap dm
whys it slow
Probably purposely slowed to show the generation step by step
yes
1second debounce
if it fast it doesnt looks that Smooth
guys
should i add a point at the tip of the sword instead or something like a trail
instead of this vfx stuff
what yall think
it looks fine
you should apply velocity at a certain point in the animation instead of instantly when attacking
the greatsword swings a bit too fast imo
maybe have a better interval for the swings, the animation looks too linear, greatsword needs more weight behind its swings
ye i think its a good style
just saying though if u have a katana how much faster would that be compared to that greatsword
yeah i saw
watch this
i think its similar
havent really dabbed up on animation speeds
i just use what i get and add events n stuff for hitboxes n vfx
can get them editted tho
lowk meeleee systems are easy if u have the animations models and vfx
did u make ther anims
nah i got them made
is this iaido intentional
i wanted something good
hand is so far away from the hilt lmao
yea
what is the system fro
ur combat looks good it just needs better ui honestly then it could really look stunning
portfolio game or wha
sfx and minor vfx polishes
i mean its just a lil bit more than 1 week of work
๐ฅ
i just have basic class vfx n some charging vfx n stuff
and ive only added vfx for greatsword so far
i was figuring out a scalable way to use ECS and deploy vfx for different types of weapons
took a bit of time
yh js planning for future
i already got 30
lol
i made the selection n setups scalable
doesnt really matter unless ur doing queries on all of these weapons for some reason
klama not ragebaiting???
i dont ragebait
and theres nothing to hate on
something interesting on this platform for once
any open sourced cashgrab shit anywhere
sm w like the wheel spins and daily rewards n shit
look at this
its a rough setup for now
but basically i had to make sure that each weapon was handled and sheathed properly
so i had to store their data
cframes n whatever
how do you handle your sheathe
and it also uses classes based on what tool its using
so if i just pick a katana from my inventory it destroys the motors and recreates the motors for that particular class ig
i just have a motor manager
ts aint hard to do twin
i know
i do that for my tools 2
i see
reminds me of smash bros
i think the actions need more fluidity though
this icl
yeah i mean theres some patches to do
better state management
yeah they look staggered instead of flowing into eachother
im using observers for now
yeaah its configured to instantly fall into default state
after an attack
like your jump action jitters into the character attacking midair
did u sa y ob-ob- OBSERVERS FROM MINECRAFT!
doesnt seem natural
wym
wait
u mean the charged jump attack thing
yeah
like u can jump and instantly attack lmao
theres no indicator
if ur against that how would u react
i mean
the charged jump is a specific feature for greatswords
since they will have slower movement, they will have more leaping attacks
its real feature is highlighted when used with a target lock
yeah its just not very fluid
havent thought about that honestly
i need to adjust the charge times
n stuff
think u can have a much smoother system if u changed the way u handled velocities
right now its all linear lol
theres no deceleration or windup
hmmm good point i havent polished it yet
definitely lol
like with some of the heavy swords, they have charge attacks that jumps them forward then abruptly stops
if theyre swinging in an arc the velocity would realistically be more quadratic
hmmm ur right
right now i just have the hitbox deploy after landing and im lowkey just confused on how to deal with different distances
lol
has potential but overall needs more polishing
yeah but the speed isnt parabolic
its all a constant speed
so ur saying i need a min max
instead of an initial slow jump and as theyre jumping down its accelerated
u can do it anyway u want
LeapSpeed = 25, MinPounceTime = 0.5, MaxPounceTime = 1.2, DefaultLeapDistance = 10 , MaxTargetedLeapDistance = 20, arcHeight = 6,
i got this type of stuff making the leap
just thinking that the overall feel would be much better if u had a realistic physics motion
just basic lerping would probably improve it lol
do u destroy the velocity after its duration is over?
yeah
it was glitching into the ground n stuff
ive over the days i spent trying to make this motion
for now
hahahha
it does need more features tho
yea lol it has potential
as a tip though u can re use mover constraints instead of instantiating them everytime
unless u need multiple of them at a time
move constraints yeah hmm i havent looked into other ways yet i was on body velocity stuff and linears
align
right now it just uses a trajectory equation, heartbeat for position updates and
an extra vertical offset using a sine function
the trajectory equation does use velocity, but only initial
yeah
my main qualm with ur physic movements as a whole is that its all constant
speed doesnt change, no acceleration or drop off
as u would see in real life
yeah well we added a constraint to it
like max time it would take for player to do this move
if u tossed a ball u would see it speed up initially then fall down slowly
after launch
like it doesnt really strictly follow laws
for now
as u can see i added a max and min time on pounce, so it can take maximum 1.5 seconds depending on relative position
and 0.4 sec minimum..
might change the approach
yeah so its deterministic
yep for now
it'll force the body to move fast in that 1.5 seconds
its pretty much defying laws
im gonna perfect it
๐ช
ofc
Guys how much to script a bike
free comm in the wild?
hit me up in dms
local StarterGui = game:GetService("StarterGui")
local Reset = false
repeat
Reset = pcall(function()
StarterGui:SetCore("ResetButtonCallback", false)
end)
task.wait(0.1)
until Reset
In starter gui


