Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- x10Shield --
- local me = game:GetService("Players").LocalPlayer
- local ShieldSize = 5
- local canCollide = false
- local isLocked = false
- local defaultTransparency = 1
- local whitelist = {"", "", "", ""}
- local scriptBreak = false
- local followPart = me.Character.HumanoidRootPart
- local actualList = {}
- local playerList = {}
- table.insert(playerList, me)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- for _,wplay in pairs(whitelist) do
- if v.Name:lower() == wplay:lower() then
- table.insert(playerList, v)
- end
- end
- end
- local MainLocation = me.Character.Torso
- function createShield()
- pcall(function()
- pcall(function()
- for i,v in pairs(MainLocation:GetChildren()) do
- if v.Name == "weinershield" then
- v:Destroy()
- end
- end
- end)
- local mod = Instance.new("Model", MainLocation)
- mod.Name = "weinershield"
- local p1 = Instance.new("Part", mod)
- p1.Name = "front"
- p1.Size = Vector3.new(ShieldSize,ShieldSize,1)
- p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
- local b = Instance.new("BlockMesh", p1)
- b.Scale = Vector3.new(1, 1, 0)
- local p2 = Instance.new("Part", mod)
- p2.Name = "back"
- p2.Size = Vector3.new(ShieldSize,ShieldSize,1)
- p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
- local b = Instance.new("BlockMesh", p2)
- b.Scale = Vector3.new(1, 1, 0)
- local p3 = Instance.new("Part", mod)
- p3.Name = "left"
- p3.Size = Vector3.new(1,ShieldSize,ShieldSize)
- p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- local b = Instance.new("BlockMesh", p3)
- b.Scale = Vector3.new(0, 1, 1)
- local p4 = Instance.new("Part", mod)
- p4.Name = "right"
- p4.Size = Vector3.new(1,ShieldSize,ShieldSize)
- p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- local b = Instance.new("BlockMesh", p4)
- b.Scale = Vector3.new(0, 1, 1)
- local p5 = Instance.new("Part", mod)
- p5.Name = "top"
- p5.Size = Vector3.new(ShieldSize,1,ShieldSize)
- p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
- local b = Instance.new("BlockMesh", p5)
- b.Scale = Vector3.new(1, 0, 1)
- local p6 = Instance.new("Part", mod)
- p6.Name = "bottom"
- p6.Size = Vector3.new(ShieldSize,1,ShieldSize)
- p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
- local b = Instance.new("BlockMesh", p6)
- b.Scale = Vector3.new(1, 0, 1)
- for i,v in pairs(mod:GetChildren()) do
- v.Anchored = true
- v.Transparency = defaultTransparency
- v.Material = "Neon"
- v.TopSurface = "Smooth"
- v.BottomSurface = "Smooth"
- v.CanCollide = canCollide
- end
- mod.ChildRemoved:connect(function(a)
- game:GetService("RunService").Stepped:wait()
- if a.ClassName == "Part" then
- createShield()
- end
- end)
- end)
- end
- function updateShield()
- pcall(function()
- char = me.Character
- for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do
- v.Anchored = true
- v.Transparency = defaultTransparency
- v.Material = "Neon"
- v.TopSurface = "Smooth"
- v.BottomSurface = "Smooth"
- v.CanCollide = canCollide
- end
- MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1)
- MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
- MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1)
- MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
- MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize)
- MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize)
- MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize)
- MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize)
- MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
- end)
- end
- local function CreateRegion3FromLocAndSize(Position, Size)
- local SizeOffset = Size/2
- local Point1 = Position - SizeOffset
- local Point2 = Position + SizeOffset
- return Region3.new(Point1, Point2)
- end
- createShield()
- game:GetService("RunService").Heartbeat:connect(function()
- if not scriptBreak then
- local me = game:GetService("Players").LocalPlayer
- local char = workspace:findFirstChild(me.Name)
- actualList = {}
- for i,v in pairs(playerList) do
- pcall(function()
- table.insert(actualList, workspace:findFirstChild(v.Name))
- end)
- end
- if MainLocation:findFirstChild("weinershield") ~= nil then
- updateShield()
- else
- createShield()
- end
- pcall(function()
- local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1))
- for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do
- if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then
- Part:Destroy()
- end
- end
- end)
- pcall(function()
- for i,v in pairs(actualList) do
- if v:findFirstChild("Humanoid") ~= nil then
- v.Humanoid.MaxHealth = math.huge
- v.Humanoid.Health = math.huge
- else
- Instance.new("Humanoid", v)
- end
- end
- end)
- end
- end)
- p = game.Players.LocalPlayer
- char = p.Character
- local char = p.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- tors = Character.Torso
- root = Character.HumanoidRootPart
- lleg = Character["Left Leg"]
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- ypcall(function()
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- end)
- CV="Hot pink"
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Highway"
- text.TextStrokeColor3 = BrickColor.new("Really black").Color
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=p.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = BrickColor.new("white").Color
- v.Shape="Block"
- text.Text = "The UnTouchable man"
- hed.face.Texture = "http://www.roblox.com/asset/?id=0"
- hed.Transparency = 1
- rleg.Transparency = 1
- rarm.Transparency = 1
- larm.Transparency = 1
- lleg.Transparency = 1
- tors.Transparency = 1
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- vt = Vector3.new
- bc = BrickColor.new
- wit = bc("Deep orange").Color
- local prth = Instance.new("Part",Character)
- prth.Size = vt(1.25,1.25,1.25)
- prth.CanCollide = false
- prth.Material = "Neon"
- prth.Transparency = 0.2
- prth.BrickColor = bc("black")
- local wldh = Instance.new("Weld",Character)
- wldh.Part0 = hed
- wldh.Part1 = prth
- local prtrm = Instance.new("Part",Character)
- prtrm.Size = vt(2.1,2.1,1.1)
- prtrm.CanCollide = false
- prtrm.Transparency = 0.2
- prtrm.Material = "Neon"
- prtrm.BrickColor = bc("black")
- local wldm = Instance.new("Weld",Character)
- wldm.Part0 = root
- wldm.Part1 = prtrm
- local prtr = Instance.new("Part",Character)
- prtr.Size = vt(1.1,2.1,1.1)
- prtr.CanCollide = false
- prtr.Transparency = 0.5
- prtr.Material = "Neon"
- prtr.BrickColor = bc("black")
- local prtrl = Instance.new("Part",Character)
- prtrl.Size = vt(1.1,2.1,1.1)
- prtrl.CanCollide = false
- prtrl.Transparency = 0.2
- prtrl.Material = "Neon"
- prtrl.BrickColor = bc("black")
- local eff = Instance.new("ParticleEmitter",prtr)
- eff.LightEmission = 1
- eff.Texture = "rbxassetid://284205403"
- eff.Color = ColorSequence.new(wit)
- eff.Size = NumberSequence.new(0.5,1)
- eff.Acceleration = vt(0,25,0)
- eff.Speed = NumberRange.new(-5)
- eff.LockedToPart = false
- eff.Transparency = NumberSequence.new(0.95)
- eff.Lifetime = NumberRange.new(0.5)
- eff.Rate = 100000
- eff.VelocitySpread = 25
- local wld = Instance.new("Weld",Character)
- wld.Part0 = rarm
- wld.Part1 = prtr
- local wldl = Instance.new("Weld",Character)
- wldl.Part0 = rleg
- wldl.Part1 = prtrl
- local prtr2 = Instance.new("Part",Character)
- prtr2.Size = vt(1.1,2.1,1.1)
- prtr2.CanCollide = false
- prtr2.Transparency = 0.1
- prtr2.Material = "Neon"
- prtr2.BrickColor = bc("black")
- local prtrl2 = Instance.new("Part",Character)
- prtrl2.Size = vt(1.1,2.1,1.1)
- prtrl2.CanCollide = false
- prtrl2.Transparency = 0.1
- prtrl2.Material = "Neon"
- prtrl2.BrickColor = bc("black")
- local eff2 = Instance.new("ParticleEmitter",prtr2)
- eff2.LightEmission = 1
- eff2.Texture = "rbxassetid://284205403"
- eff2.Color = ColorSequence.new(wit)
- eff2.Size = NumberSequence.new(0.5,1)
- eff2.Acceleration = vt(0,25,0)
- eff2.Speed = NumberRange.new(-5)
- eff2.LockedToPart = false
- eff2.Transparency = NumberSequence.new(0.95)
- eff2.Lifetime = NumberRange.new(0.5)
- eff2.Rate = 100000
- eff2.VelocitySpread = 25
- local wld2 = Instance.new("Weld",Character)
- wld2.Part0 = larm
- wld2.Part1 = prtr2
- local wldl2 = Instance.new("Weld",Character)
- wldl2.Part0 = lleg
- wldl2.Part1 = prtrl2
- local mouse = game.Players.LocalPlayer:GetMouse()
- tors = game.Players.LocalPlayer.Character.Torso
- vt = Vector3.new
- bc = BrickColor.new
- local Effect = Instance.new("Part",game.Lighting)
- Effect.BrickColor = bc("Deep orange")
- Effect.Transparency = 1
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Material = "Neon"
- Effect.Shape = "Ball"
- Effect.Size = vt(5,5,5)
- local fire1 = Instance.new("Fire",Effect)
- fire1.Name = "Fire"
- fire1.Heat = 0
- fire1.Size = 30
- fire1.SecondaryColor = bc("Really black").Color
- fire1.Color = bc("Deep orange").Color
- local fire2 = Instance.new("Fire",Effect)
- fire2.Name = "Fire2"
- fire2.Heat = 0
- fire2.Size = 25
- fire2.SecondaryColor = bc("Really black").Color
- fire2.Color = bc("Neon orange").Color
- function Explode(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://258057783"
- snd.Volume = 2.5
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Deep orange")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Bright orange")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function Explode2(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://165969964"
- snd.Volume = 3
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Deep orange")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Bright orange")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "q" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode(25,spart)
- spart:Destroy()
- end
- if k == "e" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Anchored = false
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0
- spart.Position = spart.Position + vt(0,100,0)
- spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150
- wait(1)
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode2(75,spart)
- spart:Destroy()
- end
- if k == "r" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275
- wait(0.75)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165
- Explode(30,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- if k == "f" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0)
- wait(0)
- end
- for i = 0, 5 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0)
- wait(0)
- end
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- wait(1.5)
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0)
- wait(0)
- end
- wait(0.25)
- Explode2(62.5,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement