SHOW:
|
|
- or go back to the newest paste.
1 | Player=game:GetService("Players").LocalPlayer | |
2 | Character=Player.Character | |
3 | PlayerGui=Player.PlayerGui | |
4 | Backpack=Player.Backpack | |
5 | Torso=Character.Torso | |
6 | Head=Character.Head | |
7 | Humanoid=Character.Humanoid | |
8 | m=Instance.new('Model',Character) | |
9 | LeftArm=Character["Left Arm"] | |
10 | LeftLeg=Character["Left Leg"] | |
11 | RightArm=Character["Right Arm"] | |
12 | RightLeg=Character["Right Leg"] | |
13 | LS=Torso["Left Shoulder"] | |
14 | LH=Torso["Left Hip"] | |
15 | RS=Torso["Right Shoulder"] | |
16 | RH=Torso["Right Hip"] | |
17 | Face = Head.face | |
18 | Neck=Torso.Neck | |
19 | it=Instance.new | |
20 | attacktype=1 | |
21 | vt=Vector3.new | |
22 | cf=CFrame.new | |
23 | euler=CFrame.fromEulerAnglesXYZ | |
24 | angles=CFrame.Angles | |
25 | cloaked=false | |
26 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
27 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
28 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
29 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
30 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
31 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
32 | RootPart=Character.HumanoidRootPart | |
33 | RootJoint=RootPart.RootJoint | |
34 | RootCF=euler(-1.57,0,3.14) | |
35 | attack = false | |
36 | attackdebounce = false | |
37 | deb=false | |
38 | equipped=true | |
39 | hand=false | |
40 | MMouse=nil | |
41 | combo=0 | |
42 | mana=0 | |
43 | trispeed=1 | |
44 | pathtrans=.7 | |
45 | attackmode='none' | |
46 | local idle=0 | |
47 | local Anim="Idle" | |
48 | local Effects={} | |
49 | local gun=false | |
50 | local shoot=false | |
51 | player=nil | |
52 | cloak=false | |
53 | ||
54 | ||
55 | ---------------------------------------- | |
56 | local p = game.Players.LocalPlayer | |
57 | local char = p.Character | |
58 | local mouse = p:GetMouse() | |
59 | local larm = char["Left Arm"] | |
60 | local rarm = char["Right Arm"] | |
61 | local lleg = char["Left Leg"] | |
62 | local rleg = char["Right Leg"] | |
63 | local hed = char.Head | |
64 | local torso = char.Torso | |
65 | local hum = char.Humanoid | |
66 | local cam = game.Workspace.CurrentCamera | |
67 | local root = char.HumanoidRootPart | |
68 | local rj = root.RootJoint | |
69 | local deb = false | |
70 | local shot = 0 | |
71 | local stanceToggle = "Idle1" | |
72 | local l = game:GetService("Lighting") | |
73 | local rs = game:GetService("RunService").RenderStepped | |
74 | local hb = game:GetService("RunService").Heartbeat | |
75 | local Stepped = game:GetService("RunService").Stepped | |
76 | math.randomseed(os.time()) | |
77 | ---------------------------------------------------- | |
78 | fat = Instance.new("BindableEvent",script) | |
79 | fat.Name = "Heartbeat" | |
80 | ||
81 | script:WaitForChild("Heartbeat") | |
82 | ||
83 | frame = 1/30 | |
84 | tf = 0 | |
85 | 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. | |
86 | tossremainder = false --if set to true t will be set to 0 after Fire()-ing. | |
87 | lastframe = tick() | |
88 | script.Heartbeat:Fire() --ayy lmao | |
89 | ||
90 | game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp | |
91 | tf = tf + s | |
92 | if tf >= frame then | |
93 | if allowframeloss then | |
94 | script.Heartbeat:Fire() | |
95 | lastframe=tick() | |
96 | else | |
97 | --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame)))) | |
98 | for i=1, math.floor(tf/frame) do | |
99 | script.Heartbeat:Fire() | |
100 | end | |
101 | lastframe=tick() | |
102 | end | |
103 | if tossremainder then | |
104 | tf = 0 | |
105 | else | |
106 | tf = tf - frame * math.floor(tf/frame) | |
107 | end | |
108 | end | |
109 | end) | |
110 | ||
111 | function Swait(NUMBER) | |
112 | if NUMBER == 0 or NUMBER == nil then | |
113 | fat.Event:wait() | |
114 | else | |
115 | for i = 1, NUMBER do | |
116 | fat.Event:wait() | |
117 | end | |
118 | end | |
119 | end | |
120 | ---------------------------------------------------- | |
121 | Debounces = { | |
122 | CanAttack = true; | |
123 | CanJoke = true; | |
124 | NoIdl = false; | |
125 | Slashing = false; | |
126 | Slashed = false; | |
127 | ks = false; | |
128 | } | |
129 | ---------------------------------------------------- | |
130 | ||
131 | function lerp(a, b, t) -- Linear interpolation | |
132 | return a + (b - a)*t | |
133 | end | |
134 | ||
135 | function slerp(a, b, t) --Spherical interpolation | |
136 | dot = a:Dot(b) | |
137 | if dot > 0.99999 or dot < -0.99999 then | |
138 | return t <= 0.5 and a or b | |
139 | else | |
140 | r = math.acos(dot) | |
141 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
142 | end | |
143 | end | |
144 | ||
145 | function matrixInterpolate(a, b, t) | |
146 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
147 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
148 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
149 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
150 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
151 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
152 | local t = v1:Dot(v2) | |
153 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
154 | return CFrame.new() | |
155 | end | |
156 | return CFrame.new( | |
157 | v0.x, v0.y, v0.z, | |
158 | v1.x, v1.y, v1.z, | |
159 | v2.x, v2.y, v2.z, | |
160 | v3.x, v3.y, v3.z) | |
161 | end | |
162 | ---------------------------------------------------- | |
163 | function genWeld(a,b) | |
164 | local w = Instance.new("Weld",a) | |
165 | w.Part0 = a | |
166 | w.Part1 = b | |
167 | return w | |
168 | end | |
169 | function weld(a, b) | |
170 | local weld = Instance.new("Weld") | |
171 | weld.Name = "W" | |
172 | weld.Part0 = a | |
173 | weld.Part1 = b | |
174 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
175 | weld.Parent = a | |
176 | return weld; | |
177 | end | |
178 | ---------------------------------------------------- | |
179 | function Lerp(c1,c2,al) | |
180 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
181 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
182 | for i,v in pairs(com1) do | |
183 | com1[i] = v+(com2[i]-v)*al | |
184 | end | |
185 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
186 | end | |
187 | ---------------------------------------------------- | |
188 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
189 | local wld = Instance.new("Weld", wp1) | |
190 | wld.Part0 = wp0 | |
191 | wld.Part1 = wp1 | |
192 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
193 | end | |
194 | ---------------------------------------------------- | |
195 | newWeld(torso, larm, -1.5, 0.5, 0) | |
196 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
197 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
198 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
199 | newWeld(torso, hed, 0, 1.5, 0) | |
200 | newWeld(torso, lleg, -0.5, -1, 0) | |
201 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
202 | newWeld(torso, rleg, 0.5, -1, 0) | |
203 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
204 | newWeld(root, torso, 0, -1, 0) | |
205 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
206 | ---------------------------------------------------- | |
207 | ||
208 | ---------------------------------------------------- | |
209 | ||
210 | ||
211 | ||
212 | ----{{ Torso Skin }}-------- | |
213 | ||
214 | local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh") | |
215 | - | TBlast.BrickColor = BrickColor.new("Deep orange") |
215 | + | TBlast.BrickColor = BrickColor.new("Dark blue") |
216 | TBlast.Transparency = 1 | |
217 | TBlast.Anchored = true | |
218 | TBlast.CanCollide = false | |
219 | TBlast.CFrame = root.CFrame | |
220 | TBlast.Size = Vector3.new(2,2,2) | |
221 | TBMesh.Parent = TBlast | |
222 | TBMesh.MeshType = "Sphere" | |
223 | ||
224 | local TB, TM = Instance.new("Part"), Instance.new("SpecialMesh") | |
225 | - | TB.BrickColor = BrickColor.new("Deep orange") |
225 | + | TB.BrickColor = BrickColor.new("Dark blue") |
226 | TB.Transparency = 1 | |
227 | TB.Anchored = true | |
228 | TB.CanCollide = false | |
229 | TB.CFrame = root.CFrame | |
230 | TB.Size = Vector3.new(2,2,2) | |
231 | TB.Parent = TBlast | |
232 | TM.MeshType = "Sphere" | |
233 | ||
234 | ||
235 | game.Lighting.Brightness = 0 | |
236 | game.Lighting.OutdoorAmbient = TB.BrickColor.Color | |
237 | game.Lighting.TimeOfDay = 0.1 | |
238 | game.Lighting.FogEnd = 1000 | |
239 | game.Lighting.FogColor = TB.BrickColor.Color | |
240 | game.Lighting.TimeOfDay = "00:00:00" | |
241 | game.Lighting.Ambient = Color3.new(0,0,0) | |
242 | game.Lighting.FogColor = Color3.new(0,0,0) | |
243 | game.Lighting.FogEnd = 500 | |
244 | game.Lighting.FogStart = 0 | |
245 | game.Lighting.GlobalShadows = true | |
246 | ||
247 | ||
248 | LightOnBody = Instance.new("PointLight", hed) | |
249 | LightOnBody.Brightness = 3000 | |
250 | LightOnBody.Range = 20 | |
251 | LightOnBody.Color = TBlast.BrickColor.Color | |
252 | z = Instance.new("Sound",char) --Smile: print("Ã?Æ?Ã?â??Ã?â? ââ?¬â?¢Ã?Æ?ââ?¬ Ã?¢ââ??‰â??¢Ã?Æ?Ã?â??Ã?¢ââ??¬ Ã?Æ?Ã?¢Ã?¢ââ?¬Å¡Ã?¬Ã?¢ââ?¬Å¾Ã?¢Ã?Æ?Ã?â??Ã?â? ââ?¬â?¢Ã?Æ?Ã?¢Ã?¢ââ?¬Å¡Ã?¬Ã?â?¦Ã?¡Ã?Æ?Ã?â??Ã?¢ââ??¬Ã?¡Ã?Æ?ââ?¬Å¡Ã?â??Ã?¢?Ã?Æ?Ã?â??Ã?â? ââ?¬â?¢Ã?Æ?ââ?¬ Ã?¢ââ??‰â??¢Ã?Æ?Ã?â??Ã?â??Ã?¢Ã?Æ?Ã?¢Ã?¢ââ??¬Ã?¡Ã?â??Ã?¬Ã?Æ?ââ?¬Â¦Ã?â??Ã?¡Ã?Æ?Ã?â??Ã?â? ââ?¬â?¢Ã?Æ?Ã?¢Ã?¢ââ?¬Å¡Ã?¬Ã?â?¦Ã?¡��?Æ?Ã?â??Ã?¢ââ??¬Ã?¡Ã?Æ?ââ?¬Å¡Ã?â??Ã?º") | |
253 | - | z.SoundId = "rbxassetid://621339355"--410761150, 411368002 |
253 | + | z.SoundId = "rbxassetid://1204786669"--410761150, 411368002 |
254 | z.Looped = true | |
255 | z.Pitch = 1 | |
256 | - | z.Volume = 7 |
256 | + | z.Volume = 4 |
257 | wait(0.1) | |
258 | z:Play() | |
259 | ||
260 | local Orbd = Instance.new("Part", char) | |
261 | Orbd.Name = "Orbd" | |
262 | Orbd.Shape = Enum.PartType.Ball | |
263 | Orbd.CanCollide = false | |
264 | - | Orbd.BrickColor = BrickColor.new("Deep orange") |
264 | + | Orbd.BrickColor = BrickColor.new("Dark blue") |
265 | Orbd.Transparency = 0 | |
266 | Orbd.Material = "Neon" | |
267 | Orbd.Size = Vector3.new(0.2, 0.2, 0.2) | |
268 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
269 | Orbd.BottomSurface = Enum.SurfaceType.Smooth | |
270 | ||
271 | local Weld = Instance.new("Weld", Orbd) | |
272 | Weld.Part0 = char.Head | |
273 | Weld.Part1 = Orbd | |
274 | Weld.C1 = CFrame.new(-0.2, -0.2, 0.5) | |
275 | ||
276 | local Orbvc = Instance.new("Part", char) | |
277 | Orbvc.Name = "Orbvc" | |
278 | Orbvc.Shape = Enum.PartType.Ball | |
279 | Orbvc.CanCollide = false | |
280 | - | Orbvc.BrickColor = BrickColor.new("Deep orange") |
280 | + | Orbvc.BrickColor = BrickColor.new("Dark blue") |
281 | Orbvc.Transparency = 0 | |
282 | Orbvc.Material = "Neon" | |
283 | Orbvc.Size = Vector3.new(0.2, 0.2, 0.2) | |
284 | Orbvc.TopSurface = Enum.SurfaceType.Smooth | |
285 | Orbvc.BottomSurface = Enum.SurfaceType.Smooth | |
286 | ||
287 | local Weld = Instance.new("Weld", Orbvc) | |
288 | Weld.Part0 = char.Head | |
289 | Weld.Part1 = Orbvc | |
290 | Weld.C1 = CFrame.new(0.2, -0.2, 0.5) | |
291 | ||
292 | local plr=game.Players.LocalPlayer | |
293 | local ch=plr.Character | |
294 | local head=ch.Head | |
295 | ||
296 | ||
297 | - | head.BrickColor = BrickColor.new("Really black") |
297 | + | head.BrickColor = BrickColor.new("Pastel brown") |
298 | head.Transparency = 1 | |
299 | ||
300 | function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts) | |
301 | local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf; | |
302 | return p | |
303 | end | |
304 | ||
305 | function doMesh(parent,meshType,meshId,scale) | |
306 | local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale | |
307 | return m | |
308 | end | |
309 | ||
310 | ||
311 | local hm=Instance.new("Model",ch);hm.Name="HelmetModel" | |
312 | ||
313 | - | local hat=doBrick(hm,Vector3.new(0,0,0),head.CFrame*CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),Vector3.new(1,1,1),BrickColor.new("Really black"),"Granite",0,true,false,10,10,10,10,10,10) |
313 | + | local hat=doBrick(hm,Vector3.new(0,0,0),head.CFrame*CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),Vector3.new(1,1,1),BrickColor.new("Pastel brown"),"Granite",0,true,false,10,10,10,10,10,10) |
314 | local hoodMesh=doMesh(hat,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(3,3,3)) | |
315 | ||
316 | hat.Anchored = false | |
317 | ||
318 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Head"]) | |
319 | w.Part0 = game.Players.LocalPlayer.Character["Head"] | |
320 | w.Part1 = hat | |
321 | w.C0 = CFrame.new(0, .1, 0)*CFrame.Angles(0, 0, 0) | |
322 | ||
323 | ||
324 | ||
325 | plr:ClearCharacterAppearance() | |
326 | wait(0.1) | |
327 | - | plr.Character.Head.BrickColor = BrickColor.new("Really black") |
327 | + | plr.Character.Head.BrickColor = BrickColor.new("Pastel brown") |
328 | - | plr.Character.Torso.BrickColor = BrickColor.new("Really black") |
328 | + | plr.Character.Torso.BrickColor = BrickColor.new("Pastel brown") |
329 | - | plr.Character["Right Arm"].BrickColor = BrickColor.new("Really black") |
329 | + | plr.Character["Right Arm"].BrickColor = BrickColor.new("Pastel brown") |
330 | - | plr.Character["Right Leg"].BrickColor = BrickColor.new("Really black") |
330 | + | plr.Character["Right Leg"].BrickColor = BrickColor.new("Pastel brown") |
331 | - | plr.Character["Left Leg"].BrickColor = BrickColor.new("Really black") |
331 | + | plr.Character["Left Leg"].BrickColor = BrickColor.new("Pastel brown") |
332 | - | plr.Character["Left Arm"].BrickColor = BrickColor.new("Really black") |
332 | + | plr.Character["Left Arm"].BrickColor = BrickColor.new("Pastel brown") |
333 | plr.Character.Head.face:Destroy() | |
334 | ||
335 | ||
336 | local runDummyScript = function(f,scri) | |
337 | local oldenv = getfenv(f) | |
338 | local newenv = setmetatable({}, { | |
339 | __index = function(_, k) | |
340 | if k:lower() == 'script' then | |
341 | return scri | |
342 | else | |
343 | return oldenv[k] | |
344 | end | |
345 | end | |
346 | }) | |
347 | setfenv(f, newenv) | |
348 | ypcall(function() f() end) | |
349 | end | |
350 | cors = {} | |
351 | mas = Instance.new("Model",game:GetService("Lighting")) | |
352 | mas.Name = "CompiledModel" | |
353 | o1 = Instance.new("Model") | |
354 | o2 = Instance.new("Part") | |
355 | o3 = Instance.new("Weld") | |
356 | o4 = Instance.new("Weld") | |
357 | o5 = Instance.new("Part") | |
358 | o6 = Instance.new("Part") | |
359 | o1.Name = "Torso2" | |
360 | o1.Parent = mas | |
361 | o2.Parent = o1 | |
362 | o2.Material = Enum.Material.Neon | |
363 | - | o2.BrickColor = BrickColor.new("Deep orange") |
363 | + | o2.BrickColor = BrickColor.new("Dark blue") |
364 | o2.Position = Vector3.new(3, 3, 11.5) | |
365 | o2.Size = Vector3.new(2, 2, 1) | |
366 | o2.CFrame = CFrame.new(3, 3, 11.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
367 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
368 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
369 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
370 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
371 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
372 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
373 | o2.Color = Color3.new(1, 0.686275, 0) | |
374 | o2.Position = Vector3.new(3, 3, 11.5) | |
375 | o3.Name = "MainWeld" | |
376 | o3.Parent = o2 | |
377 | o3.C0 = CFrame.new(0.0149998665, 0.62999773, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
378 | o3.Part0 = o2 | |
379 | o3.Part1 = o5 | |
380 | o4.Name = "MainWeld" | |
381 | o4.Parent = o2 | |
382 | o4.C0 = CFrame.new(0.0149998665, -0.314815998, -0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
383 | o4.Part0 = o2 | |
384 | o4.Part1 = o6 | |
385 | o5.Parent = o1 | |
386 | o5.Material = Enum.Material.Granite | |
387 | o5.BrickColor = BrickColor.new("Really black") | |
388 | o5.Position = Vector3.new(3.01499987, 3.62999773, 11.4949999) | |
389 | o5.Size = Vector3.new(2.04999995, 0.839999557, 1.08999991) | |
390 | o5.CFrame = CFrame.new(3.01499987, 3.62999773, 11.4949999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
391 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
392 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
393 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
394 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
395 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
396 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
397 | o5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
398 | o5.Position = Vector3.new(3.01499987, 3.62999773, 11.4949999) | |
399 | o6.Parent = o1 | |
400 | o6.Material = Enum.Material.Granite | |
401 | o6.BrickColor = BrickColor.new("Really black") | |
402 | o6.Position = Vector3.new(3.01499987, 2.685184, 11.4949999) | |
403 | o6.Size = Vector3.new(2.04999995, 0.839999557, 1.08999991) | |
404 | o6.CFrame = CFrame.new(3.01499987, 2.685184, 11.4949999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
405 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
406 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
407 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
408 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
409 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
410 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
411 | o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
412 | o6.Position = Vector3.new(3.01499987, 2.685184, 11.4949999) | |
413 | mas.Parent = workspace | |
414 | mas:MakeJoints() | |
415 | local mas1 = mas:GetChildren() | |
416 | for i=1,#mas1 do | |
417 | mas1[i].Parent = workspace | |
418 | ypcall(function() mas1[i]:MakeJoints() end) | |
419 | end | |
420 | mas:Destroy() | |
421 | for i=1,#cors do | |
422 | coroutine.resume(cors[i]) | |
423 | end | |
424 | ||
425 | ||
426 | wait() | |
427 | ||
428 | workspace["Torso2"].Parent = game.Players.LocalPlayer.Character | |
429 | ||
430 | game.Players.LocalPlayer.Character["Torso2"].Name = "Familiar Torso2" | |
431 | ||
432 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Torso"]) | |
433 | w.Part0 = game.Players.LocalPlayer.Character["Torso"] | |
434 | w.Part1 = o2 | |
435 | w.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
436 | game.Players.LocalPlayer.Character["Torso"].Transparency = 1 | |
437 | ||
438 | for i,v in pairs (game.Players.LocalPlayer.Character["Familiar Torso2"]:GetChildren()) do | |
439 | if v.ClassName == "Part" then | |
440 | v.CanCollide = false | |
441 | v.Anchored = false | |
442 | end | |
443 | end | |
444 | ||
445 | ||
446 | ||
447 | ---{{Right Arm}}-------- | |
448 | local runDummyScript = function(f,scri) | |
449 | local oldenv = getfenv(f) | |
450 | local newenv = setmetatable({}, { | |
451 | __index = function(_, k) | |
452 | if k:lower() == 'script' then | |
453 | return scri | |
454 | else | |
455 | return oldenv[k] | |
456 | end | |
457 | end | |
458 | }) | |
459 | setfenv(f, newenv) | |
460 | ypcall(function() f() end) | |
461 | end | |
462 | cors = {} | |
463 | mas = Instance.new("Model",game:GetService("Lighting")) | |
464 | mas.Name = "CompiledModel" | |
465 | o1 = Instance.new("Model") | |
466 | o2 = Instance.new("Part") | |
467 | o3 = Instance.new("Weld") | |
468 | o4 = Instance.new("Weld") | |
469 | o5 = Instance.new("Weld") | |
470 | o6 = Instance.new("Weld") | |
471 | o7 = Instance.new("Weld") | |
472 | o8 = Instance.new("Weld") | |
473 | o9 = Instance.new("Weld") | |
474 | o10 = Instance.new("Weld") | |
475 | o11 = Instance.new("Part") | |
476 | o12 = Instance.new("Part") | |
477 | o13 = Instance.new("Part") | |
478 | o14 = Instance.new("Model") | |
479 | o15 = Instance.new("Part") | |
480 | o16 = Instance.new("Weld") | |
481 | o17 = Instance.new("Weld") | |
482 | o18 = Instance.new("Weld") | |
483 | o19 = Instance.new("Weld") | |
484 | o20 = Instance.new("Part") | |
485 | o21 = Instance.new("Part") | |
486 | o22 = Instance.new("Part") | |
487 | o23 = Instance.new("Part") | |
488 | o1.Name = "RightArm" | |
489 | o1.Parent = mas | |
490 | o2.Parent = o1 | |
491 | o2.Material = Enum.Material.Neon | |
492 | - | o2.BrickColor = BrickColor.new("Deep orange") |
492 | + | o2.BrickColor = BrickColor.new("Dark blue") |
493 | o2.Position = Vector3.new(-3.5987432, 0.987944722, 11.4995985) | |
494 | o2.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
495 | o2.Size = Vector3.new(1, 2, 1) | |
496 | o2.CFrame = CFrame.new(-3.5987432, 0.987944722, 11.4995985, 1, -0.00018174194, 7.21687247e-05, 0.000181727533, 0.99999994, 0.000199583432, -7.22049954e-05, -0.000199570306, 1) | |
497 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
498 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
499 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
500 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
501 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
502 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
503 | o2.Color = Color3.new(1, 0.686275, 0) | |
504 | o2.Position = Vector3.new(-3.5987432, 0.987944722, 11.4995985) | |
505 | o3.Name = "MainWeld" | |
506 | o3.Parent = o2 | |
507 | o3.C0 = CFrame.new(-0.00500011444, 0.00169897079, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
508 | o3.Part0 = o2 | |
509 | o3.Part1 = o12 | |
510 | o4.Name = "MainWeld" | |
511 | o4.Parent = o2 | |
512 | o4.C0 = CFrame.new(-0.00500011444, -0.587784529, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
513 | o4.Part0 = o2 | |
514 | o4.Part1 = o13 | |
515 | o5.Name = "MainWeld" | |
516 | o5.Parent = o2 | |
517 | o5.C0 = CFrame.new(0.0796999931, 1.02396202, 0.208361626, -0.529894114, 0, 0.848072529, 0, 1, 0, -0.848072529, 0, -0.529894114) | |
518 | o5.Part0 = o2 | |
519 | o5.Part1 = o23 | |
520 | o6.Name = "MainWeld" | |
521 | o6.Parent = o2 | |
522 | o6.C0 = CFrame.new(-0.107108831, 1.02396202, 0.158407211, 0.601842105, 0, 0.798615098, 0, 1, 0, -0.798615098, 0, 0.601842105) | |
523 | o6.Part0 = o2 | |
524 | o6.Part1 = o21 | |
525 | o7.Name = "MainWeld" | |
526 | o7.Parent = o2 | |
527 | o7.C0 = CFrame.new(0.0340138674, 1.02396202, -0.0815076828, 0.104554683, 0, 0.994519114, 0, 1, 0, -0.994519174, 0, 0.104554668) | |
528 | o7.Part0 = o2 | |
529 | o7.Part1 = o22 | |
530 | o8.Name = "MainWeld" | |
531 | o8.Parent = o2 | |
532 | o8.C0 = CFrame.new(-0.00500011444, 0.734998703, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
533 | o8.Part0 = o2 | |
534 | o8.Part1 = o11 | |
535 | o9.Name = "MainWeld" | |
536 | o9.Parent = o2 | |
537 | o9.C0 = CFrame.new(0.112232327, 1.02396202, 0.00985622406, 0.933583438, 0, 0.358360171, 0, 1, 0, -0.358360112, 0, 0.933583498) | |
538 | o9.Part0 = o2 | |
539 | o9.Part1 = o20 | |
540 | o10.Name = "MainWeld" | |
541 | o10.Parent = o2 | |
542 | o10.C0 = CFrame.new(-0.190126657, 1.02396202, -0.0120782852, 0.956306815, 0, -0.292364985, 0, 1, 0, 0.292364985, 0, 0.956306815) | |
543 | o10.Part0 = o2 | |
544 | o10.Part1 = o15 | |
545 | o11.Parent = o1 | |
546 | o11.Material = Enum.Material.Granite | |
547 | o11.BrickColor = BrickColor.new("Really black") | |
548 | o11.Position = Vector3.new(-3.60387659, 1.72294354, 11.5044537) | |
549 | o11.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
550 | o11.Size = Vector3.new(1.08999991, 0.610000014, 1.04999995) | |
551 | o11.CFrame = CFrame.new(-3.60387659, 1.72294354, 11.5044537, 1, -0.00018174194, 7.21687247e-05, 0.000181727533, 0.99999994, 0.000199583432, -7.22049954e-05, -0.000199570306, 1) | |
552 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
553 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
554 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
555 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
556 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
557 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
558 | o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
559 | o11.Position = Vector3.new(-3.60387659, 1.72294354, 11.5044537) | |
560 | o12.Parent = o1 | |
561 | o12.Material = Enum.Material.Granite | |
562 | o12.BrickColor = BrickColor.new("Really black") | |
563 | o12.Position = Vector3.new(-3.60374331, 0.989643812, 11.5045996) | |
564 | o12.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
565 | o12.Size = Vector3.new(1.08999991, 0.610000014, 1.04999995) | |
566 | o12.CFrame = CFrame.new(-3.60374331, 0.989643812, 11.5045996, 1, -0.00018174194, 7.21687247e-05, 0.000181727533, 0.99999994, 0.000199583432, -7.22049954e-05, -0.000199570306, 1) | |
567 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
568 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
569 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
570 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
571 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
572 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
573 | o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
574 | o12.Position = Vector3.new(-3.60374331, 0.989643812, 11.5045996) | |
575 | o13.Parent = o1 | |
576 | o13.Material = Enum.Material.Granite | |
577 | o13.BrickColor = BrickColor.new("Really black") | |
578 | o13.Position = Vector3.new(-3.60363603, 0.400160372, 11.5047169) | |
579 | o13.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
580 | o13.Size = Vector3.new(1.08999991, 0.329999954, 1.04999995) | |
581 | o13.CFrame = CFrame.new(-3.60363603, 0.400160372, 11.5047169, 1, -0.00018174194, 7.21687247e-05, 0.000181727533, 0.99999994, 0.000199583432, -7.22049954e-05, -0.000199570306, 1) | |
582 | o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
583 | o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
584 | o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
585 | o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
586 | o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
587 | o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
588 | o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
589 | o13.Position = Vector3.new(-3.60363603, 0.400160372, 11.5047169) | |
590 | o14.Name = "Star" | |
591 | o14.Parent = o1 | |
592 | o15.Parent = o14 | |
593 | o15.Material = Enum.Material.Granite | |
594 | - | o15.BrickColor = BrickColor.new("Deep orange") |
594 | + | o15.BrickColor = BrickColor.new("Dark blue") |
595 | o15.Position = Vector3.new(-3.78905678, 2.01186967, 11.4873295) | |
596 | o15.Rotation = Vector3.new(-0.00999999978, -17, 0.00999999978) | |
597 | o15.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
598 | o15.CFrame = CFrame.new(-3.78905678, 2.01186967, 11.4873295, 0.956327915, -0.00018174194, -0.292295963, 0.000232138496, 0.99999994, 0.000137732219, 0.292295933, -0.000199570306, 0.956327915) | |
599 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
600 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
601 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
602 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
603 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
604 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
605 | o15.Color = Color3.new(1, 0.686275, 0) | |
606 | o15.Position = Vector3.new(-3.78905678, 2.01186967, 11.4873295) | |
607 | o16.Name = "MainWeld" | |
608 | o16.Parent = o15 | |
609 | o16.C0 = CFrame.new(0.194045544, 0, -0.131924629, -0.190776467, 0, 0.981634915, 0, 1, 0, -0.981634796, 0, -0.190776095) | |
610 | o16.Part0 = o15 | |
611 | o16.Part1 = o22 | |
612 | o17.Name = "MainWeld" | |
613 | o17.Parent = o15 | |
614 | o17.C0 = CFrame.new(0.129232407, 0, 0.138762474, 0.34205988, 0, 0.939684212, 0, 1, 0, -0.939682126, 0, 0.34206447) | |
615 | o17.Part0 = o15 | |
616 | o17.Part1 = o21 | |
617 | o18.Name = "MainWeld" | |
618 | o18.Parent = o15 | |
619 | o18.C0 = CFrame.new(0.295556545, 0, -0.0674219131, 0.788021266, 0, 0.615649581, 0, 1, 0, -0.615650117, 0, 0.78802079) | |
620 | o18.Part0 = o15 | |
621 | o18.Part1 = o20 | |
622 | o19.Name = "MainWeld" | |
623 | o19.Parent = o15 | |
624 | o19.C0 = CFrame.new(0.322481155, 0, 0.131917953, -0.754688084, 0, 0.656095028, 0, 1, 0, -0.656095028, 0, -0.754688084) | |
625 | o19.Part0 = o15 | |
626 | o19.Part1 = o23 | |
627 | o20.Parent = o14 | |
628 | o20.Material = Enum.Material.Granite | |
629 | - | o20.BrickColor = BrickColor.new("Deep orange") |
629 | + | o20.BrickColor = BrickColor.new("Dark blue") |
630 | o20.Position = Vector3.new(-3.48669624, 2.01192904, 11.5092421) | |
631 | o20.Rotation = Vector3.new(-0.0199999996, 21, 0.00999999978) | |
632 | o20.Size = Vector3.new(0.0500000119, 0.0500000007, 1) | |
633 | o20.CFrame = CFrame.new(-3.48669624, 2.01192904, 11.5092421, 0.93355757, -0.00018174194, 0.358427554, 9.81350677e-05, 0.99999994, 0.000251451711, -0.358427525, -0.000199570306, 0.93355763) | |
634 | o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
635 | o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
636 | o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
637 | o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
638 | o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
639 | o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
640 | o20.Color = Color3.new(1, 0.686275, 0) | |
641 | o20.Position = Vector3.new(-3.48669624, 2.01192904, 11.5092421) | |
642 | o21.Parent = o14 | |
643 | o21.Material = Enum.Material.Granite | |
644 | - | o21.BrickColor = BrickColor.new("Deep orange") |
644 | + | o21.BrickColor = BrickColor.new("Dark blue") |
645 | o21.Position = Vector3.new(-3.70602679, 2.01191878, 11.6578093) | |
646 | o21.Rotation = Vector3.new(-0.0299999993, 53, 0.0199999996) | |
647 | o21.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
648 | o21.CFrame = CFrame.new(-3.70602679, 2.01191878, 11.6578093, 0.601784468, -0.00018174194, 0.79865855, -5.00190654e-05, 0.99999994, 0.000265248062, -0.79865855, -0.000199570306, 0.601784468) | |
649 | o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
650 | o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
651 | o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
652 | o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
653 | o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
654 | o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
655 | o21.Color = Color3.new(1, 0.686275, 0) | |
656 | o21.Position = Vector3.new(-3.70602679, 2.01191878, 11.6578093) | |
657 | o22.Parent = o14 | |
658 | o22.Material = Enum.Material.Granite | |
659 | - | o22.BrickColor = BrickColor.new("Deep orange") |
659 | + | o22.BrickColor = BrickColor.new("Dark blue") |
660 | o22.Position = Vector3.new(-3.56492138, 2.01189661, 11.4178839) | |
661 | o22.Rotation = Vector3.new(-0.109999999, 84, 0.100000001) | |
662 | o22.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
663 | o22.CFrame = CFrame.new(-3.56492138, 2.01189661, 11.4178839, 0.104482912, -0.00018174194, 0.994526684, -0.000179489085, 0.99999994, 0.000201598872, -0.994526744, -0.000199570306, 0.104482859) | |
664 | o22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
665 | o22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
666 | o22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
667 | o22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
668 | o22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
669 | o22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
670 | o22.Color = Color3.new(1, 0.686275, 0) | |
671 | o22.Position = Vector3.new(-3.56492138, 2.01189661, 11.4178839) | |
672 | o23.Parent = o14 | |
673 | o23.Material = Enum.Material.Granite | |
674 | - | o23.BrickColor = BrickColor.new("Deep orange") |
674 | + | o23.BrickColor = BrickColor.new("Dark blue") |
675 | o23.Position = Vector3.new(-3.51921415, 2.01196265, 11.7077503) | |
676 | o23.Rotation = Vector3.new(-179.990005, 58, 179.979996) | |
677 | o23.Size = Vector3.new(0.0500000007, 0.0500000007, 0.930000067) | |
678 | o23.CFrame = CFrame.new(-3.51921415, 2.01196265, 11.7077503, -0.529955328, -0.00018174194, 0.848034263, -0.000265557581, 0.99999994, 4.83600379e-05, -0.848034263, -0.000199570306, -0.529955328) | |
679 | o23.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
680 | o23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
681 | o23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
682 | o23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
683 | o23.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
684 | o23.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
685 | o23.Color = Color3.new(1, 0.686275, 0) | |
686 | o23.Position = Vector3.new(-3.51921415, 2.01196265, 11.7077503) | |
687 | mas.Parent = workspace | |
688 | mas:MakeJoints() | |
689 | local mas1 = mas:GetChildren() | |
690 | for i=1,#mas1 do | |
691 | mas1[i].Parent = workspace | |
692 | ypcall(function() mas1[i]:MakeJoints() end) | |
693 | end | |
694 | mas:Destroy() | |
695 | for i=1,#cors do | |
696 | coroutine.resume(cors[i]) | |
697 | end | |
698 | ||
699 | ||
700 | ||
701 | wait() | |
702 | ||
703 | workspace["RightArm"].Parent = game.Players.LocalPlayer.Character | |
704 | ||
705 | game.Players.LocalPlayer.Character["RightArm"].Name = "Familiar Right Arm" | |
706 | ||
707 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"]) | |
708 | w.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
709 | w.Part1 = o2 | |
710 | w.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
711 | game.Players.LocalPlayer.Character["Right Arm"].Transparency = 1 | |
712 | ||
713 | for i,v in pairs (game.Players.LocalPlayer.Character["Familiar Right Arm"]:GetChildren()) do | |
714 | if v.ClassName == "Part" then | |
715 | v.CanCollide = false | |
716 | v.Anchored = false | |
717 | end | |
718 | end | |
719 | ||
720 | ||
721 | ||
722 | ----{{ Right Leg }}------ | |
723 | --Created with PenguinAnonymous's compiler | |
724 | --PenguinAnonymous is not responsible for damages caused to your game | |
725 | --This plugin does not remove things | |
726 | --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing | |
727 | --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments | |
728 | --Thank you for using my plugin and enjoy :) | |
729 | --It is free to use | |
730 | --If you use this plugin to create your own, please give me credit | |
731 | --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry | |
732 | --Errors: | |
733 | local runDummyScript = function(f,scri) | |
734 | local oldenv = getfenv(f) | |
735 | local newenv = setmetatable({}, { | |
736 | __index = function(_, k) | |
737 | if k:lower() == 'script' then | |
738 | return scri | |
739 | else | |
740 | return oldenv[k] | |
741 | end | |
742 | end | |
743 | }) | |
744 | setfenv(f, newenv) | |
745 | ypcall(function() f() end) | |
746 | end | |
747 | cors = {} | |
748 | mas = Instance.new("Model",game:GetService("Lighting")) | |
749 | mas.Name = "CompiledModel" | |
750 | o1 = Instance.new("Model") | |
751 | o2 = Instance.new("Part") | |
752 | o3 = Instance.new("Weld") | |
753 | o4 = Instance.new("Weld") | |
754 | o5 = Instance.new("Weld") | |
755 | o6 = Instance.new("Weld") | |
756 | o7 = Instance.new("Part") | |
757 | o8 = Instance.new("Part") | |
758 | o9 = Instance.new("Part") | |
759 | o10 = Instance.new("Part") | |
760 | o1.Name = "RightLeg" | |
761 | o1.Parent = mas | |
762 | o2.Parent = o1 | |
763 | o2.Material = Enum.Material.Neon | |
764 | - | o2.BrickColor = BrickColor.new("Deep orange") |
764 | + | o2.BrickColor = BrickColor.new("Dark blue") |
765 | o2.Position = Vector3.new(-4.19035339, 1.01002204, 4.73999977) | |
766 | o2.Size = Vector3.new(1, 2.01999998, 1) | |
767 | o2.CFrame = CFrame.new(-4.19035339, 1.01002204, 4.73999977, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
768 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
769 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
770 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
771 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
772 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
773 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
774 | o2.Color = Color3.new(1, 0.686275, 0) | |
775 | o2.Position = Vector3.new(-4.19035339, 1.01002204, 4.73999977) | |
776 | o3.Name = "MainWeld" | |
777 | o3.Parent = o2 | |
778 | o3.C0 = CFrame.new(-0.0150003433, -0.154792666, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
779 | o3.Part0 = o2 | |
780 | o3.Part1 = o9 | |
781 | o4.Name = "MainWeld" | |
782 | o4.Parent = o2 | |
783 | o4.C0 = CFrame.new(-0.0150003433, -0.639977336, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
784 | o4.Part0 = o2 | |
785 | o4.Part1 = o10 | |
786 | o5.Name = "MainWeld" | |
787 | o5.Parent = o2 | |
788 | o5.C0 = CFrame.new(-0.0150003433, 0.345878243, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
789 | o5.Part0 = o2 | |
790 | o5.Part1 = o8 | |
791 | o6.Name = "MainWeld" | |
792 | o6.Parent = o2 | |
793 | o6.C0 = CFrame.new(-0.0150003433, 0.799999952, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
794 | o6.Part0 = o2 | |
795 | o6.Part1 = o7 | |
796 | o7.Parent = o1 | |
797 | o7.Material = Enum.Material.Granite | |
798 | o7.BrickColor = BrickColor.new("Really black") | |
799 | o7.Position = Vector3.new(-4.20535374, 1.810022, 4.74499989) | |
800 | o7.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
801 | o7.CFrame = CFrame.new(-4.20535374, 1.810022, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
802 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
803 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
804 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
805 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
806 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
807 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
808 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
809 | o7.Position = Vector3.new(-4.20535374, 1.810022, 4.74499989) | |
810 | o8.Parent = o1 | |
811 | o8.Material = Enum.Material.Granite | |
812 | o8.BrickColor = BrickColor.new("Really black") | |
813 | o8.Position = Vector3.new(-4.20535374, 1.35590029, 4.74499989) | |
814 | o8.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
815 | o8.CFrame = CFrame.new(-4.20535374, 1.35590029, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
816 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
817 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
818 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
819 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
820 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
821 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
822 | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
823 | o8.Position = Vector3.new(-4.20535374, 1.35590029, 4.74499989) | |
824 | o9.Parent = o1 | |
825 | o9.Material = Enum.Material.Granite | |
826 | o9.BrickColor = BrickColor.new("Really black") | |
827 | o9.Position = Vector3.new(-4.20535374, 0.855229378, 4.74499989) | |
828 | o9.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
829 | o9.CFrame = CFrame.new(-4.20535374, 0.855229378, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
830 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
831 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
832 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
833 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
834 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
835 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
836 | o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
837 | o9.Position = Vector3.new(-4.20535374, 0.855229378, 4.74499989) | |
838 | o10.Parent = o1 | |
839 | o10.Material = Enum.Material.Granite | |
840 | o10.BrickColor = BrickColor.new("Really black") | |
841 | o10.Position = Vector3.new(-4.20535374, 0.370044708, 4.74499989) | |
842 | o10.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
843 | o10.CFrame = CFrame.new(-4.20535374, 0.370044708, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
844 | o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
845 | o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
846 | o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
847 | o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
848 | o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
849 | o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
850 | o10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
851 | o10.Position = Vector3.new(-4.20535374, 0.370044708, 4.74499989) | |
852 | mas.Parent = workspace | |
853 | mas:MakeJoints() | |
854 | local mas1 = mas:GetChildren() | |
855 | for i=1,#mas1 do | |
856 | mas1[i].Parent = workspace | |
857 | ypcall(function() mas1[i]:MakeJoints() end) | |
858 | end | |
859 | mas:Destroy() | |
860 | for i=1,#cors do | |
861 | coroutine.resume(cors[i]) | |
862 | end | |
863 | ||
864 | ||
865 | ||
866 | wait() | |
867 | ||
868 | workspace["RightLeg"].Parent = game.Players.LocalPlayer.Character | |
869 | ||
870 | game.Players.LocalPlayer.Character["RightLeg"].Name = "Familiar Right Leg" | |
871 | ||
872 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Leg"]) | |
873 | w.Part0 = game.Players.LocalPlayer.Character["Right Leg"] | |
874 | w.Part1 = o2 | |
875 | w.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
876 | game.Players.LocalPlayer.Character["Right Leg"].Transparency = 1 | |
877 | ||
878 | for i,v in pairs (game.Players.LocalPlayer.Character["Familiar Right Leg"]:GetChildren()) do | |
879 | if v.ClassName == "Part" then | |
880 | v.CanCollide = false | |
881 | v.Anchored = false | |
882 | end | |
883 | end | |
884 | ||
885 | ||
886 | ||
887 | ||
888 | ----{{ Left Leg}}-------- | |
889 | local runDummyScript = function(f,scri) | |
890 | local oldenv = getfenv(f) | |
891 | local newenv = setmetatable({}, { | |
892 | __index = function(_, k) | |
893 | if k:lower() == 'script' then | |
894 | return scri | |
895 | else | |
896 | return oldenv[k] | |
897 | end | |
898 | end | |
899 | }) | |
900 | setfenv(f, newenv) | |
901 | ypcall(function() f() end) | |
902 | end | |
903 | cors = {} | |
904 | mas = Instance.new("Model",game:GetService("Lighting")) | |
905 | mas.Name = "CompiledModel" | |
906 | o1 = Instance.new("Model") | |
907 | o2 = Instance.new("Part") | |
908 | o3 = Instance.new("Weld") | |
909 | o4 = Instance.new("Weld") | |
910 | o5 = Instance.new("Weld") | |
911 | o6 = Instance.new("Weld") | |
912 | o7 = Instance.new("Part") | |
913 | o8 = Instance.new("Part") | |
914 | o9 = Instance.new("Part") | |
915 | o10 = Instance.new("Part") | |
916 | o1.Name = "LeftLeg" | |
917 | o1.Parent = mas | |
918 | o2.Parent = o1 | |
919 | o2.Material = Enum.Material.Neon | |
920 | - | o2.BrickColor = BrickColor.new("Deep orange") |
920 | + | o2.BrickColor = BrickColor.new("Dark blue") |
921 | o2.Position = Vector3.new(3.73664784, 1.01502204, 4.73999977) | |
922 | o2.Size = Vector3.new(1, 2.02999997, 1) | |
923 | o2.CFrame = CFrame.new(3.73664784, 1.01502204, 4.73999977, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
924 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
925 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
926 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
927 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
928 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
929 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
930 | o2.Color = Color3.new(1, 0.686275, 0) | |
931 | o2.Position = Vector3.new(3.73664784, 1.01502204, 4.73999977) | |
932 | o3.Name = "MainWeld" | |
933 | o3.Parent = o2 | |
934 | o3.C0 = CFrame.new(-0.0150003433, 0.794999957, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
935 | o3.Part0 = o2 | |
936 | o3.Part1 = o7 | |
937 | o4.Name = "MainWeld" | |
938 | o4.Parent = o2 | |
939 | o4.C0 = CFrame.new(-0.0150003433, 0.340878248, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
940 | o4.Part0 = o2 | |
941 | o4.Part1 = o8 | |
942 | o5.Name = "MainWeld" | |
943 | o5.Parent = o2 | |
944 | o5.C0 = CFrame.new(-0.0150003433, -0.644977331, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
945 | o5.Part0 = o2 | |
946 | o5.Part1 = o10 | |
947 | o6.Name = "MainWeld" | |
948 | o6.Parent = o2 | |
949 | o6.C0 = CFrame.new(-0.0150003433, -0.159792662, 0.00500011444, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
950 | o6.Part0 = o2 | |
951 | o6.Part1 = o9 | |
952 | o7.Parent = o1 | |
953 | o7.Material = Enum.Material.Granite | |
954 | o7.BrickColor = BrickColor.new("Really black") | |
955 | o7.Position = Vector3.new(3.7216475, 1.810022, 4.74499989) | |
956 | o7.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
957 | o7.CFrame = CFrame.new(3.7216475, 1.810022, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
958 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
959 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
960 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
961 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
962 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
963 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
964 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
965 | o7.Position = Vector3.new(3.7216475, 1.810022, 4.74499989) | |
966 | o8.Parent = o1 | |
967 | o8.Material = Enum.Material.Granite | |
968 | o8.BrickColor = BrickColor.new("Really black") | |
969 | o8.Position = Vector3.new(3.7216475, 1.35590029, 4.74499989) | |
970 | o8.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
971 | o8.CFrame = CFrame.new(3.7216475, 1.35590029, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
972 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
973 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
974 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
975 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
976 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
977 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
978 | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
979 | o8.Position = Vector3.new(3.7216475, 1.35590029, 4.74499989) | |
980 | o9.Parent = o1 | |
981 | o9.Material = Enum.Material.Granite | |
982 | o9.BrickColor = BrickColor.new("Really black") | |
983 | o9.Position = Vector3.new(3.7216475, 0.855229378, 4.74499989) | |
984 | o9.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
985 | o9.CFrame = CFrame.new(3.7216475, 0.855229378, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
986 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
987 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
988 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
989 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
990 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
991 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
992 | o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
993 | o9.Position = Vector3.new(3.7216475, 0.855229378, 4.74499989) | |
994 | o10.Parent = o1 | |
995 | o10.Material = Enum.Material.Granite | |
996 | o10.BrickColor = BrickColor.new("Really black") | |
997 | o10.Position = Vector3.new(3.7216475, 0.370044708, 4.74499989) | |
998 | o10.Size = Vector3.new(1.08999991, 0.379999936, 1.06999993) | |
999 | o10.CFrame = CFrame.new(3.7216475, 0.370044708, 4.74499989, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1000 | o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1001 | o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1002 | o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1003 | o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1004 | o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1005 | o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1006 | o10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1007 | o10.Position = Vector3.new(3.7216475, 0.370044708, 4.74499989) | |
1008 | mas.Parent = workspace | |
1009 | mas:MakeJoints() | |
1010 | local mas1 = mas:GetChildren() | |
1011 | for i=1,#mas1 do | |
1012 | mas1[i].Parent = workspace | |
1013 | ypcall(function() mas1[i]:MakeJoints() end) | |
1014 | end | |
1015 | mas:Destroy() | |
1016 | for i=1,#cors do | |
1017 | coroutine.resume(cors[i]) | |
1018 | end | |
1019 | ||
1020 | wait() | |
1021 | ||
1022 | workspace["LeftLeg"].Parent = game.Players.LocalPlayer.Character | |
1023 | ||
1024 | game.Players.LocalPlayer.Character["LeftLeg"].Name = "Familiar Left Leg" | |
1025 | ||
1026 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Left Leg"]) | |
1027 | w.Part0 = game.Players.LocalPlayer.Character["Left Leg"] | |
1028 | w.Part1 = o2 | |
1029 | w.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
1030 | game.Players.LocalPlayer.Character["Left Leg"].Transparency = 1 | |
1031 | ||
1032 | for i,v in pairs (game.Players.LocalPlayer.Character["Familiar Left Leg"]:GetChildren()) do | |
1033 | if v.ClassName == "Part" then | |
1034 | v.CanCollide = false | |
1035 | v.Anchored = false | |
1036 | end | |
1037 | end | |
1038 | ||
1039 | ||
1040 | ||
1041 | -----{{ Left Arm}}------ | |
1042 | local runDummyScript = function(f,scri) | |
1043 | local oldenv = getfenv(f) | |
1044 | local newenv = setmetatable({}, { | |
1045 | __index = function(_, k) | |
1046 | if k:lower() == 'script' then | |
1047 | return scri | |
1048 | else | |
1049 | return oldenv[k] | |
1050 | end | |
1051 | end | |
1052 | }) | |
1053 | setfenv(f, newenv) | |
1054 | ypcall(function() f() end) | |
1055 | end | |
1056 | cors = {} | |
1057 | mas = Instance.new("Model",game:GetService("Lighting")) | |
1058 | mas.Name = "CompiledModel" | |
1059 | o1 = Instance.new("Model") | |
1060 | o2 = Instance.new("Part") | |
1061 | o3 = Instance.new("Weld") | |
1062 | o4 = Instance.new("Weld") | |
1063 | o5 = Instance.new("Weld") | |
1064 | o6 = Instance.new("Weld") | |
1065 | o7 = Instance.new("Weld") | |
1066 | o8 = Instance.new("Weld") | |
1067 | o9 = Instance.new("Weld") | |
1068 | o10 = Instance.new("Weld") | |
1069 | o11 = Instance.new("Part") | |
1070 | o12 = Instance.new("Part") | |
1071 | o13 = Instance.new("Part") | |
1072 | o14 = Instance.new("Model") | |
1073 | o15 = Instance.new("Part") | |
1074 | o16 = Instance.new("Weld") | |
1075 | o17 = Instance.new("Weld") | |
1076 | o18 = Instance.new("Weld") | |
1077 | o19 = Instance.new("Weld") | |
1078 | o20 = Instance.new("Part") | |
1079 | o21 = Instance.new("Part") | |
1080 | o22 = Instance.new("Part") | |
1081 | o23 = Instance.new("Part") | |
1082 | o1.Name = "LeftArm" | |
1083 | o1.Parent = mas | |
1084 | o2.Parent = o1 | |
1085 | o2.Material = Enum.Material.Neon | |
1086 | - | o2.BrickColor = BrickColor.new("Deep orange") |
1086 | + | o2.BrickColor = BrickColor.new("Dark blue") |
1087 | o2.Position = Vector3.new(18.4260292, 0.987944722, 11.4995985) | |
1088 | o2.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
1089 | o2.Size = Vector3.new(1, 2, 1) | |
1090 | o2.CFrame = CFrame.new(18.4260292, 0.987944722, 11.4995985, 1, -0.000181492287, 7.22773766e-05, 0.000181477895, 0.99999994, 0.000198908368, -7.23134726e-05, -0.000198895257, 1) | |
1091 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1092 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1093 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1094 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1095 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1096 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1097 | o2.Color = Color3.new(1, 0.686275, 0) | |
1098 | o2.Position = Vector3.new(18.4260292, 0.987944722, 11.4995985) | |
1099 | o3.Name = "MainWeld" | |
1100 | o3.Parent = o2 | |
1101 | o3.C0 = CFrame.new(-0.190127373, 1.02396202, -0.0120782852, 0.956306815, 0, -0.292364985, 0, 1, 0, 0.292364985, 0, 0.956306815) | |
1102 | o3.Part0 = o2 | |
1103 | o3.Part1 = o15 | |
1104 | o4.Name = "MainWeld" | |
1105 | o4.Parent = o2 | |
1106 | o4.C0 = CFrame.new(0.112231255, 1.02396202, 0.00985622406, 0.933583438, 0, 0.358360171, 0, 1, 0, -0.358360112, 0, 0.933583498) | |
1107 | o4.Part0 = o2 | |
1108 | o4.Part1 = o20 | |
1109 | o5.Name = "MainWeld" | |
1110 | o5.Parent = o2 | |
1111 | o5.C0 = CFrame.new(-0.107109547, 1.02396202, 0.158407211, 0.601842105, 0, 0.798615098, 0, 1, 0, -0.798615098, 0, 0.601842105) | |
1112 | o5.Part0 = o2 | |
1113 | o5.Part1 = o21 | |
1114 | o6.Name = "MainWeld" | |
1115 | o6.Parent = o2 | |
1116 | o6.C0 = CFrame.new(-0.00500011444, 0.00169897079, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1117 | o6.Part0 = o2 | |
1118 | o6.Part1 = o12 | |
1119 | o7.Name = "MainWeld" | |
1120 | o7.Parent = o2 | |
1121 | o7.C0 = CFrame.new(0.0340137482, 1.02396202, -0.0815076828, 0.104554683, 0, 0.994519114, 0, 1, 0, -0.994519174, 0, 0.104554668) | |
1122 | o7.Part0 = o2 | |
1123 | o7.Part1 = o22 | |
1124 | o8.Name = "MainWeld" | |
1125 | o8.Parent = o2 | |
1126 | o8.C0 = CFrame.new(0.0796995163, 1.02396202, 0.208361626, -0.529894114, 0, 0.848072529, 0, 1, 0, -0.848072529, 0, -0.529894114) | |
1127 | o8.Part0 = o2 | |
1128 | o8.Part1 = o23 | |
1129 | o9.Name = "MainWeld" | |
1130 | o9.Parent = o2 | |
1131 | o9.C0 = CFrame.new(-0.00500011444, -0.587784529, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1132 | o9.Part0 = o2 | |
1133 | o9.Part1 = o13 | |
1134 | o10.Name = "MainWeld" | |
1135 | o10.Parent = o2 | |
1136 | o10.C0 = CFrame.new(-0.00500011444, 0.734998703, 0.00500106812, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1137 | o10.Part0 = o2 | |
1138 | o10.Part1 = o11 | |
1139 | o11.Parent = o1 | |
1140 | o11.Material = Enum.Material.Granite | |
1141 | o11.BrickColor = BrickColor.new("Really black") | |
1142 | o11.Position = Vector3.new(18.4208965, 1.72294354, 11.5044537) | |
1143 | o11.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
1144 | o11.Size = Vector3.new(1.08999991, 0.610000014, 1.04999995) | |
1145 | o11.CFrame = CFrame.new(18.4208965, 1.72294354, 11.5044537, 1, -0.000181492287, 7.22773766e-05, 0.000181477895, 0.99999994, 0.000198908368, -7.23134726e-05, -0.000198895257, 1) | |
1146 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1147 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1148 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1149 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1150 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1151 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1152 | o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1153 | o11.Position = Vector3.new(18.4208965, 1.72294354, 11.5044537) | |
1154 | o12.Parent = o1 | |
1155 | o12.Material = Enum.Material.Granite | |
1156 | o12.BrickColor = BrickColor.new("Really black") | |
1157 | o12.Position = Vector3.new(18.42103, 0.989643753, 11.5045996) | |
1158 | o12.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
1159 | o12.Size = Vector3.new(1.08999991, 0.610000014, 1.04999995) | |
1160 | o12.CFrame = CFrame.new(18.42103, 0.989643753, 11.5045996, 1, -0.000181492287, 7.22773766e-05, 0.000181477895, 0.99999994, 0.000198908368, -7.23134726e-05, -0.000198895257, 1) | |
1161 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1162 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1163 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1164 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1165 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1166 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1167 | o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1168 | o12.Position = Vector3.new(18.42103, 0.989643753, 11.5045996) | |
1169 | o13.Parent = o1 | |
1170 | o13.Material = Enum.Material.Granite | |
1171 | o13.BrickColor = BrickColor.new("Really black") | |
1172 | o13.Position = Vector3.new(18.4211369, 0.400160372, 11.5047169) | |
1173 | o13.Rotation = Vector3.new(-0.00999999978, 0, 0.00999999978) | |
1174 | o13.Size = Vector3.new(1.08999991, 0.329999954, 1.04999995) | |
1175 | o13.CFrame = CFrame.new(18.4211369, 0.400160372, 11.5047169, 1, -0.000181492287, 7.22773766e-05, 0.000181477895, 0.99999994, 0.000198908368, -7.23134726e-05, -0.000198895257, 1) | |
1176 | o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1177 | o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1178 | o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1179 | o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1180 | o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1181 | o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1182 | o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1183 | o13.Position = Vector3.new(18.4211369, 0.400160372, 11.5047169) | |
1184 | o14.Name = "Star" | |
1185 | o14.Parent = o1 | |
1186 | o15.Parent = o14 | |
1187 | o15.Material = Enum.Material.Granite | |
1188 | - | o15.BrickColor = BrickColor.new("Deep orange") |
1188 | + | o15.BrickColor = BrickColor.new("Dark blue") |
1189 | o15.Position = Vector3.new(18.2357159, 2.01186991, 11.4873304) | |
1190 | o15.Rotation = Vector3.new(-0.00999999978, -17, 0.00999999978) | |
1191 | o15.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
1192 | o15.CFrame = CFrame.new(18.2357159, 2.01186991, 11.4873304, 0.956327975, -0.000181492287, -0.292295873, 0.000231702375, 0.99999994, 0.000137159645, 0.292295843, -0.000198895257, 0.956327975) | |
1193 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1194 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1195 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1196 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1197 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1198 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1199 | o15.Color = Color3.new(1, 0.686275, 0) | |
1200 | o15.Position = Vector3.new(18.2357159, 2.01186991, 11.4873304) | |
1201 | o16.Name = "MainWeld" | |
1202 | o16.Parent = o15 | |
1203 | o16.C0 = CFrame.new(0.295556068, 0, -0.0674219131, 0.788021266, 0, 0.615649581, 0, 1, 0, -0.615650117, 0, 0.78802079) | |
1204 | o16.Part0 = o15 | |
1205 | o16.Part1 = o20 | |
1206 | o17.Name = "MainWeld" | |
1207 | o17.Parent = o15 | |
1208 | o17.C0 = CFrame.new(0.194046021, 0, -0.131924629, -0.190776467, 0, 0.981634915, 0, 1, 0, -0.981634796, 0, -0.190776095) | |
1209 | o17.Part0 = o15 | |
1210 | o17.Part1 = o22 | |
1211 | o18.Name = "MainWeld" | |
1212 | o18.Parent = o15 | |
1213 | o18.C0 = CFrame.new(0.129232407, 0, 0.138762474, 0.34205988, 0, 0.939684212, 0, 1, 0, -0.939682126, 0, 0.34206447) | |
1214 | o18.Part0 = o15 | |
1215 | o18.Part1 = o21 | |
1216 | o19.Name = "MainWeld" | |
1217 | o19.Parent = o15 | |
1218 | o19.C0 = CFrame.new(0.322481155, 0, 0.131917953, -0.754688084, 0, 0.656095028, 0, 1, 0, -0.656095028, 0, -0.754688084) | |
1219 | o19.Part0 = o15 | |
1220 | o19.Part1 = o23 | |
1221 | o20.Parent = o14 | |
1222 | o20.Material = Enum.Material.Granite | |
1223 | - | o20.BrickColor = BrickColor.new("Deep orange") |
1223 | + | o20.BrickColor = BrickColor.new("Dark blue") |
1224 | o20.Position = Vector3.new(18.5380745, 2.01192904, 11.509243) | |
1225 | o20.Rotation = Vector3.new(-0.0199999996, 21, 0.00999999978) | |
1226 | o20.Size = Vector3.new(0.0500000119, 0.0500000007, 1) | |
1227 | o20.CFrame = CFrame.new(18.5380745, 2.01192904, 11.509243, 0.93355751, -0.000181492287, 0.358427644, 9.81439371e-05, 0.99999994, 0.000250732031, -0.358427614, -0.000198895257, 0.93355757) | |
1228 | o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1229 | o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1230 | o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1231 | o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1232 | o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1233 | o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1234 | o20.Color = Color3.new(1, 0.686275, 0) | |
1235 | o20.Position = Vector3.new(18.5380745, 2.01192904, 11.509243) | |
1236 | o21.Parent = o14 | |
1237 | o21.Material = Enum.Material.Granite | |
1238 | - | o21.BrickColor = BrickColor.new("Deep orange") |
1238 | + | o21.BrickColor = BrickColor.new("Dark blue") |
1239 | o21.Position = Vector3.new(18.3187447, 2.01191854, 11.6578102) | |
1240 | o21.Rotation = Vector3.new(-0.0299999993, 53, 0.0199999996) | |
1241 | o21.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
1242 | o21.CFrame = CFrame.new(18.3187447, 2.01191854, 11.6578102, 0.601784408, -0.000181492287, 0.798658609, -4.96301873e-05, 0.99999994, 0.000264642411, -0.798658609, -0.000198895257, 0.601784348) | |
1243 | o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1244 | o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1245 | o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1246 | o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1247 | o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1248 | o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1249 | o21.Color = Color3.new(1, 0.686275, 0) | |
1250 | o21.Position = Vector3.new(18.3187447, 2.01191854, 11.6578102) | |
1251 | o22.Parent = o14 | |
1252 | o22.Material = Enum.Material.Granite | |
1253 | - | o22.BrickColor = BrickColor.new("Deep orange") |
1253 | + | o22.BrickColor = BrickColor.new("Dark blue") |
1254 | o22.Position = Vector3.new(18.4598503, 2.01189661, 11.4178848) | |
1255 | o22.Rotation = Vector3.new(-0.109999999, 84, 0.100000001) | |
1256 | o22.Size = Vector3.new(0.0500000007, 0.0500000007, 1) | |
1257 | o22.CFrame = CFrame.new(18.4598503, 2.01189661, 11.4178848, 0.1044828, -0.000181492287, 0.994526684, -0.000178843824, 0.99999994, 0.00020128004, -0.994526744, -0.000198895257, 0.104482748) | |
1258 | o22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1259 | o22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1260 | o22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1261 | o22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1262 | o22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1263 | o22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1264 | o22.Color = Color3.new(1, 0.686275, 0) | |
1265 | o22.Position = Vector3.new(18.4598503, 2.01189661, 11.4178848) | |
1266 | o23.Parent = o14 | |
1267 | o23.Material = Enum.Material.Granite | |
1268 | - | o23.BrickColor = BrickColor.new("Deep orange") |
1268 | + | o23.BrickColor = BrickColor.new("Dark blue") |
1269 | o23.Position = Vector3.new(18.505558, 2.01196241, 11.7077503) | |
1270 | o23.Rotation = Vector3.new(-179.990005, 58, 179.979996) | |
1271 | o23.Size = Vector3.new(0.0500000007, 0.0500000007, 0.930000067) | |
1272 | o23.CFrame = CFrame.new(18.505558, 2.01196241, 11.7077503, -0.529955387, -0.000181492287, 0.848034203, -0.000264852803, 0.99999994, 4.85060373e-05, -0.848034203, -0.000198895257, -0.529955447) | |
1273 | o23.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1274 | o23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1275 | o23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1276 | o23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1277 | o23.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1278 | o23.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1279 | o23.Color = Color3.new(1, 0.686275, 0) | |
1280 | o23.Position = Vector3.new(18.505558, 2.01196241, 11.7077503) | |
1281 | mas.Parent = workspace | |
1282 | mas:MakeJoints() | |
1283 | local mas1 = mas:GetChildren() | |
1284 | for i=1,#mas1 do | |
1285 | mas1[i].Parent = workspace | |
1286 | ypcall(function() mas1[i]:MakeJoints() end) | |
1287 | end | |
1288 | mas:Destroy() | |
1289 | for i=1,#cors do | |
1290 | coroutine.resume(cors[i]) | |
1291 | end | |
1292 | ||
1293 | wait() | |
1294 | ||
1295 | workspace["LeftArm"].Parent = game.Players.LocalPlayer.Character | |
1296 | ||
1297 | game.Players.LocalPlayer.Character["LeftArm"].Name = "Familiar Left Arm" | |
1298 | ||
1299 | w = Instance.new("Weld", game.Players.LocalPlayer.Character["Left Arm"]) | |
1300 | w.Part0 = game.Players.LocalPlayer.Character["Left Arm"] | |
1301 | w.Part1 = o2 | |
1302 | w.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0) | |
1303 | game.Players.LocalPlayer.Character["Left Arm"].Transparency = 1 | |
1304 | ||
1305 | for i,v in pairs (game.Players.LocalPlayer.Character["Familiar Left Arm"]:GetChildren()) do | |
1306 | if v.ClassName == "Part" then | |
1307 | v.CanCollide = false | |
1308 | v.Anchored = false | |
1309 | end | |
1310 | end | |
1311 | ||
1312 | ||
1313 | ||
1314 | ||
1315 | function smooth(obj) | |
1316 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
1317 | for i,v in pairs(sides) do | |
1318 | obj[v.."Surface"] = "SmoothNoOutlines" | |
1319 | end | |
1320 | end | |
1321 | function fade(obj, dest, grow) | |
1322 | spawn(function() | |
1323 | local oldcf = obj.CFrame | |
1324 | for i = 0, 10 do | |
1325 | if grow then | |
1326 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
1327 | obj.CFrame = oldcf | |
1328 | end | |
1329 | obj.Transparency = obj.Transparency +0.1 | |
1330 | Swait() | |
1331 | end | |
1332 | if dest then | |
1333 | obj:Destroy() | |
1334 | end | |
1335 | end) | |
1336 | end | |
1337 | ||
1338 | ||
1339 | ||
1340 | ||
1341 | ||
1342 | IT = Instance.new | |
1343 | CF = CFrame.new | |
1344 | VT = Vector3.new | |
1345 | RAD = math.rad | |
1346 | C3 = Color3.new | |
1347 | UD2 = UDim2.new | |
1348 | BRICKC = BrickColor.new | |
1349 | ANGLES = CFrame.Angles | |
1350 | EULER = CFrame.fromEulerAnglesXYZ | |
1351 | COS = math.cos | |
1352 | ACOS = math.acos | |
1353 | SIN = math.sin | |
1354 | ASIN = math.asin | |
1355 | ABS = math.abs | |
1356 | MRANDOM = math.random | |
1357 | FLOOR = math.floor | |
1358 | ||
1359 | ||
1360 | function NoOutlines(PART) | |
1361 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
1362 | end | |
1363 | ||
1364 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) | |
1365 | local NEWPART = IT("Part") | |
1366 | NEWPART.formFactor = FORMFACTOR | |
1367 | NEWPART.Reflectance = REFLECTANCE | |
1368 | NEWPART.Transparency = TRANSPARENCY | |
1369 | NEWPART.CanCollide = false | |
1370 | NEWPART.Locked = true | |
1371 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
1372 | NEWPART.Name = NAME | |
1373 | NEWPART.Size = SIZE | |
1374 | NEWPART.Position = Torso.Position | |
1375 | NoOutlines(NEWPART) | |
1376 | NEWPART.Material = MATERIAL | |
1377 | NEWPART:BreakJoints() | |
1378 | NEWPART.Parent = PARENT | |
1379 | return NEWPART | |
1380 | end | |
1381 | ||
1382 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
1383 | coroutine.resume(coroutine.create(function() | |
1384 | local NEWSOUND = IT("Sound", PARENT) | |
1385 | NEWSOUND.Volume = VOLUME | |
1386 | NEWSOUND.Pitch = PITCH | |
1387 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1388 | Swait() | |
1389 | NEWSOUND:play() | |
1390 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
1391 | end)) | |
1392 | end | |
1393 | ||
1394 | ||
1395 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
1396 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
1397 | end | |
1398 | ||
1399 | function FirePillar(POSITION1, POSITION2, SIZE, RISE, RANGE, LOWDAMAGE, HIGHDAMAGE, LASTINGTIME) | |
1400 | local POS1 = POSITION1 | |
1401 | local POS2 = POSITION2 | |
1402 | local MOUSELOOK = CF((POS1 + POS2) / 2, POS2) | |
1403 | local FIREPILLARHITSOUNDS = {"171378971", --[["646619365",--]] "472579737"--[[, "144140670"--]]} | |
1404 | - | local FIREPILLARCOLORS = {"Really black", "Black", "Deep orange"} |
1404 | + | local FIREPILLARCOLORS = {"Really black", "Black", "Dark blue"} |
1405 | local FIREPILLAR1HIT, FIREPILLAR1POS = Raycast(POS1, MOUSELOOK.lookVector, RANGE * Player_Size, Character) | |
1406 | local FirePillarRefpart1 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
1407 | FirePillarRefpart1.Anchored = true | |
1408 | FirePillarRefpart1.CFrame = CF(FIREPILLAR1POS) * CF(0, 10, 0) | |
1409 | game:GetService("Debris"):AddItem(FirePillarRefpart1, 5) | |
1410 | local FIREPILLAR2HIT, FIREPILLAR2POS = Raycast(FirePillarRefpart1.Position, CF(FirePillarRefpart1.Position, FirePillarRefpart1.Position + VT(0, -1, 0)).lookVector, 999, Character) | |
1411 | if FIREPILLAR2HIT ~= nil then | |
1412 | FirePillarRefpart1.Parent = nil | |
1413 | local FirePillarRefpart2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
1414 | FirePillarRefpart2.Anchored = true | |
1415 | FirePillarRefpart2.CFrame = CF(FIREPILLAR2POS) | |
1416 | game:GetService("Debris"):AddItem(FirePillarRefpart2, 5) | |
1417 | CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], FirePillarRefpart2, 1.2, MRANDOM(11, 13) / 10) | |
1418 | for i = 1, MRANDOM(5, 10) do | |
1419 | MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-60, 60)), 0, RAD(MRANDOM(-60, 60))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 30, 30, 30, 0, 0, 0, MRANDOM(3, 5) / 100) | |
1420 | end | |
1421 | for i = 1, MRANDOM(15, 20) do | |
1422 | local FIREEFFECTSIZE = MRANDOM(1, 2) | |
1423 | MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame, CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-20, 20)), 0), VT(MRANDOM(SIZE / 6, SIZE / 4), 0, 0), FIREEFFECTSIZE, FIREEFFECTSIZE, FIREEFFECTSIZE, -0.02, -0.02, -0.02, MRANDOM(1, 2) / 100) | |
1424 | end | |
1425 | MagicCylinder("Really black", "Neon", CF(FIREPILLAR2POS), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, 0, 1.5, LASTINGTIME) | |
1426 | MagicSphere("Really black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, RISE, 1.5, LASTINGTIME) | |
1427 | MagicSphere("Black", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.5, 0.1, SIZE * 0.5, 1.5, RISE * 0.75, 1.5, LASTINGTIME) | |
1428 | MagicSphere("Dark indigo", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.25, 0.1, SIZE * 0.25, 1.5, RISE * 0.375, 1.5, LASTINGTIME) | |
1429 | MagnitudeDamage("", "", "", "", 10, 10, 10, 1, FirePillarRefpart2, SIZE / 3, false, LOWDAMAGE, HIGHDAMAGE, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, "Movement", -0.1, 3, true) | |
1430 | end | |
1431 | end | |
1432 | ||
1433 | ||
1434 | ||
1435 | ||
1436 | ||
1437 | mouse.KeyDown:connect(function(key) | |
1438 | if key == "b" then | |
1439 | hum.WalkSpeed = 0 | |
1440 | if Debounces.CanAttack == true then | |
1441 | Debounces.CanAttack = false | |
1442 | Debounces.NoIdl = true | |
1443 | Debounces.on = true | |
1444 | v = Instance.new("Sound") | |
1445 | v.SoundId = "http://www.roblox.com/asset/?id=800952230" | |
1446 | v.Parent = char | |
1447 | v.Looped = false | |
1448 | v.Pitch = 1 | |
1449 | v.Volume = 3000 | |
1450 | ||
1451 | wait() | |
1452 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1) | |
1453 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1) | |
1454 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1) | |
1455 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1) | |
1456 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1) | |
1457 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1) | |
1458 | if Debounces.on == false then | |
1459 | end | |
1460 | wait() | |
1461 | end | |
1462 | wait() | |
1463 | ||
1464 | v:Play() | |
1465 | ||
1466 | for i = 1, 15 do | |
1467 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1468 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1469 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1470 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1471 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1472 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1473 | if Debounces.on == false then | |
1474 | break | |
1475 | end | |
1476 | wait() | |
1477 | end | |
1478 | for i = 1, 15 do | |
1479 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1480 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1481 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1482 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1483 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1484 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1485 | if Debounces.on == false then | |
1486 | break | |
1487 | end | |
1488 | wait() | |
1489 | end | |
1490 | for i = 1, 15 do | |
1491 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1492 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1493 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1494 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1495 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1496 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1497 | if Debounces.on == false then | |
1498 | break | |
1499 | end | |
1500 | wait() | |
1501 | end | |
1502 | for i = 1, 15 do | |
1503 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1505 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1506 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1507 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1508 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1509 | if Debounces.on == false then | |
1510 | break | |
1511 | end | |
1512 | wait() | |
1513 | end | |
1514 | for i = 1, 15 do | |
1515 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2) | |
1516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2) | |
1517 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1) | |
1518 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2) | |
1519 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1) | |
1520 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1521 | if Debounces.on == false then | |
1522 | break | |
1523 | end | |
1524 | wait() | |
1525 | end | |
1526 | for i = 1, 10 do | |
1527 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2) | |
1528 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2) | |
1529 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1) | |
1530 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2) | |
1531 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1532 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1) | |
1533 | if Debounces.on == false then | |
1534 | break | |
1535 | end | |
1536 | wait() | |
1537 | end | |
1538 | ||
1539 | wait(1.4) | |
1540 | Debounces.NoIdl = false | |
1541 | hum.WalkSpeed = 5 | |
1542 | Debounces.on = false | |
1543 | wait() | |
1544 | if Debounces.CanAttack == false then | |
1545 | Debounces.CanAttack = true | |
1546 | v:Destroy() | |
1547 | ||
1548 | end | |
1549 | end | |
1550 | end) | |
1551 | ||
1552 | ||
1553 | ||
1554 | ||
1555 | ||
1556 | ||
1557 | ||
1558 | ||
1559 | function Ragdoll(Format, Character, Force) | |
1560 | if Force ~= true then | |
1561 | if Character:FindFirstChild("Ragdoll") ~= nil and Format == true then | |
1562 | return false | |
1563 | end | |
1564 | if Character:FindFirstChild("Ragdoll") == nil and Format == false then | |
1565 | return false | |
1566 | end | |
1567 | end | |
1568 | local Head, Torso, Humanoid | |
1569 | local Dead = false | |
1570 | for _, Children in pairs(Character:GetChildren()) do | |
1571 | if Children.ClassName == "ForceField" then | |
1572 | Children:Remove() | |
1573 | end | |
1574 | if Children.Name == "" then | |
1575 | Children:Remove() | |
1576 | end | |
1577 | if Children.Name == "Head" then | |
1578 | Head = Children | |
1579 | end | |
1580 | if Children.Name == "Torso" then | |
1581 | Torso = Children | |
1582 | end | |
1583 | if Children.ClassName == "Humanoid" then | |
1584 | Humanoid = Children | |
1585 | end | |
1586 | if Children:IsA("Accoutrement") then | |
1587 | if Children:FindFirstChild("Handle") ~= nil then | |
1588 | if math.random(1, 3) == 1 then | |
1589 | coroutine.wrap(function() | |
1590 | Children.Parent = Workspace | |
1591 | wait() | |
1592 | Children.Parent = Character | |
1593 | Children.Handle.CanCollide = true | |
1594 | end)() | |
1595 | else | |
1596 | Children.Parent = Workspace | |
1597 | Children.Handle.CanCollide = true | |
1598 | end | |
1599 | else | |
1600 | Children:Remove() | |
1601 | end | |
1602 | end | |
1603 | end | |
1604 | if Humanoid ~= nil and Humanoid.Health <= 0 then | |
1605 | Dead = true | |
1606 | end | |
1607 | if Torso ~= nil then | |
1608 | for _, Children2 in pairs(Torso:GetChildren()) do | |
1609 | if Children2:IsA("JointInstance") then | |
1610 | Children2:Remove() | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | if Head ~= nil then | |
1615 | if (function() | |
1616 | if Dead == true and math.random(1, 2) == 1 then | |
1617 | return true | |
1618 | else | |
1619 | return false | |
1620 | end | |
1621 | end)() == false then | |
1622 | local Neck = Instance.new("Motor6D") | |
1623 | Neck.Name = "Neck" | |
1624 | Neck.Part0 = Torso | |
1625 | Neck.Part1 = Head | |
1626 | Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180)) | |
1627 | Neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180)) | |
1628 | Neck.MaxVelocity = 0.1 | |
1629 | Neck.Parent = Torso | |
1630 | end | |
1631 | end | |
1632 | if Format == true then | |
1633 | local Ragdoll = Instance.new("IntValue") | |
1634 | Ragdoll.Name = "Ragdoll" | |
1635 | Ragdoll.Parent = Character | |
1636 | if Torso ~= nil then | |
1637 | Torso.Velocity = Torso.Velocity / 1.25 | |
1638 | Torso.RotVelocity = Torso.RotVelocity / 1.25 + Head.CFrame.lookVector * 80 | |
1639 | if Dead == true and Humanoid ~= nil then | |
1640 | local Humanoid2 = Humanoid:Clone() | |
1641 | wait() | |
1642 | Humanoid:Remove() | |
1643 | Humanoid2.Parent = Character | |
1644 | Humanoid = Humanoid2 | |
1645 | end | |
1646 | local Limb = Character:FindFirstChild("Right Arm") | |
1647 | if Limb ~= nil then | |
1648 | Limb.Velocity = Torso.Velocity | |
1649 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
1650 | local Joint = Instance.new("Glue") | |
1651 | Joint.Name = "RightShoulder" | |
1652 | Joint.Part0 = Torso | |
1653 | Joint.Part1 = Limb | |
1654 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1655 | Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1656 | Joint.Parent = Torso | |
1657 | local Weight = Instance.new("Part") | |
1658 | Weight.Name = "" | |
1659 | Weight.TopSurface = 0 | |
1660 | Weight.BottomSurface = 0 | |
1661 | Weight.Shape = "Block" | |
1662 | Weight.FormFactor = "Custom" | |
1663 | Weight.Size = Vector3.new(1, 1, 1) | |
1664 | Weight.Transparency = 1 | |
1665 | Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1666 | Weight.Parent = Character | |
1667 | local Weld = Instance.new("Weld") | |
1668 | Weld.Part0 = Limb | |
1669 | Weld.Part1 = Weight | |
1670 | Weld.C0 = CFrame.new(0, -0.5, 0) | |
1671 | Weld.Parent = Limb | |
1672 | end | |
1673 | local Limb = Character:FindFirstChild("Left Arm") | |
1674 | if Limb then | |
1675 | Limb.Velocity = Torso.Velocity | |
1676 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
1677 | local Joint = Instance.new("Glue") | |
1678 | Joint.Name = "LeftShoulder" | |
1679 | Joint.Part0 = Torso | |
1680 | Joint.Part1 = Limb | |
1681 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1682 | Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1683 | Joint.Parent = Torso | |
1684 | local Weight = Instance.new("Part") | |
1685 | Weight.Name = "" | |
1686 | Weight.TopSurface = 0 | |
1687 | Weight.BottomSurface = 0 | |
1688 | Weight.Shape = "Block" | |
1689 | Weight.FormFactor = "Custom" | |
1690 | Weight.Size = Vector3.new(1, 1, 1) | |
1691 | Weight.Transparency = 1 | |
1692 | Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1693 | Weight.Parent = Character | |
1694 | local Weld = Instance.new("Weld") | |
1695 | Weld.Part0 = Limb | |
1696 | Weld.Part1 = Weight | |
1697 | Weld.C0 = CFrame.new(0, -0.5, 0) | |
1698 | Weld.Parent = Limb | |
1699 | end | |
1700 | local Limb = Character:FindFirstChild("Right Leg") | |
1701 | if Limb then | |
1702 | Limb.Velocity = Torso.Velocity | |
1703 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
1704 | local Joint = Instance.new("Glue") | |
1705 | Joint.Name = "RightHip" | |
1706 | Joint.Part0 = Torso | |
1707 | Joint.Part1 = Limb | |
1708 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1709 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1710 | Joint.Parent = Torso | |
1711 | local Weight = Instance.new("Part") | |
1712 | Weight.Name = "" | |
1713 | Weight.TopSurface = 0 | |
1714 | Weight.BottomSurface = 0 | |
1715 | Weight.Shape = "Block" | |
1716 | Weight.FormFactor = "Custom" | |
1717 | Weight.Size = Vector3.new(1, 1, 1) | |
1718 | Weight.Transparency = 1 | |
1719 | Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1720 | Weight.Parent = Character | |
1721 | local Weld = Instance.new("Weld") | |
1722 | Weld.Part0 = Limb | |
1723 | Weld.Part1 = Weight | |
1724 | Weld.C0 = CFrame.new(0, -0.5, 0) | |
1725 | Weld.Parent = Limb | |
1726 | end | |
1727 | local Limb = Character:FindFirstChild("Left Leg") | |
1728 | if Limb then | |
1729 | Limb.Velocity = Torso.Velocity | |
1730 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
1731 | local Joint = Instance.new("Glue") | |
1732 | Joint.Name = "LeftHip" | |
1733 | Joint.Part0 = Torso | |
1734 | Joint.Part1 = Limb | |
1735 | Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1736 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1737 | Joint.Parent = Torso | |
1738 | local Weight = Instance.new("Part") | |
1739 | Weight.Name = "" | |
1740 | Weight.TopSurface = 0 | |
1741 | Weight.BottomSurface = 0 | |
1742 | Weight.Shape = "Block" | |
1743 | Weight.FormFactor = "Custom" | |
1744 | Weight.Size = Vector3.new(1, 1, 1) | |
1745 | Weight.Transparency = 1 | |
1746 | Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1747 | Weight.Parent = Character | |
1748 | local Weld = Instance.new("Weld") | |
1749 | Weld.Part0 = Limb | |
1750 | Weld.Part1 = Weight | |
1751 | Weld.C0 = CFrame.new(0, -0.5, 0) | |
1752 | Weld.Parent = Limb | |
1753 | end | |
1754 | local Weight = Instance.new("Part") | |
1755 | Weight.Name = "" | |
1756 | Weight.TopSurface = 0 | |
1757 | Weight.BottomSurface = 0 | |
1758 | Weight.Shape = "Block" | |
1759 | Weight.FormFactor = "Custom" | |
1760 | Weight.Size = Vector3.new(1.75, 1.5, 1.1) | |
1761 | Weight.Transparency = 1 | |
1762 | Weight.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
1763 | Weight.Parent = Character | |
1764 | local Weld = Instance.new("Weld") | |
1765 | Weld.Part0 = Torso | |
1766 | Weld.Part1 = Weight | |
1767 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
1768 | Weld.Parent = Torso | |
1769 | end | |
1770 | elseif Format == false then | |
1771 | if Character:FindFirstChild("Ragdoll") ~= nil then | |
1772 | Character.Ragdoll:Remove() | |
1773 | end | |
1774 | if Torso ~= nil then | |
1775 | local Limb = Character:FindFirstChild("Right Arm") | |
1776 | if Limb ~= nil then | |
1777 | local Joint = Instance.new("Motor6D") | |
1778 | Joint.Name = "Right Shoulder" | |
1779 | Joint.Part0 = Torso | |
1780 | Joint.Part1 = Limb | |
1781 | Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1782 | Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1783 | Joint.MaxVelocity = 0.15 | |
1784 | Joint.Parent = Torso | |
1785 | end | |
1786 | local Limb = Character:FindFirstChild("Left Arm") | |
1787 | if Limb ~= nil then | |
1788 | local Joint = Instance.new("Motor6D") | |
1789 | Joint.Name = "Left Shoulder" | |
1790 | Joint.Part0 = Torso | |
1791 | Joint.Part1 = Limb | |
1792 | Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1793 | Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1794 | Joint.MaxVelocity = 0.15 | |
1795 | Joint.Parent = Torso | |
1796 | end | |
1797 | local Limb = Character:FindFirstChild("Right Leg") | |
1798 | if Limb ~= nil then | |
1799 | local Joint = Instance.new("Motor6D") | |
1800 | Joint.Name = "Right Hip" | |
1801 | Joint.Part0 = Torso | |
1802 | Joint.Part1 = Limb | |
1803 | Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1804 | Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
1805 | Joint.MaxVelocity = 0.1 | |
1806 | Joint.Parent = Torso | |
1807 | end | |
1808 | local Limb = Character:FindFirstChild("Left Leg") | |
1809 | if Limb ~= nil then | |
1810 | local Joint = Instance.new("Motor6D") | |
1811 | Joint.Name = "Left Hip" | |
1812 | Joint.Part0 = Torso | |
1813 | Joint.Part1 = Limb | |
1814 | Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1815 | Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
1816 | Joint.MaxVelocity = 0.1 | |
1817 | Joint.Parent = Torso | |
1818 | end | |
1819 | local Animate = Character:FindFirstChild("Animate") | |
1820 | if Animate ~= nil then | |
1821 | local Animate2 = Animate:Clone() | |
1822 | Animate:Remove() | |
1823 | Animate2.Parent = Character | |
1824 | end | |
1825 | end | |
1826 | else | |
1827 | return false | |
1828 | end | |
1829 | return true, Format | |
1830 | end | |
1831 | ||
1832 | ||
1833 | ||
1834 | ||
1835 | ||
1836 | function weld5(part0, part1, c0, c1) | |
1837 | weeld=Instance.new("Weld", part0) | |
1838 | weeld.Part0=part0 | |
1839 | weeld.Part1=part1 | |
1840 | weeld.C0=c0 | |
1841 | weeld.C1=c1 | |
1842 | return weeld | |
1843 | end | |
1844 | ||
1845 | ||
1846 | ||
1847 | ||
1848 | ||
1849 | Grab = false | |
1850 | mouse.KeyDown:connect(function(key) | |
1851 | if key == "z" then | |
1852 | Debounces.on = true | |
1853 | Debounces.NoIdl = true | |
1854 | Debounces.ks = true | |
1855 | if Grab == false then | |
1856 | gp = nil | |
1857 | for i = 1, 20 do | |
1858 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
1859 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
1860 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
1861 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
1862 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
1863 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
1864 | if Debounces.on == false then break end | |
1865 | rs:wait(2) | |
1866 | end | |
1867 | con1=larm.Touched:connect(function(hit) -- this is grab | |
1868 | ht = hit.Parent | |
1869 | hum1=ht:FindFirstChild('Humanoid') | |
1870 | if hum1 ~= nil then | |
1871 | if Debounces.ks==true then | |
1872 | z = Instance.new("Sound",hed) | |
1873 | z.SoundId = "rbxassetid://200632821" | |
1874 | z.Volume = 1 | |
1875 | z:Play() | |
1876 | Debounces.ks=false | |
1877 | end | |
1878 | hum1.PlatformStand=true | |
1879 | gp = ht | |
1880 | Grab = true | |
1881 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
1882 | asd.Parent = larm | |
1883 | asd.Name = "asd" | |
1884 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
1885 | stanceToggle = "Grabbed" | |
1886 | ||
1887 | --[[elseif hum1 == nil then | |
1888 | con1:disconnect() | |
1889 | wait() return]]-- | |
1890 | end | |
1891 | end) | |
1892 | for i = 1, 20 do | |
1893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
1894 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
1895 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
1896 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
1897 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
1898 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
1899 | if Debounces.on == false then break end | |
1900 | rs:wait(2) | |
1901 | end | |
1902 | con1:disconnect() | |
1903 | Debounces.on = false | |
1904 | Debounces.NoIdl = false | |
1905 | elseif Grab == true then | |
1906 | Grab = false | |
1907 | --[[for i = 1, 16 do | |
1908 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
1909 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
1910 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
1911 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
1912 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
1913 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
1914 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
1915 | if Debounces.on == false then end | |
1916 | rs:wait() | |
1917 | end]]-- | |
1918 | for i = 1, 16 do | |
1919 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
1920 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3) | |
1921 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
1922 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
1923 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
1924 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
1925 | if Debounces.on == false then end | |
1926 | rs:wait() | |
1927 | end | |
1928 | Grabee = gp:FindFirstChild("Torso") | |
1929 | par,loc=workspace:FindPartOnRay(Ray.new(Character.Torso.Position,(Character.Torso.Position-(Character.Torso.Position-Vector3.new(0,2,0))).unit*-500),Character) | |
1930 | for i=1, 30 do | |
1931 | p=Instance.new("Part") | |
1932 | p.FrontSurface=par.TopSurface | |
1933 | p.Material=par.Material | |
1934 | p.BottomSurface=0 | |
1935 | p.Anchored=true p.CanCollide=false | |
1936 | p.BrickColor=par.BrickColor | |
1937 | p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5)) | |
1938 | 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) | |
1939 | p.Parent=Character | |
1940 | game:GetService("Debris"):AddItem(p,2+i*.1) | |
1941 | if math.random(1,5)==5 then | |
1942 | 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) | |
1943 | end | |
1944 | end | |
1945 | for i=1, 30 do | |
1946 | for i=1, 1 do | |
1947 | p=Instance.new("Part") | |
1948 | p.TopSurface=par.TopSurface | |
1949 | p.BottomSurface=par.BottomSurface | |
1950 | p.Material=par.Material | |
1951 | p.BottomSurface=0 | |
1952 | p.Anchored=false p.CanCollide=true | |
1953 | p.BrickColor=par.BrickColor | |
1954 | p.formFactor="Custom" | |
1955 | p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12) | |
1956 | 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) | |
1957 | p.Parent=Character | |
1958 | game:GetService("Debris"):AddItem(p,3+i*.1) | |
1959 | p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4) | |
1960 | p.RotVelocity=p.Velocity | |
1961 | if math.random(1,5)==5 then | |
1962 | 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) | |
1963 | end | |
1964 | end | |
1965 | Swait(.025) | |
1966 | end | |
1967 | ||
1968 | for i = 1, 13 do | |
1969 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
1970 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3) | |
1971 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
1972 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
1973 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
1974 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
1975 | if Debounces.on == false then end | |
1976 | rs:wait() | |
1977 | end | |
1978 | wait(0.3) | |
1979 | hum1:TakeDamage(math.random(10000020,10000030)) | |
1980 | if gp ~= nil then | |
1981 | for i,v in pairs(larm:GetChildren()) do | |
1982 | if v.Name == "asd" and v:IsA("Weld") then | |
1983 | v:Remove() | |
1984 | end | |
1985 | end | |
1986 | wait(0.3) | |
1987 | stanceToggle = "Idle1" | |
1988 | ||
1989 | ||
1990 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
1991 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
1992 | bv.P = 125000 | |
1993 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
1994 | ht=nil | |
1995 | Debounces.on = false | |
1996 | Debounces.NoIdl = false | |
1997 | elseif ht == nil then wait() | |
1998 | Grab = false | |
1999 | Debounces.on = false | |
2000 | Debounces.NoIdl = false | |
2001 | end | |
2002 | end | |
2003 | end | |
2004 | end) | |
2005 | ||
2006 | ||
2007 | ||
2008 | ||
2009 | ||
2010 | ||
2011 | mouse.KeyDown:connect(function(key) | |
2012 | if key == "q" then | |
2013 | Character.Humanoid.WalkSpeed = 0 | |
2014 | Debounces.on = true | |
2015 | Debounces.NoIdl = true | |
2016 | Debounces.ks = true | |
2017 | for i = 1, 20 do | |
2018 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.5,0,1.3), 0.2) | |
2019 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5) | |
2020 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,-1,0),0.2) | |
2021 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5) | |
2022 | if Debounces.on == false then break end | |
2023 | rs:wait() | |
2024 | end | |
2025 | local HitBox = Instance.new("Part",Character["Right Arm"]) | |
2026 | HitBox.Size = Vector3.new(3,3,3) | |
2027 | HitBox.Transparency = 1 | |
2028 | HitBox.CanCollide = false | |
2029 | local HitBox2 = Instance.new("Weld",HitBox) | |
2030 | HitBox2.Part0 = Character["Right Arm"] | |
2031 | HitBox2.Part1 = HitBox | |
2032 | HitBox2.C0 = CFrame.new(0,-1.1,0) | |
2033 | HitBox.Touched:connect(function(hit) | |
2034 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then | |
2035 | HitBox:remove() | |
2036 | hit.Parent.Head.Transparency = 1e9 | |
2037 | local SFXZ = Instance.new("Sound",hit.Parent.Torso) | |
2038 | SFXZ.SoundId = "rbxassetid://206082273" | |
2039 | SFXZ.Volume = 1 | |
2040 | SFXZ.Pitch = 1 | |
2041 | SFXZ.Looped = false | |
2042 | wait(0.01) | |
2043 | SFXZ:Play() | |
2044 | local HitBox = Instance.new("Part",Character["Right Arm"]) | |
2045 | HitBox.Transparency = 0 | |
2046 | HitBox.Size = Vector3.new(1,1,1) | |
2047 | HitBox.BrickColor = hit.Parent.Head.BrickColor | |
2048 | HitBox.CanCollide = false | |
2049 | local HitBoxM = Instance.new("SpecialMesh",HitBox) | |
2050 | HitBoxM.MeshType = "Head" | |
2051 | HitBoxM.Scale = Vector3.new(1.25,1.25,1.25) | |
2052 | local HitBox2 = Instance.new("Weld",HitBox) | |
2053 | HitBox2.Part0 = Character["Right Arm"] | |
2054 | HitBox2.Part1 = HitBox | |
2055 | HitBox2.C0 = CFrame.new(0,-1.1,0) | |
2056 | local D = Instance.new("Decal",HitBox) | |
2057 | D.Face = "Front" | |
2058 | D.Texture = hit.Parent.Head.face.Texture | |
2059 | hit.Parent.Head.face:remove() | |
2060 | local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso) | |
2061 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
2062 | partasdeff.LightEmission = .1 | |
2063 | partasdeff.Size = NumberSequence.new(0.2) | |
2064 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
2065 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
2066 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2067 | partasdeff.Transparency = bbb | |
2068 | partasdeff.Size = aaa | |
2069 | partasdeff.ZOffset = .9 | |
2070 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
2071 | partasdeff.LockedToPart = false | |
2072 | partasdeff.EmissionDirection = "Top" | |
2073 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
2074 | partasdeff.Rate = 1000 | |
2075 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
2076 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
2077 | partasdeff.Speed = NumberRange.new(10) | |
2078 | partasdeff.VelocitySpread = 20 | |
2079 | partasdeff.Enabled=true | |
2080 | hit.Parent.Head:remove() | |
2081 | wait(1) | |
2082 | for i = 1,14 do | |
2083 | HitBoxM.Scale = HitBoxM.Scale - Vector3.new(0.1,0.1,0.1) | |
2084 | game:GetService("RunService").RenderStepped:wait() | |
2085 | end | |
2086 | HitBox:remove() | |
2087 | wait(0.5) | |
2088 | partasdeff.Enabled = false | |
2089 | HitBox:remove() | |
2090 | Debounces.on = false | |
2091 | Debounces.NoIdl = false | |
2092 | Debounces.ks = false | |
2093 | Character.Humanoid.WalkSpeed = 16 | |
2094 | local a = Instance.new("Part",game.Players.LocalPlayer.Character.Head) | |
2095 | a.Transparency = 1 | |
2096 | a.Size = Vector3.new(.2,.2,.2) | |
2097 | local b = Instance.new("Weld",a.Parent.Parent) | |
2098 | b.Part0 = a | |
2099 | b.Part1 = a.Parent | |
2100 | b.C0 = CFrame.new(0,.3,0.65) | |
2101 | local p2mit = Instance.new("ParticleEmitter",a) | |
2102 | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
2103 | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
2104 | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)}) | |
2105 | p2mit.Lifetime = NumberRange.new(1) | |
2106 | p2mit.Rate = 10 | |
2107 | p2mit.VelocitySpread = 10 | |
2108 | p2mit.Acceleration = Vector3.new(0,-10,0) | |
2109 | p2mit.Speed = NumberRange.new(0) | |
2110 | coroutine.wrap(function() | |
2111 | wait(15) | |
2112 | p2mit.Enabled=false | |
2113 | game:service'Debris':AddItem(a,2) | |
2114 | end)() | |
2115 | end | |
2116 | end) | |
2117 | for i = 1, 20 do | |
2118 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(2.9,0,0), 0.2) | |
2119 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(0,0,0), 0.5) | |
2120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0,1,0),0.2) | |
2121 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(0,0,0), 0.5) | |
2122 | if Debounces.on == false then break end | |
2123 | fat.Event:wait() | |
2124 | end | |
2125 | wait(0.5) | |
2126 | HitBox:remove() | |
2127 | wait(3) | |
2128 | Debounces.on = false | |
2129 | Debounces.NoIdl = false | |
2130 | Debounces.ks = false | |
2131 | Character.Humanoid.WalkSpeed = 5 | |
2132 | end | |
2133 | end) | |
2134 | ||
2135 | Humanoid.WalkSpeed = 5 | |
2136 | ||
2137 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2138 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2139 | local List = {} | |
2140 | for i,v in pairs(workspace:GetChildren())do | |
2141 | if v:IsA("Model")then | |
2142 | if v:findFirstChild("Torso")then | |
2143 | if v ~= char then | |
2144 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2145 | table.insert(List,v) | |
2146 | end | |
2147 | end | |
2148 | end | |
2149 | end | |
2150 | end | |
2151 | return List | |
2152 | end | |
2153 | ||
2154 | ||
2155 | ||
2156 | ||
2157 | ||
2158 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2159 | local valuer = 5 | |
2160 | local valuer2 = 10 | |
2161 | local valuer3 = 15 | |
2162 | ||
2163 | ||
2164 | mouse.KeyDown:connect(function(key) | |
2165 | if key == "f" then | |
2166 | if Debounces.CanAttack == true then | |
2167 | Debounces.CanAttack = false | |
2168 | Debounces.NoIdl = true | |
2169 | Debounces.on = true | |
2170 | ||
2171 | ||
2172 | local en = Instance.new("Part",hed) | |
2173 | en.Material = "Neon" | |
2174 | - | en.BrickColor = BrickColor.new("Deep orange") |
2174 | + | en.BrickColor = BrickColor.new("Dark blue") |
2175 | en.CanCollide = false | |
2176 | en.Size = Vector3.new(.1,.1,.1) | |
2177 | en.Shape = "Ball" | |
2178 | en.TopSurface = "SmoothNoOutlines" | |
2179 | en.BottomSurface = "SmoothNoOutlines" | |
2180 | ||
2181 | for i = 1,200 do | |
2182 | en.Size = en.Size + Vector3.new(.01,.01,.01) | |
2183 | en.CFrame = hed.CFrame * CFrame.new(0,1.35,-0.86) | |
2184 | if Debounces.on == false then break end | |
2185 | rs:wait() | |
2186 | end | |
2187 | ||
2188 | en:Destroy() | |
2189 | wait(0.1) | |
2190 | local X = Instance.new("Part",char) | |
2191 | - | X.BrickColor = BrickColor.new("Deep orange") |
2191 | + | X.BrickColor = BrickColor.new("Dark blue") |
2192 | X.Name = "Shell" | |
2193 | X.Shape = "Ball" | |
2194 | X.Material = "Neon" | |
2195 | X.Size = Vector3.new(1,1,1) | |
2196 | X.CFrame = hed.CFrame * CFrame.new(0,1.35,-1.66) | |
2197 | local bv = Instance.new("BodyVelocity",X) | |
2198 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2199 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
2200 | bv.velocity = X.CFrame.lookVector*65 | |
2201 | ||
2202 | Explode = X.Touched:connect(function(hit) | |
2203 | if hit ~= char and hit.Name ~= "Shell" then | |
2204 | local cf = X.CFrame | |
2205 | bv:Destroy() | |
2206 | X.Anchored = true | |
2207 | Explode:disconnect() | |
2208 | X.Size = Vector3.new(3,3,3) | |
2209 | X.Touched:connect(function(hit) end) | |
2210 | X.CanCollide = false | |
2211 | X.Transparency = 1 | |
2212 | ||
2213 | local part3 = Instance.new("Part", rarm) | |
2214 | part3.Anchored=true | |
2215 | part3.CanCollide=false | |
2216 | part3.Locked = true | |
2217 | part3.TopSurface = "SmoothNoOutlines" | |
2218 | part3.BottomSurface = "SmoothNoOutlines" | |
2219 | part3.FormFactor='Custom' | |
2220 | part3.Size=Vector3.new(2,2, 2) | |
2221 | part3.CFrame=X.CFrame | |
2222 | part3.Transparency=0 | |
2223 | - | part3.BrickColor=BrickColor.new("Deep orange") |
2223 | + | part3.BrickColor=BrickColor.new("Dark blue") |
2224 | local mesh3 = Instance.new("SpecialMesh",part3) | |
2225 | mesh3.MeshType = "Sphere" | |
2226 | mesh3.Scale = Vector3.new(2,2,2) | |
2227 | --debris:AddItem(X,8) | |
2228 | local part4 = Instance.new("Part", rarm) | |
2229 | part4.Material = "Neon" | |
2230 | part4.Anchored=true | |
2231 | part4.CanCollide=false | |
2232 | part4.Locked = true | |
2233 | part4.TopSurface = "SmoothNoOutlines" | |
2234 | part4.BottomSurface = "SmoothNoOutlines" | |
2235 | part4.FormFactor='Custom' | |
2236 | part4.Size=Vector3.new(2,2, 2) | |
2237 | part4.CFrame=X.CFrame | |
2238 | part4.Transparency=0 | |
2239 | part4.BrickColor=BrickColor.new("Really black") | |
2240 | local mesh4 = Instance.new("SpecialMesh",part4) | |
2241 | mesh4.MeshType = "Sphere" | |
2242 | mesh4.Scale = Vector3.new(1,1,1) | |
2243 | local part7 = Instance.new("Part", rarm) | |
2244 | part7.Material = "Neon" | |
2245 | part7.Anchored=true | |
2246 | part7.CanCollide=false | |
2247 | part7.Locked = true | |
2248 | part7.TopSurface = "SmoothNoOutlines" | |
2249 | part7.BottomSurface = "SmoothNoOutlines" | |
2250 | part7.FormFactor='Custom' | |
2251 | part7.Size=Vector3.new(2,2, 2) | |
2252 | part7.CFrame=X.CFrame | |
2253 | part7.Transparency=0 | |
2254 | part7.BrickColor=BrickColor.new("Really black") | |
2255 | local mesh7 = Instance.new("SpecialMesh",part7) | |
2256 | mesh7.MeshType = "Sphere" | |
2257 | mesh7.Scale = Vector3.new(0.2, 0.2, 0.2) | |
2258 | --[[X.Touched:connect(function(ht) | |
2259 | hit = ht.Parent | |
2260 | if ht and hit:IsA("Model") then | |
2261 | if hit:FindFirstChild("Humanoid") then | |
2262 | if hit.Name ~= p.Name then | |
2263 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2264 | wait(.3) | |
2265 | end | |
2266 | end | |
2267 | elseif ht and hit:IsA("Hat") then | |
2268 | if hit.Parent.Name ~= p.Name then | |
2269 | if hit.Parent:FindFirstChild("Humanoid") then | |
2270 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2271 | wait(.3) | |
2272 | end | |
2273 | end | |
2274 | end | |
2275 | end) | |
2276 | part3.Touched:connect(function(ht) | |
2277 | hit = ht.Parent | |
2278 | if ht and hit:IsA("Model") then | |
2279 | if hit:FindFirstChild("Humanoid") then | |
2280 | if hit.Name ~= p.Name then | |
2281 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2282 | wait(.3) | |
2283 | end | |
2284 | end | |
2285 | elseif ht and hit:IsA("Hat") then | |
2286 | if hit.Parent.Name ~= p.Name then | |
2287 | if hit.Parent:FindFirstChild("Humanoid") then | |
2288 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
2289 | wait(.3) | |
2290 | end | |
2291 | end | |
2292 | end | |
2293 | end)]]-- | |
2294 | for i,v in pairs(FindNearestTorso(X.CFrame.p,50000))do | |
2295 | if v:FindFirstChild('Humanoid') then | |
2296 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
2297 | v.Humanoid.PlatformStand = true | |
2298 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200 | |
2299 | end | |
2300 | end | |
2301 | ||
2302 | local acos = math.acos | |
2303 | local sqrt = math.sqrt | |
2304 | local Vec3 = Vector3.new | |
2305 | local fromAxisAngle = CFrame.fromAxisAngle | |
2306 | ||
2307 | local function toAxisAngle(CFr) | |
2308 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
2309 | local Angle = math.acos((R00+R11+R22-1)/2) | |
2310 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2311 | A = A == 0 and 0.00001 or A | |
2312 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2313 | B = B == 0 and 0.00001 or B | |
2314 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2315 | C = C == 0 and 0.00001 or C | |
2316 | local x = (R21-R12)/sqrt(A) | |
2317 | local y = (R02-R20)/sqrt(B) | |
2318 | local z = (R10-R01)/sqrt(C) | |
2319 | return Vec3(x,y,z),Angle | |
2320 | end | |
2321 | ||
2322 | function ApplyTrig(Num,Func) | |
2323 | local Min,Max = Func(0),Func(1) | |
2324 | local i = Func(Num) | |
2325 | return (i-Min)/(Max-Min) | |
2326 | end | |
2327 | ||
2328 | function LerpCFrame(CFrame1,CFrame2,Num) | |
2329 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
2330 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
2331 | end | |
2332 | ||
2333 | function Crater(Torso,Radius) | |
2334 | Spawn(function() | |
2335 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
2336 | local Ignore = {} | |
2337 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2338 | if v.Character ~= nil then | |
2339 | Ignore[#Ignore+1] = v.Character | |
2340 | end | |
2341 | end | |
2342 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
2343 | if Hit == nil then return end | |
2344 | local Parts = {} | |
2345 | for i = 1,360,10 do | |
2346 | local P = Instance.new("Part",Torso.Parent) | |
2347 | P.Anchored = true | |
2348 | P.FormFactor = "Custom" | |
2349 | P.BrickColor = Hit.BrickColor | |
2350 | P.Material = Hit.Material | |
2351 | P.TopSurface = "Smooth" | |
2352 | P.BottomSurface = "Smooth" | |
2353 | P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100) | |
2354 | 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))) | |
2355 | 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} | |
2356 | if math.random(0,5) == 0 then -- rubble | |
2357 | local P = Instance.new("Part",Torso.Parent) | |
2358 | P.Anchored = true | |
2359 | P.FormFactor = "Custom" | |
2360 | P.BrickColor = Hit.BrickColor | |
2361 | P.Material = Hit.Material | |
2362 | P.TopSurface = "Smooth" | |
2363 | P.BottomSurface = "Smooth" | |
2364 | P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100) | |
2365 | 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))) | |
2366 | 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} | |
2367 | end | |
2368 | end | |
2369 | for i = 0,1,0.05 do | |
2370 | for i2,v in pairs(Parts) do | |
2371 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
2372 | end | |
2373 | wait(0.02) | |
2374 | end | |
2375 | for i,v in pairs(Parts) do | |
2376 | if v[1].Size.X > 2.1 then | |
2377 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
2378 | end | |
2379 | v[1].Anchored = false | |
2380 | end | |
2381 | for i = 0,1,0.05 do | |
2382 | for i2,v in pairs(Parts) do | |
2383 | v[1].Transparency = i | |
2384 | if i == 1 then | |
2385 | v[1]:Destroy() | |
2386 | elseif i >= 0.25 then | |
2387 | v[1].CanCollide = false | |
2388 | end | |
2389 | end | |
2390 | wait(0.02) | |
2391 | end | |
2392 | Parts = nil | |
2393 | end) | |
2394 | end | |
2395 | ||
2396 | ||
2397 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2398 | local p = Instance.new('Part',parent or Weapon) | |
2399 | p.formFactor = 'Custom' | |
2400 | p.Size = Vector3.new(x,y,z) | |
2401 | p.BrickColor = BrickColor.new(color) | |
2402 | p.CanCollide = cc | |
2403 | p.Transparency = tr | |
2404 | p.Anchored = an | |
2405 | p.TopSurface,p.BottomSurface = 0,0 | |
2406 | p.Locked=true | |
2407 | p:BreakJoints() | |
2408 | return p end | |
2409 | ||
2410 | Mesh = function(par,num,x,y,z) | |
2411 | local msh = _ | |
2412 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2413 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2414 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2415 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2416 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2417 | end msh.Scale = Vector3.new(x,y,z) | |
2418 | return msh end | |
2419 | ||
2420 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2421 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2422 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2423 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2424 | v1,v2,v3=sz.x,sz.y,sz.z | |
2425 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2426 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2427 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2428 | a.CFrame=cfr | |
2429 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2430 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2431 | ||
2432 | Spawn(function() | |
2433 | while wait() do | |
2434 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2435 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2436 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2437 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2438 | a.Transparency=a.Transparency+0.05 | |
2439 | a2.Transparency=a2.Transparency+0.05 | |
2440 | a3.Transparency=a3.Transparency+0.05 | |
2441 | end | |
2442 | end) | |
2443 | end | |
2444 | ||
2445 | Crater(X,120) | |
2446 | Crater(X,220) | |
2447 | Crater(X,320) | |
2448 | z = Instance.new("Sound",workspace) | |
2449 | z.SoundId = "rbxassetid://231917744" | |
2450 | z.Pitch = .5 | |
2451 | z.Volume = 5 | |
2452 | z1 = Instance.new("Sound",workspace) | |
2453 | z1.SoundId = "rbxassetid://231917744" | |
2454 | z1.Pitch = .5 | |
2455 | z1.Volume = 5 | |
2456 | z2 = Instance.new("Sound",workspace) | |
2457 | z2.SoundId = "rbxassetid://231917744" | |
2458 | z2.Pitch = .5 | |
2459 | z2.Volume = 5 | |
2460 | z3 = Instance.new("Sound",workspace) | |
2461 | z3.SoundId = "rbxassetid://245537790" | |
2462 | z3.Pitch = .7 | |
2463 | z3.Volume = 5 | |
2464 | z4 = Instance.new("Sound",workspace) | |
2465 | z4.SoundId = "rbxassetid://245537790" | |
2466 | z4.Pitch = .7 | |
2467 | z4.Volume = 5 | |
2468 | z4a = Instance.new("Sound",workspace) | |
2469 | z4a.SoundId = "rbxassetid://419447292" | |
2470 | z4a.Pitch = 1 | |
2471 | z4a.Volume = 5 | |
2472 | z3a = Instance.new("Sound",workspace) | |
2473 | z3a.SoundId = "rbxassetid://421328847" | |
2474 | z3a.Pitch = 1 | |
2475 | z3a.Volume = 5 | |
2476 | wait(0.1) | |
2477 | z:Play() | |
2478 | z1:Play() | |
2479 | z2:Play() | |
2480 | z3:Play() | |
2481 | z4:Play() | |
2482 | z3a:Play() | |
2483 | z4a:Play() | |
2484 | ||
2485 | local part=Instance.new('Part',rarm) | |
2486 | part.Anchored=true | |
2487 | part.CanCollide=false | |
2488 | part.Locked = true | |
2489 | part.FormFactor='Custom' | |
2490 | part.Size=Vector3.new(2,2,2) | |
2491 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2492 | part.Transparency=0 | |
2493 | part.BrickColor=BrickColor.new('Really black') | |
2494 | local mesh=Instance.new('SpecialMesh',part) | |
2495 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2496 | mesh.Scale=Vector3.new(4,4,4) | |
2497 | local part2=part:clone() | |
2498 | part2.Parent = rarm | |
2499 | - | part2.BrickColor=BrickColor.new("Deep orange") |
2499 | + | part2.BrickColor=BrickColor.new("Dark blue") |
2500 | local part5=part:clone() | |
2501 | part5.Parent = rarm | |
2502 | - | part5.BrickColor=BrickColor.new("Deep orange") |
2502 | + | part5.BrickColor=BrickColor.new("Dark blue") |
2503 | local part6=part:clone() | |
2504 | part6.Parent = rarm | |
2505 | - | part6.BrickColor=BrickColor.new("Deep orange") |
2505 | + | part6.BrickColor=BrickColor.new("Dark blue") |
2506 | local mesh2=mesh:clone() | |
2507 | mesh2.Parent=part2 | |
2508 | mesh2.Scale=Vector3.new(6, 6, 6) | |
2509 | local mesh5=mesh:clone() | |
2510 | mesh5.Parent=part5 | |
2511 | mesh5.Scale=Vector3.new(6, 6, 6) | |
2512 | local mesh6=mesh:clone() | |
2513 | mesh6.Parent=part6 | |
2514 | mesh6.Scale=Vector3.new(6, 6, 6) | |
2515 | local blast = Instance.new("Part", rarm) | |
2516 | blast.BrickColor = BrickColor.new("Really black") | |
2517 | blast.Anchored = true | |
2518 | blast.CanCollide = false | |
2519 | blast.Locked = true | |
2520 | blast.Size = Vector3.new(2, 2, 2) | |
2521 | blast.TopSurface = "Smooth" | |
2522 | blast.BottomSurface = "Smooth" | |
2523 | blast.Transparency = 0 | |
2524 | blast.CFrame = HandCF | |
2525 | local bm = Instance.new("SpecialMesh", blast) | |
2526 | bm.Scale = Vector3.new(10,2,10) | |
2527 | bm.MeshId = "rbxassetid://3270017" | |
2528 | local blast2 = Instance.new("Part", rarm) | |
2529 | blast2.BrickColor = BrickColor.new("Really black") | |
2530 | blast2.Anchored = true | |
2531 | blast2.CanCollide = false | |
2532 | blast2.Locked = true | |
2533 | blast2.Size = Vector3.new(2, 2, 2) | |
2534 | blast2.TopSurface = "Smooth" | |
2535 | blast2.BottomSurface = "Smooth" | |
2536 | blast2.Transparency = 0 | |
2537 | blast2.CFrame = HandCF | |
2538 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2539 | bm2.Scale = Vector3.new(6,2,6) | |
2540 | bm2.MeshId = "rbxassetid://3270017" | |
2541 | local blast3 = Instance.new("Part", rarm) | |
2542 | blast3.BrickColor = BrickColor.new("Really black") | |
2543 | blast3.Anchored = true | |
2544 | blast3.CanCollide = false | |
2545 | blast3.Locked = true | |
2546 | blast3.Size = Vector3.new(1, 1, 1) | |
2547 | blast3.TopSurface = "Smooth" | |
2548 | blast3.BottomSurface = "Smooth" | |
2549 | blast3.Transparency = 0 | |
2550 | blast3.CFrame = HandCF | |
2551 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2552 | bm3.Scale = Vector3.new(6,2,6) | |
2553 | bm3.MeshId = "rbxassetid://3270017" | |
2554 | for i = 1,120 do rs:wait() | |
2555 | X.Transparency = X.Transparency + (1/120) | |
2556 | part.Transparency = part.Transparency + (1/120) | |
2557 | part2.Transparency = part2.Transparency + (1/120) | |
2558 | part3.Transparency = part3.Transparency + (1/120) | |
2559 | part4.Transparency = part4.Transparency + (1/120) | |
2560 | part5.Transparency = part5.Transparency + (1/120) | |
2561 | part6.Transparency = part6.Transparency + (1/120) | |
2562 | part7.Transparency = part7.Transparency + (1/120) | |
2563 | blast.Transparency = blast.Transparency + (1/120) | |
2564 | blast2.Transparency = blast2.Transparency + (1/120) | |
2565 | blast3.Transparency = blast3.Transparency + (1/120) | |
2566 | X.Size = X.Size + Vector3.new(1.6,1.6,1.6) | |
2567 | --part3.Size = part3.Size + Vector3.new(6,6,6) | |
2568 | mesh.Scale = mesh.Scale + Vector3.new(2,.4,2) | |
2569 | mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2) | |
2570 | mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6) | |
2571 | mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4) | |
2572 | mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2) | |
2573 | mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4) | |
2574 | mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8) | |
2575 | bm.Scale = bm.Scale + Vector3.new(12,12,.4) | |
2576 | bm2.Scale = bm2.Scale + Vector3.new(8,8,.4) | |
2577 | bm3.Scale = bm3.Scale + Vector3.new(8,8,.4) | |
2578 | X.CFrame = cf | |
2579 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2580 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2581 | part3.CFrame=X.CFrame | |
2582 | part4.CFrame=X.CFrame | |
2583 | part7.CFrame=X.CFrame | |
2584 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2585 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2586 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2587 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2588 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2589 | rs:wait() | |
2590 | end | |
2591 | X:Destroy() | |
2592 | part:Destroy() | |
2593 | part2:Destroy() | |
2594 | part3:Destroy() | |
2595 | part4:Destroy() | |
2596 | part5:Destroy() | |
2597 | part6:Destroy() | |
2598 | blast:Destroy() | |
2599 | blast2:Destroy() | |
2600 | blast3:Destroy() | |
2601 | z:Destroy() | |
2602 | z1:Destroy() | |
2603 | z2:Destroy() | |
2604 | z3:Destroy() | |
2605 | z4:Destroy() | |
2606 | end | |
2607 | end) | |
2608 | ||
2609 | ||
2610 | if Debounces.CanAttack == false then | |
2611 | Debounces.CanAttack = true | |
2612 | Debounces.NoIdl = false | |
2613 | Debounces.on = false | |
2614 | end | |
2615 | end | |
2616 | end | |
2617 | end) | |
2618 | ||
2619 | ||
2620 | ||
2621 | ||
2622 | ||
2623 | ||
2624 | ||
2625 | function Throw() | |
2626 | if Grab == true then | |
2627 | Grab = false | |
2628 | stanceToggle = "Normal" | |
2629 | for i = 1, 16 do | |
2630 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
2631 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3) | |
2632 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
2633 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
2634 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
2635 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
2636 | if Debounces.on == false then end | |
2637 | rs:wait() | |
2638 | end | |
2639 | for i = 1, 16 do | |
2640 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(20)), 0.3) | |
2641 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1.5,-.4)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(20)), 0.3) | |
2642 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(-10),0), 0.3) | |
2643 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3) | |
2644 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
2645 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(-15), math.rad(20)), 0.3) | |
2646 | if Debounces.on == false then end | |
2647 | rs:wait() | |
2648 | end | |
2649 | ||
2650 | ||
2651 | z3 = Instance.new("Sound",torso) | |
2652 | z3.SoundId = "rbxassetid://200632136" | |
2653 | z3.Pitch = 0.7 | |
2654 | z3.Volume = 14 | |
2655 | z3:Play() | |
2656 | ||
2657 | for i,v in pairs(larm:GetChildren()) do | |
2658 | if v.Name == "asd" and v:IsA("Weld") then | |
2659 | v:Remove() | |
2660 | end | |
2661 | end | |
2662 | ||
2663 | Ragdoll(true,gp) | |
2664 | bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2665 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2666 | bv.P = 125000 | |
2667 | bv.velocity = char.Head.CFrame.lookVector * 70 | |
2668 | ||
2669 | ||
2670 | ||
2671 | for i = 1, 12 do | |
2672 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6, 0, -.75)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(20)), 0.5) | |
2673 | if Debounces.on == false then end | |
2674 | wait() | |
2675 | end | |
2676 | ht=nil | |
2677 | Spawn(function() | |
2678 | wait(0.5) | |
2679 | bv:Destroy() | |
2680 | end) | |
2681 | stanceToggle = "Idle1" | |
2682 | Debounces.on = false | |
2683 | Debounces.NoIdl = false | |
2684 | elseif ht == nil then wait() | |
2685 | Grab = false | |
2686 | Debounces.on = false | |
2687 | Debounces.NoIdl = false | |
2688 | end | |
2689 | end | |
2690 | ||
2691 | ||
2692 | ||
2693 | function Drop() | |
2694 | if Grab == true then | |
2695 | Grab = false | |
2696 | for i,v in pairs(larm:GetChildren()) do | |
2697 | if v.Name == "asd" and v:IsA("Weld") then | |
2698 | v:Remove() | |
2699 | end | |
2700 | end | |
2701 | wait(0.1) | |
2702 | stanceToggle = "Idle1" | |
2703 | ||
2704 | end | |
2705 | end | |
2706 | ||
2707 | ||
2708 | mouse.KeyDown:connect(function(key) | |
2709 | if key == "x" then | |
2710 | if Grab == true then | |
2711 | Throw() | |
2712 | end | |
2713 | end | |
2714 | end) | |
2715 | ||
2716 | function Break() | |
2717 | if Grab == true then | |
2718 | z3 = Instance.new("Sound",torso) | |
2719 | z3.SoundId = "rbxassetid://314390675" | |
2720 | z3.Pitch = 0.7 | |
2721 | z3.Volume = 34 | |
2722 | z3:Play() | |
2723 | wait(0.1) | |
2724 | Ragdoll(true,gp) | |
2725 | end | |
2726 | end | |
2727 | ||
2728 | ||
2729 | mouse.KeyDown:connect(function(key) | |
2730 | if key == "c" then | |
2731 | if Grab == true then | |
2732 | Break() | |
2733 | end | |
2734 | end | |
2735 | end) | |
2736 | ||
2737 | mouse.KeyDown:connect(function(key) | |
2738 | if key == "v" then | |
2739 | if Grab == true then | |
2740 | Drop() | |
2741 | end | |
2742 | end | |
2743 | end) | |
2744 | ||
2745 | mouse.KeyDown:connect(function(key) | |
2746 | if key == "g" then | |
2747 | if Grab == true then | |
2748 | FinishHim() | |
2749 | end | |
2750 | end | |
2751 | end) | |
2752 | ||
2753 | ||
2754 | ||
2755 | local animpose = "Idle1" | |
2756 | local lastanimpose = "Idle1" | |
2757 | local grab = false | |
2758 | local Smooth = 1 | |
2759 | local sine = 0 | |
2760 | local change = 1 | |
2761 | local val = 0 | |
2762 | local ffing = false | |
2763 | ---------------------------------------------------- | |
2764 | x = Instance.new("Sound", char) | |
2765 | x.SoundId = "http://www.roblox.com/asset/?id=198360408" | |
2766 | x.Looped = true | |
2767 | x.Volume = 15 | |
2768 | local footsteps = false | |
2769 | --------------------------------------------- | |
2770 | jump = false | |
2771 | rs:connect(function() | |
2772 | if char.Humanoid.Jump == true then | |
2773 | jump = true | |
2774 | else | |
2775 | jump = false | |
2776 | end | |
2777 | char.Humanoid.FreeFalling:connect(function(f) | |
2778 | if f then | |
2779 | ffing = true | |
2780 | else | |
2781 | ffing = false | |
2782 | end | |
2783 | end) | |
2784 | sine = sine + change | |
2785 | if jump == true then | |
2786 | animpose = "Jumping" | |
2787 | elseif ffing == true then | |
2788 | animpose = "Freefalling" | |
2789 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
2790 | animpose = "Idle" | |
2791 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
2792 | animpose = "Walking" | |
2793 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
2794 | animpose = "Running" | |
2795 | end | |
2796 | RightLeg = CFrame.new(0.5,-1,0) | |
2797 | LeftLeg = CFrame.new(-0.5,-1,0) | |
2798 | ||
2799 | lefth = (torso.CFrame*LeftLeg) | |
2800 | righth = (torso.CFrame*RightLeg) | |
2801 | ||
2802 | speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z) | |
2803 | ||
2804 | TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100) | |
2805 | ||
2806 | local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100) | |
2807 | local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100) | |
2808 | if animpose ~= lastanimpose then | |
2809 | sine = 0 | |
2810 | if Debounces.NoIdl == false then | |
2811 | if stanceToggle == "Idle1" then | |
2812 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3) | |
2813 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3) | |
2814 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2) | |
2815 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2) | |
2816 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2) | |
2817 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2) | |
2818 | elseif stanceToggle == "Idle2" then | |
2819 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3) | |
2820 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3) | |
2821 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2) | |
2822 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2) | |
2823 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2) | |
2824 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2) | |
2825 | end | |
2826 | fat.Event:wait() | |
2827 | end | |
2828 | else | |
2829 | end | |
2830 | lastanimpose = animpose | |
2831 | if Debounces.NoIdl == false then | |
2832 | if animpose == "Idle" then | |
2833 | change = 0.5 | |
2834 | if stanceToggle == "Idle1" then | |
2835 | ||
2836 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8) | |
2837 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2838 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8) | |
2839 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2840 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5) | |
2841 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5) | |
2842 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1) | |
2843 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1) | |
2844 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
2845 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1) | |
2846 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1) | |
2847 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1) | |
2848 | elseif stanceToggle == "Idle2" then | |
2849 | ||
2850 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1) | |
2851 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
2852 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6) | |
2853 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
2854 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8) | |
2855 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
2856 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
2857 | --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3) | |
2858 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2859 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8) | |
2860 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8) | |
2861 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8) | |
2862 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8) | |
2863 | elseif stanceToggle == "Grabbed" then | |
2864 | grab = true | |
2865 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
2866 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
2867 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,1.25,0)*CFrame.Angles(math.rad(100+2*math.cos(sine/14)),math.rad(-62),math.rad(-80+4*math.cos(sine/14))), 0.3) | |
2868 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
2869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
2870 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2871 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
2872 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1) | |
2873 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
2874 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2875 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
2876 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2877 | end | |
2878 | elseif animpose == "Walking" then | |
2879 | if stanceToggle == "Grabbed" then | |
2880 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
2881 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
2882 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(-62),math.rad(-30+4*math.cos(sine/4))), 0.3) | |
2883 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2) | |
2884 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
2885 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
2886 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
2887 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
2888 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
2889 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
2890 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2891 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
2892 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2893 | elseif stanceToggle ~= "Grabbed" then | |
2894 | change = 0.5 | |
2895 | ||
2896 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
2897 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
2898 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4) | |
2899 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7) | |
2900 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4) | |
2901 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7) | |
2902 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4) | |
2903 | --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1) | |
2904 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8) | |
2905 | --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
2906 | lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8) | |
2907 | lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2908 | --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4) | |
2909 | rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8) | |
2910 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8) | |
2911 | end | |
2912 | elseif animpose == "Running" then | |
2913 | change = 1 | |
2914 | ||
2915 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2) | |
2916 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
2917 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2) | |
2918 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2919 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2) | |
2920 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5) | |
2921 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2) | |
2922 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
2923 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
2924 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2925 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8) | |
2926 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2927 | elseif animpose == "Jumping" then | |
2928 | ||
2929 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2) | |
2930 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
2931 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
2932 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2933 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2) | |
2934 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2935 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
2936 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2937 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2938 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
2939 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2940 | elseif animpose == "Freefalling" then | |
2941 | ||
2942 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2) | |
2943 | rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36) | |
2944 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2) | |
2945 | larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5) | |
2946 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2) | |
2947 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2) | |
2948 | torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4) | |
2949 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2) | |
2950 | lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2951 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2) | |
2952 | rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
2953 | end | |
2954 | end | |
2955 | ||
2956 | if animpose == "Walking" then | |
2957 | if footsteps == false then | |
2958 | x:Play() | |
2959 | footsteps = true | |
2960 | end | |
2961 | x.Pitch = 1.1 | |
2962 | elseif animpose == "Idle" then | |
2963 | x:Stop() | |
2964 | footsteps = false | |
2965 | elseif animpose == "Running" then | |
2966 | x.Pitch = 1.2 | |
2967 | if footsteps == false then | |
2968 | x:Play() | |
2969 | footsteps = true | |
2970 | end | |
2971 | end | |
2972 | end) | |
2973 | hum.MaxHealth = math.huge | |
2974 | wait(3) | |
2975 | hum.Health = math.huge |