
Key Required

--whoever still interested in this game
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local GearArchive = LocalPlayer:WaitForChild("MyData"):WaitForChild("GearArchive")
local remote = ReplicatedStorage:FindFirstChild("Remotes", true):FindFirstChild("AddGear", true)
local function handleStringValue(child)
if child:IsA("StringValue") then
remote:FireServer(child.Name, "Gadget")
child:Destroy()
end
end
if remote then
for _, child in ipairs(GearArchive:GetChildren()) do
handleStringValue(child)
end
GearArchive.ChildAdded:Connect(handleStringValue)
end



what is this meant to do exactly?
@realhckersbrotheralt its a script made for game HELLMET. in the game theres specific equipment called gadgets. script basicly requests new gadgets from server when you use it
@stoicz ohh so like infinite gadgets?
@realhckersbrotheralt as the name says yes
i see btw im an alt of realheckersbrother because i cant do anything on my main post comments, edit scripts, create scripts idk why but ill check out this game further more
@realhckersbrotheralt the game is practically dead, not updated and only has like 3 short missions so you dont have to worry
@stoicz ok
need to execute in game or in lobby?