#code-discussion
1 messages Β· Page 11 of 1
you're not worth the mental bandwidth
Learning requires experimentation
true
the conversation was really interesting

Yurr
YUUUUUURPPPPPP i dont if u got the reference π
if u dont know what u doing and just repeating what u have learned like an idiot that does not mean that u are a good developper.
Noo π
What makes a good developer
according to you
whats is ur interest like web developping or idk how to say it in english
Boo web dev
before i start learning pen testing i started by learning like the basics of html and css and also a bit of java to understand how to web work cuz if u learn directly pen testing without getting some experience in html or css and a bit of java u gonna be lost
its so boring
I code Roblox game
That's cool but I need you to re-read the question
i thought its was a point didnt know it was a question π
understanding what he dealing with and he doing with
Lua is a easy language tbh i learned like almost all the basics in 1 week π
fastest language i mastered
Oh really damn, how long u been coding
is this normal, so many posts on the scripter hirer pay less for an actual coded game than what a mcdonalds worker earns in two hours
now 3 years ive been coding in Python Html Css and im aiming to learn C but i dont have much time cuz of exams and now its only 1 month im coding in Lua and i have around 3 months a half in web security experience not too much but im still learning
That's lots of learning, hats off to you brother
yo guys, who knows how to scale a UI in a BilboardGUI
What do you guys think i should watch/read when starting to script?
Attack on Titan
Prolly roblox docs or youtube videos, i enjoyed and reccomend watching brawldev
Nah attack on titan better
Jojo better
anime is shit
Found this from the docs If the part is owned by the server, this function must be called from a server Script (not from a LocalScript or a Script with RunContext set to Enum.RunContext.Client). If the part is owned by a client through automatic ownership, this function can be called from either a client script or a server script; calling it from a client script for a server-owned part will have no effect. This is likely your issue but can't know for sure.
Try applying the impulse to player.Character.PrimaryPart.CFrame.LookVector instead
Is there any scripter here that has time to look at my scripting problem, Dm me
yea that fixed it
ya it only works in clientside
That's what people think your work is worth
guys do i have to learn everything or can i just learn what i want because i dont really care much for pathfinding & ai, i mainly prefer game mechanics and backend security
ANY beginner scripter who knows the basic or with less experience pls dm me!
what does the spawn function do
use task.spawn
what does that do? π
JONSWAP + TMA spectrum in roblox. I... think its working as intended? It appears to be tiling perfectly fine, but its hard to tell until I make the wave heightmap.
This is for water physics
Do roblox front end scripters only do animations, UI and vfx?
probably UI stuff. Animations and vfx is a whole 'nother ballpark. Scripters tend to handle functionality more than design. For design we have #interface, for animations #animation, and vfx #effects
It always depends on the person though. Lots of people wear multiple hats.. but at the end of the day all scripting does is handle logic.
brawldev has really good tutorials you should watch him, he explains it clearly i would explain it but i kinda forgot it and im doing something else so i just gave you him as he is good
question, do i really NEED to learn pathfinding and ai if i only wanna do game mechanics and backend security cause i dont really care much for it
can someone give me a good pathfinding tutorial?
oop cant send links yet
guys shall i teach anyone to script? - 150-300 robux per lesson
roblox has an easy to use library for pathfinding.
also, you can cherry pick your projects if you want to as a scripter. Lots of scripters are good in some areas and not so great in others. Pathfinding is only really useful for anything with npcs
type roblox pathfinding in google and go to "character pathfinding" article
use chatgpt ibsr its the most solid and pretty good knowledge but thedevking and suphi kaner have good tutorials if you want to have a video
alr
idk if ur talking to me but ik its easy i just dont really care much for it ygm
chatgpt is only a bandaid. You wont learn debugging by using it, and are limited to its knowledge. Its only useful for simple uses, and bugs out for anything more complex
i personally ask it to give me hints if im stuck π€·ββοΈ i never really had problems with it
its good for hints but I wouldn't rely it to reliably hand me code, only give suggestions
oh yh obv
couldnt u also use it to teach you code asw?
I think the spectrum is solid. This is after adding in Donelan-Banner Directional Spreading, and it looks correct but again hard to tell until I make the heightmap
oops forgot to send vid
sorta. Itll help you learn concepts but wont help you learn idiomatic code.. for the most part at least. That mostly just requires practice though.
Tho 100% get decent at programming before you learn style guides
no
thats why documentation exists
llms cannot reliably learn facts
it will hallucinate, it will get confused
ahh alr, does anyone know some good backend security videos or good docs?
dumb question but what is this usually used for?
math involving pi
pi
like in what situation you need to use pi
never
any equation that requires it
converting degrees to radians?
lot of vfx use circles
but it does that for you
anything relating to circles pretty much
marh.deg and math.rad
unless you trying to use roblox studio to do ur hw
yeah
wait a minute now that i think of it
this sytem im developing might need to use pi π
this is one of the first uses of pi you learn about
i use it for a pet system
that fancy symbol is pi
i know
to position target points
does anyone know some good backend security videos or good docs?
its literally just pi
guys how much would a grid placement system cost to get it scripted?
like 20k robux
ty
can't find any
brawldev
also I feel like investing money into a course would make me actually motivated to finish it
yikes
nah
doesnt work and you can get the courses pirated
- courses are shit
no cause u can get hot scammed and then they most likely suck
make solo projects @zinc wedge thats how you learn
trust me if you really wanna script and have a passion to then learn about it, theres no point in spending money if your gna hate scripting
yuh I js tried them
you learn as you go
yo dawg i need help tho
with
im not trynna learn scripting
do yk any good yt tuts or good docs for backend security
im talking abt coding in general
then
define backend security
securing a remote?
C# python etc
js in general it seems fun
same concept goes for programming, go make projects
Included with a monthly price
js go on yt bro theres plenty of people that will teach for free
eh that's true
i mean if you mean defsec you will need to look at a bunch of guides and pratice pentesting
are u talking abt roblox studio π
I got a year before college so it's prolly not worth learning to script anyway
it is and you can become a high level dev in less than 3mo
I do ui and vfx rn
there is no security needed on roblox 99% of it is done for you
I can front end most of my vfx
Backend scares the living shit out of me though
Ray casts hitboxes etc
They look so daunting
ohh alr then ig ill js learn game mechanics and shit like that cause pathfinding so ahh π π
idk where this stigma of frontend/backend has come from on roblox??
aint it all frontend?
make your own pathfinding
you need to learn front-end to be a good vfx artist
it doesnt exist? roblox isn't a frontend/backend platform?
it's 1 language
type shi
with 1 compiler
you mean vfx scripting
its js so ahh to learn abt
thats the term you are looking for
A*
ppl call it front end
it is not that hard to implement
sped stigma
its not called frontend on roblox
frontend only applies to languages with rendering and processing seperated
how long have you been doing scripting
i think bro may know a thing or two abt scripting
im 17
and i js started ui too and im making decent money but I don't feel like quitting so easily
same
And are you a high level dev?
not sarcasm
Genuine question like are you well known
id be scared if he wasnt no
And have worked on good games
oh on roblox yeda
yea
but that can be done with 6mo of experience lol
people care way too much about contributed projects when the only thing that matters is quality of work and speed
i wanna start making money asw but theres so much to learn abt scripting π
fyi this is the only thing studios that pay a living wage care about
speed and quality
why would i hire developer A with 10 billion contributed visits instead of developer B outsourced from ukraine with a low salary and who will work 8+ hours a day nonstop that is a similar level of developer A
but roblox is not a career choice for a lot people especially now because there are so many sharks and its oversaturated
biggest limitation is that you are developing on somebody elses platform which their recent updates are acknowledging but it wont ever be enough
do what onnet did no
js make a solo game that is hella grindy and work on it for 7 years
a lot of these successful devs still go to uni and get degrees
thats what onnet did i swear
because its realistic
guys were crying to him about new update when he needed to submit a final or smth
i stopped pursuing roblox as my final career choice <3ish years ago
its not going to help me in the future anymore
i wanna be a game dev
i mean you can but its unrealistic without a large budget and connections
I might do game dev as a course in college
that would be stupid af
Wdym
icl im js learning to code for fun i dont want to do anything with it, i plan to either play volleyball or go do law for uni
you will just become apart of a multimedia studio
thats realistic
roblox is not how it was a few years ago
after covid these massive 'metaverse advertising' companies popped up and have destroyed market share becuase they can buy anything they want
its unrealistic icl sorry to crush ur dreams, barely any devs really make it and even if they do they have years of experience
and make it more profitable
I don't wanna game dev in roblox lmao
I'm not talking about roblox π
im talking about in general
in general tho
whats your basis on this anyway
unless ur some indie game dev who somehow made it and people like ur game
the people that do make it well rhey make it
most people who do game dev studies end up just becoming apart of the activision workforce or something similar @zinc wedge its kind of sad
nah id rather work for a triple a
is that bad though
working for a big name company while doing what you love
it depends on the person, some people just want to work for a company most of their lives because they enjoy game dev
and don't wanna make something of their own because of the risks and difficulty
yuh
but it is bad if you have hopes of going farther than being a 9-5
yes
you are very limited in large companies
Wym
Sorry im a Lil slow i js had a math test
how would i go about porting these extra directional dashes to mobile? the farthest i have got is having my character backdash repeatedly until it reached the limit of dashes
bro some "triple a" companies are so dogshit, i forgot who it was but some studio made a star wars game that was triple a but could only be played at a max of 60 fps
oh mb
these companies treat you as an asset and you are just apart of thousands
you will have limited creativity
decent pay though
thats why u js put everything on red and win big
yuh that's a downside
and a lot of these triple A studios have horrible working environments
but I still don't get why so many ppl hate on triple a
tech sector globally is pretty fucked
because they treat their employees like shit
and this is from personal stories ive heard as well
I know fs I wanna do something with computer science
learn something desirable
have fun battleing for the last spot in the homeless shelter along with business majors
or learn electronic engineering
thats in the US
doesnt apply globally
people say tech sector is dead and that companies have stopped hiring and its the biggest lie lmao
they just wont hire inexperienced new hires because they have learned that they are dead workforce and just make them lose more money
thats why you should start working on a portfolio as you study
yeah no i heard from friends that used to do cs gcse and it was so ahh and market is so saturated (i live in uk)
that way you can give YOE + degree
its difficult because so many people do these degrees with 0 ability to creatively think
tbf depending how old you are you can spend ur time learning a sport
so they cannot go and work for startups either
What do u wanna do
im either tryna play volleyball in uni if i go america or canada or learn law
I keep getting sent videos from my friend that say pov you are a computer science graduate and it's just a picture of a homeless person
its because its true
yea because these unis teach people to think in a box and nobody will hire them
and they graduate without any experience in any kind of development
?
all they know is theories that nobody uses
I think the problem is people learn computer science because they are told they are going to get a good paying job not because they actually enjoy it
chatgpt is cooking?
average game dev when u tell them to touch grass
I'm ass at physics
exactly
I play football
Semi professionally
yeah no
lol ur defo not making it in football no way
its so hard its not even funny
π€·ββοΈ beggars can't be choosers, hardware development is something that is slept on but you can go and work in china for example get paid tons to do R&D and then mass produce tech and make millions
but you gotta love what you do
don't love what you do == won't suceed to the fullest in programming
icl i have a better chance playing volleyball professionally by the time im 24 even though im 17 and have nearly 1.5years of experience
How do I fix this π π
Its already called Handle
π
bro
gg
name the model Handle
and move it to the spot using its orientation and position in the tool
what r u planning to do in the future tho
software engineering/hardware engeering/computer engineering
engineering
hardware is very sought after
just people dont know that
i mean u alrdy got experience so u got a shot
Thank's
merry christmas
army
when i go army i will get experience
guaranteed job
π€·ββοΈ
fairs ig
the only way to become good at anything is to get hands-on with it
im tryna tryout to a new club im going to in a month or two
name 1 basketball player who is in the NBA from reading books
yeah tbf
π
be fr bro
apply to CS degree and get high grades in test but dont make your own projects == useless bot
yeah thats what my coach always says asw for volleyball, you can be really good at practice drills but if you dont have in game experience you wont become better
ik it isnt the same
but you get it
na it is the same
its the exact same concept
lmao
and this is why i hate school because they do not tell you that
most things are a repetition to get good at asw
100%
you have to keep repeating stuff over to get better
thats why years of experience are what determines where people are placed in jobs lmao
yeah ik
i really dont know what people think to themselves going to do a degree in something they wont touch
average sports enthusiast when you tell them their isn't the best
and then thinking they will get hired
So basically I'm cooked
nah you arent if you start learning now
and actually try and work in the field while doing college
not rlly i did a lot of sports but im not crazy over any sport like average english dads
Would I be less cooked if I start building a portfolio rn
what do we think of totenham
bro its js abt sticking to what u wanna do
that's what I'm trynna do, hence the original question abt codeacadamy
shit, what do we think of shit
totenham
??? Both of you said it's ass
Well not just you
Bunch of other people
yeah we gave u a realistic approach to it if ur waiting around, but if you wanna actually do smth then build a portfolio but not from academy
did u not js hear what realsamtheman said
I did
I'm gonna have to research more
academys are like schools so u might asw get a free tut and try build smth
Cuz there's also the risk of ai type shi
And like u said game dev is kinda unrealistic and a bad job
i mean if u really love it, it wont be a bad job but it is unrealistic
another reason to not learn scripting
i can't use it on my portfolio or for jobs
i mean i cant put "i play volleyball π " on my cv but dosnt stop me from doing it
but you want to play volleyball pro
For the rest of ur life possibly
tbf yeah but i also plan on studying law
I don't wanna do roblox development like that
how code
icl if u rlly want to become developer my honest advice (i barely know how to code in roblox i js did metatables) but, my honest advice is atleast do something that you like to build experience and then move on later, because as sam said roblox dosnt offer much
step 1. go on yt and search brawldev
step 2. throw your computer out the window
uhhh my computer broke
good no thats good
yuh that's what im saying
dont worry
my window also shattered
no thats part of the plan
do u feel the knowledge and empowerment of every ancestor of coding ever go into ur brain
if not gg go next coding not for u
but fr if u wanna know watch brawldevs tutorials hes so goated
how do i make this script work for every aprt in workspace called part
do workspace:GetChildren() to get everything in the work space then use a for loop to loop over them. then check if the par thas the name part with an if statement then run the code if that's the case
is there a way i can loop through a table and make everything false except for a very specific one whenever a function fires?
for i,v in ipairs(workspace:GetChildren()) do
if v.name == "part" then
v.Triggered:Connect(...
end
end
might want to name the variables something other than v
but that's the logic for it
oh i just couldn't be bothered to write out the rest of the event
it's what you already wrote
oohohohohhhhhhh
which one don't you want to be false
lets do W for now ig, cause i have a seperate function for each of them
so if W is Held I want all the other ones to be false yk?
so if one is true you want the rest to be false
yea
well you could just set them all to be false first and then after set the one you want to be true
yea they are already false
issue is if i press WASD all at the same time all will be true
i only want the last pressed to be true
oh i see
you could do a check to make sure they are all false and if one of them is true then don't allow the code to set any others to true
so loop over each element in the table and if they are all false and a key is pressed then set it to true but otherwise do nothing
then when the key is let go set that key to false so that once nothing is pressed it resets
@spice cypress yea but i want it to update everytime i a new key is pressed
use the userinputservice inputstarted or something like that
if it's say a w then loop through the table and check if they are all false. if so set the wheld to true. otherwise do nothing
then do inputended too and set the value of whatever key is let go to false
What is an Actor
but that doesnt update it
why won't it
that just makes it not update if something is already true
no because if nothing is true then you set the value to true
so you are updating it
maybe I'm not understanding what you want it to do
dawg i just want it to detect the last clicked Key out of the 4 WASD Keys
oh so you simply just want it to be when you hit one of the keys it sets it to true and the rest to false
yes
anyone know a server where i can find programmer jobs
then just do what i said earlier when i said to just set the whole thing to false when a key is pressed and set the key inputted to true
dmed everyone in programmer hiring
local MovementVariables = {WHeld = false, AHeld = false, SHeld = false, DHeld = false}
local UserInputService = game:GetService("UserInputService")
function ResetMovementVariables()
for k, v in pairs(MovementVariables) do
v = false
end
end
UserInputService.InputBegan:Connect(function(input: InputObject, gameProcessedEvent: boolean)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.W then
ResetMovementVariables()
MovementVariables.WHeld = true
end
if input.KeyCode == Enum.KeyCode.A then
ResetMovementVariables()
MovementVariables.AHeld = true
end
if input.KeyCode == Enum.KeyCode.S then
ResetMovementVariables()
MovementVariables.SHeld = true
end
if input.KeyCode == Enum.KeyCode.D then
ResetMovementVariables()
MovementVariables.DHeld = true
end
end
end) ``` this should work but I think the indenting might be a little wrong
anyone know a server where i can find programmer jobs
ohh that makes it way simpler ty
how can i make a double jump system? i searched on and didn t found anything useful or smth that works
Use humanoidstate change
@spice cypress how is this even possible
ive legit been trying the last 10 mins its stil tweaking
oh is it showing two as true
idk how should i use it
ok seems you can't loop over them but I fixed it
local MovementVariables = {WHeld = false, AHeld = false, SHeld = false, DHeld = false}
local UserInputService = game:GetService("UserInputService")
function ResetMovementVariables()
MovementVariables.WHeld = false
MovementVariables.AHeld = false
MovementVariables.SHeld = false
MovementVariables.DHeld = false
end
UserInputService.InputBegan:Connect(function(input: InputObject, gameProcessedEvent: boolean)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.W then
ResetMovementVariables()
MovementVariables.WHeld = true
end
if input.KeyCode == Enum.KeyCode.A then
ResetMovementVariables()
MovementVariables.AHeld = true
end
if input.KeyCode == Enum.KeyCode.S then
ResetMovementVariables()
MovementVariables.SHeld = true
end
if input.KeyCode == Enum.KeyCode.D then
ResetMovementVariables()
MovementVariables.DHeld = true
end
end
end)
```not used to how lua tables work unfortunately
i mean bro you are supposed to be able to loop over the
them
like i deadass dont know why its not working
yea i know it will work
like but why wont it just let you loop over it
thats why im so confused
ah hold on let me try something
ok now the issue is if you press a Key then press another while still holding on to the afore mentioned key the one before will remain false
guh..
how do i just detect which one is being held actively
wtf
ok whatever i think i know what imma just do
oh yeah hold on i can fix thtat
its fine ill just probably give one dash direction priority
yeah this is actually quite complicated
because you need to keep track of the order in which the keys were pressed in too
nah because im using the last used Key as a way to indicate where to dash
so ill just have multiple If statesments
the first If statement that comes is the one thatll be fired first
anyone here is an investor? if u are, feel free to drop me a dm
can someone help? even though i tried to change the code multipul times, the button is still does its activation sequence even though the nuke is active or sum
g
som1 have an auto complete for visual studio code ?
lsp?
wdym ?
wdym auto complete
like when you use rojo to code in visual studio code
when you start writing like :GetService("") it complete
instead of game its says :GetService(), GetTags and mroe
Doing it like this would be easier i think, havent tested but should work:
local MovementVariables:{[string]:boolean} = {["W"]= false, ["A"]= false, ["S"]= false, ["D"]= false}
local UserInputService = game:GetService("UserInputService")
function ResetMovementVariables()
for _, value in MovementVariables do
value = false
end
end
UserInputService.InputBegan:Connect(function(input: InputObject, gameProcessedEvent: boolean)
if input.UserInputType == Enum.UserInputType.Keyboard then
if MovementVariables[input.KeyCode.Name] then
ResetMovementVariables()
MovementVariables[input.KeyCode.Name] = true
end
end
end)
I think ive done something similair so it should work, if it doesnt i prolly messed sum stupid thing up
We have heightmaps!! I still gotta connect vertices together to fix the tiling issue tho. Here's also the butterfly texture I made when working on inverse FFT
running @ 32 samples, about 160 fps avg on i9 14900
^ also for those who have not been keeping track, this is FFT-based Ocean Water. Uses JONSWAP + TMA spectrum and Donelan-Banner Directional Spreading.
Due to using JONSWAP, these are the variables I can control:
- Wind speed
- Wind angle
- Distance from shore
- Gravity
- Water depth
It's cool
yeah that's smart
although as i have found the value you get is a copy not a reference in the for loop so you need to index the table with the key
yeah true true
the part in the InputBegan section should still be useful though, and looks a lot cleaner
can someone help me i tried to drag the explorer and properties tabs down to put a plugin tab on top of them but instead it moved them and now it doesnt let me add them back
is there a way to reset the positions or something
how do i rotate cframes? do i multiply the cframe with cframe.angles? cuz i tried that and it does rotate it but like wierd so idk.
x.CFrame = (prim.CFrame + prim.CFrame.LookVector*10)
someone here to help me with a jump system?
nvm did math.rad(90) and it worked
is it simple to disable motor6 roblox joints when ragdolling and replace it with ballsocketjoints
no one helping π
use both at same time and just enable and disable the one you want and don't want to use
yeah but like i have little scripting experience so im having my good scripter friend do it, can u just give me the directions on how to do it
well im not entirely sure how those things work but i reckon you could just do lua motor6.Enabled = not motor6.Enabled ballsocket.Enabled = not ballsocket.Enabled to toggle them on and off
and could he put that into like a serverscript
cool thanks
I mean you could get it to work on the client too
with remote events
but i think if you edit the player in the server it copies it to the client anyway
could be wrong though
how do i make a holding mobile gui button using input began and input ended? (alr know who to make tap ones) i dont need indepth code js a simple explanation
can someone help when my character ragdolls they levitate
not sure if this was to way to do it but it works lol hammer spawns randomly
wait i forgot to send the code
does anyone know a shorter way to do this lol
tables
local spots = { put all spots here }
Hammer.CFrame = spots[math.random(#spots)].CFrame -- chooses a random spot from the array
better yet if you put them all the potential spawns in a folder you can just use folder:GetChildren() instead of manually putting the spots in a table
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local gui = player:WaitForChild("PlayerGui"):FindFirstChild("SlipperyGui")
local animationId = "rbxassetid://96223968248497" -- Update with your animation ID
local soundId = "rbxassetid://17208361335" -- Replace with your sound effect ID
-- Animation Setup
local animation = Instance.new("Animation")
animation.AnimationId = animationId
local animator = humanoid:WaitForChild("Animator")
local slippingAnimation = animator:LoadAnimation(animation)
-- Reference to the existing TextLabel in PlayerGui
local existingLabel = gui and gui:FindFirstChild("SlipperyWarning")
-- Debugging the found label
if not existingLabel then
warn("SlipperyWarning TextLabel not found!")
else
print("SlipperyWarning TextLabel found!")
end
-- Sound Setup
local warningSound = Instance.new("Sound")
warningSound.SoundId = soundId
warningSound.Volume = 1 -- Adjust volume as needed
warningSound.Parent = character -- Attach sound to the character
-- Variables to control the ragdoll state and GUI state
local isInRagdoll = false -- Track if we are in ragdoll state
local canTriggerWarning = true -- Flag to ensure the event is not triggered multiple times
-- Event Handling from Server
game.ReplicatedStorage.SlipperyWarningEvent.OnClientEvent:Connect(function()
-- Prevent multiple invocations if the event is triggered rapidly
if not canTriggerWarning then return end
canTriggerWarning = false
-- Wait for a random delay before showing the warning
local delayTime = math.random(3, 7)
wait(delayTime)
-- Show the existing warning GUI, play the sound, and play the slipping animation
if existingLabel then
existingLabel.Visible = true
print("Showing SlipperyWarning TextLabel")
else
warn("SlipperyWarning TextLabel was not found at the time of event!")
end
warningSound:Play() -- Play warning sound effect
slippingAnimation:Play() -- Start slipping animation immediately
-- Use a coroutine to hide the warning after 4 seconds (increased visibility time)
coroutine.wrap(function()
wait(2.2) -- wait for 4 seconds to make sure the warning is visible long enough
if existingLabel then
existingLabel.Visible = false
print("Hiding SlipperyWarning TextLabel")
end
end)()
-- Wait for 1 extra second before checking if the player is still moving
wait(2.2)
if humanoid.MoveDirection.Magnitude > 0 then
if not isInRagdoll then
-- Start ragdoll sequence
humanoid.PlatformStand = true
isInRagdoll = true
-- Change the material to ice
workspace.IceTrack.Material = Enum.Material.Ice
wait(2) -- Ragdoll for 2 seconds
humanoid.PlatformStand = false
isInRagdoll = false
slippingAnimation:Stop() -- Stop the slipping animation once recovered
-- Reset material to smooth plastic after ragdoll
workspace.IceTrack.Material = Enum.Material.SmoothPlastic
end
else
slippingAnimation:Stop() -- If player stops moving, stop animation
end
-- Allow the event to trigger again
canTriggerWarning = true
end)```
anyone know how to change this into ballsocketjoints, ifu can fix it ill give u 500 robux rn
for the ragdoll
ty
Bro is paying not even $1
its $5 worth of robux??
i mean all i asked was for a script replacement
what part do you even need to be ballsocketjoints
i need it so that when the player ragdolls, it dosent do the default motor6 joints, it does ballsocketjoints
I don't have much experience in ragdoll but I don't see any code for the isInRagdoll
som1 have an auto complete for visual studio code ?
doesn't vs code autocomplete on its own
nott for roblox lua
oh you can probably just go in the plug in section and just search roblox lua
did you make sure to enable them
yea
and resetart vs code
yes
oo it was written in rust
that's just vanilla lua though
roblox has it's own one
i think it's called luau
or smt
i used rojo
search up roblox lsp
Anyone know how to make a team cap?
this is what u need
ok ty, ima try
So that no more players can join a team after theres 2 in it?
like max players in a team or a hat
its working π TYYYY
I mean i would probably code my own team logic if i were doing it but roblox probably has some sort of team cap built in
How do i do that
there isnt a team cap
ah
Do you know how to make one
i cant
mf goes into code-discussion pan handling
what code
youtube is free
why you got dev in your name if u begging for code
I wanna do scripting commissions
Team max
I dont script
Thats why i asked
Already tried that mate
you dont just order scripts from coding channel
learn scripting then
Who said i did
or hire someone
Yes that's the thing
I have
But nobody is doing a job so short
For low pay
They demanding 20 dollars for it
theres chatgpt too
because it is under the workspace
is the script inside a clickdetector which is inside a part and the part is in the workspace
local scripts dont run from workspace unless they are parented to your character or you do a trick with regular script
np
Is FindFirstChildWhichIsA better than FindFirstChild in terms of performance?
idk know to to make a req but can someone make me a round system for free i am a new developer and i just need help dm me bc it gets more specific then this
No
Why would you think that
I got it now, I thought it only searches by the name in a certain class, but it just gets the first child of the class no matter its name.
FindFirstChild gets the first one that has the name no matter its class
MovementVariables[k] = false would be the "solution" @waxen vapor
v is in itself not a reference
yeah we worked that out
@sacred widget can you help me with a little thing
im trying to make it so when the cursor is somewhere on the screen the camera points to the cursor and makes it go to the centre of the screen again
though its being rather annoying
can't you just do the mouse.hit.position and then have the camera look at that
yes but it wont stop
the current issue is that if i leave it somewhere on the screen the camera keeps rotating and rotating
never making the cursor go to the centre of the screen
ever
oh so like you want it to kind of rotate the camera slightly and then have the cursor return to the centre
yess
but i dont want the cursor itself moving
because this is a plane mechanic im making it for
kind of like what shift lock does?
if the cursor moves by itself then the plane moves by itself which isnt good
but it's more gradual
yeahh
are you trying to copy some sort of behaviour from a different game because I'm not 100% sure what you are on about
thats what im trying to achieve
but in roblox studio
yeah i thought that's what you meant
wait wrong clip
nw
@spice cypress
yeah im trying to think about how it works
it's similar to the thing in war thunder
exactly
has anyone used gork 3 for coding
this is p simple
not needed at all
tbh its a little hard not copying war thunder indirectly as their system is like the pinnacle of simplistic digital aerial combat
then how is it done
yeah thats what i thought when i started this project
currently at 150 lines
see degrees of mouse from center of screen
increase rotation accordingly
if you do it in radians then it will become a unit circle
@carmine yacht the issue
?
why will it not align the mouse
it keeps rotating on and on
well
custom mouse
the camera lines up with the mouse
you cannot force mouse position
oh
actually
you can use first person
and enable/disable a model udim2.fromscale(1,1) invisible ui
to allow third person mouse
modal*
i did that the other week for something
works fine
huh
stick the player in first person
and in theory that should enable me to have my desired effect?
when they hold the mouse down
enable a modal frame
that is 1,1 (fullscreen)
modal = mouse is unlocked in first person
then when its let go
disable the modal ui
and its stuck in first person/centered
isnt that going to be a little snappy
yeah but thats the best you can get without a custom mouse implementation
im imagining this as once its moved and goes somewhere it then immediatly snaps back to the centre
yes
mmm
that is exactly what will happen
kinda doesnt sit right with me
(theres not
who will do ui scripting for a good price
you can use playermodule + cameramodule
you will need a lot of changes tho
everyone on there does not respond after the first day
well low to me is like 10000 rbx but okay
local uis = game:GetService("UserInputService")
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
uis.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.LeftShift then
Humanoid.WalkSpeed = 20
end
end)
uis.InputEnded:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.LeftShift then
Humanoid.WalkSpeed = 10
end
end)
is the gameprocessed necessary here? I can check it but don't know if it'd add unnecessary resource use
thats low depending on how many frames you need
and how many systems
yes
i have ui already done
i should check false?
just need it scripted
if its true then return
thats what i said
yeah ok
what uis do you have
if gameProcessed == true then
return
end
do not do this on contextactionservice btw
only UIS
i just did
local uis = game:GetService("UserInputService")
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
uis.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
Humanoid.WalkSpeed = 25
end
end)
uis.InputEnded:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
Humanoid.WalkSpeed = 10
end
end)
why nest
or just do ```lua
if input.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
-- Do your thing here
end
Yeah that's good
wdym why nest
people don't know that if you run return; on contextactionservice it breaks the keybind
that's good to know, i don't like using return anyways tho
like nested if statements
but if its a small system it doesnt matter
personal preference
Similiar to while loops breaking sometimes
Not sure why tbh
im not good enough to make big systems yet πΏ
you'll get there
Doesn't make any sense since break exists
thas cool
I mean i just do while loop that calls a function
Seems to fix that issue
Still while loops are buggy ngl
π€·ββοΈ to each their own
why
Peak
you just cannot call return inside of them unless its a callback
Recursive Functions are better tbh
thats all
I noticed a few issues with while loops
not everything can be made recursive
Well yeah don't get me wrong i use loops all the time
the biggest issue is the inconsistencies
in timing
I mean that's not a big deal tbh
Depends actaully
better to bind to heartbeat instead if you need something reliable
but yea loops are nice usually
wont happen
since as far as im aware wait() is deprecated and just not reliable
Why not? wait has random delays
so they will not be updating it
Well exactly
Yeah i know what deprecated means tbh
Like deprecated classes
That we still use alot
It's abit dumb that they deprecate certain features
I stil dont get why they deprecated BodyVelocity
EXACTLY
That's why i said it
I use it all the time
Im not saying that there are no alternatives
Its simpler than linearvelocity and asemplylinearvelocity
Whenever they deprecate something they make an alternative but seem to make it more confusing or just worse somehow
Yup
It's annoying tbh
True, I still cant find a good youtube video explaining the bodymovers
and the official article on the forum is garbage
It took me a minute to understand their new docs when it released
But they are useful
old bodymovers are peak
new ones are overengineered garbage
== no tutorials
they are not too difficult if you read docs + experiement with them
And more confusing
100%
I mean they are trying to make the platform more "kid friendly" and allow young developers to get into developing
I know they are useful, because the replaced the useful stuff with stuff that needs 2x the code to do the same thing, and most of the time it doesnt work and idk why
exactly.
But are releasing more complicated features
And deprecating the simple ones
While tbh im unsure what's wrong with BodyVelocity
π
legit no reason
The other day I was trying to make a simple trampoline, I got one from the toolbox and copied the code to mine but it didnt work because it used velocity, I replaced it with linearVelocity and asemplylinearvelocity and both didnt work.
it works fine
In my opinion with every deprecated feature they should do something like a short tutorial or something to demonstrate how to use the new alternative
hot dogwater, nvm i use it a lot, i take that back
lmao
Exactly, in the article they said "hi this makes part rotate and this does that, bye"
Yeah
From the looks of it the camera is not in anyway related to the plane; they move separately. The tricky part is working out how to roll the plane according to the mouse position and then having the mouse return back to the centre. It's a lot of calculations but probably not that hard
Ngl they did a goodjob with TextChatService
I understood how to use it really quickly
But tbh it's not that hard to understand anything related to Chat anyways
yeah
It just seems like they cared more about TextChatService than other deprecated features
tbh idk how to go about it
you also don't want the plane to just move towards the mouse but actually rotate properly and then pull up
While deprecating the Legacy Chat was such a dumb idea
indeed
might want to add additional controls to like q and e to manage yaw as well
@spice cypress would you like to have a copy of this place im quite tired and might head to bed soon
I would
something to keep you busy with lol
amazing
ill send it to you
I joined roblox after that happens but I see everyone happy about that change.
Everyone??? Are you insane...
They are forcing all experiences to use the new Chat
That is insanely dumb
Since it won't just break all of the old games that are no longer being updated
It will also break most of the tutorials new developers will find on YT etc
Yeah i agree that the new Chat is better and all
But it's also not that good in my opinion
Chat Tags, anything related to chat
The least relevant things
You never know how the older games are shaped
One small thing can break everything
Yeah and no one cares about them enough to fix it either
It's probably not going to break much
Yeah yeah i know
most games didn't even modify it
I mean true
But at the same time
Most old games had some shitty VIP that had Chat Tags etc
also what else were they meant to do
Not allow new experiences to use the LegacyChat
they have to enforce parental controls and such to be a safe platform
That would get really complicated
If parental controls are the problem here, just limit the place to over 13+
Not really
That feature already exists
Yes really
They already did it with a few things before completely removing them
But im pretty sure the functionality for that already exists
Yeah but none were important enough
Theyre not going to allow you to circumvent chat rules because its old
You are not tho
What do you mean not
The new "rules" were added AFTER the game was released
Not really
The creator didn't agree to those new "rules"
And he doesn't need to follow them
Not how that works
fym that's not how it works
Terms of service are broader
fym broader
Well terms of service also includes data collection and such
Yes but im talking about the part where it says what your game can and can't include
And what will get it moderated
They can enforce whatever rules they want
There is no required agreement
If your old game had the troll gui, you're out of luck for example
Troll UTG doesn't make sense to me
I mean the part where it's "not allowed"
Yeah it's weird
New games like clickbaits have a similiar thing
Pay to troll someone
And like all of the features are included in HD Admin etc
I get that harassment and shit but UTG had nothing to do with that
UTG is like an admin panel but with only the "Fun" commands
my humble game where I'd play around with friends and cool scripts had nothing to do with harassment
Yup
I mean you can still make an UTG
It's not like they would care that much if you made it paid or something like that
Do they still enforce it?
I have a game where i sell the "UTG" for like 3k R$
And the UTG is just kill explode jumpscare etc
Well they havent banned admin or troll panels
with custom ui
UTG Is a troll panel
As long as it is rebranded
π
Weird ass stuff
Like it's insane
If they ever get mad at minecraft textures or mobs
Like grass or creepers
im fucked
All my clickbaits / cashgrabs have them
Nah only for those Minecraft games
where someone outright steals the assets and rescripts it
Not for clickbaits
Yeah those
Like they took down Voxels for some time
I mean it was a direct DMCA request from Mojang as far as im aware
They got a little mad about it being up
But tbh it's fully built with their own assets and such and it's unique in terms of ores
So they managed to get it back up
oh they got it back up?
mojang sends out monthly dmcas
to roblox for copying games
they patented a lot of shit that ppl dont know about
like the world generation concept is patented to an extent
Yeah i mean it's unique
Yeah im aware
Anyone know a fix for the crashing problems that the new Roblox studio is having when you click stop?
can anyone here make a luck system for my game
Hello guys i want start learning lua and im here to ask yall do you have any tips
just to get banned again
Yo
Anyone nkow good spots to host a discor dbot?
Guys what do u say abt it #media message
daim hope u find gl!
Thanks!
daim i needed help witht that to
couldnt fidn anyone
but dont get ur hopes down!
i wasnt in this server back then
well see ya!
and good luck!
has anyone coded one of these before
anyone here got a good pc?
Was it good?
who wanna make games with me im a scripter and im bored
yea
How?
Can you explain like how it works
I canβt find any yt vids on it
rng aspect or the roll aspect