SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end | |
5 | ||
6 | wait(2) | |
7 | local p = game.Players.LocalPlayer | |
8 | local char = p.Character | |
9 | local mouse = p:GetMouse() | |
10 | local larm = char["Left Arm"] | |
11 | local rarm = char["Right Arm"] | |
12 | local lleg = char["Left Leg"] | |
13 | local rleg = char["Right Leg"] | |
14 | local hed = char.Head | |
15 | local torso = char.Torso | |
16 | local hum = char.Humanoid | |
17 | local cam = game.Workspace.CurrentCamera | |
18 | local root = char.HumanoidRootPart | |
19 | local deb = false | |
20 | local shot = 0 | |
21 | local l = game:GetService("Lighting") | |
22 | local rs = game:GetService("RunService").RenderStepped | |
23 | local stanceToggle = "Normal" | |
24 | local rad = math.rad | |
25 | local GroundShake = false | |
26 | local GroundShake2 = false | |
27 | math.randomseed(os.time()) | |
28 | hum.WalkSpeed = 5 | |
29 | char.Health:Destroy() | |
30 | hum.MaxHealth = math.huge | |
31 | wait(0.1) | |
32 | hum.Health = math.huge | |
33 | ---------------------------------------------------- | |
34 | Debounces = { | |
35 | on = false; | |
36 | ks = false; | |
37 | CanAttack = true; | |
38 | CanJoke = true; | |
39 | NoIdl = false; | |
40 | Slashing = false; | |
41 | Slashed = false; | |
42 | Grabbing = false; | |
43 | Grabbed = false; | |
44 | } | |
45 | local Touche = {char.Name, } | |
46 | ---------------------------------------------------- | |
47 | function lerp(a, b, t) -- Linear interpolation | |
48 | return a + (b - a)*t | |
49 | end | |
50 | ||
51 | function slerp(a, b, t) --Spherical interpolation | |
52 | dot = a:Dot(b) | |
53 | if dot > 0.99999 or dot < -0.99999 then | |
54 | return t <= 0.5 and a or b | |
55 | else | |
56 | r = math.acos(dot) | |
57 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
58 | end | |
59 | end | |
60 | ||
61 | function matrixInterpolate(a, b, t) | |
62 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
63 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
64 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
65 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
66 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
67 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
68 | local t = v1:Dot(v2) | |
69 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
70 | return CFrame.new() | |
71 | end | |
72 | return CFrame.new( | |
73 | v0.x, v0.y, v0.z, | |
74 | v1.x, v1.y, v1.z, | |
75 | v2.x, v2.y, v2.z, | |
76 | v3.x, v3.y, v3.z) | |
77 | end | |
78 | ---------------------------------------------------- | |
79 | function genWeld(a,b) | |
80 | local w = Instance.new("Weld",a) | |
81 | w.Part0 = a | |
82 | w.Part1 = b | |
83 | return w | |
84 | end | |
85 | function weld(a, b) | |
86 | local weld = Instance.new("Weld") | |
87 | weld.Name = "W" | |
88 | weld.Part0 = a | |
89 | weld.Part1 = b | |
90 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
91 | weld.Parent = a | |
92 | return weld; | |
93 | end | |
94 | ---------------------------------------------------- | |
95 | function Lerp(c1,c2,al) | |
96 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
97 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
98 | for i,v in pairs(com1) do | |
99 | com1[i] = v+(com2[i]-v)*al | |
100 | end | |
101 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
102 | end | |
103 | ---------------------------------------------------- | |
104 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
105 | local wld = Instance.new("Weld", wp1) | |
106 | wld.Part0 = wp0 | |
107 | wld.Part1 = wp1 | |
108 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
109 | end | |
110 | ---------------------------------------------------- | |
111 | for i,v in pairs(char:children()) do | |
112 | if v:IsA("Hat") then | |
113 | v:Destroy() | |
114 | end | |
115 | end | |
116 | for i,v in pairs(hed:children()) do | |
117 | if v:IsA("Sound") then | |
118 | v:Destroy() | |
119 | end | |
120 | end | |
121 | ---------------------------------------------------- | |
122 | function HasntTouched(plrname) | |
123 | local ret = true | |
124 | for _, v in pairs(Touche) do | |
125 | if v == plrname then | |
126 | ret = false | |
127 | end | |
128 | end | |
129 | return ret | |
130 | end | |
131 | ---------------------------------------------------- | |
132 | larm.Size = larm.Size * 2 | |
133 | rarm.Size = rarm.Size * 2 | |
134 | lleg.Size = lleg.Size * 2 | |
135 | rleg.Size = rleg.Size * 2 | |
136 | torso.Size = torso.Size * 2 | |
137 | hed.Size = hed.Size * 2 | |
138 | root.Size = root.Size * 2 | |
139 | ---------------------------------------------------- | |
140 | newWeld(torso, larm, -1.5, 0.5, 0) | |
141 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
142 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
143 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
144 | newWeld(torso, hed, 0, 1.5, 0) | |
145 | newWeld(torso, lleg, -0.5, -1, 0) | |
146 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
147 | newWeld(torso, rleg, 0.5, -1, 0) | |
148 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
149 | newWeld(root, torso, 0, -1, 0) | |
150 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
151 | ---------------------------------------------------- | |
152 | z = Instance.new("Sound", char) | |
153 | z.SoundId = "rbxassetid://511077154"--511077154 | |
154 | z.Looped = true | |
155 | z.Pitch = 1 | |
156 | z.Volume = 5 | |
157 | wait(.01) | |
158 | z:Play() | |
159 | ---------------------------------------------------- | |
160 | ||
161 | ||
162 | p:ClearCharacterAppearance() | |
163 | wait(0.1) | |
164 | p.Character.Head.BrickColor = BrickColor.new("Really black") | |
165 | p.Character.Torso.BrickColor = BrickColor.new("Really black") | |
166 | p.Character["Right Arm"].BrickColor = BrickColor.new("Really black") | |
167 | p.Character["Right Leg"].BrickColor = BrickColor.new("Really black") | |
168 | p.Character["Left Leg"].BrickColor = BrickColor.new("Really black") | |
169 | p.Character["Left Arm"].BrickColor = BrickColor.new("Really black") | |
170 | ||
171 | ||
172 | p.Character.Head.Material = "Ice" | |
173 | p.Character.Torso.Material = "Ice" | |
174 | p.Character["Right Arm"].Material = "Ice" | |
175 | p.Character["Right Leg"].Material = "Ice" | |
176 | p.Character["Left Leg"].Material = "Ice" | |
177 | p.Character["Left Arm"].Material = "Ice" | |
178 | ||
179 | ||
180 | ||
181 | ||
182 | ||
183 | local m = Instance.new("Model") | |
184 | m.Name = "JackoAxe" | |
185 | p1 = Instance.new("Part", m) | |
186 | p1.BrickColor = BrickColor.new("Royal purple") | |
187 | p1.Material = "Neon" | |
188 | p1.FormFactor = Enum.FormFactor.Custom | |
189 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
190 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
191 | p1.CanCollide = false | |
192 | p1.Locked = true | |
193 | p1.Elasticity = 0 | |
194 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
195 | p1.TopSurface = Enum.SurfaceType.Smooth | |
196 | b1 = Instance.new("SpecialMesh", p1) | |
197 | b1.MeshType = Enum.MeshType.Wedge | |
198 | b1.Name = "Mesh" | |
199 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
200 | p2 = Instance.new("Part", m) | |
201 | p2.BrickColor = BrickColor.new("Really black") | |
202 | p2.FormFactor = Enum.FormFactor.Custom | |
203 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
204 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
205 | p2.CanCollide = false | |
206 | p2.Locked = true | |
207 | p2.Elasticity = 0 | |
208 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
209 | p2.TopSurface = Enum.SurfaceType.Smooth | |
210 | b2 = Instance.new("BlockMesh", p2) | |
211 | b2.Name = "Mesh" | |
212 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
213 | p3 = Instance.new("Part", m) | |
214 | p3.BrickColor = BrickColor.new("Royal purple") | |
215 | p3.Material = "Neon" | |
216 | p3.FormFactor = Enum.FormFactor.Custom | |
217 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
218 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
219 | p3.CanCollide = false | |
220 | p3.Locked = true | |
221 | p3.Elasticity = 0 | |
222 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
223 | p3.TopSurface = Enum.SurfaceType.Smooth | |
224 | b3 = Instance.new("SpecialMesh", p3) | |
225 | b3.MeshType = Enum.MeshType.Wedge | |
226 | b3.Name = "Mesh" | |
227 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
228 | p4 = Instance.new("Part", m) | |
229 | p4.BrickColor = BrickColor.new("Royal purple") | |
230 | p4.Material = "Neon" | |
231 | p4.FormFactor = Enum.FormFactor.Custom | |
232 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
233 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
234 | p4.CanCollide = false | |
235 | p4.Locked = true | |
236 | p4.Elasticity = 0 | |
237 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
238 | p4.TopSurface = Enum.SurfaceType.Smooth | |
239 | b4 = Instance.new("SpecialMesh", p4) | |
240 | b4.MeshType = Enum.MeshType.Wedge | |
241 | b4.Name = "Mesh" | |
242 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
243 | p5 = Instance.new("Part", m) | |
244 | p5.BrickColor = BrickColor.new("Royal purple") | |
245 | p5.Material = "Neon" | |
246 | p5.FormFactor = Enum.FormFactor.Custom | |
247 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
248 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
249 | p5.CanCollide = false | |
250 | p5.Locked = true | |
251 | p5.Elasticity = 0 | |
252 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
253 | p5.TopSurface = Enum.SurfaceType.Smooth | |
254 | b5 = Instance.new("SpecialMesh", p5) | |
255 | b5.MeshType = Enum.MeshType.Wedge | |
256 | b5.Name = "Mesh" | |
257 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
258 | p6 = Instance.new("Part", m) | |
259 | p6.Name = "Handle" | |
260 | p6.BrickColor = BrickColor.new("Really black") | |
261 | p6.FormFactor = Enum.FormFactor.Custom | |
262 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
263 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
264 | p6.CanCollide = false | |
265 | p6.Locked = true | |
266 | p6.Elasticity = 0 | |
267 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
268 | p6.TopSurface = Enum.SurfaceType.Smooth | |
269 | b6 = Instance.new("BlockMesh", p6) | |
270 | b6.Name = "Mesh" | |
271 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
272 | p7 = Instance.new("Part", m) | |
273 | p7.BrickColor = BrickColor.new("Royal purple") | |
274 | p7.Material = "Neon" | |
275 | p7.FormFactor = Enum.FormFactor.Custom | |
276 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
277 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
278 | p7.CanCollide = false | |
279 | p7.Locked = true | |
280 | p7.Elasticity = 0 | |
281 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
282 | p7.TopSurface = Enum.SurfaceType.Smooth | |
283 | b7 = Instance.new("SpecialMesh", p7) | |
284 | b7.MeshType = Enum.MeshType.Wedge | |
285 | b7.Name = "Mesh" | |
286 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
287 | p8 = Instance.new("Part", m) | |
288 | p8.BrickColor = BrickColor.new("Royal purple") | |
289 | p8.Material = "Neon" | |
290 | p8.FormFactor = Enum.FormFactor.Custom | |
291 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
292 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
293 | p8.CanCollide = false | |
294 | p8.Locked = true | |
295 | p8.Elasticity = 0 | |
296 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
297 | p8.TopSurface = Enum.SurfaceType.Smooth | |
298 | b8 = Instance.new("SpecialMesh", p8) | |
299 | b8.MeshType = Enum.MeshType.Wedge | |
300 | b8.Name = "Mesh" | |
301 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
302 | p9 = Instance.new("Part", m) | |
303 | p9.BrickColor = BrickColor.new("Really black") | |
304 | p9.FormFactor = Enum.FormFactor.Custom | |
305 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
306 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
307 | p9.CanCollide = false | |
308 | p9.Locked = true | |
309 | p9.Elasticity = 0 | |
310 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
311 | p9.TopSurface = Enum.SurfaceType.Smooth | |
312 | b9 = Instance.new("BlockMesh", p9) | |
313 | b9.Name = "Mesh" | |
314 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
315 | p10 = Instance.new("Part", m) | |
316 | p10.BrickColor = BrickColor.new("Really black") | |
317 | p10.FormFactor = Enum.FormFactor.Custom | |
318 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
319 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
320 | p10.CanCollide = false | |
321 | p10.Locked = true | |
322 | p10.Elasticity = 0 | |
323 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
324 | p10.TopSurface = Enum.SurfaceType.Smooth | |
325 | b10 = Instance.new("BlockMesh", p10) | |
326 | b10.Name = "Mesh" | |
327 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
328 | p11 = Instance.new("Part", m) | |
329 | p11.BrickColor = BrickColor.new("Really black") | |
330 | p11.FormFactor = Enum.FormFactor.Custom | |
331 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
332 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
333 | p11.CanCollide = false | |
334 | p11.Locked = true | |
335 | p11.Elasticity = 0 | |
336 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
337 | p11.TopSurface = Enum.SurfaceType.Smooth | |
338 | b11 = Instance.new("BlockMesh", p11) | |
339 | b11.Name = "Mesh" | |
340 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
341 | p12 = Instance.new("Part", m) | |
342 | p12.Name = "BladeCenter" | |
343 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
344 | p12.Material = Enum.Material.Concrete | |
345 | p12.FormFactor = Enum.FormFactor.Symmetric | |
346 | p12.Size = Vector3.new(1, 2, 2) | |
347 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
348 | p12.CanCollide = false | |
349 | p12.Locked = true | |
350 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
351 | p12.TopSurface = Enum.SurfaceType.Smooth | |
352 | b12 = Instance.new("SpecialMesh", p12) | |
353 | b12.MeshType = Enum.MeshType.Brick | |
354 | b12.Name = "Mesh" | |
355 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
356 | p13 = Instance.new("Part", m) | |
357 | p13.BrickColor = BrickColor.new("Really black") | |
358 | p13.FormFactor = Enum.FormFactor.Custom | |
359 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
360 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
361 | p13.CanCollide = false | |
362 | p13.Locked = true | |
363 | p13.Elasticity = 0 | |
364 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
365 | p13.TopSurface = Enum.SurfaceType.Smooth | |
366 | b13 = Instance.new("BlockMesh", p13) | |
367 | b13.Name = "Mesh" | |
368 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
369 | p14 = Instance.new("Part", m) | |
370 | p14.BrickColor = BrickColor.new("Really black") | |
371 | p14.FormFactor = Enum.FormFactor.Custom | |
372 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
373 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
374 | p14.CanCollide = false | |
375 | p14.Locked = true | |
376 | p14.Elasticity = 0 | |
377 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
378 | p14.TopSurface = Enum.SurfaceType.Smooth | |
379 | b14 = Instance.new("BlockMesh", p14) | |
380 | b14.Name = "Mesh" | |
381 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
382 | p15 = Instance.new("Part", m) | |
383 | p15.BrickColor = BrickColor.new("Really black") | |
384 | p15.FormFactor = Enum.FormFactor.Custom | |
385 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
386 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
387 | p15.CanCollide = false | |
388 | p15.Locked = true | |
389 | p15.Elasticity = 0 | |
390 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
391 | p15.TopSurface = Enum.SurfaceType.Smooth | |
392 | b15 = Instance.new("BlockMesh", p15) | |
393 | b15.Name = "Mesh" | |
394 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
395 | p16 = Instance.new("Part", m) | |
396 | p16.BrickColor = BrickColor.new("Really black") | |
397 | p16.FormFactor = Enum.FormFactor.Custom | |
398 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
399 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
400 | p16.CanCollide = false | |
401 | p16.Locked = true | |
402 | p16.Elasticity = 0 | |
403 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
404 | p16.TopSurface = Enum.SurfaceType.Smooth | |
405 | b16 = Instance.new("BlockMesh", p16) | |
406 | b16.Name = "Mesh" | |
407 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
408 | p17 = Instance.new("Part", m) | |
409 | p17.BrickColor = BrickColor.new("Really black") | |
410 | p17.FormFactor = Enum.FormFactor.Custom | |
411 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
412 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
413 | p17.CanCollide = false | |
414 | p17.Locked = true | |
415 | p17.Elasticity = 0 | |
416 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
417 | p17.TopSurface = Enum.SurfaceType.Smooth | |
418 | b17 = Instance.new("BlockMesh", p17) | |
419 | b17.Name = "Mesh" | |
420 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
421 | p18 = Instance.new("WedgePart", m) | |
422 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
423 | p18.Name = "BladePart1" | |
424 | p18.Material = Enum.Material.Concrete | |
425 | p18.Name = "Wedge" | |
426 | p18.FormFactor = Enum.FormFactor.Symmetric | |
427 | p18.Size = Vector3.new(1, 4, 2) | |
428 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
429 | p18.CanCollide = false | |
430 | p18.Locked = true | |
431 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
432 | p18.TopSurface = Enum.SurfaceType.Smooth | |
433 | b18 = Instance.new("SpecialMesh", p18) | |
434 | b18.MeshType = Enum.MeshType.Wedge | |
435 | b18.Name = "Mesh" | |
436 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
437 | p19 = Instance.new("WedgePart", m) | |
438 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
439 | p19.Name = "BladePart2" | |
440 | p19.Material = Enum.Material.Concrete | |
441 | p19.Name = "Wedge" | |
442 | p19.FormFactor = Enum.FormFactor.Symmetric | |
443 | p19.Size = Vector3.new(1, 4, 2) | |
444 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
445 | p19.CanCollide = false | |
446 | p19.Locked = true | |
447 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
448 | p19.TopSurface = Enum.SurfaceType.Smooth | |
449 | b19 = Instance.new("SpecialMesh", p19) | |
450 | b19.MeshType = Enum.MeshType.Wedge | |
451 | b19.Name = "Mesh" | |
452 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
453 | p20 = Instance.new("Part", m) | |
454 | p20.BrickColor = BrickColor.new("Really black") | |
455 | p20.FormFactor = Enum.FormFactor.Custom | |
456 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
457 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
458 | p20.CanCollide = false | |
459 | p20.Locked = true | |
460 | p20.Elasticity = 0 | |
461 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
462 | p20.TopSurface = Enum.SurfaceType.Smooth | |
463 | b20 = Instance.new("BlockMesh", p20) | |
464 | b20.Name = "Mesh" | |
465 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
466 | p21 = Instance.new("Part", m) | |
467 | p21.BrickColor = BrickColor.new("Royal purple") | |
468 | p21.Material = "Neon" | |
469 | p21.FormFactor = Enum.FormFactor.Custom | |
470 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
471 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
472 | p21.CanCollide = false | |
473 | p21.Locked = true | |
474 | p21.Elasticity = 0 | |
475 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
476 | p21.TopSurface = Enum.SurfaceType.Smooth | |
477 | b21 = Instance.new("SpecialMesh", p21) | |
478 | b21.MeshType = Enum.MeshType.Wedge | |
479 | b21.Name = "Mesh" | |
480 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
481 | w1 = Instance.new("Weld", p1) | |
482 | w1.Name = "Part_Weld" | |
483 | w1.Part0 = p1 | |
484 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
485 | w1.Part1 = p2 | |
486 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
487 | w2 = Instance.new("Weld", p2) | |
488 | w2.Name = "Part_Weld" | |
489 | w2.Part0 = p2 | |
490 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
491 | w2.Part1 = p3 | |
492 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
493 | w3 = Instance.new("Weld", p3) | |
494 | w3.Name = "Part_Weld" | |
495 | w3.Part0 = p3 | |
496 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
497 | w3.Part1 = p4 | |
498 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
499 | w4 = Instance.new("Weld", p4) | |
500 | w4.Name = "Part_Weld" | |
501 | w4.Part0 = p4 | |
502 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
503 | w4.Part1 = p5 | |
504 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
505 | w5 = Instance.new("Weld", p5) | |
506 | w5.Name = "Part_Weld" | |
507 | w5.Part0 = p5 | |
508 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
509 | w5.Part1 = p6 | |
510 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
511 | w6 = Instance.new("Weld", p6) | |
512 | w6.Name = "Part_Weld" | |
513 | w6.Part0 = p6 | |
514 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
515 | w6.Part1 = p7 | |
516 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
517 | w7 = Instance.new("Weld", p7) | |
518 | w7.Name = "Part_Weld" | |
519 | w7.Part0 = p7 | |
520 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
521 | w7.Part1 = p8 | |
522 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
523 | w8 = Instance.new("Weld", p8) | |
524 | w8.Name = "Part_Weld" | |
525 | w8.Part0 = p8 | |
526 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
527 | w8.Part1 = p9 | |
528 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
529 | w9 = Instance.new("Weld", p9) | |
530 | w9.Name = "Part_Weld" | |
531 | w9.Part0 = p9 | |
532 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
533 | w9.Part1 = p10 | |
534 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
535 | w10 = Instance.new("Weld", p10) | |
536 | w10.Name = "Part_Weld" | |
537 | w10.Part0 = p10 | |
538 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
539 | w10.Part1 = p11 | |
540 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
541 | w11 = Instance.new("Weld", p11) | |
542 | w11.Name = "Part_Weld" | |
543 | w11.Part0 = p11 | |
544 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
545 | w11.Part1 = p12 | |
546 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
547 | w12 = Instance.new("Weld", p12) | |
548 | w12.Name = "Part_Weld" | |
549 | w12.Part0 = p12 | |
550 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
551 | w12.Part1 = p13 | |
552 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
553 | w13 = Instance.new("Weld", p13) | |
554 | w13.Name = "Part_Weld" | |
555 | w13.Part0 = p13 | |
556 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
557 | w13.Part1 = p14 | |
558 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
559 | w14 = Instance.new("Weld", p14) | |
560 | w14.Name = "Part_Weld" | |
561 | w14.Part0 = p14 | |
562 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
563 | w14.Part1 = p15 | |
564 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
565 | w15 = Instance.new("Weld", p15) | |
566 | w15.Name = "Part_Weld" | |
567 | w15.Part0 = p15 | |
568 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
569 | w15.Part1 = p16 | |
570 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
571 | w16 = Instance.new("Weld", p16) | |
572 | w16.Name = "Part_Weld" | |
573 | w16.Part0 = p16 | |
574 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
575 | w16.Part1 = p17 | |
576 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
577 | w17 = Instance.new("Weld", p17) | |
578 | w17.Name = "Wedge_Weld" | |
579 | w17.Part0 = p17 | |
580 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
581 | w17.Part1 = p18 | |
582 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
583 | w18 = Instance.new("Weld", p18) | |
584 | w18.Name = "Wedge_Weld" | |
585 | w18.Part0 = p18 | |
586 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
587 | w18.Part1 = p19 | |
588 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
589 | w19 = Instance.new("Weld", p19) | |
590 | w19.Name = "Part_Weld" | |
591 | w19.Part0 = p19 | |
592 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
593 | w19.Part1 = p20 | |
594 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
595 | w20 = Instance.new("Weld", p20) | |
596 | w20.Name = "Part_Weld" | |
597 | w20.Part0 = p20 | |
598 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
599 | w20.Part1 = p21 | |
600 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
601 | m.Parent = char | |
602 | m:MakeJoints() | |
603 | ---------------------------------------------------- | |
604 | local cor = Instance.new("Part", char.JackoAxe) | |
605 | cor.Name = "Thingy" | |
606 | cor.Locked = true | |
607 | cor.BottomSurface = 0 | |
608 | cor.CanCollide = false | |
609 | cor.Size = Vector3.new(1, 13, 1) | |
610 | cor.Transparency = 1 | |
611 | cor.TopSurface = 0 | |
612 | corw = Instance.new("Weld", cor) | |
613 | corw.Part0 = rarm | |
614 | corw.Part1 = cor | |
615 | corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
616 | corw.C1 = CFrame.new(0, 0, 0) | |
617 | weld1 = Instance.new("Weld", char.JackoAxe) | |
618 | weld1.Part0 = cor | |
619 | weld1.Part1 = p6 | |
620 | weld1.C0 = CFrame.new(0, 0, 0) | |
621 | ---------------------------------------------------- | |
622 | hitb = Instance.new("Part", char.JackoAxe) | |
623 | hitb.Name = "Thingy2" | |
624 | hitb.Locked = true | |
625 | hitb.BottomSurface = 0 | |
626 | hitb.CanCollide = false | |
627 | hitb.Size = Vector3.new(0, 8, 6) | |
628 | hitb.Transparency = 1 | |
629 | hitb.TopSurface = 0 | |
630 | weld2 = Instance.new("Weld", char.JackoAxe) | |
631 | weld2.Part0 = hitb | |
632 | weld2.Part1 = p12 | |
633 | weld2.C0 = CFrame.new(0, .6, 1) | |
634 | ----------------------------------- | |
635 | local m = Instance.new("Model") | |
636 | m.Name = "JackoAxe2" | |
637 | p1 = Instance.new("Part", m) | |
638 | p1.BrickColor = BrickColor.new("Royal purple") | |
639 | p1.Material = "Neon" | |
640 | p1.FormFactor = Enum.FormFactor.Custom | |
641 | p1.Size = Vector3.new(1, 0.600000024, 1.5) | |
642 | p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395) | |
643 | p1.CanCollide = false | |
644 | p1.Locked = true | |
645 | p1.Elasticity = 0 | |
646 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
647 | p1.TopSurface = Enum.SurfaceType.Smooth | |
648 | b1 = Instance.new("SpecialMesh", p1) | |
649 | b1.MeshType = Enum.MeshType.Wedge | |
650 | b1.Name = "Mesh" | |
651 | b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
652 | p2 = Instance.new("Part", m) | |
653 | p2.BrickColor = BrickColor.new("Really black") | |
654 | p2.FormFactor = Enum.FormFactor.Custom | |
655 | p2.Size = Vector3.new(1, 2.9000001, 1) | |
656 | p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005) | |
657 | p2.CanCollide = false | |
658 | p2.Locked = true | |
659 | p2.Elasticity = 0 | |
660 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
661 | p2.TopSurface = Enum.SurfaceType.Smooth | |
662 | b2 = Instance.new("BlockMesh", p2) | |
663 | b2.Name = "Mesh" | |
664 | b2.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
665 | p3 = Instance.new("Part", m) | |
666 | p3.BrickColor = BrickColor.new("Royal purple") | |
667 | p3.Material = "Neon" | |
668 | p3.FormFactor = Enum.FormFactor.Custom | |
669 | p3.Size = Vector3.new(1, 1.20000005, 2.0999999) | |
670 | p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501) | |
671 | p3.CanCollide = false | |
672 | p3.Locked = true | |
673 | p3.Elasticity = 0 | |
674 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
675 | p3.TopSurface = Enum.SurfaceType.Smooth | |
676 | b3 = Instance.new("SpecialMesh", p3) | |
677 | b3.MeshType = Enum.MeshType.Wedge | |
678 | b3.Name = "Mesh" | |
679 | b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
680 | p4 = Instance.new("Part", m) | |
681 | p4.BrickColor = BrickColor.new("Royal purple") | |
682 | p4.Material = "Neon" | |
683 | p4.FormFactor = Enum.FormFactor.Custom | |
684 | p4.Size = Vector3.new(1, 1.43999994, 2.05000019) | |
685 | p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151) | |
686 | p4.CanCollide = false | |
687 | p4.Locked = true | |
688 | p4.Elasticity = 0 | |
689 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
690 | p4.TopSurface = Enum.SurfaceType.Smooth | |
691 | b4 = Instance.new("SpecialMesh", p4) | |
692 | b4.MeshType = Enum.MeshType.Wedge | |
693 | b4.Name = "Mesh" | |
694 | b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
695 | p5 = Instance.new("Part", m) | |
696 | p5.BrickColor = BrickColor.new("Royal purple") | |
697 | p5.Material = "Neon" | |
698 | p5.FormFactor = Enum.FormFactor.Custom | |
699 | p5.Size = Vector3.new(1, 1.20000005, 3.20000005) | |
700 | p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246) | |
701 | p5.CanCollide = false | |
702 | p5.Locked = true | |
703 | p5.Elasticity = 0 | |
704 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
705 | p5.TopSurface = Enum.SurfaceType.Smooth | |
706 | b5 = Instance.new("SpecialMesh", p5) | |
707 | b5.MeshType = Enum.MeshType.Wedge | |
708 | b5.Name = "Mesh" | |
709 | b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928) | |
710 | p6 = Instance.new("Part", m) | |
711 | p6.Name = "Handle" | |
712 | p6.BrickColor = BrickColor.new("Really black") | |
713 | p6.FormFactor = Enum.FormFactor.Custom | |
714 | p6.Size = Vector3.new(1.5999999, 13.6000004, 1) | |
715 | p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005) | |
716 | p6.CanCollide = false | |
717 | p6.Locked = true | |
718 | p6.Elasticity = 0 | |
719 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
720 | p6.TopSurface = Enum.SurfaceType.Smooth | |
721 | b6 = Instance.new("BlockMesh", p6) | |
722 | b6.Name = "Mesh" | |
723 | b6.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
724 | p7 = Instance.new("Part", m) | |
725 | p7.BrickColor = BrickColor.new("Royal purple") | |
726 | p7.Material = "Neon" | |
727 | p7.FormFactor = Enum.FormFactor.Custom | |
728 | p7.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
729 | p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818) | |
730 | p7.CanCollide = false | |
731 | p7.Locked = true | |
732 | p7.Elasticity = 0 | |
733 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
734 | p7.TopSurface = Enum.SurfaceType.Smooth | |
735 | b7 = Instance.new("SpecialMesh", p7) | |
736 | b7.MeshType = Enum.MeshType.Wedge | |
737 | b7.Name = "Mesh" | |
738 | b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
739 | p8 = Instance.new("Part", m) | |
740 | p8.BrickColor = BrickColor.new("Royal purple") | |
741 | p8.Material = "Neon" | |
742 | p8.FormFactor = Enum.FormFactor.Custom | |
743 | p8.Size = Vector3.new(1, 1.00999999, 1.05000019) | |
744 | p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699) | |
745 | p8.CanCollide = false | |
746 | p8.Locked = true | |
747 | p8.Elasticity = 0 | |
748 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
749 | p8.TopSurface = Enum.SurfaceType.Smooth | |
750 | b8 = Instance.new("SpecialMesh", p8) | |
751 | b8.MeshType = Enum.MeshType.Wedge | |
752 | b8.Name = "Mesh" | |
753 | b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
754 | p9 = Instance.new("Part", m) | |
755 | p9.BrickColor = BrickColor.new("Really black") | |
756 | p9.FormFactor = Enum.FormFactor.Custom | |
757 | p9.Size = Vector3.new(1, 1.07999957, 1) | |
758 | p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005) | |
759 | p9.CanCollide = false | |
760 | p9.Locked = true | |
761 | p9.Elasticity = 0 | |
762 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
763 | p9.TopSurface = Enum.SurfaceType.Smooth | |
764 | b9 = Instance.new("BlockMesh", p9) | |
765 | b9.Name = "Mesh" | |
766 | b9.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
767 | p10 = Instance.new("Part", m) | |
768 | p10.BrickColor = BrickColor.new("Really black") | |
769 | p10.FormFactor = Enum.FormFactor.Custom | |
770 | p10.Size = Vector3.new(1, 1.41999948, 1) | |
771 | p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005) | |
772 | p10.CanCollide = false | |
773 | p10.Locked = true | |
774 | p10.Elasticity = 0 | |
775 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
776 | p10.TopSurface = Enum.SurfaceType.Smooth | |
777 | b10 = Instance.new("BlockMesh", p10) | |
778 | b10.Name = "Mesh" | |
779 | b10.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
780 | p11 = Instance.new("Part", m) | |
781 | p11.BrickColor = BrickColor.new("Really black") | |
782 | p11.FormFactor = Enum.FormFactor.Custom | |
783 | p11.Size = Vector3.new(1, 1.50999951, 1) | |
784 | p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005) | |
785 | p11.CanCollide = false | |
786 | p11.Locked = true | |
787 | p11.Elasticity = 0 | |
788 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
789 | p11.TopSurface = Enum.SurfaceType.Smooth | |
790 | b11 = Instance.new("BlockMesh", p11) | |
791 | b11.Name = "Mesh" | |
792 | b11.Scale = Vector3.new(0.550000012, 1, 0.550000012) | |
793 | p12 = Instance.new("Part", m) | |
794 | p12.Name = "BladeCenter" | |
795 | p12.BrickColor = BrickColor.new("Dark stone grey") | |
796 | p12.Material = Enum.Material.Concrete | |
797 | p12.FormFactor = Enum.FormFactor.Symmetric | |
798 | p12.Size = Vector3.new(1, 2, 2) | |
799 | p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005) | |
800 | p12.CanCollide = false | |
801 | p12.Locked = true | |
802 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
803 | p12.TopSurface = Enum.SurfaceType.Smooth | |
804 | b12 = Instance.new("SpecialMesh", p12) | |
805 | b12.MeshType = Enum.MeshType.Brick | |
806 | b12.Name = "Mesh" | |
807 | b12.Scale = Vector3.new(0.499999911, 1, 0.699999928) | |
808 | p13 = Instance.new("Part", m) | |
809 | p13.BrickColor = BrickColor.new("Really black") | |
810 | p13.FormFactor = Enum.FormFactor.Custom | |
811 | p13.Size = Vector3.new(2.91000009, 4.3300004, 1) | |
812 | p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005) | |
813 | p13.CanCollide = false | |
814 | p13.Locked = true | |
815 | p13.Elasticity = 0 | |
816 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
817 | p13.TopSurface = Enum.SurfaceType.Smooth | |
818 | b13 = Instance.new("BlockMesh", p13) | |
819 | b13.Name = "Mesh" | |
820 | b13.Scale = Vector3.new(1, 1, 0.400000006) | |
821 | p14 = Instance.new("Part", m) | |
822 | p14.BrickColor = BrickColor.new("Really black") | |
823 | p14.FormFactor = Enum.FormFactor.Custom | |
824 | p14.Size = Vector3.new(2.5, 2.17999935, 1) | |
825 | p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005) | |
826 | p14.CanCollide = false | |
827 | p14.Locked = true | |
828 | p14.Elasticity = 0 | |
829 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
830 | p14.TopSurface = Enum.SurfaceType.Smooth | |
831 | b14 = Instance.new("BlockMesh", p14) | |
832 | b14.Name = "Mesh" | |
833 | b14.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
834 | p15 = Instance.new("Part", m) | |
835 | p15.BrickColor = BrickColor.new("Really black") | |
836 | p15.FormFactor = Enum.FormFactor.Custom | |
837 | p15.Size = Vector3.new(1.16999996, 4.2699995, 1) | |
838 | p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005) | |
839 | p15.CanCollide = false | |
840 | p15.Locked = true | |
841 | p15.Elasticity = 0 | |
842 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
843 | p15.TopSurface = Enum.SurfaceType.Smooth | |
844 | b15 = Instance.new("BlockMesh", p15) | |
845 | b15.Name = "Mesh" | |
846 | b15.Scale = Vector3.new(1, 1, 0.400000006) | |
847 | p16 = Instance.new("Part", m) | |
848 | p16.BrickColor = BrickColor.new("Really black") | |
849 | p16.FormFactor = Enum.FormFactor.Custom | |
850 | p16.Size = Vector3.new(1.68999994, 4.76000023, 1) | |
851 | p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005) | |
852 | p16.CanCollide = false | |
853 | p16.Locked = true | |
854 | p16.Elasticity = 0 | |
855 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
856 | p16.TopSurface = Enum.SurfaceType.Smooth | |
857 | b16 = Instance.new("BlockMesh", p16) | |
858 | b16.Name = "Mesh" | |
859 | b16.Scale = Vector3.new(1, 1, 0.400000006) | |
860 | p17 = Instance.new("Part", m) | |
861 | p17.BrickColor = BrickColor.new("Really black") | |
862 | p17.FormFactor = Enum.FormFactor.Custom | |
863 | p17.Size = Vector3.new(1.78999996, 4.21999979, 1) | |
864 | p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005) | |
865 | p17.CanCollide = false | |
866 | p17.Locked = true | |
867 | p17.Elasticity = 0 | |
868 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
869 | p17.TopSurface = Enum.SurfaceType.Smooth | |
870 | b17 = Instance.new("BlockMesh", p17) | |
871 | b17.Name = "Mesh" | |
872 | b17.Scale = Vector3.new(1, 1, 0.400000006) | |
873 | p18 = Instance.new("WedgePart", m) | |
874 | p18.BrickColor = BrickColor.new("Dark stone grey") | |
875 | p18.Name = "BladePart1" | |
876 | p18.Material = Enum.Material.Concrete | |
877 | p18.Name = "Wedge" | |
878 | p18.FormFactor = Enum.FormFactor.Symmetric | |
879 | p18.Size = Vector3.new(1, 4, 2) | |
880 | p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005) | |
881 | p18.CanCollide = false | |
882 | p18.Locked = true | |
883 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
884 | p18.TopSurface = Enum.SurfaceType.Smooth | |
885 | b18 = Instance.new("SpecialMesh", p18) | |
886 | b18.MeshType = Enum.MeshType.Wedge | |
887 | b18.Name = "Mesh" | |
888 | b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
889 | p19 = Instance.new("WedgePart", m) | |
890 | p19.BrickColor = BrickColor.new("Dark stone grey") | |
891 | p19.Name = "BladePart2" | |
892 | p19.Material = Enum.Material.Concrete | |
893 | p19.Name = "Wedge" | |
894 | p19.FormFactor = Enum.FormFactor.Symmetric | |
895 | p19.Size = Vector3.new(1, 4, 2) | |
896 | p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005) | |
897 | p19.CanCollide = false | |
898 | p19.Locked = true | |
899 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
900 | p19.TopSurface = Enum.SurfaceType.Smooth | |
901 | b19 = Instance.new("SpecialMesh", p19) | |
902 | b19.MeshType = Enum.MeshType.Wedge | |
903 | b19.Name = "Mesh" | |
904 | b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928) | |
905 | p20 = Instance.new("Part", m) | |
906 | p20.BrickColor = BrickColor.new("Really black") | |
907 | p20.FormFactor = Enum.FormFactor.Custom | |
908 | p20.Size = Vector3.new(2.53000021, 2.39999938, 1) | |
909 | p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005) | |
910 | p20.CanCollide = false | |
911 | p20.Locked = true | |
912 | p20.Elasticity = 0 | |
913 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
914 | p20.TopSurface = Enum.SurfaceType.Smooth | |
915 | b20 = Instance.new("BlockMesh", p20) | |
916 | b20.Name = "Mesh" | |
917 | b20.Scale = Vector3.new(0.400000006, 1, 0.400000006) | |
918 | p21 = Instance.new("Part", m) | |
919 | p21.BrickColor = BrickColor.new("Royal purple") | |
920 | p21.Material = "Neon" | |
921 | p21.FormFactor = Enum.FormFactor.Custom | |
922 | p21.Size = Vector3.new(1, 1.43999994, 1.59000015) | |
923 | p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025) | |
924 | p21.CanCollide = false | |
925 | p21.Locked = true | |
926 | p21.Elasticity = 0 | |
927 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
928 | p21.TopSurface = Enum.SurfaceType.Smooth | |
929 | b21 = Instance.new("SpecialMesh", p21) | |
930 | b21.MeshType = Enum.MeshType.Wedge | |
931 | b21.Name = "Mesh" | |
932 | b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988) | |
933 | w1 = Instance.new("Weld", p1) | |
934 | w1.Name = "Part_Weld" | |
935 | w1.Part0 = p1 | |
936 | w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
937 | w1.Part1 = p2 | |
938 | w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
939 | w2 = Instance.new("Weld", p2) | |
940 | w2.Name = "Part_Weld" | |
941 | w2.Part0 = p2 | |
942 | w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008) | |
943 | w2.Part1 = p3 | |
944 | w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
945 | w3 = Instance.new("Weld", p3) | |
946 | w3.Name = "Part_Weld" | |
947 | w3.Part0 = p3 | |
948 | w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105) | |
949 | w3.Part1 = p4 | |
950 | w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
951 | w4 = Instance.new("Weld", p4) | |
952 | w4.Name = "Part_Weld" | |
953 | w4.Part0 = p4 | |
954 | w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
955 | w4.Part1 = p5 | |
956 | w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
957 | w5 = Instance.new("Weld", p5) | |
958 | w5.Name = "Part_Weld" | |
959 | w5.Part0 = p5 | |
960 | w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252) | |
961 | w5.Part1 = p6 | |
962 | w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
963 | w6 = Instance.new("Weld", p6) | |
964 | w6.Name = "Part_Weld" | |
965 | w6.Part0 = p6 | |
966 | w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015) | |
967 | w6.Part1 = p7 | |
968 | w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
969 | w7 = Instance.new("Weld", p7) | |
970 | w7.Name = "Part_Weld" | |
971 | w7.Part0 = p7 | |
972 | w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
973 | w7.Part1 = p8 | |
974 | w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
975 | w8 = Instance.new("Weld", p8) | |
976 | w8.Name = "Part_Weld" | |
977 | w8.Part0 = p8 | |
978 | w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088) | |
979 | w8.Part1 = p9 | |
980 | w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
981 | w9 = Instance.new("Weld", p9) | |
982 | w9.Name = "Part_Weld" | |
983 | w9.Part0 = p9 | |
984 | w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005) | |
985 | w9.Part1 = p10 | |
986 | w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
987 | w10 = Instance.new("Weld", p10) | |
988 | w10.Name = "Part_Weld" | |
989 | w10.Part0 = p10 | |
990 | w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008) | |
991 | w10.Part1 = p11 | |
992 | w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
993 | w11 = Instance.new("Weld", p11) | |
994 | w11.Name = "Part_Weld" | |
995 | w11.Part0 = p11 | |
996 | w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005) | |
997 | w11.Part1 = p12 | |
998 | w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
999 | w12 = Instance.new("Weld", p12) | |
1000 | w12.Name = "Part_Weld" | |
1001 | w12.Part0 = p12 | |
1002 | w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005) | |
1003 | w12.Part1 = p13 | |
1004 | w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
1005 | w13 = Instance.new("Weld", p13) | |
1006 | w13.Name = "Part_Weld" | |
1007 | w13.Part0 = p13 | |
1008 | w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008) | |
1009 | w13.Part1 = p14 | |
1010 | w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
1011 | w14 = Instance.new("Weld", p14) | |
1012 | w14.Name = "Part_Weld" | |
1013 | w14.Part0 = p14 | |
1014 | w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008) | |
1015 | w14.Part1 = p15 | |
1016 | w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
1017 | w15 = Instance.new("Weld", p15) | |
1018 | w15.Name = "Part_Weld" | |
1019 | w15.Part0 = p15 | |
1020 | w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008) | |
1021 | w15.Part1 = p16 | |
1022 | w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
1023 | w16 = Instance.new("Weld", p16) | |
1024 | w16.Name = "Part_Weld" | |
1025 | w16.Part0 = p16 | |
1026 | w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008) | |
1027 | w16.Part1 = p17 | |
1028 | w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
1029 | w17 = Instance.new("Weld", p17) | |
1030 | w17.Name = "Wedge_Weld" | |
1031 | w17.Part0 = p17 | |
1032 | w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008) | |
1033 | w17.Part1 = p18 | |
1034 | w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
1035 | w18 = Instance.new("Weld", p18) | |
1036 | w18.Name = "Wedge_Weld" | |
1037 | w18.Part0 = p18 | |
1038 | w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005) | |
1039 | w18.Part1 = p19 | |
1040 | w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
1041 | w19 = Instance.new("Weld", p19) | |
1042 | w19.Name = "Part_Weld" | |
1043 | w19.Part0 = p19 | |
1044 | w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005) | |
1045 | w19.Part1 = p20 | |
1046 | w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
1047 | w20 = Instance.new("Weld", p20) | |
1048 | w20.Name = "Part_Weld" | |
1049 | w20.Part0 = p20 | |
1050 | w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009) | |
1051 | w20.Part1 = p21 | |
1052 | w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637) | |
1053 | m.Parent = char | |
1054 | m:MakeJoints() | |
1055 | ---------------------------------------------------- | |
1056 | local cor2 = Instance.new("Part", char.JackoAxe2) | |
1057 | cor2.Name = "Thingy" | |
1058 | cor2.Locked = true | |
1059 | cor2.BottomSurface = 0 | |
1060 | cor2.CanCollide = false | |
1061 | cor2.Size = Vector3.new(1, 13, 1) | |
1062 | cor2.Transparency = 1 | |
1063 | cor2.TopSurface = 0 | |
1064 | corw2 = Instance.new("Weld", cor2) | |
1065 | corw2.Part0 = larm | |
1066 | corw2.Part1 = cor2 | |
1067 | corw2.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1068 | corw2.C1 = CFrame.new(0, 0, 0) | |
1069 | weld1 = Instance.new("Weld", char.JackoAxe2) | |
1070 | weld1.Part0 = cor2 | |
1071 | weld1.Part1 = p6 | |
1072 | weld1.C0 = CFrame.new(0, 0, 0) | |
1073 | ---------------------------------------------------- | |
1074 | hitb = Instance.new("Part", char.JackoAxe2) | |
1075 | hitb.Name = "Thingy2" | |
1076 | hitb.Locked = true | |
1077 | hitb.BottomSurface = 0 | |
1078 | hitb.CanCollide = false | |
1079 | hitb.Size = Vector3.new(0, 8, 6) | |
1080 | hitb.Transparency = 1 | |
1081 | hitb.TopSurface = 0 | |
1082 | weld2 = Instance.new("Weld", char.JackoAxe2) | |
1083 | weld2.Part0 = hitb | |
1084 | weld2.Part1 = p12 | |
1085 | weld2.C0 = CFrame.new(0, .6, 1) | |
1086 | ||
1087 | ||
1088 | larm1 = Instance.new("Part",char) | |
1089 | larm1.Transparency = 0.5 | |
1090 | larm1.BrickColor = BrickColor.new("Lime green") | |
1091 | larm1.Size = Vector3.new(2.1,4.1,2.1) | |
1092 | larm1.Position = Vector3.new(999,999,999) | |
1093 | larm1.Material = "SmoothPlastic" | |
1094 | larmhold = Instance.new("Weld",char) | |
1095 | larmhold.Part0 = larm | |
1096 | larmhold.Part1 = larm1 | |
1097 | larmhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1098 | rarm1 = Instance.new("Part",char) | |
1099 | rarm1.Transparency = 0.5 | |
1100 | rarm1.BrickColor = BrickColor.new("Lime green") | |
1101 | rarm1.Size = Vector3.new(2.1,4.1,2.1) | |
1102 | rarm1.Position = Vector3.new(999,999,999) | |
1103 | rarm1.Material = "SmoothPlastic" | |
1104 | rarmhold = Instance.new("Weld",char) | |
1105 | rarmhold.Part0 = rarm | |
1106 | rarmhold.Part1 = rarm1 | |
1107 | rarmhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1108 | torso1 = Instance.new("Part",char) | |
1109 | torso1.Transparency = 0.5 | |
1110 | torso1.BrickColor = BrickColor.new("Lime green") | |
1111 | torso1.Size = Vector3.new(4.1,4.1,2.1) | |
1112 | torso1.Position = Vector3.new(999,999,999) | |
1113 | torso1.Material = "SmoothPlastic" | |
1114 | torsohold = Instance.new("Weld",char) | |
1115 | torsohold.Part0 = torso | |
1116 | torsohold.Part1 = torso1 | |
1117 | torsohold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1118 | lleg1 = Instance.new("Part",char) | |
1119 | lleg1.Transparency = 0.5 | |
1120 | lleg1.BrickColor = BrickColor.new("Lime green") | |
1121 | lleg1.Size = Vector3.new(2.1,4.1,2.1) | |
1122 | lleg1.Position = Vector3.new(999,999,999) | |
1123 | lleg1.Material = "SmoothPlastic" | |
1124 | lleghold = Instance.new("Weld",char) | |
1125 | lleghold.Part0 = lleg | |
1126 | lleghold.Part1 = lleg1 | |
1127 | lleghold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1128 | rleg1 = Instance.new("Part",char) | |
1129 | rleg1.Transparency = 0.5 | |
1130 | rleg1.BrickColor = BrickColor.new("Lime green") | |
1131 | rleg1.Size = Vector3.new(2.1,4.1,2.1) | |
1132 | rleg1.Position = Vector3.new(999,999,999) | |
1133 | rleg1.Material = "SmoothPlastic" | |
1134 | rleghold = Instance.new("Weld",char) | |
1135 | rleghold.Part0 = rleg | |
1136 | rleghold.Part1 = rleg1 | |
1137 | rleghold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1138 | rhed1 = Instance.new("Part",char) | |
1139 | rhed1.Transparency = 0.5 | |
1140 | rhed1.BrickColor = BrickColor.new("Lime green") | |
1141 | rhed1.Size = Vector3.new(4.3,2.6,2.6) | |
1142 | rhed1.Position = Vector3.new(999,999,999) | |
1143 | rhed1.Material = "SmoothPlastic" | |
1144 | rhedhold = Instance.new("Weld",char) | |
1145 | rhedhold.Part0 = hed | |
1146 | rhedhold.Part1 = rhed1 | |
1147 | rhedhold.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1148 | rhedmesh1 = Instance.new("SpecialMesh",rhed1) | |
1149 | rhedmesh1.MeshType = "Head" | |
1150 | rhedmesh1.Scale = Vector3.new(1,1,1) | |
1151 | ||
1152 | ||
1153 | ||
1154 | ||
1155 | function BurningEff(part) | |
1156 | local eff1 = Instance.new("ParticleEmitter",part) | |
1157 | eff1.Size = NumberSequence.new(.1) | |
1158 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
1159 | eff1.LightEmission = 1 | |
1160 | eff1.Lifetime = NumberRange.new(1) | |
1161 | eff1.Speed = NumberRange.new(0) | |
1162 | eff1.Rate = 100 | |
1163 | eff1.Texture = "rbxassetid://284205403" | |
1164 | eff1.Acceleration = Vector3.new(0,10,0) | |
1165 | eff1.Color = ColorSequence.new(Color3.new(0,255,0)) | |
1166 | local eff2 = Instance.new("ParticleEmitter",part) | |
1167 | eff2.Size = NumberSequence.new(.1) | |
1168 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
1169 | eff2.LightEmission = 1 | |
1170 | eff2.Lifetime = NumberRange.new(1) | |
1171 | eff2.Speed = NumberRange.new(0) | |
1172 | eff2.Rate = 100 | |
1173 | eff2.Texture = "rbxassetid://347504259" | |
1174 | eff2.Acceleration = Vector3.new(0,10,0) | |
1175 | eff2.Color = ColorSequence.new(Color3.new(0,255,0)) | |
1176 | local eff3 = Instance.new("ParticleEmitter",part) | |
1177 | eff3.Size = NumberSequence.new(1) | |
1178 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
1179 | eff3.LightEmission = 1 | |
1180 | eff3.Lifetime = NumberRange.new(1) | |
1181 | eff3.Speed = NumberRange.new(0) | |
1182 | eff3.Rate = 100 | |
1183 | eff3.Texture = "rbxassetid://284205403" | |
1184 | eff3.Acceleration = Vector3.new(0,10,0) | |
1185 | eff3.Color = ColorSequence.new(Color3.new(0,255,0)) | |
1186 | end | |
1187 | ||
1188 | Face = 'rbxassetid://513836869' | |
1189 | local face=hed:FindFirstChild'face' | |
1190 | face.Texture = Face | |
1191 | ||
1192 | face=Instance.new("Decal",hed) | |
1193 | face.Face="Front" | |
1194 | face.Texture="rbxassetid://513836869" | |
1195 | ||
1196 | BurningEff(hed) | |
1197 | BurningEff(rarm) | |
1198 | BurningEff(larm) | |
1199 | BurningEff(torso) | |
1200 | ||
1201 | LightOnBody = Instance.new("PointLight", hed) | |
1202 | LightOnBody.Brightness = 0.8 | |
1203 | LightOnBody.Range = 20 | |
1204 | LightOnBody.Color = Color3.new(0, 255, 0) | |
1205 | ||
1206 | ||
1207 | CV="Pastel blue" | |
1208 | ||
1209 | local txt = Instance.new("BillboardGui", char) | |
1210 | txt.Adornee = hed | |
1211 | txt.Name = "_status" | |
1212 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1213 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1214 | local text = Instance.new("TextLabel", txt) | |
1215 | text.Size = UDim2.new(10, 0, 7, 0) | |
1216 | text.FontSize = "Size24" | |
1217 | text.TextScaled = true | |
1218 | text.TextTransparency = 0 | |
1219 | text.BackgroundTransparency = 1 | |
1220 | text.TextTransparency = 0 | |
1221 | text.TextStrokeTransparency = 0 | |
1222 | text.Font = "Antique" | |
1223 | text.TextStrokeColor3 = Color3.new(0,255,0) | |
1224 | ||
1225 | v=Instance.new("Part") | |
1226 | v.Name = "ColorBrick" | |
1227 | v.Parent=p.Character | |
1228 | v.FormFactor="Symmetric" | |
1229 | v.Anchored=true | |
1230 | v.CanCollide=false | |
1231 | v.BottomSurface="Smooth" | |
1232 | v.TopSurface="Smooth" | |
1233 | v.Size=Vector3.new(10,5,3) | |
1234 | v.Transparency=1 | |
1235 | v.CFrame=char.Torso.CFrame | |
1236 | v.BrickColor=BrickColor.new(CV) | |
1237 | v.Transparency=1 | |
1238 | text.TextColor3 = Color3.new(0,0,0) | |
1239 | v.Shape="Block" | |
1240 | text.Text = "Critical Mass" | |
1241 | ||
1242 | ||
1243 | ||
1244 | ||
1245 | if GroundShake == true then | |
1246 | for i,v in pairs(workspace:GetChildren()) do | |
1247 | if v:IsA("Part") then | |
1248 | if v.Size.x > 150 then | |
1249 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
1250 | end | |
1251 | end | |
1252 | end | |
1253 | ||
1254 | ||
1255 | ||
1256 | ||
1257 | end | |
1258 | if GroundShake2 == true then | |
1259 | ||
1260 | for i,v in pairs(workspace:GetChildren()) do | |
1261 | if v:IsA("Part") then | |
1262 | if v.Size.x > 150 then | |
1263 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
1264 | end | |
1265 | end | |
1266 | end | |
1267 | ||
1268 | end | |
1269 | ||
1270 | ||
1271 | ||
1272 | local num = 0 | |
1273 | ||
1274 | ||
1275 | ||
1276 | GroundWave2 = function() | |
1277 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
1278 | Colors = {"White", "White"} | |
1279 | local wave3 = Instance.new("Part", char) | |
1280 | wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1281 | wave3.Anchored = true | |
1282 | wave3.Name = "Wave" | |
1283 | wave3.CanCollide = false | |
1284 | wave3.Locked = true | |
1285 | wave3.Size = Vector3.new(1, 1, 1) | |
1286 | wave3.TopSurface = "Smooth" | |
1287 | wave3.BottomSurface = "Smooth" | |
1288 | wave3.Transparency = 0.35 | |
1289 | wave3.CFrame = HandCF | |
1290 | wm1 = Instance.new("SpecialMesh", wave3) | |
1291 | wm1.MeshId = "rbxassetid://3270017" | |
1292 | coroutine.wrap(function() | |
1293 | for i = 1, 30, 1 do | |
1294 | wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1295 | wave3.Size = wm1.Scale | |
1296 | wave3.CFrame = HandCF | |
1297 | wave3.Transparency = i/30 | |
1298 | wait() | |
1299 | end | |
1300 | wait() | |
1301 | wave3:Destroy() | |
1302 | end)() | |
1303 | end | |
1304 | GroundWave3 = function() | |
1305 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1306 | Colors = {"White", "White"} | |
1307 | local wave2 = Instance.new("Part", char) | |
1308 | wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1309 | wave2.Anchored = true | |
1310 | wave2.Name = "Wave" | |
1311 | wave2.CanCollide = false | |
1312 | wave2.Locked = true | |
1313 | wave2.Size = Vector3.new(1, 1, 1) | |
1314 | wave2.TopSurface = "Smooth" | |
1315 | wave2.BottomSurface = "Smooth" | |
1316 | wave2.Transparency = 0.35 | |
1317 | wave2.CFrame = HandCF | |
1318 | wm2 = Instance.new("SpecialMesh", wave2) | |
1319 | wm2.MeshId = "rbxassetid://3270017" | |
1320 | coroutine.wrap(function() | |
1321 | for i = 1, 30, 1 do | |
1322 | wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1323 | wave2.Size = wm2.Scale | |
1324 | wave2.CFrame = HandCF | |
1325 | wave2.Transparency = i/30 | |
1326 | wait() | |
1327 | end | |
1328 | wait() | |
1329 | wave2:Destroy() | |
1330 | end)() | |
1331 | end | |
1332 | GroundWave4 = function() | |
1333 | local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1334 | Colors = {"White", "White"} | |
1335 | local wave1 = Instance.new("Part", char) | |
1336 | wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1337 | wave1.Anchored = true | |
1338 | wave1.Name = "Wave" | |
1339 | wave1.CanCollide = false | |
1340 | wave1.Locked = true | |
1341 | wave1.Size = Vector3.new(1, 1, 1) | |
1342 | wave1.TopSurface = "Smooth" | |
1343 | wave1.BottomSurface = "Smooth" | |
1344 | wave1.Transparency = 0.35 | |
1345 | wave1.CFrame = HandCF | |
1346 | wm3 = Instance.new("SpecialMesh", wave1) | |
1347 | wm3.MeshId = "rbxassetid://3270017" | |
1348 | coroutine.wrap(function() | |
1349 | for i = 1, 30, 1 do | |
1350 | wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1351 | wave1.Size = wm3.Scale | |
1352 | wave1.CFrame = HandCF | |
1353 | wave1.Transparency = i/30 | |
1354 | wait() | |
1355 | end | |
1356 | wait() | |
1357 | wave1:Destroy() | |
1358 | end)() | |
1359 | end | |
1360 | -------------------------------------------------------------------------- | |
1361 | --transform | |
1362 | GroundWave5 = function() | |
1363 | local HandCF = root.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
1364 | ||
1365 | Colors = {"Lime green", "Lime green"} | |
1366 | ||
1367 | ||
1368 | local wave11 = Instance.new("Part", char) | |
1369 | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1370 | wave11.Anchored = true | |
1371 | wave11.Name = "Wave" | |
1372 | wave11.CanCollide = false | |
1373 | wave11.Locked = true | |
1374 | wave11.Size = Vector3.new(1, 1, 1) | |
1375 | wave11.TopSurface = "Smooth" | |
1376 | wave11.BottomSurface = "Smooth" | |
1377 | wave11.Transparency = 0.35 | |
1378 | wave11.CFrame = HandCF | |
1379 | wm31 = Instance.new("SpecialMesh", wave11) | |
1380 | wm31.MeshId = "rbxassetid://3270017" | |
1381 | coroutine.wrap(function() | |
1382 | for i = 1, 30, 1 do | |
1383 | wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1384 | wave11.Size = wm31.Scale | |
1385 | wave11.CFrame = HandCF | |
1386 | wave11.Transparency = i/30 | |
1387 | wait() | |
1388 | end | |
1389 | wait() | |
1390 | wave11:Destroy() | |
1391 | end)() | |
1392 | end | |
1393 | GroundWave6 = function() | |
1394 | local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1395 | ||
1396 | Colors = {"Lime green", "Lime green"} | |
1397 | ||
1398 | local wave111 = Instance.new("Part", char) | |
1399 | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1400 | wave111.Anchored = true | |
1401 | wave111.Name = "Wave" | |
1402 | wave111.CanCollide = false | |
1403 | wave111.Locked = true | |
1404 | wave111.Size = Vector3.new(1, 1, 1) | |
1405 | wave111.TopSurface = "Smooth" | |
1406 | wave111.BottomSurface = "Smooth" | |
1407 | wave111.Transparency = 0.35 | |
1408 | wave111.CFrame = HandCF | |
1409 | wm311 = Instance.new("SpecialMesh", wave111) | |
1410 | wm311.MeshId = "rbxassetid://3270017" | |
1411 | coroutine.wrap(function() | |
1412 | for i = 1, 30, 1 do | |
1413 | wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1414 | wave111.Size = wm311.Scale | |
1415 | wave111.CFrame = HandCF | |
1416 | wave111.Transparency = i/30 | |
1417 | wait() | |
1418 | end | |
1419 | wait() | |
1420 | wave111:Destroy() | |
1421 | end)() | |
1422 | end | |
1423 | GroundWave7 = function() | |
1424 | local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1425 | ||
1426 | Colors = {"Lime green", "Lime green"} | |
1427 | local wave1111 = Instance.new("Part", char) | |
1428 | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1429 | wave1111.Anchored = true | |
1430 | wave1111.Name = "Wave" | |
1431 | wave1111.CanCollide = false | |
1432 | wave1111.Locked = true | |
1433 | wave1111.Size = Vector3.new(1, 1, 1) | |
1434 | wave1111.TopSurface = "Smooth" | |
1435 | wave1111.BottomSurface = "Smooth" | |
1436 | wave1111.Transparency = 0.35 | |
1437 | wave1111.CFrame = HandCF | |
1438 | wm3111 = Instance.new("SpecialMesh", wave1111) | |
1439 | wm3111.MeshId = "rbxassetid://3270017" | |
1440 | coroutine.wrap(function() | |
1441 | for i = 1, 30, 1 do | |
1442 | wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1443 | wave1111.Size = wm3111.Scale | |
1444 | wave1111.CFrame = HandCF | |
1445 | wave1111.Transparency = i/30 | |
1446 | wait() | |
1447 | end | |
1448 | wait() | |
1449 | wave1111:Destroy() | |
1450 | end)() | |
1451 | end | |
1452 | GroundWave8 = function() | |
1453 | local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1454 | ||
1455 | Colors = {"Lime green", "Lime green"} | |
1456 | local wave11111 = Instance.new("Part", char) | |
1457 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1458 | wave11111.Anchored = true | |
1459 | wave11111.Name = "Wave" | |
1460 | wave11111.CanCollide = false | |
1461 | wave11111.Locked = true | |
1462 | wave11111.Size = Vector3.new(1, 1, 1) | |
1463 | wave11111.TopSurface = "Smooth" | |
1464 | wave11111.BottomSurface = "Smooth" | |
1465 | wave11111.Transparency = 0.35 | |
1466 | wave11111.CFrame = HandCF | |
1467 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
1468 | wm31111.MeshId = "rbxassetid://3270017" | |
1469 | coroutine.wrap(function() | |
1470 | for i = 1, 30, 1 do | |
1471 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1472 | wave11111.Size = wm31111.Scale | |
1473 | wave11111.CFrame = HandCF | |
1474 | wave11111.Transparency = i/30 | |
1475 | wait() | |
1476 | end | |
1477 | wait() | |
1478 | wave11111:Destroy() | |
1479 | end)() | |
1480 | end | |
1481 | GroundWave9 = function() | |
1482 | local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1483 | ||
1484 | Colors = {"Lime green", "Lime green"} | |
1485 | local wave111111 = Instance.new("Part", char) | |
1486 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1487 | wave111111.Anchored = true | |
1488 | wave111111.Name = "Wave" | |
1489 | wave111111.CanCollide = false | |
1490 | wave111111.Locked = true | |
1491 | wave111111.Size = Vector3.new(1, 1, 1) | |
1492 | wave111111.TopSurface = "Smooth" | |
1493 | wave111111.BottomSurface = "Smooth" | |
1494 | wave111111.Transparency = 0.35 | |
1495 | wave111111.CFrame = HandCF | |
1496 | wm311111 = Instance.new("SpecialMesh", wave111111) | |
1497 | wm311111.MeshId = "rbxassetid://3270017" | |
1498 | coroutine.wrap(function() | |
1499 | for i = 1, 30, 1 do | |
1500 | wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1501 | wave111111.Size = wm311111.Scale | |
1502 | wave111111.CFrame = HandCF | |
1503 | wave111111.Transparency = i/30 | |
1504 | wait() | |
1505 | end | |
1506 | wait() | |
1507 | wave111111:Destroy() | |
1508 | end)() | |
1509 | end | |
1510 | GroundWave10 = function() | |
1511 | local HandCF = root.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1512 | ||
1513 | Colors = {"Lime green", "Lime green"} | |
1514 | local wave1111111 = Instance.new("Part", char) | |
1515 | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1516 | wave1111111.Anchored = true | |
1517 | wave1111111.Name = "Wave" | |
1518 | wave1111111.CanCollide = false | |
1519 | wave1111111.Locked = true | |
1520 | wave1111111.Size = Vector3.new(1, 1, 1) | |
1521 | wave1111111.TopSurface = "Smooth" | |
1522 | wave1111111.BottomSurface = "Smooth" | |
1523 | wave1111111.Transparency = 0.35 | |
1524 | wave1111111.CFrame = HandCF | |
1525 | wm3111111 = Instance.new("SpecialMesh", wave1111111) | |
1526 | wm3111111.MeshId = "rbxassetid://3270017" | |
1527 | coroutine.wrap(function() | |
1528 | for i = 1, 30, 1 do | |
1529 | wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
1530 | wave1111111.Size = wm3111111.Scale | |
1531 | wave1111111.CFrame = HandCF | |
1532 | wave1111111.Transparency = i/30 | |
1533 | wait() | |
1534 | end | |
1535 | wait() | |
1536 | wave1111111:Destroy() | |
1537 | end)() | |
1538 | end | |
1539 | ||
1540 | ||
1541 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1542 | ||
1543 | function nooutline(part) | |
1544 | part.TopSurface, part.BottomSurface, part.RightSurface, part.LeftSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1545 | end | |
1546 | ||
1547 | function debris(cfremz, thepart, amt) | |
1548 | for j = 1, amt do | |
1549 | do | |
1550 | local pr = Instance.new("Part") | |
1551 | nooutline(pr) | |
1552 | pr.Name = "debrisobeb" | |
1553 | pr.Anchored = true | |
1554 | pr.BrickColor = thepart.BrickColor | |
1555 | pr.CanCollide = true | |
1556 | pr.Material = thepart.Material | |
1557 | pr.Transparency = thepart.Transparency | |
1558 | pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24)) | |
1559 | pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
1560 | pr.Parent = workspace | |
1561 | game.Debris:AddItem(pr, 25) | |
1562 | delay(15, function() | |
1563 | if pr then | |
1564 | pr.CanCollide = false | |
1565 | pr.Anchored = false | |
1566 | end | |
1567 | end) | |
1568 | end | |
1569 | end | |
1570 | for c = 1, amt do | |
1571 | do | |
1572 | local pr2 = Instance.new("Part") | |
1573 | nooutline(pr2) | |
1574 | pr2.Name = "moredebr" | |
1575 | pr2.Anchored = false | |
1576 | pr2.BrickColor = thepart.BrickColor | |
1577 | pr2.CanCollide = false | |
1578 | pr2.Material = thepart.Material | |
1579 | pr2.Transparency = thepart.Transparency | |
1580 | pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18)) | |
1581 | pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) | |
1582 | pr2.Parent = workspace | |
1583 | pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75)) | |
1584 | pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35)) | |
1585 | game.Debris:AddItem(pr2, 45) | |
1586 | delay(2, function() | |
1587 | pr2.CanCollide = true | |
1588 | wait(10) | |
1589 | if pr2 then | |
1590 | pr2.CanCollide = false | |
1591 | end | |
1592 | end) | |
1593 | end | |
1594 | end | |
1595 | end | |
1596 | ||
1597 | ||
1598 | function weld5(part0, part1, c0, c1) | |
1599 | weeld=Instance.new("Weld", part0) | |
1600 | weeld.Part0=part0 | |
1601 | weeld.Part1=part1 | |
1602 | weeld.C0=c0 | |
1603 | weeld.C1=c1 | |
1604 | return weeld | |
1605 | end | |
1606 | ||
1607 | ||
1608 | par,loc=workspace:FindPartOnRay(Ray.new(root.Position,(root.Position-(root.Position-Vector3.new(0,2,0))).unit*-500),root) | |
1609 | ||
1610 | ||
1611 | local acos = math.acos | |
1612 | local sqrt = math.sqrt | |
1613 | local Vec3 = Vector3.new | |
1614 | local fromAxisAngle = CFrame.fromAxisAngle | |
1615 | ||
1616 | local function toAxisAngle(CFr) | |
1617 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1618 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1619 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1620 | A = A == 0 and 0.00001 or A | |
1621 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1622 | B = B == 0 and 0.00001 or B | |
1623 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1624 | C = C == 0 and 0.00001 or C | |
1625 | local x = (R21-R12)/sqrt(A) | |
1626 | local y = (R02-R20)/sqrt(B) | |
1627 | local z = (R10-R01)/sqrt(C) | |
1628 | return Vec3(x,y,z),Angle | |
1629 | end | |
1630 | ||
1631 | function ApplyTrig(Num,Func) | |
1632 | local Min,Max = Func(0),Func(1) | |
1633 | local i = Func(Num) | |
1634 | return (i-Min)/(Max-Min) | |
1635 | end | |
1636 | ||
1637 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1638 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1639 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1640 | end | |
1641 | ||
1642 | function Crater(Torso,Radius) | |
1643 | Spawn(function() | |
1644 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1645 | local Ignore = {} | |
1646 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1647 | if v.Character ~= nil then | |
1648 | Ignore[#Ignore+1] = v.Character | |
1649 | end | |
1650 | end | |
1651 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1652 | if Hit == nil then return end | |
1653 | local Parts = {} | |
1654 | for i = 1,360,10 do | |
1655 | local P = Instance.new("Part",Torso.Parent) | |
1656 | P.Anchored = true | |
1657 | P.FormFactor = "Custom" | |
1658 | P.BrickColor = Hit.BrickColor | |
1659 | P.Material = Hit.Material | |
1660 | P.TopSurface = "Smooth" | |
1661 | P.BottomSurface = "Smooth" | |
1662 | P.CanCollide = false | |
1663 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
1664 | 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))) | |
1665 | 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} | |
1666 | if math.random(0,5) == 0 then -- rubble | |
1667 | local P = Instance.new("Part",Torso.Parent) | |
1668 | P.Anchored = true | |
1669 | P.FormFactor = "Custom" | |
1670 | P.BrickColor = Hit.BrickColor | |
1671 | P.Material = Hit.Material | |
1672 | P.TopSurface = "Smooth" | |
1673 | P.CanCollide = false | |
1674 | P.BottomSurface = "Smooth" | |
1675 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
1676 | 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))) | |
1677 | 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} | |
1678 | end | |
1679 | end | |
1680 | for i = 0,1,0.05 do | |
1681 | for i2,v in pairs(Parts) do | |
1682 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1683 | end | |
1684 | wait(0.02) | |
1685 | end | |
1686 | for i,v in pairs(Parts) do | |
1687 | if v[1].Size.X > 2.1 then | |
1688 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1689 | end | |
1690 | v[1].Anchored = false | |
1691 | end | |
1692 | for i = 0,1,0.05 do | |
1693 | for i2,v in pairs(Parts) do | |
1694 | v[1].Transparency = i | |
1695 | if i == 1 then | |
1696 | v[1]:Destroy() | |
1697 | elseif i >= 0.25 then | |
1698 | v[1].CanCollide = false | |
1699 | end | |
1700 | end | |
1701 | wait(0.02) | |
1702 | end | |
1703 | Parts = nil | |
1704 | end) | |
1705 | end | |
1706 | ||
1707 | ||
1708 | ||
1709 | ||
1710 | ||
1711 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1712 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1713 | local List = {} | |
1714 | for i,v in pairs(workspace:GetChildren())do | |
1715 | if v:IsA("Model")then | |
1716 | if v:findFirstChild("Torso")then | |
1717 | if v ~= char then | |
1718 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1719 | table.insert(List,v) | |
1720 | end | |
1721 | end | |
1722 | end | |
1723 | end | |
1724 | end | |
1725 | return List | |
1726 | end | |
1727 | ||
1728 | ||
1729 | ||
1730 | function FindNearestHead(Position,Distance,SinglePlayer) | |
1731 | if SinglePlayer then return(SinglePlayer.Head.CFrame.p -Position).magnitude < Distance end | |
1732 | local List = {} | |
1733 | for i,v in pairs(workspace:GetChildren())do | |
1734 | if v:IsA("Model")then | |
1735 | if v:findFirstChild("Head")then | |
1736 | if v ~= char then | |
1737 | if(v.Head.Position -Position).magnitude <= Distance then | |
1738 | table.insert(List,v) | |
1739 | end | |
1740 | end | |
1741 | end | |
1742 | end | |
1743 | end | |
1744 | return List | |
1745 | end | |
1746 | ||
1747 | ||
1748 | ||
1749 | function FindNearestRightArm(Position,Distance,SinglePlayer) | |
1750 | if SinglePlayer then return(SinglePlayer.RightArm.CFrame.p -Position).magnitude < Distance end | |
1751 | local List = {} | |
1752 | for i,v in pairs(workspace:GetChildren())do | |
1753 | if v:IsA("Model")then | |
1754 | if v:findFirstChild("Right Arm")then | |
1755 | if v ~= char then | |
1756 | if(v.RightArm.Position -Position).magnitude <= Distance then | |
1757 | table.insert(List,v) | |
1758 | end | |
1759 | end | |
1760 | end | |
1761 | end | |
1762 | end | |
1763 | return List | |
1764 | end | |
1765 | ||
1766 | ||
1767 | function FindNearestLeftArm(Position,Distance,SinglePlayer) | |
1768 | if SinglePlayer then return(SinglePlayer.LeftArm.CFrame.p -Position).magnitude < Distance end | |
1769 | local List = {} | |
1770 | for i,v in pairs(workspace:GetChildren())do | |
1771 | if v:IsA("Model")then | |
1772 | if v:findFirstChild("Left Arm")then | |
1773 | if v ~= char then | |
1774 | if(v.LeftArm.Position -Position).magnitude <= Distance then | |
1775 | table.insert(List,v) | |
1776 | end | |
1777 | end | |
1778 | end | |
1779 | end | |
1780 | end | |
1781 | return List | |
1782 | end | |
1783 | ||
1784 | ||
1785 | ||
1786 | function FindNearestRightLeg(Position,Distance,SinglePlayer) | |
1787 | if SinglePlayer then return(SinglePlayer.RightLeg.CFrame.p -Position).magnitude < Distance end | |
1788 | local List = {} | |
1789 | for i,v in pairs(workspace:GetChildren())do | |
1790 | if v:IsA("Model")then | |
1791 | if v:findFirstChild("Right Leg")then | |
1792 | if v ~= char then | |
1793 | if(v.RightLeg.Position -Position).magnitude <= Distance then | |
1794 | table.insert(List,v) | |
1795 | end | |
1796 | end | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | return List | |
1801 | end | |
1802 | ||
1803 | ||
1804 | function FindNearestLeftLeg(Position,Distance,SinglePlayer) | |
1805 | if SinglePlayer then return(SinglePlayer.LeftLeg.CFrame.p -Position).magnitude < Distance end | |
1806 | local List = {} | |
1807 | for i,v in pairs(workspace:GetChildren())do | |
1808 | if v:IsA("Model")then | |
1809 | if v:findFirstChild("Left Leg")then | |
1810 | if v ~= char then | |
1811 | if(v.LeftLeg.Position -Position).magnitude <= Distance then | |
1812 | table.insert(List,v) | |
1813 | end | |
1814 | end | |
1815 | end | |
1816 | end | |
1817 | end | |
1818 | return List | |
1819 | end | |
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | ||
1825 | ||
1826 | mouse.KeyDown:connect(function(key)--------------------------------------------Roar | |
1827 | if key == "q" then | |
1828 | hum.WalkSpeed = 0 | |
1829 | if Debounces.CanAttack == true then | |
1830 | Debounces.CanAttack = false | |
1831 | Debounces.NoIdl = true | |
1832 | Debounces.on = true | |
1833 | for i = 1, 30 do | |
1834 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.2) | |
1835 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.2) | |
1836 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.2) | |
1837 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2) | |
1838 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
1839 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
1840 | if Debounces.on == false then break end | |
1841 | rs:wait(6) | |
1842 | end | |
1843 | v = Instance.new("Sound") | |
1844 | v.SoundId = "rbxassetid://862467390" | |
1845 | v.Parent = char | |
1846 | v.Looped = false | |
1847 | v.Pitch = .94 | |
1848 | v.Volume = 50 | |
1849 | wait(.01) | |
1850 | v:Play() | |
1851 | ||
1852 | ||
1853 | local Shockwave = function() | |
1854 | local rng1 = Instance.new("Part", char) | |
1855 | rng1.Anchored = true | |
1856 | rng1.BrickColor = BrickColor.new("Lime green") | |
1857 | rng1.CanCollide = false | |
1858 | rng1.FormFactor = 3 | |
1859 | rng1.Name = "Ring" | |
1860 | rng1.Size = Vector3.new(1, 1, 1) | |
1861 | rng1.Transparency = 0.35 | |
1862 | rng1.TopSurface = 0 | |
1863 | rng1.BottomSurface = 0 | |
1864 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
1865 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1866 | rngm1.Scale = Vector3.new(10, 10, 1) | |
1867 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
1868 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
1869 | Wave.Name = "Shockwave" | |
1870 | Wave.BrickColor = BrickColor.new("Lime green") | |
1871 | Wave.Size = Vector3.new(1, 1, 1) | |
1872 | Wave.Shape = "Ball" | |
1873 | Wave.CanCollide = false | |
1874 | Wave.Anchored = true | |
1875 | Wave.TopSurface = 0 | |
1876 | Wave.BottomSurface = 0 | |
1877 | Wave.Touched:connect(function(hit) | |
1878 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
1879 | local Occlude = true | |
1880 | local NotOccludes = { | |
1881 | char.Name; | |
1882 | "Wings"; | |
1883 | "Scythe"; | |
1884 | "Thingy"; | |
1885 | "Thingy2"; -- put all of the names in a table pls | |
1886 | } | |
1887 | for i,v in pairs(NotOccludes) do | |
1888 | if hit.Parent.Name == v then | |
1889 | Occlude = false | |
1890 | end | |
1891 | end | |
1892 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
1893 | if Occlude then | |
1894 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
1895 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
1896 | end | |
1897 | end | |
1898 | end) | |
1899 | ||
1900 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
1901 | ||
1902 | coroutine.wrap(function() | |
1903 | for i = 1, 20, 0.2 do | |
1904 | rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
1905 | rng1.Transparency = i/20 | |
1906 | rng1.CFrame = Wave.CFrame | |
1907 | wait() | |
1908 | end | |
1909 | wait() | |
1910 | rng1:Destroy() | |
1911 | end)() | |
1912 | ||
1913 | Delay(0, function() | |
1914 | ||
1915 | ||
1916 | for i = 1, 50, 1 do | |
1917 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
1918 | Wave.CFrame = char.Torso.CFrame | |
1919 | local t = i / 50 | |
1920 | Wave.Transparency = t | |
1921 | wait() | |
1922 | end | |
1923 | ||
1924 | Wave:Destroy() | |
1925 | end) | |
1926 | Delay(0, function() | |
1927 | while wait() do | |
1928 | if Wave ~= nil then | |
1929 | Wave.CFrame = char.Torso.CFrame | |
1930 | else | |
1931 | break | |
1932 | end | |
1933 | end | |
1934 | end) | |
1935 | end | |
1936 | ||
1937 | ||
1938 | new = Instance.new | |
1939 | ||
1940 | v3 = Vector3.new | |
1941 | ||
1942 | ||
1943 | a21e = new("Part",char) | |
1944 | a21e.Name = "Beam"..num | |
1945 | a21e.Locked = true | |
1946 | a21e.Size = v3(1,1,1) | |
1947 | a21e.CanCollide = false | |
1948 | a21e.Position = v3(999,999,999) | |
1949 | a21e.BrickColor = BrickColor.new("Lime green") | |
1950 | a21e.Material = "Neon" | |
1951 | a21e.Transparency = 0 | |
1952 | aa21e = new("SpecialMesh",a21e) | |
1953 | a21e.Anchored = true | |
1954 | a21e.Position = root.Position | |
1955 | aa21e.MeshType = "Sphere" | |
1956 | aa21e.Scale = v3(1,1,1) | |
1957 | ||
1958 | ||
1959 | coroutine.resume(coroutine.create(function() | |
1960 | BurningEff(FindNearestTorso(root.CFrame.p,35)) | |
1961 | BurningEff(FindNearestHead(root.CFrame.p,35)) | |
1962 | BurningEff(FindNearestRightArm(root.CFrame.p,35)) | |
1963 | BurningEff(FindNearestLeftArm(root.CFrame.p,35)) | |
1964 | BurningEff(FindNearestRightLeg(root.CFrame.p,35)) | |
1965 | BurningEff(FindNearestLeftLeg(root.CFrame.p,35)) | |
1966 | ||
1967 | end)) | |
1968 | ||
1969 | for i,v in pairs(FindNearestTorso(root.CFrame.p,25))do | |
1970 | if v:FindFirstChild('Humanoid') then | |
1971 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
1972 | v.Humanoid.PlatformStand = true | |
1973 | v:FindFirstChild("Torso").Velocity = torso.CFrame.lookVector * 200 | |
1974 | BurningEff(v:FindFirstChild('Torso')) | |
1975 | ||
1976 | end | |
1977 | end | |
1978 | ||
1979 | ||
1980 | coroutine.resume(coroutine.create(function() | |
1981 | ||
1982 | for i,v in pairs(workspace:children()) do | |
1983 | charr = v:FindFirstChild('Character') | |
1984 | for i = 1, 40 do | |
1985 | charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
1986 | wait() | |
1987 | end | |
1988 | ||
1989 | charr.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
1990 | end | |
1991 | end)) | |
1992 | ||
1993 | ||
1994 | ||
1995 | ||
1996 | coroutine.resume(coroutine.create(function() | |
1997 | for i = 1, 40 do | |
1998 | char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
1999 | wait() | |
2000 | end | |
2001 | char.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
2002 | end)) | |
2003 | ||
2004 | coroutine.resume(coroutine.create(function() | |
2005 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
2006 | if par then | |
2007 | local cfremz = CFrame.new(loc) | |
2008 | debris(cfremz, par, 50) | |
2009 | end | |
2010 | end)) | |
2011 | ||
2012 | ||
2013 | Crater(root,155) | |
2014 | GroundWave5() | |
2015 | GroundWave6() | |
2016 | GroundWave7() | |
2017 | GroundWave8() | |
2018 | GroundWave9() | |
2019 | GroundWave10() | |
2020 | ||
2021 | coroutine.resume(coroutine.create(function() | |
2022 | for i = 1,25 do | |
2023 | wait() | |
2024 | aa21e.Scale = aa21e.Scale + v3(5,5,5) | |
2025 | a21e.Transparency = a21e.Transparency + 0.04 | |
2026 | end | |
2027 | end)) | |
2028 | ||
2029 | ||
2030 | ||
2031 | ||
2032 | for i = 1, 30 do | |
2033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.3) | |
2034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
2035 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.3) | |
2036 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.3) | |
2037 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2038 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3.2, .3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
2039 | if Debounces.on == false then break end | |
2040 | rs:wait() | |
2041 | end | |
2042 | wait(4.4) | |
2043 | Debounces.NoIdl = false | |
2044 | hum.WalkSpeed = 5 | |
2045 | Debounces.on = false | |
2046 | wait() | |
2047 | if Debounces.CanAttack == false then | |
2048 | Debounces.CanAttack = true | |
2049 | v:Destroy() | |
2050 | end | |
2051 | end | |
2052 | end | |
2053 | end) | |
2054 | ||
2055 | ||
2056 | ||
2057 | ||
2058 | ||
2059 | ||
2060 | ||
2061 | ---------------------------------------------------- | |
2062 | function weld5(part0, part1, c0, c1) | |
2063 | weeld=Instance.new("Weld", part0) | |
2064 | weeld.Part0=part0 | |
2065 | weeld.Part1=part1 | |
2066 | weeld.C0=c0 | |
2067 | weeld.C1=c1 | |
2068 | return weeld | |
2069 | end | |
2070 | ||
2071 | ||
2072 | ||
2073 | ||
2074 | ||
2075 | Grab = false | |
2076 | mouse.KeyDown:connect(function(key)-----------------------------------------Grab | |
2077 | if key == "z" then | |
2078 | Debounces.on = true | |
2079 | Debounces.NoIdl = true | |
2080 | if Grab == false then | |
2081 | gp = nil | |
2082 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2083 | ht = hit.Parent | |
2084 | hum1=ht:FindFirstChild('Humanoid') | |
2085 | if hum1 ~= nil then | |
2086 | hum1.PlatformStand=true | |
2087 | gp = ht | |
2088 | Grab = true | |
2089 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0)) | |
2090 | asd.Parent = larm | |
2091 | asd.Name = "asd" | |
2092 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0) | |
2093 | elseif hum1 == nil then | |
2094 | con1:disconnect() | |
2095 | wait() return | |
2096 | end | |
2097 | end) | |
2098 | ||
2099 | ||
2100 | for i = 1, 18 do | |
2101 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2) | |
2102 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
2103 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2104 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2) | |
2105 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2106 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2) | |
2107 | if Debounces.on == false then break end | |
2108 | wait() | |
2109 | end | |
2110 | con1:disconnect() | |
2111 | Debounces.on = false | |
2112 | Debounces.NoIdl = false | |
2113 | wait(0.1) | |
2114 | ht:FindFirstChild("Torso").CanCollide = true | |
2115 | ht:FindFirstChild("RightArm").CanCollide = true | |
2116 | ht:FindFirstChild("LeftArm").CanCollide = true | |
2117 | ht:FindFirstChild("RightLeg").CanCollide = true | |
2118 | ht:FindFirstChild("LeftLeg").CanCollide = true | |
2119 | ht:FindFirstChild("Head").CanCollide = true elseif Grab == true then | |
2120 | Grab = false | |
2121 | for i = 1, 20 do | |
2122 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
2123 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1) | |
2124 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
2125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2126 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2127 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2128 | if Debounces.on == false then end | |
2129 | wait() | |
2130 | end | |
2131 | if gp ~= nil then | |
2132 | for i,v in pairs(larm:GetChildren()) do | |
2133 | if v.Name == "asd" and v:IsA("Weld") then | |
2134 | v:Remove() | |
2135 | end | |
2136 | end | |
2137 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2138 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2139 | bv.P = 125000000000000 | |
2140 | bv.velocity = char.Head.CFrame.lookVector * 1000 | |
2141 | for i = 1, 12 do | |
2142 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5) | |
2143 | if Debounces.on == false then end | |
2144 | wait() | |
2145 | end | |
2146 | ht=nil | |
2147 | Spawn(function() | |
2148 | wait(0.5) | |
2149 | bv:Destroy() | |
2150 | end) | |
2151 | Debounces.on = false | |
2152 | Debounces.NoIdl = false | |
2153 | elseif ht == nil then wait() | |
2154 | Grab = false | |
2155 | Debounces.on = false | |
2156 | Debounces.NoIdl = false | |
2157 | end | |
2158 | end | |
2159 | end | |
2160 | end) | |
2161 | ||
2162 | ||
2163 | ||
2164 | ||
2165 | mouse.KeyDown:connect(function(key) | |
2166 | if key == "c" then | |
2167 | if Debounces.CanAttack == true then | |
2168 | Debounces.CanAttack = false | |
2169 | Debounces.NoIdl = true | |
2170 | Debounces.on = true | |
2171 | ||
2172 | ||
2173 | ||
2174 | ||
2175 | GroundWaves5 = function() | |
2176 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2177 | ||
2178 | Colors = {"Lime green", "Lime green"} | |
2179 | ||
2180 | ||
2181 | local wave11 = Instance.new("Part", char) | |
2182 | wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2183 | wave11.Anchored = true | |
2184 | wave11.Name = "Wave" | |
2185 | wave11.CanCollide = false | |
2186 | wave11.Locked = true | |
2187 | wave11.Size = Vector3.new(1, 1, 1) | |
2188 | wave11.TopSurface = "Smooth" | |
2189 | wave11.BottomSurface = "Smooth" | |
2190 | wave11.Transparency = 0.35 | |
2191 | wave11.CFrame = HandCF | |
2192 | wm31 = Instance.new("SpecialMesh", wave11) | |
2193 | wm31.MeshId = "rbxassetid://3270017" | |
2194 | coroutine.wrap(function() | |
2195 | for i = 1, 30, 1 do | |
2196 | wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2197 | wave11.Size = wm31.Scale | |
2198 | wave11.CFrame = HandCF | |
2199 | wave11.Transparency = i/30 | |
2200 | wait() | |
2201 | end | |
2202 | wait() | |
2203 | wave11:Destroy() | |
2204 | end)() | |
2205 | end | |
2206 | GroundWaves6 = function() | |
2207 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2208 | ||
2209 | Colors = {"Lime green", "Lime green"} | |
2210 | ||
2211 | local wave111 = Instance.new("Part", char) | |
2212 | wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2213 | wave111.Anchored = true | |
2214 | wave111.Name = "Wave" | |
2215 | wave111.CanCollide = false | |
2216 | wave111.Locked = true | |
2217 | wave111.Size = Vector3.new(1, 1, 1) | |
2218 | wave111.TopSurface = "Smooth" | |
2219 | wave111.BottomSurface = "Smooth" | |
2220 | wave111.Transparency = 0.35 | |
2221 | wave111.CFrame = HandCF | |
2222 | wm311 = Instance.new("SpecialMesh", wave111) | |
2223 | wm311.MeshId = "rbxassetid://3270017" | |
2224 | coroutine.wrap(function() | |
2225 | for i = 1, 30, 1 do | |
2226 | wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2227 | wave111.Size = wm311.Scale | |
2228 | wave111.CFrame = HandCF | |
2229 | wave111.Transparency = i/30 | |
2230 | wait() | |
2231 | end | |
2232 | wait() | |
2233 | wave111:Destroy() | |
2234 | end)() | |
2235 | end | |
2236 | GroundWaves7 = function() | |
2237 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2238 | ||
2239 | Colors = {"Lime green", "Lime green"} | |
2240 | local wave1111 = Instance.new("Part", char) | |
2241 | wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2242 | wave1111.Anchored = true | |
2243 | wave1111.Name = "Wave" | |
2244 | wave1111.CanCollide = false | |
2245 | wave1111.Locked = true | |
2246 | wave1111.Size = Vector3.new(1, 1, 1) | |
2247 | wave1111.TopSurface = "Smooth" | |
2248 | wave1111.BottomSurface = "Smooth" | |
2249 | wave1111.Transparency = 0.35 | |
2250 | wave1111.CFrame = HandCF | |
2251 | wm3111 = Instance.new("SpecialMesh", wave1111) | |
2252 | wm3111.MeshId = "rbxassetid://3270017" | |
2253 | coroutine.wrap(function() | |
2254 | for i = 1, 30, 1 do | |
2255 | wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2256 | wave1111.Size = wm3111.Scale | |
2257 | wave1111.CFrame = HandCF | |
2258 | wave1111.Transparency = i/30 | |
2259 | wait() | |
2260 | end | |
2261 | wait() | |
2262 | wave1111:Destroy() | |
2263 | end)() | |
2264 | end | |
2265 | GroundWaves8 = function() | |
2266 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2267 | ||
2268 | Colors = {"Lime green", "Lime green"} | |
2269 | local wave11111 = Instance.new("Part", char) | |
2270 | wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2271 | wave11111.Anchored = true | |
2272 | wave11111.Name = "Wave" | |
2273 | wave11111.CanCollide = false | |
2274 | wave11111.Locked = true | |
2275 | wave11111.Size = Vector3.new(1, 1, 1) | |
2276 | wave11111.TopSurface = "Smooth" | |
2277 | wave11111.BottomSurface = "Smooth" | |
2278 | wave11111.Transparency = 0.35 | |
2279 | wave11111.CFrame = HandCF | |
2280 | wm31111 = Instance.new("SpecialMesh", wave11111) | |
2281 | wm31111.MeshId = "rbxassetid://3270017" | |
2282 | coroutine.wrap(function() | |
2283 | for i = 1, 30, 1 do | |
2284 | wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2285 | wave11111.Size = wm31111.Scale | |
2286 | wave11111.CFrame = HandCF | |
2287 | wave11111.Transparency = i/30 | |
2288 | wait() | |
2289 | end | |
2290 | wait() | |
2291 | wave11111:Destroy() | |
2292 | end)() | |
2293 | end | |
2294 | GroundWaves9 = function() | |
2295 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2296 | ||
2297 | Colors = {"Lime green", "Lime green"} | |
2298 | local wave111111 = Instance.new("Part", char) | |
2299 | wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2300 | wave111111.Anchored = true | |
2301 | wave111111.Name = "Wave" | |
2302 | wave111111.CanCollide = false | |
2303 | wave111111.Locked = true | |
2304 | wave111111.Size = Vector3.new(1, 1, 1) | |
2305 | wave111111.TopSurface = "Smooth" | |
2306 | wave111111.BottomSurface = "Smooth" | |
2307 | wave111111.Transparency = 0.35 | |
2308 | wave111111.CFrame = HandCF | |
2309 | wm311111 = Instance.new("SpecialMesh", wave111111) | |
2310 | wm311111.MeshId = "rbxassetid://3270017" | |
2311 | coroutine.wrap(function() | |
2312 | for i = 1, 30, 1 do | |
2313 | wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2314 | wave111111.Size = wm311111.Scale | |
2315 | wave111111.CFrame = HandCF | |
2316 | wave111111.Transparency = i/30 | |
2317 | wait() | |
2318 | end | |
2319 | wait() | |
2320 | wave111111:Destroy() | |
2321 | end)() | |
2322 | end | |
2323 | GroundWaves10 = function() | |
2324 | local HandCF = ht:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2325 | ||
2326 | Colors = {"Lime green", "Lime green"} | |
2327 | local wave1111111 = Instance.new("Part", char) | |
2328 | wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
2329 | wave1111111.Anchored = true | |
2330 | wave1111111.Name = "Wave" | |
2331 | wave1111111.CanCollide = false | |
2332 | wave1111111.Locked = true | |
2333 | wave1111111.Size = Vector3.new(1, 1, 1) | |
2334 | wave1111111.TopSurface = "Smooth" | |
2335 | wave1111111.BottomSurface = "Smooth" | |
2336 | wave1111111.Transparency = 0.35 | |
2337 | wave1111111.CFrame = HandCF | |
2338 | wm3111111 = Instance.new("SpecialMesh", wave1111111) | |
2339 | wm3111111.MeshId = "rbxassetid://3270017" | |
2340 | coroutine.wrap(function() | |
2341 | for i = 1, 30, 1 do | |
2342 | wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5) | |
2343 | wave1111111.Size = wm3111111.Scale | |
2344 | wave1111111.CFrame = HandCF | |
2345 | wave1111111.Transparency = i/30 | |
2346 | wait() | |
2347 | end | |
2348 | wait() | |
2349 | wave1111111:Destroy() | |
2350 | end)() | |
2351 | end | |
2352 | ||
2353 | ||
2354 | ||
2355 | for i = 1, 40 do | |
2356 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2357 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2358 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2359 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2360 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2361 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2362 | if Debounces.on == false then break end | |
2363 | wait() | |
2364 | end | |
2365 | ||
2366 | ||
2367 | ||
2368 | ||
2369 | coroutine.resume(coroutine.create(function() | |
2370 | for i=1, 5 do | |
2371 | p=Instance.new("Part") | |
2372 | p.FrontSurface=par.TopSurface | |
2373 | p.Material=par.Material | |
2374 | p.BottomSurface=0 | |
2375 | p.Anchored=true p.CanCollide=false | |
2376 | p.BrickColor=par.BrickColor | |
2377 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
2378 | p.CFrame=CFrame.new(ht.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
2379 | p.Parent=char | |
2380 | game:GetService("Debris"):AddItem(p,2+i*.1) | |
2381 | if math.random(1,5)==5 then | |
2382 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
2383 | end | |
2384 | end | |
2385 | for i=1, 5 do | |
2386 | for i=1, 1 do | |
2387 | p=Instance.new("Part") | |
2388 | p.TopSurface=par.TopSurface | |
2389 | p.BottomSurface=par.BottomSurface | |
2390 | p.Material=par.Material | |
2391 | p.BottomSurface=0 | |
2392 | p.Anchored=false p.CanCollide=true | |
2393 | p.BrickColor=par.BrickColor | |
2394 | p.formFactor="Custom" | |
2395 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
2396 | p.CFrame=CFrame.new(ht.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
2397 | p.Parent=char | |
2398 | game:GetService("Debris"):AddItem(p,3+i*.1) | |
2399 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
2400 | p.RotVelocity=p.Velocity | |
2401 | if math.random(1,5)==5 then | |
2402 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
2403 | end | |
2404 | end | |
2405 | end | |
2406 | end)) | |
2407 | ||
2408 | ||
2409 | ||
2410 | ||
2411 | coroutine.resume(coroutine.create(function() | |
2412 | wait(0.2) | |
2413 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2414 | if v:FindFirstChild('Humanoid') then | |
2415 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2416 | v.Humanoid.PlatformStand = true | |
2417 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2418 | end | |
2419 | end | |
2420 | ||
2421 | GroundWaves5() | |
2422 | GroundWaves6() | |
2423 | GroundWaves7() | |
2424 | GroundWaves8() | |
2425 | GroundWaves9() | |
2426 | GroundWaves10() | |
2427 | end)) | |
2428 | for i = 1, 20 do | |
2429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.6) | |
2430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6) | |
2431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2435 | if Debounces.on == false then break end | |
2436 | wait() | |
2437 | end | |
2438 | ||
2439 | ||
2440 | ||
2441 | ||
2442 | if Debounces.CanAttack == false then | |
2443 | Debounces.CanAttack = true | |
2444 | Debounces.on = false | |
2445 | Debounces.NoIdl = false | |
2446 | ||
2447 | end | |
2448 | end | |
2449 | end | |
2450 | end) | |
2451 | ||
2452 | ||
2453 | function newRay(start,face,range,wat) | |
2454 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
2455 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
2456 | return rey,hit,pos | |
2457 | end | |
2458 | ||
2459 | ||
2460 | ||
2461 | fat = Instance.new("BindableEvent",script) | |
2462 | fat.Name = "Heartbeat" | |
2463 | ||
2464 | script:WaitForChild("Heartbeat") | |
2465 | ||
2466 | frame = 1/30 | |
2467 | tf = 0 | |
2468 | allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater. | |
2469 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
2470 | lastframe = tick() | |
2471 | script.Heartbeat:Fire() --ayy lmao | |
2472 | ||
2473 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp | |
2474 | tf = tf + s | |
2475 | if tf >= frame then | |
2476 | if allowframeloss then | |
2477 | script.Heartbeat:Fire() | |
2478 | lastframe=tick() | |
2479 | else | |
2480 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame)))) | |
2481 | for i=1, math.floor(tf/frame) do | |
2482 | script.Heartbeat:Fire() | |
2483 | end | |
2484 | lastframe=tick() | |
2485 | end | |
2486 | if tossremainder then | |
2487 | tf = 0 | |
2488 | else | |
2489 | tf = tf - frame * math.floor(tf/frame) | |
2490 | end | |
2491 | end | |
2492 | end) | |
2493 | ||
2494 | function Swait(NUMBER) | |
2495 | if NUMBER == 0 or NUMBER == nil then | |
2496 | fat.Event:wait() | |
2497 | else | |
2498 | for i = 1, NUMBER do | |
2499 | fat.Event:wait() | |
2500 | end | |
2501 | end | |
2502 | end | |
2503 | ||
2504 | function Landing2() | |
2505 | local rng = Instance.new("Part", char) | |
2506 | rng.Anchored = true | |
2507 | rng.BrickColor = BrickColor.new("Lime green") | |
2508 | rng.CanCollide = false | |
2509 | rng.FormFactor = 3 | |
2510 | rng.Name = "Ring" | |
2511 | rng.Size = Vector3.new(1, 1, 1) | |
2512 | rng.Transparency = 0 | |
2513 | rng.TopSurface = 0 | |
2514 | rng.BottomSurface = 0 | |
2515 | rng.Position = root.Position | |
2516 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2517 | local rngm = Instance.new("SpecialMesh", rng) | |
2518 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2519 | local rng2 = rng:Clone() | |
2520 | rng2.Parent = char | |
2521 | local rng2m = rng2.Mesh | |
2522 | local rng3 = rng:Clone() | |
2523 | rng3.Parent = char | |
2524 | local rng3m = rng3.Mesh | |
2525 | local rng4 = rng:Clone() | |
2526 | rng4.Parent = char | |
2527 | local rng4m = rng4.Mesh | |
2528 | local rng5 = rng:Clone() | |
2529 | rng5.Parent = char | |
2530 | local rng5m = rng5.Mesh | |
2531 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,905))do | |
2532 | if v:FindFirstChild('Humanoid') then | |
2533 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2534 | v.Humanoid.PlatformStand = true | |
2535 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2536 | end | |
2537 | end | |
2538 | --MagicBlock(BrickColor.new("Lime green"),root.CFrame,15,15,15,5,5,5,0.015) | |
2539 | -- CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1) | |
2540 | --CFuncs["Sound"].Create("rbxassetid://597291504", rng, 5, 0.85) | |
2541 | ---CFuncs["Sound"].Create("rbxassetid://144699494", rng, 10, 1) | |
2542 | wait() | |
2543 | local scaler = 10 | |
2544 | local scaler2 = 10 | |
2545 | for i = 0,10,0.1 do | |
2546 | Swait() | |
2547 | rng.Transparency = rng.Transparency + 0.01 | |
2548 | rng2.Transparency = rng2.Transparency + 0.01 | |
2549 | rng3.Transparency = rng3.Transparency + 0.01 | |
2550 | rng4.Transparency = rng4.Transparency + 0.01 | |
2551 | rng5.Transparency = rng5.Transparency + 0.01 | |
2552 | scaler = scaler - 0.125 | |
2553 | scaler2 = scaler2 - 0.1 | |
2554 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4) | |
2555 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3) | |
2556 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2) | |
2557 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1) | |
2558 | rng5.Size = rng5m.Scale | |
2559 | rng5.CFrame = rng.CFrame | |
2560 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5) | |
2561 | end | |
2562 | end | |
2563 | function Landing() | |
2564 | Grabee = torso | |
2565 | par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char) | |
2566 | if par then | |
2567 | local cfremz = CFrame.new(loc) | |
2568 | debris(cfremz, par, 50) | |
2569 | end | |
2570 | for i=1, 50 do | |
2571 | p=Instance.new("Part") | |
2572 | p.FrontSurface=par.TopSurface | |
2573 | p.Material=par.Material | |
2574 | p.BottomSurface=0 | |
2575 | p.Anchored=true p.CanCollide=false | |
2576 | p.BrickColor=par.BrickColor | |
2577 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
2578 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30) | |
2579 | p.Parent=char | |
2580 | game:GetService("Debris"):AddItem(p,2+i*.1) | |
2581 | if math.random(1,5)==5 then | |
2582 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
2583 | end | |
2584 | end | |
2585 | for i=1, 50 do | |
2586 | for i=1, 1 do | |
2587 | p=Instance.new("Part") | |
2588 | p.TopSurface=par.TopSurface | |
2589 | p.BottomSurface=par.BottomSurface | |
2590 | p.Material=par.Material | |
2591 | p.BottomSurface=0 | |
2592 | p.Anchored=false p.CanCollide=true | |
2593 | p.BrickColor=par.BrickColor | |
2594 | p.formFactor="Custom" | |
2595 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
2596 | p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20) | |
2597 | p.Parent=char | |
2598 | game:GetService("Debris"):AddItem(p,3+i*.1) | |
2599 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
2600 | p.RotVelocity=p.Velocity | |
2601 | if math.random(1,5)==5 then | |
2602 | coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p) | |
2603 | end | |
2604 | end | |
2605 | Swait(.025) | |
2606 | end | |
2607 | end | |
2608 | ||
2609 | ||
2610 | ||
2611 | ||
2612 | ||
2613 | ||
2614 | ||
2615 | ||
2616 | ||
2617 | ||
2618 | mouse.KeyDown:connect(function(key) | |
2619 | if key == "m" then | |
2620 | hum.WalkSpeed = 0 | |
2621 | if Debounces.CanAttack == true then | |
2622 | Debounces.CanAttack = false | |
2623 | Debounces.on = true | |
2624 | Debounces.NoIdl = true | |
2625 | ||
2626 | for i = 1, 20 do | |
2627 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
2628 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
2629 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
2630 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
2631 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
2632 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
2633 | if Debounces.on == false then break end | |
2634 | wait() | |
2635 | ||
2636 | end | |
2637 | wait(1) | |
2638 | local rng = Instance.new("Part", char) | |
2639 | rng.Anchored = true | |
2640 | rng.BrickColor = BrickColor.new("Lime green") | |
2641 | rng.CanCollide = false | |
2642 | rng.FormFactor = 3 | |
2643 | rng.Name = "Ring" | |
2644 | rng.Size = Vector3.new(1, 1, 1) | |
2645 | rng.Transparency = 0.35 | |
2646 | rng.TopSurface = 0 | |
2647 | rng.BottomSurface = 0 | |
2648 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
2649 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2650 | local rngm = Instance.new("SpecialMesh", rng) | |
2651 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2652 | rngm.Scale = Vector3.new(1, 1, 2) | |
2653 | l = Instance.new("Sound",char) | |
2654 | l.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
2655 | l.Looped = false | |
2656 | l.Pitch = .7 | |
2657 | l.Volume = 1 | |
2658 | l:Play() | |
2659 | coroutine.wrap(function() | |
2660 | for i = 1, 60, 2 do | |
2661 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2662 | rng.Transparency = i/60 | |
2663 | wait() | |
2664 | end | |
2665 | wait() | |
2666 | rng:Destroy() | |
2667 | end)() | |
2668 | hum.WalkSpeed = 50 | |
2669 | BV = Instance.new("BodyVelocity", torso) | |
2670 | BV.maxForce = Vector3.new(0,100000,0) | |
2671 | BV.P = 100000 | |
2672 | BV.velocity = Vector3.new(0,999999,0) | |
2673 | for i = 1, 145 do | |
2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
2675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
2676 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
2677 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
2678 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
2679 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
2680 | if Debounces.on == false then break end | |
2681 | wait() | |
2682 | end | |
2683 | l:Destroy() | |
2684 | BV:Destroy() | |
2685 | coroutine.resume(coroutine.create(function() | |
2686 | wait(0.01) | |
2687 | l = Instance.new("Sound",char) | |
2688 | l.SoundId = "http://www.roblox.com/asset/?id=849891594" | |
2689 | l.Looped = false | |
2690 | l.Pitch = 1 | |
2691 | l.Volume = 80 | |
2692 | l:Play() | |
2693 | end)) | |
2694 | for i = 1, 60 do | |
2695 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4) | |
2696 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4) | |
2697 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4) | |
2698 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4) | |
2699 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2700 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4) | |
2701 | if Debounces.on == false then break end | |
2702 | wait() | |
2703 | end | |
2704 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
2705 | for i = 1, 30 do | |
2706 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6) | |
2707 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6) | |
2708 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6) | |
2709 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6) | |
2710 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2711 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6) | |
2712 | if Debounces.on == false then break end | |
2713 | wait() | |
2714 | end | |
2715 | end | |
2716 | Debounces.on = false | |
2717 | Debounces.NoIdl = false | |
2718 | local ry,ht,ps=nil,nil,nil | |
2719 | while ht==nil do | |
2720 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
2721 | wait() | |
2722 | end | |
2723 | ||
2724 | ||
2725 | coroutine.resume(coroutine.create(function() | |
2726 | ||
2727 | for i,v in pairs(workspace:children()) do | |
2728 | charr = v:FindFirstChild('Character') | |
2729 | for i = 1, 15 do | |
2730 | charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
2731 | wait() | |
2732 | end | |
2733 | ||
2734 | charr.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
2735 | end | |
2736 | end)) | |
2737 | ||
2738 | ||
2739 | ||
2740 | ||
2741 | coroutine.resume(coroutine.create(function() | |
2742 | for i = 1, 15 do | |
2743 | char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
2744 | wait() | |
2745 | end | |
2746 | char.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
2747 | end)) | |
2748 | ||
2749 | ||
2750 | coroutine.resume(coroutine.create(function() | |
2751 | Landing2() | |
2752 | end)) | |
2753 | Landing() | |
2754 | game:GetService("Debris"):AddItem(rng, 1) | |
2755 | game:GetService("Debris"):AddItem(rng2, 1) | |
2756 | game:GetService("Debris"):AddItem(rng3, 1) | |
2757 | game:GetService("Debris"):AddItem(rng4, 1) | |
2758 | game:GetService("Debris"):AddItem(rng5, 1) | |
2759 | hum.WalkSpeed = 5 | |
2760 | if Debounces.CanAttack == false then | |
2761 | Debounces.CanAttack = true | |
2762 | end | |
2763 | end | |
2764 | end | |
2765 | end) | |
2766 | ||
2767 | ||
2768 | ||
2769 | ptez = {0.7, 0.8, 0.9, 1} | |
2770 | ||
2771 | function GroundPound() | |
2772 | local rng = Instance.new("Part", char) | |
2773 | rng.Anchored = true | |
2774 | rng.BrickColor = BrickColor.new("Lime green") | |
2775 | rng.CanCollide = false | |
2776 | rng.FormFactor = 3 | |
2777 | rng.Name = "Ring" | |
2778 | rng.Size = Vector3.new(1, 1, 1) | |
2779 | rng.Transparency = 0.35 | |
2780 | rng.TopSurface = 0 | |
2781 | rng.BottomSurface = 0 | |
2782 | rng.Position = larm.Position - Vector3.new(0,4,0) | |
2783 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2784 | local rngm = Instance.new("SpecialMesh", rng) | |
2785 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2786 | rngm.Scale = Vector3.new(1, 1, 2) | |
2787 | coroutine.resume(coroutine.create(function() | |
2788 | t = Instance.new("Sound",char) | |
2789 | t.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
2790 | t.Pitch = ptez[math.random(1,#ptez)] | |
2791 | t.Volume = 1 | |
2792 | wait(.1) | |
2793 | t:Play() | |
2794 | end)) | |
2795 | coroutine.wrap(function() | |
2796 | for i = 1, 60, 2 do | |
2797 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2798 | rng.Transparency = i/60 | |
2799 | wait() | |
2800 | end | |
2801 | wait() | |
2802 | rng:Destroy() | |
2803 | end)() | |
2804 | ||
2805 | end | |
2806 | ||
2807 | ||
2808 | function GroundPound2() | |
2809 | local rng = Instance.new("Part", char) | |
2810 | rng.Anchored = true | |
2811 | rng.BrickColor = BrickColor.new("Lime green") | |
2812 | rng.CanCollide = false | |
2813 | rng.FormFactor = 3 | |
2814 | rng.Name = "Ring" | |
2815 | rng.Size = Vector3.new(1, 1, 1) | |
2816 | rng.Transparency = 0.35 | |
2817 | rng.TopSurface = 0 | |
2818 | rng.BottomSurface = 0 | |
2819 | rng.Position = rarm.Position - Vector3.new(0,4,0) | |
2820 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2821 | local rngm = Instance.new("SpecialMesh", rng) | |
2822 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2823 | rngm.Scale = Vector3.new(1, 1, 2) | |
2824 | coroutine.resume(coroutine.create(function() | |
2825 | t = Instance.new("Sound",char) | |
2826 | t.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
2827 | t.Pitch = ptez[math.random(1,#ptez)] | |
2828 | t.Volume = 1 | |
2829 | wait(.1) | |
2830 | t:Play() | |
2831 | end)) | |
2832 | coroutine.wrap(function() | |
2833 | for i = 1, 60, 2 do | |
2834 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
2835 | rng.Transparency = i/60 | |
2836 | wait() | |
2837 | end | |
2838 | wait() | |
2839 | rng:Destroy() | |
2840 | end)() | |
2841 | end | |
2842 | ||
2843 | ||
2844 | ||
2845 | ||
2846 | mouse.KeyDown:connect(function(key) | |
2847 | if key == "h" then | |
2848 | if Debounces.CanAttack == true then | |
2849 | Debounces.CanAttack = false | |
2850 | Debounces.NoIdl = true | |
2851 | Debounces.on = true | |
2852 | ||
2853 | ||
2854 | ||
2855 | ||
2856 | coroutine.resume(coroutine.create(function() | |
2857 | ||
2858 | for i,v in pairs(workspace:children()) do | |
2859 | charr = v:FindFirstChild('Character') | |
2860 | for i = 1, 48 do | |
2861 | charr.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
2862 | wait() | |
2863 | end | |
2864 | ||
2865 | charr.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
2866 | end | |
2867 | end)) | |
2868 | ||
2869 | ||
2870 | ||
2871 | ||
2872 | coroutine.resume(coroutine.create(function() | |
2873 | for i = 1, 78 do | |
2874 | char.Humanoid.CameraOffset = Vector3.new(math.random(-0.7,0.7),math.random(-0.7,0.7),math.random(-0.7,0.7)) | |
2875 | wait() | |
2876 | end | |
2877 | char.Humanoid.CameraOffset = Vector3.new(0,0,0) | |
2878 | end)) | |
2879 | ||
2880 | ||
2881 | coroutine.resume(coroutine.create(function() | |
2882 | wait(0.1) | |
2883 | for i = 1,78 do | |
2884 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do | |
2885 | if v:FindFirstChild('Humanoid') then | |
2886 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2887 | v.Humanoid.PlatformStand = true | |
2888 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2889 | end | |
2890 | end | |
2891 | end | |
2892 | end)) | |
2893 | ||
2894 | GroundPound() | |
2895 | for i = 1, 5 do | |
2896 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2897 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2898 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2899 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2900 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2901 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2902 | if Debounces.on == false then break end | |
2903 | wait() | |
2904 | end | |
2905 | GroundPound2() | |
2906 | for i = 1, 5 do | |
2907 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2908 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2909 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2910 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2911 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2912 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2913 | if Debounces.on == false then break end | |
2914 | wait() | |
2915 | end | |
2916 | GroundPound() | |
2917 | for i = 1, 5 do | |
2918 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2919 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2920 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2921 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2922 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2923 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2924 | if Debounces.on == false then break end | |
2925 | wait() | |
2926 | end | |
2927 | GroundPound2() | |
2928 | for i = 1, 5 do | |
2929 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2930 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2931 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2932 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2933 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2934 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2935 | if Debounces.on == false then break end | |
2936 | wait() | |
2937 | end | |
2938 | GroundPound() | |
2939 | for i = 1, 5 do | |
2940 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2941 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2942 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2943 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2944 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2945 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2946 | if Debounces.on == false then break end | |
2947 | wait() | |
2948 | end | |
2949 | GroundPound2() | |
2950 | for i = 1, 5 do | |
2951 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2952 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2953 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2954 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2955 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2956 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2957 | if Debounces.on == false then break end | |
2958 | wait() | |
2959 | end | |
2960 | GroundPound() | |
2961 | for i = 1, 5 do | |
2962 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2963 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2964 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2965 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2966 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2967 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2968 | if Debounces.on == false then break end | |
2969 | wait() | |
2970 | end | |
2971 | GroundPound2() | |
2972 | for i = 1, 5 do | |
2973 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2974 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2975 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2976 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2977 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2978 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
2979 | if Debounces.on == false then break end | |
2980 | wait() | |
2981 | end | |
2982 | GroundPound() | |
2983 | for i = 1, 5 do | |
2984 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
2985 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
2986 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
2987 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
2988 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
2989 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
2990 | if Debounces.on == false then break end | |
2991 | wait() | |
2992 | end | |
2993 | GroundPound2() | |
2994 | for i = 1, 5 do | |
2995 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
2996 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
2997 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
2998 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
2999 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3000 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
3001 | if Debounces.on == false then break end | |
3002 | wait() | |
3003 | end | |
3004 | GroundPound() | |
3005 | for i = 1, 5 do | |
3006 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
3007 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
3008 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
3009 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
3010 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
3011 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3012 | if Debounces.on == false then break end | |
3013 | wait() | |
3014 | end | |
3015 | GroundPound2() | |
3016 | for i = 1, 5 do | |
3017 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
3018 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
3019 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
3020 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
3021 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3022 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
3023 | if Debounces.on == false then break end | |
3024 | wait() | |
3025 | end | |
3026 | GroundPound() | |
3027 | for i = 1, 5 do | |
3028 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
3029 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
3030 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
3031 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
3032 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
3033 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3034 | if Debounces.on == false then break end | |
3035 | wait() | |
3036 | end | |
3037 | GroundPound2() | |
3038 | for i = 1, 5 do | |
3039 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
3040 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
3041 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
3042 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
3043 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3044 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
3045 | if Debounces.on == false then break end | |
3046 | wait() | |
3047 | end | |
3048 | GroundPound() | |
3049 | for i = 1, 5 do | |
3050 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7) | |
3051 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7) | |
3052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6) | |
3053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6) | |
3054 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6) | |
3055 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3056 | if Debounces.on == false then break end | |
3057 | wait() | |
3058 | end | |
3059 | GroundPound2() | |
3060 | for i = 1, 5 do | |
3061 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7) | |
3062 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7) | |
3063 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6) | |
3064 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6) | |
3065 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6) | |
3066 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6) | |
3067 | if Debounces.on == false then break end | |
3068 | wait() | |
3069 | end | |
3070 | ||
3071 | ||
3072 | ||
3073 | if Debounces.CanAttack == false then | |
3074 | Debounces.CanAttack = true | |
3075 | Debounces.on = false | |
3076 | Debounces.NoIdl = false | |
3077 | ||
3078 | end | |
3079 | end | |
3080 | end | |
3081 | end) | |
3082 | ||
3083 | ||
3084 | ||
3085 | ||
3086 | local animpose = "Idle" | |
3087 | local lastanimpose = "Idle" | |
3088 | local sine = 0 | |
3089 | local change = 1 | |
3090 | local val = 0 | |
3091 | local ffing = false | |
3092 | ---------------------------------------------------- | |
3093 | x = Instance.new("Sound", char) | |
3094 | x.SoundId = "http://www.roblox.com/asset/?id=187922823" | |
3095 | x.Looped = true | |
3096 | x.Volume = 30 | |
3097 | x.Pitch = 1 | |
3098 | local footsteps = false | |
3099 | ------------------------------- | |
3100 | game:GetService("RunService").RenderStepped:connect(function() | |
3101 | if char.Humanoid.Jump == true then | |
3102 | jump = true | |
3103 | else | |
3104 | jump = false | |
3105 | end | |
3106 | char.Humanoid.FreeFalling:connect(function(f) | |
3107 | if f then | |
3108 | ffing = true | |
3109 | else | |
3110 | ffing = false | |
3111 | end | |
3112 | end) | |
3113 | sine = sine + change | |
3114 | if jumpn == true then | |
3115 | animpose = "Jumping" | |
3116 | elseif ffing == true then | |
3117 | animpose = "Freefalling" | |
3118 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3119 | animpose = "Idle" | |
3120 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3121 | animpose = "Walking" | |
3122 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3123 | animpose = "Running" | |
3124 | end | |
3125 | if animpose ~= lastanimpose then | |
3126 | sine = 0 | |
3127 | if Debounces.NoIdl == false then | |
3128 | if animpose == "Idle" then | |
3129 | for i = 1, 2 do | |
3130 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
3131 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
3132 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2) | |
3133 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3134 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3135 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3136 | end | |
3137 | elseif animpose == "Walking" then | |
3138 | for i = 1, 2 do | |
3139 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.2) | |
3140 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2) | |
3141 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2) | |
3142 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2) | |
3143 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3144 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4) | |
3145 | end | |
3146 | elseif animpose == "Running" then | |
3147 | for i = 1, 2 do | |
3148 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-0), math.rad(-40), math.rad(0)), 0.2) | |
3149 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2) | |
3150 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3151 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3152 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3153 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3154 | end | |
3155 | wait() | |
3156 | end | |
3157 | else | |
3158 | end | |
3159 | end | |
3160 | lastanimpose = animpose | |
3161 | if Debounces.NoIdl == false then | |
3162 | if animpose == "Idle" then | |
3163 | if stanceToggle == "Normal" then | |
3164 | change = 0.5 | |
3165 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(50),math.rad(0)), 0.2) | |
3166 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2) | |
3167 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2) | |
3168 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2) | |
3169 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3170 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3171 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.9, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3172 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -1.9, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3173 | elseif stanceToggle == "Sitting" then | |
3174 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2) | |
3175 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2) | |
3176 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2) | |
3177 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
3178 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2) | |
3179 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2) | |
3180 | end | |
3181 | elseif animpose == "Walking" then | |
3182 | if stanceToggle == "Normal" then | |
3183 | change = 1 | |
3184 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/-4, math.rad(1) + -math.sin(sine/14)/2, math.rad(30)), 0.1) | |
3185 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.1) | |
3186 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2) | |
3187 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2) | |
3188 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .1) | |
3189 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .1) | |
3190 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.9, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3191 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -1.9, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3192 | end | |
3193 | elseif animpose == "Running" then | |
3194 | change = 1 | |
3195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2) | |
3196 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2) | |
3197 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2) | |
3198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2) | |
3199 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4) | |
3200 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4) | |
3201 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3202 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1) | |
3203 | end | |
3204 | end | |
3205 | if animpose == "Walking" then | |
3206 | if footsteps == false then | |
3207 | x:Play() | |
3208 | footsteps = true | |
3209 | end | |
3210 | x.Pitch = 0.9 | |
3211 | elseif animpose == "Idle" then | |
3212 | x:Stop() | |
3213 | footsteps = false | |
3214 | elseif animpose == "Running" then | |
3215 | x.Pitch = 1.2 | |
3216 | if footsteps == false then | |
3217 | x:Play() | |
3218 | footsteps = true | |
3219 | end | |
3220 | end | |
3221 | end) |