#code-discussion

1 messages Β· Page 90 of 1

pearl blaze
#

That's how you get better in scripting

zealous gorge
#

Yup.

stuck hinge
#

does anyone know like the best way to think of game ideas, bro i jus cant think of anything

young crescent
young crescent
#

then think of better ideas yourself

stuck hinge
#

no

young crescent
#

if u dont want advice then dont ask for it then

queen dune
nova magnet
#

yo does anyone that's pretty good at scripting just wanna make a fun project with me and my friend?

somber vault
#

basically infinite ideas

next hull
#

i have two folders with two spawn areas with their own specifications, what would be the best way to randomly generate a different amount and different type of item for each area?

#

i was thinking of just storing the folder name, prop amount and the type of props in an array and storing that in another array to be called

somber vault
#

whats the problem with that

next hull
#

idk i was just asking to see if there might be a better solution

somber vault
#

it sounds good enough

next hull
#

cuz rn im gonna have to store each folder's data like this

#

i mean its not the worst but

#

yea

proven cosmos
next hull
somber vault
#

you can use a dictionary

next hull
#

theres two flashes and the second one just feels out of place to me ngl

somber vault
#

if readability is the issue

proven cosmos
#

yeah i get it, but i just didnt like what it looked like without it

#

I've experimented alot of ways, but thanks for the suggestion!

next hull
static coral
proven cosmos
#

I mean, it's a death screen, so..

rotund knot
wise turtle
rotund knot
#

python my beloved ❀️

#

Assembly in S for the memes and the guy that made rollercoaster tycoon

wise turtle
#

its objectively best interpreted language

slender cairn
#

Anyone can try out my game, i need testing

honest mica
#

anyone here know another service or some i been messing with timed notifications. so a push notification that arrives a day later for example it works but im using roblox memory store and it has heavily limited quota

viscid finch
#

This is a questions for any scripter that works for any big game:

Do you pros use github and rojo?

Is studio enough at your level?

hasty knoll
#

im joking

rotund knot
slender cairn
limpid gate
#

SOMEBODY SAVE ME

somber vault
#

RunService.RenderStepped:Connect(function() --yourFunctionCode end)

white geode
#
local doors = script.Parent.Parent:GetChildren("Doors")

for i,v in pairs(doors) do
    if v:IsA("Part") then
        v.Touched:Connect(function(hit)
            if hit.Parent:FindFirstChildOfClass("Humanoid") then
                print("touched")
                v.Gui.BillboardGui.Owner.Text = hit.Parent.Name.. "'s Tycoon "
                task.wait(0.2)
            end
        end)
    else
        print("not player")
        task.wait(0.2)
    end
end
``` why dose it only run 1 time then stop?
rotund knot
white geode
#

nation can you help?

dire comet
#

Hi there, I'm creating a UI to show the current stage a player is on. Should the local script with the code for this be placed in StarterPlayerScripts or StarterGUI?

#

What is rojo?

white geode
rotund knot
dire comet
rotund knot
white geode
dire comet
#

But where should I place the UI script, in StarterGUI or StarterPlayerScripts?

rotund knot
# white geode explanation if you dont mind

alr so looks like it only runs once cuz print("touched") will only show up when a player touches one of the door parts, no one is touching anything or it only happened once then you'll only see one "touched" printed. Also, the else case in your loop (print("not player")) will run for any object in doors that's not a Part, but only once during the loop, not every frame or touch

white geode
rotund knot
#

you can use this script to debug,

v.Touched:Connect(function(hit)
    print("Touched by:", hit.Name)
white geode
#

how do i get it to keep looping?

dire comet
#

Currently, the local script is in StarterPlayerScripts, but I'm debating whether or not I should place it in StarterGUI

rotund knot
white geode
dire comet
#

Oh okay, thanks for the help.

rotund knot
white geode
#

will do

white geode
rotund knot
#

then just modify ur script from there

white geode
#

it is a boolbalue

rotund knot
#

oh

viscid finch
#

And do you recommend to beginners to start off using github and rojo or first get ahold of the basics of luau and studio?

stuck hinge
rotund knot
#
for i, v in pairs(doors) do
    local claimed = v:FindFirstChild("Claimed")  -- Look for the BoolValue object
    if not claimed then
        warn("Claimed BoolValue not found in", v.Name)
        continue
    end

    repeat
        if v:IsA("Part") then
            task.wait(0.2)
            v.Touched:Connect(function(hit)
                if hit.Parent:FindFirstChildOfClass("Humanoid") and not claimed.Value then
                    print("touched")
                    v.Gui.BillboardGui.Owner.Text = hit.Parent.Name .. "'s Tycoon"
                    claimed.Value = true  -- Set the BoolValue
                end
            end)
        else
            print("not player")
        end
    until claimed.Value == true  -- Check the .Value of the BoolValue
end

Try this

white geode
#

okay

stuck hinge
#

BOIIII IM BOUTTA CALL PACKGOD IF U DISS ON BGLOX FRUITS πŸ’€πŸ’€πŸ’€πŸ’€πŸ’€πŸ’€πŸ’€πŸ’€

somber vault
stuck hinge
rotund knot
somber vault
stuck hinge
stuck hinge
somber vault
#

no

stuck hinge
#

whats the question

somber vault
#

im just gonna recommend you a website

#

where you can solve problems

stuck hinge
stuck hinge
somber vault
#

ok

somber vault
viscid finch
rotund knot
white geode
rotund knot
#

but uh, dont be like me, you should probably put your work on your github πŸ™

rotund knot
#

not an actual calculator 😭

#

it was specifically catered to our courses cuz our professors had wacky grading methods

hallow crag
rotund knot
viscid finch
rotund knot
hallow crag
rotund knot
midnight wigeon
#
local ProfileTemplate = require(game.ServerScriptService.DataStore:WaitForChild("ProfileTemplate"))

local ProfileStore = ProfileService.GetProfileStore("PlayerData", ProfileTemplate)

local userId = 5441663311 

local success, result = pcall(function()
    return ProfileStore:WipeProfileAsync("Player_" .. userId)
end)

if success then
    print("data wiped successfully for userId:", userId)
else
    warn("Failed to wipe data:", result)
end

I am using profile server data module and when i try to remove my player data from stuido i ran the above code its printing data wiped succefully but if i rejoin or continue the game my data is still there. why might it be happenning?

glass maple
gilded gyro
#

guys is this possible to get a rope to make a bezier system? to make for zipline?

#

here i am showing the example? ;-;?

#

mb not πŸ’€ i might try pull this off right now

dire comet
#

How often do you create new scripts, and how often do you recommend creatin new scripts?

gilded gyro
#

idk why and is so hard to make a beizer thing ;-;???

#

idk why 😭?

#

it feels so unaccurate :(

scarlet hound
#

is it bad to have lots of server/client scripts?

foggy fiber
#

Hey everyone,

I’m searching for a solution or a toolβ€”like a virtual animatorβ€”that can play animations directly on models or rigs without relying on Humanoids or Animator instances.

The reason is, I want to protect my animations from being stolen by exploiters who use GetPlayingAnimationTracks() to detect and copy them.

If anyone knows of any existing modules, plugins, or custom scripts that handle animation playback completely off the Humanoid system (for example, by directly manipulating CFrames or joint transforms), I’d love to hear about it.

urban igloo
#

Guys, I need help with a really important firepower in VFX. I want to make it into a hit. I'm making a hit system, and when it hits a player, fire will come out and blood will be lost. Please help.

visual plinth
#

looking for someone to give urgent loan

pearl blaze
scarlet hound
#

so put all the logic into modules?

hallow crag
hallow crag
#

and it means u can run scripts in order

urban igloo
hallow crag
urban igloo
# hallow crag with what

I have a problem. I have a fire power in the form of VFX and I do not know how to make a hit and reduce the player’s blood. I tried to do that so that when a player hits someone his blood is reduced and when he hits, power comes out of his hand

urban igloo
# hallow crag with what

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local fireVFXTemplate = ReplicatedStorage:WaitForChild("FireVFX")
local HitPlayersEvent = ReplicatedStorage:WaitForChild("HitPlayers")

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local function createFireVFX(parentPart)
local fireVFX = fireVFXTemplate:Clone()
fireVFX.Parent = parentPart
fireVFX.Enabled = true

delay(1, function()
    fireVFX.Enabled = false
    fireVFX:Destroy()
end)

end

mouse.Button1Down:Connect(function()
local character = player.Character
if not character then return end

local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid and humanoid.Health > 0 then
    local hand = character:FindFirstChild("RightHand") or character:FindFirstChild("Right Arm")
    if hand then
        createFireVFX(hand)
    end

    HitPlayersEvent:FireServer()
end

end)

#

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local HitPlayersEvent = Instance.new("RemoteEvent")
HitPlayersEvent.Name = "HitPlayers"
HitPlayersEvent.Parent = ReplicatedStorage

local DAMAGE = 20 --

HitPlayersEvent.OnServerEvent:Connect(function(player)
local character = player.Character
if not character then return end
local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then return end

local rayOrigin = hrp.Position
local rayDirection = hrp.CFrame.LookVector 

local raycastParams = RaycastParams.new()
raycastParams.FilterDescendantsInstances = {character}
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist

local result = workspace:Raycast(rayOrigin, rayDirection, raycastParams)
if result and result.Instance then
    local hitHumanoid = result.Instance.Parent:FindFirstChildOfClass("Humanoid")
    if hitHumanoid and hitHumanoid.Health > 0 then
        hitHumanoid:TakeDamage(DAMAGE)
    end
end

end)

turbid torrent
#

if not result or not result.Instance then return end

You could avoid so much nesting.

pearl blaze
#

I think I've made the best organization module there is

#

Fuck knit

night seal
#

Guys

hallow crag
pearl blaze
#

Useless shit

night seal
#

I fucking hate AI

#

I told AI to make a fully functioning Chess GAME

#

with all of its rules

#

it fucking did it

#

We're cooked

hallow crag
pearl blaze
#

Ofc there's code on stack overflow that chat gpt copy

#

Now asking doing something simple yet bizzare, how will it go?

night seal
#

What you think AI will be capable of after decade?

pearl blaze
#

Nothing

#

AI doesn't exist, it's a copying machine that copies everything from internet

#

It won't do better than say something that was already been said

hallow crag
pearl blaze
#

Basically a search engine but smarter

night seal
pearl blaze
#

Same shit, copying

night seal
#

if it copies everything from internet, how does it generate images EXACTLY like you describe

pearl blaze
#

Because there's many pictures on the internet?

#

It learned good enough

#

But nothing else, and nothing new

night seal
# pearl blaze Same shit, copying

Nah you idiot. Tell it to generate a giant potato chip licking messi's feet while eating nuggets and playing football in his imagination. does that even exist ???

pearl blaze
#

Generate it, and it's gonna be wrong

night seal
#

it doesn't fuckin exist

night seal
#

AI is real bro

night seal
pearl blaze
#

What is it

night seal
#

Did you know that google's latest AI, was able to discover new solutions humanity couldn't discover for 50 years?

#

And you tell me that it's copy and paste?

#

@pearl blaze

spark crest
#

how do you know if someone is good at scripting if you don't know any?

hallow crag
spark crest
hallow crag
#

reusing blocks of code again and again

#

instead of making a function

#

you can tell if there using ai by checking if theres alot of comments scattered around

somber vault
#

yo is anyones studio acting weird?

hallow crag
somber vault
weak radish
#

love when a raycast cant detect between any of those dots

zenith night
#

is there any benefit of adding --!native on top of your script? does it actually do anything?

shy harness
#

it most certainly does

#

but you probably shouldn't if you haven't done programming in native languages before

#

but if your script does tons of math it could help

keen hollow
#

Hi guys

turbid void
#

how much would it cost for someone to make this script/system?

user clicks a button that prompts a dev product

if purchased, it will create a text label with a password from an array, there are 10 random passwords to chose from

flint smelt
weak radish
#

i fixed it anyway

honest pagoda
#

any1 know how that one dude on yt remade the Whole Travis Event on Roblox Like The Aniamtions there is no way he made it

shy harness
# zenith night how so

lua is pretty good at optimizing stuff, but certain operations still have some overhead that native will reduce

#

like vectors

zenith night
#

are roblox servers shitting themselves again

gleaming phoenix
#

i really want to know how to make the player loads stuff that would not load normally, like when its far

jolly marsh
#

how do i start

coral field
jolly marsh
coral field
#

by starting

jolly marsh
#

thanks

coral field
#

yeah

flint smelt
#

how to become pro scripter

coral field
#

learn

jolly marsh
coral field
#

yes

tawdry wave
#

anyone here good at scripting willing to do 50 percent of whatever my new game makes or whatever that thing is called i forgot what its called thanks

coral field
#

im a philosopher now

coral field
tawdry wave
#

uhh idk i forgot you know what it is

coral field
#

no because i dont know what you are on about

tawdry wave
#

commision idk

#

been a while

rapid eagle
#

guys

coral field
#

for how much

rapid eagle
#

how script

#

I forgot

tawdry wave
coral field
# rapid eagle :O

write some random words test it, it doesnt work scream at your computer quit and never come back

rapid eagle
#

print("hello")

tawdry wave
rapid eagle
#

r

#

no srsly I forgot

#

am I cooked

coral field
#

i want to forget how to code

#

because then i would be better

#

learning from my mistakes

tawdry wave
#

50 percent commision anyone also im broke

#

plssss im bad at scripting

coral field
#

depends

tawdry wave
#

anyone

coral field
#

if the idea is fun

brave jay
#

I FUCKING HATE VIEWPORTFRAMES

coral field
#

i think he hates viewportframes

brave jay
#

i do NOT like them

coral field
#

i think he does NOT like them

tawdry wave
#

its a game were you just click on a screen but you can uograde that screen to get mutipliers, those upgrades only have a small chance of happening whcihc makes players stay in the game, also you can do other stuff im missing alot of what the game is abt in this text but theres more t

#

sry for english

coral field
#

uh

tawdry wave
#

bussiness tycoon

#

i was modeling fro this guy but he wanted to use ai on his projects and make cash crabs and scince we never singed on anything i just took my models and now i need a scripter to help

cerulean perch
#

What networking library you guys using

static coral
#

funny how i started working on my own like 15 mins ago

cerulean perch
static coral
#

idk im still thinking

#

figuring out how tf imma use buffers

#

but i know i will not use m*tatables

cerulean perch
#

then why you doing this

static coral
#

because i dont want to set up replication everytime i make a new project

#

so i can just import my module and go about my day

#

and its more optimized

#

or trying to be atleast

cerulean perch
#

did you check packet?

static coral
#

yes

cerulean perch
#

it does what you need i think

static coral
#

i dont want to skid

cerulean perch
#

i personally been using for a while now, and its pretty good

static coral
#

and suphi kaner is cool but his code is ugly af

#

i want something i can change easily

cerulean perch
#

you would you change it?

#

i never tried to edit any library before, why would any one do?

static coral
#

what if it is unoptimized or bloated

#

or not performing the best it can

#

thats why i just prefer to make my own

#

i can barely figure out what the code doing cause its near illegible

#

and also i dont just want to skid off other modules i want to learn how to make it myself and also better

cerulean perch
#

yea, i think you should make something which solve a problem, there are already many networking libraries, so you can try making something different

weary gazelle
#

does anyone know where i can find a partner to work with ?

cerulean perch
#

here ig

uncut cloud
#

anyone know how to work with fastcastredux

#

i keep getting this error
ServerScriptService.Modules.FastCastRedux.Signal:90: attempt to index nil with 'Delegate' - Server - Signal:90

copper apex
#

Look at line 90

#

And show code

uncut cloud
#
function SignalStatic:Fire(...)
    assert(getmetatable(self) == SignalStatic, ERR_NOT_INSTANCE:format("Fire", "Signal.new()"))
    local args = table.pack(...)
    local allCons = self.Connections
    local yieldingThreads = self.YieldingThreads
    for index = 1, #allCons do
        local connection = allCons[index]
        if connection.Delegate ~= nil then
            -- Catch case for disposed signals.
            ThreadAndReportError(connection.Delegate, args, connection.Signal.Name)
        end
    end
    for index = 1, #yieldingThreads do
        local thread = yieldingThreads[index]
        if thread ~= nil then
            coroutine.resume(thread, ...)
        end
    end
end
#

its just FastCastRedux, an open sourced raycasting library

white linden
#

what is wrong with my home pageπŸ’”πŸ’”πŸ’”

static coral
silent niche
#

guys how much it would cost me to pay someone to make me a ball script like blue lock rival for my blue lock game ?

white linden
#

guys is this code efficient on detecting if a player is playing from a computer or mobile????

shy cipher
#

damn these scripting commissions are barely paying

weary gazelle
#

does anyone have scripting experience and tryna partner up ?

jolly marsh
#

local

stable olive
#

Can someone help me make a timer, a clone spawns every 30 seconds and I want a ui to display the timer for me but no script will work, I have done many things but they never sync...

local countdownTime = 30

while true do
    local currentTime = os.time()
    local timeLeft = countdownTime - (currentTime % countdownTime)

    textLabel.Text = "Next Clone In: " .. timeLeft .. "s"
    task.wait(1)
end```
somber vault
north kiln
north kiln
shy harness
#

json? why json?

tulip agate
#

Anyone need a discord serv for their comms? HMU!

shy harness
#

i know for rbxts you need types, so that would be cool but it already exists (though it kinda sucks)

#

but why json

north kiln
#

Hm.

shy harness
#

hmm

north kiln
#

Or is that just for Rbxts?

#

πŸ’”

shy harness
#

idk

#

no that's all rojo

#

does default.project.json give you access to instances?

shy harness
#

ngl i thought it was just for putting your scripts in places

#

ohh you want to put scripts under instances

north kiln
#

Also, to avoid Rojo's habit of just deleting instances which aren't referenced/mentioned in the said .json file.

tulip agate
#

Anyone need a discord serv for their comms? HMU!

shy harness
#

it does that?!

north kiln
timber parcel
#

Hi there,first of all i wanted to say that don't make my fun cuz of this spammer thing.

Anyone here can script a game like grow a garden??

north kiln
#

That's why I made that plugin.

shy harness
#

ok yeah that's cool then i like it

north kiln
timber parcel
shy harness
somber vault
north kiln
#

I think.

shy harness
#

ngl i wish rojo synced back and forth so you could just yeah

#

i wonder can rojo put in like custom models

north kiln
#

If that's what you meant.

shy harness
#

trying to think of all the things that are studio exclusive

#

animations? model import?

pearl blaze
#

How can I be sure when I'm looping trough folder there will be module scripts on client?

#

What if not all module scripts replicated?

hasty oak
#

just use rbxm files

oak solar
#

Nope. Testers and scripters are two different roles. Scripters often test their own code while testers often try to exploit the code to see if the scripter has overlooked anything. This can then be reported back to the scripter to be fixed.

guys is it true because thats what a scripter im trying to hire said

hasty oak
dire zephyr
#

Is using chat gpt to help me script ok? I’m moderately good and can use module scripts and make semi advanced systems by myself at my current skill level

lost pebble
icy dew
#

So it's best to have a team of testers play a game before release

night drift
#

what should i try making all i know is the basics

empty mulch
#

I did all sort of stuff like that in the beginning

night drift
empty mulch
#

Sh no one's buying from you

terse sinew
empty mulch
terse sinew
#

What channel

somber vault
#

any1 know what there doing with handling moon animator cutscenes and rigging it

hazy willow
#

If anyone can fix some bugs for my β€œSteal a” type game message me, will pay.

hasty oak
#

im right

#

localscripts are the last to run

#

modulescripts are already loaded by then

nocturne solar
#

Guys, let’s say I’m making a game that needs to save lots of data and information for each player and each player is storing lots of data; is profileservice the way to go?

next latch
#

Alternatively with something like rbxts-build, you can further automate this process by just saving a .rbxm files or even asset place files in your repo and have lune scripts to generate these types

shy harness
#

ghost ping :(

#

i was reading that

next latch
#

I got blocked for posting link

#

Rojo syncback is available in UpliftGame's fork, which is supposedly going to be merged sometime this year, but who knows, you can try it out at

shy harness
#

oh lmao

#

ohhh coooool

next latch
#

check out github UpliftGames/rojo

lost pebble
hasty oak
#

if its a regular local script

#

you shouldn't really use replicatedfirst anyways

lost pebble
#

wdym "regular"?

hasty oak
#

not replicatedfirst

#

cuz it has special replication priority

lost pebble
#

are you talking about just modules loading before local scripts?

inland totem
#

guys how important are functions

lost pebble
#

oh. i took it as everything replicating before local scripts. you might be right in that case then. it might still depend on the location of the two though

lost pebble
hasty oak
#

otherwise my statement is correct

static coral
lofty plinth
#

The only function you need is the function to drink coffee all day and night

trim raft
#

Is there a server for gamejams?

copper apex
coarse parcel
#

There are 2 types of devs:

Devs that use first and devs that use second one

molten plinth
full thistle
#

This maybe a really stupid question, but how do u use OOP in like an efficient way

#

Many times, my code gets pretty complicated with OOP

#

And I always have to call .new() for classes

fluid vale
#

Hicksville

#

Fuchsia

craggy tartan
#

does anyone know any open source games with good code i can look at ?

wise turtle
#

roblox-ts

#

skiddin

silver verge
#

structure is something to learn from regardless

wise turtle
#

πŸ€“

#

i made better version of littensy's charmed icons

visual jungle
#

Does anyone here know how to do rank binds with bloxlink?
(I need to be taught or I can pay abt 300 robux if you do all the rank binds)

chilly canyon
#

Wow you're so hot in here babe

crude crater
#

can someone explain the benefits of using rojo as an indie dev?

lone rain
#

scripting is so easy

#

parihsz typing up a storm

#

let it all out

wise turtle
#

i got lazy

wise turtle
sudden estuary
#

stop framing my boy lebron

tiny surge
#

does a LinearVelocity always have a delay?? its very noticable whenever I use them

sudden estuary
#

@ember nimbus why heart broken arvid

#

you a lebron framer too

ember nimbus
# sudden estuary <@322819588528144394> why heart broken arvid
wind crown
sudden estuary
#

it doesn't really matter for non physical instances

#

which is why i said here

ember nimbus
sudden estuary
#

thats a value base instance, changing its name/value after parenting doesn't impact performance

sudden estuary
#

no

tiny surge
tiny surge
sudden estuary
tiny surge
sudden estuary
#

yea its likely a replication delay

#

and theres a post about it

#
#

but its marked as solved

#

you could just do the visual in client

crude crater
safe sail
#

Anyone want to test my game for me

north kiln
left reef
#

This is the first episode and beginning to become a Roblox Scripter/Game Developer! With 3 playlists (Beginner, Advanced, GUI) containing 50+ videos and 30+ hours of content, I will guide you through this journey to start making the games you want to create on Roblox!

DISCORD πŸ“œ
Join my Discord Community if you want scripting help, participat...

β–Ά Play video
#

is this the best series for learning scripting?

somber vault
left reef
#

i want a tutor lol is there any good ones i can pay a good amount

somber vault
#

you should try doing the objectives at the end
they really help

#

don't focus on just the video and test out what you learn ig

clever shale
#

I have told the code i have for leaderstats to get my id, how do i call it?

tepid mulch
left reef
#

and

#

can you actually teach

tepid mulch
tepid mulch
#

I'd prefer to do it in vc though, I'm a more hands on person

left reef
#

or have you

tepid mulch
left reef
#

how long would you teach for

#

or ig depe nds

tepid mulch
#

4 hours max I guess

left reef
#

bro what

#

4 hours for the entirity

tepid mulch
#

Oh I thought you meant per session

left reef
#

and how much

tepid mulch
tepid mulch
left reef
#

$5 per hour lmao well yeah

#

im just trying to learn how to make my own game that ive been working on

#

and will pay more if its good

tepid mulch
#

I can help you with learning the programming concepts related to your game

#

We can take this to dm's if you want

west yacht
#

dont fall for it naps

left reef
#

why lol

west yacht
#

hes trying to manipulate you

#

you are better than this

left reef
#

to pay him $5

tepid mulch
#

How..

#

I'm offering him my services that he asked for

west yacht
#

hes not gonna scam u

#

hes with me

left reef
#

what

tepid mulch
#

I don't even know you

west yacht
#

see i tried helping u

tepid mulch
#

Anyways, if you want to gauge my teaching, we could do a 30 min session free of charge

#

And if you still want to continue, we can start from there

safe sail
#

anyone want to test my game for me

tepid mulch
#

Just ping me

left reef
#

tomarrow

tepid mulch
#

What's your timezone? Mine's in GMT+8

left reef
#

est

tepid mulch
west yacht
#

whats a good youtuber to watch after i finish these basic scripting tutorials

#

help me plumbow

#

im sorry

left reef
tepid mulch
left reef
#

@west yacht ill pay for your tutor session with plumbow

#

can dinklebob join?

tepid mulch
#

I mean if he wants

west yacht
#

no neeed

left reef
#

why

#

come join

#

listen to professor plumbow

west yacht
#

im probably not going to be awake

left reef
#

what timezone

west yacht
#

est but i just woke up

#

πŸ’€

left reef
#

ok

#

ill wait for you

tepid mulch
#

What time are you guys usually awake?

#

So I can set up a time for us

left reef
#

3:33 AM

#

i then sleep the next minute

tepid mulch
#

Why not start the freebie session now?

left reef
#

sleep

tepid mulch
#

Oh makes sense

left reef
#

i gotta wake up at 3

tepid mulch
#

How does 12am EST sound for you?

white nova
#

whats a cameratype thats like track but ur not able to move the camera ( camera rotates as part rotates )

tepid mulch
#

You'd have to make the camera rotate along with the part using runservice though

real hearth
#

mango

somber meadow
safe sail
#

Anyone want to test my game for me

white nova
#

why cant i fireclient my remoteevent

lone scroll
#

Anyone have a cooking system ?

somber vault
#

which is bit reasource intensive

blissful rain
#

why are my punches only client sided and not server sided

#

im new to ts

somber vault
somber vault
blissful rain
#

plz help man

#

been on this all nigth

#

night

hasty oak
glass maple
#

Can someone help me fix a bug in my game?

hasty oak
#

ts = this

white nova
#

how to increase render distance

scarlet sparrow
#

How do you make a code that saves items in the backpack but also items in your hand for when you leave and rejoin?

coarse parcel
scarlet sparrow
#

Thx

dull bone
sage zodiac
#

hi guys im a coder

pure furnace
gray escarp
#

how do you ensure you dont get scammed out of percent based payments?

gray escarp
#

like if you get 20% of a game promised to you is there a way to ensure you dont get scammed

#

like a roblox feature

viscid finch
#

To people who got scripting role: i applied but Idk if it'll get accepted or denied. Do you think having very simple projects and not being really all thata experience will lower my chances of acceptance

slender cairn
#

is there server for OS animations like roVFX? but for animations

sudden estuary
rain smelt
#

local Players = game:GetService("Players")
-- For Stats
Players.PlayerAdded:Connect(function(plr)
    local leaderstats=Instance.new("Folder")
    leaderstats.Name="leaderstats"
    leaderstats.Parent=plr
    coinvalue=Instance.new("IntValue")
    coinvalue.Parent=leaderstats
    coinvalue.Name="Coins"
    coinvalue.Value=0
end)
#

is there any error here?

hallow crag
rain smelt
hallow crag
#

instead of making it a global

rain smelt
rotund knot
vital bear
#

can anyone help me out why is it doing this?

weak radish
rotund knot
weak radish
#

I think you meant to name it Replicated storage since it would then work..

weak radish
rotund knot
#

yo if ur gonna use ai to code atleast use a good one 😭

weak radish
#

chatgpt tends to name services exactly what they're called

rotund knot
#

gpt is so ass

rotund knot
weak radish
vital bear
rotund knot
vital bear
weak radish
weak radish
rotund knot
vital bear
weak radish
weak radish
vital bear
weak radish
#

I hate the 50% of non/scripters who need spoonfeeding

vital bear
vital bear
#

im so cooked

weak radish
vital bear
weak radish
vital bear
#

%?

#

fair

weak radish
#

% is ass

hallow crag
#

it

somber vault
hallow crag
#

look at those comments bro

somber vault
#

its so messy its so hard to read

somber vault
rotund knot
mellow umbra
#

but it was a genuinely funny script ty

hallow crag
mellow umbra
#

if he is, then πŸ€·β€β™‚οΈ

somber vault
#

they already helped

fickle wedge
#

i spent way to long on a simple code

hallow crag
fickle wedge
#

u see now that u responded

#

i gotta show u the code

#

or what i did

hallow crag
#

okay

fickle wedge
#

i LOVE ui scripting

somber vault
#

were you debugging or something

fickle wedge
#

no just scripting ui

#

im still a beginner in it

hallow crag
#

and send ss of ur code

fickle wedge
hallow crag
#

thats takes like 10 mins max

fickle wedge
fickle wedge
somber vault
#

for me its 5mins

somber vault
fickle wedge
#

its ok tho ima be a pro soon

#

once i learn how to fix ui scripting bugs

#

im locked in

hallow crag
steel hinge
fickle wedge
fickle wedge
hallow crag
steel hinge
#

chatgpt is so bad

somber vault
#

yeah it triggers epilepsy

steel hinge
steel hinge
fickle wedge
merry zenith
#

Do you guys recommend to start scripting?

somber vault
#

bruh that's the purpose of this server

somber vault
hallow crag
steel hinge
stiff ibex
#

guys stupid or not stupid (pls let it be stupid)

winter glade
#

lets you build a very versatile skill

somber vault
stiff ibex
somber vault
#

you are that's clearly 0

stiff ibex
#

0 is you

#

0 is everybody

somber vault
#

what philsophy is that

stiff ibex
somber vault
#

zerology?

stiff ibex
merry zenith
somber vault
stiff ibex
somber vault
stiff ibex
hallow crag
#

?

proper veldt
#

if you pass an instance to the server side from the client side, does the instance change to the one on the server side?

hallow crag
proper veldt
#

its a player gui so it should work then

urban quarry
#

Scripter needed for a VAR system, robux only

hallow crag
#

why are u tryna pass a player gui from the client to the server

proper veldt
#

bc the gui has to do with purchasing smt with in-game currency

hallow crag
proper veldt
#

Exploiters can change the price associated with in from client side so I have to do it from the server side

hallow crag
#

lol what

#

no

proper veldt
#

So you want me to only deduct the amount from the server side

#

I mean I can do that too tbh

proper veldt
#

I'll just fire the ui instance to the server and check to see if the player has enough for it

hallow crag
#

purchaseButton.Activated:Connect(function()
     remote:FireServer("Test")
end)

-- Server

local Prices = {
    ["Test"] = 10
}

remote.OnServerEvent:Connect(function(player, itemName)
    if not itemName or typeof(itemName) ~= "string" then return end
    
    local leaderstats = player:WaitForChild("Leaderstats")
    local currency = leaderstats:WaitForChild("CurrencyName")

    local itemPrice = Prices[itemName]
    if not itemPrice then return end
    
    currency.Value -= itemPrice
end```
#

i would do something like this

#

the prices are completely serversided

proper veldt
#

Ty

hallow crag
#

oh yeah and dont forget to check if the player has enough

#

u would just do if currency.Value >= itemPrice then

proper veldt
#

Oh yeah ofc

#

The problem is that I was just running the whole thing from the server-side via a remote event to prevent exploiters from bypassing in any way

#

I'll just verify the prices alone now

hallow crag
#

just secure ur remote events on the server thats all

proper veldt
#

Alr

hallow crag
#

and dont pass itemPrices into the remote event 😭

#

just store them on the server

proper veldt
#

They're on the server

hallow crag
#

yeah ik i was just reminding u

proper veldt
#

Ty man

rain smelt
rain smelt
warm barn
#

guys can I get some ideas for vfx scripting😭 ? Idk what to do

wise turtle
#

what’s wrong

rain smelt
hallow crag
#

i recommend cleaning up ur code a little bit

#

studio has a built in format button

near quarry
#

how to fix pls

#

code :

local MessageService = game:GetService("MessagingService")

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local GlobalSymbol = ":g"

local allowedUserIds = {1251710945}

local MessageFilter

local function Permission(player)
for _, userId in pairs(allowedUserIds) do
if player.UserId == userId then
return true
end
end
return false
end

game.Players.PlayerAdded:Connect(function(player)

player.Chatted:Connect(function(message)

    if string.match(string.lower(message),string.lower(GlobalSymbol)) and Permission(player) then

        message = string.sub(message, 3, 30) 
                    
        pcall(function()
            MessageFilter = game:GetService("TextService"):FilterStringAsync(message, player.UserId):GetNonChatStringForBroadcastAsync()
        end)
            
        
        if MessageFilter ~= nil then
            local msgData = {Player = player.Name,Text = MessageFilter}

            MessageService:PublishAsync("TextLabel", msgData)
        end
    

    end
end)
MessageService:SubscribeAsync("TextLabel", function(AllData)
    
    local Db = false

    local messageData = AllData.Data
    
    local AllCharacteristics = {messageData.Player,messageData.Text}
    
    ReplicatedStorage.MessageServer:FireAllClients(messageData.Player,messageData.Text)

    
end)

end)

#

pls help someone

#

am dumb

vital parrot
#

How do I turn this into Velocity math?

#

its created with cframe so I want to be using velocity for the throwing part

hallow crag
hallow crag
pearl blaze
#

Can someone experienced help me to make Instance extention?

#

I want to merge my class with instance

vital parrot
#

that I know of

hallow crag
vital parrot
#

But does it do bezier curves?

#

that part is important

hallow crag
#

yes it will create a curve

near quarry
vital parrot
near quarry
#

I just make tower defense abilities and gimmicks 😭

vital parrot
near quarry
#

bobux

#

via gamepass

rain smelt
vital parrot
#

100 robux is nothing to me I used to make 800 a day for nothing

near quarry
#

haha

pearl blaze
#

You can't use :Destroy() tho

near quarry
#

im serious ill give u 900

pearl blaze
#

And I need to get both properties from an instance I'm extending and use methods

vital parrot
near quarry
#

pls

hallow crag
#

why are you using oop here

#

its not needed

pearl blaze
#

This is just an example of my extension example

#

Wait

hallow crag
vital parrot
#

but then he wants to pay me a small amount for time I dont want to waste on something so simple

brisk aurora
#

Guys could I get some help for this error pls

#

First time trying to do a knockback system

hallow crag
#

theres no character definition in that code

#

oh nvm

#

mb

hallow crag
vital parrot
#

so we know where the error is

hallow crag
#

hes doing game.Players.LocalPlayer on the server

#

😭

brisk aurora
#

didn't fit in one screenshot sry

hallow crag
brisk aurora
#

ok

jolly spruce
#

Guys does anybody knows why my module script dosent work

brisk aurora
vital parrot
hallow crag
vital parrot
jolly spruce
vital parrot
#

np

brisk aurora
#

doesn't do anything

hallow crag
brisk aurora
#

nope

jolly spruce
brisk aurora
vital parrot
#

ill help you out real quick

brisk aurora
#

oh thx

hallow crag
brisk aurora
#

it's alright fellas

#

Seith is the GOAT

viscid finch
vital parrot
#

this channel is for discussing how you'll code something

#

the other channel #code-help is where you post your code

final harness
#

Guys yk how to script a digging system?

#

Help

#

If anyone has a tut for it smh

viscid finch
urban sail
#

Selling an unused slap tower game with a good gimmick for robux.
GUI is done
Scripting is done
Logo and thumbnails are also done

winter glade
#

πŸ—£οΈ

vital parrot
urban sail
#

not you, but the kids would smh

foggy plinth
urban sail
somber vault
foggy plinth
somber vault
#

or grow a garden

urban sail
#

its not the same

#

it has a different gimmick

foggy plinth
urban sail
#

it's called the flamin slap tower, you burn.

#

if you don't complete it in 10 minutes

jovial falcon
#

anyone need a simple script? ill do it for 200 robux

foggy plinth
urban sail
#

in the first place I don't have the time to handle the game even if I want to, my vacation ends tmr

somber vault
#

make it with kicking

vital parrot
#

Is anyone here advanced and know meta tables and Projectiles/Bezier Curves? I need to ask them a question

urban sail
alpine notch
#

lol

vital parrot
# rotund knot what exactly r you gonna ask

do you know how to do smooth projectiles? I'm doing a throwable object and I dont want to use fastcast I want to code this myself I understand everything needed to do it but I'm not sure if I should create the projectile on server and setnetworkownership or fire to all clients to create the projectile and just do checks on server. I'm using it for a bezier curve for throwing an object

#

rn im testing both ways to do it and it would be easier if someone knew the best way and just told me

rotund knot
vital parrot
#

I dont really need to simulate verify it on server because I'm thinking ill just need to check their radius when they throw the object to make sure its in range

rotund knot
#

oh thats more simple

#

hold on

rotund knot
#

i havent worked with projectiles much, mostly going off with what I know from documentation

vital parrot
#

bezier tween will be best or should I use velocity?

#

because I think I can do this with velocity as well with each point

rotund knot
#

if you want an arcade-y feel go with bezier tween

vital parrot
#

what is the difference between bezier tween and a bezier velocity?

rotund knot
#

both are good options, really just your preference

vital parrot
#

alright ill have to test both maybe but ill try this

rain charm
#

does anyone know how to remove a background of an effect as a screenshot?

next hull
#
    local totalWeight = 0
    for _, v in pairs(boxes) do
        totalWeight += v.weight
    end
    for _, v in pairs(boxes) do
        v.weight = math.floor(v.weight / totalWeight * 100)
    end
``` is this inefficient
#

cant think of a better way to turn some values into weights

vast maple
#

hey guys im pretty new at coding why wont this script detect if the victim player is blocking (holding f)

vital parrot
next hull
#

huh

vital parrot
#

just do in boxes do

next hull
#

wait what

#

when

#

ive been using for iv in pairs for so long why do i not know this

vital parrot
#

It's not offically deprecated atm actually

next hull
#

noooooo

vital parrot
#

but it's recommended to do it the new way

next hull
#

for i,v in pairs my beloved

#

ngl i never found out what ipairs do

vital parrot
#

the new way

#

you dont need it

next hull
#

whats the new way called

#

gonna go find ze documentation

vital parrot
#

for Index, Box in boxes do

end

next hull
#

straight up in the table?

#

dayum

#

bracket not needed either?

#

dayum

vital parrot
#

if boxes is a table already then you dont need anything else

next hull
#

im assuming a table with key value pairs count?

vital parrot
#

any table counts

next hull
#

nice

#

u know

#

ive completely underestimated how hard it is to be a game dev

#

gotta know UI, coding, 3d modelling, vfx and animations

vital parrot
next hull
#

sigh

#

gonna take a while ngl

quiet stone
#

is this script works (teamCheck) script
(im bad at scripts i dont know what should i do if u can fix the script ill be really happy)
local player = game.Players.LocalPlayer
if player.Team == 'YourTeamName' then
print('Yes, player is in that team')
else
print('No')
end

vital parrot
next hull
#

so far id say im 20% on UI, 50% on coding, 50% on 3d modelling, 1% on vfx and 0% on animations

vital parrot
#

animations and ui aint that hard though

next hull
#

not looking so good

#

ye but it takes some time getting used to

#

picked up figma recently

#

still quite not used to the controls yet

next hull
#

animations i have no idea

vital parrot
#

im not into animating but its not hard im just not good at making good animations

next hull
#

i think i have to learn rigging first

#

blender my beloved

vital parrot
#

there is a rigging plugin I believe

#

that is real easy

next hull
#

nice

true fern
true fern
copper apex
vast maple
true fern
vast maple
#

oh yeah uhm

true fern
hallow crag
vital parrot
hallow crag
vital parrot
#

yeah

#

I thought they were deprecated at first

#

then looked it up and noticed I was wrong

hard adder
#

how can i do this: removes part of a terrain and the better the axe, the more terrain it removes. also add a gem spawn with different rarities and chances of showing.

severe panther
#

how can i prevent players from tab-glitching

glossy wave
severe panther
#

yes

vital parrot
#

Didnt know that was a thing till now

#

I need to fix that for my game as well

vital parrot
viscid finch
#

Guys do you think learning time service would benefit me as a beginner?

vital parrot
#

time service?

viscid finch
#

Time.tick and time.os

#

Idk if it's a service

vital parrot
#

tick(), os.clock(),os.time()

viscid finch
#

Yeah those

vital parrot
#

its not a service though

viscid finch
#

My bad

vital parrot
#

os.clock and tick is pretty useful if you want everything timed correctly

#

like projectiles

#

like Projectiles * dt * speed

vital parrot
#

those are the main 3 things to learn to being a pro

#

but if that's too hard go lower and keep practicing remotes

viscid finch
silver verge
vital parrot
#

I didnt say it was

#

who said it was??

silver verge
#

then why is that your example

vital parrot
#

good point

#

it's still something similar os.clock as the starttime and then subtracting it with another os.clock to get the time difference

silver verge
#

that would just be a delta

vital parrot
#

yes dt

silver verge
#

different from dt passed by runservice lifecycle functions

#

theyre diff concepts but yeah

#

tracking your own time differences vs deltatime passed from those

vital parrot
vital parrot
#

thanks

vital parrot
#

I noticed I could of done a lot better

coarse parcel
vital parrot
#

yeah I dont like messy code I recode a lot

#

if you got 1.7k lines there is something wrong lol are you using modules?

#

gotta keep it organized

viscid finch
vital parrot
#

I used to get 800 or so robux each day from my own games and they wasn't that good at the time

#

I have trouble finishing most of my projects but I'm trying to fix that. My current game is almost finished

viscid finch
coarse parcel
vital parrot
viscid finch
#

Have you personally turned this into a full time?

vital parrot
#

I'm hoping to put out a few projects all of my dev friends has games with over 100 people on them

#

so hopefully I get some soon I need sponsor money for my games atm so it might be awhile till I can actually get anywhere

covert olive
#

any1 know how to script profilestore? i need help making the inventory of the plr save

vital parrot
#

the current one is kinda like spleef

#

you collects coins and then use them to buy traps and weapons

#

with falling platforms of course

weak radish
#

Those things aren't anything extremely difficult either

#

So maybe best not to brag

vital parrot
#

Im not bragging all I said was I can code anything

#

Doesnt meen I can code a full game

weak radish
vital parrot
#

and those npcs are using raycast on server to control movement

weak radish
#

"I can code anything" "Except some stuff..."

vital parrot
#

it's more difficult than you think