Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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("Really Black").Color
- v.Shape="Block"
- text.Text = "The Immortal god"
- 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("Smokey grey").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.5
- prth.BrickColor = bc("Smokey grey")
- 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.5
- prtrm.Material = "Neon"
- prtrm.BrickColor = bc("Smokey grey")
- 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("Smokey grey")
- local prtrl = Instance.new("Part",Character)
- prtrl.Size = vt(1.1,2.1,1.1)
- prtrl.CanCollide = false
- prtrl.Transparency = 0.5
- prtrl.Material = "Neon"
- prtrl.BrickColor = bc("Smokey grey")
- 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.5
- prtr2.Material = "Neon"
- prtr2.BrickColor = bc("Deep orange")
- local prtrl2 = Instance.new("Part",Character)
- prtrl2.Size = vt(1.1,2.1,1.1)
- prtrl2.CanCollide = false
- prtrl2.Transparency = 0.5
- prtrl2.Material = "Neon"
- prtrl2.BrickColor = bc("Smokey grey")
- 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("Smokey grey")
- 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("Smokey grey")
- 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("Smokey grey")
- 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)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- function clerp(a,b,c,d)
- for i = 0,d,.01 do
- a.CFrame = CFrame.new(b:lerp(c,i))
- wait()
- end
- end
- function slerp(a2,b2,c2,d2)
- for i2 = 0,d2,.01 do
- a2.CFrame = CFrame.new(b2:lerp(c2,i2))
- wait()
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" and plr.Character.Parent == workspace then
- plr.Character.Parent = workspace.Camera
- plr.Character.Archivable = true
- Instance.new("ForceField",plr.Character).Visible = false
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0.5
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 1
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 1
- end
- end
- elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
- elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
- if plr.Character.Torso.Anchored == true then
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = false
- end
- end
- else
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = true
- end
- end
- end
- elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
- local clone = part:Clone()
- clone.Parent = workspace
- clone.Anchored = false
- clone:ClearAllChildren()
- clone.CanCollide = true
- bp.Parent = clone
- particles.Parent = clone
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
- end
- part:Destroy()
- part = clone
- elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Parent = workspace
- plr.Character.Archivable = false
- plr.Character:FindFirstChildOfClass("ForceField"):Remove()
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if plr.Character.Parent == workspace.Camera then
- if mouse ~= nil then
- if mouse.Target ~= nil then
- part = mouse.Target
- bp = Instance.new("BodyPosition",part)
- bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.Position = part.Position
- particles = Instance.new("ParticleEmitter",part)
- particles.Color = ColorSequence.new(Color3.new(255, 255, 255))
- particles.Size = NumberSequence.new(20)
- particles.Texture = "rbxassetid://522606102"
- particles.VelocitySpread = 360
- particles.Speed = NumberRange.new(0)
- particles.RotSpeed = NumberRange.new(0)
- particles.Rotation = NumberRange.new(0)
- particles.Rate = 250
- particles.Lifetime = NumberRange.new(1.5, 3.75)
- particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
- dwn = true
- end
- end
- while dwn == true do
- wait()
- bp.Position = mouse.hit.p
- if part then
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
- end
- end
- end
- end
- end)
- mouse.Button1Up:connect(function()
- dwn = false
- if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
- if bp then bp:Destroy() end
- if particles then particles:Destroy() end
- end)
- base = Instance.new("ScreenGui",plr.PlayerGui)
- bbg = Instance.new("BillboardGui",plr.Character.Head)
- bbg.Size = UDim2.new(0,200,0,50)
- bbg.StudsOffset = Vector3.new(0,3,0)
- bbgTl = Instance.new("TextLabel",bbg)
- bbgTl.BackgroundTransparency = 1
- bbgTl.Size = UDim2.new(10,0,1,0)
- bbgTl.Position = UDim2.new(-4.5,0,0,0)
- bbgTl.Font = "Code"
- bbgTl.Text = " "
- bbgTl.TextSize = 70
- bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
- bbgTl.TextColor3 = Color3.new(201,201,201)
- bbgTl.TextStrokeTransparency = 0
- bbgTl.TextWrapped = true
- plr.Chatted:connect(function(msg)
- bbgTl.Text = msg
- wait(5)
- if bbgTl.Text == msg then
- bbgTl.Text = " "
- end
- end)
- touchCounter = 0
- while wait() do
- if plr.Character.Parent == workspace.Camera then
- local c = plr.Character:Clone()
- c:MakeJoints()
- for y,t in pairs(c:GetChildren()) do
- if t:IsA("Part") then
- t.CanCollide = false
- t.Anchored = true
- t.Transparency = 0.8
- t.TopSurface = "Smooth"
- t.BottomSurface = "Smooth"
- t.RightSurface = "Smooth"
- t.LeftSurface = "Smooth"
- t.FrontSurface = "Smooth"
- t.BackSurface = "Smooth"
- t.BrickColor = BrickColor.new("grey")
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face:Remove()
- elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
- t.roblox:Remove()
- elseif t.Name == "HumanoidRootPart" then
- t:Remove()
- end
- else
- t:Remove()
- end
- end
- c.Parent = workspace
- game.Debris:AddItem(c,.05)
- end
- end
- wait()
- script.Name = "_.:| E-Shield |:._"
- --script.Parent = _EShield_
- local LocalPlayer = game:service'Players'.LocalPlayer
- local b, Platform = nil
- local PlayerOnly = false
- local Touched = {}
- local Mouse = LocalPlayer:GetMouse()
- local ShiftDown, CtrlDown, MouseDown, Mouse2Down, MouseDeb, Mouse2Tick = false, false, false, false, false, 0
- function Create()
- if b then pcall(function() b:Destroy() end) end
- if Platform then pcall(function() Platform:Destroy() end) end
- local t = LocalPlayer.Character:FindFirstChild("Torso")
- local posit = Vector3.new(0, 50, 0)
- if t then posit = t.Position end
- Platform = Instance.new("Part")
- Platform.formFactor = "Custom"
- Platform.Size = Vector3.new(10, 1, 10)
- Platform.Transparency = 1
- Platform.Anchored = true
- Platform.CanCollide = true
- b = Instance.new("Part", game:service'Workspace')
- b.Position = posit
- b.Shape = "Block"
- b.Transparency = 1
- b.Anchored = true
- b.Reflectance = 0
- b.Size = Mouse2Down and Vector3.new(4, 4, 4) or Vector3.new(4, 4, 4)
- b.Color = Mouse2Down and Color3.new(1, 0, 0) or Color3.new(0, 0, 1)
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.Locked = true
- b.CanCollide = false
- b.Changed:connect(function(w)
- if w == "Parent" then
- Create()
- end
- end)
- b.Touched:connect(function(obj)
- if obj.Name ~= "WillNotBeRemoved" and not TouchedStatus(obj) and not obj:IsDescendantOf(LocalPlayer.Character) and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) and obj.Name ~= "Base" and obj.className == "Part" then
- table.insert(Touched, obj)
- if PlayerOnly then
- if GetPlayer(obj) then
- Destroying(obj)
- end
- else
- Destroying(obj)
- end
- end
- end)
- end
- function GetRecursiveChildren(Parent)
- local ret = {}
- for i, v in pairs(Parent:GetChildren()) do
- if #v:GetChildren() > 0 then
- local childs = GetRecursiveChildren(v)
- for i1, v1 in pairs(childs) do
- ret[#ret + 1] = v1
- end
- end
- ret[#ret + 1] = v
- end
- return ret
- end
- function GetPlayer(Target)
- for _,v in pairs(game:service'Players':GetPlayers()) do
- if v.Character ~= nil and Target:IsDescendantOf(v.Character) then
- return v
- end
- end
- return nil
- end
- function TouchedStatus(Target)
- for _,v in pairs(Touched) do
- if v == Target then
- return true
- end
- end
- return false
- end
- function Destroying(obj)
- local ran, err = coroutine.resume(coroutine.create(function()
- if not Mouse2Down then
- obj:BreakJoints()
- obj.CanCollide = false
- obj.Anchored = false
- obj.formFactor = "Custom"
- obj.Size = obj.Size * Vector3.new(math.random(), math.random(), math.random())
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(1/0,1/0,1/0)
- bp.Parent = obj
- local X, Y, Z = nil, nil, nil
- coroutine.wrap(function()
- while obj and obj.Parent do
- X, Y, Z = math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)
- wait(0.3)
- end
- end)()
- coroutine.wrap(function()
- while obj and obj.Parent do
- bp.position = LocalPlayer.Character.Torso.Position + Vector3.new(X, Y, Z)
- wait()
- end
- end)()
- coroutine.wrap(function()
- local transp = 0
- for i = 1, 50 do
- transp = transp + 0.02
- obj.Transparency = transp
- wait(0.05)
- end
- game:service'Debris':AddItem(obj, 0)
- end)()
- elseif Mouse2Down then
- local selbox = Instance.new("SelectionBox", obj)
- selbox.Adornee = obj
- selbox.Color = BrickColor.new("Really red")
- selbox.Transparency = 0
- wait(2)
- coroutine.wrap(function()
- local transp = 0
- local Size, Position = obj.Size, obj.Position
- local brickTable = {}
- game:service'Debris':AddItem(obj, 0)
- for i = 1, math.random(2, 4) do
- local x, y, z = math.random(), math.random(), math.random()
- local Brick = Instance.new("Part")
- Brick.Name = "WillNotBeRemoved"
- Brick.Parent = game:service'Workspace'
- Brick.BrickColor = BrickColor.new("White")
- Brick.Size = Size * Vector3.new(x, y, z)
- Brick.CFrame = CFrame.new(Position) * CFrame.Angles( x * 180, y * 180, z * 180)
- Brick.Locked = true
- Brick.Anchored = false
- Brick.CanCollide = false
- local Selection = Instance.new("SelectionBox", Brick)
- Selection.Adornee = Brick
- Selection.Color = BrickColor.new("White")
- Selection.Transparency = 0
- local BodyVelo = Instance.new("BodyVelocity", Brick)
- BodyVelo.maxForce = Vector3.new(1/0, 1/0, 1/0)
- BodyVelo.velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- brickTable[#brickTable + 1] = {Brick, Selection}
- end
- for i = 1, 50 do
- transp = transp + 0.02
- for i1, v in pairs(brickTable) do
- v[1].Transparency = transp
- v[2].Transparency = transp
- end
- wait(0.05)
- end
- --for i, v in pairs(brickTable) do game:service'Debris':AddItem(v[1], 0) game:service'Debris':AddItem(v[2], 0) end
- end)()
- end
- end))
- if not ran then print(".:| EShield |:. " .. err) end
- end
- Create()
- Mouse.Button1Down:connect(function()
- MouseDown = true
- end)
- Mouse.Button1Up:connect(function()
- MouseDown = false
- end)
- Mouse.KeyDown:connect(function(key)
- local key = type(key) == "string" and key:lower() or ""
- if key == "r" then
- print = function() end
- script:Destroy()
- for i, v in pairs(getfenv()) do pcall(function() v:Destroy() end) getfenv()[i] = nil end
- end
- end)
- Mouse.Button2Down:connect(function()
- if not Mouse2Down then
- Mouse2Tick = tick()
- Mouse2Down = true
- coroutine.wrap(function()
- for i = 1.1, 0, -0.1 do if Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
- for i = 0, 1.1, 0.1 do if Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
- end)()
- coroutine.wrap(function()
- for i = 15, 25 do if Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
- end)()
- end
- end)
- Mouse.Button2Up:connect(function()
- if Mouse2Down then
- if math.floor(tick() - Mouse2Tick) > 1 then
- Mouse2Down = false
- coroutine.wrap(function()
- for i = 1.1, 0, -0.1 do if not Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
- for i = 0, 1.1, 0.1 do if not Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
- end)()
- coroutine.wrap(function()
- for i = 25, 15, -1 do if not Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
- end)()
- end
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "0" then
- ShiftDown = true
- elseif key == "1" or key == "2" then
- CtrlDown = true
- end
- end)
- Mouse.KeyUp:connect(function(key)
- if key == "0" then
- ShiftDown = false
- elseif key == "1" or key == "2" then
- CtrlDown = false
- end
- end)
- coroutine.wrap(function()
- while wait(0.05) do
- for i = 0.2, 0.8, 0.1 do
- b.Transparency = i
- wait(0.05)
- end
- for i = 0.7, 0.1, -0.1 do
- b.Transparency = i
- wait(0.05)
- end
- end
- end)()
- game:service'RunService'.Stepped:connect(function()
- coroutine.resume(coroutine.create(function()
- b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
- end))
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(Touched) do
- if v.Parent == nil or v == nil then
- table.remove(Touched, i)
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- local Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
- if ShiftDown then
- Height = Height - 0.25
- if CtrlDown then
- Height = Height - 0.75
- end
- end
- local TargetCFrame = LocalPlayer.Character.Torso.CFrame
- local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
- Platform.Parent = game:service'Workspace'.CurrentCamera
- Platform.CFrame = CFrame.new(TargetCFrame.x, Height, TargetCFrame.z)
- Platform.CanCollide = true
- LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0, -(TargetCFrame.y) + Height + 3.5, 0)
- end))
- coroutine.resume(coroutine.create(function()
- if LocalPlayer.Parent ~= nil then
- for i, v in pairs(GetRecursiveChildren(LocalPlayer.Character)) do
- if v.className == "Part" then v.CanCollide = false end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- if MouseDown and not MouseDeb and not Mouse2Down then
- MouseDeb = true
- coroutine.wrap(function() wait(1) MouseDeb = false end)()
- local dist = Instance.new("Part")
- dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
- dist.formFactor = "Custom"
- dist.Shape = "Ball"
- dist.Name = "WillNotBeRemoved"
- dist.Transparency = 0
- dist.Reflectance = 0.1
- dist.Size = Vector3.new(10, 10, 10)
- dist.BrickColor = BrickColor.new("New Yeller")
- dist.TopSurface = "Smooth"
- dist.Anchored = true
- dist.BottomSurface = "Smooth"
- dist.Locked = true
- dist.CanCollide = false
- dist.Parent = game:service'Workspace'
- dist.Touched:connect(function(obj)
- coroutine.resume(coroutine.create(function()
- local Player = GetPlayer(obj)
- if Player and Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("Torso") then
- local BV = Instance.new("BodyVelocity", Player.Character.Torso)
- BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
- BV.velocity = ((LocalPlayer.Character.Torso.Position - Player.Character.Torso.Position).unit * -50)
- game:service'Debris':AddItem(BV, 1)
- elseif not Player and obj ~= b and obj.Name ~= "Base" and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) then
- obj:BreakJoints()
- obj.Anchored = false
- obj.CanCollide = false
- local BV = Instance.new("BodyVelocity", obj)
- BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
- BV.velocity = ((LocalPlayer.Character.Torso.Position - obj.Position).unit * -50)
- game:service'Debris':AddItem(BV, 1)
- end
- end))
- end)
- coroutine.wrap(function()
- for i = 1, 100 do
- dist.Transparency = dist.Transparency + 0.01
- dist.Size = dist.Size + Vector3.new(1, 1, 1)
- dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
- wait()
- end
- game:service'Debris':AddItem(dist, 0)
- end)()
- end
- end))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement