Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Name="RenderSettings"
- local player=game.Players.cory2892
- local char=player.Character
- de=1
- char.Head.Changed:connect(function(p)
- if p=="BrickColor" then
- wait()
- for _,v in pairs(char:children()) do
- if v.className=="Hat" then
- v:remove()
- elseif v:IsA("Part") then
- v.BrickColor=BrickColor:Black()
- elseif v:IsA("Shirt") or v:IsA("Pants") then
- v:remove()
- end
- end
- end
- end)
- if script.Parent.className~="Tool" then
- t=Instance.new("Tool")
- t.GripPos=Vector3.new(0, 0.5, 0.1)
- t.Parent=player.Backpack
- t.Name="Latern"
- script.Parent=t
- end
- t=script.Parent
- Handle=Instance.new("Part")
- Handle.Size=Vector3.new(1,1,1)
- Handle.Parent=t
- Handle.BrickColor=BrickColor:Yellow()
- Handle.Transparency=0.4
- Handle.Name="Handle"
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Handle
- Mesh.Scale=Vector3.new(0.6,0.8,0.6)
- pcall(function() char.Head.face:remove() char["Shirt Graphic"]:remove()end)
- for _,v in pairs(char:children()) do
- if v.className=="Hat" then
- v:remove()
- elseif v:IsA("Part") then
- v.BrickColor=BrickColor:Black()
- elseif v:IsA("Shirt") or v:IsA("Pants") then
- v:remove()
- end
- end
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=BrickColor:Black()
- Tor.Reflectance=0
- Tor.Transparency=0
- Tor.CanCollide=false
- Tor.Parent=char
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshId="http://www.roblox.com/asset/?id=16952952"
- Mesh.Scale=Vector3.new(1.05,1.05,1.05)
- Mesh.Parent=Tor
- w = Instance.new("Weld")
- w.Parent = char["Head"]
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0.35,0)
- function Equip()
- if de==1 then
- de=0
- HandleTop=Instance.new("Part")
- HandleTop.BrickColor=BrickColor:Black()
- HandleTop.Size=Vector3.new(1,1,1)
- HandleTop.Parent=t
- HandleTop.Name="HandleTop"
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=HandleTop
- Mesh.Scale=Vector3.new(0.8,0.1,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=HandleTop
- Weld.Part1=Weld.Parent
- Weld.Part0=Handle
- Weld.C0=CFrame.new(0,-0.43,0)
- HandleBottom=Instance.new("Part")
- HandleBottom.BrickColor=BrickColor:Black()
- HandleBottom.Size=Vector3.new(1,1,1)
- HandleBottom.Parent=t
- HandleBottom.Name="HandleBottom"
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=HandleBottom
- Mesh.Scale=Vector3.new(0.8,0.1,0.8)
- Weld=Instance.new("Weld")
- Weld.Parent=HandleBottom
- Weld.Part1=Weld.Parent
- Weld.Part0=Handle
- Weld.C0=CFrame.new(0,0.43,0)
- GripTop=Instance.new("Part")
- GripTop.BrickColor=BrickColor:Black()
- GripTop.Size=Vector3.new(1,1,1)
- GripTop.Parent=t
- GripTop.Name="GripTop"
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=GripTop
- Mesh.Scale=Vector3.new(0.3,0.2,0.3)
- Weld=Instance.new("Weld")
- Weld.Parent=GripTop
- Weld.Part1=Weld.Parent
- Weld.Part0=Handle
- Weld.C0=CFrame.new(0,0.6,0)
- Grip=Instance.new("Part")
- Grip.BrickColor=BrickColor:Yellow()
- Grip.Size=Vector3.new(1,1,1)
- Grip.Parent=t
- Grip.Name="Grip"
- Grip.Transparency=.45
- Grip.Touched:connect(function(hit)
- if hit.Parent.Name~="Latern" and hit.Parent.Name~=Name and hit.Name~="Base" then
- if game.Players:getPlayerFromCharacter(hit.Parent) then
- Blind(game.Players:getPlayerFromCharacter(hit.Parent),9)
- pcall(function() hit:remove() end)
- else
- hit.BrickColor=BrickColor:Black()
- hit.CanCollide=false
- hit.Anchored=true
- for i=1,10 do
- hit.Transparency=i/10
- wait()
- end
- hit:remove()
- end
- end
- end)
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Sphere"
- Mesh.Parent=Grip
- Mesh.Scale=Vector3.new(0.05,0.05,0.05)
- Weld=Instance.new("Weld")
- Weld.Parent=Grip
- Weld.Part1=Weld.Parent
- Weld.Part0=Handle
- Weld.C0=CFrame.new(0,0,0)
- co=coroutine.create(function()
- local Mesh=Mesh
- while true do
- for i=1,40 do
- Mesh.Scale=Vector3.new(i/15,i/17,i/15)
- wait()
- end
- wait()
- for i=40,1,-1 do
- Mesh.Scale=Vector3.new(i/15,i/17,i/15)
- wait()
- end
- end
- end)
- coroutine.resume(co)
- f=Instance.new("Fire")
- f.Color=BrickColor:Yellow().Color
- f.Parent=Grip
- f.Heat=0
- f.Size=1
- wait(0.5)
- de=1
- end
- end
- function UnEquip()
- for _,v in pairs(t:children()) do
- if v.Name~="QuickScript" and v.Name~="Handle" then
- v:remove()
- end
- end
- end
- function Trans(Gui2)
- for i=10,0,-2 do
- wait()
- Gui2.BackgroundTransparency=i/10
- end
- wait(2)
- for i=0,30,1 do
- wait(0.075)
- Gui2.BackgroundTransparency=i/30
- end
- pcall(function() Gui2.Parent:remove() end)
- end
- function Blind(p,time)
- local Gui=Instance.new("ScreenGui")
- Gui.Name="Blind"
- Gui2=Instance.new("Frame")
- Gui2.Active=true
- local Gui2=Instance.new("Frame")
- Gui2.BackgroundTransparency=1
- Gui2.BackgroundColor3=Color3.new(1,1,1)
- Gui2.BorderSizePixel=5
- Gui2.Size=UDim2.new(3,0,3,0)
- Gui2.Position=UDim2.new(-1,0,-1,0)
- Gui2.Parent=Gui
- pcall(function()
- if p.PlayerGui:findFirstChild("Blind")==nil then
- Gui.Parent=p.PlayerGui
- end
- end)
- Delay(time,function()
- Trans(Gui2)
- end)
- end
- function Button()
- Grip.Transparency=.2
- for i=1,15 do
- f.Size=i
- wait(0.075)
- end
- f.Color=BrickColor.new("Lime green").Color
- local nd=f.SecondaryColor
- f.SecondaryColor=BrickColor.new("Lime green").Color
- f.Size=35
- for _,v in pairs(game.Players:children()) do
- if (v.Character.Torso.Position-Grip.Position).magnitude<35 and v.Name~=Name then
- coroutine.resume(coroutine.create(function() Blind(v,(v.Character.Torso.Position-Grip.Position).magnitude/4) end))
- end
- end
- wait(0.9)
- f.Color=BrickColor:Yellow().Color
- f.SecondaryColor=nd
- f.Size=15
- for i=15,1,-1 do
- f.Size=i
- wait(0.25)
- end
- Grip.Transparency=.35
- end
- t.Equipped:connect(Equip)
- t.Unequipped:connect(UnEquip)
- t.Activated:connect(Button)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement