#code-discussion

1 messages · Page 99 of 1

vocal vortex
#

havent thought of that

#

ait thanks i get it now

fossil echo
#

Hey guys I’m kinda stuck right now I learned the basics of coding and I don’t know where to go from their k know their is a lot more to learn but where should I go to learn it and where do I go to learn the terms and stuff used for scripting like variables and stuff I’m just so lost and don’t know what to do

hallow crag
#

jk umm

#

just read docs

#

and api refs

#

and practice a ton

fossil echo
#

Where are the docs at

hallow crag
vale trench
#

Hey!✋ Welcome to 🌟GameDeveloperStudio🌟 we are a new Dev Team that want to create unique expiriences

Currently we are making a footbual game like rf24

We need:

1)Scripters 1/3💻
2)Modelers 1/2🧱
3)Builders 0/2🛠️
4)Ui designers 0/2
5)Animators 1/2

Thats all! if you are interested dm me ill give you more information and introduce you to the team!

tired rampart
#

any scripters can do a gun system 1:1 to rivals for 750k (not for me for a friend)

tired rampart
umbral carbon
tired rampart
#

aint gonna send all infos

#

to someone who say i dont got 750k

umbral carbon
tired rampart
umbral carbon
#

Ain't nobody trusting you for 750,000 Robux

#

You'd need a legal contract

empty wind
#

i trust him

#

give me 750000 robux

#

now

stark robin
#

I have achieved it win ❤️‍🩹 🌹
I am tim apple

umbral carbon
#

Mr. Fire

#

There are more than 5,000 students

stark robin
#

the new apple ui

#

ios26

wide socket
#

oh k

umbral carbon
#

Oh look squid game trailer just released

wide socket
umbral carbon
#

What does "binge" mean?

wide socket
#

?

wide socket
#

like getting in the zone

umbral carbon
#

Cool

umbral carbon
wide socket
fossil echo
wide socket
#

💀

umbral carbon
fossil echo
umbral carbon
#

That's good too

light pollen
fossil echo
umbral carbon
#

I just practiced

#

And followed some tutorials

fossil echo
#

Okay

light gulch
#

can someone help me on how to make a punching system

patent night
#

Thank you

rugged island
#

its not a decompile its legit from scratch

ruby cipher
silver swift
#

i've done bigger deals never signed a contract with my clients

#

just work with established developers

#

not some random guy off the street promising to pay you alot for some sketchy project

zenith plank
#

send me your friends username

#

is there a contract or some sort of down payment?

leaden junco
#

Grow a Hatchery is looking for devs!
Grow a hatchery will be a game like grow a garden but instead of buying seeds you buy eggs which can hatch into cute pets!
you can also buy items such as cushions which you can place in you're plot and earn more money from you're pets! if u don't like a pet you can also sell it for more money!

ui 0/1
scipters 0/1
builder 1/1
Modeler 0/1
payment: 15%to each dev

#

dm if interested

zenith plank
#

no

icy gale
#

I love creating new problems for myself by fixing old problems

keen juniper
uncut mirage
#

yo can someone tell me why people use "hit" in all scripts that relates to the players character

astral lava
#

I have a scripter friend and when he shows his code to me, I see Waitforchild()

Seeing it in others codes, I wonder. What does it do actually? It's used alot so it seems useful

fiery oak
#

how do i script a rounding system for a tic tac toe

#

vaguely

broken minnow
#

go ask chatgpt

fiery oak
#

i dont think chat gpt is capable of doing that

#

I,ll try to figure it out ig

empty wind
#

hello everyone, why does getasync return nil while getsortedasync returns data from the same datastore? i deleted the data from it -_-

peak sphinx
digital prism
#

are coroutines used often?

odd lantern
#

lil late 😔

somber vault
#

@quiet stream dms

glacial kestrel
#

any serializers you suggest?

#

im looking for some

#

instancestore is iffy

#

doesnt save the useful stuff i want

#
#

this looks promising but ive seen some criticism

keen juniper
#

Does an instancestore allow u to save objects?

glacial kestrel
#

its a module 😭

#

that yes, converts instances into tables

#

which then can be stored in datastores by turning it into a string with json encode

keen juniper
#

couldnt u make your own?

glacial kestrel
#

thats not how it works 😭

keen juniper
#

damn.

glacial kestrel
#

i mean technically i could make my own serializer

#

but thats

#

not something i want to do today for slop 😭

#

slop game

keen juniper
#

slop game 😭 ??!??!?!

slender yew
#

so for some reason a local script that handles firing an event and updating the player sounds doesnt work after I reset my character, anyone know why?

umbral carbon
#

Tung tung tung tung tung tung tung

zenith night
#

someone gift me elevenlabs subscription plz

spice summit
#

totally normal lighting

real zealot
#

why are they so popular

umbral carbon
#

Because of kids

wide sparrow
#

what even happens

#

like whats the game even about

dim moss
#

yo guys im working on a game now its like a rivals game but with a twist how hard is it actually to script the game ?

real zealot
umbral carbon
#

It might be inspired by "Grow A Garden"

real zealot
#

offline earning only returns players

#

but whats the point of even playing if you can join once and come back a few months later

#

unless they added a cap to it

#

most games i’ve seen haven’t had a cap to offline earning

wide sparrow
#

yeah you probably get a lot of players immidiately but then slowly lose retention

#

like yeah they'll come back to check, buy something, put it down, and then come back later

forest sky
#

whats the best way to dectect if player is touching something

wide sparrow
#

if you want to be simple use .touched

#

but be aware its going to fail with anything more complex than static parts

vestal pumice
#

Query is provably the easiest

real zealot
#

isnt it part.Touched:Connect (function()

vestal pumice
real zealot
#

forgot it was that simple

vestal pumice
#

Roblox makes coding so much easier

tardy badge
#

yeah

#

it's like teaching kids coding

dark juniper
#

Is it ok to have particle emitters on the server that are disabled

#

Then emit them on the client

#

Or should server sided particle emitters be completely avoided

real zealot
#

if you’re thinking about adding a setting to disable particle emitters on the client side then do it locally

forest sky
dark juniper
#

Oh nvm

#

No but like

real zealot
dark juniper
#

Can I have the instance on the server

potent pike
#

Where do I insert the WaitForChild command? Whenever I place it somewhere the script breaks

dark juniper
#

Or not

real zealot
#

it’s flexible

dark juniper
#

Ok thanks

real zealot
#

you can either disable it server side or locally

potent pike
heady jetty
#

anyone got my situation

#

i want to learn scripting but anytime i try to learn it,it gets boring

real zealot
#

local camFolder = game.Workspace:WaitForChild(“Cameras”)
local camera = game.Workspace:WaitForChild(“CurrentCamera”)

#

do you have camera under the camfolder or do you have it just in the workspace

vestal pumice
vestal pumice
real zealot
forest sky
gilded pecan
#

am I correct to say that in the big 25, pairs and ipairs don't have to be used anymore?

vestal pumice
potent pike
#

But where do I place it in the script? @real zealot

forest sky
vestal pumice
real zealot
forest sky
vestal pumice
potent pike
real zealot
#

with what i put

forest sky
forest sky
real zealot
vestal pumice
real zealot
#

its good if you’re using it to find references to what you’re trying to put inside of your script

vestal pumice
forest sky
potent pike
vestal pumice
real zealot
potent pike
#

Code stops working

forest sky
#

only 100k

rotund ore
#

Fair

vestal pumice
#

how did you get that much

forest sky
real zealot
#

so that i can atleast replicate the steps

forest sky
vestal pumice
#

thats actually insane

real zealot
forest sky
#

i guess bro didnt see

potent pike
real zealot
vestal pumice
forest sky
#

not really

vestal pumice
#

bros from a rich family 😭

forest sky
#

not even

#

just lock in and make 1m a day

#

simple

potent pike
#

he fraud being a developer for 9 year olds

forest sky
#

huh?

potent pike
#

yes

forest sky
#

what does that mean gang

potent pike
#

You scam 9 year olds telling em you are a pro developer and use self made assets

forest sky
#

nice one

vestal pumice
forest sky
#

like my one thats still in production?

vestal pumice
#

yeah

forest sky
#

alr hold on

#

i sent link in dms

delicate ferry
#

Could someone mentor me in scripting?

forest sky
#

dont even need tutors

delicate ferry
#

No one there mentors in scripting lua

forest sky
#

just use ai

delicate ferry
forest sky
#

goodluck then

vestal pumice
#

you dont really need a mentor

delicate ferry
#

I mean I don't need one I've been learning pretty good from scripting videos

#

and the docs

#

but a mentor could help you learn faster and better

forest sky
#

its gonna cost you then

patent night
#

I'm currently watching brawldev's playlist on learning how to script, does anyone understand where the otherpart argument comes from?

fiery oak
#

its pretty much the part that connect the function of the touch event so he using it to get the Humanoid(he takes the part and then gets its parent which is your character and then find the child of it "Humanoid") using -- otherpart.Parent:FindFirstChild("Humanoid") from it to then reduce its health to 0 and kill the character hope im not mistaking and making sense

#

try to look in players into your character and its children to understand better

patent night
#

okay i got it thanks

icy jasper
#

Can someone help me configure this, i need to add my group ID and my brick color and I cant figure it out, im a modeler so I have no scripting experience

final prawn
#

Quick question if u put streaming mode to default, and lets say ur rendering a map thats 3000 studs away but the client cant physically see the map but its still in the render distance will it still stream the models or na

rapid gyro
#

is it decent?

#

i made idle animation too

delicate ferry
#

Could someone mentor me in scripting

prisma chasm
rapid gyro
lapis wraith
#

ok so i know pretty much the basics of lua roughly how everything works but i dont know what to do next like ive watched fundamentals video on like strings etc. does anyone have advice on what to do next??

gray mantle
fiery oak
gray mantle
#

huh

fiery oak
#

Just

#

Tried explaining according to my knowledge

gray mantle
#

👍

#

updated your knowledge hopefully

fiery oak
#

Yeah I think I understand it

somber vault
#

😱

lapis wraith
somber vault
gilded stag
#

why is this not working

#

i should probs send the entier code

somber vault
somber vault
gilded stag
#

im doing that

#

everything works except the pcall bit

somber vault
#

at least yeah the second bit lol

somber vault
#

I was looking on forums and I think you only need pcall if its before the startergui has loaded.

it should work without it prob.

'**game:GetService("StarterGui"):**SetCore("PromptSendFriendRequest",otherPlayer)'
https://devforum.roblox.com/t/prompting-friend-requests/3095864/2

pcalls
examples
https://devforum.roblox.com/t/pcalls-when-and-how-to-use-them/393687
understanding pcalls
https://devforum.roblox.com/t/what-is-a-pcall-function-and-how-do-i-use-it-and-when-should-i-use-it/1710582/5

spice summit
jade marlin
alpine ember
#

guys what is the best way to start scripting in LUA. i know OOP

jade marlin
#

I started by watching youtube tutorials but you could also check out the roadmap in the pinned messages

weak tundra
#

yo

#

do you know an effective way to send data from the client to the server not using remotes

#

i have a lot of npcs that are being moved on the client and i need to send their position to the server

jade marlin
#

Do you Mind explaining how your game works a bit

weak tundra
jade marlin
#

maybe you can send the end position only thru the remotes because apparently remotes are the only way to send data, idk of any other way

weak tundra
#

ah

#

remotes make the average ping go from 50 to 2,500

#

when 1,000 npcs are spawned

jade marlin
#

You can also try modules that serializes data before it is sent through remotes

weak tundra
jade marlin
#

Packet, bytenet, blink, etc

#

zap also

weak tundra
#

the serialization part doesnt matter

#

its just that remotes are too usage heavy

jade marlin
#

Hmm okay how about your explanation how does the ame work

#

Maybe i could try helping with more context

weak tundra
#

i need to send the current position of the npc to the server

jade marlin
#

If you need to send the current position of the npc to the server you have to update it from the client every tick then I think serializing is the only optimization possible unless you could cut down the usage

#

maybe someone else more knowledgeable than me could find a way that's all I know about it though

naive sleet
# weak tundra i need to send the current position of the npc to the server

handling that much npcs with client to server communication seems a bit much, the server should handle all movement then you can use fire all clients to verify their position. the client can have its own smoothing so the visual aspect is still handled by clients. this way is also better for security

gilded carbon
#

guys i need some help, im working on my game and this is the first time developing but im having a issue that i cant figure out, basically when i open the robux shop ingame it let me purchase the item but it doesnt give it to me, it only gives it to me if i buy it rlly quick. hope someone can help me have a great day!!

naive sleet
gilded carbon
#

thx!!! ill try

weak tundra
naive sleet
weak tundra
plush barn
#

im new to coding and confused about functions, can someone explain?

#

like does it call out a piece of code

#

and runs it

#

thats it?

scenic moon
#

f(x) = x+5
f(3) = 3+5 = 8

#

except this time it's not just for math use

#

but in the wya you put it, yeah

#

user id is 1367816151601512450

patent night
#

Watching brawldev scripting tut, why does he change the leader stats’s parent to player? What does it do?

indigo thorn
#

simplest explanation

hoary cedar
indigo thorn
#

who decided leaderboard data shoudl be named leaderstats?

#

I mean I dont mind

#

but just weird

neat mauve
patent night
patent night
neat mauve
supple spindle
supple spindle
#

so this isnt based off calculations?

patent night
bold smelt
#

someone got a script for showcasing cutscenes in game? ill pay

bold smelt
nova frost
#

guys help im scripting something how do i make it so if you have a role in a group you spawn in a specific spawn point and you have a team i.e: Head staff

sudden estuary
nova frost
sudden estuary
#

no thats used to get the role of player in the group

nova frost
#

can you put like the sample script of what you would put like the whole script that would go in

sudden estuary
#

no

nova frost
#

then how i do

jade marlin
#

It's a pretty simple request so AI could be of help

nova frost
#

i used chat gpt and its not working

sudden estuary
#

you lack knowledge of scripting so its very difficult to help you

nova frost
#

i need it so once the role of the player in the grup it makes teams based on the ranks in the group and spawns for the team

sleek imp
#

g

sudden estuary
#

que

spiral drum
#

yo someone quick math

#

its copying primary part rotation how i make it not copy the y rotation

#

i tried multiplying by new cframe with 0 y but

spiral drum
#

dont help him help me

obtuse narwhal
hoary cedar
#

Ok?

cosmic lava
#

@gentle heart

livid swift
#

this menu, is it package i see it on a few games

honest tapir
#

great menu bro far more better than mine xd

true fern
true fern
true fern
honest tapir
#

is this your game?

mellow prawn
#

why vs code?

#

do u recommend it

#

roblox studio

#

and why you would use something that you dont recommend?

#

why i would use linux?

#

why i would work?

#

why go outside when i can stay inside?

coral oyster
#

show me a video of urself doing it

mellow prawn
#

depends on your pov

void torrent
#

Is making a combat system difficult?

mellow prawn
void torrent
lost pebble
#

there's a setting in studio...

#

in the top bar

mellow prawn
coral oyster
void torrent
coral oyster
earnest sun
#

Only you can see it if you wanna it's in the view tab

coral oyster
#

wanna see mine?

mellow prawn
#

touch grass

#

thats why you need it

coral oyster
#

u will like it trust

true fern
void torrent
true fern
#

um guys we might have lost

#

-86% 💔

#

animations are harder

#

but remote events come after that, you need to secure your remotes, know when something is exploited, and to compensate for ping

#

uh no

#

i'd like to see you try

#

same way that in fps games aimbots and silent aim and such cheats are made

#

remote key system 💔

#

all an exploiter needs is to check your client code

#

and copy what you do

#

it's not hard

true fern
#

we're not talking about script kiddies, i'm talking about people who actually know to exploit

#

which is why remote hashing is enough

true fern
jade marlin
#

whats hidden nils

true fern
#

pretty sure remote spys don't show those

jade marlin
#

ohh

true fern
#

but if you do
nil, "hi"

the nil is shown

#

cuz nobody really uses them

#

i just use my own remote hashing module

jade marlin
true fern
#

bad thing is, it's just a modulescript, so exploiters can see both server and client code

true fern
jade marlin
#

alright

true fern
#

doesn't matter tho, the exploiters can't exploit the server code in any way

#

the client code doesn't really matter either, as you can just require the module yourself

#

which im working to fight against, tho not much luck

#

i use hashed remote paths so people using simplespy are clueless

#

why not?
the server code is not dangerous

#

icba to make this 2 separate modules

#

but better practice would be to put 1 in serverscriptservice and 1 in replicatedstorage

#

this is the server code, it's not dangerous

#

theres not much backend

#

huh

#

this is an example:

#

implemented typechecking aswell, so you can't exploit stuff that i don't want changed

#

but i can also disable typechecking, so anything can go through

#

good luck trying to exploit it

#

so i can pass nil

#

it's not, it allows me to detect nil, nil, "hi"

#

if i did not implement that, i would only get "hi"

#

which would be wrong and might create a false alarm

patent night
#

when grouping objects through model, is there anyway where I can create a new part that will automatically go into the model?

jade marlin
#

is this method commonplace? I wonder how you implement it

jade marlin
#

wouldn't the exploiters still be able to see when you send fireserver(nil nil nil) and stuff

#

because its written in the script

true fern
#

that hidden nils protection is just against script kiddies, until a real exploiter joins

jade marlin
#

ohh rightt

#

what's your opinion on a "key system" that is based on a property of a certain part ingame

#

changes every few secs

#

I had that implemented for a while idk if it's effective

#

how come

true fern
#

nobody cares enough to make a new one

true fern
#

it's like from 2019 im not sure

jade marlin
#

I don't think it'd provide much latency as it's just a few lines but Sure i haven't tested it

true fern
#

i started making one but then got too bored lmao

#

doesn't really matter, all you need is:
spy correct values, such as buffers and nil,
spy what script fired the event, spy what function exactly

#

may i see?
i'm pretty sure mine is better

patent night
#

what changes from having a _ compared to index or just i

true fern
jade marlin
true fern
#

wtf gng

patent night
#

whats the difference between index and _

jade marlin
#

no difference

true fern
#

i wanna see you dump obf code

jade marlin
#

we just use _ because we wont use it in the script

patent night
#

ohh

true fern
jade marlin
#

think of it like a

true fern
#

@cedar moon

jade marlin
#

throwaway variable

patent night
#

and i is used within the script?

jade marlin
#

yes sure

#

_ is the same as i you can name it i or Index or whatever

#

devs just use _ because _ is the common throwaway variable

true fern
#

there you go

#

hidden dumper 💔

#

the dumper's really bad gang

#

mine has == detection, and, not, all metamethods

#

mine is pretty new

true fern
jade marlin
# true fern

I've heard of obfuscators being not performant

true fern
#

but i just gave up on if checks because when i spied their body it was either:
s[a] = s[a] + 1
or some other thing

jade marlin
#

that's why I didn't really ever tried using it

true fern
#

i don't do that

#

i obfuscate the code with a minify option, replace all not with NOT(a), and with AND(a), and so on

#

its not very fast though, which is why you can choose to enable hookop which does what i just said

#

or you can disable it

#

to run the code normally, with metamethods

#

thats what i do

#

i think

jade marlin
#

btw do these exploit prevention prevents the exploiters from running the remotes or does it act as a honeypot

#

what I mean by honeypot is it lets them run it anyway but their users are logged

jade marlin
#

what does it do then

true fern
#

which exploit prevention

jade marlin
#

let's say the nil thing

#

fire server nil thing

true fern
#

but you could make it a honeypot

jade marlin
#

yea but in some cases you'd have to sacrifice security for reliability like ui related stuff

true fern
#

BUTTT any sane exploiter can just block your event from firing

jade marlin
#

in my system the hackers gets no benefit from blocking an onclient however it provides a benefit if they can fire the server

#

as it bypasses the "minigame gui" system i have

true fern
#

@cedar moon Should i add something that makes sure my event isnt blocked?
I could make it so the client fires a remote every 5 seconds to check if remotes are blocked

#

true when you bypass that omega cool namecall detection

true fern
#

what 💔

#

i use 1 remote for everything

#

less fireservers, more organized

jade marlin
#

My current implementation is the aforementioned key system alongside the remote however it isn't necessary to run the remote, it just logs the uid of people who don't send it with the remote

jade marlin
#

this way I can just edit my key system seed generation slightly and log a ton of skids who is using an old script

true fern
#

Player:GetPing()

jade marlin
#

Yeah lowkey I haven't tested it that much but I reckon there is a way to get ping

#

I thought of a system which works theoretically buuuut never really tested it yet so I hope it'd work

#

involves ping math and stuff

true fern
#

GetNetworkPing*

#

oh wow

jade marlin
# true fern thats bad

I couldn't think of any other way, that's why I was interested in that nil thing you guys talked about

#

I might learn it sometime later if the key system I made started becoming a problem

true fern
jade marlin
#

Why is it bad though? I think it is good enough to deter skids

patent night
#

does anyone know how to run your code? i accidently closed it

true fern
patent night
#

i mean see that it actually works

jade marlin
#

ohh yeah I noticed that early on

#

that's why I decided to make the key system unnecessary

#

to run the remotes

#

but I log the players who send it without the key

patent night
#

nvm got it

jade marlin
#

so you'd have no way of checking if your key is right/wrong

#

it's a pretty clever system imo

#

also with the way it's made, I can change the rng at any time I want

#

therefore whenever a script is made and distributed to skids, I can change it slightly

#

the skids won't know they've been detected

#

I've given up trying to make it 100% foolproof so the next best thing is to trap them

raven marsh
#

am bored wut shud i do

true fern
#

they just crack it, next step is to bypass your traps

jade marlin
#

yeah thats why I added the rng thing

#

honestly ion know how smart exploiters can get but I'll probably adapt, this should be good enough for now while I learn of the other methods

wind portal
#

Is it a bad practice for me to make a for loop inside a for loop?

turbid torrent
#

I was about to but then you blocked me.

tender shell
#

it might cause performance issues tho

#

depends on how much stuff you are looping

sudden estuary
#

give

fluid pier
gilded stag
#

i love that

fluid pier
tidal glacier
#

how to fix

tidal glacier
somber vault
young rock
#

Guys what does the FuzzyEq method of a vector3 do?

tidal glacier
#

how to do it then

viscid finch
#

A question to experienced scripters that know how to organize scripts well: Is this a good way to organize scripts? 1 server script that requires all the module scripts for the server's side, and 1 local script that requires all the module scripts for the client's side.

#

do you approve of this style of organization?

wooden hamlet
#

the nice thing is you get to control the order at which all of those module scripts start unlike if you have them all being regular scripts but you can't use stuff like parallel lua

wooden hamlet
viscid finch
#

What do you think is the best approach to organizing scripts?

viscid finch
#

To ensure code readability and efficiency obviously

#

and avoid exploits

#

I have seen someone say this: "I wouldn't go for a modular approach. This is because, exploiters can read modulescripts, unless you keep most of your ModuleScripts in ServerScriptService or ServerStorage, exploiters could probably steal all the scripts in your game, and easily make a copy of your game. So if you are going to use a modular approach, you need to be careful and store ALL server scripts in ServerScriptService."

wooden hamlet
wooden hamlet
visual vector
#

anyone got any game ideas

wooden hamlet
visual vector
#

tysm

wooden hamlet
#
somber vault
#

hi how do i add datastores here?

visual vector
#

anyone looking for a scripter tryna build port

hasty cobalt
jade marlin
#

yeah that's what Im hoping for lol

placid peak
#
local plr = game.Players.LocalPlayer.Character
local plr2 = game.Players.LocalPlayer
local head = plr:WaitForChild("Fakehead")
local overheadui = head:WaitForChild("Information")
local userid = game.Players.LocalPlayer.UserId
local textlabel = overheadui:WaitForChild("Username")
local maskvalue = plr2:WaitForChild("Base"):WaitForChild("Mask")
local ogname = textlabel.Text


if not maskvalue then
    print("cant find it")
    else
    print("found it")
end

local function ChangetoUserID()
    textlabel.Text = "<i>*"..userid.."*</i>"
end

maskvalue.Changed:Connect(function(value)
    if maskvalue.Value == true then
        ChangetoUserID()
end
    if maskvalue.Value == false then
        textlabel.Text = ogname
    end
end)```
#

making a mask system, im new to scripting, is that good?

somber vault
#
--!native

local function GetMoveVec(InputVec: Vector2): Vector3
    if InputVec.Magnitude == 0 then return Vector3_zero end

    local camCF = cam.CFrame
    local lv=camCF.LookVector
    local rv=camCF.RightVector
    
    --// treat it as a vec2 for optimisation. then return it as a vec3 in the end
    
    local forward=vector_norm(vector_create(lv.X,lv.Z))
    local right=vector_norm(vector_create(rv.X,rv.Z))
    
    local raw=vector_norm((forward * -InputVec.Y)+(right * InputVec.X))
    
    return Vector3_new(raw.x,0,raw.y)
end

challenge: optimise this even more

wooden hamlet
#

sometimes makes it go faster

dawn rivet
#

is there any way to make a game teleporter teleport to a game i dont own?

wooden hamlet
spark notch
#

guys my remote event not working

dawn rivet
#

i cant find anything praysob

dawn rivet
somber vault
#

whats more efficinet
GetPartsInPart() or a custom collider

wooden hamlet
left nacelle
#

Commision open again, small task for 300 Robux, dm me for info

spark notch
#

hello

#

i need help

somber vault
#

how do i open the frame data in studio
when you usually have to open it ingame
with shift+f2 or something
doesnt work in palytest

spark notch
#
    script.Parent.Parent.Frame.Visible=true
    script.Parent.Parent.Frame.a.Visible=true
    game:GetService("ReplicatedStorage").remotes.roll:FireServer()
    task.wait(5)
    script.Parent.Parent.Frame.a.Visible=false
end)
server-local chances={
    ["COMMON"]=500;
    ["UNCOMMON"]=250;
    ["EPIC"]=125;
    ["LEGENDARY"]=90;
    ["EXTREME"]=30;
    ["MESSI"]=5;
}

local function roll(player)
    local results={}
    local random=math.random(1,1000)
    for count=1,6,1 do
        local a=0
        for i,v in pairs(chances) do
            a+=v
            if a<=random then
                table.insert(results,i)
                break 
            end
        end
    end
    print(results)
    game:GetService("ReplicatedStorage").remotes.rollresult:FireClient(player,results)
    
end
game:GetService("ReplicatedStorage").remotes.roll.OnServerEvent:Connect(roll)                       client-local target=UDim2.new(0.3,0,0.299,0)
local info=TweenInfo.new(0.25,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false)


local function result(player,results)
    print(results)
    for i,effect in ipairs(results) do
        
        local clone=script.Parent.Effectsdisplay:WaitForChild(results[i]):Clone()
        clone.Parent=script.Parent.currentdisplay
        local tween=game:GetService("TweenService"):Create(clone,info,{Position=target})
        clone.Visible=true
        clone.BackGroudTransparency=0
        tween:Play()
        tween.Completed:Wait()
        if i~=#results then
            clone:Destroy()
        else
            task.wait(2)
            clone:Destroy()
        end
    end
end
game:GetService("ReplicatedStorage").remotes.rollresult.OnClientEvent:Connect(result)```
#

guys 3rd script result is coming nil

spiral vigil
spiral vigil
spark notch
#

i have said

spiral vigil
#

Is it meant to be .a.visible?

spark notch
#
local info=TweenInfo.new(0.25,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false)


local function result(player,results)
    print(results)
    for i,effect in ipairs(results) do
        
        local clone=script.Parent.Effectsdisplay:WaitForChild(results[i]):Clone()
        clone.Parent=script.Parent.currentdisplay
        local tween=game:GetService("TweenService"):Create(clone,info,{Position=target})
        clone.Visible=true
        clone.BackGroudTransparency=0
        tween:Play()
        tween.Completed:Wait()
        if i~=#results then
            clone:Destroy()
        else
            task.wait(2)
            clone:Destroy()
        end
    end
end
game:GetService("ReplicatedStorage").remotes.rollresult.OnClientEvent:Connect(result)
```this
wooden hamlet
spark notch
#

here results is nil

neat mauve
atomic cargo
neat mauve
somber vault
#

Who wants to join the dev team for my avatar the last airbdnwe game

spark notch
#

pay?

somber vault
#

Scripter

spark notch
#

how much 🤑🤑

pearl inlet
#

wait wrong chat

#

mb

tough solstice
#

anyone

#

wnana help me make a "game"

pine torrent
#

No

tough solstice
#

smart-enough scripter

tough solstice
pine torrent
#

$$$

tough solstice
#

u are smart

#

are u*

tough solstice
pine torrent
tough solstice
#

👯‍♀️

true fern
true fern
true fern
#

since all you do is index InputVec.Y and X once

somber vault
#

ahh

#

how would i optimise this:

local function Vec3ToVec(vec3:Vector3):vector
    return vector_create(vec3.X,vec3.Y,vec3.Z)
end
local function VecToVec3(vec:vector):Vector3
    return Vector3_new(vec.x,vec.y,vec.z)
end


local function GetSlopeAlignedCF(intersect: Vector3): CFrame

    --local rawIntersect:vector=Vec3ToVec(intersect) --faster with roblox's vector lib
    
    local rawForward:vector = Vec3ToVec(cam.CFrame.LookVector)

    local right: vector=vector_norm(vector_cross(rawForward,rawUpUnitVec))
    local forwardAdjusted: vector=vector_norm(vector_cross(rawUpUnitVec,right))
        
    right=VecToVec3(right)
    forwardAdjusted=VecToVec3(forwardAdjusted)
    
    return CFrame.fromMatrix(intersect, right,upUnitVec,forwardAdjusted)
end
true fern
#

why are you using normal vectors

somber vault
#

it's to align the char with a slope

true fern
# somber vault how would i optimise this: ```lua local function Vec3ToVec(vec3:Vector3):vector ...
local function Vec3ToVec(vec3:Vector3):vector
    return vector_create(vec3.X,vec3.Y,vec3.Z)
end
local function VecToVec3(vec:vector):Vector3
    return Vector3_new(vec.x,vec.y,vec.z)
end


local function GetSlopeAlignedCF(intersect: Vector3): CFrame

    --local rawIntersect:vector=Vec3ToVec(intersect) --faster with roblox's vector lib
    
    local rawForward:vector = Vec3ToVec(cam.CFrame.LookVector)
    
    return CFrame.fromMatrix(intersect, VecToVec3(vector_norm(vector_cross(rawForward,rawUpUnitVec))),upUnitVec,VecToVec3(vector_norm(vector_cross(rawUpUnitVec,right))))
end
#

might not look the best

dawn rivet
pearl inlet
#

😭

tough solstice
#

i mean

#

u need an amount of braincells

somber vault
#
local function GetRotBetween(rayResultNormal: Vector3, dotProd: number): CFrame --dotProduct between upUnitVec and v (ray normal)
    if (dotProd < -0.99999) then return CFrame.fromAxisAngle(upUnitVec, math.pi) end
    
    --// raw since it's faster
    local rayResultNormal=Vec3ToVec(rayResultNormal)
    local uxv=vector_cross(rawUpUnitVec,rayResultNormal)
    
    return CFrame.new(0, 0, 0, uxv.x, uxv.y, uxv.z, 1 + dotProd)
end
delicate ferry
#

@dense hull

arctic timber
#

Do I really need to sanity check on the server for a multiple jump system?
It might cause some lag and for me movement is really easy to exploit for a exploiter. Can it be compensed with a anti cheat i'll implement after ?

dense hull
delicate ferry
#

Ye can I dm you

dense hull
delicate ferry
#

To talk to you

dense hull
dense hull
drifting iron
#

can i see sample code for the scripter role? Anyone got any?

#

i wanna see what people used to pass the scripter role verification

dense hull
#

just write understand the roblox api engine for complex stuff or smt

arctic timber
drifting iron
#

or the website

arctic timber
#

I know that I would never stop exploiter, but atleast try to reduce the number 🙂

drifting iron
#

wtv

dense hull
dense hull
drifting iron
#

thanks mister

arctic timber
dense hull
#

how are you doing it currently?

arctic timber
#

Idk if i should sanity check for jump, for a server of 15 persons who almost constantly jump hmm

#

Server will burn yknow

dense hull
#

your doing smt like remote event jump a client could just while loop jump:fireserver()

arctic timber
#

Just sanity check on the client

dense hull
arctic timber
dense hull
arctic timber
#

Yeah I know

#

Lol

summer plume
arctic timber
#

But that's movement yknow

summer plume
#

shit died.

arctic timber
#

Like if a exploiter want to fly

#

its better and easier

summer plume
#

:D i added boss in rework

pine torrent
summer plume
pine torrent
#

Roblox will NOT let it slide

#

Roklam

summer plume
#

no

pine torrent
#

Ok

summer plume
#

is a name that i named them 6 months ago

#

and now i was reworking whole rpg game

pine torrent
#

Until first report gang

summer plume
#

wth bruh

#

i used to name them for like 1-2 years.

#

koklam is the first boss that i made before the rework is today.

#

dont mess with the name.

pine torrent
#

You see I have experienced getting reported for absurd reasons

summer plume
#

koklam is a name of bloodstone golem.

pine torrent
#

I don't wann you step up on my place

pine torrent
#

They banned like 5 of my games for "alcoholic or drug name .."

summer plume
#

still is the old name i named it.

pine torrent
#

I'm not joking

summer plume
#

im not joking too even you said that.

pine torrent
#

Your on your own then

summer plume
#

even what you are saying, isnt becuase of some abuser can quickly blame the game.

#

even is just a name

#

that hasnt existed, and it was existed who named them and is not named for alcoholic or a drug thing.

#

even i named my self was already mine,

#

don't you understand, don't just feel the same?

#

even i was working, don't mess with the work who did in 1-2 years of development to try making best game.

#

for who did trying hard work they trying to achieve, for some other got failed just blaming themselves.

#

is not that you wanted us to change, is just our decision.

#

let them do it.

tardy badge
#

if a game is so laggy and not optimized sometimes server can send event and player can't catch right

#

yesterday happend to me when i was trying to fix a game

summer plume
stark ledge
#

📢 Devs Wanted for New Roblox Game – Revshare Only
🎮 Project:
A unique [horror/simulator/story] game inspired by movie Alice In Borderland.
💡 Roles Needed:

Scripter (game systems, AI)

Builder (maps, assets)

UI/UX Designer (menus, HUD)

[Other roles as needed]

💰 Payment:
Revenue Share ONLY.
All team members will earn a fair % based on their contribution once the game launches and earns Robux.

📌 What I Have So Far:

Game concept doc

Roblox group set up

Small demo or map WIP

Discord server

🧠 My Role:
[Builder / Designer / Leader / Idea Creator – explain your part]

📞 Contact Me:
Discord: 7Certi.

summer plume
#

if you used too much event, it can slow too much game.

tardy badge
#

it's about other functions that slows the game

summer plume
#

is just functions does but even does same.

#

you could try something like value changed or something or if value was changes ig.

tardy badge
#

i did search and tested myself i think u can send 1 event per 0.05 seconds and roblox can handle it

summer plume
#

i recommended not to use much events like real time events.

#

if the value was changes, it should fire the event.

tardy badge
#

to make a good game u need so many events sadly since hackers can manipulate everything local sided u have to make so many things server sided and only visiual local sided

summer plume
#

now that can prevent exploiting

#

i used client and server tho

#

the server used by tags which i did

tardy badge
#

the guy that i was talking about had so many scripts that was lagging the game which resulted to some events not going to server/player even if they fired

tardy badge
#

yeah u had to see the fps drops

summer plume
#

cant just focus in less script????

tardy badge
#

yeah he had 17 scripts in SSS just for a obby game

summer plume
#

my script is just only 3 in my character.

#

i mean 2

summer plume
#

@tardy badge hold on

pine torrent
tardy badge
#

best to work efficient and optimized instead of trying to do things easy way

summer plume
#

did the loop was used heartbeat?

#

dont use like while true do.

tardy badge
#

yeah ik ik but i couldn't save that game some scripts had 1.5k lines of code 😭

summer plume
#

but having 1 script in 10k code aint normal

#

like parkour.

tardy badge
summer plume
pine torrent
tardy badge
#

atleast he had 10+ playeradded calls 😭

summer plume
#

is it seperated?

tardy badge
#

yes

pine torrent
#

For an obby game btw

summer plume
#

what parent?

#

did he placed.

tardy badge
pine torrent
#

Even my as i thought large project wasn't that fucked up

tardy badge
manic vine
#

bro i am trying to build an system to detect if an conveyor is touching another conveyor becouse how should i do it

manic vine
#

like an part or something

steady cove
#

I'll make a competitive game where players will get specific tools based on their class
For security purposes ill write a checking module to each tool, as an example when player equips a tool i'll let the server know they equip it or shoot it

is it a good approach to replicate all tools from the server

tardy badge
tardy badge
#

ask him

#

not mine

summer plume
#

user

manic vine
# tardy badge well touched event can also detect other parts and u can check by that way

local CollectionService = game:GetService("CollectionService")
local folder = workspace.TowerPlacedInServer
local NatureFolder = workspace.NatureItems
local product = game.ReplicatedStorage.RandomCloning:FindFirstChild("Logs")

-- Get all parts of a model
local function getModelParts(model)
local parts = {}
for _, part in ipairs(model:GetDescendants()) do
if part:IsA("BasePart") then
if part.Name == "Con" then
table.insert(parts, part)
print(part)
end

    end
end
return parts

end

-- Check if any part is touching a Conveyor (NOT from the same model)
local function isTouchingConveyor(model)
local modelParts = getModelParts(model)

for _, part in ipairs(modelParts) do
    local touchingParts = part:GetTouchingParts()

    for _, touchedPart in ipairs(touchingParts) do
        if touchedPart:IsDescendantOf(model) then
            continue -- Skip parts from the same model
        end

        if CollectionService:HasTag(touchedPart, "Conveyor") then
            print("Connected to conveyor!")
            return true
        end
    end
end    

return false

end

folder.ChildAdded:Connect(towerplaced) i tried it when i was high so i don't even know what i did

#

-- What happens when a tower is placed
function towerplaced(object)
print("New object added:", object.Name)

if object.Name == "woodchopper" then
    local circle = object:FindFirstChild("circle")
    if circle then circle:Destroy() end
end

local logspawner = object:FindFirstChild("logspawner")
if not logspawner then return end

for _, tree in pairs(NatureFolder:GetChildren()) do
    if tree.Name == "tree" then
        local stam = tree:FindFirstChild("stam")
        local wood = tree:FindFirstChild("wood")
        if not stam or not wood then continue end

        local distance = (object:WaitForChild("PrimaryPart").Position - stam.Position).Magnitude

        while true do
            task.wait(0.1)
            local function isTouchingConveyor(model)
                local modelParts = getModelParts(model)

                for _, part in ipairs(modelParts) do
                    local touchingParts = part:GetTouchingParts()
                    print(touchingParts)
                    for _, touchedPart in ipairs(touchingParts) do
                        -- Ignore if it's part of the same model
                        if touchedPart:IsDescendantOf(model) then
                            continue
                        end

                        -- Get the model the part belongs to
                        local conveyorModel = touchedPart:FindFirstAncestorWhichIsA("Model")
                        if conveyorModel and CollectionService:HasTag(conveyorModel, "Conveyor") then
                            print("Connected to conveyor model!")
                            return true
                        end
                    end
                end

                return false
            end
        end
    end
end

end

folder.ChildAdded:Connect(towerplaced)

gilded gyro
#

is a name not something inappriopriate

patent gorge
#

does anyone know why like when i open a ui and close it then die then try to open it up again it doesnt work?

local Players = game:GetService("Players")

local player = Players.LocalPlayer
local button = script.Parent

-- Adjust this path based on your actual GUI hierarchy
local popup = button.Parent.Parent.Parent:WaitForChild("ShopGui"):WaitForChild("Frame")

local tweenInfo = TweenInfo.new(
    0.5, -- seconds
    Enum.EasingStyle.Quad,
    Enum.EasingDirection.Out
)

local openPosition = UDim2.new(0.258, 0, 0.23, 0)
local closedPosition = UDim2.new(0.257, 0, 2, 0)

popup.Position = closedPosition
popup.Visible = false
local isOpen = false

-- Function to open
local function openPopup()
    isOpen = true
    popup.Visible = true
    local tween = TweenService:Create(popup, tweenInfo, {Position = openPosition})
    tween:Play()
end

-- Function to close
local function closePopup()
    isOpen = false
    local tween = TweenService:Create(popup, tweenInfo, {Position = closedPosition})
    tween:Play()
    tween.Completed:Wait()
    popup.Visible = false
end

-- Handle button click
button.MouseButton1Click:Connect(function()
    if isOpen then
        closePopup()
    else
        openPopup()
    end
end)

-- Reset GUI state after death/respawn
player.CharacterAdded:Connect(function()
    isOpen = false
    if popup then
        popup.Visible = false
        popup.Position = closedPosition
    end
end)```
tardy badge
summer plume
gilded gyro
#

is 6 months and nothing happend as u said

manic vine
tardy badge
#

lemme see the name of it

patent gorge
#

chat gpt did it

#

for me

#

when mine didnt work

tardy badge
#

maybe that will fix

manic vine
#

broo you know that it is very hard to make an working script with chatgpt

patent gorge
patent gorge
patent gorge
tardy badge
shell breach
#

any1 know where i can find a free shop ui so i can work with them

manic vine
patent gorge
# tardy badge

haha i had it uncheck and when i checked it now it works

shell breach
#

or do i js make a bad 1 myself

patent gorge
#

thakn you man!

tardy badge
#

np 😅

tardy badge
proper quest
#

ui not really hard tho bro 😭

patent gorge
tardy badge
#

yeah no one expects a masterpiece from u

#

make a basic one and make the products looking good

gilded gyro
#

make ur own ahh UI Shop 😭

#

layout is important

shut sail
#

for 75$ can i get a combat system like that?

  • client replicated effects

  • a clean framework

  • fast input response (i can add in a buffering system if you'd like)

  • profile service saving stats that certain weapon types scale off of

  • the combat system will have 5 m1s,block,perfect blockC
    the block will have endurance so you cant block undefinitely
    when block broken you will get stunned
    when perfect blocked you'll get stunned

  • every type of weapon has its own idle,run(walk),sprint and m1s
    there will be knockback too after the last m1
    and its distance is gonna depend on the weight of the weapon
    air combos will be needed too

#

smooth and everything

shell breach
#

but ig ill make it 😭

proper quest
#

all that for 50$

#

btw combat not really hard tho

proper quest
shut sail
proper quest
shell breach
proper quest
#

because i did it too much

shut sail
proper quest
#

doing everything yourself is best hehee

tardy badge
#

yeah i try to make models,scripts,UI myself

shut sail
weak radish
proper quest
#

combat system isnt hard

#

just some logic

#

😭

frail yarrow
#

Ofc the non scripter hits every point

#

"framework" "profileservice"

weak radish
proper quest
weak radish
#

You obviously just have tons of time

frail yarrow
#

Blud has never implemented rollback netcode

gilded gyro
#

combat system ain't that hard 💀

iron prawn
#

it depends if you put more work into it

proper quest
gilded gyro
#

oh...

iron prawn
#

instead of a basic one.

gilded gyro
#

what are u tryna to get ;-;?

obsidian oracle
gilded gyro
iron prawn
#

epic morph thing i made

#

quote of the day.

#

do yall think survival games can get up the charts?

#

cause booga booga used to be popular, still maintains 3k+ active players.

gilded gyro
#

wanna see my gta iv ahh ragdoll?

#

on roblox

proper quest
gilded gyro
#

i haven't implemented yet

#

this is skated 2

iron prawn
#

skateboard is w

proper quest
#

can i see the movement then

iron prawn
#

ye same i want to see it

summer plume
#

fr he forgot to record

#

😭

gilded gyro
iron prawn
#

not bad

#

I LOVE HOW HE JUST FELL AT THE END

#

💀

gilded gyro
#

💀

#

this is a active ragdoll system i made

weak radish
summer plume
#

euphoria ragdoll

gilded gyro
frail yarrow
weak radish
iron prawn
#

now why are we fighting.

summer plume
#

PS_LOL did it.

buoyant junco
#

Good one, u Made it?

gilded gyro
#

yes

proper quest
iron prawn
#

or summmm

proper quest
#

keep goin

gilded gyro
#

i was gonna make it based from skate 2/skate 3 movement

weak radish
buoyant junco
summer plume
gilded gyro
summer plume
#

is used like ownership or just knockback

#

anyways

iron prawn
buoyant junco
iron prawn
summer plume
frail yarrow
#

a devastating truth nuke is that 90% of combat systems are bad

iron prawn
summer plume
#

ye

iron prawn
#

niceeee

summer plume
#

it only takes 7 days now

#

i was reworking whole rpg game

iron prawn
#

thats fireee

#

keep cooking.

summer plume
#

problem is...

weak radish
summer plume
#

reworking whole rpg game

iron prawn
iron prawn
#

well ima wish you good luck on that then

summer plume
#

😭 100+ accessories 30+ more materials and 100+ weapons

iron prawn
#

loll

summer plume
#

yk what how much is gonna take lot?

gilded gyro
#

ima make the flip tricks system right now rah

ocean yacht
#

whos a scripter and wants to help with my incremental game? i alr have server for it and the game is done just wantr someone to script updates and manage it with me 50/50 cut

iron prawn
#

i have no game idea, besides making a survival.

summer plume
#

@iron prawn takes about 1-2 months possibly becuase every update i was doing in old rpg game.

#

i was gonna follow the order where i start.

iron prawn
#

dang

gilded gyro
elfin timber
gilded gyro
#

💀

#

i am gonna have to use cframevalue since tween

#

oh shit bruh

#

😭

#

i renamed it bruh 😭

#

i forgot something...

#

"Value" on Tween

#

ay it works :D

#

i forgor to add linear rah

true birch
gilded gyro
#

@true birch

patent lodge
#

gorgeous

true birch
gilded gyro
#

frr

obtuse narwhal
stuck tartan
#

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Replace this with your actual DevProductId
local TELEPORT_DEV_PRODUCT_ID = 3294515567

-- Table to store last death positions
local lastDeathPositions = {}

-- Listen for player deaths and store their last position
local function trackDeaths(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Died:Connect(function()
-- Store the position where the player died
lastDeathPositions[player.UserId] = character:GetPivot()
end)
end
end)
end

Players.PlayerAdded:Connect(function(player)
trackDeaths(player)
end)

for _, player in Players:GetPlayers() do
trackDeaths(player)
end

-- ProcessReceipt handler for DevProduct purchases
local function processReceipt(receiptInfo)
if receiptInfo.ProductId == TELEPORT_DEV_PRODUCT_ID then
local player = Players:GetPlayerByUserId(receiptInfo.PlayerId)
if player then
local deathCFrame = lastDeathPositions[player.UserId]
if deathCFrame then
if player.Character then
player.Character:PivotTo(deathCFrame)
end
end
end
return Enum.ProductPurchaseDecision.PurchaseGranted
end
-- For other products, let other scripts handle
return Enum.ProductPurchaseDecision.NotProcessedYet
end

-- Attach to MarketplaceService
local MarketplaceService = game:GetService("MarketplaceService")
MarketplaceService.ProcessReceipt = processReceipt

why does this script not send me to my position where i died when i purchase the dev product

vestal pumice
#

and format it please

#

also go to code help

ocean yacht
#

dm if u script and know what a button inc is and wnana make one i do scripting and gui too

obtuse narwhal
#

And maybe read the code that you generate using ai to actually learn the material and language lol

true birch
#

Lmao

ebon frost
#

subnautaical time

somber vault
#

making a job application game

obtuse narwhal
somber vault
obtuse narwhal
somber vault
delicate ferry
#

Could someone mentor me in uh scripting

hearty olive
obtuse narwhal
hearty olive
#

best series

#

i have beem watching for 4 days now

delicate ferry
delicate ferry
obtuse narwhal
#

That’s why he is the best to learn from

hearty olive
#

or watch The unknown dev

somber vault
#

am i the only one that create stupid services for no reason ( profile isn't mine )

empty badger
#

how can I get or make like this admin panel thing is it plug-in or built-in roblox ?

ocean yacht
#

yea

#

cmdr

quiet axle
#
empty badger
#

tysm

bold smelt
#

someone has script to showcase animation and cutscenes in game? ill pay

tight remnant
#

Is is possible to do lyrics on screen like this?

#

It's for a concert game

#

And I'm trying to figure out if I can add a GUI button where if you press it, it triggers the script and shows the lyrics on screen

ocean yacht
#

any cscripter here likes making incremental games and want to partner with me? i can fund most projects

vestal pumice
tight remnant
#

Like in here for example

#

You can see the on-screen animations for the country name and artist name

vestal pumice
patent night
#

Does anyone know a video that has recommended plugins for coding or just useful in general for Roblox studio

obsidian condor
patent night
#

Okay thanks

obsidian condor
#

No worries!

bold smelt
#

someone has script to showcase animation and cutscenes in game? ill pay

bold smelt