#code-discussion

1 messages · Page 152 of 1

brazen moon
#

It’s detectable

kindred pulsar
#

ok thank you

rotund pawn
sudden estuary
#

oop would make it easier if you have multiple characters but they all need a base combat system @kindred pulsar

kindred pulsar
#

is learning combat systems a good move?

brazen moon
junior pier
brazen moon
sudden estuary
rotund pawn
rigid citrus
#

does any1 know how to make a custom player model hold a tool, ive tried wth motor6D and welds but doesnt work

brazen moon
#

Application reader

#

In the future

rotund pawn
#

I am always saying I use AI alot to generate tween templates

kindred pulsar
#

so whats a good move i should do if i want to get ready for commissions?

rigid citrus
#

?

modest atlas
#

dodge

rigid citrus
#

tf js drag it in there

junior pier
#

oh i thought u meant ur move

rigid citrus
#

this happens

fading bramble
rotund pawn
#

Tool is anchored?

kindred pulsar
#

i mean like what should i learn for commissions

rigid citrus
rotund pawn
#

and apply for scripter role in here

kindred pulsar
#

alr

#

what type of game should i do?

kindred pulsar
rotund pawn
#

Just learn how to script, you have to provide a good 200-lines code

fading bramble
#

and what can I improve

kindred pulsar
sudden estuary
fading bramble
sudden estuary
#

you are creating the StateChanged event connection multiple times

#

as its under Heartbeat

rotund pawn
#

Is there any way to detect memory leak in Roblox?

fading bramble
#

ohh yeah

kindred pulsar
#

what type of game should i make, combat based action or like a simulator?

fading bramble
sudden estuary
#

move it out of the Heartbeat

fading bramble
#

yeah I did

sudden estuary
fading bramble
#

but is there anything other

sudden estuary
fading bramble
#

k thanks

rotund pawn
sudden estuary
#

its easier said than done

rotund pawn
#

Ofc, but it would be really helpful

tired stag
#

how to get super good at cframes

sudden estuary
tired stag
#

alr

rich gust
tired stag
#

ok thx

somber vault
bold cliff
tired stag
#

good job

peak sphinx
#

unless thats actually how you write comments, just looks eh

sudden estuary
peak sphinx
wild kayak
#

Making dialogue systems for 300rbx

junior pier
gloomy trench
#

Guys whenever the player is tp'd to another place in my game it kicks them with code 302

strange kiln
inland idol
#

i'm uhh

#

having a little trouble with my module.............

#

it's turned into spaghetti

#

wait one sec

#

essentially it's a pathfind script that has a couple features like teleporting or jumpnig if stuck

#

and idk if it's just me but it's getting a little hard to read so i need recommendations for how to optimise it (i'm a pretty beginner at scripting and im trying ot make this as versatile as possible which is why it might be so overcomplicated)

#

(yes i did use chatgpt, but obviously not to write the entire thing, kind of as a task manager so im not copying out code)

#

(and also im trying to stick to naming conventions but its inconsistent throughout the code so)

#

i've tried to use these commented signs to organise it but tbh it's like putting bandages on a broken glass

#

i also forgot to mention the teleportation part doesn't work as expected

mint bough
#

@inland idol tldr

inland idol
#

o

#

mb

red warren
#

what yall think hm ?

red warren
# red warren

ive not finished all the mechanics yet, there is sfx but my recorder didnt pick the SFX up,

ripe plume
#

its nice

#

maybe change the cursor

#

since it kinda sticks out

wild kayak
strange kiln
wild kayak
rotund pawn
#

So I just found out local script > LinearVelo & VectorForce is replicated to server, how about align Orientation?

tepid musk
gloomy kiln
# red warren

this looks awesome, how many years did ya script for?

rotund pawn
tepid musk
rotund pawn
#

Yeah I will do that when I figure out how it works 😄

tepid musk
#

AlignOrientation & AlignPosition (depending on the mode), usually takes 2 attachments, attachment0, and attachment1

rotund pawn
#

I switched to one Atachment mode

rich gust
tepid musk
rotund pawn
#

So I would like the AO to control only X axis of said part, What would be the settings? (The arrows are not helpful :D)

sterile pollen
#

how do i make my game r6

rotund pawn
#

How would I set it?

peak cave
#

x, y, z

rotund pawn
#

X

potent umbra
#

guys who can help me with some ui

#

im really lost

#

omg nvm wrong channel

spare mulch
#

how i can start scripting

fading bramble
#

And chatgpt doesn't write comments this way anyways lol

peak sphinx
#

If you can read it, it's readable

fading bramble
#

Well I just like doing it this way

#

Just a preference

tired remnant
#

Pretty sure client is looking under the player for the value to be changed, it’s not look at the correct value in workspace where the server is actually changing it

inland idol
# inland idol

can someone just tell me if this code is optimised (it probably isn’t) and how to optimise it

rotund pawn
inland sierra
rotund pawn
#

If I pay someone can someone finally help me?

cold glen
rotund pawn
#

Question was posted, then reply

cold glen
#

no

coarse panther
#

What does this even mean?

pallid furnace
#

more than 200 ref

rotund pawn
#

Can I get some help please? it needs to be done asap

pallid furnace
#

@coarse panther

coarse panther
#

aren't there only 2 things in the table?

pallid furnace
#

idk thats just the error

coarse panther
#

and if i write it individually for the 2 things, it gives the exact same error to the next loop, and then the next, and so on

lethal bluff
#

how much would it cost to hire a dev here to use CSS to design this Miraheze wiki? Generally speaking, need a fair starting number

#

I know CSS to a basic extent but no idea what the fuck im doing when it comes to that platform

coarse panther
#

do you have a variable limit in a script?

#

it seems like if i remove 2 variables, no matter which, the error goes away

tepid musk
lethal bluff
#

it's Miraheze

jaunty nymph
#

Thx for your help tho MaiYAY

tepid musk
# lethal bluff yes

not sure what Miraheze is, but you’re probably better off looking elsewhere, considering Roblox doesn’t use CSS to my knowledge (I know they’re releasing stylesheets, but that’s not external nor is it full css)

lethal bluff
#

And Im aware roblox generally doesnt use CSS but i figured with #programmer-hiring for off platform work existing as opposed to #scripter-hiring, there'd be people who know

#

I have a close friend who's a scripter who knows CSS, java, etc on top of LUA so I know theres plenty others like that. But I cant ask him because he's busy\

tepid musk
tepid musk
#

It depends on definition, but I don’t think CSS or HTML are really considered programming languages.

lethal bluff
#

I would know because I managed to learn enough CSS to make a profile for an old ass browser game lol. But I couldnt learn LUA

lethal bluff
rotund pawn
#

How can I create glider tool that follows mouse?

lethal bluff
#

The bigger hurdle is someone who knows the Miraheze website

tepid musk
red heron
#

why can my clones not die?

uneven pawn
#

Whats the best way to learn how to script (im a modeler)

empty peak
#

trying to get my dream bat or godly please help

ripe plume
empty peak
#

trying to get my dream bat or godly please help

peak sphinx
tepid musk
uneven pawn
ripe plume
tepid musk
ripe plume
#

but you can surely get pretty good after a few months I'd say

tepid musk
uneven pawn
uneven pawn
uneven pawn
ripe plume
uneven pawn
#

I find the code discussion really useful for tips

ripe plume
#

it is!

uneven pawn
ripe plume
#

i always go to code help when i need help with something and can't figure it out (only ask advanced questions there though they can be rude if not 😂 )

uneven pawn
#

but i spent around 9 hours each day on it

ripe plume
uneven pawn
ripe plume
#

learning Python can mean a lot of things

#

okay

uneven pawn
#

Oh like main stream scripting

ripe plume
#

ah

uneven pawn
#

13 days averaging 9 hours each day

ripe plume
#

well i recommend starting with my "how to script in roblox studio #1" now then #2 then you'll understand a bit of studio

#

feel free to watch other people's videos but if you watch mine im here all the time to answer questions

uneven pawn
ripe plume
#

ah

uneven pawn
#

and my profit margins are pretty rubish so if i do the work myself i can make more

ripe plume
#

well 'Emilki' if you need it 👍
im partnered now so that's why im asking u i want the money lmao

uneven pawn
#

im only 14 btw

ripe plume
#

okay

#

i started getting good at that age

uneven pawn
#

ah gives me hope

ripe plume
#

now im 18 and its my job

uneven pawn
#

Lol

#

I dont want to do it as a job just as a hobby r u making good money of it or no

ripe plume
#

yeah

uneven pawn
#

ah okay

#

Well my tuiton starts in 2 minutes

#

Thank you for all the help

red warren
#

lets say 2 week ago.

junior pier
#

is it normal that i still havent updated to the new roblox studio version yet?

#

is the new layout good?

civic gull
#

i havent

#

i enabled it and then disabled it straight away

rotund pawn
#

How should I handle multiple datastores needed? I need one for base, 2nd for inventory. Should I merge them?

final ivy
#

ppl hate on it cuz they dont want to get used to something new

junior pier
junior pier
final ivy
#

its def an adjustment but its honestly better, easier to navigate

#

also more consistent with icons apperance etc

tough dawn
#

paid and fun ofc

final ivy
#

why doesnt your dude optimize his own code

junior pier
#

i completely understand

copper jacinth
#

Use the marketplace for hiring

tough dawn
#

u guys meed to make it so that only the people who are verified to post, can view the channels

final ivy
copper jacinth
tough dawn
copper jacinth
#

You can make suggestions for the server if you have any

tough dawn
#

where

copper jacinth
fading bramble
#

Can anyone tell me how to code a currency popup ( I mean in words, not code) is it just putting it in a random position and tweening it to go up or is there more logic to it?

ripe plume
#

no, that's pretty much it haha

#

you mean like "+1 coin" popups right?

ripe plume
#

just clone an invisible textlabel you have ready, and math.random() for the pos (scale) then tween its size to pop

fading bramble
#

thanks I just wanted to be sure so I wont waste time

ripe plume
#

ah alr

wild kayak
#

Yo

dim dagger
#

there is no sripter's channel?

wild kayak
wild kayak
dim dagger
#

is that scripters chat?

wild kayak
strange kiln
unreal axle
unreal axle
#

then wouldn't it be a bigger waste of time to go out of your way to ask first despite the fact you already had an overall idea on how to do it?

fading bramble
#

no I dont think so

vernal peak
#

is it alright if I have all my guis in player gui and make them not visible then have them visible when a player does something? Or should I put them in replicated storage and clone them

past hornet
#

how can i type ` without copying and pasting

tired remnant
#

Mobile?

unreal axle
#

it can't be that complicated

ripe plume
junior pier
past hornet
#

cuz italian keyboard

unreal axle
#

how does an italian keyboard not have `

past hornet
#

i dont know

#

i literally looked on all keys

unreal axle
#

can you actually look it up instead of asking an ai

past hornet
#

just trash answers which didnt work

#

chatgpt helped me instead

#

i usually search up things

#

this time it didnt help

unreal axle
#

try altgr + your key for apostrophe

past hornet
#

'

#

nop

unreal axle
#

what about i?

past hornet
#

it doesnt work

unreal axle
#

fuck nvm this is a guide for edited keyboard layouts

junior pier
#

i updated and its not there

past hornet
#

only alt + 96

junior pier
#

@marsh urchin did u figure out how to toggle it?

past hornet
#

better than nothing ig

unreal axle
#

on the beta features

junior pier
gloomy pasture
#

how do u optimize a game

fervent moth
fading bramble
#
local FrameTween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition})
    local ImgTween = TweenService:Create(newPopUp.ImageLabel, TweenInfo, {ImageTransparency = 1})
    local TextTween = TweenService:Create(newPopUp.TextLabel, TweenInfo, {TextTransparency = 1})
    local TextStrokeTween = TweenService:Create(newPopUp.TextLabel.UIStroke, TweenInfo, {Transparency = 1})``` do I have to make a different tween for every of this or is this possible to do in a better way?
gloomy pasture
fervent moth
#

bones..?

#

like in a rig

gloomy pasture
#

yeah

gloomy pasture
#

they cause fps drops right

autumn orchid
fervent moth
#

ehh

#

honestly ive never had trouble

#

with rigs

autumn orchid
#

well what type of game you making

fervent moth
#

maybe its ur computer?

gloomy pasture
#

so having a buncha rigs dont matter?

ripe plume
gloomy pasture
fading bramble
#

never heard of it

fervent moth
#

UI

#

thingy

#

i hardly use it

ripe plume
#

like a frame, but changing its property "CanvasTransparency" or "GroupTransparency" (i dont remember the name), will change all descendants' transparencies

fading bramble
#

oh that would be really helpful cuz I literally used frame to keep image and text in 1 place

#

thanks

ripe plume
#

yeah

#

np

#

i also made an open sourced module for this like a few yrs ago if u dont wanna use canvas groups

junior pier
#

nvm i didnt even read ur question right

fading bramble
#
local RS = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")

local event = RS:FindFirstChild("PopGui")

local PopUp = RS.PopUp
local Text = PopUp.TextLabel

local plr = game.Players.LocalPlayer
local DataFile = plr:WaitForChild("DataFile")
local Jump = DataFile:WaitForChild("Jump")
local Wins = DataFile:WaitForChild("Wins")

local TweenInfo = TweenInfo.new(
    1.5,
    Enum.EasingStyle.Quart,
    Enum.EasingDirection.Out
)

Jump.Changed:Connect(function()
    local newPopUp = PopUp:Clone()
    newPopUp.Parent = script.Parent
    newPopUp.Position = UDim2.new(math.random(25, 75) / 100, 0, math.random(45, 75) / 100, 0)
    
    local targetPosition = newPopUp.Position - UDim2.new(0, 0, 0, 100)
    local tween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition, GroupTransparency = 1})
    
    tween:Play()
    tween.Completed:Wait()
    newPopUp:Destroy()
end)``` is this code good? is there anything I can improve
ripe plume
#

dont use changed

fading bramble
#

what should I use?

ripe plume
#

GetPropertyChangedSignal("Value")

fading bramble
#

yeah but what else would change

junior pier
ripe plume
#

yeah

fading bramble
#

yeah but what else could change

junior pier
#

so if u have other attributes or sum

fading bramble
#

I dont

junior pier
#

anyways its not good practice

fading bramble
#

alr alr

#
Jump:GetPropertyChangedSignal("Value").Changed:Connect(function()``` so this right?
ripe plume
#

nah

#

remove the .Changed

fading bramble
#

oh yeah lol

#
Jump:GetPropertyChangedSignal("Value"):Connect(function()``` now?
ripe plume
#

yep

fading bramble
#

k

kind coral
ripe plume
#

also set the parent at the end

#

(newPopUp)

fading bramble
#

why at the end?

fading bramble
ripe plume
#

it saves some performance i can send a link if u wanna read it

junior pier
junior pier
fading bramble
#

almost

junior pier
#

oh huh

fading bramble
#

my leaderstats is using abbreviations

#

so I use another folder

junior pier
#

ok

fading bramble
#

with int values

junior pier
#

um

fading bramble
#

my main leaderstats are string for this purpose

junior pier
#

alr i mean up to you

fading bramble
#

oh wait when I do popups

#

should I use remote event for it

#

or how do I trigger it

#

cuz if I set value to 0 it will also count as value change

#

but then ofc I dont want a popup

#

I want it when increasing value

#

should I make a lastvalue value to check if its increased or decreased or how do I approach this?

fading bramble
#

yeah I thought so too

#

thanks

ripe plume
#

"lastValue"

then if newValue > lastvalue tween

#

np

fading bramble
#

yeah that was the first thing I thought about

#

Im just learning writing the most optimal code so I ask a lot

#
Jump:GetPropertyChangedSignal("Value"):Connect(function()
    if lastValue < Jump.Value then
        lastValue = Jump.Value
        return
    end
    local newPopUp = PopUp:Clone()
    newPopUp.Position = UDim2.new(math.random(25, 75) / 100, 0, math.random(45, 75) / 100, 0)
    newPopUp.Parent = script.Parent
    
    local targetPosition = newPopUp.Position - UDim2.new(0, 0, 0, 100)
    local tween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition, GroupTransparency = 1})
    
    tween:Play()
    tween.Completed:Wait()
    newPopUp:Destroy()
end)``` @ripe plume so this right?
ripe plume
#

why only change the last value if that is true?

#

shouldnt you always change it anyway? but at the end

fading bramble
#

oh yeah wrong sign mb

#
    if lastValue > Jump.Value then
        lastValue = Jump.Value
        return
    end```
#

now?

ripe plume
#

not rly

fading bramble
#

whats still wrong?

ripe plume
#

here:

fading bramble
#

u didnt send anything

ripe plume
#

i was too lazy to sry im playing a game lmao
but make sure the lastValue variable is always changed

fading bramble
#

ohh yeah forgot

#
Jump:GetPropertyChangedSignal("Value"):Connect(function()
    if lastValue > Jump.Value then
        lastValue = Jump.Value
        return
    end
    
    lastValue = Jump.Value
    
    local newPopUp = PopUp:Clone()
    newPopUp.Position = UDim2.new(math.random(25, 75) / 100, 0, math.random(45, 75) / 100, 0)
    newPopUp.Parent = script.Parent
    
    local targetPosition = newPopUp.Position - UDim2.new(0, 0, 0, 100)
    local tween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition, GroupTransparency = 1})
    
    tween:Play()
    tween.Completed:Wait()
    newPopUp:Destroy()
end)``` now?
#

oh wait I can improve it

ripe plume
fading bramble
#
Jump:GetPropertyChangedSignal("Value"):Connect(function()
    lastValue = Jump.Value
    if lastValue > Jump.Value then return end
    
    local newPopUp = PopUp:Clone()
    newPopUp.Position = UDim2.new(math.random(25, 75) / 100, 0, math.random(45, 75) / 100, 0)
    newPopUp.Parent = script.Parent
    
    local targetPosition = newPopUp.Position - UDim2.new(0, 0, 0, 100)
    local tween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition, GroupTransparency = 1})
    
    tween:Play()
    tween.Completed:Wait()
    newPopUp:Destroy()
end)```
#

now?

ripe plume
#

ehh no

#

just go back to the old version

fading bramble
#

oh yeah

#

XDD

#

im so stupid

ripe plume
#

nah dw

fading bramble
#
Jump:GetPropertyChangedSignal("Value"):Connect(function()
    if lastValue > Jump.Value then
        lastValue = Jump.Value
        return 
    end
    
    lastValue = Jump.Value
    
    local newPopUp = PopUp:Clone()
    newPopUp.Position = UDim2.new(math.random(25, 75) / 100, 0, math.random(45, 75) / 100, 0)
    newPopUp.Parent = script.Parent
    
    local targetPosition = newPopUp.Position - UDim2.new(0, 0, 0, 100)
    local tween = TweenService:Create(newPopUp, TweenInfo, {Position = targetPosition, GroupTransparency = 1})
    
    tween:Play()
    tween.Completed:Wait()
    newPopUp:Destroy()
end)```
#

so this is the best way?

ripe plume
#

maybe not the best way but its alr tho

fading bramble
#

what could be improved?

#

btw sorry for sending so much, I tend to make the most stupid mistakes that exist lol

ripe plume
#

noo dw!

#

hey you wanna watch my tutorials so i can get some ad money? its roblox studio tutorials 👉 👈

next compass
#

how can i make an item where you can place a structure like in 99 nights in the forest?
it's a one time use and does not require a placement system, i also need to know how can i make an area unbuildable.

fading bramble
#

sorry Ive never worked with placing anything

#

im a beginner cuz even tho I code since 3 years I do it for like 2 weeks and return to it after 2months lol

next compass
next compass
#

i've been working on a RPG game

#

where there would be some special aspects like building, cutscenes, minigames etc

#

nvm i just found out, thanks for trying to help tho

burnt fossil
placid coral
#

Any femboy scripters hmu

final ivy
#

Why not just Combat.Attacks

#

Combat.Attacks.Sword

burnt fossil
#

oh

#

Okay I will keep thaat in mind

tropic totem
#

Looking for scripters for my studio.dms if interested

final ivy
burnt fossil
#

Would you like to see the new ver or

final ivy
#

Sure

burnt fossil
#

Okay

burnt fossil
final ivy
#

why?

burnt fossil
#
  1. Its disorganised I think
  2. I asked ai to help me debug some stuff and I don't want that in the game
  3. Its just really 🍑
final ivy
#

What makes it so 🍑

wet wadi
#

yo can someone script equiping my weapon in my game

burnt fossil
#

3 people have mentioned how the parameters are more that 4 or said why do i need an entire new function for the m1

final ivy
#

Give me a sec I am reading it

burnt fossil
#

k

torn star
#

how do i code a stat system?

amber acorn
#
import { useState } from 'react';
import { shuffle } from '../shuffle';

let values = ['🌭','🐟','😿','🐴','🥰','🐈','🌭','🐟','😿','🐴','🥰','🐈'];

let shuffledArray = shuffle(values);

export function Grid() {
  const [canFlip, setCanFlip] = useState(true);
  const [amountFlipped, setAmountFlipped] = useState(0);
  const [cardsFlipped, setCardsFlipped] = useState([]);

  let cards = [];

  for (let i = 0; i < 12; i++) {
    cards.push(
      <Card key={i} canFlipArray={[canFlip, setCanFlip]} amountFlippedArray={[amountFlipped, setAmountFlipped]} cardsFlippedArray={[cardsFlipped, setCardsFlipped]} value={shuffledArray[i]}/>
    );
  }
  return <div className="grid">{cards}</div>;
}

function Card({ canFlipArray, amountFlippedArray, cardsFlippedArray, value }) {
  const [canFlip, setCanFlip] = canFlipArray;
  const [amountFlipped, setAmountFlipped] = amountFlippedArray;
  const [cardsFlipped, setCardsFlipped] = cardsFlippedArray;

  let flip = (e) => {
    if (!canFlip || e.target.classList.contains('flipped')) return;

    e.target.classList.add('flipped');

    setTimeout(() => {
      e.target.textContent = value;
    }, 200);

    setCardsFlipped([...cardsFlipped, { el: e.target, value }]);
    setAmountFlipped(amountFlipped + 1);

    if (amountFlipped >= 1) {
      setCanFlip(false);

      setTimeout(() => {
        const [first, second] = [...cardsFlipped, { el: e.target, value }];

        if (first.value === second.value) {
          setCardsFlipped([]);
        } else {
          first.el.textContent = '';
          second.el.textContent = '';
          first.el.classList.remove('flipped');
          second.el.classList.remove('flipped');
          setCardsFlipped([]);
        }

        setCanFlip(true);
        setAmountFlipped(0);
      }, 1000);
    }
  };

  return <div className="card" onClick={flip}></div>;
}

thoughts on this React code?

amber acorn
burnt fossil
#

oh

final ivy
burnt fossil
#

only the weaponHandler

final ivy
#

its on the client i assume?

burnt fossil
#

no server.

final ivy
#

o ok

amber acorn
#

wait this one might be more readable

import { useState } from 'react';
import { shuffle } from '../shuffle';

let values = [
  '🌭',
  '🐟',
  '😿',
  '🐴',
  '🥰',
  '🐈',
  '🌭',
  '🐟',
  '😿',
  '🐴',
  '🥰',
  '🐈',
];
let shuffledArray = shuffle(values);

export function Grid() {
  const [canFlip, setCanFlip] = useState(true);
  const [amountFlipped, setAmountFlipped] = useState(0);
  const [cardsFlipped, setCardsFlipped] = useState([]);

  let cards = [];

  for (let i = 0; i < 12; i++) {
    cards.push(
      <Card
        key={i}
        canFlipArray={[canFlip, setCanFlip]}
        amountFlippedArray={[amountFlipped, setAmountFlipped]}
        cardsFlippedArray={[cardsFlipped, setCardsFlipped]}
        value={shuffledArray[i]}
      />
    );
  }

  return <div className="grid">{cards}</div>;
}

function Card({ canFlipArray, amountFlippedArray, cardsFlippedArray, value }) {
  const [canFlip, setCanFlip] = canFlipArray;
  const [amountFlipped, setAmountFlipped] = amountFlippedArray;
  const [cardsFlipped, setCardsFlipped] = cardsFlippedArray;

  let flip = (e) => {
    if (!canFlip || e.target.classList.contains('flipped')) return;

    e.target.classList.add('flipped');

    setTimeout(() => {
      e.target.textContent = value;
    }, 200);

    setCardsFlipped([...cardsFlipped, { el: e.target, value }]);
    setAmountFlipped(amountFlipped + 1);

    if (amountFlipped >= 1) {
      setCanFlip(false);

      setTimeout(() => {
        const [first, second] = [...cardsFlipped, { el: e.target, value }];

        if (first.value === second.value) {
          setCardsFlipped([]);
        } else {
          first.el.textContent = '';
          second.el.textContent = '';
          first.el.classList.remove('flipped');
          second.el.classList.remove('flipped');
          setCardsFlipped([]);
        }

        setCanFlip(true);
        setAmountFlipped(0);
      }, 1000);
    }
  };

  return <div className="card" onClick={flip}></div>;
}
burnt fossil
#

u send a remote event to the server after checking if the tool is a weapon

final ivy
# burnt fossil

I think you could improve how you define individual weapons

#

Make a class for them

#

Also the part you make in hitbox can probably be preexisting in ReplicatedStorage or something and just cloned

burnt fossil
#

Ahh okay

burnt fossil
#

I still might restart -the hitbox due to the fact that i want to simplify it

#

or yk what i may not restart but tweak it

final ivy
# burnt fossil like how?

All of them have common values eg. Name, Damage, Knockback, M1, Ability1, so you could define a class that stores that data and create methods to use it

#

For example a few weeks ago I made a module script that is a wrapper for marketplace service. Since you can't get gamepass IDs or dev product IDs programmatically, each product must be defined in code somewhere. So I made a class that makes it incredibly easy to do:

PurchaseHandler.new(
  "SomeProduct", -- Name of the product/handler
  12345, -- ID of the product/gamepass this handler is for
  "GAMEPASS", -- The type of product this handler is for
  function(receiptInfo, player) -- A function to be called if the purchase is completed
  end
)
burnt fossil
#

ohhh

final ivy
#

You could do something similar:

Weapon.new(
  "WeaponName",
  16, -- damage
  4, -- knockback
  function(plr,hrp,hum)
  end,
  function(plr)
  end
)
burnt fossil
#

Okay so I should do that and then put the 1 funcs inside?

#

bc im going to make multiple weapons

final ivy
#

Your implementation is up to you, but yeah it'd make it much easier

#

Also it seems you could entirely eliminate the M1 function by using a method

burnt fossil
#

?

#

every weapon would have a different passive though

fresh cloud
#
local function IsShiftDown()
    return UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
end

local function EnableControls()
    print("Controls Status: Enabled")
    local UIS = Enum.UserInputState
    
    -- Rotation is 0-indexed
    ContextActionService:BindAction("Rotate", function(_ActionName_, InputState, _InputObject_)
        if InputState ~= UIS.Begin then return end
        
        if IsShiftDown() then
            Rotation = (Rotation <= 0) and 5 or Rotation-1
        else
            Rotation = (Rotation >= 5) and 0 or Rotation+1
        end
        
        print("Rotation-num:",Rotation,"Rotation-vector:",RotationTable[Rotation])
    end, false, Enum.KeyCode.R)
    
    -- ColorID is 0-indexed
    ContextActionService:BindAction("ChangeColor", function(_ActionName_, InputState, _InputObject_)
        if InputState ~= UIS.Begin then return end
        print("C pressed")
        
        if IsShiftDown() then
            print("Shift is down")
            ColorId = (ColorId <= 0) and ColorTable_MaxKey or ColorId-1
        else
            print("Shift is not down")
            ColorId = (ColorId >= ColorTable_MaxKey) and 0 or ColorId+1
        end
        
        print("ColorId-num:",ColorId,"ColorId-color3:",ColorTable[ColorId])
    end, false, Enum.KeyCode.C)
end

Why Shift+R is correct but Shift+C does not?

burnt fossil
#

for sum reason the kb isnt working but eh.

final ivy
#

You can define methods which can access member variables in a class:

local Weapon = {}
Weapon.__index = Weapon

function Weapon.new(name, dmg, knockback, offset, size, ability)
  local self = setmetatable({}, Weapon)
  self.Name = name
  self.dmg = dmg
  -- ...
  self.ability = ability
  return self
end

-- You can access the parameters previously passed into new by referencing self. You just need to provide the function with the only network-derrived variable, player
function Weapon:M1(plr)
  local userId = plr.UserId
  playerStates[userId] = playerStates[userId] or { combo = 1, lastPunch = 0 }
  local state = playerStates[userId]
  -- ...
  local currentDamage = math.min(self.dmg + (state.combo - 1) * 5, maxDamage)
  HitboxModule.CreateHitbox(plr, self.hrp, currentDamage, self.kb,     self.offset, self.size, self.name, playerStates)
end
final ivy
#

if mouse exists then mouse.Target implicitly exists. If mouse.target exists it implicitly has a parent and is probably a basepart

#

game["Run Service"] What were you cooking here bro. use game:GetService("RunService")

fresh cloud
obtuse willow
main juniper
#

giving someone 35 robux (we can price negotiate to 50 robux) for a script. my game is where players buy bricks to make the game lag and the bricks go in a hole. the script i want is a script where stuff in the hole disappears every 10 minutes

fresh cloud
main juniper
#

if it is i finna change the idea

fresh cloud
#

yes it is

main juniper
#

wait lemme search up a game that uses the idea

fresh cloud
#

in a video about a guy who made 2mil robux with a game about laggy bricks

main juniper
main juniper
fresh cloud
#

i can send links here?

main juniper
gloomy kiln
#

guys

#

i just made a fucking kill part

bold hound
#

Is React Lua any different than Lua? Is it harder or more complex?

gloomy kiln
#

congratluate me cuz im a narcissist

bold hound
gloomy kiln
timber parcel
#

yo chat

stone marsh
#

what do you need scripted?

timber parcel
#

anyone here script modded games?

#

like updating it

copper jacinth
#

Use the marketplace for hiring developers

potent glen
#

can i have a localscript in startercharacter do something when it is being destroyed using trove?

stable pumice
#

😭 😭 😭 😭 😭 😭 😭 😭 😭 😭

civic oriole
#

your punishment for attempting arithmetic on nil

somber vault
#

hlep

raven umbra
#

anyone able to help me with CFraming parts?

tribal mango
#

am trying to learn how to code, does anyone recommend me a tutorial to watch?

azure ice
#

No matter what i read or watch i feel like i am not improving, Does anyone have any advice for a new scripter like me? Would be much appreciated!

tribal mango
coral oracle
#

It would be better

ripe plume
#

thx man :)
i recommend the "how to script on roblox 1" and episode 2 as well first

#

then the video about arrays

tribal mango
#

I have tried watching multiple tutorials but I can never understand how to put all the stuff together

ripe plume
#

I see, well it takes time to understand dw about it

abstract kettle
#

I'm looking for someone who can write code for my game. I'll give you 2500 dollars if someone can finish the game from beginning to end. If there's someone who can do it, please write me. (GOOGLE Translate i little know english)

tribal mango
ripe plume
abstract kettle
#

Tycoon game

ripe plume
#

ah

#

like a basic button tycoon or?

abstract kettle
#

hey

ripe plume
#

i know it

abstract kettle
#

yes

ripe plume
#

so you want something like that?

abstract kettle
#

I guess you won't help either

abstract kettle
#

more different version

ripe plume
#

okay what are the differences

abstract kettle
#

How many years have you been coding?

abstract kettle
ripe plume
potent glen
#

is it possible to wait until an instance and all its children are fully loaded

copper apex
gaunt crater
#

Anyone know a gun system that works great on PC, Console, And Mobile..?

gaunt crater
#

i can't do that

#

Idk how

whole nimbus
#

yo so im a builder right and im tryna make this little candle's lighting part pretty much scale up like 0.1 every second then once it reaches smth it deletes and creates a copy of the original instance n then it also gets the tag of every single part with the tag lighting and then activates the function. does this need to be a local script or can it be serverside?

ripe plume
#

do it locally

stiff zinc
#

guys whos rlly good with pcs here

#

i have a problem i think

#

if so dm me

random matrix
blissful jungle
#

@lucid latch dms

versed aspen
#

Doing small random work for low amounts of bobux

spare mulch
#

i started learning scripting yesterday

spare mulch
zealous rain
#

hello gang

#

anyone have tips on how to build a portfolio, I just started scripting n stuff

rich gust
#

👋🏼

rich gust
zealous rain
rich gust
wet maple
#

yo who wants to make a game with me and get quick cash?

#

to fund bigger projects

rich gust
#

Quest System (daily quests, rewards, tracker UI)
Inventory System (drag & drop, use/equip)
Combat System (melee or ranged with effects + animations)
Tycoon Core (income generation, upgrades, progress saves)
BUILDING IDEAS
A stylized lobby
Showcase build (fantasy temple, sci-fi base, city block)
UGC style maps (small arenas or hangouts)
Mini games (UI, scripting, build allinone)
Simulators or Towers (small system but polished)
UI test game (scrolling menus, shop, settings)
Include only your best work. Keep it short, clean, and easy to browse.
Game projects (finished or WIPs)
Scripts (complex systems or useful tools)
Builds (maps, assets, UIs)
GFX/UI designs (if you do visuals)
Each item should have
A short description (what it is + your role)
1–3 screenshots or videos
A link to the game or YouTube/test place
About Me

What you do (Scripter, Builder, UI Designer, etc.)
Years of experience
Tools you use (Roblox Studio, Blender, Photoshop, etc.)
What you’re looking for (commissions, collabs, jobs)
Contact Info
Discord tag
Portfolio site (optional: Carrd, Notion, GitHub, etc.)
Roblox profile

wet maple
#

is there a scripter i can hire to help me with a game?

zealous rain
wet maple
#

yooooo tysm

zealous rain
zealous rain
#

the thing you typed? whats that supposed to be

rich gust
rich gust
zealous rain
#

ah alr

#

where should I start

final ivy
#

is it that unclear

spare mulch
rich gust
#

ywyw!! be safe man!

spare mulch
#

i have 3 years of experience in modeling and texturing

#

yesterday i started scripting, i like it but u have to read a lot of docs and things like that

wet maple
#

ryne

uneven jolt
#

Okay ive seen this in a couple games now.

Is it better to have a single remote event called "Replication" and then just connect events in a table, see if it exists and if not error?

#

It seems Ultimate Battlgrounds, Forsaken and Project Afternight does this

rustic crane
uneven jolt
wet maple
#

can me have robuck?

rustic crane
wet maple
#

me robuck?

uneven jolt
#

Im not smart in how data is handled going from server to client, but theoretically it wouldnt matter if it was the same event? It's only creating that one threa

rustic crane
uneven jolt
final ivy
#

many frameworks do that and its common to avoid static networking objects

rustic crane
uneven jolt
final ivy
final ivy
#

And no, you should not just use one remote event

uneven jolt
#

That's what I thought but I wanted some others opinions

uneven jolt
#

From what I've seen dictionaries in Luau are more peformant due to hashmaps

#

Or something idk

final ivy
#

You have to make sure the string youre passing to your remote event is actually mapped to something, you don't get any intellisense on that table etc

#

Why even make a table just let server scripts create endpoints

uneven jolt
uneven jolt
final ivy
# uneven jolt What do you mean by this?

Write some function that dynamically creates networking objects, call it from the server to create those objects, and then replicate and attach to them on the client

#

That way you don't have to maintain a big table of functions

uneven jolt
#

Fair enough

#

Thank you for the help!

final ivy
#

I believe singular networking objects also have a throughput cap and exceeding it will begin queuing requests, so if you use a single one you'll likely run into queued requests

uneven jolt
#

Thank you!

tribal mango
#

"How did you know I use roblox-ts?"

wary bronze
tribal mango
wary bronze
#

Dat I closed for a year with 730k visits cathello

wary bronze
tribal mango
#

what is the issue

elder sparrow
#

hi

wary bronze
still dew
#

Hello

wary bronze
#

Which I’m not trying to make happen

tribal mango
#

It's probably just deleting the head which the gui is parented to 😂

still dew
elder sparrow
#

i am 1 but away from polishing my gamke

wary bronze
elder sparrow
#

publishing

wary bronze
#

The level on top of my head it’s not supposed to disappear when I say !headless

elder sparrow
tribal mango
#

or adorneed to

wary bronze
elder sparrow
#

help meeee

#

i need that kinda VFX

#

horribile name

blissful yew
#

does anyone wanna script for my game im making "steal a fedora" its a cash grab that will make us alot of money

elder sparrow
#

the art

wet maple
#

wait

#

u guys make geme?

reef nymph
#

i don't think it's so complicated

wet maple
#

do guys make geme?

reef nymph
#

the guy also makes them stretch so it depends on ur asset too (just 1 meshpart is ideal)

wet maple
#

roub

wet maple
#

it no load

still dew
wet maple
#

roub

#

for 4 yours ive been thinking about game dieas and stuff and made a story magic fighting game with tons of character development mapped out

#

but me have problem 🙁

#

me no buckroe to hire people 🙁

#

u halp?

#

yas?

reef nymph
still dew
#

i think i'm capable of doing that though

#

ty Thumbs

wet maple
#

it no loading

reef nymph
craggy dove
#

some1 playing bitburnere here?

wet maple
#

roub

#

can u help me please?

#

ill stop speaking in caveman

reef nymph
wet maple
#

ok

#

for 4 years ive been coming up with ideas for a story magic figbhting game

#

with tons of characters development

#

but the thing is

#

i have a big idea for it

#

and i need a whole dev team

#

and idk where to look

craggy dove
#

stop spamming

wet maple
#

how to pay them cuz im broke asl and no one takes %

#

ok sorry

#

do i start with making a game to get funds then work on the project?

#

also how do i even get a dev team

craggy dove
#

just play bitburner

wet maple
#

what

craggy dove
#

its a game on steam

wet maple
#

is that a gambling site?

craggy dove
wet maple
#

.

craggy dove
#

make yoself a script that automates everything 4 u so u dont have to do anything

#

its javascript

wet maple
#

idk how to make that script

#

also i want a dev team

#

not a robot to make the game

#

also im not trusting ts

craggy dove
#

oh bitburner is a game

#

not a tool

wet maple
#

ik

#

u said it

#

@reef nymph

#

hes off

#

nik can u help me

#

also i wouldent know how to set it up

craggy dove
#

bro wdym help bro

#

thats a whole ass project lol

wet maple
#

what would bit burner do?

craggy dove
#

im playing it rn

#

nice game

wet maple
#

what does it even do

craggy dove
#

its about hacking servers gaining money and xp and win the game

#

rebirth & unlock nnew features

wet maple
#

i dont wanna play a game bruh

craggy dove
#

welp i do

reef nymph
#

you can only do that with money or with development skills you have yourself

wet maple
#

i have no money

reef nymph
#

like a good scripter can gather other type of devs and lead the project for example

bold current
#

Start learning to code

reef nymph
#

be a scripter yeah

wet maple
#

im a ui maker

bold current
#

Diversify

bold current
#

Try learning vfx or animation

craggy dove
wet maple
#

i have nothing on me rn

craggy dove
#

hm

wet maple
#

i deleted the uis i made

#

the pictures

craggy dove
#

looking for a ui designer thats why lol

wet maple
#

to lazy to open studio

#

whats pay?

bold current
#

Thats wild

wet maple
#

wait dm me

craggy dove
#

you help me i help you lol

violet folio
#

@wet maple nobody is making your mid game idea for you

#

you have no skills

craggy dove
#

no just write down my name dm me when yo got pictures

wet maple
#

hush up vro

dapper oriole
wet maple
#

i have skill

#

i know how to a code a bit

#

and ui

craggy dove
#

some1 playing bitburner here? what am i doing wrong i made myself a whole ass project that uses every server to hack the most efficient one and im barely making cash its taking forever to weaken that shit

violet folio
dapper oriole
#

?

violet folio
#

if you are that passionate about it

wet maple
#

i learned scripting a few days ago vro

violet folio
#

why would anyone work for your idea (which probably isnt even good or unique) for free

craggy dove
wet maple
#

ik the basics

reef nymph
violet folio
reef nymph
wet maple
#

ik

reef nymph
#

make it while learning

craggy dove
#

still seeking help

dapper oriole
#

no im confused what ur talkn about

wet maple
#

roub heres the problem

#

idk any other things

#

like models

reef nymph
#

best way to learn properly is to make a project that way you learn every aspect of a game aka stuff you wouldn't rly try to learn in an empty workspace

wet maple
#

and stuff

dapper oriole
wet maple
#

im following a tutorial that someone told me to

reef nymph
# wet maple like models

a game doesnt need crazy models to be good, make sloppy blocky models like grow a garden etc for example it's enough to learn development

wet maple
#

alright

#

ill try

reef nymph
#

or find a beginner dev who learns modeling the way you're learning your stuff and team together

dapper oriole
#

we dont need more grow a gardens

reef nymph
#

roblox used to be full of blocky games actually it's mostly something you do if you don't know how to model etc

wet maple
#

idk animations tho is that fine?

dapper oriole
#

roblox used to be doodoo water

reef nymph
wet maple
#

joe ur jus a hater vro

#

alr

#

also

reef nymph
#

importance is game design

dapper oriole
#

u right

wet maple
#

how do u get ppl learning and playing ur game?

reef nymph
#

not game visuals

#

(depends on the type of game ofc)

wet maple
#

like learning about ur game

#

and ppl playing

#

whats a good game i should make first

reef nymph
#

there's various ways for that but that's more important to focus on AFTER making a game

wet maple
#

alr

reef nymph
#

tiktok / ads / youtubers etc

dapper oriole
#

buddy if u dont have the talent get friends to help make a game for free

wet maple
#

i have a channel with 109 subs i can record it there

mellow notch
#

Any scripters interested in joining me for Jandels gamejam that starts tomorrow? I currently have 3 people on my team including me

reef nymph
#

anyone can learn any aspect of development

wet maple
#

flobbert

reef nymph
#

it's roblox it's super easy to reach

wet maple
#

im learning scripting]

#

ik basic stuff very well

dapper oriole
#

u can learn how to draw stick figures and call it art

wet maple
#

i can also make the ui

mellow notch
wet maple
#

wild

mellow notch
#

And I have a ui person

wet maple
#

alr time to start learning

dapper oriole
mellow notch
#

I am a scripter/builder but having another scripter would help immensely with time so if anyone here has alot of experience and is interested lmk

dapper oriole
mellow notch
#

Game jam

#

35k dollar prize pool

dapper oriole
#

im interested

mellow notch
#

20k to first place 10k to 2nd and 5k to 3rd

torpid bane
# wet maple im learning scripting]

After 2 years of scripting you’ll be pretty goated, try to focus on math in school and use khan academy to learn math online from basic arithmetic to integrated math 1, 2, and 3 and calculus plus physics.

reef nymph
#

depends very much on the type of scripter u wanna be tho yeah

craggy dove
#

i actually bad at math

#

i use chatgpt for math mostly, its rare to see me doing maths

flint turret
#

besides maybe basic hs algebra

craggy dove
reef nymph
#

but if its simple stuff its better to learn urself eitherway

flint turret
#

oh i thought he meant in genera

#

yeah okay

reef nymph
#

i have no clue how good chatgpt is at it in general

violet folio
stable verge
#

oh thats nice

verbal coral
#

yo bro roblox not having matrix and tensor libraries is genuinely so troll 🙏

#

like i genuinely cant solve any physics problem, making anything realistic is way more difficult compared to other game engines

#

you cant even find the angular momentum of a rigid body bro ts is so cooked

mellow notch
#

Yea the character controller could be better (more customizable or easier to work with)

#

Like the motor6ds on the roblox r6 character are reversed from the direction they should be for no reason

wintry ore
sudden estuary
#

adjust it

wintry ore
sudden estuary
wintry ore
#

yes

sudden estuary
#

are you sure?

wintry ore
sudden estuary
#

i don;t use that plugin

#

but are u setting the tool grip to the actual tool

supple pecan
civic nymph
#

can sum1 help, i have no idea what to do

rigid willow
#

i hope whoever added this limitation fucking dies

fading ermine
#

what r some good plugins for scripting?

rigid willow
fading ermine
#

what does it do

rigid willow
#

search on youtube

#

how to use rojo

fading ermine
#

k

fading ermine
#

ah i see

fervent belfryBOT
#
Tag » Why External Editors

The benefits of using external editors over the Roblox Studio editor:

  • Snippets (built-in) - type a few characters and generate commonly-used concepts or script templates

  • Symbol renaming (built-in) - easily rename a variable in a specific block/scope/everywhere

  • Workspaces (mostly built-in) - switch between games as easily as you would in studio, just double-click a workspace file

  • Extensions (support built-in) - custom file icons, AI-enhanced autocomplete, rename multiple files at once (super easy with above)

  • Rojo - sync changes from your folder to your Roblox place

  • Option to use TypeScript as a language alternative (only notable language alternative as of 22nd July 2022)

  • Use text files/extensions for taking notes/planning instead of multi-line comments stuffed in modules

  • External tooling - Moonwave (documentation generator), Wally/Foreman (Roblox package manager), etc.

  • Transparent windows - for appearance/utility's sake

fading ermine
#

but why shoulsnt i use studio an vscode

solar acorn
fading ermine
#

thanks

fading ermine
strange kiln
#

They add like one or two meh features

fiery gale
#

the typescript one's cool tho

solar acorn
#

i prefer rblx studio over rojo

fading ermine
#

whats type script 💀💀💀

solar acorn
#

that can be done in roblox too

#

e.g

local part = Instance.new("Part") :: Part
#

It helps when theres a bunch of instances to keep track of, otherwise its logical and unnecessary in my opinion

fading ermine
#

so u dont have to go through the code to see what it does?

solar acorn
#

kind of

fading ermine
#

is it another language?

#

cz i remeber smh like this in js

solar acorn
#

I'd say it can be classified as one? However, I am not really sure. Never really used or paid attention to it. But yeah, similar to JS one.

fading ermine
#

nice

#

Gotta learn this and oop

#

😭

#

im doomed

solar acorn
#

I've been scripting for like 3 years and never bothered to learn oop 💔

fading ermine
#

💔

#

im too deep in to quit

solar acorn
#

same bro same

fading ermine
#

i jus want to make a game gotta learn all this 😭🙏

supple pecan
solar acorn
#

same

severe cobalt
neat sigil
#

Roblox oop isn’t really oop

junior pier
neat sigil
neat sigil
#

Like how :destroy gets auto filled if u type it on a part

severe cobalt
neat sigil
#

You’ll know what I mean

severe cobalt
pallid furnace
#

`local function breakTree(model)
CollectionService:RemoveTag(model, "Destructible")

local parts = table.create(16) -- preallocate a small table to reduce GC
for _, part in ipairs(model:GetDescendants()) do
    if part:IsA("BasePart") then
        parts[#parts + 1] = part
    end
end

task.defer(function()
    for i = 1, #parts do
        parts[i].CanCollide = false
    end
end)

task.defer(function()
    for i = 1, #parts do
        local part = parts[i]
        local pos = part.Position
        local tween = TweenService:Create(part, TWEEN_INFO, {
            Position = pos - DROP_VECTOR
        })
        tween:Play()
    end
end)

end`

is this good chat? i want it to be very fast

severe cobalt
pallid furnace
#

its better

severe cobalt
neat sigil
#

Bro look what he’s doing

junior pier
neat sigil
#

#Parts

#

#parts is 1 in this case

#

How u want that to wirk

#

Work

severe cobalt
junior pier
#

you have to emulate it via metatables and metamethods

#

no?

pure flame
#

ye

#

not real oop

severe cobalt
# junior pier you have to emulate it via metatables and metamethods

Tables are used to do OOP. In memory, they're the same exact thing as classes in Java.

I can extend a class, I can inherit a table. Putting a table in a table does not clone the table. If I use table.clone, then modify a table thats inside it, itll change on both tables.

To clone it, you have to use recursion https://create.roblox.com/docs/luau/tables#deep-clones

I make a table and give it properties, same as making a class and giving it properties.

If I put a table in a table, its the same as a class in a class. It references the object.

This is object oriented programming.

Data type which can store multiple values of any non-nil type, including booleans, numbers, strings, functions, and other tables.

severe cobalt
frail yarrow
frail yarrow
frail yarrow
junior pier
#

it can be natively supported by C# for example

#

yes it essentially does the same thing in memory

frail yarrow
#

Languages can have features which implement OOP

#

Metatables are that

junior pier
junior pier
severe cobalt
# junior pier which means its not natively supported

Natively supported in this context means supported by the language. If a languages "implements OOP" its natively supported.

OOP can be done by nesting arrays, as i mentioned, which would still mean its natively supported.

Metatables are a better supported way of doing OOP.

It comes shipped with Luau... which means its natively supported.

Where in the world did "its not natively supported" even come from?

#

Luau is a fork of Lua 5.1 (iirc) maintained by Roblox. It's not Lua, its Luau, its own language

junior pier
#

so if it is native (e.g. C#) you do not need a workaround implementation

#

the compiler also enforces oop features as opposed to in luau where you have to manually build them

#

take public, private, protected for example. these keywords are built in for C# but we have to manually implement them in luau

cinder sapphire
#

Who has a good game that needs a investor

snow hemlock
#

what is the best way to learn scripting

rigid willow
#

practice

golden yoke
golden yoke
# snow hemlock what is the best way to learn scripting

taking really bad scripted free models from toolbox and making them clean with few adjustments to code or just making it work the way u want to, this helped me the most out of all the tutorials and AI and ofher methods

severe cobalt
junior pier
junior pier
golden yoke
verbal rover
#

Hey can someone help me, can a exploiter access a module in serverscriptservice? It seems like they can call a function inside it, the module only connected with marketplace handler, IMG3 example function

junior pier
golden yoke
severe cobalt
verbal rover
junior pier
severe cobalt
junior pier
golden yoke
severe cobalt
junior pier
#

ur really nitpicking here

severe cobalt
#

these are the core principles of OOP. These are all doable in Luau. Not anywhere does it say package hierarchy

junior pier
#

how about luau doesnt have any native constructs that enforces oop

#

for example class or interface

#

ill redefine native as having native constructs that enforces the oop principles

severe cobalt
junior pier
#

they have to take more time to draw it or cant draw it perfectly in this example

severe cobalt
junior pier
severe cobalt
neat sigil
#

LOL

severe cobalt
junior pier
#

in the sense that in e.g. c#, the compiler enforces oop principles

severe cobalt
junior pier
#

hm

junior pier
#

ur right actually

#

my brain is just fried

#

its a programming paradigm not a lang feature

blazing leaf
#

Yall wth was this discussion

last lion
#

Guys , how do you rotate a part 45 degrees to the left

ocean ferry
#

Hewwo guys, someone knows a lot abt welding?

#

I need some feedback/help im stuck on smth for always 10 hours 🔥

ocean ferry
# sour vine what u want

i have this problem called i want do stable weld of 2 models in same folder without fusion them into same model + they have humanoid properties so its giving me a headche

south sigil
#

Ktoś z Polski jest tu?/ is here people from Poland?

sour vine
ocean ferry
#

And yes i tried disabling CanCollide, massless and PlatformStand

sour vine
sour vine
#

it aint loading

slender crater
#

local CheckpointsFolder = game.Workspace.Checkpoints

Players.PlayerAdded:Connect(function(player)

local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

local Stage = Instance.new("IntValue")
Stage.Name = "Stage"
Stage.Parent = leaderstats

end)

for _, v in pairs(CheckpointsFolder:GetChildren()) do

    if not v:IsA("BasePart") then    
v.Touched:Connect(function(Part)
    
    local player = Player:GetPlayerFromCharacter(Part.Parent)
    local stageValue = player.leaderstats.Stage
    
            if player and stageValue.Value < tonumber(v.Name) then
                
            stageValue.value = V.Name
            
        end
    end)
end

end

ServerScriptService.CheckPoint Script:4: attempt to index nil with 'PlayerAdded' - Server - CheckPoint Script:4
This keeps popping up can anybody help me I just started scripting about a hour ago

somber vault
#

Is there a free pathfinding module I can use, instead of roblox bad one?