Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 99999999999
- game.Players.LocalPlayer.Character.Humanoid.Health = 99999999999
- for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
- anim:Stop()
- end
- game.Players.LocalPlayer.Character.Animate:remove()
- for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if part.ClassName == "Body Colors" or part.ClassName == "Accessory" or part.ClassName == "Pants" or part.ClassName == "Shirt" or part.ClassName == "Shirt Graphic" then
- part:remove()
- end
- end
- for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if part:IsA("BasePart") then
- part.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=55555"
- pants = Instance.new("Pants",game.Players.LocalPlayer.Character) pants.PantsTemplate = "http://www.roblox.com/asset/?id=55555"
- game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(0.45,0.45,0.45)
- game.Players.LocalPlayer.Character.Head.Mesh.Offset = Vector3.new(0,0.3,-0.1)
- game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "rbxassetid://55555"
- game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://55555"
- game.Players.LocalPlayer.Character.Head.Jumping.SoundId = "rbxassetid://404054138"
- sound = nil
- while sound == nil do
- wait()
- sound = Instance.new("Sound")
- if sound ~= nil then
- break
- end
- end
- levelMusic = sound:Clone()
- levelMusic.SoundId = "rbxassetid://555"
- levelMusic.Looped = true
- levelMusic.Parent = game.Players.LocalPlayer.Character
- levelMusic.Volume = 0.3
- levelMusic:Play()
- takeCooldown = false
- lifes = 10
- lastLife = lifes
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 75
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 60
- --This is a localscript; you will need to have access to using scripts wherever you want this
- p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
- print("Finding Mario... (This may take a little!)")
- print("Found Mario. Now giving the hammer.")
- local user = game.Players.LocalPlayer.Backpack
- local sword = Instance.new("Tool",user)
- print("Gave Mario the hammer. Enjoy whacking goombas!")
- local handle = Instance.new("Part",sword)
- local mesh = Instance.new("SpecialMesh",handle)
- local DAMAGE = 11
- local sound = Instance.new("Sound",handle)
- local sound2 = Instance.new("Sound",handle)
- sword.Name = "Sword"
- script.Parent = sword
- script.Name = "SwordScript"
- --local animation = Instance.new("Animation",script)
- --animation.AnimationId = "http://www.roblox.com/Asset?ID=992817684"
- sound.SoundId = "rbxasset://sounds//swordlunge.wav"
- sound.Volume = 3
- sound.PlaybackSpeed = 1.17
- sound.Name = "Slash"
- sound2.SoundId = "rbxasset://sounds//unsheath.wav"
- sound2.Volume = 3
- sound2.PlaybackSpeed = 0.8
- sound2.Volume = 3
- sound2.Name = "Unsheath"
- function unsheathanimation()
- sword.GripPos = sword.GripPos + Vector3.new(0,5,0)
- for i = 1,5 do
- sword.GripPos = sword.GripPos + Vector3.new(0,-1,0)
- wait (0.1)
- end
- end
- function unsheathsound()
- sound2:Play()
- end
- function damage(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if (h ~= nil) then
- h:TakeDamage(DAMAGE / 4)
- end
- end
- function animate()
- --4
- sound:Play()
- for i = 1,5 do
- sword.GripUp = sword.GripUp + Vector3.new(0,0,1)
- wait (0)
- end
- sword.GripUp = sword.GripUp + Vector3.new(0,0,-1)
- end
- handle.Size = handle.Size + Vector3.new(-4,-1,-2)
- handle.Size = handle.Size + Vector3.new(0.6, 3.6, 0.4)
- handle.Name = "Handle"
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=10604848"
- mesh.TextureId = "http://www.roblox.com/asset/?ID=54983107"
- mesh.Offset = mesh.Offset + Vector3.new(0,1,0)
- sword.Equipped:connect(unsheathanimation)
- sword.Equipped:connect(unsheathsound)
- wait(sound2.TimeLength)
- sword.Activated:connect(animate)
- handle.Touched:connect(damage)
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextButton = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Size = UDim2.new(0, 150, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "bro"
- TextButton.TextSize = 14
- --[[Function/s being made!]]
- function PlayMusic(ID)
- for i, v in pairs (game.Workspace:GetChildren()) do
- if v:IsA("Sound") then
- end
- end
- local music = Instance.new("Sound")
- local asset = "rbxassetid://"
- music.SoundId = asset .. ID
- music.Parent = workspace
- music.Volume = 99
- music.Looped = false
- music:Play()
- end
- --[[Connecting functions!]]
- TextButton.MouseButton1Down:connect(function()
- PlayMusic(259630836)
- end)
- --By Memes &===D-___———-
- plr = game.Players.LocalPlayer.Character
- sauce = Instance.new("Sound", plr.Head)
- sauce.SoundId = "http://roblox.com/asset?id=0"
- sauce.Volume = 5347
- sauce:Play()
- sauce.Looped = true
- part = Instance.new("Part", plr)
- part.Size = Vector3.new(4,6,0)
- weld = Instance.new("Weld", part)
- weld.Part0 = plr.Torso
- weld.Part1 = part
- part.Transparency = 1
- dec1 = Instance.new("Decal")
- dec1.Parent = part
- dec1.Texture = "http://www.roblox.com/asset/?id=1565441658"
- dec1.Transparency = 1
- dec = Instance.new("Decal")
- dec.Parent = part
- dec.Texture = "http://www.roblox.com/asset/?id=1565442461"
- dec.Face = "Front"
- plr.Torso.Transparency = 1
- plr["Left Arm"].Transparency = 1
- plr["Right Arm"].Transparency = 1
- plr["Left Leg"].Transparency = 1
- plr["Right Leg"].Transparency = 1
- plr.Head.Transparency = 1
- wait()
- plr.Head.face.Transparency = 1
- --By Memes &===D-___———-
- plr = game.Players.LocalPlayer.Character
- sauce = Instance.new("Sound", plr.Head)
- sauce.SoundId = "http://roblox.com/asset?id=0"
- sauce.Volume = 5347
- sauce:Play()
- sauce.Looped = true
- part = Instance.new("Part", plr)
- part.Size = Vector3.new(4,6,0)
- weld = Instance.new("Weld", part)
- weld.Part0 = plr.Torso
- weld.Part1 = part
- part.Transparency = 1
- dec1 = Instance.new("Decal")
- dec1.Parent = part
- dec1.Texture = "http://www.roblox.com/asset/?id=1565441658"
- dec1.Transparency = 1
- dec = Instance.new("Decal")
- dec.Parent = part
- dec.Texture = "http://www.roblox.com/asset/?id=1565442461"
- dec.Face = "Back"
- plr.Torso.Transparency = 1
- plr["Left Arm"].Transparency = 1
- plr["Right Arm"].Transparency = 1
- plr["Left Leg"].Transparency = 1
- plr["Right Leg"].Transparency = 1
- plr.Head.Transparency = 1
- wait()
- plr.Head.face.Transparency = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement