Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- LocalScript0 = Instance.new("LocalScript")
- Part1 = Instance.new("Part")
- Script2 = Instance.new("Script")
- Part3 = Instance.new("Part")
- Script4 = Instance.new("Script")
- ParticleEmitter5 = Instance.new("ParticleEmitter")
- Part6 = Instance.new("Part")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- LocalScript0.Name = "2014Forcefield"
- LocalScript0.Parent = mas
- table.insert(cors,sandbox(LocalScript0,function()
- plr = game.Players.LocalPlayer
- char = workspace:WaitForChild(plr.Name)
- ForceFieldDuration = 10
- -- Welding the ForceField!
- forcefield = Instance.new("ForceField",char)
- forcefield.Visible = false
- forcefieldfolder = Instance.new("Folder",char)
- forcefieldfolder.Name = "Forcefield Folder"
- forcefield1 = script.ForceField1:Clone()
- forcefield1.Parent = forcefieldfolder
- forcefield1weld = Instance.new("ManualWeld",forcefield1)
- forcefield1weld.Part0 = forcefield1
- forcefield1weld.Part1 = char.Torso
- forcefield2 = script.ForceField2:Clone()
- forcefield2.Parent = forcefieldfolder
- forcefield2weld = Instance.new("ManualWeld",forcefield2)
- forcefield2weld.Part0 = forcefield2
- forcefield2weld.Part1 = char.Torso
- glow = script.Glow:Clone()
- glow.Parent = forcefieldfolder
- glowweld = Instance.new("ManualWeld",glow)
- glowweld.Part0 = glow
- glowweld.Part1 = char.Torso
- wait(ForceFieldDuration)
- forcefieldfolder:Destroy()
- forcefield:Destroy()
- end))
- Part1.Name = "ForceField1"
- Part1.Parent = LocalScript0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("Bright blue")
- Part1.Transparency = 0.5
- Part1.CanCollide = false
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Shape = Enum.PartType.Ball
- Part1.Size = Vector3.new(6, 6, 6)
- Part1.CFrame = CFrame.new(-42.8700256, 4.80891705, 100.1101, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part1.Position = Vector3.new(-42.8700256, 4.80891705, 100.1101)
- Part1.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Script2.Parent = Part1
- table.insert(cors,sandbox(Script2,function()
- local Forcefield = script.Parent
- while true do
- wait(0.22)
- script.Parent.Transparency = 0.8
- wait(0.22)
- script.Parent.Transparency = 0.7
- wait(0.22)
- script.Parent.Transparency = 0.6
- wait(0.22)
- script.Parent.Transparency = 0.5
- wait(0.22)
- script.Parent.Transparency = 0.6
- wait(0.22)
- script.Parent.Transparency = 0.7
- wait(0.22)
- script.Parent.Transparency = 0.8
- wait(0.22)
- script.Parent.Transparency = 0.9
- wait(0.22)
- end
- end))
- Part3.Name = "ForceField2"
- Part3.Parent = LocalScript0
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.BrickColor = BrickColor.new("Really blue")
- Part3.Transparency = 0.69999998807907
- Part3.CanCollide = false
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.Shape = Enum.PartType.Ball
- Part3.Size = Vector3.new(5.60000038, 5.60000038, 5.60000038)
- Part3.CFrame = CFrame.new(-42.8700256, 4.80891705, 100.1101, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0, 0, 1)
- Part3.Position = Vector3.new(-42.8700256, 4.80891705, 100.1101)
- Part3.Color = Color3.new(0, 0, 1)
- Script4.Parent = Part3
- table.insert(cors,sandbox(Script4,function()
- local Forcefield = script.Parent
- while true do
- wait(0.24)
- script.Parent.Transparency = 0.6
- wait(0.23)
- script.Parent.Transparency = 0.7
- wait(0.23)
- script.Parent.Transparency = 0.8
- wait(0.23)
- script.Parent.Transparency = 0.9
- wait(0.23)
- script.Parent.Transparency = 0.8
- wait(0.23)
- script.Parent.Transparency = 0.7
- wait(0.23)
- script.Parent.Transparency = 0.6
- wait(0.23)
- script.Parent.Transparency = 0.5
- wait(0.23)
- end
- end))
- ParticleEmitter5.Parent = Part3
- ParticleEmitter5.Transparency = NumberSequence.new(0.03125,0.95625001192093)
- ParticleEmitter5.LightEmission = 1
- ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=408377922"
- ParticleEmitter5.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter5.Rate = 15
- ParticleEmitter5.Speed = NumberRange.new(3, 3)
- Part6.Name = "Glow"
- Part6.Parent = LocalScript0
- Part6.Material = Enum.Material.SmoothPlastic
- Part6.BrickColor = BrickColor.new("Deep blue")
- Part6.Transparency = 1
- Part6.CanCollide = false
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part6.CFrame = CFrame.new(-42.8600159, 4.84891319, 100.080246, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Color = Color3.new(0.129412, 0.329412, 0.72549)
- Part6.Position = Vector3.new(-42.8600159, 4.84891319, 100.080246)
- Part6.Color = Color3.new(0.129412, 0.329412, 0.72549)
- ParticleEmitter7.Name = "Gow"
- ParticleEmitter7.Parent = Part6
- ParticleEmitter7.Transparency = NumberSequence.new(0.80000001192093,0.80000001192093)
- ParticleEmitter7.Size = NumberSequence.new(1.2041884660721,2.9842929840088,9)
- ParticleEmitter7.LightEmission = 1
- ParticleEmitter7.Texture = "http://www.roblox.com/asset/?id=408371873"
- ParticleEmitter7.Lifetime = NumberRange.new(4, 4)
- ParticleEmitter7.Rate = 1
- ParticleEmitter7.RotSpeed = NumberRange.new(50, 50)
- ParticleEmitter7.Speed = NumberRange.new(0, 0)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement