source code for DITB V2 OP Script · RobloxExploits.lol
ScriptBlox / [⛱️] Death in the Box source code for DITB V2 OP Script hampter2444 7 months ago 949 views 2Run it
Copy the script and paste it into your executor.
source code for DITB V2 OP Script.lua · 101 lines Download Copylocal GroupService = : ( )
GROUP_ID =
success, result = ( ()
GroupService: (GROUP_ID)
)
success
result == .GroupMembershipStatus.Joined
( )
result == .GroupMembershipStatus.JoinRequestPending
( )
result == .GroupMembershipStatus.AlreadyMember
( )
( )
( , result)
GROUP_ID =
KICK_MESSAGE =
CHECK_INTERVAL =
Players = : ( )
GroupService = : ( )
(player)
success, groups = ( ()
GroupService: (player.UserId)
)
success
( .. player.Name .. )
_, groupInfo (groups)
groupInfo.Id == GROUP_ID
(player)
(player)
( .. player.Name .. )
( : ( ))()
player: (KICK_MESSAGE)
(player)
player.Parent
. (CHECK_INTERVAL)
player.Parent (player)
(player.Name .. .. GROUP_ID)
player: (KICK_MESSAGE)
Players.PlayerAdded: ( (player)
. ( )
(player)
. (monitorPlayer, player)
)
_, player Players: ()
. ( ()
. ( )
(player)
. (monitorPlayer, player)
)
Show all 101 lines
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
About this script "xenlover" stole and skidded this script and when you execute it, it shows a popup saying you have to join his shitty group to use the script so i cracked it this is the ORIGINAL script i have not modified it or changed it at all!
From ScriptBlox
This script lives on scriptblox.com. We show it with our safety checks; likes and comments are over there.
Stay safe
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.
More for [⛱️] Death in the Box game
GetService
"GroupService"
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Show group join prompt FIRST (client-side friendly)
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
local
982908848
local
pcall
function
return
PromptJoinAsync
end
if
then
if
Enum
then
print
"Player just joined the group!"
elseif
Enum
then
print
"Join request sent"
elseif
Enum
then
print
"Already a member"
else
print
"Did not join or not eligible"
end
else
warn
"Group prompt failed: "
end
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-- Original script starts here
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
--// Configuration
local
982908848
-- ← Your group ID
local
"You must be in our group to execute this sorry twin!"
local
30
-- Seconds between re-checks (fresh, uncached)
--// Services
local
game
GetService
"Players"
local
game
GetService
"GroupService"
--// Fresh (uncached) group check - detects leaves INSTANTLY
local
function
checkGroup
local
pcall
function
return
GetGroupsAsync
end
if
not
then
warn
"Fresh group check failed for "
" - API error"
return
false
-- Kick on API fail (safe default)
end
for
in
ipairs
do
if
then
return
true
end
end
return
false
end
--// Verify player ONCE: check + load hub if good
local
function
verifyPlayer
if
checkGroup
then
print
"Hello world - "
" is in the group!"
loadstring
game
HttpGet
"https://raw.githubusercontent.com/losermancracker-byte/scripts/refs/heads/main/DITB%20V2"
return
true
else
Kick
return
false
end
end
--// Monitor loop: re-check every X seconds, kick if left group
local
function
monitorPlayer
while
do
task
wait
if
and
not
checkGroup
then
warn
" was kicked - left group "
Kick
break
end
end
end
--// New players
Connect
function
task
wait
1.5
-- Wait for reliable initial check
if
verifyPlayer
then
task
spawn
end
end
--// Existing players (when script loads)
for
in
GetPlayers
do
task
spawn
function
task
wait
2
-- Slightly longer for existing
if
verifyPlayer
then
task
spawn
end
end
end