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"))
- Tool0 = Instance.new("Tool")
- ParticleEmitter1 = Instance.new("ParticleEmitter")
- ParticleEmitter2 = Instance.new("ParticleEmitter")
- PointLight3 = Instance.new("PointLight")
- ParticleEmitter4 = Instance.new("ParticleEmitter")
- Weld5 = Instance.new("Weld")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- Weld7 = Instance.new("Weld")
- Sound8 = Instance.new("Sound")
- Script9 = Instance.new("Script")
- BoolValue10 = Instance.new("BoolValue")
- Tool0.Name = "NOUVEAU COMET LIGHTER"
- Tool0.Parent = mas
- Tool0.GripPos = Vector3.new(0.200000003, -0.200000003, 0.100000001)
- Tool0.ToolTip = "The world under a nouvaeu comet. Freezing, decaying."
- ParticleEmitter1.Name = "Fire"
- ParticleEmitter1.Parent = mas
- ParticleEmitter1.Transparency = NumberSequence.new(0,0.21249997615814,0.54999995231628,1)
- ParticleEmitter1.Size = NumberSequence.new(17,17)
- ParticleEmitter1.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0.384314, 1))
- ParticleEmitter1.Enabled = false
- ParticleEmitter1.LightEmission = 4444
- ParticleEmitter1.Texture = "http://www.roblox.com/asset/?id=242102147"
- ParticleEmitter1.ZOffset = 0.25
- ParticleEmitter1.Acceleration = Vector3.new(13, 13, 13)
- ParticleEmitter1.Lifetime = NumberRange.new(0.89999997615814, 2)
- ParticleEmitter1.Rate = 800
- ParticleEmitter1.RotSpeed = NumberRange.new(500, 500)
- ParticleEmitter1.Speed = NumberRange.new(60, 110)
- ParticleEmitter1.VelocitySpread = 2000
- ParticleEmitter1.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0.384314, 1))
- ParticleEmitter2.Name = "Flare"
- ParticleEmitter2.Parent = mas
- ParticleEmitter2.Transparency = NumberSequence.new(0.40000000596046,0.40000000596046)
- ParticleEmitter2.Size = NumberSequence.new(20,20)
- ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.0666667, 0, 1),Color3.new(0, 1, 0))
- ParticleEmitter2.Enabled = false
- ParticleEmitter2.LightEmission = 20
- ParticleEmitter2.Texture = "rbxassetid://313320361"
- ParticleEmitter2.ZOffset = 0.75
- ParticleEmitter2.Acceleration = Vector3.new(30, 30, 30)
- ParticleEmitter2.Rate = 200
- ParticleEmitter2.RotSpeed = NumberRange.new(170, 170)
- ParticleEmitter2.Speed = NumberRange.new(30, 30)
- ParticleEmitter2.VelocitySpread = 3500
- ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.0666667, 0, 1),Color3.new(0, 1, 0))
- PointLight3.Name = "Light"
- PointLight3.Parent = mas
- PointLight3.Color = Color3.new(1, 0.733333, 0.733333)
- PointLight3.Enabled = false
- PointLight3.Brightness = 100
- PointLight3.Range = 50
- PointLight3.Shadows = true
- PointLight3.Color = Color3.new(1, 0.733333, 0.733333)
- ParticleEmitter4.Name = "Sparks"
- ParticleEmitter4.Parent = mas
- ParticleEmitter4.Transparency = NumberSequence.new(0.94999998807907,0.94999998807907)
- ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.996078, 0.858824),Color3.new(1, 0.666667, 0))
- ParticleEmitter4.Enabled = false
- ParticleEmitter4.LightEmission = 20
- ParticleEmitter4.Texture = "http://www.roblox.com/asset/?id=313320361"
- ParticleEmitter4.ZOffset = 0.5
- ParticleEmitter4.Acceleration = Vector3.new(0, 50, 0)
- ParticleEmitter4.Lifetime = NumberRange.new(30, 30)
- ParticleEmitter4.Rate = 250
- ParticleEmitter4.RotSpeed = NumberRange.new(1000, 1000)
- ParticleEmitter4.Speed = NumberRange.new(20, 20)
- ParticleEmitter4.VelocitySpread = 4000
- ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.996078, 0.858824),Color3.new(1, 0.666667, 0))
- Weld5.Parent = mas
- Weld5.C0 = CFrame.new(46.6029015, -0.981977582, 13.5999947, 0.999998987, -5.96046448e-08, 0, 5.96046448e-08, 0.999999106, 3.05363756e-07, -7.10542736e-15, -3.05363415e-07, 0.999999881)
- Weld5.C1 = CFrame.new(46.6734695, -0.501976013, 13.6000023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld5.Part0 = nil
- Weld5.Part1 = nil
- ParticleEmitter6.Name = "SecondPlane"
- ParticleEmitter6.Parent = mas
- ParticleEmitter6.Transparency = NumberSequence.new(0.80000001192093,0.80000001192093)
- ParticleEmitter6.Size = NumberSequence.new(50,50)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.215686, 1))
- ParticleEmitter6.Enabled = false
- ParticleEmitter6.Texture = "rbxassetid://313320361"
- ParticleEmitter6.ZOffset = 0.25
- ParticleEmitter6.Lifetime = NumberRange.new(10, 10)
- ParticleEmitter6.Rate = 4
- ParticleEmitter6.RotSpeed = NumberRange.new(100, 300)
- ParticleEmitter6.Speed = NumberRange.new(80, 80)
- ParticleEmitter6.VelocitySpread = 100
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.215686, 1))
- Weld7.Parent = mas
- Weld7.C0 = CFrame.new(46.6734695, -0.501976013, 13.6000023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.C1 = CFrame.new(13.0043669, 44.4466515, 13.6000023, 0.258818865, -0.965925395, 0, 0.965925395, 0.258818865, 0, 0, 0, 1)
- Weld7.Part0 = nil
- Weld7.Part1 = nil
- Sound8.Name = "Spark"
- Sound8.Parent = mas
- Sound8.Pitch = 0.69999998807907
- Sound8.SoundId = "rbxassetid://912807549"
- Sound8.TimePosition = 1
- Sound8.Volume = 10
- Script9.Parent = Tool0
- table.insert(cors,sandbox(Script9,function()
- Tool = script.Parent
- function onActivated()
- if Tool.Fire.Value == false then
- Tool.Effects.Fire.Enabled = true
- Tool.Effects.Flare.Enabled = true
- Tool.Effects.Light.Enabled = true
- Tool.Effects.SecondPlane.Enabled = true
- Spark()
- Tool.Fire.Value = true
- Tool.Enabled = false
- wait(0.25)
- Tool.Enabled = true
- else
- Tool.Effects.Fire.Enabled = false
- Tool.Effects.Flare.Enabled = false
- Tool.Effects.Light.Enabled = false
- Tool.Effects.SecondPlane.Enabled = false
- Tool.Fire.Value = false
- Tool.Enabled = false
- wait(2)
- Tool.Enabled = true
- end
- end
- function Spark()
- Tool.Effects.Sparks.Enabled = true
- Tool.Handle.Spark:Play(10)
- wait(8)
- Tool.Effects.Sparks.Enabled = false
- end
- function onUnequipped()
- Tool.Effects.Fire.Enabled = false
- Tool.Effects.Flare.Enabled = false
- Tool.Effects.Light.Enabled = false
- Tool.Effects.SecondPlane.Enabled = false
- Tool.Fire.Value = false
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Unequipped:connect(onUnequipped)
- end))
- BoolValue10.Name = "Fire"
- BoolValue10.Parent = Tool0
- 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
Add Comment
Please, Sign In to add comment