Advertisement
Animescapetower

Untitled

Feb 17th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.51 KB | None | 0 0
  1. --Hey guys was making this script i can't make the attacks cause i'm lazy, but i will add damege bricks, made by animescapetower
  2. local Arm1 = game.Players.LocalPlayer.Character["Left Arm"]
  3. local Arm2 = game.Players.LocalPlayer.Character["Right Arm"]
  4. local Leg1 = game.Players.LocalPlayer.Character["Left Leg"]
  5. local Leg2 = game.Players.LocalPlayer.Character["Right Leg"]
  6. local player = game.Players.LocalPlayer
  7.  
  8. local mouse = player:GetMouse()
  9.  
  10.  
  11. local bg = Instance.new("BillboardGui")
  12. bg.Name = "Bamma"
  13. bg.Parent = game.Players.LocalPlayer.Character.Head
  14. bg.Adornee = game.Players.LocalPlayer.Character.Head
  15. -- Same size as Head
  16. bg.Size = UDim2.new(1, 0, 1, 0)
  17. -- Above (defaults to inside)
  18. bg.StudsOffset = Vector3.new(0, 2, 0)
  19.  
  20. local frame = Instance.new("Frame")
  21. frame.Parent = bg
  22. frame.Size = UDim2.new(1, 0, 1, 0)
  23. frame.BackgroundTransparency = 0.7
  24. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  25.  
  26. local text = Instance.new("TextLabel")
  27. text.Parent = frame
  28. text.Position = UDim2.new(0.25, 0, 0.25, 0)
  29. text.Size = UDim2.new(0.5, 0, 0.5, 0)
  30. text.BackgroundTransparency =1
  31. text.Text = "Dragon Slayer"
  32.  
  33.  
  34. mouse.KeyDown:connect(function(key)
  35.     if key == "z" then
  36. text.Text = "Safety Damege"
  37.     function onTouched(part)
  38.  local h = part.Parent:findFirstChild("Humanoid")
  39.  if h~=nil then
  40.   h.Health = h.Health -0.1 -- The most not so damegeing part is this
  41.   wait(2.00)
  42.  end
  43. end
  44.  
  45. Leg1.Touched:connect(onTouched)
  46.    
  47.     end
  48. end)
  49.  
  50. mouse.KeyDown:connect(function(key)
  51.     if key == "f" then
  52. text.Text = "Cactus Damege"
  53.     function onTouched(part)
  54.  local h = part.Parent:findFirstChild("Humanoid")
  55.  if h~=nil then
  56.   h.Health = h.Health -1 -- This doubles the damege
  57.   wait(4)
  58.  end
  59. end
  60.  
  61. Leg2.Touched:connect(onTouched)
  62.    
  63.     end
  64. end)
  65.  
  66. mouse.KeyDown:connect(function(key)
  67.     if key == "k" then
  68. text.Text = "Dragon Slayer"
  69.     function onTouched(part)
  70.  local h = part.Parent:findFirstChild("Humanoid")
  71.  if h~=nil then
  72.   h.Health = h.Health + 1923 -- The most not so damegeing part is this
  73.   wait(2.00)
  74.  end
  75. end
  76.  
  77. Leg1.Touched:connect(onTouched)
  78.    
  79.     end
  80. end)
  81.  
  82.  
  83.  
  84. game.Players.LocalPlayer.Character.Head.CanCollide = false
  85.     game.Players.LocalPlayer.Character.Torso.CanCollide = false
  86. local vy = Instance.new("Sound")
  87. vy.Name = "SongyName"
  88. vy.SoundId = "rbxassetid://1186337256"
  89. vy.Volume = 10
  90. vy.PlaybackSpeed = 1
  91. vy.Parent = game.Players.LocalPlayer.Character.Torso
  92. vy.Looped = true
  93. vy:Play()
  94. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  95. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  96. while true do
  97.     game:GetService("RunService").Stepped:wait()
  98.     game.Players.LocalPlayer.Character.Head.CanCollide = false
  99.     game.Players.LocalPlayer.Character.Torso.CanCollide = false
  100.    
  101. Arm1.Transparency = 0.6
  102. Arm2.Transparency = 0.6
  103. Leg1.Transparency = 0.6
  104. Leg2.Transparency = 0.6
  105. game.Players.LocalPlayer.Character.Torso.Transparency = 0.6
  106. game.Players.LocalPlayer.Character.Head.Transparency = 0.6
  107. wait(0.1)
  108. Arm1.Transparency = 1
  109. Arm2.Transparency = 1
  110. Leg1.Transparency = 1
  111. Leg2.Transparency = 1
  112. game.Players.LocalPlayer.Character.Torso.Transparency = 1
  113. game.Players.LocalPlayer.Character.Head.Transparency = 1
  114.  
  115.  
  116. wait(0.1)
  117. Arm1.Transparency = 0
  118. Arm2.Transparency = 0
  119. Leg1.Transparency = 0
  120. Leg2.Transparency = 0
  121. game.Players.LocalPlayer.Character.Torso.Transparency = 0
  122. game.Players.LocalPlayer.Character.Head.Transparency = 0
  123.  
  124.  
  125. wait(0.1)
  126. game.Players.LocalPlayer.Character.Head.CanCollide = false
  127. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  128. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement