#code-discussion

1 messages Β· Page 10 of 1

rain vigil
#

For example tables,

You can write they are a data type that store other data type, there exist two types: array and dictionaries

#

Im saying if you dont remember something write it down and youll remember it better

rain vigil
#

Tf

misty stratus
#

How I learned and actually remember stuff was looking up on the docs,devforum or even in depth yt vids abt the topic

#

If I didnt know raycasting or didnt remember it, I would do that

#

Overtime Youll just know it because you repeated it

rain vigil
#

Well i dont use raycasts a lot

spiral jungle
#

I use raycasts a lot

misty stratus
rain vigil
#

Ik

spiral jungle
misty stratus
#

And if you dont use raycasts a lot you must be doing sum wrong ig

rain vigil
misty stratus
#

Because its used in movement a lot

#

And front end

rain vigil
#

I dont know if you use them there, maybe i will need them

spiral jungle
#

Yes you will definitely need raycasts

rain vigil
#

For what?

misty stratus
rain vigil
#

Wdym?

hardy pilot
#

Chud my chudding chud life

urban palm
#

I'm trying to make a tween only show up for the client on touch but I can't figure out how, any help?
The script with less code is the local script and the other is the btw
I've put the local script in the checkpoint btw just so I can figure it out, it wont stay there forever

hardy pilot
rain vigil
#

Thats what i said

#

Wall of text incoming

somber vault
#

local Player = game:WaitForChild("Players") # i say to my script to wait for the player to load

Player.PlayerAdded:Connect(function(plr) # i define player by plr

plr.CharacterAdded:Connect(function(char)            # i define character by char
    
    local tep = game.Workspace.tep        # tep is a part that is in my workspace  
    local TeleportService = game:GetService("TeleportService")  # i get the Teleport Service 
    local placeID = 89569983712461   # My place ID
    
    tep.Touched:Connect(function(hit)    # Once the tep part is touched 
        if hit.Parent == char then    # Check who touched, and if its a char then 
            TeleportService:TeleportAsync(placeID, {plr})                    # IT TELEPORT            
        end
    end)
end)    

end)

#

i dont why it dont work

rain vigil
#

BRO

somber vault
#

its a script in starter character script

rain vigil
#

For comments you use -- not #

somber vault
#

like when i was typing

rain vigil
#

If you delete the comments then it will work

somber vault
#

real script is here

rain vigil
#

Ah ok

somber vault
#

btw i dont know why it not work its really weird

tiny arrow
# somber vault

maybe change the if hit.parent == char to if hit.Parent:FindFirstChild("HumanoidRootPart") then and continue

rain vigil
#

Also instead of players = game:waitforchild("Players") use GetService:

rain vigil
#

Wait bro look at his pfp

violet linden
#

guys

rain vigil
#

I DIDNT NOTICE IT

#

Should we report?

tiny arrow
violet linden
#

where we get the fisch hidden script

tiny arrow
rain vigil
tiny arrow
#

yea na##

#

I Dont want to say it because i could get reported

violet linden
#

guys you hearing?

tiny arrow
#

?

tiny arrow
violet linden
#

Fisch

rain vigil
#

Wait theres a reportable person

somber vault
#

its ur account or ur account ?

tiny arrow
#

you could get in trouble

somber vault
rain vigil
#

Bro your pfp

#

Im alr reporting dont worry

#

You dont need to change it anymore

somber vault
#

i litteraly changed

rain vigil
#

Bro

#

Ok

somber vault
#

i litteraly just came here for that someone faking explain to me my script

#

what did i do ?

rain vigil
#

Yeah but you cant have that pfp, its illegal

#

WORLD-WIDE

somber vault
#

i litteraly can debate with u about adlof

somber vault
rain vigil
#

Bro nahh youre getting still reported

urban palm
#

@rain vigil why is this happening?

rain vigil
#

Ahh

thorn torrent
#

big difference between a player and a player character

rain vigil
#

Ok so try to change the server script to

script.parent.Touched:Connect(function(char)
local player = Players:GetPlayerFromCharacter(char)

checkpointTween:fireclient(player)
end)

thorn torrent
#

no

#

not right

rain vigil
somber vault
#

local Player = game:WaitForChild("Players") # i say to my script to wait for the player to load

Player.PlayerAdded:Connect(function(plr) # i define player by plr

plr.CharacterAdded:Connect(function(char)            # i define character by char

    local tep = game.Workspace.tep        # tep is a part that is in my workspace
    local TeleportService = game:GetService("TeleportService")  # i get the Teleport Service 
    local placeID = 89569983712461   # My place ID

    tep.Touched:Connect(function(hit)    # Once the tep part is touched 
        if hit.Parent == char then    # Check who touched, and if its a char then 
            TeleportService:TeleportAsync(placeID, {plr})                    # IT TELEPORT
        end
    end)
end)

end)
can someone help me for this idk why this script dont wanna work i create a place and publish it

hardy pilot
#

No

thorn torrent
#

no

somber vault
rain vigil
hardy pilot
#

Stop skidding start scripting

urban palm
somber vault
hardy pilot
thorn torrent
somber vault
#

hit : reddot777

#

git : reddot777

#

i dont only code in lua :3

thorn torrent
#

what if you learn what a player is first before even getting in remotes

rain vigil
#

Tf?

thorn torrent
#

im out

rain vigil
#

Idk_relly try my script

urban palm
copper apex
#

Can someone give feedback

somber vault
copper apex
#

I did this so that I can handle creation of custom player list UI as well

somber vault
rain vigil
urban palm
rain vigil
#

Show me

#

Errors

urban palm
rain vigil
#

RedGuy

#

Theres this Reddot_777 that had a na## pfp

#

I have screenshot

somber vault
#

yea its me

urban palm
rain vigil
#

Bro

somber vault
rain vigil
#

Bro cooied

#

Nah i did whats right

somber vault
#

bruh i just came for that someone explain to me

#

my script

#

:/

rain vigil
#

It is illegal world wide

urban palm
somber vault
rain vigil
#

Then you admit

somber vault
#

how old are u ?

#

u gotta be like 13

#

and listening to what daddy teach u

rain vigil
#

Nah

somber vault
#

if u were mature enough u were gonna do some research

urban palm
rain vigil
#

Research?

somber vault
#

not listening like everyone what we tell u

rain vigil
#

What research?

somber vault
rain vigil
#

The research of who cares?

somber vault
#

bye

urban palm
somber vault
urban palm
rain vigil
#

Why isnt he banned?

urban palm
#

cuz the mods here are fucking useless

somber vault
rain vigil
urban palm
tiny obsidian
#

yo chat

urban palm
#

yo

gray frost
urban palm
gray frost
#

it returns whatever part it was touched by

#

character = hit.Parent

#

use players server to get the player

thorn torrent
#

πŸ’€

gray frost
#

GetPlayerFromCharacter(characterObject)

urban palm
rain vigil
thorn torrent
urban palm
#

yes i did do that but idk if i did it right

thorn torrent
#

no

urban palm
#

idk what im doing 😭

gray frost
#

i just told you bro

teal mural
#

Does anyone here know scrimba and if so is it worth it to sub to it

thorn torrent
#

brother you don't even know how to code

gray frost
#

character = hit.Parent

rain vigil
thorn torrent
#

why bother with roblox api

urban palm
gray frost
urban palm
#

not everybody is a god at scripting

thorn torrent
#

no you're not

#

what is a table

urban palm
rain vigil
thorn torrent
gray frost
#

😝

thorn torrent
thorn torrent
#

not all tables are to place food on

gray frost
urban palm
rain vigil
thorn torrent
#

well yes

rain vigil
thorn torrent
#

that's just not the right way to say it

#

you don't call it a container

rain vigil
#

Well i did say it poorly

gray frost
#

tables are so sexy

urban palm
thorn torrent
#

a variable is essentially a block of memory that contains mutable values

urban palm
rain vigil
#

Nah she's (or he's??) right

thorn torrent
wide plover
#

yoo

gray frost
wide plover
#

who want to wok wit me

#

Working on a super smash bros anime game, any1 intersted?

rain vigil
thorn torrent
#

@urban palm you still didn't answer the question; what is a table in programming

thorn torrent
urban palm
wide plover
thorn torrent
urban palm
wide plover
thorn torrent
#

you don't call a player

thorn torrent
#

no

rain vigil
#

A gui to be more specific

wide plover
urban palm
thorn torrent
#

no

#

MouseButton1Click is an event you dingus

rain vigil
rain vigil
thorn torrent
thorn torrent
gray frost
urban palm
rain vigil
thorn torrent
gray frost
thorn torrent
#

go search

urban palm
thorn torrent
#

that's stupidly wrong

gray frost
#

smhh

thorn torrent
#

this mf blocked me

gray frost
#

bruh

rain vigil
#

Who?

thorn torrent
#

tell him to start reading the documentation and learn the basics of programming

urban palm
gray frost
#

i hate people so much

urban palm
thorn torrent
#

no u dont

urban palm
#

i meant lua

rain vigil
#

NAHHHH

gray frost
thorn torrent
#

@urban palm what's a floating point

rain vigil
gray frost
#

😝

rain vigil
#

I have a simpler one

urban palm
rain vigil
#

@urban palm whats a string

urban palm
rain vigil
#

Not only

urban palm
#

i know now that float is a number but i didnt know that float was a different way of saying it

rain vigil
#

You can write more things in it not only letters

urban palm
rain vigil
#

Ok

#

I think you should see a tutorial series to understand the concepts

urban palm
#

im not as stupid as you lot think, i just didnt know there was multiple terms for one thing

rain vigil
#

Cause you know basics

urban palm
rain vigil
#

Ok

gray frost
urban palm
gray frost
#

yh

meager sky
#

Is anyone making a game?

thorn torrent
hardy pilot
#

Wouldnt the best way to judge if a user is dark skinned be a check if no color components goes over a treshold

#

5 edits later and my message might be readable now

tough stone
#

I think i have some code (albeit untested) like that

hardy pilot
#

Yeah I've seen people suggest averaging the color components but then pure colors would count as dark

thorn torrent
#

But what if we wanted to check if a player is of a certain race

hardy pilot
tough stone
#
local players = game:GetService("Players")
local player =  players.LocalPlayer

local function range(n: number, min: number, max: number)
return (max >= n and n <= min)
end

local function colourCheck(character: Model)
local bodyColours: BodyColors = character:FindFirstChildWhichIsA("BodyColors")

local colorProps = {
"HeadColor3", 
"LeftArmColor3", 
"RightArmColor3", 
"LeftLegColor3", 
"RightLegColor3", 
"TorsoColor3"
}

for i, selected in colorProps do
Colour: Color3 = bodyColours[selected]

if range(Colour.R/Colour.G, 1.9, 2.1) and Colour.R <= 175 then
player:Kick("An error occured.")
end
end

player.CharacterAdded:Connect(colourCheck)

have no idea how much this works but as long as you’re near a certain colour this should work

hardy pilot
#

I guess you'd pick a central color and then deduct some bounds from every component then check if the color is in those bounds

rain vigil
hardy pilot
#

But if any component is outside of its bounds its fine

#

So you ban the mixture of specific color ranges

#

Finally I can detect exploiters before they even exploit TrollSus

silk tartan
#

What does Enum mean someone please Im new to this stuff

vague phoenix
rain vigil
#

Containing values

vague phoenix
#

example:

Enum.Material.Neon

silk tartan
#

Thanks

#

πŸ™

fallow leaf
#

does anyone here do coding comms? not looking to hire just need to have a private conversation

fallow leaf
fresh otter
#

lol

inland bay
#

nobody is giving you help for free πŸ’”

fallow leaf
#

im not asking for help

quartz trail
#

he wants to learn how to do comms

#

i think

inland bay
#

then just ask here πŸ’”

fallow leaf
quartz trail
fallow leaf
#

i need to ask someone stuff about a private thing

#

i dont want to disclose to the world

quartz trail
inland bay
#

just ask here it makes no difference

quartz trail
#

why are you saying it like that 😭

inland bay
#

πŸ’”

fallow leaf
#

jesus christ

quartz trail
#

ok

#

tell me

#

dm me

fallow leaf
#

dm me

#

its not that serious dude

quartz trail
#

bet

weak hill
#

guiys how to script

tough stone
#

essentially read-only values (like integers) that are given names to be referenced easier

#

that’s why you’ll see enums have number values associated with them

frozen swift
somber vault
cunning harness
#

ew

#

scripting species

#

a particular subspecies indeed

somber vault
urban palm
cunning harness
#

heard me you code muncher

urban palm
cunning harness
#

fr

somber vault
#

i smoke 5 times per day WE ARE HERE !

urban palm
urban palm
somber vault
weak hill
#

bro my monitor start to stink in this channel thats the issue

somber vault
#

Lua is a easy language and it will not help u in the future

weak hill
#

also building is WAY superior

somber vault
weak hill
#

i dont

#

who tf wants to be a professional game developer 😭

somber vault
#

idk man some kids that wanna be a professional developper to code "THEIR DREAM TYCOON GAME !"

weak hill
#

get out

#

if ur gonna be a game developer full time on ROBLOX

#

atleast get a good job bro πŸ™

somber vault
#

who said to u that i wanna be a roblox game developper i litteraly code in roblox when im bored

weak hill
#

can u teach me code now

somber vault
#

i mean yes

#

do this

weak hill
somber vault
#

im_lazy = True

while im_lazy == True :
print("IM SUPER LAZY !")

somber vault
#

:3

somber vault
# weak hill beh

look on ytb if u wanna learn peoples will litteraly not help u remember that in this world no one care about u, if u wanna do something just get ur ass up

somber vault
#

bro didnt understand

weak hill
#

just get me a 60 sec vid else it aint worth it

#

πŸ™

somber vault
weak hill
somber vault
#

mp

#

come private

weak hill
#

no

#

i remember i have to learn for a test πŸ’€

#

i will later possibly

#

harvard aint it for me πŸ™

bronze cradle
#

how to hire a scripter

glad arch
#

is there a different way to write this code so that my velocity won't be influenced by where im looking (as in, the lookvector can be either 0.1 or 1, if im facing 1 ill go 10x as further than facing 0.1)

rain vigil
#

Can someone in this chat have an IQ higher than 50

#

I certainly dont belong here

glass garden
#

LookVector is already normalized

rain vigil
#

Oh my god CFrames and vectors my worst nightmare

warm pumice
warm pumice
#

make it make sense

rain vigil
#

I know datastores

#

Type checking

#

Buffers

rain vigil
warm pumice
#

bro knows everything except how to make a game

#

bro has "5 years datastore experience"

rain vigil
#

Ok ask something

#

Isk

#

Idk

warm pumice
#

ok

rain vigil
#

I SAID ASK SOMETHING NOT GIVE ME THE DIVINE COMEDY

warm pumice
#

blud it was a question

#

it doesnt jump anymore but it used to after i changed it to unanchor from being already unanchored and breaking velocities

vital parrot
rain vigil
#

Idc

vital parrot
#

Will this clone the module's table?

#

or will it share it with the other employees

#

it's a metatable

rain vigil
#

Im to lasy to read allat

warm pumice
#

Figured it out

#

I was getting the mass of the assembly before i unanchored it

#

Apparently the mass while it's anchored is like close to 0 or sum ? idk

#

changed this line and it worked

primaryPart.ApplyImpulse(randomForce.mul(primaryPart.AssemblyMass));
peak oak
vital parrot
rain vigil
#

can i ask something, in lua what are math operators (+ - * /) classified as?

Numbers or string?

fading onyx
#

yo ts is act kinda sick

vital parrot
#

so I made it a metatable instead

fading onyx
#

wait no pets that dig for you??? sob

stuck hull
#

What are some good ways to get started?

fading onyx
molten creek
#

Are there some non mid devs in this chat yet

#

I'd buy into this

#

Unironically

fading onyx
molten creek
#

UI needs a tiny bit of work

#

But the overcall concept looks like Dig IT?

#

How are you diff?

noble harness
#

Anyone ever use mimo?

#

It's like duolingo for codung

#

I'm learning full stack and it seems to be doing good

fading onyx
#

shouldve known 😞

#

πŸ’”

molten creek
#

Are there non mid devs in this gc who wanna work for me

#

I offer risk, and chance at money

hardy pilot
molten creek
keen hollow
#

Hie to start scripting

#

How pls anyone

inland bay
#

you're not using your brain by watching videos

#

πŸ’”

#

πŸ’€

hardy pilot
noble harness
noble harness
inland bay
hardy pilot
#

They're just good at stretching out surface information over a multiple week course

inland bay
#

πŸ’€

#

you use your head when reading docs

#

videos are easy because they teach you NOTHING

noble harness
#

It just has me write out code

#

Do assignments

inland bay
#

ok which language

noble harness
#

Stuff like that

noble harness
inland bay
#

πŸ’€

#

you're literally learning a pointless skill

#

learn js > learn a framework

noble harness
inland bay
#

you're literally just behind if you're writing your sites in raw html in 2025

hardy pilot
#

I believe front end web dev will be taken by AI

#

because it's all about "familiarity" and not a shred of uniqueness

keen hollow
hardy pilot
#

and also considering there's already companies that offer that for enterprise

inland bay
#

just not fucking html

#

actually pointless

hard mulch
#

sure

hardy pilot
#

You're fine!!

inland bay
#

html is literally just tags

keen hollow
#

Learning to script I’d impossible

hard mulch
keen hollow
#

Is

hard mulch
#

ok not 2 days but u get the idea

keen hollow
#

How do I even learn

hard mulch
keen hollow
#

Ok

odd sinew
#

So uh, idk where to start. But basically it’s not working because your setting the ownsGamepass to false

silk tartan
#

What is CFrame and HumanoidRootPart

inland bay
#

πŸ’”

signal pewter
true yarrow
#

holy

#

that's a lot of lines

#

bro...

#

owngamepass is already true from beginning

#

and by doing this u may force poeples that acc bought gamepass to not be able to use it anymore cuz of ur code

#

cuz ur script clearly says

somber vault
#

Were is the rodemap for lua for i can learn code

true yarrow
#

"if ur not that guy then ur not using that gamepass"

true yarrow
#

the tweens

#

the datas

#

etc

somber vault
true yarrow
#

I dont understand what u tryna say

somber vault
#

The site for rodemap

true yarrow
#

roadmap???

somber vault
#

Yeh

true yarrow
#

there isnt any, there is just a site with informations

#

I mean there is only this

somber vault
#

I hade one before its gone

#

Threr was beginner intermiddital and adfast

signal pewter
signal pewter
#

then why are you getting mad at an already-ssolved problem

true yarrow
#

where is the mad part

signal pewter
#

alright dont worry about it bro

#

i dont want an argument

true yarrow
#

??

#

holy, im tryna tell u what's wrong and then im mad, alr

signal pewter
#

let it go

vague gate
#

who needs a website made for their roblox portfiolo shoot me a message

raven acorn
#

I’m making a game that has pc support and I was wondering if I can just make a gui that in some sense pressed the letter E which is a pc keybind to make it mobile support

silk tartan
#

anyone knows why when i go pick up the coin it wont do anything i checked every name shouldbe right

slate marsh
#

and change the touched.value == true to false

#

you checking on touched.Value == true statement

#

but on start you dont have a value statement

slate marsh
# silk tartan anyone knows why when i go pick up the coin it wont do anything i checked every ...
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player
    
    local coins = Instance.new("IntValue")
    coins.Name = "Coins"
    coins.Value = 0
    coins.Parent = leaderstats
end)

local mainGame = game.Workspace:WaitForChild("TakaVecicka") -- 
local coins = mainGame:FindFirstChild("Coins")

if coins then
    for _, coin in pairs(coins:GetChildren()) do
        if coin:IsA("Part") then 
            local touched = Instance.new("BoolValue", coin)
            touched.Name = "Touched"
            touched.Value = false
            
            coin.Touched:Connect(function(otherPart)
                local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
                local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
                
                if humanoid and player and not touched.Value then
                    touched.Value = true 
                    
                    player.leaderstats.Coins.Value += 1
                    
                    coin.Transparency = 0.5 
                end
            end)
        end
    end
end

silk tartan
#

ayo bro

#

whole ahh code

slate marsh
silk tartan
#

what does it do

slate marsh
#

still not gonna work

#

look

#

u checking touched.value on if statement but

#

u dont have a touched.value on start

silk tartan
#

thanks for saying i appreciate you

#

what is BoolValue tho

quartz cairn
#

where can i find a comabt scripter

slate marsh
#

Boolean value

silk tartan
#

i asked ai also for help and they did like the same with the bool values

slate marsh
#

true or false

silk tartan
#

ooh

quartz cairn
#

i need help with finding a combat scripter

slate marsh
#

its checking ur touch value

#

u touching to coin

#

or not

silk tartan
#

but i watched the tutorial to it to check and he doesnt have it set

slate marsh
#

try to understand it

silk tartan
#

ye i tried i just watche the tutorial to check

frozen echo
silk tartan
#

if i didi good

#

and i realized smt was wrong so i tried to watch the tutorial but it didnt do nun

slate marsh
#

lemme check

stuck hull
#

What's the difference in focusing on combat systems vs other?

fallen summit
#
player.CharacterAdded:Connect(function(character)
    local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
    local humanoid = character:WaitForChild("Humanoid")
    fuselage = aircraft:WaitForChild("Fuselage")
    aircraft.PrimaryPart = fuselage
    humanoidRootPart.CFrame = fuselage.CFrame + Vector3.new(0, 5, 0)
    local weld = Instance.new("WeldConstraint")
    weld.Part0 = fuselage
    weld.Part1 = humanoidRootPart
    weld.Parent = fuselage
    humanoid.Sit = true
end)

this wont work

#

it wont tp the player into the primarypart

royal wren
#

Guys does anyone here know how to make the squid games system?

#

Like i got the minigames but i just dont know how to make the system

frozen echo
#

Which system?

#

Red light green light?

wooden sapphire
#

Then learn the basics of coding, then use those fundamentals to create them.

royal wren
#

You know when a round is over

#

Ppl who dont conplete it are out

#

And the next ppl move on to a diff round

frozen echo
#

Hm

royal wren
#

But i dont know how to move the players into a different round

#

With a completely new timer

#

Etc

frozen echo
fallen summit
royal wren
fallen summit
#

i need the person to be teleported to the primarypart

frozen echo
fallen summit
#

bruh

stuck hull
#

What's the difference in focusing on combat systems vs other when scripting

#

Anyone?

fallen summit
#

like ur character is in the plane

frozen echo
#

Um sorry idk

fallen summit
#

vrooo

coarse notch
#

how do i get into scripting? should i js watch a yt guide and start making easy stuff or what

coarse notch
fallen summit
coarse notch
slate marsh
fallen summit
slate marsh
#

then u need to set player humanoid to fuselage

strong birch
dusky garden
#

anyone DM me about voice chat service?

#

(forhelp)

slate marsh
dusky garden
#

eh

#

he

#

evet

slate marsh
#

bilsem yardimci olurdum da bilmiyorum

#

developerhuba baktΔ±n mΔ±

dusky garden
#

of kafayi yicem bulamiyorum yapamadim

slate marsh
#

ne ki sorun

#

dmden yaziyom simdi turkce diye

#

laf ederler

dusky garden
#

tmm

carmine tapir
#

Where do you learn about how to incorporate roblox physics in your experience

coarse notch
dusky garden
fallen summit
#

what im trying to do

#

but it wont work

coarse notch
#

define aircraft

#

also waitforchild in humanoidrootpart and fuellage

#

fuse*

fallen summit
# coarse notch like i said

local player = game.Players.LocalPlayer
local aircraft = game.Workspace:WaitForChild("Aircraft") -- Reference to the aircraft model
local fuselage = aircraft:WaitForChild("Fuselage") -- Reference to fuselage (PrimaryPart)
local linearVelocity = fuselage:WaitForChild("LinearVelocity") -- Reference to LinearVelocity

local maxThrottle = 100 -- Max throttle value for controlling speed
local currentThrottle = 0 -- Default throttle value

-- Function to teleport the player into the fuselage and weld them to it
player.CharacterAdded:Connect(function(character)
-- Wait for the necessary parts to be available in the character
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")

-- Ensure the fuselage is available and set as PrimaryPart
fuselage = aircraft:WaitForChild("Fuselage")
aircraft.PrimaryPart = fuselage  -- Make sure Fuselage is PrimaryPart

-- Position the player's character at the fuselage's PrimaryPart position
humanoidRootPart.CFrame = fuselage.CFrame + Vector3.new(0, 5, 0)  -- Position slightly above to avoid clipping

-- Create a weld to attach the player to the fuselage
local weld = Instance.new("WeldConstraint")
weld.Part0 = fuselage  -- Weld fuselage to the player
weld.Part1 = humanoidRootPart  -- Weld the player's HumanoidRootPart to the fuselage
weld.Parent = fuselage  -- Attach the weld to the fuselage

-- Set the player's humanoid to sit in place (not necessary for physics)
humanoid.Sit = true

end)

#

how is that

coarse notch
#

and to define aircraft

rose pilot
#

i enabled type checking so i gotta do this shit now 😭

fallen summit
#

local aircraft = game.Workspace:WaitForChild("Aircraft")

empty sleet
#

Do often work for roblox-ts right now, or is it not a common practice?

slate marsh
fallen summit
slate marsh
#

humanoidRootPart.CFrame = fuselage.CFrame * CFrame.new(0, 5, 0)

#

yea this

#

U cant set position Vector and cframe at the same time

undone vector
#

Hey everyone, I've been scripting on Roblox for over 3 years now, meaning I can script almost anything. If you need work done for your game, DM me. I have low prices.

fallen summit
#

again

somber vault
#

Does anyone need help scripting i've been scripting for a while and i can help you i dont charge alot. Im new to this server and im only seeking robux dm me.

slate marsh
#

vector3 = position
cframe = position + rotation

fallen summit
#

ok ok

slate marsh
#

is it worked?

fallen summit
#

but my issue was

#

that i need the player to be tp’ed into the plane

#

so i can add stuff like a minimap

slate marsh
#

can u send me studio file

#

lemme check

fallen summit
#

ok

#

goals:

  • get the player to be tp'ed into the plane
#

and if u want u can make the camera point to the cursor

#

@slate marsh ill js check back up soon

slate marsh
winged edge
#

which is better in performance for a drops collecting system

1- Creating a hitbox in each drop and listening for .Touched

2- Runservice or smth and checking for the distance between the player and the drops existed

spice cypress
spice cypress
#

so the magnitude is calculated using pythagorus and the last step of the equation is to square root the answer which takes time

spice cypress
#

you would have to square the pickup distance too then though

#

but tbh it probably won't make much of a difference

winged edge
#

btw the drops will be less than 50 ofc at the same time its not that big

lone kayak
#

hello guys

winged edge
lone kayak
#

just got here

mild island
#

Me too

ivory atlas
fallen summit
slate marsh
#

i tried to debug it

#

everything in character added is not working

#

i will look it tomorrow

fallen summit
#

@slate marsh highkey if ur interested enough to do the other optional thing i might give you the exclusive plane

#

lol

#

cuz this is literally the backbone for it

slate marsh
#

ngl I'm trying to avoid all cframe things

#

its pain

fallen summit
#

referencing the player will make my life 1000x easier

carmine yacht
raven acorn
#

can anyone help me i have a game where pressing e will put you into flight and i want to make a gui do that for mobile by making the gui replciate the person pressing e on mobile since they dont have a keyboard so i can offer mobile support

jovial ice
raven acorn
#

yeah im not sure how to do this

jovial ice
#

so like when they press the button on mobile whatever flight script u have just runs the same it would if they were pressing E on pc

raven acorn
#

yeah

#

i dont know how to set up the e replicate

jovial ice
raven acorn
#

well i can figure out showing it on their screen or not

jovial ice
#

ah nvm found something

#

it has answer to your question

raven acorn
#

omg its litteraly exact what i need

#

ive been scroling for hours

jovial ice
#

yea

jovial ice
#

it's just a matter of knowing what to search at times

raven acorn
#

did u search this straight onto devofrum

jovial ice
#

but have used devforum before

carmine yacht
#

ContextAction got

#

GOAT

jovial ice
#

didnt realise I was lvl15 lol. that explains why I can act send links then

raven acorn
#

this didnt sovle my problem for some reaon when i click the button nothing happens and now when i press E on my keboard nothing happens

#

it jsut prints hgello

jovial ice
fervent briar
#

is scripting a TD game easy or hard?

fervent briar
#

show script

#

I can maybe help

thick sail
#

Anyone here use vscode?

#

I'm having trouble with colour formatting (using Roblox LSP)
How do I get normal syntax highlighting 😭

jovial ice
rare bronze
#

πŸ’€

thick sail
#

Visual Studio code

jovial ice
#

ah

steep sequoia
#

what should I make for my scripter application?

shy siren
#
Players.PlayerAdded:Connect(function(plr)
    local char = plr.Character or plr.CharacterAdded:Wait()
    local Humanoid = char:WaitForChild("Humanoid")
    local HumanoidDescription = Humanoid:GetAppliedDescription()

    HumanoidDescription.HeadScale = 1
    HumanoidDescription.WidthScale = 1
    HumanoidDescription.DepthScale = 1
    HumanoidDescription.ProportionScale = 1
    HumanoidDescription.BodyTypeScale = 1
    HumanoidDescription.HeightScale = 1
    task.wait(0.1)
    Humanoid:ApplyDescription(HumanoidDescription)
end)

help

steep sequoia
#

what's the issue?

shy siren
#

It doesn't scale the body.

steep sequoia
#

have you tested that it runs through every line?

shy siren
#

it does

steep sequoia
#

it could be where you're placing the script, what you're defining Players as, or something is interfering with the script

jovial ice
steep sequoia
jovial ice
#

dunno why but sometimes I get issues w stuff not working and it just fixes itself like that...

jovial ice
steep sequoia
#

@shy siren use this and tell me what numbers do not show, I changed HumanoidDescription.WidthScale to 4 to make sure you can see the change

print('0')
local Players = game:GetService('Players')
Players.PlayerAdded:Connect(function(plr)
    print('1')
    local char = plr.Character or plr.CharacterAdded:Wait()
    local Humanoid = char:WaitForChild("Humanoid")
    local HumanoidDescription = Humanoid:GetAppliedDescription()

    HumanoidDescription.HeadScale = 1
    HumanoidDescription.WidthScale = 4
    HumanoidDescription.DepthScale = 1
    HumanoidDescription.ProportionScale = 1
    HumanoidDescription.BodyTypeScale = 1
    HumanoidDescription.HeightScale = 1
    task.wait(0.1)
    print('2')
    Humanoid:ApplyDescription(HumanoidDescription)
    print('3')
end)
shy siren
#

Thanks for the help tho

steep sequoia
#

what was the issue?

flat phoenix
shy siren
flat phoenix
#

can anyone help me?

shy siren
#

I thought it wasn't working but it was

shy siren
flat phoenix
steep sequoia
#
local vari = 'Helloo'
flat phoenix
#

OH

steep sequoia
#

no space after lua btw

flat phoenix
#

OPS

#
--Services--
local UIS = game:GetService("UserInputService")
local player = game:GetService("Players").LocalPlayer
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
--ReplicatedStorage Refrences--
local vfxFolder = RS.vfx

--VariablesForUIS--
KeyForSlash = Enum.KeyCode.E

local function emitParticle(yourvfx)
    for _, Particles in pairs(yourvfx:GetDescendants()) do
        if Particles:IsA("ParticleEmitter") then
            Particles:Emit(Particles:GetAttribute("EmitCount"))
            
        end
    end
end



UIS.InputBegan:Connect(function(input, isTyping)
    if isTyping then
        return 
    end
    if input.KeyCode == KeyForSlash then
        print("Slash Skill Activated")
        local SlashFx = vfxFolder.SlashFX:Clone()
        SlashFx.Parent = workspace.fx
        
        emitParticle(SlashFx)
    end
end)
dusty kettle
# flat phoenix For Some Reasons the Particles Dont Emitt
local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")


local player = Players.LocalPlayer
local vfxFolder = RS:FindFirstChild("vfx")
local KeyForSlash = Enum.KeyCode.E


local function emitParticle(vfx)
    if not vfx then return end
    for _, particle in pairs(vfx:GetDescendants()) do
        if particle:IsA("ParticleEmitter") then
            local emitCount = particle:GetAttribute("EmitCount") or 10 
            particle:Emit(emitCount)
        end
    end
end


UIS.InputBegan:Connect(function(input, isTyping)
    if isTyping then return end
    if input.KeyCode == KeyForSlash then
        print("Slash Skill Activated")

        if vfxFolder then
            local SlashFx = vfxFolder:FindFirstChild("SlashFX")
            if SlashFx then
                local clonedFx = SlashFx:Clone()
                local fxFolder = workspace:FindFirstChild("fx")
                if not fxFolder then
                    fxFolder = Instance.new("Folder")
                    fxFolder.Name = "fx"
                    fxFolder.Parent = workspace
                end
                
                clonedFx.Parent = fxFolder
                emitParticle(clonedFx)
            else
                warn("SlashFX not found in vfxFolder!")
            end
        else
            warn("vfx folder not found in ReplicatedStorage!")
        end
    end
end)
flat phoenix
#

Its still not showing

dusty kettle
#

or any of the warns?

flat phoenix
#

nope

flat phoenix
dusty kettle
flat phoenix
#

wait

#

Bro the vfx's particles are gone 😭

dusty kettle
#

prob why ngl

flat phoenix
dusty kettle
flat phoenix
#

one more thing

#

if i want to make multiple vfxs assigned to keys how do i make that in the same function

flat phoenix
#

Lol

dusty kettle
#

Oh

#

lol mb

dusty kettle
# flat phoenix i dont think u read that right

local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local vfxFolder = RS:FindFirstChild("vfx")
local KeyForSlash = Enum.KeyCode.E
local vfxEffects = {
    "SlashFX",  
    "VFX2", 
-- on and on with whatever name then ,
    
}
local function emitParticle(vfx)
    if not vfx then return end
    for _, particle in pairs(vfx:GetDescendants()) do
        if particle:IsA("ParticleEmitter") then
            local emitCount = particle:GetAttribute("EmitCount") or 10
            particle:Emit(emitCount)
        end
    end
end
UIS.InputBegan:Connect(function(input, isTyping)
    if isTyping then return end
    if input.KeyCode == KeyForSlash then
        print("Slash Skill Activated")

        if vfxFolder then
            for _, effectName in pairs(vfxEffects) do
                local vfxTemplate = vfxFolder:FindFirstChild(effectName)
                if vfxTemplate then
                    local clonedVFX = vfxTemplate:Clone()
                    local fxFolder = workspace:FindFirstChild("fx")
                    if not fxFolder then
                        fxFolder = Instance.new("Folder")
                        fxFolder.Name = "fx"
                        fxFolder.Parent = workspace
                    end
                    
                    clonedVFX.Parent = fxFolder
                    emitParticle(clonedVFX)
                else
                    warn("VFX Effect not found: " .. effectName)
                end
            end
        else
            warn("vfx folder not found in ReplicatedStorage!")
        end
    end
end)
#

@flat phoenix that work?

flat phoenix
#

imma test it rn

flat phoenix
dusty kettle
unkempt brook
#

does anyone know how to bypass roblox maxhealth limit bc i cant i been trying for a week, i make a numbervalue to change it, i made a crappy oop system and that didnt work either so im outta options (and yes i do need a maxhealth higher than 10 ud bc thats the cap)

spice cypress
#

or equal to 0

unkempt brook
#

how do u kill the player when health 0

#

do i just say

if player.Character.HealthValue == 0 then
player.Character.Humanoid.Health = 0
end

#

@spice cypress

spice cypress
#

might want to do <= 0 incase they take too much damage

unkempt brook
#

alright

#

thanks so much

flat phoenix
candid kestrel
spring pond
proper violet
#

shut up loser

umbral briar
rose raptor
#

thats sick ngl

#

it'd be cool if distance had an impact on the color tho

queen yarrow
#

thats a good project

#

i like it alot man proud of you @umbral briar

rose raptor
#

alright bro hes getting friction burn

umbral briar
native notch
#

Hey does anyone know how to dev with the voice api, I have a question

lethal light
#

Does anyone know how to make water infinite for my water system

lethal light
native notch
#

u need to be a lil specific mate

lethal light
native notch
lethal light
native notch
#

copy it and put

and end it with the 3 ` things
lethal light
#

scale for mesh

#

repeat
wait(0.1)
for i=0, 100 do
script.Parent.Mesh.Scale=script.Parent.Mesh.Scale+Vector3.new(0, 0.036, 0)
wait()
end
wait()
for i=0, 100 do
script.Parent.Mesh.Scale=script.Parent.Mesh.Scale-Vector3.new(0, 0.036, 0)
wait()
end
until false

bleak glade
# lethal light

why is there nothing in serverscriptservice and replicatedstorage πŸ’€

lethal light
native notch
#

to make it infinite you'd need to do like a whole script and im just a skid so I cannot help you

#

but you'd need to check a tut

bleak glade
#

why do you need infinite water

teal vapor
native notch
lethal light
native notch
#

not water round an island

lethal light
#

i want an ocean

native notch
bleak glade
teal vapor
#

make a chunk of water

#

and load chunks around player

#

when they move unload and load other chunks

teal vapor
#

the game wont even run

#

its not even possible to make it ”infinite”

lethal light
#

mmh ok

pure python
#

how come my leaderstats are not saving?

#
local datastoreservice = game:GetService("DataStoreService")
local DataStore = datastoreservice:GetDataStore("v1.01")

game.Players.PlayerAdded:Connect(function(player)
    local PlayerStats = Instance.new("Folder")
    PlayerStats.Parent = player
    PlayerStats.Name = "PlayerStats"

    local Sticks = Instance.new("NumberValue")
    Sticks.Parent = PlayerStats
    Sticks.Value = 0
    Sticks.Name = "Sticks"
    
    local Stone = Instance.new("NumberValue")
    Stone.Parent = PlayerStats
    Stone.Value = 0
    Stone.Name = "Stone"

    local Granite = Instance.new("NumberValue")
    Granite.Parent = PlayerStats
    Granite.Value = 0
    Granite.Name = "Granite"

    local Talc = Instance.new("NumberValue")
    Talc.Parent = PlayerStats
    Talc.Value = 0
    Talc.Name = "Talc"

    local success, data = pcall(function()
        return DataStore:GetAsync(player.UserId)
    end)
    if success and data then
        Sticks.Value = data.Sticks or 0
        Stone.Value = data.Stone or 0
        Granite.Value = data.Granite or 0
        Talc.Value = data.Talc or 0
    end
end)

game.Players.PlayerRemoving:Connect(function(player)
    local success, err = pcall(function()
        DataStore:SetAsync(player.UserId, {
            Sticks = player.PlayerStats.Sticks.Value;
            Stone = player.PlayerStats.Stone.Value;
            Granite = player.PlayerStats.Granite.Value;
            Talc = player.PlayerStats.Talc.Value;
        })
    end)
    if not success then
        warn("Failed to save data for "..player.Name.." Error: "..err)
    end
end)
bleak glade
pure python
bleak glade
#

"Player_"..player.UserId

bleak glade
#

print out both success and data

pure python
#

I cant send the script now. idk why

bleak glade
#

you pcall your setasync

pure python
#

aaa

bleak glade
#

theres no reason to

pure python
bleak glade
#
game.Players.PlayerRemoving:Connect(function(player)
    DataStore:SetAsync("Player_" ..player.UserId, {
        Sticks = player.PlayerStats.Sticks.Value;
        Stone = player.PlayerStats.Stone.Value;
        Granite = player.PlayerStats.Granite.Value;
        Talc = player.PlayerStats.Talc.Value;
    })
    print("saved data for ", player.Name)
end)
#

lmk if that prints

#

well it would if you leave, i meant to wrap the data

pure python
lone kayak
#

hello i do want to help but idk if someone wants to get help

bleak glade
pure python
#

ah

pure python
bleak glade
#

try using that updated key

#

for your getasync too

pure python
bleak glade
#

just copy and paste what i have above

pure python
#

oh

pure python
bleak glade
#

? do you not have API on

pure python
#

I was adding the stats with a local script 😭

pure python
bleak glade
#

wow

pure python
#

AAAAAAAAAAA

bleak glade
#

yeah im not suprised then, the script looked fine imo

pure python
#

ty

bleak glade
#

besides still using values in 2025 its fine

lone kayak
# bleak glade ```lua game.Players.PlayerRemoving:Connect(function(player) DataStore:SetAs...

game.Players.PlayerRemoving:Connect(function(player)
local playerStats = player:FindFirstChild("PlayerStats")
if playerStats then
DataStore:SetAsync("Player_" .. player.UserId, {
Sticks = playerStats:FindFirstChild("Sticks") and playerStats.Sticks.Value or 0;
Stone = playerStats:FindFirstChild("Stone") and playerStats.Stone.Value or 0;
Granite = playerStats:FindFirstChild("Granite") and playerStats.Granite.Value or 0;
Talc = playerStats:FindFirstChild("Talc") and playerStats.Talc.Value or 0;
})
print("Saved data for", player.Name)
else
print("PlayerStats not found for", player.Name)
end
end) here

thick sail
candid kestrel
narrow rapids
wary vigil
#

Hello

untold spindle
#

Can someone point me to a good place to learn about OOP for free? I want to improve my code skills as I know they are trash (Or at least are probably very simple... I don't get to compare dev work much) but I am not sure where too look

candid kestrel
candid kestrel
untold spindle
somber vault
#

guys any of u a really good coder in roblox dm me NOWW

narrow rapids
#

how do i make my slash not look poopy

#

hold on

supple heart
#

is html or lua more profitable, cuz I've learned html for like over 3 years now

narrow rapids
#

bro

#

how do i do the crescent thing

#

when you slash

narrow rapids
supple heart
#

i mean i have learned like python but im gonna learn java now

strong smelt
#

I am using the blender importation and exportation plugin and ever time I copy and paste the animation it says: We have disabled some language features because this script is too long and it's affecting system performance. You can change this in settings. Does anyone know how to fix this?

supple heart
#

increase the script limit

narrow rapids
#

i don't know what you're asking

supple heart
#

nvm then

strong smelt
#

how do you increase script limit

supple heart
#

idk

strong smelt
#

then the frick would you suggest it

short drum
#

is there a better way to communicate from server to client because i use remote events for everything almost and i feel like exploiters can abuse it

slender salmon
#

make checks

#

so its not abusable

bleak glade
earnest schooner
#

hey guys have any of you happened to work with buffers? there's a really strange thing with them

hazy panther
#

That has non human readable characters in the signals

inland bay
#

its fucking tags

somber vault
dense depot
#

local players = game.Players

debounces = false
local debounce1 = debounces

players.PlayerAdded:Connect(function(player)
local booksfolder = Instance.new("Folder")
booksfolder.Name = "boooksfolder"
booksfolder.Parent = player

local books = Instance.new("IntValue")
books.Name = "Books"
books.Value = 0
books.Parent = booksfolder

end)

workspace.book1.Touched:Connect(function(hit)
local player = players:GetPlayerFromCharacter(hit.Parent)
if player and debounce1 ==false then
local booksfolder = hit:FindFirstChild(booksfolder)
local books = booksfolder:FindFirstChild(Books)
books = books + 1
workspace.book1:Destroy()
end
end)

where the prplm when i touch it its say in the output ( Argument 1 missing or nil)

timber swift
somber vault
# supple heart is html or lua more profitable, cuz I've learned html for like over 3 years now

if u wanna be a front end developper, u need to learn HTML, PYTHON, JAVASCRIPT, CSS, and some other library's of javascript like REACT or NODE. So if u dont know what is a front-developper so let me explain to u :

when u enter a website u have two parts the front-end and the back-end :

front-end is what u see when u enter the website like the buttons, the images, the texts ...etc

and back-end mean what u cant see on the website, in simple term mean the security of the website like the database

So now let me answer the question who is the most profitable HTML or Lua :

so HTML will be more profitable if u planning to be a front-end developper but if u wanna get some fast cash Lua will be more profitable cuz u gonna be able to do some comissions and get paid

#

I hope i answered ur question

inland bay
#

python doesnt run in the browser therefor it makes no sense that you included it there

#

node is a runtime not a library

somber vault
inland bay
#

react is a framework

#

nobody competent does sites in raw html js and css

#

always use a framework

#

you're talking about a frontend and backend

#

to a frontend dev

#

"so to be a frontend dev you have to do backend"

somber vault
inland bay
#

and your answer was incorrect

#

you're implying he has to be able to do backend as well as frontend

#

he'll make more with lua than with html

#

but if he learns a web framework then sure

#

theres plenty more potential

somber vault
inland bay
#

just fyi

#

python doesnt run within the browser

#

therefor you're implying backend

somber vault
somber vault
inland bay
#

alright so you know some buzzwords and decide to throw them together

#

πŸ’”

split root
#

hello

inland bay
#

can someone speechbubble this πŸ’”

somber vault
#

DAMN PYTHON IS IN THE BACK END

pine chasm
somber vault
#

my bad

inland bay
#

if you're using raw html in 2025 you're simply behind

pine chasm
#

Frameworks are just raw abstractions

#

If you ever intend on becoming a good web developer, don't use frameworks when you start off

inland bay
#

alright so you're talking about beginners now?

somber vault
pine chasm
inland bay
#

what bro πŸ’€

pine chasm
#

Not only beginners even veteran Devs can improve their skills

inland bay
#

πŸ’€

#

nobody competent is making their site/frontend using raw html

#

unless they just need one or 2 static pages

pine chasm
#

Whatever you say fiddle

#

Can u give me a reason why you think that

somber vault
#

anyway im not even into web development im having more interests in penTesting ( Im still learning about it )

inland bay
#

nono hold on you tell me why html is on par or better than frameworks

#

I have plenty of reasons

somber vault
#

web development is boring

pine chasm
#

To clarify, I didn't say Frameworks are worse, they are easier but they don't contribute to your lesrning

inland bay
pine chasm
#

You only end up memorizi g the little frameworks interfaces but have no idea how things work behind the scenes

inland bay
#

what scenes brother

#

πŸ’€

#

this isnt c to assembly where you actually should understand the compilation process

pine chasm
#

While you may not see them, there are benefits to gaining misunderstanding

#

Such as becoming a good developer

#

Understanding*

inland bay
#

sure bro

#

you dont know what you're talking about

#

you're fixated on the point where html is this super fundemental language, where ig for web development it is

#

but at no point when using a framework

#

does your brain try to figure out how it transpiles into html

pine chasm
#

Ur not getting the point

#

I'm not talking about understanding how frameworks work

#

Transpile*

#

But understanding how the web works

#

What react does, you can do with raw html and js too

#

It's an opportunity to learn

inland bay
#

if you try to achieve what you would with react using html

#

you're just neurodivergent