SHOW:
|
|
- or go back to the newest paste.
1 | - | -- the hottest shit to ever shit on a plate by king_absalom |
1 | + | local SGui = Instance.new("ScreenGui", Player.PlayerGui) |
2 | - | -- UPDATE: I have removed the long ass intro and the hat (Because it wont load and if it does it will take a long time to do so) |
2 | + | local SMain = Instance.new("Frame", SGui) |
3 | local SBM = Instance.new("TextLabel", SMain) | |
4 | SGui.Name = "MusicGui" | |
5 | - | "Created by: Wizardunstopable and MatterGh0st" |
5 | + | SMain.Name = "Main" |
6 | SMain.Position = UDim2.new(.7, 0, .8, 0) | |
7 | - | Oh, I didn't know editing King_Absalom's script makes it "YOURS" |
7 | + | SMain.Size = UDim2.new(.3, 0, .2, 0) |
8 | - | #sarcasm |
8 | + | SMain.Style = "DropShadow" |
9 | SBM.Name = "BM" | |
10 | - | anyways |
10 | + | SBM.BackgroundTransparency = 1 |
11 | - | "Give Credit Plz and DONT LEAK THIS" |
11 | + | SBM.Size = UDim2.new(.8, 0, .2, 0) |
12 | SBM.Font = "SourceSansLight" | |
13 | - | its an edit so.. i'll just leak it anyways. ;) |
13 | + | SBM.TextColor3 = Color3.new(1,1,1) |
14 | - | ]] |
14 | + | SBM.Text = "Battle Music" |
15 | SBM.TextScaled = true | |
16 | local CMP = Instance.new("TextButton", SMain) | |
17 | CMP.BackgroundColor3 = Color3.new(127/255, 127/255, 127/255) | |
18 | CMP.BackgroundTransparency = .5 | |
19 | CMP.BorderSizePixel = 0 | |
20 | CMP.Name = "Change Parent of Music" | |
21 | CMP.Position = UDim2.new(.8, 0, 0, 0) | |
22 | CMP.Size = UDim2.new(.2, 0, .2, 0) | |
23 | CMP.Font = "SourceSansLight" | |
24 | CMP.TextColor3 = Color3.new(1,1,1) | |
25 | CMP.Text = "Music is Local" | |
26 | CMP.TextScaled = true | |
27 | local _M1 = Instance.new("TextButton", SMain) | |
28 | _M1.BackgroundColor3 = Color3.new(96/255, 96/255, 96/255) | |
29 | _M1.BackgroundTransparency = .5 | |
30 | _M1.BorderSizePixel = 0 | |
31 | _M1.Name = "Music Button" | |
32 | _M1.Position = UDim2.new(.01, 0, .21, 0) | |
33 | _M1.Size = UDim2.new(.2, 0, .2, 0) | |
34 | _M1.Font = "SourceSansLight" | |
35 | _M1.Text = "Kuusou Mesorogiwi" | |
36 | _M1.TextColor3 = Color3.new(1,1,1) | |
37 | _M1.TextScaled = true | |
38 | ||
39 | local BM = Instance.new("Sound") | |
40 | BM.Parent = script | |
41 | BM.Volume = .4 | |
42 | - | p.Character.Head.BrickColor = BrickColor.new("Really black") |
42 | + | BM.Looped = true |
43 | - | p.Character.Torso.BrickColor = BrickColor.new("Really black") |
43 | + | BM.SoundId = "rbxassetid://231639886" |
44 | - | p.Character["Right Arm"].BrickColor = BrickColor.new("Really black") |
44 | + | |
45 | - | p.Character["Right Leg"].BrickColor = BrickColor.new("Really black") |
45 | + | local HBill = Instance.new("BillboardGui", hed) |
46 | - | p.Character["Left Leg"].BrickColor = BrickColor.new("Really black") |
46 | + | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") |
47 | - | p.Character["Left Arm"].BrickColor = BrickColor.new("Really black") |
47 | + | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") |
48 | HBill.Size = UDim2.new(15,0,2.2,0) | |
49 | HBill.Name = "Health Display" | |
50 | HBill.StudsOffset = Vector3.new(0,4,0) | |
51 | HBill.AlwaysOnTop = true | |
52 | HBill.Enabled = false | |
53 | HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
54 | HMain.BackgroundTransparency = 0.6 | |
55 | HMain.Size = UDim2.new(1,0,1,0) | |
56 | HBarBack.Parent = HMain | |
57 | HBarBack.BackgroundColor3 = Color3.new(0,0,0) | |
58 | HBarBack.BorderColor3 = Color3.new(0,0,0) | |
59 | HBarBack.BorderSizePixel = 2 | |
60 | HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
61 | HBarBack.Size = UDim2.new(.95, 0, .3, 0) | |
62 | HBar.Parent = HBarBack | |
63 | HBar.BackgroundColor3 = Color3.new(0, 1, 0) | |
64 | HBar.BorderColor3 = Color3.new(0,0,0) | |
65 | HBar.Size = UDim2.new(.5,0,1,0) | |
66 | HHealth.BackgroundTransparency = 1 | |
67 | HHealth.Size = UDim2.new(1,0,1,0) | |
68 | HHealth.Font = "SourceSans" | |
69 | HHealth.Text = "[10/10]" | |
70 | HHealth.TextScaled = true | |
71 | HHealth.TextColor3 = Color3.new(1,1,1) | |
72 | HHealth.TextStrokeColor3 = Color3.new(85/255, 0, 127/255) | |
73 | HHealth.TextStrokeTransparency = 0 | |
74 | HName.Parent = HMain | |
75 | HName.BackgroundTransparency = 1 | |
76 | HName.Size = UDim2.new(1,0,.5,0) | |
77 | HName.Font = "SourceSansItalic" | |
78 | HName.Text = "Fire Dragon Lord" | |
79 | HName.TextScaled = true | |
80 | HName.TextColor3 = Color3.new(85/255, 0,127/255) | |
81 | HName.TextStrokeColor3 = Color3.new(0,0,0) | |
82 | HName.TextStrokeTransparency = 0 | |
83 | HName.TextYAlignment = "Top" | |
84 | ||
85 | runServ:connect(function() | |
86 | HHealth.Text = "["..hum.Health.."]" | |
87 | HBar:TweenSize(UDim2.new((hum.Health/hum.MaxHealth),0,1,0), _, "Linear", .4) | |
88 | end) | |
89 | ||
90 | local DHandle = Instance.new("Part") | |
91 | local DMesh = Instance.new("SpecialMesh") | |
92 | local DWeld = Instance.new("Weld") | |
93 | DHandle.Parent = char | |
94 | DHandle.Name = "DogeHead" | |
95 | DHandle.CanCollide = false | |
96 | DHandle.Locked = true | |
97 | DHandle.Size = Vector3.new(1.93, 1.77, 1.6) | |
98 | DMesh.Parent = DHandle | |
99 | DMesh.MeshId = "http://www.roblox.com/asset/?id=151778863" | |
100 | DMesh.TextureId = "http://www.roblox.com/asset/?id=151778895" | |
101 | DMesh.Scale = DMesh.Scale * 1.8 | |
102 | DWeld.Parent = DHandle | |
103 | DWeld.Name = "no" | |
104 | DWeld.Part0 = hed | |
105 | DWeld.Part1 = DHandle | |
106 | DWeld.C0 = CFrame.new(0,0,-0.7) * CFrame.fromEulerAnglesXYZ(math.rad(-20),0,0) | |
107 | hed.face.Texture = "rbxassetid://0" | |
108 | hed.Transparency = 1 | |
109 | local eye1 = Instance.new("Part") | |
110 | eye1.BrickColor = BrickColor.new("Dark indigo") | |
111 | eye1.Material = "Neon" | |
112 | eye1.Transparency = 1 | |
113 | eye1.Name = "oi" | |
114 | eye1.Size = Vector3.new(.1,.1,.1) | |
115 | eye1.CanCollide = false | |
116 | eye1.Anchored = false | |
117 | eye1.Locked = true | |
118 | eye1.CFrame = hed.CFrame | |
119 | local eye1weld = Instance.new("Weld") | |
120 | eye1weld.Parent = DHandle | |
121 | eye1weld.Name = "nooo" | |
122 | eye1weld.Part0 = DHandle | |
123 | eye1weld.Part1 = eye1 | |
124 | eye1weld.C0 = CFrame.new(0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(20), math.rad(0)) | |
125 | eye1.Parent = DHandle | |
126 | local eye2 = Instance.new("Part") | |
127 | eye2.BrickColor = BrickColor.new("Dark indigo") | |
128 | eye2.Material = "Neon" | |
129 | eye2.Transparency = 1 | |
130 | eye2.Name = "oi" | |
131 | eye2.Size = Vector3.new(.1,.1,.1) | |
132 | eye2.CanCollide = false | |
133 | eye2.Anchored = false | |
134 | eye2.Locked = true | |
135 | eye2.CFrame = hed.CFrame | |
136 | local eye2weld = Instance.new("Weld") | |
137 | eye2weld.Parent = DHandle | |
138 | eye2weld.Name = "nooo" | |
139 | eye2weld.Part0 = DHandle | |
140 | eye2weld.Part1 = eye2 | |
141 | eye2weld.C0 = CFrame.new(-0.6,0.58,-0.8) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-20), math.rad(0)) | |
142 | eye2.Parent = DHandle | |
143 | local transPoints = { | |
144 | NumberSequenceKeypoint.new(0,.469,0), | |
145 | NumberSequenceKeypoint.new(.217,.375,.0187), | |
146 | NumberSequenceKeypoint.new(.381,.262,0), | |
147 | NumberSequenceKeypoint.new(.574,.462,.05), | |
148 | NumberSequenceKeypoint.new(.757,.769,.0315), | |
149 | NumberSequenceKeypoint.new(1,1,0), | |
150 | } | |
151 | local sizePoints = { | |
152 | NumberSequenceKeypoint.new(0,0,0), | |
153 | NumberSequenceKeypoint.new(.107,.55,0), | |
154 | NumberSequenceKeypoint.new(.326,.712,0), | |
155 | NumberSequenceKeypoint.new(.984,.23,0), | |
156 | NumberSequenceKeypoint.new(1,0,0), | |
157 | } | |
158 | local ESize = NumberSequence.new(sizePoints) | |
159 | local ETransparency = NumberSequence.new(transPoints) | |
160 | local Glow = Instance.new("ParticleEmitter") | |
161 | Glow.Color = ColorSequence.new(eye1.BrickColor.Color) | |
162 | Glow.LightEmission = .5 | |
163 | Glow.Size = ESize | |
164 | Glow.Name = "noice" | |
165 | Glow.Transparency = ETransparency | |
166 | Glow.EmissionDirection = "Left" | |
167 | Glow.LockedToPart = true | |
168 | Glow.VelocityInheritance = 1 | |
169 | Glow.LockedToPart = true | |
170 | Glow.Rate = 200 | |
171 | Glow.Texture = "http://www.roblox.com/asset/?id=37332909" | |
172 | Glow.Lifetime = NumberRange.new(0.5) | |
173 | Glow.RotSpeed = NumberRange.new(100) | |
174 | Glow.Speed = NumberRange.new(10) | |
175 | Glow.VelocitySpread = 5 | |
176 | Glow.Parent = eye1 | |
177 | local Glow2 = Glow:Clone() | |
178 | Glow2.Parent = eye2 | |
179 | Glow2.EmissionDirection = "Right" | |
180 | Glow.Enabled = false | |
181 | Glow2.Enabled = false | |
182 | ||
183 | local Holder = Instance.new("Part",char) | |
184 | Holder.Transparency = 1 | |
185 | Holder.Name = "Handle" | |
186 | Holder.Anchored = false | |
187 | Holder.CanCollide = false | |
188 | Holder.Locked = true | |
189 | Holder.Size = Vector3.new(1.2, .2, 1.2) | |
190 | local Holder_Motor = Instance.new("Motor6D", rarm) | |
191 | Holder_Motor.Part0 = rarm | |
192 | Holder_Motor.Name = "Char Handle" | |
193 | Holder_Motor.Part1 = Holder | |
194 | Holder_Motor.C0 = CFrame.new(0,-2,0) | |
195 | Holder_Motor.C1 = CFrame.new(0,0,0) | |
196 | -------The Dark Ruler V2--------Created by: Wizardunstopable and MatterGh0st------Give Credit Plz and DONT LEAK THIS | |
197 | local p = game.Players.LocalPlayer | |
198 | local char = p.Character | |
199 | local mouse = p:GetMouse() | |
200 | local larm = char["Left Arm"] | |
201 | local rarm = char["Right Arm"] | |
202 | local lleg = char["Left Leg"] | |
203 | local rleg = char["Right Leg"] | |
204 | local hed = char.Head | |
205 | local torso = char.Torso | |
206 | local hum = char.Humanoid | |
207 | local cam = game.Workspace.CurrentCamera | |
208 | local root = char.HumanoidRootPart | |
209 | local deb = false | |
210 | local shot = 0 | |
211 | local l = game:GetService("Lighting") | |
212 | local rs = game:GetService("RunService").RenderStepped | |
213 | local stanceToggle = "Normal" | |
214 | math.randomseed(os.time()) | |
215 | hum.WalkSpeed = 100 | |
216 | char.Health:Destroy() | |
217 | hum.MaxHealth = math.huge | |
218 | wait(0.1) | |
219 | hum.Health = math.huge | |
220 | ---------------------------------------------------- | |
221 | p:ClearCharacterAppearance() | |
222 | wait(0.1) | |
223 | p.Character.Head.BrickColor = BrickColor.new("Really red") | |
224 | p.Character.Torso.BrickColor = BrickColor.new("Really red") | |
225 | p.Character["Right Arm"].BrickColor = BrickColor.new("Really red") | |
226 | p.Character["Right Leg"].BrickColor = BrickColor.new("Really red") | |
227 | p.Character["Left Leg"].BrickColor = BrickColor.new("Really red") | |
228 | p.Character["Left Arm"].BrickColor = BrickColor.new("Really red") | |
229 | pcall(function() p.char.torso.roblox:Destroy() end) | |
230 | shirt = Instance.new("Shirt", char) | |
231 | shirt.Name = "Shirt" | |
232 | pants = Instance.new("Pants", char) | |
233 | pants.Name = "Pants" | |
234 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=235673625" | |
235 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=222859226" | |
236 | ---------------------------------------------------- | |
237 | Fl = Instance.new('Fire',larm); FR = Instance.new('Fire',rarm); Ft = Instance.new('Fire',torso) | |
238 | Ft.Size = 12 | |
239 | Fl.Size = 12 | |
240 | FR.Size = 12 | |
241 | Fl.Color = Color3.new(0,0,0) | |
242 | FR.Color = Color3.new(0,0,0) | |
243 | Ft.Color = Color3.new(0,0,0) | |
244 | Fl.SecondaryColor = Color3.new(0,0,0) | |
245 | FR.SecondaryColor = Color3.new(0,0,0) | |
246 | Ft.SecondaryColor = Color3.new(0,0,0) | |
247 | SR = Instance.new('Smoke',rleg) | |
248 | SR.Color = Color3.new(0,0,0) | |
249 | SR.Size = 1 | |
250 | SR.RiseVelocity = 1 | |
251 | ---------------------------------------------------- | |
252 | Debounces = { | |
253 | on = false; | |
254 | ks = false; | |
255 | CanAttack = true; | |
256 | CanJoke = true; | |
257 | NoIdl = false; | |
258 | Slashing = false; | |
259 | Slashed = false; | |
260 | Grabbing = false; | |
261 | Grabbed = false; | |
262 | } | |
263 | local Touche = {char.Name, } | |
264 | ---------------------------------------------------- | |
265 | function lerp(a, b, t) -- Linear interpolation | |
266 | return a + (b - a)*t | |
267 | end | |
268 | ||
269 | function slerp(a, b, t) --Spherical interpolation | |
270 | - | hed.BrickColor = BrickColor.new("Really black") |
270 | + | |
271 | if dot > 0.99999 or dot < -0.99999 then | |
272 | return t <= 0.5 and a or b | |
273 | else | |
274 | r = math.acos(dot) | |
275 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
276 | end | |
277 | end | |
278 | ||
279 | function matrixInterpolate(a, b, t) | |
280 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
281 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
282 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
283 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
284 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
285 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
286 | local t = v1:Dot(v2) | |
287 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
288 | return CFrame.new() | |
289 | end | |
290 | return CFrame.new( | |
291 | v0.x, v0.y, v0.z, | |
292 | v1.x, v1.y, v1.z, | |
293 | v2.x, v2.y, v2.z, | |
294 | v3.x, v3.y, v3.z) | |
295 | end | |
296 | ---------------------------------------------------- | |
297 | function genWeld(a,b) | |
298 | local w = Instance.new("Weld",a) | |
299 | w.Part0 = a | |
300 | w.Part1 = b | |
301 | return w | |
302 | end | |
303 | function weld(a, b) | |
304 | local weld = Instance.new("Weld") | |
305 | weld.Name = "W" | |
306 | weld.Part0 = a | |
307 | weld.Part1 = b | |
308 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
309 | weld.Parent = a | |
310 | return weld; | |
311 | end | |
312 | ---------------------------------------------------- | |
313 | function Lerp(c1,c2,al) | |
314 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
315 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
316 | - | p2.BrickColor = BrickColor.new("Really black") |
316 | + | |
317 | com1[i] = v+(com2[i]-v)*al | |
318 | end | |
319 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
320 | end | |
321 | ---------------------------------------------------- | |
322 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
323 | local wld = Instance.new("Weld", wp1) | |
324 | wld.Part0 = wp0 | |
325 | wld.Part1 = wp1 | |
326 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
327 | end | |
328 | ---------------------------------------------------- | |
329 | for i,v in pairs(char:children()) do | |
330 | if v:IsA("Hat") then | |
331 | v:Destroy() | |
332 | end | |
333 | end | |
334 | for i,v in pairs(hed:children()) do | |
335 | if v:IsA("Sound") then | |
336 | v:Destroy() | |
337 | end | |
338 | end | |
339 | ---------------------------------------------------- | |
340 | function HasntTouched(plrname) | |
341 | local ret = true | |
342 | for _, v in pairs(Touche) do | |
343 | if v == plrname then | |
344 | ret = false | |
345 | end | |
346 | end | |
347 | return ret | |
348 | end | |
349 | ---------------------------------------------------- | |
350 | larm.Size = larm.Size * 2 | |
351 | rarm.Size = rarm.Size * 2 | |
352 | lleg.Size = lleg.Size * 2 | |
353 | rleg.Size = rleg.Size * 2 | |
354 | torso.Size = torso.Size * 2 | |
355 | hed.Size = hed.Size * 2 | |
356 | root.Size = root.Size * 2 | |
357 | ---------------------------------------------------- | |
358 | newWeld(torso, larm, -1.5, 0.5, 0) | |
359 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
360 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
361 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
362 | newWeld(torso, hed, 0, 1.5, 0) | |
363 | newWeld(torso, lleg, -0.5, -1, 0) | |
364 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
365 | newWeld(torso, rleg, 0.5, -1, 0) | |
366 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
367 | newWeld(root, torso, 0, -1, 0) | |
368 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
369 | ---------------------------------------------------- | |
370 | z = Instance.new("Sound", char) | |
371 | z.SoundId = "rbxassetid://408386283"--209113706 | |
372 | z.Looped = true | |
373 | z.Pitch = 1 | |
374 | z.Volume = 1 | |
375 | - | p6.BrickColor = BrickColor.new("Really black") |
375 | + | |
376 | z:Play() | |
377 | ---------------------------------------------------- | |
378 | --[[ | |
379 | wait(0.1) | |
380 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"You Will Die Of The Hands Of Me!", "Red") | |
381 | wait(9) | |
382 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"You've rediculed hades for the last time!", "Blue") | |
383 | wait(9) | |
384 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Activate", "Red") | |
385 | wait(9.8) | |
386 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Summoning!", "Red") | |
387 | wait(0.1) | |
388 | game.Lighting.Ambient = Color3.new(1,0,0) | |
389 | wait(0.1) | |
390 | game.Lighting.Ambient = Color3.new(0,0,0) | |
391 | wait(0.1) | |
392 | game.Lighting.Ambient = Color3.new(1,0,0) | |
393 | wait(0.1) | |
394 | game.Lighting.Ambient = Color3.new(1,0,0) | |
395 | wait(0.1) | |
396 | game.Lighting.Ambient = Color3.new(1,0,0) | |
397 | wait(0.1) | |
398 | game.Lighting.Ambient = Color3.new(0,0,0) | |
399 | wait(0.1) | |
400 | game.Lighting.Ambient = Color3.new(1,0,0) | |
401 | wait(0.1) | |
402 | game.Lighting.Ambient = Color3.new(1,0,0) | |
403 | wait(0.1) | |
404 | game.Lighting.Ambient = Color3.new(1,0,0) | |
405 | wait(0.1) | |
406 | game.Lighting.Ambient = Color3.new(0,0,0) | |
407 | wait(0.1) | |
408 | game.Lighting.Ambient = Color3.new(1,0,0) | |
409 | wait(0.1) | |
410 | game.Lighting.Ambient = Color3.new(1,0,0) | |
411 | wait(0.1) | |
412 | game.Lighting.Ambient = Color3.new(0,0,0) | |
413 | wait(0.1) | |
414 | game.Lighting.Ambient = Color3.new(1,0,0) | |
415 | wait(0.1) | |
416 | game.Lighting.Ambient = Color3.new(0,0,0) | |
417 | wait(0.1) | |
418 | - | p9.BrickColor = BrickColor.new("Really black") |
418 | + | |
419 | wait(0.1) | |
420 | game.Lighting.Ambient = Color3.new(0,0,0) | |
421 | wait(0.1) | |
422 | game.Lighting.Ambient = Color3.new(1,0,0) | |
423 | wait(0.1) | |
424 | game.Lighting.Ambient = Color3.new(0,0,0) | |
425 | wait(0.1) | |
426 | game.Lighting.Ambient = Color3.new(1,0,0) | |
427 | wait(0.1) | |
428 | game.Lighting.Ambient = Color3.new(0,0,0) | |
429 | wait(0.1) | |
430 | game.Lighting.Ambient = Color3.new(1,0,0) | |
431 | - | p10.BrickColor = BrickColor.new("Really black") |
431 | + | |
432 | game.Lighting.Ambient = Color3.new(0,0,0) | |
433 | wait(0.1) | |
434 | game.Lighting.Ambient = Color3.new(1,0,0) | |
435 | wait(0.1) | |
436 | game.Lighting.Ambient = Color3.new(0,0,0) | |
437 | wait(0.1) | |
438 | game.Lighting.Ambient = Color3.new(1,0,0) | |
439 | wait(0.1) | |
440 | game.Lighting.Ambient = Color3.new(0,0,0) | |
441 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"The demon awakens! With The anger of thousands!", "Green") | |
442 | ]]-- | |
443 | --game:service'InsertService':LoadAsset(130900995):children()[1].Parent=char | |
444 | - | p11.BrickColor = BrickColor.new("Really black") |
444 | + | |
445 | --char.PumpkinReaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=334850318" | |
446 | --char.PumpkinReaper.Handle.Mesh.VertexColor = Vector3.new(1,1,1) | |
447 | --l.TimeOfDay = 24 | |
448 | z=Instance.new('Decal',hed) | |
449 | z.Face = 'Front' | |
450 | z.Texture='rbxassetid://99174105' | |
451 | hed.BrickColor = BrickColor.new("Really red") | |
452 | lite = Instance.new("PointLight", rleg) | |
453 | lite.Brightness = 30 | |
454 | lite.Range = 20 | |
455 | lite.Color = Color3.new(19, 0, 0) | |
456 | --[[local hed2 = hed:Clone() | |
457 | hed2.CanCollide = false | |
458 | hed2.Parent = char | |
459 | hed2:ClearAllChildren() | |
460 | hed2.Transparency = 1 | |
461 | hed2.Name = "DARP" | |
462 | local w = Instance.new("Weld",hed2) | |
463 | w.Part0 = hed | |
464 | w.Part1 = hed2 | |
465 | w.C0 = CFrame.new(0,0,-0.175) | |
466 | z=Instance.new("SurfaceGui",hed2) | |
467 | z.Enabled = true | |
468 | z.Face = "Front" | |
469 | z.Adornee = hed2 | |
470 | z.CanvasSize = Vector2.new(100,100) | |
471 | local face = Instance.new("ImageLabel",z) | |
472 | - | p13.BrickColor = BrickColor.new("Really black") |
472 | + | |
473 | face.Position = UDim2.new(0,15,0,0) | |
474 | face.BackgroundTransparency = 1 | |
475 | face.Image='rbxassetid://46282671']]-- | |
476 | ---------------------------------------------------- | |
477 | ||
478 | ---------------------------------------------------- | |
479 | local m = Instance.new("Model") | |
480 | m.Name = "Titanius" | |
481 | p1 = Instance.new("Part", m) | |
482 | p1.BrickColor = BrickColor.new("Really red") | |
483 | p1.FormFactor = Enum.FormFactor.Custom | |
484 | p1.Material = "Neon" | |
485 | - | p14.BrickColor = BrickColor.new("Really black") |
485 | + | |
486 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
487 | p1.CanCollide = false | |
488 | p1.Locked = true | |
489 | p1.Elasticity = 0 | |
490 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
491 | p1.TopSurface = Enum.SurfaceType.Smooth | |
492 | b1 = Instance.new("SpecialMesh", p1) | |
493 | b1.MeshType = Enum.MeshType.Wedge | |
494 | b1.Name = "Mesh" | |
495 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
496 | p2 = Instance.new("Part", m) | |
497 | p2.BrickColor = BrickColor.new("Really red") | |
498 | - | p15.BrickColor = BrickColor.new("Really black") |
498 | + | |
499 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
500 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
501 | p2.CanCollide = false | |
502 | p2.Locked = true | |
503 | p2.Elasticity = 0 | |
504 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
505 | p2.TopSurface = Enum.SurfaceType.Smooth | |
506 | b2 = Instance.new("BlockMesh", p2) | |
507 | b2.Name = "Mesh" | |
508 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
509 | p3 = Instance.new("Part", m) | |
510 | p3.BrickColor = BrickColor.new("Really red") | |
511 | - | p16.BrickColor = BrickColor.new("Really black") |
511 | + | |
512 | p3.FormFactor = Enum.FormFactor.Custom | |
513 | p3.Size = Vector3.new(1, 1.10000005, 2.0999999) | |
514 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
515 | p3.CanCollide = false | |
516 | p3.Locked = true | |
517 | p3.Elasticity = 0 | |
518 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
519 | p3.TopSurface = Enum.SurfaceType.Smooth | |
520 | b3 = Instance.new("SpecialMesh", p3) | |
521 | b3.MeshType = Enum.MeshType.Wedge | |
522 | b3.Name = "Mesh" | |
523 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
524 | - | p17.BrickColor = BrickColor.new("Really black") |
524 | + | |
525 | p4.BrickColor = BrickColor.new("Really red") | |
526 | p4.Material = "Neon" | |
527 | p4.FormFactor = Enum.FormFactor.Custom | |
528 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
529 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
530 | p4.CanCollide = false | |
531 | p4.Locked = true | |
532 | p4.Elasticity = 0 | |
533 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
534 | p4.TopSurface = Enum.SurfaceType.Smooth | |
535 | b4 = Instance.new("SpecialMesh", p4) | |
536 | b4.MeshType = Enum.MeshType.Wedge | |
537 | b4.Name = "Mesh" | |
538 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
539 | p5 = Instance.new("Part", m) | |
540 | p5.BrickColor = BrickColor.new("Really red") | |
541 | p5.Material = "Neon" | |
542 | p5.FormFactor = Enum.FormFactor.Custom | |
543 | p5.Size = Vector3.new(1, 1.10000005, 3.10000005) | |
544 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
545 | p5.CanCollide = false | |
546 | p5.Locked = true | |
547 | p5.Elasticity = 0 | |
548 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
549 | p5.TopSurface = Enum.SurfaceType.Smooth | |
550 | b5 = Instance.new("SpecialMesh", p5) | |
551 | b5.MeshType = Enum.MeshType.Wedge | |
552 | b5.Name = "Mesh" | |
553 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
554 | p6 = Instance.new("Part", m) | |
555 | p6.Name = "Handle" | |
556 | p6.BrickColor = BrickColor.new("Really red") | |
557 | p6.FormFactor = Enum.FormFactor.Custom | |
558 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
559 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
560 | p6.CanCollide = false | |
561 | p6.Locked = true | |
562 | p6.Elasticity = 0 | |
563 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
564 | p6.TopSurface = Enum.SurfaceType.Smooth | |
565 | b6 = Instance.new("BlockMesh", p6) | |
566 | b6.Name = "Mesh" | |
567 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
568 | p7 = Instance.new("Part", m) | |
569 | - | p20.BrickColor = BrickColor.new("Really black") |
569 | + | |
570 | p7.Material = "Neon" | |
571 | p7.FormFactor = Enum.FormFactor.Custom | |
572 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
573 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
574 | p7.CanCollide = false | |
575 | p7.Locked = true | |
576 | p7.Elasticity = 0 | |
577 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
578 | p7.TopSurface = Enum.SurfaceType.Smooth | |
579 | b7 = Instance.new("SpecialMesh", p7) | |
580 | b7.MeshType = Enum.MeshType.Wedge | |
581 | b7.Name = "Mesh" | |
582 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
583 | p8 = Instance.new("Part", m) | |
584 | p8.BrickColor = BrickColor.new("Really red") | |
585 | p8.Material = "Neon" | |
586 | p8.FormFactor = Enum.FormFactor.Custom | |
587 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
588 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
589 | p8.CanCollide = false | |
590 | p8.Locked = true | |
591 | p8.Elasticity = 0 | |
592 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
593 | p8.TopSurface = Enum.SurfaceType.Smooth | |
594 | b8 = Instance.new("SpecialMesh", p8) | |
595 | b8.MeshType = Enum.MeshType.Wedge | |
596 | b8.Name = "Mesh" | |
597 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
598 | p9 = Instance.new("Part", m) | |
599 | p9.BrickColor = BrickColor.new("Really red") | |
600 | p9.FormFactor = Enum.FormFactor.Custom | |
601 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
602 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
603 | p9.CanCollide = false | |
604 | p9.Locked = true | |
605 | p9.Elasticity = 0 | |
606 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
607 | p9.TopSurface = Enum.SurfaceType.Smooth | |
608 | b9 = Instance.new("BlockMesh", p9) | |
609 | b9.Name = "Mesh" | |
610 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
611 | p10 = Instance.new("Part", m) | |
612 | p10.BrickColor = BrickColor.new("Really red") | |
613 | p10.FormFactor = Enum.FormFactor.Custom | |
614 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
615 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
616 | p10.CanCollide = false | |
617 | p10.Locked = true | |
618 | p10.Elasticity = 0 | |
619 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
620 | p10.TopSurface = Enum.SurfaceType.Smooth | |
621 | b10 = Instance.new("BlockMesh", p10) | |
622 | b10.Name = "Mesh" | |
623 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
624 | p11 = Instance.new("Part", m) | |
625 | p11.BrickColor = BrickColor.new("Really red") | |
626 | p11.FormFactor = Enum.FormFactor.Custom | |
627 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
628 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
629 | p11.CanCollide = false | |
630 | p11.Locked = true | |
631 | p11.Elasticity = 0 | |
632 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
633 | p11.TopSurface = Enum.SurfaceType.Smooth | |
634 | b11 = Instance.new("BlockMesh", p11) | |
635 | b11.Name = "Mesh" | |
636 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
637 | p12 = Instance.new("Part", m) | |
638 | p12.Name = "BladeCenter" | |
639 | p12.BrickColor = BrickColor.new("Really red") | |
640 | p12.Material = "Neon" | |
641 | p12.FormFactor = Enum.FormFactor.Symmetric | |
642 | p12.Size = Vector3.new(1, 2, 2) | |
643 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
644 | p12.CanCollide = false | |
645 | p12.Locked = true | |
646 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
647 | p12.TopSurface = Enum.SurfaceType.Smooth | |
648 | b12 = Instance.new("SpecialMesh", p12) | |
649 | b12.MeshType = Enum.MeshType.Brick | |
650 | b12.Name = "Mesh" | |
651 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
652 | p13 = Instance.new("Part", m) | |
653 | p13.BrickColor = BrickColor.new("Really red") | |
654 | p13.FormFactor = Enum.FormFactor.Custom | |
655 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
656 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
657 | p13.CanCollide = false | |
658 | p13.Locked = true | |
659 | p13.Elasticity = 0 | |
660 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
661 | p13.TopSurface = Enum.SurfaceType.Smooth | |
662 | b13 = Instance.new("BlockMesh", p13) | |
663 | b13.Name = "Mesh" | |
664 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
665 | p14 = Instance.new("Part", m) | |
666 | p14.BrickColor = BrickColor.new("Really red") | |
667 | p14.FormFactor = Enum.FormFactor.Custom | |
668 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
669 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6410059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
670 | p14.CanCollide = false | |
671 | p14.Locked = true | |
672 | p14.Elasticity = 0 | |
673 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
674 | p14.TopSurface = Enum.SurfaceType.Smooth | |
675 | b14 = Instance.new("BlockMesh", p14) | |
676 | b14.Name = "Mesh" | |
677 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
678 | p15 = Instance.new("Part", m) | |
679 | p15.BrickColor = BrickColor.new("Really red") | |
680 | p15.FormFactor = Enum.FormFactor.Custom | |
681 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
682 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
683 | p15.CanCollide = false | |
684 | p15.Locked = true | |
685 | p15.Elasticity = 0 | |
686 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
687 | p15.TopSurface = Enum.SurfaceType.Smooth | |
688 | b15 = Instance.new("BlockMesh", p15) | |
689 | b15.Name = "Mesh" | |
690 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
691 | p16 = Instance.new("Part", m) | |
692 | p16.BrickColor = BrickColor.new("Really red") | |
693 | p16.FormFactor = Enum.FormFactor.Custom | |
694 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
695 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
696 | p16.CanCollide = false | |
697 | p16.Locked = true | |
698 | p16.Elasticity = 0 | |
699 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
700 | p16.TopSurface = Enum.SurfaceType.Smooth | |
701 | b16 = Instance.new("BlockMesh", p16) | |
702 | b16.Name = "Mesh" | |
703 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
704 | p17 = Instance.new("Part", m) | |
705 | p17.BrickColor = BrickColor.new("Really red") | |
706 | p17.FormFactor = Enum.FormFactor.Custom | |
707 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
708 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
709 | p17.CanCollide = false | |
710 | p17.Locked = true | |
711 | p17.Elasticity = 0 | |
712 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
713 | p17.TopSurface = Enum.SurfaceType.Smooth | |
714 | b17 = Instance.new("BlockMesh", p17) | |
715 | b17.Name = "Mesh" | |
716 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
717 | p18 = Instance.new("WedgePart", m) | |
718 | p18.BrickColor = BrickColor.new("Really red") | |
719 | p18.Name = "BladePart1" | |
720 | p18.Material = "Neon" | |
721 | p18.Name = "Wedge" | |
722 | p18.FormFactor = Enum.FormFactor.Symmetric | |
723 | p18.Size = Vector3.new(1, 4, 2) | |
724 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
725 | p18.CanCollide = false | |
726 | p18.Locked = true | |
727 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
728 | p18.TopSurface = Enum.SurfaceType.Smooth | |
729 | b18 = Instance.new("SpecialMesh", p18) | |
730 | b18.MeshType = Enum.MeshType.Wedge | |
731 | b18.Name = "Mesh" | |
732 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
733 | p19 = Instance.new("WedgePart", m) | |
734 | p19.BrickColor = BrickColor.new("Really red") | |
735 | p19.Name = "BladePart2" | |
736 | p19.Material = "Neon" | |
737 | p19.Name = "Wedge" | |
738 | p19.FormFactor = Enum.FormFactor.Symmetric | |
739 | p19.Size = Vector3.new(1, 4, 2) | |
740 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
741 | p19.CanCollide = false | |
742 | p19.Locked = true | |
743 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
744 | p19.TopSurface = Enum.SurfaceType.Smooth | |
745 | b19 = Instance.new("SpecialMesh", p19) | |
746 | b19.MeshType = Enum.MeshType.Wedge | |
747 | b19.Name = "Mesh" | |
748 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
749 | p20 = Instance.new("Part", m) | |
750 | p20.BrickColor = BrickColor.new("Really red") | |
751 | p20.FormFactor = Enum.FormFactor.Custom | |
752 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
753 | - | p1.BrickColor = BrickColor.new("Really black") |
753 | + | |
754 | p20.CanCollide = false | |
755 | p20.Locked = true | |
756 | p20.Elasticity = 0 | |
757 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
758 | p20.TopSurface = Enum.SurfaceType.Smooth | |
759 | b20 = Instance.new("BlockMesh", p20) | |
760 | b20.Name = "Mesh" | |
761 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
762 | p21 = Instance.new("Part", m) | |
763 | p21.BrickColor = BrickColor.new("Really red") | |
764 | - | p2.BrickColor = BrickColor.new("Really black") |
764 | + | |
765 | p21.FormFactor = Enum.FormFactor.Custom | |
766 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
767 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
768 | p21.CanCollide = false | |
769 | p21.Locked = true | |
770 | p21.Elasticity = 0 | |
771 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
772 | p21.TopSurface = Enum.SurfaceType.Smooth | |
773 | b21 = Instance.new("SpecialMesh", p21) | |
774 | - | p3.BrickColor = BrickColor.new("Really black") |
774 | + | |
775 | b21.Name = "Mesh" | |
776 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
777 | w1 = Instance.new("Weld", p1) | |
778 | w1.Name = "Part_Weld" | |
779 | w1.Part0 = p1 | |
780 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
781 | w1.Part1 = p2 | |
782 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
783 | w2 = Instance.new("Weld", p2) | |
784 | w2.Name = "Part_Weld" | |
785 | - | p4.BrickColor = BrickColor.new("Really black") |
785 | + | |
786 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
787 | w2.Part1 = p3 | |
788 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
789 | w3 = Instance.new("Weld", p3) | |
790 | w3.Name = "Part_Weld" | |
791 | w3.Part0 = p3 | |
792 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
793 | w3.Part1 = p4 | |
794 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
795 | - | p5.BrickColor = BrickColor.new("Really black") |
795 | + | |
796 | w4.Name = "Part_Weld" | |
797 | w4.Part0 = p4 | |
798 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
799 | w4.Part1 = p5 | |
800 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
801 | w5 = Instance.new("Weld", p5) | |
802 | w5.Name = "Part_Weld" | |
803 | w5.Part0 = p5 | |
804 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
805 | w5.Part1 = p6 | |
806 | - | p6.BrickColor = BrickColor.new("Really black") |
806 | + | |
807 | w6 = Instance.new("Weld", p6) | |
808 | w6.Name = "Part_Weld" | |
809 | w6.Part0 = p6 | |
810 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
811 | w6.Part1 = p7 | |
812 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
813 | w7 = Instance.new("Weld", p7) | |
814 | w7.Name = "Part_Weld" | |
815 | w7.Part0 = p7 | |
816 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
817 | - | p7.BrickColor = BrickColor.new("Really black") |
817 | + | |
818 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
819 | w8 = Instance.new("Weld", p8) | |
820 | w8.Name = "Part_Weld" | |
821 | w8.Part0 = p8 | |
822 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
823 | w8.Part1 = p9 | |
824 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
825 | w9 = Instance.new("Weld", p9) | |
826 | w9.Name = "Part_Weld" | |
827 | w9.Part0 = p9 | |
828 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
829 | w9.Part1 = p10 | |
830 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
831 | w10 = Instance.new("Weld", p10) | |
832 | w10.Name = "Part_Weld" | |
833 | w10.Part0 = p10 | |
834 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
835 | w10.Part1 = p11 | |
836 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
837 | w11 = Instance.new("Weld", p11) | |
838 | w11.Name = "Part_Weld" | |
839 | w11.Part0 = p11 | |
840 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
841 | w11.Part1 = p12 | |
842 | - | p9.BrickColor = BrickColor.new("Really black") |
842 | + | |
843 | w12 = Instance.new("Weld", p12) | |
844 | w12.Name = "Part_Weld" | |
845 | w12.Part0 = p12 | |
846 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
847 | w12.Part1 = p13 | |
848 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
849 | w13 = Instance.new("Weld", p13) | |
850 | w13.Name = "Part_Weld" | |
851 | w13.Part0 = p13 | |
852 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
853 | w13.Part1 = p14 | |
854 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
855 | w14 = Instance.new("Weld", p14) | |
856 | w14.Name = "Part_Weld" | |
857 | w14.Part0 = p14 | |
858 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
859 | w14.Part1 = p15 | |
860 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
861 | w15 = Instance.new("Weld", p15) | |
862 | w15.Name = "Part_Weld" | |
863 | w15.Part0 = p15 | |
864 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
865 | w15.Part1 = p16 | |
866 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
867 | - | p11.BrickColor = BrickColor.new("Really black") |
867 | + | |
868 | w16.Name = "Part_Weld" | |
869 | w16.Part0 = p16 | |
870 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
871 | w16.Part1 = p17 | |
872 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
873 | w17 = Instance.new("Weld", p17) | |
874 | w17.Name = "Wedge_Weld" | |
875 | w17.Part0 = p17 | |
876 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
877 | w17.Part1 = p18 | |
878 | - | p12.BrickColor = BrickColor.new("Really black") |
878 | + | |
879 | w18 = Instance.new("Weld", p18) | |
880 | w18.Name = "Wedge_Weld" | |
881 | w18.Part0 = p18 | |
882 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
883 | w18.Part1 = p19 | |
884 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
885 | w19 = Instance.new("Weld", p19) | |
886 | w19.Name = "Part_Weld" | |
887 | w19.Part0 = p19 | |
888 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
889 | - | p13.BrickColor = BrickColor.new("Really black") |
889 | + | |
890 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
891 | w20 = Instance.new("Weld", p20) | |
892 | w20.Name = "Part_Weld" | |
893 | w20.Part0 = p20 | |
894 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
895 | w20.Part1 = p21 | |
896 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
897 | m.Parent = char | |
898 | m:MakeJoints() | |
899 | ---------------------------------------------------- | |
900 | local cor = Instance.new("Part", char.Titanius) | |
901 | cor.Name = "Thingy" | |
902 | cor.Locked = true | |
903 | cor.BottomSurface = 0 | |
904 | cor.CanCollide = false | |
905 | cor.Size = Vector3.new(1, 13, 1) | |
906 | cor.Transparency = 1 | |
907 | cor.TopSurface = 0 | |
908 | corw = Instance.new("Weld", cor) | |
909 | corw.Part0 = rarm | |
910 | corw.Part1 = cor | |
911 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
912 | corw.C1 = CFrame.new(0, 0, 0) | |
913 | weld1 = Instance.new("Weld", char.Titanius) | |
914 | weld1.Part0 = cor | |
915 | weld1.Part1 = p6 | |
916 | weld1.C0 = CFrame.new(0, 0, 0) | |
917 | ---------------------------------------------------- | |
918 | hitb = Instance.new("Part", char.Titanius) | |
919 | hitb.Name = "Thingy2" | |
920 | hitb.Locked = true | |
921 | hitb.BottomSurface = 0 | |
922 | hitb.CanCollide = false | |
923 | hitb.Size = Vector3.new(0, 8, 6) | |
924 | hitb.Transparency = 1 | |
925 | hitb.TopSurface = 0 | |
926 | weld2 = Instance.new("Weld", char.Titanius) | |
927 | - | p16.BrickColor = BrickColor.new("Really black") |
927 | + | |
928 | weld2.Part1 = p12 | |
929 | weld2.C0 = CFrame.new(0, .6, 1) | |
930 | ---------------------------------------------------- | |
931 | local m = Instance.new("Model") | |
932 | m.Name = "Claw" | |
933 | p1 = Instance.new("Part", m) | |
934 | p1.BrickColor = BrickColor.new("Really red") | |
935 | p1.FormFactor = Enum.FormFactor.Custom | |
936 | p1.Size = Vector3.new(1.5, 0.5, 0.5) | |
937 | p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691) | |
938 | - | p17.BrickColor = BrickColor.new("Really black") |
938 | + | |
939 | p1.Locked = true | |
940 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
941 | p1.TopSurface = Enum.SurfaceType.Smooth | |
942 | b1 = Instance.new("BlockMesh", p1) | |
943 | b1.Name = "Mesh" | |
944 | p2 = Instance.new("WedgePart", m) | |
945 | p2.BrickColor = BrickColor.new("Really red") | |
946 | p2.Name = "Wedge" | |
947 | p2.FormFactor = Enum.FormFactor.Custom | |
948 | p2.Size = Vector3.new(3, 1, 0.5) | |
949 | p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0) | |
950 | p2.CanCollide = false | |
951 | p2.Locked = true | |
952 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
953 | p2.TopSurface = Enum.SurfaceType.Smooth | |
954 | p3 = Instance.new("Part", m) | |
955 | p3.BrickColor = BrickColor.new("Really red") | |
956 | p3.FormFactor = Enum.FormFactor.Custom | |
957 | p3.Size = Vector3.new(1.5, 0.5, 0.5) | |
958 | p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008) | |
959 | p3.CanCollide = false | |
960 | p3.Locked = true | |
961 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
962 | p3.TopSurface = Enum.SurfaceType.Smooth | |
963 | b2 = Instance.new("BlockMesh", p3) | |
964 | b2.Name = "Mesh" | |
965 | p4 = Instance.new("WedgePart", m) | |
966 | p4.BrickColor = BrickColor.new("Really red") | |
967 | p4.Name = "Wedge" | |
968 | p4.FormFactor = Enum.FormFactor.Custom | |
969 | p4.Size = Vector3.new(3, 1, 0.5) | |
970 | p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008) | |
971 | p4.CanCollide = false | |
972 | p4.Locked = true | |
973 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
974 | p4.TopSurface = Enum.SurfaceType.Smooth | |
975 | p5 = Instance.new("Part", m) | |
976 | p5.BrickColor = BrickColor.new("Really red") | |
977 | - | p20.BrickColor = BrickColor.new("Really black") |
977 | + | |
978 | p5.Size = Vector3.new(1.5, 0.5, 0.5) | |
979 | p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008) | |
980 | p5.CanCollide = false | |
981 | p5.Locked = true | |
982 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
983 | p5.TopSurface = Enum.SurfaceType.Smooth | |
984 | b3 = Instance.new("BlockMesh", p5) | |
985 | b3.Name = "Mesh" | |
986 | p6 = Instance.new("Part", m) | |
987 | p6.BrickColor = BrickColor.new("Really red") | |
988 | - | p21.BrickColor = BrickColor.new("Really black") |
988 | + | |
989 | p6.Size = Vector3.new(1.5, 0.5, 0.5) | |
990 | p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051) | |
991 | p6.CanCollide = false | |
992 | p6.Locked = true | |
993 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
994 | p6.TopSurface = Enum.SurfaceType.Smooth | |
995 | b4 = Instance.new("BlockMesh", p6) | |
996 | b4.Name = "Mesh" | |
997 | p7 = Instance.new("Part", m) | |
998 | p7.BrickColor = BrickColor.new("Really red") | |
999 | - | p22.BrickColor = BrickColor.new("Really black") |
999 | + | |
1000 | p7.Size = Vector3.new(3, 1, 1.10000005) | |
1001 | p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008) | |
1002 | p7.CanCollide = false | |
1003 | p7.Locked = true | |
1004 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
1005 | p7.TopSurface = Enum.SurfaceType.Smooth | |
1006 | b5 = Instance.new("BlockMesh", p7) | |
1007 | b5.Name = "Mesh" | |
1008 | p8 = Instance.new("Part", m) | |
1009 | - | p23.BrickColor = BrickColor.new("Really black") |
1009 | + | |
1010 | p8.Material = "Neon" | |
1011 | p8.FormFactor = Enum.FormFactor.Symmetric | |
1012 | p8.Size = Vector3.new(1, 1, 1) | |
1013 | p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159) | |
1014 | p8.CanCollide = false | |
1015 | p8.Locked = true | |
1016 | b6 = Instance.new("SpecialMesh", p8) | |
1017 | b6.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1018 | b6.TextureId = "" | |
1019 | b6.MeshType = Enum.MeshType.FileMesh | |
1020 | - | p24.BrickColor = BrickColor.new("Really black") |
1020 | + | |
1021 | b6.Scale = Vector3.new(1.10000005, 0.449999988, 0.449999988) | |
1022 | p9 = Instance.new("Part", m) | |
1023 | p9.BrickColor = BrickColor.new("Really red") | |
1024 | p9.FormFactor = Enum.FormFactor.Custom | |
1025 | p9.Size = Vector3.new(1.5, 0.5, 0.5) | |
1026 | p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264) | |
1027 | p9.CanCollide = false | |
1028 | p9.Locked = true | |
1029 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1030 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1031 | b7 = Instance.new("BlockMesh", p9) | |
1032 | b7.Name = "Mesh" | |
1033 | p10 = Instance.new("Part", m) | |
1034 | p10.BrickColor = BrickColor.new("Really red") | |
1035 | p10.Material = "Neon" | |
1036 | p10.FormFactor = Enum.FormFactor.Symmetric | |
1037 | p10.Size = Vector3.new(1, 1, 1) | |
1038 | p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702) | |
1039 | p10.CanCollide = false | |
1040 | p10.Locked = true | |
1041 | b8 = Instance.new("SpecialMesh", p10) | |
1042 | b8.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1043 | b8.TextureId = "" | |
1044 | b8.MeshType = Enum.MeshType.FileMesh | |
1045 | b8.Name = "Mesh" | |
1046 | b8.Scale = Vector3.new(1.10000005, 0.449999988, 0.449999988) | |
1047 | p11 = Instance.new("Part", m) | |
1048 | p11.BrickColor = BrickColor.new("Really red") | |
1049 | p11.FormFactor = Enum.FormFactor.Custom | |
1050 | p11.Size = Vector3.new(1.5, 0.5, 0.5) | |
1051 | p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868) | |
1052 | p11.CanCollide = false | |
1053 | p11.Locked = true | |
1054 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
1055 | p11.TopSurface = Enum.SurfaceType.Smooth | |
1056 | - | p26.BrickColor = BrickColor.new("Really black") |
1056 | + | |
1057 | b9.Name = "Mesh" | |
1058 | p12 = Instance.new("Part", m) | |
1059 | p12.BrickColor = BrickColor.new("Really red") | |
1060 | p12.FormFactor = Enum.FormFactor.Custom | |
1061 | p12.Size = Vector3.new(1.5, 0.5, 0.5) | |
1062 | p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008) | |
1063 | p12.CanCollide = false | |
1064 | p12.Locked = true | |
1065 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
1066 | p12.TopSurface = Enum.SurfaceType.Smooth | |
1067 | b10 = Instance.new("BlockMesh", p12) | |
1068 | b10.Name = "Mesh" | |
1069 | p13 = Instance.new("Part", m) | |
1070 | p13.BrickColor = BrickColor.new("Really red") | |
1071 | p13.FormFactor = Enum.FormFactor.Custom | |
1072 | p13.Size = Vector3.new(1.5, 0.5, 0.5) | |
1073 | p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008) | |
1074 | p13.CanCollide = false | |
1075 | p13.Locked = true | |
1076 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
1077 | p13.TopSurface = Enum.SurfaceType.Smooth | |
1078 | b11 = Instance.new("BlockMesh", p13) | |
1079 | b11.Name = "Mesh" | |
1080 | p14 = Instance.new("Part", m) | |
1081 | p14.BrickColor = BrickColor.new("Really red") | |
1082 | p14.Material = "Neon" | |
1083 | p14.FormFactor = Enum.FormFactor.Symmetric | |
1084 | p14.Size = Vector3.new(1, 1, 1) | |
1085 | p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777) | |
1086 | p14.CanCollide = false | |
1087 | p14.Locked = true | |
1088 | b12 = Instance.new("SpecialMesh", p14) | |
1089 | b12.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1090 | b12.TextureId = "" | |
1091 | b12.MeshType = Enum.MeshType.FileMesh | |
1092 | b12.Name = "Mesh" | |
1093 | b12.Scale = Vector3.new(1.10000005, 0.449999988, 0.449999988) | |
1094 | p15 = Instance.new("Part", m) | |
1095 | p15.BrickColor = BrickColor.new("Medium stone grey") | |
1096 | p15.Transparency = 1 | |
1097 | p15.Name = "ArmPart" | |
1098 | p15.FormFactor = Enum.FormFactor.Custom | |
1099 | p15.Size = Vector3.new(2, 1, 1) | |
1100 | p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008) | |
1101 | p15.CanCollide = false | |
1102 | p15.Locked = true | |
1103 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
1104 | p15.TopSurface = Enum.SurfaceType.Smooth | |
1105 | b13 = Instance.new("BlockMesh", p15) | |
1106 | b13.Name = "Mesh" | |
1107 | p16 = Instance.new("Part", m) | |
1108 | p16.BrickColor = BrickColor.new("Really red") | |
1109 | p16.FormFactor = Enum.FormFactor.Custom | |
1110 | p16.Size = Vector3.new(3, 1, 2.4000001) | |
1111 | p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008) | |
1112 | p16.CanCollide = false | |
1113 | p16.Locked = true | |
1114 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
1115 | p16.TopSurface = Enum.SurfaceType.Smooth | |
1116 | b14 = Instance.new("BlockMesh", p16) | |
1117 | b14.Name = "Mesh" | |
1118 | p17 = Instance.new("Part", m) | |
1119 | p17.BrickColor = BrickColor.new("Really red") | |
1120 | p17.FormFactor = Enum.FormFactor.Custom | |
1121 | p17.Size = Vector3.new(1.5, 0.5, 0.5) | |
1122 | p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783) | |
1123 | p17.CanCollide = false | |
1124 | p17.Locked = true | |
1125 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
1126 | p17.TopSurface = Enum.SurfaceType.Smooth | |
1127 | b15 = Instance.new("BlockMesh", p17) | |
1128 | b15.Name = "Mesh" | |
1129 | p18 = Instance.new("Part", m) | |
1130 | p18.BrickColor = BrickColor.new("Really red") | |
1131 | p18.Material = "Neon" | |
1132 | p18.FormFactor = Enum.FormFactor.Symmetric | |
1133 | p18.Size = Vector3.new(1, 1, 1) | |
1134 | p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101) | |
1135 | p18.CanCollide = false | |
1136 | p18.Locked = true | |
1137 | b16 = Instance.new("SpecialMesh", p18) | |
1138 | b16.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1139 | b16.TextureId = "" | |
1140 | b16.MeshType = Enum.MeshType.FileMesh | |
1141 | b16.Name = "Mesh" | |
1142 | b16.Scale = Vector3.new(1.10000005, 0.449999988, 0.449999988) | |
1143 | p19 = Instance.new("Part", m) | |
1144 | p19.BrickColor = BrickColor.new("Really red") | |
1145 | p19.Material = "Neon" | |
1146 | p19.FormFactor = Enum.FormFactor.Symmetric | |
1147 | p19.Size = Vector3.new(1, 1, 1) | |
1148 | p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855) | |
1149 | p19.CanCollide = false | |
1150 | p19.Locked = true | |
1151 | b17 = Instance.new("SpecialMesh", p19) | |
1152 | b17.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1153 | b17.TextureId = "" | |
1154 | b17.MeshType = Enum.MeshType.FileMesh | |
1155 | b17.Name = "Mesh" | |
1156 | b17.Scale = Vector3.new(1.10000005, 0.449999988, 0.449999988) | |
1157 | p20 = Instance.new("Part", m) | |
1158 | p20.BrickColor = BrickColor.new("Really red") | |
1159 | p20.FormFactor = Enum.FormFactor.Custom | |
1160 | p20.Size = Vector3.new(3, 1, 2.4000001) | |
1161 | p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008) | |
1162 | p20.CanCollide = false | |
1163 | p20.Locked = true | |
1164 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
1165 | p20.TopSurface = Enum.SurfaceType.Smooth | |
1166 | b18 = Instance.new("BlockMesh", p20) | |
1167 | b18.Name = "Mesh" | |
1168 | p21 = Instance.new("Part", m) | |
1169 | p21.BrickColor = BrickColor.new("Really red") | |
1170 | p21.FormFactor = Enum.FormFactor.Custom | |
1171 | p21.Size = Vector3.new(3, 1, 1.19999993) | |
1172 | p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008) | |
1173 | p21.CanCollide = false | |
1174 | p21.Locked = true | |
1175 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
1176 | p21.TopSurface = Enum.SurfaceType.Smooth | |
1177 | b19 = Instance.new("BlockMesh", p21) | |
1178 | b19.Name = "Mesh" | |
1179 | p22 = Instance.new("WedgePart", m) | |
1180 | p22.BrickColor = BrickColor.new("Really red") | |
1181 | p22.Name = "Wedge" | |
1182 | p22.FormFactor = Enum.FormFactor.Custom | |
1183 | p22.Size = Vector3.new(3, 1, 0.5) | |
1184 | p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008) | |
1185 | p22.CanCollide = false | |
1186 | p22.Locked = true | |
1187 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
1188 | p22.TopSurface = Enum.SurfaceType.Smooth | |
1189 | p23 = Instance.new("Part", m) | |
1190 | p23.BrickColor = BrickColor.new("Really red") | |
1191 | p23.FormFactor = Enum.FormFactor.Custom | |
1192 | p23.Size = Vector3.new(1.5, 0.5, 0.5) | |
1193 | p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682) | |
1194 | p23.CanCollide = false | |
1195 | p23.Locked = true | |
1196 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
1197 | p23.TopSurface = Enum.SurfaceType.Smooth | |
1198 | b20 = Instance.new("BlockMesh", p23) | |
1199 | b20.Name = "Mesh" | |
1200 | p24 = Instance.new("WedgePart", m) | |
1201 | p24.BrickColor = BrickColor.new("Really red") | |
1202 | p24.Name = "Wedge" | |
1203 | p24.FormFactor = Enum.FormFactor.Custom | |
1204 | p24.Size = Vector3.new(3, 1, 0.5) | |
1205 | p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215) | |
1206 | p24.CanCollide = false | |
1207 | p24.Locked = true | |
1208 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
1209 | p24.TopSurface = Enum.SurfaceType.Smooth | |
1210 | p25 = Instance.new("Part", m) | |
1211 | p25.BrickColor = BrickColor.new("Bright yellow") | |
1212 | p25.Material = "Neon" | |
1213 | particlep25 = Instance.new("ParticleEmitter") | |
1214 | particlep25.Parent = p25 | |
1215 | particlep25.Enabled = true | |
1216 | particlep25.LockedToPart = true | |
1217 | particlep25.Texture = "rbxassetid://286293993" | |
1218 | particlep25.EmissionDirection = "Right" | |
1219 | particlep25.Size = NumberSequence.new(1.8) | |
1220 | particlep25.Lifetime = NumberRange.new(0.09) | |
1221 | particlep25.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0)) | |
1222 | particlep25.Rate = 150 | |
1223 | p25.FormFactor = Enum.FormFactor.Symmetric | |
1224 | p25.Size = Vector3.new(1, 1, 1) | |
1225 | p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466) | |
1226 | p25.CanCollide = false | |
1227 | p25.Locked = true | |
1228 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
1229 | p25.TopSurface = Enum.SurfaceType.Smooth | |
1230 | b21 = Instance.new("SpecialMesh", p25) | |
1231 | b21.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1232 | b21.TextureId = "" | |
1233 | b21.MeshType = Enum.MeshType.FileMesh | |
1234 | b21.Name = "Mesh" | |
1235 | b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024) | |
1236 | p26 = Instance.new("Part", m) | |
1237 | p26.BrickColor = BrickColor.new("Really red") | |
1238 | p26.FormFactor = Enum.FormFactor.Symmetric | |
1239 | p26.Size = Vector3.new(1, 1, 1) | |
1240 | p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902) | |
1241 | p26.CanCollide = false | |
1242 | p26.Locked = true | |
1243 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
1244 | p26.TopSurface = Enum.SurfaceType.Smooth | |
1245 | b22 = Instance.new("SpecialMesh", p26) | |
1246 | b22.MeshType = Enum.MeshType.Brick | |
1247 | b22.Name = "Mesh" | |
1248 | w1 = Instance.new("Weld", p1) | |
1249 | w1.Name = "Wedge_Weld" | |
1250 | w1.Part0 = p1 | |
1251 | w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691) | |
1252 | w1.Part1 = p2 | |
1253 | w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008) | |
1254 | w2 = Instance.new("Weld", p2) | |
1255 | w2.Name = "Part_Weld" | |
1256 | w2.Part0 = p2 | |
1257 | w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0) | |
1258 | w2.Part1 = p3 | |
1259 | w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008) | |
1260 | w3 = Instance.new("Weld", p3) | |
1261 | w3.Name = "Wedge_Weld" | |
1262 | w3.Part0 = p3 | |
1263 | w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008) | |
1264 | w3.Part1 = p4 | |
1265 | w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008) | |
1266 | w4 = Instance.new("Weld", p4) | |
1267 | w4.Name = "Part_Weld" | |
1268 | w4.Part0 = p4 | |
1269 | w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008) | |
1270 | w4.Part1 = p5 | |
1271 | w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008) | |
1272 | w5 = Instance.new("Weld", p5) | |
1273 | w5.Name = "Part_Weld" | |
1274 | w5.Part0 = p5 | |
1275 | w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008) | |
1276 | w5.Part1 = p6 | |
1277 | w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252) | |
1278 | w6 = Instance.new("Weld", p6) | |
1279 | w6.Name = "Part_Weld" | |
1280 | - | part.BrickColor=BrickColor.new('Really black') |
1280 | + | |
1281 | w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051) | |
1282 | w6.Part1 = p7 | |
1283 | w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008) | |
1284 | w7 = Instance.new("Weld", p7) | |
1285 | w7.Name = "Part_Weld" | |
1286 | w7.Part0 = p7 | |
1287 | w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008) | |
1288 | w7.Part1 = p8 | |
1289 | w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292) | |
1290 | w8 = Instance.new("Weld", p8) | |
1291 | w8.Name = "Part_Weld" | |
1292 | w8.Part0 = p8 | |
1293 | w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159) | |
1294 | w8.Part1 = p9 | |
1295 | w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342) | |
1296 | w9 = Instance.new("Weld", p9) | |
1297 | w9.Name = "Part_Weld" | |
1298 | w9.Part0 = p9 | |
1299 | w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264) | |
1300 | w9.Part1 = p10 | |
1301 | w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036) | |
1302 | w10 = Instance.new("Weld", p10) | |
1303 | w10.Name = "Part_Weld" | |
1304 | w10.Part0 = p10 | |
1305 | w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702) | |
1306 | w10.Part1 = p11 | |
1307 | w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292) | |
1308 | w11 = Instance.new("Weld", p11) | |
1309 | w11.Name = "Part_Weld" | |
1310 | w11.Part0 = p11 | |
1311 | w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46100418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868) | |
1312 | w11.Part1 = p12 | |
1313 | w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008) | |
1314 | w12 = Instance.new("Weld", p12) | |
1315 | w12.Name = "Part_Weld" | |
1316 | w12.Part0 = p12 | |
1317 | w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008) | |
1318 | w12.Part1 = p13 | |
1319 | w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008) | |
1320 | w13 = Instance.new("Weld", p13) | |
1321 | w13.Name = "Part_Weld" | |
1322 | w13.Part0 = p13 | |
1323 | w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008) | |
1324 | w13.Part1 = p14 | |
1325 | w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817) | |
1326 | w14 = Instance.new("Weld", p14) | |
1327 | w14.Name = "ArmPart_Weld" | |
1328 | w14.Part0 = p14 | |
1329 | w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777) | |
1330 | w14.Part1 = p15 | |
1331 | w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
1332 | w15 = Instance.new("Weld", p15) | |
1333 | - | part.BrickColor=BrickColor.new('Really black') |
1333 | + | |
1334 | w15.Part0 = p15 | |
1335 | w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008) | |
1336 | w15.Part1 = p16 | |
1337 | w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008) | |
1338 | w16 = Instance.new("Weld", p16) | |
1339 | w16.Name = "Part_Weld" | |
1340 | w16.Part0 = p16 | |
1341 | w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008) | |
1342 | w16.Part1 = p17 | |
1343 | w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025) | |
1344 | w17 = Instance.new("Weld", p17) | |
1345 | w17.Name = "Part_Weld" | |
1346 | w17.Part0 = p17 | |
1347 | w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783) | |
1348 | w17.Part1 = p18 | |
1349 | w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435) | |
1350 | w18 = Instance.new("Weld", p18) | |
1351 | w18.Name = "Part_Weld" | |
1352 | w18.Part0 = p18 | |
1353 | w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101) | |
1354 | w18.Part1 = p19 | |
1355 | w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918) | |
1356 | w19 = Instance.new("Weld", p19) | |
1357 | w19.Name = "Part_Weld" | |
1358 | w19.Part0 = p19 | |
1359 | w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855) | |
1360 | w19.Part1 = p20 | |
1361 | w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
1362 | w20 = Instance.new("Weld", p20) | |
1363 | w20.Name = "Part_Weld" | |
1364 | w20.Part0 = p20 | |
1365 | w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008) | |
1366 | w20.Part1 = p21 | |
1367 | w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008) | |
1368 | w21 = Instance.new("Weld", p21) | |
1369 | w21.Name = "Wedge_Weld" | |
1370 | w21.Part0 = p21 | |
1371 | w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008) | |
1372 | w21.Part1 = p22 | |
1373 | w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008) | |
1374 | w22 = Instance.new("Weld", p22) | |
1375 | w22.Name = "Part_Weld" | |
1376 | w22.Part0 = p22 | |
1377 | w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008) | |
1378 | w22.Part1 = p23 | |
1379 | w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808) | |
1380 | w23 = Instance.new("Weld", p23) | |
1381 | w23.Name = "Wedge_Weld" | |
1382 | w23.Part0 = p23 | |
1383 | w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682) | |
1384 | w23.Part1 = p24 | |
1385 | w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801) | |
1386 | w24 = Instance.new("Weld", p24) | |
1387 | w24.Name = "Part_Weld" | |
1388 | w24.Part0 = p24 | |
1389 | w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215) | |
1390 | w24.Part1 = p25 | |
1391 | w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881) | |
1392 | w25 = Instance.new("Weld", p25) | |
1393 | w25.Name = "Part_Weld" | |
1394 | w25.Part0 = p25 | |
1395 | w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466) | |
1396 | w25.Part1 = p26 | |
1397 | w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501) | |
1398 | - | part3.BrickColor=BrickColor.new('Really black') |
1398 | + | |
1399 | m:MakeJoints() | |
1400 | ---------------------------------------------------- | |
1401 | local cor2 = Instance.new("Part", char.Claw) | |
1402 | cor2.Name = "Thingy" | |
1403 | cor2.Locked = true | |
1404 | cor2.BottomSurface = 0 | |
1405 | cor2.CanCollide = false | |
1406 | cor2.Size = Vector3.new(2, 1, 1) | |
1407 | cor2.Transparency = 1 | |
1408 | cor2.TopSurface = 0 | |
1409 | corw2 = Instance.new("Weld", cor2) | |
1410 | corw2.Part0 = larm | |
1411 | corw2.Part1 = cor2 | |
1412 | corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)) | |
1413 | corw2.C1 = CFrame.new(0, 0, 0) | |
1414 | weld2 = Instance.new("Weld", char.Claw) | |
1415 | weld2.Part0 = cor2 | |
1416 | weld2.Part1 = char.Claw.ArmPart | |
1417 | weld2.C0 = CFrame.new(0, 0, 0) | |
1418 | ---------------------------------------------------- | |
1419 | function weld5(part0, part1, c0, c1) | |
1420 | weeld=Instance.new("Weld", part0) | |
1421 | weeld.Part0=part0 | |
1422 | weeld.Part1=part1 | |
1423 | weeld.C0=c0 | |
1424 | weeld.C1=c1 | |
1425 | return weeld | |
1426 | end | |
1427 | ---------------------------------------------------- | |
1428 | function newRay(start,face,range,wat) | |
1429 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
1430 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
1431 | return rey,hit,pos | |
1432 | end | |
1433 | ---------------------------------------------------- | |
1434 | mod5 = Instance.new("Model",char) | |
1435 | ||
1436 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1437 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1438 | local List = {} | |
1439 | for i,v in pairs(workspace:GetChildren())do | |
1440 | if v:IsA("Model")then | |
1441 | if v:findFirstChild("Torso")then | |
1442 | if v ~= char then | |
1443 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1444 | table.insert(List,v) | |
1445 | end | |
1446 | end | |
1447 | end | |
1448 | end | |
1449 | end | |
1450 | return List | |
1451 | end | |
1452 | ||
1453 | function Landing() | |
1454 | part=Instance.new('Part',mod5) | |
1455 | part.Anchored=true | |
1456 | part.CanCollide=false | |
1457 | part.FormFactor='Custom' | |
1458 | part.Size=Vector3.new(.2,.2,.2) | |
1459 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
1460 | part.Transparency=.7 | |
1461 | part.BrickColor=BrickColor.new('Really red') | |
1462 | mesh=Instance.new('SpecialMesh',part) | |
1463 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1464 | mesh.Scale=Vector3.new(10,5,10) | |
1465 | ||
1466 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do | |
1467 | if v:FindFirstChild('Humanoid') then | |
1468 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1469 | v.Humanoid.PlatformStand = true | |
1470 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1471 | end | |
1472 | end | |
1473 | ||
1474 | coroutine.resume(coroutine.create(function() | |
1475 | for i=0,3.8,0.05 do | |
1476 | wait() | |
1477 | part.CFrame=part.CFrame | |
1478 | part.Transparency=i | |
1479 | mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1) | |
1480 | end | |
1481 | part.Parent = nil | |
1482 | end)) | |
1483 | end | |
1484 | ---------------------------------------------------- | |
1485 | mod4 = Instance.new("Model",char) | |
1486 | ||
1487 | ptez = {0.7, 0.8, 0.9, 1} | |
1488 | ||
1489 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1490 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1491 | local List = {} | |
1492 | for i,v in pairs(workspace:GetChildren())do | |
1493 | if v:IsA("Model")then | |
1494 | if v:findFirstChild("Torso")then | |
1495 | if v ~= char then | |
1496 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1497 | table.insert(List,v) | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | end | |
1502 | end | |
1503 | return List | |
1504 | end | |
1505 | ||
1506 | function GroundPound() | |
1507 | part=Instance.new('Part',mod4) | |
1508 | part.Anchored=true | |
1509 | part.CanCollide=false | |
1510 | part.FormFactor='Custom' | |
1511 | part.Size=Vector3.new(.2,.2,.2) | |
1512 | part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1513 | part.Transparency=.7 | |
1514 | part.BrickColor=BrickColor.new('Really red') | |
1515 | mesh=Instance.new('SpecialMesh',part) | |
1516 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1517 | mesh.Scale=Vector3.new(3,3,3) | |
1518 | part2=Instance.new('Part',mod4) | |
1519 | part2.Anchored=true | |
1520 | part2.CanCollide=false | |
1521 | part2.FormFactor='Custom' | |
1522 | part2.Size=Vector3.new(.2,.2,.2) | |
1523 | part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6) | |
1524 | part2.Transparency=.7 | |
1525 | part2.BrickColor=BrickColor.new('Really red') | |
1526 | mesh2=Instance.new('SpecialMesh',part2) | |
1527 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1528 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1529 | x = Instance.new("Sound",char) | |
1530 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
1531 | x.Pitch = ptez[math.random(1,#ptez)] | |
1532 | x.Volume = 1 | |
1533 | wait(.1) | |
1534 | x:Play() | |
1535 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do | |
1536 | if v:FindFirstChild('Humanoid') then | |
1537 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1538 | end | |
1539 | end | |
1540 | coroutine.resume(coroutine.create(function() | |
1541 | for i=0,0.62,0.13 do | |
1542 | wait() | |
1543 | part.CFrame=part.CFrame | |
1544 | part.Transparency=i | |
1545 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1546 | part2.CFrame=part2.CFrame | |
1547 | part2.Transparency=i | |
1548 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1549 | end | |
1550 | part.Parent=nil | |
1551 | part2.Parent=nil | |
1552 | x:Destroy() | |
1553 | end)) | |
1554 | end | |
1555 | ---------------------------------------------------- | |
1556 | mod=Instance.new('Model',char) | |
1557 | ||
1558 | function charge() | |
1559 | hed.Velocity=hed.CFrame.lookVector*100 | |
1560 | part=Instance.new('Part',mod) | |
1561 | part.Anchored=true | |
1562 | part.CanCollide=false | |
1563 | part.FormFactor='Custom' | |
1564 | part.Size=Vector3.new(.2,.2,.2) | |
1565 | part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0) | |
1566 | part.Transparency=.7 | |
1567 | part.BrickColor=BrickColor.new('Black') | |
1568 | mesh=Instance.new('SpecialMesh',part) | |
1569 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1570 | mesh.Scale=Vector3.new(10,5,10) | |
1571 | part2=part:clone() | |
1572 | part2.Parent=mod | |
1573 | part2.BrickColor=BrickColor.new('Bright red') | |
1574 | mesh2=mesh:clone() | |
1575 | mesh2.Parent=part2 | |
1576 | mesh2.Scale=Vector3.new(20,10,20) | |
1577 | part3=part2:clone() | |
1578 | part3.Parent = mod | |
1579 | part3.BrickColor=BrickColor.new('Really red') | |
1580 | mesh3=mesh2:clone() | |
1581 | mesh2.Parent=part3 | |
1582 | mesh3.Scale=Vector3.new(30,15,30) | |
1583 | coroutine.resume(coroutine.create(function() | |
1584 | for i=0,1,0.1 do | |
1585 | wait() | |
1586 | part.CFrame=part.CFrame | |
1587 | part.Transparency=i | |
1588 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
1589 | part2.CFrame=part2.CFrame | |
1590 | part2.Transparency=i | |
1591 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1592 | part3.CFrame=part3.CFrame | |
1593 | part3.Transparency=i | |
1594 | mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1) | |
1595 | end | |
1596 | part.Parent=nil | |
1597 | part2.Parent=nil | |
1598 | part3.Parent = nil | |
1599 | end)) | |
1600 | end | |
1601 | ---------------------------------------------------- | |
1602 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1603 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1604 | local List = {} | |
1605 | for i,v in pairs(workspace:GetChildren())do | |
1606 | if v:IsA("Model")then | |
1607 | if v:findFirstChild("Torso")then | |
1608 | if v ~= char then | |
1609 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1610 | table.insert(List,v) | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | end | |
1615 | end | |
1616 | return List | |
1617 | end | |
1618 | ||
1619 | mod3 = Instance.new("Model",rleg) | |
1620 | ||
1621 | function Stomp() | |
1622 | part=Instance.new('Part',mod3) | |
1623 | part.Anchored=true | |
1624 | part.CanCollide=false | |
1625 | part.FormFactor='Custom' | |
1626 | part.Size=Vector3.new(.2,.2,.2) | |
1627 | part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0) | |
1628 | part.Transparency=.7 | |
1629 | part.BrickColor=BrickColor.new('Really red') | |
1630 | mesh=Instance.new('SpecialMesh',part) | |
1631 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1632 | mesh.Scale=Vector3.new(25,25,25) | |
1633 | part2=part:clone() | |
1634 | part2.Parent=mod3 | |
1635 | part2.BrickColor=BrickColor.new('Really red') | |
1636 | mesh2=mesh:clone() | |
1637 | mesh2.Parent=part2 | |
1638 | mesh2.Scale=Vector3.new(15,15,15) | |
1639 | part3=part:clone() | |
1640 | part3.Parent=mod3 | |
1641 | part3.TopSurface=0 | |
1642 | part3.BottomSurface=0 | |
1643 | part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0) | |
1644 | mesh3=Instance.new('SpecialMesh',part3) | |
1645 | mesh3.MeshType = 3 | |
1646 | mesh3.Scale=Vector3.new(12,12,12) | |
1647 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do | |
1648 | if v:FindFirstChild('Humanoid') then | |
1649 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1650 | v.Humanoid.PlatformStand = true | |
1651 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 800 | |
1652 | end | |
1653 | end | |
1654 | coroutine.resume(coroutine.create(function() | |
1655 | for i=0,3.8,0.05 do | |
1656 | wait() | |
1657 | part.CFrame=part.CFrame | |
1658 | part.Transparency=i | |
1659 | mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8) | |
1660 | part2.CFrame=part2.CFrame | |
1661 | part2.Transparency=i | |
1662 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
1663 | part3.CFrame=part3.CFrame | |
1664 | part3.Transparency=i | |
1665 | mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5) | |
1666 | end | |
1667 | end)) | |
1668 | end | |
1669 | ---------------------------------------------------- | |
1670 | ||
1671 | local acos = math.acos | |
1672 | local sqrt = math.sqrt | |
1673 | local Vec3 = Vector3.new | |
1674 | local fromAxisAngle = CFrame.fromAxisAngle | |
1675 | ||
1676 | local function toAxisAngle(CFr) | |
1677 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1678 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1679 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1680 | A = A == 0 and 0.00001 or A | |
1681 | - | larm.BrickColor = BrickColor.new("Really black") |
1681 | + | |
1682 | - | rarm.BrickColor = BrickColor.new("Really black") |
1682 | + | |
1683 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1684 | C = C == 0 and 0.00001 or C | |
1685 | local x = (R21-R12)/sqrt(A) | |
1686 | local y = (R02-R20)/sqrt(B) | |
1687 | local z = (R10-R01)/sqrt(C) | |
1688 | return Vec3(x,y,z),Angle | |
1689 | end | |
1690 | ||
1691 | function ApplyTrig(Num,Func) | |
1692 | local Min,Max = Func(0),Func(1) | |
1693 | local i = Func(Num) | |
1694 | return (i-Min)/(Max-Min) | |
1695 | --[[if Func == "sin" then | |
1696 | return (math.sin((1-Num)*math.pi)+1)/2 | |
1697 | elseif Func == "cos" then | |
1698 | return (math.cos((1-Num)*math.pi)+1)/2 | |
1699 | end]] | |
1700 | end | |
1701 | ||
1702 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1703 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1704 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1705 | end | |
1706 | ||
1707 | function Crater(Torso,Radius) | |
1708 | Spawn(function() | |
1709 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1710 | local Ignore = {} | |
1711 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1712 | if v.Character ~= nil then | |
1713 | Ignore[#Ignore+1] = v.Character | |
1714 | end | |
1715 | end | |
1716 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1717 | if Hit == nil then return end | |
1718 | local Parts = {} | |
1719 | for i = 1,360,10 do | |
1720 | local P = Instance.new("Part",Torso.Parent) | |
1721 | P.Anchored = true | |
1722 | P.FormFactor = "Custom" | |
1723 | P.BrickColor = Hit.BrickColor | |
1724 | P.Material = Hit.Material | |
1725 | P.TopSurface = "Smooth" | |
1726 | P.BottomSurface = "Smooth" | |
1727 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1728 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1729 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1730 | if math.random(0,5) == 0 then -- rubble | |
1731 | local P = Instance.new("Part",Torso.Parent) | |
1732 | P.Anchored = true | |
1733 | P.FormFactor = "Custom" | |
1734 | P.BrickColor = Hit.BrickColor | |
1735 | P.Material = Hit.Material | |
1736 | P.TopSurface = "Smooth" | |
1737 | P.BottomSurface = "Smooth" | |
1738 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1739 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1740 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1741 | end | |
1742 | end | |
1743 | for i = 0,1,0.05 do | |
1744 | for i2,v in pairs(Parts) do | |
1745 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1746 | end | |
1747 | wait(0.02) | |
1748 | end | |
1749 | for i,v in pairs(Parts) do | |
1750 | if v[1].Size.X > 2.1 then | |
1751 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1752 | end | |
1753 | v[1].Anchored = false | |
1754 | end | |
1755 | for i = 0,1,0.05 do | |
1756 | for i2,v in pairs(Parts) do | |
1757 | v[1].Transparency = i | |
1758 | if i == 1 then | |
1759 | v[1]:Destroy() | |
1760 | elseif i >= 0.25 then | |
1761 | v[1].CanCollide = false | |
1762 | end | |
1763 | end | |
1764 | wait(0.02) | |
1765 | end | |
1766 | Parts = nil | |
1767 | end) | |
1768 | end | |
1769 | ||
1770 | ---------------------------------------------------- | |
1771 | mouse.KeyDown:connect(function(key) | |
1772 | if key == "r" then | |
1773 | larm.BrickColor = BrickColor.new("Bright red") | |
1774 | rarm.BrickColor = BrickColor.new("Bright red") | |
1775 | if Debounces.CanAttack == true then | |
1776 | Debounces.CanAttack = false | |
1777 | Debounces.on = true | |
1778 | Debounces.NoIdl = true | |
1779 | to = char.Titanius.Thingy2.Touched:connect(function(ht) | |
1780 | hit = ht.Parent | |
1781 | if ht and hit:IsA("Model") then | |
1782 | if hit:FindFirstChild("Humanoid") then | |
1783 | if hit.Name ~= p.Name then | |
1784 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1785 | Debounces.Slashed = true]]-- | |
1786 | hit:FindFirstChild("Humanoid"):TakeDamage(19999999) | |
1787 | wait(1) | |
1788 | --Debounces.Slashed = false | |
1789 | --end | |
1790 | end | |
1791 | end | |
1792 | - | larm.BrickColor = BrickColor.new("Really black") |
1792 | + | |
1793 | - | rarm.BrickColor = BrickColor.new("Really black") |
1793 | + | |
1794 | if hit.Parent:FindFirstChild("Humanoid") then | |
1795 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1796 | Debounces.Slashed = true]]-- | |
1797 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(109999999) | |
1798 | wait(1) | |
1799 | --Debounces.Slashed = false | |
1800 | end | |
1801 | end | |
1802 | end | |
1803 | end) | |
1804 | q = Instance.new("Sound",hed) | |
1805 | q.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1806 | q.Pitch = 0.85 | |
1807 | q.Looped = false | |
1808 | q1 = Instance.new("Sound",hed) | |
1809 | q1.SoundId = "http://www.roblox.com/asset/?id=134012322" | |
1810 | q1.Pitch = 0.85 | |
1811 | q1.Looped = false | |
1812 | q:Play() | |
1813 | q1:Play() | |
1814 | for i = 1,20 do | |
1815 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
1816 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
1817 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
1818 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
1819 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1820 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4) | |
1821 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5) | |
1822 | if Debounces.on == false then break end | |
1823 | wait() | |
1824 | end | |
1825 | n = Instance.new("Sound",hed) | |
1826 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1827 | n.Pitch = 0.94 | |
1828 | n.Looped = false | |
1829 | n1 = Instance.new("Sound",hed) | |
1830 | n1.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1831 | n1.Pitch = 0.94 | |
1832 | n1.Looped = false | |
1833 | n:Play() | |
1834 | n1:Play() | |
1835 | b = Instance.new("Sound",hed) | |
1836 | b.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1837 | b.Pitch = 0.94 | |
1838 | b.Looped = false | |
1839 | b1 = Instance.new("Sound",hed) | |
1840 | b1.SoundId = "http://www.roblox.com/asset/?id=168586586" | |
1841 | b1.Pitch = 0.94 | |
1842 | b1.Looped = false | |
1843 | b:Play() | |
1844 | b1:Play() | |
1845 | - | P.BrickColor = BrickColor.new("Really black") |
1845 | + | |
1846 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5) | |
1847 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5) | |
1848 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5) | |
1849 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5) | |
1850 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5) | |
1851 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5) | |
1852 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5) | |
1853 | if Debounces.on == false then break end | |
1854 | wait() | |
1855 | end | |
1856 | wait(.5) | |
1857 | to:disconnect() | |
1858 | q:Destroy() | |
1859 | q1:Destroy() | |
1860 | n:Destroy() | |
1861 | n1:Destroy() | |
1862 | larm.BrickColor = BrickColor.new("Really red") | |
1863 | rarm.BrickColor = BrickColor.new("Really red") | |
1864 | if Debounces.CanAttack == false then | |
1865 | Debounces.CanAttack = true | |
1866 | Debounces.on = false | |
1867 | Debounces.NoIdl = false | |
1868 | end | |
1869 | end | |
1870 | end | |
1871 | end) | |
1872 | ---------------------------------------------------- | |
1873 | mouse.KeyDown:connect(function(key) | |
1874 | if key == "q" then | |
1875 | larm.BrickColor = BrickColor.new("Bright red") | |
1876 | rarm.BrickColor = BrickColor.new("Bright red") | |
1877 | if Debounces.CanAttack == true then | |
1878 | Debounces.CanAttack = false | |
1879 | Debounces.on = true | |
1880 | Debounces.NoIdl = true | |
1881 | to = char.Titanius.Thingy2.Touched:connect(function(ht) | |
1882 | hit = ht.Parent | |
1883 | if ht and hit:IsA("Model") then | |
1884 | if hit:FindFirstChild("Humanoid") then | |
1885 | if hit.Name ~= p.Name then | |
1886 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1887 | Debounces.Slashed = true]]-- | |
1888 | hit:FindFirstChild("Humanoid"):TakeDamage(499999999) | |
1889 | wait(1) | |
1890 | --Debounces.Slashed = false | |
1891 | --end | |
1892 | end | |
1893 | end | |
1894 | elseif ht and hit:IsA("Hat") then | |
1895 | if hit.Parent.Name ~= p.Name then | |
1896 | if hit.Parent:FindFirstChild("Humanoid") then | |
1897 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
1898 | Debounces.Slashed = true]]-- | |
1899 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(499999999) | |
1900 | wait(1) | |
1901 | --Debounces.Slashed = false | |
1902 | end | |
1903 | end | |
1904 | end | |
1905 | end) | |
1906 | for i = 1, 20 do | |
1907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2) | |
1908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2) | |
1909 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5) | |
1910 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5) | |
1911 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1912 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1913 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1914 | if Debounces.on == false then break end | |
1915 | wait() | |
1916 | end | |
1917 | z = Instance.new("Sound",hed) | |
1918 | z.SoundId = "rbxassetid://160069154" | |
1919 | z.Looped = false | |
1920 | z.Pitch = .9 | |
1921 | z1 = Instance.new("Sound",hed) | |
1922 | z1.SoundId = "rbxassetid://160069154" | |
1923 | z1.Looped = false | |
1924 | z1.Pitch = .9 | |
1925 | wait(0.01) | |
1926 | z:Play() | |
1927 | z1:Play() | |
1928 | for i = 1, 12 do | |
1929 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2) | |
1930 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5) | |
1931 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5) | |
1932 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5) | |
1933 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5) | |
1934 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5) | |
1935 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1936 | if Debounces.on == false then break end | |
1937 | wait() | |
1938 | end | |
1939 | for i = 1, 12 do | |
1940 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4) | |
1941 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4) | |
1942 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5) | |
1943 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5) | |
1944 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5) | |
1945 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5) | |
1946 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
1947 | if Debounces.on == false then break end | |
1948 | wait() | |
1949 | end | |
1950 | z = Instance.new("Sound",hed) | |
1951 | - | P.BrickColor = BrickColor.new("Really black") |
1951 | + | |
1952 | z.Looped = false | |
1953 | z.Pitch = 1 | |
1954 | z1 = Instance.new("Sound",hed) | |
1955 | z1.SoundId = "rbxassetid://168586621" | |
1956 | z1.Looped = false | |
1957 | z1.Pitch = 1 | |
1958 | wait(0.01) | |
1959 | z:Play() | |
1960 | z1:Play() | |
1961 | for i = 1, 12 do | |
1962 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5) | |
1963 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4) | |
1964 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5) | |
1965 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5) | |
1966 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5) | |
1967 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5) | |
1968 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1) | |
1969 | if Debounces.on == false then break end | |
1970 | wait() | |
1971 | end | |
1972 | to:disconnect() | |
1973 | larm.BrickColor = BrickColor.new("Really red") | |
1974 | rarm.BrickColor = BrickColor.new("Really red") | |
1975 | if Debounces.CanAttack == false then | |
1976 | Debounces.CanAttack = true | |
1977 | Debounces.on = false | |
1978 | Debounces.NoIdl = false | |
1979 | end | |
1980 | end | |
1981 | end | |
1982 | end) | |
1983 | ---------------------------------------------------- | |
1984 | Sit = false | |
1985 | mouse.KeyDown:connect(function(key) | |
1986 | if key == "v" then | |
1987 | if Sit == false then | |
1988 | Sit = true | |
1989 | hum.WalkSpeed = 100 | |
1990 | stanceToggle = "Sitting" | |
1991 | elseif Sit == true then | |
1992 | Sit = false | |
1993 | hum.WalkSpeed = 100 | |
1994 | stanceToggle = "Normal" | |
1995 | end | |
1996 | end | |
1997 | end) | |
1998 | ---------------------------------------------------- | |
1999 | mouse.KeyDown:connect(function(key) | |
2000 | if key == "t" then | |
2001 | if Debounces.CanAttack == true then | |
2002 | Debounces.CanAttack = false | |
2003 | Debounces.on = true | |
2004 | Debounces.NoIdl = true | |
2005 | for i = 1, 20 do | |
2006 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4) | |
2007 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4) | |
2008 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4) | |
2009 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4) | |
2010 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4) | |
2011 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4) | |
2012 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
2013 | if Debounces.on == false then break end | |
2014 | wait() | |
2015 | end | |
2016 | Spawn(function() | |
2017 | local Parts = {} | |
2018 | for Y = -5,5 do | |
2019 | local P = Instance.new("Part",char) | |
2020 | P.Anchored = true | |
2021 | P.FormFactor = "Custom" | |
2022 | P.CanCollide = false | |
2023 | P.Size = Vector3.new(1,2,1) | |
2024 | P.TopSurface = "SmoothNoOutlines" | |
2025 | P.BottomSurface = "SmoothNoOutlines" | |
2026 | P.BrickColor = BrickColor.new("Really red") | |
2027 | P.Name = tostring(Y) | |
2028 | local i = (Y+5)/(10) | |
2029 | i = 1-math.cos(math.pi*i-(math.pi/2)) | |
2030 | P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0) | |
2031 | --[[P.Touched:connect(function(ht) | |
2032 | local hit = ht.Parent | |
2033 | if hit:FindFirstChild("Humanoid") then | |
2034 | hit.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2035 | end | |
2036 | - | rng.BrickColor = BrickColor.new("Really black") |
2036 | + | |
2037 | s = Instance.new("Sound",P) | |
2038 | s.SoundId = "rbxassetid://228343271" | |
2039 | s.Volume = .7 | |
2040 | s.Pitch = 0.9 | |
2041 | s:Play() | |
2042 | P.Touched:connect(function(ht) | |
2043 | hit = ht.Parent | |
2044 | if ht and hit:IsA("Model") then | |
2045 | if hit:FindFirstChild("Humanoid") then | |
2046 | if hit.Name ~= p.Name then | |
2047 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2048 | Debounces.Slashed = true]]-- | |
2049 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10000020,10000030)) | |
2050 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2051 | wait(1) | |
2052 | --Debounces.Slashed = false | |
2053 | --end | |
2054 | end | |
2055 | end | |
2056 | elseif ht and hit:IsA("Hat") then | |
2057 | if hit.Parent.Name ~= p.Name then | |
2058 | if hit.Parent:FindFirstChild("Humanoid") then | |
2059 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2060 | Debounces.Slashed = true]]-- | |
2061 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (10000020,10000030)) | |
2062 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2063 | wait(1) | |
2064 | --Debounces.Slashed = false | |
2065 | --end | |
2066 | end | |
2067 | end | |
2068 | end | |
2069 | end) | |
2070 | Parts[#Parts+1] = P | |
2071 | end | |
2072 | local BREAKIT = false | |
2073 | local CParts = {} | |
2074 | local Rocks = {} | |
2075 | local LastPos = nil | |
2076 | for i = 1,70 do | |
2077 | for i2,v in pairs(Parts) do | |
2078 | v.CFrame = v.CFrame*CFrame.new(0,0,-4) | |
2079 | local cf = v.CFrame | |
2080 | v.Size = v.Size+Vector3.new(0.4,0.35,0) | |
2081 | v.CFrame = cf | |
2082 | v.Transparency = v.Transparency+0.02 | |
2083 | if v.Transparency >= 0.975 then BREAKIT = true end | |
2084 | if v.Name == "0" then | |
2085 | local Ignore = {} | |
2086 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2087 | if v.Character ~= nil then | |
2088 | Ignore[#Ignore+1] = v.Character | |
2089 | end | |
2090 | end | |
2091 | local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-100,0)) | |
2092 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore) | |
2093 | if Hit ~= nil then | |
2094 | if #Rocks == 0 then | |
2095 | for i = 1,5 do | |
2096 | local P = Instance.new("Part",char) | |
2097 | Rocks[#Rocks+1] = P | |
2098 | P.Anchored = true | |
2099 | P.FormFactor = "Custom" | |
2100 | P.BrickColor = Hit.BrickColor | |
2101 | P.Material = Hit.Material | |
2102 | P.TopSurface = "Smooth" | |
2103 | P.BottomSurface = "Smooth" | |
2104 | P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100) | |
2105 | end | |
2106 | end | |
2107 | for i,P in pairs(Rocks) do | |
2108 | P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
2109 | end | |
2110 | - | larm.BrickColor = BrickColor.new("Really black") |
2110 | + | |
2111 | - | rarm.BrickColor = BrickColor.new("Really black") |
2111 | + | |
2112 | P.Anchored = true | |
2113 | P.FormFactor = "Custom" | |
2114 | P.BrickColor = Hit.BrickColor | |
2115 | P.Material = Hit.Material | |
2116 | P.TopSurface = "Smooth" | |
2117 | P.BottomSurface = "Smooth" | |
2118 | P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100) | |
2119 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
2120 | Pos = Pos.p | |
2121 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50))) | |
2122 | local P = P:Clone() | |
2123 | CParts[#CParts+1] = {P,tick()} | |
2124 | P.Parent = char | |
2125 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0) | |
2126 | Pos = Pos.p | |
2127 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20))) | |
2128 | if LastPos ~= nil then | |
2129 | local P = P:Clone() | |
2130 | CParts[#CParts+1] = {P,tick()} | |
2131 | P.Parent = char | |
2132 | P.BrickColor = BrickColor.new("Really red") | |
2133 | Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0) | |
2134 | Pos = Pos.p | |
2135 | local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
2136 | P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25) | |
2137 | --P.Velocity = Vector3.new(0,-1000,0) | |
2138 | P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2) | |
2139 | end | |
2140 | LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0) | |
2141 | end | |
2142 | end | |
2143 | end | |
2144 | if BREAKIT then break end | |
2145 | wait(0.002) | |
2146 | end | |
2147 | for i,v in pairs(Rocks) do | |
2148 | CParts[#CParts+1] = {v,tick()} | |
2149 | end | |
2150 | for i,v in pairs(Parts) do | |
2151 | - | rng.BrickColor = BrickColor.new("Really black") |
2151 | + | |
2152 | end | |
2153 | Parts = nil | |
2154 | while true do | |
2155 | local t = tick() | |
2156 | local p = nil | |
2157 | for i,v in pairs(CParts) do | |
2158 | if t-v[2] > 4 then | |
2159 | v[1].Transparency = v[1].Transparency+0.05 | |
2160 | if v[1].Transparency >= 1 then | |
2161 | v[1]:Destroy() | |
2162 | CParts[i] = nil | |
2163 | end | |
2164 | end | |
2165 | p = v | |
2166 | end | |
2167 | if p == nil then break end | |
2168 | wait(0.002) | |
2169 | end | |
2170 | for i,v in pairs(CParts) do | |
2171 | v:Destroy() | |
2172 | end | |
2173 | CParts = {} | |
2174 | end) | |
2175 | for i = 1, 20 do | |
2176 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4) | |
2177 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4) | |
2178 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4) | |
2179 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4) | |
2180 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4) | |
2181 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4) | |
2182 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1) | |
2183 | if Debounces.on == false then break end | |
2184 | wait() | |
2185 | end | |
2186 | if Debounces.CanAttack == false then | |
2187 | Debounces.CanAttack = true | |
2188 | Debounces.on = false | |
2189 | Debounces.NoIdl = false | |
2190 | end | |
2191 | end | |
2192 | end | |
2193 | end) | |
2194 | ---------------------------------------------------- | |
2195 | mouse.KeyDown:connect(function(key) | |
2196 | if key == "e" then | |
2197 | larm.BrickColor = BrickColor.new("Bright red") | |
2198 | rarm.BrickColor = BrickColor.new("Bright red") | |
2199 | if Debounces.CanAttack == true then | |
2200 | Debounces.CanAttack = false | |
2201 | Debounces.on = true | |
2202 | Debounces.NoIdl = true | |
2203 | for i = 1, 18 do | |
2204 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4) | |
2205 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
2206 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2207 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
2208 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
2209 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2210 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2211 | if Debounces.on == false then break end | |
2212 | wait() | |
2213 | end | |
2214 | local HandCF = CFrame.new(char.Titanius.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2215 | local rng = Instance.new("Part", char.Titanius.Handle) | |
2216 | rng.Anchored = true | |
2217 | rng.BrickColor = BrickColor.new("Really red") | |
2218 | rng.CanCollide = true | |
2219 | rng.FormFactor = 3 | |
2220 | rng.Name = "Ring" | |
2221 | rng.Size = Vector3.new(1, 1, 1) | |
2222 | rng.CanCollide = false | |
2223 | rng.Transparency = 0.35 | |
2224 | rng.TopSurface = 0 | |
2225 | rng.BottomSurface = 0 | |
2226 | rng.CFrame = HandCF | |
2227 | local rngm = Instance.new("SpecialMesh", rng) | |
2228 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2229 | rngm.Scale = Vector3.new(1, 1, 2) | |
2230 | x = Instance.new("Sound", hed) | |
2231 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2232 | x.Looped = false | |
2233 | x.Pitch = .7 | |
2234 | x.Volume = 1 | |
2235 | x1 = Instance.new("Sound", hed) | |
2236 | x1.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2237 | x1.Looped = false | |
2238 | x1.Pitch = .7 | |
2239 | x1.Volume = 1 | |
2240 | x:Play() | |
2241 | x1:Play() | |
2242 | rngto = rng.Touched:connect(function(ht) | |
2243 | hit = ht.Parent | |
2244 | if ht and hit:IsA("Model") then | |
2245 | if hit:FindFirstChild("Humanoid") then | |
2246 | if hit.Name ~= p.Name then | |
2247 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2248 | Debounces.Slashed = true]]-- | |
2249 | hit:FindFirstChild("Humanoid"):TakeDamage(1000000) | |
2250 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2251 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
2252 | --Debounces.Slashed = false | |
2253 | --end | |
2254 | end | |
2255 | end | |
2256 | elseif ht and hit:IsA("Hat") then | |
2257 | if hit.Parent.Name ~= p.Name then | |
2258 | if hit.Parent:FindFirstChild("Humanoid") then | |
2259 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2260 | Debounces.Slashed = true]]-- | |
2261 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(100000) | |
2262 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2263 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120 | |
2264 | --Debounces.Slashed = false | |
2265 | end | |
2266 | end | |
2267 | end | |
2268 | end) | |
2269 | coroutine.wrap(function() | |
2270 | for i = 1, 60, 2 do | |
2271 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2272 | rng.Size = rngm.Scale | |
2273 | rng.CFrame = HandCF | |
2274 | rng.Transparency = i/60 | |
2275 | wait() | |
2276 | end | |
2277 | wait() | |
2278 | rng:Destroy() | |
2279 | end)() | |
2280 | for i = 1, 18 do | |
2281 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4) | |
2282 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4) | |
2283 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2284 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
2285 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4) | |
2286 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2287 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2288 | if Debounces.on == false then break end | |
2289 | wait() | |
2290 | end | |
2291 | larm.BrickColor = BrickColor.new("Really red") | |
2292 | rarm.BrickColor = BrickColor.new("Really red") | |
2293 | x:Destroy() | |
2294 | x1:Destroy() | |
2295 | if Debounces.CanAttack == false then | |
2296 | Debounces.CanAttack = true | |
2297 | Debounces.on = false | |
2298 | Debounces.NoIdl = false | |
2299 | end | |
2300 | end | |
2301 | end | |
2302 | end) | |
2303 | ---------------------------------------------------- | |
2304 | mouse.KeyDown:connect(function(key) | |
2305 | if key == "y" then | |
2306 | if Debounces.CanAttack == true then | |
2307 | Debounces.CanAttack = false | |
2308 | Debounces.on = true | |
2309 | Debounces.NoIdl = true | |
2310 | for i = 1, 15 do | |
2311 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
2312 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2) | |
2313 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2314 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2) | |
2315 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2316 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2317 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2318 | if Debounces.on == false then break end | |
2319 | wait() | |
2320 | end | |
2321 | x = Instance.new("Sound",char) | |
2322 | x.SoundId = "rbxassetid://228343271" | |
2323 | x.Pitch = 1 | |
2324 | x.Volume = .8 | |
2325 | wait(.1) | |
2326 | x:Play() | |
2327 | Debounces.on = false | |
2328 | Debounces.Here = false | |
2329 | shot = shot + 1 | |
2330 | local rng = Instance.new("Part", char) | |
2331 | rng.Anchored = true | |
2332 | rng.BrickColor = BrickColor.new("Really red") | |
2333 | rng.CanCollide = false | |
2334 | rng.FormFactor = 3 | |
2335 | rng.Name = "Ring" | |
2336 | rng.Size = Vector3.new(1, 1, 1) | |
2337 | rng.Transparency = 0.35 | |
2338 | rng.TopSurface = 0 | |
2339 | rng.BottomSurface = 0 | |
2340 | rng2 = rng:clone() | |
2341 | rng3 = rng2:clone() | |
2342 | rng4 = rng2:clone() | |
2343 | local rngm = Instance.new("SpecialMesh", rng) | |
2344 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2345 | rngm.Scale = Vector3.new(10, 10, 1) | |
2346 | rngm2 = rngm:clone() | |
2347 | rngm2.Scale = Vector3.new(5, 5, 1) | |
2348 | rngm3=rngm2:clone() | |
2349 | rngm3.Parent = rng3 | |
2350 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2351 | rngm4 = rngm2:clone() | |
2352 | rngm4.Parent = rng4 | |
2353 | - | larm.BrickColor = BrickColor.new("Really black") |
2353 | + | |
2354 | - | rarm.BrickColor = BrickColor.new("Really black") |
2354 | + | |
2355 | bem.Anchored = true | |
2356 | bem.BrickColor = BrickColor.new("Really red") | |
2357 | bem.CanCollide = false | |
2358 | bem.FormFactor = 3 | |
2359 | bem.Name = "Beam" .. shot | |
2360 | bem.Size = Vector3.new(1, 1, 1) | |
2361 | bem.Transparency = 0.35 | |
2362 | bem.TopSurface = 0 | |
2363 | bem.BottomSurface = 0 | |
2364 | local bemm = Instance.new("SpecialMesh", bem) | |
2365 | bemm.MeshType = 4 | |
2366 | bemm.Scale = Vector3.new(1, 4, 4) | |
2367 | local out = Instance.new("Part", char) | |
2368 | out.Anchored = true | |
2369 | out.BrickColor = BrickColor.new("Really red") | |
2370 | out.CanCollide = false | |
2371 | out.FormFactor = 3 | |
2372 | out.Name = "Out" | |
2373 | out.Size = Vector3.new(4, 4, 4) | |
2374 | out.Transparency = 0.35 | |
2375 | out.TopSurface = 0 | |
2376 | out.BottomSurface = 0 | |
2377 | local outm = Instance.new("SpecialMesh", out) | |
2378 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2379 | outm.Scale = Vector3.new(4, 4, 4) | |
2380 | local bnd = Instance.new("Part", char) | |
2381 | bnd.Anchored = true | |
2382 | bnd.BrickColor = BrickColor.new("Really red") | |
2383 | bnd.CanCollide = false | |
2384 | bnd.FormFactor = 3 | |
2385 | bnd.Name = "Bend" | |
2386 | bnd.Size = Vector3.new(1, 1, 1) | |
2387 | bnd.Transparency = 1 | |
2388 | bnd.TopSurface = 0 | |
2389 | bnd.BottomSurface = 0 | |
2390 | local bndm = Instance.new("SpecialMesh", bnd) | |
2391 | bndm.MeshType = 3 | |
2392 | bndm.Scale = Vector3.new(8, 8, 8) | |
2393 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2394 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2395 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2396 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2397 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2398 | rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0) | |
2399 | Debounces.Shewt = true | |
2400 | coroutine.wrap(function() | |
2401 | for i = 1, 20, 0.2 do | |
2402 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2403 | rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2404 | rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1) | |
2405 | rng.Transparency = i/20 | |
2406 | rng3.Transparency = 1/16 | |
2407 | rng4.Transparency = i/12 | |
2408 | wait() | |
2409 | end | |
2410 | wait() | |
2411 | rng:Destroy() | |
2412 | end)() | |
2413 | if Debounces.Shewt == true then | |
2414 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2415 | hit = ht.Parent | |
2416 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2417 | if HasntTouched(hit.Name) == true and deb == false then | |
2418 | deb = true | |
2419 | coroutine.wrap(function() | |
2420 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2421 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2422 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10000020,10000030)) | |
2423 | - | larm.BrickColor = BrickColor.new("Really black") |
2423 | + | |
2424 | - | rarm.BrickColor = BrickColor.new("Really black") |
2424 | + | |
2425 | deb = false | |
2426 | end | |
2427 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2428 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2429 | deb = true | |
2430 | coroutine.wrap(function() | |
2431 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2432 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2433 | wait(1) | |
2434 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2435 | end)() | |
2436 | table.insert(Touche, hit.Parent.Name) | |
2437 | deb = false | |
2438 | for i, v in pairs(Touche) do | |
2439 | print(v) | |
2440 | end | |
2441 | end | |
2442 | end | |
2443 | end) | |
2444 | end | |
2445 | for i = 0, 260, 8 do | |
2446 | bem.Size = Vector3.new(i, 2, 2) | |
2447 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2448 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2449 | bnd.Size = Vector3.new(1,1,1) | |
2450 | bndm.Scale = Vector3.new(8,8,8) | |
2451 | if i % 10 == 0 then | |
2452 | local newRng = rng2:Clone() | |
2453 | newRng.Parent = char | |
2454 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2455 | local newRngm = rngm2:clone() | |
2456 | newRngm.Parent=newRng | |
2457 | coroutine.wrap(function() | |
2458 | for i = 1, 10, 0.2 do | |
2459 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1) | |
2460 | newRng.Transparency = i/10 | |
2461 | wait() | |
2462 | end | |
2463 | wait() | |
2464 | newRng:Destroy() | |
2465 | end)() | |
2466 | end | |
2467 | wait() | |
2468 | end | |
2469 | wait() | |
2470 | Debounces.Shewt = false | |
2471 | bem:Destroy() | |
2472 | out:Destroy() | |
2473 | bnd:Destroy() | |
2474 | Debounces.Ready = false | |
2475 | for i, v in pairs(Touche) do | |
2476 | table.remove(Touche, i) | |
2477 | end | |
2478 | wait() | |
2479 | table.insert(Touche, char.Name) | |
2480 | Debounces.NoIdl = false | |
2481 | if Debounces.CanAttack == false then | |
2482 | Debounces.CanAttack = true | |
2483 | end | |
2484 | end | |
2485 | end | |
2486 | end) | |
2487 | ---------------------------------------------------- | |
2488 | sidz = {"231917888", "231917845", "231917806"} | |
2489 | ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1} | |
2490 | mouse.KeyDown:connect(function(key) | |
2491 | if key == "f" then | |
2492 | if Debounces.CanAttack == true then | |
2493 | Debounces.CanAttack = false | |
2494 | Debounces.on = true | |
2495 | Debounces.NoIdl = true | |
2496 | for i = 1, 10 do | |
2497 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4) | |
2498 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4) | |
2499 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2500 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2501 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2502 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2503 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2504 | if Debounces.on == false then break end | |
2505 | wait() | |
2506 | end | |
2507 | z = Instance.new("Sound",char) | |
2508 | z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)] | |
2509 | z.Pitch = ptz[math.random(1,#ptz)] | |
2510 | z.Volume = 1 | |
2511 | z1 = Instance.new("Sound",char) | |
2512 | z1.SoundId = z.SoundId | |
2513 | z1.Pitch = z.Pitch | |
2514 | z1.Volume = 1 | |
2515 | wait(1) | |
2516 | z:Play() | |
2517 | z1:Play() | |
2518 | Stomp() | |
2519 | for i = 1, 20 do | |
2520 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6) | |
2521 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6) | |
2522 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2523 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6) | |
2524 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2525 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6) | |
2526 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2527 | if Debounces.on == false then break end | |
2528 | wait() | |
2529 | end | |
2530 | if Debounces.CanAttack == false then | |
2531 | Debounces.CanAttack = true | |
2532 | Debounces.on = false | |
2533 | Debounces.NoIdl = false | |
2534 | larm.BrickColor = BrickColor.new("Really red") | |
2535 | rarm.BrickColor = BrickColor.new("Really red") | |
2536 | end | |
2537 | end | |
2538 | end | |
2539 | end) | |
2540 | ---------------------------------------------------- | |
2541 | mouse.KeyDown:connect(function(key) | |
2542 | if key == "g" then | |
2543 | if Debounces.CanAttack == true then | |
2544 | Debounces.CanAttack = false | |
2545 | Debounces.on = true | |
2546 | Debounces.NoIdl = true | |
2547 | chrg = lleg.Touched:connect(function(ht) | |
2548 | hit = ht.Parent | |
2549 | if ht and hit:IsA("Model") then | |
2550 | if hit:FindFirstChild("Humanoid") then | |
2551 | if hit.Name ~= p.Name then | |
2552 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2553 | Debounces.Slashed = true]]-- | |
2554 | hit:FindFirstChild("Humanoid"):TakeDamage(29999999) | |
2555 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2556 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2557 | --Debounces.Slashed = false | |
2558 | --end | |
2559 | end | |
2560 | end | |
2561 | elseif ht and hit:IsA("Hat") then | |
2562 | if hit.Parent.Name ~= p.Name then | |
2563 | if hit.Parent:FindFirstChild("Humanoid") then | |
2564 | --[[ if Debounces.Slashing == true and Debounces.Slashed == false then | |
2565 | Debounces.Slashed = true]]-- | |
2566 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2999999999) | |
2567 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2568 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2569 | --Debounces.Slashed = false | |
2570 | end | |
2571 | end | |
2572 | end | |
2573 | end) | |
2574 | for i = 1, 14 do | |
2575 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5) | |
2576 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5) | |
2577 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5) | |
2578 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
2579 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2580 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5) | |
2581 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
2582 | if Debounces.on == false then break end | |
2583 | wait() | |
2584 | end | |
2585 | charge() | |
2586 | z = Instance.new("Sound",char) | |
2587 | z.SoundId = "rbxassetid://100632875" | |
2588 | z.Volume = 1 | |
2589 | z.Pitch = .8 | |
2590 | z1 = Instance.new("Sound",char) | |
2591 | z1.SoundId = "rbxassetid://100632875" | |
2592 | z1.Volume = 1 | |
2593 | z1.Pitch = .9 | |
2594 | z:Play() | |
2595 | z1:Play() | |
2596 | wait(1) | |
2597 | z:Destroy() | |
2598 | z1:Destroy() | |
2599 | chrg:disconnect() | |
2600 | if Debounces.CanAttack == false then | |
2601 | Debounces.CanAttack = true | |
2602 | Debounces.on = false | |
2603 | Debounces.NoIdl = false | |
2604 | larm.BrickColor = BrickColor.new("Really red") | |
2605 | rarm.BrickColor = BrickColor.new("Really red") | |
2606 | end | |
2607 | end | |
2608 | end | |
2609 | end) | |
2610 | ---------------------------------------------------- | |
2611 | pt = {0.7, 0.8, 0.9} | |
2612 | mouse.KeyDown:connect(function(key) | |
2613 | if key == "h" then | |
2614 | if Debounces.CanJoke == true then | |
2615 | Debounces.CanJoke = false | |
2616 | u = Instance.new("Sound") | |
2617 | u.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
2618 | u.Parent = char | |
2619 | u.Looped = false | |
2620 | u.Pitch = pt[math.random(1,#pt)] | |
2621 | u.Volume = 1 | |
2622 | u2 = Instance.new("Sound") | |
2623 | u2.SoundId = "http://www.roblox.com/asset/?id=333446256" | |
2624 | u2.Parent = char | |
2625 | u2.Looped = false | |
2626 | u2.Pitch = u.Pitch | |
2627 | u2.Volume = 1 | |
2628 | wait(.01) | |
2629 | u:Play() | |
2630 | u2:Play() | |
2631 | wait(6) | |
2632 | u:Destroy() | |
2633 | u2:Destroy() | |
2634 | if Debounces.CanJoke == false then | |
2635 | Debounces.CanJoke = true | |
2636 | end | |
2637 | end | |
2638 | end | |
2639 | end) | |
2640 | ---------------------------------------------------- | |
2641 | --Insert awesome nuke cmd here-- | |
2642 | ||
2643 | ---------------------------------------------------- | |
2644 | mouse.KeyDown:connect(function(key) | |
2645 | if key == "l" then | |
2646 | if Debounces.CanJoke == true then | |
2647 | Debounces.CanJoke = false | |
2648 | z = Instance.new("Sound",char) | |
2649 | z.SoundId = "rbxassetid://233774928" | |
2650 | z.Pitch = .76 | |
2651 | z.Volume = 1 | |
2652 | wait() | |
2653 | z:Play() | |
2654 | wait(6) | |
2655 | z:Destroy() | |
2656 | if Debounces.CanJoke == false then | |
2657 | Debounces.CanJoke = true | |
2658 | end | |
2659 | end | |
2660 | end | |
2661 | end) | |
2662 | ---------------------------------------------------- | |
2663 | mouse.KeyDown:connect(function(key) | |
2664 | if key == "j" then | |
2665 | if Debounces.CanJoke == true then | |
2666 | Debounces.CanJoke = false | |
2667 | z = Instance.new("Sound",char) | |
2668 | z.SoundId = "rbxassetid://135017456" | |
2669 | z.Pitch = .76 | |
2670 | z.Volume = 1 | |
2671 | wait() | |
2672 | z:Play() | |
2673 | wait(6) | |
2674 | z:Destroy() | |
2675 | if Debounces.CanJoke == false then | |
2676 | Debounces.CanJoke = true | |
2677 | end | |
2678 | end | |
2679 | end | |
2680 | end) | |
2681 | ---------------------------------------------------- | |
2682 | mouse.KeyDown:connect(function(key) | |
2683 | if key == "k" then | |
2684 | if Debounces.CanJoke == true then | |
2685 | Debounces.CanJoke = false | |
2686 | z = Instance.new("Sound",char) | |
2687 | z.SoundId = "rbxassetid://135017578" | |
2688 | z.Pitch = .76 | |
2689 | z.Volume = 1 | |
2690 | wait() | |
2691 | z:Play() | |
2692 | wait(4) | |
2693 | z:Destroy() | |
2694 | if Debounces.CanJoke == false then | |
2695 | Debounces.CanJoke = true | |
2696 | end | |
2697 | end | |
2698 | end | |
2699 | end) | |
2700 | ---------------------------------------------------- | |
2701 | mouse.KeyDown:connect(function(key) | |
2702 | if key == "x" then | |
2703 | if Debounces.CanAttack == true then | |
2704 | Debounces.CanAttack = false | |
2705 | Debounces.NoIdl = true | |
2706 | Debounces.on = true | |
2707 | Debounces.ks = true | |
2708 | for i = 1, 10 do | |
2709 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
2710 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6) | |
2711 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6) | |
2712 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6) | |
2713 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6) | |
2714 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6) | |
2715 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2716 | if Debounces.on == false then break end | |
2717 | wait() | |
2718 | end | |
2719 | z = Instance.new("Sound",hed) | |
2720 | z.SoundId = "rbxassetid://169445092" | |
2721 | z.Volume = 1 | |
2722 | wait(0.1) | |
2723 | z:Play() | |
2724 | kik = rleg.Touched:connect(function(ht) | |
2725 | hit = ht.Parent | |
2726 | if ht and hit:IsA("Model") then | |
2727 | if hit:FindFirstChild("Humanoid") then | |
2728 | if hit.Name ~= p.Name then | |
2729 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2730 | Debounces.Slashed = true]]-- | |
2731 | if Debounces.ks==true then | |
2732 | z = Instance.new("Sound",hed) | |
2733 | z.SoundId = "rbxassetid://169380525" | |
2734 | z.Volume = 1 | |
2735 | z:Play() | |
2736 | Debounces.ks=false | |
2737 | end | |
2738 | hit:FindFirstChild("Humanoid"):TakeDamage(29999999) | |
2739 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2740 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2741 | --Debounces.Slashed = false | |
2742 | --end | |
2743 | end | |
2744 | end | |
2745 | elseif ht and hit:IsA("Hat") then | |
2746 | if hit.Parent.Name ~= p.Name then | |
2747 | if hit.Parent:FindFirstChild("Humanoid") then | |
2748 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2749 | Debounces.Slashed = true]]-- | |
2750 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2999999) | |
2751 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2752 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70 | |
2753 | --Debounces.Slashed = false | |
2754 | --end | |
2755 | end | |
2756 | end | |
2757 | end | |
2758 | end) | |
2759 | for i = 1, 8 do | |
2760 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2761 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7) | |
2762 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7) | |
2763 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7) | |
2764 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2765 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7) | |
2766 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2767 | if Debounces.on == false then break end | |
2768 | wait() | |
2769 | end | |
2770 | kik:disconnect() | |
2771 | if Debounces.CanAttack == false then | |
2772 | Debounces.CanAttack = true | |
2773 | Debounces.on = false | |
2774 | Debounces.NoIdl = false | |
2775 | end | |
2776 | end | |
2777 | end | |
2778 | end) | |
2779 | ---------------------------------------------------- | |
2780 | mouse.KeyDown:connect(function(key) | |
2781 | if key == "c" then | |
2782 | if Debounces.CanAttack == true then | |
2783 | Debounces.CanAttack = false | |
2784 | Debounces.NoIdl = true | |
2785 | Debounces.on = true | |
2786 | SIDZ = {"231917744", "231917742"} | |
2787 | PTZ = {0.7, 0.8, 0.9, 1} | |
2788 | for i = 1, 20 do | |
2789 | wait() | |
2790 | for i,v in pairs(char.Titanius:children()) do | |
2791 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2792 | v.Transparency = v.Transparency + 0.05 | |
2793 | end | |
2794 | end | |
2795 | end | |
2796 | - | rng1.BrickColor = BrickColor.new("Really black") |
2796 | + | |
2797 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2798 | local List = {} | |
2799 | for i,v in pairs(workspace:GetChildren())do | |
2800 | if v:IsA("Model")then | |
2801 | if v:findFirstChild("Torso")then | |
2802 | if v ~= char then | |
2803 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2804 | table.insert(List,v) | |
2805 | end | |
2806 | end | |
2807 | end | |
2808 | end | |
2809 | end | |
2810 | - | Wave.BrickColor = BrickColor.new("Really black") |
2810 | + | |
2811 | end | |
2812 | GroundPound() | |
2813 | for i = 1, 5 do | |
2814 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2815 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2816 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2817 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2818 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2819 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2820 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2821 | if Debounces.on == false then break end | |
2822 | wait() | |
2823 | end | |
2824 | GroundPound() | |
2825 | for i = 1, 5 do | |
2826 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2827 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2828 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2829 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2830 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2831 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2832 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2833 | if Debounces.on == false then break end | |
2834 | wait() | |
2835 | end | |
2836 | GroundPound() | |
2837 | for i = 1, 5 do | |
2838 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2839 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2840 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2841 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2842 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2843 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2844 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2845 | if Debounces.on == false then break end | |
2846 | wait() | |
2847 | end | |
2848 | GroundPound() | |
2849 | for i = 1, 5 do | |
2850 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2851 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2852 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2853 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2854 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2855 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2856 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2857 | if Debounces.on == false then break end | |
2858 | wait() | |
2859 | end | |
2860 | GroundPound() | |
2861 | for i = 1, 5 do | |
2862 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2863 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2864 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2865 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2866 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2867 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2868 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2869 | if Debounces.on == false then break end | |
2870 | wait() | |
2871 | end | |
2872 | GroundPound() | |
2873 | for i = 1, 5 do | |
2874 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2875 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2876 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2877 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2878 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2879 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2880 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
2881 | if Debounces.on == false then break end | |
2882 | wait() | |
2883 | end | |
2884 | for i = 1, 18 do | |
2885 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
2886 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
2887 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2888 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2889 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2890 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2891 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2892 | if Debounces.on == false then break end | |
2893 | wait() | |
2894 | end | |
2895 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2896 | if v:FindFirstChild('Humanoid') then | |
2897 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2898 | v.Humanoid.PlatformStand = true | |
2899 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2900 | end | |
2901 | end | |
2902 | x = Instance.new("Sound",char) | |
2903 | x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)] | |
2904 | x.Pitch = PTZ[math.random(1,#PTZ)] | |
2905 | x.Volume = 1 | |
2906 | wait(0.1) | |
2907 | x:Play() | |
2908 | Crater(hed,20) | |
2909 | for i = 1, 14 do | |
2910 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
2911 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
2912 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2913 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2914 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2915 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2916 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2917 | if Debounces.on == false then break end | |
2918 | wait() | |
2919 | end | |
2920 | if Debounces.CanAttack == false then | |
2921 | Debounces.CanAttack = true | |
2922 | Debounces.on = false | |
2923 | Debounces.NoIdl = false | |
2924 | for i = 1, 20 do | |
2925 | wait() | |
2926 | for i,v in pairs(char.Titanius:children()) do | |
2927 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2928 | v.Transparency = v.Transparency - 0.05 | |
2929 | end | |
2930 | end | |
2931 | end | |
2932 | end | |
2933 | end | |
2934 | end | |
2935 | end) | |
2936 | ----------------------------------------------------176349813 | |
2937 | mouse.KeyDown:connect(function(key) | |
2938 | if key == "b" then | |
2939 | hum.WalkSpeed = 100 | |
2940 | if Debounces.CanAttack == true then | |
2941 | Debounces.CanAttack = false | |
2942 | Debounces.NoIdl = true | |
2943 | Debounces.on = true | |
2944 | for i = 1,20 do | |
2945 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
2946 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
2947 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
2948 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
2949 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1) | |
2950 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1) | |
2951 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
2952 | if Debounces.on == false then break end | |
2953 | wait() | |
2954 | end | |
2955 | wait(1) | |
2956 | v = Instance.new("Sound") | |
2957 | v.SoundId = "rbxassetid://199978176" | |
2958 | v.Parent = char | |
2959 | v.Looped = false | |
2960 | v.Pitch = 1 | |
2961 | v.Volume = 3 | |
2962 | wait(.01) | |
2963 | v:Play() | |
2964 | ||
2965 | if Daytime == true then | |
2966 | Daytime = false | |
2967 | l.TimeOfDay = 24 | |
2968 | else | |
2969 | Daytime = true | |
2970 | l.TimeOfDay = 12 | |
2971 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2972 | end | |
2973 | ||
2974 | local Shockwave = function() | |
2975 | local rng1 = Instance.new("Part", char) | |
2976 | rng1.Anchored = true | |
2977 | rng1.BrickColor = BrickColor.new("Really red") | |
2978 | rng1.CanCollide = false | |
2979 | rng1.FormFactor = 3 | |
2980 | rng1.Name = "Ring" | |
2981 | rng1.Size = Vector3.new(1, 1, 1) | |
2982 | rng1.Transparency = 0.35 | |
2983 | rng1.TopSurface = 0 | |
2984 | rng1.BottomSurface = 0 | |
2985 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2986 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2987 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2988 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2989 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2990 | Wave.Name = "Shockwave" | |
2991 | Wave.BrickColor = BrickColor.new("Really red") | |
2992 | Wave.Size = Vector3.new(1, 1, 1) | |
2993 | Wave.Shape = "Ball" | |
2994 | - | rng.BrickColor = BrickColor.new("Really black") |
2994 | + | |
2995 | Wave.Anchored = true | |
2996 | Wave.TopSurface = 0 | |
2997 | Wave.BottomSurface = 0 | |
2998 | Wave.Touched:connect(function(hit) | |
2999 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
3000 | local Occlude = true | |
3001 | local NotOccludes = { | |
3002 | char.Name; | |
3003 | "Wings"; | |
3004 | "Scythe"; | |
3005 | "Thingy"; | |
3006 | "Thingy2"; -- put all of the names in a table pls | |
3007 | } | |
3008 | for i,v in pairs(NotOccludes) do | |
3009 | if hit.Parent.Name == v then | |
3010 | Occlude = false | |
3011 | end | |
3012 | end | |
3013 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
3014 | if Occlude then | |
3015 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
3016 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
3017 | end | |
3018 | end | |
3019 | end) | |
3020 | ||
3021 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
3022 | ||
3023 | coroutine.wrap(function() | |
3024 | for i = 1, 20, 0.2 do | |
3025 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3026 | rng1.Transparency = i/20 | |
3027 | wait() | |
3028 | end | |
3029 | wait() | |
3030 | rng1:Destroy() | |
3031 | end)() | |
3032 | ||
3033 | Delay(0, function() | |
3034 | ||
3035 | if Daytime == false then | |
3036 | for i = 1, 50, 1 do | |
3037 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
3038 | Wave.CFrame = char.Torso.CFrame | |
3039 | local t = i / 50 | |
3040 | Wave.Transparency = t | |
3041 | wait() | |
3042 | end | |
3043 | else | |
3044 | for i = 1, 50, 1 do | |
3045 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
3046 | Wave.CFrame = char.Torso.CFrame | |
3047 | local t = i / 50 | |
3048 | Wave.Transparency = t | |
3049 | wait() | |
3050 | end | |
3051 | end | |
3052 | Wave:Destroy() | |
3053 | end) | |
3054 | Delay(0, function() | |
3055 | while wait() do | |
3056 | if Wave ~= nil then | |
3057 | Wave.CFrame = char.Torso.CFrame | |
3058 | else | |
3059 | break | |
3060 | end | |
3061 | end | |
3062 | end) | |
3063 | end | |
3064 | Shockwave() | |
3065 | for i = 1, 15 do | |
3066 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
3067 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
3068 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
3069 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
3070 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
3071 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3072 | if Debounces.on == false then break end | |
3073 | wait() | |
3074 | end | |
3075 | for i = 1, 15 do | |
3076 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
3077 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
3078 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
3079 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
3080 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3081 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
3082 | if Debounces.on == false then break end | |
3083 | wait() | |
3084 | end | |
3085 | for i = 1, 15 do | |
3086 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
3087 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
3088 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
3089 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
3090 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
3091 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3092 | if Debounces.on == false then break end | |
3093 | wait() | |
3094 | end | |
3095 | for i = 1, 15 do | |
3096 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
3097 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
3098 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
3099 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
3100 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3101 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
3102 | if Debounces.on == false then break end | |
3103 | wait() | |
3104 | end | |
3105 | for i = 1, 15 do | |
3106 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
3107 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
3108 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
3109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
3110 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
3111 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3112 | if Debounces.on == false then break end | |
3113 | wait() | |
3114 | end | |
3115 | for i = 1, 15 do | |
3116 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
3117 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
3118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
3119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
3120 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
3121 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
3122 | if Debounces.on == false then break end | |
3123 | wait() | |
3124 | end | |
3125 | wait(1.4) | |
3126 | Debounces.NoIdl = false | |
3127 | hum.WalkSpeed = 100 | |
3128 | Debounces.on = false | |
3129 | wait() | |
3130 | if Debounces.CanAttack == false then | |
3131 | Debounces.CanAttack = true | |
3132 | v:Destroy() | |
3133 | end | |
3134 | end | |
3135 | end | |
3136 | end) | |
3137 | ---------------------------------------------------- | |
3138 | mouse.KeyDown:connect(function(key) | |
3139 | if key == "m" then | |
3140 | hum.WalkSpeed = 0 | |
3141 | if Debounces.CanAttack == true then | |
3142 | Debounces.CanAttack = false | |
3143 | Debounces.on = true | |
3144 | Debounces.NoIdl = true | |
3145 | x = Instance.new("Sound",char) | |
3146 | x.SoundId = "http://www.roblox.com/asset/?id=169445572" | |
3147 | x.Looped = false | |
3148 | x.Pitch = 1.1 | |
3149 | x.Volume = 1 | |
3150 | x:Play() | |
3151 | x2 = Instance.new("Sound",char) | |
3152 | x2.SoundId = "http://www.roblox.com/asset/?id=169380495" | |
3153 | x2.Looped = false | |
3154 | x2.Pitch = .7 | |
3155 | x2.Volume = 1 | |
3156 | wait(.1) | |
3157 | x:Play() | |
3158 | x2:Play() | |
3159 | for i = 1, 20 do | |
3160 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
3161 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
3162 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
3163 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
3164 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
3165 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
3166 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4) | |
3167 | if Debounces.on == false then break end | |
3168 | wait() | |
3169 | x:Destroy() | |
3170 | x2:Destroy() | |
3171 | end | |
3172 | wait(1) | |
3173 | local rng = Instance.new("Part", char) | |
3174 | rng.Anchored = true | |
3175 | rng.BrickColor = BrickColor.new("Really red") | |
3176 | rng.CanCollide = false | |
3177 | rng.FormFactor = 3 | |
3178 | rng.Name = "Ring" | |
3179 | rng.Size = Vector3.new(1, 1, 1) | |
3180 | rng.Transparency = 0.35 | |
3181 | rng.TopSurface = 0 | |
3182 | rng.BottomSurface = 0 | |
3183 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
3184 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
3185 | local rngm = Instance.new("SpecialMesh", rng) | |
3186 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3187 | rngm.Scale = Vector3.new(1, 1, 2) | |
3188 | x = Instance.new("Sound",char) | |
3189 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
3190 | x.Looped = false | |
3191 | x.Pitch = .7 | |
3192 | x.Volume = 1 | |
3193 | x:Play() | |
3194 | coroutine.wrap(function() | |
3195 | for i = 1, 60, 2 do | |
3196 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
3197 | rng.Transparency = i/60 | |
3198 | wait() | |
3199 | end | |
3200 | wait() | |
3201 | rng:Destroy() | |
3202 | end)() | |
3203 | hum.WalkSpeed = 50 | |
3204 | BV = Instance.new("BodyVelocity", torso) | |
3205 | BV.maxForce = Vector3.new(0,100000,0) | |
3206 | BV.P = 100000 | |
3207 | BV.velocity = Vector3.new(0,800,0) | |
3208 | for i = 1, 20 do | |
3209 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
3210 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
3211 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
3212 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
3213 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
3214 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
3215 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3216 | if Debounces.on == false then break end | |
3217 | wait() | |
3218 | end | |
3219 | x:Destroy() | |
3220 | BV:Destroy() | |
3221 | for i = 1, 30 do | |
3222 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
3223 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
3224 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
3225 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
3226 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
3227 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
3228 | if Debounces.on == false then break end | |
3229 | wait() | |
3230 | end | |
3231 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
3232 | for i = 1, 30 do | |
3233 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
3234 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
3235 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3236 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3237 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
3238 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
3239 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3240 | if Debounces.on == false then break end | |
3241 | wait() | |
3242 | end | |
3243 | end | |
3244 | Debounces.on = false | |
3245 | Debounces.NoIdl = false | |
3246 | local ry,ht,ps=nil,nil,nil | |
3247 | while ht==nil do | |
3248 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
3249 | wait() | |
3250 | end | |
3251 | z = Instance.new("Sound",char) | |
3252 | z.SoundId = "rbxassetid://142070127" | |
3253 | z.Volume = 1 | |
3254 | wait(.1) | |
3255 | z:Play() | |
3256 | Landing() | |
3257 | hum.WalkSpeed = 100 | |
3258 | if Debounces.CanAttack == false then | |
3259 | Debounces.CanAttack = true | |
3260 | end | |
3261 | end | |
3262 | end | |
3263 | end) | |
3264 | ---------------------------------------------------- | |
3265 | Grab = false | |
3266 | mouse.KeyDown:connect(function(key) | |
3267 | if key == "z" then | |
3268 | Debounces.on = true | |
3269 | Debounces.NoIdl = true | |
3270 | if Grab == false then | |
3271 | gp = nil | |
3272 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3273 | ht = hit.Parent | |
3274 | hum1=ht:FindFirstChild('Humanoid') | |
3275 | if hum1 ~= nil then | |
3276 | hum1.PlatformStand=true | |
3277 | gp = ht | |
3278 | Grab = true | |
3279 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
3280 | asd.Parent = larm | |
3281 | asd.Name = "asd" | |
3282 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
3283 | elseif hum1 == nil then | |
3284 | con1:disconnect() | |
3285 | wait() return | |
3286 | end | |
3287 | end) | |
3288 | for i = 1, 18 do | |
3289 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
3290 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
3291 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3292 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
3293 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
3294 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
3295 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9) | |
3296 | if Debounces.on == false then break end | |
3297 | wait() | |
3298 | end | |
3299 | con1:disconnect() | |
3300 | Debounces.on = false | |
3301 | Debounces.NoIdl = false | |
3302 | elseif Grab == true then | |
3303 | Grab = false | |
3304 | for i = 1, 20 do | |
3305 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
3306 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
3307 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3308 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3309 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3310 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3311 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3312 | if Debounces.on == false then end | |
3313 | wait() | |
3314 | end | |
3315 | if gp ~= nil then | |
3316 | for i,v in pairs(larm:GetChildren()) do | |
3317 | if v.Name == "asd" and v:IsA("Weld") then | |
3318 | v:Remove() | |
3319 | end | |
3320 | end | |
3321 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3322 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3323 | bv.P = 125000000000000 | |
3324 | bv.velocity = char.Head.CFrame.lookVector * 1000 | |
3325 | for i = 1, 12 do | |
3326 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
3327 | if Debounces.on == false then end | |
3328 | wait() | |
3329 | end | |
3330 | ht=nil | |
3331 | Spawn(function() | |
3332 | wait(0.5) | |
3333 | bv:Destroy() | |
3334 | end) | |
3335 | Debounces.on = false | |
3336 | Debounces.NoIdl = false | |
3337 | elseif ht == nil then wait() | |
3338 | Grab = false | |
3339 | Debounces.on = false | |
3340 | Debounces.NoIdl = false | |
3341 | end | |
3342 | end | |
3343 | end | |
3344 | end) | |
3345 | ---------------------------------------------------- | |
3346 | mouse.KeyDown:connect(function(key) | |
3347 | if string.byte(key) == 52 then | |
3348 | char.Humanoid.WalkSpeed = 100 | |
3349 | end | |
3350 | end) | |
3351 | mouse.KeyUp:connect(function(key) | |
3352 | if string.byte(key) == 52 then | |
3353 | char.Humanoid.WalkSpeed = 100 | |
3354 | end | |
3355 | end) | |
3356 | ---------------------------------------------------- | |
3357 | ||
3358 | -------------------------------------------------- | |
3359 | local animpose = "Idle" | |
3360 | local lastanimpose = "Idle" | |
3361 | local sine = 0 | |
3362 | local change = 1 | |
3363 | local val = 0 | |
3364 | local ffing = false | |
3365 | ---------------------------------------------------- | |
3366 | --[[x = Instance.new("Sound", char) | |
3367 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3368 | x.Looped = true | |
3369 | x.Volume = 1 | |
3370 | x.Pitch = 1 | |
3371 | local footsteps = false]]-- | |
3372 | ------------------------------- | |
3373 | game:GetService("RunService").RenderStepped:connect(function() | |
3374 | --[[if char.Humanoid.Jump == true then | |
3375 | jump = true | |
3376 | else | |
3377 | jump = false | |
3378 | end]] | |
3379 | char.Humanoid.FreeFalling:connect(function(f) | |
3380 | if f then | |
3381 | ffing = true | |
3382 | else | |
3383 | ffing = false | |
3384 | end | |
3385 | end) | |
3386 | sine = sine + change | |
3387 | if jumpn == true then | |
3388 | animpose = "Jumping" | |
3389 | elseif ffing == true then | |
3390 | animpose = "Freefalling" | |
3391 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3392 | animpose = "Idle" | |
3393 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3394 | animpose = "Walking" | |
3395 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3396 | animpose = "Running" | |
3397 | end | |
3398 | if animpose ~= lastanimpose then | |
3399 | sine = 0 | |
3400 | if Debounces.NoIdl == false then | |
3401 | if animpose == "Idle" then | |
3402 | for i = 1, 2 do | |
3403 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
3404 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
3405 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3406 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3407 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3408 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3409 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3410 | end | |
3411 | elseif animpose == "Walking" then | |
3412 | for i = 1, 2 do | |
3413 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2) | |
3414 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3415 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
3416 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3417 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3418 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3419 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3420 | end | |
3421 | elseif animpose == "Running" then | |
3422 | for i = 1, 2 do | |
3423 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2) | |
3424 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
3425 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3426 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3427 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3428 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3429 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3430 | end | |
3431 | wait() | |
3432 | end | |
3433 | else | |
3434 | end | |
3435 | end | |
3436 | lastanimpose = animpose | |
3437 | if Debounces.NoIdl == false then | |
3438 | if animpose == "Idle" then | |
3439 | if stanceToggle == "Normal" then | |
3440 | change = 0.5 | |
3441 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
3442 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
3443 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
3444 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3445 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3446 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3447 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3448 | elseif stanceToggle == "Sitting" then | |
3449 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
3450 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
3451 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
3452 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
3453 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
3454 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
3455 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3456 | end | |
3457 | elseif animpose == "Walking" then | |
3458 | if stanceToggle == "Normal" then | |
3459 | change = 1 | |
3460 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2) | |
3461 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2) | |
3462 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
3463 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
3464 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4) | |
3465 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4) | |
3466 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1) | |
3467 | end | |
3468 | elseif animpose == "Running" then | |
3469 | change = 1 | |
3470 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
3471 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
3472 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3473 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3476 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3477 | end | |
3478 | end | |
3479 | --[[if animpose == "Walking" then | |
3480 | if footsteps == false then | |
3481 | x:Play() | |
3482 | footsteps = true | |
3483 | end | |
3484 | x.Pitch = 1.1 | |
3485 | elseif animpose == "Idle" then | |
3486 | x:Stop() | |
3487 | footsteps = false | |
3488 | elseif animpose == "Running" then | |
3489 | x.Pitch = 1.2 | |
3490 | if footsteps == false then | |
3491 | x:Play() | |
3492 | footsteps = true | |
3493 | end | |
3494 | end]]-- | |
3495 | end) | |
3496 | -- ~ CL 2016 |