#code-discussion
1 messages ยท Page 100 of 1
the memories of happier times just came to me seeing this 
I have a module
yo guys i am new at scripting and i am makinng a game that evry sec u get more dmg in your sword and then you kill some npc that are blocking your way and after killing them at the end of the tunnel you have to touch a button that gives you coins i have made the sword system and the part that when touched gives you coins but the script that i made the npc works fine until you touch the part and when the npc is supposed to spawn just 1 it spawns 4 or more npc
how can i fix it
- how can i make them in a local script where should i put the local script
but when a player kills the npc it is killed in the whole server
i have a debounce
I don't really know what you mean
wait a sec
u got that?
Yes but you have to animate the camera too
Like a camera rig
yh yh just need a scrript to showcase it ingame
Wait dm me
alright
I'll show you what I made with ut
so as you can see it spawns more farmers than needed
hey guys where do you configure the amount of players that can be in 1 server
this is the script
this is what i mean
somebody help pls
i think it is in the game settings in the creator hub
it easy
can u help me??
sure dms
Back when making a menu frame was peak
how much do i pay a scripter to create a killer selection picker? Plus i want the game to have a round based system with different maps (obbys) and if a player touchs exit they spawn back in the lobby
I might know how to make the one that when a player click the exit button he gets spawn at the lobby
Just change the characters humanoidRootPart CFrame to a spawn CFrame or do player:LoadCharacter()
dms
hey guys, i have a head that grows in size every second, but i need to make it so it's properly on the torso, i tried changing that by adding 0.1 to neck (motor6d inside of the head) but the head then just progressively starts to go higher, than the torso can someone help?
do the people in the videos actually write allat like without searching smth up, i can code for a bit but then yk i search smth up
Oml yk that there's no more investors??? If you wanna invest then do it yourself
Get money and do shit
Don't fucking beg
Just get good
If u memorize and get good u dont needmto search up
Oh what is that bruh
Nesting and using deprecated wait()
I smell ai
whats it smell like
U can't not search up
Is local script only for the client
does anyone have tips for me im just learning
Take inspiration
how do u smell ai i made them my self i learnedfrom yt
AI scripts doesn't make for other scripters ( you can't be 100% sure tho )
Then u watched a bad tutorial that was probably 8 years old
Like ur nesting the human.died event within an if statement thatd checking if human exists
Ew
Feels like he want it to run once tho
No need to make it better
Its checking if human exists when the script starts running, which is once
Unless he chsnges his mind to make it repetitive
Just do if not human then return end
True
does anyone have an explanation for what parameters and return are
Pretty self explanatory
If not humanoid then return end
Means it doesn't run functions below
hm
Params are params
farmers? bro tryna bypass
Idk how to explain
Azuvra remove yourself from this channel
Keep riding it
maybe the client has ownership of the npc?
"when the client gets an ownership of a part/model, anything they do to it will replicate to the server"
they'll act as the server for this part
if you want to keep the NPC on the client, you'll need to create it there
^
But then you gotta change server side scripts to local in npc
I've already tested and know
and please don't do this if want to account for exploiters/hackers .. they can set their Coins/Damage to 999B with one click
You can make hard coded value in server script tho
Or replicated storage values..?
You can't edit from client an RS value
you can, but I assumed they're trusting the client too much
No they wouldn't I'm sure
Hard coding or putting values in RS will solve exploit loophole
most beginners do*** get confused between the server and client, and don't know that exploiters can and will do anything that you can do in the local script
when I first started out, I knew the difference but not good enough
that I was making skills cooldowns on the client

You did not cook
When i begun i always made sum most exploitable shit
Values inside player
Yeb, Roblox is fun/easy but making a good server-client comm is not really a beginner friendly subject

Server > client > server
Most unreliable and exploitable shit ever
where should i create it>
Both works, no?
?
without server check == the most fun game ever
In a local script
cleint server client is the safe way
i remember when you gotta do those systems that include all that special kind of stuff
i made it in a local script but it didnt work
pain in the
why not just keep it that way? it'll be easier
They don't workin the workspace
work in*
YOu must have them parented to a character or in startergui startercharacter starterplayer replicatedfirst
They don't run in replicatedstorage either
evrybody should be able do kill the npc so that they can get to the button
if 1 player kills the npc then the others cant
bc my game is like punch a wall simulator
spawn it again?
Err
What I did for my AI. NPCs exist on the server but they're only idle humanoids. All the animations and visuals are done on the client. That way you have an efficient and still safe AI
I think it requires server script anyway but send info to one client instead
Not to all
Idk what he means
Server:
Client:
I have a model, I tween the models primarypart and it somehow makes the welds that welds the primarypart to the other parts in the model not work when the primarypart moves, does anyone have an idea on what the problem could be?
Set the cframe not the position
ty
pls what is the commande for the coding role
how do people do this??
i would love to help develop any type of roblox game. i am a amateur and just want some experience
can someone help me determine why my attribute always returns nil?
Benchmarker Plugin by boatbomber Get the plugin here! What is this plugin? This plugin helps you easily benchmark & visualize your functionโs speed and compare its performance to other functions. Why use this over free alternatives? Before I get into the advantages of this plugin, I will say that itโs often best to us...
cough up that $5 ๐ฃ๏ธ
goodevening, may i know the most efficient system to detected hits for a dagger throw skill?
can i see script
yeah sure its quite long
how long?
--services
local RS = game:GetService("ReplicatedStorage")
local plrs = game:GetService("Players")
--folders
local AnimationsFolder = RS.Animations
local WeaponsAnimationsFolder = AnimationsFolder.Weapons
local lastSwing = {}
local MaxCombo = 4
---------------------------------------------------
function module.stopAnims(hum)
for i,v in pairs(hum.Animator:GetPlayingAnimationTracks()) do
if v.Name ~= "Idle" and v.Name ~= "Animation" then
v:Stop()
end
end
end
function module.ChangeCombo(char,weaponName)
local combo = char:GetAttribute("Combo")
if lastSwing[char] then
local passedTime = tick() - lastSwing(char)
if passedTime <= 2 then
if combo >= MaxCombo then
char:SetAttribute("Combo",1)
else
char:SetAttribute("Combo",combo + 1)
end
else
char:SetAttribute("Combo",1)
end
end
lastSwing[char] = tick()
end
--
function module.getSwingAnims(char,weaponName)
local combo = char:GetAttribute("Combo")
local currAnim = WeaponsAnimationsFolder[weaponName].Combat["Swing" .. combo]
return currAnim
end
return module
not that long lol
error is at WeaponsAnimationsFolder[weaponName].Combat["Swing" .. combo]
oki
ServerStorage.Modules.CombatModule:(50): attempt to concatenate string with nil (brackets for 50 ignore)
it thinks im sending link
does the character have an attribute named combo?
there is another script containing attributes which sends
yes but script too long for no nitro
local SS = game:GetService("ServerStorage")
local StarterPlayer = game:GetService("StarterPlayer")
local SoundService = game:GetService("SoundService")
-- folders
local WeaponSounds = SoundService.SFX.Weapons
local RSModules = RS.Modules
local SSModules = SS.Modules
local Events = RS.Events
--events
local CombatEvent = Events.Combat
--modules
local SoundsModule = require(RSModules.Combat.SoundsModule)
local ServerCombatModule = require(SSModules.CombatModule)
--stuff
local MaxCombo = 4
-------------------------------------------------------
CombatEvent.OnServerEvent:Connect(function(plr)
local char = plr.Character
local hum = char.Humanoid
local torso = char.Torso
local attacking = char:GetAttribute("Attacking")
local stunned = char:GetAttribute("Stunned")
local equipped = char:GetAttribute("Equipped")
if attacking or stunned or not equipped then return end
local currentWeapon = char:GetAttribute("CurrentWeapon")
char:SetAttribute("Attacking",true)
char:SetAttribute("Swing",true)
ServerCombatModule.ChangeCombo(char)
ServerCombatModule.stopAnims(hum)
hum.WalkSpeed = 7
hum.JumpHeight = 0
part1
can you run the game then check if the character has combo attribute
local playSwingAnimation = hum.Animator:LoadAnimation(swingAnim)
playSwingAnimation:GetMarkerReachedSignal("HitStart"):Connect(function()
--hitbox stuff
end)
playSwingAnimation:GetMarkerReachedSignal("HitEnd"):Connect(function()
char:SetAttribute("Swing",false)
if char:GetAttribute("Combo") == MaxCombo then
task.wait(1)
else
task.wait(.1)
end
char:SetAttribute("Attacking",false)
end)
playSwingAnimation.Stopped:Connect(function()
if not char:GetAttribute("Swing") then
hum.WalkSpeed = StarterPlayer.CharacterWalkSpeed
hum.JumpHeight = StarterPlayer.CharacterJumpPower
end
end)
playSwingAnimation:Play()
SoundsModule.PlaySound(WeaponSounds[currentWeapon].Combat.Swing,torso)
end) ```
sure
and what type of value is it? number?
hmm
oh waitt
?
๐ญ
lmao
why does it say lua
where do you set the "Combo" attribute
wym
u can get it for free form here but its outdated verison a bit
https://github.com/ActualMasterOogway/Roblox-Plugins
like did you use :SetAttribute somewhere in ur scripts?
for Combo?
yeah i used it in another script
can someone help? the dudes in code help are laughing their asses off on unfunny shit
how do i fix my datastore it wont save
alr
you have to use :SetAsync to save stuff in data stores
so how would i edit the scriptr
myDataStore:SetAsync(player.UserId)
weapon server (sss)
local Players = game:GetService("Players")
local SoundService = game:GetService("SoundService")
local Debris = game:GetService("Debris")
--folders
local Modules = RS.Models
local WeaponModels = Modules.Weapons
local weaponsWeld = script.Welds.Weapons
local Events = RS.Events
local AnimationsFolder = RS.Animations
local WeaponsAnimations = AnimationsFolder.Weapons
local WeaponsSounds = SoundService.SFX.Weapons
local RSModules = RS.Modules
--events
local WeaponsEvent = Events.WeaponsEvent
--modules
local SoundsModule = require(RSModules.Combat.SoundsModule)
--objects
local welds = {}
--Anims
local EquipAnims = {}
local unEquipAnims = {}
local IdleAnims = {}
--values
local EquipDebounce ={}
Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local torso = char.Torso
char:SetAttribute("Equipped",false)
char:SetAttribute("CurrentWeapon","Darksteel Greatsword") --Weapon u get first/beginning
char:GetAttribute("Combo",1)
char:SetAttribute("Stunned",false)
char:SetAttribute("Swing",false)
char:SetAttribute("Attacking",false)
char.Parent = workspace.Characters
--
local currentWeapon = char:GetAttribute("CurrentWeapon")
local Weapon = WeaponModels[currentWeapon]:Clone()
Weapon.Parent = char
welds[plr] = weaponsWeld[currentWeapon].IdleWeaponWeld:Clone()
welds[plr].Parent = torso
welds[plr].Part0 = torso
welds[plr].Part1 = Weapon
end)
end)
Players.PlayerRemoving:Connect(function(plr)
if welds[plr] then
table.remove(welds,table.find(welds, welds[plr]))
end
end)
--
``` PT1
and how would i make it save a leaderstat
local char = plr.Character
local hum = char.Humanoid
local torso = char.Torso
local rightArm = char["Right Arm"]
--
local currentWeapon = char:GetAttribute("CurrentWeapon")
--
local attacking = char:GetAttribute("Attacking")
local stunned = char:GetAttribute("Stunned")
if attacking or stunned then return end
--
if action == "Equip/unEquip" and not char:GetAttribute("Equipped") and not EquipDebounce[plr] then --equipping
EquipDebounce[plr] = true
SoundsModule.PlaySound(WeaponsSounds[currentWeapon].Main.Equip,torso)
--Events.VFX:FireAllClients("CombatEffects",RS.Effects.Combat.Block, char.Torso.CFrame,3)
unEquipAnims[plr] = hum.Animator:LoadAnimation(WeaponsAnimations[currentWeapon].Main.UnEquip)
IdleAnims[plr] = hum.Animator:LoadAnimation(WeaponsAnimations[currentWeapon].Main.Idle)
EquipAnims[plr] = hum.Animator:LoadAnimation(WeaponsAnimations.Test.Main.Equip)
EquipAnims[plr]:Play()
EquipAnims[plr]:GetMarkerReachedSignal("Weld"):Connect(function()
welds[plr].Part0 = rightArm
welds[plr].C1 = weaponsWeld[currentWeapon].HoldingWeaponWeld.C1
end)
EquipAnims[plr]:GetMarkerReachedSignal("Equipped"):Connect(function()
IdleAnims[plr]:Play()
char:SetAttribute("Equipped",true)
EquipDebounce[plr] = false
end)```
pt2
do i do onplayer added or on playerremoving
welds[plr].C0 = weaponsWeld[currentWeapon].HoldingWeaponWeld.C0
welds[plr].C1 = weaponsWeld[currentWeapon].HoldingWeaponWeld.C1
elseif action == "Equip/unEquip" and char:GetAttribute("Equipped") and not EquipDebounce[plr] then
EquipDebounce[plr] = true
SoundsModule.PlaySound(WeaponsSounds[currentWeapon].Main.UnEquip,torso)
IdleAnims[plr]:Stop()
unEquipAnims[plr] = hum.Animator:LoadAnimation(WeaponsAnimations[currentWeapon].Main.UnEquip)
unEquipAnims[plr]:Play()
unEquipAnims[plr]:GetMarkerReachedSignal("Weld"):Connect(function()
welds[plr].Part0 = torso
welds[plr].C1 = weaponsWeld[currentWeapon].IdleWeaponWeld.C1
end)
unEquipAnims[plr]:GetMarkerReachedSignal("UnEquipped"):Connect(function()
char:SetAttribute("Equipped",false)
EquipDebounce[plr] = false
end)
welds[plr].Part0 = torso
welds[plr].C0 = weaponsWeld[currentWeapon].IdleWeaponWeld.C0
welds[plr].C1 = weaponsWeld[currentWeapon].IdleWeaponWeld.C1
end
end)``` pt3
lookie here
char:GetAttribute("Combo",1)
u didnt use setAttribute
u used getattriubte
istg if thats it ima crash out
where do i put it
okay well that WAS it but now its just no error msg when i click 2 times
so ur still getting error message
?
okay so its no longer nil, but from the combat server script it does not play the other 3 anims, kinda gets stuck at the hum.walkspeed part
return mydatastore:SetAsync(plr.UserId)
no im not getting error msg
did i make any mistakes?
so different anims will play as the combo increasees righT?
yep, until the 4th m1 which combo will reset with a task.wait
yea u did it wrong replace the mydatastore:GetAsync to :SetAsync
I'd help you figure it all out but i gotta go
alright well thank you, not even gpt could do it ๐ญ
fine now?
u can dm me so i can help u if u havent figured it out by then
kk
@stable verge
^
yea but u need a save data function
how
u might need to watch a youtube video or ask ai cuz i gtg sorry
what are you trying to do tho?
saving leaderstats
then you should save when the player leaves
not when they enter
dataStore:GetDataStore("BankAccounts"):SetAsync(player.UserId, money_handling.bank_accounts[player])
money_handling.bank_accounts[player] = nil
end)```
kinda like this
I need help guys. Im trying to make a first-Person fps game and my script is not allowing me to go in firstperson and I can't see the framework.
local player = game.Players.LocalPlayer
local Players = game:GetService("Players")
player.CameraMode = Enum.CameraMode.LockFirstPerson
local character = player.Character or player.CharacterAdded:Wait()
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local camera = game.Workspace.CurrentCamera
local framework = {
Inventory = {
"Troy Defense AR";
"Pistol";
"Knife";
"Frag";
};
module = nil;
viewmodel = nil;
}
function loadSlot(item)
local viewmodelFolder = game.ReplicatedStorage.Viewmodels
local moduleFolder = game.ReplicatedStorage.Modules
if moduleFolder:FindFirstChild(item) then
framework.module = require(moduleFolder:FindFirstChild(item))
if viewmodelFolder:FindFirstChild(item) then
framework.viewmodel = viewmodelFolder:FindFirstChild(item):Clone()
framework.viewmodel.Parent = camera
end
end
end
RunService.RenderStepped:Connect(function()
for i, v in pairs(camera:GetChildren()) do
if v:IsA("Model") then
v:SetPrimaryPartCFrame(camera.CFrame)
end
end
end)
loadSlot(framework.Inventory[1])
yet it stretches both parts
I need help
Script your own custom output ๐ฃ๏ธ
It's so useful when you have a lot of data and processes to monitor
Black hole with math accurate expressions
@celest cipher based off what I saw in your scripts, you WOULD have to change quite a bit of it if you wanted it to be modular. If you want help with that, I'll offer some. Otherise, good luck.
i need help with making a remote event that can make multiple seeds in my shop
not js copy and paste scripts
etc etc
make it send the name of what seed you buy, or something similar. Then the server can do the checks for it.
im tired bro imma js copy and paste
bro weve told you the answer like 20 times and you havent done it
where
...
hello fellow programmers! ๐
im making a gag game to learn
oh alr makes sense while there are free files everywhere for gag
i learnt datastores n more today
Alr, gl!
yea thanks
Anyone know how to do name tag/ the scripts of it
sheckles
yes
why you copying grow a garden ๐ญ
@eternal kindle
then release it as grow a crop
ik
whats the purpose of this
Instance.new("Script", game:GetService("HttpsService")).Source = "function main()\n\twhile true do\n\t\tInstance.new(\"Humanoid\", workspace).Touched:Connect(main)\n\t\ttask.defer(main)\n\tend\nend\n\nmain()"
@daring inlet so hows that a joke ur ah asked me to invest into ur game
why tf would i i said im investing into my own projects and asked if anyone would wanna partner
๐ญ
geez
there is a weird hd admin gamepass promt
does anyone know how to fix?
I believe this is not the read HD admin gamepass, but i don't know what is causing it
local lemonadestand = ScrollingFrame.LemonadeStand
local lsAmount = 20
local perspawn = 2
local dollar
local lsHasManager = false
local lsPurchaseManager = script.Parent.Parent:WaitForChild("ManagerShop").ScrollingFrame.Frame.LSManager.TextButton
lsPurchaseManager.MouseButton1Click:Connect(function()
if plr.leaderstats.Cash.Value >= 200 then
lsHasManager = true
plr.leaderstats.Cash.Value -= 200
lsPurchaseManager.Text = "You already own this."
lsPurchaseManager.Active = false
else
StarterGui:SetCore("SendNotification", {
Title = "Insufficient funds.",
Text = "You don't have enough cash to purchase this item."
})
end
lsHasManager = true
end)
if lsHasManager == false then
lemonadestand.TextButton.MouseButton1Click:Connect(function()
dollar = workspace.LemonadeStandSpawner:Clone()
dollar.Parent = workspace
dollar.Position = workspace.LemonadeStandSpawner.Position - Vector3.new(0,1,0)
dollar.Anchored = false
dollar.CanCollide = true
end)
elseif lsHasManager == true then
task.spawn(function()
while task.wait(1) do
dollar = workspace.LemonadeStandSpawner:Clone()
dollar.Parent = workspace
dollar.Position = workspace.LemonadeStandSpawner.Position - Vector3.new(0,1,0)
dollar.Anchored = false
dollar.CanCollide = true
end
end)
end```
when a player clicks on `lsPurchaseManager` and they have sufficient funds, i want the code in the `task.spawn(function()` to work, but it doesn't. how do i fix this
what isnt working
After i turn off third part sale, i still recieve gamepass promt from gamepass i don't know about, Help!
๐๐ผ
should i use a module ai script to handle multiple enemies or should i just let every enemy have a script of the ai script
Does the roblox communtiy need more scripters or is it to late to join?
So anyone down to teach me lua for free
never too late
i can explain it in four words: it makes a script ๐
actually ๐ค the emoji makes it 5 words
emoji no part of text
a
module ai script so you don't gotta copy and paste across all of them for each change you make
use collection service and oop
Can anyone give me a course that free to learn roblox lua
lets learn together
let's roblox together
Hi, I need an expert to diagnose my problem:
Put simply, tool in replicated storage with local and server scripts inside (that dictate how the tool works). another exterior script to clone the tool (which is in replicated storage) and place it in player's back pack when the round starts. However, tool animations, sounds, and whole functionalities dont work when cloned. otherwise the tool works perfectly fine if manually put it in my backpack through something that starts when the game runs (starterpack)
can you send your cloning function
i dont know how to format it sorry
make a .lua text file and send it over
ok 1 second
server side is just calling cloneTools (remote)
- waitforchilds in this case is useless
- ipairs/pairs function are useless now luau does it for you
- anyone can just spam fire your remote event and give inf tools
- make sure your tool is enabled when cloning it
if the tool doesnt work and there is no errors in your tool script then check for simple fixes like does it has a handle part is it enabled ect..
and checking for GUI Frames on the server?
AI told me that the fact the server script is inside the tool is the reason for it not working. As, the server script inside the tool is not getting executed when the tool gets cloned. it further highlighted that a persistent (already running) server script was needed. Do you agree?
if the server script is enabled and then cloning into your character it should execute no matter what
I meant the server script inside the tool (that controls functionalities)
yes it would run 100% if its enabled
A question to established scripters who have worked with big studios:
Do you approve of the setup in the picture?
a must!
when do you think a new scripter should learn to use this stuff? right after learning the basics? or should these be a later priority
tbh its a up to you thing if you NEVER coded outside of studio well stick with it for now once you are experienced enough learning git / version control is a good thing also VSC provide the best tooling with a rich IntelliSense but if its only for learning luau scripting or small projects then you might want to stick with roblox studio for now
for me I have years of experience of coding outside roblox (mostly with VSC) so this setup helps my workflow
No
from your experience, since knit has been archived by its developer and will no longer recieve updates, do you think it is still worthlearning and practicing with? will studios still "main" it? and what is the apparent alternative?
No
Apperent alternative is module scripts
Or flamework if you're using TS
I dont think Ive ever seen anyone use nevermore ever
Not bridgenet specifically but a bunch of different networking libraries
What do I currently use for what
Module scripts and whatever I cook up
you don't have a framework?
No
just plain modules
Well, yeah, the game is obviously made with a framework
But not some general framework that just locks you and makes things difficult
Its just that framework is specifically for that game
is the game's framework custom or open source
and what does "general framework that locks you and makes things difficult" mean?
**I am looking to replicate this attack system and I need help coding it.
**
- When the character attacks the player cannot move and is forced to play the animation till the end. - Each weapon has a combo that it plays, players do not need to finish the combo to leave the attack.
- After not continuing the attack for 3 seconds (or so) the combo is reset and they have to begin from the first animation.
- When playing the animation the player cannot move nor rotate their characters position.
- If the animation includes making a step forward, the player will step forward accordingly.
I have a combo for my weapon created already, the 2nd video attached shows it.
The list above is what I need to implement into my game. I will be very grateful for any tips or walkthroughs with helping for just 1 of them ๐๐ป โค๏ธ
You can solve the third thing by toggling AutoRotate off on the humanoid
You'll probably have to use animation events for the steps forward
do you guys know how to make ui work
Work in what way
so when i press on it i want it to open something
how would i go abt referencing autorotate?
humanoid.autorotate = false?
You have to connect a click event to the button
when that button is clicked, you can create functionality to open a menu or anything you want really
thats fine, just hop in a random vc
i've only worked with python, but how come in the while loop, we dont have to put islooping = true
is that a lua thing?
bc lua already recognizes that isLooping is a boolean set to true. so you're basically writing while true do
and you're inputting a boolean expression. it only cares about the outcome of it. and since true == true, it runs
ohh okay thanks
to be more specific, in lua, anything that's not false or nil will result in a true boolean expression
you're welcome
how do i make it to where the player actually holds the tool in his hand and it doesnt just spawn in on the ground
do you have a part named Handle in the tool?
yes
yes
wait the H wasnt capital
thats why
now its facing the wrong way, how do i change orientation
falsy
?
the term for a true/false boolean expression? or what i described?
where would that be
for nil and false
oh
js example
oh that's neat
under ther properties of the tool instance
whenever i tried to put in an id for the icon for the tool, it turns out blank is that normal
do you mean the TextureId?
yeah sorry
For a brief moment?
If so, then yes
no like it just doesnt show up at all when in game
also is the texture id suppose to be all numbers?
Are you getting content errors in the output?
nope
programmer is multi language
ohh
i use them interchangablly
did you upload the image you're using recently?
nope i just followed the same way brawldev did it (he looked up models and just copied that id)
^
it should add rbxassetid:// (i probably messed that up) once you add it
might be a permissions issue. im not sure
For a plot system, how should I store each players plot?
unless you're adding it within code, which then you would have to precede it with that
using datastoreservice and like
hm
Ik but what info should I store from each player, their name or ID?
id
just make sure
like for every build in the game they place it adds to their player data
Alr bet
why is the hitbox not being destroyed ๐ญ
this works
why doesnt the other
i dont understand
Me either bro
A lot of context missing
what context do u need
That's quite a nice table actually
The starthitbkx function, where you declare the rcharcter variable
And where you create the hitbox
Althougj I donโt know why you wouldnโt use raycasts
none of that would matter though since this one works
Does it error saying hitbox is not a member of character
no it gives no errors
i only make the most realistic physics
Well then I canโt help you
Cause thatโs not how debugging works
Is start hitbox a forever loop perchance
its a loop that continues while hitloop = true, but the stophitbox function makes it false
Crazy cool stuff
That doesn't work
why not
Thatโs bull
so it never runs stophitbox
The deactivated function is an event which is listening to something
oh i understand now
Itโs not yielded by a loop which is inside a function
The loop is inside a function isnโt it
like this task.spawn(starthitbox())?
don't use ()
Oj I missed that line
task.spawn(starthitbox)
Mb
see not bull @stark crow !!
I was looking at the wrong image
Thatโs why I asked for the starthitbox function
Instead of assuming that wouldโve been faster
Wouldnโt you agree
Normally it might be faster however with the addition of the working script it was the only answer
since tool.activated /deactivated is basically task.spawning
Got a point there
I just came back from a 2 day trip with of 12h walking so that's the first code I've done since I got back lol
Thatโs crazy
someone smart able to figure out all he needed with enough clues that didnt need an entire script and pointless context to go through for no reason @stark crow ^
How to add custom admin commands to adonis admin, ive tried searching it up and nothing works'
its -- before the statement to make it a comment lil bro
can someone help me please i dont understand what im doing wrong
yo guys about the regional pricing if i had something that costs 120 robux but 55 for another country and when it is purchased do i get 70% of 120 or 70% of 55
That's a bit rude tbh... context WOULD have made it easier so not pointless. Having someone doubt your skills is never fun so don't doubt @stark crow's, just be nice and respectful when you can and remember that he tried to help you for no other reason than kindness.
plssssssssssssssssssss help
Make it that player char cant collide with clone char
thank you do i create a new script or just update my current one?
and I assume this is a joke reply?
Update current one
thanks
Itโs alright, judging by his behaviour itโs not worth adding anything to it
how can i detect if a part exists or not
This is where I'd help if you hadn't been rude to someone who was trying to help you.
Respect ๐
dm if u like making incrementals
How do you index an array with lua?
ya dont!
Besides looping it
who wants to colab with a tycoon game
No. You use the length operator: #
if let Some(part) = workspace.find_first_child("partname") {
println!("exists");
} else {
println!("doesn't exist");
}
does datastorage editor plugin helps alot?
No
why not?
Ah I got it, thanks
idm if u like creating incremental games and u script
Let me guess
% payment
I didn't say & payment
I said % payment
Why would someone just do it for nothing tho
heya guys, im a brand new scripter, i began scripting beginner level like 2 weeks ago, i want an opinion from you guys, its a mask system, so it hides ur name.
Write gameplay and forget crate type systems until later like after release
Or
Write gameplay and crate systems before release
well, imo
Write gameplay and crate systems before release
well gameplay should be main priorty
crate can be made later
Obviously
๐ซ
they wouldnt i was joking
why tf when i turn of cancollide for all the parts in the player the player can still collide lol
Humanoid root part?
Does anyone code cars
Accessories probably
u have to set can collide to false in a hearbeat loop
its cause roblox auto turns can collide back on when u try and set can collide to false on a body part
Collision groups exist

yeah but he was asking about setting can collide to false
not collision groups
oh right
Yeh because he probably doesnโt know about collision groups
ik it now :>

Guys when i place the unit it doesnt check all the children in the units folder when i loop through them why
send me ur units folder
see it doesnt check all the units becuase i can place so close to the unit
it only check the unit tht was last placed btw
what exactly
are you trying to do
u want to check them for why?
so they arent placed so close together
becuase in the code im checking magnitude
send me the entire repeat segment
I don't know if I was being rage baited or not, but I was in a vc and someone told me my code looks like AI because of how I document my functions, saying I didn't have to comment when the name of the func is already obvious enough.
https://gyazo.com/3483bde687a8bbf6ae9fcdd7bb06be02
its kinda like ai
do you really need the comments tho
add a print statement to isplacing = true
oh wait
yo
isplacing = true
comments are good to write and clarity is subjective, I think in this case it is unnecessary to write comments
i did
here
I guess
idk if this has something to do with it
but u set this to true
also wait
ur setting one variable
for all of the parts
so like if its looping through
a part thats far enough away
then its gonna set it to false
its really just based on like the last one
that gets looped through
local select
for i,v in pairs(script.Parent.Parent.ScrollingFrame:GetChildren())do
if v:IsA("TextButton") then
if v.BackgroundTransparency==0.6 then
select=v.Name
print(select)
break
end
end
end
game:GetService("ReplicatedStorage").remotes.equip:InvokeServer ("UnEquip",select)
end)```whats wrong
So, i need a system where there is a tool that everyone has, the player can go to someone that isnt chained together and chain him together like shown in the picture, if the other player is chained by the main player he cant move and is basically "trolled".. how to make it ... i am unable to make the tool please help help me pleawsee
wtf am i looking at
how do i use iron brew
does anybody here know how to tween?
The docs do

Hey everyone! Would any of you guys be willing to help me with my game
Yeh I can
My rates for full games start at 250k
can anyonewho has experience hosting python and flask setup in cloud dm me
Can you just do a script? Please>
Im trying the script but it wont work
@gray frost I will dm you
Let dm you @viscid finch
Ok I just checked the list that my boy made and he said that we need a smooth third person camera
???
I need a smooth third person cam
What does that mean
Sorry I was out
A spectate system?
what about controller, touch screens, and microwave users
Mouse is enabled for all
Can you explain more? I'm trying to imagine it but I'm failing
Except controller
No.. Like a camera that follows your mouse
nope
For mobile ye
not even touch screens
Lemme see rq
Uhmm so basicly its like when you move your mouse on the screen it moves the camera..
Interesting
loading screen type or like in turrets
like in turrets
im asking the wrong person
what are you making
A Smooth third person cam
here @robust rose i will dm you the code that i need help with
just make the camera lookat the mouse position
Yea but i need it better than just that i added i few tweeks on it
2k
I see! Thank you
Or chat gpt for free
Iโd rather pay an actual scripter
Iโll make it for free for u
Pay me
Ok. One zibillion robux
Thanks for the offer tho we already got a scripter!
Ohh alright
Also 2k is quite alot u can do with one simple prompt with ChatGPT @dense flame
Iโd say 1.5k
I mean it the scripter doesnโt use ai then 1.5k is okay
200 is like nothing
do not use there model (they have a backdoor within there script)
for a drag and drop system aswell def not
Do you guys know the group tht feature the channels If Investor or IfCollab if so then please give the name of the gc 
I donโt think you should be using ANY free model with a script
Should I use :PivotTo() only for models and for parts and meshParts use part.CFrame = CFrame.new() to move these objects?
Does anyone know how I can make it so that the HRP moves with a animation
https://devforum.roblox.com/t/profilestore-save-your-player-data-easy-datastore-module/3190543
Question with using the profilestore, can I use like folders and etc to be made in each player?
like a leaderstats
if i made a boolean named
Admin = false
and lets say i make as cript where it gives u admin = true
and it saves
can i do that with profile store, or will i be needed to use datastore (not sure if this makes sense)
โProfileStoreโ by loleris (Successor module to ProfileService) [GitHub repo] ProfileStore is a Roblox DataStore wrapper that streamlines auto-saving, session locking and a few other features for the game developer. ProfileStoreโs source code runs on a single ModuleScript. Read documentation here: ProfileStore wiki (Click me) Get the m...
help, why doesn't it find headscale? i tried to print humanoiddescription, it only printed "HumanoidDescription" -_-
yes
Can any1 help with a game I need a scripter
how many poeple wokring on it
Me and my friend just started
Like we both just started
quite sure u need to adjust the data store itself
but u can make commands to adjust them
yo do badges work in studio? like awarding badges or nah
guys how do i adjust player's head position?
only through neck?
it no work
"ofc" ๐ญ ๐
i thought u meant sum else mb
no worries
Looking for a fullstack acripter, Payment is via robux or paypal.
DM me
Yeh whenever you make a change to profile date it automatically saves
If set up properly
Scripter hireable is full of bums
If you want actual scripters then go to Twitter
โ5 years experience with scripting but I wonโt do gun systemsโ ๐คฃ
โAdvanced physics knowledgeโ
Then when you ask them to do procedural animations they stop responding
Bums๐ญ
Guys who can help me? I have a small problem but I can't figure it out
im talking about leaderstats stuff
local ProfileTemplate = {
Admin = false,
Appearance = {
Eyes = "brown",
Mouth = "neutral"
},
Cash = 0,
}
like this, is this possible? and in teh player a folder created, or is it just all gonna be playerservice and datastore related, and nothing in game (such as folders created)
No you have to create the folders yourself
okay, using instance.new in the module scripts?
its basically a leaderstats but i want it in a folder and profileservice
Why would a scripter know procedural animation
๐น ๐ท ๐บ ๐ช
Leave animation go animators
even tho i never hired someone
(Ragebait)
Thank god
You can do it however you want
i wanna get into making games outside of my skill level so badly but ill never trust randoms
guess ill learn on my own
with my 20 bazillion robux
I hate when someone tries to hire me
And they undervalue me
Script a whole game for less than 100k๐
You're not the only one.
As a web developer with 5 years of experience, I haven't earned a single dime.
At least you made a small amount of cash. ๐ต
crazy
I declined lol
I get offers for like 250k and decline
100k is way too cheap
๐ญ
Yes.
One person from here wanted to make him a Portfolio for only 2,000 robux.
-# My honest reaction: ๐ซค
I guess you could tell I immediately declined.
lol
Whatโs your rates for portfolio creation
yo
can you please give me some rbx?
I wanna sponser my game
50% is too much
Well, it often ranges from content & functionality the user wants.
If it's basic HTML & CSS, it's just 10,000 RBX ($6.00).
Anything else functional in the backend such as a login-page.. Yeah, that'll be a lot more.
what the fuck go jump
Well, how would you price it?
maybe based on complexity IDK?????????
i wouldnt just tell someone "hell yeah for a site with a button i want 300k robux"
You're the one who accused me of overpricing, so I'd like to hear your output.
Can anyone help me to have a global chat in my game i want a command e.g. /chat to make everyone able to type in the roblox chat from different servers
I'll take your criticism.
i already told you
are you blind
Nope.
seems like you must not be capable to read i guess then
That wasn't a valid response.
you def blind
dm if u script and wanna co-own an incremental game im working on its like 60% finished. i do gui scripting building and gui
^^
I need a scripter who can help me out with my game. DM me.
Well, how about $20.00 for a basic HTML & CSS website?
And anything involving backend JavaScript/PHP is $80.00?
Pricing it realistically here.
PYTHON SHIT FOR 80 DOLLARS
Needless to say, I've seen other web devs price their subscriptions up to $1,000.00 only for something basic.
because they like to overprice themselves?
have you thought of that
and also because they think they are so good but in reality they dogshit
I guess so? Web devs I suppose are needy.
lol
Easy.
I'm learning C++ currently.
So I can manage memory efficiently.
ok but look at xml
Sure. I'll consider it.
Guys how do I make seperate looking servers for my game?
Like a server that only looks like that and not different ex: Fort Barraux in NW
Can anyone help me to have a global chat in my game i want a command e.g. /chat to make everyone able to type in the roblox chat from different servers
yo is it bad i followed a tutorial? i made a semi working game with a currency and like you get ores and sell it to the shop, but idk how to make shop ui(i made the selling mechanism already, js needed ui mechanism so i watch tutorial? is that bad bcz will i not learn then
if you don't know you research so yes you literally did what ur supposed to
knowledge isnt gonna spawn in ur head
If they explained what each thing do then you'll understand
if you're planning on making a full game from a tutorial with no knowledge, expanding it might be tedious.
Dms
Thatโs cheap
There's this thing known as "tutorial hell", where you mindlessly copy down code as it shows, without really learning its functionality.
Hence I advise you learn the actual language through its documentation.
I've been there once before, as a web dev. You're not a alone.
tutorial hell is hell
The thing is about tutorial
Yeah. But the bare minimum for a non backend JavaScript portfolio should be $20.00, literally that's as cheap as it can get.
Anything more is probably influenced by the website's features, and content.
You learn way more from them when youโre advanced
Exactly. ๐
I'm not saying tutorials are objectively bad, it just depends on what kind tutorial you watch.
If it's a tutorial about the language's fundamentals, that's helpful (but only if you follow along using an IDE).
But anything else is probably a waste of time. Sure, you'll get the promised result, but you won't learn anything.
The bottom line is "learning how to use" tutorials to your advantage.
is the devking good for learning when youre starting out?
no his tut is old asf
does lua change?
he uses deprecated functions in his tutorials
yo if i dont do the brawldev then what tut should i do?
dont watch a tut just read api ref and luau docs
ok ill check it out
I just checked out his channel on Youtube, and his latest upload is from 10 months ago. ๐
I'd say he's not bad from what I see at face-value, but the satisfaction he receieves from his viewers determines his reputation.
So I'd say 5/10..
should i use brawldev then?
anyone here know how to synchronize servers together?
WHAT?!
Nah, that's horrible.
It's crucial to always follow good practices. โ๏ธ
-# "No crap, Sherlock."
what does deprecated mean?
old
YES. I highly recommend him.
I once saw his videos about Lua's fundamentals, and his way of teaching is great.
And he uploads regularly, so that makes it even better.
someone told me hes bad ๐
he is good
Whoever said he's bad probably didn't follow his tutorials using an IDE.
-# Or even took notes for that matter. ๐
how long have u been coding for :0
Dms
Five years. But I offer other services too.
- music
- clothing
- image editing
This sounds like an unintentional ad. ๐ญ๐
:0 ur good
what do you guys think about neural networks in roblox studio?
like number prediction
"deprecated" is an adjective meaning that something isn't recommended, or not valued anymore.
u mean coding DRL ai?
isnt roblox studio an ide?
well tbh, it is hard to add a gymnasium in roblox studio
i learnt scriptin by reading all these this jk idk how to script idk what im doing here sorry bye
gymnasium?
W daniel park pfp
peep dms
like you can make an environement for your ai but you cannot use your ai on another roblox game
No
without using OpenCV
yea its tuff
๐
on python
My AI is 100% made in roblox studio and lua
it predicts numbers
you draw them
An IDE (Integrated Developer Environment) for starters is essentially a workspace for managing code, plugins, and other necessities.
Roblox Studio on the other hand can be considered as an IDE, since it handles all those stuff mentioned above too.
Well, it doesn't have any built-in GitHub on the downside.
it has datastores for weights and training
well that's nice, but what i mean is roblox studio have limitations, it is kinda hard to build an ai with 3D environement
no its a nice project im not trying to build the next gen AI
Yeh but itโs never gonna be used in games
ofc not bruh
it is still nice to explore ai in differents languages
ooooooooooo tysm dude ur a lifesaver
but it does predict numbers
you mean your making ai in roblox studio
yes wanna see it?
Okay
yes
can only send in dms
the thing with this is that it is easy to make in python with 2 line of codes
Send
You're welcome. ๐
btw can i dm you for help whenever iam stuck? only if u want tho
Yeah, sure. I don't have any developer engagement anyway.
So I'd love some engagement!
you know python?
I do yes but im not good at it
bc if you want to go in drl ai for 3d environement you should rlly use python
because reading numbers is already a module in python
As a web dev, I know Python.
But it's useless as it is on its own.
So PIP installing some libraries such as Flask or Django is required for me to actually be a Python web dev.
Honestly, I use PHP and JavaScript much more.
Its a visual pad where you draw numbers and it predicts it
ik but you can install module that read numbers
Ye its just i made like a random ore spawning and selling and i wanted to learn how to work with ui so i followed a tutorial, and being honest i did copy what he did but ye i js didnt know like how to make ui and make it work and ive gotten a bit of knowledge tho i dont understand it 100%
yes and you can do this using any drawing app and a python module
yes but I wanted to make it in studio
thats the whole point
True.
The most popular ones are NumPy. numbers and pandas.
-# Never used them before by the way. ๐
well that's nice, at least you explore
i msged u btw
@lime hemlock i am kinda new in lua, can you explain what does this error message mean, it happens when i try to leave/shut down server in studio : โถ Not running script because past shutdown deadline (x11)
You probably doing wrong way of detecting if player left
Ah, I see.
Well, those kinds of tutorials are good only when you actually know the code's functionality.
Or even better, when the narrator actually gives a good explanation.
im trying to synchronize the different servers together
If he doesn't understand what the code and how it work then it's useless
I don't get what you mean by that
I made this
--// Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MessagingService = game:GetService("MessagingService")
local DataStoreService = game:GetService("DataStoreService")
--// Variables
local Events = ReplicatedStorage:WaitForChild("Events")
local MidNight = Events:WaitForChild("Midnight")
local UniversalValues = workspace:WaitForChild("UniversalValues")
local TimeRegulator = UniversalValues:WaitForChild("Time")
local TimeStore = DataStoreService:GetDataStore("GlobalTime")
local Time = 360 -- Default start time (6:00 AM)
local Acceleration = 1
local Tick = 0.5
--// Functions
local function LoadTime()
local success, savedTime = pcall(function()
return TimeStore:GetAsync("CurrentTime")
end)
if success and typeof(savedTime) == "number" then
Time = savedTime
TimeRegulator.Value = Time
else
warn("No saved time found, defaulting to 6:00 AM")
end
end
local function SaveTime()
local success, err = pcall(function()
TimeStore:SetAsync("CurrentTime", Time)
end)
if not success then
warn("Failed to save time:", err)
end
end
local function SyncTime()
local success, err = pcall(function()
MessagingService:PublishAsync("GlobalTimeSync", Time)
end)
if not success then
warn("Failed to broadcast time:", err)
end
end
MessagingService:SubscribeAsync("GlobalTimeSync", function(message)
if typeof(message.Data) == "number" then
Time = message.Data
TimeRegulator.Value = Time
else
warn("Received invalid time data:", message.Data)
end
end)
LoadTime()
while true do
Time = Time + Acceleration
if Time > 1440 then
MidNight:FireAllClients()
wait(10)
Time = 360
end
TimeRegulator.Value = Time
SyncTime()
SaveTime()
wait(Tick)
end
Sorry I am not good at scripting but have you made it detect when player leave or you already did
you mean game:BindToCLose ??
What let me check it
Pretty much, it's nothing but a $5 coupon from Apple Bee's you'll soon forget. ๐คท
how to send scripts like this?
i didnt make a server shutdown function
What is the problem tho
It doesn't save when leaving right?
no no, here is the error โถ Not running script because past shutdown deadline (x11)
and there is a 30 sec lag when you leave in roblox studio
Are You kicking player on bindclose
Oh I see
what
Btw did add this on code?
if game:GetService("RunService"):IsStudio() then return end
RS:IsStudio()
well, i didnt use RunService
guys how difficult is making a game like sols rng
Oh no that might not be the problem
I readed devform a staff said it's a studio bug
depends, coding it is easy, making VFX is long
But it's 5 year
idk abt that, when i disable the scipt my game work
it took me 3 days to make script for it
Change tick to 2
That was the script before synchronisation
--//Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
--//Variables
local Events = ReplicatedStorage:WaitForChild("Events")
local MidNight = Events:WaitForChild("Midnight")
local UniversalValues = workspace.UniversalValues
local TimeRegulator = UniversalValues:WaitForChild("Time")
local Time = 360
local Acceleration = 1
local Tick = 0.5
--//Functions
while true do Time = Time + Acceleration
if Time > 1440 then
MidNight:FireAllClients()
task.wait(10)
Time = 360
end
TimeRegulator.Value = Time
task.wait(Tick)
end
Maybe it's going fast
k i will try
No way...
someone script me and inv system๐ญ๐
roblox studio have slow processing power
thx fr
Was it ?
No one gonna do it trust me either you learn coding and make your self or buy it or hire sommeon to make it for you.
well roblox was just not able to save data in less then 1 second
nah like i can pay
but nobody whos for hire is lowkey committed or good
brb
Ik cuz deadline means it stopped working of the speed
Because of speed*
They will
But with a good price for it
what are you guys making btw??
Alright thanks
check dms
Guys anyone would like to hire me
I am a experienced scripter
with more then 3 years of experience
Okay and?
what are you working on rn?
Guys anyone would like to hire me
I am a experienced scripter
with more then 3 years of experience
am no scripter, but how would night runners main menu work at all? its like a cinematic camera floating around the vehicle, changing the views n all, would it be just a moving part or a whole another thing?
Nothing
you would like to make a game?
Nope I can't still I am trying to focus on scripting
wym? learning scripting?
Roblox scripting I am still noob
making a game make you better fr but that's as you wish
what are you learning rn?
k well dm me if you want to make a game at some point
why was your account created today? got a valid explanation maybe, cuz you seem sketchy
i forgot my password lol
alr..
but what seem sketchy??
"if you want to make a game at some point"
idk it just seems weird
i cant explain but its just real like sketchy to me
well u can check my roblox acc if u rlly want to, you'll see I alr made games
