#code-discussion

1 messages · Page 150 of 1

junior pier
#

game.Players.Player.LocalPlayer 🔥🔥

plush plinth
#

Bro i got hacked

#

i got hacked

#

@kindred rain I got hacked

stark vault
#

help me this doesn't work

local MarketplaceService = game:GetService("MarketplaceService")
local player = Players.LocalPlayer

local button = script.Parent
local PRODUCT_ID = 3351638333
local TeleportPart = workspace:WaitForChild("TeleportPart")


button.MouseButton1Click:Connect(function()
    MarketplaceService:PromptProductPurchase(player, PRODUCT_ID)
end)


MarketplaceService.PromptProductPurchaseFinished:Connect(function(plr, productId, wasPurchased)
    if plr == player and productId == PRODUCT_ID and wasPurchased then
        local char = player.Character
        if char and char:FindFirstChild("HumanoidRootPart") then
            char.HumanoidRootPart.CFrame = TeleportPart.CFrame + Vector3.new(0, 3, 0)
        end
    end
end)```
sinful otter
#

is this local or normal scirpt

quartz vortex
#

scirpt

kindred rain
#

it's okay

#

reset your cookies

plush plinth
gaunt crater
#

Does anyone know a good gun system that supports pc, mobile, and console..?

sinful otter
#

wait @plush plinth did ur account get stolen or like whole pc data grabbed

#

or hacked system

plush plinth
sinful otter
#

did u run any exe or like windows + r and typed smth

plush plinth
#

This account is done for

sinful otter
#

how did he even hack u

#

what gave him access

tired remnant
#

He clicked on a link he shouldn’t have, most likely

sinful otter
#

but a link cant get access to cookies or saved paswords only to his ip

thorn solar
#

Does anyone know how much you would pay for an RNG system like sols?

tired remnant
sinful otter
#

just scan your windows for extra saftey cuz sometimes they inject cookies that are malicious full scan

wet maple
#

yo who heres a good scripter tryna find a dev team

stark vault
fervent sun
#

nah nah its not why

#

what this script supposed to be

stark vault
#

you click on a button gui and a developer product pops up

#

and if you buy it you get teleported to a certain part in workspace

fervent sun
#

bro

#

i dont think this is right

forest sequoia
#

I think you just need to use a remote event to update the players position server side

wet maple
#

who heres good at scripting im looking for a dev team

wet maple
#

ok

fervent sun
#

there is something wrong in the scriot

#

it should be more than 1 script

forest sequoia
#

Does it work like on your screen (on the client)

signal steppe
#

Hello if i found somehow something to duplicate games on rob’ox like i want to copy grow a garden and i copy it does that a abug bounty

weak knoll
#

why is rojo better than roblox studio?

crude schooner
#

Does anyone know how i can make a player gui or camera for when a player enters a titan and they can out of it?

#

like titanfall 2 interior viewing outside

signal steppe
#

Hello if i found somehow something to duplicate games on rob’ox like i want to copy grow a garden and i copy it does that a abug bounty

fluid tiger
rich gust
wet maple
#

skividibiidid

#

lemme watch my tutorials on how to script

vernal peak
#

local function OnPlayerAdded(player: Player)

should I always use : on functions?

rich gust
ember quiver
#

i asked ai on how to make a killbrick in lua

#

(gained it's trust)

#

then asked it to transform the code to assembly

#

(betrayal)

stiff zinc
#

Ai user🤮🤮🤮

stray karma
#

hey is anyone willing to help me with a really annoying issue I've been having? I'm working on a battlegrounds game with a few friends and I'm having a problem with attributes for stunning. Its really long and clanky so i don't wanna fill up the chat so if anyone can help in private dms that would be so greatly appreciated!

desert sail
#

Who trying to help me make a anime defence game? Lmk if dms.

ember quiver
#

Just so you know

#

A 100 line script in python are equavilant to 20k assembly codes

#

Idk abou lua

desert sail
#

Yeah see this exact reason I wouldn’t be a Scripter idk what yall talking about

#

I know what ai is but what is python and lua

tired remnant
desert sail
#

Yeah idk

ember quiver
desert sail
#

Nope

#

😭😭

queen kelp
signal steppe
#

@queen kelp

queen kelp
#

what

signal steppe
#

Hello ! I saw that you're an very experienced scripter and i would like to know if you can script or make a trick to duplicate pets in the game caleld grow a garden in roblox for 75 dollars *

#

@queen kelp

queen kelp
#

you want me to exploit grow a garden

signal steppe
#

Duplicatepets

#

Duplicate pets

queen kelp
#

im not the guy to come to for that

#

sorry

signal steppe
stray sphinx
#

by animation id

signal steppe
#

@gusty latch

#

Hello ! I saw that you're an very experienced scripter and i would like to know if you can script or make a trick to duplicate pets in the game caleld grow a garden in roblox for 75 dollars *

signal steppe
brittle token
#

@fallow yoke you know what to do

tired remnant
coarse wraith
gusty latch
coarse wraith
#

only possible if an exploit is found that lets you generate a new pet with a unique ID and i doubt any1 is gonna look for that for 75$ 💀

tired remnant
signal steppe
#

A frog got the same id everytime

#

She can be different but she got the same id

coarse wraith
signal steppe
signal steppe
#

@coarse wraith

signal steppe
#

U can help

#

@coarse wraith

coarse wraith
#

moroccan

signal steppe
coarse wraith
#

😭

signal steppe
#

We are bro

coarse wraith
#

respectfully

signal steppe
coarse wraith
#

there is no way you will be able to dupe grow a garden pets

signal steppe
coarse wraith
#

even if you have the file

coarse wraith
signal steppe
signal steppe
native quest
#

Most of these games have a module that secures incoming data from the client anyways, even if you find the correct data to use , 99℅ chance it'll not work regardless.

signal steppe
#

U see today

#

I found something

#

Like i used a script that gifted the pet and when i clicked on zccept

#

Accept

#

Another accept button spawned

#

@civic gull @coarse wraith

coarse wraith
#

bro i dont give a fuck about grow a garden

civic gull
#

fr

signal steppe
signal steppe
#

@native quest

civic gull
signal steppe
#

ima laughing

signal steppe
native quest
#

Not endorsing anything, but the most you'd be able to do with that game is find a way to lag it lol.

signal steppe
#

@native quest

#

I can lag it

#

Wanna help md

native quest
#

Nah

signal steppe
signal steppe
#

It lag the serv

#

Now what i do

native quest
#

Nah, I'd probably get on trouble on the server if I explained it to you lol

signal steppe
native quest
#

Bruh, i ain't helping you 'hack' in grow a dumb garden, that game is brainrot.

native quest
signal steppe
#

@native quest WAIT CHECK UR DM ONE LAST TIME I DONT ASK U TO HELP ME

jaunty path
signal steppe
#

@gusty latch

#

He watch kaiju no 8 lol

gusty latch
#

@fallow yoke

signal steppe
#

Please do not spam or flood the chat with messages this long, about possible exploitations to a game, or for other purposes.

signal steppe
#

@gusty latch its moonless

#

@fallow yoke @rustic inlet

Moderation already did his work so no need

wet maple
#

just learned a few scripting tricks in legit like 4 hours tell me if its good

#

local baseplate = game.Workspace.Baseplate

local function addition(number1, number2)
local result = number1 + number2

if number1 + number2 == 4  then
    baseplate.Material= Enum.Material.Granite
  else baseplate.Material= Enum.Material.Mud  
end

end

addition(2, 2)

#

i legit just started learning how to script 4 hours ago

marsh kelp
# jaunty path

behaving like what? explain more
and how are you scaling the enemies?

jaunty path
#

hold om let me get you the unscaled

thorn solar
#

Does any1 know how much i should pay for a RNG system like sols

jaunty path
placid matrix
thorn solar
native quest
#

Ai = UI, VFX. Cost : time

#

I'll be hibernating for a few weeks cya

gentle stag
#

@everyone I need help

placid matrix
thorn solar
placid matrix
thorn solar
ebon bloom
#

I'm very new to coding and learned a few things, could somebody quiz me or like tell me to make something and I attempt to do so? The stuff I learned so far are: Printing, Variables, Arithmetic, Object Oriented Programming, Functions, Scope, Returning, Parameters, If Statement, Else Statements, and Elseif Statements.

gusty latch
ebon bloom
native quest
# jaunty path

Are they r15 character? Could be something with the humanoid height scale property.

crisp crag
gusty latch
wanton roost
jaunty path
real zealot
#

free game

wanton roost
#

because with ur "bah" it seems like ur french

placid matrix
sudden estuary
#

did u give the player the ownership of the package?

thorn solar
placid matrix
crisp crag
thorn solar
sudden estuary
crisp crag
sudden estuary
#

you can;'t anchor the package and so

crisp crag
#

yeah i can

placid matrix
thorn solar
thorn solar
#

Alr then thanks

placid matrix
#

the scripter is gonna get most of it

sudden estuary
thorn solar
#

Thanks slime

#

🤗

crisp crag
sudden estuary
#

read the documentation

placid matrix
sudden estuary
#

and you will see why

thorn solar
crisp crag
sudden estuary
crisp crag
#

oh srry i didnt see that

jaunty path
jaunty path
wanton roost
jaunty path
#

i swear i recognize you

wanton roost
#

look at my join date

jaunty path
#

youre the french kid in dev discussion that was telling me to type in french right

wanton roost
#

wha

jaunty path
#

hmmm...

#

ok..

wanton roost
#

i never talked to you before 🙏😭

jaunty path
wanton roost
#

deepwoken? never talk to me again

jaunty path
#

well i mean u started the convo

wanton roost
#

Never talk to me again.

jaunty path
#

youre replying to my messages athyHmmm

glossy swan
ancient terrace
#

Hello ! I saw that you're an very experienced scripter and i would like to know if you can script or make a trick to duplicate pets in the game caleld grow a garden in roblox for 75 dollars *

glossy swan
#

i earn more in half a day than youre offering me

#

💔

#

ACTUALLY WHAT THE FUCK

ancient terrace
glossy swan
ancient terrace
#

FUCK GRAMMARS

#

Bro dont know how to script

glossy swan
ancient terrace
#

Ai

glossy swan
ancient terrace
#

My neck hurts 🤒

rare walrus
#

bro ltrly joined discord today

glossy swan
ancient terrace
ancient terrace
ancient terrace
#

So don't like innocent

glossy swan
ancient terrace
ancient terrace
#

Injust forgit 1 word

#

Forgot

glossy swan
#

ai ass npc investor that tries to make grow a garden on oversatured market and then thinks why he fails

ancient terrace
#

BRO DONT KNOW HOW TO READ

glossy swan
ancient terrace
#

Pets

ancient terrace
#

My neck hurt asf

glossy swan
#

@rustic inlet can weban him

#

blud came out of nowhere and asked me to make grow a garden for 75 dollars 🙏😭

marsh kelp
glossy swan
lean ocean
#

I understood him

glossy swan
#

no like tf you come here and ask some guy to make exploits to sell for indians or smth so they can sell them and crosstrade on 3rd party website

glossy swan
#

car

#

btw

#

does anyone know whats up with freezes in current patch

#

theres just a bunch of 5 milisecond sleeps

#

on a baseplate

#

randomly

marsh kelp
#

weird, doesn't happen to me

glossy swan
#

in my game too

marsh kelp
#

if this started happening right after an update, report it as a bug

glossy swan
#

cuz like they rolled out audioplayer preview or smth

#

maybe this

marsh kelp
#

maybe, better to report it so they can roll it back as fast as they can

strange kiln
#

Hi firends

violet folio
#

nobody

strange kiln
#

Wpuld you guys still love me if I was a worm?

violet lark
violet lark
glossy swan
lean ocean
#

what did the gif say 🤔

violet lark
#

Don't say it again 😭

lean ocean
#

guy acting like he threatened someone's family

#

👴

violet lark
lean ocean
#

Whyd that become a blacklisted word

violet lark
#

No it's just that it's a blocked word so you're not supposed to bypass it

violet lark
lean ocean
#

This server so sensitive

quick jolt
#

I am looking for a dedicated scripter that is willing to help make me and me friend's project to life, my friend is a good scripter but there are many stuff to do, if anyone is willing to see our game and maybe work for a % let me know

pure thistle
#

no one doing that

wheat void
#

if i wanna send info from one client to another would it make sense to do client --> server --> other client ?

wheat void
#

thx

wheat void
placid matrix
#

events

wheat void
#

thx#

spiral jungle
#

Imagine client to client in Roblox

warped ember
#

How do I store the original position of a part in a variable ?

spiral jungle
warped ember
#

Yeah how tho

spiral jungle
#

local original_pos = part.Position

#

How else???

#

It’s simple

warped ember
#

but after the function it goes somewhere else

spiral jungle
#

What do you mean by that

warped ember
#

Am I doing it right ?

#

the original position is on the left

spiral jungle
warped ember
#

oh

spiral jungle
#

When you store the position in a variable it’s already a vector 3

warped ember
#

I see

#

I got it now

#

Thanks man

coral oracle
warped ember
#

What's the difference of putting my script in workspace rather than putting it on serverscriptstorage

feral solstice
#

What should i use for a sword system, a raycast or getboundpartsinbox

somber vault
#

any scripters here for a quick commission

halcyon jetty
coral oracle
somber vault
#

I already got someone working on it

#

DM me I will let you know if I have more

coral oracle
#

Nah

#

Nvm

violet folio
thorny plover
#

scripters tryna work on a hood game paid in robux hmu must know oop and etc be good pls 🙏

thorny plover
#

pls pls good code

tough glacier
#

yo my beloved humans, Is it possible for a script to be created where the AI NPC entity carries the player if downed to a certain point on the map?

tough glacier
#

elaborate :DDD

thorny plover
#

i think

#

its possible

hollow ingot
#

is there any shopify scripter here

#

java scripter basiclly

strange kiln
tough glacier
strange kiln
tough glacier
#

Ofc i would have to pay

#

Ty

#

If it was you how much would you charge for that

strange kiln
#

Me?

#

Uhh i’m not used to commissions

#

I’ve only done one com and it was pretty easy

#

And I got 3.5K robux from it

tough glacier
#

Ah

strange kiln
tough glacier
#

Pretty smooth

#

I posted a hiring post but as I see it ill have to wait 4 days to get it accepted💀

strange kiln
#

Good-luck with your dragging dude😎

tough glacier
#

Thanks

rigid summit
#

guys i need 2-3 scripters

#

contact me in dm

steady plover
#

50k

#

im a scripter

rigid summit
#

ok contact me

#

in dm

#

so i can invite you

frigid hedge
#

we All hate coding lowkey

#

especially movement tech

#

💔

strange kiln
#

Just when it includes math

#

Like calculating how fast a tween should go

autumn orchid
frigid hedge
#

although idk why anyone would use it over luau

frigid hedge
strange kiln
#

Like

#

Every single time I want to make a tween that stays constant

#

It confuses me

frigid hedge
#

but

#

its just number

#

bro is afraid of the thingamadoodle called Counting

strange kiln
#

It is many numbers

crimson gyro
#

guys what should i script to apply for scritper in hiddendevs

half dust
#

is anyone here looking for a scripter?

feral solstice
#

Yo guys, so i made my first job for someone, it was an intermediate-advanced sword system, how much robux should i charge? "Its my first time"

fervent karma
#

It was network owner ship I had it set to nil for the dummy and Roblox servers are laggy so it would lag fixed it by setting it to the players network

feral solstice
humble mortar
#

@feral solstice How long have you been scripting for before you took on that job?

fervent karma
feral solstice
fervent karma
feral solstice
fervent karma
feral solstice
humble mortar
#

I mean its mainly for my own timeframe

half dust
#

is anyone looking for a scripter?

feral solstice
humble mortar
#

Hmm alright

fervent karma
#

And what does it include?

feral solstice
#

I see it perfect, no bugs, a tween that shows the damage in the npc, its a random position on the humanoid root part, so its not stable position

#

I used workspace: getboundpartsinbox

fervent karma
feral solstice
#

What should i add for it to be more complex? "I can but i just didn't have ideas"

feral solstice
fervent karma
#

Those are key for battleground games

feral solstice
#

I asked him though, u want raycast or getboundpartsinbox

fervent karma
#

Also should add m1 trading

#

If it’s for a bgs

feral solstice
jaunty nymph
#

The script is not working for some reason, let's say selected disc is cooldown, the tower has a cooldown of 1.8 and it should become 1.62. When I print the value right after changing it, it shows 1.62 as expected. When it prints all the stats, the cooldown stat is also 1.62, but when I look at the GUI that displays stats and the explorer, the tower still has a cooldown of 1.8 MaiFacepalm What am I missing here?

fervent karma
#

And blocking

feral solstice
fervent karma
urban yew
#

Where should I start learning Luau with very little past coding knowledge?

feral solstice
frigid trail
#

Lf long term scripter for kengan ashura fighting game

jaunty nymph
feral solstice
#

Can someone tell me what metatables are? And what are they used for?

jaunty nymph
wild kayak
#

Making games or game making tasks cheap if wanna hire dm me also can show previous works

soft grove
#

guys does my code look clean and modularized?

jaunty nymph
sudden estuary
#

explain better

blazing oasis
#

I thin he is saying

#

that the server scirpt is updating the value

#

but its not displaying

#

on the client

jaunty nymph
soft grove
#

can u explain what you are trying to make?

#

Is it a tower obby game?

jaunty nymph
soft grove
#

oh

sudden estuary
soft grove
#

If server then you are missing a calculation in the client

rotund pawn
#

How to handle hash -> random items from array function?

rotund pawn
#

The os.Time() works fine for hash, now I am working on getting random items from array by the hash

sudden estuary
#

I don't know how you are handling it, give more info

south vapor
#

sup

#

anyone needs help ?

rotund pawn
#

How can I test two servers using studio?

south vapor
#

ez
eat some vegetables

cosmic moth
south vapor
#

no

cosmic moth
#

lol

south vapor
#

me no teach

#

me help fix

cosmic moth
#

Is it easy

south vapor
#

hai

cosmic moth
#

If I no python already

#

Know

#

Not no

south vapor
#

python ez ez

#

luau ez

#

patience = learn

cosmic moth
#

Ok

#

Should I learnt his or VFX

#

This

quick jolt
#

Is anyone willing to test out my game? It is super cool and fun, it is not done but it is a simulator, I need some opinions and to test for some bugs dm me

soft grove
# jaunty nymph wdym?

I am assuming your code reduces the value from 1.8 to 1.62 by a calculation. Either on your client gui, you are missing a calculation or you probably have fired the wrong numerical value from the server

jaunty nymph
#

I assume I don't need to use
Cost = Cost - (CalculatedDiscount)

ruby kite
jaunty nymph
#

I have no idea why it doesn't work Crai

jaunty nymph
ruby kite
jaunty nymph
ruby kite
rotund pawn
#

Took long enough but finally

jaunty nymph
ruby kite
#

they are shared

#

which means client and server have their own copies

jaunty nymph
rose notch
#

Yo guys
How do you handle global stuff?
For example sending a global message

ruby kite
#

If its all use a DataStore

rose notch
#

“Global”

ruby kite
#

Or a MemoryStoreService

rose notch
#

Well I might not get enough help here so I’ll just look up some tutorials

half dust
#

is anyone who looking for a scripter?

soft grove
jaunty nymph
soft grove
#

It may help clarify if there is another calculation tampering your main calculation

#

Well the gui itself clarifies that but it is good to add print statements among the lines ur calculating other stuff

#

It helps traces u to the line causing the issue

static coral
cosmic brook
quick jolt
#

Oh mb

jaunty nymph
half dust
#

Is anyone here who want scripter or UI sisigner?

soft grove
sudden estuary
#

sisigner sounds like a cool last name

soft grove
#

This means one of your values u assigned in the calculation is changing

soft grove
#

It isn’t a gui issue, it’s an issue with how you are calculating. One value in ur calculation is changed later

jaunty nymph
#

Unless the script somehow mixed them up or something???

soft grove
#

line 210

#

Both 1.6 and 1.8 values

vast hornet
#

I need help making an anticheat, how do i make one?

jaunty nymph
jaunty nymph
vast hornet
#

How can i make a local script impossible to delete/disable

soft grove
rotund pawn
#

Am I totaly stupid or I cant play animation

local anim = script:WaitForChild("IdleAnimation")
local hum = script.Parent:WaitForChild("Humanoid")
local track = hum:LoadAnimation(anim)

track:Play()

The anim is published on group place is under
It works on dummy but when I put it to startercharacter it breaks

soft grove
#

How did you make your cooldown?

soft grove
#

always works accurately

golden yoke
soft grove
#

the code after variables should be wrapped in a loop

soft grove
tiny stone
jaunty nymph
#

As in how long it takes before attacking again

south sigil
soft grove
#

Can you send the code?

steel arrow
#

can someone help me with making people stay in my game fo rmore than 15 minutes

tiny stone
#

needs to be exciting

steel arrow
#

bro ive tried everything

#

i can only get some people ot play for a long time

#

the others just leave in like 1 minute

ivory zephyr
#

guys look at this script local part = script.Parent
game.Players.PlayerAdded:Connect(function(player)
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
local leaderstat = Instance.new("Folder")
leaderstat.Name = "leaderstats"
leaderstat.Parent = player

        local coins = Instance.new("IntValue")
        coins.Value = 0
        coins.Name = "Coins"
        coins.Parent = leaderstat
    end

end)

end)

#

nah it made to much folders

celest basin
ivory zephyr
celest basin
# ivory zephyr so how do i make it create only one folder

move the leaderstat and intvalue outside of the part.touched

like this:
game.Players.PlayerAdded:Connect(function(plr)
if plr then
local leaderstat = Instance.new("Folder")
leaderstat.Name = "leaderstats"
leaderstat.Parent = plr

            local coins = Instance.new("IntValue")
            coins.Value = 0
            coins.Name = "Coins"
            coins.Parent = leaderstat
        end

    end)
end)

end)

ivory zephyr
#

oh

#

ty

red arch
#

wait hold on

celest basin
#

ye

red arch
#

let me do smthing rq

modern gulch
#

Hey, for a global shop restock, when you buy something and then rejoin, how is it handled that it doesn't reset the "stock"? Do I save the purchases of that stock for the player or how?

red arch
#

@ivory zephyr

local part = script.Parent
local playersWithStats = {}

local function createLeaderstats(player)
if playersWithStats[player] then
return
end

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

local coins = Instance.new("IntValue")
coins.Value = 0
coins.Name = "Coins"
coins.Parent = leaderstat

playersWithStats[player] = true

player.AncestryChanged:Connect(function()
    if not player.Parent then
        playersWithStats[player] = nil
    end
end)

end

game.Players.PlayerAdded:Connect(function(player)
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
local character = hit.Parent
local touchingPlayer = game.Players:GetPlayerFromCharacter(character)

        if touchingPlayer == player then
            createLeaderstats(player)
        end
    end
end)

end)

#

here if you really want the leaderstats to be created upon touching the part lol 😭

celest basin
#

damnn

red arch
#

when they rejoin, load their purchase data and do some calculation, so then they can only buy the remaining amount when they have left

#

actually, let me write a script to help you understand

modern gulch
#

Alright thanks for the help!

red arch
jaunty nymph
#

It is just a basic script

blazing oasis
#

poooop

soft grove
jaunty nymph
#

This is the only place where Cooldown.Value is used

stray sphinx
#

anybody know how to add animation to tool?

#

my friend already made an animation and I have the id ready

pseudo elk
#

idk maybe this will work

halcyon jetty
#

you'll prob have to reupload it in your name

stray sphinx
pseudo elk
stray sphinx
#

the animation is a slap animation for a slaphand

#

so so I just insert the id?

pseudo elk
#

yup

#

like anim.AnimationId = "rbxassetid://YOUR_SLAP_ANIM_ID"

stray sphinx
#

inside what script tho

#

I have 2 for it

pseudo elk
#

gimme 2 mins

stray sphinx
#

one in serverstorage and one in serverscriptservice

#

alr

#

this is the script for serverscriptservice
local marketPlaceService = game:GetService("MarketplaceService")
local players = game:GetService("Players")
local slaphand = game.ServerStorage.SlapHand

local function giveTool(player: Player)
local backpackClone = slaphand:Clone()
local startGearClone = slaphand:Clone()

backpackClone.Parent = player.Backpack
startGearClone.Parent = player.StarterGear

end

players.PlayerAdded:Connect(function(plr)
local connection: RBXScriptConnection
connection = plr.CharacterAdded:Connect(function(char)
local hasGamepass = false
local success, errorMsg = pcall(function()
hasGamepass = marketPlaceService:UserOwnsGamePassAsync(plr.UserId, 1346597293)
end)

    if not success then
        connection:Disconnect()
        error(errorMsg)
        return
    end
    
    if hasGamepass then
        giveTool(plr)
    end
    
    connection:Disconnect()
end)

end)

marketPlaceService.PromptGamePassPurchaseFinished:Connect(function(plr, passId, wasPurchased)
if wasPurchased and passId == 1346597293 then
giveTool(plr)
end
end)

#

and this is for serverstorage

local tool = script.Parent
local slapForce = 40
local ragdollDelay = 0.3
local ragdollDuration = 3
local debounce = false

local function enableRagdoll(character)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
humanoid.PlatformStand = true
wait(ragdollDuration)
if humanoid then
humanoid.PlatformStand = false
end
end

local function slap(hit)
local character = hit.Parent
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
local rootPart = character:FindFirstChild("HumanoidRootPart")
if not rootPart then return end

local attackerRoot = tool.Parent:FindFirstChild("HumanoidRootPart")
if not attackerRoot then return end

local direction = (rootPart.Position - attackerRoot.Position).Unit

local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = direction * slapForce + Vector3.new(0, slapForce / 2, 0)
bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000)
bodyVelocity.P = 10000
bodyVelocity.Parent = rootPart

game.Debris:AddItem(bodyVelocity, 0.4)

delay(ragdollDelay, function()
    enableRagdoll(character)
end)

end

tool.Activated:Connect(function()
if debounce then return end -- stops the tool activating if debounce is true
debounce = true

local handle = tool:FindFirstChild("Handle")
if not handle then
    debounce = false
    return
end

local ray = Ray.new(handle.Position, handle.CFrame.LookVector * 5)
local part, position = workspace:FindPartOnRay(ray, tool.Parent)
if part then
    slap(part)
end

wait(10) -- cooldown here
debounce = false

end)

pseudo elk
#

maybe don't put the animation code in ServerStorage or ServerScriptService — those run on the server and can't control client animations properly. u need it local so the player sees it instantly

stray sphinx
#

so how do i do that?

pseudo elk
#

like this one

#

local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://YOUR_SLAP_ANIM_ID" -- replace this

local track

tool.Equipped:Connect(function()
local char = tool.Parent
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then
local animator = hum:FindFirstChild("Animator") or hum:WaitForChild("Animator")
track = animator:LoadAnimation(anim)
end
end)

tool.Activated:Connect(function()
if track then
track:Play()
end
end)

pseudo elk
#

put the localscript inside the Tool itself, like this:
StarterPack
└── SlapHandTool
├── Handle (Part)
├── LocalScript ← put it here

#

hope it works

stray sphinx
#

no the thing is

#

the tool isnt inside starterpack

#

cuz you have to buy a gamepass to recive the tool

#

so the tools inside serverstorage

tired remnant
pseudo elk
#

yo just keep the tool in ServerStorage
put a LocalScript inside the tool itself (like literally in the Tool)
then when player owns the gamepass, clone the tool to their Backpack — the LocalScript will run fine once it's there
animation will play normally from that script, even if it came from ServerStorage

tired remnant
#

Why would putting the tool in server storage change where the script for it would need to go?

stray sphinx
#

alr i put a localscript inside the tool

#

and put the code

#

but it still doesnt work

red arch
#

show code

stray sphinx
#

i have 3 codes

#

for it

#

first part for it to fling people:
local tool = script.Parent
local slapForce = 40
local ragdollDelay = 0.3
local ragdollDuration = 3
local debounce = false

local function enableRagdoll(character)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
humanoid.PlatformStand = true
wait(ragdollDuration)
if humanoid then
humanoid.PlatformStand = false
end
end

local function slap(hit)
local character = hit.Parent
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
local rootPart = character:FindFirstChild("HumanoidRootPart")
if not rootPart then return end

local attackerRoot = tool.Parent:FindFirstChild("HumanoidRootPart")
if not attackerRoot then return end

local direction = (rootPart.Position - attackerRoot.Position).Unit

local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = direction * slapForce + Vector3.new(0, slapForce / 2, 0)
bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000)
bodyVelocity.P = 10000
bodyVelocity.Parent = rootPart

game.Debris:AddItem(bodyVelocity, 0.4)

delay(ragdollDelay, function()
    enableRagdoll(character)
end)

end

tool.Activated:Connect(function()
if debounce then return end -- stops the tool activating if debounce is true
debounce = true

local handle = tool:FindFirstChild("Handle")
if not handle then
    debounce = false
    return
end

local ray = Ray.new(handle.Position, handle.CFrame.LookVector * 5)
local part, position = workspace:FindPartOnRay(ray, tool.Parent)
if part then
    slap(part)
end

wait(10) -- cooldown here
debounce = false

end)

#

2nd part for it too do the animation:
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://105205708029280" -- replace this

local track

tool.Equipped:Connect(function()
local char = tool.Parent
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then
local animator = hum:FindFirstChild("Animator") or hum:WaitForChild("Animator")
track = animator:LoadAnimation(anim)
end
end)

tool.Activated:Connect(function()
if track then
track:Play()
end
end)

red arch
#

whats uh wrong with it

stray sphinx
#

animation wont play when I click

#

i want it too do a animation to slap someone

#

like the ones in those slap towers or games which have slaphands

pseudo elk
#

is the character R15 (not R6?

stray sphinx
#

wait lemme check

red arch
#

if thats not the problem then let me send you my animation debug module

#

should let you know what the fuck is wrong

stray sphinx
#

alr

#

so uh animation is r6

#

and idk how to switch to r6

pseudo elk
#

hm thats problemm

stray sphinx
#

cuz it says avatar settings have moved under the thingy now

#

and when I look for it it doesnt show switch to r6

#

i fixed it I think

tawny forge
#

guys am making a robber who delivers packages game,
i wanna add police cars, but any model i add from toolbox,
is either so bad or tires doesnt spin

what should i add to make robbers hard to deliver it?

stray sphinx
#

nah it still doesnt work

pseudo elk
# stray sphinx nah it still doesnt work

may be try this one prob it'll work copy-paste this exact LocalScript into your tool (inside the tool, not outside):

local tool = script.Parent
print("LocalScript is running") -- test if script runs

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://YOUR_ANIM_ID" -- replace with your slap anim ID

local track

tool.Equipped:Connect(function()
print("Tool equipped")
local char = tool.Parent
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then
local animator = hum:FindFirstChild("Animator") or hum:WaitForChild("Animator")
track = animator:LoadAnimation(anim)
print("Animation loaded")
end
end)

tool.Activated:Connect(function()
if track then
track:Play()
print("Played animation")
else
warn("Track not loaded")
end
end)

#

idk but i tried

stray sphinx
#

alr ill try

pseudo elk
#

does it work?

stray sphinx
#

nope

pseudo elk
#

hm then idk

stray sphinx
#

it says

#

11:32:47.690 Failed to load animation with sanitized ID rbxassetid://105205708029280: Animation failed to load, assetId: htt ps://asse tdeliver y.roblox.com/v1/asset?id= 105205708029280&serverplaceid=0 - Studio

#

but when I click it says played animation

blazing leaf
#

guys, I wanna get better at coding but i feel stuck rn, I end using chatgpt to script all the time, pls help

pseudo elk
#

now its just maybe

blazing leaf
#

@pseudo elk can u help me?

#

I wanna stop using chatgpt to script but whenever i try to script from scratch myself, i get stuck

wild kayak
#

what web should i use for my portfolio

pseudo elk
#

try try

blazing leaf
pseudo elk
#

lol

stray sphinx
blazing leaf
#

pls some real good advice, how did yall learn

stray sphinx
#

like brawldev

#

hes pretty good

wild kayak
#

what web should i use for my portfolio

blazing leaf
pseudo elk
# stray sphinx alr so do I just download the animation?

ah you don’t gotta download anything
just open the animation in the Animation Editor in Studio then click the 3 dots “Save to Roblox As...”
pick your account or group same as the game owner, hit publish copy that new animation ID and use it in your script idk if it works

kind owl
kind owl
#

read the fucking manual

blazing leaf
#

dawg chill

kind owl
#

it's what RTFM stands for /shrug

pseudo elk
#

lol

kind owl
#

plenty of devs don't do it

blazing leaf
#

oh mb i m kinda illiterate

#

is the devhub useful?

kind owl
#

if you are stuck on syntax or operations you can do, there are docs for that, this just is a problem where you need more exposure

kind owl
blazing leaf
red arch
kind owl
#

It entirely depends, where are you getting stuck in the development process?

eternal flicker
#

Who want to make a game together must have 2+ years and be 13+ dm

kind owl
blazing leaf
#

you know where u keep watching tutorials but cant build smthg ur self

kind owl
#

if I asked you to make a function that randomly changes a part color every second, do you know where you'd start?

blazing leaf
#

hm lemme think

#

first i would refer to the part

#

then i would use math.random? ig

blazing leaf
#

or tweenservice?

blazing leaf
pseudo elk
#

idkkk just try

stray sphinx
#

its alr

#

my friend sent me the game file

stray sphinx
blazing leaf
#

by reuploading

pseudo elk
stray sphinx
#

alr cya

stray sphinx
#

but it ignores my cooldown

#

so ima fix that rq

jaunty nymph
rustic cedar
#

for me, i think it's easier if you think of coding as an actual language and not get too mixed up in the terminology when starting out

you can, study syntax, look at basic coding and try to read it, etc

it's easier than you think to JUST read or try to somewhat understand basic code

hidden vigil
#

is it possible to change fov on a dash script when dashing?

#

i have another script which locks player in first person and you can also change fov in that

lavish jolt
#

could anyone teach me how and more about scripting for money/ or robux???!

rotund pawn
#

I am working on glider tool, how can I "Rotate" the tool with player for dive?

lusty flume
#

yo anyone wanna make a game with me we 50/50 the robux or money and all i need is someon ewith coding knowledge to make a combat system

#

with swords

crisp owl
#

did anyone crack the code of discussion yet?

wild kayak
#

Making cheap games my portfolio is in my description

wild badger
#

how the fuck do i make this the death screen

rotund pawn
#

With GUI

wild kayak
#

Making games my portfolio is in my description

tame musk
ripe plume
#

^^

elder brook
peak stratus
#

guys whats the best way to learn lua without paying?

tame musk
wild badger
#

fuck is a humanoid died event

tired remnant
#

💀

tame musk
wild badger
tame musk
elder brook
wild badger
#

yeah i get my scripts from grok

ripe plume
tame musk
wild badger
#

yeah exactly

wild badger
# tame musk

kinda a good close second when you dont know how to script

#

you cant blame me

elder brook
tame musk
wet maple
#

yo im lf a dev team does anyone know where to start?

odd phoenix
#
wet maple
#

sure

#

sure

hidden vigil
#

alr

copper jacinth
#

Don't hire outside the marketplace

hidden vigil
#

does it count as hiring if its smth just for fun 😭

potent glen
#

guys is it worth it to use shapecasthitbox for gun weapons

bright coral
#

u really dont need paid tutorials for languages in 2025

copper jacinth
blazing oasis
#

u just neeed a bit of time

#

if u do scirpting for like an hour every day for a month

#

u can learn it

#

to a decent extent

hearty urchin
#

whats the average time that someone can learn roblox scripting decently

blazing oasis
#

to the part where you can do commisions

#

or to when u can make a whole game urself

tired remnant
blazing oasis
#

and how fast they learn

hearty urchin
bright coral
blazing oasis
#

i mean it only took me a couple months

bright coral
#

There isn't much u use for avg game icl

blazing oasis
#

yea

bright coral
#

I can prob list like 10 things I use

#

For basic game

blazing oasis
#

just a bunch of remote evenets

bright coral
#

Just learn loops properties tables and events

blazing oasis
#

anbd module scripts

hearty urchin
blazing oasis
#

if you cant read then

#

watch youtube tutorials and practice

tired remnant
blazing oasis
#

just try and make random things

blazing oasis
thorn arch
blazing oasis
#

thats noton youtube

blazing oasis
#

we jsut said how long would it take to get to that point

hearty urchin
#

Hardest part for me is to think of anything to script after watching a youtube video

#

because i dont know if the thing i script would be useful in the future or not

dry falcon
#

who want to make a roblox game with me

tired remnant
tired remnant
#

The exact purpose of the script itself, that is*

blazing oasis
fiery plank
#

Does anyone wanna helpme and my team make a disney world.

blazing oasis
#

if u are onyl scripting useful things then u might as well watch a tutorial on how to make a full game

fiery plank
#

Its for roblox

blazing oasis
tired remnant
fiery plank
fair copper
hearty urchin
#

Anyone know if brawldev's youtube series are worth watching

tired remnant
fiery plank
#

mb

arctic plaza
fiery plank
hearty urchin
blazing oasis
arctic plaza
blazing oasis
fiery plank
blazing oasis
#

so

#

i thought the person was on about basic cfrae

blazing oasis
hearty urchin
fiery plank
blazing oasis
fair copper
#

😭

#

he hired 2 builders with nothing

#

idk what am i doin

fiery plank
scenic lily
#

yall how to remove "switch to your r15 avatar to play emote" error when im trying to add custom /e emote

blazing oasis
blazing oasis
fair copper
#

im aware bro

#

sigh

blazing oasis
#

lol

fair copper
#

what do we think of this chest

blazing oasis
#

you should be able to work it out

#

tthey are either bored or bad

blazing oasis
#

nothing much to learn

#

just find some settings

#

from someonre or tyoutube or smt

fiery plank
fair copper
#

hmm youtube alright

blazing oasis
fiery plank
#

I saw there portfoilo.

blazing oasis
blazing oasis
#

if they have a good portfolio then thaty leaves one option

#

they are bored and just gonna do little work

#

or work alot for a bit then dip

fair copper
#

i wonder why roblox has different things

#

like modeller / builder 2 things

fair copper
#

lmao

blazing oasis
fiery plank
#

Ok.

blazing oasis
fiery plank
#

Lets see who is right.

blazing oasis
#

some people dont like the truth]

#

dont come to the server saying you got scammed once they block you btw

fiery plank
#

well its the truth that they will work hard.

frigid hedge
#

only downside about having me is that i work when i feel like it

#

not when im told to

#

if im getting paid though

fiery plank
#

oh ok

frigid hedge
#

and im not for hire rn 🤑

compact spoke
#

your portfolio is a discord server

frigid hedge
#

yessir and i hardly care about it

compact spoke
#

why

fiery plank
frigid hedge
#

why would i care if im not for hire

#

anything i like i put in there

fiery ermine
#

Hi

frigid hedge
#

hi

compact spoke
frigid hedge
#

i dont

#

im a closed gates guy

frigid hedge
compact spoke
frigid hedge
compact spoke
#

itsokay friend

fiery plank
#

just asking

frigid hedge
frigid hedge
#

skill gague

fiery plank
#

one sec

unreal axle
#

how would y'all go on about making a hovering camera?

drowsy fjord
#

im looking for cheap low quality scripters for a game dm me

unreal axle
#

the fuck

sick saffron
#

are comments meant to be outside the function?

civic gull
pastel sentinel
#

yo guys, how much yall think it would cost for a scripter to turn something into a working morph

frigid hedge
#

bros killing 99.9% of germs with this one

frigid hedge
#

im pretty sure theres free models of morphs

#

you can just repurpose that

sick saffron
sick saffron
#

because it was one of my weak points when i got feedback from the hidden dev skill role application

sleek shuttle
#

hi!

civic gull
#

kinda like this

sick saffron
#

ok

#

and you passed the skill role application with that?

#

along with ur main code

civic gull
#

i mean thats a small snippet but yea

hearty urchin
#

is scripting 1-2h per day enough to learn most of the stuff in a year

blazing oasis
#

yes

#

most of the uh important stuff

past hornet
#

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

Players.PlayerAdded:Connect(function(player)

local cat = ServerStorage:WaitForChild("Cat"):Clone()

local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")

cat.Parent = workspace.Pets

end) im trying to make a pet spawn at the right of the player, just like every pet simulator. im just trying to script as i am a begineer

#

chatgpt is stupid and cant help me

past hornet
#

imma try that

copper jacinth
#

Use the marketplace for finding developers

woeful cloud
#

Is anyone experienced with Roblox TOS and module scripts being taken down?

#

Mainly TOS and scripting knowledge needed

compact vine
#

Do you guys think AI will take over scripters in the next 5-10 years and is it worth it to start learning scripting right now?

pastel sentinel
#

Yo guys how would I make a cutscene

pastel sentinel
compact vine
#

Like do you think AI will be able to create complex games like the strongest battlegrounds from the ground up?

pastel sentinel
#

yo yall how much would it cost to make and script a simple animation like Spider/Centipede does?

pastel sentinel
steady plover
#

yuay

solemn knot
#

atleast not without human guidance

#

sure ai will be able to do the coding

marsh kelp
fleet marlin
#

@marsh kelp

#

U code

marsh kelp
#

No

#

that's not mine

worldly sonnet
#

How do i write lua in c++?

cloud brook
#

https://devforum.roblox.com/t/scheduler-a-performance-measurement-tool/3849732?u=eternity_devs
just sharing for those need, hopefully its good for you.

sorry if the chat flooded

vast hornet
#

is memorystorequeue ready enough nowadays where i could use it for matchmaking???

somber vault
#

does anyone wanna help out a small studio to grow big, its my dream of achieving a finished game, i want to push a game to make it fun for players and not pay to win

fleet marlin
#

Who script

rich gust
fair copper
rich gust
vast hornet
rich gust
fair copper
fleet marlin
#

Ok

fair copper
#

to go with my melees

fleet marlin
#

So u script right

rich gust
fair copper
#

i will use raycasts

#

have u seen my aim lock system?

rich gust
fair copper
#

look

fair copper
#

so im gonna make a ranged system work on this

rich gust
#

oh shoot, thats fire

fair copper
#

but im gonna make the arms be rotational according to the enemy position

#

what do u think is it possible