Advertisement
Aeyao

B E UAE

Jul 22nd, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. local p = game.Players:WaitForChild("asbuff")
  2. repeat wait() until p.Character
  3. local c = p.Character
  4.  
  5. local hide = true
  6.  
  7. local tool = Instance.new("Tool",p.Backpack)
  8. tool.Name = "toggle show"
  9. tool.RequiresHandle = false
  10. tool.CanBeDropped = false
  11. tool.Activated:connect(function()
  12. hide = not hide
  13. end)
  14.  
  15. function connect(a,b)
  16. local weld = Instance.new("Weld")
  17. weld.Part0 = a
  18. weld.Part1 = b
  19. weld.C0 = weld.Part0.CFrame:inverse() * weld.Part1.CFrame
  20.  
  21. weld.Parent = a
  22. return weld
  23. end
  24.  
  25. local musicf = Instance.new("Sound",c.Torso)
  26. musicf.Volume = 5
  27. musicf.SoundId = "rbxassetid://1901431885"
  28. musicf.EmitterSize = math.huge
  29. musicf.MaxDistance = math.huge
  30.  
  31. local musicfb = Instance.new("Sound",c.Torso)
  32. musicfb.Volume = 7
  33. musicfb.SoundId = "http://www.roblox.com/asset/?id=25270310"
  34. musicfb.EmitterSize = math.huge
  35. musicfb.MaxDistance = math.huge
  36.  
  37. local blind = Instance.new("ScreenGui")
  38. local pic = Instance.new("ImageLabel",blind)
  39. pic.Size = UDim2.new(1,0,1,0)
  40. pic.Image = "http://www.roblox.com/asset/?id=2101259456"
  41. pic.BorderSizePixel = 0
  42. pic.BackgroundColor3 = Color3.new(1,1,1)
  43.  
  44.  
  45. function flash(chr,plr)
  46. local music = Instance.new("Sound",chr.Head)
  47. music.TimePosition = 6
  48. music.Volume = .5
  49. music.SoundId = "rbxassetid://152736435"
  50. music.EmitterSize = 1
  51. music.MaxDistance = 1.6
  52. music.Playing = true
  53. game.Debris:AddItem(music,5)
  54.  
  55. --[[local blind1 = blind:clone()
  56. if plr == p then
  57. blind1.ImageLabel.Transparency = .3
  58. game.Debris:AddItem(blind1,2)
  59. else
  60. game.Debris:AddItem(blind1,5)
  61. end
  62. blind1.Parent = plr.PlayerGui]]
  63.  
  64. for i = 1,6 do
  65. if chr:FindFirstChild("Head") then
  66. local part = Instance.new("Part")
  67. local decalc = Instance.new("SurfaceGui",part)
  68. decalc.LightInfluence = 0
  69.  
  70. local pic = Instance.new("ImageLabel",decalc)
  71. pic.Size = UDim2.new(1,0,1,0)
  72. pic.Image = "http://www.roblox.com/asset/?id=2101259456"
  73. pic.BorderSizePixel = 0
  74. pic.BackgroundColor3 = Color3.new(1,1,1)
  75.  
  76. if i == 1 then
  77. part.Size = Vector3.new(2,2,.1)
  78. part.CFrame = chr.Head.CFrame * CFrame.new(0,0,1)
  79. decalc.Face = "Front"
  80. end
  81. if i == 2 then
  82. part.Size = Vector3.new(2,2,.1)
  83. part.CFrame = chr.Head.CFrame * CFrame.new(0,0,-1)
  84. decalc.Face = "Back"
  85. end
  86. if i == 3 then
  87. part.Size = Vector3.new(.1,2,2)
  88. part.CFrame = chr.Head.CFrame * CFrame.new(1,0,0)
  89. decalc.Face = "Left"
  90. end
  91. if i == 4 then
  92. part.Size = Vector3.new(.1,2,2)
  93. part.CFrame = chr.Head.CFrame * CFrame.new(-1,0,0)
  94. decalc.Face = "Right"
  95. end
  96. if i == 5 then
  97. part.Size = Vector3.new(2,.1,2)
  98. part.CFrame = chr.Head.CFrame * CFrame.new(0,1,0)
  99. decalc.Face = "Bottom"
  100. end
  101. if i == 6 then
  102. part.Size = Vector3.new(2,.1,2)
  103. part.CFrame = chr.Head.CFrame * CFrame.new(0,-1,0)
  104. decalc.Face = "Top"
  105. end
  106.  
  107.  
  108. part.Parent = workspace
  109. game.Debris:AddItem(part,5)
  110. connect(chr.Head,part)
  111. end
  112. end
  113.  
  114. end
  115.  
  116. local flashbang = Instance.new("Tool",p.Backpack)
  117. flashbang.Name = "FLASH"
  118. flashbang.RequiresHandle = false
  119. flashbang.CanBeDropped = false
  120. flashbang.Activated:connect(function()
  121. musicf:Play()
  122. repeat wait() until musicf.TimePosition > .9
  123. musicfb:Play()
  124. for i,v in next,game.Players:GetPlayers() do
  125. if v.Character and v~=p then
  126. if (v.Character.Head.Position-c.Torso.Position).magnitude < 40 then
  127. flash(v.Character,v)
  128. end
  129. end
  130. end
  131. end)
  132.  
  133. local bb = Instance.new("BillboardGui",c.Head)
  134. bb.Size = UDim2.new(5,0,2,0)
  135. bb.StudsOffsetWorldSpace = Vector3.new(0,4,0)
  136.  
  137. local bb2 = Instance.new("BillboardGui",c.Torso)
  138. bb2.Size = UDim2.new(10,0,10,0)
  139. bb2.StudsOffsetWorldSpace = Vector3.new(0,1,0)
  140. local image = Instance.new("ImageLabel",bb2)
  141. image.Image = "http://www.roblox.com/asset/?id=2101259456"
  142. image.BackgroundTransparency = 1
  143. image.Size = UDim2.new(1,0,1,0)
  144.  
  145. local music = Instance.new("Sound",c.Torso)
  146. music.Volume = 1
  147. music.SoundId = "rbxassetid://2090461510"
  148. music.EmitterSize = math.huge
  149. music.MaxDistance = math.huge
  150. music.Playing = true
  151. music.Looped = true
  152.  
  153. for i,v in next,c:GetChildren() do
  154. if v:IsA("Part") then
  155. v.Transparency = 1
  156. end
  157. if v.Name == "Head" then
  158. v.face:Destroy()
  159. end
  160.  
  161. if v:IsA("Accessory") then
  162. v:Destroy()
  163. end
  164. end
  165.  
  166. c.Humanoid.Touched:connect(function(h)
  167. --[[if h.Parent:FindFirstChildOfClass("Humanoid") and then
  168. h.Parent:FindFirstChildOfClass("Humanoid"):Destroy()
  169. local newhuman = Instance.new("Humanoid",h.Parent)
  170. newhuman.Health = 0
  171. end]]
  172. end)
  173. local ff = Instance.new("ForceField",c)
  174. ff.Visible = false
  175. local oldhide = false
  176. spawn(function()
  177. while wait() do
  178. c.Humanoid.Health = math.huge
  179. c.Humanoid.MaxHealth = math.huge
  180.  
  181. if hide~=oldhide then
  182. if hide == true then
  183. music.Playing = false
  184. music.TimePosition = 4
  185. bb.Enabled = false
  186. bb2.Enabled = false
  187. else
  188. music.Playing = true
  189. bb.Enabled = true
  190. bb2.Enabled = true
  191. end
  192. end
  193. oldhide = hide
  194. end
  195. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement