Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Suicide Bomb
- --// WXBZ was here kek.
- --// Vars
- local plrs = game:GetService"Players";
- local plr = plrs.LocalPlayer;
- local char = plr.Character;
- local sacrificing = false;
- char:FindFirstChild("Humanoid").WalkSpeed = 64;
- --// Instances
- local sake = Instance.new"Sound";
- sake.SoundId = "rbxassetid://410576259";
- sake.Volume = 3;
- sake.Parent = char.HumanoidRootPart;
- sake:Play();
- local akbar = Instance.new"Sound";
- akbar.SoundId = "rbxassetid://197054133";
- akbar.Volume = 15;
- akbar.Parent = char.HumanoidRootPart;
- local v = Instance.new"Part";
- v.BrickColor = BrickColor.new"Black";
- v.CFrame = char.HumanoidRootPart.CFrame;
- v.Size = Vector3.new(1.73, 1.52, 1.67);
- v.Anchored = true;
- v.CanCollide = false;
- v.Parent = char;
- local vm = Instance.new"SpecialMesh";
- vm.MeshId = "http://www.roblox.com/asset/?id=306149909";
- vm.Scale = Vector3.new(1.02, 1, 1);
- vm.Parent = v;
- local iweld = Instance.new"Weld";
- iweld.Part0 = char.HumanoidRootPart;
- iweld.Part1 = v;
- iweld.C0 = char.HumanoidRootPart.CFrame:inverse();
- iweld.C1 = v.CFrame:inverse();
- iweld.Parent = char;
- v.Anchored = false;
- --// Functions
- local function pointofnoreturn(hookobj)
- sacrificing = true;
- local function attach()
- while (true) do
- char.HumanoidRootPart.CFrame = hookobj.CFrame * CFrame.new(0, 0, 1);
- for _, i in pairs(hookobj.Parent:GetChildren()) do if (i:IsA("ForceField")) then i:Destroy(); end; end;
- wait();
- end;
- end;
- spawn(attach)
- akbar:Play();
- wait(3);
- local ex = Instance.new"Explosion";
- ex.Position = hookobj.Position;
- ex.Parent = hookobj;
- end;
- --// Events
- char.HumanoidRootPart.Touched:Connect(function(h)
- if (not h.Parent or h == nil or sacrificing) then return; end;
- if (plrs:FindFirstChild(h.Parent.Name) and h.Parent ~= char) then
- pointofnoreturn(h.Parent.HumanoidRootPart);
- elseif (h.Parent.Parent and plrs:FindFirstChild(h.Parent.Parent.Name) and h.Parent.Parent ~= char) then
- pointofnoreturn(h.Parent.Parent.HumanoidRootPart);
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement