#code-discussion

1 messages Β· Page 11 of 1

pine chasm
#

I'll take that as compliment

pure furnace
inland bay
#

it wasnt an insult to you?

#

that was just generalizing anyone who tries to do that

pine chasm
#

Still compliment

#

It's a process of learning

inland bay
#

you're not worth the mental bandwidth

pine chasm
#

Learning requires experimentation

somber vault
#

the conversation was really interesting

pine chasm
#

Yurr

somber vault
#

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.

pine chasm
pine chasm
#

according to you

somber vault
hardy pilot
#

Boo web dev

somber vault
# pine chasm What makes a good developer

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

somber vault
pine chasm
somber vault
#

i thought its was a point didnt know it was a question 😭

somber vault
somber vault
#

fastest language i mastered

pine chasm
distant hawk
#

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

somber vault
# pine chasm Oh really damn, how long u been coding

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

pine chasm
#

That's lots of learning, hats off to you brother

split root
#

yo guys, who knows how to scale a UI in a BilboardGUI

hard nacelle
#

What do you guys think i should watch/read when starting to script?

rain vigil
hardy pilot
rain vigil
#

Jojo better

inland bay
#

anime is shit

waxen vapor
#

why does this not work bruh

#

it prints but it doesnt apply the impulse

carmine imp
# waxen vapor why does this not work bruh

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.

ocean mesa
native cypress
#

Is there any scripter here that has time to look at my scripting problem, Dm me

waxen vapor
brittle topaz
hollow ibex
#

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

somber vault
#

ANY beginner scripter who knows the basic or with less experience pls dm me!

true plover
#

can you help me

#

gui position is offset]

inland bay
drowsy nimbus
#

what does the spawn function do

silver verge
drowsy nimbus
silver verge
#

running multiple functions on the same execution phase

#

fake parallel threading

severe cobalt
#

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

humble sequoia
#

Do roblox front end scripters only do animations, UI and vfx?

severe cobalt
hollow ibex
# drowsy nimbus what does that do? 😭

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

hollow ibex
robust beacon
#

can someone give me a good pathfinding tutorial?

severe cobalt
#

oop cant send links yet

burnt crane
#

guys shall i teach anyone to script? - 150-300 robux per lesson

severe cobalt
#

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

hollow ibex
robust beacon
#

alr

hollow ibex
severe cobalt
#

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

hollow ibex
#

i personally ask it to give me hints if im stuck πŸ€·β€β™‚οΈ i never really had problems with it

severe cobalt
#

its good for hints but I wouldn't rely it to reliably hand me code, only give suggestions

hollow ibex
#

oh yh obv

hollow ibex
severe cobalt
#

oops forgot to send vid

severe cobalt
silver verge
#

thats why documentation exists

#

llms cannot reliably learn facts

#

it will hallucinate, it will get confused

hollow ibex
#

ahh alr, does anyone know some good backend security videos or good docs?

rugged panther
#

dumb question but what is this usually used for?

silver verge
rugged panther
#

like in what situation you need to use pi

hollow ibex
#

never

silver verge
#

any equation that requires it

spice cypress
#

converting degrees to radians?

silver verge
#

lot of vfx use circles

spice cypress
#

but it does that for you

severe cobalt
silver verge
hollow ibex
#

unless you trying to use roblox studio to do ur hw

spice cypress
#

yeah

rugged panther
#

wait a minute now that i think of it

#

this sytem im developing might need to use pi πŸ’€

severe cobalt
silver verge
#

i use it for a pet system

severe cobalt
#

that fancy symbol is pi

silver verge
#

to position target points

hollow ibex
#

does anyone know some good backend security videos or good docs?

silver verge
#

its literally just pi

rugged panther
#

okay i see

#

thaks yall

solid rain
#

guys how much would a grid placement system cost to get it scripted?

inland bay
#

like 20k robux

solid rain
#

ty

zinc wedge
#

Is it worth it to drop 60 bucks on codeacademy

hollow ibex
#

bruh

#

learn to code for free

#

plenty of ppl that are good that teach

zinc wedge
hollow ibex
#

brawldev

zinc wedge
#

also I feel like investing money into a course would make me actually motivated to finish it

hollow ibex
#

yikes

carmine yacht
#

doesnt work and you can get the courses pirated

#
  • courses are shit
hollow ibex
#

no cause u can get hot scammed and then they most likely suck

carmine yacht
#

make solo projects @zinc wedge thats how you learn

hollow ibex
#

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

zinc wedge
carmine yacht
#

you learn as you go

zinc wedge
#

They're for the fucking absolute beginners

#

And the projects are tutorial hell

hollow ibex
carmine yacht
#

with

hollow ibex
#

do yk any good yt tuts or good docs for backend security

zinc wedge
#

im talking abt coding in general

hollow ibex
carmine yacht
#

securing a remote?

zinc wedge
hollow ibex
zinc wedge
#

Only reason i thought of codeacademy

#

Was cuz they had a lot of courses

carmine yacht
zinc wedge
#

Included with a monthly price

hollow ibex
zinc wedge
#

They had ethical hakving n shi too

#

Which sounds corny

#

But it's interesting

carmine yacht
hollow ibex
zinc wedge
#

I got a year before college so it's prolly not worth learning to script anyway

carmine yacht
zinc wedge
carmine yacht
zinc wedge
#

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

hollow ibex
carmine yacht
#

idk where this stigma of frontend/backend has come from on roblox??

hollow ibex
zinc wedge
#

you need to learn front-end to be a good vfx artist

carmine yacht
#

it's 1 language

hollow ibex
#

type shi

carmine yacht
#

with 1 compiler

zinc wedge
#

i know

#

Ah how do i explain ts

carmine yacht
#

you mean vfx scripting

hollow ibex
carmine yacht
#

thats the term you are looking for

carmine yacht
zinc wedge
carmine yacht
#

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

zinc wedge
carmine yacht
#

its just scripting here

#

10 years

hollow ibex
#

i think bro may know a thing or two abt scripting

carmine yacht
#

im 17

zinc wedge
#

and i js started ui too and im making decent money but I don't feel like quitting so easily

hollow ibex
zinc wedge
#

not sarcasm

#

Genuine question like are you well known

hollow ibex
#

id be scared if he wasnt no

zinc wedge
#

And have worked on good games

carmine yacht
#

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

hollow ibex
carmine yacht
#

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

hollow ibex
#

do what onnet did no

#

js make a solo game that is hella grindy and work on it for 7 years

carmine yacht
#

a lot of these successful devs still go to uni and get degrees

hollow ibex
#

thats what onnet did i swear

carmine yacht
#

because its realistic

hollow ibex
#

guys were crying to him about new update when he needed to submit a final or smth

carmine yacht
#

i stopped pursuing roblox as my final career choice <3ish years ago

#

its not going to help me in the future anymore

zinc wedge
carmine yacht
#

i mean you can but its unrealistic without a large budget and connections

zinc wedge
#

I might do game dev as a course in college

carmine yacht
#

that would be stupid af

hollow ibex
carmine yacht
#

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

hollow ibex
carmine yacht
#

and make it more profitable

zinc wedge
zinc wedge
carmine yacht
hollow ibex
zinc wedge
hollow ibex
#

unless ur some indie game dev who somehow made it and people like ur game

zinc wedge
#

the people that do make it well rhey make it

carmine yacht
#

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

zinc wedge
zinc wedge
#

working for a big name company while doing what you love

carmine yacht
#

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

carmine yacht
#

but it is bad if you have hopes of going farther than being a 9-5

carmine yacht
#

you are very limited in large companies

zinc wedge
#

Sorry im a Lil slow i js had a math test

dusky fox
#

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

hollow ibex
dusky fox
carmine yacht
# zinc wedge Wym

these companies treat you as an asset and you are just apart of thousands

#

you will have limited creativity

hollow ibex
#

thats why u js put everything on red and win big

zinc wedge
carmine yacht
#

and a lot of these triple A studios have horrible working environments

zinc wedge
#

but I still don't get why so many ppl hate on triple a

carmine yacht
#

tech sector globally is pretty fucked

#

because they treat their employees like shit

#

and this is from personal stories ive heard as well

zinc wedge
#

ion even know anymore

#

Questioning my whole future career rn

carmine yacht
#

you gotta make a choice bro

#

game dev isnt the way to go

zinc wedge
#

I know fs I wanna do something with computer science

carmine yacht
#

you can go software development or computer science > game dev

#

but not in reverse

carmine yacht
hollow ibex
carmine yacht
#

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

hollow ibex
#

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)

carmine yacht
#

that way you can give YOE + degree

carmine yacht
hollow ibex
carmine yacht
#

so they cannot go and work for startups either

hollow ibex
spice cypress
#

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

carmine yacht
#

yea because these unis teach people to think in a box and nobody will hire them

carmine yacht
#

and they graduate without any experience in any kind of development

hollow ibex
#

?

carmine yacht
#

all they know is theories that nobody uses

spice cypress
#

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

sonic field
#

chatgpt is cooking?

hollow ibex
zinc wedge
zinc wedge
#

Semi professionally

hollow ibex
#

yeah no

#

lol ur defo not making it in football no way

#

its so hard its not even funny

carmine yacht
# zinc wedge I'm ass at physics

πŸ€·β€β™‚οΈ 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

hollow ibex
# zinc wedge I play football

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

compact moth
#

How do I fix this πŸ™ 😭

hollow ibex
#

with capital H

compact moth
hollow ibex
#

take a ss

compact moth
carmine yacht
#

bro

hollow ibex
#

gg

#

name the model Handle

#

and move it to the spot using its orientation and position in the tool

hollow ibex
rain vigil
carmine yacht
#

engineering

#

hardware is very sought after

#

just people dont know that

hollow ibex
#

i mean u alrdy got experience so u got a shot

hollow ibex
carmine yacht
#

when i go army i will get experience

#

guaranteed job

#

πŸ€·β€β™‚οΈ

hollow ibex
#

fairs ig

carmine yacht
#

the only way to become good at anything is to get hands-on with it

hollow ibex
#

im tryna tryout to a new club im going to in a month or two

carmine yacht
#

name 1 basketball player who is in the NBA from reading books

carmine yacht
#

😭

#

be fr bro

#

apply to CS degree and get high grades in test but dont make your own projects == useless bot

hollow ibex
#

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

carmine yacht
#

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

hollow ibex
#

most things are a repetition to get good at asw

carmine yacht
#

100%

hollow ibex
#

you have to keep repeating stuff over to get better

carmine yacht
#

thats why years of experience are what determines where people are placed in jobs lmao

hollow ibex
#

yeah ik

carmine yacht
#

i really dont know what people think to themselves going to do a degree in something they wont touch

zinc wedge
carmine yacht
#

and then thinking they will get hired

carmine yacht
#

and actually try and work in the field while doing college

hollow ibex
zinc wedge
spice cypress
hollow ibex
zinc wedge
hollow ibex
spice cypress
#

totenham

zinc wedge
#

Well not just you

#

Bunch of other people

hollow ibex
#

did u not js hear what realsamtheman said

zinc wedge
#

I'm gonna have to research more

hollow ibex
zinc wedge
#

Cuz there's also the risk of ai type shi

#

And like u said game dev is kinda unrealistic and a bad job

hollow ibex
#

i mean if u really love it, it wont be a bad job but it is unrealistic

zinc wedge
#

i can't use it on my portfolio or for jobs

hollow ibex
#

i mean i cant put "i play volleyball πŸ‘ " on my cv but dosnt stop me from doing it

zinc wedge
#

For the rest of ur life possibly

hollow ibex
#

tbf yeah but i also plan on studying law

zinc wedge
#

I don't wanna do roblox development like that

hallow crater
#

how code

hollow ibex
#

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

hollow ibex
hollow ibex
#

good no thats good

hollow ibex
#

dont worry

hallow crater
#

my window also shattered

hollow ibex
#

no thats part of the plan

hallow crater
#

oh alright

#

good

hollow ibex
#

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

somber vault
#

how do i make this script work for every aprt in workspace called part

spice cypress
somber vault
#

YESS THANK YOUUU

#

but how do i for loop it?

waxen vapor
#

is there a way i can loop through a table and make everything false except for a very specific one whenever a function fires?

spice cypress
#
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

somber vault
#

ohh hokay ty

#

i might soudns really dumb but the ... for what is that

spice cypress
#

it's what you already wrote

somber vault
#

oohohohohhhhhhh

spice cypress
waxen vapor
#

so if W is Held I want all the other ones to be false yk?

spice cypress
#

so if one is true you want the rest to be false

waxen vapor
#

yea

spice cypress
#

well you could just set them all to be false first and then after set the one you want to be true

waxen vapor
#

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

spice cypress
#

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

waxen vapor
#

@spice cypress yea but i want it to update everytime i a new key is pressed

spice cypress
#

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

vague phoenix
#

What is an Actor

spice cypress
waxen vapor
#

that just makes it not update if something is already true

spice cypress
#

no because if nothing is true then you set the value to true

#

so you are updating it

waxen vapor
#

like if im holding D and then press W it wont update it to W

#

is what i mean

spice cypress
#

yeah it will stay as d

#

unless all the keys are let go

waxen vapor
#

yea but i want it to update

#

anyway

spice cypress
#

maybe I'm not understanding what you want it to do

waxen vapor
#

dawg i just want it to detect the last clicked Key out of the 4 WASD Keys

spice cypress
#

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

waxen vapor
#

yes

light shard
#

anyone know a server where i can find programmer jobs

waxen vapor
#

xd

spice cypress
#

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

light shard
spice cypress
# waxen vapor yes
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
light shard
#

anyone know a server where i can find programmer jobs

waxen vapor
shy rune
#

how can i make a double jump system? i searched on and didn t found anything useful or smth that works

waxen vapor
#

@spice cypress how is this even possible

#

ive legit been trying the last 10 mins its stil tweaking

spice cypress
#

oh is it showing two as true

waxen vapor
#

like the resetmovementvariables

shy rune
waxen vapor
#

isnt resetting them

#

i already tried looping over them

#

why wont they reset

spice cypress
#

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
waxen vapor
#

i mean bro you are supposed to be able to loop over the

#

them

#

like i deadass dont know why its not working

spice cypress
#

try the code i posted above

#

that will work i tested it

waxen vapor
#

yea i know it will work

#

like but why wont it just let you loop over it

#

thats why im so confused

spice cypress
#

ah hold on let me try something

waxen vapor
#

guh..

#

how do i just detect which one is being held actively

#

wtf

#

ok whatever i think i know what imma just do

spice cypress
waxen vapor
spice cypress
#

because you need to keep track of the order in which the keys were pressed in too

waxen vapor
#

so ill just have multiple If statesments

#

the first If statement that comes is the one thatll be fired first

high snow
#

anyone here is an investor? if u are, feel free to drop me a dm

hazy aurora
#

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

fallow hollow
#

som1 have an auto complete for visual studio code ?

fallow hollow
inland bay
#

wdym auto complete

fallow hollow
#

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

dry zenith
# spice cypress ```lua local MovementVariables = {WHeld = false, AHeld = false, SHeld = false, D...

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

severe cobalt
# severe cobalt

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

severe cobalt
#

Due to using JONSWAP, these are the variables I can control:

  • Wind speed
  • Wind angle
  • Distance from shore
  • Gravity
  • Water depth
spice cypress
#

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

dry zenith
#

the part in the InputBegan section should still be useful though, and looks a lot cleaner

signal pewter
#

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

placid pollen
#

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)
shy rune
#

someone here to help me with a jump system?

placid pollen
#

nvm did math.rad(90) and it worked

somber vault
#

is it simple to disable motor6 roblox joints when ragdolling and replace it with ballsocketjoints

hazy aurora
#

no one helping 😭

spice cypress
somber vault
spice cypress
#

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

somber vault
#

and could he put that into like a serverscript

spice cypress
#

obviously that's just psuedocode but you get the idea

#

I think so

somber vault
#

cool thanks

spice cypress
#

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

tranquil oracle
#

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

warm root
#

can someone help when my character ragdolls they levitate

faint shell
#

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

vital hamlet
#
local spots = { put all spots here }
Hammer.CFrame = spots[math.random(#spots)].CFrame  -- chooses a random spot from the array
teal olive
#

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

somber vault
#
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

somber vault
wary pollen
#

Not even a $1 after tax

somber vault
#

i mean all i asked was for a script replacement

wary pollen
somber vault
#

i need it so that when the player ragdolls, it dosent do the default motor6 joints, it does ballsocketjoints

wary pollen
#

I don't have much experience in ragdoll but I don't see any code for the isInRagdoll

fallow hollow
#

som1 have an auto complete for visual studio code ?

spice cypress
#

doesn't vs code autocomplete on its own

fallow hollow
spice cypress
#

oh you can probably just go in the plug in section and just search roblox lua

fallow hollow
#

already did 😭

#

i used rojo

#

and i installed every auto complete

#

i found

spice cypress
#

did you make sure to enable them

fallow hollow
#

yea

spice cypress
#

and resetart vs code

fallow hollow
#

yes

spice cypress
#

should work then

#

πŸ‘

fallow hollow
#

i used this one

spice cypress
#

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

fallow hollow
#

i used rojo

lilac gale
royal wren
#

Anyone know how to make a team cap?

lilac gale
#

this is what u need

fallow hollow
royal wren
#

So that no more players can join a team after theres 2 in it?

spice cypress
royal wren
#

Max players in a team

fallow hollow
spice cypress
spice cypress
#

ah

royal wren
lilac gale
#

bruh

#

3 lines of code

#

u can figure it out

royal wren
#

i cant

lilac gale
royal wren
#

idk how to script 😭

#

cmon now bro

lilac gale
#

mf goes into code-discussion pan handling

royal wren
#

cmon just say the code

pulsar glade
static coral
#

why you got dev in your name if u begging for code

knotty python
#

I wanna do scripting commissions

royal wren
royal wren
#

Thats why i asked

knotty python
royal wren
static coral
#

you dont just order scripts from coding channel

static coral
royal wren
static coral
#

or hire someone

royal wren
#

I have

#

But nobody is doing a job so short

#

For low pay

#

They demanding 20 dollars for it

static coral
#

theres chatgpt too

midnight hull
#

Yeah, so why doesn't clickdetection work inside a local script?

static coral
midnight hull
#

wdym

#

I'm sorry i'm just new

static coral
#

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

midnight hull
#

Makes sense

#

ty

static coral
#

np

humble sequoia
#

Is FindFirstChildWhichIsA better than FindFirstChild in terms of performance?

drifting shell
#

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

hardy pilot
#

Why would you think that

humble sequoia
#

FindFirstChild gets the first one that has the name no matter its class

sacred widget
#

v is in itself not a reference

fallen summit
#

@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

spice cypress
#

can't you just do the mouse.hit.position and then have the camera look at that

fallen summit
#

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

spice cypress
#

oh so like you want it to kind of rotate the camera slightly and then have the cursor return to the centre

fallen summit
#

but i dont want the cursor itself moving

#

because this is a plane mechanic im making it for

spice cypress
#

kind of like what shift lock does?

fallen summit
#

if the cursor moves by itself then the plane moves by itself which isnt good

spice cypress
#

but it's more gradual

fallen summit
spice cypress
#

are you trying to copy some sort of behaviour from a different game because I'm not 100% sure what you are on about

spice cypress
#

yeah i thought that's what you meant

fallen summit
#

wait wrong clip

spice cypress
#

nw

fallen summit
#

yeah thats what i have rn

ancient dome
#

guys how to start learning lua?

#

like from where

fallen summit
spice cypress
#

yeah im trying to think about how it works

#

it's similar to the thing in war thunder

fallen summit
#

exactly

livid spear
#

has anyone used gork 3 for coding

spice cypress
#

there might be a way to get the mouse velocity

#

probably need that

carmine yacht
fallen summit
#

tbh its a little hard not copying war thunder indirectly as their system is like the pinnacle of simplistic digital aerial combat

spice cypress
fallen summit
#

currently at 150 lines

carmine yacht
#

increase rotation accordingly

#

if you do it in radians then it will become a unit circle

fallen summit
#

@carmine yacht the issue

carmine yacht
#

?

fallen summit
#

the issue is that it wont align the mouse

#

to the centre of the screen

carmine yacht
#

why will it not align the mouse

fallen summit
#

it keeps rotating on and on

spice cypress
#

the mouse needs to return to the centre

#

like in war thunder

fallen summit
#

well

carmine yacht
#

custom mouse

fallen summit
#

the camera lines up with the mouse

carmine yacht
#

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

fallen summit
#

huh

carmine yacht
#

stick the player in first person

fallen summit
#

and in theory that should enable me to have my desired effect?

carmine yacht
#

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

fallen summit
#

isnt that going to be a little snappy

carmine yacht
#

yeah but thats the best you can get without a custom mouse implementation

fallen summit
#

im imagining this as once its moved and goes somewhere it then immediatly snaps back to the centre

carmine yacht
#

yes

fallen summit
#

mmm

carmine yacht
#

that is exactly what will happen

fallen summit
#

kinda doesnt sit right with me

carmine yacht
#

good luck then with a custom mouse impl

#

maybe there is a library to help you

fallen summit
#

(theres not

somber vault
#

who will do ui scripting for a good price

carmine yacht
#

you will need a lot of changes tho

somber vault
carmine yacht
#

and what is your payment

#

people will not work for low pay lol

somber vault
#

well low to me is like 10000 rbx but okay

marble viper
#
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

carmine yacht
#

and how many systems

somber vault
marble viper
somber vault
#

just need it scripted

eager light
#

if its true then return

carmine yacht
marble viper
#

yeah ok

carmine yacht
#

what uis do you have

eager light
#
if gameProcessed == true then
  return
end
carmine yacht
#

only UIS

marble viper
# eager light ```lua if gameProcessed == true then return end ```

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)
eager light
#

or just do ```lua
if input.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
-- Do your thing here
end

marble viper
eager light
#

He is using UIS only

carmine yacht
# eager light Duh

people don't know that if you run return; on contextactionservice it breaks the keybind

marble viper
#

that's good to know, i don't like using return anyways tho

carmine yacht
#

but if its a small system it doesnt matter

#

personal preference

eager light
#

Not sure why tbh

carmine yacht
#

idk either

marble viper
carmine yacht
#

it should default to Pass

#

silly behavior

carmine yacht
eager light
#

Doesn't make any sense since break exists

jolly wolf
eager light
#

Seems to fix that issue

#

Still while loops are buggy ngl

carmine yacht
carmine yacht
eager light
carmine yacht
#

you just cannot call return inside of them unless its a callback

eager light
carmine yacht
#

thats all

eager light
#

I noticed a few issues with while loops

carmine yacht
eager light
carmine yacht
#

in timing

eager light
#

I mean that's not a big deal tbh

carmine yacht
#

yea it is

#

especially in yielding functions

eager light
#

Depends actaully

carmine yacht
#

better to bind to heartbeat instead if you need something reliable

eager light
#

On what you are using it for

#

True

carmine yacht
#

but yea loops are nice usually

eager light
#

I feel like

#

they should make wait() work the same as task.wait()

carmine yacht
#

wont happen

eager light
#

since as far as im aware wait() is deprecated and just not reliable

carmine yacht
#

it is deprecated

#

but they want to discourage the use of it

eager light
carmine yacht
#

so they will not be updating it

eager light
carmine yacht
#

just like how you can still use old methods

#

but its not recommended

eager light
#

Yeah i know what deprecated means tbh

#

Like deprecated classes

#

That we still use alot

#

It's abit dumb that they deprecate certain features

humble sequoia
eager light
#

That's why i said it

#

I use it all the time

#

Im not saying that there are no alternatives

humble sequoia
#

Its simpler than linearvelocity and asemplylinearvelocity

eager light
#

Whenever they deprecate something they make an alternative but seem to make it more confusing or just worse somehow

eager light
#

It's annoying tbh

humble sequoia
eager light
#

But they are useful

carmine yacht
#

new ones are overengineered garbage

#

== no tutorials

eager light
#

They are worse

carmine yacht
#

they are not too difficult if you read docs + experiement with them

eager light
#

And more confusing

carmine yacht
eager light
#

I mean they are trying to make the platform more "kid friendly" and allow young developers to get into developing

humble sequoia
# eager light But they are useful

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

humble sequoia
eager light
#

But are releasing more complicated features

#

And deprecating the simple ones

#

While tbh im unsure what's wrong with BodyVelocity

#

πŸ’”

carmine yacht
#

legit no reason

humble sequoia
carmine yacht
#

it works fine

eager light
jolly wolf
humble sequoia
eager light
spice cypress
# fallen summit

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

eager light
#

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

eager light
#

It just seems like they cared more about TextChatService than other deprecated features

fallen summit
#

tbh idk how to go about it

spice cypress
# fallen summit yeah

you also don't want the plane to just move towards the mouse but actually rotate properly and then pull up

eager light
#

While deprecating the Legacy Chat was such a dumb idea

spice cypress
#

might want to add additional controls to like q and e to manage yaw as well

fallen summit
#

@spice cypress would you like to have a copy of this place im quite tired and might head to bed soon

hardy pilot
#

I would

fallen summit
#

something to keep you busy with lol

spice cypress
#

I mean sure I'll try and work it out for you if you want

#

I love vector maths

fallen summit
#

ill send it to you

hardy pilot
humble sequoia
eager light
#

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

hardy pilot
#

Calm down vro

#

What is it possibly going to break

#

It's a chat

eager light
hardy pilot
#

The least relevant things

eager light
#

You never know how the older games are shaped

#

One small thing can break everything

hardy pilot
#

Yeah and no one cares about them enough to fix it either

eager light
#

Exactly those people quit roblox

#

And those games would forever remain untouched

hardy pilot
#

It's probably not going to break much

eager light
#

Yeah yeah i know

hardy pilot
#

most games didn't even modify it

eager light
#

It's still dumb

#

Wym

hardy pilot
#

most games didnt modify the legacy chat

#

so theyre good

eager light
#

I mean true

#

But at the same time

#

Most old games had some shitty VIP that had Chat Tags etc

hardy pilot
#

also what else were they meant to do

eager light
#

Not allow new experiences to use the LegacyChat

hardy pilot
#

they have to enforce parental controls and such to be a safe platform

hardy pilot
eager light
eager light
#

That feature already exists

hardy pilot
#

Yes really

eager light
#

They already did it with a few things before completely removing them

#

But im pretty sure the functionality for that already exists

hardy pilot
#

Yeah but none were important enough

eager light
hardy pilot
#

Theyre not going to allow you to circumvent chat rules because its old

eager light
#

You are not tho

hardy pilot
#

What do you mean not

eager light
#

The new "rules" were added AFTER the game was released

hardy pilot
#

Yeah

#

And you can play them NOW

#

and the rules apply NOW

#

to YOU and EVERYONE else

eager light
#

Not really

#

The creator didn't agree to those new "rules"

#

And he doesn't need to follow them

hardy pilot
#

Not how that works

eager light
#

Hmm yeah it does

#

Mostly yeah

hardy pilot
#

Fym yeah it does πŸ’”

#

The new rules aren't an agreement

eager light
#

fym that's not how it works

hardy pilot
#

You merely acknowledge the rules

#

Its not like theyre selling your data

eager light
#

The "rules" is simply TOS

#

And you need to accept them

hardy pilot
#

Terms of service are broader

eager light
#

fym broader

hardy pilot
#

Well terms of service also includes data collection and such

eager light
#

Yes but im talking about the part where it says what your game can and can't include

#

And what will get it moderated

hardy pilot
#

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

eager light
#

I mean the part where it's "not allowed"

hardy pilot
#

Yeah it's weird

eager light
#

New games like clickbaits have a similiar thing

#

Pay to troll someone

#

And like all of the features are included in HD Admin etc

hardy pilot
#

I get that harassment and shit but UTG had nothing to do with that

eager light
#

UTG is like an admin panel but with only the "Fun" commands

hardy pilot
#

my humble game where I'd play around with friends and cool scripts had nothing to do with harassment

eager light
#

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

hardy pilot
#

Do they still enforce it?

eager light
#

I have a game where i sell the "UTG" for like 3k R$

#

And the UTG is just kill explode jumpscare etc

hardy pilot
#

Well they havent banned admin or troll panels

eager light
#

with custom ui

eager light
hardy pilot
#

As long as it is rebranded

eager light
#

Exactly

#

Which simply doesn't make any sense

hardy pilot
#

Well they also prohibited the use of

eager light
#

😭

hardy pilot
#

Just weird specific things Roblox gets mad at

#

πŸ’”

eager light
#

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

hardy pilot
#

I mean they crack down on it every now and then

#

but thats usually Minecraft remakes

eager light
hardy pilot
#

where someone outright steals the assets and rescripts it

eager light
#

Not for clickbaits

eager light
#

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

carmine yacht
#

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

eager light
eager light
snow jungle
#

Anyone know a fix for the crashing problems that the new Roblox studio is having when you click stop?

pseudo ether
#

can anyone here make a luck system for my game

ancient dome
#

Hello guys i want start learning lua and im here to ask yall do you have any tips

flint tusk
scarlet maple
#

Yo

sleek rose
#

Anyone nkow good spots to host a discor dbot?

spare cargo
#

Guys i need help with my code

#

Please ☹️

split root
split root
spare cargo
#

Thanks!

split root
#

np!

#

for what u need btw

#

@spare cargo

spare cargo
#

Uh

#

I need help with my code i was trying to make an npc walk to a random part

split root
#

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!

near wing
#

has anyone coded one of these before

rustic torrent
#

anyone here got a good pc?

hasty juniper
untold sigil
#

who wanna make games with me im a scripter and im bored

bleak glade
near wing
#

Can you explain like how it works

#

I can’t find any yt vids on it

bleak glade