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