Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local mouse = plr:GetMouse()
- local animc = Instance.new("Animation", char)
- animc.AnimationId = "rbxassetid://218504594"
- atkd = false
- godtuch = false
- freeze = false
- hot = false
- laser = false
- music1 = false
- ff = false
- local handle = Instance.new("Part")
- handle.Size = Vector3.new(7, 0.2, 0.2)
- handle.Material = "Wood"
- handle.CanCollide = false
- handle.BrickColor = BrickColor.new("Reddish brown")
- local weld = Instance.new("Weld", handle)
- local swing = Instance.new("Sound", handle)
- local music = Instance.new("Sound", handle)
- local hits = Instance.new("Sound", handle)
- local hiti = Instance.new("Sound", handle)
- local hity = Instance.new("Sound", handle)
- local hitu = Instance.new("Sound", handle)
- local swing2 = Instance.new("Sound", handle)
- local damage = Instance.new("IntValue", handle)
- local gui = Instance.new("ScreenGui", plr.PlayerGui)
- local gui2 = Instance.new("ScreenGui", plr.PlayerGui)
- local gui3 = Instance.new("ScreenGui", plr.PlayerGui)
- local gui4 = Instance.new("ScreenGui", plr.PlayerGui)
- local txt = Instance.new("TextLabel", gui)
- local txt2 = Instance.new("TextLabel", gui)
- local txt3 = Instance.new("TextLabel", gui)
- local txt4 = Instance.new("TextLabel", gui)
- txt.BorderSizePixel = 0
- txt.BackgroundTransparency = 0.5
- txt.BackgroundColor3 = Color3.new(108, 108, 108)
- txt.TextScaled = true
- txt.Visible = true
- txt.Position = UDim2.new(0, 0, 0, 0)
- txt.Size = UDim2.new(0, 200, 0, 50)
- txt.Font = "SciFi"
- txt.TextColor3 = Color3.new(255, 255, 255)
- txt2.BorderSizePixel = 0
- txt2.BackgroundTransparency = 0.5
- txt2.BackgroundColor3 = Color3.new(108, 108, 108)
- txt2.TextScaled = true
- txt2.Visible = true
- txt2.Position = UDim2.new(0, 0, 0.1, 0)
- txt2.Size = UDim2.new(0, 200, 0, 50)
- txt2.Font = "SciFi"
- txt2.TextColor3 = Color3.new(255, 255, 255)
- txt2.Text = "Regular"
- txt3.BorderSizePixel = 0
- txt3.BackgroundTransparency = 0.5
- txt3.BackgroundColor3 = Color3.new(108, 108, 108)
- txt3.TextScaled = true
- txt3.Visible = true
- txt3.Position = UDim2.new(0.28, 0, 0, 0)
- txt3.Size = UDim2.new(0, 200, 0, 50)
- txt3.Font = "SciFi"
- txt3.TextColor3 = Color3.new(255, 255, 255)
- txt4.BorderSizePixel = 0
- txt4.BackgroundTransparency = 0.5
- txt4.BackgroundColor3 = Color3.new(108, 108, 108)
- txt4.TextScaled = true
- txt4.Visible = true
- txt4.Position = UDim2.new(0.28, 0, 0.1, 0)
- txt4.Size = UDim2.new(0, 200, 0, 50)
- txt4.Font = "SciFi"
- txt4.TextColor3 = Color3.new(255, 255, 255)
- damage.Value = 90
- swing.Name = "swing"
- hits.Name = "Hit"
- hits.SoundId = "rbxassetid://743521272"
- swing.SoundId = "rbxassetid://608537390"
- music.SoundId = "rbxassetid://379494325"
- swing2.SoundId = "rbxassetid://605565775"
- hiti.SoundId = "rbxassetid://260433557"
- hity.SoundId = "rbxassetid://150442604"
- hitu.SoundId = "rbxassetid://605600977"
- handle.Parent = char
- weld.Part0 = handle
- weld.Part1 = char["Right Arm"]
- weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) * CFrame.new(0, -1, 0)
- handle.CanCollide = false
- char.Humanoid.MaxHealth = 6000
- char.Humanoid.Health = char.Humanoid.MaxHealth
- txt.Text = "damage: "..damage.Value
- damage.Changed:connect(function()
- txt.Text = "damage: "..damage.Value
- end)
- txt3.Text = "MaxHealth: "..char.Humanoid.MaxHealth
- char.Humanoid.Changed:connect(function()
- txt3.Text = "MaxHealth: "..char.Humanoid.MaxHealth
- end)
- txt4.Text = "Speed: "..char.Humanoid.WalkSpeed
- char.Humanoid.Changed:connect(function()
- txt4.Text = "Speed: "..char.Humanoid.WalkSpeed
- end)
- function debounce(func)
- local isRunning = false
- return function(...)
- if not isRunning then
- isRunning = true
- func(...)
- isRunning = false
- end
- end
- end
- mouse.Button1Down:connect(debounce(function()
- local anim = char.Humanoid:LoadAnimation(animc)
- swing:Play()
- anim:Play()
- atkd = true
- wait(0.9)
- atkd = false
- wait(1)
- end))
- handle.Touched:connect(debounce(function(hit)
- if hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Right Leg" or hit.Name == "Left Leg" and hit.Parent.Name ~= char.Name then
- if atkd == true and godtuch == false and freeze == false and hot == false and laser == false then
- hit.Parent.Humanoid:TakeDamage(damage.Value)
- hits:Play()
- hit.Parent.Humanoid.PlatformStand = true
- wait(3)
- hit.Parent.Humanoid.PlatformStand = false
- wait(1)
- elseif atkd == true and godtuch == true and freeze == false and hot == false and laser == false then
- hit.Parent.Humanoid.Health = 0
- hits:Play()
- wait(1)
- elseif atkd == true and freeze == true and godtuch == false and hot == false and laser == false then
- hit.Anchored = true
- hit.BrickColor = BrickColor.new("Baby blue")
- hit.Material = "Ice"
- hiti:Play()
- wait(1)
- elseif atkd == true and freeze == false and godtuch == false and hot == true and laser == false then
- local fire = Instance.new("Fire")
- fire.Heat = 9
- fire.Size = 5
- fire.Color = Color3.new(236, 139, 70)
- fire.SecondaryColor = Color3.new(139, 80, 55)
- fire.Enabled = true
- hit.BrickColor = BrickColor.new("Really black")
- hit.Material = "Slate"
- fire.Parent = hit
- hity:Play()
- wait(0.5)
- hit:Destroy()
- wait(1)
- elseif atkd == true and freeze == false and godtuch == false and hot == false and laser == true then
- hit.CanCollide = true
- hit:BreakJoints()
- hitu:Play()
- wait(1)
- end
- end
- end))
- mouse.KeyDown:connect(debounce(function(Key)
- if(Key:lower() == "q") and godtuch == false then
- godtuch = true
- handle.BrickColor = BrickColor.new("Bright red")
- handle.Material = "Neon"
- txt2.Text = "GodTuch"
- elseif (Key:lower() == "q") and godtuch == true then
- godtuch = false
- handle.BrickColor = BrickColor.new("Reddish brown")
- handle.Material = "Wood"
- txt2.Text = "Regular"
- elseif (Key:lower() == "r") then
- damage.Value = damage.Value + 10
- elseif (Key:lower() == "t") then
- damage.Value = damage.Value - 10
- elseif (Key:lower() == "e") and freeze == false then
- freeze = true
- handle.BrickColor = BrickColor.new("Baby blue")
- handle.Material = "Ice"
- txt2.Text = "Freeze"
- elseif (Key:lower() == "e") and freeze == true then
- freeze = false
- handle.Material = "Wood"
- handle.BrickColor = BrickColor.new("Reddish brown")
- txt2.Text = "Regular"
- elseif (Key:lower() == "h") and hot == false then
- local fire = Instance.new("Fire")
- fire.Heat = 9
- fire.Size = 5
- fire.Color = Color3.new(236, 139, 70)
- fire.SecondaryColor = Color3.new(139, 80, 55)
- fire.Enabled = true
- fire.Parent = handle
- handle.Material = "Neon"
- handle.BrickColor = BrickColor.new("Deep orange")
- txt2.Text = "Fire"
- hot = true
- elseif (Key:lower() == "h") and hot == true then
- hot = false
- handle.Material = "Wood"
- handle.BrickColor = BrickColor.new("Reddish brown")
- txt2.Text = "Regular"
- handle.Fire:Destroy()
- elseif (Key:lower() == "l") and laser == false then
- local p = Instance.new("ParticleEmitter")
- local color1 = Color3.new(255, 0, 0)
- local color2 = Color3.new(255, 0, 0)
- p.Size = NumberSequence.new(0.3)
- p.Color = ColorSequence.new(color1, color2)
- p.LockedToPart = true
- p.Lifetime = NumberRange.new(60)
- p.Rate = 10000
- p.Rotation = NumberRange.new(300)
- p.RotSpeed = NumberRange.new(300)
- p.Speed = NumberRange.new(0)
- p.Enabled = true
- p.LightEmission = 0.9
- p.Parent = handle
- p.Name = "P"
- swing.SoundId = "rbxassetid://605565775"
- handle.Material = "Neon"
- handle.BrickColor = BrickColor.new("Really red")
- txt2.Text = "Laser"
- laser = true
- elseif (Key:lower() == "l") and laser == true then
- handle.P:Destroy()
- handle.Material = "Wood"
- swing.SoundId = "rbxassetid://608537390"
- handle.BrickColor = BrickColor.new("Reddish brown")
- txt2.Text = "Regular"
- laser = false
- elseif (Key:lower() == "x") then
- char.Humanoid.MaxHealth = char.Humanoid.MaxHealth + 10
- elseif (Key:lower() == "z") then
- char.Humanoid.MaxHealth = char.Humanoid.MaxHealth - 10
- elseif (Key:lower() == "c") then
- char.Humanoid.Health = char.Humanoid.MaxHealth
- elseif (Key:lower() == "f") then
- char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 10
- elseif (Key:lower() == "g") then
- char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 10
- elseif (Key:lower() == "v") then
- char.Humanoid.MaxHealth = 10000000000000000000000000000000000000000000000000000000000000000000
- elseif (Key:lower() == "b") then
- char.Humanoid.MaxHealth = 100
- elseif (Key:lower() == "n") then
- char.Humanoid.MaxHealth = 6000
- elseif (Key:lower() == "m") and music1 == false then
- music:Play()
- music1 = true
- elseif (Key:lower() == "m") and music1 == true then
- music:Stop()
- music1 = false
- elseif (Key:lower() == "p") and ff == false then
- local forcef = Instance.new("ForceField")
- ff = true
- forcef.Visible = false
- forcef.Parent = char
- local part1 = char.Torso:Clone()
- local welds = Instance.new("Weld", char.Torso)
- part1.CFrame = char.Torso.CFrame
- part1.Size = char.Torso.Size + Vector3.new(0.05, 0.05, 0.05)
- part1.Material = "Neon"
- part1.BrickColor = BrickColor.new("Toothpaste")
- part1.Transparency = 0.5
- part1.Anchored = false
- part1.Name = "Tor"
- part1.Parent = char
- part1.Orientation = char.Torso.Orientation
- welds.Part0 = char.Torso
- welds.Part1 = part1
- local part2 = char["Right Arm"]:Clone()
- local welds2 = Instance.new("Weld", char["Right Arm"])
- part2.CFrame = char.Torso.CFrame
- part2.Size = char["Right Arm"].Size + Vector3.new(0.05, 0.05, 0.05)
- part2.Material = "Neon"
- part2.BrickColor = BrickColor.new("Toothpaste")
- part2.Transparency = 0.5
- part2.Anchored = false
- part2.Name = "RighA"
- part2.Parent = char
- part2.Orientation = char["Right Arm"].Orientation
- welds2.Part0 = char["Right Arm"]
- welds2.Part1 = part2
- local part3 = char["Left Arm"]:Clone()
- local welds3 = Instance.new("Weld", char["Left Arm"])
- part3.CFrame = char["Left Arm"].CFrame
- part3.Size = char["Left Arm"].Size + Vector3.new(0.05, 0.05, 0.05)
- part3.Material = "Neon"
- part3.BrickColor = BrickColor.new("Toothpaste")
- part3.Transparency = 0.5
- part3.Anchored = false
- part3.Name = "LefA"
- part3.Parent = char
- part3.Orientation = char["Left Arm"].Orientation
- welds3.Part0 = char["Left Arm"]
- welds3.Part1 = part3
- local part4 = char.Head:Clone()
- local welds4 = Instance.new("Weld", char.Head)
- part4.CFrame = char.Head.CFrame
- part4.Size = char.Head.Size + Vector3.new(0.05, 0.05, 0.05)
- part4.face:Destroy()
- part4.Material = "Neon"
- part4.BrickColor = BrickColor.new("Toothpaste")
- part4.Transparency = 0.5
- part4.Anchored = false
- part4.Name = "Hea"
- part4.Parent = char
- part4.Orientation = char.Head.Orientation
- welds4.Part0 = char.Head
- welds4.Part1 = part4
- local part5 = char["Right Leg"]:Clone()
- local welds5 = Instance.new("Weld", char["Right Leg"])
- part5.CFrame = char["Right Leg"].CFrame
- part5.Size = char["Right Leg"].Size + Vector3.new(0.05, 0.05, 0.05)
- part5.Material = "Neon"
- part5.BrickColor = BrickColor.new("Toothpaste")
- part5.Transparency = 0.5
- part5.Anchored = false
- part5.Name = "RighL"
- part5.Parent = char
- part5.Orientation = char["Right Leg"].Orientation
- welds5.Part0 = char["Right Leg"]
- welds5.Part1 = part5
- local part6 = char["Left Leg"]:Clone()
- local welds6 = Instance.new("Weld", char["Left Leg"])
- part6.CFrame = char["Left Leg"].CFrame
- part6.Size = char["Left Leg"].Size + Vector3.new(0.05, 0.05, 0.05)
- part6.Material = "Neon"
- part6.BrickColor = BrickColor.new("Toothpaste")
- part6.Transparency = 0.5
- part6.Anchored = false
- part6.Name = "LeftL"
- part6.Parent = char
- part6.Orientation = char["Left Leg"].Orientation
- welds6.Part0 = char["Left Leg"]
- welds6.Part1 = part6
- elseif (Key:lower() == "p") and ff ==true then
- ff = false
- char.Tor:Destroy()
- char.RighA:Destroy()
- char.LefA:Destroy()
- char.Hea:Destroy()
- char.RighL:Destroy()
- char.LeftL:Destroy()
- end
- end))
- while true do
- wait(0.001)
- if ff == true then
- char.Humanoid.MaxHealth = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- wait(0.2)
- char.Humanoid.Health = char.Humanoid.MaxHealth
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement