#code-discussion
1 messages · Page 30 of 1

what?
BRUH
just report him tbh
Aight yall gotta get scam investigator, report ticket.
@frail harness you report him if you have proof
wait imma show what he told
You posted to hire a scripter, you hired a scripter, now you want animations?
💀
no, you never talked about this
lol? until now he said that he will do what i said and now he don t want cuz he can t do it
are you expecting him to script animations or make animations??
just wait, imma open out the dm
Just lettin you know that making people do overwork in the threat of not payin is offense that will get you blacklisted from HD + Can also bring you to legal trouble 
he said that he wanna do it, after some days or maybe weeks he said that he isn’t supposed to do that, and i told him and he haven’t told me that when i first said to do it and say now when u can t do it
this is 1st
this is 2nd
never said "i want to do it", i said ok, from your way of talking, i had got a feeling if i dont do, then you will not pay and the thing happened
Are the animations already made or not? @merry holly
bruh
@merry holly you cant expect a scripter to MAKE animations
#open-ticket @merry holly @frail harness
Make report.
k
IF HE SAID HE WILL DO IT? HE DON T SAID HE WILL NOT
Then this dude lied, because in the post it says the game already has animations
HE SAID HES CAPABLE TO DO THAT AND WE TALKED ABT EXTRA PAY
maybe its a communication problem and he thinks you didnt script it so they work
BRUH YOU ARE AGAIN LYING
cause his english is not good
LEMME OPEN UP THE DM AGAIN
i told him they are not scripter before we talked abt the price
yh I think so too
@frail harness
you mean amt of extra pay? Shadow✨ — Yesterday at 4:15 PM yes ItsAnasHere0_0 — Yesterday at 4:15 PM 50-100 max Shadow✨ — Yesterday at 4:15 PM but if u ever do this one more time i will end my job with u, just say that when we talk first ItsAnasHere0_0 — Yesterday at 4:15 PM not more than that, cuz you already have the animation Shadow✨ — Yesterday at 4:15 PM oh sure ok ItsAnasHere0_0 — Yesterday at 4:16 PM No bro i wont be able to do the uploading animation part, i am already stuck with that error of the animation which made me step back from uploading the animations by myself ItsAnasHere0_0 — Yesterday at 4:16 PM what about the things which i have made? wont i get my pay for that? i will be doing the working of the swords and all
@sage stirrup can u help these fellas open a scam ticket
@frail harness do /ticket
my script is very correct and clear, its the problem with his group and game
And report
cuz you see
Did you already send the code to this clown? @frail harness
when i had gone to the game backup, all the game files were corrup
you know, there are scammers
they want themselfs to be taken, replacing the orginial
but for proof
i will show the script
@merry holly he made the animations work, you just need to upload them
I think youre misunderstanding him
God this would be way easier if they understood English better
You should find another line of work, managing game development projects doesn’t seem like it comes naturally to you
Maybe flipping burgers is more your speed

Yeah because you’re a shifty little goblin
could anyone help me with an error?
Don’t change the deals you make, and pay the people you hire
start usin grammar so people can understand
its an issue with your animations
it probably has nothing to do with his script
me when nohello.net
will smith?
yes
It’s NOT up to a commissioned scripter to upload animations, the owner of the game has to do that because of animation permissions @merry holly
@merry holly Is this your first time making a game or the hell
here is the code, @merry holly , when you dont know scripting or any work, dont say unnecessary things
half knowledge = worst thing
Man I wish I knew where this guy is from so I can pick the right slurs to use
You makin star wars roblox game?
No
for those who are thinking why did i use the safe animation function, its because of @merry holly who told me that error, i thought something is wrong with me code so i did this
Your code looks fine, for what it is
why are you working for ppl who can't even spell "advanced"
when i had talked with that guy, his way of talking made me realise that he is a very innocent guy and can cause him life disbalance by certain scam scripters, just like @elite
@elite, he was scammed 40-60k rbx for making a game like pls donate, nothing worked (in simple words), i reduced that thing to 25-30k rbx
Maybe this will teach you not to work for idiots
yeah
yes
You can’t be too upset that you’re a clown if you’ve decided to work for the circus

cant submit the ticket, whenever i try to write the suspects and the media and submit it, it becomes blank
@native orchid What?! You're unbanned?
if not debounce
Yeah I bribed a furry moderator with pictures of my cat
Oh, you can normally just use pictures of shed fur
@lean ocean , @native orchid
@frail harness #staff-help
thx
ok so how, he messaged me that he wanna work for me and i told him that i will pay when work is done and he said ok, i told him what he have to do and he still said yes, when we talked abt the animation i told him to make them work, we both tried and also in team test and more and after some weeks cuz he couldn’t make them work he said that he wanna get payd more and i said ok, and after some days cuz he couldn’t make them he said that its not his job to do that and i told him that he agreed with that and why don’t he said that from i told him his tasks
we talked abt that and he said that he will do it and after he couldn’t do that he asked for more payment and i said ok and now he says that is not his job to do that, then why u said u will do that??
more than 10 ppl corrected his codes, so yea even me who idk abt codes told u if u put r6 instead of r15 and u said OMG THIS COULD BE THE PROBLEM
than why did u put the codes they told u, when they said ur codes are bad
codes
when im telling the truth u guys still be on his side😂
so i don t have with who to talk
is not overwork if when i told him the list of what he has to do, there was this animation task i wanted him to do and he said ok, he hasn’t told me anything negative abt that, only now cuz he can t do it
in the post i clearly said abt animations and on dm i told him that i want them to work and he said ok (AND ASLO TO UPLOAD)
He CAN'T upload them
that's not how roblox works, you mongrel
IF HE SAID HE WILL DO IT ??
This is a limitation of roblox as a platform
limitation of roblox??😭
If you want him to upload the animations for you, because you're too fucking stupid to figure out how to do it yourself, then you must give him OWNER LEVEL ACCESS to your game
on what universe are u living
he don t said that to me, he said he don t know how
bro literally just upload the animations yourself
it is NOT that hard
He already scripted it so all u need is the animation id
Here's a short list of things that are true;
1. Animations that were uploaded by a third party CAN NOT be played in your game, excluding animations uploaded by Roblox.
2. He CAN NOT upload animations to your game because he does not own your game.
3. You are a moron.
i am with ur mom rn, i will tell her how bad u are
ur just an discord moderator, on irl most unsocial life ever
it would be easyer if he said that but he said he don t know how to
yeah, same for u
gotta list the third one twice or he might forget to read it
I need help planning my game if anyone wants to help main focus atm is skill tree
make them work, it doesnt mean that i will do animation stuff, make them work means to put them to life @lean ocean , (put the id)
bro needs ppl to help him argue, steak urself, i told u to make them work like idle, run and stuff, we both tried to see if they work and u haven’t say that u don t have to make them “bring to life”
all making lies, first, it took me days not weeks ( i was working ON YOUR TASK, MAKING THE SHOP GUI AND ALL), I TOLD YOU TO INCREASE MY PAY CUZ YOU WANTED A SPIN WHEEL TOO WHICH WAS NOT IN THE POST AND I DID NOT WANTED TO DO THE ANIMATION (YOU CAN CHECK THE SCREENSHOT WHICH I HAVE SHOWN YOU
in the screenshot it doesn’t say all we talked abt, u put only what u wanted, and also i saw u working on other games
I think you have some kind of memory loss, i said that i didnt told to do it, i told i will try to do it cuz i flet generous, now give me money for what i have done and no more before this goes to the law court
All lie and, it is just a work, we are not working forever
WHEN? BRUH WHEN????
scammers my friend, scammers
Again lie, WHO THE HELL WILL NOT KNOW UPLOADING THE ANIMATIONS EXCEPT YOU? ALSO, I THINK YOU ARE BLIND, I HAD TOLD YOU 3-5 TIMES THAT THERE IS SOMETHING WRONG WITH THE GAME OR GROUP (VIRUS)
the person who really says this, yk
ANOTHER LIE, NEVER SAID TO DO THE ANIMATIONS, I TOLD YOU THAT I WANT THE ANIMATION ID TO MAKE THEM TO LIFE
@frail harness pls don t tell me that the ppl who told me ur codes are bad, are scammer, LIKE HOW ARE THEY SCAMMERS IF THEY SAID UR CODES ARE SHI
then why we was talking abt the animations to see if they work on person if u say we haven’t talked abt that
why is this still going 😭
noob devs
A completely useless code I made for fun:
-- FORLOOP:
local function forLoop()
for i = 0, 999 do
if i == 100 then
print("i is now equal to 100")
continue
end
if i == 200 then
print("i has reached the desired amount of 200")
break
end
end
end
-- WHILELOOP:
local function whileLoop()
local ii = 0
while ii < 999 do
ii += 1
if ii == 100 then
print("ii is now equal to 100")
continue
end
if ii == 200 then
print("ii has reached the desired amount of 200")
break
end
end
if ii == 999 then
print("ii is equal to 999")
else
print("ii has reached the desired amount and couldnt bypass the break ofc")
end
end
forLoop()
whileLoop()
yo can any1 help me to store my leaderstats pls dm or reply can any1 help me with this
@frail harness @merry holly stop noobs
hes the one who started arguing there
do people actually use ECS for roblox games lol
??
cuz you are doing unfair dealing
what is ECS?
entity component system
https://vxtwitter.com/YetaGeta/status/1824553198545223743
how did they achieve such low network bandwidth im flabbergasted
Progress so far in an all new Tower Defense Game!
We are using 25 KB/s of bandwidth for 3000 enemies. Still optimising :)
#Roblox #RobloxDev https://t.co/YXYGB1UwZE
3k enemies too
they handle all the enemies on the client
im aware
whilst the server actually keeps everything in check
i dont think the bandwidth footprint is that minor
i think its all batched or whatever
batched?
they probably update everything at once
like one frame 200 chunks, other frame the other 200 chunks
per frame
maybe
or they just send the targets once then forget about it? like not updating each enemies position per frame
maybe that could work
hello guys, so I'm making a Sans fight game (I know generic)
I wrote this code by myself but it does not work,
`local text =game.StarterGui:WaitForChild("ScreenGui"):WaitForChild("Frame"):WaitForChild("Text").Text
local function Change(d)
text = d
wait(1)
print("YE")
end
Change("It's a beatiful day outside...")
Change("The birds are singing..")
text = "lalalla"`
and client adjusts the speed n stuff but that could easily turn ugly with network spikes probs
yea idk what theyre doing lol
maybe they just have really good networking
like encoding and deflating data before updating every client
i dont think any of the npcs moving around has to be replicated in the first place
the server just inform them of the wave info once and the client just does all the changes locally
thats what I was thinking
.
this could go wrong
position accuracy
i dont think so? if the changes happen locally, network shouldnt affect it like how you can disconnect your internet but still move your character around
i think suphi kaner did a video on this
can u send
It's not working for u because u are changing the text in startergui
When player joins the game the ui is replicated from startergui to playergui in local player
ohhhh THANKS BRO
Players.localplayer.playergui
Also there is no need in using waitforchild when script is placed in the ui
U can read forum to know more about that
local players = game.Players
local LP = players.LocalPlayer
local LpGui = LP.PlayerGui
local text = LpGui.ScreenGui.Frame.Text.Text
local function Change(d)
text = d
wait(1)
print("YE")
end
Change("It's a beatiful day outside...")
Change("The birds are singing..")
So, it still does not work...
@raven sonnet
local players = game.Players
local LP = players.LocalPlayer
local LpGui = LP.PlayerGui
local Screenui = LpGui:WaitForChild("ScreenGui")
local label = ScreenUi.Frame.Text
local function Change(d)
label.Text = d
wait(1)
print("YE")
end
Change("It's a beatiful day outside...")
Change("The birds are singing..")
Thanks!
That should work i can't check because im on phone right now
it's working!! THANKS!
Np
when did they said?
omg i tough we ended up, leave me alone bye!
also, you provided them wrong way of telling, thats why the guy said that i forgot to put rbxid thing
yes
is it outdated to use numbervalues
.
Quite easily
Bones are cheap + the position of the enemy units is one dimensional

anyone know how this was created?
Physical reflection under a transparent surface?
idk im tryna make shaders
There is no native support in the Roblox engine for custom shaders
Emulation will just hike up the frame loss for most devices
Let people with higher-end GPUs download software that properly implements shaders
well i use the worst xbox and it didnt even lag
It is glass
If you know then you know
when i touch a part that morphs me, and i play in studio the camera goes fixed; anyone know why
you need to set the camerasubject manually
i usually do it through a remote but you can do localplayer.characteradded
thanks
Does anyone know how to prevent text from splitting words? I wanna insert a rich string in a TextLabel: "Poor chainmail<br/>Protection 5<br/>Max Hp 35", but it keeps getting split. I turned on the text scaled option in a TextLabel, to not to lose size of text (maybe some will be small, or some will be too big). Shall I split manually? To prevent auto splitting, or can I do something not to split it before <br/> symbol?
I need some help? NetworkOwnerShip works on studio but on teamtest and join thru website it breaks, im doing a grab system, if it helps I can send the 2 scripts.
useful or nah?
--!strict
local Players = game:GetService("Players")
local RemoteEventUtils = {}
RemoteEventUtils.__index = RemoteEventUtils
local function getDistance(origin: Vector3, destination: Vector3)
return (origin - destination).Magnitude
end
function RemoteEventUtils.fireAllClientsWithinRange(range: number, origin: Vector3, event: RemoteEvent, ...: any)
for _, player in Players:GetPlayers() do
if not player.Character then continue end
local primaryPart = player.Character.PrimaryPart
if not primaryPart then continue end
if getDistance(origin, primaryPart.Position) < range then
event:FireClient(player, ...)
end
end
end
return RemoteEventUtils
e
why did you put --!strict
strict typechecking
hey guys im new to scripting and im watching brawl dev series for a basic grasp of how to sript, shoudi use a note book to write down things?
maybe
ok wait kind sirt
game.Players.PlayerAdded:Connect(function(player)
local Character = player.Character or player.CharacterAdded:Wait()
for i,v:Instance in pairs(Character:GetChildren()) do
if v:IsA("BasePart") then
v.CollisionGroup = "Character"
end
end
end)
hitbox.Touched:Connect(function(hit)
if hit and hit.Parent == Player.Character then return end
if hit and hit.Parent:FindFirstChild("Humanoid") then
local m = hit.Parent
local fa = Instance.new("BoolValue",m)
fa.Name = "Hit"
game.Debris:AddItem(fa,11)
local ki = Character.Ki
wait(0.1)
hitbox:Stop()
Core:Destroy()
if ishit == false then
ishit = true
if hit.Parent:FindFirstChild("BodyVelocity") then
hit.Parent:FindFirstChild("BodyVelocity"):Destroy()
end
if hit.Parent:FindFirstChild("Weld") then
hit.Parent:FindFirstChild("Weld"):Destroy()
end
local Weld = Instance.new("Weld",hit.Parent.HumanoidRootPart)
Weld.Part0 = hit.Parent.HumanoidRootPart
Weld.Name = "Grabbed"
Weld.C1 = CFrame.new(0,0,-3) * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
Weld.Part1 = Player.Character.HumanoidRootPart
game.Debris:AddItem(Weld,10)
local GrabUserAnim = Instance.new("Animation")
GrabUserAnim.AnimationId = "rbxassetid://75890651744823"
local Anim2 = Character.Humanoid:LoadAnimation(GrabUserAnim)
Anim2:Play()
Anim2:AdjustSpeed(0)
task.wait(10)
Anim2:AdjustSpeed(10)
end
end
end)```
How can i make it so the player "controls" the other player and can carry them around
you could also use player:DistanceFromCharacter
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
for i, v : BasePart in next, Character:GetChildren() do
if not v:IsA("BasePart") then continue end
v.CollisionGroup = "Character"
end
end)
end)
ok its neater and adds types
also add support for if player dies etc
ty
hitbox.Touched:Connect(function(hit)
if hit and hit.Parent == Player.Character then return end
if hit and hit.Parent:FindFirstChild("Humanoid") then
local m = hit.Parent
local fa = Instance.new("BoolValue",m)
fa.Name = "Hit"
game.Debris:AddItem(fa,11)
local ki = Character.Ki
wait(0.1)
hitbox:Stop()
Core:Destroy()
if ishit == false then
ishit = true
if hit.Parent:FindFirstChild("BodyVelocity") then
hit.Parent:FindFirstChild("BodyVelocity"):Destroy()
end
if hit.Parent:FindFirstChild("Weld") then
hit.Parent:FindFirstChild("Weld"):Destroy()
end
local Weld = Instance.new("Weld",hit.Parent.HumanoidRootPart)
Weld.Part0 = hit.Parent.HumanoidRootPart
Weld.Name = "Grabbed"
Weld.C1 = CFrame.new(0,0,-3) * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
Weld.Part1 = Player.Character.HumanoidRootPart
game.Debris:AddItem(Weld,10)
local GrabUserAnim = Instance.new("Animation")
GrabUserAnim.AnimationId = "rbxassetid://75890651744823"
local Anim2 = Character.Humanoid:LoadAnimation(GrabUserAnim)
Anim2:Play()
Anim2:AdjustSpeed(0)
task.wait(10)
Anim2:AdjustSpeed(10)
end
end
end)```
How can i make it so the player "controls" the other player and can carry them around
If you got past programming experience, read Roblox doc, if you got no experience at all, watch yt videos tutorial
Oh ok thank you
a lot
is anyone here experienced with roblox ads?
NEED SOMEONE FOR FORTNITE TORUNUMENT STARTING IN 5 MINUTES
we will carry you
just ready up and go afk for every game
pls we need someone
Me and my duo have 600$ earned each
eu?
hi guys how to make this
How are people getting away with paying 53$ for a whole project it makes no sense
most people pay $0 in making a project
They expect us to work 4-8 hours from 53$
they just have friends who will make stuff for free and work for fun
No one pays 0 unless they are working for themselves
no,I'm trying to do but I don't know how
that shouldn't be hard just adjust camera to that perspective and everything else seems easy
especially gui and picking up items
Do you know how to make this camera?
Lets be real though they want someone with 3 years experience and then offer 53$ for the whole project thats not even minimum wage
8h of work is a minimum 120$
Thats at 15$ a hour minimum wage here
And coding is a skill thats worth more then minimum wage
coding WELL is a skill that's worth more than minimum wage. A random 14 year old on here who thinks he knows the depths of the CS iceberg is not even worth that.
was going through my old models and noticed this script hidden inside one, anyone know what its purpose is?
idk how it got there I def didn't put it in on purpose
@proud lintel It's a backdoor probably
it is a backdoor
and clue what its exact function could have been?
to execute code on the server
its in some private model I uploaded years ago
obv I'd know to get rid of it lol but thanks anyway
I'm curious as to how it got in there
Guys help, when im in explorer and scroll, the ecran also scrolls
anyone know how to make a tool not pick-up-able? like when the player runs over it, its doesnt go into their backpack?
can i ask how i can find a template for a shirt without using robloxdex?
if that isnt the most obvious backdoor then I'm not sure what youre doing in roblox studio
Guys help, when im in explorer and scroll, the ecran also scrolls
Its a really weird back door that bounces module ids like 3 times before going online giving server admin to people that paid.
If its the same asset, it eventually sends data to a server notifying the game has been compromised
The account has been term'ed a while ago after the user made a lot of compromised plugins
https://devforum.roblox.com/t/anti-malicious-plugin-script-script/399629
I want to create a script that can destroy this random script , that keeps randomly being parented to parts and is called Debounce or fix, it keeps changing its name, and it is only inserted once the game runs. it’s (malicious ) code : --This an script of ROBLOX Studio. Do not delete it, this script secures your game from exploiters. --Th...
I knew it was a backdoor I just wanted to know how it functioned
I randomly found it in some model I uploaded in 2019
just noticed it's in a couple other models I uploaded around the same time
definitely had to be from a compromised plugin
i see
2D Kinematics V1.0
spring that follows head
BS, take your hourly rates and stand on them
does anyone know what causes this??
connection not being detected by the function
local connection
connection = runService.hb:Connect(...)
Heyy, is there a way using Roblox's systems alone to make it so that when a players humanoid or whatever hits the wall, it creates an opening in that wall, no matter where they hit?
thanks
I was wondering if anyone had any good resources on making raycasts/projectiles more performant? I am working on a project/commission that would need to support 50-100 players at once. I've been looking over devforum a bit, but was curious if anyone had anything
Facts
hey i want to learn pathfinding maybe someone have some good video resource to learn
yoo does any1 know if U could add VFX to animations in blender effectively and import it to roblox. I dont have moon animator.
it's written right there in blue
i keep getting this error Players.1nvrt.Backpack.LocalScript in my console how can i fix it
thats not enough information to help you based on
That’s my own image, mesh, and writing what
yea it can be done using bones
math is gonna be a bit ehh
since it's progressive curving as you can see
you can probably set the main bone towards the point of target and then curve the rest of the body in the opposing direction of the mouse
and that would get you your desired effect
hitbox.Touched:Connect(function(hit)
if hit and hit.Parent == Player.Character then return end
if hit and hit.Parent:FindFirstChild("Humanoid") then
local m = hit.Parent
wait(0.1)
hitbox:Stop()
Core:Destroy()
if ishit == false then
ishit = true
local fa = Instance.new("BoolValue",m)
fa.Name = "Hit"
game.Debris:AddItem(fa,11)
if hit.Parent:FindFirstChild("BodyVelocity") then
hit.Parent:FindFirstChild("BodyVelocity"):Destroy()
end
if hit.Parent.HumanoidRootPart:FindFirstChild("Weld") then
hit.Parent.HumanoidRootPart:FindFirstChild("Weld"):Destroy()
end
local motor = Instance.new("Motor6D", Player.Character.HumanoidRootPart)
motor.Part0 = Player.Character.HumanoidRootPart
motor.Name = "GrabbedMotor"
motor.C1 = CFrame.new(0, 0, -3) * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
motor.Part1 = hit.Parent.HumanoidRootPart
local GrabUserAnim = Instance.new("Animation")
GrabUserAnim.AnimationId = "rbxassetid://75890651744823"
local Anim2 = Character.Humanoid:LoadAnimation(GrabUserAnim)
Anim2:Play()
Anim2:AdjustSpeed(0)
task.wait(10)
Anim2:AdjustSpeed(10)
end
end
end)```
i'm trying to make it so when u grab someone, they follow u but rn the hit player controls it
Hey, does anyone here know if there are any known workarounds for the new .ROBLOSECURITY cookie requirements, specifically concerning creating Glitch bots?
Chat am I cooked?
yes
How to turn off Shadow of a RIG in Studio? I already turned off CastShadow for the parts
hey uhh
Is it fast or slow for my computer to process 6 288 335 900 characters in like 3.5 hours?
I'm tokenizing all those characters in pure python .-.
Only brut text?
?
I hadn't seen the thing about python below. 
A bit slow
Its done! and it took about 3:45 hours
What's your configuration?
final stats:
Data has 5,030,668,720 tokens, 665 vocab tokens
specs or code?
Intel I9-14900KF, NVIDIA RTX 4090 and 32GB DDR5 RAM
Send us your code
as for the code
Because there's something not quite right
class TrieNode:
def __init__(self):
self.children = {}
self.is_end_of_token = False
self.token_value = None
class Trie:
def __init__(self):
self.root = TrieNode()
def insert(self, token, value):
node = self.root
for char in token:
if char not in node.children:
node.children[char] = TrieNode()
node = node.children[char]
node.is_end_of_token = True
node.token_value = value
def search(self, data, start_index):
node = self.root
longest_match_value = None
longest_match_length = 0
for i in range(start_index, len(data)):
char = data[i]
if char in node.children:
node = node.children[char]
if node.is_end_of_token:
longest_match_value = node.token_value
longest_match_length = i - start_index + 1
else:
break
return longest_match_value, longest_match_length
# Build the Trie from the vocabulary
def build_trie(char_to_ix):
trie = Trie()
for token, index in char_to_ix.items():
trie.insert(token, index)
return trie
trie = build_trie(char_to_ix)
# Function to tokenize a chunk of data
def tokenize_chunk(chunk, f, token_type):
chunk_data = list(chunk)
i = 0
chunk_len = len(chunk_data)
with tqdm(total=chunk_len, desc="Tokenizing", unit="char") as pbar:
while i < chunk_len:
match_value, match_length = trie.search(chunk_data, i)
if match_value is not None:
f.write(struct.pack(token_type, match_value))
i += match_length # Jump forward by the length of the matched token
pbar.update(match_length)
else:
i += 1 # No match, move forward one step
pbar.update(1)
f.flush()
# return True
# Multi-threaded tokenization
def multi_threaded_tokenizer(data, num_threads=4, f=None, token_type="I"):
chunk_size = len(data) // num_threads
chunks = [
data[i * chunk_size : (i + 1) * chunk_size] for i in range(num_threads)
]
if len(data) % num_threads != 0:
chunks.append(data[num_threads * chunk_size :])
with concurrent.futures.ThreadPoolExecutor(max_workers=num_threads) as executor:
futures = [
executor.submit(tokenize_chunk, chunk, f, token_type)
for chunk in chunks
]
results = [
future.result() for future in concurrent.futures.as_completed(futures)
]
# Flatten the list of results
return results
and before u ask, yes.. I used AI for some guidance :/
but I still understand the codebase and know how to work with it
Excited to share that my fully open source VSCode extension which provides syntax highlighting like Roblox Studio now has basic support for Go To Function Definition and Go To Type Definition, meaning the user can just hold control/command and click a token and they will be taken to the definition. Roblox Studio does not even have Go To Definition functionality!
Also recently added auto insertion for do, end, and then.
Because, with your specs, you still have a huge margin, and the problem is actually the code.
Use “MultiProcessing” instead of “ThreadPollExecutor”, for example.
hmm
Try using AI to improve the code, and you'll usually see a meteoric rise in performance.
ProcessPoolExecutor?
ProcessPoolExecutor uses multiprocessing according to its docs
It works too, but it depends, because you have to avoid certain traps.
Well, they can't share the processes between them, and you'll have to rebuild the “Trie”.
a
alr, I'll try doing that, but I gotta sleep now.. So ima let it run the next process for the night and fix this one tmrw
Don't worry, let me know how it goes.
My database is not working can any1 help
a
Does anyone want to buy a script that could give admin commands to whoever, 500 robux
up to 15 commands for 500 30 for 1000
I meant datasave
idk if its my bodyvelocity or what
cause when i spawned a clone before the bodyvelocity it had the union on
how come it automatically does the touched event on its own once before i touch it
because i assume its unanchored
so it touches the baseplate
how good does someone have to be at scripting to be considered competent?
Event.OnServerEvent:Connect(function(Plr,Sit,RealBench)
local Bed = RealBench.Back
local Character = Plr.Character
local Hum = Character:FindFirstChild("HumanoidRootPart")
local humanoid = Character:FindFirstChild("Humanoid")
local Pos = Bed.Position
local LeftHand = Character:FindFirstChild("LeftHand")
local RightHand = Character:FindFirstChild("RightHand")
if Sit == false then
Hum.Anchored = true
Hum.CFrame = CFrame.new(Pos) * CFrame.new(0,1, 0) * CFrame.Angles(-300, math.rad(-25), math.rad(90))
local animation = Instance.new("Animation")
animation.AnimationId = AnimationId
local animator = humanoid:FindFirstChild("Animator")
if animator then
animator:LoadAnimation(animation):Play()
end
-- Clone and attach the barbell
local NewBar = Bar:Clone()
NewBar.Parent = Character
-- Ensure the barbell has handles
local LeftHandle = NewBar:FindFirstChild("LeftHandle")
local RightHandle = NewBar:FindFirstChild("RightHandle")
if LeftHandle and RightHandle then
-- Create WeldConstraints to attach the hands to the barbell
local weldLeft = Instance.new("WeldConstraint")
weldLeft.Part0 = LeftHand
weldLeft.Part1 = LeftHandle
weldLeft.Parent = LeftHand
local weldRight = Instance.new("WeldConstraint")
weldRight.Part0 = RightHand
weldRight.Part1 = RightHandle
weldRight.Parent = RightHand
end
else
Character.Bar:destroy()
Hum.Anchored = false
end
end)
Any idea why the bar doesn't align with the hands? and its position is different every time compared to where the character is standing?
@light hare maybe try setting the position to like 4-5 studys above the hands y axis ex: vector3.new(0, 4, 0) adjust if needed
For a TD game would it be better to do a mob class for example then a mob object like a zombie or should I do one mob spawn module.
?
Hey guys any idea why my console kept saying "Failed to award badge" even though I created a new badge copied the asset ID but still doesn't work. At the same time I don't own the badge
local BadgeService = game:GetService("BadgeService")
local Players = game:GetService("Players")
local BADGE_ID = 1829877238696434
local function awardBadge(player, badgeId)
-- Fetch badge information
local success, badgeInfo = pcall(function()
return BadgeService:GetBadgeInfoAsync(badgeId)
end)
if success then
-- Confirm that badge can be awarded
if badgeInfo.IsEnabled then
-- Award badge
local awardSuccess, result = pcall(function()
return BadgeService:AwardBadge(player.UserId, badgeId)
end)
if not awardSuccess then
-- the AwardBadge function threw an error
warn("Error while awarding badge:", result)
elseif not result then
-- the AwardBadge function did not award a badge
warn("Failed to award badge.")
end
end
else
warn("Error while fetching badge info: " .. badgeInfo)
end
end
local function onPlayerAdded(player)
awardBadge(player, BADGE_ID)
end
Players.PlayerAdded:Connect(onPlayerAdded)
Anyone know how to make a system where a part holds you up while the map loads in?
Mmmm good push 😁
how do i make drag detector work even tho i have a tool equipped
i dont think it makes it a ball or neon
it works
Good enough
i actually crashed roblox studio because i spawned 10Million of the spheres
Good job!
thanks
lol yeah true u forgot the wait
would it be better to do OOP like i stated first or just normal code in a single mob spawn module to spawn the mobs in each wave for a tower defense
OOP
no
alr join me
yh. is good
Yeah I’m trying to do it like those snake games I using like offset * index
can any1 help with datasave my code aint working
does anyone know why my text label that is on a surface gui on a part, is visible thru objects and my character?
Anyone has a video that talks about loading animations properly?
Cuz seems the equipment idle animation breaks my skill animation and when I'm leaving the anchored position I'm walking with the skill animation 😭
Go to properties of the surface gui and set AlwaysOnTop to false
Make sure the skill animation isn't looped, is set to action, and the idle animation is with the animation id's in your character's animate script(The one from roblox, unless if you have something else in place, also I wouldn't recommend playing the animation, it would be better if it's id is added on the Animate script of roblox.). Idle Animation's priority should be Idle. If all these are complete then I think you'll be good
Otherwise, you can send the script in my dms(In case you'd like to keep it private)
I'll be looking through pictures only and not links
Like keeps you on the air until the map loads? I think you can do this by utilizing PreloadAsync + AlignPosition and once it's finished (or if you have a set duration for loading), you could delete AlignPosition and the character's physics should be back to normal and it should fall back to the ground. I can make you a script example of this if you want.
Yo guys can anyone DM me who knows how i can make my teleporting system teleport players together and in their own server??
you should take a look at TeleportService
that makes the color of it look weird tho
hello i am making a contract and i need yo guys help
what should i write in the contract if the person do not gives robux?
straight up lawsuit
okay thx!
think about it first tho
im not a legal advisor
but like
involving law entities is prolly the best way to deal with unpaid stuff
cause threatening them yourself can get you in a bad situation
okay!
hi
you are better off with a legal binding ngl
when someone has 0 brain abt a thing, whom will he ask, the people right?
what
nvm
i had a stroke and died reading that
its else you asking other people or some toher bs
why are you here then? bro i said nvm
guys some1 tell me why this aint workin
local Gui = game.StarterGui.PlayerGUI
local part = script.Parent
local touching = false
part.Touched:Connect(function(hit)
Gui.Enabled = true
end)
part.TouchEnded:Connect(function(hit)
Gui.Enabled = false
end)
note: i will add if humaniod soon
Hi
Who needs a Roblox game developer
can u help me?
game.startergui is wrong
then what do i use?
are you doing it on a local or server script
yeah since you cant access gui on server scripts
ok ty
also the startergui is parented to the player
so its game.players.localplayer.PlayerGui not game.startergui
❌
local Gui = game.Players.LocalPlayer:WaitForChild("PlayerGUI")
local part = script.Parent
local touching = false
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
Gui.Enabled = true
end
end)
part.TouchEnded:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
Gui.Enabled = false
end
end)
still aint working 😭😭
any1 hewp pls
you're handling touched on client, maybe use remoteevents to fire the client of whoever touched the part on the server and change the gui on the client
wdym
I want to make the player a football, idk how exactly i should do it. ANY HELP?
i remember that locals work in workspace if u paste a server sided script, and change the context of it
who wants scripter
genius
for i = 1, numberehere do
print(i)
task.wait(i)
end```
for i = 5,1
print(i)
task.wait(i)
end
Hey Guys, im trying to replicate TOH. the timer runs well, stringvalue is assigned to be 40 for each levels, and when i try to test it, this happens, heres the code.
nvm guys i fixed my problem
im trying to give a player a tool if they bought it in my game
the prints say its true , everything should work as far as it looks but i dont get the tool
the tool isnt bugged afaik, putting it in starterpack is fine and it works fine but the process of giving it isnt
This is my code ```local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local outfitChangerTool = ReplicatedStorage:WaitForChild("OutfitChanger")
Players.PlayerAdded:Connect(function(player)
print("Player added:", player.Name)
task.wait(3)
local ownsTool = player:GetAttribute("OwnsOutfitChanger")
print("Does ", player.Name, " own the tool? Answer:", ownsTool)
if ownsTool then
local backpack = player:WaitForChild("Backpack")
local toolClone = outfitChangerTool:Clone()
toolClone.Parent = backpack
print("gave the tool to ", player.Name)
else
print(player.Name, " doesnt own the tool.")
end
player.CharacterAdded:Connect(function(character)
task.wait(3)
local ownsTool = player:GetAttribute("OwnsOutfitChanger")
print("Does ", player.Name, " OwnsOutfitChanger? Answer: ", ownsTool)
if ownsTool then
local backpack = player:WaitForChild("Backpack")
local toolClone = outfitChangerTool:Clone()
toolClone.Parent = backpack
print("Gave the tool on res to ", player.Name)
else
print(player.Name, " doesnt own the tool.")
end
end)
end)```
please help me
make sure you use rbxassetid://[NUMBER] not the full link
if it still doesn't work, you prolly dont own the animation
how would i create a clone of your avatar that copies your movements and is sorta like doppel from grace
you can probably like
store the cframe of each of their limbs every half a second
then have a script recreate it
on the client of course
To all my fellow pythonians you are welcome gonna post this in code discussion to but thats it
https://github.com/RedXDevelopment/RedXAIEasyFunctions/tree/main/redxaieasyfunctions
https://pypi.org/project/RedXAIEasyFunctions/
all ya gotta do is pip install RedXAIEasyFunctions >:)
all my fellow python devs you are welcome 🙂 expect regular updates new things made more flexible and simplified as i continue my pojects and have a need for more stuff
It still doesnt work…
i havent read what your having trouble with holdup
where should i put the script
I just need to set a custom idle a un
Anim
i wont script it for you, but i will point you in the right direction, use velocity and magnitude to calculate if a players moving, if there still play the animation, or just edit robloxs animation script aint been on roblox in a minute but i think they have idle animations
also
convert to python and c#
we are superior
Your missing a few things and main is going ti bed i wont elaborate cause i diont know how to code trust
Alr
can someone pls help
its supposed to make a clone that copies how i move but it doesnt really do what its supposed to
is there a way to make a discord bot that counts your roblox ugc sales?
Did you also figure out the other issue that I see
how to print
yeah im restarting the whole code
its going so far so good
im still working on it
its done
what can i do to make it to the point where once its destroyed it doesnt have those left over errors or is that somthing i cant get around?
guys how can I hide a textbutton for pc players but make it visible for mobile people?
u stole my name
no need to do allat just spawn
go into PlayerCharacter.Animate (localscript)
yall not locked in if you don’t write in cursive
Copy and paste the script into StarterPlayer.StarterCharacter and edit
oh my gahd 🥵
Ben franklin and g washington taught me vs 🙏
who wants to make a game for fun i can pay ig
for some reason this script works in roblox studio but not in a published game, does anyone have a reason why?
The script is located inside StarterPlayerScripts
local userInputService = game:GetService("UserInputService")
userInputService.MouseIcon = "rbxassetid://15722065980"
Yes please I'm not the best with align position
What's your timezone? Because I'm not really active at night so I can't talk about it rn
did you upload it yourself?
the asset
It's 9:23am for me rn
ah so 9 hour difference, alr I can help you tomorrow
Alr
I think its because the user who uploaded it has their nventory private
I'm active still til like 10 my time so it should be good
but I got it from the toolbox tho
or it wouldn't matter
wouldnt matter\
damn, ima upload my own then
uhh i just want to somebody teach me to script
bro is not showing the full screenshot
anyone here have a pet system ?
there gotta be more
how do i retrieve a players follower count with a roblox API (the script must be able to find the follower count of every local player that joins)
who wants to do challenge dm me 1/6
code assist rlly be getting tired in less then 20 lines of code bro
Hello, I'm looking for a builder for a place in Roblox. I'm also interested in scripters and terrain makers. I can't pay yet, but with the first releases you will receive your percentage until the end of our deal.
no
Hello, I'm looking for a builder for a place in Roblox. I'm also interested in scripters and terrain makers. I can't pay yet, but with the first releases you will receive your percentage until the end of our deal.
Hello, I'm looking for a builder for a place in Roblox. I'm also interested in scripters and terrain makers. I can't pay yet, but with the first releases you will receive your percentage until the end of our deal.
Hello, I'm looking for a builder for a place in Roblox. I'm also interested in scripters and terrain makers. I can't pay yet, but with the first releases you will receive your percentage until the end of our deal.
whts ur part of work
Hello, I'm looking for a builder for a place in Roblox. I'm also interested in scripters and terrain makers. I can't pay yet, but with the first releases you will receive your percentage until the end of our deal.
no way they have an of lmao💀
Моральная поддержка
Pon
Uhh just know that its justifiable
we getting un banned wit this one
need to get back in studio
What did you even do?
If you think about it, that makes perfect sense
In fact, the moderator should be thanked for it
What i said isnt relevant, the past is the past and we must look forward to the future
You just went in there and spammed weird slangs, so the moderator thought it was a secret swear word or something
And we need more of this
No i didnt say any slang of what not, I said nothing of the sort.
Yes i do.
What even is "someswamp izzo"?
I mean some words can be take into the wrong context depending on how the game chat detects it
I was referencing the song dj swamp izzo who was on the carti album
That song could have been inappropriate
So yes, it makes perfect sense
It was not. Well some of the song names have odd names and somewhat in appropriate
Example theres a song in the album called Cocaine Nose
It's just 1 day, and I only play Roblox like 2 hours a day
Or 3
2 hrs on roblox 18 in the studio
🥶
I would never put anything on god.
Used to be me
Learning code is somewhat difficult but as you began to create more things it become easier
I've been there
A few times
Right now i want to learn how to make a combaat system that suits my idea but to start where i am i need to learn how i can have the attack combo play for when they either switch classes to different and change their m1 animation to rhat etc etc
Lots of stuff i want to do but for now i gotta make anims, and script the basics
Frameworks ig learn OOP it be good for systems
Good stuff
Learning scripting is one thing but optimising them, client replication is confusing for me 😭
I wonder if there is a library that has given LUA classes and stuff
Getters and setters, interfaces, etc
Probably
I mean I once found a whole Framework for skill sets but not sure for interfaces and stuff
You can only make it harder
Are there any good tuts or docs in how client replication works?
Framework?
Im still somewhat new scripter
There are many concepts of OOP that metatables don't have, so I'm curious if there is a framework or library that can do it
I don't know but you can experiment by playtesting with a local server and one player
Learn classic networking, so you can understand exactly why
Classic networking?
Server and client, the server returns data to the client
with an API
But it's fine if you don't want to
I'm a bit confused
You can go in YouTube
How do you learn replication if you don't learn surface level client server architecture
Alright, so let's say your Wi-Fi is cut off while playing a game, when you spend money, that is a server side connection, but your Wi-Fi can't reach those servers
so there's going to be a problem
I thought that'd be obvious to beginners
Not even I knew it or thought of it like that
2 years ago
I could be wrong, since I didn't learn networking, but I plan on taking a course about it soon
Oh oke Ty got any suggestions on where I can find good explanations
Question, to start a combat system should I have thd controls that is used for fighting with the player and the other system such as data of what style the character is using that collects the information and whatever animation thats in the replicate storage.
If so should i just make multiple data stores of certain information or is ther an easier way to do such a thing
wow! u have so many achv
In this Roblox scripting scripts tutorial, you will learn how to use a server to client remote event in Roblox. You will learn how to create a remote event. You will learn how to fire a remote event from the server side to a single client to change and display a client’s text label. You will learn how to fire a server to client remote event wi...
Nevermind this only taught about RemoteEvents
Thanks but I already know of remote events, is there more to classic networking or is it just the communication between server and client
Oh lol
There is more, you don't have to learn networking but you can if you want
Right,
r u for hire or u can help with some things for free?
No I'm not available
I'm kind of bad at scripting to be honest
...
thts sad
cuz i need some1 to help me with easy scripts
What you making
boxing legends thing
ik, but i was thinking i can find some1 here too
u can help?
Hello I have a question, I am starting to learn code, but there is some few things I dont understand, to understand it I should use chatGPT or simply search in google? I mean, idk if I will start getting "dumb" by asking chatGPT
well using chat gpt will make u rely more on it
i reccomend to watch multi tut and do examples on what they teach
or join an online course
Alr thx
should i use promises with profilestore?
Need details on what you making
does anyone know why the trails are not copied over to the player when they spawn
Ill put it in way you can understand from my perspective
When starting to learn code i sincerely suggest you to watch TheDevKing on how the basic of coding, meaning variables and such will give you understanding how lua language code works. After watching his playlist of basic and advance scripting i sugesst you try making something in studio, dont let dissapointment get to you and i highly recommend using the internet such as reading documentstion.
Don’t watch a video and copy the code without at least going back snd reading to understand each piece of code work understand how its working. Don’t watch the playlist and jump straight into trying to make a full form combat system if your new, try small things like kill break or play around with starter player.
Now it sound slow and boring but its the cruel start of teaching yourself a new coding language.
As you get familiar with making basic things like introducing yourself to guide or animation i would recommend you try animation while learning to code.
Animating is simplified but takes practice and understanding of body fundamental, weight, gravity and etc which allows you to create animations to the point it’s lifelike.
As you got two skills under your belt animation and scripting you unlock a more area without relying to buy commissions from another animator to create basic combats you can start yourself.
Now this was a yap session but thats the cruel reality i had to face on my own as i took many breaks but as i came back again i started to take it easy build it peace by peace.
Back to the videos part, don’t worry if you forget what happen in the video because simple stiff like variables is something your going to repeat over and over again. If you want to find certain videos like example if you don’t know how to keep an organized list of items to make them unable to be dropped then you can look up tables which stores multiple words or anything in a big category which allow you to not repeat your variable over and over which make you having to call variables over.
^^
do as u wish with tthat information
D1 yapper
DMs me
I suggest looking up a documentstion that covers that
ok
he aint reading alat
I read and enjoyed every bit
ur weird
I need an idea on how i can animate a car door with the movement of a players arm
i was thinking maybe adding a motor 6d
Gotta trust the process
to the door
and rig the door with the player
and then when the door is clicked it re adds the motor 6d
is that a good idea or is there a better route
I think Motor6Ds are deprecated
Like an interaction?
yes like a game called arma reforger
what else could I use
OHHHH
You can use dragdetector
Fire game
smooth and simple
So you want them interact with the door and not be able to moved off it or able to pull the door open but able to cancel it like gta 5
i need a better way where it opens in one smooth motion at a constant rate of speed
to match the speed of the animation of the player
if that makes sense
ye
First or second
ye
2nd
Does anyone here know DataGrip?
how can i hide the chat and details icons??
Disable coregui
anyone know why nothing custom copies from this
ive been trying for like an hour now and this is so stupid
@verbal rivet i couldnt find any documentation on this thing
can you send me code to disable core gui?
theres just the roblox docs one and it doesnt even tell me anything
Look it up on toolbox
nvm its because i had a spelling mistake
Ill put it a way thats simplified so you can script it etc
1.Make a animation of a player opening the door and getting in the car.
2.Using moon animator put a animation even thats labled anything and script it to where its the last the second the player can 3.backout before fully getting in the car. so the time before that they can press the wasd key to back off the car and the car will still swing wide open.
having it simplified like that will allow you get a understanding on how YOU want it to play in the game.
Then you can do the rest of the scripting of the in server script
For player all you need is an interaction key.
guys help me out i dont code so yea i made 2 animations for 2 rigs and i have a proximity prompt now i want that to trigger those 2 animations on the 2 rigs at the same time dm me if anyone down to help
Like id they touch it a animation play?
thanks bro
i've figured out that i might be able to calculate the time it takes for the door to open
and havae it stall for about 2 seconds in the animation, and within 2 seconds the player animation will raise its arm
and then move forwards looking like it opens the door
i dmed u
Tysm for your time and your help, your point of view is very intersting, Im taking notes, thx
No problem. I know it was a yap session but i hope you continue your journey and dont get down on failure. Even as you look at different videos and fix ur mistake by learning what you did youwould get a feeling that you understand it more as you break it down into pieces
Like i want the person to parry but first i have to make the controls of the person ability to parry and animation of a successful parry and a failed then have a remote that connects them both and which allows you to finish the system in a script on script service area that connects the remote to the script on server which allows you to have onclient or server event etc. and you can go from there
Thats describing the base function of a parry system. But as you get better you began to understand how each step works
Good luck once again.
I see, do you know about how long it will take for me to become decent at scripting ?
Theres no definite time you become a decent scripter but as a beginner you would be able to learn the basics and gain a full understanding if you keep at it for a month
Make as much shit as possible
fail more than you can so you can learn alott
won't learn much with tutorials
I see, that makes more sense now, thx again for ur advice and good luck with ur future projects too
Ye u right, thx u too
Ye, gotta just use them as bases for it then i need to make it myself
Use them to understand the general concept rather than just copy code from it
tbh you can read the roblox documentation
that would be better
Ye many ppl said thats to me also, its a good source of informations about scripting etc.
No problem and thanks
Making a king arthur style once im unbanned
Wait can u open roblox studio if u are banned ?
banned too
What a loser
Have you never been banned before?
truly tragic
what a fucking piece of shit
Excatly
What do you all suggest for learning C++, like what tutorials?
I have but long time ago and I wasnt using studio at this time
i have a script so when u have enough money for a gun and buy it and when u run out of ammo you try to purchase more ammo but it doesnt show up in the gui that u purchased more ammo if u can help me dm me plz
it uses proximityprompts I need it so when u buy more ammo the gui updates with u having more ammo and your able to shoot more bullets until you need more ammo
Take the cs50x too
game tester for hire hello i am a game tester i can test a game and tell if there are any bugs which should be fixed or any problems in the game i am looking for some to hire me i have an experience of 2 years price robux - 200 dollars- 50 per game testing if i like ur game ill make a discount for you i accept paypal , phone pay etc
aint 200 dollars wild for a tester?
anyone here good with pathfindingservice?
no
i wana know why my npcs stop after 2 minutes of constant pfs
CAN SOMEONE TELL ME WHY THE PLAYER AINT BEING TELEPORTED TO THE PART EVEN THE EVENT IS FIRING
touchPart.Touched:Connect(function(hit)
local player : Player = players:GetPlayerFromCharacter(hit.Parent)
if player then
local character : Model = player.Character
if not character then return end
print("reached")
if redPlayer.Value == nil and bluePlayer.Value ~= player then
print("reached")
redPlayer.Value = player
totalPlayers.Value += 1
character.PrimaryPart.Position = teleportPart.Position
exitEvent:FireClient(player)
elseif bluePlayer.Value == nil and redPlayer.Value ~= player then
print("reached")
bluePlayer.Value = player
totalPlayers.Value += 1
character.PrimaryPart.Position = teleportPart.Position
exitEvent:FireClient(player)
end
end
end)
are u trying to do this just on the client side? u need to have remoteevents to teleport the player
no i want to teleport the player to a postion and i fire the client for a gui to pop up
the if and elseif conditions are probably not being satisfied
no the event is firing and also i fix it by useing :MoveTo
yo roblox scripting is done with lua right?
Join my mf server shit tuff
guys why does it print bunch of times?
lua
function countDown()
for i = countDownDuration, 0, -1 do
task.wait(1)
print(i)
timer.Text = i
if redPlayer.Value == nil or bluePlayer.Value == nil then
timer.Text = countDownDuration
break
end
if i == 0 then
print("pair")
end
end
end
touchPart.Touched:Connect(function(hit)
local player : Player = players:GetPlayerFromCharacter(hit.Parent)
if player then
local character : Model = player.Character
if not character then return end
if redPlayer.Value == nil and bluePlayer.Value ~= player then
redPlayer.Value = player
totalPlayers.Value += 1
character:MoveTo(teleportPart.Position)
exitEvent:FireClient(player)
elseif bluePlayer.Value == nil and redPlayer.Value ~= player then
bluePlayer.Value = player
totalPlayers.Value += 1
character:MoveTo(teleportPart.Position)
exitEvent:FireClient(player)
end
if totalPlayers.Value == 2 then
countDown()
end
end
end)
a game called Scripting School
countDown() is called multiple times
If multiple Touched events trigger the function before the previous one finishes, multiple countdowns run in parallel.
Multiple Players Triggering It
If more than two players interact with touchPart, countDown() could be starting multiple times.
-chatGPT
thanks gpt i added a return at the end and it worked
guys i need help bad
hi
anyone know why the custom character Is levitating?
BEtter to use forums ifmur brsnd new
How do i stop my part form decteting to many parts from the charactar and adding to much money?
Maybe check for a humanoid
game.Workspace.moneyloss.Touched:Connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") then
lossmoneyfunc()
end
end)
replace that with the bottom part
and the same with all the other parts
best resource
accept ima add you to a gc
anyone got suggestions on learning lua and scripting on roblox?
learn fundamentals then apply to small projects
get used to the basic logic
i see
for me, i just recreated little things from games i like
so like research the basics and try to recreate small things?
yeah
alr
who here specializes in complex combat systems
can someone help me make a mount system
e
wrong channel sry
Any chance I can get with someone about my game not saving stuff when a shutdown occurs
It saves when the player leaves and whatnot, but when I force a shutdown it seemingly wipes all their cash stat.
Maybe use a game:bindtoclose() it’s simple to fix just plug it into the save function
use the humanoidrootpart
Does the character have a primary part? If not just use hrp
https://streamable.com/b4ivv6 3 days into scrippitng made this
big w for 3 only 3 days
I'm facing a big problem, this data store is taking data from other users and putting it in the wrong user, can anyone help me with this?
function ModuleData.new(Player)
local self = setmetatable({}, ModuleData)
self.Player = Player
self.Data = TemplateData
warn(self.Player)
ModuleData.PlayerDataInstances[Player.UserId] = self
return self
end
function ModuleData:LoadData()
--> Get async from data
local Sucess, Data = pcall(function()
return StoreData:GetAsync(self.Player.UserId)
end)
--> Check if the user have data or not
if Sucess and Data then
--> Put template original loaded
self.Data = Data
print('Data loaded: ', self.Data.Player)
--> Create leaderstats
local LeaderStats = Instance.new('Folder', self.Player)
LeaderStats.Name = 'leaderstats'
self.LeaderStats = LeaderStats
--> Create value formated to keys loaded
for _, Names in ipairs(Keys) do
--> Create ints
local Value = Instance.new('IntValue', LeaderStats)
Value.Name = Names
Value.Value = self.Data.PlayerStats[Names] or 1
end
else
--> Put template original not loaded
self.Data.Player = self.Player.Name
self.Data.PlayerStats.PhaseCompleted = TemplatePhase
--> Create leaderstats
local LeaderStats = Instance.new('Folder', self.Player)
LeaderStats.Name = 'leaderstats'
self.LeaderStats = LeaderStats
--> Create value formated to keys
for _, Names in ipairs(Keys) do
--> Create a value
local Value = Instance.new('IntValue', LeaderStats)
Value.Name = Names
Value.Value = 1
end
end
--> If not have data
if not Sucess then
warn('Failed to load datastore!')
return false
end
return true
end```
The problem is
yea ?
Thats what the problem is\
slash ?
no
wdym ?
really bro
yes
If you don't want to help, you don't have to keep saying
is it that it doesn’t play or u can’t click
Is the wheel suppose to dissapear when you click it
yes
wheel disapears and emote plays
is there any scripters out there that can help?
Try making the click box seeable to see the issue
print an output on click to see if the click is working
so nothing printed
yeah
Maybe it’s a mouse problem?
no no my mouse works fine
Maybe because it yielded forever bcs it doesn't find the WaitForChild
what script is that waitforchild having problems with
yeah that was my guess
Try fixing the WaitForChild make sure it exists
yeah i dont know how to do that man
thats why i use timeouts with waitforchild
can anyone help me?
show the script that has it
Yuh
the emote script?
if its the script that has the waitforchild
that is not a scirpt
Is is that the wheel dissapear when the animation run
i have a combat script but i think its interfering with it
if its not printing on click then they have no correlation
show the hierarchy of the screengui
no idea why all of your code is in a for loop either
does anyone know the best method to remove custom body parts (character meshes) e.g. magma fiend and replace it with the default r6 build?
do your slots have buttons?
local emotevalue = char:WaitForChild("value").emoting
this line is yeilding the thread
no its not that
its what i just said
your character doesnt have a "value" so its yielding
i delete this?
what do i replace witrh vlaue
well no because your whole script relies on it
value
you need a value on the character, and im guessing its a bool
local value = instance.new("BoolValue", player.character), value.Name = "value", value.Value = false
what is value for
yeah
i can replace this with that?
no you have to do that on character/player added on the server
wherever that is supposed to be added
yoda
just script lookup
your smart
who wants to join the challenge of 6 devs need 1 modeler
simple fix but thx
yoda i have no idea what to do man im sorry
this value also has a child "emoting" which is the bool
So it was bcs the value yielded forever lol
the problem might have been that the waitforchild started too early
me?
I suggest watching tutorials before trying out advance stuff bro
howd you even get that script in the first place
ok Auggusted
free model
added
sometime the free model add WAY too much script to understand
can somone help me with somthing
im making a thing where you press a proximty prompt and you do the animation
and it works but it is quit buggy and stops after a couple times
can someone tell me how to make a working gui menu before u click play to go into the game
Guys how do u make those walls where if u say the correct word ut able tk walkthrough it
use yt to find out how
player.Chatted and changing BasePart related properties
Kk ty
nobody helping me in code H E L P so here I am
I have this ragdoll script and I have another script that ragdolls the player when they press R BUT for some reason it ONLY works as intended when the player dies and ive tried platform stand and whatever but it just doesnt work well. somebody help
because you didnt even send your script
I dont actually have the R function here.
have you tried setting the player's state to ragdolled
and disabled gettingup
help with my flower code 101
game.ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("GunEvent"):FireClient() can someone help me?
i want it so that the remote event fires from a server script
but the thing is that it gives me an error
argument 1 is missing or nill
So many..
is it not possible for textures to move or smth
like im trying to make a door move but the main door parts have textures on them and wont move
nvm i figured it out
you need to put a player as an argument
yo guys anyone want help with creating a portfolio website? i got two ebsite samples i have created
yo how do i make music play in the backgroud and when its done it repets
yo any scripters here? my devs require some help from a scripter..
can y'all js dm me
guess
?
try #code-help
Dm me if your interested in modeling items for a crafting table in a post apocalyptic survival game in Roblox (for no pay, just to build a portfolio)
sybau gng
ts pmo icl sybau dtming
😉
if anyone needs free scripting dm my other account @eager tartan
who can make my game look bette
guys my script isnt putting my idle anime in but its putting my run and walk anim in
can anyone help??
in what way
optimized code, modules instead of a bunch of loose scripts, optimized models (not too many triangles or whatever), optimized building (try to keep part count low and avoid unions)
like its kinda plain i want some desgin and stfu
i am looking for a scripter
?????
can u make it look better
@static coral
maybe
dm?
i made a challenge for 6 devs and i need one more
im not gonna help you i just got you to send the script so its here for someone else to help you
i ggtg

