Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players:WaitForChild("asbuff")
- repeat wait() until p.Character
- local c = p.Character
- local hide = true
- local tool = Instance.new("Tool",p.Backpack)
- tool.Name = "toggle show"
- tool.RequiresHandle = false
- tool.CanBeDropped = false
- tool.Activated:connect(function()
- hide = not hide
- end)
- function connect(a,b)
- local weld = Instance.new("Weld")
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = weld.Part0.CFrame:inverse() * weld.Part1.CFrame
- weld.Parent = a
- return weld
- end
- local musicf = Instance.new("Sound",c.Torso)
- musicf.Volume = 5
- musicf.SoundId = "rbxassetid://1901431885"
- musicf.EmitterSize = math.huge
- musicf.MaxDistance = math.huge
- local musicfb = Instance.new("Sound",c.Torso)
- musicfb.Volume = 7
- musicfb.SoundId = "http://www.roblox.com/asset/?id=25270310"
- musicfb.EmitterSize = math.huge
- musicfb.MaxDistance = math.huge
- local blind = Instance.new("ScreenGui")
- local pic = Instance.new("ImageLabel",blind)
- pic.Size = UDim2.new(1,0,1,0)
- pic.Image = "http://www.roblox.com/asset/?id=2101259456"
- pic.BorderSizePixel = 0
- pic.BackgroundColor3 = Color3.new(1,1,1)
- function flash(chr,plr)
- local music = Instance.new("Sound",chr.Head)
- music.TimePosition = 6
- music.Volume = .5
- music.SoundId = "rbxassetid://152736435"
- music.EmitterSize = 1
- music.MaxDistance = 1.6
- music.Playing = true
- game.Debris:AddItem(music,5)
- --[[local blind1 = blind:clone()
- if plr == p then
- blind1.ImageLabel.Transparency = .3
- game.Debris:AddItem(blind1,2)
- else
- game.Debris:AddItem(blind1,5)
- end
- blind1.Parent = plr.PlayerGui]]
- for i = 1,6 do
- if chr:FindFirstChild("Head") then
- local part = Instance.new("Part")
- local decalc = Instance.new("SurfaceGui",part)
- decalc.LightInfluence = 0
- local pic = Instance.new("ImageLabel",decalc)
- pic.Size = UDim2.new(1,0,1,0)
- pic.Image = "http://www.roblox.com/asset/?id=2101259456"
- pic.BorderSizePixel = 0
- pic.BackgroundColor3 = Color3.new(1,1,1)
- if i == 1 then
- part.Size = Vector3.new(2,2,.1)
- part.CFrame = chr.Head.CFrame * CFrame.new(0,0,1)
- decalc.Face = "Front"
- end
- if i == 2 then
- part.Size = Vector3.new(2,2,.1)
- part.CFrame = chr.Head.CFrame * CFrame.new(0,0,-1)
- decalc.Face = "Back"
- end
- if i == 3 then
- part.Size = Vector3.new(.1,2,2)
- part.CFrame = chr.Head.CFrame * CFrame.new(1,0,0)
- decalc.Face = "Left"
- end
- if i == 4 then
- part.Size = Vector3.new(.1,2,2)
- part.CFrame = chr.Head.CFrame * CFrame.new(-1,0,0)
- decalc.Face = "Right"
- end
- if i == 5 then
- part.Size = Vector3.new(2,.1,2)
- part.CFrame = chr.Head.CFrame * CFrame.new(0,1,0)
- decalc.Face = "Bottom"
- end
- if i == 6 then
- part.Size = Vector3.new(2,.1,2)
- part.CFrame = chr.Head.CFrame * CFrame.new(0,-1,0)
- decalc.Face = "Top"
- end
- part.Parent = workspace
- game.Debris:AddItem(part,5)
- connect(chr.Head,part)
- end
- end
- end
- local flashbang = Instance.new("Tool",p.Backpack)
- flashbang.Name = "FLASH"
- flashbang.RequiresHandle = false
- flashbang.CanBeDropped = false
- flashbang.Activated:connect(function()
- musicf:Play()
- repeat wait() until musicf.TimePosition > .9
- musicfb:Play()
- for i,v in next,game.Players:GetPlayers() do
- if v.Character and v~=p then
- if (v.Character.Head.Position-c.Torso.Position).magnitude < 40 then
- flash(v.Character,v)
- end
- end
- end
- end)
- local bb = Instance.new("BillboardGui",c.Head)
- bb.Size = UDim2.new(5,0,2,0)
- bb.StudsOffsetWorldSpace = Vector3.new(0,4,0)
- local bb2 = Instance.new("BillboardGui",c.Torso)
- bb2.Size = UDim2.new(10,0,10,0)
- bb2.StudsOffsetWorldSpace = Vector3.new(0,1,0)
- local image = Instance.new("ImageLabel",bb2)
- image.Image = "http://www.roblox.com/asset/?id=2101259456"
- image.BackgroundTransparency = 1
- image.Size = UDim2.new(1,0,1,0)
- local music = Instance.new("Sound",c.Torso)
- music.Volume = 1
- music.SoundId = "rbxassetid://2090461510"
- music.EmitterSize = math.huge
- music.MaxDistance = math.huge
- music.Playing = true
- music.Looped = true
- for i,v in next,c:GetChildren() do
- if v:IsA("Part") then
- v.Transparency = 1
- end
- if v.Name == "Head" then
- v.face:Destroy()
- end
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- c.Humanoid.Touched:connect(function(h)
- --[[if h.Parent:FindFirstChildOfClass("Humanoid") and then
- h.Parent:FindFirstChildOfClass("Humanoid"):Destroy()
- local newhuman = Instance.new("Humanoid",h.Parent)
- newhuman.Health = 0
- end]]
- end)
- local ff = Instance.new("ForceField",c)
- ff.Visible = false
- local oldhide = false
- spawn(function()
- while wait() do
- c.Humanoid.Health = math.huge
- c.Humanoid.MaxHealth = math.huge
- if hide~=oldhide then
- if hide == true then
- music.Playing = false
- music.TimePosition = 4
- bb.Enabled = false
- bb2.Enabled = false
- else
- music.Playing = true
- bb.Enabled = true
- bb2.Enabled = true
- end
- end
- oldhide = hide
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement