Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players
- local loc_plr = plr.LocalPlayer
- local bya = loc_plr.Backpack.main.byakugan
- bya.Parent = game.Lighting
- bya.Enabled = false
- local bya2 = loc_plr.Backpack.main.byakugan2
- local tp = loc_plr.Backpack.main.bg.Fall.ParticleEmitter
- local bem = tp
- bem.Enabled = false
- bem.LockedToPart = true
- bem.Name = "bem1"
- bem.EmissionDirection = "Bottom"
- bem.Parent = loc_plr.Character.HumanoidRootPart
- bem.Transparency = NumberSequence.new(00.01,0.001)
- bem.Lifetime = NumberRange.new(0.15)
- bem.Drag = 490
- bem.Rate = 500
- bem.LightEmission = -0.45
- bem.ZOffset = 5
- bem.Color = ColorSequence.new(Color3.fromRGB(0,0,0))
- bem.Size = NumberSequence.new(3,7)
- bem.Speed = NumberRange.new(-350,350)
- bem.SpreadAngle = Vector2.new(50,50)
- game.Lighting.Bloom:Destroy()
- game.Lighting.SunRays:Destroy()
- game.Lighting.menublur:Destroy()
- loc_plr.Character.Humanoid.Died:Connect(function()
- tp.Parent = game.Lighting
- end)
- loc_plr.Chatted:Connect(function(talk)
- if talk == ".remove" then
- bya:Destroy()
- bya2:Destroy()
- elseif talk == ".fix" then
- for i,v in pairs(plr:GetChildren()) do
- local k = v.Character.HumanoidRootPart:FindFirstChild("byakugan2")
- if k then
- k:Destroy()
- end
- end
- elseif talk == ".disable" then
- bya.Parent = game.Players
- bya2.Enabled = false
- elseif talk == ".enable" then
- bya.Parent = game.Lighting
- bya2.Enabled = true
- end
- end)
- function f(x,y)
- if x == true then
- bem.Enabled = y
- bem.Transparency = NumberSequence.new(1)
- elseif x == false then
- bem.Enabled = x
- bem.Transparency = NumberSequence.new(0.1,0.001)
- end
- return x
- end
- function copy(x)
- local b = bya2:Clone()
- b.Parent = x
- return x
- end
- function invis()
- var = workspace.Oekui
- for i,v in pairs(var:GetChildren()) do
- if v ~= var.HumanoidRootPart then
- if v:IsA("Part") or v:IsA("MeshPart") then
- v.Transparency = 1
- end
- end
- end
- for i,v in pairs(var:GetChildren()) do
- if v:IsA("Model") then
- r = v:GetChildren()
- r[1].Transparency = 1
- end
- end
- wait(0.09)
- for i,v in pairs(var:GetChildren()) do
- if v ~= var.HumanoidRootPart then
- if v:IsA("Part") or v:IsA("MeshPart") then
- v.Transparency = 0
- end
- end
- end
- for i,v in pairs(var:GetChildren()) do
- if v:IsA("Model") then
- r = v:GetChildren()
- r[1].Transparency = 0
- end
- end
- end
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local UserInputService = game:GetService('UserInputService')
- local HoldingControl = false
- Mouse.Button1Down:connect(function()
- if HoldingControl then
- bya.Enabled = false
- Player.Character:MoveTo(Mouse.Hit.p,f(false,false),invis())
- end
- end)
- UserInputService.InputBegan:connect(function(Input) --HELD DOWN
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- if Input.KeyCode == Enum.KeyCode.LeftControl then
- HoldingControl = true
- tp.Parent = loc_plr.Character.HumanoidRootPart
- bya.Enabled = true
- f(true,true)
- for i,v in pairs(plr:GetChildren()) do
- sight = v.Character:FindFirstChild("HumanoidRootPart")
- copy(sight)
- if v == loc_plr then
- loc_plr.Character.HumanoidRootPart.byakugan2:Destroy()
- end
- end
- end
- end
- end)
- UserInputService.InputEnded:connect(function(Input) -- LET GO OF
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- if Input.KeyCode == Enum.KeyCode.LeftControl then
- HoldingControl = false
- bya.Enabled = false
- for i,v in pairs(plr:GetChildren()) do
- local b = v.Character.HumanoidRootPart:FindFirstChild("byakugan2")
- if b then
- b:Destroy()
- end
- wait()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement