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.SoundId = "rbxassetid://4361093477" |
50 | + | |
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.SoundId = "rbxassetid://75421988" |
87 | + | |
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" | |
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 | - | field.Size = Vector3.new(15,15,15) |
313 | + | |
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 | - | if string.find(string.lower(WHAT.Parent.Name), "zombie") then |
350 | + | |
351 | if string.find(string.lower(WHAT.Parent.Name), "krit2552") then | |
352 | deflect(WHAT.Parent) | |
353 | - | if string.find(string.lower(WHAT.Parent.Name), "demon") then |
353 | + | |
354 | if string.find(string.lower(WHAT.Parent.Name), "sick:Play()") then | |
355 | deflect(WHAT.Parent) | |
356 | end | |
357 | if string.find(string.lower(WHAT.Parent.Name), "Stand") then | |
358 | deflect(WHAT.Parent) | |
359 | end | |
360 | if string.find(string.lower(WHAT.Parent.Name), "Glassified") then | |
361 | deflect(WHAT.Parent) | |
362 | end | |
363 | - | if WHAT.Parent:findFirstChild("puro") then |
363 | + | if string.find(string.lower(WHAT.Parent.Name), "Murder") then |
364 | deflect(WHAT.Parent) | |
365 | end | |
366 | - | if WHAT.Parent:findFirstChild("TheTail") then |
366 | + | if string.find(string.lower(WHAT.Parent.Name), "(Anti-Skid v4)") then |
367 | deflect(WHAT.Parent) | |
368 | end | |
369 | - | if WHAT.Parent:findFirstChild("latex") then |
369 | + | if string.find(string.lower(WHAT.Parent.Name), "Banisher Switcher CR") then |
370 | deflect(WHAT.Parent) | |
371 | end | |
372 | - | if WHAT.Parent:findFirstChild("transform") then |
372 | + | if string.find(string.lower(WHAT.Parent.Name), "FaceGradient") then |
373 | deflect(WHAT.Parent) | |
374 | end | |
375 | - | if WHAT.Parent:findFirstChild("big mistake") then |
375 | + | if string.find(string.lower(WHAT.Parent.Name), "FaceGradient") then |
376 | deflect(WHAT.Parent) | |
377 | end | |
378 | - | if WHAT.Parent:findFirstChild("LeftClaw") or WHAT.Parent:findFirstChild("RightClaw") then |
378 | + | |
379 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then | |
380 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://876316256" then | |
381 | deflect(WHAT.Parent) | |
382 | end | |
383 | end | |
384 | end | |
385 | if WHAT.Parent:findFirstChild("Torso") then | |
386 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound") then | |
387 | if WHAT.Parent.Torso:findFirstChildOfClass("Sound").SoundId == "rbxassetid://751746850" then | |
388 | deflect(WHAT.Parent) | |
389 | end | |
390 | end | |
391 | end | |
392 | if WHAT.Parent:findFirstChild("Character") then | |
393 | if WHAT.Parent.Character:findFirstChildOfClass("Sound") then | |
394 | if WHAT.Parent.Character:findFirstChildOfClass("Sound").SoundId == "rbxassetid://1293238846" then | |
395 | deflect(WHAT.Parent) | |
396 | end | |
397 | end | |
398 | end | |
399 | if WHAT.Parent:findFirstChild("Arctic Fox Head") then | |
400 | deflect(WHAT.Parent) | |
401 | end | |
402 | if WHAT.Parent:findFirstChild("Fox Tail") then | |
403 | deflect(WHAT.Parent) | |
404 | end | |
405 | if WHAT.Parent:findFirstChild("Noobie McNoobington") or WHAT.Parent:findFirstChild("RightClaw") then | |
406 | deflect(WHAT.Parent) | |
407 | end | |
408 | if WHAT.Parent:findFirstChild("Blob") or WHAT.Parent:findFirstChild("M2") then | |
409 | deflect(WHAT.Parent) | |
410 | end | |
411 | if WHAT.Parent:findFirstChild("naeeym2") or WHAT.Parent:findFirstChild("utm") then | |
412 | deflect(WHAT.Parent) | |
413 | end | |
414 | if WHAT.Parent:findFirstChild("Noobie McNoobington") or WHAT.Parent:findFirstChild("RightClaw") then | |
415 | deflect(WHAT.Parent) | |
416 | end | |
417 | if WHAT.Parent:findFirstChild("(Anti-Skid v4)") or WHAT.Parent:findFirstChild("Stand") then | |
418 | deflect(WHAT.Parent) | |
419 | end | |
420 | if WHAT.Parent:findFirstChild("FaceGradient") or WHAT.Parent:findFirstChild("Banisher Switcher CR") then | |
421 | deflect(WHAT.Parent) | |
422 | end | |
423 | if WHAT.Parent:findFirstChild("Murder") or WHAT.Parent:findFirstChild("Glassified") then | |
424 | deflect(WHAT.Parent) | |
425 | end | |
426 | if WHAT.Parent:findFirstChild("Head") then | |
427 | if WHAT.Parent.Head:findFirstChild("c-cat_noises") then --stop | |
428 | deflect(WHAT.Parent) | |
429 | end | |
430 | end | |
431 | end | |
432 | end) | |
433 | end | |
434 | while equipped and runservice.Stepped:wait() do | |
435 | if not workspace:findFirstChild("omg"..string.lower(owner.Name)) then | |
436 | makeff() | |
437 | else | |
438 | workspace:findFirstChild("omg"..string.lower(owner.Name)).CFrame = rootpart.CFrame | |
439 | end | |
440 | end | |
441 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
442 | end)() | |
443 | end) | |
444 | tool.Unequipped:connect(function() | |
445 | music:Pause() | |
446 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Stop() | |
447 | end) | |
448 | tool.Deactivated:connect(function() | |
449 | if canuse then | |
450 | if not lifecheck then | |
451 | canuse = false | |
452 | lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu:Play() | |
453 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
454 | rightarm.Part0 = ownercharacter.Torso | |
455 | rightarm.Part1 = ownercharacter["Right Arm"] | |
456 | rightarm.C0 = CFrame.new(1.5,0,0) | |
457 | rightarm.Name = "RightArmWeldcross" | |
458 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
459 | rightleg.Part0 = ownercharacter.Torso | |
460 | rightleg.Part1 = ownercharacter["Right Leg"] | |
461 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
462 | rightleg.Name = "RightLegWeldcross" | |
463 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
464 | leftarm.Part0 = ownercharacter.Torso | |
465 | leftarm.Part1 = ownercharacter["Left Arm"] | |
466 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
467 | leftarm.Name = "LeftArmWeldcross" | |
468 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
469 | leftleg.Part0 = ownercharacter.Torso | |
470 | leftleg.Part1 = ownercharacter["Left Leg"] | |
471 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
472 | leftleg.Name = "LeftLegWeldcross" | |
473 | local head = Instance.new("Weld", ownercharacter.Torso) | |
474 | head.Part0 = ownercharacter.Torso | |
475 | head.Part1 = ownercharacter.Head | |
476 | head.C0 = CFrame.new(0,1.5,0) | |
477 | head.Name = "HeadWeldcross" | |
478 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
479 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
480 | humanoidrootpart.Part1 = ownercharacter.Torso | |
481 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
482 | coroutine.wrap(function() | |
483 | while lookintheyesofgodandknowthatnodemonwillovercomethepowerofthesonthefatherandalltheghoststhedoyoubelieveitpowerofchristcompelsyouthepowerofchristcompelsyouthepoweerrrrrofshristcompelsyouuuu.Playing and equipped do | |
484 | for i = 0,1 , 0.25 do | |
485 | if equipped then | |
486 | 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) | |
487 | 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) | |
488 | 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) | |
489 | 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) | |
490 | 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) | |
491 | 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) | |
492 | runservice.Stepped:wait() | |
493 | end | |
494 | end | |
495 | for i = 0,1 , 0.25 do | |
496 | if equipped then | |
497 | 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) | |
498 | 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) | |
499 | 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) | |
500 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807432, 0.173650041, 0, -0.173650041, 0.984807432),i) | |
501 | 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) | |
502 | runservice.Stepped:wait() | |
503 | end | |
504 | end | |
505 | end | |
506 | canuse = true | |
507 | humanoidrootpart:destroy() | |
508 | head:destroy() | |
509 | rightarm:destroy() | |
510 | leftarm:destroy() | |
511 | leftleg:destroy() | |
512 | rightleg:destroy() | |
513 | end)() | |
514 | elseif lifecheck and lifecheck ~= "indeed" then | |
515 | canuse = false | |
516 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
517 | rightarm.Part0 = ownercharacter.Torso | |
518 | rightarm.Part1 = ownercharacter["Right Arm"] | |
519 | rightarm.C0 = CFrame.new(1.5,0,0) | |
520 | rightarm.Name = "RightArmWeldcross" | |
521 | local rightleg = Instance.new("Weld", ownercharacter.Torso) | |
522 | rightleg.Part0 = ownercharacter.Torso | |
523 | rightleg.Part1 = ownercharacter["Right Leg"] | |
524 | rightleg.C0 = CFrame.new(0.5,-2,0) | |
525 | rightleg.Name = "RightLegWeldcross" | |
526 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
527 | leftarm.Part0 = ownercharacter.Torso | |
528 | leftarm.Part1 = ownercharacter["Left Arm"] | |
529 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
530 | leftarm.Name = "LeftArmWeldcross" | |
531 | local leftleg = Instance.new("Weld", ownercharacter.Torso) | |
532 | leftleg.Part0 = ownercharacter.Torso | |
533 | leftleg.Part1 = ownercharacter["Left Leg"] | |
534 | leftleg.C0 = CFrame.new(-0.5,-2,0) | |
535 | leftleg.Name = "LeftLegWeldcross" | |
536 | local head = Instance.new("Weld", ownercharacter.Torso) | |
537 | head.Part0 = ownercharacter.Torso | |
538 | head.Part1 = ownercharacter.Head | |
539 | head.C0 = CFrame.new(0,1.5,0) | |
540 | head.Name = "HeadWeldcross" | |
541 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
542 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
543 | humanoidrootpart.Part1 = ownercharacter.Torso | |
544 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
545 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
546 | local ws = charhum.WalkSpeed | |
547 | local jp = charhum.JumpPower | |
548 | charhum.WalkSpeed = 0 | |
549 | charhum.JumpPower = 0 | |
550 | coroutine.wrap(function() | |
551 | local lastcf = rightgrip.C0 | |
552 | for i = 0,1 , 0.23 do | |
553 | 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) | |
554 | runservice.Stepped:wait() | |
555 | end | |
556 | local lastcf = rightgrip.C0 | |
557 | for i = 0,1 , 0.23 do | |
558 | 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) | |
559 | runservice.Stepped:wait() | |
560 | end | |
561 | local lastcf = rightgrip.C0 | |
562 | for i = 0,1 , 0.23 do | |
563 | 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) | |
564 | runservice.Stepped:wait() | |
565 | end | |
566 | local lastcf = rightgrip.C0 | |
567 | for i = 0,1 , 0.23 do | |
568 | 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) | |
569 | runservice.Stepped:wait() | |
570 | end | |
571 | local lastcf = rightgrip.C0 | |
572 | for i = 0,1 , 0.23 do | |
573 | 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) | |
574 | runservice.Stepped:wait() | |
575 | end | |
576 | local lastcf = rightgrip.C0 | |
577 | for i = 0,1 , 0.23 do | |
578 | 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) | |
579 | runservice.Stepped:wait() | |
580 | end | |
581 | local lastcf = rightgrip.C0 | |
582 | for i = 0,1 , 0.2 do | |
583 | 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) | |
584 | runservice.Stepped:wait() | |
585 | end | |
586 | end)() | |
587 | coroutine.wrap(function() | |
588 | for i = 0,1 , 0.02 do | |
589 | if equipped then | |
590 | 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) | |
591 | 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) | |
592 | 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) | |
593 | 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) | |
594 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.173648134, 0, 0.984807789, 0, 1, 0, -0.984807789, 0, 0.173648134),i) | |
595 | 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) | |
596 | runservice.Stepped:wait() | |
597 | end | |
598 | end | |
599 | if equipped then | |
600 | shootsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
601 | shootsound:Play() | |
602 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
603 | boomsound:Play() | |
604 | local missle = Instance.new("UnionOperation", charhum) | |
605 | local meshh = Instance.new("SpecialMesh", missle) | |
606 | meshh.MeshType = "Sphere" | |
607 | missle.Anchored = true | |
608 | missle.CanCollide = false | |
609 | missle.Size = Vector3.new(4,4,8) | |
610 | missle.Material = "Neon" | |
611 | missle.BrickColor = BrickColor.new("New Yeller") | |
612 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-5) | |
613 | local fallvalue = 0 | |
614 | local speedvalue = 5 | |
615 | local hitraycast = false | |
616 | local threshold = 0 | |
617 | coroutine.wrap(function() | |
618 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
619 | threshold = threshold + 1 | |
620 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-2) | |
621 | if fallvalue <= 0.01 then | |
622 | fallvalue = fallvalue + 0.000035 | |
623 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
624 | end | |
625 | local trail = Instance.new("UnionOperation", charhum) | |
626 | Instance.new("BlockMesh", trail) | |
627 | trail.Anchored = true | |
628 | trail.CanCollide = false | |
629 | trail.Size = Vector3.new(4,4,4) | |
630 | trail.Material = "Neon" | |
631 | 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) | |
632 | coroutine.wrap(function() | |
633 | for i = 1,15 do | |
634 | trail.Transparency = trail.Transparency + 0.075 | |
635 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
636 | runservice.Stepped:wait() | |
637 | end | |
638 | trail:destroy() | |
639 | end)() | |
640 | local exblock = Instance.new("UnionOperation", trail) | |
641 | local shockwave = Instance.new("SpecialMesh", exblock) | |
642 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
643 | shockwave.Scale = Vector3.new(3,5,3) | |
644 | exblock.BrickColor = BrickColor.new("Institutional white") | |
645 | exblock.Anchored = true | |
646 | exblock.Transparency = 0.5 | |
647 | exblock.CanCollide = false | |
648 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
649 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
650 | local rotrandom = math.random(1,2) | |
651 | coroutine.wrap(function() | |
652 | for i = 1,10 do | |
653 | exblock.Transparency = exblock.Transparency + 0.05 | |
654 | shockwave.Scale = shockwave.Scale + Vector3.new(0.5,0.2,0.5) | |
655 | if rotrandom == 1 then | |
656 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
657 | else | |
658 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
659 | end | |
660 | runservice.Stepped:wait() | |
661 | end | |
662 | exblock:destroy() | |
663 | end)() | |
664 | -- | |
665 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
666 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
667 | if rayehit then | |
668 | hitraycast = true | |
669 | if rayesurface then | |
670 | local hitsomeone = false | |
671 | for i,v in pairs(workspace:GetDescendants()) do | |
672 | if v.ClassName == "Model" and v ~= ownercharacter then | |
673 | if v:findFirstChild("Head") then | |
674 | if (v.Head.Position - rayepos).magnitude < 30 then | |
675 | v:BreakJoints() | |
676 | hitsomeone = true | |
677 | end | |
678 | end | |
679 | end | |
680 | end | |
681 | if hitsomeone then | |
682 | local taunt = math.random(1,4) | |
683 | if taunt == 1 then | |
684 | noscopesound:Play() | |
685 | noscopesound.TimePosition = 2.3 | |
686 | elseif taunt == 2 then | |
687 | headshotsound:Play() | |
688 | elseif taunt == 3 then | |
689 | headshotsound2:Play() | |
690 | elseif taunt == 4 then | |
691 | kfcnwatermelon:Play() | |
692 | end | |
693 | end | |
694 | local explosionpart = Instance.new("UnionOperation", charhum) | |
695 | explosionpart.Anchored = true | |
696 | explosionpart.CanCollide = false | |
697 | explosionpart.CFrame = CFrame.new(rayepos) | |
698 | local explosionsound = Instance.new("Sound", explosionpart) | |
699 | explosionsound.SoundId = "rbxassetid://967702054" | |
700 | explosionsound:Play() | |
701 | explosionsound.Volume = 4 | |
702 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
703 | reverb.DecayTime = 6.5 | |
704 | reverb.DryLevel = 5 | |
705 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
706 | local exblock = Instance.new("UnionOperation", charhum) | |
707 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
708 | exblock.BrickColor = BrickColor.new("Institutional white") | |
709 | exblock.Anchored = true | |
710 | exblock.CanCollide = false | |
711 | exblock.Transparency = 0 | |
712 | exblock.CFrame = CFrame.new(rayepos) | |
713 | exblock.Size = Vector3.new(5,5,5) | |
714 | coroutine.wrap(function() | |
715 | for i = 1,40 do | |
716 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
717 | exblock.Transparency = exblock.Transparency + 0.025 | |
718 | runservice.Stepped:wait() | |
719 | end | |
720 | exblock:destroy() | |
721 | end)() | |
722 | coroutine.wrap(function() | |
723 | for i = 1,25 do --blocks | |
724 | local exblock = Instance.new("UnionOperation", charhum) | |
725 | Instance.new("BlockMesh", exblock) | |
726 | exblock.BrickColor = BrickColor.new("New Yeller") | |
727 | exblock.Anchored = true | |
728 | exblock.CanCollide = false | |
729 | exblock.Material = "Neon" | |
730 | exblock.Transparency = 0.2 | |
731 | exblock.CFrame = CFrame.new(rayepos) | |
732 | exblock.Size = Vector3.new(0,0,0) | |
733 | coroutine.wrap(function() | |
734 | for i = 1,20 do | |
735 | exblock.Size = exblock.Size + Vector3.new(1,1,1) | |
736 | exblock.Transparency = exblock.Transparency + 0.03 | |
737 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
738 | runservice.Stepped:wait() | |
739 | end | |
740 | exblock:destroy() | |
741 | end)() | |
742 | wait(0.015) | |
743 | end | |
744 | end)() | |
745 | coroutine.wrap(function() --shockwave | |
746 | for i = 1,15 do | |
747 | local exblock = Instance.new("UnionOperation", charhum) | |
748 | local shockwave = Instance.new("SpecialMesh", exblock) | |
749 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
750 | shockwave.Scale = Vector3.new(3,6.5,3) | |
751 | exblock.BrickColor = BrickColor.new("Institutional white") | |
752 | exblock.Anchored = true | |
753 | exblock.Transparency = 0 | |
754 | exblock.CanCollide = false | |
755 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
756 | exblock.CFrame = CFrame.new(rayepos) | |
757 | else | |
758 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
759 | end | |
760 | local rotrandom = math.random(1,2) | |
761 | coroutine.wrap(function() | |
762 | for i = 1,20 do | |
763 | exblock.Transparency = exblock.Transparency + 0.05 | |
764 | shockwave.Scale = shockwave.Scale + Vector3.new(1.5,-0.4,1.5) | |
765 | if rotrandom == 1 then | |
766 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
767 | else | |
768 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
769 | end | |
770 | runservice.Stepped:wait() | |
771 | end | |
772 | exblock:destroy() | |
773 | end)() | |
774 | wait(0.05) | |
775 | end | |
776 | end)() | |
777 | end | |
778 | end | |
779 | end | |
780 | missle:destroy() | |
781 | end)() | |
782 | end | |
783 | for i = 0,1 , 0.1 do | |
784 | if equipped then | |
785 | 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) | |
786 | 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) | |
787 | 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) | |
788 | 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) | |
789 | 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) | |
790 | 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) | |
791 | runservice.Stepped:wait() | |
792 | end | |
793 | end | |
794 | wait(0.5) | |
795 | canuse = true | |
796 | charhum.WalkSpeed = ws | |
797 | charhum.JumpPower = jp | |
798 | leftleg:destroy() | |
799 | rightleg:destroy() | |
800 | for i = 0,1 , 0.04 do | |
801 | if equipped then | |
802 | if canuse then | |
803 | rightgrip.C0 = rightgrip.C0:lerp(CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0),i) | |
804 | end | |
805 | 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) | |
806 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i) | |
807 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i) | |
808 | head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i) | |
809 | runservice.Stepped:wait() | |
810 | end | |
811 | end | |
812 | rightarm:destroy() | |
813 | leftarm:destroy() | |
814 | head:destroy() | |
815 | humanoidrootpart:destroy() | |
816 | end)() | |
817 | elseif lifecheck == "indeed" then | |
818 | canuse = false | |
819 | anim = "scope" | |
820 | wait(1) | |
821 | if equipped then | |
822 | if lifecheck == "indeed" then | |
823 | anim = "shoot" | |
824 | shootsound.PlaybackSpeed = 0.7+math.random(-10,10)/60 | |
825 | shootsound:Play() | |
826 | boomsound.PlaybackSpeed = 1+math.random(-10,10)/60 | |
827 | boomsound:Play() | |
828 | local missle = Instance.new("UnionOperation", charhum) | |
829 | local meshh = Instance.new("SpecialMesh", missle) | |
830 | meshh.MeshType = "Sphere" | |
831 | missle.Anchored = true | |
832 | missle.CanCollide = false | |
833 | missle.Size = Vector3.new(6,6,12) | |
834 | missle.Material = "Neon" | |
835 | missle.BrickColor = BrickColor.new("New Yeller") | |
836 | missle.CFrame = ownercharacter.Head.CFrame * CFrame.new(1.5,0,-7) | |
837 | local fallvalue = 0 | |
838 | local speedvalue = 5 | |
839 | local hitraycast = false | |
840 | local threshold = 0 | |
841 | coroutine.wrap(function() | |
842 | while not hitraycast and threshold <= 450 and runservice.Stepped:wait() do | |
843 | threshold = threshold + 1 | |
844 | missle.CFrame = missle.CFrame * CFrame.new(0,0,-3) | |
845 | if fallvalue <= 0.01 then | |
846 | fallvalue = fallvalue + 0.000035 | |
847 | missle.CFrame = missle.CFrame * CFrame.fromEulerAnglesXYZ(-fallvalue,0,0) | |
848 | end | |
849 | local trail = Instance.new("UnionOperation", charhum) | |
850 | Instance.new("BlockMesh", trail) | |
851 | trail.Anchored = true | |
852 | trail.CanCollide = false | |
853 | trail.Size = Vector3.new(6,6,6) | |
854 | trail.Material = "Neon" | |
855 | 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) | |
856 | coroutine.wrap(function() | |
857 | for i = 1,15 do | |
858 | trail.Transparency = trail.Transparency + 0.075 | |
859 | trail.Size = trail.Size + Vector3.new(0.15,0.15,0.15) | |
860 | runservice.Stepped:wait() | |
861 | end | |
862 | trail:destroy() | |
863 | end)() | |
864 | local exblock = Instance.new("UnionOperation", trail) | |
865 | local shockwave = Instance.new("SpecialMesh", exblock) | |
866 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
867 | shockwave.Scale = Vector3.new(3,5,3) | |
868 | exblock.BrickColor = BrickColor.new("Institutional white") | |
869 | exblock.Anchored = true | |
870 | exblock.Transparency = 0.5 | |
871 | exblock.CanCollide = false | |
872 | local cfx,cfy,cfz = missle.CFrame:ToEulerAnglesXYZ() | |
873 | exblock.CFrame = CFrame.new(trail.Position) * CFrame.fromEulerAnglesXYZ(cfx,cfy,cfz) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
874 | local rotrandom = math.random(1,2) | |
875 | coroutine.wrap(function() | |
876 | for i = 1,10 do | |
877 | exblock.Transparency = exblock.Transparency + 0.05 | |
878 | shockwave.Scale = shockwave.Scale + Vector3.new(1,0.2,1) | |
879 | if rotrandom == 1 then | |
880 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
881 | else | |
882 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
883 | end | |
884 | runservice.Stepped:wait() | |
885 | end | |
886 | exblock:destroy() | |
887 | end)() | |
888 | -- | |
889 | local rayecast = Ray.new(missle.Position, missle.CFrame.lookVector*missle.Size.z) | |
890 | local rayehit, rayepos, rayesurface = workspace:FindPartOnRayWithIgnoreList(rayecast, {ownercharacter}) | |
891 | if rayehit then | |
892 | hitraycast = true | |
893 | if rayesurface then | |
894 | local hitsomeone = false | |
895 | for i,v in pairs(workspace:GetDescendants()) do | |
896 | if v.ClassName == "Model" and v ~= ownercharacter then | |
897 | if v:findFirstChild("Head") then | |
898 | if (v.Head.Position - rayepos).magnitude < 30 then | |
899 | v:BreakJoints() | |
900 | hitsomeone = true | |
901 | end | |
902 | end | |
903 | end | |
904 | end | |
905 | if hitsomeone then | |
906 | local taunt = math.random(1,4) | |
907 | if taunt == 1 then | |
908 | noscopesound:Play() | |
909 | noscopesound.TimePosition = 2.3 | |
910 | elseif taunt == 2 then | |
911 | headshotsound:Play() | |
912 | elseif taunt == 3 then | |
913 | headshotsound2:Play() | |
914 | elseif taunt == 4 then | |
915 | kfcnwatermelon:Play() | |
916 | end | |
917 | end | |
918 | local explosionpart = Instance.new("UnionOperation", charhum) | |
919 | explosionpart.Anchored = true | |
920 | explosionpart.CanCollide = false | |
921 | explosionpart.CFrame = CFrame.new(rayepos) | |
922 | local explosionsound = Instance.new("Sound", explosionpart) | |
923 | explosionsound.SoundId = "rbxassetid://967702054" | |
924 | explosionsound:Play() | |
925 | explosionsound.Volume = 6 | |
926 | explosionsound.PlaybackSpeed = 0.5 | |
927 | local reverb = Instance.new("ReverbSoundEffect", explosionsound) | |
928 | reverb.DecayTime = 6.5 | |
929 | reverb.DryLevel = 5 | |
930 | game.Debris:AddItem(explosionpart, explosionsound.TimeLength) | |
931 | local exblock = Instance.new("UnionOperation", charhum) | |
932 | Instance.new("SpecialMesh", exblock).MeshType = "Sphere" | |
933 | exblock.BrickColor = BrickColor.new("Institutional white") | |
934 | exblock.Anchored = true | |
935 | exblock.CanCollide = false | |
936 | exblock.Transparency = 0 | |
937 | exblock.CFrame = CFrame.new(rayepos) | |
938 | exblock.Size = Vector3.new(5,5,5) | |
939 | coroutine.wrap(function() | |
940 | for i = 1,40 do | |
941 | exblock.Size = exblock.Size + Vector3.new(4,4,4) | |
942 | exblock.Transparency = exblock.Transparency + 0.025 | |
943 | runservice.Stepped:wait() | |
944 | end | |
945 | exblock:destroy() | |
946 | end)() | |
947 | coroutine.wrap(function() | |
948 | for i = 1,35 do --blocks | |
949 | local exblock = Instance.new("UnionOperation", charhum) | |
950 | Instance.new("BlockMesh", exblock) | |
951 | exblock.BrickColor = BrickColor.new("New Yeller") | |
952 | exblock.Anchored = true | |
953 | exblock.CanCollide = false | |
954 | exblock.Material = "Neon" | |
955 | exblock.Transparency = 0.2 | |
956 | exblock.CFrame = CFrame.new(rayepos) | |
957 | exblock.Size = Vector3.new(0,0,0) | |
958 | coroutine.wrap(function() | |
959 | for i = 1,20 do | |
960 | exblock.Size = exblock.Size + Vector3.new(2,2,2) | |
961 | exblock.Transparency = exblock.Transparency + 0.03 | |
962 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
963 | runservice.Stepped:wait() | |
964 | end | |
965 | exblock:destroy() | |
966 | end)() | |
967 | wait(0.015) | |
968 | end | |
969 | end)() | |
970 | coroutine.wrap(function() --shockwave | |
971 | for i = 1,25 do | |
972 | local exblock = Instance.new("UnionOperation", charhum) | |
973 | local shockwave = Instance.new("SpecialMesh", exblock) | |
974 | shockwave.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
975 | shockwave.Scale = Vector3.new(3,7.5,3) | |
976 | exblock.BrickColor = BrickColor.new("Institutional white") | |
977 | exblock.Anchored = true | |
978 | exblock.Transparency = 0 | |
979 | exblock.CanCollide = false | |
980 | if rayehit.Parent:findFirstChildOfClass("Humanoid") or rayehit.Parent.Parent:findFirstChildOfClass("Humanoid") then | |
981 | exblock.CFrame = CFrame.new(rayepos) | |
982 | else | |
983 | exblock.CFrame = CFrame.new(rayepos, rayepos-rayesurface) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
984 | end | |
985 | local rotrandom = math.random(1,2) | |
986 | coroutine.wrap(function() | |
987 | for i = 1,20 do | |
988 | exblock.Transparency = exblock.Transparency + 0.05 | |
989 | shockwave.Scale = shockwave.Scale + Vector3.new(3,-0.6,3) | |
990 | if rotrandom == 1 then | |
991 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0) | |
992 | else | |
993 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(-10),0) | |
994 | end | |
995 | runservice.Stepped:wait() | |
996 | end | |
997 | exblock:destroy() | |
998 | end)() | |
999 | wait(0.05) | |
1000 | end | |
1001 | end)() | |
1002 | end | |
1003 | end | |
1004 | end | |
1005 | missle:destroy() | |
1006 | end)() | |
1007 | wait(0.5) | |
1008 | anim = "idle" | |
1009 | canuse = true | |
1010 | end | |
1011 | end | |
1012 | end | |
1013 | end | |
1014 | end) | |
1015 | tool.Activated:connect(function() | |
1016 | if canuse then | |
1017 | if not lifecheck then | |
1018 | wait(0.1) | |
1019 | if clicked then | |
1020 | canuse = false | |
1021 | chargesound.PlaybackSpeed = 1 | |
1022 | chargesound:Play() | |
1023 | coroutine.wrap(function() | |
1024 | local chargiin = true | |
1025 | coroutine.wrap(function() | |
1026 | while clicked and equipped and chargiin and wait(0.1) do | |
1027 | local exblock = Instance.new("UnionOperation", charhum) | |
1028 | Instance.new("BlockMesh", exblock) | |
1029 | exblock.BrickColor = BrickColor.new("Institutional white") | |
1030 | exblock.Anchored = true | |
1031 | exblock.CanCollide = false | |
1032 | exblock.Material = "Neon" | |
1033 | exblock.Transparency = 0.7 | |
1034 | exblock.CFrame = CFrame.new(handle.Position) | |
1035 | exblock.Size = Vector3.new(6,6,6) | |
1036 | coroutine.wrap(function() | |
1037 | for i = 1,20 do | |
1038 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1039 | exblock.Transparency = exblock.Transparency + 0.015 | |
1040 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1041 | runservice.Stepped:wait() | |
1042 | end | |
1043 | exblock:destroy() | |
1044 | end)() | |
1045 | end | |
1046 | end)() | |
1047 | for i = 1,300 do | |
1048 | if clicked and equipped then | |
1049 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1050 | runservice.Stepped:wait() | |
1051 | end | |
1052 | end | |
1053 | chargiin = false | |
1054 | if clicked and equipped then | |
1055 | lifecheck = true | |
1056 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1057 | music.TimePosition = 0 | |
1058 | music.SoundId = "rbxassetid://2913619435" | |
1059 | lasersound:Play() | |
1060 | for i,v in pairs(tool:GetDescendants()) do | |
1061 | if v.Name == "shiney" and v.ClassName == "Part" then | |
1062 | v.Material = "Neon" | |
1063 | end | |
1064 | end | |
1065 | local holy = Instance.new("Fire", handle) | |
1066 | holy.Size = 30 | |
1067 | holy.Heat = 20 | |
1068 | holy.Color = Color3.fromRGB(255,255,255) | |
1069 | coroutine.wrap(function() | |
1070 | for i = 1,120 do | |
1071 | holy.Size = holy.Size - 0.25 | |
1072 | runservice.Stepped:wait() | |
1073 | end | |
1074 | holy.Enabled = false | |
1075 | wait(2) | |
1076 | holy:destroy() | |
1077 | end)() | |
1078 | end | |
1079 | chargesound:Stop() | |
1080 | while runservice.Stepped:wait() and clicked do end | |
1081 | canuse = true | |
1082 | end)() | |
1083 | end | |
1084 | elseif lifecheck and lifecheck ~= "indeed" then | |
1085 | wait(0.1) | |
1086 | if clicked then | |
1087 | canuse = false | |
1088 | chargesound.PlaybackSpeed = 1 | |
1089 | chargesound:Play() | |
1090 | coroutine.wrap(function() | |
1091 | local chargiin = true | |
1092 | coroutine.wrap(function() | |
1093 | while clicked and equipped and chargiin and wait(0.1) do | |
1094 | local exblock = Instance.new("UnionOperation", charhum) | |
1095 | Instance.new("BlockMesh", exblock) | |
1096 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1097 | exblock.Anchored = true | |
1098 | exblock.CanCollide = false | |
1099 | exblock.Material = "Neon" | |
1100 | exblock.Transparency = 0.5 | |
1101 | exblock.CFrame = CFrame.new(handle.Position) | |
1102 | exblock.Size = Vector3.new(6,6,6) | |
1103 | coroutine.wrap(function() | |
1104 | for i = 1,20 do | |
1105 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1106 | exblock.Transparency = exblock.Transparency + 0.015 | |
1107 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1108 | runservice.Stepped:wait() | |
1109 | end | |
1110 | exblock:destroy() | |
1111 | end)() | |
1112 | end | |
1113 | end)() | |
1114 | for i = 1,300 do | |
1115 | if clicked and equipped then | |
1116 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1117 | runservice.Stepped:wait() | |
1118 | end | |
1119 | end | |
1120 | chargiin = false | |
1121 | if clicked and equipped then | |
1122 | lifecheck = "indeed" | |
1123 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1124 | music.TimePosition = 0 | |
1125 | music.SoundId = "rbxassetid://295754240" | |
1126 | lasersound:Play() | |
1127 | for i,v in pairs(tool:GetDescendants()) do | |
1128 | if v.ClassName == "Part" then | |
1129 | local mesh = Instance.new("BlockMesh", v) | |
1130 | mesh.Scale = Vector3.new(2.5,2.5,2.5) | |
1131 | handle2weld.C0 = CFrame.new(2,0,0) | |
1132 | shineyweld.C0 = CFrame.new(0,0.5,0) | |
1133 | shiney2weld.C0 = CFrame.new(0,0.5,0) | |
1134 | end | |
1135 | end | |
1136 | local holy = Instance.new("Fire", handle) | |
1137 | holy.Size = 30 | |
1138 | holy.Heat = 20 | |
1139 | holy.Color = Color3.fromRGB(255,255,0) | |
1140 | coroutine.wrap(function() | |
1141 | for i = 1,120 do | |
1142 | holy.Size = holy.Size - 0.25 | |
1143 | runservice.Stepped:wait() | |
1144 | end | |
1145 | holy.Enabled = false | |
1146 | wait(2) | |
1147 | holy:destroy() | |
1148 | end)() | |
1149 | anim = "idle" | |
1150 | local rightgrip = ownercharacter["Right Arm"]:WaitForChild("RightGrip") | |
1151 | local rightarm = Instance.new("Weld", ownercharacter.Torso) | |
1152 | rightarm.Part0 = ownercharacter.Torso | |
1153 | rightarm.Part1 = ownercharacter["Right Arm"] | |
1154 | rightarm.C0 = CFrame.new(1.5,0,0) | |
1155 | rightarm.Name = "RightArmWeldcross" | |
1156 | local leftarm = Instance.new("Weld", ownercharacter.Torso) | |
1157 | leftarm.Part0 = ownercharacter.Torso | |
1158 | leftarm.Part1 = ownercharacter["Left Arm"] | |
1159 | leftarm.C0 = CFrame.new(-1.5,0,0) | |
1160 | leftarm.Name = "LeftArmWeldcross" | |
1161 | local head = Instance.new("Weld", ownercharacter.Torso) | |
1162 | head.Part0 = ownercharacter.Torso | |
1163 | head.Part1 = ownercharacter.Head | |
1164 | head.C0 = CFrame.new(0,1.5,0) | |
1165 | head.Name = "HeadWeldcross" | |
1166 | local humanoidrootpart = Instance.new("Weld", ownercharacter.HumanoidRootPart) | |
1167 | humanoidrootpart.Part0 = ownercharacter.HumanoidRootPart | |
1168 | humanoidrootpart.Part1 = ownercharacter.Torso | |
1169 | humanoidrootpart.Name = "HumanoidRootPartWeldcross" | |
1170 | coroutine.wrap(function() | |
1171 | while equipped and lifecheck == "indeed" and runservice.Stepped:wait() do | |
1172 | if cananimate then | |
1173 | local absvel = rootpart.CFrame:vectorToObjectSpace(rootpart.Velocity) | |
1174 | if anim == "idle" then | |
1175 | 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) | |
1176 | 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) | |
1177 | 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) | |
1178 | 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) | |
1179 | 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) | |
1180 | runservice.Stepped:wait() | |
1181 | elseif anim == "scope" then | |
1182 | 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) | |
1183 | 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) | |
1184 | 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) | |
1185 | 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) | |
1186 | 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) | |
1187 | runservice.Stepped:wait() | |
1188 | elseif anim == "shoot" then | |
1189 | 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) | |
1190 | 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) | |
1191 | 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) | |
1192 | 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) | |
1193 | 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) | |
1194 | runservice.Stepped:wait() | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | rightarm:destroy() | |
1199 | leftarm:destroy() | |
1200 | head:destroy() | |
1201 | humanoidrootpart:destroy() | |
1202 | end)() | |
1203 | end | |
1204 | chargesound:Stop() | |
1205 | while runservice.Stepped:wait() and clicked do end | |
1206 | canuse = true | |
1207 | end)() | |
1208 | end | |
1209 | elseif lifecheck == "indeed" then | |
1210 | wait(0.1) | |
1211 | if clicked then | |
1212 | canuse = false | |
1213 | chargesound.PlaybackSpeed = 1 | |
1214 | chargesound:Play() | |
1215 | coroutine.wrap(function() | |
1216 | local chargiin = true | |
1217 | coroutine.wrap(function() | |
1218 | while clicked and equipped and chargiin and wait(0.1) do | |
1219 | local exblock = Instance.new("UnionOperation", charhum) | |
1220 | Instance.new("BlockMesh", exblock) | |
1221 | exblock.BrickColor = BrickColor.new("New Yeller") | |
1222 | exblock.Anchored = true | |
1223 | exblock.CanCollide = false | |
1224 | exblock.Material = "Neon" | |
1225 | exblock.Transparency = 0.5 | |
1226 | exblock.CFrame = CFrame.new(handle.Position) | |
1227 | exblock.Size = Vector3.new(10,10,10) | |
1228 | coroutine.wrap(function() | |
1229 | for i = 1,20 do | |
1230 | exblock.Size = exblock.Size - Vector3.new(0.2,0.2,0.2) | |
1231 | exblock.Transparency = exblock.Transparency + 0.015 | |
1232 | exblock.CFrame = exblock.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3) | |
1233 | runservice.Stepped:wait() | |
1234 | end | |
1235 | exblock:destroy() | |
1236 | end)() | |
1237 | end | |
1238 | end)() | |
1239 | for i = 1,300 do | |
1240 | if clicked and equipped then | |
1241 | chargesound.PlaybackSpeed = chargesound.PlaybackSpeed - 0.0025 | |
1242 | runservice.Stepped:wait() | |
1243 | end | |
1244 | end | |
1245 | chargiin = false | |
1246 | if clicked and equipped then | |
1247 | lifecheck = false | |
1248 | if workspace:findFirstChild("omg"..string.lower(owner.Name)) then workspace:findFirstChild("omg"..string.lower(owner.Name)):destroy() end | |
1249 | music.TimePosition = 0 | |
1250 | music.SoundId = "rbxassetid://4361093477" | |
1251 | lasersound:Play() | |
1252 | for i,v in pairs(tool:GetDescendants()) do | |
1253 | if v.ClassName == "BlockMesh" then | |
1254 | v:destroy() | |
1255 | end | |
1256 | if v.ClassName == "Part" then | |
1257 | if v.Material == Enum.Material.Neon then | |
1258 | v.Material = "Plastic" | |
1259 | v.Reflectance = 1 | |
1260 | end | |
1261 | end | |
1262 | end | |
1263 | local holy = Instance.new("Fire", handle) | |
1264 | holy.Size = 30 | |
1265 | holy.Heat = 20 | |
1266 | holy.Color = Color3.fromRGB(255,255,255) | |
1267 | coroutine.wrap(function() | |
1268 | for i = 1,120 do | |
1269 | holy.Size = holy.Size - 0.25 | |
1270 | runservice.Stepped:wait() | |
1271 | end | |
1272 | holy.Enabled = false | |
1273 | wait(2) | |
1274 | holy:destroy() | |
1275 | end)() | |
1276 | shiney2weld.C0 = shiney2c0 | |
1277 | shineyweld.C0 = shineyc0 | |
1278 | handle2weld.C0 = handle2c0 | |
1279 | ownercharacter["Right Arm"]:WaitForChild("RightGrip"):destroy() | |
1280 | local rightgrip = Instance.new("Weld", ownercharacter["Right Arm"]) | |
1281 | rightgrip.Part0 = ownercharacter["Right Arm"] | |
1282 | rightgrip.Part1 = handle | |
1283 | rightgrip.Name = "RightGrip" | |
1284 | rightgrip.C0 = CFrame.new(-0.0231323242, -0.962421417, -1.0267334, 0, 0, -1, 0, -0.999994457, 0, -1, 0, 0) | |
1285 | end | |
1286 | chargesound:Stop() | |
1287 | while runservice.Stepped:wait() and clicked do end | |
1288 | canuse = true | |
1289 | end)() | |
1290 | end | |
1291 | end | |
1292 | end | |
1293 | end) | |
1294 | end)() | |
1295 | Tool0.Parent = owner.Character |