Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- --U Thief
- --This is PenguinAnonymous's staff!!!
- local pl = game:GetService("Players").LocalPlayer
- local char = pl.Character
- local mouse = pl:GetMouse()
- local weld = Instance.new("ManualWeld",char)
- local rightArm = char:FindFirstChild("Right Arm")
- local torso = char:FindFirstChild("Torso")
- local w1 = CFrame.new(1.5,0.6,-0.6) * CFrame.Angles(math.pi/2,0,0)
- if rightArm==nil then
- rightArm = char:FindFirstChild("RightUpperArm")
- torso = char:FindFirstChild("UpperTorso")
- w1 = CFrame.new(1.25,0.5,-0.15) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- end
- weld.Part0 = torso
- weld.Part1 = rightArm
- weld.C0 = w1
- local mas = Instance.new("Model",char)
- mas.Name = "PenguinStaff"
- local o1 = Instance.new("Part")
- local o2 = Instance.new("SpecialMesh")
- local o3 = Instance.new("Part")
- local o4 = Instance.new("SpecialMesh")
- local o5 = Instance.new("Part")
- local o6 = Instance.new("CylinderMesh")
- local o7 = Instance.new("Part")
- local o8 = Instance.new("SpecialMesh")
- local o9 = Instance.new("Part")
- local o10 = Instance.new("SpecialMesh")
- local o11 = Instance.new("Part")
- local o12 = Instance.new("Part")
- local o13 = Instance.new("SpecialMesh")
- local o14 = Instance.new("Part")
- local o15 = Instance.new("SpecialMesh")
- local o16 = Instance.new("Weld")
- local o17 = Instance.new("Weld")
- local o18 = Instance.new("Weld")
- local o19 = Instance.new("Weld")
- local o20 = Instance.new("Weld")
- local o21 = Instance.new("Weld")
- local o22 = Instance.new("Weld")
- o1.Name = "BigRung"
- o1.Parent = mas
- o1.Material = Enum.Material.Granite
- o1.BrickColor = BrickColor.new("Really red")
- o1.Position = Vector3.new(14, 1.0999999, 20)
- o1.Size = Vector3.new(0.600000024, 0.25, 0.600000024)
- o1.CFrame = CFrame.new(14, 1.0999999, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o1.BottomSurface = Enum.SurfaceType.Smooth
- o1.TopSurface = Enum.SurfaceType.Smooth
- o1.Color = Color3.new(1, 0, 0)
- o1.Position = Vector3.new(14, 1.0999999, 20)
- o1.Color = Color3.new(1, 0, 0)
- o2.Parent = o1
- o2.MeshType = Enum.MeshType.Sphere
- o3.Name = "BigTopRung"
- o3.Parent = mas
- o3.Material = Enum.Material.Granite
- o3.BrickColor = BrickColor.new("Really red")
- o3.Position = Vector3.new(14, 5.9000001, 20)
- o3.Size = Vector3.new(0.600000024, 0.25, 0.600000024)
- o3.CFrame = CFrame.new(14, 5.9000001, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(1, 0, 0)
- o3.Position = Vector3.new(14, 5.9000001, 20)
- o3.Color = Color3.new(1, 0, 0)
- o4.Parent = o3
- o4.MeshType = Enum.MeshType.Sphere
- o5.Name = "Handle"
- o5.Parent = mas
- o5.Material = Enum.Material.Wood
- o5.BrickColor = BrickColor.new("Burnt Sienna")
- o5.Position = Vector3.new(14, 3.5, 20)
- o5.Size = Vector3.new(0.25, 6, 0.25)
- o5.CFrame = CFrame.new(14, 3.5, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
- o5.Position = Vector3.new(14, 3.5, 20)
- o5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
- o6.Parent = o5
- o7.Name = "Rung"
- o7.Parent = mas
- o7.Material = Enum.Material.Granite
- o7.BrickColor = BrickColor.new("Really red")
- o7.Position = Vector3.new(14, 0.75, 20)
- o7.Size = Vector3.new(0.5, 0.25, 0.5)
- o7.CFrame = CFrame.new(14, 0.75, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(1, 0, 0)
- o7.Position = Vector3.new(14, 0.75, 20)
- o7.Color = Color3.new(1, 0, 0)
- o8.Parent = o7
- o8.MeshType = Enum.MeshType.Sphere
- o9.Name = "Rung"
- o9.Parent = mas
- o9.Material = Enum.Material.Granite
- o9.BrickColor = BrickColor.new("Really red")
- o9.Position = Vector3.new(14, 1.45000005, 20)
- o9.Size = Vector3.new(0.5, 0.25, 0.5)
- o9.CFrame = CFrame.new(14, 1.45000005, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Color = Color3.new(1, 0, 0)
- o9.Position = Vector3.new(14, 1.45000005, 20)
- o9.Color = Color3.new(1, 0, 0)
- o10.Parent = o9
- o10.MeshType = Enum.MeshType.Sphere
- o11.Name = "Sphere"
- o11.Parent = mas
- o11.Material = Enum.Material.Neon
- o11.BrickColor = BrickColor.new("Deep blue")
- o11.Position = Vector3.new(14, 7, 20)
- o11.Shape = Enum.PartType.Ball
- o11.Size = Vector3.new(1, 1, 1)
- o11.CFrame = CFrame.new(14, 7, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.TopSurface = Enum.SurfaceType.Smooth
- o11.Color = Color3.new(0.129412, 0.329412, 0.72549)
- o11.Position = Vector3.new(14, 7, 20)
- o11.Color = Color3.new(0.129412, 0.329412, 0.72549)
- o12.Name = "TopRung"
- o12.Parent = mas
- o12.Material = Enum.Material.Granite
- o12.BrickColor = BrickColor.new("Really red")
- o12.Position = Vector3.new(14, 6.25, 20)
- o12.Size = Vector3.new(0.5, 0.25, 0.5)
- o12.CFrame = CFrame.new(14, 6.25, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o12.Color = Color3.new(1, 0, 0)
- o12.Position = Vector3.new(14, 6.25, 20)
- o12.Color = Color3.new(1, 0, 0)
- o13.Parent = o12
- o13.MeshType = Enum.MeshType.Sphere
- o14.Name = "TopRung"
- o14.Parent = mas
- o14.Material = Enum.Material.Granite
- o14.BrickColor = BrickColor.new("Really red")
- o14.Position = Vector3.new(14, 5.55000019, 20)
- o14.Size = Vector3.new(0.5, 0.25, 0.5)
- o14.CFrame = CFrame.new(14, 5.55000019, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.TopSurface = Enum.SurfaceType.Smooth
- o14.Color = Color3.new(1, 0, 0)
- o14.Position = Vector3.new(14, 5.55000019, 20)
- o14.Color = Color3.new(1, 0, 0)
- o15.Parent = o14
- o15.MeshType = Enum.MeshType.Sphere
- o16.Name = "RungWeld"
- o16.Parent = mas
- o16.C1 = CFrame.new(0, 2.75, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o16.Part0 = o5
- o16.Part1 = o7
- o17.Name = "RungWeld"
- o17.Parent = mas
- o17.C1 = CFrame.new(0, 2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o17.Part0 = o5
- o17.Part1 = o1
- o18.Name = "RungWeld"
- o18.Parent = mas
- o18.C1 = CFrame.new(0, 2.04999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o18.Part0 = o5
- o18.Part1 = o9
- o19.Name = "RungWeld"
- o19.Parent = mas
- o19.C1 = CFrame.new(0, -2.75, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o19.Part0 = o5
- o19.Part1 = o12
- o20.Name = "RungWeld"
- o20.Parent = mas
- o20.C1 = CFrame.new(0, -2.4000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o20.Part0 = o5
- o20.Part1 = o3
- o21.Name = "RungWeld"
- o21.Parent = mas
- o21.C1 = CFrame.new(0, -2.04999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o21.Part0 = o5
- o21.Part1 = o14
- o22.Name = "SphereWeld"
- o22.Parent = mas
- o22.C1 = CFrame.new(0, -3.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o22.Part0 = o5
- o22.Part1 = o11
- local handle = o5
- local sphere = o11
- --wait(1)
- local nw = Instance.new("Weld",char)
- nw.Part1 = handle
- if rightArm.Name=="RightUpperArm" then
- nw.Part0 = char["RightLowerArm"]
- nw.C1 = CFrame.new(0,.1,.55) * CFrame.Angles(math.pi/2+math.pi/12,0,0)
- else
- nw.C1 = CFrame.new(0,.1,1.05) * CFrame.Angles(math.pi/2,0,0)
- nw.Part0 = rightArm
- end
- local canStopTime = true
- function damage(hit)
- if hit.Parent~=nil and hit.Parent~=char then
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum~=nil then
- hum:TakeDamage(math.random(1,30))
- end
- end
- end
- function ring()
- local oCFrame = weld.C0
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(oCFrame * CFrame.new(0,0,-0.3) * CFrame.Angles(math.pi/3,0,0),.1)
- wait()
- end
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(w1 * CFrame.Angles(-math.pi/20,0,0),.1)
- wait()
- end
- local pos = handle.Position - Vector3.new(0,3,0)
- local ring = Instance.new("Part")
- local mesh = Instance.new("SpecialMesh")
- ring.Name = "White bit"
- ring.Parent = workspace
- ring.BrickColor = BrickColor.Red()
- ring.Position = Vector3.new(9.5, 1.10000002, 18.5)
- ring.Rotation = Vector3.new(-90, 0, -90)
- ring.Anchored = true
- ring.CanCollide = false
- ring.FormFactor = Enum.FormFactor.Custom
- ring.Size = Vector3.new(10, 10, 0.200000003)
- ring.BottomSurface = Enum.SurfaceType.Smooth
- ring.FrontSurface = Enum.SurfaceType.Weld
- ring.TopSurface = Enum.SurfaceType.Smooth
- ring.Position = pos
- ring.Orientation = Vector3.new(-90, -90, 0)
- ring.Transparency = 0.25
- mesh.Parent = ring
- mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh.Scale = Vector3.new(10, 10, 10)
- mesh.MeshType = Enum.MeshType.FileMesh
- mesh.Scale = Vector3.new(10, 10, 10)
- ring.Touched:connect(damage)
- ring.CanCollide = false
- ring.CFrame = CFrame.new(pos) * CFrame.Angles(math.pi/2,0,0)
- spawn(function()
- local change = 1
- for i=1,75 do
- ring.Size = ring.Size + Vector3.new(change,change,0)
- ring.CFrame = CFrame.new(pos) * CFrame.Angles(math.pi/2,0,0)
- mesh.Scale = mesh.Scale + Vector3.new(change,change,change/2)
- wait()
- ring.Transparency = .25+(i/100)
- end
- ring:Destroy()
- end)
- end
- function Lighting()
- local oCFrame = weld.C0
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(oCFrame * CFrame.new(0,0,0.3) * CFrame.Angles(-math.pi/3,0,0),.1)
- wait()
- end
- local chi = game:GetService("Lighting"):GetChildren()
- for i=1,#chi do
- if chi[i]:IsA("BloomEffect") or chi[i]:IsA("BlurEffect") or chi[i]:IsA("ColorCorrectionEffect") or chi[i]:IsA("SunRaysEffect") then
- chi[i]:Remove()
- end
- end
- local cce = Instance.new("ColorCorrectionEffect")
- local sre = Instance.new("SunRaysEffect")
- cce.Parent = game:GetService("Lighting")
- cce.TintColor = Color3.new(0.6, 0.564706, 1)
- sre.Parent = game:GetService("Lighting")
- sre.Spread = 0.85000002384186
- game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
- game:GetService("Lighting").Brightness = 1
- game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
- game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
- game:GetService("Lighting").GlobalShadows = true
- game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
- game:GetService("Lighting").Outlines = true
- game:GetService("Lighting").GeographicLatitude = 41.733299255371
- game:GetService("Lighting").TimeOfDay = "06:15:00"
- game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
- game:GetService("Lighting").FogEnd = 100000
- game:GetService("Lighting").FogStart = 0
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(w1 * CFrame.Angles(math.pi/20,0,0),.1)
- wait()
- end
- end
- function AnchorCharacter(ch,bo)
- if ch~=nil then
- local chil = ch:GetChildren()
- for i=1,#chil do
- if chil[i]:IsA("BasePart") then
- chil[i].Anchored = bo
- end
- end
- end
- end
- local mode = "damage"
- function TimeStop()
- if canStopTime then
- canStopTime = false
- sphere.BrickColor = BrickColor.Green()
- local oCFrame = weld.C0
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(oCFrame * CFrame.new(0,0,0.3) * CFrame.Angles(0,0,-math.pi/3),.1)
- wait()
- end
- local chi = game:GetService("Lighting"):GetChildren()
- for i=1,#chi do
- if chi[i]:IsA("BloomEffect") or chi[i]:IsA("BlurEffect") or chi[i]:IsA("ColorCorrectionEffect") or chi[i]:IsA("SunRaysEffect") then
- chi[i]:Remove()
- end
- end
- local cce = Instance.new("ColorCorrectionEffect")
- local sre = Instance.new("SunRaysEffect")
- cce.Parent = game:GetService("Lighting")
- cce.TintColor = Color3.new(1,0.5,0.5)
- sre.Parent = game:GetService("Lighting")
- sre.Spread = 0.85000002384186
- for i=1,20 do
- weld.C0 = weld.C0:Lerp(w1 * CFrame.Angles(0,0,math.pi/20),.1)
- wait()
- end
- spawn(function()
- local time = 0
- while time<10 do
- local pls = game:GetService("Players"):GetPlayers()
- for i=1,#pls do
- if pls[i]~=pl then
- AnchorCharacter(pls[i].Character,true)
- end
- end
- time = time + wait()
- end
- local pls = game:GetService("Players"):GetPlayers()
- for i=1,#pls do
- AnchorCharacter(pls[i].Character,false)
- end
- local chi = game:GetService("Lighting"):GetChildren()
- for i=1,#chi do
- if chi[i]:IsA("BloomEffect") or chi[i]:IsA("BlurEffect") or chi[i]:IsA("ColorCorrectionEffect") or chi[i]:IsA("SunRaysEffect") then
- chi[i]:Remove()
- end
- end
- sphere.BrickColor = BrickColor.Red()
- time = 0
- while time<30 do
- time = time + wait()
- end
- if mode=="damage" then
- sphere.BrickColor = BrickColor.Blue()
- elseif mode == "heal" then
- sphere.BrickColor = BrickColor.Yellow()
- end
- canStopTime = true
- end)
- end
- end
- local canUse = true
- game:GetService("UserInputService").TextBoxFocused:connect(function()
- canUse = false
- end)
- game:GetService("UserInputService").TextBoxFocusReleased:connect(function()
- canUse = true
- end)
- local userInput = game:GetService("UserInputService").InputBegan:connect(function(input,gameProcessed)
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if canUse then
- local keyPressed = input.KeyCode
- if keyPressed==Enum.KeyCode.Q then
- canUse = false
- ring()
- canUse = true
- end
- if keyPressed==Enum.KeyCode.E then
- canUse = false
- Lighting()
- canUse = true
- end
- if keyPressed==Enum.KeyCode.M then
- canUse = false
- TimeStop()
- canUse = true
- end
- if keyPressed==Enum.KeyCode.X then
- mode = "heal"
- if canStopTime then sphere.BrickColor = BrickColor.Yellow() end
- end
- if keyPressed==Enum.KeyCode.C then
- mode = "damage"
- if canStopTime then sphere.BrickColor = BrickColor.Blue() end
- end
- if keyPressed==Enum.KeyCode.R then
- local targ = mouse.Target
- if targ.Parent~=nil and targ.Parent.className=="Model" and targ.Parent~=game:GetService("Players").LocalPlayer.Character and targ.Parent:FindFirstChild("Humanoid") then
- local attach0 = Instance.new("Attachment",sphere)
- local attach1 = Instance.new("Attachment",targ)
- local constraint = Instance.new("RopeConstraint",sphere)
- constraint.Attachment0 = attach1
- constraint.Attachment1 = attach0
- constraint.Length = 6
- end
- end
- if keyPressed==Enum.KeyCode.F then
- local chil = sphere:GetChildren()
- for i,v in pairs(chil) do
- if v:IsA("Constraint") then
- v.Attachment0:Remove()
- v.Attachment1:Remove()
- v:Remove()
- end
- end
- end
- if keyPressed==Enum.KeyCode.T then
- local ws = char.Humanoid.WalkSpeed
- if ws==0 then
- ws = 16
- end
- local tp = Instance.new("Part",char)
- tp.CanCollide = false
- tp.TopSurface = Enum.SurfaceType.Smooth
- tp.BottomSurface = Enum.SurfaceType.Smooth
- tp.BrickColor = BrickColor.Blue()
- tp.Material = Enum.Material.Neon
- tp.Shape = "Ball"
- tp.Size = Vector3.new(1,1,1)
- tp.Position = char.HumanoidRootPart.Position
- tp.Anchored = true
- AnchorCharacter(char,true)
- char.Humanoid.WalkSpeed = 0
- for i=1,30 do
- pcall(function()
- tp.Size = tp.Size + Vector3.new(7/30,7/30,7/30)
- tp.Position = char.HumanoidRootPart.Position
- wait()
- end)
- end
- char:MoveTo(mouse.Hit.p + Vector3.new(0,3,0))
- for i=1,20 do
- pcall(function()
- tp.Size = tp.Size + Vector3.new(-7/30,-7/30,-7/30)
- tp.Position = char.HumanoidRootPart.Position
- wait()
- end)
- end
- AnchorCharacter(char,false)
- char.Humanoid.WalkSpeed = ws
- pcall(function() tp:Destroy() end)
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if canUse then
- local mainHuman = pl.Character:FindFirstChild("Humanoid")
- local head = pl.Character:FindFirstChild("Head")
- if mainHuman~=nil and head~=nil then
- local targ = mouse.Target
- local look
- --if targ~=nil then
- -- look = targ.Position
- --else
- look = mouse.Hit.p
- --end
- local lookAt = (look - head.Position-Vector3.new(0,3,0)).unit
- local p = Instance.new("Part",workspace)
- p.Size = Vector3.new(0.5,0.5,0.5)
- p.TopSurface = Enum.SurfaceType.Smooth
- p.BottomSurface = Enum.SurfaceType.Smooth
- p.Transparency = 0.5
- p.BrickColor = BrickColor.Red()
- p.Position = sphere.Position
- p.Anchored = false
- p.CanCollide = false
- p.Shape = "Ball"
- p.Material = Enum.Material.Neon
- local bv = Instance.new("BodyVelocity",p)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity = lookAt * 150
- p.Touched:connect(function(hit)
- if hit.Parent~=nil and hit.Parent~=char and hit.Parent~=mas then
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum~=nil then
- if mode=="damage" then
- hum:TakeDamage(hum.MaxHealth/math.random(2,20))
- elseif mode=="heal" then
- hum.Health = hum.Health + hum.MaxHealth/math.random(1,10)
- end
- end
- p:Remove()
- end
- end)
- game:GetService("Debris"):AddItem(p,10)
- end
- end
- end)
- pl.CharacterAdded:connect(function()
- canUse = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement