#code-discussion
1 messages · Page 134 of 1
damn, it's too big
RunService.Heartbeat:Connect(function(DeltaTime)
DeleteAllChildren(PartsFolder)
if Character:GetAttribute("IsHolding") then
if not LoadedAnimation.IsPlaying then
LoadedAnimation:Play()
end
return
end
LoadedAnimation:Stop()
local HumanoidRootPart : Part = Character:WaitForChild("HumanoidRootPart")
local HumRPCFrame = HumanoidRootPart.CFrame
for Name, _CFrame in pairs(PlayerAttachments) do
local NewCFrame = HumRPCFrame * _CFrame
local RayCast = game.Workspace:Spherecast(NewCFrame.Position, RAY_Radius, NewCFrame.LookVector.Unit * RAY_Length, RAY_Params)
if RayCast then
local Part = CreatePart(RayCast.Position)
local Beam = script.Beam:Clone()
Beam.Parent = Part
Beam.Attachment0 = Part.Attachment
Beam.Attachment1 = HumanoidRootPart[Name]
if RayCast.Instance.Parent == game.Workspace.Map.Holds then
AttachEvent:FireServer(RayCast.Instance)
end
end
end
end)
It's without the variables
especially since i also want to make a roblox game, ill then be able to make an entire game on my own
Holy superiority complex indeed 😭
a working one
I think that my way of making and organazing code isn't that bad
ye its time consuming lol, i say as an animator myself [not very good animator but i do animate]
Is Sfx then the easiest?
I don't need complex animations in most of my games
So I make the simple ones myself
nice
And maybe, something more complex I get from toolbox
usually the dances
just for fun
And hard
Difficult af
I sometimes take some inspo from other fun games and Twist it with a similar concept but a different feeling to it
I have a pirated Moon Animations plugin😈
ok
Im working on such a game with a partner but boy can he get inactive icl
arrest them!
pls no
yeah sometimes ppl lose interest and theres not much you can do
Does anybody here have tips on how to actually Start to work on my game without stopping in 10 minutes?
Idk
it is a fun idea but tbh Alone just isn't it
Maybe just make your mind all about scripting
Yeah but I also need assets
However everything other than building I can get for free maybe from friends
I know some people now
oh, I misunderstood you
alternate between scripting and doing art
Plan
i can NOT do art 😭 Plus my game doesn't need art lol
discipline yourself somehow
assets are art
I spent more time on a Miro board than studio
I can only script and maybe do light ui
Then whats the issue
Issue is my partner is always offline and I just stop
Did someone use new roblox TextToSpeech API already?
And I don't know where to start fully
does anyone know the shortcut for replacing all elements with the same name with smth else?
this guy never had the joy of doing some mining off camera and having the friend join the server to a chest full of ores 💔
in a script
Ctrl + F Replace all
do i have to click this button everytime or is there something else
You can do all
I think it's the magnifying glass to the right
on your 3 o' clock i guess
East
you're right, thanks!
AI is very useful in gamedev
Does anyone know Miro from Dragon Ball Evolution
Yeah it gets useful sometimes, game changer is using Reasoning for free too
Cap
Dont listen to him guys
Ai is never good
Just please su 🙏
İf you are making simple scripts
I am not telling you to make everything with it
Maybe
that's exaggerated
Can't you just read other things I've texted?
AI has received the bad reputation it has because of people using it for literally everything
it should be used as a tool to help you
But ai is generally bad
its not...
Exactly ppl use it even for commisions these days
I agree
to find a solution or a good idea
is it the ai's fault or the users' ?
I mean, not everyone can make a right prompt... but that's still not good
Tell it to do you a tower defense game
definitely not good
i haven't had ai not be able to solve a problem for me so far even when given very complex or context rich issues
feel free to name a counterexample
Now that's an example of a bad prompt
it has so much information so yeah..
What im tryna say is it makes like 1000 errors when writing scripts
the whole internet basically
given enough time it would do it no problem...
İ tried it when i started
Not really, but if it's more scripts then it does
yes, it can do that
ai gets better the better you are yourself not the other way around
don't use it to make scripts for you 🙏
because you learn to ask the right questions
But
The thing is you need the right prompt and an already existing structure/prompt/script in the chat
it obv isn't but it does boost work efficiency if you use it right
using roblox is not the best option either, so why are you here
depends on the context
this ^^
Why dont they just ask ai to do their thing
because with knowledge of scripting comes knowledge how to use the ai to save yourself time
Because it's more of a supplement, not a robot that works everything for you
knowledge people hiring do not have (that's why they're hiring)
because ai cannot do what good scripters can
actually think
Yes that is true but back when i was using it instead of doing a simple kill brick it does like 40 lines of code
İts literally 10 lines
Technically yes
İf you use ai
Never use gpt
Use claude
İts 10 times better
not my point but ok
kinda
just asked chatgpt and got this doesn't look like 40 lines to me
-- Script inside KillBrick
local killBrick = script.Parent
killBrick.Touched:Connect(function(hit)
local character = hit.Parent
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Health = 0
end
end)
why u making shit up
back when they were using it
it may have been less advanced
you came in here immediately stating ai bad and no one should ever use it
when you admit yourself that you don't know
İt is
lord save me
Bruh
goodbye
AI can't solve problems to the extent that humans can
yes but it is helpful in certain scenarios we've been over this
please name 1 example of a problem you encountered in roblox that you think ai cannot solve
why
too much slop 😔
maybe you re trying to learn how to script
Combat system💀
you can use AI to build examples with problems in it to test yourself
or use it to fix certain lines of code
Nah mate ive been on the platform for 5 years
so?
I mean most programs use google to search algorithms and stuff like that
Actually 8
what does that have anything to do with i
you just cant use it if you knew how to program 100% you were going to be able to make use of ai to make a combat system you don't have to depend on it but ai is useful you and it's a fact
The thing is ai also has limitations
İm recommending to learn scripting instead of use ai
Like tokens and how far it can precisely remember
A human can remember and revise as much as he needs
do both
Creating a combat system in Roblox requires a mix of scripting (Lua via Roblox's API) and animation/design work in Roblox Studio. Here's a basic, modular approach to implement a melee combat system. This example covers:
- Basic melee attack with hit detection
- Damage system
- Cooldown to prevent spamming
📦 Folder Structure (in StarterPlayer > StarterCharacterScripts or a Tool)
-
Tool:
SwordTool(inStarterPack)Handle(Part)Script:SwordScriptRemoteEvent:DamageEvent(inReplicatedStorage)
⚙️ Local Script (inside the Tool) — Client-side Input Handling
-- SwordTool/LocalScript
local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local replicatedStorage = game:GetService("ReplicatedStorage")
local damageEvent = replicatedStorage:WaitForChild("DamageEvent")
local cooldown = false
local COOLDOWN_TIME = 0.5
tool.Equipped:Connect(function()
mouse.Button1Down:Connect(function()
if not cooldown then
cooldown = true
damageEvent:FireServer() -- Tell server we want to attack
wait(COOLDOWN_TIME)
cooldown = false
end
end)
end)
🧠 Server Script (in Tool or ServerScriptService) — Damage Logic
-- ServerScript
local replicatedStorage = game:GetService("ReplicatedStorage")
local damageEvent = replicatedStorage:WaitForChild("DamageEvent")
local DAMAGE = 25
local HIT_RADIUS = 5
damageEvent.OnServerEvent:Connect(function(player)
local character = player.Character
if not character then return end
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoidRootPart then return end
for _, target in pairs(workspace:GetDescendants()) do
if target:IsA("Model") and target ~= character then
local humanoid = target:FindFirstChild("Humanoid")
local rootPart = target:FindFirstChild("HumanoidRootPart")
if humanoid and rootPart then
local distance = (humanoidRootPart.Position - rootPart.Position).Magnitude
if distance <= HIT_RADIUS then
humanoid:TakeDamage(DAMAGE)
end
end
end
end
end)
🕺 Animation (Optional)
You can upload and play a sword swing animation during the attack:
-- inside the LocalScript, before firing the RemoteEvent:
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://YOUR_ANIMATION_ID"
local animator = player.Character:WaitForChild("Humanoid"):WaitForChild("Animator")
animator:LoadAnimation(anim):Play()
Notes
- This is proximity-based hit detection, not hitbox-based. For more accurate systems, you'd use
Touchedevents or raycasting. - Expandable for PvP/PvE distinction, blocking, knockback, or special skills.
- Use
CollectionServiceto mark valid targets or to allow filtering logic. - Don't put RemoteEvents inside tools if the event is needed globally—use
ReplicatedStorage.
Let me know if you want ranged combat, abilities, or physics-based effects next.
You would use ai to supplement yourself (or learn directly, it can teach a lot)
or just scripting alone is enough if you dislike ai
for context the prompt was "make a combat system roblox" which is as brain damaged as your line of thinking
many things I've learned is from ai
and yet it made something usable
Big issue in local script when u unequip the tool it will keep playing the animation thats 1
yea but ai could be useful still
- İt isnt a combo system
mhm agreed
İts only 1 animation
İ agree too
just that some ppl dont like it and thats 100% ok
for example when I am trying to rename some stuff do some changes that consume time I can just use ai
like i dont really love it so i try to do most stuff myself
yeah thats a great use
changing some stuff in the script like maybe how the metatables act and stuff
We are similar
repetitive tasks
İ did use ai to make folders and stuff like telling it to do a cmd bar script to do the folders npcs rigs etc etc.
Can someone examine this and tell me what does code is for and what it does?
do u realize that when scripting yourself you also have to iterate and find problems that you haven't considered from the start, or a missing requirement like only now getting the info that it should support combos which not all combat systems do
To implement a combo system in Roblox, you'll build on the previous melee system but track sequential attacks within a timed window. Each click advances the combo state, playing different animations and applying effects per stage. If the player waits too long, the combo resets.
🔁 Combo System Concept
- ComboCount: Tracks which hit of the combo you're on (1, 2, 3…).
- ComboResetTime: Max time allowed between clicks before reset.
- Animations/Damage: Different per combo stage.
- MaxCombo: Final attack before looping or ending the combo.
🔧 Setup Required
Assets:
- 3+ animations uploaded (e.g., "Swing1", "Swing2", "Finisher")
- RemoteEvent in
ReplicatedStorage:ComboDamageEvent
📍 Client (LocalScript in Tool)
local tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local replicatedStorage = game:GetService("ReplicatedStorage")
local event = replicatedStorage:WaitForChild("ComboDamageEvent")
local animations = {
[1] = "rbxassetid://ANIMATION_ID_1",
[2] = "rbxassetid://ANIMATION_ID_2",
[3] = "rbxassetid://ANIMATION_ID_3"
}
local combo = 0
local maxCombo = 3
local resetTime = 1.2
local canAttack = true
local lastClick = 0
local function playAnimation(comboStage)
local anim = Instance.new("Animation")
anim.AnimationId = animations[comboStage]
local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
if humanoid then
local track = humanoid:LoadAnimation(anim)
track:Play()
end
end
tool.Equipped:Connect(function()
mouse.Button1Down:Connect(function()
if not canAttack then return end
local now = tick()
if now - lastClick > resetTime then
combo = 1
else
combo = (combo % maxCombo) + 1
end
lastClick = now
canAttack = false
playAnimation(combo)
event:FireServer(combo)
task.delay(0.5, function() -- delay before next input is accepted
canAttack = true
end)
end)
end)
🧠 Server Script (ComboDamageEvent.OnServerEvent)
local replicatedStorage = game:GetService("ReplicatedStorage")
local event = replicatedStorage:WaitForChild("ComboDamageEvent")
local comboDamage = {
[1] = 10,
[2] = 15,
[3] = 30
}
local HIT_RADIUS = 6
event.OnServerEvent:Connect(function(player, comboStage)
local character = player.Character
if not character then return end
local root = character:FindFirstChild("HumanoidRootPart")
if not root then return end
for _, target in pairs(workspace:GetDescendants()) do
if target:IsA("Model") and target ~= character then
local humanoid = target:FindFirstChild("Humanoid")
local targetRoot = target:FindFirstChild("HumanoidRootPart")
if humanoid and targetRoot then
local dist = (root.Position - targetRoot.Position).Magnitude
if dist <= HIT_RADIUS then
humanoid:TakeDamage(comboDamage[comboStage] or 10)
end
end
end
end
end)
✅ Optional Additions
- Reset on animation end: Add an
Animation.Stoppedhandler. - Combo finisher effects: e.g. knockback, particle burst on 3rd hit.
- Combo UI: Show combo count visually on screen.
- Targeting/raycasting: More precise than area-based detection.
This structure supports dynamic combo trees if expanded: just change the animation and damage map and allow branching logic (e.g., combo = 2a, 2b). Let me know if you want that structure.
lovely coding shenanigans part 2 ||yes i used a free model||
I use ai to try different stuff like to test mutliple stuff without having to do them but putting a ai script I never do so I must 100% test it and read it and look for issues and stuff you can't trust ai always
Still wouldnt work its using tick and it isnt using a lot of stuff that would make a combo
Thats the point
okay so tell that to the fucking ai window and not me
This guy just likes to hype up ai for sum reason💀
you are literally saying things that would be issues with a human scripters as well
that's not a bad one
AI is peak
it actually makes sense you know
yays!
fuck it bro im going to spend the next 4 hours vibe coding grow a garden from a baseplate and record the whole thing
surely ai is so bad it can't make a game like that right
good luck, vro
Can someone examine this and tell me what does code is for and what it does?
I'm too tired to look at all of that
Approximately 20 minutes ago, I encountered an exploiter in my game who hacked all players. Consequently, I decided to shut down the server and lock my game. Could anyone provide any insights on how I can retrieve his username or access the list of last-played users?
If you don't have clips I dont think so
Mabye smth in Roblox studio dashboard
Don't think so mate
If there is any way I can find last palyd user
Maybe check if somebody reported him
How can you hack all players
What's the biggest project yall worked on?
He kicked everybody out including me
That means that the exploiter made his script himself for your game specifically, lol
Check your models there's a server side exploit
Bro how can I check last player ppl in my game
I don't even know
I tried making a death note mutder mystery 2 game
Dude it's a Kick just find the Culprit Script that's probably the server side exploit and delete it
Idk how to
search through all scripts in the game
Yes
can someone explain what type of mechanics/scripts ChatGPT is good for and what type of mechanics ChatGPT wouldn’t be good to use when making
just wanna get a scope of who uses it for what
Anything complex? No dont use it
İf smthng simple then yes
But if u are making a combat system
İts gonna torture you
And you are gonna have a burnout because of chatgpt
That happened to me once
And i never used gpt for complex stuff again
?? It can help motivate and teach you
Yes it can
But
The reason i had a burnout was because of how much bugs there was in the scripts
İ would paste the script and it wouldnt work then i go back to gpt and tell it to fix it
Has anyone tested around or worked on surfaceGUI's on special surfaces?
İts a loop
Special surfaces?
Bro the hole map turned into a person and the hole game crashed
I just shut down the server
And locked it
🤦♂️ You got yourself a server sided exploiut
If you took smth from toolbox or had a sketchy scripter that's one thing
Bro I just use toolbox to build things
exactly
Hmm
That explains a lot
perhaps it's from the toolbox that contained a script
The toolbox is a fucking hazard
Bruv what am I suppose to do
find the fucking script
Build it yourself
Also this
Can I add u to my build cus im new to this shit
no it's a you problem
💀
What am I even suppose to search for
are u down to learn?
a script
if not bro check this out! #scripter-hirable
Bro I’m not paying sh
go into replace all/find all and then search for a "require" anywhere in any scripts in your game
Then learn
Screenshot all of them that look suspicious here
Or matter of fact, screenshot ALL of the Requires in ALL of your scripts
Imagine 0 modules in his game
Remove requires that are have like 10k spaces to the right
Except the exploit ofc
Nah I meant
Imagine he's not using any modulescripts
💀
Bro dont help him
Let him learn
How will he?
"teach a man to fish"
İf he doesnt learn whats the point?
Ahh moment
Yes exactly ty lol
What’s your Roblox user
he just did
Gaszite
To probably not use toolbox and the scripts warning is there for a reason
The bacon?
Yes that
sure
Sh u must be a friend to edit
Lemme add u in roblox rq
User is maetoomaetoo
I added u
I added you and made u an edit
Lol
U in it?
yes
So what do y see
Ok
Send
Whatever script u find
Need to see this sht
Holy fuck it's all A chassis
Wdym
What
not a single asset in RS
Wdym?
Wdym
It's all full of README's and stuff like that
💀
Lol💀
Is HD admin supposed to be this chat? 💀
Nahhhhh
Uh wtf is that
A back door
Delete that shit
How tf did all this even happend
Shit ain't even hidden
Thats why im telling u LEARN LUA
I wonder how glares at toolbox
İf u learn scripting u will be able to do stuff on you own
Actually it's legit
💀
It's not encrypted at all
Admin scripts are kinda garbage anyways
I will
Just make your own
there are like 500 requires all for Vehicles and some toolbox stuff
Or just use an anticheat
So the toolbox is a hazard
BROOOOO
Good to know..
YAL GOTTA SEE THE NEW SCRIPTER HIRING POST
JUST LOOK AT THAT LOL
5k rbx for that much is diabolical
fake ahh HD admin
That’s my donation board g
No that's your backdoor g
İts obvious
Oh they pcall to mask errors
does anyone need help with scripting??
Smart
Ty bro
You could use chatted and loadstring together to effectively get a command bar
Never use a random ahh donation board
Or a random ahh anything
Ever again
I made 6k rbx out of it
WHATTTT
So that donation board
NO WAY
Was kinda a success
Succulent
6k Robux is diabolical
It’s like 6.smth
Btw
But is that all the back doors gone?
Scripters i have a question for all of you
what
6k to delete backdoors?
and u cant even code?

Can u add protection or smth?
What was your first commision you did and how much did u earn🤑
However there aren't any loadstring()'s anywhere
Mine was 5k for a car drift system that i gave up on halfway through
Doesnt mean its not gonna work
This is what I got from donation board
what is this script and what it do
Diabolical
Weird tho
What the hell is this
the heck is you guys trying
That’s a fucking hacker
It's alright
so i inserted a model with like 20 - 50 scripts inside and now this thing keeps following me and killing me when i play test please help
Just delete the game atp
Who tf was that
Delete ur game
delete the model 
but i kinda like it following me
Wait so u did that message
Do that if it doesnt work copy the map and delete the game
why u need to delete the game??
Imma keep the donation board idek
Wait so u did this message?
Seems like there aren't any like Remote Event Connections except for 200 car Chassis modules
Or was it somebody els
YES
How tf did
it was from the donation board
But are the back doors gone?
prob not
Tbh i wouldnt wanna spend 1 hr troubleshooting a mistake i made plus i would just copy the map to another baseplate
Because some big ass man showed up in the hole map and the intire game crashed
After that unfamiliar guy joined
Lol
So he needs to get a permban g
But I did change The Id of the user that gets the suspicious thingy to mine
Thats the ohio butthole tickling bandit
Wdym
Idek what the Commands were but it seemed like smth weird but no loadstrings
dw about it
have you guys ever just typed virus into the toolbox and spammed a bunch of stuff
Bro I am worried
What u faced was the ohio butthole tickling bandit 💀
I’m not trying to let my account fucked up
that's kinda what you get from toolbox
And also you won't be hacked
People can only access your game
Can u add protection
pause bro family friendly
….
Ur not funny🫥
Just learn making games bro 💀
Fr
wtf u mean well hidden
Are your brain working
U have 4.5k rbx use it to learn smthng fr💀
So it all came from the donation board?
might aswell take a piss with that
Yes
wont do much
I DONT KNOW DUDE
Oh mr rich is here when he was just asking how to delete a simple model?
Crazy
lil bro im drinking money
@robust monolith what’s happening now?
Wait so what about the unfamiliar guy that joined my game?
How do those guys know which game their model is being used in?
Using http service to send game name somewhere?
Yep prob
Wild
Wdym
Can't you get banned for including malicious scripts in your models?
When i was a lil kid like 8 yrs ago i fell for a scam game that lets u enter ur account info for free robux💀
The one who made the free model
Ohhh
Wait
I told a friend of mines
Cus my friend put a donation board in my game
He said Il make rbx from it
He ain’t really my friend cus we only know each other from roblox
@robust monolith any update?
dude NO idea
İts him prob
Deep searching?
He betrayed you🥲
He’s this one dude I met on Roblox
But like
Is the donation board the only hazard here? @robust monolith
How tho
Make a battlegrounds or a tower defense
If I wanna make a death block I have to get one from toolbox
Is that a hazard or smth
I even added some zombie area from toolbox with guns to fight
Yea
But the thing is I put the game on private
Make a tower defense or steal a thing game
How am I going to script….
Wait so even if my game is on private they can access my studio or smth?
so then can only exploit inside the game?
Ohhh
Like i told u
I get what u mean
you can make em pretty easily with collection service
Just search up yourube tutorials
But Mabye it was that unfamiliar guy that did it
And never use free assets
Yess
Now go learn scripting with youtube tutorials
Or if u want i could teach u
But i cant do it for free
Will talk tmr cus I need to sleep
Kk
@robust monolith I closed my pc and still kept the edit access to you
I will sleep
So u still have access
So u gave up
guys how can i learn physics in easy way (like a youtube channel)
U cant
I can if I find his username
İf i teach u ur not gonna regret it
And if u learn from youtube ur also not gonna regret it
He prob can just use another acc
Ur game is hacked atp i think
Bruh
How much do u charge
İdk i can teach u how to make combat systems quest sytems dialouges and i can teach you the basics
Depends on what you want
Then 3k minimum
Add me g
Fumbled is crazy
j
Guys is there anyone here know how to make the player when he spawn in your game spawn in a bike or scooter if anyone knows pls help me
Portfolio and everything for that shit
Why underpay so much
It a group thing if it was one person ofc I pay more
er
guys this is my trash code can someone help me fix it its 300 lines?
Variables learn from bro
Tf is this code
he asked u to help him fix it dont make fun of him man
lol ik its trash it barely works
im still a beginner so i can't help u but goodluck
thanks
I recalled what he said, he called the code trash himself 🥀
he also said 'can someone help me fix it its 300 lines'
doesnt hurt to give advice
like how do i use them
Also isn't this coding chat
Where did the toxicity go
One month ago it was filled with racists and homophobia
js becuz u code better than him doesn't mean u need to be a geek and make fun of him
goofball
yea it is
why be toxic when u can be positive man
yeah
its code discussion, not sit here and be toxic in all day
Bring old code chat back ❤️
bring back a toxic hellhole where ppl can't be nice?
It was fun bru
isnt code discussion to answer and discuss code not necessarily to have fun?
And people weren't toxic for real, they were joking but it was toxic and racist
It was filled with memes a month ago ❤️
its meant to be used as a way for newer developers to get help with their code
or js to discuss their code
yo why isnt my animation loading
local sword = script.Parent
local plr = game.Players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local event = game.ReplicatedStorage.Event.Slash
local CanUse = false
local humanoid = character:WaitForChild("Humanoid")
local idle = humanoid:LoadAnimation(script.Animations.Idle)
sword.Equipped:Connect(function()
CanUse = true
idle:Play()
end)
is it ur own animation?
#bringoldcodechatback
yeah i js made it
oh ok
do u know other reasons why it isnt working like wrong script
Animation id?
im new to scripting so idk but i thought that it might have not been your animation so you couldve used an animation spoofer
What is Roblox supposed to load
rbxassetid://82960720103621, yeah i got one
yea
local animationId = "rbxassetid://82960720103621"
What is Roblox supposed to load
You didn't add a script to load the animation
Just an example, don't know what your animation is
i did and i sent the script
local sword = script.Parent
local plr = game.Players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local event = game.ReplicatedStorage.Event.Slash
local CanUse = false
local humanoid = character:WaitForChild("Humanoid")
local idle = humanoid:LoadAnimation(script.Animations.Idle)
sword.Equipped:Connect(function()
CanUse = true
idle:Play()
end)
So?
😭
I told you
what is Roblox supposed to load bruv
It's literally like saying: yo Roblox, load that.. WHAT IM I SUPPOSED TO LOAD,. you must give the id ❤️
Code chat so dead
🥀
Yh
And I gave you a example of how you can load the animation
So?
ITS NOT PLAYING
local sword = script.Parent
local plr = game.Players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local event = game.ReplicatedStorage.Event.Slash
local CanUse = false
local humanoid = character:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://82960720103621"
local idle = humanoid:LoadAnimation(anim)
sword.Equipped:Connect(function()
CanUse = true
idle:Play()
end)
will this work for u?
i just added it
ok
yh its still not working i wont lie
oh then idk
🪦
I'm out
aight
I ain't helping again
Its all good bro
🥀
can someone help fix my terrible trash code?
V a R I a B l e s
Im sleepy
I DONT KNOW HOW
Can’t think straight
local x = y
THE FUCK YOU MEAN ITS BASIC KNOWLEDGE THE F
i to dumb :/
what?
Nahhh
ok
so lets say u dont wanna type game.workspace.part
lets say i want to change alot of properties of it
instead of typing
game.workspace.part.anchored = true
game.workspace.part.CanCollide = true
game.workspace.part.Transparency = 0.5
u can name it something smaller like part
so we say
local part = game.workspace.part
then ofc its
part.blablabla
❤️
how does it changfe the properties?
You all crazy, tf you mean you don't know variables, isn't that the first thing you learn in coding ❤️
it doesn't but u can change properties in scripts just like i did
I'm I'm lose it
IM DUMB BRO
so it just spawns a part?
I'm a builder as my main field, tf you mean, if I can do two fields at the same time you can do one ❤️
Lock in
no it renames the game.workspace to part
🥀
wait why would u rename it?
bc otherwise u would be typing 1000 times more
wait thanks i understand now
Learn LUA
Episode 1
The Basics.
Course Level: 🟢 Beginner
Episode 1 of this tutorial includes:
- Priting messages
- Variables
- Functions
- Simple math equations
- If, else statements
- Text input
-- Links --
GitHub: https://github.com/bigboy11111RBLX/Video_Tutorials_LUA
Challenge
Make a sales tax calculator, that you set a va...
It's better to learn by yourself, trust
❤️
...
aight
but can someone fix it 😦
Bro if you always want someone to fix your code you will never succeed
Try to fix it yourself
aight lemme cook
Lock in
use tables and functions for cleaner code here is an example
but i dont understand anythi gng...
thanks
now i need to learn how to use tables and functions correctly 😭
fire tags
TOO MANY REACTIONS
does this look good
yo could u help me w something please
for those of you who want to do CompSci but either can't afford it, or too young to go to college.
Here's a website to learn
https://www.codecademy.com/catalog/subject/computer-science
can you tell me what compsci is?
it's a course in college
Computer Science
does it teach lua?
no
no, but you can learn it easily and much faster than everyone can
does it start with basics or do i need to know stuff
basics
it free?
yes
it looks rlly hard :/
i did comp Sci for my IGCSEs
i did comp sci and python
start from the basics
ok
but like, i dont understand LUA very well
is tehre one for free to learn lua tho?
@ripe compass any good scripting courses?
for like roblox
yes exaclty
I can tell you're young
GUYS WHO JUST PINGED ME
Hi guys, i decided to start applying for commissions here after a year and a half or so, but it seems it's much more competitive now.
I know for hire posts will get jobs as well
but is it statistically better?
agh
More consistent income
but if its a trend game, is that really true?
actually i just realised, the game im planning to make is much better, so marketing it under "grow a __" will actually devalue it
I mean I would personally just make something unique instead of copying a game that's been remade 2832 times
it will be fairly high quality, so its prob better to just call it somet else
it can definitely stand on it's own two legs as an idea
there's so many
yeah my idea is pretty original tbh, i was just trying to leech off of the name, but its not worth it for consistency sake, no point changing the name of the game every month
better to keep it the same so people can search for it
yea some people might be less interested in your game just cause it has grow a in its name
do you currently do commissions or just working on your own game?
I did a few commissions for like 50k robux and then made my own game that got like 300k visits and then I sold it
Got like 180k robux total for a week of deving
But selling games isn't good income
It's better to get stable ccu
mhm, apparently jandel has 50% ownership of grow a gaden
which idk how that even works
but stable ccu for sure
also just to answer your question yea I'm working on my own game
maybe he's just doing a lot of the development and in return for that, the original owner is giving 50% of profits
It's gonna be my 3rd game
ig that would make sense
like 4 days ago but my PC broke 3 days ago
rip
😭
imagine teaching lua in college lmaooo
yall r not reading for this drop
anyway, i think my game plan is just gonna be to try rebuilding my original post that i used to publish in the for hire channel, and just trying to post it a few times, apply for a few posts every day (doesn't take much time, so i dont mind)
but in the meantime of that, ill work on my game
as well
I think posts in for hire were always more reliable in terms of finding jobs, but not THIS MORE reliable, it has definitely increased, but that is also likely because people are offering much higher prices in the hiring channels here nowadays, previously you used to see posts for 2,000 or 1,000 robux, but now the lowest you'll see is like 3000 which is good, but ofc drives people to rush to apply to jobs
whats your game about
mine?
#scripter-hiring cheeks imo
yh
scripter hirable way better I've heard
like a lil city/town building game
i have some ideas floating round my head for it
maybe ill try and create a trello board to get them on a board
so i can plan them out
but later cus im doing somet else rn
(but related)
yeah
just go to codeacademy
yeah
most of the better comms I've done are thru scripter hiring
people making posts are usually lowballing hard
yeah, alot of people in #scripter-hiring are low-balling
because they're all teenagers
migrate to unity or Unrealy Engine
Can someone help me? For some reason I can't set the Asset property of an AudioPlayer.
honestly roblox is so much easier to prototype and make gmes
unity/unreal yeah comms are defo way better
if you care about money
but it also takes more skill
The code works on server side, the prints ARE WORKING and showing the right location of audioPlayer instance so it's defo that instance and for some reason it prints id I'm setting, altrough in explorer there's no any id and it doesn't wanna play! I can set asset manually in game by explorer and it's actually working. What the hell is happening?
developing networked games on unity/unreal takes real skill and knowledge
does this games like ratio not look botted
hey i want to create a script where in toolbar u can see the gravity coil but only equip if u own gamepass is there tutorial for that out there or can someone lead me into right direction, thanks!
not at all, games with like rewards tend to do well!
one of my games has a similiar ratio a tad bit worse but still solid
97%
makes no sense cus our game has less likes but more players
The only real good way to stop them from equipping it, is to change the location of the Handle and enable the RequiresHandle property on the tool
isnt there a tool equipped function
There is
but you would only be able to stop the user after enabling it
so it isn't effective
oh
so either create your own inventory ui
or just move the handle into a different location, and then the user cant equip the tool
but it will still show the tool as selected (activated)
but you could just show a popup to buy it, when they activate it
so if you get confirmation that the user has bought it from the prompt
then enable the handle
and check when they join the game every time if they own the pass
What’s the problem with that
is scripting school good for learning?
had a quick look it at it
guys i've started scripting 5 days ago is this good progress?
you would definitely need to supplement such learning
since you need to learn how to combine multiple concepts and things
id follow this roadmap https://devforum.roblox.com/t/roblox-scripting-roadmap-learning-resource-list/808430
Scripting Roadmap The scripting roadmap has three categories, the basics must everyone know to continue with other more difficult categories. Intermediate is someone who maybe does already commissions and is already not really anymore a new programmer. It is also useful to check what you maybe never knew and now found out through the lists ▶...
and try and think of very fast projects where a certain concept that you're learning would be useful
ive been doing that
eg. using scrolling frames to make a shop
good
im also using brawldev
ok
from that roadmap i linked, from the advanced part, some of the most important stuff for game dev is httpservice creating a proxy, formatting strings, debugging (error, assert), metatables, global variables and loadstring
a big portion of it is just plugin dev stuff
will brawldev teach everything neccasary
in terms of developing games yeah
just wondering would you want to make a game cuz i can do most things beside scripting
eh idk
im trying to find commissions and work on my own game at the moment
so i dont really have time sorry
alr
all of the code is entirely copy pasted from chatgpt ion wanna hear no one talk about chatgpt cant script
simplest ass game
more coherence than 98% of code written by members of this chat room
Your private @true tree
you have an elevated view of yoursef
y'all ever just like
myself? i didnt even write the game
skid
im not saying im better than anyone im saying chatgpt is better
false
i am
better than most
i’m better than chatgpt
when your only selling point is that you're better than a robot
yeah but the issue is that chatgpt is much quicker
better than a ai intelligence with more knowledge is pretty impressive
Wasn't there a list of everything a scripter needed to know
Scripting Roadmap The scripting roadmap has three categories, the basics must everyone know to continue with other more difficult categories. Intermediate is someone who maybe does already commissions and is already not really anymore a new programmer. It is also useful to check what you maybe never knew and now found out through the lists ▶...
no you might be cooked gng
that message was from 2 hours ago what were you searching for up there bro😭🙏🏻
furry feet pics
relatable
lmk when you find some
im gatekeeping🙏🏻
how deaf people expect us to react
for LUA
is there anyone that excels in making random minigames? im struggling badddddddd
like im just having so many issues with this one minigames
minigame**
Guys can you give me something to script I’m a beginner scripter and just want to play around in studio but have no ideas
think
You can unequip tools on equip.
Uhh can you check if you own the gamepass on local script?
Player can still try to equip and gui will light up but it will instanly be unequipped
Either that or create your own custom inventory
Make a simple pickaxe and a mineable rock
ok i think i can do that
Gl
i haven't made a holdable item before so ima look up how to do that but thanks for the suggestion
I recommend taking a look at this
Can't send links, cool
Look up Tool Grip Editor
Although i find animations for holding tools much more pleasing
ok ty
i got the plugin and editted the tool how i wanted it and im making the script still
HELLO?
did this user die or what
and roblox is asking me to delete her data when all she had was a freaking broom and a toilet scrub
sorry this is code discussion, how do I delete her data w out doing 50 steps
it quite liduhwally tells u
i did it, i was having trouble connecting the touched event to the pickaxe inside the rock script if that makes any sense
its super basic and idk how to make it so that it only does it when clicked
in some countries, consumers have the "right to be forgotten", meaning they can request for all their saved data to be deleted from a service
Ay very cool
I could help with it but i'm like going to sleep rn
make a post in the mp if your looking for work. #marketplace-info
Alright thank you
Uh can we not have crypto for a method?
crypto is not a valid method of payment here
i cant be bothered finding out how to delete her data, her broomstick and toilet scrub shall forever stay in that testing game
Yea no one does anyways
Imagine grow a garden
Getting 10k requests a day
i would kill myself
wait can I say that or am I triggering someones eating disorder..
probably are
local ScroolingFrame=PageFrame.Parent.List
local GamepassPage=PageFrame.GamepassesPage
local GearsPage=PageFrame.GearsPage
local MoneyPage=PageFrame.MoneyPage
local TopPage=PageFrame.TopPage
TopPage.Activated:Connect(function()
ScroolingFrame.CanvasPosition=Vector2.new(0, 0)
print("Triggered")
end)
GamepassPage.Activated:Connect(function()
ScroolingFrame.CanvasPosition=Vector2.new(0, 420)
print("Triggered")
end)
MoneyPage.Activated:Connect(function()
ScroolingFrame.CanvasPosition=Vector2.new(0, 280)
print("Triggered")
end)
GearsPage.Activated:Connect(function()
print("Triggered")
ScroolingFrame.CanvasPosition=Vector2.new(0, 140)
end)
how can i make my scrolling frame show a ceratin frame when clicked a button rn its hardcoded so if the screen size is changed it will mess up .
I want to make a certain frame ie gamepass frame which is inside the scrooling frame to be visible when user clicks on the gamepass button
frame.Visible = true
end)```
Get a datastore editor plugin
DataDelve is cool
Ur a genius promise me to never die
wdym by that?
dw bro we'll fix aging soon I'll never die
guys i need a scripter for many of my games he should be trustable quick and understandable
600usd
are u paying
yes
is it %?
% will be given but the payment will be in robux
i mean % will be given if asked