Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Attachment3 = Instance.new("Attachment")
- Attachment4 = Instance.new("Attachment")
- Attachment5 = Instance.new("Attachment")
- Attachment6 = Instance.new("Attachment")
- Decal7 = Instance.new("Decal")
- BillboardGui8 = Instance.new("BillboardGui")
- TextLabel9 = Instance.new("TextLabel")
- BillboardGui10 = Instance.new("BillboardGui")
- TextLabel11 = Instance.new("TextLabel")
- Part12 = Instance.new("Part")
- Motor6D13 = Instance.new("Motor6D")
- Part14 = Instance.new("Part")
- Attachment15 = Instance.new("Attachment")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Attachment18 = Instance.new("Attachment")
- Weld19 = Instance.new("Weld")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Decal22 = Instance.new("Decal")
- Motor6D23 = Instance.new("Motor6D")
- Motor6D24 = Instance.new("Motor6D")
- Motor6D25 = Instance.new("Motor6D")
- Motor6D26 = Instance.new("Motor6D")
- Motor6D27 = Instance.new("Motor6D")
- Attachment28 = Instance.new("Attachment")
- Attachment29 = Instance.new("Attachment")
- Attachment30 = Instance.new("Attachment")
- Attachment31 = Instance.new("Attachment")
- Attachment32 = Instance.new("Attachment")
- Attachment33 = Instance.new("Attachment")
- Attachment34 = Instance.new("Attachment")
- Attachment35 = Instance.new("Attachment")
- Sound36 = Instance.new("Sound")
- Sound37 = Instance.new("Sound")
- Sound38 = Instance.new("Sound")
- Sound39 = Instance.new("Sound")
- Sound40 = Instance.new("Sound")
- Sound41 = Instance.new("Sound")
- Sound42 = Instance.new("Sound")
- Sound43 = Instance.new("Sound")
- Sound44 = Instance.new("Sound")
- Sound45 = Instance.new("Sound")
- Sound46 = Instance.new("Sound")
- ParticleEmitter47 = Instance.new("ParticleEmitter")
- Script48 = Instance.new("Script")
- ParticleEmitter49 = Instance.new("ParticleEmitter")
- Script50 = Instance.new("Script")
- ParticleEmitter51 = Instance.new("ParticleEmitter")
- Script52 = Instance.new("Script")
- ParticleEmitter53 = Instance.new("ParticleEmitter")
- Script54 = Instance.new("Script")
- Part55 = Instance.new("Part")
- BillboardGui56 = Instance.new("BillboardGui")
- ImageLabel57 = Instance.new("ImageLabel")
- Script58 = Instance.new("Script")
- Humanoid59 = Instance.new("Humanoid")
- Accessory60 = Instance.new("Accessory")
- Part61 = Instance.new("Part")
- SpecialMesh62 = Instance.new("SpecialMesh")
- Attachment63 = Instance.new("Attachment")
- Vector3Value64 = Instance.new("Vector3Value")
- Weld65 = Instance.new("Weld")
- Accessory66 = Instance.new("Accessory")
- Part67 = Instance.new("Part")
- SpecialMesh68 = Instance.new("SpecialMesh")
- Attachment69 = Instance.new("Attachment")
- Vector3Value70 = Instance.new("Vector3Value")
- Weld71 = Instance.new("Weld")
- Accessory72 = Instance.new("Accessory")
- Part73 = Instance.new("Part")
- SpecialMesh74 = Instance.new("SpecialMesh")
- Attachment75 = Instance.new("Attachment")
- Weld76 = Instance.new("Weld")
- Pants77 = Instance.new("Pants")
- Shirt78 = Instance.new("Shirt")
- Accessory79 = Instance.new("Accessory")
- Part80 = Instance.new("Part")
- SpecialMesh81 = Instance.new("SpecialMesh")
- Attachment82 = Instance.new("Attachment")
- Weld83 = Instance.new("Weld")
- ShirtGraphic84 = Instance.new("ShirtGraphic")
- Script85 = Instance.new("Script")
- StringValue86 = Instance.new("StringValue")
- Animation87 = Instance.new("Animation")
- StringValue88 = Instance.new("StringValue")
- Animation89 = Instance.new("Animation")
- StringValue90 = Instance.new("StringValue")
- Animation91 = Instance.new("Animation")
- NumberValue92 = Instance.new("NumberValue")
- Animation93 = Instance.new("Animation")
- NumberValue94 = Instance.new("NumberValue")
- StringValue95 = Instance.new("StringValue")
- Animation96 = Instance.new("Animation")
- StringValue97 = Instance.new("StringValue")
- Animation98 = Instance.new("Animation")
- StringValue99 = Instance.new("StringValue")
- Animation100 = Instance.new("Animation")
- StringValue101 = Instance.new("StringValue")
- Animation102 = Instance.new("Animation")
- StringValue103 = Instance.new("StringValue")
- Animation104 = Instance.new("Animation")
- Script105 = Instance.new("Script")
- LocalScript106 = Instance.new("LocalScript")
- ObjectValue107 = Instance.new("ObjectValue")
- Script108 = Instance.new("Script")
- Script109 = Instance.new("Script")
- Script110 = Instance.new("Script")
- Script111 = Instance.new("Script")
- Tool112 = Instance.new("Tool")
- Script113 = Instance.new("Script")
- Part114 = Instance.new("Part")
- SpecialMesh115 = Instance.new("SpecialMesh")
- Sound116 = Instance.new("Sound")
- Sound117 = Instance.new("Sound")
- Sound118 = Instance.new("Sound")
- LocalScript119 = Instance.new("LocalScript")
- Model0.Name = "Salvo_Starly"
- Model0.Parent = mas
- Model0.PrimaryPart = Part12
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Pastel brown")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.CFrame = CFrame.new(-34.0500069, 4.50002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(1, 0.8, 0.6)
- Part1.Position = Vector3.new(-34.0500069, 4.50002766, -63.68993)
- Part1.Color = Color3.new(1, 0.8, 0.6)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- Attachment3.Name = "HatAttachment"
- Attachment3.Parent = Part1
- Attachment3.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment3.Position = Vector3.new(0, 0.600000024, 0)
- Attachment4.Name = "HairAttachment"
- Attachment4.Parent = Part1
- Attachment4.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment4.Position = Vector3.new(0, 0.600000024, 0)
- Attachment5.Name = "FaceFrontAttachment"
- Attachment5.Parent = Part1
- Attachment5.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment5.Position = Vector3.new(0, 0, -0.600000024)
- Attachment6.Name = "FaceCenterAttachment"
- Attachment6.Parent = Part1
- Decal7.Name = "face"
- Decal7.Parent = Part1
- Decal7.Texture = "http://www.roblox.com/asset/?id=31117192"
- BillboardGui8.Name = "LevelGUI"
- BillboardGui8.Parent = Part1
- BillboardGui8.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui8.Active = true
- BillboardGui8.AlwaysOnTop = true
- BillboardGui8.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel9.Name = "Level"
- TextLabel9.Parent = BillboardGui8
- TextLabel9.Transparency = 1
- TextLabel9.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel9.Text = "Level 800"
- TextLabel9.Position = UDim2.new(-0.00999999978, 0, 0.0700000003, 0)
- TextLabel9.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel9.BackgroundTransparency = 1
- TextLabel9.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel9.Font = Enum.Font.SourceSansBold
- TextLabel9.FontSize = Enum.FontSize.Size11
- TextLabel9.TextColor3 = Color3.new(0, 1, 1)
- TextLabel9.TextScaled = true
- TextLabel9.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel9.TextStrokeTransparency = 0
- TextLabel9.TextWrapped = true
- BillboardGui10.Name = "NameGUI"
- BillboardGui10.Parent = Part1
- BillboardGui10.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui10.Active = true
- BillboardGui10.AlwaysOnTop = true
- BillboardGui10.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel11.Name = "Name"
- TextLabel11.Parent = BillboardGui10
- TextLabel11.Transparency = 1
- TextLabel11.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel11.Text = "Salvo_Starly(What mode)"
- TextLabel11.Position = UDim2.new(0, 0, 0, -12)
- TextLabel11.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel11.BackgroundTransparency = 1
- TextLabel11.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel11.Font = Enum.Font.SourceSansBold
- TextLabel11.FontSize = Enum.FontSize.Size48
- TextLabel11.TextColor3 = Color3.new(0, 0, 0)
- TextLabel11.TextScaled = true
- TextLabel11.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel11.TextStrokeTransparency = 0
- TextLabel11.TextWrapped = true
- Part12.Name = "HumanoidRootPart"
- Part12.Parent = Model0
- Part12.Transparency = 1
- Part12.CanCollide = false
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.Size = Vector3.new(2, 2, 1)
- Part12.CFrame = CFrame.new(-34.0500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.Position = Vector3.new(-34.0500069, 3.00002766, -63.68993)
- Motor6D13.Name = "RootJoint"
- Motor6D13.Parent = Part12
- Motor6D13.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D13.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D13.Part0 = Part12
- Motor6D13.Part1 = Part21
- Motor6D13.MaxVelocity = 0.10000000149012
- Part14.Name = "Left Arm"
- Part14.Parent = Model0
- Part14.BrickColor = BrickColor.new("Pastel brown")
- Part14.CanCollide = false
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.Size = Vector3.new(1, 2, 1)
- Part14.CFrame = CFrame.new(-35.5500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.Color = Color3.new(1, 0.8, 0.6)
- Part14.Position = Vector3.new(-35.5500069, 3.00002766, -63.68993)
- Part14.Color = Color3.new(1, 0.8, 0.6)
- Attachment15.Name = "LeftShoulderAttachment"
- Attachment15.Parent = Part14
- Attachment15.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment15.Position = Vector3.new(0, 1, 0)
- Part16.Name = "Left Leg"
- Part16.Parent = Model0
- Part16.BrickColor = BrickColor.new("Really black")
- Part16.CanCollide = false
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.Size = Vector3.new(1, 2, 1)
- Part16.CFrame = CFrame.new(-34.5500069, 1.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Position = Vector3.new(-34.5500069, 1.00002766, -63.68993)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part17.Name = "Right Arm"
- Part17.Parent = Model0
- Part17.BrickColor = BrickColor.new("Pastel brown")
- Part17.CanCollide = false
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.CFrame = CFrame.new(-32.5500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Color = Color3.new(1, 0.8, 0.6)
- Part17.Position = Vector3.new(-32.5500069, 3.00002766, -63.68993)
- Part17.Color = Color3.new(1, 0.8, 0.6)
- Attachment18.Name = "RightShoulderAttachment"
- Attachment18.Parent = Part17
- Attachment18.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment18.Position = Vector3.new(0, 1, 0)
- Weld19.Name = "RightGrip"
- Weld19.Parent = Part17
- Weld19.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
- Weld19.C1 = CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0)
- Weld19.Part0 = Part17
- Weld19.Part1 = Part114
- Part20.Name = "Right Leg"
- Part20.Parent = Model0
- Part20.BrickColor = BrickColor.new("Really black")
- Part20.CanCollide = false
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.CFrame = CFrame.new(-33.5500069, 1.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part20.Position = Vector3.new(-33.5500069, 1.00002766, -63.68993)
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part21.Name = "Torso"
- Part21.Parent = Model0
- Part21.BrickColor = BrickColor.new("Really red")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.Size = Vector3.new(2, 2, 1)
- Part21.CFrame = CFrame.new(-34.0500069, 3.00002766, -63.68993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part21.LeftSurface = Enum.SurfaceType.Weld
- Part21.RightSurface = Enum.SurfaceType.Weld
- Part21.Color = Color3.new(1, 0, 0)
- Part21.Position = Vector3.new(-34.0500069, 3.00002766, -63.68993)
- Part21.Color = Color3.new(1, 0, 0)
- Decal22.Name = "roblox"
- Decal22.Parent = Part21
- Motor6D23.Name = "Right Shoulder"
- Motor6D23.Parent = Part21
- Motor6D23.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D23.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D23.Part0 = Part21
- Motor6D23.Part1 = Part17
- Motor6D23.MaxVelocity = 0.10000000149012
- Motor6D24.Name = "Right Hip"
- Motor6D24.Parent = Part21
- Motor6D24.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D24.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D24.Part0 = Part21
- Motor6D24.Part1 = Part20
- Motor6D24.MaxVelocity = 0.10000000149012
- Motor6D25.Name = "Neck"
- Motor6D25.Parent = Part21
- Motor6D25.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D25.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D25.Part0 = Part21
- Motor6D25.Part1 = Part1
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D26.Name = "Left Shoulder"
- Motor6D26.Parent = Part21
- Motor6D26.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D26.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D26.Part0 = Part21
- Motor6D26.Part1 = Part14
- Motor6D26.MaxVelocity = 0.10000000149012
- Motor6D27.Name = "Left Hip"
- Motor6D27.Parent = Part21
- Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.Part0 = Part21
- Motor6D27.Part1 = Part16
- Motor6D27.MaxVelocity = 0.10000000149012
- Attachment28.Name = "WaistFrontAttachment"
- Attachment28.Parent = Part21
- Attachment28.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment28.Position = Vector3.new(0, -1, -0.5)
- Attachment29.Name = "WaistCenterAttachment"
- Attachment29.Parent = Part21
- Attachment29.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment29.Position = Vector3.new(0, -1, 0)
- Attachment30.Name = "WaistBackAttachment"
- Attachment30.Parent = Part21
- Attachment30.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment30.Position = Vector3.new(0, -1, 0.5)
- Attachment31.Name = "RightCollarAttachment"
- Attachment31.Parent = Part21
- Attachment31.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment31.Position = Vector3.new(1, 1, 0)
- Attachment32.Name = "NeckAttachment"
- Attachment32.Parent = Part21
- Attachment32.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment32.Position = Vector3.new(0, 1, 0)
- Attachment33.Name = "LeftCollarAttachment"
- Attachment33.Parent = Part21
- Attachment33.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment33.Position = Vector3.new(-1, 1, 0)
- Attachment34.Name = "BodyFrontAttachment"
- Attachment34.Parent = Part21
- Attachment34.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment34.Position = Vector3.new(0, 0, -0.5)
- Attachment35.Name = "BodyBackAttachment"
- Attachment35.Parent = Part21
- Attachment35.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment35.Position = Vector3.new(0, 0, 0.5)
- Sound36.Name = "DMG"
- Sound36.Parent = Part21
- Sound36.Pitch = 1.25
- Sound36.SoundId = "rbxassetid://138087186"
- Sound36.Volume = 1
- Sound37.Name = "DMG2"
- Sound37.Parent = Part21
- Sound37.SoundId = "rbxassetid://131237241"
- Sound37.Volume = 1
- Sound38.Name = "FinalFlash"
- Sound38.Parent = Part21
- Sound38.Pitch = 1.5
- Sound38.SoundId = "rbxassetid://161251144"
- Sound38.Volume = 1
- Sound39.Name = "Miss"
- Sound39.Parent = Part21
- Sound39.SoundId = "rbxassetid://174413237"
- Sound40.Name = "SaiyanEnergy"
- Sound40.Parent = Part21
- Sound40.Pitch = 6
- Sound40.SoundId = "rbxassetid://98333808"
- Sound40.Volume = 1
- Sound41.Name = "SaiyanEnergy2"
- Sound41.Parent = Part21
- Sound41.SoundId = "rbxassetid://491515754"
- Sound41.Volume = 1
- Sound41.Looped = true
- Sound42.Name = "Teleport"
- Sound42.Parent = Part21
- Sound42.Pitch = 2
- Sound42.SoundId = "rbxassetid://216782105"
- Sound42.Volume = 1
- Sound43.Name = "Voice1"
- Sound43.Parent = Part21
- Sound43.Pitch = 1.2000000476837
- Sound43.SoundId = "rbxassetid://159490394"
- Sound43.Volume = 1
- Sound44.Name = "Voice2"
- Sound44.Parent = Part21
- Sound44.Pitch = 0.30000001192093
- Sound44.SoundId = "rbxassetid://132236830"
- Sound44.Volume = 1
- Sound45.Name = "Voice3"
- Sound45.Parent = Part21
- Sound45.Pitch = 1.2000000476837
- Sound45.SoundId = "rbxassetid://190995007"
- Sound45.Volume = 1
- Sound46.Name = "Voice4"
- Sound46.Parent = Part21
- Sound46.Pitch = 6
- Sound46.SoundId = "rbxassetid://216782105"
- Sound46.Volume = 1
- ParticleEmitter47.Name = "Aura1"
- ParticleEmitter47.Parent = Part21
- ParticleEmitter47.Transparency = NumberSequence.new(1,1)
- ParticleEmitter47.Size = NumberSequence.new(10,7.3749995231628,2.1875,9.875,0,10)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.333333, 1, 0),Color3.new(0.243137, 0.729412, 0),Color3.new(0.117647, 0.117647, 0.117647))
- ParticleEmitter47.LightEmission = 1.1799999475479
- ParticleEmitter47.Texture = "rbxassetid://260611998"
- ParticleEmitter47.ZOffset = 1
- ParticleEmitter47.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter47.Rate = 120
- ParticleEmitter47.Speed = NumberRange.new(15, 15)
- ParticleEmitter47.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.333333, 1, 0),Color3.new(0.243137, 0.729412, 0),Color3.new(0.117647, 0.117647, 0.117647))
- Script48.Parent = ParticleEmitter47
- table.insert(cors,sandbox(Script48,function()
- while true do --Loop
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
- wait(0.04) --wait 1 second, you can change this and make it different for every one
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
- wait(0.04)
- end
- end))
- ParticleEmitter49.Name = "Aura2"
- ParticleEmitter49.Parent = Part21
- ParticleEmitter49.Transparency = NumberSequence.new(1,1)
- ParticleEmitter49.Size = NumberSequence.new(0.20000000298023,9.6875,3.6874997615814,7.5,3,0.87499976158142,0.56249976158142,0.20000000298023)
- ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(1, 1, 0),Color3.new(0.403922, 0.478431, 0.223529),Color3.new(0.333333, 0.666667, 1))
- ParticleEmitter49.LightEmission = 0.55000001192093
- ParticleEmitter49.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter49.Rate = 50
- ParticleEmitter49.Speed = NumberRange.new(2, 2)
- ParticleEmitter49.VelocitySpread = 50
- ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(1, 1, 0),Color3.new(0.403922, 0.478431, 0.223529),Color3.new(0.333333, 0.666667, 1))
- Script50.Parent = ParticleEmitter49
- table.insert(cors,sandbox(Script50,function()
- while true do --Loop
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
- wait(0.04) --wait 1 second, you can change this and make it different for every one
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
- wait(0.04)
- end
- end))
- ParticleEmitter51.Name = "BlackAura"
- ParticleEmitter51.Parent = Part21
- ParticleEmitter51.Transparency = NumberSequence.new(1,1)
- ParticleEmitter51.Size = NumberSequence.new(7,7)
- ParticleEmitter51.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.333333, 1, 1),Color3.new(1, 1, 0),Color3.new(1, 0, 1),Color3.new(0.333333, 0, 1),Color3.new(0, 0, 1),Color3.new(0.333333, 0, 0.498039),Color3.new(1, 0, 0),Color3.new(0.333333, 1, 0),Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0))
- ParticleEmitter51.LightEmission = 1
- ParticleEmitter51.Texture = "rbxassetid://358965396"
- ParticleEmitter51.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter51.Speed = NumberRange.new(9, 9)
- ParticleEmitter51.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.333333, 1, 1),Color3.new(1, 1, 0),Color3.new(1, 0, 1),Color3.new(0.333333, 0, 1),Color3.new(0, 0, 1),Color3.new(0.333333, 0, 0.498039),Color3.new(1, 0, 0),Color3.new(0.333333, 1, 0),Color3.new(1, 1, 1),Color3.new(1, 0.666667, 0))
- Script52.Parent = ParticleEmitter51
- table.insert(cors,sandbox(Script52,function()
- while true do --Loop
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
- wait(0.04) --wait 1 second, you can change this and make it different for every one
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
- wait(0.04)
- end
- end))
- ParticleEmitter53.Name = "BlackAura2"
- ParticleEmitter53.Parent = Part21
- ParticleEmitter53.Transparency = NumberSequence.new(1,1)
- ParticleEmitter53.Size = NumberSequence.new(10,10)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 0.498039),Color3.new(0.666667, 0, 0))
- ParticleEmitter53.LightEmission = 1
- ParticleEmitter53.Texture = "rbxassetid://260611998"
- ParticleEmitter53.ZOffset = 1
- ParticleEmitter53.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter53.Speed = NumberRange.new(10, 10)
- ParticleEmitter53.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 1, 0),Color3.new(1, 1, 0.498039),Color3.new(0.666667, 0, 0))
- Script54.Parent = ParticleEmitter53
- table.insert(cors,sandbox(Script54,function()
- while true do --Loop
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
- wait(0.04) --wait 1 second, you can change this and make it different for every one
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
- wait(0.04)
- script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
- wait(0.04)
- end
- end))
- Part55.Name = "TeleportEffect"
- Part55.Parent = Part21
- Part55.Material = Enum.Material.SmoothPlastic
- Part55.BrickColor = BrickColor.new("Institutional white")
- Part55.Transparency = 1
- Part55.Rotation = Vector3.new(0, -90, 0)
- Part55.Anchored = true
- Part55.CanCollide = false
- Part55.FormFactor = Enum.FormFactor.Custom
- Part55.Size = Vector3.new(2, 2, 1)
- Part55.CFrame = CFrame.new(-39.1299629, 6.19000292, -202.647049, 4.64180347e-22, 7.54698154e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691863e-22, 4.64180347e-22)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part55.Position = Vector3.new(-39.1299629, 6.19000292, -202.647049)
- Part55.Orientation = Vector3.new(0, -90, 0)
- Part55.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BillboardGui56.Name = "Gui"
- BillboardGui56.Parent = Part55
- BillboardGui56.Size = UDim2.new(5, 0, 5, 0)
- BillboardGui56.Active = true
- ImageLabel57.Name = "Image"
- ImageLabel57.Parent = BillboardGui56
- ImageLabel57.Transparency = 1
- ImageLabel57.Size = UDim2.new(2.5, 0, 2.5, 0)
- ImageLabel57.Position = UDim2.new(0, -40, 0, -40)
- ImageLabel57.Active = true
- ImageLabel57.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- ImageLabel57.BackgroundTransparency = 1
- ImageLabel57.Image = "rbxassetid://507458850"
- Script58.Parent = Part55
- table.insert(cors,sandbox(Script58,function()
- e = game:GetService("ReplicatedStorage")
- script.Parent.Parent = e
- script:Destroy()
- end))
- Humanoid59.Parent = Model0
- Humanoid59.RightLeg = Part20
- Humanoid59.LeftLeg = Part16
- Humanoid59.Torso = Part12
- Accessory60.Name = "FoxEarsw"
- Accessory60.Parent = Model0
- Accessory60.AttachmentPos = Vector3.new(0, 0.340000004, 0.25)
- Part61.Name = "Handle"
- Part61.Parent = Accessory60
- Part61.CanCollide = false
- Part61.FormFactor = Enum.FormFactor.Custom
- Part61.Size = Vector3.new(1.60002756, 0.800000012, 1.59999776)
- Part61.CFrame = CFrame.new(-34.0500069, 5.10002756, -63.68993, 1, -7.87137555e-09, -3.02998127e-15, 7.87137555e-09, 1, 4.14442554e-16, 3.02998127e-15, -4.1444258e-16, 1)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Position = Vector3.new(-34.0500069, 5.10002756, -63.68993)
- SpecialMesh62.Parent = Part61
- SpecialMesh62.MeshId = "rbxassetid://787921134"
- SpecialMesh62.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh62.TextureId = "rbxassetid://787921603"
- SpecialMesh62.MeshType = Enum.MeshType.FileMesh
- SpecialMesh62.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Attachment63.Name = "HatAttachment"
- Attachment63.Parent = Part61
- Attachment63.Rotation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Attachment63.CFrame = CFrame.new(0, 0, 0, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Attachment63.Axis = Vector3.new(1, -7.87137555e-09, -3.02998127e-15)
- Attachment63.Orientation = Vector3.new(2.37458114e-14, 1.73605135e-13, -4.50996595e-07)
- Vector3Value64.Name = "OriginalSize"
- Vector3Value64.Parent = Part61
- Vector3Value64.Value = Vector3.new(1.60002756, 0.800000012, 1.59999776)
- Weld65.Name = "AccessoryWeld"
- Weld65.Parent = Part61
- Weld65.C0 = CFrame.new(0, 0, 0, 1, 7.87137555e-09, 3.02998127e-15, -7.87137555e-09, 1, -4.1444258e-16, -3.02998127e-15, 4.14442554e-16, 1)
- Weld65.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld65.Part0 = Part61
- Weld65.Part1 = Part1
- Accessory66.Name = "MessyHairBrown"
- Accessory66.Parent = Model0
- Accessory66.AttachmentPos = Vector3.new(0.100000001, 0.400000006, -0.200000003)
- Part67.Name = "Handle"
- Part67.Parent = Accessory66
- Part67.CanCollide = false
- Part67.FormFactor = Enum.FormFactor.Custom
- Part67.Size = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Part67.CFrame = CFrame.new(-34.1500053, 4.60002756, -63.4896584, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part67.BottomSurface = Enum.SurfaceType.Smooth
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.Position = Vector3.new(-34.1500053, 4.60002756, -63.4896584)
- SpecialMesh68.Parent = Part67
- SpecialMesh68.MeshId = "http://www.roblox.com/asset/?id=76056263"
- SpecialMesh68.TextureId = "http://www.roblox.com/asset/?id=323471838 "
- SpecialMesh68.MeshType = Enum.MeshType.FileMesh
- Attachment69.Name = "HairAttachment"
- Attachment69.Parent = Part67
- Attachment69.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment69.CFrame = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment69.Position = Vector3.new(0.100000009, 0.5, -0.200272247)
- Attachment69.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment69.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value70.Name = "OriginalSize"
- Vector3Value70.Parent = Part67
- Vector3Value70.Value = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Weld71.Name = "AccessoryWeld"
- Weld71.Parent = Part67
- Weld71.C0 = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld71.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld71.Part0 = Part67
- Weld71.Part1 = Part1
- Accessory72.Name = "WolfTail"
- Accessory72.Parent = Model0
- Accessory72.AttachmentPos = Vector3.new(0, 0.340000004, 0.25)
- Part73.Name = "Handle"
- Part73.Parent = Accessory72
- Part73.CanCollide = false
- Part73.FormFactor = Enum.FormFactor.Custom
- Part73.Size = Vector3.new(1.60002756, 0.800000012, 1.59999776)
- Part73.CFrame = CFrame.new(-34.0500069, 1.75002766, -62.2899284, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part73.BottomSurface = Enum.SurfaceType.Smooth
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.Position = Vector3.new(-34.0500069, 1.75002766, -62.2899284)
- SpecialMesh74.Parent = Part73
- SpecialMesh74.MeshId = "rbxassetid://791316026"
- SpecialMesh74.TextureId = "rbxassetid://791316654"
- SpecialMesh74.MeshType = Enum.MeshType.FileMesh
- Attachment75.Name = "WaistBackAttachment"
- Attachment75.Parent = Part73
- Attachment75.CFrame = CFrame.new(0, 0.25, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment75.Position = Vector3.new(0, 0.25, -0.899999976)
- Weld76.Name = "AccessoryWeld"
- Weld76.Parent = Part73
- Weld76.C0 = CFrame.new(0, 0.25, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld76.C1 = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld76.Part0 = Part73
- Weld76.Part1 = Part21
- Pants77.Name = "Pants"
- Pants77.Parent = Model0
- Pants77.PantsTemplate = "http://www.roblox.com/asset/?id=230493472"
- Shirt78.Name = "Shirt"
- Shirt78.Parent = Model0
- Shirt78.ShirtTemplate = "http://www.roblox.com/asset/?id=140377805"
- Accessory79.Name = "LargeTasseledScarf"
- Accessory79.Parent = Model0
- Accessory79.AttachmentPos = Vector3.new(-0.023, 1.5, 0.00999999978)
- Part80.Name = "Handle"
- Part80.Parent = Accessory79
- Part80.CanCollide = false
- Part80.FormFactor = Enum.FormFactor.Custom
- Part80.Size = Vector3.new(1.59999967, 2.27000189, 1.79999995)
- Part80.CFrame = CFrame.new(-34.0270081, 3.50002789, -63.6996574, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part80.BottomSurface = Enum.SurfaceType.Smooth
- Part80.TopSurface = Enum.SurfaceType.Smooth
- Part80.Position = Vector3.new(-34.0270081, 3.50002789, -63.6996574)
- SpecialMesh81.Parent = Part80
- SpecialMesh81.MeshId = "http://www.roblox.com/asset/?id=99856331 "
- SpecialMesh81.TextureId = "http://www.roblox.com/asset/?id=99856307 "
- SpecialMesh81.MeshType = Enum.MeshType.FileMesh
- Attachment82.Name = "NeckAttachment"
- Attachment82.Parent = Part80
- Attachment82.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment82.CFrame = CFrame.new(-0.0229999404, 0.499999762, 0.00972763635, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment82.Position = Vector3.new(-0.0229999404, 0.499999762, 0.00972763635)
- Attachment82.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment82.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Weld83.Name = "AccessoryWeld"
- Weld83.Parent = Part80
- Weld83.C0 = CFrame.new(-0.0229999404, 0.499999762, 0.00972763635, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld83.C1 = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld83.Part0 = Part80
- Weld83.Part1 = Part21
- ShirtGraphic84.Parent = Model0
- ShirtGraphic84.Graphic = "http://www.roblox.com/asset/?id=735465029"
- Script85.Name = "Animate"
- Script85.Parent = Model0
- table.insert(cors,sandbox(Script85,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local oldAnimTrack = nil
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=529667700", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=529667700", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- currentAnimInstance = nil
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
- setAnimationSpeed(speed / 14.5)
- end
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool and tool:FindFirstChild("Handle") then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimInstance = nil
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- local emote = ""
- if (string.sub(msg, 1, 3) == "/e ") then
- emote = string.sub(msg, 4)
- elseif (string.sub(msg, 1, 7) == "/emote ") then
- emote = string.sub(msg, 8)
- end
- if (pose == "Standing" and emoteNames[emote] ~= nil) then
- playAnimation(emote, 0.1, Humanoid)
- end
- end)
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue86.Name = "climb"
- StringValue86.Parent = Script85
- Animation87.Name = "ClimbAnim"
- Animation87.Parent = StringValue86
- Animation87.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue88.Name = "fall"
- StringValue88.Parent = Script85
- Animation89.Name = "FallAnim"
- Animation89.Parent = StringValue88
- Animation89.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue90.Name = "idle"
- StringValue90.Parent = Script85
- Animation91.Name = "Animation1"
- Animation91.Parent = StringValue90
- Animation91.AnimationId = "rbxassetid://529667700"
- NumberValue92.Name = "Weight"
- NumberValue92.Parent = Animation91
- NumberValue92.Value = 9
- Animation93.Name = "Animation2"
- Animation93.Parent = StringValue90
- Animation93.AnimationId = "rbxassetid://529667700"
- NumberValue94.Name = "Weight"
- NumberValue94.Parent = Animation93
- NumberValue94.Value = 1
- StringValue95.Name = "jump"
- StringValue95.Parent = Script85
- Animation96.Name = "JumpAnim"
- Animation96.Parent = StringValue95
- Animation96.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue97.Name = "run"
- StringValue97.Parent = Script85
- Animation98.Name = "RunAnim"
- Animation98.Parent = StringValue97
- Animation98.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- StringValue99.Name = "sit"
- StringValue99.Parent = Script85
- Animation100.Name = "SitAnim"
- Animation100.Parent = StringValue99
- Animation100.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue101.Name = "toolnone"
- StringValue101.Parent = Script85
- Animation102.Name = "ToolNoneAnim"
- Animation102.Parent = StringValue101
- Animation102.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue103.Name = "walk"
- StringValue103.Parent = Script85
- Animation104.Name = "WalkAnim"
- Animation104.Parent = StringValue103
- Animation104.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Script105.Name = "Ragdoller"
- Script105.Parent = Model0
- table.insert(cors,sandbox(Script105,function()
- print("Ragdoll script activated")
- Gibs = game.Workspace
- function getKillerOfHumanoidIfStillInGame(humanoid)
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- local killer = tag.Value
- if killer.Parent ~= nil then
- return killer
- end
- end
- return nil
- end
- function OnDeath(Character)
- local svch = Character
- local hum = Character:findFirstChild("Humanoid")
- local getkiller = getKillerOfHumanoidIfStillInGame(hum)
- Character.Archivable = true
- local chrclone = Character:clone()
- Character.Archivable = false
- local ch = chrclone:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
- ch[i]:remove()
- end
- end
- local function Scan(ch)
- local e
- for e = 1,#ch do
- Scan(ch[e]:GetChildren())
- if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
- ch[e]:remove()
- end
- end
- end
- Scan(chrclone:GetChildren())
- local hum2 = chrclone:findFirstChild("Humanoid")
- if hum2 ~= nil then
- hum2.Name = "Humanoid2"
- hum2.PlatformStand = true
- hum2.Sit = true
- hum2.MaxHealth = 0
- hum2.Health = 0
- end
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- wait(0.2)
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- Character = chrclone
- local Torso = Character.Torso
- local movevector = Vector3.new()
- if Torso then
- if getkiller ~= nil then
- if getkiller.Character ~= nil then
- local killtors = getkiller.Character:findFirstChild("Torso")
- if killtors ~= nil then
- movevector = CFrame.new(killtors.Position,Torso.Position).lookVector
- end
- end
- end
- local Head = Character:FindFirstChild("Head")
- if Head then
- local Neck = Instance.new("Weld")
- Neck.Name = "Neck"
- Neck.Part0 = Torso
- Neck.Part1 = Head
- Neck.C0 = CFrame.new(0, 1.5, 0)
- Neck.C1 = CFrame.new()
- Neck.Parent = Torso
- local nsc = script.CamAttach:clone()
- nsc.CamPart.Value = hum2.Parent.Head
- nsc.Disabled = false
- nsc.Parent = svch
- end
- local Limb = Character:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Right Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = Character
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- end
- Character.Parent = Gibs
- game.Debris:AddItem(Character, 12)
- if movevector ~= Vector3.new() then
- for i = 1,10 do
- wait()
- Torso.Velocity = movevector * 30
- end
- end
- end
- script.Parent.Humanoid.Died:connect(function()
- OnDeath(script.Parent)
- end)
- end))
- LocalScript106.Name = "CamAttach"
- LocalScript106.Parent = Script105
- LocalScript106.Disabled = true
- table.insert(cors,sandbox(LocalScript106,function()
- wait()
- game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
- end))
- ObjectValue107.Name = "CamPart"
- ObjectValue107.Parent = LocalScript106
- Script108.Name = "Respawn"
- Script108.Parent = Model0
- table.insert(cors,sandbox(Script108,function()
- name="Humanoid"
- robo=script.Parent:clone()
- while true do
- wait(1)
- if script.Parent.Humanoid.Health<1 then
- robot=robo:clone()
- robot.Parent=script.Parent.Parent
- robot:makeJoints()
- script.Parent:remove()
- end
- end
- end))
- Script109.Name = "zCharacter"
- Script109.Parent = Model0
- table.insert(cors,sandbox(Script109,function()
- char = script.Parent
- boot1 = char.Leg1.Part
- boot1.Parent = char
- boot1.CFrame = char['Left Leg'].CFrame
- WeldL1 = Instance.new("Weld")
- WeldL1.Parent = char['Left Leg']
- WeldL1.Part0 = char['Left Leg']
- WeldL1.Part1 = boot1
- WeldL1.C0 = CFrame.new(0,-0.6,0)
- boot2 = char.Leg2.Part
- boot2.Parent = char
- boot2.CFrame = char['Right Leg'].CFrame
- WeldL2 = Instance.new("Weld")
- WeldL2.Parent = char['Right Leg']
- WeldL2.Part0 = char['Right Leg']
- WeldL2.Part1 = boot2
- WeldL2.C0 = CFrame.new(0,-0.6,0)
- end))
- Script110.Name = "zFollow"
- Script110.Parent = Model0
- table.insert(cors,sandbox(Script110,function()
- s = script.Parent wait(0.5)
- local larm = s:FindFirstChild("Left Arm")
- local rarm = s:FindFirstChild("Right Arm")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 400
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= s) then
- temp = temp2:FindFirstChild("Torso")
- h = temp2:FindFirstChild("Humanoid")
- if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(0.1)
- local antibug = s:FindFirstChild("Torso")
- if antibug ~= nil then
- local target = findNearestTorso(antibug.Position)
- if target ~= nil then
- s.Humanoid:MoveTo(target.Position, target)
- end
- end
- end
- end))
- Script111.Name = "zSpecial"
- Script111.Parent = Model0
- table.insert(cors,sandbox(Script111,function()
- s = script.Parent
- if s.Humanoid.Health > 0 then
- bd = s.HumanoidRootPart.RootJoint
- a1 = s.Torso:FindFirstChild("Left Shoulder")
- a2 = s.Torso:FindFirstChild("Right Shoulder")
- l1 = s.Torso:FindFirstChild("Left Hip")
- l2 = s.Torso:FindFirstChild("Right Hip")
- combo = false
- Tele = false
- transformed = false
- hits = 0
- end
- --[[Basic Stats]]
- attack = 50 --[[Combo Damage]]
- force = 1000 --[[Energy Damage]]
- needed = 100 --[[Hits for Special]]
- function HalfReset()
- if s.Humanoid.Health > 0 then
- bd.C0 = bd.C1 * CFrame.new(0,0,0)
- a1.C0 = a1.C1 * CFrame.new(0,0,1.5)
- a2.C0 = a2.C1 * CFrame.new(0,0,1.5)
- l1.C0 = l1.C1 * CFrame.new(0,-2,0.5)
- l2.C0 = l2.C1 * CFrame.new(0,-2,0.5)
- end
- end
- function FullReset()
- if s.Humanoid.Health > 0 then
- HalfReset()
- combo = false
- end
- end
- function Attack()
- if combo == false and s.Humanoid.Health > 0 then
- combo = true
- local audio = math.random(1,2) --[[Random Play]]
- if audio == 1 then s.Torso.Voice2:Play() s.Torso.Miss:Play() else s.Torso.Voice3:Play() s.Torso.Miss:Play() end
- for i = 1,5 do wait()
- a1.C0 = a1.C0 * CFrame.Angles(0,0,-0.32)
- a2.C0 = a2.C0 * CFrame.Angles(0,0,0.32)
- end
- for i = 1,5 do wait()
- bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
- a2.C0 = a2.C0 * CFrame.Angles(0.2,0,0)
- end
- local audio = math.random(1,2) --[[Random Play]]
- if audio == 1 then s.Torso.Voice3:Play() s.Torso.Miss:Play() else s.Torso.Voice2:Play() s.Torso.Miss:Play() end
- for i = 1,5 do wait()
- bd.C0 = bd.C0 * CFrame.Angles(0,0,-0.2)
- a2.C0 = a2.C0 * CFrame.Angles(-0.3,0,0)
- end
- for i = 1,5 do wait()
- bd.C0 = bd.C0 * CFrame.Angles(0,0,0.2)
- a1.C0 = a1.C0 * CFrame.Angles(0.2,0,0)
- end
- for i = 1,5 do wait()
- bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
- a1.C0 = a1.C0 * CFrame.Angles(-0.3,0,0)
- end
- local audio = math.random(1,2) --[[Random Play]]
- if audio == 1 then s.Torso.Miss:Play() else s.Torso.Miss:Play() end
- FullReset()
- end
- end
- function teleport()
- if Tele == false then
- Tele = true
- wait(0.05)
- s.Torso.Teleport:Play()
- local effect = game.ReplicatedStorage.TeleportEffect:clone()
- effect.Parent = s
- effect.CFrame = s.Torso.CFrame * CFrame.Angles(0,5,0)
- s.Torso.CFrame = s.Torso.CFrame * CFrame.new(0,0,-10)
- wait(0.6)
- effect:Destroy()
- Tele = false
- end
- end
- function Kamehameha()
- if s.Humanoid.Health > 0 then
- game:GetService("Chat"):Chat(s.Head,"Dark Flash!!",Enum.ChatColor.Red)
- s.Torso.Voice4:Play()
- script.Parent.Wep.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=72012794"
- script.Parent.Wep.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=72012761"
- local ball = Instance.new("Part")
- ball.BrickColor = script.Parent.Torso.BrickColor
- ball.Material = "Neon"
- ball.TopSurface = "Smooth"
- ball.BottomSurface = "Smooth"
- ball.FormFactor = "Custom"
- ball.Size = Vector3.new(10,10,10)
- ball.Transparency = 0
- ball.Anchored = true
- ball.CanCollide = false
- ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
- ball2 = Instance.new("Part")
- ball2.BrickColor = BrickColor.new("Toothpaste")
- ball2.Material = "Neon"
- ball2.TopSurface = "Smooth"
- ball2.BottomSurface = "Smooth"
- ball2.FormFactor = "Custom"
- ball2.Size = Vector3.new(15,15,15)
- ball2.Transparency = 0.5
- ball2.Anchored = true
- ball2.CanCollide = false
- ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = ball
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.MeshType = "Sphere"
- mesh2.Parent = ball2
- ball.Parent = game.Workspace
- ball2.Parent = game.Workspace
- a1.C0 = a1.C0 * CFrame.Angles(0,0,-1.6)
- a2.C0 = a2.C0 * CFrame.Angles(0,0,1.6)
- a1.C0 = a1.C0 * CFrame.Angles(1,0,0)
- a2.C0 = a2.C0 * CFrame.Angles(1,0,0)
- ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
- ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
- s.Torso.FinalFlash:Play()
- local beam = Instance.new("Part")
- beam.BrickColor = BrickColor.new("Dark blue")
- beam.Material = "Neon"
- beam.TopSurface = "Smooth"
- beam.BottomSurface = "Smooth"
- beam.FormFactor = "Custom"
- beam.Size = Vector3.new(10,100,10)
- beam.Transparency = 0
- beam.Anchored = true
- beam.CanCollide = false
- beam.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
- beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
- beam2 = Instance.new("Part")
- beam2.BrickColor = BrickColor.new("Lime Green")
- beam2.Material = "Neon"
- beam2.TopSurface = "Smooth"
- beam2.BottomSurface = "Smooth"
- beam2.FormFactor = "Custom"
- beam2.Size = Vector3.new(15,100,15)
- beam2.Transparency = 0.5
- beam2.Anchored = true
- beam2.CanCollide = false
- beam2.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
- beam2.CFrame = beam2.CFrame * CFrame.Angles(1.6,0,0)
- local mesh = Instance.new("SpecialMesh")
- mesh.Scale = Vector3.new(0.75,0.1,0.75)
- mesh.Parent = beam
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.Scale = Vector3.new(0.75,0.1,0.75)
- mesh2.Parent = beam2
- beam.Parent = game.Workspace
- beam2.Parent = game.Workspace
- beam2.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil then
- local hax = h.Parent:FindFirstChild("ForceField")
- if hax == nil then
- h.Health = h.Health - 5
- h.Torso.CFrame = h.Torso.CFrame * CFrame.new(0,0,-2)
- wait()
- end
- end
- end)
- for i = 1,40 do wait()
- beam.CFrame = beam.CFrame * CFrame.new(0,-5,0)
- beam2.CFrame = beam2.CFrame * CFrame.new(0,-5,0)
- mesh.Scale = mesh.Scale + Vector3.new(0,0.1,0)
- mesh2.Scale = mesh2.Scale + Vector3.new(0,0.1,0)
- ball.Transparency = ball.Transparency + 0.025
- ball2.Transparency = ball2.Transparency + 0.0125
- beam.Transparency = beam.Transparency + 0.025
- beam2.Transparency = beam2.Transparency + 0.0125
- end
- script.Parent.Wep.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
- script.Parent.Wep.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=20577502"
- ball:Destroy()
- ball2:Destroy()
- beam:Destroy()
- beam2:Destroy()
- FullReset()
- end
- end
- s.Humanoid.HealthChanged:connect(function()
- if s.Humanoid.Health == s.Humanoid.Health - 500000 then
- attack = attack + 10
- force = force + 10
- s.Humanoid.Health = s.Humanoid.Health + 100
- end
- if transformed == false and s.Humanoid.Health <= 40000 then
- transformed = true
- game:GetService("Chat"):Chat(s.Head,"Im Dark Aura Anime",Enum.ChatColor.Red)
- ex2 = Instance.new("Explosion")
- ex2.Position = s.Torso.Position
- ex2.BlastPressure = 0
- ex2.Parent = workspace
- s.Torso.Voice2:Play()
- s.Humanoid.Health = s.Humanoid.Health + 50000
- s.Torso.BlackAura.Transparency = NumberSequence.new(0)
- s.Torso.BlackAura2.Transparency = NumberSequence.new(0)
- s.Torso.SaiyanEnergy:Play()
- FullReset()
- attack = attack + 13
- force = force + 20
- end
- if transformed == true and s.Humanoid.Health <= 20000 then
- game:GetService("Chat"):Chat(s.Head,"You have no chance againts me No foolin around!!",Enum.ChatColor.Red)
- s.Torso.Voice1:Play()
- ex2 = Instance.new("Explosion")
- ex2.Position = s.Torso.Position
- ex2.BlastPressure = 0
- ex2.Parent = workspace
- s.Humanoid.Health = s.Humanoid.Health + 10000
- s.Humanoid.WalkSpeed = s.Humanoid.WalkSpeed * 2
- s.Torso.BlackAura:Destroy()
- s.Torso.BlackAura2:Destroy()
- s.Torso.Aura1.Transparency = NumberSequence.new(0.3)
- s.Torso.Aura2.Transparency = NumberSequence.new(0.3)
- s.Head.Decal.Texture = "rbxassetid://601974383"
- s.Torso.SaiyanEnergy:Play()
- s.Torso.SaiyanEnergy2:Play()
- ball2.BrickColor = BrickColor.new("Toothpaste")
- beam2.BrickColor = BrickColor.new("Toothpaste")
- FullReset()
- attack = attack + 10
- force = force + 10
- end
- end)
- s.Torso.Touched:connect(function(hit)
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil then
- if hits < needed and s.Humanoid.Health > 0 then
- local audio = math.random(1,2) --[[Random Play]]
- if audio == 1 then s.Torso.DMG:Play() else s.Torso.DMG2:Play() end
- h.Health = h.Health - attack
- hits = hits + 1
- Attack()
- else
- hits = 0
- local ay = math.random(1,2)
- if ay == 1 then
- Kamehameha()
- else
- teleport()
- end
- end
- end
- end)
- end))
- Tool112.Name = "Wep"
- Tool112.Parent = Model0
- Tool112.TextureId = "http://www.roblox.com/asset/?id=20577515"
- Tool112.GripForward = Vector3.new(-1, -0, -0)
- Tool112.GripPos = Vector3.new(0, 0, -1.70000005)
- Tool112.GripRight = Vector3.new(0, 1, 0)
- Tool112.GripUp = Vector3.new(0, 0, 1)
- Script113.Name = "SwordScript"
- Script113.Parent = Tool112
- table.insert(cors,sandbox(Script113,function()
- -------- OMG HAX
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 12
- local lunge_damage = 16
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid~=nil and humanoid ~= hum and hum ~= nil then
- -- final check, make sure sword is in-hand
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm ~= nil) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
- force.Parent = Tool.Parent.Torso
- wait(.2)
- swordOut()
- wait(.2)
- force.Parent = nil
- wait(.4)
- swordUp()
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(1,0,0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- Part114.Name = "Handle"
- Part114.Parent = Tool112
- Part114.BrickColor = BrickColor.new("Dark stone grey")
- Part114.Rotation = Vector3.new(-180, 0, -90)
- Part114.CanCollide = false
- Part114.FormFactor = Enum.FormFactor.Plate
- Part114.Size = Vector3.new(1, 0.800000012, 5)
- Part114.CFrame = CFrame.new(-32.5500069, 2.00002766, -65.3899307, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part114.BottomSurface = Enum.SurfaceType.Smooth
- Part114.TopSurface = Enum.SurfaceType.Smooth
- Part114.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part114.Position = Vector3.new(-32.5500069, 2.00002766, -65.3899307)
- Part114.Orientation = Vector3.new(0, 180, 90)
- Part114.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh115.Parent = Part114
- SpecialMesh115.MeshId = "http://www.roblox.com/asset/?id=11442510"
- SpecialMesh115.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
- SpecialMesh115.TextureId = "rbxassetid://20577502"
- SpecialMesh115.MeshType = Enum.MeshType.FileMesh
- SpecialMesh115.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
- Sound116.Parent = Part114
- Sound116.SoundId = "rbxasset://sounds/swordslash.wav"
- Sound116.Volume = 0.69999998807907
- Sound117.Parent = Part114
- Sound117.SoundId = "rbxasset://sounds/swordlunge.wav"
- Sound117.Volume = 0.60000002384186
- Sound118.Parent = Part114
- Sound118.SoundId = "rbxasset://sounds/unsheath.wav"
- Sound118.Volume = 1
- LocalScript119.Name = "Local Gui"
- LocalScript119.Parent = Tool112
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement