View difference between Paste ID: 8Lxnneqx and aQTtfveP
SHOW: | | - or go back to the newest paste.
1
--Converted with ttyyuu12345's model to script plugin v4
2
function sandbox(var,func)
3
	local env = getfenv(func)
4
	local newenv = setmetatable({},{
5
		__index = function(self,k)
6
			if k=="script" then
7
				return var
8
			else
9
				return env[k]
10
			end
11
		end,
12
	})
13
	setfenv(func,newenv)
14
	return func
15
end
16
cors = {}
17
mas = Instance.new("Model",game:GetService("Lighting"))
18
Tool0 = Instance.new("Tool")
19
Part1 = Instance.new("Part")
20
BlockMesh2 = Instance.new("BlockMesh")
21
PointLight3 = Instance.new("PointLight")
22
Weld4 = Instance.new("Weld")
23
Weld5 = Instance.new("Weld")
24
ParticleEmitter6 = Instance.new("ParticleEmitter")
25
Part7 = Instance.new("Part")
26
BlockMesh8 = Instance.new("BlockMesh")
27
Part9 = Instance.new("Part")
28
Decal10 = Instance.new("Decal")
29
Decal11 = Instance.new("Decal")
30
Decal12 = Instance.new("Decal")
31
Decal13 = Instance.new("Decal")
32
Decal14 = Instance.new("Decal")
33
BlockMesh15 = Instance.new("BlockMesh")
34
Texture16 = Instance.new("Texture")
35
Tool0.Name = "Torch"
36
Tool0.Parent = mas
37
Part1.Name = "FireEnd"
38
Part1.Parent = Tool0
39
Part1.CFrame = CFrame.new(-131.15564, 6.69996834, -143.872559, 0.999999642, 0, 0, 0, 0.999999642, 0, 0, 0, 1)
40
Part1.Position = Vector3.new(-131.15564, 6.69996834, -143.872559)
41
Part1.Transparency = 1
42
Part1.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
43
Part1.BottomSurface = Enum.SurfaceType.Smooth
44
Part1.CanCollide = false
45
Part1.TopSurface = Enum.SurfaceType.Smooth
46
Part1.FormFactor = Enum.FormFactor.Custom
47
Part1.formFactor = Enum.FormFactor.Custom
48
BlockMesh2.Parent = Part1
49
BlockMesh2.Scale = Vector3.new(2.5, 1.5, 1)
50
PointLight3.Parent = Part1
51
PointLight3.Color = Color3.new(1, 0.333333, 0)
52
Weld4.Name = "BTWeld"
53
Weld4.Parent = Part1
54
Weld4.C1 = CFrame.new(0, 0.999999523, -0.0439910889, 0.999999821, 0, 0, 0, 0.999999821, 0, 0, 0, 1)
55
Weld4.Part0 = Part1
56
Weld4.Part1 = Part9
57
Weld4.part1 = Part9
58
Weld5.Name = "BTWeld"
59
Weld5.Parent = Part1
60
Weld5.C1 = CFrame.new(0, -1.19999647, 0, 0.999999642, 0, 0, 0, 0.999999642, 0, 0, 0, 1)
61
Weld5.Part0 = Part1
62
Weld5.Part1 = Part7
63
Weld5.part1 = Part7
64
ParticleEmitter6.Parent = Part1
65
ParticleEmitter6.Speed = NumberRange.new(4, 4)
66
ParticleEmitter6.LightInfluence = 1
67
ParticleEmitter6.Texture = "http://www.roblox.com/asset/?ID=61212160"
68
ParticleEmitter6.Size = NumberSequence.new(1,0.9375,0.43749988079071,0.3125,0.18750011920929,0,0,0)
69
ParticleEmitter6.Lifetime = NumberRange.new(0.75, 0.75)
70
ParticleEmitter6.LockedToPart = true
71-
ParticleEmitter6.Rate = 35
71+
ParticleEmitter6.Rate = 15
72
Part7.Name = "FireStart"
73
Part7.Parent = Tool0
74
Part7.CFrame = CFrame.new(-131.15564, 7.89996386, -143.872559, 0.999999285, 0, 0, 0, 0.999999285, 0, 0, 0, 1)
75
Part7.Position = Vector3.new(-131.15564, 7.89996386, -143.872559)
76
Part7.Transparency = 1
77
Part7.Size = Vector3.new(0.200000003, 0.200000003, 0.600000024)
78
Part7.BottomSurface = Enum.SurfaceType.Smooth
79
Part7.CanCollide = false
80
Part7.TopSurface = Enum.SurfaceType.Smooth
81
Part7.FormFactor = Enum.FormFactor.Custom
82
Part7.formFactor = Enum.FormFactor.Custom
83
BlockMesh8.Parent = Part7
84
BlockMesh8.Scale = Vector3.new(2.5, 1.5, 1)
85
Part9.Name = "Handle"
86
Part9.Parent = Tool0
87
Part9.CFrame = CFrame.new(-131.15564, 5.69996881, -143.828568, 0.999999821, 0, 0, 0, 0.999999821, 0, 0, 0, 1)
88
Part9.Position = Vector3.new(-131.15564, 5.69996881, -143.828568)
89
Part9.Color = Color3.new(0.960784, 0.803922, 0.188235)
90
Part9.Size = Vector3.new(0.200000003, 1.4000001, 0.600000024)
91
Part9.BottomSurface = Enum.SurfaceType.Smooth
92
Part9.BrickColor = BrickColor.new("Bright yellow")
93
Part9.Material = Enum.Material.Foil
94
Part9.TopSurface = Enum.SurfaceType.Smooth
95
Part9.brickColor = BrickColor.new("Bright yellow")
96
Part9.FormFactor = Enum.FormFactor.Custom
97
Part9.formFactor = Enum.FormFactor.Custom
98
Decal10.Parent = Part9
99
Decal10.Texture = "http://www.roblox.com/asset/?id=61211168"
100
Decal10.Transparency = 0.30000001192093
101
Decal10.Face = Enum.NormalId.Top
102
Decal11.Parent = Part9
103
Decal11.Texture = "http://www.roblox.com/asset/?id=61211135"
104
Decal11.Transparency = 0.30000001192093
105
Decal11.Face = Enum.NormalId.Back
106
Decal12.Parent = Part9
107
Decal12.Texture = "http://www.roblox.com/asset/?id=61211135"
108
Decal12.Transparency = 0.30000001192093
109
Decal12.Face = Enum.NormalId.Right
110
Decal13.Parent = Part9
111
Decal13.Texture = "http://www.roblox.com/asset/?id=61211135"
112
Decal13.Transparency = 0.30000001192093
113
Decal14.Parent = Part9
114
Decal14.Texture = "http://www.roblox.com/asset/?id=61211135"
115
Decal14.Transparency = 0.30000001192093
116
Decal14.Face = Enum.NormalId.Left
117
BlockMesh15.Parent = Part9
118
BlockMesh15.Scale = Vector3.new(2.5, 1.5, 1)
119
Texture16.Parent = Part9
120
Texture16.Texture = "http://www.roblox.com/asset/?id=15845700"
121
Texture16.Transparency = 0.30000001192093
122
Texture16.Face = Enum.NormalId.Bottom
123
Texture16.StudsPerTileU = 4
124
Texture16.StudsPerTileV = 4
125
for i,v in pairs(mas:GetChildren()) do
126
	v.Parent = owner.Backpack
127
	pcall(function() v:MakeJoints() end)
128
end
129
mas:Destroy()
130
for i,v in pairs(cors) do
131
	spawn(function()
132
		pcall(v)
133
	end)
134
end