#code-discussion

1 messages Ā· Page 82 of 1

fair hazel
#

Theres good developers that cant script

fringe forge
#

@weak radish i got prove I can

fair hazel
#

first learn how to special

#

then learn how to scam people

#

cuz your bad at it

weak radish
weak radish
fair hazel
#

he is definitely a inspiring developer that cant develop anything

#

probly 12 or smth

fading bramble
#

can anyone tell me what is the difference between local function and function? Ive returned to making games and I forgot the difference between them

green kraken
#

12 is an overstatement

weak radish
weak radish
#

Local functions work the same way local variables do

random nebula
pastel breach
#
local killbrick = script.Parent
local debounce = false
local originalcolor = killbrick.BrickColor

killbrick.Touched:Connect(function(hit)
    local character = hit.Parent
    local humanoid = character:FindFirstChild("Humanoid")
    if humanoid then
        if debounce == false then
            debounce = true
            
            humanoid:TakeDamage(100)
            killbrick.BrickColor = BrickColor.new("Really red")
            
            task.wait(0.5)
            
            killbrick.BrickColor = originalcolor
            
            task.wait(0.5)
            debounce = false
        end
    end
end)

is this the most efficient way to make a kill brick?

pastel breach
# full tiger I mean, it is yeah

yea sorry i know kill brick is noob level in scripting but i started 2-3 days ago so im curious if its a good way for making one

full tiger
#

Just make sure it actually got the character. Since, sometimes, it could detect an instance other than the character.

cloud atlas
pastel breach
#

alr ty

full tiger
pastel breach
# cloud atlas theres like a million different ways to go about this so yours is just fine
local pressurePad = script.Parent
local door = workspace:WaitForChild("Door")
local debounce = false

local TweenService = game:GetService("TweenService")

-- How high the door should move when it opens
local openPosition = door.Position + Vector3.new(0, 15, 0)
local closePosition = door.Position

-- Create tweens (animations)
local openTween = TweenService:Create(door, TweenInfo.new(1), {Position = openPosition})
local closeTween = TweenService:Create(door, TweenInfo.new(1), {Position = closePosition})

pressurePad.Touched:Connect(function(hit)
    local character = hit.Parent
    if not character then return end

    local humanoid = character:FindFirstChildOfClass("Humanoid")
    if humanoid and not debounce then
        debounce = true

        -- Open the door
        openTween:Play()
        print("Door opening!")

        task.wait(3)

        -- Close the door
        closeTween:Play()
        print("Door closing!")

        task.wait(1)
        debounce = false
    end
end)

and what about this one? its for opening a door

cloud atlas
#

yeah thats nice too

full tiger
pastel breach
fading bramble
#

is it possible to detect not only if I clicked the part, but also get the position of the click?

snow carbon
#

I did some type checking. How is it?

tropic sonnet
#

Paying 1 Robux Yearly for a coder I need help with random ore Gen

#

u can bu ferrari in indiašŸ¤‘šŸ¤‘

#

dm if interested

sonic mauve
dark juniper
pastel breach
dark juniper
#

didnt u ask for the most efficient way to make the script

#

Are you just flexing or do you actually want help

pastel breach
#

im not flexing im just saying its a small mistake because im very new to luau

dark juniper
#

ok then prop ur ears up im teaching u how to make it better

pastel breach
sonic mauve
#

on bigger scales of doors, dont put a script individually on each one, make one script that controls all of them

dark juniper
#

Id probably remove the if not character part

#

And replace with IsA(ā€œModelā€)

#

Id also seperate the humanoid line and the debounce line too

sonic mauve
#

i recommend doing if game.Players.GetPlayerFromCharacter(character) then

#

that just checks if its a player

dark juniper
#

Well but what if wants to use it on NPC

#

Going through the door

sonic mauve
#

idk then make an npc identifier

dark juniper
#

no all U have to do is verify if the hit.Parent is a model

sonic mauve
#

yeah but if a model touches it that isnt an npc it would trigger

pastel breach
#

icl i just made it for practice with the syntax i already know and it turned out alright

dark juniper
#

Model isn’t touching it..

#

did u even read the script

#

why would a model touch it

sonic mauve
#

idk

zealous gorge
#

Because the one in the video was converted from a tool into a model.

#

And it would be used as a tool in game though.

#

Can someone kindly give some advice?

somber vault
#

Could anyone give some advice for how to start coding? I really want to start coding, and I would like to know how you all learned it.

turbid pumice
#

How do we make a destroy tool like a shovel in grow a garden that destroys specific models

#

I’m really struggling on how to do this

turbid pumice
#

Thanks

zealous gorge
shut sorrel
zealous gorge
#

The one in the video was the tool converted to a model by just copying whatever there was inside the tool into a model.

shut sorrel
thorny granite
#

Can anyone help me with rojo?

soft marsh
#

me and my team are making a game that's called "basic tower defense" and we will release it at the end of june (next month). If you could support us by joining the discord server and maybe even giving some ideas and MAYBE even apply to be a developer then dm me! if not have a great day!

hallow linden
spring pond
upper sleet
#

I am making a ragdoll, it works but when the ragdoll stops and the character is on the ground, it kinda flings up and spins around, is there any way to fix this issue?

latent tartan
upper sleet
#

yeah i did

latent tartan
#

Send clip

upper sleet
jaunty fiber
#

is someone intrested to be a co-owner in a big project im gonna make we gonna split prices and i'll pay for the ads

latent tartan
# upper sleet

thats probably because of unragdolled? thats why it fling

upper sleet
#

yeah but i want it to unragdoll and stand up after a certain time

fading bramble
#

how to check if player is holding something currently?

tardy pasture
fading bramble
#

even tho I dont have it in my hand

tardy pasture
fading bramble
tardy pasture
fading bramble
#

idk how I did not see that before

#

@tardy pasture is this good? ```char.ChildAdded:Connect(function(child)
if child:IsA('Tool') then item = child end
end)

char.ChildRemoved:Connect(function(child)
if child == item then item = nil end
end)```

latent tartan
copper dragon
#

Does anyone need help coding for free

fading bramble
#

How to set model's position in script?

copper apex
upper sleet
cobalt smelt
#

Hello, me and my friend are building a game but we don't have scripting skills nor funds, so if you are willing to do scripting for 20% of the game, DM me

rustic wasp
#

Lmao

cobalt smelt
#

I tried

next lark
rustic wasp
cobalt smelt
rustic wasp
cobalt smelt
#

Btw respect for the dipper pfp

proud idol
cobalt smelt
cosmic ore
#

These two scripts do the same thing. which do yall prefer / think is more readable? Genuine question.

#

1st i use elseif, 2nd i use returns

rustic wasp
# cobalt smelt I can't even work in my country, so how will I save?

I'm guessing you're probably pretty young, you could try saving birthday or holiday cash. You could also ask your parents if you can earn a bit by doing extra chores around the house, like cleaning, laundry, or yard work. Mowing lawns in your neighborhood or selling old toys and clothes you don’t use anymore.

cobalt smelt
#

🫔

restive oasis
#

SELLING A CANADIAN ARMY WITH ITS SYSTEM AND EVERYTHING!

  1. Comes with the logos
  2. Working systems
  3. A map worth 3.5k
  4. All the groups and divisions!
  5. Etc!

Selling it for cheap!!
4.5k Robux tax covered!!

minor lily
#

Ass

#

never post that again

odd dock
#

fr

cosmic ore
cosmic ore
#

thats my philosophy

#

but some people get confused by return statements

copper apex
#

return isn't that confusing

#

You just return something

#

If u are working with like beginners then they probbably will get confused but most scripters probbably already know what return is

fading bramble
#

guys what is a good way to make a plant growth system where also plants are different sizes ( no this is not a 1:1 grow a garden replicate, the only thing that is similiar is the growing system cuz I like it )

minor lily
#

ask chat gpt

bold current
#

Ask grok

lunar mist
#

Selling EXACT pls donate copy, with scripts and everything for VERY cheap!! Contact me here ---> @lunar mist <---

tender badge
#

is anyone here busy to help me out on some code? code-help was busy I think because they didnt respond to me

manic nacelle
elder sparrow
#

i need help

#

can someone help pls]

stiff ibex
#

Made a function to run the DFU console

stiff ibex
#

I just had to modcall

elder sparrow
#

@stiff ibex i need help

stiff ibex
elder sparrow
#

im boutta destroy my room to find this bug

stiff ibex
stiff ibex
#

whats the problem

elder sparrow
#

sound and the Tweenservice

stiff ibex
elder sparrow
#

nah

#

like once the game loads

stiff ibex
#

check the output

elder sparrow
#

the song plays

#
local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint

repeat wait() until game:IsLoaded()

local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")



wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)
#

local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint

repeat wait() until game:IsLoaded()

local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")

wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)

stiff ibex
#

You already sent the code

elder sparrow
#

yeaah

#

ik trhat

royal ibex
#

Cheers for sending it twice

elder sparrow
#

tween service is killing me

stiff ibex
#

Go to the View menu, then look for an icon that looks like a window with something like this >_ in it

#

That's the output

royal ibex
elder sparrow
#

ight

elder sparrow
stiff ibex
#

should look something like this

royal ibex
elder sparrow
#

the olny thing that was broken was the team create hat pluginšŸ’”

#

@stiff ibex WRONG

stiff ibex
#

What's with the yelling?!

elder sparrow
#

look

sinful lion
#

😭

#

holy yap

elder sparrow
#

local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint

repeat wait() until game:IsLoaded()

local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")

wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)

sinful lion
#

hm let me evaluate

iron vigil
#

can I get a good/expert coder to dm me? I’m having a lot of trouble with a combat system I’m making, and I’d like to see if anyone could help. I have most of it set up, I just really need help putting a few pieces togeyher

sinful lion
#

fix*

#

playing the song once the game loads?

iron vigil
# snow meteor like what

right now I’m having issues with my block/parry system, and it also keeps breaking my light attacks too

gritty bay
#

Are there any alternatives for humanoids? I'm working on something tower defense related and I'm worried that there's a chance that too many humanoids could be spawned in at the same time and completely obliterate the server making it basically unplayable? all I really need is for the Mob to be able to move and have health and max health.

snow meteor
gritty bay
#

While yes that is true I more meant the functionality of humanoid:MoveTo

snow meteor
snow meteor
gritty bay
#

I see

#

I might just be over optimising atp

snow meteor
#

maybe, but its also a good question, if you already have a enemy spawning system done you could do alot of tests, it will get laggy when you reach a certain point no matter what you do though, just look at other tower defense games outside of roblox, like bloons tower defense, once you reach 3 digits+ waves, the game always starts to get laggy

lapis needle
#

someone put me onto vim motions in the native studio script editor and I'll love you forever

peak jolt
# gritty bay I might just be over optimising atp

nah you should try to avoid using humanoids for this as early as possible, this will definitely become a real issue very quickly, to play animations use an AnimationController and instead of MoveTo you can replicate it pretty convincingly with just tweens

gritty bay
peak jolt
#

no

#

on a large scale everything is more performant than physics (which humanoids rely on)

#

running some code is very efficient compared to running a physics simulation

gritty bay
#

I see. So instead of using humanoid:MoveTo and instead just tween the enemies between positions?

peak jolt
#

yeah and a separate tween for the rotation if you wanted

gritty bay
#

Right, but then I’d have to make metatables no?

#

To store the hp

#

MaxHp

#

Speed etc

peak jolt
#

no

#

there are ways to do things but like

#

you could just have the health be attributes of the enemy model

gritty bay
#

Right I forgot those were a thing

peak jolt
#

you could have tables, you could have value objects

gritty bay
#

Attributes seem the most convient

peak jolt
#

true

gritty bay
#

Ok thanks for ur insight

copper apex
#

You can also use modules, a seperate one with all the values of ur stuff

#

And u can just require it to access it

gritty bay
#

Attributes seem more convient to access and it’ll def be less like stressful on the server

#

Than humanoids

copper apex
#

Yeah attributes are better

pulsar acorn
#

isnt bulkmoveto a solution? i think it will fit nicely but i am not sure

bleak glade
#

a table of baseparts to be specific

pulsar acorn
bleak glade
pulsar acorn
bleak glade
pulsar acorn
bleak glade
#

using joints and storing keyframes with cframes in modukes probably hmmm

pulsar acorn
#

tyty

bleak glade
#

there are probably open sourced modules for animations outside of humanoids too shrug

sand sparrow
lethal comet
vocal tusk
#

What Is the best way to do a projectile hitbox? I mean ray casting would be good Just for a really small projectile but what about fireball for example?

tidal steppe
#

am i going crazy or can i not edit the "R" value of a color3.fromrgb with script anymore

peak jolt
#

you never could

full thistle
#

it it's decently slow, u can prob get away with spatial query hitboxes for those types of projectiles

civic garnet
slate condor
#

can anyone help me fix all my bug in my game i might give somthing

vocal tusk
vocal tusk
tired rampart
#

yo

stable verge
#

if anyone has played jailbreak, do you think the mini game in powerplant is completly random or a preset generated?

pseudo dirge
#

Hey! Just asking but why is my Motor6D (connected to a sword) disconnecting from the players arm? The C0 or C1 isn't set here, just the Part1 and Part0 I have a video of it but HiddenDevs won't let it show here, and also how would I use C0 and C1 to make sure it stays conncted to the player?

stable verge
somber holly
#

Anyone up for hire and willing to join a team and make a samurai tycoon game?

#

My team*

icy dew
#

I think there might be a category for that, not sure though

empty mulch
icy dew
empty mulch
tired rampart
empty mulch
tired rampart
empty mulch
stiff ibex
#

iBoot is almost alive >:3

storm swift
#

is it your bot

stiff ibex
storm swift
harsh imp
wicked meadow
#

is thjere anyway to make the smoke feature less intrense?

#

goiong for a foggy look

stiff ibex
storm swift
#

oh myyy

stiff ibex
storm swift
#

oh

stiff ibex
storm swift
#

whats it for

stiff ibex
#

It's for my iPhone in Roblox project

storm swift
#

oo

stiff ibex
abstract dagger
#

damn this is badass

somber vault
#

she learnt how to do this from me

stiff ibex
somber vault
stiff ibex
spring pond
#

@ruby cipher how do I make a playergui that the other clients can’t access that will be a developer only

shy harness
#

a single remote event

bleak glade
shy harness
#

what

bleak glade
#

the only way to really make it secure it to store its reference on the server then clone it from the server based on playerID to that client

shy harness
#

you can spoof your player data in a remote event?

bleak glade
shy harness
#

what

bleak glade
#

and just make the ui visible shrug

shy harness
#

no obviously you wouldn't put the ui in replicated

#

i thought that was a given

bleak glade
#

what are you referring to

shy harness
#

ig like if you sent a command or something it would send a remote event and replicate the ui to your client if your player data matched

#

but you could just replicate it on join

quartz forum
ivory kite
empty mulch
#

how long did it take you?

ivory kite
#

I made the basic frame for it in a day but overall the total time I've spent working on this system alone was around a week of work

#

The video I sent was relatively pretty old

shy harness
empty mulch
empty mulch
ivory kite
empty mulch
#

thats gonna be crazyy GL

ivory kite
#

Yeah well, keep at your project too it's such a cool thing to experiment with

empty mulch
#

It is pretty cool. hopefully i can get boundingboxes to work 🤣 did you use them for your overlap system?

ivory kite
#

Yes, actually

#

It checks the possible connections for each tile so it doesn't waste computation time

empty mulch
#

the problem im having with mine is its area is like way to wide, it detects rooms 2 rooms over

ivory kite
empty mulch
ivory kite
#

I had a similar structure to yours before but I added weight to tiles later

#

If you can't connect a tile at all to this exit it'll never consider trying it again in the future for that exit

empty mulch
#
    local cf, size = NextRoom:GetBoundingBox()
    print(cf, size)
    
    cf = PreviousExitCF * Rotation
    
    local FoundParts = {}
    
    local parts = workspace:GetPartBoundsInBox(cf, size)
    for i, part in pairs(parts) do
        if part.Name ~= "Baseplate" and not part:IsDescendantOf(NextRoom) and not part:IsDescendantOf(LastRoom) then
            table.insert(FoundParts, part)
        end
    end
    print(FoundParts)
    if #FoundParts == 0 then
        print("true")
        return true
    else 
        print("false")
        return false
    end``` I run the overlap check before i place the box, hence the need for previousexitcf and rotation
empty mulch
ivory kite
#

I did this for mine

function TileLogic.GetExitsThatHaveSpace(Tile : Model, DesiredCF : BasePart, IgnoreParts : {Instance}?) : {Instance}
    local Exits = {}
    
    local OLParams = OverlapParams.new()
    OLParams.FilterType = Enum.RaycastFilterType.Exclude
    OLParams.FilterDescendantsInstances = if type(IgnoreParts) == "table" then IgnoreParts else {Tile}
    
    for _,selfExit in ipairs(TileLogic.GetExits(Tile)) do
        -- Pivot model so we can get the proper bounding box of the model
        Tile:PivotTo(TileLogic.GetDesiredCF(Tile, selfExit, DesiredCF))
        
        -- Query for parts spatially
        local orientation, size = Tile:GetBoundingBox()
        local parts = workspace:GetPartBoundsInBox(orientation, size, OLParams)
        if #parts > 0 then continue end
        
        -- Cool we can use this exit
        table.insert(Exits, selfExit)
    end
    
    return Exits
end
#

DesiredCF was the position of the desired exit

shy harness
#

if you have just a grid you can just keep track of the grid

empty mulch
#

i saw one similar to this in the dev forum

ivory kite
shy harness
#

without doing any silly things

empty mulch
shy harness
#

yeah im just saying if it's purely a grid you can skip a lot of work

ivory kite
#

Especially because I have my tiles designed in a way that doesn't depend on their size

#

You can have long tiles or short ones

shy harness
#

indeed

empty mulch
shy harness
#

??

#

i meant computation

ivory kite
#

That was my initial approach to a map generation system like that actually

shy harness
#

you can make it faster

#

and less error-prone

ivory kite
#

I had a matrix grid system but I realized it didn't do me well with elevation changes too, it was too much to keep track of

empty mulch
empty mulch
ivory kite
#

A lot of games on roblox that utilize tile based systems follow an approach similar to mine because you can connect parts from any of their connection points

#

Doors, etc.

shy harness
#

DOORS?

ivory kite
#

I was aiming for a game similar to Minus Decendence

shy harness
#

doors...

#

doors is linear though so

ivory kite
#

Similar idea

#

They use a weighted tile system

#

I took it a step further and my game allows you to input seeds (strings or numbers) to recreate runs

#

I'm trying to figure out a good way of having a node based patrol system

#

I'm not too certain on how it functions in MD or ME to a technical standpoint, I just know how to generate nodes and move NPCs between them

ivory kite
#

You need to make sure they're oriented and positioned properly before getting their bounding box or it's going to give you some weird shape that's inaccurate to the tile

#

I had that issue with my tile system prior to that

empty mulch
empty mulch
#

ill try moving the function call lower, maybe thatll work

ivory kite
#

It's not a bad hit to your performance, I only spent an additional 0.2 seconds generating a larger floor

#

1000 ish tiles

#

Fortunately for you it doesn't have to be parented to the workspace to get its bounding box so definitely do not parent your tile until it's in a good spot to be placed

empty mulch
ivory kite
#

That's good

empty mulch
ivory kite
#

Yeah, I've seen some games with a system like that which have them physically in the workspace (even for a split second)

#

Especially in a place where you're generating tiles dynamically it's super important you keep those tiles out of the view of a player at all times until they're ready

empty mulch
#

shit studio crashed šŸ’€

ivory kite
#

I got ragdolled because one of the map generators I've seen was placing tiles and it happened to overlap with my character for a split second

empty mulch
#

Lmaoo i made a invisbile platform to watch it from

#

might need some adjustments

ivory kite
#

I have my dungeon generator structured like this:

#

I'm working on a new structure for the modules because I'm looking to add support for props outside of the dynamic objects (like vending machines, tasks, clipboards, etc)

#

Each of the sub modules underneath the Maps ("DEVELOPER","LIBRARY","MINESHAFT") has a model underneath them which is the base tile

ivory kite
empty mulch
ivory kite
#

Weight, Whitelisted Tiles (so it can only connect to certain ones)

empty mulch
#

Ohh thats complex asf

#

my whole script is 107 lines 🤣

ivory kite
#

I am trying to simplify my code more but my Dungeon Generator is 409 lines

#

It covers Tiles (but the tile logic is in a module instead)

#

Entities

#

Tasks

#

All three of these things have their own separate modules because I don't want the monster behavior to be in the same script as the dungeon generator

ivory kite
#

I'd like to release this in the next week or two but I just need to sort out the AI and upgrade system

empty mulch
#

yea mines about šŸ¤” 6 months from release šŸ’€

empty mulch
somber holly
#

Lf tuff coders

#

That are creative and chill

#

Jk js recruiting coders for a project

gray maple
#

tuff

somber holly
#

You?

#

Also LF programmer/scripter with heavy indian accent (optional)

fast forge
#

Yall im learning Scripting I already Got good at building and Modeling

Any suggestions to me as a Beginner Scripter ?

empty mulch
fast forge
empty mulch
fast forge
empty mulch
empty mulch
# fast forge wot ?

good at builidng, modeling (ui is basically the same thing js 2d), and scripting

fast forge
empty mulch
fast forge
empty mulch
fast forge
fluid pier
vital parrot
#

does anyone know how to make my beam go with a bezier curve

empty mulch
vital parrot
#

I tried messing around with the curve settings

empty mulch
vital parrot
empty mulch
vital parrot
#

for throwing stuff later on

hardy pilot
#

Holy shit it's the TARDis

vital parrot
#

yeah I love doctor who

#

My granny before she passed loved that show so I watched it with her a lot

hardy pilot
#

I only see it spammed in my youtube shorts sad_hamster

vital parrot
#

Ive never seen it in my yt shorts lol

#

I only see food

hardy pilot
#

Though atp I know the plot of a few episodes from it

#

I dont inderstand how these clip channels make money

vital parrot
#

lol yeah I understand I see "The boys' on facebook a lot

hardy pilot
#

Like theyre directly stealing from a movie

vital parrot
#

so I know a lot from it

#

I have no idea I should start doing that if they're actually making money..

hardy pilot
#

I assume they are

#

Unlikely to break copyright for passion

#

Watch a movie
Take 50 clips from it
Upload over the next month

#

Excluding the step where they AI generate captions without checking them

vital parrot
#

yeah and people sub to those channels because its also their favorite show as well

hardy pilot
#

Maybe theres even an AI to find interesting scenes

vital parrot
#

lol I've noticed that as well some clips dont make sense

hardy pilot
#

Shouldnt be that hard if you can proccess the transcript with timestamps

vital parrot
#

yeah thats no problem

hardy pilot
#

Download movie
Run program
Upload

vital parrot
#

Ive been stuck on my bezier curve for awhile now the bezier curve itself was easy but the beam took me awhile

#

you know anything about beams?

hardy pilot
#

What's wrong with it

vital parrot
#

I want to curve the beam

hardy pilot
#

Oh youre using the default curve?

vital parrot
#

but when I try to curve it doesnt look good

#

Im using 2 beams

shy harness
#

pew

#

why not many beams

hardy pilot
#

Yeah just increase the res with the beams

vital parrot
shy harness
#

more beam

hardy pilot
vital parrot
#

I wish I could just use 2 though and curve it somehow

shy harness
#

you can't

vital parrot
#

Are beams laggy?

shy harness
#

what do you mean by beam?

#

cylinder?

hardy pilot
#

I believe they dont get batched

shy harness
#

oh there's a beam primitive

hardy pilot
#

So having a million beams might result in a million draw calls or more

#

Unlike parts

vital parrot
#

rn Im using parts only when clicking to visualize it

#

and those beams you saw

shy harness
#

having like 5-10 beams would be fine if you only have a few of those things

hardy pilot
#

Yeah if it isnt anything permanent or stackable it's fine

vital parrot
#

imma try messing around with the curve settings and see if I can do it by magnitude

hardy pilot
#

Since the two beams would split there

vital parrot
#

oh alright I guess ill have a few

remote bear
hardy pilot
hollow thicket
#

local ray = Ray.new(camera.CFrame.Position, camera.CFrame.LookVector * range)
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {player.Character}
rayParams.FilterType = Enum.RaycastFilterType.Blacklist
rayParams.IgnoreWater = true

local result = workspace:Raycast(ray.Origin, ray.Direction, rayParams)

if result then
    local model = result.Instance
    local position = result.Position
else
end

hm how i fix the blacklist deprecated issue

quiet pumice
#

need somene who can script a timer for me with some additional stuff, paying robux, dm šŸ’”

weak radish
graceful jackal
#

can someone help me make a script for everyone who join to be r6 blocky character

fluid pier
#

need help w a require script gng

graceful jackal
#

can someone help me make a script for everyone who join to be forced to be a r6 blocky character

woven pelican
#

in studio

graceful jackal
woven pelican
graceful jackal
#

okk

graceful jackal
dreamy holly
#

if I animate weapons for an fps game

#

should I control animations within one script

#

or should I creep it into other things

hollow thicket
#

Bc it deprecated

#

So I'm looking for a way to solve yhis

gray maple
#

it has been renamed

#

because the word blacklist is racist!!!!!!!!!!!!

graceful jackal
#

Finally someone is gon help me out 😭

wind pasture
#

I got you fam

wind pasture
#

@graceful jackal umm

#

I think I did something wrong

#

@graceful jackal you can’t make a script for that you have to modify the game settings

graceful jackal
#

I’ve tried but

#

It doesn’t work

#

Every time I load I still load as

#

And I wanna load in as a blocky character

pine torrent
#

blacklist and exclude are same

quaint pine
final island
#

can someone help explain this because no matter what i do i cant get it to work

ancient urchin
# final island

It can be "correct" in terms of code but wrong in terms of logic

This error literally means that there is no child with the name Main of the donation board model

ancient urchin
#

it helps a lot

final island
#

mate ik what it means

#

but the workspace and cod is all correct

#

and the button wont work cus it doesnt register as a child

ancient urchin
#

did you forget to parent it?

final island
#

its alr parented

ancient urchin
#

is your button called "Main"?

final island
#

the entire workspace config is correct

#

no main is the board its self

#

with the guis as children of it

ancient urchin
#

Is the Main located inside of the donation board model*?

final island
#

yes

#

this exact donation board model works in another game of mine but it doesnt work when i import it into anything else

ancient urchin
#

Are you sure that there is only one model called Donation Board by @...?

final island
#

u mean in the game or as it donation board is a child of smth with the same name

ancient urchin
#

maybe you have a lot of them and there is one that doesn't have such child inside

final island
#

nah theres only one

ancient urchin
#

Are you sure that this Main exists in the scope of the script?
Main may not exist on the server side and exist only on client side
But your server script might look for it

final island
#

how do i check that

ancient urchin
#

if explorer is still showing the main inside it then it should be ok

final island
#

i can send the client and server scripts if u want

#

from the ss above

#

but whats confusing me the most is that i copied and pasted this from another game of mine which works perfectly fine

ancient urchin
final island
#

icl i have no idea what that means and how to test it but you spawn next to the board and idk abt streaming enabled

#

u want in dms or right here?

ancient urchin
#

local script couldn't find part of the model because streaming enabled was on

visual elbow
#

anyone able to code & do gui dm me

remote edge
#

Is learning module scripts really worth it

ancient urchin
#

it allows you to use oop

remote edge
#

Can you recommend a YouTube channel that actually teaches it and not just says it’s really useful for 10 minutes

ancient urchin
remote edge
#

Ye

ancient urchin
remote edge
#

Alright

#

How did you learn it yourself?

ancient urchin
remote edge
#

Alright

#

I’ll try figuring it out tmrw

static coral
#

ive never made a plugin, but is it possible to make a plugin that imports text files to studio? ik you can import shi with studioservice but im not sure how it would work with text files

safe dagger
#

how do i make a working gamepass, i want it to give a speed coil when the gp is bought but it does not seem to be working, can anyone help

placid vector
#

whats the best scripting layout

sudden estuary
#

a possible way is by using a 3rd party app

thorny glade
#

Ui shifts itself to left when hatching help

sudden estuary
thorny glade
#

Ui shifts itself to left when hatching help

grizzled parcel
#

hi guys, what are the possible way to optimize my game if my game only has 6 players per server but each players pond maximum fish is 40 but my players said that if all players spawn 40 fish the server is lagging, i cant reduce the limit.

shy harness
#

profile it

slate condor
#

can anyone help me

coral field
slate condor
#

can you add me so i can show its called slogo44211

coral field
#

just send a vid

somber vault
#

exts is array with string of extensions allowed

#

returns array of Files

#

then can read with :GetBinaryContents() as string

pulsar acorn
#

why do people have scripts named "RunTime"

blissful jetty
#

Someone knows about the Red Network library?

#

or another relative lib

peak oak
#

i need an investor for an 800k visit game (must have atleast 30K robux) dm me for more information

peak oak
pulsar acorn
#

u could ask there

peak oak
#

ok

brisk fjord
#

Is it possible to equip the avatar with an ugc that they dont own?

silver gale
#

GUYSS I NEED TIPS HOW DID YALL LEARN SCRIPTING/CODING AND HOW LONG DID IT TAKE

raven sonnet
#

thats all

somber basin
#

start by learning the syntax

#

then everything else comes natrually

wet holly
#

on what website i can make pictures for my games like cartoon pictures

wet holly
wind pasture
#

Any coders that are also therapists

somber vault
static coral
somber vault
gritty bay
#
function mobModule.Move(Mob : Model, Map : Folder)
    local Waypoints = Map.Waypoints:GetChildren()
    
    for i = 1, #Waypoints do
        
    end
end

What approach would be the best way for me to move a model from one waypoint to another? Without using Humanoid:MoveTo() because there could be upwards of 100+ Mobs at single moment.

echo carbon
wet holly
echo carbon
wild basin
#

Usually commonly by interpolation

wet holly
wild basin
fluid vale
echo carbon
wild basin
echo carbon
#

What’s the best or the easiest way to learn

fluid vale
#

ik

#

use walktopoint

wet holly
#

when we join we cant understand what we have to do

gritty bay
grizzled parcel
fluid vale
wet holly
wet holly
#

like SELL MARKET POND

#

or sum like that

wet holly
#

you could add a little popup that disappear in a fade to show how much we get @grizzled parcel

stable falcon
#

anyone know if there is a way to get roblox games --> rojo --> visual studio code, instead of visual studio code --> rojo --> roblox? I have a game made in roblox which I would like to further make in an IDE but right now it seems to only work from IDE to roblox.

gilded shard
#

it can be tedious

wet holly
stable falcon
#

no worries, thaanks for the help

mild dust
echo carbon
#

Best option for me rn

mild dust
echo carbon
#

But it’s to hard I have been trying over and over agian I fail every time but at least I’m not giving up

mild dust
#

How old are you

echo carbon
#

15 this summer

mild dust
#

your reason is not strong enough

#

it has to be personal if you want to make it far in the world

echo carbon
mild dust
#

you have to wake up everyday and say "I am closer to my goal now"

#

it has to be personal

#

what do you not understand?

static coral
mild dust
#

@echo carbon

echo carbon
#

Should I quit then?

mild dust
#

what do you not understand?

static coral
#

life is meaningless šŸ˜”šŸ’”

echo carbon
mild dust
#

Why do you quit? You're embarassing yourself

echo carbon
mild dust
#

In that time 6 months you could've been an expert scripter

plain falcon
#

Im doing commissions for 1k robux with tax covered for not too complex tasks as I would be under payed. DM me if you want some more info.

mild dust
#

with the right tools

#

and mindset

echo carbon
#

Came back like 4 days ago

mild dust
#

You have to treat it like do or die

#

or you will be engulfed by procrastination

echo carbon
#

Hm

mild dust
#

You either become great or quit

#

No one's gonna be sorry for someone that quits

echo carbon
#

Hm alright

mild dust
#

no you don't get it

#

you're not worthy

echo carbon
#

I don’t care what you say

static coral
static coral
static coral
#

ong

mild dust
#

with that mindset you're never gonna reach the peak of this engine coding organization also known as the ĆØlites

static coral
#

its cold in here there must be some alphas in the atmosphere 🄶🄶🄶🄶🄶

echo carbon
gray maple
#

it's motivating him though

gray maple
echo carbon
gray maple
#

the lion inside of you

static coral
gray maple
echo carbon
#

What’s going on rnšŸ˜­āœŒļø

pulsar acorn
echo carbon
#

Idk what to do

pulsar acorn
mild dust
#

they make fun of what I say because my messages are too powerful. The media has taught them to respond with these gifs to make people laugh and drive them away to realizing the deep message in my words

pulsar acorn
echo carbon
pulsar acorn
echo carbon
pulsar acorn
echo carbon
mild dust
echo carbon
mild dust
#

you think you're gonna be the best only by watching? that's too basic

pulsar acorn
mild dust
#

this is 2025

echo carbon
#

I even noted what the scripts do😭

mild dust
#

you have to rival with me

#

you're never gonna surpass me

#

like that

#

everyone is your enemy here

#

everyone is fighting for commissions and renown

echo carbon
#

Idk if your giving me motivation or your trying to say something else😭

static coral
#

just go script

echo carbon
pulsar acorn
#

gl

mild dust
#

like I said you need to make it personal to truly embrace the system

#

don't just script

mild dust
#

bring the script in real life

echo carbon
mild dust
#

watch the real world

#

find the patterns and algorithms

echo carbon
#

Okay bro I’m hopping off discord

mild dust
#

know the repetitions

#

it's not deja vu

mild dust
#

it's slavery

gray maple
#

get out

#

I'm happy for you

echo carbon
#

šŸ”„

gilded zenith
#

@vale prism

mild dust
#

unfortunately you need to have a good intellect with pattern recognition

#

but that's trainable

#

remember every year people are getting dumber and dumber

#

because of social media

echo carbon
#

At this point tell me to get a job instead of working on scripting brošŸ˜­āœŒļø

mild dust
#

and the same society that is influenced by the media adapts the actions the same media wants them so they can spread the procrastination virus to everyone else that has not been contaminated yet

echo carbon
#

You know I’m gonna be to good so your trying to take me out early

mild dust
#

lazyness is the most dangerous drug

#

once you really learn it

#

there's no coming back

pulsar acorn
#

how to be like u

gray maple
mild dust
#

you will become so dangerous that people will make fun of you and your energy. comments like "sigma" and "šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶šŸ„¶ā„ļøā„ļøā„ļøā„ļø"

gray maple
#

tuff icl

mild dust
#

that's an effect of the procrastination virus

gray maple
#

😭😭😭😭 I can't bro

mild dust
#

it is real

gray maple
#

lmao

pulsar acorn
static coral
mild dust
#

every classmate of mine for example have the virus. In the break they're all drawn to their phones like zombies that need the phone to live.

gray maple
#

dude I thought it's only in the videos I watch in yourhbe

#

you guys are REAL

#

In front of my eyes

gray maple
#

how bro feels in class

pulsar acorn
mild dust
#

they can't control the older generation so they're implanting a newly developed brain controlling virus to the new generation. Like genZ and genα

gray maple
#

it's not false, but it's a corny way of saying

pulsar acorn
#

like no hate

mild dust
#

they call me paranoid I call it awareness

mild dust
#

see all these responses and actions they are all planned by the 20 year plan by the ĆØlites to control the population to a point of no return

mild dust
#

see how 6 year olds are already addicted to them tablets

#

genZ is also dependent on social medias

#

there will come a time when people don't know what to do without their electronics

#

there are people already like this

turbid torrent
mild dust
#

and get money

turbid torrent
turbid torrent
mild dust
#

tell me do you believe in god?

turbid torrent
#

I do not believe in God.

mild dust
#

@turbid torrent

mild dust
#

good

#

you're better than them

mild dust
mild dust
#

you haven't learned anything from what I've said

#

your loss

gray maple
#

atheist sigma

turbid torrent
#

Brain rot.

gray maple
#

whatever dude, it's actually my fault for responding though (taking the bait), mb

mild dust
#

don't watch anime

#

it's brainrot

gray maple
#

your profile is an anime

static coral
mild dust
#

no my profile is manga

gray maple
#

it's rage bait 100

mild dust
#

a solid book

#

and a tale with a meaning

gray maple
#

aren't anime based on manga

mild dust
#

but watch the new gen animes

#

DanDaDan for example

#

it's the product of globalization

#

the ultimate consumer brainrot product

#

target for kids

#

they have that cartoony style to attract new brains and promote adult content in a restricted manner

#

along with social media

#

every 7 year old knows about s3 x in our time

#

do you think that's normal?

#

no this is brainrot

#

and like I said every year they go heavier and heavier with the control

#

with the development of the virus

#

next year gta6 will release

#

first thing everyone thought about was s3 x

static coral
#

are you good bro? šŸ’”šŸ’”šŸ’”

mild dust
#

this is not normal

#

you see my pov

gray maple
#

geeked

mild dust
#

they are now teaching kids to hate studying and reading

mint cloud
#

Tf are we slandering Dan da Dan

mild dust
#

so the kids can create the thought of "studying is a school thing only"

static coral
mild dust
#

this is why our friend @echo carbon can't learn scripting

mint cloud
#

When would I ever study besides school

mild dust
#

because he developed the procrastination virus

mint cloud
#

Same

#

I do homework the night before the test

#

And it works

mint cloud
echo carbon
echo carbon
mild dust
#

Nobody is normal

#

you're either motivated or lost

echo carbon
mild dust
#

you're either free or slave

static coral
mint cloud
#

You’re either locked or chopped

mild dust
#

but it is true

#

they are making kids hate the thought of studying

mint cloud
#

That was already a thing

mild dust
#

Let's take studying scripting for example. Boring right?

mint cloud
#

Studying is objectively boring

mild dust
#

predicted

mint cloud
#

Im an intellectual too

static coral
#

studying something you have no interest in is boring

mild dust
#

no

#

that is the ultimate goal of the "future society"

#

you stupid fk have you learnt anything from what I gave you

mint cloud
#

Explain globalization in 20 words or less

mild dust
#

everything that doesn't contain the elements of the "addictive stuff" is boring to the subjects of the virus

mint cloud
#

Ts taking too long im bored unc

mild dust
mint cloud
#

Maybe

slate condor
mint cloud
#

What’s the bug

slate condor
#

dm me

mint cloud
#

That’s too much work

slate condor
#

bruh

mint cloud
#

Just say it here

slate condor
#

ok when player join the game they get the same tycoon name and colour

mint cloud
#

Do u use an array for tycoons and stuff

mild dust
#

literally the goal of games is to entertain. To entertain means to distract. To distract means to avoid intellectual growth. and to avoid intellectual growth means to lose independence over your individual.

slate condor
static coral
mint cloud
slate condor
mild dust
#

the more you are entertained/ consume the more you are giving yourself to them

mint cloud
slate condor
#

ok

mild dust
static coral
#

@mild dust what did u smoke before coming onto discord

#

must be some strong shi

mild dust
#

ok yeah depends. If you come to my level of consciousness then you can develop a "self-entertainment". That means enjoying doing something that must be productive. Unfortunately if you have the virus, productive and entertainment can't be together

#

reaching this level of entertainment brings your productivity and intellectual power far beyond the normal state

rigid willow
#

is it overkill even for very large games to have one separate script for every function and shi

mild dust
#

and it is subjective

#

typically having a function for a loading screen in the same as a combat isn't preferred

mild dust
#

shut the fuck up Iamtvlol

smoky cipher
slate condor
void saddle
#

Does anyone know how to make shift to run code? (iam not a scripter)

shy harness
#

20 robux LMAO

#

that ain't even a fucking quarter to buy it

queen tapir
#

who here is really experienced with physics?

shy harness
#

dude nobody is gonna help you for 20 robux

#

either ask a question in #code-help and put the effort in yourself, or shut up

queen tapir
#

why tf is it so hard finding someone whos good at scripting physics

#

been trying for 3 days smhh

shy harness
#

you could have spent those 3 days learning it yourself

queen tapir
#

it doesnt work like that...

#

most scripters dont know how to script physics

#

and im not a scripter

shy harness
#

be the change you want to see in the world

queen tapir
#

i dont want to tho..

#

bro im even willing to make it a $120 comm

#

suprised no one is interested..

shy harness
#

i mean that's like 3 hours

#

maybe 4 hours

queen tapir
#

depends on the person tbh

shy harness
#

do you think someone could get it done in 4 hours

queen tapir
#

i mean its an advanced movement system

#

like in obby bike if you heard of it

shy harness
#

there's like 30 bike obbys

vital current
#

Even chatgpt would be faster than this

queen tapir
ocean grotto
#

would hitboxes or the sword touching npcs be better in a PVE game

shy harness
queen tapir
#

yeah

shy harness
#

ehh this isn't really advanced physics

queen tapir
#

i found scripters who knows how to do it, but they are all busy with comms

queen tapir
shy harness
#

how much do you expect

queen tapir
#

wdym?

shy harness
#

like full 1 to 1?

queen tapir
#

wdym by that

shy harness
#

like do you want it to look EXACTLY the same

queen tapir
#

yeah

#

they also could copy obby skate

shy harness
#

that's annoying more than anything

#

the movement itself is pretty basic

#

but all the animations and tilting and whatnot would be tedious

queen tapir
#

not the animations. just the movement

steel elm
#
local Hitbox = game.Workspace.ReadInfoHitbox
local OpenedGUI = game.Players.LocalPlayer.PlayerGui.PlayerGUI.ReadInfo
local TweenService = game:GetService("TweenService")

Hitbox.Touch:Connect(function()
    TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
        ["Position"] = UDim2.new(0.431, 0, 0.01, 0)
    }):Play()
end)

Hitbox.TouchEnded:Connect(function()
    TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
        ["Position"] = UDim2.new(0.431, 0, -0.2, 0)
    }):Play()
end)

This code used to work but after i changed 1 or 2 things it stopped working, anyone knows what's wrong?

shy harness
#

they have no impact on the game

#

the bike is not simulated

queen tapir
#

yeah but you also have acceleration and slows down when u let go of acceleration

shy harness
#

yea that's literally so basic lol

queen tapir
#

then why are they failing smhh

shy harness
#

wdym by failing?

queen tapir
#

failing on making the script

#

the scripters i had

shy harness
#

do they give up or are they providing something you think is subpar?

queen tapir
#

both

#

i could even show you the one i have atm

#

then bro quit

shy harness
#

ye im curious

#

to me it just seems like basic acceleration and just ... less air control

#

it might have some amount of turning logic but not much

queen tapir
#

like seriously... what is this

#

keep in mind, this is probably the best one i got

shy harness
#

haha

queen tapir
#

yet its still really bad

#

i even told him to script the wheels

#

so they can roatate and look better

#

he said he did

#

please tell me bro

#

does the wheels seem scripted

#

or am i tweaking

shy harness
#

i mean idk lol

#

they might rotate but not in a way you could see

queen tapir
#

if you skip to 16 seconds youll see it

#

doesnt look like it does

shy harness
#

lmao true

#

ok bike obby does have a turning thing