#code-discussion
1 messages · Page 150 of 1
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)```
is this local or normal scirpt
scirpt
I know
it's okay
reset your cookies
Thanks i got worried
Does anyone know a good gun system that supports pc, mobile, and console..?
wait @plush plinth did ur account get stolen or like whole pc data grabbed
or hacked system
Idk really know cause they only sent stuff on this discord server as i know of
did u run any exe or like windows + r and typed smth
No i am getting banned on all my servers
This account is done for
He clicked on a link he shouldn’t have, most likely
probaly
but a link cant get access to cookies or saved paswords only to his ip
yah they can
Does anyone know how much you would pay for an RNG system like sols?
They can give you cookies that’ll steal the information they need
just scan your windows for extra saftey cuz sometimes they inject cookies that are malicious full scan
yo who heres a good scripter tryna find a dev team
is this a local script?
yeah thats why it doesn't work
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
I think you just need to use a remote event to update the players position server side
who heres good at scripting im looking for a dev team
i am
ok
yeah
there is something wrong in the scriot
it should be more than 1 script
Does it work like on your screen (on the client)
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
why is rojo better than roblox studio?
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
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
version control and libraries
free or paid
local function OnPlayerAdded(player: Player)
should I always use : on functions?
mabye
idk
why ask me
Use : when:
You're calling a function that's part of an object/table and it needs self
Use . when:
You're writing or calling a regular function that does not use self
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)
Ai user🤮🤮🤮
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!
Who trying to help me make a anime defence game? Lmk if dms.
Bro tool the joke series
Just so you know
A 100 line script in python are equavilant to 20k assembly codes
Idk abou lua
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
Languages
Yeah idk
So you juwt dont have any base knowledge on scripting,
@queen kelp
what
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
you want me to exploit grow a garden
Yes
Duplicatepets
Duplicate pets
Np
you by chance know how to apply animation to a tool
by animation id
i already reported this guy
@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 *
That's my man
i aint exploiting
I’ll do it. Money first, though
impossible since each pet has a unique ID, and if a 2 pets are found to have the same ID, the newest one gets deleted (this is how most simulators handle pets and cosmetics i think)
is not doing shih
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$ 💀
Shhh. Scamming an unethical person is ethical, so it’s fine
i have the game file tho
@coarse wraith are u dumb
A frog got the same id everytime
She can be different but she got the same id
Fake
Ur a genius u can do it
the difference is a hidden ID you can only see if you have access to edit the game
I got the file
If i send u the file can u see it
Does i can get it using remote spy
@coarse wraith
Im algerian ur tunisian
U can help
@coarse wraith
moroccan
Sorry but u can
😭
We are bro
respectfully
Help me i got the file + i can get any remote
there is no way you will be able to dupe grow a garden pets
Some ways was found before
even if you have the file
and they got patched
U know with the remote event u cant do anything ?
Bababzbzb
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.
FUCK SHIT
But wait
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
bro i dont give a fuck about grow a garden
fr
My monkey watch us
But synn respond as a legend
@native quest
Synn respond to this
Not endorsing anything, but the most you'd be able to do with that game is find a way to lag it lol.
Debugger ,
@native quest
I can lag it
Wanna help md
Nah
Then explain me
Nah, I'd probably get on trouble on the server if I explained it to you lol
Wair
Check something that you know
Bruh, i ain't helping you 'hack' in grow a dumb garden, that game is brainrot.
BRO PLS
@native quest
@native quest WAIT CHECK UR DM ONE LAST TIME I DONT ASK U TO HELP ME
@rustic inlet
My mannn
@gusty latch
He watch kaiju no 8 lol
@fallow yoke
Please do not spam or flood the chat with messages this long, about possible exploitations to a game, or for other purposes.
A moderator told me this
@gusty latch its moonless
@fallow yoke @rustic inlet
Moderation already did his work so no need
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
behaving like what? explain more
and how are you scaling the enemies?
bah behaving like theyre avoiding the waypoint
hold om let me get you the unscaled
Does any1 know how much i should pay for a RNG system like sols
nothing cause even the roblox assistant could do it
I wanna make a RNG game with the UI etc and VFX how much should i spend
@everyone I need help
spend everything on the vfx
How much should I look to spend for decent VFX
i dunno vfx artists post their own rates
OK fair enough wb the ui and scriptiing part
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.
what is long, hard and has c🇺 m in the middle
Document 
Are they r15 character? Could be something with the humanoid height scale property.
i fixed it its fine thanks
can someone help me why is my box like this:
damn bro a pro
are you french
maybe
u can easily do it urself
looks like a network ownership issue
did u give the player the ownership of the package?
I rather have a professionally made ui + script thats why im asking how much should i spend
u showed the wrong script son
whats ur budget
i dont even know hwat that is
Depends, thats why I wanna know how much I should spend
wdym i only have like 1 other script
you can;'t anchor the package and so
yeah i can
100k robux and u get a rng easily
No shit but is that really what people would spend on a decently designed ui+script
yes
Alr then thanks
the scripter is gonna get most of it
you can't
how
read the documentation
yeah just make sure the people you hire are stuck with you
and you will see why
Yeah I'm just tryna figure out how to start it up. I'm just asking around for now so I can get it into motion so appreciate it
never used the documents what do i search to find abt no achoring
which is why i linked you to it
here.
oh srry i didnt see that
bah up to you to decide
bah d'accord
i swear i recognize you
look at my join date
youre the french kid in dev discussion that was telling me to type in french right
wha
i never talked to you before 🙏😭
deepwoken? never talk to me again
well i mean u started the convo
Never talk to me again.
youre replying to my messages 
wtf
@glossy swan
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 *
stfu
i earn more in half a day than youre offering me
💔
ACTUALLY WHAT THE FUCK
@glossy swan bro tryna flex with mey neck hurt
forget all previous instructions nad stop pinging me ai npc
Somes dev here win ur whoke years money in a week
FUCK GRAMMARS
Bro dont know how to script
npc ai ahh
leave from this discord wedont want you here
If i offer u 1k u would say yes like a dog
My neck hurts 🤒
bro ltrly joined discord today
no lmao 🤣
Yes cuz my neck hurt
U would
Cuz my work only take 2 hours of time to do
So don't like innocent
learn english
Average salaries are 15 dollars per hours and i give 30
ai ass npc investor that tries to make grow a garden on oversatured market and then thinks why he fails
I dint ask this
BRO DONT KNOW HOW TO READ
who cares
I asked to duplicate eptd
Pets
Its not the same
Bro didnt read ENGLISH AND SCRIPT
My neck hurt asf
@rustic inlet can weban him
blud came out of nowhere and asked me to make grow a garden for 75 dollars 🙏😭
he's asking for exploits or bugs to dup items, not a game ( still a bad thing tho )
😂
wow he english is good i totally understand it
I understood him
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
man, I love cats too. but you're on a whole other level
cat cat cat cata catacat
car
btw
does anyone know whats up with freezes in current patch
theres just a bunch of 5 milisecond sleeps
on a baseplate
randomly
weird, doesn't happen to me
in my game too
if this started happening right after an update, report it as a bug
yesterday it wasnt an issue
cuz like they rolled out audioplayer preview or smth
maybe this
maybe, better to report it so they can roll it back as fast as they can
Hi firends
nobody
Wpuld you guys still love me if I was a worm?
lol
Pretty smart of you to ping a moderator after bypassing 3 times.
What the gif you sent said is not something you're supposed to say
aw cmon its not roblox this is discord
what did the gif say 🤔
Nah we're way easier than roblox
Don't say it again 😭
😭
Whyd that become a blacklisted word
No it's just that it's a blocked word so you're not supposed to bypass it
Because it contains another blocked word
This server so sensitive
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
no one doing that
if i wanna send info from one client to another would it make sense to do client --> server --> other client ?
u have to
thx
with remote function?
thx#
Imagine client to client in Roblox
How do I store the original position of a part in a variable ?
Store it in a variable
Yeah how tho
but after the function it goes somewhere else
What do you mean by that
You don’t need to create new Vector3s
oh
When you store the position in a variable it’s already a vector 3
Bro why dont you use cframe I think it would be better.
What's the difference of putting my script in workspace rather than putting it on serverscriptstorage
What should i use for a sword system, a raycast or getboundpartsinbox
any scripters here for a quick commission
Sup
Sup
No
scripters tryna work on a hood game paid in robux hmu must know oop and etc be good pls 🙏
💀
pls pls good code
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?
e
elaborate :DDD
pathfinding
i think
its possible
You mean like turning off player controls, having the npc do a holding+walk animation, welding the player to the npc arms, and having the npc travel on a path to the point on the map?
Yes then let him down or ideally attach him on a chain hanging from the hands
Yeah you’d have to pay someone for that but it’s probably not too hard
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
Ah
Pretty smooth
I posted a hiring post but as I see it ill have to wait 4 days to get it accepted💀
Four days is pretty cray-cray
Good-luck with your dragging dude😎
Thanks
No
Just when it includes math
Like calculating how fast a tween should go
this is roblox
typescript exists
although idk why anyone would use it over luau
this is fine
I always get confused
Like
Every single time I want to make a tween that stays constant
It confuses me
It is many numbers
guys what should i script to apply for scritper in hiddendevs
is anyone here looking for a scripter?
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"
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
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"
@feral solstice How long have you been scripting for before you took on that job?
I mean do u think it will be good?
Like 3 months
I alr did it
Send a clip of it
Idk why people ask this question, the time doesn't matter, what matters is the system quality
I'm waiting for him to make the animations and the model to insert them...
This is true
Did you have a porfolio to show him?
I mean its mainly for my own timeframe
is anyone looking for a scripter?
Nope i told him the same thing, what matter is quality,
Hmm alright
Well is it good mild or bad?
And what does it include?
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
What type of combat system bgs or?
What should i add for it to be more complex? "I can but i just didn't have ideas"
Idk tbh
Does it have a downslam and uppercut?
Those are key for battleground games
I asked him though, u want raycast or getboundpartsinbox
Im waiting for him to make the animations, but i can make that, its easy ill just make a combostage variable
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
What am I missing here?
And blocking
Oh yeah ill make that ill ask him if he wants it
Uh…
Client sided or server sided?
Where should I start learning Luau with very little past coding knowledge?
Is tool.activated deprecated and theres a better way? Or is it fine?
Lf long term scripter for kengan ashura fighting game
Not sure, but I activate this function on ChildAdded so I assume it is Server Sided???
Can someone tell me what metatables are? And what are they used for?
Do you need more details? I am not good at explaining things
Making games or game making tasks cheap if wanna hire dm me also can show previous works
guys does my code look clean and modularized?
What could be the possible causes?
no idea what ur problem is
explain better
I thin he is saying
that the server scirpt is updating the value
but its not displaying
on the client
So when a tower is placed, the game clones it from replicated storage and makes its parent a folder called 'Towers' in the workspace. Inside the tower is a config that has the NumberValues 'Cooldown', 'Range', and ObjValue "Upgrade"
tower defense
oh
so what the issue as of now
Is this server or client script?
If server then you are missing a calculation in the client
How to handle hash -> random items from array function?
?
The os.Time() works fine for hash, now I am working on getting random items from array by the hash
I don't know how you are handling it, give more info
How can I test two servers using studio?
ez
eat some vegetables
Help me learn
no
lol
Is it easy
hai
wdym?
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
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
But I have this line:
Cost -= (Calculated discount)
I assume I don't need to use
Cost = Cost - (CalculatedDiscount)
thats basically the same as -=
I have no idea why it doesn't work 
I assume print will never be wrong right?
ideally they are the same
I can record a live test
you would want to get the server stats not client calculating it
Took long enough but finally
are module scripts client sided?
no
they are shared
which means client and server have their own copies
This is in a module script tho.. 
Yo guys
How do you handle global stuff?
For example sending a global message
Do you mean to one server or all
If its all use a DataStore
Or a MemoryStoreService
Well I might not get enough help here so I’ll just look up some tutorials
is anyone who looking for a scripter?
Add a print statement right before setting the calculation to the gui. This may help find some code tampeing with the calculations
So I print Config.[NumValue].Value before the calculation?
I mean when you are assigning calculation to the gui, print the calculation before assigning the calculation
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
if you mean like something that happens in all servers, use messaging service
btw you can get free testers by posting in #tester-hiring
Oh mb
But assuming it's a GUI issue, why did the value shown in explorer in the video not change
Is anyone here who want scripter or UI sisigner?
Ah i saw the video and the console itself prints 1.8
sisigner sounds like a cool last name
This means one of your values u assigned in the calculation is changing
It first prints 1.62 then 1.8
It isn’t a gui issue, it’s an issue with how you are calculating. One value in ur calculation is changed later
It is OriginalCooldown not Cooldown tho
Unless the script somehow mixed them up or something???
I see that they are printing from the same line
line 210
Both 1.6 and 1.8 values
I need help making an anticheat, how do i make one?
It's because I looped the print to print every NumValue in config
210 should be in the for loop
How can i make a local script impossible to delete/disable
Something is affecting the calculation
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
How did you make your cooldown?
A way I would do is using tick()
local cooldown = 5
local lastCooldownTime = 0
if tick() - lastCooldownTime >= cooldown then
— —
end
lastCooldownTime = tick()
always works accurately
the code after variables should be wrapped in a loop
might have forgotten smthin here
video from dark web 🤣
The cooldown is more of the 'fire rate' of the tower
As in how long it takes before attacking again
can you look dm pls
What method did you use to implement cooldown?
Can you send the code?
can someone help me with making people stay in my game fo rmore than 15 minutes
you need to create mystery, levels and suspense and fun so they can stay more than 15 minutes
needs to be exciting
bro ive tried everything
i can only get some people ot play for a long time
the others just leave in like 1 minute
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
cuz you create the folder when you touch the part
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)
basic fix, but still does it
wait hold on
ye
let me do smthing rq
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?
@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 😭
You save each player's purchase in datastore
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
Alright thanks for the help!
it's not that good lol 😭
wdym
It is just a basic script
poooop
Without checking ur whole code, it is hard to clarify any issues but what I know that there is something tampering ur calculations
This is the only place where Cooldown.Value is used
anybody know how to add animation to tool?
my friend already made an animation and I have the id ready
yeah just load it w/ Animator:LoadAnimation() inside the tool script make sure the tool is parented to the character, not backpack when you play it
idk maybe this will work
you need to have access to the animation
you'll prob have to reupload it in your name
what if you need to buy a gamepass for the tool?
then prob just check if they own the gamepass before playing the animation or letting them use the tool and make script
gimme 2 mins
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)
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
so how do i do that?
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)
where would I put it tho?
put the localscript inside the Tool itself, like this:
StarterPack
└── SlapHandTool
├── Handle (Part)
├── LocalScript ← put it here
hope it works
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
Still in the same spot, as a direct descendant of the tool
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
Why would putting the tool in server storage change where the script for it would need to go?
alr i put a localscript inside the tool
and put the code
but it still doesnt work
show code
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)
whats uh wrong with it
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
is the character R15 (not R6?
wait lemme check
if thats not the problem then let me send you my animation debug module
should let you know what the fuck is wrong
hm thats problemm
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
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?
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
alr ill try
does it work?
nope
hm then idk
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
guys, I wanna get better at coding but i feel stuck rn, I end using chatgpt to script all the time, pls help
yo anim not loading cuz it’s not owned by u or the group the game’s under just reupload it from ur acc, get the new id, slap it in the script
roblox blocks mismatched owner anims even if everything else is fine
now its just maybe
@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
what web should i use for my portfolio
try try
did not help dawg
lol
alr so do I just download the animation?
pls some real good advice, how did yall learn
just watch scripting tutorial
like brawldev
hes pretty good
what web should i use for my portfolio
really? I m watching him rn
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
RTFM, try fail, lookup the answer, learn why they are doing it that way, reapply for the future, repeat
whats RTFM
read the fucking manual
dawg chill
it's what RTFM stands for /shrug
lol
plenty of devs don't do it
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
Yes, and you should've been reading this already.
oh
so i do more real applicable projects?
I quite literally just read dev forum 😭
It entirely depends, where are you getting stuck in the development process?
tutorial HELL
Who want to make a game together must have 2+ years and be 13+ dm
elaborate
you know where u keep watching tutorials but cant build smthg ur self
if I asked you to make a function that randomly changes a part color every second, do you know where you'd start?
wdym
or tweenservice?
i think ill use tween service to randomize the colour and set the time to 1 and duration to math.huge
basically reupload = make it yours = Roblox lets it load
idkkk just try
how do I reupload?
by reuploading
bruh i dont have time gtg
alr cya
i got it working tysm
but it ignores my cooldown
so ima fix that rq
can someone help and reply with ping? I will read it tmr
what.
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
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
Alr got it
I mean yea
could anyone teach me how and more about scripting for money/ or robux???!
I am working on glider tool, how can I "Rotate" the tool with player for dive?
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
did anyone crack the code of discussion yet?
Making cheap games my portfolio is in my description
how the fuck do i make this the death screen
With GUI
Making games my portfolio is in my description
Make it visible when the humanoid died event is fired
^^
hardest system to make like which will take time but impressive.
guys whats the best way to learn lua without paying?
thats a question
Shouldn’t be too hard lol
fuck is a humanoid died event
💀
Humanoid.Died:Connect() I mean
shoulda mentioned i dont codee
I figured
no im not saying that firing an event is hard im asking for a suggestion like what is the hardest and longest system to make like cash system etc
yeah i get my scripts from grok
firearm sysem
why are your messages tagged as 'likely spammer' lmao
yeah exactly
kinda a good close second when you dont know how to script
you cant blame me
never freaking asked about this
Dawg, that’s vibe coding
yo im lf a dev team does anyone know where to start?
alr
Don't hire outside the marketplace
does it count as hiring if its smth just for fun 😭
guys is it worth it to use shapecasthitbox for gun weapons
paid..
u really dont need paid tutorials for languages in 2025
if you ask someone to work on your game, yeah
i agree
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
whats the average time that someone can learn roblox scripting decently
whats decelty
to the part where you can do commisions
or to when u can make a whole game urself
Depends on the person and how dedicated they are to it
and how regular they practice
and how fast they learn
a game
If you're good a month
i mean it only took me a couple months
There isn't much u use for avg game icl
yea
just a bunch of remote evenets
Just learn loops properties tables and events
anbd module scripts
what resources did you use because people keep saying the dev forum is the best one but i just get overwhelmed by the information thats in it
I used the roblox documentation and forum. Took me about a week to really start to understand it and just learnt about the services and functions roblox comes with as I needed them
just try and make random things
i used tutorials and practiced for the basics then i just used the dev forum for more advanced things
An entire game isn't the first thing you should try to do
thats noton youtube
yea we know
we jsut said how long would it take to get to that point
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
who want to make a roblox game with me
Teleporter, kill brick, jump brick, speed boost, gun system
Doesn’t matter if it is. It’ll teach you how to navigate around and get used to writing and doing different stuff. It’s practice and familiarization, not necessarily something you’ll ever need to use
The exact purpose of the script itself, that is*
it doesnt matter if its useful
Does anyone wanna helpme and my team make a disney world.
if u are onyl scripting useful things then u might as well watch a tutorial on how to make a full game
Like I need a scripter
Its for roblox
Where’s Chris at
What u mean?
no liviathebest121 i dont think scripters make disney world
Anyone know if brawldev's youtube series are worth watching
He gone delete your message and tell you not to hire people here
Meh PBL is best if you really wanna learn
Well we need someone who knows Cframe.
whats PBL?
every scripter knows cframe
Project based learning
i would say yes tbh but thats just me its better than thedevking at least
I don't have to robux or money.
cant hire anyone then sorry mate
i have watched all of TheDevKings series like a year or two ago i think i should just try to use the dev forum from now on and not watch any youtube
I hired 2 builders.
then do that
mb cant hire any good devs then
They are good builders.
yall how to remove "switch to your r15 avatar to play emote" error when im trying to add custom /e emote
i can guarantee they arent serious
if YOU hired them for free they are either ur friends, Just bored and unserious, shit builders, undedicated
lol
what do we think of this chest
They are not my friends.
well then
you should be able to work it out
tthey are either bored or bad
nice
eh u dont neeed to LEARN it
nothing much to learn
just find some settings
from someonre or tyoutube or smt
They are not bored or bad.
hmm youtube alright
I mean u might think that
I saw there portfoilo.
depends on the game tho
show me
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
yeah shit might as well hire a environment artist
i wonder why roblox has different things
like modeller / builder 2 things
Nah.
lmao
well see
Ok.
yea
Lets see who is right.
some people dont like the truth]
dont come to the server saying you got scammed once they block you btw
well its the truth that they will work hard.
i work for free and im good
only downside about having me is that i work when i feel like it
not when im told to
if im getting paid though
oh ok
and im not for hire rn 🤑
your portfolio is a discord server
yessir and i hardly care about it
why
Oop
Hi
hi
everyone likes to show off a little bit
can i see some of their builds pretty please
false demonstrated by the fact that you said this
itsokay friend
Why do you need to see.
just asking
i can claim what i want to be
how would y'all go on about making a hovering camera?
im looking for cheap low quality scripters for a game dm me
the fuck
are comments meant to be outside the function?
they can be put anywhere
yo guys, how much yall think it would cost for a scripter to turn something into a working morph
yo this is like 99.9% of the people in here
bros killing 99.9% of germs with this one
free
im pretty sure theres free models of morphs
you can just repurpose that
ok and when commenting we should describe the purpose of the function instead of what the function does?
yeah basically
because it was one of my weak points when i got feedback from the hidden dev skill role application
hi!
kinda like this
i mean thats a small snippet but yea
is scripting 1-2h per day enough to learn most of the stuff in a year
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
Lua? Yeah probs
weld it to your character
actually thats an actual helpful tip comparing it to rodev's tips
imma try that
Use the marketplace for finding developers
Is anyone experienced with Roblox TOS and module scripts being taken down?
Mainly TOS and scripting knowledge needed
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?
Yo guys how would I make a cutscene
Way less than that, easily 1-3. But the scripters who know how to use AI will still be ahead, so yea it's worth to start learning but also you could/should use ai to speed things up
Like do you think AI will be able to create complex games like the strongest battlegrounds from the ground up?
yo yall how much would it cost to make and script a simple animation like Spider/Centipede does?
You'd need to know how to prompt very well
yuay
no
atleast not without human guidance
sure ai will be able to do the coding
still worth learning id say
if you want a reference to commented code for the app role:
no
thanks
No
How do i write lua in c++?
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
What’s this? This is “Scheduler”, a performance measurement tool for non-ecs, built entirely with Vide & Pebble for the UI, which also used by Jabby. Its heavily inspired by Jabby which is made for ecs like JECS & ECR. This profiler provides developers with a clear and interactive, this might can be alternative of microprofiler. If your ...
is memorystorequeue ready enough nowadays where i could use it for matchmaking???
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
Who script
👋🏼
yo bro
👋🏼
👋🏼
👋🏼
im gonna make a ranged system of combat right
Ok
to go with my melees
So u script right
oooo okay
na, i haven’t
look
oh shoot, thats fire
