Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.52 KB | None | 0 0
  1. local plr = game.Players
  2. local loc_plr = plr.LocalPlayer
  3. local loc_char = workspace.Oekuii
  4. repeat
  5. loc_plr:FindFirstChild("Backpack")
  6. wait()
  7. until loc_plr.Backpack.main:FindFirstChild("byakugan") ~= nil
  8. local bya = loc_plr.Backpack.main:WaitForChild("byakugan")
  9. bya.Parent = game.Lighting
  10. bya.Enabled = false
  11. local bya2 = loc_plr.Backpack.main.byakugan2
  12. bya2.img.ImageTransparency = 0
  13. bya.Brightness = -0.15
  14. local tp = loc_plr.Backpack.main.bg.Fall.ParticleEmitter
  15. local bem = tp
  16. bem.Enabled = false
  17. bem.LockedToPart = true
  18. bem.Name = "bem1"
  19. bem.EmissionDirection = "Bottom"
  20. bem.Parent = loc_plr.Character.HumanoidRootPart
  21. bem.Transparency = NumberSequence.new(00.01,0.001)
  22. bem.Lifetime = NumberRange.new(0.15)
  23. bem.Drag = 490
  24. bem.Rate = 500
  25. bem.LightEmission = -0.45
  26. bem.ZOffset = 5
  27. bem.Color = ColorSequence.new(Color3.fromRGB(0,0,0))
  28. bem.Size = NumberSequence.new(3,7)
  29. bem.Speed = NumberRange.new(-350,350)
  30. bem.SpreadAngle = Vector2.new(50,50)
  31.  
  32. loc_plr.Character.Humanoid.Died:Connect(function()
  33. tp.Parent = game.Lighting
  34. end)
  35.  
  36. loc_plr.Chatted:Connect(function(talk)
  37. if talk == "/e remove" then
  38. bya:Destroy()
  39. bya2:Destroy()
  40. elseif talk == "f" then
  41. for i,v in pairs(plr:GetChildren()) do
  42. local k = v.Character.HumanoidRootPart:FindFirstChild("byakugan2")
  43. if k then
  44. k:Destroy()
  45. end
  46. end
  47. elseif talk == "/e off" then
  48. bya.Parent = loc_plr.Backpack.main
  49. bya2.Enabled = false
  50. elseif talk == "/e on" then
  51. bya.Parent = game.Lighting
  52. bya2.Enabled = true
  53. end
  54. end)
  55.  
  56. function f(x,y)
  57. if x == true then
  58. bem.Enabled = y
  59. bem.Transparency = NumberSequence.new(1)
  60. elseif x == false then
  61. bem.Enabled = x
  62. bem.Transparency = NumberSequence.new(0.1,0.001)
  63. end
  64. return x
  65. end
  66.  
  67. function copy(x)
  68. local b = bya2:Clone()
  69. b.Parent = x
  70. return x
  71. end
  72.  
  73. function invis()
  74. var = workspace.Oekuii
  75. for i,v in pairs(var:GetChildren()) do
  76. if v ~= var.HumanoidRootPart then
  77. if v:IsA("Part") or v:IsA("MeshPart") then
  78. v.Transparency = 1
  79. end
  80. end
  81. end
  82. for i,v in pairs(var:GetChildren()) do
  83. if v:IsA("Model") then
  84. r = v:GetChildren()
  85. r[1].Transparency = 1
  86. end
  87. if workspace.Oekuii:FindFirstChild("band") then
  88. workspace.Oekuii:FindFirstChild("band").band.Transparency = 1
  89. workspace.Oekuii:FindFirstChild("band").Head.Transparency = 1
  90. elseif
  91. workspace.Oekuii:FindFirstChild("cosmetic") then
  92. workspace.Oekuii.cosmetic.UpperTorso.Transparency = 1
  93. workspace.Oekuii.cosmetic.MeshPart.Transparency = 1
  94. end
  95. --loc_plr.Character.Head.face.Texture = ''
  96. --loc_plr.Character.Head.eyecolor.Texture = ''
  97. --loc_plr.Character.Head.mouth.Texture = ''
  98.  
  99. end
  100. wait(0.27)
  101. for i,v in pairs(var:GetChildren()) do
  102. if v ~= var.HumanoidRootPart then
  103. if v:IsA("Part") or v:IsA("MeshPart") then
  104. v.Transparency = 0
  105. end
  106. end
  107. end
  108. for i,v in pairs(var:GetChildren()) do
  109. if v:IsA("Model") then
  110. r = v:GetChildren()
  111. r[1].Transparency = 0
  112. end
  113. if workspace.Oekuii:FindFirstChild("band") then
  114. workspace.Oekuii:FindFirstChild("band").band.Transparency = 0
  115. workspace.Oekuii:FindFirstChild("band").Head.Transparency = 1
  116. elseif
  117. workspace.Oekuii:FindFirstChild("cosmetic") then
  118. workspace.Oekuii.cosmetic.UpperTorso.Transparency = 1
  119. workspace.Oekuii.cosmetic.MeshPart.Transparency = 0
  120. end
  121. end
  122. end
  123.  
  124. local function ab()
  125. local a = loc_plr.Backpack:FindFirstChild"screenshake"
  126. a.Value = true
  127. wait()
  128. a.Value = false
  129. end
  130.  
  131. local blur = Instance.new("BlurEffect",game.Lighting)
  132. blur.Size = 0
  133. local Anim = Instance.new("Animation")
  134. Anim.AnimationId = "rbxassetid://656118852"
  135. local track = workspace.Oekuii.Humanoid:LoadAnimation(Anim)
  136. game.Players.LocalPlayer.CharacterAdded:Connect(function(character)
  137. track = character:WaitForChild("Humanoid"):LoadAnimation(Anim)
  138. end)
  139.  
  140. local a = game:GetService("UserInputService")
  141. a.InputBegan:Connect(function(b)
  142. if b.KeyCode == Enum.KeyCode.LeftShift then
  143. workspace.Oekuii.cfolder.disabled.Value = true
  144. track:Play(.1, 1, 1)
  145. ab()
  146. for i = 1,5 do
  147. workspace.Oekuii.Humanoid.WalkSpeed = (i*16+50)
  148. game.Workspace.CurrentCamera.FieldOfView = (70+(i*2))
  149. blur.Size = i
  150. wait()
  151. end
  152. end
  153. end)
  154. a.InputEnded:Connect(function(c)
  155. if c.KeyCode == Enum.KeyCode.LeftShift then
  156. workspace.Oekuii.cfolder.disabled.Value = false
  157. track:Stop()
  158. for i = 1,5 do
  159. workspace.Oekuii.Humanoid.WalkSpeed = (130-i*16)
  160. game.Workspace.CurrentCamera.FieldOfView = (80-(i*2))
  161. blur.Size = blur.size - i
  162. wait()
  163. end
  164. end
  165. end)
  166.  
  167. local Player = game.Players.LocalPlayer
  168. local Mouse = Player:GetMouse()
  169. local UserInputService = game:GetService('UserInputService')
  170.  
  171. local HoldingControl = false
  172.  
  173. Mouse.Button1Down:connect(function()
  174. if HoldingControl then
  175. bya.Enabled = false
  176. Player.Character:MoveTo(Mouse.Hit.p,f(false,false),invis())
  177. end
  178. end)
  179.  
  180. UserInputService.InputBegan:connect(function(Input) --HELD DOWN
  181. if Input.UserInputType == Enum.UserInputType.Keyboard then
  182. if Input.KeyCode == Enum.KeyCode.LeftControl then
  183. HoldingControl = true
  184. tp.Parent = loc_plr.Character.HumanoidRootPart
  185. bya.Enabled = true
  186. if game.Lighting:FindFirstChild"Bloom" then
  187. game.Lighting.Bloom.Enabled = false
  188. end
  189. --loc_plr.Character.Head.face.Texture = 'rbxassetid://2864897737'
  190. --loc_plr.Character.Head.eyecolor.Texture = ''
  191. loc_plr.Character.Head.mouth.Texture = 'rbxassetid://520427555'
  192. f(true,true)
  193. for i,v in pairs(plr:GetChildren()) do
  194. sight = v.Character:FindFirstChild("HumanoidRootPart")
  195. copy(sight)
  196. if v == loc_plr then
  197. loc_plr.Character.HumanoidRootPart.byakugan2:Destroy()
  198. end
  199. end
  200. end
  201. end
  202. end)
  203.  
  204. UserInputService.InputEnded:connect(function(Input) -- LET GO OF
  205. if Input.UserInputType == Enum.UserInputType.Keyboard then
  206. if Input.KeyCode == Enum.KeyCode.LeftControl then
  207. HoldingControl = false
  208. bya.Enabled = false
  209. if game.Lighting:FindFirstChild"Bloom" then
  210. game.Lighting.Bloom.Enabled = true
  211. end
  212. --loc_plr.Character.Head.face.Texture = loc_plr:FindFirstChild(string.format("%s%s",loc_plr.Name,"look")).face.Value
  213. --loc_plr.Character.Head.eyecolor.Texture = loc_plr:FindFirstChild(string.format("%s%s",loc_plr.Name,"look")).eyecolor.Value
  214. loc_plr.Character.Head.mouth.Texture = loc_plr:FindFirstChild(string.format("%s%s",loc_plr.Name,"look")).mouth.Value
  215. for i,v in pairs(plr:GetChildren()) do
  216. local b = v.Character.HumanoidRootPart:FindFirstChild("byakugan2")
  217. if b then
  218. b:Destroy()
  219. end
  220. wait()
  221. end
  222. end
  223. end
  224. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement