SHOW:
|
|
- or go back to the newest paste.
1 | --By Rufus14 | |
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | --Anti unholy beings ( i only edit some function im lazy lol ) | |
4 | Tool0 = Instance.new("Tool") | |
5 | Part1 = Instance.new("Part") | |
6 | Part2 = Instance.new("Part") | |
7 | Sound3 = Instance.new("Sound") | |
8 | Sound4 = Instance.new("Sound") | |
9 | Sound5 = Instance.new("Sound") | |
10 | Sound6 = Instance.new("Sound") | |
11 | Sound7 = Instance.new("Sound") | |
12 | Sound8 = Instance.new("Sound") | |
13 | Sound9 = Instance.new("Sound") | |
14 | FlangeSoundEffect10 = Instance.new("FlangeSoundEffect") | |
15 | Sound11 = Instance.new("Sound") | |
16 | Sound12 = Instance.new("Sound") | |
17 | ReverbSoundEffect13 = Instance.new("ReverbSoundEffect") | |
18 | Sound14 = Instance.new("Sound") | |
19 | Weld15 = Instance.new("Weld") | |
20 | Weld16 = Instance.new("Weld") | |
21 | Weld17 = Instance.new("Weld") | |
22 | Sound18 = Instance.new("Sound") | |
23 | Sound19 = Instance.new("Sound") | |
24 | Part20 = Instance.new("Part") | |
25 | Part21 = Instance.new("Part") | |
26 | Script22 = Instance.new("Script") | |
27 | Tool0.Name = "cross" | |
28 | Tool0.ToolTip = "great for banishers" | |
29 | Part1.Name = "ripoffhandle" | |
30 | Part1.Parent = Tool0 | |
31 | Part1.CFrame = CFrame.new(-79.2499695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
32 | Part1.Position = Vector3.new(-79.2499695, 1.10928917, -48.25) | |
33 | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
34 | Part1.Size = Vector3.new(0.5, 0.400000006, 2.5) | |
35 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
36 | Part1.BrickColor = BrickColor.new("Bright yellow") | |
37 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
38 | Part1.brickColor = BrickColor.new("Bright yellow") | |
39 | Part2.Name = "Handle" | |
40 | Part2.Parent = Tool0 | |
41 | Part2.CFrame = CFrame.new(-79.9999695, 1.10928917, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
42 | Part2.Position = Vector3.new(-79.9999695, 1.10928917, -48.25) | |
43 | Part2.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
44 | Part2.Size = Vector3.new(4, 0.400000006, 0.5) | |
45 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
46 | Part2.BrickColor = BrickColor.new("Bright yellow") | |
47 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
48 | Part2.brickColor = BrickColor.new("Bright yellow") | |
49 | Sound3.Name = "hold" | |
50 | Sound3.Parent = Part2 | |
51 | Sound3.SoundId = "rbxassetid://4630548778" | |
52 | Sound3.Volume = 3 | |
53 | Sound4.Name = "BOOM" | |
54 | Sound4.Parent = Part2 | |
55 | Sound4.SoundId = "rbxassetid://141679994" | |
56 | Sound4.Volume = 3 | |
57 | Sound5.Name = "NOSCOPE" | |
58 | Sound5.Parent = Part2 | |
59 | Sound5.SoundId = "rbxassetid://151030090" | |
60 | Sound5.Volume = 2 | |
61 | Sound6.Name = "HEADSHOT" | |
62 | Sound6.Parent = Part2 | |
63 | Sound6.SoundId = "rbxassetid://131313234" | |
64 | Sound6.Volume = 5 | |
65 | Sound7.Name = "HEADSHOT2" | |
66 | Sound7.Parent = Part2 | |
67 | Sound7.SoundId = "rbxassetid://147936251" | |
68 | Sound7.Volume = 4 | |
69 | Sound8.Name = "SHOT" | |
70 | Sound8.Parent = Part2 | |
71 | Sound8.SoundId = "rbxassetid://2756050321" | |
72 | Sound8.Volume = 3 | |
73 | Sound9.Name = "COMPEL" | |
74 | Sound9.Parent = Part2 | |
75 | Sound9.SoundId = "rbxassetid://270657517" | |
76 | Sound9.Volume = 4 | |
77 | FlangeSoundEffect10.Parent = Sound9 | |
78 | FlangeSoundEffect10.Rate = 3.5 | |
79 | FlangeSoundEffect10.Depth = 1 | |
80 | FlangeSoundEffect10.Mix = 1 | |
81 | Sound11.Name = "LAZOR" | |
82 | Sound11.Parent = Part2 | |
83 | Sound11.SoundId = "rbxassetid://167115397" | |
84 | Sound11.Volume = 2 | |
85 | Sound12.Name = "CHARGINN" | |
86 | Sound12.Parent = Part2 | |
87 | Sound12.Looped = true | |
88 | Sound12.SoundId = "rbxassetid://4630548778" | |
89 | Sound12.Volume = 4 | |
90 | ReverbSoundEffect13.Parent = Sound12 | |
91 | Sound14.Name = "NOTGRABKNIFE" | |
92 | Sound14.Parent = Part2 | |
93 | Sound14.SoundId = "rbxassetid://608618332" | |
94 | Sound14.Volume = 10 | |
95 | Weld15.Name = "shiney" | |
96 | Weld15.Parent = Part2 | |
97 | Weld15.C0 = CFrame.new(-2.28881836e-05, 0.224999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
98 | Weld15.Part0 = Part2 | |
99 | Weld15.Part1 = Part21 | |
100 | Weld15.part1 = Part21 | |
101 | Weld16.Name = "shiney2" | |
102 | Weld16.Parent = Part2 | |
103 | Weld16.C0 = CFrame.new(0, 0.224999905, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
104 | Weld16.Part0 = Part1 | |
105 | Weld16.Part1 = Part20 | |
106 | Weld16.part1 = Part20 | |
107 | Weld17.Name = "ripoff" | |
108 | Weld17.Parent = Part2 | |
109 | Weld17.C0 = CFrame.new(0.75, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
110 | Weld17.Part0 = Part2 | |
111 | Weld17.Part1 = Part1 | |
112 | Weld17.part1 = Part1 | |
113 | Sound18.Name = "NOONSFAVMEAL" | |
114 | Sound18.Parent = Part2 | |
115 | Sound18.SoundId = "rbxassetid://1037197054" | |
116 | Sound18.Volume = 4 | |
117 | Sound19.Name = "DEFLECT" | |
118 | Sound19.Parent = Part2 | |
119 | Sound19.SoundId = "rbxassetid://1307059689" | |
120 | Sound19.Volume = 3 | |
121 | Part20.Name = "shiney" | |
122 | Part20.Parent = Tool0 | |
123 | Part20.CFrame = CFrame.new(-79.2499695, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
124 | Part20.Position = Vector3.new(-79.2499695, 1.33428907, -48.25) | |
125 | Part20.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
126 | Part20.Size = Vector3.new(0.300000012, 0.0500000007, 2.30000019) | |
127 | Part20.BottomSurface = Enum.SurfaceType.Smooth | |
128 | Part20.BrickColor = BrickColor.new("Institutional white") | |
129 | Part20.Material = Enum.Material.SmoothPlastic | |
130 | Part20.Reflectance = 1 | |
131 | Part20.TopSurface = Enum.SurfaceType.Smooth | |
132 | Part20.brickColor = BrickColor.new("Institutional white") | |
133 | Part21.Name = "shiney" | |
134 | Part21.Parent = Tool0 | |
135 | Part21.CFrame = CFrame.new(-79.9999924, 1.33428907, -48.25, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
136 | Part21.Position = Vector3.new(-79.9999924, 1.33428907, -48.25) | |
137 | Part21.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
138 | Part21.Size = Vector3.new(3.79999924, 0.0500000007, 0.300000131) | |
139 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
140 | Part21.BrickColor = BrickColor.new("Institutional white") | |
141 | Part21.Material = Enum.Material.SmoothPlastic | |
142 | Part21.Reflectance = 1 | |
143 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
144 | Part21.brickColor = BrickColor.new("Institutional white") | |
145 | Script22.Parent = Tool0 | |
146 | coroutine.wrap(function() | |
147 | --By Rufus14 | |
148 | tool = Tool0 | |
149 | handle = tool.Handle | |
150 | ||
151 | local owner | |
152 | local ownercharacter | |
153 | local rootpart | |
154 | local charhum | |
155 | ||
156 | runservice = game:GetService("RunService") | |
157 | players = game:GetService("Players") | |
158 | ||
159 | equipped = false | |
160 | clicked = false | |
161 | canuse = true | |
162 | lifecheck = false | |
163 | anim = "idle" | |
164 | cananimate = true | |
165 | ||
166 | handle2weld = handle.ripoff | |
167 | handle2c0 = handle2weld.C0 | |
168 | shineyweld = handle.shiney | |
169 | shineyc0 = shineyweld.C0 | |
170 | shiney2weld = handle.shiney2 | |
171 | shiney2c0 = shiney2weld.C0 | |
172 | ||
173 | boomsound = handle.BOOM | |
174 | shootsound = handle.SHOT | |
175 | headshotsound = handle.HEADSHOT | |
176 | headshotsound2 = handle.HEADSHOT2 | |
177 | noscopesound = handle.NOSCOPE | |
178 | chargesound = handle.CHARGINN | |
179 | lasersound = handle.LAZOR | |
180 | deflectsound = handle.DEFLECT | |
181 | equip = handle.NOTGRABKNIFE | |
182 | kfcnwatermelon = handle.NOONSFAVMEAL | |
183 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu = handle.COMPEL | |
184 | music = handle.hold | |
185 | ||
186 | tool.Equipped:connect(function() | |
187 | equipped = true | |
188 | end) | |
189 | tool.Unequipped:connect(function() | |
190 | equipped = false | |
191 | end) | |
192 | -- | |
193 | tool.Activated:connect(function() | |
194 | clicked = true | |
195 | end) | |
196 | tool.Deactivated:connect(function() | |
197 | clicked = false | |
198 | end) | |
199 | ||
200 | tool.Equipped:connect(function() | |
201 | canuse = true | |
202 | equip:Play() | |
203 | local this = owner | |
204 | owner = players:GetPlayerFromCharacter(tool.Parent) | |
205 | ownercharacter = owner.Character | |
206 | rootpart = ownercharacter.HumanoidRootPart | |
207 | charhum = ownercharacter:findFirstChildOfClass("Humanoid") | |
208 | if this ~= owner then | |
209 | if ownercharacter.Head:findFirstChild("chat") then | |
210 | ownercharacter.Head:findFirstChild("chat"):destroy() | |
211 | end | |
212 | local billboard = Instance.new("BillboardGui", ownercharacter.Head) | |
213 | billboard.Adornee = ownercharacter.Head | |
214 | billboard.StudsOffset = Vector3.new(-1, 2.5, 0) | |
215 | billboard.Size = UDim2.new(2,0,1,0) | |
216 | billboard.Name = "chat" | |
217 | local text = Instance.new("TextLabel", billboard) | |
218 | text.BackgroundTransparency = 1 | |
219 | text.TextStrokeTransparency = 0 | |
220 | text.TextStrokeColor3 = Color3.fromRGB(255,255,255) | |
221 | text.TextSize = 25 | |
222 | text.TextStrokeColor3 = Color3.fromRGB(0,0,0) | |
223 | text.Size = billboard.Size | |
224 | text.Font = "Code" | |
225 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
226 | text.Text = "protection" | |
227 | coroutine.wrap(function() | |
228 | for i = 1,200 do | |
229 | billboard.StudsOffset = billboard.StudsOffset - Vector3.new(0,-0.0025,0) | |
230 | text.TextTransparency = text.TextTransparency + 0.007 | |
231 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.007 | |
232 | runservice.Stepped:wait() | |
233 | end | |
234 | billboard:destroy() | |
235 | end)() | |
236 | end | |
237 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
238 | rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0) | |
239 | if not lifecheck then | |
240 | - | music.SoundId = "rbxassetid://4361093477" |
240 | + | music.SoundId = "rbxassetid://4630548778" |
241 | elseif lifecheck and lifecheck ~= "indeed" then | |
242 | music.SoundId = "rbxassetid://2913619435" | |
243 | elseif lifecheck == "indeed" then | |
244 | music.SoundId = "rbxassetid://295754240" | |
245 | end | |
246 | music:Resume() | |
247 | if lifecheck == "indeed" then | |
248 | anim = "idle" | |
249 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
250 | rightarm.Part0 = ownercharacter.Torso | |
251 | rightarm.Part1 = ownercharacter["Right Arm"] | |
252 | rightarm.C0 = CFrame.new(1.5,0,0) | |
253 | rightarm.Name = "RightArmWeldcross" | |
254 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
255 | leftarm.Part0 = ownercharacter.Torso | |
256 | leftarm.Part1 = ownercharacter["Left Arm"] | |
257 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
258 | leftarm.Name = "LeftArmWeldcross" | |
259 | local head = Instance.new("Weld", ownercharacter.Torso) | |
260 | head.Part0 = ownercharacter.Torso | |
261 | head.Part1 = ownercharacter.Head | |
262 | head.C0 = CFrame.new(0,1.5,0) | |
263 | head.Name = "HeadWeldcross" | |
264 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
265 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
266 | humanoidrootpart.Part1 = ownercharacter.Torso | |
267 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
268 | coroutine.wrap(function() | |
269 | while equipped and lifecheck == "indeed" and runservice.Stepped:wait() do | |
270 | if cananimate then | |
271 | local absvel = rootpart.CFrame:vectorToObjectSpace(rootpart.Velocity) | |
272 | if anim == "idle" then | |
273 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
274 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.874992371, 0.141008854, -0.596240997, 0.50000006, 0.750001609, 0.433009773, -0.150381878, 0.567591846, -0.809459567, -0.852868795, 0.33961302, 0.396582663),0.15) | |
275 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.2557373, -0.044418335, -0.835590363, 0.934456587, -0.2350021, -0.267516464, -0.0593904369, 0.637900949, -0.767825007, 0.351089478, 0.733386993, 0.58213377),0.15) | |
276 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807849, 0, 0.173648179, 0, 1, 0, -0.173648193, 0, 0.984807849) * CFrame.fromEulerAnglesXYZ(absvel.z/100,0,-absvel.x/100),0.15) | |
277 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.984807789, 0, -0.173648179, 0, 1, 0, 0.173648179, 0, 0.984807789),0.15) | |
278 | runservice.Stepped:wait() | |
279 | elseif anim == "scope" then | |
280 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
281 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.809280396, 0.364839554, -0.920059204, 0.191511169, 0.972948372, 0.12920922, -0.116976522, 0.153333753, -0.981226504, -0.974494755, 0.17280136, 0.143177241),0.15) | |
282 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.49999619, 0.41317153, -0.492401123, 1, 0, 0, 0, 0.173646122, -0.984808087, 0, 0.984808207, 0.173646107),0.15) | |
283 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648149, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173648134),0.15) | |
284 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998379, 0, 0.173648149, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648149),0.15) | |
285 | runservice.Stepped:wait() | |
286 | elseif anim == "shoot" then | |
287 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
288 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.921146393, 1.04831123, -0.980117798, 0.191510394, 0.724376798, -0.662268221, -0.116975948, -0.653091669, -0.748176575, -0.974494457, 0.220755547, -0.0403396413),0.15) | |
289 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.65689468, 0.365976334, 0.224777222, 0.499998748, 0.813797832, 0.296194881, -0.150380298, 0.418411076, -0.895711064, -0.852868319, 0.403317034, 0.33158794),0.15) | |
290 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.163175866, 0.0593911558, -0.98480773, -0.342016339, 0.939682305, 0, 0.925416529, 0.336824059, 0.173648134),0.15) | |
291 | head.C0 = head.C0:lerp(CFrame.new(-0.16840744, 1.46983147, -0.0297012329, 0.173647925, -0.336824208, 0.925416589, 6.14207295e-07, 0.939692736, 0.342020094, -0.984807849, -0.0593905188, 0.163175866),0.15) | |
292 | runservice.Stepped:wait() | |
293 | end | |
294 | end | |
295 | end | |
296 | rightarm:destroy() | |
297 | leftarm:destroy() | |
298 | head:destroy() | |
299 | humanoidrootpart:destroy() | |
300 | end)() | |
301 | end | |
302 | coroutine.wrap(function() | |
303 | local function makeff() | |
304 | local canfieldanim = true | |
305 | local field = Instance.new("Part", workspace) | |
306 | if lifecheck == "indeed" then | |
307 | field.Size = Vector3.new(30,30,30) | |
308 | field.BrickColor = BrickColor.new("Institutional white") | |
309 | field.Material = "Neon" | |
310 | elseif lifecheck and lifecheck ~= "indeed" then | |
311 | field.Size = Vector3.new(20,20,20) | |
312 | field.BrickColor = BrickColor.new("Institutional white") | |
313 | elseif not lifecheck then | |
314 | field.Size = Vector3.new(150,150,150) | |
315 | field.BrickColor = BrickColor.new("New Yeller") | |
316 | end | |
317 | field.CanCollide = false | |
318 | field.Anchored = true | |
319 | field.Name = "omg"..string.lower(owner.Name) | |
320 | field.Shape = "Ball" | |
321 | field.Material = "ForceField" | |
322 | field.Transparency = 1 | |
323 | local function deflect(WHO) | |
324 | if WHO:findFirstChild("Head") then | |
325 | if WHO.Head:findFirstChild("fuckoff") then return end | |
326 | if canfieldanim then | |
327 | canfieldanim = false | |
328 | deflectsound:Play() | |
329 | field.Transparency = 0 | |
330 | coroutine.wrap(function() | |
331 | for i = 1,40 do | |
332 | field.Transparency = field.Transparency + 0.025 | |
333 | runservice.Stepped:wait() | |
334 | end | |
335 | canfieldanim = true | |
336 | end)() | |
337 | end | |
338 | WHO.Head.CFrame = CFrame.new(WHO.Head.Position, handle.Position) | |
339 | local velocity = Instance.new("BodyVelocity", WHO.Head) | |
340 | velocity.Name = "fuckoff" | |
341 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
342 | velocity.Velocity = WHO.Head.CFrame.lookVector * -70 | |
343 | game.Debris:AddItem(velocity, 0.2) | |
344 | end | |
345 | end | |
346 | field.Touched:connect(function(WHAT) | |
347 | if WHAT.Parent ~= ownercharacter then | |
348 | if string.find(string.lower(WHAT.Parent.Name), "furry") then | |
349 | deflect(WHAT.Parent) | |
350 | end | |
351 | if string.find(string.lower(WHAT.Parent.Name), "krit2552") then | |
352 | deflect(WHAT.Parent) | |
353 | end | |
354 | - | if string.find(string.lower(WHAT.Parent.Name), "sick:Play()") then |
354 | + | if string.find(string.lower(WHAT.Parent.Name), "rosillies") then |
355 | deflect(WHAT.Parent) | |
356 | end | |
357 | if string.find(string.lower(WHAT.Parent.Name), "Platon_h") then | |
358 | deflect(WHAT.Parent) | |
359 | end | |
360 | if string.find(string.lower(WHAT.Parent.Name), "foxynason") then | |
361 | deflect(WHAT.Parent) | |
362 | end | |
363 | if string.find(string.lower(WHAT.Parent.Name), "Stand") then | |
364 | deflect(WHAT.Parent) | |
365 | end | |
366 | if string.find(string.lower(WHAT.Parent.Name), "Glassified") then | |
367 | deflect(WHAT.Parent) | |
368 | end | |
369 | if string.find(string.lower(WHAT.Parent.Name), "Murder") then | |
370 | deflect(WHAT.Parent) | |
371 | end | |
372 | if string.find(string.lower(WHAT.Parent.Name), "(Anti-Skid v4)") then | |
373 | deflect(WHAT.Parent) | |
374 | end | |
375 | if string.find(string.lower(WHAT.Parent.Name), "Banisher Switcher CR") then | |
376 | deflect(WHAT.Parent) | |
377 | end | |
378 | if string.find(string.lower(WHAT.Parent.Name), "FaceGradient") then | |
379 | deflect(WHAT.Parent) | |
380 | end | |
381 | if string.find(string.lower(WHAT.Parent.Name), "FaceGradient") then | |
382 | deflect(WHAT.Parent) | |
383 | end | |
384 | if WHAT.Parent:findFirstChild("Torso") then | |
385 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then | |
386 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://876316256" then | |
387 | deflect(WHAT.Parent) | |
388 | end | |
389 | end | |
390 | end | |
391 | if WHAT.Parent:findFirstChild("Torso") then | |
392 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then | |
393 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://751746850" then | |
394 | deflect(WHAT.Parent) | |
395 | end | |
396 | end | |
397 | end | |
398 | if WHAT.Parent:findFirstChild("Character") then | |
399 | if WHAT.Parent.Character:findFirstChildOfClass("Sound") then | |
400 | if WHAT.Parent.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://1293238846" then | |
401 | deflect(WHAT.Parent) | |
402 | end | |
403 | end | |
404 | end | |
405 | if WHAT.Parent:findFirstChild("Arctic Fox Head") then | |
406 | deflect(WHAT.Parent) | |
407 | end | |
408 | if WHAT.Parent:findFirstChild("Fox Tail") then | |
409 | deflect(WHAT.Parent) | |
410 | end | |
411 | if WHAT.Parent:findFirstChild("Noobie McNoobington") or WHAT.Parent:findFirstChild("RightClaw") then | |
412 | deflect(WHAT.Parent) | |
413 | end | |
414 | if WHAT.Parent:findFirstChild("Blob") or WHAT.Parent:findFirstChild("M2") then | |
415 | deflect(WHAT.Parent) | |
416 | end | |
417 | if WHAT.Parent:findFirstChild("naeeym2") or WHAT.Parent:findFirstChild("utm") then | |
418 | deflect(WHAT.Parent) | |
419 | end | |
420 | if WHAT.Parent:findFirstChild("Noobie McNoobington") or WHAT.Parent:findFirstChild("RightClaw") then | |
421 | deflect(WHAT.Parent) | |
422 | end | |
423 | if WHAT.Parent:findFirstChild("(Anti-Skid v4)") or WHAT.Parent:findFirstChild("Stand") then | |
424 | deflect(WHAT.Parent) | |
425 | end | |
426 | if WHAT.Parent:findFirstChild("FaceGradient") or WHAT.Parent:findFirstChild("Banisher Switcher CR") then | |
427 | deflect(WHAT.Parent) | |
428 | end | |
429 | if WHAT.Parent:findFirstChild("Murder") or WHAT.Parent:findFirstChild("Glassified") then | |
430 | deflect(WHAT.Parent) | |
431 | end | |
432 | if WHAT.Parent:findFirstChild("Head") then | |
433 | if WHAT.Parent.Head:findFirstChild("c-cat_noises") then --stop | |
434 | deflect(WHAT.Parent) | |
435 | end | |
436 | end | |
437 | end | |
438 | end) | |
439 | end | |
440 | while equipped and runservice.Stepped:wait() do | |
441 | if not workspace:findFirstChild("omg"..string.lower(owner.Name)) then | |
442 | makeff() | |
443 | else | |
444 | workspace:findFirstChild("omg"..string.lower(owner.Name)).CFrame = rootpart.CFrame | |
445 | end | |
446 | end | |
447 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
448 | end)() | |
449 | end) | |
450 | tool.Unequipped:connect(function() | |
451 | music:Pause() | |
452 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Stop() | |
453 | end) | |
454 | tool.Deactivated:connect(function() | |
455 | if canuse then | |
456 | if not lifecheck then | |
457 | canuse = false | |
458 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Play() | |
459 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
460 | rightarm.Part0 = ownercharacter.Torso | |
461 | rightarm.Part1 = ownercharacter["Right Arm"] | |
462 | rightarm.C0 = CFrame.new(1.5,0,0) | |
463 | rightarm.Name = "RightArmWeldcross" | |
464 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
465 | rightleg.Part0 = ownercharacter.Torso | |
466 | rightleg.Part1 = ownercharacter["Right Leg"] | |
467 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
468 | rightleg.Name = "RightLegWeldcross" | |
469 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
470 | leftarm.Part0 = ownercharacter.Torso | |
471 | leftarm.Part1 = ownercharacter["Left Arm"] | |
472 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
473 | leftarm.Name = "LeftArmWeldcross" | |
474 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
475 | leftleg.Part0 = ownercharacter.Torso | |
476 | leftleg.Part1 = ownercharacter["Left Leg"] | |
477 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
478 | leftleg.Name = "LeftLegWeldcross" | |
479 | local head = Instance.new("Weld", ownercharacter.Torso) | |
480 | head.Part0 = ownercharacter.Torso | |
481 | head.Part1 = ownercharacter.Head | |
482 | head.C0 = CFrame.new(0,1.5,0) | |
483 | head.Name = "HeadWeldcross" | |
484 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
485 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
486 | humanoidrootpart.Part1 = ownercharacter.Torso | |
487 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
488 | coroutine.wrap(function() | |
489 | while lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu.Playing and equipped do | |
490 | for i = 0,1 , 0.25 do | |
491 | if equipped then | |
492 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.63111877, 0.611276627, -0.298833847, 0.925416529, -0.336824059, 0.173648179, 0.163176164, -0.0593862236, -0.984799504, 0.342019945, 0.939689755, -4.67896461e-06),i) | |
493 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57923126, 0.0944194794, 0, 0.98480773, 0.173648179, 0, -0.173646733, 0.984799504, 4.76837158e-06, -8.27014446e-07, 4.67896461e-06, 0.999997258),i) | |
494 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.86600685, 0.499988556, 1, 0, 0, 0, 0.866025329, 0.500000238, 0, -0.500000238, 0.866025269),i) | |
495 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99998283, -9.53674316e-06, 1, 0, 0, 0, 0.999991655, 4.76837158e-06, 0, 4.76837158e-06, 0.999997258),i) | |
496 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.142539978, -0.0853042603, 1, 0, 0, 0, 0.858073294, -0.513505876, 0, 0.513511479, 0.858082712),i) | |
497 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49239063, 0.0868301392, 1, 0, 0, 0, 0.984806776, -0.173653692, 0, 0.173653692, 0.984806776),i) | |
498 | runservice.Stepped:wait() | |
499 | end | |
500 | end | |
501 | for i = 0,1 , 0.25 do | |
502 | if equipped then | |
503 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.64085388, 0.448102951, -0.294296265, 0.939692616, -0.342020124, 0, 0.0593898818, 0.163172394, -0.984797418, 0.336823851, 0.925415874, 0.173649922),i) | |
504 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i) | |
505 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i) | |
506 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807432, 0.173650041, 0, -0.173650041, 0.984807432),i) | |
507 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49238777, -0.0868225098, 1, 0, 0, 0, 0.984797478, 0.173644468, 0, -0.173649952, 0.984807014),i) | |
508 | runservice.Stepped:wait() | |
509 | end | |
510 | end | |
511 | end | |
512 | canuse = true | |
513 | humanoidrootpart:destroy() | |
514 | head:destroy() | |
515 | rightarm:destroy() | |
516 | leftarm:destroy() | |
517 | leftleg:destroy() | |
518 | rightleg:destroy() | |
519 | end)() | |
520 | elseif lifecheck and lifecheck ~= "indeed" then | |
521 | canuse = false | |
522 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
523 | rightarm.Part0 = ownercharacter.Torso | |
524 | rightarm.Part1 = ownercharacter["Right Arm"] | |
525 | rightarm.C0 = CFrame.new(1.5,0,0) | |
526 | rightarm.Name = "RightArmWeldcross" | |
527 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
528 | rightleg.Part0 = ownercharacter.Torso | |
529 | rightleg.Part1 = ownercharacter["Right Leg"] | |
530 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
531 | rightleg.Name = "RightLegWeldcross" | |
532 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
533 | leftarm.Part0 = ownercharacter.Torso | |
534 | leftarm.Part1 = ownercharacter["Left Arm"] | |
535 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
536 | leftarm.Name = "LeftArmWeldcross" | |
537 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
538 | leftleg.Part0 = ownercharacter.Torso | |
539 | leftleg.Part1 = ownercharacter["Left Leg"] | |
540 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
541 | leftleg.Name = "LeftLegWeldcross" | |
542 | local head = Instance.new("Weld", ownercharacter.Torso) | |
543 | head.Part0 = ownercharacter.Torso | |
544 | head.Part1 = ownercharacter.Head | |
545 | head.C0 = CFrame.new(0,1.5,0) | |
546 | head.Name = "HeadWeldcross" | |
547 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
548 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
549 | humanoidrootpart.Part1 = ownercharacter.Torso | |
550 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
551 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
552 | local ws = charhum.WalkSpeed | |
553 | local jp = charhum.JumpPower | |
554 | charhum.WalkSpeed = 0 | |
555 | charhum.JumpPower = 0 | |
556 | coroutine.wrap(function() | |
557 | local lastcf = rightgrip.C0 | |
558 | for i = 0,1 , 0.23 do | |
559 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i) | |
560 | runservice.Stepped:wait() | |
561 | end | |
562 | local lastcf = rightgrip.C0 | |
563 | for i = 0,1 , 0.23 do | |
564 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i) | |
565 | runservice.Stepped:wait() | |
566 | end | |
567 | local lastcf = rightgrip.C0 | |
568 | for i = 0,1 , 0.23 do | |
569 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i) | |
570 | runservice.Stepped:wait() | |
571 | end | |
572 | local lastcf = rightgrip.C0 | |
573 | for i = 0,1 , 0.23 do | |
574 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.0018157959, -0.641872406, -1.07670069, -8.49999997e-05, -1, -3.50000009e-05, -4.37087699e-08, -3.49999973e-05, 1, -0.999994516, 8.4999534e-05, -4.07340224e-08),i) | |
575 | runservice.Stepped:wait() | |
576 | end | |
577 | local lastcf = rightgrip.C0 | |
578 | for i = 0,1 , 0.23 do | |
579 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00186920166, 0.558111191, -0.0767021179, -2.79102642e-05, -1, 2.33054725e-05, 1, -2.79103097e-05, -1.97005488e-06, 1.97070608e-06, 2.33054161e-05, 1),i) | |
580 | runservice.Stepped:wait() | |
581 | end | |
582 | local lastcf = rightgrip.C0 | |
583 | for i = 0,1 , 0.23 do | |
584 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00199890137, -0.641872406, 1.12329865, 6.43433596e-05, -1, 3.95103561e-05, -1.33738229e-06, -3.95104435e-05, -1, 1, 6.43433086e-05, -1.33992444e-06),i) | |
585 | runservice.Stepped:wait() | |
586 | end | |
587 | local lastcf = rightgrip.C0 | |
588 | for i = 0,1 , 0.2 do | |
589 | rightgrip.C0 = lastcf:lerp(CFrame.new(0.00185394287, -1.78735733, -0.426719666, 1.00994021e-05, -1, 4.36902374e-05, -1, -1.00994648e-05, -1.45057925e-06, 1.45102058e-06, -4.36902228e-05, -1),i) | |
590 | runservice.Stepped:wait() | |
591 | end | |
592 | end)() | |
593 | coroutine.wrap(function() | |
594 | for i = 0,1 , 0.02 do | |
595 | if equipped then | |
596 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(2.06786346, 0.499994516, -0.28225708, 0.342020184, -0.939692616, -2.90916346e-15, -4.10748271e-08, -1.49500146e-08, -1, 0.939692616, 0.342020184, -4.37109229e-08),i) | |
597 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.094419241, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i) | |
598 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.881240845, -2.07160878, -7.62939453e-06, 0.984808147, 0.173646361, 1.49982284e-08, -0.173646361, 0.984808147, -7.5322043e-10, -1.49011701e-08, -1.86260984e-09, 1),i) | |
599 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.881244659, -2.07160878, -7.62939453e-06, 0.984808147, -0.173646361, 1.49982284e-08, 0.173646361, 0.984808147, 7.5322043e-10, -1.49011701e-08, 1.86260984e-09, 1),i) | |
600 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648134, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648134),i) | |
601 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.173648253, 0, -0.984807789, 0, 1, 0, 0.984807789, 0, 0.173648253),i) | |
602 | runservice.Stepped:wait() | |
603 | end | |
604 | end | |
605 | if equipped then | |
606 | shootsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
607 | shootsound:Play() | |
608 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
609 | boomsound:Play() | |
610 | local missle = Instance.new("UnionOperation", charhum) | |
611 | local meshh = Instance.new("SpecialMesh", missle) | |
612 | meshh.MeshType = "Sphere" | |
613 | missle.Anchored = true | |
614 | missle.CanCollide = false | |
615 | missle.Size = Vector3.new(4,4,8) | |
616 | missle.Material = "Neon" | |
617 | missle.BrickColor = BrickColor.new("New Yeller") | |
618 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-5) | |
619 | local fallvalue = 0 | |
620 | local speedvalue = 5 | |
621 | local hitraycast = false | |
622 | local threshold = 0 | |
623 | coroutine.wrap(function() | |
624 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
625 | threshold = threshold + 1 | |
626 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-2) | |
627 | if fallvalue <= 0.01 then | |
628 | fallvalue = fallvalue + 0.000035 | |
629 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
630 | end | |
631 | local trail = Instance.new("UnionOperation", charhum) | |
632 | Instance.new("BlockMesh", trail) | |
633 | trail.Anchored = true | |
634 | trail.CanCollide = false | |
635 | trail.Size = Vector3.new(4,4,4) | |
636 | trail.Material = "Neon" | |
637 | trail.CFrame = missle.CFrame * CFrame.new(0,0,4) * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
638 | coroutine.wrap(function() | |
639 | for i = 1,15 do | |
640 | trail.Transparency = trail.Transparency + 0.075 | |
641 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
642 | runservice.Stepped:wait() | |
643 | end | |
644 | trail:destroy() | |
645 | end)() | |
646 | local exblock = Instance.new("UnionOperation", trail) | |
647 | local shockwave = Instance.new("SpecialMesh", exblock) | |
648 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
649 | shockwave.Scale = Vector3.new(3,5,3) | |
650 | exblock.BrickColor = BrickColor.new("Institutional white") | |
651 | exblock.Anchored = true | |
652 | exblock.Transparency = 0.5 | |
653 | exblock.CanCollide = false | |
654 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
655 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
656 | local rotrandom = math.random(1,2) | |
657 | coroutine.wrap(function() | |
658 | for i = 1,10 do | |
659 | exblock.Transparency = exblock.Transparency + 0.05 | |
660 | shockwave.Scale = shockwave.Scale + Vector3.new(0.5,0.2,0.5) | |
661 | if rotrandom == 1 then | |
662 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
663 | else | |
664 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
665 | end | |
666 | runservice.Stepped:wait() | |
667 | end | |
668 | exblock:destroy() | |
669 | end)() | |
670 | -- | |
671 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
672 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
673 | if rayehit then | |
674 | hitraycast = true | |
675 | if rayesurface then | |
676 | local hitsomeone = false | |
677 | for i,v in pairs(workspace:GetDescendants()) do | |
678 | if v.ClassName == "Model" and v ~= ownercharacter then | |
679 | if v:findFirstChild("Head") then | |
680 | if (v.Head.Position - rayepos).magnitude < 30 then | |
681 | v:BreakJoints() | |
682 | hitsomeone = true | |
683 | end | |
684 | end | |
685 | end | |
686 | end | |
687 | if hitsomeone then | |
688 | local taunt = math.random(1,4) | |
689 | if taunt == 1 then | |
690 | noscopesound:Play() | |
691 | noscopesound.TimePosition = 2.3 | |
692 | elseif taunt == 2 then | |
693 | headshotsound:Play() | |
694 | elseif taunt == 3 then | |
695 | headshotsound2:Play() | |
696 | elseif taunt == 4 then | |
697 | kfcnwatermelon:Play() | |
698 | end | |
699 | end | |
700 | local explosionpart = Instance.new("UnionOperation", charhum) | |
701 | explosionpart.Anchored = true | |
702 | explosionpart.CanCollide = false | |
703 | explosionpart.CFrame = CFrame.new(rayepos) | |
704 | local explosionsound = Instance.new("Sound", explosionpart) | |
705 | explosionsound.SoundId = "rbxassetid://967702054" | |
706 | explosionsound:Play() | |
707 | explosionsound.Volume = 4 | |
708 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
709 | reverb.DecayTime = 6.5 | |
710 | reverb.DryLevel = 5 | |
711 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
712 | local exblock = Instance.new("UnionOperation", charhum) | |
713 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
714 | exblock.BrickColor = BrickColor.new("Institutional white") | |
715 | exblock.Anchored = true | |
716 | exblock.CanCollide = false | |
717 | exblock.Transparency = 0 | |
718 | exblock.CFrame = CFrame.new(rayepos) | |
719 | exblock.Size = Vector3.new(5,5,5) | |
720 | coroutine.wrap(function() | |
721 | for i = 1,40 do | |
722 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
723 | exblock.Transparency = exblock.Transparency + 0.025 | |
724 | runservice.Stepped:wait() | |
725 | end | |
726 | exblock:destroy() | |
727 | end)() | |
728 | coroutine.wrap(function() | |
729 | for i = 1,25 do --blocks | |
730 | local exblock = Instance.new("UnionOperation", charhum) | |
731 | Instance.new("BlockMesh", exblock) | |
732 | exblock.BrickColor = BrickColor.new("New Yeller") | |
733 | exblock.Anchored = true | |
734 | exblock.CanCollide = false | |
735 | exblock.Material = "Neon" | |
736 | exblock.Transparency = 0.2 | |
737 | exblock.CFrame = CFrame.new(rayepos) | |
738 | exblock.Size = Vector3.new(0,0,0) | |
739 | coroutine.wrap(function() | |
740 | for i = 1,20 do | |
741 | exblock.Size = exblock.Size + Vector3.new(1,1,1) | |
742 | exblock.Transparency = exblock.Transparency + 0.03 | |
743 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
744 | runservice.Stepped:wait() | |
745 | end | |
746 | exblock:destroy() | |
747 | end)() | |
748 | wait(0.015) | |
749 | end | |
750 | end)() | |
751 | coroutine.wrap(function() --shockwave | |
752 | for i = 1,15 do | |
753 | local exblock = Instance.new("UnionOperation", charhum) | |
754 | local shockwave = Instance.new("SpecialMesh", exblock) | |
755 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
756 | shockwave.Scale = Vector3.new(3,6.5,3) | |
757 | exblock.BrickColor = BrickColor.new("Institutional white") | |
758 | exblock.Anchored = true | |
759 | exblock.Transparency = 0 | |
760 | exblock.CanCollide = false | |
761 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
762 | exblock.CFrame = CFrame.new(rayepos) | |
763 | else | |
764 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
765 | end | |
766 | local rotrandom = math.random(1,2) | |
767 | coroutine.wrap(function() | |
768 | for i = 1,20 do | |
769 | exblock.Transparency = exblock.Transparency + 0.05 | |
770 | shockwave.Scale = shockwave.Scale + Vector3.new(1.5,-0.4,1.5) | |
771 | if rotrandom == 1 then | |
772 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
773 | else | |
774 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
775 | end | |
776 | runservice.Stepped:wait() | |
777 | end | |
778 | exblock:destroy() | |
779 | end)() | |
780 | wait(0.05) | |
781 | end | |
782 | end)() | |
783 | end | |
784 | end | |
785 | end | |
786 | missle:destroy() | |
787 | end)() | |
788 | end | |
789 | for i = 0,1 , 0.1 do | |
790 | if equipped then | |
791 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68267822, 0.96984005, -0.303489685, 0.984807253, -0.0593928285, 0.163175017, 1.81049109e-06, -0.939682603, -0.342016101, 0.173648149, 0.336824, -0.92541647),i) | |
792 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.59371948, 0.471656799, -0.383026123, 0.866024017, 0.321394622, -0.383023292, -0.499992967, 0.556664824, -0.663407445, 0, 0.766044378, 0.642787457),i) | |
793 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.98478603, -0.17364502, 1, 0, 0, 0, 0.984807789, -0.173648, 0, 0.173647985, 0.984807849),i) | |
794 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.99997807, 7.62939453e-06, 1, 0, 0, 0, 1, 1.86266561e-06, 0, -1.86266539e-06, 1),i) | |
795 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.633022487, 0.111617729, -0.766044497, -0.173646361, 0.984808087, 1.25124586e-08, 0.75440681, 0.133020818, 0.642787635),i) | |
796 | head.C0 = head.C0:lerp(CFrame.new(-0.0665130615, 1.49238777, -0.055809021, 0.642787576, -0.133023173, 0.754406452, 1.19896185e-06, 0.98480773, 0.173648417, -0.766044557, -0.111618131, 0.633022308),i) | |
797 | runservice.Stepped:wait() | |
798 | end | |
799 | end | |
800 | wait(0.5) | |
801 | canuse = true | |
802 | charhum.WalkSpeed = ws | |
803 | charhum.JumpPower = jp | |
804 | leftleg:destroy() | |
805 | rightleg:destroy() | |
806 | for i = 0,1 , 0.04 do | |
807 | if equipped then | |
808 | if canuse then | |
809 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0),i) | |
810 | end | |
811 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.499994755, -0.5, 1, 0, 0, 0, -4.3709008e-08, -1, 0, 1, -4.3709008e-08),i) | |
812 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
813 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
814 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
815 | runservice.Stepped:wait() | |
816 | end | |
817 | end | |
818 | rightarm:destroy() | |
819 | leftarm:destroy() | |
820 | head:destroy() | |
821 | humanoidrootpart:destroy() | |
822 | end)() | |
823 | elseif lifecheck == "indeed" then | |
824 | canuse = false | |
825 | anim = "scope" | |
826 | wait(1) | |
827 | if equipped then | |
828 | if lifecheck == "indeed" then | |
829 | anim = "shoot" | |
830 | shootsound.PlaybackSpeed = 0.7+math.random(-10,10)/60 | |
831 | shootsound:Play() | |
832 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
833 | boomsound:Play() | |
834 | local missle = Instance.new("UnionOperation", charhum) | |
835 | local meshh = Instance.new("SpecialMesh", missle) | |
836 | meshh.MeshType = "Sphere" | |
837 | missle.Anchored = true | |
838 | missle.CanCollide = false | |
839 | missle.Size = Vector3.new(6,6,12) | |
840 | missle.Material = "Neon" | |
841 | missle.BrickColor = BrickColor.new("New Yeller") | |
842 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-7) | |
843 | local fallvalue = 0 | |
844 | local speedvalue = 5 | |
845 | local hitraycast = false | |
846 | local threshold = 0 | |
847 | coroutine.wrap(function() | |
848 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
849 | threshold = threshold + 1 | |
850 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-3) | |
851 | if fallvalue <= 0.01 then | |
852 | fallvalue = fallvalue + 0.000035 | |
853 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
854 | end | |
855 | local trail = Instance.new("UnionOperation", charhum) | |
856 | Instance.new("BlockMesh", trail) | |
857 | trail.Anchored = true | |
858 | trail.CanCollide = false | |
859 | trail.Size = Vector3.new(6,6,6) | |
860 | trail.Material = "Neon" | |
861 | trail.CFrame = missle.CFrame * CFrame.new(0,0,6) * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5) | |
862 | coroutine.wrap(function() | |
863 | for i = 1,15 do | |
864 | trail.Transparency = trail.Transparency + 0.075 | |
865 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
866 | runservice.Stepped:wait() | |
867 | end | |
868 | trail:destroy() | |
869 | end)() | |
870 | local exblock = Instance.new("UnionOperation", trail) | |
871 | local shockwave = Instance.new("SpecialMesh", exblock) | |
872 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
873 | shockwave.Scale = Vector3.new(3,5,3) | |
874 | exblock.BrickColor = BrickColor.new("Institutional white") | |
875 | exblock.Anchored = true | |
876 | exblock.Transparency = 0.5 | |
877 | exblock.CanCollide = false | |
878 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
879 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
880 | local rotrandom = math.random(1,2) | |
881 | coroutine.wrap(function() | |
882 | for i = 1,10 do | |
883 | exblock.Transparency = exblock.Transparency + 0.05 | |
884 | shockwave.Scale = shockwave.Scale + Vector3.new(1,0.2,1) | |
885 | if rotrandom == 1 then | |
886 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
887 | else | |
888 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
889 | end | |
890 | runservice.Stepped:wait() | |
891 | end | |
892 | exblock:destroy() | |
893 | end)() | |
894 | -- | |
895 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
896 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
897 | if rayehit then | |
898 | hitraycast = true | |
899 | if rayesurface then | |
900 | local hitsomeone = false | |
901 | for i,v in pairs(workspace:GetDescendants()) do | |
902 | if v.ClassName == "Model" and v ~= ownercharacter then | |
903 | if v:findFirstChild("Head") then | |
904 | if (v.Head.Position - rayepos).magnitude < 30 then | |
905 | v:BreakJoints() | |
906 | hitsomeone = true | |
907 | end | |
908 | end | |
909 | end | |
910 | end | |
911 | if hitsomeone then | |
912 | local taunt = math.random(1,4) | |
913 | if taunt == 1 then | |
914 | noscopesound:Play() | |
915 | noscopesound.TimePosition = 2.3 | |
916 | elseif taunt == 2 then | |
917 | headshotsound:Play() | |
918 | elseif taunt == 3 then | |
919 | headshotsound2:Play() | |
920 | elseif taunt == 4 then | |
921 | kfcnwatermelon:Play() | |
922 | end | |
923 | end | |
924 | local explosionpart = Instance.new("UnionOperation", charhum) | |
925 | explosionpart.Anchored = true | |
926 | explosionpart.CanCollide = false | |
927 | explosionpart.CFrame = CFrame.new(rayepos) | |
928 | local explosionsound = Instance.new("Sound", explosionpart) | |
929 | explosionsound.SoundId = "rbxassetid://967702054" | |
930 | explosionsound:Play() | |
931 | explosionsound.Volume = 6 | |
932 | explosionsound.PlaybackSpeed = 0.5 | |
933 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
934 | reverb.DecayTime = 6.5 | |
935 | reverb.DryLevel = 5 | |
936 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
937 | local exblock = Instance.new("UnionOperation", charhum) | |
938 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
939 | exblock.BrickColor = BrickColor.new("Institutional white") | |
940 | exblock.Anchored = true | |
941 | exblock.CanCollide = false | |
942 | exblock.Transparency = 0 | |
943 | exblock.CFrame = CFrame.new(rayepos) | |
944 | exblock.Size = Vector3.new(5,5,5) | |
945 | coroutine.wrap(function() | |
946 | for i = 1,40 do | |
947 | exblock.Size = exblock.Size + Vector3.new(4,4,4) | |
948 | exblock.Transparency = exblock.Transparency + 0.025 | |
949 | runservice.Stepped:wait() | |
950 | end | |
951 | exblock:destroy() | |
952 | end)() | |
953 | coroutine.wrap(function() | |
954 | for i = 1,35 do --blocks | |
955 | local exblock = Instance.new("UnionOperation", charhum) | |
956 | Instance.new("BlockMesh", exblock) | |
957 | exblock.BrickColor = BrickColor.new("New Yeller") | |
958 | exblock.Anchored = true | |
959 | exblock.CanCollide = false | |
960 | exblock.Material = "Neon" | |
961 | exblock.Transparency = 0.2 | |
962 | exblock.CFrame = CFrame.new(rayepos) | |
963 | exblock.Size = Vector3.new(0,0,0) | |
964 | coroutine.wrap(function() | |
965 | for i = 1,20 do | |
966 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
967 | exblock.Transparency = exblock.Transparency + 0.03 | |
968 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
969 | runservice.Stepped:wait() | |
970 | end | |
971 | exblock:destroy() | |
972 | end)() | |
973 | wait(0.015) | |
974 | end | |
975 | end)() | |
976 | coroutine.wrap(function() --shockwave | |
977 | for i = 1,25 do | |
978 | local exblock = Instance.new("UnionOperation", charhum) | |
979 | local shockwave = Instance.new("SpecialMesh", exblock) | |
980 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
981 | shockwave.Scale = Vector3.new(3,7.5,3) | |
982 | exblock.BrickColor = BrickColor.new("Institutional white") | |
983 | exblock.Anchored = true | |
984 | exblock.Transparency = 0 | |
985 | exblock.CanCollide = false | |
986 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
987 | exblock.CFrame = CFrame.new(rayepos) | |
988 | else | |
989 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
990 | end | |
991 | local rotrandom = math.random(1,2) | |
992 | coroutine.wrap(function() | |
993 | for i = 1,20 do | |
994 | exblock.Transparency = exblock.Transparency + 0.05 | |
995 | shockwave.Scale = shockwave.Scale + Vector3.new(3,-0.6,3) | |
996 | if rotrandom == 1 then | |
997 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
998 | else | |
999 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
1000 | end | |
1001 | runservice.Stepped:wait() | |
1002 | end | |
1003 | exblock:destroy() | |
1004 | end)() | |
1005 | wait(0.05) | |
1006 | end | |
1007 | end)() | |
1008 | end | |
1009 | end | |
1010 | end | |
1011 | missle:destroy() | |
1012 | end)() | |
1013 | wait(0.5) | |
1014 | anim = "idle" | |
1015 | canuse = true | |
1016 | end | |
1017 | end | |
1018 | end | |
1019 | end | |
1020 | end) | |
1021 | tool.Activated:connect(function() | |
1022 | if canuse then | |
1023 | if not lifecheck then | |
1024 | wait(0.1) | |
1025 | if clicked then | |
1026 | canuse = false | |
1027 | chargesound.PlaybackSpeed = 1 | |
1028 | chargesound:Play() | |
1029 | coroutine.wrap(function() | |
1030 | local chargiin = true | |
1031 | coroutine.wrap(function() | |
1032 | while clicked and equipped and chargiin and wait(0.1) do | |
1033 | local exblock = Instance.new("UnionOperation", charhum) | |
1034 | Instance.new("BlockMesh", exblock) | |
1035 | exblock.BrickColor = BrickColor.new("Institutional white") | |
1036 | exblock.Anchored = true | |
1037 | exblock.CanCollide = false | |
1038 | exblock.Material = "Neon" | |
1039 | exblock.Transparency = 0.7 | |
1040 | exblock.CFrame = CFrame.new(handle.Position) | |
1041 | exblock.Size = Vector3.new(6,6,6) | |
1042 | coroutine.wrap(function() | |
1043 | for i = 1,20 do | |
1044 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1045 | exblock.Transparency = exblock.Transparency + 0.015 | |
1046 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1047 | runservice.Stepped:wait() | |
1048 | end | |
1049 | exblock:destroy() | |
1050 | end)() | |
1051 | end | |
1052 | end)() | |
1053 | for i = 1,300 do | |
1054 | if clicked and equipped then | |
1055 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1056 | runservice.Stepped:wait() | |
1057 | end | |
1058 | end | |
1059 | chargiin = false | |
1060 | if clicked and equipped then | |
1061 | lifecheck = true | |
1062 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1063 | music.TimePosition = 0 | |
1064 | music.SoundId = "rbxassetid://2913619435" | |
1065 | lasersound:Play() | |
1066 | for i,v in pairs(tool:GetDescendants()) do | |
1067 | if v.Name == "shiney" and v.ClassName == "Part" then | |
1068 | v.Material = "Neon" | |
1069 | end | |
1070 | end | |
1071 | local holy = Instance.new("Fire", handle) | |
1072 | holy.Size = 30 | |
1073 | holy.Heat = 20 | |
1074 | holy.Color = Color3.fromRGB(255,255,255) | |
1075 | coroutine.wrap(function() | |
1076 | for i = 1,120 do | |
1077 | holy.Size = holy.Size - 0.25 | |
1078 | runservice.Stepped:wait() | |
1079 | end | |
1080 | holy.Enabled = false | |
1081 | wait(2) | |
1082 | holy:destroy() | |
1083 | end)() | |
1084 | end | |
1085 | chargesound:Stop() | |
1086 | while runservice.Stepped:wait() and clicked do end | |
1087 | canuse = true | |
1088 | end)() | |
1089 | end | |
1090 | elseif lifecheck and lifecheck ~= "indeed" then | |
1091 | wait(0.1) | |
1092 | if clicked then | |
1093 | canuse = false | |
1094 | chargesound.PlaybackSpeed = 1 | |
1095 | chargesound:Play() | |
1096 | coroutine.wrap(function() | |
1097 | local chargiin = true | |
1098 | coroutine.wrap(function() | |
1099 | while clicked and equipped and chargiin and wait(0.1) do | |
1100 | local exblock = Instance.new("UnionOperation", charhum) | |
1101 | Instance.new("BlockMesh", exblock) | |
1102 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1103 | exblock.Anchored = true | |
1104 | exblock.CanCollide = false | |
1105 | exblock.Material = "Neon" | |
1106 | exblock.Transparency = 0.5 | |
1107 | exblock.CFrame = CFrame.new(handle.Position) | |
1108 | exblock.Size = Vector3.new(6,6,6) | |
1109 | coroutine.wrap(function() | |
1110 | for i = 1,20 do | |
1111 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1112 | exblock.Transparency = exblock.Transparency + 0.015 | |
1113 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1114 | runservice.Stepped:wait() | |
1115 | end | |
1116 | exblock:destroy() | |
1117 | end)() | |
1118 | end | |
1119 | end)() | |
1120 | for i = 1,300 do | |
1121 | if clicked and equipped then | |
1122 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1123 | runservice.Stepped:wait() | |
1124 | end | |
1125 | end | |
1126 | chargiin = false | |
1127 | if clicked and equipped then | |
1128 | lifecheck = "indeed" | |
1129 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1130 | music.TimePosition = 0 | |
1131 | music.SoundId = "rbxassetid://295754240" | |
1132 | lasersound:Play() | |
1133 | for i,v in pairs(tool:GetDescendants()) do | |
1134 | if v.ClassName == "Part" then | |
1135 | local mesh = Instance.new("BlockMesh", v) | |
1136 | mesh.Scale = Vector3.new(2.5,2.5,2.5) | |
1137 | handle2weld.C0 = CFrame.new(2,0,0) | |
1138 | shineyweld.C0 = CFrame.new(0,0.5,0) | |
1139 | shiney2weld.C0 = CFrame.new(0,0.5,0) | |
1140 | end | |
1141 | end | |
1142 | local holy = Instance.new("Fire", handle) | |
1143 | holy.Size = 30 | |
1144 | holy.Heat = 20 | |
1145 | holy.Color = Color3.fromRGB(255,255,0) | |
1146 | coroutine.wrap(function() | |
1147 | for i = 1,120 do | |
1148 | holy.Size = holy.Size - 0.25 | |
1149 | runservice.Stepped:wait() | |
1150 | end | |
1151 | holy.Enabled = false | |
1152 | wait(2) | |
1153 | holy:destroy() | |
1154 | end)() | |
1155 | anim = "idle" | |
1156 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
1157 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
1158 | rightarm.Part0 = ownercharacter.Torso | |
1159 | rightarm.Part1 = ownercharacter["Right Arm"] | |
1160 | rightarm.C0 = CFrame.new(1.5,0,0) | |
1161 | rightarm.Name = "RightArmWeldcross" | |
1162 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
1163 | leftarm.Part0 = ownercharacter.Torso | |
1164 | leftarm.Part1 = ownercharacter["Left Arm"] | |
1165 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
1166 | leftarm.Name = "LeftArmWeldcross" | |
1167 | local head = Instance.new("Weld", ownercharacter.Torso) | |
1168 | head.Part0 = ownercharacter.Torso | |
1169 | head.Part1 = ownercharacter.Head | |
1170 | head.C0 = CFrame.new(0,1.5,0) | |
1171 | head.Name = "HeadWeldcross" | |
1172 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
1173 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
1174 | humanoidrootpart.Part1 = ownercharacter.Torso | |
1175 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
1176 | coroutine.wrap(function() | |
1177 | while equipped and lifecheck == "indeed" and runservice.Stepped:wait() do | |
1178 | if cananimate then | |
1179 | local absvel = rootpart.CFrame:vectorToObjectSpace(rootpart.Velocity) | |
1180 | if anim == "idle" then | |
1181 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1182 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.874992371, 0.141008854, -0.596240997, 0.50000006, 0.750001609, 0.433009773, -0.150381878, 0.567591846, -0.809459567, -0.852868795, 0.33961302, 0.396582663),0.15) | |
1183 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.2557373, -0.044418335, -0.835590363, 0.934456587, -0.2350021, -0.267516464, -0.0593904369, 0.637900949, -0.767825007, 0.351089478, 0.733386993, 0.58213377),0.15) | |
1184 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807849, 0, 0.173648179, 0, 1, 0, -0.173648193, 0, 0.984807849) * CFrame.fromEulerAnglesXYZ(absvel.z/100,0,-absvel.x/100),0.15) | |
1185 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998355, 0, 0.984807789, 0, -0.173648179, 0, 1, 0, 0.173648179, 0, 0.984807789),0.15) | |
1186 | runservice.Stepped:wait() | |
1187 | elseif anim == "scope" then | |
1188 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1189 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.809280396, 0.364839554, -0.920059204, 0.191511169, 0.972948372, 0.12920922, -0.116976522, 0.153333753, -0.981226504, -0.974494755, 0.17280136, 0.143177241),0.15) | |
1190 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.49999619, 0.41317153, -0.492401123, 1, 0, 0, 0, 0.173646122, -0.984808087, 0, 0.984808207, 0.173646107),0.15) | |
1191 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648149, 0, -0.984807849, 0, 1, 0, 0.984807849, 0, 0.173648134),0.15) | |
1192 | head.C0 = head.C0:lerp(CFrame.new(0, 1.49998379, 0, 0.173648149, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648149),0.15) | |
1193 | runservice.Stepped:wait() | |
1194 | elseif anim == "shoot" then | |
1195 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.248357773, -1.15785217, -0.660198212, -0.0234374851, 0.959914804, 0.279310286, -0.963011563, 0.053340286, -0.264121324, -0.268436849, -0.275169849, 0.923155606),0.15) | |
1196 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.921146393, 1.04831123, -0.980117798, 0.191510394, 0.724376798, -0.662268221, -0.116975948, -0.653091669, -0.748176575, -0.974494457, 0.220755547, -0.0403396413),0.15) | |
1197 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.65689468, 0.365976334, 0.224777222, 0.499998748, 0.813797832, 0.296194881, -0.150380298, 0.418411076, -0.895711064, -0.852868319, 0.403317034, 0.33158794),0.15) | |
1198 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.163175866, 0.0593911558, -0.98480773, -0.342016339, 0.939682305, 0, 0.925416529, 0.336824059, 0.173648134),0.15) | |
1199 | head.C0 = head.C0:lerp(CFrame.new(-0.16840744, 1.46983147, -0.0297012329, 0.173647925, -0.336824208, 0.925416589, 6.14207295e-07, 0.939692736, 0.342020094, -0.984807849, -0.0593905188, 0.163175866),0.15) | |
1200 | runservice.Stepped:wait() | |
1201 | end | |
1202 | end | |
1203 | end | |
1204 | rightarm:destroy() | |
1205 | leftarm:destroy() | |
1206 | head:destroy() | |
1207 | humanoidrootpart:destroy() | |
1208 | end)() | |
1209 | end | |
1210 | chargesound:Stop() | |
1211 | while runservice.Stepped:wait() and clicked do end | |
1212 | canuse = true | |
1213 | end)() | |
1214 | end | |
1215 | elseif lifecheck == "indeed" then | |
1216 | wait(0.1) | |
1217 | if clicked then | |
1218 | canuse = false | |
1219 | chargesound.PlaybackSpeed = 1 | |
1220 | chargesound:Play() | |
1221 | coroutine.wrap(function() | |
1222 | local chargiin = true | |
1223 | coroutine.wrap(function() | |
1224 | while clicked and equipped and chargiin and wait(0.1) do | |
1225 | local exblock = Instance.new("UnionOperation", charhum) | |
1226 | Instance.new("BlockMesh", exblock) | |
1227 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1228 | exblock.Anchored = true | |
1229 | exblock.CanCollide = false | |
1230 | exblock.Material = "Neon" | |
1231 | exblock.Transparency = 0.5 | |
1232 | exblock.CFrame = CFrame.new(handle.Position) | |
1233 | exblock.Size = Vector3.new(10,10,10) | |
1234 | coroutine.wrap(function() | |
1235 | for i = 1,20 do | |
1236 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1237 | exblock.Transparency = exblock.Transparency + 0.015 | |
1238 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1239 | runservice.Stepped:wait() | |
1240 | end | |
1241 | exblock:destroy() | |
1242 | end)() | |
1243 | end | |
1244 | end)() | |
1245 | for i = 1,300 do | |
1246 | if clicked and equipped then | |
1247 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1248 | runservice.Stepped:wait() | |
1249 | end | |
1250 | end | |
1251 | chargiin = false | |
1252 | if clicked and equipped then | |
1253 | lifecheck = false | |
1254 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1255 | music.TimePosition = 0 | |
1256 | music.SoundId = "rbxassetid://4361093477" | |
1257 | lasersound:Play() | |
1258 | for i,v in pairs(tool:GetDescendants()) do | |
1259 | if v.ClassName == "BlockMesh" then | |
1260 | v:destroy() | |
1261 | end | |
1262 | if v.ClassName == "Part" then | |
1263 | if v.Material == Enum.Material.Neon then | |
1264 | v.Material = "Plastic" | |
1265 | v.Reflectance = 1 | |
1266 | end | |
1267 | end | |
1268 | end | |
1269 | local holy = Instance.new("Fire", handle) | |
1270 | holy.Size = 30 | |
1271 | holy.Heat = 20 | |
1272 | holy.Color = Color3.fromRGB(255,255,255) | |
1273 | coroutine.wrap(function() | |
1274 | for i = 1,120 do | |
1275 | holy.Size = holy.Size - 0.25 | |
1276 | runservice.Stepped:wait() | |
1277 | end | |
1278 | holy.Enabled = false | |
1279 | wait(2) | |
1280 | holy:destroy() | |
1281 | end)() | |
1282 | shiney2weld.C0 = shiney2c0 | |
1283 | shineyweld.C0 = shineyc0 | |
1284 | handle2weld.C0 = handle2c0 | |
1285 | ownercharacter["Right Arm"]:WaitForChild("RightGrip"):destroy() | |
1286 | local rightgrip = Instance.new("Weld", ownercharacter["Right Arm"]) | |
1287 | rightgrip.Part0 = ownercharacter["Right Arm"] | |
1288 | rightgrip.Part1 = handle | |
1289 | rightgrip.Name = "RightGrip" | |
1290 | rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0) | |
1291 | end | |
1292 | chargesound:Stop() | |
1293 | while runservice.Stepped:wait() and clicked do end | |
1294 | canuse = true | |
1295 | end)() | |
1296 | end | |
1297 | end | |
1298 | end | |
1299 | end) | |
1300 | end)() | |
1301 | Tool0.Parent = owner.Character |