Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sound = Instance.new("Sound",game.Players.LocalPlayer.Character) sound.SoundId = "rbxassetid://1011751851" sound.Volume = 10 sound:Play()
- local stand = Instance.new("Model",game.Workspace) stand.Name = "Stand"
- if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 200
- game.Players.LocalPlayer.Character.Humanoid.Health = 200
- end
- for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:IsA("BasePart") then
- local clon = v:Clone()
- clon.Parent = stand
- clon.Locked = false
- clon.Color = Color3.fromRGB(106, 57, 9)
- clon.Anchored = false
- clon.CFrame = CFrame.new(0,0,0)
- for _,p in pairs(clon:GetChildren()) do
- if p.ClassName ~= "Motor6D" and p.ClassName ~= "SpecialMesh" then
- p:remove()
- end
- end
- end
- if v.ClassName == "Humanoid" then
- local clon = v:Clone()
- clon.Parent = stand
- end
- end
- stand.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- stand.Head.Mesh.MeshId = ""
- stand.HumanoidRootPart.RootJoint.Part0 = stand.HumanoidRootPart
- stand.HumanoidRootPart.RootJoint.Part1 = stand.Torso
- stand.Torso.Neck.Part0 = stand.Torso
- stand.Torso.Neck.Part1 = stand.Head
- stand.Torso["Right Shoulder"].Part0 = stand.Torso
- stand.Torso["Right Shoulder"].Part1 = stand["Right Arm"]
- stand.Torso["Left Shoulder"].Part0 = stand.Torso
- stand.Torso["Left Shoulder"].Part1 = stand["Left Arm"]
- stand.Torso["Right Hip"].Part0 = stand.Torso
- stand.Torso["Right Hip"].Part1 = stand["Right Leg"]
- stand.Torso["Left Hip"].Part0 = stand.Torso
- stand.Torso["Left Hip"].Part1 = stand["Left Leg"]
- local part = Instance.new("Part",stand["Right Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Right Arm"].CFrame part.Name = "Model"
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Arm"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Left Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Left Arm"].CFrame part.Name = "Model"
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Arm"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Right Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Right Leg"].CFrame part.Name = "Model"
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Leg"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Left Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Left Leg"].CFrame part.Name = "Model"
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1050021135"
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Leg"] weld.C0 = CFrame.new(0,0.75,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.6,1.6,0.6) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model" part.Material = Enum.Material.SmoothPlastic
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(0,0,-0.4)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.1,1.1,1.1) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model2" part.Material = Enum.Material.SmoothPlastic
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(0.4,0.7,0.25)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(1.1,1.1,1.1) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model3" part.Material = Enum.Material.SmoothPlastic
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(-0.4,0.7,0.25)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(0,0,0) part.Color = Color3.fromRGB(106, 57, 9) part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model4" part.Material = Enum.Material.SmoothPlastic
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "http://www.roblox.com/asset/?id=170939831"
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(-0.5,-0.3,1.3)*CFrame.Angles(math.rad(50),math.rad(160),math.rad(180)) weld.Parent = part
- local part = Instance.new("Part",stand["Head"]) part.Size = Vector3.new(1,0.6,0.6) part.BrickColor = BrickColor.new("Pastel brown") part.CanCollide = false part.CFrame = stand["Head"].CFrame part.Name = "Model" part.Material = Enum.Material.SmoothPlastic
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
- local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Head"] weld.C0 = CFrame.new(0,0.3,-0.4)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
- local mouth = Instance.new("Decal",part) mouth.Texture = "http://www.roblox.com/asset/?id=1050045615" mouth.Face = "Back"
- local face = Instance.new("Decal",stand["Head"]) face.Texture = "http://www.roblox.com/asset/?id=1050363322"
- cooldown = false
- normalTp = true
- punchTp = false
- local explo = Instance.new("Explosion")
- stand.Parent = nil
- running = false
- punchEffects = {}
- stand.HumanoidRootPart.Anchored = true
- function stillAnimation()
- stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(30))
- stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
- stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
- stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
- stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
- stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
- end
- function punchAnimation()
- for i=-30,90,30 do
- wait()
- stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(i/3))
- stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(0,math.rad(i),math.rad(90))
- stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
- stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
- stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
- stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
- end
- end
- function oraposAnimation()
- stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0))
- stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
- stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
- stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
- stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
- stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
- end
- function skill1Animation()
- stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0))
- stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(90),math.rad(90))
- stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(-90),math.rad(-90))
- stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
- stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(90),math.rad(90))
- stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(0),math.rad(-90),math.rad(-90))
- end
- function skill2Animation()
- stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0))
- stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(40),math.rad(50),0)
- stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(40),math.rad(-50),0)
- stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
- stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
- stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
- end
- oras = {}
- fart = Instance.new("Part") fart.Size = Vector3.new(3,3,3) fart.Anchored = true fart.CanCollide = false
- fart.Transparency = 1
- local particle = Instance.new("ParticleEmitter",fart) particle.Color = ColorSequence.new(Color3.fromRGB(0,170,0)) particle.Size = NumberSequence.new(3) particle.Texture = "rbxassetid://750161292"
- local tablee = {NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.7),NumberSequenceKeypoint.new(1,1)}
- particle.Transparency = NumberSequence.new(tablee)
- particle.LockedToPart = true
- particle.Lifetime = NumberRange.new(1,1)
- particle.Speed = NumberRange.new(0,0)
- particle.RotSpeed = NumberRange.new(50,50)
- local particle = Instance.new("ParticleEmitter",fart) particle.Color = ColorSequence.new(Color3.fromRGB(0,170,0)) particle.Size = NumberSequence.new(3) particle.Texture = "rbxassetid://750161292"
- local tablee = {NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0.7),NumberSequenceKeypoint.new(1,1)}
- particle.Transparency = NumberSequence.new(tablee)
- particle.LockedToPart = false
- particle.Lifetime = NumberRange.new(1,1)
- particle.Speed = NumberRange.new(0,0)
- particle.RotSpeed = NumberRange.new(50,50)
- stillAnimation()
- function punched(pos)
- local part = Instance.new("Part",game.Workspace) part.Anchored = true part.CanCollide = false
- local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
- part.Color = Color3.fromRGB(115,255,115)
- part.Material = Enum.Material.Neon
- part.Transparency = 0.85
- part.Size = Vector3.new(0.05,0.05,0.05)
- part.CFrame = CFrame.new(pos)
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- game:GetService("Debris"):AddItem(part,0.5)
- table.insert(punchEffects,part)
- end
- farts = {}
- pees = {}
- peetimer = 0
- stand.Humanoid.HealthChanged:connect(function(health)
- if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
- if health < 200 then
- stand.Humanoid.Health = 200
- local quantity = health-200
- game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health+quantity
- end
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
- for i,pee in pairs(pees) do
- if pee.Parent == nil then
- table.remove(pees,i)
- end
- pee.Touched:connect(function(hit)
- if pee.Parent ~= game.Players.LocalPlayer.Character and pee.Parent ~= stand then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-0.025
- end
- if hit.Locked == false then
- peetimer = peetimer+1
- if peetimer > 10 then
- peetimer = 0
- local r = hit.Color.r*255
- local g = hit.Color.g*255
- local b = hit.Color.b*255
- r = r+1
- g = g+1
- b = b-1
- if r > 255 then
- r = 255
- end
- if g > 255 then
- g = 255
- end
- if b < 0 then
- b = 0
- end
- hit.Color = Color3.fromRGB(r,g,b)
- end
- end
- end
- end)
- end
- if #pees > 1 then
- for i=2,#pees do
- local part = Instance.new("Part") part.Color = Color3.fromRGB(255,255,100) part.Transparency = 0.9 part.CanCollide = false part.Anchored = true
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Material = Enum.Material.SmoothPlastic
- part.Size = Vector3.new(0.05,0.05,(pees[i-1].Position-pees[i].Position).magnitude)
- part.CFrame = CFrame.new((pees[i-1].Position+pees[i].Position)/2,pees[i-1].Position)
- game:GetService("Debris"):AddItem(part,0.1)
- part.Parent = game.Workspace
- end
- end
- for _,farto in pairs(farts) do
- farto.CFrame = farto.CFrame+farto.CFrame.lookVector/2
- local exception = {}
- for _,child in pairs(game.Workspace:GetChildren()) do
- if child ~= game.Players.LocalPlayer.Character then
- for _,InChild in pairs(child:GetChildren()) do
- if child:FindFirstChild("Humanoid") then
- local did = false
- for i=1,#exception do
- if exception[i] == child then
- did = true
- end
- end
- if did == false then
- if InChild:IsA("BasePart") then
- local pos = farto.Position
- if (pos-InChild.Position).magnitude < 3 then
- table.insert(exception,child)
- child.Humanoid.Health = child.Humanoid.Health-1
- end
- end
- end
- end
- end
- end
- end
- end
- for _,ora in pairs(oras) do
- if ora:FindFirstChild("Pos") then
- ora.Pos.Value = ora.Pos.Value-Vector3.new(0,0,1)
- ora.CFrame = stand.Torso.CFrame:toWorldSpace(CFrame.new(ora.Pos.Value))*CFrame.Angles(0,math.rad(270),math.rad(-90))
- ora.Model.CFrame = ora.CFrame:toWorldSpace(CFrame.new(0,-0.75,0))
- local exception = {}
- for _,child in pairs(game.Workspace:GetChildren()) do
- if child ~= game.Players.LocalPlayer.Character then
- for _,InChild in pairs(child:GetChildren()) do
- if child:FindFirstChild("Humanoid") then
- local did = false
- for i=1,#exception do
- if exception[i] == child then
- did = true
- end
- end
- if did == false then
- if InChild:IsA("BasePart") then
- local pos = ora.CFrame.p
- if (pos-InChild.Position).magnitude < 2 then
- table.insert(exception,child)
- punched(pos)
- if not ora:FindFirstChild("LowDamage") then
- child.Humanoid.Health = child.Humanoid.Health-0.125
- end
- if ora:FindFirstChild("LowDamage") then
- child.Humanoid.Health = child.Humanoid.Health-0.03
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- for _,partt in pairs(punchEffects) do
- partt.Size = partt.Size+Vector3.new(0.075,0.075,0.075)
- end
- if normalTp == true then
- stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(2,0.5,3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
- end
- if punchTp == true then
- stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0.5,-3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
- end
- for _,child in pairs(stand:GetChildren()) do
- if child:IsA("BasePart") then
- child.CollisionGroupId = 3
- child.CanCollide = false
- end
- end
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(function(key)
- if game.Players.LocalPlayer.Name == "rokeliuxas" or game.Players.LocalPlayer.Name == "Pedrorb03" then
- if key.KeyCode == Enum.KeyCode.Q then
- if cooldown == false then
- if stand.Parent ~= nil then
- stand.Parent = nil
- else
- game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Shock The Monkey!",Enum.ChatColor.White)
- stand.Parent = game.Players.LocalPlayer.Character
- end
- end
- end
- if key.KeyCode == Enum.KeyCode.E then
- if cooldown == false then
- if stand.Parent ~= nil then
- if normalTp == true then
- normalTp = false
- cooldown = true
- punchTp = true
- punchAnimation()
- local exception = {}
- for i=1,6 do
- wait(0.1)
- for _,child in pairs(game.Workspace:GetChildren()) do
- if child ~= game.Players.LocalPlayer.Character then
- for _,InChild in pairs(child:GetChildren()) do
- if child:FindFirstChild("Humanoid") then
- local did = false
- for i=1,#exception do
- if exception[i] == child then
- did = true
- end
- end
- if did == false then
- if InChild:IsA("BasePart") then
- local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
- if (pos-InChild.Position).magnitude < 2 then
- table.insert(exception,child)
- punched(pos)
- child.Humanoid.Health = child.Humanoid.Health-10
- end
- end
- end
- end
- end
- end
- end
- end
- stillAnimation()
- normalTp = true
- cooldown = false
- punchTp = false
- end
- end
- end
- end
- if key.KeyCode == Enum.KeyCode.R then
- if cooldown == false then
- if stand.Parent ~= nil then
- if normalTp == true then
- normalTp = false
- cooldown = true
- punchTp = true
- stand["Right Arm"].Transparency = 1
- stand["Right Arm"].Model.Transparency = 1
- stand["Left Arm"].Transparency = 1
- stand["Left Arm"].Model.Transparency = 1
- oraposAnimation()
- for i=1,100 do
- wait()
- local clon = stand["Right Arm"]:Clone()
- clon.Name = "ora"
- clon.Parent = game.Workspace
- clon.Anchored = true
- clon.CanCollide = false
- clon.Model.CanCollide = false
- clon.Transparency = 0
- clon.Model.Transparency = 0
- clon.Model.Anchored = true
- clon.Material = Enum.Material.SmoothPlastic
- clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- game:GetService("Debris"):AddItem(clon,0.1)
- local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
- ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
- table.insert(oras,clon)
- local clon = stand["Left Arm"]:Clone()
- clon.Name = "ora"
- clon.Parent = game.Workspace
- clon.Anchored = true
- clon.CanCollide = false
- clon.Model.CanCollide = false
- clon.Transparency = 0
- clon.Model.Transparency = 0
- clon.Model.Anchored = true
- clon.Material = Enum.Material.SmoothPlastic
- clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- game:GetService("Debris"):AddItem(clon,0.1)
- local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
- ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
- table.insert(oras,clon)
- end
- wait(0.3)
- oras = {}
- stand["Right Arm"].Transparency = 0
- stand["Right Arm"].Model.Transparency = 0
- stand["Left Arm"].Transparency = 0
- stand["Left Arm"].Model.Transparency = 0
- stillAnimation()
- normalTp = true
- cooldown = false
- punchTp = false
- end
- end
- end
- end
- if key.KeyCode == Enum.KeyCode.Z then
- if cooldown == false then
- if stand.Parent ~= nil then
- if normalTp == true then
- normalTp = false
- cooldown = true
- punchTp = true
- skill1Animation()
- for i=1,10 do
- wait(0.1)
- local fartt = fart:Clone()
- fartt.Parent = game.Workspace
- game:GetService("Debris"):AddItem(fartt,2)
- fartt.CFrame = CFrame.new(stand.Torso.CFrame:toWorldSpace(CFrame.new(0,-0.5,0)).p,game.Players.LocalPlayer:GetMouse().Hit.p)
- table.insert(farts,fartt)
- end
- wait(0.5)
- stillAnimation()
- normalTp = true
- cooldown = false
- punchTp = false
- end
- end
- end
- end
- if key.KeyCode == Enum.KeyCode.X then
- if cooldown == false then
- if stand.Parent ~= nil then
- if normalTp == true then
- normalTp = false
- cooldown = true
- punchTp = true
- skill2Animation()
- for i=1,150 do
- wait()
- local part = Instance.new("Part") part.Transparency = 1 part.Size = Vector3.new(0,0,0) part.CFrame = CFrame.new(stand.Torso.CFrame:toWorldSpace(CFrame.new(0,-1.5,-0.3)).p) part.Anchored = false part.CanCollide = false
- part.Parent = game.Workspace
- part.Velocity = stand.HumanoidRootPart.CFrame.lookVector*15 +Vector3.new(0,40,0)
- game:GetService("Debris"):AddItem(part,5)
- table.insert(pees,part)
- end
- wait(0.5)
- stillAnimation()
- normalTp = true
- cooldown = false
- punchTp = false
- end
- end
- end
- end
- if key.KeyCode == Enum.KeyCode.C then
- if cooldown == false then
- if stand.Parent ~= nil then
- if normalTp == true then
- normalTp = false
- cooldown = true
- punchTp = true
- skill1Animation()
- local poo = Instance.new("Part") poo.Shape = Enum.PartType.Ball poo.Size = Vector3.new(0.05,0.05,0.05) poo.Color = Color3.fromRGB(106, 57, 9) poo.Material = Enum.Material.Slate
- poo.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- poo.Anchored = true
- poo.CanCollide = true
- poo.Parent = game.Workspace
- for i=1,200 do
- wait()
- poo.Size = poo.Size+Vector3.new(1,1,1)
- poo.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-i/2))
- end
- local pooe = Instance.new("Part") pooe.Shape = Enum.PartType.Ball pooe.Size = poo.Size pooe.Color = Color3.fromRGB(106, 57, 9) pooe.Material = Enum.Material.Neon
- pooe.Transparency = 0.5
- pooe.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- pooe.Anchored = true
- pooe.CanCollide = false
- pooe.Parent = game.Workspace
- for i=1,10 do
- wait()
- pooe.Size = pooe.Size+Vector3.new(50,50,50)
- poo.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-100))
- pooe.CFrame = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1-100))
- end
- poo:remove()
- pooe:remove()
- for _,child in pairs(game.Workspace:GetChildren()) do
- if child ~= game.Players.LocalPlayer.Character then
- if child:FindFirstChild("Humanoid") then
- if child:FindFirstChild("HumanoidRootPart") then
- local ex = explo:Clone()
- ex.Position = child.HumanoidRootPart.Position
- ex.Parent = game.Workspace
- end
- for _,InChild in pairs(child:GetChildren()) do
- InChild:remove()
- end
- end
- end
- end
- wait(0.5)
- stillAnimation()
- normalTp = true
- cooldown = false
- punchTp = false
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement