#code-discussion

1 messages ยท Page 176 of 1

narrow vault
#

thats the difference

bitter crescent
#

ok

#

now

#

shatap

narrow vault
bitter crescent
#

no

long scaffold
#

print("DeepWoken")

ruby nebula
#

hello can anybody give me an idea of what to script that would give me more experience,keep in mind im not really a starter starter

ruby nebula
#

will that really help me in the future?

#

making a car?

long scaffold
#

who knows

#

any experience is good experience

keen steeple
#

can anyone do stud guis shops and so

vagrant saddle
#

Could you give me an example of "stud guis shop"?

plucky drift
#

I am a scripter for hire I could anything i cost 100 Robux for a whole game I could do anything as cheap as 10 Robux but if you smth like 500k Robux ur gonna get some things like never before

bitter crescent
#

who can script a steal a type game

#

its 50% scripted as of now

ruby nebula
#

can try if you want

#

i can probably do it

scenic cove
#

is there any good tutorial about making weapon combat systems?

vagrant saddle
bitter crescent
#

i mean

#

like i need a custom

#

scripting

#

i already have it uncopylocked

#

i still need a scripter

vagrant saddle
#

What do you need to be made?

bitter crescent
#

like

#

admin commands

#

for spawning

#

events

#

etc

vagrant saddle
#

I could do that if thats the only thing.

potent shell
#

what am i doing wrong here?

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat.Occupant ~= nil then
local char = seat.Occupant.Parent
local hmn = char.WaitForChild("Humanoid")
hmn.JumpPower = 0

    end
end

end)

vagrant saddle
#

Did you tried to print the occupant?

#

And did you do that in the script or local script.

potent shell
vagrant saddle
bitter crescent
#

i mean

vagrant saddle
#

And btw.

bitter crescent
#

can u script all?

vagrant saddle
bitter crescent
#

bro?

vagrant saddle
#

Not char.WaitForChild("Humanoid")

bitter crescent
#

@sullen cipher

#

@vagrant saddle U WILL WORK

vagrant saddle
bitter crescent
#

OR NAH

#

how much

#

robex

vagrant saddle
#

Can you pay in EUR?

#

(Money)

bitter crescent
#

NAH

#

100 robux or no?

vagrant saddle
#

100 robux for that?

#

Im sorry but thats underpay, I decline the offer.

languid meadow
#

gimme ideas to get lua programmer rq

#

please

vagrant saddle
languid meadow
wild kayak
#

fixing bugs for cheap

vagrant saddle
valid axle
#

He prolly means a role

languid meadow
valid axle
#

Public already?

wild kayak
valid axle
#

Like their links

wild kayak
vagrant saddle
wild kayak
#

colour block is not complete

valid axle
#

Gng

wild kayak
#

but the minecraft is complete

valid axle
#

Public means they are active

#

Like published and people play ot

wild kayak
valid axle
#

All good

wild kayak
valid axle
#

Dw

#

I would take a look at em later on and maybe buy em from you

#

Semme the game links in dm

wild kayak
potent shell
# vagrant saddle Make something using HTTP.

im back and the jumppower thing doesnt work

local seat = script.Parent
local otherSeat = script.Parent.Parent.Parent:WaitForChild("Chair1"):FindFirstChild("Seat")
local players = game:GetService("Players")

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
print(seat.Occupant)
if seat.Occupant ~= nil then
local char = seat.Occupant.Parent
local hmn = char:WaitForChild("Humanoid")
hmn.JumpPower = 0

end

end)

vagrant saddle
#

Could you remind me, is this localscript or script?

sly plover
#

hey guys

vagrant saddle
#

Hello!

sly plover
#

why is it that all characters are effected by a single client's local script in starterplayerscripts

#

like I anchor one character

#

and it anchors all other players

#

but the remote events

#

are only sent by the single player

#

and not all players

vagrant saddle
#

Because that script works for everyone.

sly plover
#

only the characters seem effected, not the players

vagrant saddle
#

If you inserted it into StarterPlayerScript.

uneven sierra
#

yea true but there are some other ways and you can add all of these methods together

For example when exploits inject it creates a lag spike on most unoptimized exploits
you can try use an exploit and look at all memory stats and then compare it without
i believe thats a method arsenal used for their a/c if im not mistaken

sly plover
#
    --if not isRunning then
        --local rootPart = character:FindFirstChild("HumanoidRootPart")
    --    if rootPart then
            --rootPart.Anchored = true
        --end
--    end


    local data = playerData[player]
    if not data then end```

@vagrant saddle
#

im not crazy right

uneven sierra
sly plover
#

the whole isRunning

sly plover
#

but there is client vfx

vagrant saddle
sly plover
#

but there is no onclientevent

#

in this script

sly plover
#

wdym

#

like the whole isRunning variable

#

how is it global

uneven sierra
#

what is wrong with the is running variable

sly plover
#

if someone stops, it activates for all players

uneven sierra
#

can u show where its defined

sly plover
#

and anchors them all

#

top of the script

#

local script in starterplayerscripts

#
task.wait(0.3)

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local runService = game:GetService("RunService")

local isRunning = false
azure granite
#

backpack.ChildAdded:Connect(function(tool)
if tool:IsA("Tool") then
print(tool:GetAttributes())
CustomPackAPI:Invoke("SetToolGroup", {tool, tool:GetAttribute("ToolCategory")})
end
end)

am i missing something my backpack.childadded never fires

sly plover
#
local UIS = game:GetService("UserInputService")

local movementKeys = {
    [Enum.KeyCode.W] = false,
    [Enum.KeyCode.A] = false,
    [Enum.KeyCode.S] = false,
    [Enum.KeyCode.D] = false
}

local function updateRunningState()
    isRunning = movementKeys[Enum.KeyCode.W] 
        or movementKeys[Enum.KeyCode.A]
        or movementKeys[Enum.KeyCode.S]
        or movementKeys[Enum.KeyCode.D]
end

UIS.InputBegan:Connect(function(input, isTyping)
    if movementKeys[input.KeyCode] ~= nil then
        movementKeys[input.KeyCode] = true
        updateRunningState()
    end
end)

UIS.InputEnded:Connect(function(input)
    if movementKeys[input.KeyCode] ~= nil then
        movementKeys[input.KeyCode] = false
        updateRunningState()
    end
end)
#

this is at the very end of the script

#

which manages to see if player is running or not

vagrant saddle
#

Local or normal script?

azure granite
#

local

#

starterplayerscript

vagrant saddle
#

It dosent print anything?

azure granite
#

nope

#

and i know im adding stuff to backpack i checked explorer

vagrant saddle
#

Try printing tool

azure granite
#

yeah i did that

#

no prints

#

i feel like backpack.childadded is not correct

vagrant saddle
#

If it prints a tool then please tell me

azure granite
#

it doesnt dude

#

nothing prints because the event never fires

sly plover
#

Show the full script

azure granite
#

i basically did...

sly plover
#

most of it isnt defined

azure granite
#

backpack is localplayer.backpack

vagrant saddle
#

backpack.ChildAdded:Connect(function(tool)
print(tool)
if tool:IsA("Tool") then
print(tool:GetAttributes())
CustomPackAPI:Invoke("SetToolGroup", {tool, tool:GetAttribute("ToolCategory")})
end
end)

sly plover
azure granite
#

yeah it's all correct

sly plover
#

did you forget to capitalise

azure granite
#

no

sly plover
#

ok

azure granite
#

i think

sly plover
#

does getservice players work

#

in a local script

azure granite
#

yea?

sly plover
#

why dont you just do game.Players.LocalPlayer

azure granite
#

idk but theres no point it does the same thing

#

actually i do know because i dont want to type game.Players every time

sly plover
#

@azure granite

azure granite
#

?

sly plover
#

player.Backpack.ChildAdded:Connect(function(tool)
    if tool:IsA("Tool") then
        print("Tool found")
    end
end)```
#

works for me

azure granite
#

i feel like the only explanation for this is that

#

im using a custom backpakc module

#

but i dont get how that can prevent the thing firing

#

wtf its randomly working now

#

??????????? i didnt change ANYTRHNG

sly plover
#

@vagrant saddle

#

did you figure my issue out

#

im not sure why its all global for

#

isRunning should be a variable which isnt global

last perch
#

who can make exploits here

#

just a question btw

vagrant saddle
tawdry ice
#

my brain doesnt hurt actually

long scaffold
#

someone give me a single script idea (i have like 3 days of experience im as begginer as you can get)

meager ravine
vagrant saddle
meager ravine
#

If u were to change the name of ur in game players service from players to something else game.players would be nil

long scaffold
vagrant saddle
#

No.

long scaffold
#

im confused

vagrant saddle
#

A script that checks if a player is sitting on a chair.

narrow vault
#

or .Sit

long scaffold
#

๐Ÿ˜ญ

vagrant saddle
narrow vault
#

its just a check

vagrant saddle
#

To print players name who is sitting.

long scaffold
#

i mean i can make a part fall if a player touches it ๐Ÿ˜ผ

long scaffold
#

hopefully scripting a chair isnt hard

#

because i have no idea how to make a part so when you tocuh it you sit on it

#

breh i looked up how to make a chair and i got spoiled

#

local seat = script.Parent -- Assuming the script is a child of the Seat object
seat.OnStepped:Connect(function(player)
if player then
print(player.Name .. " is sitting on the chair.")
end
end)

vagrant saddle
#

You can just make a script that checks onsignalchanged occupant.

long scaffold
#

๐Ÿ˜ญ

vagrant saddle
#

The chair has a property "seated".

viral kestrel
#

finished the courses 3 days ago and began doing some projects

long scaffold
#

nazey gimme some tips

#

i can barely do shi

viral kestrel
#

did you watch any tutorials

long scaffold
#

a little from TheDevKing

#

but im tryina do small scripts rn

#

to learn

viral kestrel
#

i'll link you some stuff in dms

long scaffold
#

goated

fallow sierra
#

what would you guys say is the best tutorials out there to learn scripting very well? i know of devkings and brawldevs scripting guides, anything else?

fallow sierra
cinder basalt
#

Its so over

viral kestrel
vagrant saddle
viral kestrel
#

if you have any feedback, i'd appreciate it

cinder basalt
vagrant saddle
#

But overall its pretty nice!

long scaffold
cinder basalt
long scaffold
#

๐Ÿ’”

#

Who is making that with no help in 1 day ๐Ÿ’”

cinder basalt
viral kestrel
viral kestrel
#

what would your advice be then

long scaffold
vagrant saddle
cinder basalt
viral kestrel
vagrant saddle
#

Making rock paper sissors is very creative.

#

Ill recommend you to make TicTacToe.

cinder basalt
viral kestrel
viral kestrel
vagrant saddle
#

Not really, but for 3 days scripting and 1 month learning, it will be difficult yes.

#

But its very good practice.

viral kestrel
#

alright, thanks

wild kayak
#

yo guys

vagrant saddle
#

Hello!

potent shell
#

why does this not work?

local seat = script.Parent
local otherSeat = script.Parent.Parent.Parent:WaitForChild("Chair1"):FindFirstChild("Seat")
local players = game:GetService("Players")

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
print(seat.Occupant)
if seat.Occupant ~= nil then
local char = seat.Occupant.Parent
local hmn = char:WaitForChild("Humanoid")
hmn.JumpPower = 0

end

end)

vagrant saddle
#

What seems to be a problem?

main shuttle
#

just do parrent.Chair1:Findfirstchild("Seat")

potent shell
#

its printing the occupant tho

main shuttle
#

didnt notice the print

#

what even is the issue

potent shell
#

it doesnt set the humanoid jumpower to 0

#

or like u can still jump out the chair

main shuttle
potent shell
#

oh okay

#

what should i do then?

#

if i want to lock the player in the chair

dire pelican
#

break it down

main shuttle
#

i have not worked with seats alot before but you could i guess force them to sit again if they jump

#

so basically

main shuttle
#

wait actually

#

SetStateEnabled

gilded ruin
#

ok, im hiring a team that is gonna work on me for milk a brainrot, dm me for more info (i have an investor and he is gonna pay. i am hiring people for %)

dire pelican
main shuttle
#

yeah

dire pelican
dire pelican
#

and set back to true when u want them to get out and etc

potent shell
#

okay

potent igloo
#

Does the .Destroyed event not work

gilded ruin
dire pelican
gilded ruin
#

how come

potent shell
# dire pelican and set back to true when u want them to get out and etc

so would this lock the player in the chair forever?

local seat = script.Parent
local otherSeat = script.Parent.Parent.Parent:FindFirstChild("Chair1"):FindFirstChild("Seat")
local players = game:GetService("Players")

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
print(seat.Occupant)
if seat.Occupant ~= nil then
local char = seat.Occupant.Parent
local hmn = char:WaitForChild("Humanoid")
hmn:SetStateEnabled(Enum.HumanoidStateType.Jumping, false)

end

end)

dire pelican
# gilded ruin how come

its too risky, people usually atleast have some sort of payment then percentage or just payment. So for some shitty cashgrab itd be like 500-1000 usd

#

but ull prob find ppl who would do it for cheap like 200-300 usd but itll be bad quality

main shuttle
gilded ruin
# dire pelican its too risky, people usually atleast have some sort of payment then percentage ...

i hav an investor, also there is already a game called poop a brainrot https://www.roblox.com/games/82321750197896/Poop-a-Brainrot

Roblox

๐Ÿ’ฉ Welcome to Poop a Brainrot!

How to Play:
๐Ÿ’ฉ Poop Brainrots - Poop to get Brainrots, from common to mythical!
๐Ÿ Food - Buy Boosts and Food to Poop better Brainrots!
๐Ÿ’ธ Earn - Get better Brainrots to make more money and climb the leaderboard.
๐ŸŒŸ Mutations - Some Brainrots have special forms that are worth more!

๐Ÿ‘ Like and favori...

main shuttle
#

but for small commissions no one is gonna take like a .1%

potent shell
dire pelican
#

this guy wont do any of that obviously

main shuttle
#

true...

wild kayak
#

anyone wanna buy full ditto copy of sisi

narrow vault
gilded ruin
#

i have zero fucking clue but it has 2k+ CCU

#

that means that it works

dire pelican
#

im not playing gambling games with you dawg

wild kayak
#

this is my game

gilded ruin
#

unfortunately he is only investing in ads, but they guy sure knows how to make a game a homepage game

wild kayak
#

anyone wanna buy t

gilded ruin
#

like the guy is legitimately massive

gilded ruin
#

Frsh is the investor

gilded ruin
#

which is why i think my game might have a chance

potent shell
#

someone please help me the player can still jump after setting it to 0

local seat = script.Parent
local otherSeat = script.Parent.Parent.Parent:FindFirstChild("Chair1"):FindFirstChild("Seat")
local players = game:GetService("Players")

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
print(seat.Occupant)
if seat.Occupant ~= nil then
local char = seat.Occupant.Parent
local hmn = char:WaitForChild("Humanoid")
if hmn then
hmn.JumpPower = 0
end

end

end)

potent shell
empty wind
long scaffold
#

yall gimme an easy ass script to do to gain sum experience

still birch
wild kayak
#

anyone wanna buy a cheap game

long scaffold
#

maybe something with instances

wild kayak
#

this s my game

#

dms for buy

patent hatch
#

how do i make my script find a player whos name is always different?

still birch
empty wind
# potent shell wdym?

can u print out seat.Occupant? i may be wrong but i think u don't need to write seat.Occupant.Parent just the occupant part

wild kayak
gilded ruin
gilded ruin
still birch
wild kayak
gilded ruin
wild kayak
empty wind
still birch
gilded ruin
potent shell
empty wind
potent shell
empty wind
#

otherwise i'm not sure what's wrong ๐Ÿ™

potent shell
subtle ravine
#

Does anyone know how to make a fish system?

#

I already have the docks and locations

#

I just need help with that

empty wind
long scaffold
empty wind
gilded ruin
#

that sounds like a good idea

long scaffold
#

mostly cuz you MIGHT get banned for milking a brainrot ๐Ÿ˜ญ

potent shell
# empty wind np

theoretically if someone sat on the other side of the table would this force the player sitting to be locked or wtv

seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if otherSeat.Occupant ~= nil then
seat.Occupant.UseJumpPower = true
seat.JumpPower = 0
end
end)

vagrant saddle
subtle ravine
#

can I call you in private??

vagrant saddle
#

Call or a message?

subtle ravine
#

message

vagrant saddle
#

Sure, lets discuss there.

subtle ravine
main shuttle
#

@dire pelican About our conversation earlier about how to force a player into a seat, it appears that you can not use SetStateEnabled on the server so JumpPower is the only alterative on the server i guess (or the less efficent way of forcing them back if they jump off)

dire pelican
#

i dont think jumppower will work but u can try

potent shell
#

before setting jumppower

main shuttle
#

not a client, thats why setStateEnabled doesnt work

potent shell
#

yeah i didnt have it as a client script

main shuttle
#

you need to set the thingy to usejumppower

potent shell
#

thats what i said..

long scaffold
#

can someone give me a really begginer script idea that can help me learn more about instances?

long scaffold
#

did that

long scaffold
still birch
long scaffold
#

lemme see if i can do it again

still birch
#

๐Ÿ˜ญ

#

i cant send links

long scaffold
#

''

#

while true do
wait()
local newPart2 = Instance.new("Part")
newPart2.Name = "partie"
newPart2.Size = Vector3.new(1.5, 3, 1.5)
newPart2.Position = Vector3.new(0, 10, 0)
end

#

something is missing above

#

this script is just so wrong ๐Ÿ˜ญ

long scaffold
#

dosent even give me an error ๐Ÿ˜”

stiff pagoda
#
rainspawned = rainspawned + 1
while true do
    if rainspawned >= 50 then
        break
    end
    
    wait()
    local Rain = Instance.new("Part")
    Rain.Size = Vector3.new(0.5, 2, 0.5)
    Rain.Position = Vector3.new(0, 10, 0)
    Rain.Transparency = 0.5
    Rain.Anchored = false
end

print("The Loop is finished!")```
#

whys dis not running

vagrant saddle
#

Like the part you made.

wild kayak
#

anyone wanna by my game

vagrant saddle
stiff pagoda
#

rainspawned = 0

while true do

if rainspawned >= 50 then
    break
end
local rainspawned = 0
rainspawned = rainspawned + 1
wait()
local Rain = Instance.new("Part")
Rain.Size = Vector3.new(0.5, 2, 0.5)
Rain.Position = Vector3.new(0, 10, 0)
Rain.Transparency = 0.5
Rain.Anchored = false

end

print("The Loop is finished!")

#

still not

#

@vagrant saddle

#

while true do

    if rainspawned >= 50 then
        break
    end
    local rainspawned = 0
    rainspawned = rainspawned + 1
    wait()
    local Rain = Instance.new("Part")
    Rain.Size = Vector3.new(0.5, 2, 0.5)
    Rain.Position = Vector3.new(0, 10, 0)
    Rain.Transparency = 0.5
    Rain.Anchored = false
end

print("The Loop is finished!")```
cinder basalt
#

this better be good

#

if its bad im gonna do bad stuff

vagrant saddle
#

while true do

    if rainspawned >= 50 then
        break
    else
       rainspawned = rainspawned + 1
       wait()
       local Rain = Instance.new("Part")
       Rain.Size = Vector3.new(0.5, 2, 0.5)
       Rain.Position = Vector3.new(0, 10, 0)
       Rain.Parent = game.Workspace
       Rain.Transparency = 0.5
       Rain.Anchored = false
    end
end

print("The Loop is finished!")```
wild kayak
cinder basalt
wild kayak
cinder basalt
#

the entire console is asset access denied

wild kayak
cinder basalt
#

game is black screen

#

very bad

#

that means im gonna do bad stuff

#

im gonna nuke code help

proper edge
wild kayak
wild kayak
wild kayak
vagrant saddle
cinder basalt
#

ye it loaded

vagrant saddle
#

Or it can be like, local Rain = instance.new("Part", game.Workspace)

cinder basalt
#

lacks like 10000 microtransactions

#

i dont think this is sellable

wild kayak
proper edge
#

affects performance

vagrant saddle
#

How?

potent shell
#

what am i doing wrong here?
local seat1 = script.Parent:WaitForChild("Chair2"):FindFirstChild("Seat")
local otherSeat = script.Parent:FindFirstChild("Chair1"):FindFirstChild("Seat")
local players = game:GetService("Players")
local GUITEXT = script.Parent:WaitForChild("table"):FindFirstChild("PlayerGUI"):FindFirstChild("Count")

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
if otherSeat.Occupant ~= nil then
GUITEXT.Text = "1/2 Players"
end

if seat1.Occupant ~= nil then
    GUITEXT.Text = "1/2 Players"
end
if otherSeat.Occupant ~= nil and seat1.Occupant ~= nil then
    GUITEXT.Text = "2/2 Players"
    otherSeat.Occupant.UseJumpPower = true
    otherSeat.Occupant.JumpPower = 0
    seat1.Occupant.UseJumpPower = true
    seat1.Occupant.JumpPower = 0
end

end)

vagrant saddle
#

Because this script is not really optimised.

potent shell
#

its a script that will be placed inside each group of tables/chairs

potent shell
#

yo @vagrant saddle

vagrant saddle
#

Yea?

wild kayak
#

i wanted sell this game for 2k rbx

white rapids
#

lol itโ€™s a code

proud idol
#

so they never show up (but are present in memory)

pseudo elk
#

anyone know the best way to randomize doors in an obby without loopin through like 200 instances every time? tryna keep it optimized but still make sure 1 safe door nd trap doors are placed

#

?

pseudo elk
#

k

vagrant sorrel
#

do u use ECS or OOP? Or a mix of both?

pseudo elk
#

mainly OOP for now,but Im not against switching to ECS if scaling becomes an issue

vocal valley
#

does anyone know how to make a backpack button using topbarplus

vocal valley
#

do you use setcoreguienabled?

narrow vault
#

what do you need that for

vocal valley
#

to open the backpack

polar shore
#

would any1 like to check out my portfoliowould any1 like to check out my portfolio?

narrow vault
#

what

vocal valley
#

or does topbar have a function alreayd

narrow vault
#

why would you do that

#

it has a function yes

proud idol
vocal valley
#
    :setImage(110581893149044, "Deselected")
    :setImage(112395465308589, "Selected")
    :setImageScale(.75, "Deselected")
    :setImageScale(.75, "Selected")
    :bindEvent("selected", function()
        StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
    end)```
narrow vault
#

yeah selected

vocal valley
#

it don't work tho

narrow vault
#

idk what you are even trying to do lol

potent shell
vocal valley
potent shell
#

like to a part or something

vocal valley
#

im tryna open the backpack

potent shell
narrow vault
vagrant sorrel
potent shell
lilac kiln
#

Gm scripters

vagrant sorrel
sage scroll
#

guys is here someone skilled

sage scroll
proud idol
vocal valley
#

yeah i figured that out

rare bronze
vocal valley
#

then how do i open it?

narrow vault
potent shell
rare bronze
#

but lua

potent shell
sage scroll
#

i need to help i got lobby queue to start a game but i want it to tp me into to game not in to another lobby but when its already running players cant join

rare bronze
#

(most of the time)

sage scroll
#

gg nobody will help

potent shell
rare bronze
rare bronze
potent shell
sage scroll
#

i got the teleport but idk how to fix it to teleport me into game like in lobby not to another place

rare bronze
#

there was no need to name it "GUITEXT" instead "GuiText"

rare bronze
#

there might be the mistake

#

just ask chatgpt tbh

bleak glade
#

you need the multiverse id too

potent shell
rare bronze
narrow vault
#

anyone here hiring scripters for usd?, my post didn't go thru so time to look like a homeless guy ๐Ÿ™

sage scroll
narrow vault
#

id not say allat if it wasnt for me waiting a decade

bleak glade
potent shell
sage scroll
narrow vault
#

my post didnt get reviewed yet

rare bronze
#

or get real job

#

hope this helped

narrow vault
narrow vault
rare bronze
#

go work in mcdonalds

narrow vault
#

what a idea you got might as well get a grammy

rare bronze
#

nobel prize

#

grammy is for music

narrow vault
#

thats the point

#

you dont know whats a grammy or a nobel prize either

rare bronze
#

seems like you dont

olive needle
#

Is there anyone who has any cheat scripts i can use to test my anti cheat system?

narrow vault
#

ok you are actually slow

#

i was mocking you dude

#

how didnt you raelize it

rare bronze
#

i did but point being

#

just wait and dont break rules

narrow vault
#

just look at #code-help when its night you'll see true rule breaking

rare bronze
#

im busy sleeping at night

potent shell
#

anyone mind helping me? the camera doesnt change in this

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
local newCamera = cameraPart:WaitForChild("Camera")
currentcam.CameraSubject = newCamera
if seat1.Occupant ~= nil then
UpdateGui()
seat1.Occupant.UseJumpPower = true
seat1.Occupant.JumpPower = 0
end
end)

round junco
#

Who needs a scripter (free)

rare bronze
#

he has error and cant fix it

proud idol
potent shell
cinder basalt
proud idol
#

that one you it right

#

however CameraSubject is a property on where the camera will focus on a humanoid or part (except when its camera type is set to scriptable or fixed)

#

not a camera

potent shell
#

oh so if i do this in a localscript?

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat1.Occupant ~= nil then
local newCamera = cameraPart:WaitForChild("Camera")
currentcam.CameraSubject = newCamera
end
end)

proud idol
potent shell
#

what is it to change the camera then?

proud idol
potent shell
#

and is locked there

proud idol
#

oky so you do wanna change camera coords

#

Camera has a CFrame property

random pine
#

I need some scriptures to Fox some bugs and add/removes stuff for me in my game. Paying with Robux dm me if interested

proud idol
#

it basically is the position and rotation of the camera

#

to change it via scripting, you need to set the camera type to scriptable and then change the Camera CFrame property to desired

potent shell
#

yeah thats prob what im tryna do so would i change the currentcamera.CFrame to newcamera.CFrame?

proud idol
potent shell
#

oh wai

potent shell
#

u change it in workspace

#

?

round junco
potent shell
proud idol
#
local newCamera = cameraPart:WaitForChild("Camera")
seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
    if seat1.Occupant then
      currentcam.CameraType = Enum.CameraType.Scriptable
      currentcam.CFrame = newCamera.CFrame
    else
      currentcam.CameraType = Enum.CameraType.Custom
    end
end)
#

make sure the script is a client context script

#

because the camera behaviour of each player is controlled clientsided

potent shell
#

yeah

#

but if not seat1.Occupant doesnt that mean if the player isnt seated?

proud idol
#

just remove the not

potent shell
#

does the newcamera need to be scriptable?

obtuse jasper
#

no you just use its cframe not the object itself

potent shell
#

i must be stupid cause this shit still doesnt work

local currentcam = workspace.CurrentCamera
local newCamera = group:WaitForChild("CameraPart"):FindFirstChild("Camera")

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat1.Occupant ~= nil then
currentcam.CameraType = Enum.CameraType.Scriptable
currentcam.CFrame = newCamera.CFrame
else
currentcam.CameraType = Enum.CameraType.Custom
end
end)

potent shell
warm seal
obtuse jasper
potent shell
#

i did

#

and it doesnt

obtuse jasper
#

I do this in one of my games, idk why it wouldn't work

local function updateCamera(cameraDestination: BasePart, cameraLookAt: BasePart)
previousCameraCFrame = camera.CFrame
camera.CameraType = Enum.CameraType.Scriptable

local goalCFrame = CFrame.lookAt(cameraDestination.Position, cameraLookAt.Position)
local tween = Tween:Create(camera, tweenInfo, {CFrame = goalCFrame})

tween:Play()

end

potent shell
#

wait

#

should the part have a camera that u switch too?

#

or is it just a part

#

cause im switching from currentcam to a camera inside a part

obtuse jasper
#

You just set the CurrentCamera's CFrame to that of the CFrame you want it to be at

fallen summit
#

@frigid mica hi i was impressed by your flight physics, is it possible that i can give you mine to help tweak out and fix a few bugs?

#

i just need it working realistically, its like 85% there

fallen summit
crude echo
#

do u guys have any tips for someone whos new to coding

potent shell
obtuse jasper
#

no

potent shell
#

cause i have this and i set the Cframe to that camera

obtuse jasper
#

no bro you set it to the CFrame of CameraPart not Camera

#

delete Camera

potent shell
#

yeah

proud idol
potent shell
#

okay

proud idol
#

if the camera contains the cframe data then no, but if the part has it then yes

#

problem is i dont think he knows

potent shell
#

it still doesnt workWHYYYYY

obtuse jasper
#

He def does not have a system xD just use the CFrame of the BasePart

potent shell
# obtuse jasper He def does not have a system xD just use the CFrame of the BasePart

i dont but the camera still wont switch im gonna start tweaking

local group = script.Parent.Parent.Parent
local seat1 = script.Parent
local players = game:GetService("Players")
local currentcam = workspace.CurrentCamera
local newCamera = group:WaitForChild("CameraPart")

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
if seat1.Occupant ~= nil then
currentcam.CameraType = Enum.CameraType.Scriptable
currentcam.CFrame = newCamera.CFrame
else
currentcam.CameraType = Enum.CameraType.Custom
end
end)

obtuse jasper
#

yeah

potent shell
#

i had it under the saet

#

seat

proud idol
# potent shell wait...

cause i have a feeling you are either using a server script, you have a local script on workspace or worse

potent shell
#

this whole time

#

i had it under the seat the whole time it works now

#

sorry lol

obtuse jasper
#

xD

torn cargo
#

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

local character = plr.Character or plr.CharacterAdded:Wait()
local hum = character:WaitForChild("Humanoid")

setTableStatus.setStatus(1, "0/2 Players")
setTableStatus.setStatus(2, "0/2 Players")
setTableStatus.setStatus(3, "0/2 Players")

hum.Seated:Connect(function(isSeated, seatPart)
    if isSeated then

    local tableName = (seatPart.Parent.Parent.Parent)
    setTableStatus.setStatus(tableName, "1/2 Players")

    else

        setTableStatus.setStatus(tableName, "0/2 Players")

    end
end)

end) how could i able to use tablename in the else statement

lapis parrot
#

is any1 needs help with scripting lmk

proud idol
torn cargo
#

it is a module

proud idol
#

or unless is one you amde for custom system

torn cargo
#

what i mean by tables is a table in the game

#

its a custom system

#

local setTableStatus = {}

local ReplicatedStorage = game:GetService("ReplicatedStorage")

function setTableStatus.setStatus(tableName, newStatus)

local statusName = tostring(tableName) .. " Status"
local statusValue = ReplicatedStorage:FindFirstChild(statusName)

if statusValue and statusValue:IsA("StringValue") then
    statusValue.Value = newStatus
    
    return true
end
return false

end

return setTableStatus

proud idol
#

Ah gotcha im assuming its one of lobby teleporters right?

sinful lintel
#

Guys do roblox bug rn ?

torn cargo
#

sort of

#

im planning of when u sit down with 2 people a game plays

#

on the table

sinful lintel
#

Chess

torn cargo
#

no

#

yk that trend on tiktok where they put wasami under sushi

#

wasabi*

#

not wasami im cookied

proud idol
torn cargo
#

tbh i worked on this all day lol

#

and i dont know any more solutions

proud idol
#

the way you get which table the player seated is a bit convoluted and will also trigger on seats that are not related to this

torn cargo
#

mm

#

im going is only have seats

#

im not sure what other things i can do regardless

proud idol
#

what i would do is instead of checking for players via the Humanoid.Seated event

torn cargo
#

ok

#

i did didnt i?

proud idol
#

you can have a modular model that has seats where a script listens to when a player sits

#

Seats have a property called occupant

#

whenever a player sits on it, this property references the players humanoid

torn cargo
#

i see what u mean im looking at docum.

proud idol
#

when they leave, it turns into a nil value

#

assuming your game is 2 player only

torn cargo
#

seats.occupant is the property?

#

na

proud idol
#

yes

torn cargo
#

its more than 2 plays

proud idol
#

well im gonna make the assumption it is for the sake of example

torn cargo
#

players but if i make it 2 players i might as well make a matchmaking system

#

ok tbh matchmaking system is fine

#

i would like to do that

proud idol
#

you could write this script to detect when theres 2 players

gilded ruin
#

i am looking for scripters that are interested in working for a studio (it has an investor), dm me for more info

left reef
#

anyone know if theres a way to try on any emote in game?? its like impossible to load in animation id of a emote

gilded ruin
#

but i forgot

#

naps are you a kidnaps

#

HAHA get what i did here?

left reef
gilded ruin
#

any emote?

#

js use the regular roblox thingy

left reef
#

bro

proud idol
#
local Model = script.Parent

local Seat1 = Model.Seat1
local Seat2 = Model.Seat2
local SeatList = {Seat1,Seat2}

local PlayerCountDisplay : StringValue

function CheckForSeatedPlayers()
  local OccupiedSeats = 0
  for i, Seat in pairs(SeatList) do
    if Seat.Occupant then OccupiedSeats += 1 end
  end
  
  PlayerCountDisplay.Value = OccupiedSeats.." / "..#SeatList
  if OccupiedSeats >= #SeatList then
    --> StartGame
  end
end

for i, Seat in pairs(SeatList) do
  Seat:GetPropertyChangedSignal("Occupant"):Connect(CheckForSeatedPlayers)
end
torn cargo
#

damn bro i appreciate it

proud idol
torn cargo
#

is the modular script?

proud idol
# torn cargo is the modular script?

nah this would go on a normal script, what i mean with modular system is make it so any changes you make to the script be reflected in each table

#

and theres many approaches to do this

potent shell
proud idol
gilded ruin
#

milk a brainrot

#

poop a brainrot has 2k+ CCU

proud idol
#

lame

gilded ruin
#

that means that milk a brainrot would have 1k ccu minimum

potent shell
#

pretty sure thats not how it works

gilded ruin
#

i mean it is the same quality

proud idol
gilded ruin
#

but anyways i do need scripters

potent shell
proud idol
#

if you wanna force a player to jump

potent shell
proud idol
#

you use this

potent shell
#

i want to force the player out the seat

proud idol
potent shell
#

can i do this?
local button = script.Parent

button.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local chr = player.Character or player.CharacterAdded:Wait()
local hmn = chr:WaitForChild("Humanoid")
hmn.JumpPower = 50
hmn:ChangeState(Enum.HumanoidStateType.Jumping)
end)

proud idol
#

BUT i would rewrite some of the code to be cleaner

#

but yes that would do it

potent shell
#

how would i make it cleaner? im kinda new to all this

proud idol
#

since ur using GUI, you have to account for the fact that the Character could reset

#

and while you can make it so GUI can be refreshed once a character dies

#

sometimes its better to not have this turned on

#

so id do this

potent shell
#

cant i just do resetonspawn = false

#

on the gui

proud idol
#
local Button = script.Parent
local Player = game:GetService("Players").LocalPlayer
local Character : Model = Player.Character or Player.CharacterAdded:Wait()
local Humanoid : Humanoid = Character:WaitForChild("Humanoid")

Player.CharacterAdded:Connect(function(NewCharacter)
  Character = NewCharacter
  Humanoid = Character:WaitForChild("Humanoid")
end)

Button.MouseButton1Click:Connect(function()
  Humanoid.JumpPower = 50
  Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end)
proud idol
#

cause when that happens the Character variable becomes nil as the character is destroyed and a new one is made

#

which is what the script i sent accounts for

potent shell
#

okay, thanks i kinda understand what your saying but whats up with the Character : Model = and Humanoid : Humanoid

#

ive never seen that

proud idol
potent shell
proud idol
#

very useful when writting code as it lets the code autofill work on variables that are created on runtime

potent shell
#

I dont understand๐Ÿฅฒ

proud idol
#

have you ever ran into the problem

#

on where u assign a variable to example a part that is supposed to be created while playin the game

#

but the code autofill doesnt know that

#

so it wont display the autofill options you can do

#

it also helps with clarity and with custom variable types

#

lemme get a snippet of a code i have

potent shell
#

what is the code autofil

#

l

static coral
#

the suggestions it gives u while u type

potent shell
#

ohh

proud idol
#

shoulda used autocomplete word

potent shell
#

i understand what that is but not really how this changes anything

proud idol
vestal mural
#

yall why is my VCS not syncing to studio

proud idol
potent shell
static coral
static coral
potent shell
#

okay

#

how do i add debounces to something?

proud idol
static coral
#

and if statements

proud idol
#

example

potent shell
#

i want to make it so this gui doesnt like enable instantly all the time since it interfenes with the script that makes the player jump since the gui gets like enabled right after

seat1:GetPropertyChangedSignal("Occupant"):Connect(function()
LeaveGui.Enabled = true
if seat1.Occupant ~= nil then
currentcam.CameraType = Enum.CameraType.Scriptable
currentcam.CFrame = newCamera.CFrame
else
currentcam.CameraType = Enum.CameraType.Custom
end
end)

proud idol
#
local Debounce = false

Instance.Event:Connect(function()
  if Debounce then return end --> Ends event execution if Debounce is true
  Debounce = true
  
   --> Code handling here...

  task.wait(x)
  Debounce = false
end)
main shuttle
#

Debounce my goat โค๏ธ

polar thorn
#

Does anyone know any really good codes for hackers

proud idol
#

I am a decent one, what seems to be the issue sir

#

lol guy asking for exploits

#

or are youa sking for anti cheats

polar thorn
#

No I want to stop them

polar thorn
#

Sorry my English is bad

static coral
#

just secure server side

potent shell
#

good?

polar thorn
proud idol
polar thorn
#

Flying, throwing people around

proud idol
#

but usually that comes with the cost of server latency

proud idol
#

flying is possible because of networkownership but throwing others not

polar thorn
#

Aaa okie

static coral
# polar thorn Flying, throwing people around

oh you will need server side system to detect them flying around. and you cant really stop them from creating physics constraints locally on their character aside from using a hacky method which is cloning a localscript into their playerscripts with the server. a simple solution is to just disable player collisions

proud idol
potent shell
# proud idol do check for backdoor though{

you know how i would make it so if the player leaves the occupant it goes -1?

local function UpdateGui()
local COUNT = 0
if seat1.Occupant ~= nil then
COUNT += 1
end

if otherSeat.Occupant ~= nil then
    COUNT += 1
end


GUITEXT.Text = COUNT .. "/2 Players"

if COUNT == 2 then
    GUITEXT.Text = ""
end

if COUNT == 0 then
    GUITEXT.Text = "0/2 Players"
end

end

proud idol
#

because if you wanna add more seats

#

ur just fucked and have to copy and paste more code

#

ironically the other code i made for the dude will help ya here

#
local Model = script.Parent

local Seat1 = Model.Seat1
local Seat2 = Model.Seat2
local SeatList = {Seat1,Seat2}

local PlayerCountDisplay : StringValue

function CheckForSeatedPlayers()
  local OccupiedSeats = 0
  for i, Seat in pairs(SeatList) do
    if Seat.Occupant then OccupiedSeats += 1 end
  end
  
  PlayerCountDisplay.Value = OccupiedSeats.." / "..#SeatList
  if OccupiedSeats >= #SeatList then
    --> StartGame
  end
end

for i, Seat in pairs(SeatList) do
  Seat:GetPropertyChangedSignal("Occupant"):Connect(CheckForSeatedPlayers)
end
#

you jsut have to adjust the logic to your code

torn cargo
#

i js cleaned up code

#

now i got to here

torn cargo
potent shell
#

its a stringvalue inside the model or what

proud idol
torn cargo
proud idol
proud idol
#

its not a one on one code for you though, you have to adapt the working code to ur system

modern seal
#

how would i make another place the starting place for a menu shall I just use a script to teleport the player to the menu?

modern seal
#

y

proud idol
#

theres a button called places

#

click it

#

then right click and option appears named "create new place"

modern seal
#

but im trying to make the new place the starting place

proud idol
#

for that just create a new place, publish the old starterplace cotnents to that new place

#

then publish the stuff you want to be for the starterplace

modern seal
#

uhh idrk how to publish the old starterplace to that new place

#

would just using a script be better

proud idol
#

go to the old starter place

#

then click file

#

publish to roblox as

#

go to your game

#

then it prompts u to select where u wanna publish the changes, select new place or the blank place that u created

modern seal
#

i did it thank you

proud idol
#

np

crude echo
#

yo guys what should I learn first in coding

main shuttle
polar thorn
#

Okie ya I am working on it

candid isle
#

HALLLO

hidden sable
#

-- Game Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local MAX_WALK_SPEED = 24
local MAX_JUMP_HEIGHT = 7.5

Players.PlayerAdded:Connect(function(player)
local warns = 0

player.CharacterAdded:Connect(function(character)
    local humanoid = character:WaitForChild("Humanoid")

    
    local conn
    conn = RunService.Heartbeat:Connect(function()
        
        if not humanoid or humanoid.Parent == nil then
            if conn then conn:Disconnect() end
            return
        end

        if humanoid.WalkSpeed > MAX_WALK_SPEED or humanoid.JumpHeight > MAX_JUMP_HEIGHT then
            if warns < 1 then
                warns += 1
                warn(player.Name .. " tried to exploit (WalkSpeed or JumpHeight)")
                humanoid.WalkSpeed = 16
                humanoid.JumpHeight = 7.2
            else
                player:Kick("Speed or jump hack detected. Bye.")
                if conn then conn:Disconnect() end
            end
        end
    end)
end)

end)

#

why its dont working

#

i cant understand

hasty cobalt
#

whats up with these viruses using fluidforcesensor instances

#

or am i missing something

torn cargo
#

anybody got the if not euqal to symbol

hasty cobalt
torn cargo
#

thanks

lapis parrot
#

if any1 needs help with scripting dm me

main shuttle
#

ehm thats totally not suspicious

still birch
#

Hello Scripters! what u guys prefer? Task.spawn() or Coroutines?

still birch
honest breach
#

can i send someone here like 3 bucks in crypto to fix something for me
its the most simplest fix

languid meadow
#

roblox we need to talk ahh

somber vault
#

any scripters want to work on a fantasy RPG game?

somber vault
#

didnt want to do that

weak meadow
#

@vernal timber

torn cargo
#

the status is not changing

fair copper
#

best way to blend animations?

hidden sable
hidden sable
torn cargo
#

the status is not changing

#

idk the problem

#

i mean when it reaches the occupied seats >= seat list it just stops

gilded stag
#

Does :MoveTo() work on local scripts

torn cargo
#

90 percent

gilded stag
#

because i moved the player using a local script and other players can see that they tpd

polar shore
#

any1 need a discord server made dm me

gilded stag
#

so im not bugging right and that should happen?

gilded stag
hidden sable
#

it will change on only client

gilded stag
#

no idea why ๐Ÿคท

hidden sable
gilded stag
torn cargo
#

ya

hidden sable
#

yeah

torn cargo
#

thinking ab it

gilded stag
#

how come

torn cargo
#

its on the client

hidden sable
#

everything on clientside

torn cargo
#

not the server

hidden sable
#

can be changed

gilded stag
#

alright so i should fire an event

torn cargo
gilded stag
#

or should i use module script?

torn cargo
hidden sable
#

remoteevent will work

gilded stag
#

ok!!

hidden sable
hidden sable
torn cargo
#

if OccupiedSeats >= #SeatList then
print("Start Game for", Model.Name)
-- StartGame()
end

    for _, Seat in ipairs(SeatList) do
        if not Seat:GetAttribute("Connected") then
            Seat:GetPropertyChangedSignal("Occupant"):Connect(CheckForSeatedPlayers)
            Seat:SetAttribute("Connected", true)
        end
    end its really these things are the problems
gilded stag
#

like whats the worst that can happen

#

just out of curiosity

hidden sable
#

idk what genre is your game

gilded stag
#

but we do sometimes get exploiters but

#

tping doesnt matter too much right

hidden sable
#

hard rp or something like brookhaven?

gilded stag
hidden sable
#

still it will be bad

gilded stag
#

okkk

hidden sable
#

imagine someone can teleport to your house

hidden sable
#

also this

gilded stag
#

dont wanna run into bugs

hidden sable
#

if PlayerCount and PlayerCount:IsA("StringValue") then
PlayerCount.Value = OccupiedSeats .. " / " .. #SeatList
end

#

can be sytanx erros

#

idk if i did right

torn cargo
#

na

#

u did it right

#

thanks

#

its just not changing the status

hidden sable
#

tell me if its works

#

oh

hidden sable
#

like when u use SetAttribute

#

you need add anything

#

"test" , true

gilded stag
#

@hidden sable so remove the blue line and do that ?

hidden sable
#

fire the event

gilded stag
#

it works!!

#

oh

#

let me change that to place

torn cargo
#

but i fixed

#

finally

#

been like a good hour

#

nvm

hidden sable
#

but no need for now ig

gilded stag
hidden sable
#

they can spam the event

vast hornet
gilded stag
vast hornet
#

im going crazy what's wrong with this

vast hornet
#

please just help me fix it ๐Ÿ˜ญ

#

im dying

gilded stag
obtuse jasper
#

why uis:IsKeyDown? just do input.KeyCode == Enum.KeyCode.Z

gilded stag
#

hes saying

#

if the place is

#

holding left contorl

#

i believe its a sprint script idk im guessing

hidden sable
#

๐Ÿ˜ญ

gilded stag
#

ctrl + z?

vast hornet
#

because i really don't see anything wrong with it

gilded stag
hidden sable
# vast hornet you're either fucking with me or the code has like some crazy mistake

local userInput = game:GetService("UserInputService")

local keysDown = {}

userInput.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end

keysDown[input.KeyCode] = true
keysDown[input.UserInputType] = true

if keysDown[Enum.KeyCode.Z] and keysDown[Enum.UserInputType.MouseButton1] then
    print("HAHAHA")
end

end)

userInput.InputEnded:Connect(function(input)
keysDown[input.KeyCode] = nil
keysDown[input.UserInputType] = nil
end)

#

here you go

#

maybe there was a more easy way to do idk

vast hornet
obtuse jasper
#

local UserInput = game:GetService("UserInputService")

local function checkTwoInputs(input, gameProcessed)
if UserInput:IsKeyDown(Enum.KeyCode.W) and UserInput:IsKeyDown(Enum.KeyCode.X) then
print("Works")
end
end

UserInput.InputBegan:Connect(checkTwoInputs)

#

this works

hidden sable
#

i already tested before sending lol

vast hornet
hidden sable
vast hornet
#

the fact that im using an azerty keyboard makes it more confusing

vast hornet
gilded stag
#

who uses azerty

vast hornet
#

insidestarter gui

vast hornet
gilded stag
#

startergui?

hidden sable
#

why startergui

obtuse jasper
#

What is his script even?

gilded stag
#

just put it in starterplayer

gilded stag
#

idk man

vast hornet
#

will it change anything bro

hidden sable
#

also its working for me

gilded stag
hidden sable
#

z + left click hold

obtuse jasper
# vast hornet will it change anything bro

use

local UserInput = game:GetService("UserInputService")

local function checkTwoInputs(input, gameProcessed)
if UserInput:IsKeyDown(Enum.KeyCode.W) and UserInput:IsKeyDown(Enum.KeyCode.X) then
print("Works")
end
end

UserInput.InputBegan:Connect(checkTwoInputs)

put it in StarterCharacterScripts

vast hornet
#

not left click

gilded stag
#

still will work maybe

vast hornet
#

i tried z + left click and it worked with your script lol

hidden sable
hidden sable
vast hornet
#

im gonna kms

late dirge
hidden sable
gilded stag
#

@hidden sable is this a bad way to fire an event to the server

vast hornet
#

dude what

gilded stag
#

so is that still bad

hidden sable
#

but why did u make this way

blazing oasis
#

Hello fellow skids

gilded stag
#

it works but im just wondering if its bad for exploiters

hidden sable
gilded stag
obtuse jasper
#

How to use Syntax for pasting scripts here?

hidden sable
gilded stag
blazing oasis
gilded stag
blazing oasis
#

Do u mean ``` lua

hidden sable
#

remote events still can exploited

vast hornet
gilded stag
#
hi