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"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- ParticleEmitter4 = Instance.new("ParticleEmitter")
- ParticleEmitter5 = Instance.new("ParticleEmitter")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- ParticleEmitter8 = Instance.new("ParticleEmitter")
- ParticleEmitter9 = Instance.new("ParticleEmitter")
- Part10 = Instance.new("Part")
- SpecialMesh11 = Instance.new("SpecialMesh")
- Part12 = Instance.new("Part")
- Attachment13 = Instance.new("Attachment")
- Script14 = Instance.new("Script")
- Model0.Name = "Spawned"
- Model0.Parent = mas
- Model1.Name = "Arm1"
- Model1.Parent = Model0
- Part2.Name = "OmegaKatana"
- Part2.Parent = Model1
- Part2.BrickColor = BrickColor.new("Dark stone grey")
- Part2.Rotation = Vector3.new(166.449997, 86.3099976, 103.579994)
- Part2.Anchored = true
- Part2.FormFactor = Enum.FormFactor.Plate
- Part2.Size = Vector3.new(0.300000012, 4.4000001, 0.400000006)
- Part2.CFrame = CFrame.new(2.61999989, 1.64003205, 34405.7578, -0.0151149984, -0.0625929758, 0.997924745, -0.999885857, 0.000946200686, -0.0150853526, 0, -0.99803865, -0.0626001358)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part2.Position = Vector3.new(2.61999989, 1.64003205, 34405.7578)
- Part2.Orientation = Vector3.new(0.859999955, 93.5899963, -89.9499969)
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh3.Parent = Part2
- SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=121119370"
- SpecialMesh3.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=341700381"
- SpecialMesh3.MeshType = Enum.MeshType.FileMesh
- SpecialMesh3.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- ParticleEmitter4.Name = "Hex1"
- ParticleEmitter4.Parent = Part2
- ParticleEmitter4.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter4.Size = NumberSequence.new(0,0.061728358268738)
- ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.937255, 0.447059, 0),Color3.new(0.894118, 0.0196078, 0.0392157))
- ParticleEmitter4.LightEmission = 0.5
- ParticleEmitter4.Texture = "http://www.roblox.com/asset/?id=173990220"
- ParticleEmitter4.Lifetime = NumberRange.new(0.0099999997764826, 1)
- ParticleEmitter4.Rate = 12
- ParticleEmitter4.Speed = NumberRange.new(0, 0)
- ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.937255, 0.447059, 0),Color3.new(0.894118, 0.0196078, 0.0392157))
- ParticleEmitter5.Name = "Hex2"
- ParticleEmitter5.Parent = Part2
- ParticleEmitter5.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter5.Size = NumberSequence.new(0,0.061728358268738)
- ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 1, 0.968628),Color3.new(0.109804, 0, 0.776471))
- ParticleEmitter5.LightEmission = 0.5
- ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=173990220"
- ParticleEmitter5.Lifetime = NumberRange.new(0.0099999997764826, 1)
- ParticleEmitter5.Rate = 12
- ParticleEmitter5.Speed = NumberRange.new(0, 0)
- ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 1, 0.968628),Color3.new(0.109804, 0, 0.776471))
- ParticleEmitter6.Name = "Hex3"
- ParticleEmitter6.Parent = Part2
- ParticleEmitter6.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter6.Size = NumberSequence.new(0,0.061728358268738)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0, 0.333333, 0))
- ParticleEmitter6.LightEmission = 0.5
- ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=173990220"
- ParticleEmitter6.Lifetime = NumberRange.new(0.0099999997764826, 1)
- ParticleEmitter6.Rate = 12
- ParticleEmitter6.Speed = NumberRange.new(0, 0)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0, 0.333333, 0))
- ParticleEmitter7.Name = "Fire3"
- ParticleEmitter7.Parent = Part2
- ParticleEmitter7.Rotation = NumberRange.new(0, 5)
- ParticleEmitter7.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter7.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
- ParticleEmitter7.LightEmission = 1
- ParticleEmitter7.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter7.Acceleration = Vector3.new(0, 8, 0)
- ParticleEmitter7.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter7.Rate = 1000
- ParticleEmitter7.RotSpeed = NumberRange.new(5, 25)
- ParticleEmitter7.Speed = NumberRange.new(0, 0)
- ParticleEmitter7.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
- ParticleEmitter8.Name = "Fire2"
- ParticleEmitter8.Parent = Part2
- ParticleEmitter8.Rotation = NumberRange.new(0, 5)
- ParticleEmitter8.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
- ParticleEmitter8.LightEmission = 1
- ParticleEmitter8.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter8.Acceleration = Vector3.new(0, 8, 0)
- ParticleEmitter8.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter8.Rate = 1000
- ParticleEmitter8.RotSpeed = NumberRange.new(5, 25)
- ParticleEmitter8.Speed = NumberRange.new(0, 0)
- ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
- ParticleEmitter9.Name = "Fire1"
- ParticleEmitter9.Parent = Part2
- ParticleEmitter9.Rotation = NumberRange.new(0, 5)
- ParticleEmitter9.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter9.Color = ColorSequence.new(Color3.new(0, 0, 1),Color3.new(0.0980392, 0.0980392, 0.0980392))
- ParticleEmitter9.LightEmission = 1
- ParticleEmitter9.Texture = "rbxasset://textures/particles/smoke_main.dds"
- ParticleEmitter9.Acceleration = Vector3.new(0, 8, 0)
- ParticleEmitter9.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
- ParticleEmitter9.Rate = 1000
- ParticleEmitter9.RotSpeed = NumberRange.new(5, 25)
- ParticleEmitter9.Speed = NumberRange.new(0, 0)
- ParticleEmitter9.Color = ColorSequence.new(Color3.new(0, 0, 1),Color3.new(0.0980392, 0.0980392, 0.0980392))
- Part10.Name = "Middle"
- Part10.Parent = Model1
- Part10.BrickColor = BrickColor.new("Dark stone grey")
- Part10.Transparency = 2
- Part10.Anchored = true
- Part10.FormFactor = Enum.FormFactor.Plate
- Part10.Size = Vector3.new(0.300000012, 4.4000001, 0.400000006)
- Part10.CFrame = CFrame.new(2.61999989, 2.200032, 34407.6484, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part10.Position = Vector3.new(2.61999989, 2.200032, 34407.6484)
- Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh11.Parent = Part10
- SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=121119370"
- SpecialMesh11.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- SpecialMesh11.TextureId = "http://www.roblox.com/asset/?id=341700381"
- SpecialMesh11.MeshType = Enum.MeshType.FileMesh
- SpecialMesh11.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- Part12.Name = "Baseplate"
- Part12.Parent = Model0
- Part12.Material = Enum.Material.Grass
- Part12.BrickColor = BrickColor.new("Shamrock")
- Part12.Anchored = true
- Part12.Locked = true
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.Size = Vector3.new(700, 1.20000005, 700)
- Part12.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Part12.Position = Vector3.new(0, -10, 0)
- Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
- Attachment13.Name = "Attachment1"
- Attachment13.Parent = Part12
- Attachment13.Rotation = Vector3.new(-0, -90, 0)
- Attachment13.CFrame = CFrame.new(0.099999994, 10, -0.370000005, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Attachment13.Position = Vector3.new(0.099999994, 10, -0.370000005)
- Attachment13.Axis = Vector3.new(0, 0, 1)
- Attachment13.Orientation = Vector3.new(-0, -90, 0)
- Script14.Name = "Arm1"
- Script14.Parent = Part12
- table.insert(cors,sandbox(Script14,function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
- local g = script.Parent.Parent.Arm1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" or "UnionOperation" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Left Arm"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" or "UnionOperation" then
- h[i].Anchored = false
- h[i].CanCollide = false
- wait(1)
- script.Disabled = true
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- 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