Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- char = plr.Character
- wait(1)
- local player = game.Players.LocalPlayer
- local chara = workspace:WaitForChild(player.Name)
- local human = chara.Humanoid
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- local gui = Instance.new("ScreenGui",plr.PlayerGui)
- local image = Instance.new("ImageButton",gui)
- image.Image = "rbxasset://Textures/Bomb.png"
- image.BackgroundTransparency = 0.3
- image.BorderSizePixel = 0
- image.Position = UDim2.new(0.003, 0, 0.798, 0)
- image.Size = UDim2.new(0, 100, 0, 100)
- image.MouseButton1Click:connect(function() -- Spawn bomb function
- local bomb = Instance.new("Part",workspace)
- bomb.Size = Vector3.new(2, 2, 2)
- bomb.CFrame = char.Torso.CFrame
- local m = Instance.new("FileMesh",bomb)
- m.MeshId = "rbxasset://fonts/timebomb.mesh"
- m.TextureId = "rbxasset://textures/bombtex.png"
- bomb.Name = "b0mb"
- local updateInterval = .4
- local currentColor = 1
- local colors = {26, 21}
- local ticksound = Instance.new("Sound")
- ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
- ticksound.Parent = bomb
- function update()
- updateInterval = updateInterval * .9
- bomb.BrickColor = BrickColor.new(colors[currentColor])
- currentColor = currentColor + 1
- if (currentColor > 2) then currentColor = 1 end
- end
- function blowUp()
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
- sound.Parent = bomb
- sound.Volume = 1
- sound:play()
- explosion = Instance.new("Explosion")
- explosion.BlastRadius = 12
- explosion.BlastPressure = 1000000 -- these are really wussy units
- -- find instigator tag
- local creator = char:findFirstChild("creator")
- if creator ~= nil then
- explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
- end
- explosion.Position = bomb.Position
- explosion.Parent = game.Workspace
- bomb.Transparency = 1
- end
- function onPlayerBlownUp(part, distance, creator)
- if part.Name == "Head" then
- local humanoid = part.Parent.Humanoid
- tagHumanoid(humanoid, creator)
- end
- end
- function tagHumanoid(humanoid, creator)
- -- tag does not need to expire iff all explosions lethal
- if creator ~= nil then
- local new_tag = creator:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- while updateInterval > .1 do
- wait(updateInterval)
- update()
- ticksound:play()
- end
- blowUp()
- game:GetService("Debris"):AddItem(bomb,5)
- end)
- mouse = plr:GetMouse()
- char.Humanoid.Name = "OldRobloxianxd"
- coroutine.wrap(function()
- while true do
- wait(0.01)
- char["OldRobloxianxd"].MaxHealth = math.huge
- char["OldRobloxianxd"].Health = math.huge
- end
- end)()
- function use()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- Sound1 = Instance.new("Sound")
- Part0.Name = "Handle"
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Bright red")
- Part0.Reflectance = 0.20000000298023
- Part0.Rotation = Vector3.new(-179.860001, -70.6500015, -179.869995)
- Part0.Elasticity = 1
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.Friction = 0
- Part0.Shape = Enum.PartType.Ball
- Part0.Size = Vector3.new(2, 2, 2)
- Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-3)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part0.Orientation = Vector3.new(-0.049999997, -109.349998, 0)
- Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Sound1.Name = "Boing"
- Sound1.Parent = Part0
- Sound1.SoundId = "rbxasset://sounds//short spring sound.wav"
- Sound1.Volume = 10
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- Sound1:Play()
- local vel = Instance.new("BodyVelocity", Part0)
- vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- vel.Velocity = mouse.Hit.lookVector * 140
- local function tou(part)
- local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.Health = humanoid.Health - 1
- end
- end
- Part0.Touched:connect(tou)
- wait()
- vel:destroy()
- end
- mouse.Button1Down:connect(use)
- local pose = "Standing"
- local speed = 0
- human.Running:connect(function(s)
- speed = s
- end)
- cananimate = true
- local update = game:GetService("RunService")
- update.RenderStepped:connect(function()
- local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
- local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
- local dis = (chara.Torso.Position - position).magnitude
- if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
- pose = "Jumping"
- end
- if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
- pose = "Falling"
- end
- if dis < 3.8 and speed == 0 then
- pose = "Standing"
- end
- if dis < 3.8 and speed > 0 then
- pose = "Walking"
- end
- end)
- if game.Players.LocalPlayer.Character:findFirstChild("Shirt Graphic") then
- game.Players.LocalPlayer.Character["Shirt Graphic"]:destroy()
- end
- local decal = Instance.new("Decal", game.Players.LocalPlayer.Character)
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "Part" then
- if v.Name == "Head" then
- local torsotec = Instance.new("Decal", torso)
- torsotec.Texture = "http://www.roblox.com/asset/?id=782560028"
- local headd = Instance.new("Decal", v)
- headd.Texture = "http://www.roblox.com/asset/?id=20676546"
- else
- v.Transparency = 0
- char.HumanoidRootPart.Transparency = 1
- end
- end
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v:destroy()
- end
- end
- if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
- game.Players.LocalPlayer.Character.Head["face"]:destroy()
- end
- rhand = Instance.new("Part", game.Players.LocalPlayer.Character)
- rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size
- rhand.TopSurface = "Smooth"
- rhand.BottomSurface = "Smooth"
- rhand.Parent = game.Players.LocalPlayer.Character
- rhand:BreakJoints()
- rhand.CanCollide = false
- rhweld = Instance.new("Weld", rhand)
- rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
- rhweld.Part1 = rhand
- --
- lhand = Instance.new("Part", game.Players.LocalPlayer.Character)
- lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size
- lhand.TopSurface = "Smooth"
- lhand.BottomSurface = "Smooth"
- lhand.CanCollide = false
- lhand.Parent = game.Players.LocalPlayer.Character
- lhand:BreakJoints()
- rhweld1 = Instance.new("Weld", lhand)
- rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
- rhweld1.Part1 = lhand
- --
- lleg = Instance.new("Part", game.Players.LocalPlayer.Character)
- lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size
- lleg.TopSurface = "Smooth"
- lleg.CanCollide = false
- lleg.BottomSurface = "Smooth"
- lleg.Parent = game.Players.LocalPlayer.Character
- lleg:BreakJoints()
- rhweld11 = Instance.new("Weld", lleg)
- rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
- rhweld11.Part1 = lleg
- --
- rleg = Instance.new("Part", game.Players.LocalPlayer.Character)
- rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size
- rleg.TopSurface = "Smooth"
- rleg.BottomSurface = "Smooth"
- rleg.Parent = game.Players.LocalPlayer.Character
- rleg.CanCollide = false
- rleg:BreakJoints()
- rhweld111 = Instance.new("Weld", rleg)
- rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
- rhweld111.Part1 = rleg
- --
- torso = Instance.new("Part", game.Players.LocalPlayer.Character)
- torso.Size = game.Players.LocalPlayer.Character.Torso.Size
- torso.TopSurface = "Smooth"
- torso.BottomSurface = "Smooth"
- torso.CanCollide = false
- torso.Parent = game.Players.LocalPlayer.Character
- torso:BreakJoints()
- rhweld1111 = Instance.new("Weld", torso)
- rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso
- rhweld1111.Part1 = torso
- rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color
- lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color
- rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color
- torso.Color = game.Players.LocalPlayer.Character.Torso.Color
- lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color
- local mo = Instance.new("Model",char)
- rhand.Parent = mo
- lhand.Parent = mo
- lleg.Parent = mo
- rleg.Parent = mo
- torso.Parent = mo
- for i,v in pairs(mo:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- local leftarm = Instance.new("CharacterMesh",char)
- leftarm.BodyPart = "LeftArm"
- leftarm.MeshId = "1112256772"
- local leftleg = Instance.new("CharacterMesh",char)
- leftleg.BodyPart = "LeftLeg"
- leftleg.MeshId = "1112275294"
- local rightarm = Instance.new("CharacterMesh",char)
- rightarm.BodyPart = "RightArm"
- rightarm.MeshId = "1112244824"
- local rightleg = Instance.new("CharacterMesh",char)
- rightleg.BodyPart = "RightLeg"
- rightleg.MeshId = "1112267576"
- local torso = Instance.new("CharacterMesh",char)
- torso.BodyPart = "Torso"
- torso.MeshId = "1112228624"
- decal = Instance.new("Decal", torso)
- decal.Texture = "http://www.roblox.com/asset/?id=782560028"
- nostalgie = Instance.new("Sound", game.Players.LocalPlayer.Character)
- nostalgie.SoundId = "rbxassetid://1000016620"
- nostalgie.Looped = true
- nostalgie:Play()
- nostalgie.Volume = 1
- canuse = true
- while true do
- wait()
- if pose == "Standing" and cananimate then
- for i = 0,1 , 0.05 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- update.RenderStepped:wait()
- end
- end
- if pose == "Walking" and cananimate then
- for i = 0.1,0.3 , 0.008 do
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
- game:GetService("RunService").Stepped:wait()
- end
- for i = 0.1,0.3 , 0.008 do
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
- game:GetService("RunService").Stepped:wait()
- end
- end
- end
- if pose == "Jumping" and cananimate then
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- update.RenderStepped:wait()
- end
- end
- if pose == "Falling" and cananimate then
- for i = 0,1 , 0.05 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
- update.RenderStepped:wait()
- end
- end