Blox Fruits is an immensely popular game on the Roblox platform, boasting a vast user base. This action-adventure game revolves around a pirate theme, where players engage in combat against a variety of enemies and challenging bosses. Exploring islands and consuming different fruits are essential for advancing your character’s level.
What is Roblox Script?
Roblox Scripts typically refer to snippets of code that offer automation advantages within the game. Independent developers and scripters create these scripts, which are not officially endorsed by the Roblox platform. Nevertheless, you can still utilize these scripts through Roblox executors such as Arceus X, Hydrogen Executor, JJSploit, Fluxus executor, and others.
How to Use Roblox Script?
- Launch Roblox and join your desired game.
- Click the “Copy” button to duplicate the script code.
- Paste the script code into your preferred Roblox executor.
- Execute the script code and savor the enhanced experience
Blox Fruits is an immensely popular game on the Roblox platform, boasting a vast user base. This action-adventure game revolves around a pirate theme, where players engage in combat against a variety of enemies and challenging bosses. Exploring islands and consuming different fruits are essential for advancing your character’s level.
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local tr0llgui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local skybox = Instance.new("TextButton")
local music = Instance.new("TextButton")
local particle = Instance.new("TextButton")
local disco = Instance.new("TextButton")
local message = Instance.new("TextButton")
local ImageLabel = Instance.new("ImageLabel")
local decal = Instance.new("TextButton")
local TextLabel_2 = Instance.new("TextLabel")
local sp = Instance.new("TextButton")
local ImageLabel_2 = Instance.new("ImageLabel")
local grab = Instance.new("TextButton")
local devuzi = Instance.new("TextButton")
tr0llgui.Name = "tr0llgui"
tr0llgui.Parent = game.CoreGui
tr0llgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
tr0llgui.ResetOnSpawn = false
Frame.Parent = tr0llgui
Frame.Active = true
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderColor3 = Color3.fromRGB(255, 0, 0)
Frame.BorderSizePixel = 3
Frame.Position = UDim2.new(0.475671828, 0, 0.308606774, 0)
Frame.Size = UDim2.new(0, 469, 0, 302)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(0, 468, 0, 49)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "welc0em 2 ep1cgu1 XD"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true
skybox.Name = "skybox"
skybox.Parent = Frame
skybox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
skybox.BorderColor3 = Color3.fromRGB(255, 0, 0)
skybox.BorderSizePixel = 3
skybox.Position = UDim2.new(0, 0, 0.162251666, 0)
skybox.Size = UDim2.new(0, 156, 0, 50)
skybox.Font = Enum.Font.SourceSans
skybox.Text = "skybox"
skybox.TextColor3 = Color3.fromRGB(255, 255, 255)
skybox.TextScaled = true
skybox.TextSize = 14.000
skybox.TextWrapped = true
music.Name = "music"
music.Parent = Frame
music.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
music.BorderColor3 = Color3.fromRGB(255, 0, 0)
music.BorderSizePixel = 3
music.Position = UDim2.new(0.331939369, 0, 0.162251651, 0)
music.Size = UDim2.new(0, 156, 0, 49)
music.Font = Enum.Font.SourceSans
music.Text = "music"
music.TextColor3 = Color3.fromRGB(255, 255, 255)
music.TextScaled = true
music.TextSize = 14.000
music.TextWrapped = true
particle.Name = "particle"
particle.Parent = Frame
particle.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
particle.BorderColor3 = Color3.fromRGB(255, 0, 0)
particle.BorderSizePixel = 3
particle.Position = UDim2.new(0.666010916, 0, 0.162251651, 0)
particle.Size = UDim2.new(0, 156, 0, 49)
particle.Font = Enum.Font.SourceSans
particle.Text = "particles"
particle.TextColor3 = Color3.fromRGB(255, 255, 255)
particle.TextScaled = true
particle.TextSize = 14.000
particle.TextWrapped = true
disco.Name = "disco"
disco.Parent = Frame
disco.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
disco.BorderColor3 = Color3.fromRGB(255, 0, 0)
disco.BorderSizePixel = 3
disco.Position = UDim2.new(0, 0, 0.327814579, 0)
disco.Size = UDim2.new(0, 155, 0, 43)
disco.Font = Enum.Font.SourceSans
disco.Text = "disco"
disco.TextColor3 = Color3.fromRGB(255, 255, 255)
disco.TextScaled = true
disco.TextSize = 14.000
disco.TextWrapped = true
message.Name = "message"
message.Parent = Frame
message.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
message.BorderColor3 = Color3.fromRGB(255, 0, 0)
message.BorderSizePixel = 3
message.Position = UDim2.new(0.330490381, 0, 0.327814579, 0)
message.Size = UDim2.new(0, 153, 0, 43)
message.Font = Enum.Font.SourceSans
message.Text = "hint message"
message.TextColor3 = Color3.fromRGB(255, 255, 255)
message.TextScaled = true
message.TextSize = 14.000
message.TextWrapped = true
ImageLabel.Parent = Frame
ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5)
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.BorderSizePixel = 0
ImageLabel.Position = UDim2.new(0.949803591, 0, 0.0922175497, 0)
ImageLabel.Size = UDim2.new(0, 60, 0, 57)
ImageLabel.ZIndex = 69
ImageLabel.Image = "rbxassetid://158118263"
decal.Name = "decal"
decal.Parent = Frame
decal.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
decal.BorderColor3 = Color3.fromRGB(255, 0, 0)
decal.BorderSizePixel = 3
decal.Position = UDim2.new(0.665245175, 0, 0.327814579, 0)
decal.Size = UDim2.new(0, 156, 0, 43)
decal.Font = Enum.Font.SourceSans
decal.Text = "decal spam"
decal.TextColor3 = Color3.fromRGB(255, 255, 255)
decal.TextScaled = true
decal.TextSize = 14.000
decal.TextWrapped = true
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.Position = UDim2.new(0.00213219621, 0, 0.88410598, 0)
TextLabel_2.Size = UDim2.new(0, 468, 0, 35)
TextLabel_2.Font = Enum.Font.SourceSans
TextLabel_2.Text = "totally not skidded - by epicdude and lordmuhamed"
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.TextScaled = true
TextLabel_2.TextSize = 14.000
TextLabel_2.TextWrapped = true
sp.Name = "sp"
sp.Parent = Frame
sp.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
sp.BorderColor3 = Color3.fromRGB(255, 0, 0)
sp.BorderSizePixel = 3
sp.Position = UDim2.new(0, 0, 0.470198661, 0)
sp.Size = UDim2.new(0, 155, 0, 43)
sp.Font = Enum.Font.SourceSans
sp.Text = "g00byd0lan"
sp.TextColor3 = Color3.fromRGB(255, 255, 255)
sp.TextScaled = true
sp.TextSize = 14.000
sp.TextWrapped = true
ImageLabel_2.Parent = Frame
ImageLabel_2.AnchorPoint = Vector2.new(0.5, 0.5)
ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel_2.BackgroundTransparency = 1.000
ImageLabel_2.BorderSizePixel = 0
ImageLabel_2.Position = UDim2.new(0.500244141, 0, 0.5002895, 0)
ImageLabel_2.Size = UDim2.new(0, 466, 0, 301)
ImageLabel_2.ZIndex = 0
ImageLabel_2.Image = "rbxassetid://8770945903"
grab.Name = "grab"
grab.Parent = Frame
grab.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
grab.BorderColor3 = Color3.fromRGB(255, 0, 0)
grab.BorderSizePixel = 3
grab.Position = UDim2.new(0.334754795, 0, 0.470198661, 0)
grab.Size = UDim2.new(0, 154, 0, 43)
grab.Font = Enum.Font.SourceSans
grab.Text = "grab v2"
grab.TextColor3 = Color3.fromRGB(255, 255, 255)
grab.TextScaled = true
grab.TextSize = 14.000
grab.TextWrapped = true
devuzi.Name = "devuzi"
devuzi.Parent = Frame
devuzi.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
devuzi.BorderColor3 = Color3.fromRGB(255, 0, 0)
devuzi.BorderSizePixel = 3
devuzi.Position = UDim2.new(0.667377353, 0, 0.470198661, 0)
devuzi.Size = UDim2.new(0, 154, 0, 43)
devuzi.Font = Enum.Font.SourceSans
devuzi.Text = "devuzi"
devuzi.TextColor3 = Color3.fromRGB(255, 255, 255)
devuzi.TextScaled = true
devuzi.TextSize = 14.000
devuzi.TextWrapped = true
-- Scripts:
local function WMGYTBT_fake_script() -- skybox.sky
local script = Instance.new('Script', skybox)
script.Parent.MouseButton1Click:Connect(function()
local sky = Instance.new("Sky", game.Lighting)
sky.SkyboxBk = "http://www.roblox.com/asset/?id=14452767233"
sky.SkyboxFt = "http://www.roblox.com/asset/?id=14452767233"
sky.SkyboxLf = "http://www.roblox.com/asset/?id=14452767233"
sky.SkyboxRt = "http://www.roblox.com/asset/?id=14452767233"
sky.SkyboxUp = "http://www.roblox.com/asset/?id=14452767233"
sky.SkyboxDn = "http://www.roblox.com/asset/?id=14452767233"
end)
end
coroutine.wrap(WMGYTBT_fake_script)()
local function GYGLUI_fake_script() -- music.mus
local script = Instance.new('Script', music)
script.Parent.MouseButton1Click:Connect(function()
local music2 = Instance.new("Sound", game.Workspace)
music2.Name = "TROLOLOLPATRICK"
music2.SoundId = "rbxassetid://160906322"
music2.Volume = 2
music2:Play()
wait(8)
music2.Volume = 1
local music = Instance.new("Sound", game.Workspace)
music.Name = "TROLOLOLSPONGE"
music.SoundId = "rbxassetid://6941762944"
music.Volume = 1.6
music:Play()
local music3 = Instance.new("Sound", game.Workspace)
music3.Name = "TROLOLOLSHREK"
music3.SoundId = "rbxassetid://446864992"
music3.Volume = 1.5
music3:Play()
wait(3)
music2:Destroy()
local music4 = Instance.new("Sound", game.Workspace)
music4.Name = "TROLOLOLPIZZA"
music4.SoundId = "rbxassetid://7472683992"
music4.Volume = 2.8
music4:Play()
wait(60)
local music4 = Instance.new("Sound", game.Workspace)
music4.Name = "TROLOLOLPIZZA"
music4.SoundId = "rbxassetid://672731096"
music4.Volume = 1.5
music4:Play()
end)
end
coroutine.wrap(GYGLUI_fake_script)()
local function EVLIKZ_fake_script() -- particle.part
local script = Instance.new('Script', particle)
script.Parent.MouseButton1Click:Connect(function()
t1 = "http://www.roblox.com/asset/?id=223238256"
t2 = "http://www.roblox.com/asset/?id=201788175"
t3 = "http://www.roblox.com/asset/?id=261113277"
local p = game.Players:GetChildren()
local w = game.Workspace:GetChildren()
for i,v in pairs(p) do
pe = Instance.new("ParticleEmitter", v.Character.Torso)
pe.Texture = t3
pe.VelocitySpread = 100
end
for i= 1,#w do
if w[i]:isA("BasePart") then
pe = Instance.new("ParticleEmitter", w[i])
pe.Texture = t3
pe.VelocitySpread = 5
end
end
end)
end
coroutine.wrap(EVLIKZ_fake_script)()
local function LTGQME_fake_script() -- disco.discoo
local script = Instance.new('Script', disco)
script.Parent.MouseButton1Click:Connect(function()
while true do
game.Lighting.Ambient = Color3.new(math.random(), math.random(), math.random())
wait(.25)
end
local basics = {Color3.new(255/255,0/255,0/255),Color3.new(255/255,85/255,0/255),Color3.new(218/255,218/255,0/255),Color3.new(0/255,190/255,0/255),Color3.new(0/255,85/255,255/255),Color3.new(0/255,0/255,127/255),Color3.new(170/255,0/255,255/255),Color3.new(0/255,204/255,204/255),Color3.new(255/255,85/255,127/255),Color3.new(0/255,0/255,0/255),Color3.new(255/255,255/255,255/255)}
game.Lighting.FogStart = 25
game.Lighting.FogEnd = 300
while true do
wait(0.5)
game.Lighting.FogColor = basics[math.random(1,#basics)]
end
end)
end
coroutine.wrap(LTGQME_fake_script)()
local function YDRVB_fake_script() -- Frame.drag
local script = Instance.new('LocalScript', Frame)
script.Parent.Draggable = true
end
coroutine.wrap(YDRVB_fake_script)()
local function UFJBX_fake_script() -- message.mess
local script = Instance.new('Script', message)
script.Parent.MouseButton1Click:Connect(function()
local m = Instance.new("Hint", game.Workspace)
m.Text = "team ep1ckidd, join today! w SHOUTOUT TO ROBLOX MEMES WE R EPIC MEMERZ"
end)
end
coroutine.wrap(UFJBX_fake_script)()
local function LPBUHE_fake_script() -- decal.sky
local script = Instance.new('Script', decal)
script.Parent.MouseButton1Click:Connect(function()
function exPro(root)
for _, v in pairs(root:GetChildren()) do
if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=14452767233" then
v.Parent = nil
elseif v:IsA("BasePart") then
v.Material = "Plastic"
v.Transparency = 0
local One = Instance.new("Decal", v)
local Two = Instance.new("Decal", v)
local Three = Instance.new("Decal", v)
local Four = Instance.new("Decal", v)
local Five = Instance.new("Decal", v)
local Six = Instance.new("Decal", v)
One.Texture = "http://www.roblox.com/asset/?id=14452767233"
Two.Texture = "http://www.roblox.com/asset/?id=14452767233"
Three.Texture = "http://www.roblox.com/asset/?id=14452767233"
Four.Texture = "http://www.roblox.com/asset/?id=14452767233"
Five.Texture = "http://www.roblox.com/asset/?id=14452767233"
Six.Texture = "http://www.roblox.com/asset/?id=14452767233"
One.Face = "Front"
Two.Face = "Back"
Three.Face = "Right"
Four.Face = "Left"
Five.Face = "Top"
Six.Face = "Bottom"
end
exPro(v)
end
end
function asdf(root)
for _, v in pairs(root:GetChildren()) do
asdf(v)
end
end
exPro(game.Workspace)
asdf(game.Workspace)
end)
end
coroutine.wrap(LPBUHE_fake_script)()
local function HODK_fake_script() -- sp.sponac
local script = Instance.new('LocalScript', sp)
script.Parent.MouseButton1Click:Connect(function()
local music = Instance.new("Sound", game.Workspace)
music.Name = "spon"
music.SoundId = "rbxassetid://1839246711"
music.Volume = 2
music:Play()
for _,v in ipairs(game.Workspace:GetDescendants()) do
if v:IsA("Part") then
e = Instance.new("Decal",v)
e.Face = "Bottom"
e.Texture="rbxassetid://14825903545"
e = Instance.new("Decal",v)
e.Face = "Back"
e.Texture="rbxassetid://14825903545"
e = Instance.new("Decal",v)
e.Face = "Top"
e.Texture="rbxassetid://14825903545"
e = Instance.new("Decal",v)
e.Face = "Left"
e.Texture="rbxassetid://14825903545"
e = Instance.new("Decal",v)
e.Face = "Right"
e.Texture="rbxassetid://14825903545"
e = Instance.new("Decal",v)
e.Face = "Front"
e.Texture="rbxassetid://14825903545"
end
end
wait(3.2)
music:Destroy()
game.Lighting.Ambient=Color3.fromRGB(248, 255, 101)
script["Roblox University PIZZA!"].e:Clone().Parent = workspace
script["Roblox University PIZZA!"]:Clone().Parent = game.Players.LocalPlayer.Backpack
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 269
game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1
game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1
for _,lleg in ipairs(game.Players.LocalPlayer.Character["Left Leg"]:GetChildren()) do
lleg:destroy()
end
for _,rleg in ipairs(game.Players.LocalPlayer.Character["Right Leg"]:GetChildren()) do
rleg:destroy()
end
game.Players.LocalPlayer.Character["Left Leg"].Size = Vector3.new(1, 50, 1)
game.Players.LocalPlayer.Character["Right Leg"].Size = Vector3.new(1, 50, 1)
end)
end
coroutine.wrap(HODK_fake_script)()
local function XSLK_fake_script() -- grab.LocalScript
local script = Instance.new('LocalScript', grab)
script.Parent.MouseButton1Click:Connect(function()
wait()
me = game.Players.LocalPlayer
char = me.Character
selected = false
attacking = false
hurt = false
grabbed = nil
mode = "kill"
bloodcolors = {"Bright red", "Really red", "Crimson"}
enabled = true
enabled2 = true
local breaksound = Instance.new("Sound")
breaksound.SoundId = "http://www.roblox.com/asset/?id=2801263"
breaksound.Parent = game.Workspace
breaksound.Volume = 0.8
local killsound = Instance.new("Sound")
killsound.SoundId = "http://www.roblox.com/asset?id=16950449"
killsound.Pitch = 0.65
killsound.Parent = game.Workspace
local drainsound = Instance.new("Sound")
drainsound.SoundId = "http://www.roblox.com/asset/?id=2785493"
drainsound.Pitch = 0.7
function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
part.Parent = parent
part.formFactor = form
part.CanCollide = collide
part.Transparency = tran
part.Reflectance = ref
part.Size = Vector3.new(x,y,z)
part.BrickColor = BrickColor.new(color)
part.TopSurface = 0
part.BottomSurface = 0
part.Anchored = anchor
part.Locked = true
part:BreakJoints()
end
function weld(w, p, p1, a, b, c, x, y, z)
w.Parent = p
w.Part0 = p
w.Part1 = p1
w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
end
function mesh(mesh, parent, x, y, z, type)
mesh.Parent = parent
mesh.Scale = Vector3.new(x, y, z)
mesh.MeshType = type
end
function remgui()
for _,v in pairs(me.PlayerGui:GetChildren()) do
if v.Name == "Modeshow" then
v:remove()
end
end
end
function inform(text,delay)
remgui()
local sc = Instance.new("ScreenGui")
sc.Parent = me.PlayerGui
sc.Name = "Modeshow"
local bak = Instance.new("Frame",sc)
bak.BackgroundColor3 = Color3.new(1,1,1)
bak.Size = UDim2.new(0.94,0,0.1,0)
bak.Position = UDim2.new(0.03,0,0.037,0)
bak.BorderSizePixel = 0
local gi = Instance.new("TextLabel",sc)
gi.Size = UDim2.new(0.92,0,0.09,0)
gi.BackgroundColor3 = Color3.new(0,0,0)
gi.Position = UDim2.new(0.04,0,0.042,0)
gi.TextColor3 = Color3.new(1,1,1)
gi.FontSize = "Size14"
gi.Text = text
coroutine.resume(coroutine.create(function()
wait(delay)
sc:remove()
end))
end
if char:findFirstChild("Bricks",true) then
char:findFirstChild("Bricks",true):remove()
end
bricks = Instance.new("Model",me.Character)
bricks.Name = "Bricks"
--Parts and shit
rarm = char:findFirstChild("Right Arm")
larm = char:findFirstChild("Left Arm")
lleg = char:findFirstChild("Left Leg")
torso = char:findFirstChild("Torso")
hum = char:findFirstChild("Humanoid")
rleg = char:findFirstChild("Right Leg")
righthold = Instance.new("Part")
prop(righthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "Black", false, "Custom")
w11 = Instance.new("Weld")
weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0)
lefthold = Instance.new("Part")
prop(lefthold, bricks, false, 1, 0, 0.1, 0.1, 0.1, "Black", false, "Custom")
w12 = Instance.new("Weld")
weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0)
hold = Instance.new("Part")
prop(hold, bricks, false, 0, 0, 0.2, 0.3, 0.3, "Black", false, "Custom")
oh = Instance.new("Weld")
weld(oh, torso, hold, -math.pi/-0.86, 1.5, math.rad(0), -0.35, -0.4, -0.5)
knife = Instance.new("Part")
knife.Material = "Marble"
prop(knife, bricks, false, 0, 0, 0.25, 1.1, 0.3, "Black", false, "Custom")
orr = Instance.new("Weld")
weld(orr, hold, knife, 0, 0, 0, 0, 0.7, 0)
ar = Instance.new("Weld")
weld(ar, lefthold, nil, math.pi/2, 0, math.pi, 0, 0, 0)
blade = Instance.new("Part")
blade.Material = "Neon"
prop(blade, bricks, false, 0, 0, 0.1, 2.5, 0.25, "Institutional white", false, "Custom")
Instance.new("BlockMesh",blade).Scale = Vector3.new(0.3,1,1)
w2 = Instance.new("Weld")
weld(w2, knife, blade, 0, 0, 0, 0, -0.65, 0)
blade2 = Instance.new("Part")
blade2.Material = "Neon"
prop(blade2, bricks, false, 0, 0, 0.1, 0.4, 0.25, "Institutional white", false, "Custom")
local mew = Instance.new("SpecialMesh",blade2)
mew.MeshType = "Wedge"
mew.Scale = Vector3.new(0.3,1,1)
w3 = Instance.new("Weld")
weld(w3, blade, blade2, 0, 0, 0, 0, -1.45, 0)
rb = Instance.new("Part")
prop(rb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "Bright red", false, "Custom")
w13 = Instance.new("Weld")
weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0)
lb = Instance.new("Part")
prop(lb, bricks, false, 1, 0, 0.1, 0.1, 0.1, "Bright red", false, "Custom")
w14 = Instance.new("Weld")
weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0)
rw = Instance.new("Weld")
weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0)
lw = Instance.new("Weld")
weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0)
grabweld = nil
platlol = nil
lolhum = nil
function touch(h)
if hurt then
if grabbed == nil then
local hu = h.Parent:findFirstChild("Humanoid")
local head = h.Parent:findFirstChild("Head")
local torz = h.Parent:findFirstChild("Torso")
if hu ~= nil and head ~= nil and torz ~= nil and h.Parent.Name ~= name then
if hu.Health > 0 then
grabbed = torz
hu.PlatformStand = true
local w = Instance.new("Weld")
weld(w,righthold,grabbed,math.pi/2,0.2,0,0.7,-0.9,-0.6)
grabweld = w
lolhum = hu
local lolxd = true
platlol = lolxd
hu.Changed:connect(function(prop)
if prop == "PlatformStand" and platlol then
hu.PlatformStand = true
end
end)
end
end
end
end
end
righthold.Touched:connect(touch)
lefthold.Touched:connect(touch)
function bleed(part,po)
local lol1 = math.random(5,30)/100
local lol2 = math.random(5,30)/100
local lol3 = math.random(5,30)/100
local lol4 = math.random(1,#bloodcolors)
local p = Instance.new("Part")
prop(p,part.Parent,false,0,0,lol1,lol2,lol3,bloodcolors[lol4],false,"Custom")
p.CFrame = part.CFrame * CFrame.new(math.random(-5,5)/10,po,math.random(-5,5)/10)
p.Velocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
p.RotVelocity = Vector3.new(math.random(-400,400)/10,math.random(-400,400)/10,math.random(-400,400)/10)
p.CanCollide = true
coroutine.resume(coroutine.create(function()
wait(3)
p:remove()
end))
end
h = Instance.new("HopperBin",me.Backpack)
h.Name = "Grab"
script.Parent = h
bin = h
function select(mouse)
orr.Part1 = nil
ar.Part1 = knife
mouse.Button1Down:connect(function()
if attacking == false then
attacking = true
lw.Part1 = larm
rw.Part1 = rarm
hurt = true
for i=1, 8 do
rw.C0 = rw.C0 * CFrame.new(-0.03,0,-0.08) * CFrame.fromEulerAnglesXYZ(0.18,0.04,0)
lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
wait()
end
wait(1)
hurt = false
if grabbed == nil then
for i=1, 4 do
rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
wait()
end
lw.C0 = CFrame.new(0,0,0)
rw.C0 = CFrame.new(0,0,0)
lw.Part1 = nil
rw.Part1 = nil
attacking = false
end
elseif hurt == false and grabbed ~= nil and mode == "drop" then
enabled2 = true
grabweld:remove()
grabweld = nil
platlol = false
grabbed = nil
lolhum.PlatformStand = false
lolhum = nil
for i=1, 4 do
rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
wait()
end
lw.C0 = CFrame.new(0,0,0)
rw.C0 = CFrame.new(0,0,0)
lw.Part1 = nil
rw.Part1 = nil
attacking = false
platlol = nil
elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "para" and enabled2 == true then
enabled2 = false
enabled = false
breaksound.Parent = grabbed
breaksound:Play()
for i=1, 5 do
lw.C0 = lw.C0 * CFrame.new(0.02,0.15,-0.02) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
wait()
end
local duh = grabbed
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
bleed(duh,1)
wait(0.12)
for i=1, 5 do
lw.C0 = lw.C0 * CFrame.new(-0.02,-0.15,0.02) * CFrame.fromEulerAnglesXYZ(0.05,-0,0.03)
wait()
end
if grabbed.Parent:findFirstChild("HumanoidRootPart",true) then
grabbed.Parent.HumanoidRootPart:Remove()
end
grabbed.Parent.Humanoid.Health = grabbed.Parent.Humanoid.Health / 1.5
elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "drain" and enabled == true then
enabled = false
enabled2 = true
for i=1, 2 do
lw.C0 = lw.C0 * CFrame.new(0.06,0,-0.06) * CFrame.fromEulerAnglesXYZ(0.15,-0.11,-0.05)
wait()
end
while char.Humanoid.Health == char.Humanoid.MaxHealth do
bleed(grabbed, 1)
char.Humanoid.Health = char.Humanoid.Health + 1
grabbed.Parent.Humanoid.Health = grabbed.Parent.Humanoid.Health - 1
wait(0.0335)
end
for i=1, 1 do
lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
wait()
end
enabled = true
elseif hurt == false and grabbed ~= nil and grabweld ~= nil and mode == "throw" then
enabled2 = true
grabweld:remove()
grabweld = nil
local bf = Instance.new("BodyForce",grabbed)
bf.force = torso.CFrame.lookVector * 4000
bf.force = bf.force + Vector3.new(0,1500,0)
coroutine.resume(coroutine.create(function()
wait(0.12)
bf:remove()
end))
for i=1, 6 do
rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.35,0,0)
lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.18,0,0)
wait()
end
for i=1, 4 do
rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.47,0,0)
lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
wait()
end
wait(0.2)
platlol = false
grabbed = nil
lolhum.PlatformStand = false
lolhum = nil
for i=1, 4 do
rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.3,0.2,0)
wait()
end
lw.C0 = CFrame.new(0,0,0)
rw.C0 = CFrame.new(0,0,0)
lw.Part1 = nil
rw.Part1 = nil
attacking = false
platlol = nil
elseif hurt == false and grabbed ~= nil and lolhum ~= nil and grabweld ~= nil and mode == "kill" then
enabled2 = true
killsound.Parent = grabbed
killsound:Play()
for i=1, 5 do
lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
wait()
end
local ne = grabbed:findFirstChild("Neck")
coroutine.resume(coroutine.create(function()
local duh = grabbed
local duh2 = grabbed.Parent.Head
local lolas = lolhum
duh.RotVelocity = Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
for i=1, 75 do
wait()
local hm = math.random(1,15)
pcall(function()
if hm == 1 then
duh2.Sound.Pitch = math.random(90,110)/100
duh2.Sound:play()
script.Parent.Splat:Play();
end
end)
if hm > 0 and hm < 4 then bleed(duh,1) bleed(duh2,-0.1) bleed(duh,1) bleed(duh2,-0.1) bleed(duh,1) bleed(duh,1) bleed(duh,1) end end wait(1.2) lolas.Health = 0 for i=1, 85 do wait() local hm = math.random(1,9) pcall(function() if hm == 1 then duh2.Sound.Pitch = math.random(90,110)/100 duh2.Sound:play() end end) if hm > 0 and hm < 3 then
bleed(duh,1)
bleed(duh2,-0.5)
end
end
end))
for i=1, 3 do
lw.C0 = lw.C0 * CFrame.new(0.02,0.12,0.1) * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.03)
if ne ~= nil then
grabbed.Neck.C0 = grabbed.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
end
wait()
end
grabweld:remove()
grabweld = nil
for i=1, 4 do
lw.C0 = lw.C0 * CFrame.new(-0.04,-0.24,-0.2) * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
wait()
end
for i=1, 4 do
rw.C0 = rw.C0 * CFrame.new(0.06,0,0.16) * CFrame.fromEulerAnglesXYZ(-0.36,-0.08,0)
lw.C0 = lw.C0 * CFrame.new(-0.12,0,0.12) * CFrame.fromEulerAnglesXYZ(-0.3,0.22,0.05)
wait()
end
lw.C0 = CFrame.new(0,0,0)
rw.C0 = CFrame.new(0,0,0)
lw.Part1 = nil
rw.Part1 = nil
platlol = false
grabbed = nil
lolhum = nil
attacking = false
platlol = nil
end
end)
mouse.KeyDown:connect(function(kai)
key = kai:lower()
if key == "q" then
mode = "drop"
inform("Release",1)
elseif key == "e" then
mode = "throw"
inform("Push",1)
elseif key == "f" then
mode = "kill"
inform("Kill",1)
elseif key == "c" then
mode = "para"
inform("Paralyze",1)
elseif key == "x" then
mode = "drain"
inform("Drain",1)
end
end)
end
function desel()
repeat wait() until attacking == false
orr.Part1 = knife
ar.Part1 = nil
end
bin.Selected:connect(select)
bin.Deselected:connect(desel)
char.Humanoid.Died:connect(function()
pcall(function()
grabweld:remove()
grabweld = nil
grabbed = nil
platlol = false
platlol = nil
end)
end)
inform("Grab Knife 2 script loaded (okay there i released it calm the fuck down)",3)
end)
end
coroutine.wrap(XSLK_fake_script)()
local function UFBDFUM_fake_script() -- devuzi.dev
local script = Instance.new('LocalScript', devuzi)
script.Parent.MouseButton1Click:Connect(function()
wait(0.001);
--------------------------------------------------------------------------------------
_clear=function()
local c={char;bag;gui;};
for i=1,#c do
local c=c[i]:children();
for i=1,#c do
if(c[i].Name==name)then
c[i].Parent=nil;
end;
end;
end;
local n=name..user.Name;
local c=workspace:children();
for i=1,#c do
if(c[i].Name==n)then
c[i].Parent=nil;
end;
end;
end;
_valid_key=function(object,key)
return object[key],key;
end;
_new=function(class)
return function(props)
if(type(list_base_props)=='table')then
for i,v in next,list_base_props do
if(props[i]==nil)then
props[i]=v;
end;
end;
end;
local object=class;
if(type(class)=='string')then
object=Instance.new(class:sub(1,1):upper()..class:sub(2));
end;
local parent=props[1];
props[1]=nil;
for i,v in next,props do
local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
if(not load)then
load,res,key=pcall(_valid_key,object,i);
end;
if(key)then
t=type(res);
s=tostring(res);
if(t=='userdata'and s=='Signal '..key)then
if(type(v)=='table')then
for i=1,#v do
res:connect(v[i]);
end;
else
res:connect(v);
end;
else
object[key]=v;
end;
end;
end;
if(parent)then
object.Parent=parent;
end;
return object;
end;
end;
_RGB=function(r,g,b)
return Color3.new(r/255,g/255,b/255);
end;
_copy=function(o)
local def=o.archivable;
o.archivable=true;
local c=o:clone();
o.archivable=def;
return c;
end;
_hum=function(char)
local hum=char:findFirstChild'Humanoid';
if(not hum or hum.className~='Humanoid')then
local c=char:children();
for i=1,#c do
if(c[i].className=='Humanoid')then
return c[i];
end;
end;
else
return hum;
end;
end;
_hum_tag=function(hum)
local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
c.Name='creator';
c.Value=user;
if(hum.Health==0 and not hum:findFirstChild'killed')then
Instance.new('BoolValue',hum).Name='killed';
bullets.clip=bullets.clip+10;
end;
end;
_hum_dam=function(hum,dam,percent)
hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
if(hum.Health<=hum.MaxHealth*0.1)then _hum_tag(hum); end; end; _ray=function(v0,v1,i) local mag=(v0-v1).magnitude; local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
end;
_must=function(v0,v1,i)
local hit,pos=_ray(v0,v1,i);
return not hit and mouse.target or hit,pos;
end;
_cframe=function(x,y,z,r0,r1,r2)
return CFrame.Angles(
math.rad(r0 or 0),
math.rad(r1 or 0),
math.rad(r2 or 0)
)*CFrame.new(x,y,z);
end;
_update=function()
if(bool_active and not screen.Parent)then
screen.Parent=gui;
elseif(not bool_active and screen.Parent)then
screen.Parent=nil;
end;
end;
_light=function(v0,v1)
local mag=(v0-v1).magnitude;
local len=math.random(2,7);
len=len>mag/2 and mag/2 or len;
local light=_new'part'{
cFrame=CFrame.new(v0,v1);
size=Vector3.new(1,1,1);
color=_RGB(255,255,0);
anchored=true;
inv;
};
_new'blockMesh'{
scale=Vector3.new(0.2,0.2,len);
offset=Vector3.new(0,0,-len/2);
light;
};
local bb=_new'billboardGui'{
size=UDim2.new(2,0,2,0);
adornee=light;
light;
};
_new'imageLabel'{
image=url:format(109101526);
backgroundTransparency=1;
size=UDim2.new(1,0,1,0);
bb;
};
_rem(light,0.15);
end;
_rem=function(object,del)
if(del)then
delay(del,function()
if(object.Parent)then
object.Parent=nil;
end;
end);
else
pcall(function()
if(object.Parent)then
object.Parent=nil;
end;
end);
end;
end;
_blood=function(pos,count)
for i=1,count do
local p=_new'part'{
rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
position=pos+Vector3.new(math.random(),math.random(),math.random());
velocity=Vector3.new(math.random(),math.random(),math.random())*50;
size=Vector3.new(math.random(),math.random(),math.random())/3;
color=_RGB(255,0,0);
transparency=0.5;
canCollide=true;
bottomSurface=0;
topSurface=0;
formFactor=3;
locked=true;
inv;
};
delay(5,function()
p.Parent=nil;
end);
end;
end;
_make_hue=function()
h_hue=_new'part'{
size=Vector3.new(0.25,1.8,0.35);
color=_RGB(100,100,100);
formFactor=3;
name='hue';
handle;
};
hh_weld=_new'weld'{
c1=_cframe(0,0.5,0);
part0=handle;
part1=h_hue;
handle;
};
end;
_shot=function(v0,v1)
if(not time_left)then
time_left=0;
end;
if(time_left>time())then
return nil;
else
time_left=time()+math.random(1,10)/100;
end;
if(bullets.current<1)then local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{ soundId='rbxasset://sounds/SWITCH3.wav'; name='tick_sound'; volume=0.2; pitch=2; head; }; tick_sound:play(); if(bullets.clip>0)then
time_left=time()+2;
h_hue:breakJoints();
h_hue.CanCollide=true;
h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
_rem(h_hue,10);
delay(1.9,function()
_make_hue();
local got=(bullets.clip>bullets.maximum and
bullets.maximum or
bullets.clip)-bullets.current;
bullets.clip=bullets.clip-got;
bullets.current=bullets.current+got;
end);
end;
return nil;
else
bullets.current=bullets.current-1;
h_weld.C1=_cframe(0,0.75,0,
-math.random(1000,1100)/10,180,0);
d_weld.C1=_cframe(0,-0.25,0.3);
lightstuff.Visible=true;
delay(0.1,function()
lightstuff.Visible=false;
end);
_rem(_new'part'{
velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
size=Vector3.new(0.1,0.1,0.4);
color=_RGB(200,200,0);
material='Slate';
canCollide=true;
formFactor=3;
inv;
},5);
delay(0.1,function()
d_weld.C1=_cframe(0,-0.25,0);
if(bool_active)then
h_weld.C1=h_weld_cf_active;
end;
end)
end;
local hit,pos=_must(v0,v1,char);
shot_sound:play();
_light(v0,v1);
if(not hit)then return nil;end;
if(hit.Parent.className=='Hat')then
hit:breakJoints();
hit.CanCollide=true;
hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
else
local hum=_hum(hit.Parent);
if(not hum)then
if(hit.Anchored==false and hit.Size.magnitude<4)then hit:breakJoints(); hit.CanCollide=true; end; else _hum_dam(hum,math.random(4,6)); _blood(pos,math.random(3,6)); hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6; if(hit.Name=='Head')then hum.Health=0; _blood(pos,math.random(3,6)); delay(0.001,function() _new(workspace:FindFirstChild'head_shot'or'sound'){ pitch=math.random(70,100)*0.01; soundId=url:format(1876552); name='head_shot'; workspace; }:play(); end); _hum_tag(hum); _rem(_new'part'{ cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5); size=Vector3.new(0.1,0.1,(v0-pos).magnitude); color=torso.Color; transparency=0.5; canCollide=false; bottomSurface=0; anchored=true; formFactor=3; topSurface=0; inv; },30); hit.Parent=nil; for b=0,1 do for a=0,1 do for i=0,1 do _rem(_new'part'{ velocity=CFrame.new(v0,pos).lookVector*20; cFrame=hit.CFrame*CFrame.new(i,-b,a); size=Vector3.new(0.5,0.5,0.5); color=_RGB(255,255,255); bottomSurface=0; canCollide=true; transparency=0; formFactor=3; topSurface=0; hum; },30); end; end; end; end; end; end; end; ---------------------------------------------------------------------------------------- _cf_select=function(mouse) mouse.Icon=url:format(109111387);--108999296 bool_active=true; local arm=char:findFirstChild'Right Arm'; local weld=torso:findFirstChild'Right Shoulder'; if(arm and weld)then h_weld.Part0=arm; h_weld.C1=h_weld_cf_active; weld.Part1=nil; weld.Part0=nil; weld=_new(torso:findFirstChild'right_arml'or'weld'){ name='right_arml'; part0=torso; part1=arm; torso; }; arml=(arml or 0)+1; local alv=arml; local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso); gyro.maxTorque=Vector3.new(5e5,5e5,5e5); gyro.P=30000; gyro.D=1000; gyro.Name='p_gyro'; repeat local pos=mouse.hit.p; local val,valp,p0,p1,p2,hitpos,cj,c0,c1; val=-math.pi*0.5; valp=val*-1; p0=torso.CFrame; p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector; p1=p0+((p0.p-pos).unit*-2); p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0); hitpos=torso.Position; cj=CFrame.new(hitpos); c0=torso.CFrame:inverse()*cj; c1=p2:inverse()*cj; weld.C0=c0; weld.C1=c1; gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z)); wait(0.001); until arml~=alv; gyro.Parent=nil; end; end; _cf_deselect=function() bool_active=false; arml=(arml or 0)+1; loop_shot=(loop_shot or 0)+1; h_weld.Part0=torso; h_weld.C1=h_weld_cf_inactive; local weld=torso:findFirstChild'right_arml'; if(weld)then weld.Part1=nil; weld.Part0=nil; end; local arm=char:findFirstChild'Right Arm'; local weld=torso:findFirstChild'Right Shoulder'; if(arm and weld)then weld.Part0=torso; weld.Part1=arm; end; end; _cf_mouse=function(event,fun) mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...) if(bool_active)then fun(...); end; end); end; ---------------------------------------------------------------------------------------- do local main=getfenv(0); local c=game:children(); local check=function(v) if(v.className~=''and v.className~='Instance'and game:service(v.className))then main[v.className:sub(1,1):lower()..v.className:sub(2)]=v; end; end; for i=1,#c do pcall(check,c[i]); end; end; ---------------------------------------------------------------------------------------- bullets={ maximum=51111111111111111111111111110; current=511111111111111111111111111111110; clip=501111111111111111111111111111111*4; }; list_base_props={ backgroundColor3=_RGB(0,0,0); textColor3=_RGB(200,200,200); borderSizePixel=0; color=_RGB(0,0,0); archivable=false; canCollide=false; bottomSurface=0; topSurface=0; formFactor=0; locked=true; }; ---------------------------------------------------------------------------------------- user=players.localPlayer; mouse=user:getMouse(); char=user.Character; gui=user.PlayerGui; bag=user.Backpack; torso=char.Torso; head=char.Head; hum=_hum(char); url='rbxassetid://%d'; name='dev-uzi'; h_weld_cf_inactive=_cframe(0.35,0.5,0.5, 0,90,-70); h_weld_cf_active=_cframe(0,0.75,0, -110,180,0); assert(hum,'humanoid is not found'); ---------------------------------------------------------------------------------------- _clear(); ---------------------------------------------------------------------------------------- _cf_mouse('button1Down',function() loop_shot=(loop_shot or 0)+1; local vers=loop_shot; local step=runService.Stepped; repeat _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p); step:wait();--wait(0.001); until vers~=loop_shot; end); _cf_mouse('button1Up',function() loop_shot=(loop_shot or 0)+1; end); _cf_mouse('move',function() cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11); end); _cf_mouse('keyDown',function(k) if(k=='r')then if(bullets.clip>0 and time_left<=time())then local got=(bullets.clip>bullets.maximum and
bullets.maximum or
bullets.clip)-bullets.current;
bullets.clip=bullets.clip-got;
bullets.current=bullets.current+got;
if(got~=0)then
time_left=time()+2;
end;
end;
end;
end);
----------------------------------------------------------------------------------------
screen=_new'screenGui'{
name=name;
};
cross_f=_new'frame'{
size=UDim2.new(0,21,0,21);
backgroundTransparency=1;
screen;
};
for i=0,1 do
_new'frame'{
position=UDim2.new(0,13*i,0,11);
size=UDim2.new(0,10,0,1);
cross_f;
};
end;
for i=0,1 do
_new'frame'{
position=UDim2.new(0,11,0,13*i);
size=UDim2.new(0,1,0,10);
cross_f;
};
end;
----------------------------------------------------------------------------------------
shot_sound=_new(head:findFirstChild'2920959'or'sound'){
soundId=url:format(2920959);
pitch=1.4;
head;
};
if(shot_sound.Name~='2920959')then
shot_sound.Name='2920959';
shot_sound:play();
end;
bin=_new'hopperBin'{
deselected=_cf_deselect;
selected=_cf_select;
name=name;
bag;
};
inv=_new'model'{
name=name;
char;
};
handle=_new'part'{
size=Vector3.new(0.3,1.3,0.4);
color=_RGB(140,140,140);
name='handle';
formFactor=3;
inv;
touched=function(hit)
if(hit.Parent.className=='Model')then
local hum=_hum(hit.Parent);
if(hum~=nil)then
_hum_dam(hum,handle.Velocity.magnitude);
end;
end;
end;
};
h_weld=_new'weld'{
c1=h_weld_cf_inactive;
part1=handle;
part0=torso;
handle;
};
_make_hue();
h_part=_new'part'{
size=Vector3.new(0.4,0.4,1.4);
color=_RGB(140,140,140);
name='handle';
formFactor=3;
handle;
};
hp_weld=_new'weld'{
c1=_cframe(0,-1.3/2,-0.3,
20,0,0);
part0=handle;
part1=h_part;
handle;
};
drag=_new'part'{
size=Vector3.new(0.5,0.45,1.5);
color=_RGB(100,100,100);
name='handle';
formFactor=3;
handle;
};
d_weld=_new'weld'{
c1=_cframe(0,-0.25,0);
part0=h_part;
part1=drag;
handle;
};
tube=_new'part'{
size=Vector3.new(0.2,0.2,1.5);
color=_RGB(0,0,0);
name='handle';
formFactor=3;
handle;
};
t_weld=_new'weld'{
c1=_cframe(0,-0.3,-0.1);
part0=h_part;
part1=tube;
handle;
};
bullets_label=_new'textLabel'{
textStrokeColor3=_RGB(0,0,0);
textColor3=_RGB(200,200,200);
textStrokeTransparency=0;
backgroundTransparency=1;
fontSize=5;
screen;
};
lightstuff=_new'frame'{
backgroundColor3=_RGB(255,255,255);
position=UDim2.new(0,0,0,-1);
backgroundTransparency=0.5;
size=UDim2.new(1,0,1,1);
borderSizePixel=0;
visible=false;
screen;
};
coroutine.wrap(function()
local red,white,green;
repeat
if(screen.Parent)then
if(not green and bullets.current==bullets.maximum)then
green=true;
bullets_label.TextColor3=_RGB(0,200,0);
elseif(not red and bullets.current==0)then
red=true;
bullets_label.TextColor3=_RGB(200,0,0);
elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
bullets_label.TextColor3=_RGB(200,200,200);
green=false;
red=false;
end;
bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
end;
wait(0.001);
until nil;
end)();
----------------------------------------------------------------------------------------
_G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
local vers=_G.dev_pistol_version;
repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
if(hum.Health==0)then
_clear();
end;
script.Disabled=true;
--mediafire-----------------------------------------------------------------------------
end)
end
coroutine.wrap(UFBDFUM_fake_script)()


