SHOW:
|
|
- or go back to the newest paste.
1 | - | local onfire = {} |
1 | + | |
2 | local tweenService = game:GetService("TweenService") | |
3 | - | local oldcf |
3 | + | |
4 | Part1.Transparency = 1 | |
5 | - | Tool = Instance.new("Tool") |
5 | + | Part1.Parent = script |
6 | Part1.Size = Vector3.new(5,1,5) | |
7 | Part1.CanTouch = false | |
8 | - | Part1.Name = "Handle" |
8 | + | |
9 | - | Part1.Parent = Tool |
9 | + | Part1.CFrame = CFrame.new(0,1,10) |
10 | - | Part1.Size = Vector3.new(1.227,2.77875,9.54375) |
10 | + | Part1.Anchored = true |
11 | - | Part2.Parent = Part1 |
11 | + | for i = 1,10 do |
12 | - | Part2.Size = Vector3.new(0.25,0.675,0.675) |
12 | + | |
13 | - | Part2.CanCollide = false |
13 | + | Part2.Parent = script |
14 | Part2.Size = Vector3.new(1,1,2) | |
15 | Part2.CanTouch = false | |
16 | Part2.Massless = true | |
17 | - | Part2.Name = "Comedy" |
17 | + | Part2.CFrame = Part1.CFrame * CFrame.new(math.random(-1,1),0,math.random(-1,1)) * CFrame.Angles(math.rad(math.random(-35,35)),math.rad(math.random(-35,35)),math.rad(math.random(-35,35))) |
18 | - | Tool.Name = "A R S O N" |
18 | + | Part2.Anchored = true |
19 | end | |
20 | - | weld = Instance.new("Weld",Part1) |
20 | + | |
21 | - | weld.Part0 = Part2 |
21 | + | |
22 | - | weld.Part1 = Part1 |
22 | + | |
23 | - | weld.C0 = CFrame.Angles(0,0,math.rad(-7.5)) * CFrame.new(4,-0.585,0) * CFrame.Angles(0,math.rad(90),0) |
23 | + | |
24 | - | Part2.Shape = Enum.PartType.Cylinder |
24 | + | |
25 | - | Part2.Color = Color3.fromRGB(0,0,0) |
25 | + | |
26 | - | Part2.Material = Enum.Material.SmoothPlastic |
26 | + | |
27 | - | Mesh = Instance.new("SpecialMesh") |
27 | + | local Flame = Instance.new("SpawnLocation", owner.Character) |
28 | - | Mesh.Parent = Part1 |
28 | + | |
29 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=6798507520" |
29 | + | |
30 | - | Mesh.TextureId = "http://www.roblox.com/asset/?id=6798507601" |
30 | + | |
31 | - | Mesh.Scale = Vector3.new(0.75,0.75,0.75) |
31 | + | Flame.CFrame = Part1.CFrame |
32 | - | Tool.GripPos = Vector3.new(0,0,3) |
32 | + | |
33 | - | Tool.Parent = owner.Character |
33 | + | |
34 | - | local BURNAHAHAH = Instance.new("Sound", Part1) |
34 | + | |
35 | - | BURNAHAHAH.SoundId = "rbxassetid://7367431777" |
35 | + | |
36 | - | BURNAHAHAH.Volume = 0.75 |
36 | + | |
37 | - | local Woosh = Instance.new("Sound", Part1) |
37 | + | |
38 | - | Woosh.SoundId = "rbxassetid://411274847" |
38 | + | |
39 | - | Woosh.Volume = 1.35 |
39 | + | |
40 | - | Woosh.PlaybackSpeed = 1.35 |
40 | + | |
41 | - | BURNAHAHAH.Looped = true |
41 | + | |
42 | goal.CFrame = Flame.CFrame * CFrame.new(math.random(-1,1),1,math.random(-1,1)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
43 | local tween = tweenService:Create(object, tweenInfo, goal) | |
44 | tween:Play() | |
45 | local timeToFade2 = 2 | |
46 | - | function thinghere(plr,action) |
46 | + | |
47 | - | if action == "Down" then |
47 | + | |
48 | - | airblast = true |
48 | + | |
49 | - | elseif action == "up" then |
49 | + | |
50 | local tween2 = tweenService:Create(object2, tweenInfo2, goal2) | |
51 | local goal3 = {} | |
52 | goal3.Transparency = 1 | |
53 | - | Tool.Equipped:Connect(function() |
53 | + | |
54 | - | toolout = true |
54 | + | |
55 | tween3:Play() | |
56 | coroutine.wrap(function() | |
57 | - | Tool.Unequipped:Connect(function() |
57 | + | |
58 | Flame.Touched:Connect(function(hit) | |
59 | - | Part1.CanTouch = true |
59 | + | |
60 | if hit.Name ~= "Flameslol" or hit.Name ~= "Flameslol2" or hit.Name ~= "Comedy" or hit.Name ~= "Handle" or hit ~= owner.Character:GetDescendants() then | |
61 | - | Tool.Activated:Connect(function() |
61 | + | |
62 | - | if not airblast then |
62 | + | |
63 | for i = 1, 40 do | |
64 | - | BURNAHAHAH:Play() |
64 | + | |
65 | - | elseif airblast then |
65 | + | |
66 | - | Woosh:Play() |
66 | + | |
67 | - | on2 = true |
67 | + | |
68 | - | wait(0.75) |
68 | + | |
69 | Flame2.CFrame = hit.CFrame * CFrame.new(0,2,0) | |
70 | Flame2.CanCollide = false | |
71 | Flame2.Color = Color3.fromRGB(255, 50, 50) | |
72 | - | Tool.Deactivated:Connect(function() |
72 | + | |
73 | coroutine.wrap(function() | |
74 | - | BURNAHAHAH:Stop() |
74 | + | |
75 | Flame2.Touched:Connect(function(hit) | |
76 | - | print("Z to change between airblast and flames") |
76 | + | |
77 | - | warn("Flames? More like ARSON") |
77 | + | |
78 | - | warn("Made by Lucas_YT111 / Haker Man") |
78 | + | |
79 | - | local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent") |
79 | + | |
80 | - | count = 0 |
80 | + | for i = 1, 40 do |
81 | - | local Mouse = owner:GetMouse() |
81 | + | |
82 | - | function ButtonDown(key) |
82 | + | |
83 | - | if key == "z" then |
83 | + | Flame5 = Flame2:Clone() |
84 | - | count = count + 1 |
84 | + | Flame5.Transparency = 0 |
85 | - | if count == 1 then |
85 | + | |
86 | - | E:FireServer("Down",Mouse.Target) |
86 | + | |
87 | - | elseif count == 2 then |
87 | + | |
88 | - | E:FireServer("up") |
88 | + | |
89 | - | count = 0 |
89 | + | |
90 | goal4.CFrame = Flame5.CFrame * CFrame.new(math.random(-3,3),3.5,math.random(-3,3)) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
91 | - | end |
91 | + | |
92 | - | end |
92 | + | |
93 | - | Mouse.KeyDown:Connect(ButtonDown) |
93 | + | |
94 | - | ]],owner.PlayerGui)) |
94 | + | |
95 | - | E.OnServerEvent:Connect(thinghere) |
95 | + | |
96 | local goal5 = {} | |
97 | goal5.Color = Color3.fromRGB(255, 155, 0) | |
98 | - | if toolout then |
98 | + | |
99 | - | if not airblast then |
99 | + | |
100 | - | local Flame3 = Instance.new("SpawnLocation", script) |
100 | + | |
101 | - | Flame3.Size = Vector3.new(0.1,0.1,0.1) |
101 | + | |
102 | - | Flame3.Neutral = false |
102 | + | |
103 | - | Flame3.Enabled = false |
103 | + | |
104 | - | Flame3.CFrame = Part1.CFrame * CFrame.new(-0.375,0,-4.575) |
104 | + | |
105 | - | Flame3.CanCollide = false |
105 | + | |
106 | - | Flame3.Color = Color3.fromRGB(255, 50, 50) |
106 | + | |
107 | - | Flame3.Material = "Neon" |
107 | + | |
108 | - | Flame3.Anchored = true |
108 | + | |
109 | - | Flame3.Name = "Flameslol" |
109 | + | |
110 | - | game:GetService("Debris"):AddItem(Flame3,1) |
110 | + | |
111 | - | local timeToFade6 = 1 |
111 | + | |
112 | - | local object6 = Flame3 |
112 | + | local timeToFade5 = 7.5 |
113 | - | local tweenInfo6 = TweenInfo.new(timeToFade6) |
113 | + | |
114 | - | local goal8 = {} |
114 | + | |
115 | - | goal8.CFrame = Flame3.CFrame * CFrame.new(math.random(-0.5,0.5),0.75,-0.25) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
115 | + | |
116 | - | local tween8 = tweenService:Create(object6, tweenInfo6, goal8) |
116 | + | |
117 | - | tween8:Play() |
117 | + | |
118 | - | local goal9 = {} |
118 | + | |
119 | - | goal9.Color = Color3.fromRGB(255, 155, 0) |
119 | + | |
120 | - | local tween9 = tweenService:Create(object6, tweenInfo6, goal9) |
120 | + | |
121 | - | local goal10 = {} |
121 | + | elseif i == 40 then |
122 | - | goal10.Transparency = 1 |
122 | + | |
123 | - | local tween10 = tweenService:Create(object6, tweenInfo6, goal10) |
123 | + | |
124 | - | tween9:Play() |
124 | + | |
125 | - | tween10:Play() |
125 | + | |
126 | - | elseif airblast then |
126 | + | |
127 | - | local Flame3 = Instance.new("SpawnLocation", script) |
127 | + | |
128 | - | Flame3.Size = Vector3.new(0.1,0.1,0.1) |
128 | + | |
129 | - | Flame3.Neutral = false |
129 | + | |
130 | - | Flame3.Enabled = false |
130 | + | |
131 | - | Flame3.CFrame = Part1.CFrame * CFrame.new(-0.375,0,-4.575) |
131 | + | |
132 | - | Flame3.CanCollide = false |
132 | + | |
133 | - | Flame3.Color = Color3.fromRGB(255, 255, 255) |
133 | + | |
134 | - | Flame3.Transparency = 0.45 |
134 | + | |
135 | - | Flame3.Material = "Neon" |
135 | + | |
136 | - | Flame3.Anchored = true |
136 | + | |
137 | - | Flame3.Name = "Flameslol" |
137 | + | |
138 | - | game:GetService("Debris"):AddItem(Flame3,1) |
138 | + | |
139 | - | local timeToFade6 = 1 |
139 | + | |
140 | - | local object6 = Flame3 |
140 | + | |
141 | - | local tweenInfo6 = TweenInfo.new(timeToFade6) |
141 | + | |
142 | - | local goal8 = {} |
142 | + | |
143 | - | goal8.CFrame = Flame3.CFrame * CFrame.new(math.random(-0.5,0.5),0.75,-0.25) * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
143 | + | |
144 | - | local tween8 = tweenService:Create(object6, tweenInfo6, goal8) |
144 | + | |
145 | - | tween8:Play() |
145 | + | |
146 | - | local goal9 = {} |
146 | + | |
147 | - | goal9.Color = Color3.fromRGB(200, 200, 200) |
147 | + | |
148 | - | local tween9 = tweenService:Create(object6, tweenInfo6, goal9) |
148 | + | |
149 | - | local goal10 = {} |
149 | + | |
150 | - | goal10.Transparency = 1 |
150 | + | |
151 | - | local tween10 = tweenService:Create(object6, tweenInfo6, goal10) |
151 | + | |
152 | - | tween9:Play() |
152 | + | |
153 | - | tween10:Play() |
153 | + | |
154 | AAAAAAIMBURNING:Play() | |
155 | end) | |
156 | local timeToFade5 = 7.5 | |
157 | - | if on then |
157 | + | |
158 | - | local Flame = Instance.new("SpawnLocation", script) |
158 | + | |
159 | local goal7 = {} | |
160 | goal7.Color = Color3.fromRGB(0,0,0) | |
161 | local tween7 = tweenService:Create(object5, tweenInfo5, goal7) | |
162 | - | if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then |
162 | + | |
163 | - | Flame.CFrame = Part1.CFrame * CFrame.new(0,0.5,-5.5) |
163 | + | |
164 | - | elseif owner.Character.Humanoid.MoveDirection ~= Vector3.new(0,0,0) then |
164 | + | |
165 | - | Flame.CFrame = Part1.CFrame * CFrame.new(0,0.5,-8.5) |
165 | + | elseif i == 40 then |
166 | hit:Destroy() | |
167 | end | |
168 | end | |
169 | end | |
170 | end | |
171 | end | |
172 | end) | |
173 | end)() | |
174 | end |