SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | --Edited by vEvent | |
89 | - | local p = game.Players.MyRealAgeOnthis |
89 | + | local p = game.Players.TameDoNotClick |
90 | local char = p.Character | |
91 | local larm = char["Left Arm"] | |
92 | local rarm = char["Right Arm"] | |
93 | local lleg = char["Left Leg"] | |
94 | local rleg = char["Right Leg"] | |
95 | local hed = char.Head | |
96 | local torso = char.Torso | |
97 | local hum = char.Humanoid | |
98 | local cam = game.Workspace.CurrentCamera | |
99 | local root = char.HumanoidRootPart | |
100 | hed.BrickColor = BrickColor.new("Bright red") | |
101 | s = Instance.new('Sound',char) | |
102 | s.SoundId = "rbxassetid://183907931" | |
103 | s.Volume=3 | |
104 | s.Pitch = 1 | |
105 | s.Looped = true | |
106 | s:Play() | |
107 | local deb = false | |
108 | local shot = 0 | |
109 | local debris=game:service"Debris" | |
110 | local l = game:GetService("Lighting") | |
111 | local rs = game:GetService("RunService").Stepped | |
112 | hum.MaxHealth = math.huge | |
113 | hum.Health = math.huge | |
114 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
115 | math.randomseed(os.time()) | |
116 | for i,v in pairs(char:children()) do | |
117 | if v:IsA("Hat") then | |
118 | v:Destroy() | |
119 | end | |
120 | end | |
121 | for i,v in pairs (hed:GetChildren()) do | |
122 | if v:IsA("Sound") then | |
123 | v:Destroy() | |
124 | end | |
125 | end | |
126 | ||
127 | ||
128 | ---------------------------------------------------- | |
129 | Debounces = { | |
130 | CanAttack = true; | |
131 | NoIdl = false; | |
132 | Slashing = false; | |
133 | Slashed = false; | |
134 | RPunch = false; | |
135 | RPunched = false; | |
136 | LPunch = false; | |
137 | LPunched = false; | |
138 | } | |
139 | local Touche = {char.Name, } | |
140 | ---------------------------------------------------- | |
141 | hed.face.Texture = "rbxassetid://26434948" | |
142 | ---------------------------------------------------- | |
143 | ypcall(function() | |
144 | char.Shirt:Destroy() | |
145 | char.Pants:Destroy() | |
146 | shirt = Instance.new("Shirt", char) | |
147 | shirt.Name = "Shirt" | |
148 | pants = Instance.new("Pants", char) | |
149 | pants.Name = "Pants" | |
150 | char.Shirt.ShirtTemplate = "rbxassetid://377144207" | |
151 | char.Pants.PantsTemplate = "rbxassetid://232859458" | |
152 | end) | |
153 | ---------------------------------------------------- | |
154 | function lerp(a, b, t) -- Linear interpolation | |
155 | return a + (b - a)*t | |
156 | end | |
157 | ||
158 | function slerp(a, b, t) --Spherical interpolation | |
159 | dot = a:Dot(b) | |
160 | if dot > 0.99999 or dot < -0.99999 then | |
161 | return t <= 0.5 and a or b | |
162 | else | |
163 | r = math.acos(dot) | |
164 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
165 | end | |
166 | end | |
167 | ||
168 | function matrixInterpolate(a, b, t) | |
169 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
170 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
171 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
172 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
173 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
174 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
175 | local t = v1:Dot(v2) | |
176 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
177 | return CFrame.new() | |
178 | end | |
179 | return CFrame.new( | |
180 | v0.x, v0.y, v0.z, | |
181 | v1.x, v1.y, v1.z, | |
182 | v2.x, v2.y, v2.z, | |
183 | v3.x, v3.y, v3.z) | |
184 | end | |
185 | ---------------------------------------------------- | |
186 | function genWeld(a,b) | |
187 | local w = Instance.new("Weld",a) | |
188 | w.Part0 = a | |
189 | w.Part1 = b | |
190 | return w | |
191 | end | |
192 | function weld(a, b) | |
193 | local weld = Instance.new("Weld") | |
194 | weld.Name = "W" | |
195 | weld.Part0 = a | |
196 | weld.Part1 = b | |
197 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
198 | weld.Parent = a | |
199 | return weld; | |
200 | end | |
201 | ---------------------------------------------------- | |
202 | function Lerp(c1,c2,al) | |
203 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
204 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
205 | for i,v in pairs(com1) do | |
206 | com1[i] = v+(com2[i]-v)*al | |
207 | end | |
208 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
209 | end | |
210 | ---------------------------------------------------- | |
211 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
212 | local wld = Instance.new("Weld", wp1) | |
213 | wld.Part0 = wp0 | |
214 | wld.Part1 = wp1 | |
215 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
216 | end | |
217 | ---------------------------------------------------- | |
218 | function weld5(part0, part1, c0, c1) | |
219 | weeld=Instance.new("Weld", part0) | |
220 | weeld.Part0=part0 | |
221 | weeld.Part1=part1 | |
222 | weeld.C0=c0 | |
223 | weeld.C1=c1 | |
224 | return weeld | |
225 | end | |
226 | ---------------------------------------------------- | |
227 | function HasntTouched(plrname) | |
228 | local ret = true | |
229 | for _, v in pairs(Touche) do | |
230 | if v == plrname then | |
231 | ret = false | |
232 | end | |
233 | end | |
234 | return ret | |
235 | end | |
236 | ---------------------------------------------------- | |
237 | newWeld(torso, larm, -1.5, 0.5, 0) | |
238 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
239 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
240 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
241 | newWeld(torso, hed, 0, 1.5, 0) | |
242 | newWeld(torso, lleg, -0.5, -1, 0) | |
243 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
244 | newWeld(torso, rleg, 0.5, -1, 0) | |
245 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
246 | newWeld(root, torso, 0, -1, 0) | |
247 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
248 | ---------------------------------------------------- | |
249 | --[[z = Instance.new("Sound", char) | |
250 | z.SoundId = "rbxassetid://183907931"--183907931 | |
251 | z.Looped = true | |
252 | z.Pitch = 1 | |
253 | z.Volume = 1 | |
254 | wait(.1) | |
255 | z:Play()]] | |
256 | ---------------------------------------------------- | |
257 | local Transforming = true | |
258 | hum.WalkSpeed = 0 | |
259 | local fx = Instance.new("Part",torso) | |
260 | fx.Anchored = true | |
261 | fx.Material = "Neon" | |
262 | fx.CanCollide = false | |
263 | fx.Locked = true | |
264 | fx.Transparency = 1 | |
265 | fx.Material = "Granite" | |
266 | fx.Size = Vector3.new(1,1,1) | |
267 | fx.TopSurface = "SmoothNoOutlines" | |
268 | fx.BottomSurface = "SmoothNoOutlines" | |
269 | fx.BrickColor = BrickColor.new("Bright red") | |
270 | fxm = Instance.new("SpecialMesh",fx) | |
271 | fxm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
272 | fxm.Scale = Vector3.new(1,1,1) | |
273 | for i = 1, 20 do rs:wait() | |
274 | fx.Transparency = fx.Transparency - (1/20) | |
275 | fx.CFrame = torso.CFrame | |
276 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
277 | rs:wait() | |
278 | end | |
279 | ---------------------------------------------------- | |
280 | lleg.Transparency = 0.5 | |
281 | rleg.Transparency = 0.5 | |
282 | larm.Transparency = 0.5 | |
283 | rarm.Transparency = 0.5 | |
284 | torso.Transparency = 0.5 | |
285 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
286 | larm1 = Instance.new("Part", char) | |
287 | larm1.Name = "Middle" | |
288 | larm1.BrickColor = BrickColor.new("Bright red") | |
289 | larm1.Size = Vector3.new(1, 2, 1) | |
290 | larm1.CanCollide = false | |
291 | larm1.BottomSurface = "Smooth" | |
292 | larm1.TopSurface = "Smooth" | |
293 | larm1.Material = "Neon" | |
294 | Weld = Instance.new("Weld",larm) | |
295 | Weld.Part0 = larm | |
296 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
297 | Weld.Part1 = larm1 | |
298 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
299 | ||
300 | larm2 = Instance.new("Part", char) | |
301 | larm2.BrickColor = BrickColor.new("Bright red") | |
302 | larm2.Material = "Granite" | |
303 | larm2.Size = Vector3.new(1, 0.4, 1) | |
304 | larm2.CanCollide = false | |
305 | larm2.BottomSurface = "Smooth" | |
306 | larm2.TopSurface = "Smooth" | |
307 | Weld = Instance.new("Weld",larm) | |
308 | Weld.Part0 = larm | |
309 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
310 | Weld.Part1 = larm2 | |
311 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
312 | ||
313 | larm3 = Instance.new("Part", char) | |
314 | larm3.BrickColor = BrickColor.new("Bright red") | |
315 | larm3.Material = "Granite" | |
316 | larm3.Size = Vector3.new(1, 0.4, 1) | |
317 | larm3.CanCollide = false | |
318 | larm3.BottomSurface = "Smooth" | |
319 | larm3.TopSurface = "Smooth" | |
320 | Weld = Instance.new("Weld",larm) | |
321 | Weld.Part0 = larm | |
322 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
323 | Weld.Part1 = larm3 | |
324 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
325 | ||
326 | larm4 = Instance.new("Part", char) | |
327 | larm4.BrickColor = BrickColor.new("Bright red") | |
328 | larm4.Material = "Granite" | |
329 | larm4.Size = Vector3.new(1, 0.4, 1) | |
330 | larm4.CanCollide = false | |
331 | larm4.BottomSurface = "Smooth" | |
332 | larm4.TopSurface = "Smooth" | |
333 | Weld = Instance.new("Weld",larm) | |
334 | Weld.Part0 = larm | |
335 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
336 | Weld.Part1 = larm4 | |
337 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
338 | ||
339 | larm5 = Instance.new("Part", char) | |
340 | larm5.BrickColor = BrickColor.new("Bright red") | |
341 | larm5.Material = "Granite" | |
342 | larm5.Size = Vector3.new(1, 0.4, 1) | |
343 | larm5.CanCollide = false | |
344 | larm5.BottomSurface = "Smooth" | |
345 | larm5.TopSurface = "Smooth" | |
346 | Weld = Instance.new("Weld",larm) | |
347 | Weld.Part0 = larm | |
348 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
349 | Weld.Part1 = larm5 | |
350 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
351 | ||
352 | larm6 = Instance.new("Part", char) | |
353 | larm6.BrickColor = BrickColor.new("Bright red") | |
354 | larm6.Material = "Granite" | |
355 | larm6.Size = Vector3.new(1, 0.4, 1) | |
356 | larm6.CanCollide = false | |
357 | larm6.BottomSurface = "Smooth" | |
358 | larm6.TopSurface = "Smooth" | |
359 | Mesh = Instance.new("SpecialMesh", larm6) | |
360 | Mesh.MeshType = "Brick" | |
361 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
362 | Weld = Instance.new("Weld",larm) | |
363 | Weld.Part0 = larm | |
364 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
365 | Weld.Part1 = larm6 | |
366 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
367 | ||
368 | larm7 = Instance.new("Part", char) | |
369 | larm7.BrickColor = BrickColor.new("Really red") | |
370 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
371 | larm7.CanCollide = false | |
372 | larm7.BottomSurface = "Smooth" | |
373 | larm7.TopSurface = "Smooth" | |
374 | larm7.Material = "Neon" | |
375 | Weld = Instance.new("Weld",larm) | |
376 | Weld.Part0 = larm | |
377 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
378 | Weld.Part1 = larm7 | |
379 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
380 | ||
381 | larm8 = Instance.new("Part", char) | |
382 | larm8.BrickColor = BrickColor.new("Bright red") | |
383 | larm8.Material = "Granite" | |
384 | larm8.Size = Vector3.new(1, 0.4, 1) | |
385 | larm8.CanCollide = false | |
386 | larm8.BottomSurface = "Smooth" | |
387 | larm8.TopSurface = "Smooth" | |
388 | Weld = Instance.new("Weld",larm) | |
389 | Weld.Part0 = larm | |
390 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
391 | Weld.Part1 = larm8 | |
392 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
393 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
394 | rarm1 = Instance.new("Part", char) | |
395 | rarm1.Name = "Middle" | |
396 | rarm1.BrickColor = BrickColor.new("Really red") | |
397 | rarm1.Size = Vector3.new(1, 2, 1) | |
398 | rarm1.CanCollide = false | |
399 | rarm1.BottomSurface = "Smooth" | |
400 | rarm1.TopSurface = "Smooth" | |
401 | rarm1.Material = "Neon" | |
402 | Weld = Instance.new("Weld",rarm) | |
403 | Weld.Part0 = rarm | |
404 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
405 | Weld.Part1 = rarm1 | |
406 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
407 | ||
408 | rarm2 = Instance.new("Part", char) | |
409 | rarm2.BrickColor = BrickColor.new("Bright red") | |
410 | rarm2.Material = "Granite" | |
411 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
412 | rarm2.CanCollide = false | |
413 | rarm2.BottomSurface = "Smooth" | |
414 | rarm2.TopSurface = "Smooth" | |
415 | Weld = Instance.new("Weld",rarm) | |
416 | Weld.Part0 = rarm | |
417 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
418 | Weld.Part1 = rarm2 | |
419 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
420 | ||
421 | rarm3 = Instance.new("Part", char) | |
422 | rarm3.BrickColor = BrickColor.new("Bright red") | |
423 | rarm3.Material = "Granite" | |
424 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
425 | rarm3.CanCollide = false | |
426 | rarm3.BottomSurface = "Smooth" | |
427 | rarm3.TopSurface = "Smooth" | |
428 | Weld = Instance.new("Weld",rarm) | |
429 | Weld.Part0 = rarm | |
430 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
431 | Weld.Part1 = rarm3 | |
432 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
433 | ||
434 | rarm4 = Instance.new("Part", char) | |
435 | rarm4.BrickColor = BrickColor.new("Bright red") | |
436 | rarm4.Material = "Granite" | |
437 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
438 | rarm4.CanCollide = false | |
439 | rarm4.BottomSurface = "Smooth" | |
440 | rarm4.TopSurface = "Smooth" | |
441 | Weld = Instance.new("Weld",rarm) | |
442 | Weld.Part0 = rarm | |
443 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
444 | Weld.Part1 = rarm4 | |
445 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
446 | ||
447 | rarm5 = Instance.new("Part", char) | |
448 | rarm5.BrickColor = BrickColor.new("Bright red") | |
449 | rarm5.Material = "Granite" | |
450 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
451 | rarm5.CanCollide = false | |
452 | rarm5.BottomSurface = "Smooth" | |
453 | rarm5.TopSurface = "Smooth" | |
454 | Mesh = Instance.new("SpecialMesh", rarm5) | |
455 | Mesh.MeshType = "Brick" | |
456 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
457 | Weld = Instance.new("Weld",rarm) | |
458 | Weld.Part0 = rarm | |
459 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
460 | Weld.Part1 = rarm5 | |
461 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
462 | ||
463 | rarm6 = Instance.new("Part", char) | |
464 | rarm6.BrickColor = BrickColor.new("Bright red") | |
465 | rarm6.Material = "Granite" | |
466 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
467 | rarm6.CanCollide = false | |
468 | rarm6.BottomSurface = "Smooth" | |
469 | rarm6.TopSurface = "Smooth" | |
470 | Weld = Instance.new("Weld",rarm) | |
471 | Weld.Part0 = rarm | |
472 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
473 | Weld.Part1 = rarm6 | |
474 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
475 | ||
476 | rarm7 = Instance.new("Part", char) | |
477 | rarm7.BrickColor = BrickColor.new("Really red") | |
478 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
479 | rarm7.CanCollide = false | |
480 | rarm7.BottomSurface = "Smooth" | |
481 | rarm7.TopSurface = "Smooth" | |
482 | rarm7.Material = "Neon" | |
483 | Weld = Instance.new("Weld",rarm) | |
484 | Weld.Part0 = rarm | |
485 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
486 | Weld.Part1 = rarm7 | |
487 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
488 | ||
489 | rarm8 = Instance.new("Part", char) | |
490 | rarm8.BrickColor = BrickColor.new("Bright red") | |
491 | rarm8.Material = "Granite" | |
492 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
493 | rarm8.CanCollide = false | |
494 | rarm8.BottomSurface = "Smooth" | |
495 | rarm8.TopSurface = "Smooth" | |
496 | Weld = Instance.new("Weld",rarm) | |
497 | Weld.Part0 = rarm | |
498 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
499 | Weld.Part1 = rarm8 | |
500 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
501 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
502 | lleg1 = Instance.new("Part", char) | |
503 | lleg1.Name = "Middle" | |
504 | lleg1.BrickColor = BrickColor.new("Really red") | |
505 | lleg1.Size = Vector3.new(1, 2, 1) | |
506 | lleg1.CanCollide = false | |
507 | lleg1.BottomSurface = "Smooth" | |
508 | lleg1.TopSurface = "Smooth" | |
509 | lleg1.Material = "Neon" | |
510 | Weld = Instance.new("Weld",lleg) | |
511 | Weld.Part0 = lleg | |
512 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
513 | Weld.Part1 = lleg1 | |
514 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
515 | ||
516 | lleg2 = Instance.new("Part", char) | |
517 | lleg2.BrickColor = BrickColor.new("Bright red") | |
518 | lleg2.Material = "Granite" | |
519 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
520 | lleg2.CanCollide = false | |
521 | lleg2.BottomSurface = "Smooth" | |
522 | lleg2.TopSurface = "Smooth" | |
523 | Weld = Instance.new("Weld",lleg) | |
524 | Weld.Part0 = lleg | |
525 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
526 | Weld.Part1 = lleg2 | |
527 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
528 | ||
529 | lleg3 = Instance.new("Part", char) | |
530 | lleg3.BrickColor = BrickColor.new("Bright red") | |
531 | lleg3.Material = "Granite" | |
532 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
533 | lleg3.CanCollide = false | |
534 | lleg3.BottomSurface = "Smooth" | |
535 | lleg3.TopSurface = "Smooth" | |
536 | Weld = Instance.new("Weld",lleg) | |
537 | Weld.Part0 = lleg | |
538 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
539 | Weld.Part1 = lleg3 | |
540 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
541 | ||
542 | lleg4 = Instance.new("Part", char) | |
543 | lleg4.BrickColor = BrickColor.new("Bright red") | |
544 | lleg4.Material = "Granite" | |
545 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
546 | lleg4.CanCollide = false | |
547 | lleg4.BottomSurface = "Smooth" | |
548 | lleg4.TopSurface = "Smooth" | |
549 | Weld = Instance.new("Weld",lleg) | |
550 | Weld.Part0 = lleg | |
551 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
552 | Weld.Part1 = lleg4 | |
553 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
554 | ||
555 | lleg5 = Instance.new("Part", char) | |
556 | lleg5.BrickColor = BrickColor.new("Bright red") | |
557 | lleg5.Material = "Granite" | |
558 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
559 | lleg5.CanCollide = false | |
560 | lleg5.BottomSurface = "Smooth" | |
561 | lleg5.TopSurface = "Smooth" | |
562 | Weld = Instance.new("Weld",lleg) | |
563 | Weld.Part0 = lleg | |
564 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
565 | Weld.Part1 = lleg5 | |
566 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
567 | ||
568 | lleg6 = Instance.new("Part", char) | |
569 | lleg6.BrickColor = BrickColor.new("Bright red") | |
570 | lleg6.Material = "Granite" | |
571 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
572 | lleg6.CanCollide = false | |
573 | lleg6.BottomSurface = "Smooth" | |
574 | lleg6.TopSurface = "Smooth" | |
575 | Weld = Instance.new("Weld",lleg) | |
576 | Weld.Part0 = lleg | |
577 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
578 | Weld.Part1 = lleg6 | |
579 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
580 | ||
581 | lleg7 = Instance.new("Part", char) | |
582 | lleg7.BrickColor = BrickColor.new("Bright red") | |
583 | lleg7.Material = "Granite" | |
584 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
585 | lleg7.CanCollide = false | |
586 | lleg7.BottomSurface = "Smooth" | |
587 | lleg7.TopSurface = "Smooth" | |
588 | Weld = Instance.new("Weld",lleg) | |
589 | Weld.Part0 = lleg | |
590 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
591 | Weld.Part1 = lleg7 | |
592 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
593 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
594 | rleg1 = Instance.new("Part", char) | |
595 | rleg1.Name = "Middle" | |
596 | rleg1.BrickColor = BrickColor.new("Really red") | |
597 | rleg1.Size = Vector3.new(1, 2, 1) | |
598 | rleg1.CanCollide = false | |
599 | rleg1.BottomSurface = "Smooth" | |
600 | rleg1.TopSurface = "Smooth" | |
601 | rleg1.Material = "Neon" | |
602 | Weld = Instance.new("Weld",rleg) | |
603 | Weld.Part0 = rleg | |
604 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
605 | Weld.Part1 = rleg1 | |
606 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
607 | ||
608 | rleg2 = Instance.new("Part", char) | |
609 | rleg2.BrickColor = BrickColor.new("Bright red") | |
610 | rleg2.Material = "Granite" | |
611 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
612 | rleg2.CanCollide = false | |
613 | rleg2.BottomSurface = "Smooth" | |
614 | rleg2.TopSurface = "Smooth" | |
615 | Weld = Instance.new("Weld",rleg) | |
616 | Weld.Part0 = rleg | |
617 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
618 | Weld.Part1 = rleg2 | |
619 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
620 | ||
621 | rleg3 = Instance.new("Part", char) | |
622 | rleg3.BrickColor = BrickColor.new("Bright red") | |
623 | rleg3.Material = "Granite" | |
624 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
625 | rleg3.CanCollide = false | |
626 | rleg3.BottomSurface = "Smooth" | |
627 | rleg3.TopSurface = "Smooth" | |
628 | Weld = Instance.new("Weld",rleg) | |
629 | Weld.Part0 = rleg | |
630 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
631 | Weld.Part1 = rleg3 | |
632 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
633 | ||
634 | rleg4 = Instance.new("Part", char) | |
635 | rleg4.BrickColor = BrickColor.new("Bright red") | |
636 | rleg4.Material = "Granite" | |
637 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
638 | rleg4.CanCollide = false | |
639 | rleg4.BottomSurface = "Smooth" | |
640 | rleg4.TopSurface = "Smooth" | |
641 | Weld = Instance.new("Weld",rleg) | |
642 | Weld.Part0 = rleg | |
643 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
644 | Weld.Part1 = rleg4 | |
645 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
646 | ||
647 | rleg5 = Instance.new("Part", char) | |
648 | rleg5.BrickColor = BrickColor.new("Bright red") | |
649 | rleg5.Material = "Granite" | |
650 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
651 | rleg5.CanCollide = false | |
652 | rleg5.BottomSurface = "Smooth" | |
653 | rleg5.TopSurface = "Smooth" | |
654 | Weld = Instance.new("Weld",rleg) | |
655 | Weld.Part0 = rleg | |
656 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
657 | Weld.Part1 = rleg5 | |
658 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
659 | ||
660 | rleg6 = Instance.new("Part", char) | |
661 | rleg6.BrickColor = BrickColor.new("Bright red") | |
662 | rleg6.Material = "Granite" | |
663 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
664 | rleg6.CanCollide = false | |
665 | rleg6.BottomSurface = "Smooth" | |
666 | rleg6.TopSurface = "Smooth" | |
667 | Weld = Instance.new("Weld",rleg) | |
668 | Weld.Part0 = rleg | |
669 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
670 | Weld.Part1 = rleg6 | |
671 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
672 | ||
673 | rleg7 = Instance.new("Part", char) | |
674 | rleg7.BrickColor = BrickColor.new("Bright red") | |
675 | rleg7.Material = "Granite" | |
676 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
677 | rleg7.CanCollide = false | |
678 | rleg7.BottomSurface = "Smooth" | |
679 | rleg7.TopSurface = "Smooth" | |
680 | Weld = Instance.new("Weld",rleg) | |
681 | Weld.Part0 = rleg | |
682 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
683 | Weld.Part1 = rleg7 | |
684 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
685 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
686 | Chest1 = Instance.new("Part", char) | |
687 | Chest1.Name = "Ball" | |
688 | Chest1.BrickColor = BrickColor.new("Really red") | |
689 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
690 | Chest1.CanCollide = false | |
691 | Chest1.BottomSurface = "Smooth" | |
692 | Chest1.TopSurface = "Smooth" | |
693 | Chest1.Material = "Neon" | |
694 | Mesh = Instance.new("SpecialMesh", Chest1) | |
695 | Mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
696 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
697 | Weld = Instance.new("Weld",torso) | |
698 | Weld.Part0 = torso | |
699 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
700 | Weld.Part1 = Chest1 | |
701 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
702 | ||
703 | Chest2 = Instance.new("Part", char) | |
704 | Chest2.BrickColor = BrickColor.new("Really red") | |
705 | Chest2.Name = "Middle" | |
706 | Chest2.Size = Vector3.new(2, 2, 1) | |
707 | Chest2.CanCollide = false | |
708 | Chest2.BottomSurface = "Smooth" | |
709 | Chest2.TopSurface = "Smooth" | |
710 | Chest2.Material = "Neon" | |
711 | Weld = Instance.new("Weld",torso) | |
712 | Weld.Part0 = torso | |
713 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
714 | Weld.Part1 = Chest2 | |
715 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
716 | ||
717 | Chest3 = Instance.new("Part", char) | |
718 | Chest3.BrickColor = BrickColor.new("Bright red") | |
719 | Chest3.Material = "Granite" | |
720 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
721 | Chest3.CanCollide = false | |
722 | Chest3.BottomSurface = "Smooth" | |
723 | Chest3.TopSurface = "Smooth" | |
724 | Weld = Instance.new("Weld",torso) | |
725 | Weld.Part0 = torso | |
726 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
727 | Weld.Part1 = Chest3 | |
728 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
729 | ||
730 | Chest4 = Instance.new("Part", char) | |
731 | Chest4.BrickColor = BrickColor.new("Bright red") | |
732 | Chest4.Material = "Granite" | |
733 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
734 | Chest4.CanCollide = false | |
735 | Chest4.BottomSurface = "Smooth" | |
736 | Chest4.TopSurface = "Smooth" | |
737 | Weld = Instance.new("Weld",torso) | |
738 | Weld.Part0 = torso | |
739 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
740 | Weld.Part1 = Chest4 | |
741 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
742 | ||
743 | Chest5 = Instance.new("Part", char) | |
744 | Chest5.BrickColor = BrickColor.new("Bright red") | |
745 | Chest5.Material = "Granite" | |
746 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
747 | Chest5.CanCollide = false | |
748 | Chest5.BottomSurface = "Smooth" | |
749 | Chest5.TopSurface = "Smooth" | |
750 | Weld = Instance.new("Weld",torso) | |
751 | Weld.Part0 = torso | |
752 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
753 | Weld.Part1 = Chest5 | |
754 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
755 | ||
756 | Chest6 = Instance.new("Part", char) | |
757 | Chest6.BrickColor = BrickColor.new("Bright red") | |
758 | Chest6.Material = "Granite" | |
759 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
760 | Chest6.CanCollide = false | |
761 | Chest6.BottomSurface = "Smooth" | |
762 | Chest6.TopSurface = "Smooth" | |
763 | Weld = Instance.new("Weld",torso) | |
764 | Weld.Part0 = torso | |
765 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
766 | Weld.Part1 = Chest6 | |
767 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
768 | ||
769 | Chest7 = Instance.new("Part", char) | |
770 | Chest7.BrickColor = BrickColor.new("Bright red") | |
771 | Chest7.Material = "Granite" | |
772 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
773 | Chest7.CanCollide = false | |
774 | Chest7.BottomSurface = "Smooth" | |
775 | Chest7.TopSurface = "Smooth" | |
776 | Weld = Instance.new("Weld",torso) | |
777 | Weld.Part0 = torso | |
778 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
779 | Weld.Part1 = Chest7 | |
780 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
781 | ||
782 | Chest8 = Instance.new("Part", char) | |
783 | Chest8.BrickColor = BrickColor.new("Bright red") | |
784 | Chest8.Material = "Granite" | |
785 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
786 | Chest8.CanCollide = false | |
787 | Chest8.BottomSurface = "Smooth" | |
788 | Chest8.TopSurface = "Smooth" | |
789 | Weld = Instance.new("Weld",torso) | |
790 | Weld.Part0 = torso | |
791 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
792 | Weld.Part1 = Chest8 | |
793 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
794 | ||
795 | Chest9 = Instance.new("Part", char) | |
796 | Chest9.BrickColor = BrickColor.new("Bright red") | |
797 | Chest9.Material = "Granite" | |
798 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
799 | Chest9.CanCollide = false | |
800 | Chest9.BottomSurface = "Smooth" | |
801 | Chest9.TopSurface = "Smooth" | |
802 | Weld = Instance.new("Weld",torso) | |
803 | Weld.Part0 = torso | |
804 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
805 | Weld.Part1 = Chest9 | |
806 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
807 | ||
808 | Chest10 = Instance.new("Part", char) | |
809 | Chest10.BrickColor = BrickColor.new("Bright red") | |
810 | Chest10.Material = "Granite" | |
811 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
812 | Chest10.CanCollide = false | |
813 | Chest10.BottomSurface = "Smooth" | |
814 | Chest10.TopSurface = "Smooth" | |
815 | Mesh = Instance.new("SpecialMesh", Chest10) | |
816 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
817 | Weld = Instance.new("Weld",torso) | |
818 | Weld.Part0 = torso | |
819 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
820 | Weld.Part1 = Chest10 | |
821 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
822 | ||
823 | Chest11 = Instance.new("Part", char) | |
824 | Chest11.BrickColor = BrickColor.new("Bright red") | |
825 | Chest11.Material = "Granite" | |
826 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
827 | Chest11.CanCollide = false | |
828 | Chest11.BottomSurface = "Smooth" | |
829 | Chest11.TopSurface = "Smooth" | |
830 | Weld = Instance.new("Weld",torso) | |
831 | Weld.Part0 = torso | |
832 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
833 | Weld.Part1 = Chest11 | |
834 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
835 | ||
836 | Chest12 = Instance.new("Part", char) | |
837 | Chest12.BrickColor = BrickColor.new("Bright red") | |
838 | Chest12.Material = "Granite" | |
839 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
840 | Chest12.CanCollide = false | |
841 | Chest12.BottomSurface = "Smooth" | |
842 | Chest12.TopSurface = "Smooth" | |
843 | Weld = Instance.new("Weld",torso) | |
844 | Weld.Part0 = torso | |
845 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
846 | Weld.Part1 = Chest12 | |
847 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
848 | ||
849 | Chest13 = Instance.new("Part", char) | |
850 | Chest13.BrickColor = BrickColor.new("Bright red") | |
851 | Chest13.Material = "Granite" | |
852 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
853 | Chest13.CanCollide = false | |
854 | Chest13.BottomSurface = "Smooth" | |
855 | Chest13.TopSurface = "Smooth" | |
856 | Weld = Instance.new("Weld",torso) | |
857 | Weld.Part0 = torso | |
858 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
859 | Weld.Part1 = Chest13 | |
860 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
861 | ||
862 | Chest14 = Instance.new("Part", char) | |
863 | Chest14.BrickColor = BrickColor.new("Bright red") | |
864 | Chest14.Material = "Granite" | |
865 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
866 | Chest14.CanCollide = false | |
867 | Chest14.BottomSurface = "Smooth" | |
868 | Chest14.TopSurface = "Smooth" | |
869 | Weld = Instance.new("Weld",torso) | |
870 | Weld.Part0 = torso | |
871 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
872 | Weld.Part1 = Chest14 | |
873 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
874 | ||
875 | Chest15 = Instance.new("Part", char) | |
876 | Chest15.BrickColor = BrickColor.new("Royal purple") | |
877 | Chest15.Material = "Granite" | |
878 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
879 | Chest15.CanCollide = false | |
880 | Chest15.BottomSurface = "Smooth" | |
881 | Chest15.TopSurface = "Smooth" | |
882 | Weld = Instance.new("Weld",torso) | |
883 | Weld.Part0 = torso | |
884 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
885 | Weld.Part1 = Chest15 | |
886 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
887 | ||
888 | Chest16 = Instance.new("Part", char) | |
889 | Chest16.BrickColor = BrickColor.new("Bright red") | |
890 | Chest16.Material = "Granite" | |
891 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
892 | Chest16.CanCollide = false | |
893 | Chest16.BottomSurface = "Smooth" | |
894 | Chest16.TopSurface = "Smooth" | |
895 | Weld = Instance.new("Weld",torso) | |
896 | Weld.Part0 = torso | |
897 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
898 | Weld.Part1 = Chest16 | |
899 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
900 | ||
901 | Chest17 = Instance.new("Part", char) | |
902 | Chest17.BrickColor = BrickColor.new("Bright red") | |
903 | Chest17.Material = "Granite" | |
904 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
905 | Chest17.CanCollide = false | |
906 | Chest17.BottomSurface = "Smooth" | |
907 | Chest17.TopSurface = "Smooth" | |
908 | Weld = Instance.new("Weld",torso) | |
909 | Weld.Part0 = torso | |
910 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
911 | Weld.Part1 = Chest17 | |
912 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
913 | ||
914 | Chest18 = Instance.new("Part", char) | |
915 | Chest18.BrickColor = BrickColor.new("Bright red") | |
916 | Chest18.Material = "Granite" | |
917 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
918 | Chest18.CanCollide = false | |
919 | Chest18.BottomSurface = "Smooth" | |
920 | Chest18.TopSurface = "Smooth" | |
921 | Weld = Instance.new("Weld",torso) | |
922 | Weld.Part0 = torso | |
923 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
924 | Weld.Part1 = Chest18 | |
925 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
926 | ||
927 | Chest19 = Instance.new("Part", char) | |
928 | Chest19.BrickColor = BrickColor.new("Bright red") | |
929 | Chest19.Material = "Granite" | |
930 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
931 | Chest19.CanCollide = false | |
932 | Chest19.BottomSurface = "Smooth" | |
933 | Chest19.TopSurface = "Smooth" | |
934 | Weld = Instance.new("Weld",torso) | |
935 | Weld.Part0 = torso | |
936 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
937 | Weld.Part1 = Chest19 | |
938 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
939 | ||
940 | Chest20 = Instance.new("Part", char) | |
941 | Chest20.BrickColor = BrickColor.new("Bright red") | |
942 | Chest20.Material = "Granite" | |
943 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
944 | Chest20.CanCollide = false | |
945 | Chest20.BottomSurface = "Smooth" | |
946 | Chest20.TopSurface = "Smooth" | |
947 | Mesh = Instance.new("SpecialMesh",Chest20) | |
948 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
949 | Weld = Instance.new("Weld",torso) | |
950 | Weld.Part0 = torso | |
951 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
952 | Weld.Part1 = Chest20 | |
953 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
954 | ||
955 | Chest21 = Instance.new("Part", char) | |
956 | Chest21.BrickColor = BrickColor.new("Bright red") | |
957 | Chest21.Material = "Granite" | |
958 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
959 | Chest21.CanCollide = false | |
960 | Chest21.BottomSurface = "Smooth" | |
961 | Chest21.TopSurface = "Smooth" | |
962 | Weld = Instance.new("Weld",torso) | |
963 | Weld.Part0 = torso | |
964 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
965 | Weld.Part1 = Chest21 | |
966 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
967 | ||
968 | Chest22 = Instance.new("Part", char) | |
969 | Chest22.BrickColor = BrickColor.new("Bright red") | |
970 | Chest22.Material = "Granite" | |
971 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
972 | Chest22.CanCollide = false | |
973 | Chest22.BottomSurface = "Smooth" | |
974 | Chest22.TopSurface = "Smooth" | |
975 | Weld = Instance.new("Weld",torso) | |
976 | Weld.Part0 = torso | |
977 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
978 | Weld.Part1 = Chest22 | |
979 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
980 | ||
981 | Chest23 = Instance.new("Part", char) | |
982 | Chest23.BrickColor = BrickColor.new("Bright red") | |
983 | Chest23.Material = "Granite" | |
984 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
985 | Chest23.CanCollide = false | |
986 | Chest23.BottomSurface = "Smooth" | |
987 | Chest23.TopSurface = "Smooth" | |
988 | Weld = Instance.new("Weld",torso) | |
989 | Weld.Part0 = torso | |
990 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
991 | Weld.Part1 = Chest23 | |
992 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
993 | ||
994 | Chest24 = Instance.new("Part", char) | |
995 | Chest24.BrickColor = BrickColor.new("Bright red") | |
996 | Chest24.Material = "Granite" | |
997 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
998 | Chest24.CanCollide = false | |
999 | Chest24.BottomSurface = "Smooth" | |
1000 | Chest24.TopSurface = "Smooth" | |
1001 | Weld = Instance.new("Weld",torso) | |
1002 | Weld.Part0 = torso | |
1003 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
1004 | Weld.Part1 = Chest24 | |
1005 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
1006 | ||
1007 | p1 = Instance.new("Part",char) | |
1008 | p1.BrickColor = BrickColor.new("Bright red") | |
1009 | p1.FormFactor = Enum.FormFactor.Custom | |
1010 | p1.Size = Vector3.new(2, 2, 2) | |
1011 | p1.CanCollide = false | |
1012 | p1.Locked = true | |
1013 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
1014 | p1.TopSurface = Enum.SurfaceType.Smooth | |
1015 | SMesh = Instance.new("SpecialMesh", p1) | |
1016 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
1017 | SMesh.TextureId = "" | |
1018 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1019 | SMesh.Name = "Mesh" | |
1020 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1021 | SMesh.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
1022 | w1 = Instance.new("Weld", hed) | |
1023 | w1.Part0 = hed | |
1024 | w1.C0 = CFrame.new(0,-1.5,0) | |
1025 | w1.Part1 = p1 | |
1026 | w1.C1 = CFrame.new(1.75514506e-005, -2.06990719, 0.00210596342, -0.999966383, -1.62210035e-005, -0.00820016116, -9.25059425e-008, 0.999998093, -0.00196684781, 0.00820017792, -0.00196678098, -0.999964535) | |
1027 | p2 = Instance.new("Part",char) | |
1028 | p2.BrickColor = BrickColor.new("Really red") | |
1029 | p2.FormFactor = Enum.FormFactor.Custom | |
1030 | p2.Size = Vector3.new(1, 1, 1) | |
1031 | p2.CanCollide = false | |
1032 | p2.Locked = true | |
1033 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
1034 | p2.TopSurface = Enum.SurfaceType.Smooth | |
1035 | SMesh = Instance.new("SpecialMesh", p2) | |
1036 | SMesh.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
1037 | SMesh.TextureId = "" | |
1038 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1039 | SMesh.Name = "Mesh" | |
1040 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1041 | SMesh.Scale = Vector3.new(1, 0.9, 1) | |
1042 | w1 = Instance.new("Weld", hed) | |
1043 | w1.Part0 = hed | |
1044 | w1.C0 = CFrame.new(0,-1.5,0) | |
1045 | w1.Part1 = p2 | |
1046 | w1.C1 = CFrame.new(0.00981426239, -1.86002111, 0.000148773193, 1, 4.98469959e-008, 4.58955765e-006, -4.98459833e-008, 1, -2.23582518e-007, -4.58955765e-006, 2.23582191e-007, 1) | |
1047 | p3 = Instance.new("Part",char) | |
1048 | p3.BrickColor = BrickColor.new("Really red") | |
1049 | p3.FormFactor = Enum.FormFactor.Custom | |
1050 | p3.Size = Vector3.new(1, 1, 1) | |
1051 | p3.CanCollide = false | |
1052 | p3.Locked = true | |
1053 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
1054 | p3.TopSurface = Enum.SurfaceType.Smooth | |
1055 | SMesh = Instance.new("SpecialMesh", p3) | |
1056 | SMesh.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
1057 | SMesh.TextureId = "" | |
1058 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1059 | SMesh.Name = "Mesh" | |
1060 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1061 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1062 | w1 = Instance.new("Weld", hed) | |
1063 | w1.Part0 = hed | |
1064 | w1.C0 = CFrame.new(0,-1.5,0) | |
1065 | w1.Part1 = p3 | |
1066 | w1.C1 = CFrame.new(0.059677124, -1.98001814, -0.199489594, 0.99999994, 1.02864064e-008, 4.82797577e-006, -1.02842179e-008, 1, -4.61996478e-007, -4.82797577e-006, 4.61996365e-007, 0.99999994) | |
1067 | p4 = Instance.new("Part",char) | |
1068 | p4.BrickColor = BrickColor.new("Really red") | |
1069 | p4.FormFactor = Enum.FormFactor.Custom | |
1070 | p4.Size = Vector3.new(1, 1, 1) | |
1071 | p4.CanCollide = false | |
1072 | p4.Locked = true | |
1073 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
1074 | p4.TopSurface = Enum.SurfaceType.Smooth | |
1075 | SMesh = Instance.new("SpecialMesh", p4) | |
1076 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
1077 | SMesh.TextureId = "" | |
1078 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1079 | SMesh.Name = "Mesh" | |
1080 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1081 | SMesh.Scale = Vector3.new(1.02, 1.05, 1.05) | |
1082 | w1 = Instance.new("Weld", hed) | |
1083 | w1.Part0 = hed | |
1084 | w1.C0 = CFrame.new(0,-1.5,0) | |
1085 | w1.Part1 = p4 | |
1086 | w1.C1 = CFrame.new(0.0104255676, -1.94979095, 0.129776001, 0.99999994, -2.00533847e-008, 5.2192072e-006, -3.74953743e-007, 0.995037675, 0.0995008945, -4.8863717e-006, -0.0995009243, 0.995037436) | |
1087 | p5 = Instance.new("Part",char) | |
1088 | p5.BrickColor = BrickColor.new("Really red") | |
1089 | p5.FormFactor = Enum.FormFactor.Custom | |
1090 | p5.Size = Vector3.new(1, 1, 1) | |
1091 | p5.CanCollide = false | |
1092 | p5.Locked = true | |
1093 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
1094 | p5.TopSurface = Enum.SurfaceType.Smooth | |
1095 | SMesh = Instance.new("SpecialMesh", p5) | |
1096 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1097 | SMesh.TextureId = "" | |
1098 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1099 | SMesh.Name = "Mesh" | |
1100 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1101 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1102 | w1 = Instance.new("Weld", hed) | |
1103 | w1.Part0 = hed | |
1104 | w1.C0 = CFrame.new(0,-1.5,0) | |
1105 | w1.Part1 = p5 | |
1106 | w1.C1 = CFrame.new(0.00938796997, -2.00957298, 1.44282532, 1, -1.34962974e-007, 5.35256595e-006, -3.26552458e-006, 0.729885638, 0.683569431, -3.88335775e-006, -0.68356967, 0.729885519) | |
1107 | p6 = Instance.new("Part",char) | |
1108 | p6.BrickColor = BrickColor.new("Really red") | |
1109 | p6.FormFactor = Enum.FormFactor.Custom | |
1110 | p6.Size = Vector3.new(1, 1, 1) | |
1111 | p6.CanCollide = false | |
1112 | p6.Locked = true | |
1113 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
1114 | p6.TopSurface = Enum.SurfaceType.Smooth | |
1115 | SMesh = Instance.new("SpecialMesh", p6) | |
1116 | SMesh.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
1117 | SMesh.TextureId = "" | |
1118 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1119 | SMesh.Name = "Mesh" | |
1120 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1121 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1122 | w1 = Instance.new("Weld", hed) | |
1123 | w1.Part0 = hed | |
1124 | w1.C0 = CFrame.new(0,-1.5,0) | |
1125 | w1.Part1 = p6 | |
1126 | w1.C1 = CFrame.new(0.00993537903, -2.2400105, -0.079624176, 1.00000012, -2.98023064e-008, -1.54972145e-006, 2.980231e-008, 1, -4.94502617e-009, 1.54972145e-006, 4.94494401e-009, 1.00000012) | |
1127 | p7 = Instance.new("Part",char) | |
1128 | p7.BrickColor = BrickColor.new("Really red") | |
1129 | p7.FormFactor = Enum.FormFactor.Custom | |
1130 | p7.Size = Vector3.new(1, 1, 1) | |
1131 | p7.CanCollide = false | |
1132 | p7.Locked = true | |
1133 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
1134 | p7.TopSurface = Enum.SurfaceType.Smooth | |
1135 | SMesh = Instance.new("SpecialMesh", p7) | |
1136 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1137 | SMesh.TextureId = "" | |
1138 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1139 | SMesh.Name = "Mesh" | |
1140 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1141 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1142 | w1 = Instance.new("Weld", hed) | |
1143 | w1.Part0 = hed | |
1144 | w1.C0 = CFrame.new(0,-1.5,0) | |
1145 | w1.Part1 = p7 | |
1146 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1147 | p8 = Instance.new("Part",char) | |
1148 | p8.BrickColor = BrickColor.new("Really red") | |
1149 | p8.FormFactor = Enum.FormFactor.Custom | |
1150 | p8.Size = Vector3.new(1, 1, 1) | |
1151 | p8.CanCollide = false | |
1152 | p8.Locked = true | |
1153 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
1154 | p8.TopSurface = Enum.SurfaceType.Smooth | |
1155 | SMesh = Instance.new("SpecialMesh", p8) | |
1156 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1157 | SMesh.TextureId = "" | |
1158 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1159 | SMesh.Name = "Mesh" | |
1160 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1161 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1162 | w1 = Instance.new("Weld", hed) | |
1163 | w1.Part0 = hed | |
1164 | w1.C0 = CFrame.new(0,-1.5,0) | |
1165 | w1.Part1 = p8 | |
1166 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1167 | p9 = Instance.new("Part",char) | |
1168 | p9.BrickColor = BrickColor.new("Really red") | |
1169 | p9.FormFactor = Enum.FormFactor.Custom | |
1170 | p9.Size = Vector3.new(1, 1, 1) | |
1171 | p9.CanCollide = false | |
1172 | p9.Locked = true | |
1173 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1174 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1175 | SMesh = Instance.new("SpecialMesh", p9) | |
1176 | SMesh.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
1177 | SMesh.TextureId = "" | |
1178 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1179 | SMesh.Name = "Mesh" | |
1180 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1181 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1182 | w1 = Instance.new("Weld", hed) | |
1183 | w1.Part0 = hed | |
1184 | w1.C0 = CFrame.new(0,-1.5,0) | |
1185 | w1.Part1 = p9 | |
1186 | w1.C1 = CFrame.new(0.110746384, -1.71002722, -0.198999405, 0.999999881, 1.02863646e-008, 4.70876603e-006, -1.02842392e-008, 1, -4.61996422e-007, -4.70876603e-006, 4.61996336e-007, 0.999999881) | |
1187 | p10 = Instance.new("Part",char) | |
1188 | p10.BrickColor = BrickColor.new("Really red") | |
1189 | p10.FormFactor = Enum.FormFactor.Custom | |
1190 | p10.Size = Vector3.new(1, 1, 1) | |
1191 | p10.CanCollide = false | |
1192 | p10.Locked = true | |
1193 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
1194 | p10.TopSurface = Enum.SurfaceType.Smooth | |
1195 | SMesh = Instance.new("SpecialMesh", p10) | |
1196 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
1197 | SMesh.TextureId = "" | |
1198 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1199 | SMesh.Name = "Mesh" | |
1200 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1201 | SMesh.Scale = Vector3.new(1.05, 1.05, 1.05) | |
1202 | w1 = Instance.new("Weld", hed) | |
1203 | w1.Part0 = hed | |
1204 | w1.C0 = CFrame.new(0,-1.5,0) | |
1205 | w1.Part1 = p10 | |
1206 | w1.C1 = CFrame.new(0.00981426239, -2.11002183, 0.000148773193, 1.00000012, 2.98023295e-008, 1.66892983e-006, -2.98023295e-008, 1, 4.94492847e-009, -1.66892983e-006, -4.94500441e-009, 1.00000012) | |
1207 | ---------------------------------------------------- | |
1208 | GroundWave1 = function() | |
1209 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1210 | local Colors = {"Really red", "Royal purple"} | |
1211 | local wave = Instance.new("Part", torso) | |
1212 | wave.BrickColor = BrickColor.new('Really red') | |
1213 | wave.Anchored = true | |
1214 | wave.CanCollide = false | |
1215 | wave.Locked = true | |
1216 | wave.Size = Vector3.new(1, 1, 1) | |
1217 | wave.TopSurface = "Smooth" | |
1218 | wave.BottomSurface = "Smooth" | |
1219 | wave.Transparency = 0.35 | |
1220 | wave.CFrame = HandCF | |
1221 | wm = Instance.new("SpecialMesh", wave) | |
1222 | wm.MeshId = "rbxassetid://3270017" | |
1223 | coroutine.wrap(function() | |
1224 | for i = 1, 30, 1 do | |
1225 | wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1) | |
1226 | wave.Size = wm.Scale | |
1227 | wave.CFrame = HandCF | |
1228 | wave.Transparency = i/10 | |
1229 | wait() | |
1230 | end | |
1231 | wait() | |
1232 | wave:Destroy() | |
1233 | end)() | |
1234 | end | |
1235 | ---------------------------------------------------- | |
1236 | GroundWave = function() | |
1237 | if Transforming == true then | |
1238 | local wave = Instance.new("Part", torso) | |
1239 | wave.BrickColor = BrickColor.new("Bright red") | |
1240 | wave.Anchored = true | |
1241 | wave.CanCollide = false | |
1242 | wave.Locked = true | |
1243 | wave.Size = Vector3.new(1, 1, 1) | |
1244 | wave.TopSurface = "Smooth" | |
1245 | wave.BottomSurface = "Smooth" | |
1246 | wave.Transparency = 0.35 | |
1247 | wave.CFrame = fx.CFrame | |
1248 | wm = Instance.new("SpecialMesh", wave) | |
1249 | wm.MeshType = "Sphere" | |
1250 | wm.Scale = Vector3.new(1,1,1) | |
1251 | coroutine.wrap(function() | |
1252 | for i = 1, 18, 1 do | |
1253 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1254 | --wave.Size = wm.Scale | |
1255 | wave.CFrame = fx.CFrame | |
1256 | wave.Transparency = i/14 | |
1257 | wait() | |
1258 | end | |
1259 | wait() | |
1260 | wave:Destroy() | |
1261 | end)() | |
1262 | elseif Transforming == false then | |
1263 | wait() | |
1264 | end | |
1265 | end | |
1266 | ||
1267 | for i = 1, 100 do rs:wait() | |
1268 | fx.CFrame = torso.CFrame | |
1269 | end | |
1270 | ||
1271 | Spawn(function() | |
1272 | while wait(1) do | |
1273 | GroundWave() | |
1274 | end | |
1275 | end) | |
1276 | ||
1277 | wait(4) | |
1278 | ||
1279 | Transforming = false | |
1280 | ||
1281 | for i = 1, 20 do rs:wait() | |
1282 | fx.Transparency = fx.Transparency + (1/20) | |
1283 | fx.CFrame = torso.CFrame | |
1284 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
1285 | rs:wait() | |
1286 | end | |
1287 | ||
1288 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1289 | local wave = Instance.new("Part", torso) | |
1290 | wave.BrickColor = BrickColor.new("Institutional white") | |
1291 | wave.Anchored = true | |
1292 | wave.CanCollide = false | |
1293 | wave.Locked = true | |
1294 | wave.Size = Vector3.new(1, 1, 1) | |
1295 | wave.TopSurface = "Smooth" | |
1296 | wave.BottomSurface = "Smooth" | |
1297 | wave.Transparency = 0.35 | |
1298 | wave.CFrame = HandCF | |
1299 | wm = Instance.new("SpecialMesh", wave) | |
1300 | wm.MeshId = "rbxassetid://3270017" | |
1301 | coroutine.wrap(function() | |
1302 | for i = 1, 14, 1 do | |
1303 | wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10) | |
1304 | wave.Size = wm.Scale | |
1305 | wave.CFrame = HandCF | |
1306 | wave.Transparency = i/14 | |
1307 | wait() | |
1308 | end | |
1309 | wait() | |
1310 | wave:Destroy() | |
1311 | end)() | |
1312 | hum.WalkSpeed = 20 | |
1313 | ---------------------------------------------------- | |
1314 | Blast = function() | |
1315 | local Colors = {"Really red", "Bright red"} | |
1316 | local wave = Instance.new("Part", torso) | |
1317 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1318 | wave.Anchored = true | |
1319 | wave.CanCollide = false | |
1320 | wave.Locked = true | |
1321 | wave.Size = Vector3.new(1, 1, 1) | |
1322 | wave.TopSurface = "Smooth" | |
1323 | wave.BottomSurface = "Smooth" | |
1324 | wave.Transparency = 0.35 | |
1325 | wave.CFrame = rarm.CFrame | |
1326 | wm = Instance.new("SpecialMesh", wave) | |
1327 | wm.MeshType = "Sphere" | |
1328 | wm.Scale = Vector3.new(1,1,1) | |
1329 | z = Instance.new("Sound",wave) | |
1330 | z.SoundId = "rbxassetid://237035051" | |
1331 | z.Volume = 1 | |
1332 | z.Pitch = .9 | |
1333 | z:Play() | |
1334 | coroutine.wrap(function() | |
1335 | for i = 1, 30, 1 do | |
1336 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1337 | --wave.Size = wm.Scale | |
1338 | wave.CFrame = rarm.CFrame | |
1339 | wave.Transparency = (1/14) | |
1340 | rs:wait() | |
1341 | end | |
1342 | rs:wait() | |
1343 | wave:Destroy() | |
1344 | z:Destroy() | |
1345 | end)() | |
1346 | end | |
1347 | ---------------------------------------------------- | |
1348 | rarm.Touched:connect(function(ht) | |
1349 | hit = ht.Parent | |
1350 | if ht and hit:IsA("Model") then | |
1351 | if hit:FindFirstChild("Humanoid") then | |
1352 | if hit.Name ~= p.Name then | |
1353 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1354 | Debounces.RPunched = true | |
1355 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1356 | if Debounces.ks==true then | |
1357 | z = Instance.new("Sound",hed) | |
1358 | z.SoundId = "rbxassetid://169380525" | |
1359 | z.Pitch = ptz[math.random(1,#ptz)] | |
1360 | z.Volume = 1 | |
1361 | z:Play() | |
1362 | end | |
1363 | wait(.2) | |
1364 | Debounces.RPunched = false | |
1365 | end | |
1366 | end | |
1367 | end | |
1368 | elseif ht and hit:IsA("Hat") then | |
1369 | if hit.Parent.Name ~= p.Name then | |
1370 | if hit.Parent:FindFirstChild("Humanoid") then | |
1371 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1372 | Debounces.RPunched = true | |
1373 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1374 | if Debounces.ks==true then | |
1375 | z = Instance.new("Sound",hed) | |
1376 | z.SoundId = "rbxassetid://169380525" | |
1377 | z.Pitch = ptz[math.random(1,#ptz)] | |
1378 | z.Volume = 1 | |
1379 | z:Play() | |
1380 | end | |
1381 | wait(.2) | |
1382 | Debounces.RPunched = false | |
1383 | end | |
1384 | end | |
1385 | end | |
1386 | end | |
1387 | end) | |
1388 | larm.Touched:connect(function(ht) | |
1389 | hit = ht.Parent | |
1390 | if ht and hit:IsA("Model") then | |
1391 | if hit:FindFirstChild("Humanoid") then | |
1392 | if hit.Name ~= p.Name then | |
1393 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1394 | Debounces.LPunched = true | |
1395 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1396 | if Debounces.ks2==true then | |
1397 | z = Instance.new("Sound",hed) | |
1398 | z.SoundId = "rbxassetid://169380525" | |
1399 | z.Pitch = ptz[math.random(1,#ptz)] | |
1400 | z.Volume = 1 | |
1401 | z:Play() | |
1402 | end | |
1403 | wait(.2) | |
1404 | Debounces.LPunched = false | |
1405 | end | |
1406 | end | |
1407 | end | |
1408 | elseif ht and hit:IsA("Hat") then | |
1409 | if hit.Parent.Name ~= p.Name then | |
1410 | if hit.Parent:FindFirstChild("Humanoid") then | |
1411 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1412 | Debounces.LPunched = true | |
1413 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1414 | if Debounces.ks2==true then | |
1415 | z = Instance.new("Sound",hed) | |
1416 | z.SoundId = "rbxassetid://169380525" | |
1417 | z.Pitch = ptz[math.random(1,#ptz)] | |
1418 | z.Volume = 1 | |
1419 | z:Play() | |
1420 | end | |
1421 | wait(.2) | |
1422 | Debounces.LPunched = false | |
1423 | end | |
1424 | end | |
1425 | end | |
1426 | end | |
1427 | end) | |
1428 | ---------------------------------------------------- | |
1429 | mod4 = Instance.new("Model",char) | |
1430 | ||
1431 | ptez = {0.7, 0.8, 0.9, 1} | |
1432 | ||
1433 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1434 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1435 | local List = {} | |
1436 | for i,v in pairs(workspace:GetChildren())do | |
1437 | if v:IsA("Model")then | |
1438 | if v:findFirstChild("Torso")then | |
1439 | if v ~= char then | |
1440 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1441 | table.insert(List,v) | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | end | |
1446 | end | |
1447 | return List | |
1448 | end | |
1449 | ||
1450 | function Punch() | |
1451 | part=Instance.new('Part',mod4) | |
1452 | part.Anchored=true | |
1453 | part.CanCollide=false | |
1454 | part.FormFactor='Custom' | |
1455 | part.Size=Vector3.new(.2,.2,.2) | |
1456 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1457 | part.Transparency=.7 | |
1458 | part.BrickColor=BrickColor.new('Really red') | |
1459 | mesh=Instance.new('SpecialMesh',part) | |
1460 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1461 | mesh.Scale=Vector3.new(3,3,3) | |
1462 | part2=Instance.new('Part',mod4) | |
1463 | part2.Anchored=true | |
1464 | part2.CanCollide=false | |
1465 | part2.FormFactor='Custom' | |
1466 | part2.Size=Vector3.new(.2,.2,.2) | |
1467 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1468 | part2.Transparency=.7 | |
1469 | part2.BrickColor=BrickColor.new('Really red') | |
1470 | mesh2=Instance.new('SpecialMesh',part2) | |
1471 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1472 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1473 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1474 | if v:FindFirstChild('Humanoid') then | |
1475 | v.Humanoid:TakeDamage(math.huge) | |
1476 | end | |
1477 | end | |
1478 | coroutine.resume(coroutine.create(function() | |
1479 | for i=0,0.62,0.4 do | |
1480 | wait() | |
1481 | part.CFrame=part.CFrame | |
1482 | part.Transparency=i | |
1483 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1484 | part2.CFrame=part2.CFrame | |
1485 | part2.Transparency=i | |
1486 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1487 | end | |
1488 | part.Parent=nil | |
1489 | part2.Parent=nil | |
1490 | end)) | |
1491 | end | |
1492 | ---------------------------------------------------- | |
1493 | rarm.Touched:connect(function(ht) | |
1494 | hit = ht.Parent | |
1495 | if ht and hit:IsA("Model") then | |
1496 | if hit:FindFirstChild("Humanoid") then | |
1497 | if hit.Name ~= p.Name then | |
1498 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1499 | Debounces.RPunched = true | |
1500 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1501 | if Debounces.ks==true then | |
1502 | z = Instance.new("Sound",hed) | |
1503 | z.SoundId = "rbxassetid://169380525" | |
1504 | z.Pitch = ptz[math.random(1,#ptz)] | |
1505 | z.Volume = 1 | |
1506 | z:Play() | |
1507 | end | |
1508 | wait(.2) | |
1509 | Debounces.RPunched = false | |
1510 | end | |
1511 | end | |
1512 | end | |
1513 | elseif ht and hit:IsA("Hat") then | |
1514 | if hit.Parent.Name ~= p.Name then | |
1515 | if hit.Parent:FindFirstChild("Humanoid") then | |
1516 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1517 | Debounces.RPunched = true | |
1518 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1519 | if Debounces.ks==true then | |
1520 | z = Instance.new("Sound",hed) | |
1521 | z.SoundId = "rbxassetid://169380525" | |
1522 | z.Pitch = ptz[math.random(1,#ptz)] | |
1523 | z.Volume = 1 | |
1524 | z:Play() | |
1525 | end | |
1526 | wait(.2) | |
1527 | Debounces.RPunched = false | |
1528 | end | |
1529 | end | |
1530 | end | |
1531 | end | |
1532 | end) | |
1533 | larm.Touched:connect(function(ht) | |
1534 | hit = ht.Parent | |
1535 | if ht and hit:IsA("Model") then | |
1536 | if hit:FindFirstChild("Humanoid") then | |
1537 | if hit.Name ~= p.Name then | |
1538 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1539 | Debounces.LPunched = true | |
1540 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1541 | if Debounces.ks2==true then | |
1542 | z = Instance.new("Sound",hed) | |
1543 | z.SoundId = "rbxassetid://169380525" | |
1544 | z.Pitch = ptz[math.random(1,#ptz)] | |
1545 | z.Volume = 1 | |
1546 | z:Play() | |
1547 | end | |
1548 | wait(.2) | |
1549 | Debounces.LPunched = false | |
1550 | end | |
1551 | end | |
1552 | end | |
1553 | elseif ht and hit:IsA("Hat") then | |
1554 | if hit.Parent.Name ~= p.Name then | |
1555 | if hit.Parent:FindFirstChild("Humanoid") then | |
1556 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1557 | Debounces.LPunched = true | |
1558 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1559 | if Debounces.ks2==true then | |
1560 | z = Instance.new("Sound",hed) | |
1561 | z.SoundId = "rbxassetid://169380525" | |
1562 | z.Pitch = ptz[math.random(1,#ptz)] | |
1563 | z.Volume = 1 | |
1564 | z:Play() | |
1565 | end | |
1566 | wait(.2) | |
1567 | Debounces.LPunched = false | |
1568 | end | |
1569 | end | |
1570 | end | |
1571 | end | |
1572 | end) | |
1573 | ---------------------------------------------------- | |
1574 | - | local player = game.Players.MyRealAgeOnthis |
1574 | + | local player = game.Players.TameDoNotClick |
1575 | local pchar = player.Character | |
1576 | local cam = workspace.CurrentCamera | |
1577 | ||
1578 | local rad = math.rad | |
1579 | ||
1580 | local keysDown = {} | |
1581 | local flySpeed = 0 | |
1582 | local MAX_FLY_SPEED = 150 | |
1583 | ||
1584 | local canFly = false | |
1585 | local flyToggled = false | |
1586 | ||
1587 | local forward, side = 0, 0 | |
1588 | local lastForward, lastSide = 0, 0 | |
1589 | ||
1590 | local floatBP = Instance.new("BodyPosition") | |
1591 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1592 | local flyBV = Instance.new("BodyVelocity") | |
1593 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1594 | local turnBG = Instance.new("BodyGyro") | |
1595 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1596 | ||
1597 | mouse.KeyDown:connect(function(key) | |
1598 | keysDown[key] = true | |
1599 | ||
1600 | if key == "f" then | |
1601 | flyToggled = not flyToggled | |
1602 | ||
1603 | if not flyToggled then | |
1604 | stanceToggle = "Normal" | |
1605 | floatBP.Parent = nil | |
1606 | flyBV.Parent = nil | |
1607 | turnBG.Parent = nil | |
1608 | root.Velocity = Vector3.new() | |
1609 | pchar.Humanoid.PlatformStand = false | |
1610 | end | |
1611 | end | |
1612 | ||
1613 | end) | |
1614 | mouse.KeyUp:connect(function(key) | |
1615 | keysDown[key] = nil | |
1616 | end) | |
1617 | ||
1618 | local function updateFly() | |
1619 | ||
1620 | if not flyToggled then return end | |
1621 | ||
1622 | lastForward = forward | |
1623 | lastSide = side | |
1624 | ||
1625 | forward = 0 | |
1626 | side = 0 | |
1627 | ||
1628 | if keysDown.w then | |
1629 | forward = forward + 1 | |
1630 | end | |
1631 | if keysDown.s then | |
1632 | forward = forward - 1 | |
1633 | end | |
1634 | if keysDown.a then | |
1635 | side = side - 1 | |
1636 | end | |
1637 | if keysDown.d then | |
1638 | side = side + 1 | |
1639 | end | |
1640 | ||
1641 | canFly = (forward ~= 0 or side ~= 0) | |
1642 | ||
1643 | if canFly then | |
1644 | stanceToggle = "Floating" | |
1645 | turnBG.Parent = root | |
1646 | floatBP.Parent = nil | |
1647 | flyBV.Parent = root | |
1648 | ||
1649 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1650 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1651 | else | |
1652 | floatBP.position = root.Position | |
1653 | floatBP.Parent = root | |
1654 | ||
1655 | flySpeed = flySpeed - 1 | |
1656 | if flySpeed < 0 then flySpeed = 0 end | |
1657 | end | |
1658 | ||
1659 | local camCF = cam.CoordinateFrame | |
1660 | local in_forward = canFly and forward or lastForward | |
1661 | local in_side = canFly and side or lastSide | |
1662 | ||
1663 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1664 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1665 | ||
1666 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 0) | |
1667 | end | |
1668 | ||
1669 | game:service'RunService'.Stepped:connect(function() | |
1670 | if flyToggled then | |
1671 | pchar.Humanoid.PlatformStand = true | |
1672 | end | |
1673 | updateFly() | |
1674 | end) | |
1675 | ------------------------------- | |
1676 | mouse.KeyDown:connect(function(key) | |
1677 | if key == "q" then | |
1678 | if Debounces.CanAttack == true then | |
1679 | Debounces.CanAttack = false | |
1680 | Debounces.NoIdl = true | |
1681 | Debounces.on = true | |
1682 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1683 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1684 | local List = {} | |
1685 | for i,v in pairs(workspace:GetChildren())do | |
1686 | if v:IsA("Model")then | |
1687 | if v:findFirstChild("Torso")then | |
1688 | if v ~= char then | |
1689 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1690 | table.insert(List,v) | |
1691 | end | |
1692 | end | |
1693 | end | |
1694 | end | |
1695 | end | |
1696 | return List | |
1697 | end | |
1698 | z = Instance.new("Sound",hed) | |
1699 | z.SoundId = "rbxassetid://232213955" | |
1700 | z.Pitch = 1 | |
1701 | z.Volume = 1 | |
1702 | wait(0.2) | |
1703 | z:Play() | |
1704 | sp = Instance.new("Part",rarm) | |
1705 | sp.Anchored = true | |
1706 | sp.CanCollide = false | |
1707 | sp.Locked = true | |
1708 | sp.Transparency = 0 | |
1709 | sp.Material = "Neon" | |
1710 | sp.Size = Vector3.new(1,1,1) | |
1711 | sp.TopSurface = "SmoothNoOutlines" | |
1712 | sp.BottomSurface = "SmoothNoOutlines" | |
1713 | sp.BrickColor = BrickColor.new("Really red") | |
1714 | spm = Instance.new("SpecialMesh",sp) | |
1715 | spm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1716 | spm.Scale = Vector3.new(21,21,21) | |
1717 | sp2 = Instance.new("Part", rarm) | |
1718 | sp2.Name = "Energy" | |
1719 | sp2.BrickColor = BrickColor.new("Really red") | |
1720 | sp2.Size = Vector3.new(1, 1, 1) | |
1721 | sp2.Shape = "Ball" | |
1722 | sp2.CanCollide = false | |
1723 | sp2.Anchored = true | |
1724 | sp2.Locked = true | |
1725 | sp2.TopSurface = 0 | |
1726 | sp2.BottomSurface = 0 | |
1727 | sp2.Transparency = 1 | |
1728 | spm2 = Instance.new("SpecialMesh",sp2) | |
1729 | spm2.MeshId = "rbxassetid://9982590" | |
1730 | spm2.Scale = Vector3.new(2,2,2) | |
1731 | for i = 1, 20 do | |
1732 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1733 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
1735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
1736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1740 | if Debounces.on == false then break end | |
1741 | rs:wait() | |
1742 | end | |
1743 | for i = 1, 100, 20 do rs:wait() | |
1744 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1745 | end | |
1746 | for i = 1, 20 do | |
1747 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1748 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1749 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
1750 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1751 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1752 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1753 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1754 | if Debounces.on == false then break end | |
1755 | rs:wait() | |
1756 | end | |
1757 | sp.Transparency = 1 | |
1758 | for i = 1, 20 do | |
1759 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1760 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
1761 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1762 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1763 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1764 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1765 | if Debounces.on == false then break end | |
1766 | rs:wait() | |
1767 | end | |
1768 | wait(1) | |
1769 | sp.Transparency = 0 | |
1770 | sp2.Transparency = 0.84 | |
1771 | for i = 1, 20 do | |
1772 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1773 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1774 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1775 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
1776 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
1777 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1778 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1779 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1780 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1781 | if Debounces.on == false then break end | |
1782 | rs:wait() | |
1783 | end | |
1784 | for i = 1, 2880, 50 do | |
1785 | rs:wait() | |
1786 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1787 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1788 | rs:wait() | |
1789 | end | |
1790 | sp:Destroy() | |
1791 | sp2:Destroy() | |
1792 | local X = Instance.new("Part",char) | |
1793 | local O = Instance.new("ObjectValue",X) | |
1794 | O.Name = "creator" | |
1795 | X.Locked = true | |
1796 | X.Name = "Shell" | |
1797 | X.Anchored = false | |
1798 | X.CanCollide = false | |
1799 | X.Transparency = 0 | |
1800 | X.Reflectance = 0 | |
1801 | X.BottomSurface = 0 | |
1802 | X.TopSurface = 0 | |
1803 | X.Shape = 0 | |
1804 | local V = Instance.new("ObjectValue",X) | |
1805 | V.Value = char | |
1806 | V.Name = "creator" | |
1807 | X.BrickColor = BrickColor.new("Really red") | |
1808 | X.Size = Vector3.new(2,2,2) | |
1809 | X.Material = "Neon" | |
1810 | local Z = Instance.new("SpecialMesh",X) | |
1811 | Z.MeshType = "Sphere" | |
1812 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1813 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1814 | local bv = Instance.new("BodyVelocity",X) | |
1815 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1816 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1817 | bv.velocity = X.CFrame.lookVector*65 | |
1818 | ||
1819 | Explode = X.Touched:connect(function(hit) | |
1820 | if hit ~= char and hit.Name ~= "Shell" then | |
1821 | local cf = X.CFrame | |
1822 | bv:Destroy() | |
1823 | X.Anchored = true | |
1824 | Z:Remove() | |
1825 | Explode:disconnect() | |
1826 | X.Size = Vector3.new(3,3,3) | |
1827 | X.Touched:connect(function(hit) end) | |
1828 | X.CanCollide = false | |
1829 | local part3 = Instance.new("Part", rarm) | |
1830 | part3.Anchored=true | |
1831 | part3.CanCollide=false | |
1832 | part3.Locked = true | |
1833 | part3.TopSurface = "SmoothNoOutlines" | |
1834 | part3.BottomSurface = "SmoothNoOutlines" | |
1835 | part3.FormFactor='Custom' | |
1836 | part3.Size=Vector3.new(1,1, 1) | |
1837 | part3.CFrame=X.CFrame | |
1838 | part3.Transparency=0 | |
1839 | part3.BrickColor=BrickColor.new("Really red") | |
1840 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1841 | mesh3.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1842 | mesh3.Scale = Vector3.new(1,1,1) | |
1843 | --debris:AddItem(X,8) | |
1844 | local part4 = Instance.new("Part", rarm) | |
1845 | part4.Material = "Neon" | |
1846 | part4.Anchored=true | |
1847 | part4.CanCollide=false | |
1848 | part4.Locked = true | |
1849 | part4.TopSurface = "SmoothNoOutlines" | |
1850 | part4.BottomSurface = "SmoothNoOutlines" | |
1851 | part4.FormFactor='Custom' | |
1852 | part4.Size=Vector3.new(1,1, 1) | |
1853 | part4.CFrame=X.CFrame | |
1854 | part4.Transparency=0 | |
1855 | part4.BrickColor=BrickColor.new("Hot pink") | |
1856 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1857 | mesh4.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1858 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1859 | local part7 = Instance.new("Part", rarm) | |
1860 | part7.Material = "Neon" | |
1861 | part7.Anchored=true | |
1862 | part7.CanCollide=false | |
1863 | part7.Locked = true | |
1864 | part7.TopSurface = "SmoothNoOutlines" | |
1865 | part7.BottomSurface = "SmoothNoOutlines" | |
1866 | part7.FormFactor='Custom' | |
1867 | part7.Size=Vector3.new(1,1, 1) | |
1868 | part7.CFrame=X.CFrame | |
1869 | part7.Transparency=0 | |
1870 | part7.BrickColor=BrickColor.new("Royal purple") | |
1871 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1872 | mesh7.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1873 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1874 | --[[X.Touched:connect(function(ht) | |
1875 | hit = ht.Parent | |
1876 | if ht and hit:IsA("Model") then | |
1877 | if hit:FindFirstChild("Humanoid") then | |
1878 | if hit.Name ~= p.Name then | |
1879 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1880 | wait(.3) | |
1881 | end | |
1882 | end | |
1883 | elseif ht and hit:IsA("Hat") then | |
1884 | if hit.Parent.Name ~= p.Name then | |
1885 | if hit.Parent:FindFirstChild("Humanoid") then | |
1886 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1887 | wait(.3) | |
1888 | end | |
1889 | end | |
1890 | end | |
1891 | end) | |
1892 | part3.Touched:connect(function(ht) | |
1893 | hit = ht.Parent | |
1894 | if ht and hit:IsA("Model") then | |
1895 | if hit:FindFirstChild("Humanoid") then | |
1896 | if hit.Name ~= p.Name then | |
1897 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1898 | wait(.3) | |
1899 | end | |
1900 | end | |
1901 | elseif ht and hit:IsA("Hat") then | |
1902 | if hit.Parent.Name ~= p.Name then | |
1903 | if hit.Parent:FindFirstChild("Humanoid") then | |
1904 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1905 | wait(.3) | |
1906 | end | |
1907 | end | |
1908 | end | |
1909 | end)]]-- | |
1910 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1911 | if v:FindFirstChild('Humanoid') then | |
1912 | v.Humanoid:TakeDamage(math.huge) | |
1913 | v.Humanoid.PlatformStand = true | |
1914 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1915 | end | |
1916 | end | |
1917 | ||
1918 | local acos = math.acos | |
1919 | local sqrt = math.sqrt | |
1920 | local Vec3 = Vector3.new | |
1921 | local fromAxisAngle = CFrame.fromAxisAngle | |
1922 | ||
1923 | local function toAxisAngle(CFr) | |
1924 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1925 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1926 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1927 | A = A == 0 and 0.00001 or A | |
1928 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1929 | B = B == 0 and 0.00001 or B | |
1930 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1931 | C = C == 0 and 0.00001 or C | |
1932 | local x = (R21-R12)/sqrt(A) | |
1933 | local y = (R02-R20)/sqrt(B) | |
1934 | local z = (R10-R01)/sqrt(C) | |
1935 | return Vec3(x,y,z),Angle | |
1936 | end | |
1937 | ||
1938 | function ApplyTrig(Num,Func) | |
1939 | local Min,Max = Func(0),Func(1) | |
1940 | local i = Func(Num) | |
1941 | return (i-Min)/(Max-Min) | |
1942 | end | |
1943 | ||
1944 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1945 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1946 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1947 | end | |
1948 | ||
1949 | function Crater(Torso,Radius) | |
1950 | Spawn(function() | |
1951 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1952 | local Ignore = {} | |
1953 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1954 | if v.Character ~= nil then | |
1955 | Ignore[#Ignore+1] = v.Character | |
1956 | end | |
1957 | end | |
1958 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1959 | if Hit == nil then return end | |
1960 | local Parts = {} | |
1961 | for i = 1,360,10 do | |
1962 | local P = Instance.new("Part",Torso.Parent) | |
1963 | P.Anchored = true | |
1964 | P.FormFactor = "Custom" | |
1965 | P.BrickColor = Hit.BrickColor | |
1966 | P.Material = Hit.Material | |
1967 | P.TopSurface = "Smooth" | |
1968 | P.BottomSurface = "Smooth" | |
1969 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1970 | 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))) | |
1971 | 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} | |
1972 | if math.random(0,5) == 0 then -- rubble | |
1973 | local P = Instance.new("Part",Torso.Parent) | |
1974 | P.Anchored = true | |
1975 | P.FormFactor = "Custom" | |
1976 | P.BrickColor = Hit.BrickColor | |
1977 | P.Material = Hit.Material | |
1978 | P.TopSurface = "Smooth" | |
1979 | P.BottomSurface = "Smooth" | |
1980 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1981 | 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))) | |
1982 | 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} | |
1983 | end | |
1984 | end | |
1985 | for i = 0,1,0.05 do | |
1986 | for i2,v in pairs(Parts) do | |
1987 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1988 | end | |
1989 | wait(0.02) | |
1990 | end | |
1991 | for i,v in pairs(Parts) do | |
1992 | if v[1].Size.X > 2.1 then | |
1993 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1994 | end | |
1995 | v[1].Anchored = false | |
1996 | end | |
1997 | for i = 0,1,0.05 do | |
1998 | for i2,v in pairs(Parts) do | |
1999 | v[1].Transparency = i | |
2000 | if i == 1 then | |
2001 | v[1]:Destroy() | |
2002 | elseif i >= 0.25 then | |
2003 | v[1].CanCollide = false | |
2004 | end | |
2005 | end | |
2006 | wait(0.02) | |
2007 | end | |
2008 | Parts = nil | |
2009 | end) | |
2010 | end | |
2011 | ||
2012 | ROW = function(out, trans, s, wt, t, ang, plus) | |
2013 | for i = 1, 360, 360/t do | |
2014 | local c = Instance.new("Part", game.Workspace) | |
2015 | c.FormFactor = 3 | |
2016 | c.TopSurface = 0 | |
2017 | c.BottomSurface = 0 | |
2018 | c.Size = s | |
2019 | c.Anchored = true | |
2020 | c.CanCollide = wt | |
2021 | c.Material=workspace.Base.Material | |
2022 | c.Transparency = trans | |
2023 | c.BrickColor = workspace.Base.BrickColor | |
2024 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2025 | c.Locked=true | |
2026 | game.Debris:AddItem(c,15) | |
2027 | end | |
2028 | end | |
2029 | ||
2030 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2031 | local p = Instance.new('Part',parent or Weapon) | |
2032 | p.formFactor = 'Custom' | |
2033 | p.Size = Vector3.new(x,y,z) | |
2034 | p.BrickColor = BrickColor.new(color) | |
2035 | p.CanCollide = cc | |
2036 | p.Transparency = tr | |
2037 | p.Anchored = an | |
2038 | p.TopSurface,p.BottomSurface = 0,0 | |
2039 | p.Locked=true | |
2040 | p:BreakJoints() | |
2041 | return p end | |
2042 | ||
2043 | Mesh = function(par,num,x,y,z) | |
2044 | local msh = _ | |
2045 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2046 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2047 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2048 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2049 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2050 | end msh.Scale = Vector3.new(x,y,z) | |
2051 | return msh end | |
2052 | ||
2053 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2054 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2055 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2056 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2057 | v1,v2,v3=sz.x,sz.y,sz.z | |
2058 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2059 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2060 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2061 | a.CFrame=cfr | |
2062 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2063 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2064 | ||
2065 | Spawn(function() | |
2066 | while wait() do | |
2067 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2068 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2069 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2070 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2071 | a.Transparency=a.Transparency+0.05 | |
2072 | a2.Transparency=a2.Transparency+0.05 | |
2073 | a3.Transparency=a3.Transparency+0.05 | |
2074 | end | |
2075 | end) | |
2076 | end | |
2077 | ||
2078 | Crater(X,20) | |
2079 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2080 | z = Instance.new("Sound",X) | |
2081 | z.SoundId = "rbxassetid://231917744" | |
2082 | z.Pitch = .5 | |
2083 | z.Volume = 10 | |
2084 | z1 = Instance.new("Sound",X) | |
2085 | z1.SoundId = "rbxassetid://231917744" | |
2086 | z1.Pitch = .5 | |
2087 | z1.Volume = 10 | |
2088 | z2 = Instance.new("Sound",X) | |
2089 | z2.SoundId = "rbxassetid://231917744" | |
2090 | z2.Pitch = .5 | |
2091 | z2.Volume = 10 | |
2092 | z3 = Instance.new("Sound",X) | |
2093 | z3.SoundId = "rbxassetid://245537790" | |
2094 | z3.Pitch = .7 | |
2095 | z3.Volume = 1 | |
2096 | z4 = Instance.new("Sound",X) | |
2097 | z4.SoundId = "rbxassetid://245537790" | |
2098 | z4.Pitch = .7 | |
2099 | z4.Volume = 1 | |
2100 | wait(0.1) | |
2101 | z:Play() | |
2102 | z1:Play() | |
2103 | z2:Play() | |
2104 | z3:Play() | |
2105 | z4:Play() | |
2106 | ||
2107 | local part=Instance.new('Part',rarm) | |
2108 | part.Anchored=true | |
2109 | part.CanCollide=false | |
2110 | part.Locked = true | |
2111 | part.FormFactor='Custom' | |
2112 | part.Size=Vector3.new(1,1,1) | |
2113 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2114 | part.Transparency=0 | |
2115 | part.BrickColor=BrickColor.new('Royal purple') | |
2116 | local mesh=Instance.new('SpecialMesh',part) | |
2117 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2118 | mesh.Scale=Vector3.new(2,2,2) | |
2119 | local part2=part:clone() | |
2120 | part2.Parent = rarm | |
2121 | part2.BrickColor=BrickColor.new("Really red") | |
2122 | local part5=part:clone() | |
2123 | part5.Parent = rarm | |
2124 | part5.BrickColor=BrickColor.new("Really red") | |
2125 | local part6=part:clone() | |
2126 | part6.Parent = rarm | |
2127 | part6.BrickColor=BrickColor.new("Black") | |
2128 | local mesh2=mesh:clone() | |
2129 | mesh2.Parent=part2 | |
2130 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2131 | local mesh5=mesh:clone() | |
2132 | mesh5.Parent=part5 | |
2133 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2134 | local mesh6=mesh:clone() | |
2135 | mesh6.Parent=part6 | |
2136 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2137 | local blast = Instance.new("Part", rarm) | |
2138 | blast.BrickColor = BrickColor.new("Royal purple") | |
2139 | blast.Anchored = true | |
2140 | blast.CanCollide = false | |
2141 | blast.Locked = true | |
2142 | blast.Size = Vector3.new(1, 1, 1) | |
2143 | blast.TopSurface = "Smooth" | |
2144 | blast.BottomSurface = "Smooth" | |
2145 | blast.Transparency = 0 | |
2146 | blast.CFrame = HandCF | |
2147 | local bm = Instance.new("SpecialMesh", blast) | |
2148 | bm.Scale = Vector3.new(5,1,5) | |
2149 | bm.MeshId = "rbxassetid://156292343" | |
2150 | local blast2 = Instance.new("Part", rarm) | |
2151 | blast2.BrickColor = BrickColor.new("Royal purple") | |
2152 | blast2.Anchored = true | |
2153 | blast2.CanCollide = false | |
2154 | blast2.Locked = true | |
2155 | blast2.Size = Vector3.new(1, 1, 1) | |
2156 | blast2.TopSurface = "Smooth" | |
2157 | blast2.BottomSurface = "Smooth" | |
2158 | blast2.Transparency = 0 | |
2159 | blast2.CFrame = HandCF | |
2160 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2161 | bm2.Scale = Vector3.new(3,1,3) | |
2162 | bm2.MeshId = "rbxassetid://156292343" | |
2163 | local blast3 = Instance.new("Part", rarm) | |
2164 | blast3.BrickColor = BrickColor.new("Royal purple") | |
2165 | blast3.Anchored = true | |
2166 | blast3.CanCollide = false | |
2167 | blast3.Locked = true | |
2168 | blast3.Size = Vector3.new(1, 1, 1) | |
2169 | blast3.TopSurface = "Smooth" | |
2170 | blast3.BottomSurface = "Smooth" | |
2171 | blast3.Transparency = 0 | |
2172 | blast3.CFrame = HandCF | |
2173 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2174 | bm3.Scale = Vector3.new(3,1,3) | |
2175 | bm3.MeshId = "rbxassetid://3270017" | |
2176 | for i = 1,120 do rs:wait() | |
2177 | X.Transparency = X.Transparency + (1/120) | |
2178 | part.Transparency = part.Transparency + (1/120) | |
2179 | part2.Transparency = part2.Transparency + (1/120) | |
2180 | part3.Transparency = part3.Transparency + (1/120) | |
2181 | part4.Transparency = part4.Transparency + (1/120) | |
2182 | part5.Transparency = part5.Transparency + (1/120) | |
2183 | part6.Transparency = part6.Transparency + (1/120) | |
2184 | part7.Transparency = part7.Transparency + (1/120) | |
2185 | blast.Transparency = blast.Transparency + (1/120) | |
2186 | blast2.Transparency = blast2.Transparency + (1/120) | |
2187 | blast3.Transparency = blast3.Transparency + (1/120) | |
2188 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2189 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2190 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2191 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2192 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2193 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2194 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2195 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2196 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2197 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2198 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2199 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2200 | X.CFrame = cf | |
2201 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2202 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2203 | part3.CFrame=X.CFrame | |
2204 | part4.CFrame=X.CFrame | |
2205 | part7.CFrame=X.CFrame | |
2206 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2207 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2208 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2209 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2210 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2211 | rs:wait() | |
2212 | end | |
2213 | X:Destroy() | |
2214 | part:Destroy() | |
2215 | part2:Destroy() | |
2216 | part3:Destroy() | |
2217 | part4:Destroy() | |
2218 | part5:Destroy() | |
2219 | part6:Destroy() | |
2220 | blast:Destroy() | |
2221 | blast2:Destroy() | |
2222 | blast3:Destroy() | |
2223 | z:Destroy() | |
2224 | z1:Destroy() | |
2225 | z2:Destroy() | |
2226 | z3:Destroy() | |
2227 | z4:Destroy() | |
2228 | end | |
2229 | end) | |
2230 | for i = 1, 20 do | |
2231 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
2232 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
2233 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2234 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
2235 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
2236 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
2237 | if Debounces.on == false then break end | |
2238 | rs:wait() | |
2239 | end | |
2240 | if Debounces.CanAttack == false then | |
2241 | Debounces.CanAttack = true | |
2242 | Debounces.NoIdl = false | |
2243 | Debounces.on = false | |
2244 | end | |
2245 | end | |
2246 | end | |
2247 | end) | |
2248 | ---------------------------------------------------- | |
2249 | mouse.KeyDown:connect(function(key) | |
2250 | if key == "e" then | |
2251 | if Debounces.CanAttack == true then | |
2252 | Debounces.CanAttack = false | |
2253 | Debounces.on = true | |
2254 | Debounces.NoIdl = true | |
2255 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2256 | z = Instance.new("Sound", rarm) | |
2257 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2258 | z.Volume = .6 | |
2259 | z.Pitch = pt[math.random(1,#pt)] | |
2260 | z.Looped = false | |
2261 | z:Play() | |
2262 | Debounces.RPunch = true | |
2263 | Debounces.LPunch = true | |
2264 | Debounces.ks = true | |
2265 | Debounces.ks2 = true | |
2266 | for i = 1, 3 do | |
2267 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2268 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2269 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2270 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2271 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2272 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2273 | if Debounces.on == false then break end | |
2274 | wait() | |
2275 | end | |
2276 | z2 = Instance.new("Sound", larm) | |
2277 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2278 | z2.Volume = .6 | |
2279 | z2.Pitch = pt[math.random(1,#pt)] | |
2280 | z2.Looped = false | |
2281 | z2:Play() | |
2282 | for i = 1, 3 do | |
2283 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2284 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2285 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2286 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2287 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2288 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2289 | if Debounces.on == false then break end | |
2290 | wait() | |
2291 | end | |
2292 | z3 = Instance.new("Sound", rarm) | |
2293 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2294 | z3.Volume = 0.6 | |
2295 | z3.Pitch = pt[math.random(1,#pt)] | |
2296 | z3.Looped = false | |
2297 | z3:Play() | |
2298 | for i = 1, 3 do | |
2299 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2300 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2301 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2302 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2303 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2304 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2305 | if Debounces.on == false then break end | |
2306 | wait() | |
2307 | end | |
2308 | z4 = Instance.new("Sound", larm) | |
2309 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2310 | z4.Volume = .6 | |
2311 | z4.Pitch = pt[math.random(1,#pt)] | |
2312 | z4.Looped = false | |
2313 | z4:Play() | |
2314 | for i = 1, 3 do | |
2315 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2316 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2317 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2318 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2319 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2320 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2321 | if Debounces.on == false then break end | |
2322 | wait() | |
2323 | end | |
2324 | z5 = Instance.new("Sound", rarm) | |
2325 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2326 | z5.Volume = .6 | |
2327 | z5.Pitch = pt[math.random(1,#pt)] | |
2328 | z5.Looped = false | |
2329 | z5:Play() | |
2330 | for i = 1, 3 do | |
2331 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2332 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2333 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2334 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2335 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2336 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2337 | if Debounces.on == false then break end | |
2338 | wait() | |
2339 | end | |
2340 | z6 = Instance.new("Sound", larm) | |
2341 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2342 | z6.Volume = .6 | |
2343 | z6.Pitch = pt[math.random(1,#pt)] | |
2344 | z6.Looped = false | |
2345 | z6:Play() | |
2346 | for i = 1, 3 do | |
2347 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2348 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2349 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2350 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2351 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2352 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2353 | if Debounces.on == false then break end | |
2354 | wait() | |
2355 | end | |
2356 | z7 = Instance.new("Sound", rarm) | |
2357 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2358 | z7.Volume = .6 | |
2359 | z7.Pitch = pt[math.random(1,#pt)] | |
2360 | z7.Looped = false | |
2361 | z7:Play() | |
2362 | for i = 1, 3 do | |
2363 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2364 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2365 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2366 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2367 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2368 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2369 | if Debounces.on == false then break end | |
2370 | wait() | |
2371 | end | |
2372 | z8 = Instance.new("Sound", larm) | |
2373 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2374 | z8.Volume = .6 | |
2375 | z8.Pitch = pt[math.random(1,#pt)] | |
2376 | z8.Looped = false | |
2377 | z8:Play() | |
2378 | for i = 1, 3 do | |
2379 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2380 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2381 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2382 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2383 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2384 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2385 | if Debounces.on == false then break end | |
2386 | wait() | |
2387 | end | |
2388 | z9 = Instance.new("Sound", rarm) | |
2389 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2390 | z9.Volume = 0.6 | |
2391 | z9.Pitch = pt[math.random(1,#pt)] | |
2392 | z9.Looped = false | |
2393 | z9:Play() | |
2394 | for i = 1, 3 do | |
2395 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2396 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2397 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2398 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2399 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2400 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2401 | if Debounces.on == false then break end | |
2402 | wait() | |
2403 | end | |
2404 | z10 = Instance.new("Sound", larm) | |
2405 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2406 | z10.Volume = .6 | |
2407 | z10.Pitch = pt[math.random(1,#pt)] | |
2408 | z10.Looped = false | |
2409 | z10:Play() | |
2410 | for i = 1, 3 do | |
2411 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2412 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2413 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2414 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2415 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2416 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2417 | if Debounces.on == false then break end | |
2418 | wait() | |
2419 | end | |
2420 | z11 = Instance.new("Sound", rarm) | |
2421 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2422 | z11.Volume = .6 | |
2423 | z11.Pitch = pt[math.random(1,#pt)] | |
2424 | z11.Looped = false | |
2425 | z11:Play() | |
2426 | for i = 1, 3 do | |
2427 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2428 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2429 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2430 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2431 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2432 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2433 | if Debounces.on == false then break end | |
2434 | wait() | |
2435 | end | |
2436 | z12 = Instance.new("Sound", larm) | |
2437 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2438 | z12.Volume = .6 | |
2439 | z12.Pitch = pt[math.random(1,#pt)] | |
2440 | z12.Looped = false | |
2441 | z12:Play() | |
2442 | for i = 1, 3 do | |
2443 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2444 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2445 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2446 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2447 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2448 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2449 | if Debounces.on == false then break end | |
2450 | wait() | |
2451 | end | |
2452 | z13 = Instance.new("Sound", rarm) | |
2453 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2454 | z13.Volume = 0.6 | |
2455 | z13.Pitch = pt[math.random(1,#pt)] | |
2456 | z13.Looped = false | |
2457 | z13:Play() | |
2458 | for i = 1, 3 do | |
2459 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2460 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2461 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2462 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2463 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2464 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2465 | if Debounces.on == false then break end | |
2466 | wait() | |
2467 | end | |
2468 | z14 = Instance.new("Sound", larm) | |
2469 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2470 | z14.Volume = .6 | |
2471 | z14.Pitch = pt[math.random(1,#pt)] | |
2472 | z14.Looped = false | |
2473 | z14:Play() | |
2474 | for i = 1, 3 do | |
2475 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2476 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2477 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2478 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2479 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2480 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2481 | if Debounces.on == false then break end | |
2482 | wait() | |
2483 | end | |
2484 | z15 = Instance.new("Sound", rarm) | |
2485 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2486 | z15.Volume = .6 | |
2487 | z15.Pitch = pt[math.random(1,#pt)] | |
2488 | z15.Looped = false | |
2489 | z15:Play() | |
2490 | for i = 1, 3 do | |
2491 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2492 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2493 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2494 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2495 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2496 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2497 | if Debounces.on == false then break end | |
2498 | wait() | |
2499 | end | |
2500 | z16 = Instance.new("Sound", larm) | |
2501 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2502 | z16.Volume = .6 | |
2503 | z16.Pitch = pt[math.random(1,#pt)] | |
2504 | z16.Looped = false | |
2505 | z16:Play() | |
2506 | for i = 1, 3 do | |
2507 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2508 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2509 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2510 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2511 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2512 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2513 | if Debounces.on == false then break end | |
2514 | wait() | |
2515 | end | |
2516 | z17 = Instance.new("Sound", rarm) | |
2517 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2518 | z17.Volume = .6 | |
2519 | z17.Pitch = pt[math.random(1,#pt)] | |
2520 | z17.Looped = false | |
2521 | z17:Play() | |
2522 | for i = 1, 3 do | |
2523 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2524 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2525 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2526 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2527 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2528 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2529 | if Debounces.on == false then break end | |
2530 | wait() | |
2531 | end | |
2532 | z18 = Instance.new("Sound", larm) | |
2533 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2534 | z18.Volume = .6 | |
2535 | z18.Pitch = pt[math.random(1,#pt)] | |
2536 | z18.Looped = false | |
2537 | z18:Play() | |
2538 | for i = 1, 3 do | |
2539 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2540 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2541 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2542 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2543 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2544 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2545 | if Debounces.on == false then break end | |
2546 | wait() | |
2547 | end | |
2548 | z19 = Instance.new("Sound", rarm) | |
2549 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2550 | z19.Volume = 0.6 | |
2551 | z19.Pitch = pt[math.random(1,#pt)] | |
2552 | z19.Looped = false | |
2553 | z19:Play() | |
2554 | for i = 1, 3 do | |
2555 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2556 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2557 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2558 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2559 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2560 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2561 | if Debounces.on == false then break end | |
2562 | wait() | |
2563 | end | |
2564 | z20 = Instance.new("Sound", larm) | |
2565 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2566 | z20.Volume = .6 | |
2567 | z20.Pitch = pt[math.random(1,#pt)] | |
2568 | z20.Looped = false | |
2569 | z20:Play() | |
2570 | for i = 1, 3 do | |
2571 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2572 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2573 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2574 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2575 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2576 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2577 | if Debounces.on == false then break end | |
2578 | wait() | |
2579 | end | |
2580 | z:Destroy() | |
2581 | z2:Destroy() | |
2582 | z3:Destroy() | |
2583 | z4:Destroy() | |
2584 | z5:Destroy() | |
2585 | z6:Destroy() | |
2586 | z7:Destroy() | |
2587 | z8:Destroy() | |
2588 | z9:Destroy() | |
2589 | z10:Destroy() | |
2590 | z11:Destroy() | |
2591 | z12:Destroy() | |
2592 | z13:Destroy() | |
2593 | z14:Destroy() | |
2594 | z15:Destroy() | |
2595 | z16:Destroy() | |
2596 | z17:Destroy() | |
2597 | z18:Destroy() | |
2598 | z19:Destroy() | |
2599 | z20:Destroy() | |
2600 | Debounces.LPunch = false | |
2601 | Debounces.RPunch = false | |
2602 | Debounces.ks = false | |
2603 | Debounces.ks2 = false | |
2604 | if Debounces.CanAttack == false then | |
2605 | Debounces.CanAttack = true | |
2606 | Debounces.on = false | |
2607 | Debounces.NoIdl = false | |
2608 | end | |
2609 | end | |
2610 | end | |
2611 | end) | |
2612 | ------------------------------- | |
2613 | mouse.KeyDown:connect(function(key) | |
2614 | if key == "t" then | |
2615 | if Debounces.CanAttack == true then | |
2616 | Debounces.CanAttack = false | |
2617 | Debounces.NoIdl = true | |
2618 | Debounces.on = true | |
2619 | Debounces.ks = true | |
2620 | kik = rleg.Touched:connect(function(ht) | |
2621 | hit = ht.Parent | |
2622 | if ht and hit:IsA("Model") then | |
2623 | if hit:FindFirstChild("Humanoid") then | |
2624 | if hit.Name ~= p.Name then | |
2625 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2626 | Debounces.Slashed = true]]-- | |
2627 | if Debounces.ks==true then | |
2628 | z = Instance.new("Sound",hed) | |
2629 | z.SoundId = "rbxassetid://169380525" | |
2630 | z.Volume = 1 | |
2631 | z:Play() | |
2632 | Debounces.ks=false | |
2633 | end | |
2634 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2635 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2636 | --Debounces.Slashed = false | |
2637 | --end | |
2638 | end | |
2639 | end | |
2640 | elseif ht and hit:IsA("Hat") then | |
2641 | if hit.Parent.Name ~= p.Name then | |
2642 | if hit.Parent:FindFirstChild("Humanoid") then | |
2643 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2644 | Debounces.Slashed = true]]-- | |
2645 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2646 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2647 | --Debounces.Slashed = false | |
2648 | --end | |
2649 | end | |
2650 | end | |
2651 | end | |
2652 | end) | |
2653 | for i = 1,20 do | |
2654 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2655 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
2656 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2657 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2658 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2659 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2660 | if Debounces.on == false then break end | |
2661 | rs:wait() | |
2662 | end | |
2663 | kik:disconnect() | |
2664 | if Debounces.CanAttack == false then | |
2665 | Debounces.CanAttack = true | |
2666 | Debounces.NoIdl = false | |
2667 | Debounces.on = false | |
2668 | end | |
2669 | end | |
2670 | end | |
2671 | end) | |
2672 | ---------------------------------------------------- | |
2673 | mouse.KeyDown:connect(function(key) | |
2674 | if key == "y" then | |
2675 | if Debounces.CanAttack == true then | |
2676 | Debounces.CanAttack = false | |
2677 | Debounces.on = true | |
2678 | Debounces.NoIdl = true | |
2679 | for i = 1, 15 do | |
2680 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
2681 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
2682 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2683 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2684 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2685 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2686 | if Debounces.on == false then break end | |
2687 | rs:wait(2.7) | |
2688 | end | |
2689 | x = Instance.new("Sound",char) | |
2690 | x.SoundId = "rbxassetid://345052019" | |
2691 | x.Pitch = 0.8 | |
2692 | x.Volume = 1 | |
2693 | x:Play() | |
2694 | wait(1.5) | |
2695 | Debounces.on = false | |
2696 | Debounces.Here = false | |
2697 | shot = shot + 1 | |
2698 | local rng = Instance.new("Part", larm) | |
2699 | rng.Anchored = true | |
2700 | rng.BrickColor = BrickColor.new("Really red") | |
2701 | rng.CanCollide = false | |
2702 | rng.FormFactor = 3 | |
2703 | rng.Name = "Ring" | |
2704 | rng.Size = Vector3.new(1, 1, 1) | |
2705 | rng.Transparency = 0.35 | |
2706 | rng.TopSurface = 0 | |
2707 | rng.BottomSurface = 0 | |
2708 | rng2 = rng:clone() | |
2709 | rng3 = rng2:clone() | |
2710 | rng4 = rng2:clone() | |
2711 | local rngm = Instance.new("SpecialMesh", rng) | |
2712 | rngm.MeshId = "http://www.roblox.com/asset?id=156292355" | |
2713 | rngm.Scale = Vector3.new(10, 10, 1) | |
2714 | rngm2 = rngm:clone() | |
2715 | rngm2.Scale = Vector3.new(6, 6, 4) | |
2716 | rngm3=rngm2:clone() | |
2717 | rngm3.Parent = rng3 | |
2718 | rngm3.Scale = Vector3.new(9, 9, 2) | |
2719 | rngm4 = rngm2:clone() | |
2720 | rngm4.Parent = rng4 | |
2721 | rngm4.Scale = Vector3.new(7, 7, 2) | |
2722 | local bem = Instance.new("Part", larm) | |
2723 | bem.Anchored = true | |
2724 | bem.BrickColor = BrickColor.new("White") | |
2725 | bem.CanCollide = false | |
2726 | bem.FormFactor = 3 | |
2727 | bem.Name = "Beam" .. shot | |
2728 | bem.Size = Vector3.new(1, 1, 1) | |
2729 | bem.Transparency = 0.35 | |
2730 | bem.TopSurface = 0 | |
2731 | bem.BottomSurface = 0 | |
2732 | local bemm = Instance.new("SpecialMesh", bem) | |
2733 | bemm.MeshType = 4 | |
2734 | bemm.Scale = Vector3.new(1, 10, 10) | |
2735 | local out = Instance.new("Part", larm) | |
2736 | out.Anchored = true | |
2737 | out.BrickColor = BrickColor.new("White") | |
2738 | out.CanCollide = false | |
2739 | out.FormFactor = 3 | |
2740 | out.Name = "Out" | |
2741 | out.Size = Vector3.new(4, 4, 4) | |
2742 | out.Transparency = 0.35 | |
2743 | out.TopSurface = 0 | |
2744 | out.BottomSurface = 0 | |
2745 | local outm = Instance.new("SpecialMesh", out) | |
2746 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2747 | outm.Scale = Vector3.new(10, 10, 10) | |
2748 | local bnd = Instance.new("Part", larm) | |
2749 | bnd.Anchored = true | |
2750 | bnd.BrickColor = BrickColor.new("Really red") | |
2751 | bnd.CanCollide = false | |
2752 | bnd.FormFactor = 3 | |
2753 | bnd.Name = "Bend" | |
2754 | bnd.Size = Vector3.new(1, 1, 1) | |
2755 | bnd.Transparency = 1 | |
2756 | bnd.TopSurface = 0 | |
2757 | bnd.BottomSurface = 0 | |
2758 | local bndm = Instance.new("SpecialMesh", bnd) | |
2759 | bndm.MeshType = 3 | |
2760 | bndm.Scale = Vector3.new(8, 8, 8) | |
2761 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2762 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2763 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2764 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2765 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2766 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2767 | Debounces.Shewt = true | |
2768 | coroutine.wrap(function() | |
2769 | for i = 1, 20, 0.2 do | |
2770 | rngm.Scale = Vector3.new(50 + i*5, 50 + i*5, 1) | |
2771 | rngm3.Scale = Vector3.new(30 + i*25, 30 + i*25, 1) | |
2772 | rngm4.Scale = Vector3.new(27 + i*30, 27 + i*30, 1) | |
2773 | rng.Transparency = i/30 | |
2774 | rng3.Transparency = 1/34 | |
2775 | rng4.Transparency = i/36 | |
2776 | wait() | |
2777 | end | |
2778 | wait() | |
2779 | rng:Destroy() | |
2780 | end)() | |
2781 | if Debounces.Shewt == true then | |
2782 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2783 | hit = ht.Parent | |
2784 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2785 | if HasntTouched(hit.Name) == true and deb == false then | |
2786 | deb = true | |
2787 | coroutine.wrap(function() | |
2788 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2789 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2790 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2791 | end)() | |
2792 | table.insert(Touche, hit.Name) | |
2793 | deb = false | |
2794 | end | |
2795 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2796 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2797 | deb = true | |
2798 | coroutine.wrap(function() | |
2799 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2800 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2801 | wait(1) | |
2802 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2803 | end)() | |
2804 | table.insert(Touche, hit.Parent.Name) | |
2805 | deb = false | |
2806 | for i, v in pairs(Touche) do | |
2807 | print(v) | |
2808 | end | |
2809 | end | |
2810 | end | |
2811 | end) | |
2812 | end | |
2813 | for i = 0, 260, 8 do | |
2814 | bem.Size = Vector3.new(i, 10, 10) | |
2815 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2816 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2817 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2818 | bnd.Size = Vector3.new(1,1,1) | |
2819 | bndm.Scale = Vector3.new(8,8,8) | |
2820 | if i % 10 == 0 then | |
2821 | local newRng = rng2:Clone() | |
2822 | newRng.Parent = larm | |
2823 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2824 | local newRngm = rngm2:clone() | |
2825 | newRngm.Parent=newRng | |
2826 | coroutine.wrap(function() | |
2827 | for i = 1, 10, 0.2 do | |
2828 | newRngm.Scale = Vector3.new(50 + i*30, 50 + i*30, 3) | |
2829 | newRng.Transparency = i/10 | |
2830 | wait() | |
2831 | end | |
2832 | wait() | |
2833 | newRng:Destroy() | |
2834 | end)() | |
2835 | end | |
2836 | wait() | |
2837 | end | |
2838 | wait() | |
2839 | Debounces.Shewt = false | |
2840 | bem:Destroy() | |
2841 | out:Destroy() | |
2842 | bnd:Destroy() | |
2843 | Debounces.Ready = false | |
2844 | for i, v in pairs(Touche) do | |
2845 | table.remove(Touche, i) | |
2846 | end | |
2847 | wait() | |
2848 | table.insert(Touche, char.Name) | |
2849 | Debounces.NoIdl = false | |
2850 | if Debounces.CanAttack == false then | |
2851 | Debounces.CanAttack = true | |
2852 | end | |
2853 | end | |
2854 | end | |
2855 | end) | |
2856 | ---------------------------------------------------- | |
2857 | Charging = false | |
2858 | mouse.KeyDown:connect(function(key) | |
2859 | if key == "r" then | |
2860 | if Charging == false then | |
2861 | Charging = true | |
2862 | if Debounces.CanAttack == true then | |
2863 | Debounces.CanAttack = false | |
2864 | Debounces.NoIdl = true | |
2865 | Debounces.on = true | |
2866 | for i = 1,20 do | |
2867 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2868 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2870 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2871 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2872 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2873 | if Debounces.on == false then break end | |
2874 | rs:wait() | |
2875 | end | |
2876 | --[[for i = 1,20 do | |
2877 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2878 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2879 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2880 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2881 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2882 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2883 | if Debounces.on == false then break end | |
2884 | rs:wait() | |
2885 | end]]-- | |
2886 | pt=Instance.new('Part',torso) | |
2887 | pt.Anchored=true | |
2888 | pt.CanCollide=false | |
2889 | pt.Locked = true | |
2890 | pt.FormFactor='Custom' | |
2891 | pt.Size=Vector3.new(1,1,1) | |
2892 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2893 | pt.Transparency=.6 | |
2894 | pt.BrickColor=BrickColor.new('White') | |
2895 | msh=Instance.new('SpecialMesh',pt) | |
2896 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2897 | msh.Scale=Vector3.new(9.5,9.5,9.5) | |
2898 | pt2=pt:clone() | |
2899 | pt2.Parent = torso | |
2900 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2901 | pt2.BrickColor=BrickColor.new("Really red") | |
2902 | msh2=msh:clone() | |
2903 | msh2.Parent=pt2 | |
2904 | msh2.Scale=Vector3.new(9.5,9.5,9.5) | |
2905 | ||
2906 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
2907 | ||
2908 | bl = Instance.new("Part", char) | |
2909 | bl.Locked = true | |
2910 | bl.Name = "Shell" | |
2911 | bl.BrickColor = BrickColor.new("Really red") | |
2912 | bl.Anchored = true | |
2913 | bl.CanCollide = false | |
2914 | bl.Transparency = 0 | |
2915 | bl.Reflectance = 0 | |
2916 | bl.BottomSurface = 0 | |
2917 | bl.TopSurface = 0 | |
2918 | bl.Shape = 0 | |
2919 | blm = Instance.new("SpecialMesh",bl) | |
2920 | blm.MeshType = "Sphere" | |
2921 | blm.Scale = Vector3.new(9.5,9.5,9.5) | |
2922 | blm.MeshId = "rbxassetid://9982590" | |
2923 | ||
2924 | coroutine.resume(coroutine.create(function() | |
2925 | for i=1, math.huge, 4 do | |
2926 | if Charging == true then | |
2927 | rs:wait() | |
2928 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2929 | blm.Scale = blm.Scale + Vector3.new(9.5,9.5,9.5) | |
2930 | bl.Transparency = bl.Transparency + 0.1 | |
2931 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2932 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2933 | msh.Scale = msh.Scale + Vector3.new(9.5,0,9.5) | |
2934 | msh2.Scale = msh2.Scale + Vector3.new(9.5,0,9.5) | |
2935 | elseif Charging == false then break | |
2936 | end | |
2937 | end | |
2938 | end)) | |
2939 | ||
2940 | repeat | |
2941 | local p = Instance.new('Part',torso) | |
2942 | p.formFactor = 'Custom' | |
2943 | p.Size = Vector3.new(1,1,1) | |
2944 | p.BrickColor = BrickColor.new('Really red') | |
2945 | p.CanCollide = false | |
2946 | p.Transparency = 0 | |
2947 | p.Anchored = true | |
2948 | p.Locked=true | |
2949 | p.Material = workspace.Base.Material | |
2950 | s = math.random(1,40)/10 | |
2951 | local m = Instance.new("BlockMesh",p) | |
2952 | m.Scale = Vector3.new(s,s,s) | |
2953 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2954 | --[[coroutine.wrap(function() | |
2955 | wait(2) | |
2956 | while Charging == true do | |
2957 | wait(2) | |
2958 | GroundWave1() | |
2959 | wait(2) | |
2960 | end | |
2961 | end)()]]-- | |
2962 | Spawn(function() | |
2963 | while rs:wait() do | |
2964 | if Charging == true then | |
2965 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2966 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2967 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2968 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2969 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2970 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2971 | elseif Charging == false then break | |
2972 | end | |
2973 | end | |
2974 | end) | |
2975 | Spawn(function() | |
2976 | while rs:wait() do | |
2977 | if p.Transparency >= 1 then p:Destroy() break end | |
2978 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2979 | p.Transparency = p.Transparency+0.01 | |
2980 | end | |
2981 | end) | |
2982 | wait(.3) | |
2983 | until Charging == false | |
2984 | end | |
2985 | end | |
2986 | end | |
2987 | end) | |
2988 | ---------------------------------------------------- | |
2989 | mouse.KeyUp:connect(function(key) | |
2990 | if key == "r" then | |
2991 | if Charging == true then | |
2992 | Charging = false | |
2993 | pt:Destroy() | |
2994 | pt2:Destroy() | |
2995 | bl:Destroy() | |
2996 | if Debounces.CanAttack == false then | |
2997 | Debounces.CanAttack = true | |
2998 | Debounces.NoIdl = false | |
2999 | Debounces.on = false | |
3000 | end | |
3001 | end | |
3002 | end | |
3003 | end) | |
3004 | ---------------------------------------------------- | |
3005 | mouse.KeyDown:connect(function(key) | |
3006 | if key == "g" then | |
3007 | if Debounces.CanAttack == true then | |
3008 | Debounces.CanAttack = false | |
3009 | Debounces.NoIdl = true | |
3010 | Debounces.on = true | |
3011 | local shell = Instance.new("Part",torso) | |
3012 | shell.BrickColor = BrickColor.new("Really red") | |
3013 | shell.Anchored = true | |
3014 | shell.CanCollide = false | |
3015 | shell.Locked = true | |
3016 | shell.TopSurface = "SmoothNoOutlines" | |
3017 | shell.BottomSurface = "SmoothNoOutlines" | |
3018 | shell.Size = Vector3.new(1,1,1) | |
3019 | shellm = Instance.new("SpecialMesh",shell) | |
3020 | shellm.MeshType = "Sphere" | |
3021 | shellm.Scale = Vector3.new(1,1,1) | |
3022 | local shell2 = Instance.new("Part",torso) | |
3023 | shell2.BrickColor = BrickColor.new("Really red") | |
3024 | shell2.Anchored = true | |
3025 | shell2.CanCollide = false | |
3026 | shell2.Locked = true | |
3027 | shell2.TopSurface = "SmoothNoOutlines" | |
3028 | shell2.BottomSurface = "SmoothNoOutlines" | |
3029 | shell2.Size = Vector3.new(1,1,1) | |
3030 | shellm2 = Instance.new("SpecialMesh",shell2) | |
3031 | shellm2.MeshType = "Sphere" | |
3032 | shellm2.Scale = Vector3.new(1,1,1) | |
3033 | ||
3034 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
3035 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
3036 | local List = {} | |
3037 | for i,v in pairs(workspace:GetChildren())do | |
3038 | if v:IsA("Model")then | |
3039 | if v:findFirstChild("Torso")then | |
3040 | if v ~= char then | |
3041 | if(v.Torso.Position -Position).magnitude <= Distance then | |
3042 | table.insert(List,v) | |
3043 | end | |
3044 | end | |
3045 | end | |
3046 | end | |
3047 | end | |
3048 | return List | |
3049 | end | |
3050 | ||
3051 | Shell = function() | |
3052 | local X = Instance.new("Part",char) | |
3053 | local O = Instance.new("ObjectValue",X) | |
3054 | O.Name = "creator" | |
3055 | X.Locked = true | |
3056 | X.Name = "Shell" | |
3057 | X.Anchored = false | |
3058 | X.CanCollide = false | |
3059 | X.Transparency = 0 | |
3060 | X.Reflectance = 0 | |
3061 | X.BottomSurface = 0 | |
3062 | X.TopSurface = 0 | |
3063 | X.Shape = 0 | |
3064 | local V = Instance.new("ObjectValue",X) | |
3065 | V.Value = char | |
3066 | V.Name = "creator" | |
3067 | X.BrickColor = BrickColor.new("Really red") | |
3068 | X.Size = Vector3.new(1,1,1) | |
3069 | --X.Material = "Neon" | |
3070 | local Z = Instance.new("SpecialMesh",X) | |
3071 | Z.MeshType = "Sphere" | |
3072 | Z.Scale = Vector3.new(1,1,1) | |
3073 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
3074 | local bv = Instance.new("BodyVelocity",X) | |
3075 | bv.maxForce = Vector3.new(99999,99999,99999) | |
3076 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
3077 | bv.velocity = root.CFrame.lookVector*65 | |
3078 | Explode = X.Touched:connect(function(hit) | |
3079 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
3080 | local cf = X.CFrame | |
3081 | bv:Destroy() | |
3082 | X.Anchored = true | |
3083 | Z:Remove() | |
3084 | Explode:disconnect() | |
3085 | X.Size = Vector3.new(3,3,3) | |
3086 | X.Touched:connect(function(hit) end) | |
3087 | X.CanCollide = false | |
3088 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
3089 | if v:FindFirstChild('Humanoid') then | |
3090 | v.Humanoid:TakeDamage(math.huge) | |
3091 | end | |
3092 | end | |
3093 | for i = 1, (40) do rs:wait() | |
3094 | X.Transparency = X.Transparency + (1/40) | |
3095 | X.Size = X.Size + Vector3.new(1,1,1) | |
3096 | X.CFrame = cf | |
3097 | end | |
3098 | X:Destroy() | |
3099 | end | |
3100 | end) | |
3101 | end | |
3102 | Shell() | |
3103 | for i = 1, 10 do | |
3104 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3105 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3106 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3107 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3108 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
3109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
3110 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
3111 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
3112 | if Debounces.on == false then break end | |
3113 | rs:wait() | |
3114 | end | |
3115 | Shell() | |
3116 | shell.Transparency = 1 | |
3117 | for i = 1, 10 do | |
3118 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3119 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3120 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3121 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3122 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3123 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3124 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3125 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3126 | if Debounces.on == false then break end | |
3127 | rs:wait() | |
3128 | end | |
3129 | Shell() | |
3130 | shell.Transparency = 0 | |
3131 | shell2.Transparency = 1 | |
3132 | for i = 1, 10 do | |
3133 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3134 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3135 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3136 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3137 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3138 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3139 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3140 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3141 | if Debounces.on == false then break end | |
3142 | rs:wait() | |
3143 | end | |
3144 | Shell() | |
3145 | shell2.Transparency = 0 | |
3146 | shell.Transparency = 1 | |
3147 | for i = 1, 10 do | |
3148 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3149 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3150 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3151 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3152 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3153 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3154 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3155 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3156 | if Debounces.on == false then break end | |
3157 | rs:wait() | |
3158 | end | |
3159 | Shell() | |
3160 | shell.Transparency = 0 | |
3161 | shell2.Transparency = 1 | |
3162 | for i = 1, 10 do | |
3163 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3164 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3165 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3166 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3167 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3168 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3169 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3170 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3171 | if Debounces.on == false then break end | |
3172 | rs:wait() | |
3173 | end | |
3174 | Shell() | |
3175 | shell2.Transparency = 0 | |
3176 | shell.Transparency = 1 | |
3177 | for i = 1, 10 do | |
3178 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3179 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3180 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3181 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3182 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3183 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3184 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3185 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3186 | if Debounces.on == false then break end | |
3187 | rs:wait() | |
3188 | end | |
3189 | Shell() | |
3190 | shell.Transparency = 0 | |
3191 | shell2.Transparency = 1 | |
3192 | for i = 1, 10 do | |
3193 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3194 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3196 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
3197 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3199 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3200 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3201 | if Debounces.on == false then break end | |
3202 | rs:wait() | |
3203 | end | |
3204 | Shell() | |
3205 | shell2.Transparency = 0 | |
3206 | shell.Transparency = 1 | |
3207 | for i = 1, 10 do | |
3208 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3209 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3210 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3211 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3212 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3213 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3214 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3215 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3216 | if Debounces.on == false then break end | |
3217 | rs:wait() | |
3218 | end | |
3219 | Shell() | |
3220 | shell.Transparency = 0 | |
3221 | shell2.Transparency = 1 | |
3222 | for i = 1, 10 do | |
3223 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3224 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3225 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3226 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3227 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3228 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3229 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3230 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3231 | if Debounces.on == false then break end | |
3232 | rs:wait() | |
3233 | end | |
3234 | Shell() | |
3235 | shell2.Transparency = 0 | |
3236 | shell.Transparency = 1 | |
3237 | for i = 1, 10 do | |
3238 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3239 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3240 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3241 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3242 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3243 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3244 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3245 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3246 | if Debounces.on == false then break end | |
3247 | rs:wait() | |
3248 | end | |
3249 | Shell() | |
3250 | shell.Transparency = 0 | |
3251 | shell2.Transparency = 1 | |
3252 | for i = 1, 10 do | |
3253 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3254 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3255 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3256 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3257 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3258 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3259 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3260 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3261 | if Debounces.on == false then break end | |
3262 | rs:wait() | |
3263 | end | |
3264 | Shell() | |
3265 | shell2.Transparency = 0 | |
3266 | shell.Transparency = 1 | |
3267 | for i = 1, 10 do | |
3268 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3269 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3270 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3271 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3272 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3273 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3274 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3275 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3276 | if Debounces.on == false then break end | |
3277 | rs:wait() | |
3278 | end | |
3279 | Shell() | |
3280 | shell.Transparency = 0 | |
3281 | shell2.Transparency = 1 | |
3282 | for i = 1, 10 do | |
3283 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3284 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3285 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3286 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3287 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3288 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3289 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3290 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3291 | if Debounces.on == false then break end | |
3292 | rs:wait() | |
3293 | end | |
3294 | shell.Transparency = 1 | |
3295 | if Debounces.CanAttack == false then | |
3296 | Debounces.CanAttack = true | |
3297 | Debounces.NoIdl = false | |
3298 | Debounces.on = false | |
3299 | end | |
3300 | end | |
3301 | end | |
3302 | end) | |
3303 | ---------------------------------------------------- | |
3304 | Search = false | |
3305 | mouse.KeyDown:connect(function(key) | |
3306 | if key == "n" then | |
3307 | if Search == false then | |
3308 | Search = true | |
3309 | for i,v in pairs(game.Players:getPlayers()) do | |
3310 | if v.Name~=char.Name then | |
3311 | for j,k in pairs(v.Character:GetChildren()) do | |
3312 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
3313 | bawx=Instance.new("SelectionBox",cam) | |
3314 | bawx.Color = BrickColor.new("Bright red") | |
3315 | bawx.Transparency = .5 | |
3316 | bawx.Adornee = k | |
3317 | end | |
3318 | end | |
3319 | end | |
3320 | end | |
3321 | elseif Search == true then | |
3322 | Search = false | |
3323 | for i, v in pairs(cam:GetChildren()) do | |
3324 | if v:IsA("SelectionBox") then | |
3325 | v:Destroy() | |
3326 | end | |
3327 | end | |
3328 | end | |
3329 | end | |
3330 | end) | |
3331 | ---------------------------------------------------- | |
3332 | Grab = false | |
3333 | mouse.KeyDown:connect(function(key) | |
3334 | if key == "z" then | |
3335 | Debounces.on = true | |
3336 | Debounces.NoIdl = true | |
3337 | Debounces.ks = true | |
3338 | if Grab == false then | |
3339 | gp = nil | |
3340 | for i = 1, 20 do | |
3341 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
3342 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
3343 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3344 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3345 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
3346 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
3347 | if Debounces.on == false then break end | |
3348 | rs:wait() | |
3349 | end | |
3350 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3351 | ht = hit.Parent | |
3352 | hum1=ht:FindFirstChild('Humanoid') | |
3353 | if hum1 ~= nil then | |
3354 | if Debounces.ks==true then | |
3355 | z = Instance.new("Sound",hed) | |
3356 | z.SoundId = "rbxassetid://169380525" | |
3357 | z.Volume = 1 | |
3358 | z:Play() | |
3359 | Debounces.ks=false | |
3360 | end | |
3361 | hum1.PlatformStand=true | |
3362 | gp = ht | |
3363 | Grab = true | |
3364 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
3365 | asd.Parent = larm | |
3366 | asd.Name = "asd" | |
3367 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
3368 | --[[elseif hum1 == nil then | |
3369 | con1:disconnect() | |
3370 | wait() return]]-- | |
3371 | end | |
3372 | end) | |
3373 | for i = 1, 20 do | |
3374 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
3375 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
3376 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3377 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3378 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3379 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
3380 | if Debounces.on == false then break end | |
3381 | rs:wait() | |
3382 | end | |
3383 | if hum1 == nil then | |
3384 | Debounces.on = false | |
3385 | Debounces.NoIdl = false | |
3386 | end | |
3387 | con1:disconnect() | |
3388 | elseif Grab == true then | |
3389 | Grab = false | |
3390 | Punch() | |
3391 | z = Instance.new("Sound",hed) | |
3392 | z.SoundId = "rbxassetid://169380525" | |
3393 | z.Pitch = ptz[math.random(1,#ptz)] | |
3394 | z.Volume = 1 | |
3395 | z:Play() | |
3396 | for i = 1, 10 do | |
3397 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3398 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3399 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3400 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3401 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3402 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3403 | if Debounces.on == false then break end | |
3404 | rs:wait() | |
3405 | end | |
3406 | Punch() | |
3407 | z = Instance.new("Sound",hed) | |
3408 | z.SoundId = "rbxassetid://169380525" | |
3409 | z.Pitch = ptz[math.random(1,#ptz)] | |
3410 | z.Volume = 1 | |
3411 | z:Play() | |
3412 | for i = 1, 10 do | |
3413 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3414 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3415 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3416 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3417 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3418 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3419 | if Debounces.on == false then break end | |
3420 | rs:wait() | |
3421 | end | |
3422 | Punch() | |
3423 | z = Instance.new("Sound",hed) | |
3424 | z.SoundId = "rbxassetid://169380525" | |
3425 | z.Pitch = ptz[math.random(1,#ptz)] | |
3426 | z.Volume = 1 | |
3427 | z:Play() | |
3428 | for i = 1, 10 do | |
3429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3435 | if Debounces.on == false then break end | |
3436 | rs:wait() | |
3437 | end | |
3438 | Punch() | |
3439 | z = Instance.new("Sound",hed) | |
3440 | z.SoundId = "rbxassetid://169380525" | |
3441 | z.Pitch = ptz[math.random(1,#ptz)] | |
3442 | z.Volume = 1 | |
3443 | z:Play() | |
3444 | for i = 1, 10 do | |
3445 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3446 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3447 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3449 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3450 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3451 | if Debounces.on == false then break end | |
3452 | rs:wait() | |
3453 | end | |
3454 | Punch() | |
3455 | z = Instance.new("Sound",hed) | |
3456 | z.SoundId = "rbxassetid://169380525" | |
3457 | z.Pitch = ptz[math.random(1,#ptz)] | |
3458 | z.Volume = 1 | |
3459 | z:Play() | |
3460 | for i = 1, 10 do | |
3461 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3462 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3463 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3464 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3465 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3466 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3467 | if Debounces.on == false then break end | |
3468 | rs:wait() | |
3469 | end | |
3470 | Punch() | |
3471 | z = Instance.new("Sound",hed) | |
3472 | z.SoundId = "rbxassetid://169380525" | |
3473 | z.Pitch = ptz[math.random(1,#ptz)] | |
3474 | z.Volume = 1 | |
3475 | z:Play() | |
3476 | for i = 1, 10 do | |
3477 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3478 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3479 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3480 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3481 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3482 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3483 | if Debounces.on == false then break end | |
3484 | rs:wait() | |
3485 | end | |
3486 | Punch() | |
3487 | z = Instance.new("Sound",hed) | |
3488 | z.SoundId = "rbxassetid://169380525" | |
3489 | z.Pitch = ptz[math.random(1,#ptz)] | |
3490 | z.Volume = 1 | |
3491 | z:Play() | |
3492 | for i = 1, 10 do | |
3493 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3494 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3495 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3496 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3497 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3498 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3499 | if Debounces.on == false then break end | |
3500 | rs:wait() | |
3501 | end | |
3502 | Punch() | |
3503 | z = Instance.new("Sound",hed) | |
3504 | z.SoundId = "rbxassetid://169380525" | |
3505 | z.Pitch = ptz[math.random(1,#ptz)] | |
3506 | z.Volume = 1 | |
3507 | z:Play() | |
3508 | for i = 1, 10 do | |
3509 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3510 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3511 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3512 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3513 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3514 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3515 | if Debounces.on == false then break end | |
3516 | rs:wait() | |
3517 | end | |
3518 | Punch() | |
3519 | z = Instance.new("Sound",hed) | |
3520 | z.SoundId = "rbxassetid://169380525" | |
3521 | z.Pitch = ptz[math.random(1,#ptz)] | |
3522 | z.Volume = 1 | |
3523 | z:Play() | |
3524 | for i = 1, 10 do | |
3525 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3526 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3527 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3528 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3529 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3530 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3531 | if Debounces.on == false then break end | |
3532 | rs:wait() | |
3533 | end | |
3534 | Punch() | |
3535 | z = Instance.new("Sound",hed) | |
3536 | z.SoundId = "rbxassetid://169380525" | |
3537 | z.Pitch = ptz[math.random(1,#ptz)] | |
3538 | z.Volume = 1 | |
3539 | z:Play() | |
3540 | for i = 1, 10 do | |
3541 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3542 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3543 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3544 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3545 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3546 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3547 | if Debounces.on == false then break end | |
3548 | rs:wait() | |
3549 | end | |
3550 | Punch() | |
3551 | z = Instance.new("Sound",hed) | |
3552 | z.SoundId = "rbxassetid://169380525" | |
3553 | z.Pitch = ptz[math.random(1,#ptz)] | |
3554 | z.Volume = 1 | |
3555 | z:Play() | |
3556 | for i = 1, 10 do | |
3557 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3558 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3559 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3560 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3561 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3562 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3563 | if Debounces.on == false then break end | |
3564 | rs:wait() | |
3565 | end | |
3566 | Punch() | |
3567 | z = Instance.new("Sound",hed) | |
3568 | z.SoundId = "rbxassetid://131237241" | |
3569 | z.Pitch = ptz[math.random(1,#ptz)] | |
3570 | z.Volume = 1 | |
3571 | z:Play() | |
3572 | for i = 1, 10 do | |
3573 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3574 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3575 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3576 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3577 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3578 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3579 | if Debounces.on == false then break end | |
3580 | rs:wait() | |
3581 | end | |
3582 | con1:disconnect() | |
3583 | Debounces.on = false | |
3584 | Debounces.NoIdl = false | |
3585 | if gp ~= nil then | |
3586 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3587 | for i,v in pairs(larm:GetChildren()) do | |
3588 | if v.Name == "asd" and v:IsA("Weld") then | |
3589 | v:Remove() | |
3590 | end | |
3591 | end | |
3592 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3593 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3594 | bv.P = 125000 | |
3595 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3596 | hum1=nil | |
3597 | ht=nil | |
3598 | Debounces.on = false | |
3599 | Debounces.NoIdl = false | |
3600 | elseif ht == nil then wait() | |
3601 | Grab = false | |
3602 | Debounces.on = false | |
3603 | Debounces.NoIdl = false | |
3604 | end | |
3605 | end | |
3606 | end | |
3607 | end) | |
3608 | ---------------------------------------------------- | |
3609 | mouse.KeyDown:connect(function(key) | |
3610 | if string.byte(key) == 48 then | |
3611 | char.Humanoid.WalkSpeed = 60 | |
3612 | end | |
3613 | end) | |
3614 | mouse.KeyUp:connect(function(key) | |
3615 | if string.byte(key) == 48 then | |
3616 | char.Humanoid.WalkSpeed = 16 | |
3617 | end | |
3618 | end) | |
3619 | ------------------------------- | |
3620 | local animpose = "Idle" | |
3621 | local lastanimpose = "Idle" | |
3622 | local sine = 0 | |
3623 | local change = 1 | |
3624 | local val = 0 | |
3625 | local ffing = false | |
3626 | ------------------------------- | |
3627 | game:GetService("RunService").Stepped:connect(function() | |
3628 | --[[if char.Humanoid.Jump == true then | |
3629 | jump = true | |
3630 | else | |
3631 | jump = false | |
3632 | end]] | |
3633 | char.Humanoid.FreeFalling:connect(function(f) | |
3634 | if f then | |
3635 | ffing = true | |
3636 | else | |
3637 | ffing = false | |
3638 | end | |
3639 | end) | |
3640 | sine = sine + change | |
3641 | if jumpn == true then | |
3642 | animpose = "Jumping" | |
3643 | elseif ffing == true then | |
3644 | animpose = "Freefalling" | |
3645 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3646 | animpose = "Idle" | |
3647 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3648 | animpose = "Walking" | |
3649 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3650 | animpose = "Running" | |
3651 | end | |
3652 | if animpose ~= lastanimpose then | |
3653 | sine = 0 | |
3654 | if Debounces.NoIdl == false then | |
3655 | if animpose == "Idle" then | |
3656 | for i = 1, 2 do | |
3657 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
3658 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
3659 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3660 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3661 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3662 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3663 | end | |
3664 | elseif animpose == "Walking" then | |
3665 | for i = 1, 2 do | |
3666 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3667 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3668 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3669 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3670 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3671 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3672 | end | |
3673 | elseif animpose == "Running" then | |
3674 | for i = 1, 2 do | |
3675 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
3676 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
3677 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3678 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3679 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3680 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3681 | wait() | |
3682 | end | |
3683 | end | |
3684 | else | |
3685 | end | |
3686 | end | |
3687 | lastanimpose = animpose | |
3688 | if Debounces.NoIdl == false then | |
3689 | if animpose == "Idle" then | |
3690 | change = 0.5 | |
3691 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
3692 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3693 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3694 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3695 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3696 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3697 | elseif animpose == "Walking" then | |
3698 | change = 1 | |
3699 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3700 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3701 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3702 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3703 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3704 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3705 | elseif animpose == "Running" then | |
3706 | change = 1 | |
3707 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
3708 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
3709 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
3710 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
3711 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
3712 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
3713 | elseif stanceToggle == "Floating" then | |
3714 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3715 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3716 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
3717 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
3718 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
3719 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
3720 | end | |
3721 | end | |
3722 | end) | |
3723 | hum.MaxHealth = 9001 | |
3724 | wait(3) | |
3725 | hum.Health = 9001 | |
3726 | ----------------------------------------------------------------------------- | |
3727 | ||
3728 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3729 | --[[Part0 = Vector3 (Start pos) | |
3730 | Part1 = Vector3 (End pos) | |
3731 | Times = number (Amount of lightning parts) | |
3732 | Offset = number (Offset) | |
3733 | Color = color (brickcolor value) | |
3734 | Thickness = number (thickness) | |
3735 | Trans = number (transparency) | |
3736 | ]]-- | |
3737 | local magz = (Part0 - Part1).magnitude | |
3738 | local curpos = Part0 | |
3739 | local trz = {-Offset,Offset} | |
3740 | for i=1,Times do | |
3741 | local li = Instance.new("Part", torso) | |
3742 | li.Name = "Lightning" | |
3743 | li.TopSurface =0 | |
3744 | li.Material = "Neon" | |
3745 | li.BottomSurface = 0 | |
3746 | li.Anchored = true | |
3747 | li.Locked = true | |
3748 | li.Transparency = Trans or 0.4 | |
3749 | li.BrickColor = BrickColor.new(Color) | |
3750 | li.formFactor = "Custom" | |
3751 | li.CanCollide = false | |
3752 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3753 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3754 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3755 | if Times == i then | |
3756 | local magz2 = (curpos - Part1).magnitude | |
3757 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3758 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3759 | else | |
3760 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3761 | end | |
3762 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3763 | game.Debris:AddItem(li,.1) | |
3764 | end | |
3765 | end | |
3766 | ||
3767 | BodyParts = {} -- Parts to emit lightning effects from | |
3768 | for _, v in pairs(char:GetChildren()) do | |
3769 | if v:IsA("Part") then | |
3770 | table.insert(BodyParts, v) | |
3771 | end | |
3772 | end | |
3773 | ||
3774 | Bounding = {} -- Calculate the bounding boxes | |
3775 | for _, v in pairs(BodyParts) do | |
3776 | local temp = {X=nil, Y=nil, Z=nil} | |
3777 | temp.X = v.Size.X/2 * 15 | |
3778 | temp.Y = v.Size.Y/2 * 15 | |
3779 | temp.Z = v.Size.Z/2 * 15 | |
3780 | Bounding[v.Name] = temp | |
3781 | --table.insert(Bounding, v.Name, temp) | |
3782 | end | |
3783 | ||
3784 | while wait(0) do -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original | |
3785 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3786 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3787 | local Pos1 = Vector3.new( | |
3788 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3789 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3790 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3791 | ) | |
3792 | local Pos2 = Vector3.new( | |
3793 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3794 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3795 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3796 | ) | |
3797 | local SPos1 = Body1.Position + Pos1 | |
3798 | local SPos2 = Body2.Position + Pos2 | |
3799 | Lightning(SPos1, SPos2, 4, 3, "Really red", .3, .56) | |
3800 | end |