#code-discussion
1 messages Β· Page 108 of 1
to hard
Make Roblox studio
Also hard
ragebaiting
Ur either ragebait or some random 12 year old
In 6 years
^^
Bro what
rahhhh
mid
Grrrr
whereβs my share
π₯
Low
I gave you a pencil
real thats light work
1 Robux
π
For your lims
ill think abt it
π€«
its not even released
i just got a bit of limiteds
so itll take a sec to sell it
How the hell do you gave pending Robux then
Gimme your lims for free 
π
I gave you a pencil remember
is anyone fimilar with making ugc and could help me real quick?
wrong channel bud
i cant find the right one sry
mogged
as a scripter, what are the best showcases to put on my portfolio
how much would yall charge for a pet hatching system?
I can mog u
What physics can I use to make an airborne momentum? If you are moving in a direction and jump, you continue to move in that direction until you hit ground. You should not be able to change direction during it.
Drag
Care to explain what you mean by that?
Oh and also enertia
Physics concepts
I meant roblox physics like linearassembly and stuff
Same thing
It's not as easy to implement it in roblox with coding with just knowing the physics concept.
Its easier now that you know what to google
Blud could not spell Inertia right in first place
this kids 100% watching that brawldev tutorial
it had like 15-20 vids
hes just typing out all the titles included in that playlist lol
yeah its obv
did this guy hacked or smt
mods
"and its boring" "i quit like 7 times throughout the process"
im not trying to downplay you, you're starting out, everyone has started out at a point before
but saying its boring after learning basics is crazy
if you can't see my point by the msgs above, im not even going to try to enlighten you
dummy got flash banged
what did he say
sent advertisements for gambling shit
lmao
94k is measley
why making viewmodels are so dumbass
damn
bro can actually live from roblox with these revenues 
can you give me half π
lol
lol
how π
go to roblox studio settings and disable that thing
wheres that at
turned i t off ty
np
someeone hellp wiht the long arm movement systemm
https://medal.tv/es/games/roblox-studio/clips/kxNyraAIB6x-hhHhx?invite=cr-MSw0WWgsMzEyNTIxNzg
Anyone knows how to optimize studio in order to remove the laggy screen when moving or the slow cursor? (I got a good PC so shouldn't be doing that')
Watch Untitled by dv_k41 and millions of other Roblox Studio videos on Medal. Tags: Roblox Studio
Ik that ain't coding but I need some help if anyone knows the solution
reinstall studio
π
Tried that and removing the files too, doesn't do sht π₯
Not even reddit is helping, that's bad
studio is always buggy, so just wait
actually if you low your volume while the studio client is running, all your studio sound gets low too
I don't think that's solving anything tbf
Publishing game once worked me for me lol
It is
And the lag goes away?
my studio import window gets terminated if i try bulk importing any model π
Yup
Is there any point of using task.spawn() when you can just use coroutines instead and have more control (when needed)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
Players.PlayerAdded:Connect(function(player)
wait(0.2)
local leaderstats = player:WaitForChild("leaderstats")
local plot1 = workspace.plot1
local plot2 = workspace.plot2
print("finding plot")
if plot1.Istaken.Value == true then
print("plot 1 taken trying plot 2")
elseif plot2.Istaken.Value == true then
print("plot 2 taken")
elseif plot1.Istaken.Value == false then
print("giving player plot 1")
player.leaderstats.plot.Value = 1
print("gave player plot 1")
elseif plot2.Istaken.Value == false then
print("giving player plot 2")
player.leaderstats.plot.Value = 2
print("gave player plot 2")
else
print("all plots are taken how tf are you here")
print("found plot")
end
end)
it says it adds to leadersats but doesnt im so cofused can anyone help
does anyone know how to save and load ivnentories in profilestore i can only do values rn
uh what
+= can't be used when you're defining a variable
since that would take over defining the variable
it's just a shorthand
rate my first ever script π
CFrame = part.CFrame * CFrame.Angles(0, math.pi, 0)
is that 7 lines π
Not even bad for a first script tho
Most people don't get theirs working
can you guys give me something not to hard to script. I need to improve.
Sorry I know this was a while ago but could I have your modified version?
Was looking at people discussing fastcast and came across your uh message
I just replaced the raycasts with spherecasts, nothing special.
Oh
I wonder if that will work with most the api
I'll try it out when I got the time, thanks tho!
Save you some trouble.
Same arguments as the original, just with the extra rayRadius parameter.
what is rayRadius under
?
the 2nd value of caster:fire() event yeah?
Yeah.
Alright thanks mate!
No problem.
me me me
Bet
local tools = {
["Golden Gun"] = gamepassTools.GoldenGun["Golden Gun"]
}
-- Functions
giveStarterGear.OnServerEvent:Connect(function(plr, name)
if tools[name] then
tools[name]:Clone().Parent = plr.StarterGear
tools[name]:Clone().Parent = plr.Backpack
end
end)
Anyone know why when, at first when I clone it into the player's backpack, the gun works, but AFTER when the player resets and the gun now appears in the startergear, the gun stops working? Why is this?
Cloning the tool client side is bad practice to begin with
Why isn't the server cloning it instead
kinda 12
i got it working from the firs titme
xd
v
no one
Mb bro I'm just trying to get more experience πͺ
its being cloned by the server what u on about π
can u not see the OnServerEvent lol
i was just correcting him
nothing is wrong
Oh alr
hi guys
i have a lot asset and images to upload ?
is any way can i upload them automatic or faster not manualy ,
Upload them thru asset manager
Good point I was tired
dont do lag ? almost 10k image
why is'nt the ArcHandle moving the part accordingly to how i expected it to be
local ConvertedAxis = ConvertAxisToVector()
--Converted Axis is the axis that the accessory will rotate on but converted from
-- enum.axis.Y to vector.new(0, 1, 0) as example
local Rotation = CFrame.fromAxisAngle(ConvertedAxis, math.deg(RelativeAngle))
TweenService:Create(Att, MainTweenInfo, {CFrame = Rotation}):Play()
you have to be part of the lgbtq community
it's the only way
I MADE IT TRANSPARENT IM SO GOOD
w
Any scripters my budget is 5k robux
i can for 10 robux
yo guys i need someone to help me with a donation game on roblox
U can do plane spawners?
idk i can only the basics like print instance and kill brick so prob not
im the goat of this shi you hurd
yeah w better then me
we both gonna be making millions of robux by the end of the year twin dw
yeah i could not even predict a future where i give up again
hustle twin matter fact imma dm u
he is
stop meatriding he aint giving u money π€ͺ
yo anyone good scripter here?
yeah i know how to make a kill brick
Depends
me
On the pay
im the best scripter alive
Iβm better
i think its supposed to be called leaderstats
dm
aint nobody dming u buddy u aint a celebrity π₯π
yea
no bro
leaderstat
keep the coins the same
leaderstats on both
not on both
just the top one
put an s at the end of the string
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = Player
local Coins = Instance.new("IntValue")
Coins.Name = "Coins"
Coins.Value = 0
Coins.Parent = leaderstats``` this is what mine looks like
no u can keep ur code but just change leaderstat string into leaderstats
legit just add an s at the end buddy THIS ISNT THAT HARD
yea ur cooked i agree
its fine we all start somewhere
how long scripting?
what should i do
a) make my own operating system in roblox
b) make a video for youtube to make a game by ONLY scripting
yeah and still super good
in what
scriptig or ui
ok can u speak basic english
can u not piss me off when i teach you
and most importantly
which color preset is better?
can u pay me
bottom left
top left
na i cant do c
what do u need
so then actually code, watch 1 vid, with that knowledge, put it to the test. Do that everyday and you'll get better
watch one at a time and keep repeating
Don't watch all of them and do nothing till the end
just watching wont help
but really, if you can't watch one 9min vid and put that knowledge to the test, then idk what you're doing bro. Your education system failed you bro
make a part that gives you a speed boost or a loop that spawns random parts around the spawn
If you want to learn how to code, don't watch those awful videos. They mix up teaching you luau and the Roblox API. Search up a Lua tutorial since it's the same as luau. Luau is just a sandboxed version of Lua with key changes. After that you learn on demand as you make what you want.
It's okay if you forget, that's part of the process
you gotta try just watch how to do it and keep doing it until you understand how to do it
thats what i am doing
If you want to be able to program, learn the bare bones stuff. Learn Lua. Then continue on with the API
it doesnt need to be workspace
i started sctipting like 4 days ago and i think im starting to get somewhere
this is a basic kill brick
keep doing it over and over again and you will learn
Take a 30 minute break, rome wasnt built in a day π
never gonna learn with just giving up
why
im not that good either
but i just take my time and dont give up
not that hard i think
hard part is what to do everything is done alr
u js do π
when you forget it repeat it
learn a few concepts then apply them.
id say learn a concept, apply it, then learn another concept, apply it, and then apply both of them together
remember to take a break once in a while and keep repeating the things you dont understand
ok
i hope im a good scripter by then to
drink about 1000-1500 mg of caffeine, search a lot of tutorials about programming logic, arrays etc, how roblox studio work, then just find a real quality luau tut playlist
I tried that but i dont know how I actually make game or playable systems with these like i know how to attach numbers and stuff but not create them as actual game
ofc u cant implement it in games yet
you only know the basics
after learning the basics
learn roblox studio
where to store data
and where to store scripts
all that
BrawlDev
can anyone help, my remote event doesnt work, --Service Imports (Server script)
local replicatedStorage = game:GetService("ReplicatedStorage")
local remotes = replicatedStorage.Remotes
game.ReplicatedStorage.Remotes.Attack.OnServerEvent:Connect(function(player)
local character = player.Character
if character then
local humanoid : Humanoid = character:FindFirstChild("Humanoid")
if humanoid then
print(player.Name .."Has attacked")
end
end
end) (Client script) --Services Imports
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
--- Variables
local remotes = replicatedStorage:WaitForChild("Remotes")
runService.RenderStepped:Connect(function(deltaTime: number)
if userInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
remotes.Attack:FireServer()
end
end)
no, a really, really good tut, or look into devforum
i guess remotes path being called after the remote being executed
im on phone so sorry if I'm seeing something wrong
nah u good, i found the error with some nice guys in VC . I had my script in server storage instead of serverScripts
ooh make sense
So this is my first ever day of scripting, I was trying to make this block appear and then after 1.2 sec it becomes red and then it disappears after 0.8 sec (2 sec in total) and repeat but it isnt working< can someone help??
`local DisappearBlock = workspace.Stairs.DisappearBlock
local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
DisappearBlock.Color = DisappearBlock.BrickColor
DisappearBlock.Material = "SmoothPlastic"
end
local function Appear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
wait(1.2)
DisappearBlock.Color = Color3.new(1, 0, 0)
DisappearBlock.Material = "Neon"
end
while true do
task.wait(2)
Disappear()
task.wait(2)
Appear()
end`
Whats it doing instead?
it disappears withtout appearing
no. Thats the clean approach
@near ocean now i see
it happens only 1 time
`local DisappearBlock = workspace.Stairs.DisappearBlock
local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
DisappearBlock.Color = DisappearBlock.BrickColor
DisappearBlock.Material = "SmoothPlastic"
end
local function Appear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
wait(1.2)
DisappearBlock.Color = Color3.new(1, 0, 0)
DisappearBlock.Material = "Neon"
task.wait(0.2)
end
while true do
Appear()
task.wait(2)
Disappear()
task.wait(2)
return
end`
how do i make it loop?
You have it running for a total of 5.2 seconds not 2 with the 2 task.wait(2)s and the wait in the function appear. You are waiting to disappear instead of waiting AFTER appearing. You turn red late but it doesnt delay the loop so its prob going to flash too briefly or be skipped.
Youre running the code inside a while loop. Wdym?
i dont udnerstand anything im new
i started today
i just want it to be red after 1.2 sec from appearing and then disappearing after 0.8 and then loop
What is data()? Are we referencing a constructor? like: local data = class.new?
its not looping
Try:
local DisappearBlock = workspace.Stairs.DisappearBlock
local function Appear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
DisappearBlock.Color = Color3.new(1, 1, 1)
DisappearBlock.Material = "SmoothPlastic"
end
local function TurnRed()
DisappearBlock.Color = Color3.new(1, 0, 0)
DisappearBlock.Material = "Neon"
end
local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
end
while true do
Appear()
task.wait(1.2)
TurnRed()
task.wait(0.8)
Disappear()
end
If youre referencing a class and that is a module full of objects being written into the datastore then sure ig
what are you trying to do exactly. Explain
make it red, then it disappear then it appears after 2 sec
but now its only changing color
Try:
local DisappearBlock = workspace.Stairs.DisappearBlock
local function TurnRedAndAppear()
DisappearBlock.Transparency = 0
DisappearBlock.CanCollide = true
DisappearBlock.Color = Color3.new(1, 0, 0) -- Red
DisappearBlock.Material = Enum.Material.Neon
end
local function Disappear()
DisappearBlock.Transparency = 1
DisappearBlock.CanCollide = false
end
while true do
TurnRedAndAppear()
task.wait(0.8)
Disappear()
task.wait(1.2)
end
Reason it wasn't looking like it disappeared is because there's no delay or wait in between disappearing and appearing in your loop
yes there is
TurnRedAndAppear()
task.wait(0.8)
Disappear()
task.wait(1.2)
..Now there is I replied to the other one
Are these good enough to where people want to hire me or do I spend like days working on a really good design?
These 3 have took me like an hour each at most
Like looking at the others I might have to spend like a couple days making smth, only thing is tho I can only script
It's not that difficult to build a more appealing but rudimentary GUI
I wouldn't hire you for your code quality and design, but that's only because I know how to script
excessive waitforchild
Also player.Character exists
Look at the documentation
Do you have a portfolio, if not, i recommend making one and putting it in there. i feel like designs aren't really needed but they definitely add that touch. However there are some places to improve, such as your coding conventions, but apart from that i say good job.
you dont need designs if people arent being weird just make the code organized with modules n stuff and put comments where needed stuff like that and make sure it works
modules goat
How do I make these 2 scripts work together? Whenever I paste them both they fight eachother and neither work.
does anyone know where i can buy scripts n stuff im tryna reverse engineer good shi n learn
Send at dm
Ill help
What am I even looking at
πππ
His code?
hey guys, can any1 help me figure out why my tool's animation doesnt play?
What is the animation?
output
it's the roblox default sword animation for now
Is it for r15 or r6?
Damm
action
Do you know what tool activated means?
not exactly
When the player clicks with their tool equipped
Fires Equipped signal
But that is not the issue
Try to put animation.Animationid inside tool activated
Wait who made the animation?
It is under the group.
No deal imo
Ofc no deal
why not
1.1k is nothing
Yeah
How do I learn this stuff
Instance animation inside the tool and do local animation = tool.test(remember to change the of animation)
And ofc put your animation id inside animation
I've done that as well
I will look into it.
Uhh can anyone send me some good tasks to train my scripting abilities?
admin panel
its because he didnt do .animator
local am = humanoid.Animator:LoadAnimation(anim) am:Play()
guys
can I pass self to another module?
maybe via a function?
so like
-- Script 1
AnotherModule.Whatever(self)
-- Script 2
function AnotherModule.Whatever(PassedSelf)
PassefSelf.Health = 100
end
Nah I tried that too
yes
it works
π
now if i change something
will it change in the script
that passed it?
Why would you do this?
(i dont think i need to but js in case)
I donβt think itβs a good practice.
why not
look
i have priorities
like
Attack = 20
Kick = 15
Blablabla = 10
it check if it can attack
passes self to an attack module
it checks things
and returns a bool
everything that has to be checked
happens in another scripting
keeping my statemachine and stuff clean
Ig if it works, it works
Ig so
task.wait(0.2)
local clickdetector = script.Parent:WaitForChild("ClickDetector")
local players = game:GetService("Players")
local player = players.LocalPlayer
local leaderstats = player:WaitForChild("leaderstats")
local plot = leaderstats.plot.Value
local gui = game.StarterGui.planting_ui:WaitForChild("Frame").Visible
local wrongplotui= game.StarterGui.gotoyourplot.Visible
clickdetector.MouseClick:Connect(function()
print("player clicked")
if plot == 2 then
gui = true
print("clicked on right planter")
else
gui = false
wrongplotui = true
print("clicked on wrong planter")
print("player clicked planter findhed working")
end
end)
it doesnt print or do anything when the player clicks
Anyone looking to hire a project manager?
hiring a scripter only %
Damm only 0%
Is it bad practice to use waitforchild on everything in the initial definitions of a local script considering the server might not have replicated certain items to the client in time
No
π
Nope
does anyone have an idea on how to make a physics based movement system like crazy cattle 3d?
yo can someone help me my roblox studio keeps crashing on me and it keeps saying log in again? Someone please help its driving me crazy im just trying to work
would you guys find useful a module that is like a process manager?
Unless you enabled streamingenabled or it's in replicated first, you don't need to.
But if it's run on server then yeah better to do the wait for child chain
Who can be my Dev i am hiring
is .001 seconds good enough for a state machine switch
Hi! How do you guys usually handle loading screens? What do you preload using content provider? Do you wait for game:IsLoaded()? I wrote a simple loading screen script but on a larger game it takes forever--presumably because I am preloading all the GUIs and a lot of the stuff in the workspace?
reinstall
is the click detector in the same block as the script
is it more efficient to move a viewport.position into the screen or move the viewport.Camera.Position into the scene?
im guessing the first one
does anyone know what serialization is
i am garbage at data saving and whaterver tf this is
local canActive = true
local cost = 10
button.Touched:Connect(function(hit)
local personagem = hit.Parent
local player = game.Players:GetPlayerFromCharacter(personagem)
if player then
local money = player:FindFirstChild("leaderstats"):FindFirstChild("Money")
local multiplier = player:FindFirstChild("Multiplicador")
local humanoid = personagem:FindFirstChild("Humanoid")
if humanoid and canActive and money.Value >= cost then
canActive = false
money.Value -= cost
multiplier.Value += 3
task.wait(0.3)
canActive = true
end
end
end)
I want it to keep buying continuously while Iβm standing on it, not just when I touch it.
maybe put a while statement like while the player is touching a part you want to deduct a certain value
should I tween player position on client or server
database
Like what
Moving player?
.
..
yes, since self works like any other variable
its useful for helper functions though depending on your structure you probably dont need to
use spatial queries to check if the player is still touching it
preferably using a module script to help handle what you want that part to do
idk if roblox physics bs counts as code discussion but can someone help me make the dummies act like the player and not flop around like demented fishes?
sometimes they randomly decide to work correctly but its inconsistent
I've tried anchoring them but I can't do that because they're not always at the same Y level when the aniamtion starts
My homie is fixing it wait
Is it just me or are the people asking for a scripter to script an entire game for them for like $150 dollars kind of insane?
uh yea
Dependant on the game you want
Most an entire game should ever cost is like 500
Maybe more
i feel like something is wrong here i just cant put my finger on why i think that
Games with tons of aspects and complicated code tend to be more, you can see that in #scripter-hiring there are people offering 1000$
Yeah but $1000 dollars is what you'd need to invest into a game if you can't do shit yourself
It'd be $1000 split between modelers scripters builders
No there are #scripter-hiring offering 1000$ for one scripter
Maybe
does anyone know how to take like local Animation CFrame (Like this: 0, 0, -1.32348898e-23, 0.989820659, 0.130954713, 0.0557314679, -0.137281761, 0.981803238, 0.131210521, -0.0375347026, -0.137525797, 0.989786744)
and apply it to the same limb on a rig
can someone explain __type in metatables I know its not a metamethod so what is it?
would anyone be interested in buying a site from me which i made for a client but i got scammed ? its a full-stack website.
it's a field
in your opinion whats the best roblox scripting ai
none
How much my budget should be for hiring a scripter thatβll be coding two minigames, ui and 2d house customization system
all of them
i think you'll script to the best of your ability no matter which ai you use
What is this?
some website i designed for a client that scammed me of $613
Is it a portfolio website?
For what
ill see if i can find his doc he made
it is mine i developed it
he didnt pay me
so he scammed me
im just looking to resell it
Is 20k too much or too little
thats cool, what stack?
nextjs
just nextjs?
oh thats cool
lowk u should just email a local shop or something in your town saying u have a website or something
i already have a local venu near me who contacted me for a website
can anyone help me to fix a small thing ( i guess) ? im trying to make a rebirth system but its not working since my scripts dont upgrade them on the server but just on the client. Anyone knows how to do that?? π
I don't buy this
imagine paying a developer only $500 to script deepwoken or something
client can't modify stuff that the server created and have it stick
the server has to do that
a RB system tends to have a little bit of bouncing back and forth
you shouldn't really be letting the client decide when or not they should rebirth - like client should request a rebirth through a remote event, then the server should check whether or not they can rebirth (checking a value etc) - then fire back to the client to complete the action if they can actually rebirth
like:
PlayerRequestRebirth: client -> server
server: check if player can rebirth
can rebirth: PlayerCanRebirth: server -> client
Start an argument over how this is wrong:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
π₯°
π₯Ά
Is there a showcase channel?
I made this rlly cool thing after like one week of coding, 2nd project
I'd assume #βcreations? Iidk tho
Making a US army game dm me to be dev ( not paying doing percentage only for long terms as a team )
Funny sidequest
whats a good way to instantly stop the sound from playing? now I'm using a method where I set the parent to nil and then reparent it, but it doesnt work well with new roblox audio
Prolly :Stop()
Its a method
its not satisfactory cause I can't call a play after a stop
code runs all at once so it stops and plays at the same time
result: audio is stopped
Change listener in soundservice then
As in where you recieve the sound
but if its not like global sound then idk
Uh not global sound but if it has a parent somewhere
thats a good idea
Any ideas on some coding challenges? (Just trying to get better at code)
Ask chat gpt
Gives me bad ideas
Try making hotline Miami 2 in Roblox studio
that would be pretty cool
Cute!!!
does anyone know how ppl make thees kind of scrolling/mouse movement stuff with ui (code part)?: https://gyazo.com/a15df6d02378a5b285f9ffe0f7bc393c
Like probably with mouse down and when they let go
i will try that thanks
Gl
Whats on your pfp manπ

Is there any way to safe data from one place to another place?, still same game like pet sim 99 and trading plaza, Iβm using profile service for data
Ive gotten all the basics down, where should i go to know?
Elaborate.
Check #scripter-hiring and find the ones you like
DataStoreService saves data and every place in experience can access it.
If by "place" you mean currently running server then use it's jobId as index.
:pause ?
gng who wants to teach me how to script π
indexing as in looping through a table?
or accessing a specific element in a table?
Im looking for one
HELL YEAH BLAST ZONE
Delta * Sensitivity + Position
i alredy got it working
Cheers
the delta of the runtime? and how to get sensititivity? and how to make it in code?
Is it used to access arrays
In roblox you can index instances
Which allows u to access properties of an instance
Of mouse movement in vector 2
oh
plss how do i learn coding
this is the server "OnServerEvent". ive fixed this issue tho so nws.
Ye ye my bad
take harvard's cs50 π£οΈ π₯
then transfer that knowledge to luau
selling a already scripted game dm if interested
@timber mortar
I messaged u >:) just pinged ya so u could see
how do i remove chat logs and make it bubble chat only
guys i need help with something
how much would scripting a pet simulator type game cost
bro didn't last long before elsving
just delete text chat service
but keep bubble chat
if you are a scripter, dm me. game: jump to heavan, beta
i cant delete that π
disable
when will you discover #scripter-hiring
i cba
if ur a scripter dm me so i can over work u for free
Anyone here experienced coder?
i pay, obviously
Anyone know why I can't add an actor into my game
just do something on freecodecamp with python or something, get the basics down (variables, functions, for loops, etc.). Then mabey watch a short tutorial specifically for luau. And just begin coding
anyone wanna look over my code and give me suggestions for improvement? i can't really confirm if my code is decent or not if i have nobody to help out
sure, send it
oki
is that script good I think....
it doesnt look too bad i think
its not bad its just a lot of pets
a lot of pets is gonna be a lot of code
What does the weight do?
idk i would just add that shi in a enum value in the pet
Nvm I think I got it
say i want to make a parry system, what scripts would i use and where, like would i use any modules?
i got one
basically
to northdane
just make ur fucking own u lazy
calm down enstein
guys how to learn scripting in most efficient and fast way?
boiiii what you say about mustards π€ π€
most efficient and fast way
Think of a game idea and focus on it. Thatβs what Iβm doing
Use YouTube or dev forums for things you donβt understand and just take your time to learn and take notes when needed
What game u making
Iβm making a game called sacrifice tycoon
Instead of the droppers dropping parts they drop dummies and avatars and you get souls as a currency
Oh..
Fair enough ig
Iβm still in the early stages tho and Iβm pretty new to everything
Whenever I try make something I end up using chat gpt and it kills me in the inside
Yh same
Yea I try and avoid using ai because it just doesnβt feel right to me I just look at the dev forums and look up whatβs happening and usually Iβll get a forum that has similar problems
Maybe i should try that
chatgpt doesn't actually give great advice like a lot of people say
i'm still nowhere near being a professional and i can already see bad practices in chatgpt's code
Yeah it gives quick solutions for easy problems tho
true, but you shouldn't use it as a long term solution or to write entire scripts for you
using it for a small thing you can't be bothered to search up or go on the devforum for should be ok though
Yh i don't use it to make a whole script because im tryna learn but then I feel like I cheated so I just give up and quit rblx studio for 2 weeks lol
there are like a gazillion tutorials
Im a slow learner
Last time I learned print ππ
Just look up really basic YouTube tutorials like how functions work or how to define variables
They still give no sense
Those are like 2 fundamental things youβll need to do anything
On how for example youβll be able to use that in a code
Thatβs why I want someone to guide me through live
So that I csn ask questions
Well that part is kinda up to you, but variables will be used in almost every script
Think you could help me
Just a little bit
So I get the hang of it
@somber vault, do this and dm me if you have a question or something, or need help solving a problem
Not really Iβm at work right now and Iβm still learning myself, look up devking and follow his basic playlist
Thatβs what I did to get the basics down then I started learning on my own and following more specific tutorials
Alright lemme just dm you so I have ur dm
question, how can i get started on creating an airplane that moves based on your mouses position on the screen ( like aviacio's planekit.)
like i dont even know where to start
Look at how aviacio did it and learn
do u have a video?
i currently have this script but because of the animation the vfx gets a curve how do i fix this
elseif keyPressed == "C" then
local char = player.Character
local hrp = char:WaitForChild("HumanoidRootPart")
local anim = char.Humanoid.Animator:LoadAnimation(script.RudeBuster)
local direction = hrp.CFrame.LookVector -- cache it clean before animation plays
anim:Play()
anim:AdjustSpeed(1.5)
task.wait(0.4)
local sound = Folder.Moves.Base.RudeBuster.Sound:Clone()
sound.Parent = hrp
sound:Play()
game.Debris:AddItem(sound,1.5)
local vfx = Folder.Moves.Base.RudeBuster.VFX:Clone()
vfx.Parent = workspace.Effects
vfx.CanCollide = false
vfx.CFrame = hrp.CFrame * CFrame.new(1,1.5,-3) * CFrame.Angles(math.rad(0),math.rad(-90),0)
local bv = Instance.new("BodyVelocity")
bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
bv.Velocity = direction * 250
bv.Parent = vfx
game.Debris:AddItem(vfx,1.5)
vfx.Touched:Connect(function(hit)
if hit:IsDescendantOf(player.Character) then return end
local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
if hum and not hitlist[hum.Parent] then
hitlist[hum.Parent] = true
hum:TakeDamage(20)
task.delay(1.5, function()
hitlist[hum.Parent] = false
end)
end
end)
end
change the vfx
thats not the issue mate its the humanoid rootpart lookvector that changes during the animation
then change the animation
if your vfx doesnt mesh well with animation then you either have to change the animation or the vfx to not be dependant on each other
bro its the bodyvelocity thats dependant on the animation not the vfx
you said the vfx gets curved?
the path gets curved
send a video if possible
that makes more sense
then store the look vector before playing the animation
and keep the body velocity going in that direction
dletarune
use relative to world
im tired of this stupid blender because i just cant seem to weld the axe to the rig
it works already
got a handle?
should be easy then
it doesnt work
normally im using an ik rig
yeah ts pmo bro
its gone now too
because someone told me to use a normla rig
like are you trying to add it as part of the rig in blender
yeah so it moves with the rig
and i can properly animate it
because moon isnt as smooth
you need to use a bone
and make it part of the rig
blender is too hard for that
how do I stop a function if a bool = true?
ex:
local function hello()
for i = 1, 999 do
if bool == false then
task.wait(1)
print("hi")
else
-- STOP THE FUNCTION HERE --
end
please help :D
π
Return
so I just put return once?
yo whats best way to get into coding as a beginner rn?
Break?
if bool then break end
Yo, any game devs here? Hit me up β I got something good for you!

so if I had this:
local function hi()
(whatever here)
end
local function hello()
for i = 1, 999 do
if bool == false then
task.wait(1)
print("hi")
else
break
end
while true do
hello()
hi()
end
if bool = false will it stop doing hello() and do hi()?
uh no if bool is true then it will do hi()
oh yeah mb that's what I meant sry
tysm man
np gl
u can js do
bool = true
task.delay(func(10)
bool = false
end)
while bool do
task.wait(1)
end
hi()
Why does no one code block
task.delay might be written incirrwctly but what it does is execute that function and continue with the others and after 10s the bool will be set on false
Does anyone know how I could replicate smooth footstep sfx to all clients, I cannot acces the anim tracks which I play from the players client locally, so I cant rlly use event markers only on the client cuz I cant replicate them to others. How would I be able to replicate the footstep sounds for other clients correctly
Sync them on server probably
but that wouldnt be smooth no?
Why not?
is there a way for me to use rays to see when the feet ar touching the ground on each client
why would I
play on 300 ping and look
The delay for the sound and footsteps should be equal so they would remain synced
So the ping doesn't matter
When the event marker is triggered, fire a remote to the server
I meant the animation transitioned
to much events
and causes network issues
it will add up
Use unreliable remotes
hm havent thought of that
how
footsteps u need to hear correctly
can I use rays or nah
on clients
to detect when feet touch ground
and add a debounce no?
Not sure how u would use rays exactly
Might be easier to use parts in part or similar
to check if they are touching smth
Either way it will be heavy on performance
and play coresponding footstep sounds on part
No real reason to do it
how rays on renderstepped arent that expensive
unreliable remotes hm maybe those but that would be delayed no?
They are when u have to do it for every player
Same delay as normal remotes
then why do some sanity check systems for each player on renderstepped for noclip exploits which are 2 rays on server fine
ive seen advanced ai with hunderds of rays
Because that's on server
ive seen client sided ais with hunderds of rays lol
That's just unoptimized
why does bro need someone with 3 years in scripting, UI and animating π#scripter-hiring message
thats how u know its a incompetent person hiring
doesnt rlly know acc requirements
this is using raycasts and the angle of the player from the head to detirmine of the player is visible, it also works through mostly transparent objects
this you mean?
Fr
idk how he runs that
If its raycasting in every direction then definitely
If it's only raycasting at the character then no
Plus, using queries for crucial mechanics is different from using them for peripherals like syncing sound
@proper flicker is the animation at a fixed speed?
I forgot to ask , how does movement system works and how is it created
I need partner for my journey of making my own studio
I m beingnerr no need of extraordinary skill from other one
Hijacking the default movement script π
How to hijack it??
yes
but im just gonna do what u said with events
and a hacky bypass on the client hsi footsteps
is that actually possible
Then u can reduce the number of events fired by firing once at the start of the animation
Then periodically playing the sound
is there a default script for movement?
Until another event is fired when it ends
that would save so much time
Yes
where can I get it from?
It is loaded into the player by Roblox when the game runs
So you can playtest in studio and copy it from inside ur character
How can I get it and edit it
You mean the animate script?
HEHEπ
Thanks
That's what i meant
so I just need to make my own animations
I used unreliable remotes ig and some bypass hacky shit like this:
task.spawn(function()
for _, player in Players:GetPlayers() do
repeat task.wait() until player.Character
player.Character.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Sound") and descendant.Name == "Footstep" then
descendant:Play()
descendant.Ended:Connect(function()
descendant:Destroy()
end)
end
end)
player.CharacterAdded:Connect(function(char)
char.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Sound") and descendant.Name == "Footstep" then
descendant:Play()
descendant.Ended:Connect(function()
descendant:Destroy()
end)
end
end)
end)
end
end)
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
char.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Sound") and descendant.Name == "Footstep" then
descendant:Play()
descendant.Ended:Connect(function()
descendant:Destroy()
end)
end
end)
end)
end)
LocalPlayer.Character.DescendantAdded:Connect(function(descendant)
if descendant:IsA("Sound") and descendant.Name == "Footstep" then
descendant:Destroy()
end
end)
You can use it rhe default anims
better to use physics for things like dashes etc
server adds the sound instance and destroys after 3 seconds
physics + visuals but don't rely on animations for movement itself
Use lua inside ur code blocks
I want it to play different animations then default when playrs move around
but how does dashes work
Then yes
how do you aply physics for it
Need to code separately
Using impulse, velocity or one of the physics instances
ApplyImpulse for uncontrolled movements and LinearVelocity for controlled movements
so if you want to fling the player then probably apply impulse
Why does my game not load 90% of the time when i click the play button in studio
its just the sky and nothing else
Is StreamingEnabled enabled?
Probably something related to Streaming
it is enabled
Well go learn what streaming is.
Or disable it if you don't need it.
You probably need it if you wanna optimize your game for mobile or have big map.
Then don't use Streaming.
still does the same thing when disabled
Well having Streaming enabled is always good.
π
guys do you know how to get the flag's player icon with the location of the player?
Character spawns?
this is all that shows
On server.
nope
Well that's the reason, no?
You don't have character so camera just chilling
Where else would camera go?
Im asking what the reason for this is
i dont have any code that would lead to this
the bots login every hour to get the shitfuck event, no sane human being would do that
-# grow a garden
You don't have any code that isn't leading to this.
What should happen in your opinion?
and people STILL say gag isnt botted bro
I'm getting a bunch of api errors in console
What SHOULD happen?
The character should spawn into the world
like normal
and be able to walk around
after waiting awhile it worked and my character is just invisible
Well you said your character isn't spawning.
So go fix that?
dawg
I don't have any code that contributes to the spawning of a character into the world
So your character just doesn't spawn?
It is a problem with studio
looks like a roblox studio issue
Thats why i was asking if anyone has experienced this issue before
I didnt notice an outage with roblox studio when i checked
stuff just sometimes errors with roblox for whatever reason. it should resolve itself at some point
I had many problems where I thought roblox is dumb but I caused the problem, even tho error was on roblox part.
nvm roblox is experiencing an outage rn
oh is that where all those weird messages are from?
a barb
a barbershop hair
a barbershop haircut that costs a quarter
Ok
man wows audience in 2 sentences!
this 97 year old stage still serves barbershop haircuts the old fashioned way
wtf
there's nothing inherently bad about it. it depends on what you do that will make it either bad or good
thanks
you're welcome
it looks like your while loop will run infinitely no?
why u doin task.wait() and then wait() tho
holdon u might be right
i havent really mapped out the code
im tryna make grow a garden purely for practice
you just have to make sure you call a break in the second while loop
and im scripting as it flows
aight
thanks yall
guys is this error from the roblox outage rn
Nope
It's a yielding infinite loop
doesnt it increase time comp
wdym by time comp
time complexity
i.e the time it takes your program to run relatively to the amount of data inputed
idk tho
consult someone with more expertise
looks like it
What should i move onto after completing and having a basis in the foundations? (Variables-tables)
Wsg guys im working on a new game and i need scripters dm me if u want to help.
yo does anyone know how i can fix an arm from not appearing
what is the game about?
What skill lvl u lf
is there a way to update data for offline players using profile store?
yes
What
how
lemme get the API up forgot
Update data for offline players the heck
oh aight tysm
It changes data even if player is offline?
yes
only works if u do :GetAsync instead of starting a session
Weird
if you can probably check to make sure the player doesnt have an active seession in a server first
what would be the best way to handle dev products with profile store? for a revive system, if the purchase fails (say the player left maybe) i want the player to get +1 revive use
store it under a table in their data
^
whenever a player buys something
i cant write to their profile if they left no?
store it under a "pendingPurchases" table
@thorn frigate
okay ty
How should i know progress after getting the basics down?
Should i take free models and break them apart?
Make random stuff
I think i can only make the basic stuff like making a lamp glow and dim π
Do that then
Some other easy stuff is:
Basic level system
Making parts moves
Basic coin system
Nothing too much
I see
If you just can't get it look up videos then try on your own ag
And then once im comfortable, how should i move on to more beginner-intermediate things
what should i code for my portfolio
Me ππ
Make the things you already made better
Say like it leveling system you could make a leveling system much more complex
too ez
Winston from 1984 is NOT an easy character to make(if yk the book)
code bro not model
Scripting a parry system with posture is so hardπ
Code a gf then
dude wahts my portfolio to be boring
Precisely
Guns, movement systems, npcs,
Make things people would want to hire you for
with the type of games that are trending these days
hmm
Probably a system required in games similar to GAG π
guess i can make a quick grid system
Trading could be good?
Grid system?
Yea
What i used to do is look at hiring scripters and see what most people were hiring for and made them system to add to my thing
i could probs just do the single fence and the connector
I remember being there
which 1 do i use
i just realized i was trying to save a function...
