SHOW:
|
|
- or go back to the newest paste.
| 1 | --One Punch Man Script | |
| 2 | p = game.Players.LocalPlayer | |
| 3 | char = p.Character | |
| 4 | des = false | |
| 5 | fling = true | |
| 6 | dot = false | |
| 7 | falling = false | |
| 8 | jump = true | |
| 9 | --char.Shirt:Remove() | |
| 10 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
| |
| 11 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
| |
| 12 | wait()--shirt = Instance.new("Shirt", char)
| |
| 13 | --shirt.Name = "Shirt" | |
| 14 | --pants = Instance.new("Pants", char)
| |
| 15 | --pants.Name = "Pants" | |
| 16 | ||
| 17 | --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425" | |
| 18 | --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261" | |
| 19 | tp = true | |
| 20 | shoot = true | |
| 21 | hum = char.Humanoid | |
| 22 | punch = true | |
| 23 | neckp = char.Torso.Neck.C0 | |
| 24 | neck = char.Torso.Neck | |
| 25 | hum.MaxHealth = 9999999999999999999999999999999999999999 | |
| 26 | wait() | |
| 27 | hum.Health =hum.MaxHealth | |
| 28 | des = false | |
| 29 | root=char.HumanoidRootPart | |
| 30 | torso = char.Torso | |
| 31 | char.Head.face.Texture = "rbxassetid://332768867" | |
| 32 | local ChatService = game:GetService("Chat")
| |
| 33 | local player = game.Players.LocalPlayer | |
| 34 | lig = Instance.new("PointLight",player.Character.Torso)
| |
| 35 | lig.Color=Color3.new(255,0,0) | |
| 36 | m=player:GetMouse() | |
| 37 | bb = Instance.new("BillboardGui",player.Character.Head)
| |
| 38 | bb.Enabled = true | |
| 39 | function newRay(start,face,range,wat) | |
| 40 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 41 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 42 | return rey,hit,pos | |
| 43 | end | |
| 44 | aa1={}
| |
| 45 | aa2={}
| |
| 46 | torso=game.Players.LocalPlayer.Character.Torso | |
| 47 | ||
| 48 | local WorldUp = Vector3.new(0,1,0) | |
| 49 | function look2(Vec1,Vec2) | |
| 50 | local Orig = Vec1 | |
| 51 | Vec1 = Vec1+Vector3.new(0,1,0) | |
| 52 | Vec2 = Vec2+Vector3.new(0,1,0) | |
| 53 | local Forward = (Vec2-Vec1).unit | |
| 54 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
| 55 | local Right = Up:Cross(Forward).unit | |
| 56 | Forward = -Forward | |
| 57 | Right = -Right | |
| 58 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
| 59 | end | |
| 60 | ||
| 61 | function look(CFr,Vec2) | |
| 62 | local A = Vector3.new(0,0,0) | |
| 63 | local B = CFr:inverse()*Vec2 | |
| 64 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
| 65 | if B.Z > 0 then | |
| 66 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
| 67 | elseif B.Z == 0 then | |
| 68 | if B.Y > 0 then | |
| 69 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
| 70 | elseif B.Y < 0 then | |
| 71 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
| 72 | else | |
| 73 | CF = CFr | |
| 74 | end | |
| 75 | end | |
| 76 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
| 77 | local Up = Vector3.new(X,Y,Z) | |
| 78 | local Forward = (Vec2-CFr.p).unit | |
| 79 | local Right = Up:Cross(Forward) | |
| 80 | Forward = -Forward | |
| 81 | Right = -Right | |
| 82 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
| 83 | end | |
| 84 | ||
| 85 | function simulate(j,d,m,r,t) | |
| 86 | local joint = j | |
| 87 | for i,v in ipairs(t) do | |
| 88 | if v[1]:FindFirstChild("Weld") then
| |
| 89 | local stiff = m.CFrame.lookVector*0.03 | |
| 90 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
| 91 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
| 92 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
| 93 | local pos = joint.p+(dir*(d*0.5)) | |
| 94 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
| 95 | local inv = v[1].Weld.Part0.CFrame | |
| 96 | local rel1 = inv:inverse()*pos | |
| 97 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
| 98 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
| 99 | v[1].Weld.C0 = cf | |
| 100 | v[2] = inv*cf | |
| 101 | --v[1].CFrame = cf | |
| 102 | end | |
| 103 | end | |
| 104 | end | |
| 105 | for i=1,8 do | |
| 106 | local p = Instance.new("Part",char)
| |
| 107 | p.Anchored = false | |
| 108 | p.BrickColor = BrickColor.new("Institutional white")
| |
| 109 | p.CanCollide = false | |
| 110 | p.FormFactor="Custom" | |
| 111 | p.Material = "SmoothPlastic" | |
| 112 | p.TopSurface = "SmoothNoOutlines" | |
| 113 | p.BottomSurface = "SmoothNoOutlines" | |
| 114 | p.RightSurface = "SmoothNoOutlines" | |
| 115 | p.LeftSurface = "SmoothNoOutlines" | |
| 116 | p.FrontSurface = "SmoothNoOutlines" | |
| 117 | p.BackSurface = "SmoothNoOutlines" | |
| 118 | ||
| 119 | p.Size=Vector3.new(0.4,.2,0.2) | |
| 120 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
| 121 | mesh = Instance.new("BlockMesh",p)
| |
| 122 | mesh.Scale = Vector3.new(1,1,4) | |
| 123 | local w = Instance.new("Motor6D",p)
| |
| 124 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
| 125 | w.Part1 = p | |
| 126 | w.Name = "Weld" | |
| 127 | --table.insert(aa1,p) | |
| 128 | aa1[i] = {p,p.CFrame}
| |
| 129 | end | |
| 130 | game:service"RunService".Stepped:connect(function() | |
| 131 | simulate(torso.CFrame*CFrame.new(0.4,0.9,.5),.6,torso,Vector3.new(),aa1) | |
| 132 | end) | |
| 133 | - | simulate(torso.CFrame*CFrame.new(-0.4,0.9,.5),.6,torso,Vector3.new(),aa2) |
| 133 | + | function simulate2(j,d,m,r,t) |
| 134 | local joint = j | |
| 135 | for i,v in ipairs(t) do | |
| 136 | if v[1]:FindFirstChild("Weld") then
| |
| 137 | local stiff = m.CFrame.lookVector*0.03 | |
| 138 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
| 139 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
| 140 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
| 141 | local pos = joint.p+(dir*(d*0.5)) | |
| 142 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
| 143 | local inv = v[1].Weld.Part0.CFrame | |
| 144 | local rel1 = inv:inverse()*pos | |
| 145 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
| 146 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
| 147 | v[1].Weld.C0 = cf | |
| 148 | v[2] = inv*cf | |
| 149 | --v[1].CFrame = cf | |
| 150 | end | |
| 151 | end | |
| 152 | end | |
| 153 | for i=1,8 do | |
| 154 | local p2 = Instance.new("Part",char)
| |
| 155 | p2.Anchored = false | |
| 156 | p2.BrickColor = BrickColor.new("Institutional white")
| |
| 157 | p2.CanCollide = false | |
| 158 | p2.FormFactor="Custom" | |
| 159 | p2.Material = "SmoothPlastic" | |
| 160 | p2.TopSurface = "SmoothNoOutlines" | |
| 161 | p2.BottomSurface = "SmoothNoOutlines" | |
| 162 | p2.RightSurface = "SmoothNoOutlines" | |
| 163 | p2.LeftSurface = "SmoothNoOutlines" | |
| 164 | p2.FrontSurface = "SmoothNoOutlines" | |
| 165 | p2.BackSurface = "SmoothNoOutlines" | |
| 166 | ||
| 167 | p2.Size=Vector3.new(0.4,.2,0.2) | |
| 168 | p2:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
| 169 | mesh = Instance.new("BlockMesh",p)
| |
| 170 | mesh.Scale = Vector3.new(1,1,4) | |
| 171 | local w = Instance.new("Motor6D",p)
| |
| 172 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
| 173 | w.Part1 = p | |
| 174 | w.Name = "Weld" | |
| 175 | --table.insert(aa1,p) | |
| 176 | aa2[i] = {p,p.CFrame}
| |
| 177 | end | |
| 178 | game:service"RunService".Stepped:connect(function() | |
| 179 | simulate(torso.CFrame*CFrame.new(-0.4,0.9,.5),.6,torso,Vector3.new(),aa1) | |
| 180 | end) | |
| 181 | bb.AlwaysOnTop = true | |
| 182 | bb.Size = UDim2.new(0,200,0,50) | |
| 183 | bb.StudsOffset = Vector3.new(0,1,0) | |
| 184 | gui=Instance.new("TextBox",bb)
| |
| 185 | gui.Text = "* " | |
| 186 | gui.Size = UDim2.new(0,133,0,45) | |
| 187 | gui.Position=UDim2.new(0,57,0,-40) | |
| 188 | gui.TextColor3 = Color3.new(255,255,255) | |
| 189 | gui.BackgroundColor3=Color3.new(0,0,0) | |
| 190 | gui.TextWrapped = true | |
| 191 | gui.TextScaled = true | |
| 192 | gui.TextXAlignment = "Left" | |
| 193 | gui.TextYAlignment = "Top" | |
| 194 | gui.Visible = false | |
| 195 | gui.BorderColor3 = Color3.new(0,0,0) | |
| 196 | punch2 = true | |
| 197 | gui1=Instance.new("TextButton",bb)
| |
| 198 | gui1.Position=UDim2.new(0,5,0,-43) | |
| 199 | gui1.Size = UDim2.new(0,190,0,51) | |
| 200 | ||
| 201 | gui1.TextColor3 = Color3.new(255,255,255) | |
| 202 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
| 203 | jump2 = true | |
| 204 | gui1.Visible = false | |
| 205 | img = Instance.new("ImageLabel",bb)
| |
| 206 | img.Size = UDim2.new(0,46,0,47) | |
| 207 | img.Position = UDim2.new(0,10,0,-41) | |
| 208 | img.Image = "rbxassetid://447301252" | |
| 209 | img.BorderColor3 = Color3.new(0,0,0) | |
| 210 | img.Visible = false | |
| 211 | soka = Instance.new("Sound",char)
| |
| 212 | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" | |
| 213 | soka.Volume = 1 | |
| 214 | boom = Instance.new("Sound",char)
| |
| 215 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
| 216 | boom.Volume = 1 | |
| 217 | boom2 = Instance.new("Sound",char)
| |
| 218 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
| 219 | boom2.Volume = 1 | |
| 220 | boom3 = Instance.new("Sound",char)
| |
| 221 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
| 222 | boom3.Volume = 1 | |
| 223 | tps = Instance.new("Sound",char)
| |
| 224 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
| 225 | tps.Volume = 1 | |
| 226 | asd = Instance.new("Sound",char)
| |
| 227 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
| 228 | asd.Volume =1 | |
| 229 | asd1 = Instance.new("Sound",char)
| |
| 230 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
| 231 | ||
| 232 | asd2 = Instance.new("Sound",char)
| |
| 233 | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" | |
| 234 | asd2.Looped = true | |
| 235 | asd2.Volume = 5 | |
| 236 | asd3 = Instance.new("Sound",char)
| |
| 237 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
| 238 | asd3.Looped = true | |
| 239 | asd4 = Instance.new("Sound",char)
| |
| 240 | asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
| 241 | asd4.Looped = true | |
| 242 | asd5 = Instance.new("Sound",char)
| |
| 243 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
| 244 | asd5.Looped = true | |
| 245 | gas = Instance.new("Sound",char)
| |
| 246 | gas.SoundId = "http://www.roblox.com/asset/?id = 345052019" | |
| 247 | asd6 = Instance.new("Sound",char)
| |
| 248 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
| 249 | asd6.Looped = true | |
| 250 | function play(play) | |
| 251 | asd:Play() | |
| 252 | wait(0.05) | |
| 253 | --asd1:Play() | |
| 254 | end | |
| 255 | ||
| 256 | ||
| 257 | ||
| 258 | ------------ | |
| 259 | ------------------------- | |
| 260 | ||
| 261 | function stream(origin,dir,length,size) | |
| 262 | local parts = {}
| |
| 263 | for i = 1,length do | |
| 264 | local p = Instance.new("Part",char)
| |
| 265 | p.Anchored = true | |
| 266 | p.Transparency = 0.5 | |
| 267 | p.TopSurface = 0 | |
| 268 | p.BottomSurface = 0 | |
| 269 | p.CanCollide = false | |
| 270 | p.BrickColor = BrickColor.new("Institutional white")
| |
| 271 | p.Size = Vector3.new(10,30,10) -- for now | |
| 272 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
| 273 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
| |
| 274 | game:GetService("Debris"):AddItem(p,3)
| |
| 275 | end | |
| 276 | Spawn(function() | |
| 277 | while parts do | |
| 278 | for i,v in pairs(parts) do | |
| 279 | if v[1].Parent == char then | |
| 280 | v[1].CFrame = v[1].CFrame*v[2] | |
| 281 | else | |
| 282 | parts = nil | |
| 283 | break | |
| 284 | end | |
| 285 | end | |
| 286 | wait(0.02) | |
| 287 | end | |
| 288 | end) | |
| 289 | end | |
| 290 | ||
| 291 | --[[-- listen for their chatting | |
| 292 | player.Chatted:connect(function(message) | |
| 293 | a = string.len(message) | |
| 294 | gui.Text = "" | |
| 295 | gui.Visible = true | |
| 296 | gui1.Visible = true | |
| 297 | des = false | |
| 298 | img.Visible = true | |
| 299 | print(a) | |
| 300 | if dot == false then | |
| 301 | gui.Text = "" | |
| 302 | for i = 1,string.len(message) do | |
| 303 | gui.Text =gui.Text..message:sub(i,i) | |
| 304 | play() | |
| 305 | ||
| 306 | end | |
| 307 | end | |
| 308 | ||
| 309 | ||
| 310 | des = true | |
| 311 | end)]]-- | |
| 312 | m.KeyDown:connect(function(k) | |
| 313 | if k == "g" then | |
| 314 | asd2:Play() | |
| 315 | ||
| 316 | ||
| 317 | end | |
| 318 | end) | |
| 319 | ||
| 320 | m.KeyDown:connect(function(k) | |
| 321 | if k == "r" then | |
| 322 | ||
| 323 | asd4:Play() | |
| 324 | end | |
| 325 | end) | |
| 326 | m.KeyDown:connect(function(k) | |
| 327 | if k == "q" then | |
| 328 | ||
| 329 | asd3:Play() | |
| 330 | end | |
| 331 | end) | |
| 332 | m.KeyDown:connect(function(k) | |
| 333 | if k == "z" then | |
| 334 | img.Image = "rbxassetid://332766052" | |
| 335 | ||
| 336 | end | |
| 337 | end) | |
| 338 | m.KeyDown:connect(function(k) | |
| 339 | if k == "c" then | |
| 340 | img.Image = "rbxassetid://447301252" | |
| 341 | ||
| 342 | end | |
| 343 | end) | |
| 344 | m.KeyDown:connect(function(k) | |
| 345 | if k == "b" then | |
| 346 | ||
| 347 | asd6:Play() | |
| 348 | end | |
| 349 | end) | |
| 350 | mouse = p:GetMouse() | |
| 351 | m.KeyDown:connect(function(k) | |
| 352 | if k:byte() == 48 then | |
| 353 | ||
| 354 | hum.WalkSpeed = 100 | |
| 355 | end | |
| 356 | end) | |
| 357 | m.KeyDown:connect(function(k) | |
| 358 | if k:byte() == 50 then | |
| 359 | ||
| 360 | soka:Play() | |
| 361 | end | |
| 362 | end) | |
| 363 | m.KeyDown:connect(function(k) | |
| 364 | if k:byte() == 52 then | |
| 365 | ||
| 366 | char.Head.face.Texture = "rbxassetid://444037452" | |
| 367 | end | |
| 368 | end) | |
| 369 | m.KeyDown:connect(function(k) | |
| 370 | if k:byte() == 51 then | |
| 371 | ||
| 372 | char.Head.face.Texture = "rbxassetid://332768867" | |
| 373 | end | |
| 374 | end) | |
| 375 | m.KeyUp:connect(function(k) | |
| 376 | if k:byte() == 48 then | |
| 377 | ||
| 378 | hum.WalkSpeed = 16 | |
| 379 | end | |
| 380 | end) | |
| 381 | p.Chatted:connect(function(m) | |
| 382 | if m == "Okay." then | |
| 383 | soka:Play() | |
| 384 | end | |
| 385 | end) | |
| 386 | m.KeyDown:connect(function(k) | |
| 387 | if k == "x" then | |
| 388 | if des == true then | |
| 389 | gui.Visible = false | |
| 390 | gui.Text = "* " | |
| 391 | gui1.Visible = false | |
| 392 | img.Visible = false | |
| 393 | end | |
| 394 | end | |
| 395 | end) | |
| 396 | m.KeyDown:connect(function(key) | |
| 397 | if key == "j" then | |
| 398 | if tp == true then | |
| 399 | tp = false | |
| 400 | tps:Play() | |
| 401 | char.Head.face.Parent = game.Lighting | |
| 402 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
| |
| 403 | end | |
| 404 | ||
| 405 | end | |
| 406 | wait(0.5) | |
| 407 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
| |
| 408 | end | |
| 409 | ||
| 410 | end | |
| 411 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
| 412 | char.HumanoidRootPart.Transparency = 1 | |
| 413 | game.Lighting.face.Parent = char.Head | |
| 414 | wait(0.2) | |
| 415 | ||
| 416 | tp = true | |
| 417 | ||
| 418 | ||
| 419 | end | |
| 420 | end | |
| 421 | end) | |
| 422 | ||
| 423 | ||
| 424 | m.KeyDown:connect(function(key) | |
| 425 | if key == "t" then | |
| 426 | if punch2 == true then | |
| 427 | punch2 = false | |
| 428 | punch = false | |
| 429 | ||
| 430 | local ChatService = game:GetService("Chat")
| |
| 431 | ||
| 432 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
| 433 | ChatService:Chat(char.Head, "Mind if I get Serious?") | |
| 434 | wait(1) | |
| 435 | local ChatService = game:GetService("Chat")
| |
| 436 | ||
| 437 | ||
| 438 | ChatService:Chat(char.Head ,"Killer Move: Serious Series...") | |
| 439 | wait(1) | |
| 440 | local ChatService = game:GetService("Chat")
| |
| 441 | ||
| 442 | ||
| 443 | ChatService:Chat(char.Head, "SERIOUS PUNCH.") | |
| 444 | neck.C0 = neckp | |
| 445 | wait(0.6) | |
| 446 | org = char.Torso["Left Shoulder"].C0 | |
| 447 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
| 448 | wait() | |
| 449 | killbrick2 = Instance.new("Part",char)
| |
| 450 | killbrick2.Size = Vector3.new(80,80,9000) | |
| 451 | killbrick2.Transparency = 1 | |
| 452 | ||
| 453 | killbrick2.CanCollide = true | |
| 454 | wait(0.1) | |
| 455 | killbrick2.CanCollide = false | |
| 456 | ||
| 457 | killbrick2.Anchored = true | |
| 458 | ||
| 459 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
| 460 | ||
| 461 | killbrick2.Touched:connect(function(h) | |
| 462 | local x = h.Parent:FindFirstChild("Humanoid")
| |
| 463 | if x then | |
| 464 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
| 465 | safe = true | |
| 466 | else safe = false | |
| 467 | end | |
| 468 | if x then | |
| 469 | if safe == false then | |
| 470 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
| 471 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
| |
| 472 | boom:Play() | |
| 473 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
| 474 | ||
| 475 | ||
| 476 | wait(0.2) | |
| 477 | x.Parent:BreakJoints() | |
| 478 | wait() | |
| 479 | safe = true | |
| 480 | end | |
| 481 | end | |
| 482 | end | |
| 483 | end) | |
| 484 | ||
| 485 | ||
| 486 | ||
| 487 | ||
| 488 | ||
| 489 | ||
| 490 | ||
| 491 | ||
| 492 | local rng = Instance.new("Part", char)
| |
| 493 | rng.Anchored = true | |
| 494 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 495 | rng.CanCollide = false | |
| 496 | rng.FormFactor = 3 | |
| 497 | rng.Name = "Ring" | |
| 498 | rng.Size = Vector3.new(1, 1, 1) | |
| 499 | rng.Transparency = 0.8 | |
| 500 | rng.TopSurface = 0 | |
| 501 | rng.BottomSurface = 0 | |
| 502 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
| 503 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
| 504 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 505 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 506 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 507 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
| 508 | local rng1 = Instance.new("Part", char)
| |
| 509 | rng1.Anchored = true | |
| 510 | rng1.BrickColor = BrickColor.new("Institutional white")
| |
| 511 | rng1.CanCollide = false | |
| 512 | rng1.FormFactor = 3 | |
| 513 | rng1.Name = "Ring" | |
| 514 | rng1.Size = Vector3.new(1, 1, 1) | |
| 515 | rng1.Transparency = 0.8 | |
| 516 | rng1.TopSurface = 0 | |
| 517 | rng1.BottomSurface = 0 | |
| 518 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
| 519 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
| 520 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 521 | local rngm1 = Instance.new("SpecialMesh", rng1)
| |
| 522 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 523 | rngm1.Scale = Vector3.new(1, 1.3, 2) | |
| 524 | ||
| 525 | local p = (torso.CFrame*CFrame.new(-20,0,3)) | |
| 526 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one | |
| 527 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
| 528 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here | |
| 529 | ||
| 530 | local rng2 = Instance.new("Part", char)
| |
| 531 | rng2.Anchored = true | |
| 532 | rng2.BrickColor = BrickColor.new("Institutional white")
| |
| 533 | rng2.CanCollide = false | |
| 534 | rng2.FormFactor = 3 | |
| 535 | rng2.Name = "Ring" | |
| 536 | rng2.Size = Vector3.new(1, 1, 1) | |
| 537 | rng2.Transparency = 0.8 | |
| 538 | rng2.TopSurface = 0 | |
| 539 | rng2.BottomSurface = 0 | |
| 540 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
| 541 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
| 542 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 543 | local rngm2 = Instance.new("SpecialMesh", rng2)
| |
| 544 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 545 | rngm2.Scale = Vector3.new(1, 1.3, 2) | |
| 546 | wait(0.1) | |
| 547 | ||
| 548 | boom3:Play() | |
| 549 | coroutine.wrap(function() | |
| 550 | for i = 1, 35, 0.5 do | |
| 551 | ||
| 552 | ||
| 553 | ||
| 554 | ||
| 555 | ||
| 556 | rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4) | |
| 557 | rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4) | |
| 558 | rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4) | |
| 559 | ||
| 560 | wait() | |
| 561 | end | |
| 562 | wait() | |
| 563 | rng:Destroy() | |
| 564 | rng1:Destroy() | |
| 565 | rng2:Destroy() | |
| 566 | killbrick2:Remove() | |
| 567 | wait(0.5) | |
| 568 | char.Torso["Left Shoulder"].C0 = org | |
| 569 | wait(1) | |
| 570 | punch2 = true | |
| 571 | punch = true | |
| 572 | wait() | |
| 573 | ||
| 574 | ||
| 575 | end)() | |
| 576 | ||
| 577 | ||
| 578 | ||
| 579 | end | |
| 580 | ||
| 581 | ||
| 582 | wait(.1) | |
| 583 | ||
| 584 | ||
| 585 | end | |
| 586 | end) | |
| 587 | ||
| 588 | ||
| 589 | ||
| 590 | ||
| 591 | ||
| 592 | m.KeyDown:connect(function(key) | |
| 593 | if key == "k" then | |
| 594 | if punch == true then | |
| 595 | punch = false | |
| 596 | org = char.Torso["Left Shoulder"].C0 | |
| 597 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
| 598 | killbrick = Instance.new("Part",char)
| |
| 599 | killbrick.Size = Vector3.new(5,1,5) | |
| 600 | killbrick.Transparency = 1 | |
| 601 | killbrick:BreakJoints() | |
| 602 | killbrick.CanCollide = false | |
| 603 | local wel = Instance.new("Weld",killbrick)
| |
| 604 | wel.Part0 = killbrick | |
| 605 | wel.Part1 = char["Left Arm"] | |
| 606 | wel.C0 = CFrame.new(0,1,0) | |
| 607 | force = 90 | |
| 608 | ||
| 609 | killbrick.Touched:connect(function(h) | |
| 610 | local x = h.Parent.Humanoid | |
| 611 | if x.Health >= 6000 then | |
| 612 | fling = false | |
| 613 | end | |
| 614 | if x.Health < 6000 then | |
| 615 | fling = true | |
| 616 | end | |
| 617 | local stop = h.Parent.Torso.Velocity | |
| 618 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
| 619 | safe = true | |
| 620 | else safe = false | |
| 621 | end | |
| 622 | if x then | |
| 623 | if safe == false then | |
| 624 | if fling == true then | |
| 625 | force = 900 | |
| 626 | ||
| 627 | end | |
| 628 | if fling == false then | |
| 629 | force = 200 | |
| 630 | end | |
| 631 | ||
| 632 | ||
| 633 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
| 634 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
| |
| 635 | boom:Play() | |
| 636 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
| 637 | ||
| 638 | ||
| 639 | wait(0.2) | |
| 640 | x:TakeDamage(5000) | |
| 641 | wait() | |
| 642 | safe = true | |
| 643 | bodyforc:Remove() | |
| 644 | h.Parent.Torso.Velocity = stop | |
| 645 | ||
| 646 | end | |
| 647 | end | |
| 648 | end) | |
| 649 | ||
| 650 | ||
| 651 | ||
| 652 | ||
| 653 | ||
| 654 | ||
| 655 | ||
| 656 | ||
| 657 | ||
| 658 | ||
| 659 | local rng = Instance.new("Part", char)
| |
| 660 | rng.Anchored = true | |
| 661 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 662 | rng.CanCollide = false | |
| 663 | rng.FormFactor = 3 | |
| 664 | rng.Name = "Ring" | |
| 665 | rng.Size = Vector3.new(1, 1, 1) | |
| 666 | rng.Transparency = 0.8 | |
| 667 | rng.TopSurface = 0 | |
| 668 | rng.BottomSurface = 0 | |
| 669 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
| 670 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
| 671 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 672 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 673 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 674 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
| 675 | wait(0.1) | |
| 676 | ||
| 677 | boom2:Play() | |
| 678 | coroutine.wrap(function() | |
| 679 | for i = 1, 10, .4 do | |
| 680 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 681 | ||
| 682 | wait() | |
| 683 | end | |
| 684 | wait() | |
| 685 | rng:Destroy() | |
| 686 | killbrick:Remove() | |
| 687 | wait(0.5) | |
| 688 | char.Torso["Left Shoulder"].C0 = org | |
| 689 | wait(1) | |
| 690 | ||
| 691 | punch = true | |
| 692 | wait() | |
| 693 | end)() | |
| 694 | ||
| 695 | ||
| 696 | ||
| 697 | end | |
| 698 | ||
| 699 | ||
| 700 | wait(.1) | |
| 701 | ||
| 702 | ||
| 703 | end | |
| 704 | end) | |
| 705 | ||
| 706 | ||
| 707 | ||
| 708 | ||
| 709 | ||
| 710 | ||
| 711 | ||
| 712 | ||
| 713 | ||
| 714 | ||
| 715 | ||
| 716 | ||
| 717 | ||
| 718 | ||
| 719 | m.KeyDown:connect(function(key) | |
| 720 | if key == "m" then | |
| 721 | if jump == true then | |
| 722 | jump = false | |
| 723 | ||
| 724 | ||
| 725 | local rng = Instance.new("Part", char)
| |
| 726 | rng.Anchored = true | |
| 727 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 728 | rng.CanCollide = false | |
| 729 | rng.FormFactor = 3 | |
| 730 | rng.Name = "Ring" | |
| 731 | rng.Size = Vector3.new(1, 1, 1) | |
| 732 | rng.Transparency = 0.35 | |
| 733 | rng.TopSurface = 0 | |
| 734 | rng.BottomSurface = 0 | |
| 735 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 736 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 737 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 738 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 739 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
| 740 | wait(0.1) | |
| 741 | BV = Instance.new("BodyVelocity", torso)
| |
| 742 | BV.maxForce = Vector3.new(0,20000,0) | |
| 743 | BV.P = 1000 | |
| 744 | BV.velocity = Vector3.new(0,100,0) | |
| 745 | boom:Play() | |
| 746 | coroutine.wrap(function() | |
| 747 | for i = 1, 60, 2 do | |
| 748 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 749 | rng.Transparency = i/60 | |
| 750 | wait() | |
| 751 | end | |
| 752 | wait() | |
| 753 | rng:Destroy() | |
| 754 | ||
| 755 | hum.WalkSpeed = 50 | |
| 756 | wait(1) | |
| 757 | ||
| 758 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
| |
| 759 | v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false | |
| 760 | end end | |
| 761 | wait() | |
| 762 | end)() | |
| 763 | ||
| 764 | ||
| 765 | ||
| 766 | end | |
| 767 | ||
| 768 | ||
| 769 | wait(.1) | |
| 770 | ||
| 771 | ||
| 772 | end | |
| 773 | end) | |
| 774 | ||
| 775 | ||
| 776 | ||
| 777 | ||
| 778 | ||
| 779 | ||
| 780 | m.KeyDown:connect(function(key) | |
| 781 | if key == "n" then | |
| 782 | ||
| 783 | if falling == true then | |
| 784 | falling = false | |
| 785 | if jumping2 == true then | |
| 786 | jumping2 = false | |
| 787 | jump = false | |
| 788 | BV = Instance.new("BodyVelocity", torso)
| |
| 789 | BV.maxForce = Vector3.new(0,-20000,0) | |
| 790 | BV.P = -1000 | |
| 791 | BV.velocity = Vector3.new(0,-70,0) | |
| 792 | wait(0.6) | |
| 793 | local rng = Instance.new("Part", char)
| |
| 794 | rng.Anchored = true | |
| 795 | rng.BrickColor = BrickColor.new("Institutional white")
| |
| 796 | rng.CanCollide = false | |
| 797 | rng.FormFactor = 3 | |
| 798 | rng.Name = "Ring" | |
| 799 | rng.Size = Vector3.new(1, 1, 1) | |
| 800 | rng.Transparency = 0.35 | |
| 801 | rng.TopSurface = 0 | |
| 802 | rng.BottomSurface = 0 | |
| 803 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
| 804 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 805 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 806 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 807 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
| 808 | ||
| 809 | ||
| 810 | boom:Play() | |
| 811 | coroutine.wrap(function() | |
| 812 | for i = 1, 60, 2 do | |
| 813 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
| 814 | rng.Transparency = i/60 | |
| 815 | wait() | |
| 816 | end | |
| 817 | wait() | |
| 818 | rng:Destroy() | |
| 819 | ||
| 820 | ||
| 821 | ||
| 822 | ||
| 823 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then
| |
| 824 | v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16 | |
| 825 | end end | |
| 826 | wait() | |
| 827 | end)() | |
| 828 | ||
| 829 | ||
| 830 | ||
| 831 | end | |
| 832 | ||
| 833 | ||
| 834 | wait(.1) | |
| 835 | ||
| 836 | end | |
| 837 | end | |
| 838 | end) | |
| 839 | m.KeyDown:connect(function(k) | |
| 840 | if k == "f" then | |
| 841 | asd3:Stop() | |
| 842 | asd2:Stop() | |
| 843 | asd4:Stop() | |
| 844 | asd6:Stop() | |
| 845 | asd5:Stop() | |
| 846 | end | |
| 847 | end) | |
| 848 | ------------ | |
| 849 | -- ~CLarramore 2016 |