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")
- BillboardGui3 = Instance.new("BillboardGui")
- TextLabel4 = Instance.new("TextLabel")
- Decal5 = Instance.new("Decal")
- BillboardGui6 = Instance.new("BillboardGui")
- TextLabel7 = Instance.new("TextLabel")
- Weld8 = Instance.new("Weld")
- Weld9 = Instance.new("Weld")
- Weld10 = Instance.new("Weld")
- Weld11 = Instance.new("Weld")
- Weld12 = Instance.new("Weld")
- Part13 = Instance.new("Part")
- Motor6D14 = Instance.new("Motor6D")
- Motor6D15 = Instance.new("Motor6D")
- Motor6D16 = Instance.new("Motor6D")
- Motor6D17 = Instance.new("Motor6D")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- Sound21 = Instance.new("Sound")
- Sound22 = Instance.new("Sound")
- Motor6D23 = Instance.new("Motor6D")
- ParticleEmitter24 = Instance.new("ParticleEmitter")
- Script25 = Instance.new("Script")
- ParticleEmitter26 = Instance.new("ParticleEmitter")
- Script27 = Instance.new("Script")
- ParticleEmitter28 = Instance.new("ParticleEmitter")
- Script29 = Instance.new("Script")
- ParticleEmitter30 = Instance.new("ParticleEmitter")
- Script31 = Instance.new("Script")
- Sound32 = Instance.new("Sound")
- Sound33 = Instance.new("Sound")
- Sound34 = Instance.new("Sound")
- Sound35 = Instance.new("Sound")
- Sound36 = Instance.new("Sound")
- Sound37 = Instance.new("Sound")
- Part38 = Instance.new("Part")
- BillboardGui39 = Instance.new("BillboardGui")
- ImageLabel40 = Instance.new("ImageLabel")
- Script41 = Instance.new("Script")
- Part42 = Instance.new("Part")
- Part43 = Instance.new("Part")
- Part44 = Instance.new("Part")
- Part45 = Instance.new("Part")
- Humanoid46 = Instance.new("Humanoid")
- Part47 = Instance.new("Part")
- Motor6D48 = Instance.new("Motor6D")
- Script49 = Instance.new("Script")
- Script50 = Instance.new("Script")
- LocalScript51 = Instance.new("LocalScript")
- ObjectValue52 = Instance.new("ObjectValue")
- Script53 = Instance.new("Script")
- Script54 = Instance.new("Script")
- Script55 = Instance.new("Script")
- StringValue56 = Instance.new("StringValue")
- Animation57 = Instance.new("Animation")
- StringValue58 = Instance.new("StringValue")
- Animation59 = Instance.new("Animation")
- StringValue60 = Instance.new("StringValue")
- Animation61 = Instance.new("Animation")
- NumberValue62 = Instance.new("NumberValue")
- Animation63 = Instance.new("Animation")
- NumberValue64 = Instance.new("NumberValue")
- StringValue65 = Instance.new("StringValue")
- Animation66 = Instance.new("Animation")
- StringValue67 = Instance.new("StringValue")
- Animation68 = Instance.new("Animation")
- StringValue69 = Instance.new("StringValue")
- Animation70 = Instance.new("Animation")
- StringValue71 = Instance.new("StringValue")
- Animation72 = Instance.new("Animation")
- StringValue73 = Instance.new("StringValue")
- Animation74 = Instance.new("Animation")
- Script75 = Instance.new("Script")
- BodyColors76 = Instance.new("BodyColors")
- Pants77 = Instance.new("Pants")
- Shirt78 = Instance.new("Shirt")
- Accessory79 = Instance.new("Accessory")
- Part80 = Instance.new("Part")
- SpecialMesh81 = Instance.new("SpecialMesh")
- Attachment82 = Instance.new("Attachment")
- Vector3Value83 = Instance.new("Vector3Value")
- Accessory84 = Instance.new("Accessory")
- Part85 = Instance.new("Part")
- SpecialMesh86 = Instance.new("SpecialMesh")
- Attachment87 = Instance.new("Attachment")
- Vector3Value88 = Instance.new("Vector3Value")
- Accessory89 = Instance.new("Accessory")
- Part90 = Instance.new("Part")
- SpecialMesh91 = Instance.new("SpecialMesh")
- Attachment92 = Instance.new("Attachment")
- Vector3Value93 = Instance.new("Vector3Value")
- Accessory94 = Instance.new("Accessory")
- Part95 = Instance.new("Part")
- SpecialMesh96 = Instance.new("SpecialMesh")
- Attachment97 = Instance.new("Attachment")
- Vector3Value98 = Instance.new("Vector3Value")
- Accessory99 = Instance.new("Accessory")
- Part100 = Instance.new("Part")
- SpecialMesh101 = Instance.new("SpecialMesh")
- Attachment102 = Instance.new("Attachment")
- Vector3Value103 = Instance.new("Vector3Value")
- Model104 = Instance.new("Model")
- Part105 = Instance.new("Part")
- SpecialMesh106 = Instance.new("SpecialMesh")
- BillboardGui107 = Instance.new("BillboardGui")
- TextLabel108 = Instance.new("TextLabel")
- Decal109 = Instance.new("Decal")
- BillboardGui110 = Instance.new("BillboardGui")
- TextLabel111 = Instance.new("TextLabel")
- Weld112 = Instance.new("Weld")
- Weld113 = Instance.new("Weld")
- Weld114 = Instance.new("Weld")
- Weld115 = Instance.new("Weld")
- Part116 = Instance.new("Part")
- Motor6D117 = Instance.new("Motor6D")
- Motor6D118 = Instance.new("Motor6D")
- Motor6D119 = Instance.new("Motor6D")
- Motor6D120 = Instance.new("Motor6D")
- Sound121 = Instance.new("Sound")
- Sound122 = Instance.new("Sound")
- Sound123 = Instance.new("Sound")
- Sound124 = Instance.new("Sound")
- Sound125 = Instance.new("Sound")
- Motor6D126 = Instance.new("Motor6D")
- ParticleEmitter127 = Instance.new("ParticleEmitter")
- Script128 = Instance.new("Script")
- ParticleEmitter129 = Instance.new("ParticleEmitter")
- Script130 = Instance.new("Script")
- ParticleEmitter131 = Instance.new("ParticleEmitter")
- Script132 = Instance.new("Script")
- ParticleEmitter133 = Instance.new("ParticleEmitter")
- Script134 = Instance.new("Script")
- Sound135 = Instance.new("Sound")
- Sound136 = Instance.new("Sound")
- Sound137 = Instance.new("Sound")
- Sound138 = Instance.new("Sound")
- Sound139 = Instance.new("Sound")
- Sound140 = Instance.new("Sound")
- Part141 = Instance.new("Part")
- BillboardGui142 = Instance.new("BillboardGui")
- ImageLabel143 = Instance.new("ImageLabel")
- Script144 = Instance.new("Script")
- Part145 = Instance.new("Part")
- Part146 = Instance.new("Part")
- Part147 = Instance.new("Part")
- Part148 = Instance.new("Part")
- Humanoid149 = Instance.new("Humanoid")
- Part150 = Instance.new("Part")
- Motor6D151 = Instance.new("Motor6D")
- Script152 = Instance.new("Script")
- Script153 = Instance.new("Script")
- LocalScript154 = Instance.new("LocalScript")
- ObjectValue155 = Instance.new("ObjectValue")
- Script156 = Instance.new("Script")
- Script157 = Instance.new("Script")
- Script158 = Instance.new("Script")
- StringValue159 = Instance.new("StringValue")
- Animation160 = Instance.new("Animation")
- StringValue161 = Instance.new("StringValue")
- Animation162 = Instance.new("Animation")
- StringValue163 = Instance.new("StringValue")
- Animation164 = Instance.new("Animation")
- NumberValue165 = Instance.new("NumberValue")
- Animation166 = Instance.new("Animation")
- NumberValue167 = Instance.new("NumberValue")
- StringValue168 = Instance.new("StringValue")
- Animation169 = Instance.new("Animation")
- StringValue170 = Instance.new("StringValue")
- Animation171 = Instance.new("Animation")
- StringValue172 = Instance.new("StringValue")
- Animation173 = Instance.new("Animation")
- StringValue174 = Instance.new("StringValue")
- Animation175 = Instance.new("Animation")
- StringValue176 = Instance.new("StringValue")
- Animation177 = Instance.new("Animation")
- Pants178 = Instance.new("Pants")
- Shirt179 = Instance.new("Shirt")
- Hat180 = Instance.new("Hat")
- Part181 = Instance.new("Part")
- SpecialMesh182 = Instance.new("SpecialMesh")
- Hat183 = Instance.new("Hat")
- Part184 = Instance.new("Part")
- SpecialMesh185 = Instance.new("SpecialMesh")
- Script186 = Instance.new("Script")
- Hat187 = Instance.new("Hat")
- Part188 = Instance.new("Part")
- SpecialMesh189 = Instance.new("SpecialMesh")
- Hat190 = Instance.new("Hat")
- Part191 = Instance.new("Part")
- SpecialMesh192 = Instance.new("SpecialMesh")
- Script193 = Instance.new("Script")
- Model0.Name = "fUN tImE ArCtic"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("Cool yellow")
- Part1.Transparency = 0.30000001192093
- Part1.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part1.Locked = true
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.CFrame = CFrame.new(-123.421837, 4.70000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part1.Position = Vector3.new(-123.421837, 4.70000792, -110.041901)
- Part1.Orientation = Vector3.new(0, -106.419998, 0)
- Part1.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- BillboardGui3.Name = "NameGUI"
- BillboardGui3.Parent = Part1
- BillboardGui3.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui3.Active = true
- BillboardGui3.AlwaysOnTop = true
- BillboardGui3.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel4.Name = "Name"
- TextLabel4.Parent = BillboardGui3
- TextLabel4.Transparency = 1
- TextLabel4.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel4.Text = "Artic(What mode)"
- TextLabel4.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel4.BackgroundTransparency = 1
- TextLabel4.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel4.Font = Enum.Font.SourceSansBold
- TextLabel4.FontSize = Enum.FontSize.Size48
- TextLabel4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel4.TextScaled = true
- TextLabel4.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel4.TextStrokeTransparency = 0
- TextLabel4.TextWrapped = true
- Decal5.Parent = Part1
- Decal5.Texture = "http://www.roblox.com/asset/?id=460460302"
- BillboardGui6.Name = "LevelGUI"
- BillboardGui6.Parent = Part1
- BillboardGui6.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui6.Active = true
- BillboardGui6.AlwaysOnTop = true
- BillboardGui6.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel7.Name = "Level"
- TextLabel7.Parent = BillboardGui6
- TextLabel7.Transparency = 1
- TextLabel7.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel7.Text = "Level INF"
- TextLabel7.Position = UDim2.new(-0.0100603625, 0, 0.0541795678, 0)
- TextLabel7.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel7.BackgroundTransparency = 1
- TextLabel7.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel7.Font = Enum.Font.SourceSansBold
- TextLabel7.FontSize = Enum.FontSize.Size11
- TextLabel7.TextColor3 = Color3.new(0.666667, 0.333333, 0.498039)
- TextLabel7.TextScaled = true
- TextLabel7.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel7.TextStrokeTransparency = 0
- TextLabel7.TextWrapped = true
- Weld8.Name = "HeadWeld"
- Weld8.Parent = Part1
- Weld8.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld8.C1 = CFrame.new(0, 0.119999997, 0.300000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld8.Part0 = Part1
- Weld8.Part1 = Part80
- Weld9.Name = "HeadWeld"
- Weld9.Parent = Part1
- Weld9.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld9.C1 = CFrame.new(1, 3.29999995, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld9.Part0 = Part1
- Weld9.Part1 = Part85
- Weld10.Name = "HeadWeld"
- Weld10.Parent = Part1
- Weld10.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld10.C1 = CFrame.new(0, 1.79999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld10.Part0 = Part1
- Weld10.Part1 = Part90
- Weld11.Name = "HeadWeld"
- Weld11.Parent = Part1
- Weld11.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld11.C1 = CFrame.new(0, -0.0299999993, 0.0500000007, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld11.Part0 = Part1
- Weld11.Part1 = Part95
- Weld12.Name = "HeadWeld"
- Weld12.Parent = Part1
- Weld12.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld12.C1 = CFrame.new(0, 0.5, -1.04999995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld12.Part0 = Part1
- Weld12.Part1 = Part100
- Part13.Name = "Torso"
- Part13.Parent = Model0
- Part13.Material = Enum.Material.SmoothPlastic
- Part13.BrickColor = BrickColor.new("Dark green")
- Part13.Transparency = 0.30000001192093
- Part13.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part13.Locked = true
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.Size = Vector3.new(2, 2, 1)
- Part13.CFrame = CFrame.new(-123.421837, 3.20000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part13.LeftSurface = Enum.SurfaceType.Weld
- Part13.RightSurface = Enum.SurfaceType.Weld
- Part13.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part13.Position = Vector3.new(-123.421837, 3.20000792, -110.041901)
- Part13.Orientation = Vector3.new(0, -106.419998, 0)
- Part13.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Motor6D14.Name = "Right Shoulder"
- Motor6D14.Parent = Part13
- Motor6D14.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.Part0 = Part13
- Motor6D14.Part1 = Part43
- Motor6D14.DesiredAngle = -0.071470186114311
- Motor6D14.MaxVelocity = 0.15000000596046
- Motor6D15.Name = "Left Shoulder"
- Motor6D15.Parent = Part13
- Motor6D15.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.Part0 = Part13
- Motor6D15.Part1 = Part42
- Motor6D15.DesiredAngle = -0.071470186114311
- Motor6D15.MaxVelocity = 0.15000000596046
- Motor6D16.Name = "Right Hip"
- Motor6D16.Parent = Part13
- Motor6D16.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D16.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D16.Part0 = Part13
- Motor6D16.Part1 = Part45
- Motor6D16.DesiredAngle = 0.071470186114311
- Motor6D16.MaxVelocity = 0.10000000149012
- Motor6D17.Name = "Left Hip"
- Motor6D17.Parent = Part13
- Motor6D17.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D17.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D17.Part0 = Part13
- Motor6D17.Part1 = Part44
- Motor6D17.DesiredAngle = 0.071470186114311
- Motor6D17.MaxVelocity = 0.10000000149012
- Sound18.Name = "DMG"
- Sound18.Parent = Part13
- Sound18.Pitch = 1.25
- Sound18.SoundId = "rbxassetid://138087186"
- Sound18.Volume = 1
- Sound19.Name = "DMG2"
- Sound19.Parent = Part13
- Sound19.SoundId = "rbxassetid://131237241"
- Sound19.Volume = 1
- Sound20.Name = "FinalFlash"
- Sound20.Parent = Part13
- Sound20.Pitch = 1.5
- Sound20.SoundId = "rbxassetid://161251144"
- Sound20.Volume = 1
- Sound21.Name = "SaiyanEnergy"
- Sound21.Parent = Part13
- Sound21.Pitch = 6
- Sound21.SoundId = "rbxassetid://98333808"
- Sound21.Volume = 1
- Sound22.Name = "SaiyanEnergy2"
- Sound22.Parent = Part13
- Sound22.SoundId = "rbxassetid://491515754"
- Sound22.Volume = 1
- Sound22.Looped = true
- Motor6D23.Name = "Neck"
- Motor6D23.Parent = Part13
- Motor6D23.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D23.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D23.Part0 = Part13
- Motor6D23.Part1 = Part1
- Motor6D23.MaxVelocity = 0.10000000149012
- ParticleEmitter24.Name = "BlackAura"
- ParticleEmitter24.Parent = Part13
- ParticleEmitter24.Transparency = NumberSequence.new(1,1)
- ParticleEmitter24.Size = NumberSequence.new(7,7)
- ParticleEmitter24.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter24.LightEmission = 1
- ParticleEmitter24.Texture = "rbxassetid://358965396"
- ParticleEmitter24.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter24.Speed = NumberRange.new(9, 9)
- ParticleEmitter24.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- Script25.Parent = ParticleEmitter24
- table.insert(cors,sandbox(Script25,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))
- ParticleEmitter26.Name = "Aura2"
- ParticleEmitter26.Parent = Part13
- ParticleEmitter26.Transparency = NumberSequence.new(1,1)
- ParticleEmitter26.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
- ParticleEmitter26.LightEmission = 0.55000001192093
- ParticleEmitter26.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter26.Rate = 50
- ParticleEmitter26.Speed = NumberRange.new(2, 2)
- ParticleEmitter26.VelocitySpread = 50
- ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
- Script27.Parent = ParticleEmitter26
- table.insert(cors,sandbox(Script27,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))
- ParticleEmitter28.Name = "Aura1"
- ParticleEmitter28.Parent = Part13
- ParticleEmitter28.Transparency = NumberSequence.new(1,1)
- ParticleEmitter28.Size = NumberSequence.new(15,15)
- ParticleEmitter28.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
- ParticleEmitter28.LightEmission = 1.1799999475479
- ParticleEmitter28.Texture = "rbxassetid://260611998"
- ParticleEmitter28.ZOffset = 1
- ParticleEmitter28.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter28.Rate = 120
- ParticleEmitter28.Speed = NumberRange.new(15, 15)
- ParticleEmitter28.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
- Script29.Parent = ParticleEmitter28
- table.insert(cors,sandbox(Script29,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))
- ParticleEmitter30.Name = "BlackAura2"
- ParticleEmitter30.Parent = Part13
- ParticleEmitter30.Transparency = NumberSequence.new(1,1)
- ParticleEmitter30.Size = NumberSequence.new(10,10)
- ParticleEmitter30.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
- ParticleEmitter30.LightEmission = 1
- ParticleEmitter30.Texture = "rbxassetid://260611998"
- ParticleEmitter30.ZOffset = 1
- ParticleEmitter30.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter30.Speed = NumberRange.new(10, 10)
- ParticleEmitter30.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
- Script31.Parent = ParticleEmitter30
- table.insert(cors,sandbox(Script31,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))
- Sound32.Name = "Teleport"
- Sound32.Parent = Part13
- Sound32.Pitch = 2
- Sound32.SoundId = "rbxassetid://216782105"
- Sound32.Volume = 1
- Sound33.Name = "Miss"
- Sound33.Parent = Part13
- Sound33.SoundId = "rbxassetid://174413237"
- Sound34.Name = "Voice3"
- Sound34.Parent = Part13
- Sound34.Pitch = 1.2000000476837
- Sound34.SoundId = "rbxassetid://190995007"
- Sound34.Volume = 1
- Sound35.Name = "Voice2"
- Sound35.Parent = Part13
- Sound35.Pitch = 0.30000001192093
- Sound35.SoundId = "rbxassetid://132236830"
- Sound35.Volume = 1
- Sound36.Name = "Voice1"
- Sound36.Parent = Part13
- Sound36.Pitch = 1.2000000476837
- Sound36.SoundId = "rbxassetid://159490394"
- Sound36.Volume = 1
- Sound37.Name = "Voice4"
- Sound37.Parent = Part13
- Sound37.Pitch = 6
- Sound37.SoundId = "rbxassetid://216782105"
- Sound37.Volume = 1
- Part38.Name = "TeleportEffect"
- Part38.Parent = Part13
- Part38.Material = Enum.Material.SmoothPlastic
- Part38.BrickColor = BrickColor.new("Institutional white")
- Part38.Transparency = 1
- Part38.Rotation = Vector3.new(0, -90, 0)
- Part38.Anchored = true
- Part38.CanCollide = false
- Part38.FormFactor = Enum.FormFactor.Custom
- Part38.Size = Vector3.new(2, 2, 1)
- Part38.CFrame = CFrame.new(-5.07995605, 6.19000816, -138.957123, 4.64180347e-22, 7.54698154e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691863e-22, 4.64180347e-22)
- Part38.BottomSurface = Enum.SurfaceType.Smooth
- Part38.TopSurface = Enum.SurfaceType.Smooth
- Part38.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part38.Position = Vector3.new(-5.07995605, 6.19000816, -138.957123)
- Part38.Orientation = Vector3.new(0, -90, 0)
- Part38.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BillboardGui39.Name = "Gui"
- BillboardGui39.Parent = Part38
- BillboardGui39.Size = UDim2.new(5, 0, 5, 0)
- BillboardGui39.Active = true
- ImageLabel40.Name = "Image"
- ImageLabel40.Parent = BillboardGui39
- ImageLabel40.Transparency = 1
- ImageLabel40.Size = UDim2.new(2.5, 0, 2.5, 0)
- ImageLabel40.Position = UDim2.new(0, -40, 0, -40)
- ImageLabel40.Active = true
- ImageLabel40.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- ImageLabel40.BackgroundTransparency = 1
- ImageLabel40.Image = "rbxassetid://507458850"
- Script41.Parent = Part38
- table.insert(cors,sandbox(Script41,function()
- e = game:GetService("ReplicatedStorage")
- script.Parent.Parent = e
- script:Destroy()
- end))
- Part42.Name = "Left Arm"
- Part42.Parent = Model0
- Part42.Material = Enum.Material.SmoothPlastic
- Part42.BrickColor = BrickColor.new("Cool yellow")
- Part42.Transparency = 0.30000001192093
- Part42.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part42.CanCollide = false
- Part42.Locked = true
- Part42.FormFactor = Enum.FormFactor.Symmetric
- Part42.Size = Vector3.new(1, 2, 1)
- Part42.CFrame = CFrame.new(-122.99791, 3.20000792, -111.480751, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part42.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part42.Position = Vector3.new(-122.99791, 3.20000792, -111.480751)
- Part42.Orientation = Vector3.new(0, -106.419998, 0)
- Part42.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part43.Name = "Right Arm"
- Part43.Parent = Model0
- Part43.Material = Enum.Material.SmoothPlastic
- Part43.BrickColor = BrickColor.new("Cool yellow")
- Part43.Transparency = 0.30000001192093
- Part43.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part43.CanCollide = false
- Part43.Locked = true
- Part43.FormFactor = Enum.FormFactor.Symmetric
- Part43.Size = Vector3.new(1, 2, 1)
- Part43.CFrame = CFrame.new(-123.845764, 3.20000792, -108.60305, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part43.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part43.Position = Vector3.new(-123.845764, 3.20000792, -108.60305)
- Part43.Orientation = Vector3.new(0, -106.419998, 0)
- Part43.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part44.Name = "Left Leg"
- Part44.Parent = Model0
- Part44.Material = Enum.Material.SmoothPlastic
- Part44.BrickColor = BrickColor.new("Bright blue")
- Part44.Transparency = 0.30000001192093
- Part44.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part44.CanCollide = false
- Part44.Locked = true
- Part44.FormFactor = Enum.FormFactor.Symmetric
- Part44.Size = Vector3.new(1, 2, 1)
- Part44.CFrame = CFrame.new(-123.280525, 1.20000792, -110.521515, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part44.Position = Vector3.new(-123.280525, 1.20000792, -110.521515)
- Part44.Orientation = Vector3.new(0, -106.419998, 0)
- Part44.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part45.Name = "Right Leg"
- Part45.Parent = Model0
- Part45.Material = Enum.Material.SmoothPlastic
- Part45.BrickColor = BrickColor.new("Bright blue")
- Part45.Transparency = 0.30000001192093
- Part45.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part45.CanCollide = false
- Part45.Locked = true
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.Size = Vector3.new(1, 2, 1)
- Part45.CFrame = CFrame.new(-123.563148, 1.20000792, -109.562286, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part45.Position = Vector3.new(-123.563148, 1.20000792, -109.562286)
- Part45.Orientation = Vector3.new(0, -106.419998, 0)
- Part45.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Humanoid46.Parent = Model0
- Humanoid46.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid46.HealthDisplayDistance = 200
- Humanoid46.NameDisplayDistance = 200
- Humanoid46.RightLeg = Part45
- Humanoid46.LeftLeg = Part44
- Humanoid46.Torso = Part47
- Humanoid46.Health = 30000
- Humanoid46.MaxHealth = 30000
- Humanoid46.WalkSpeed = 17
- Part47.Name = "HumanoidRootPart"
- Part47.Parent = Model0
- Part47.Material = Enum.Material.SmoothPlastic
- Part47.Transparency = 0.30000001192093
- Part47.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part47.CanCollide = false
- Part47.Locked = true
- Part47.FormFactor = Enum.FormFactor.Symmetric
- Part47.Size = Vector3.new(2, 2, 1)
- Part47.CFrame = CFrame.new(-123.421837, 3.20000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part47.BottomSurface = Enum.SurfaceType.Smooth
- Part47.TopSurface = Enum.SurfaceType.Smooth
- Part47.Position = Vector3.new(-123.421837, 3.20000792, -110.041901)
- Part47.Orientation = Vector3.new(0, -106.419998, 0)
- Motor6D48.Name = "RootJoint"
- Motor6D48.Parent = Part47
- Motor6D48.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D48.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D48.Part0 = Part47
- Motor6D48.Part1 = Part13
- Motor6D48.MaxVelocity = 0.10000000149012
- Script49.Name = "zSpecial"
- Script49.Parent = Model0
- table.insert(cors,sandbox(Script49,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()
- local ball = Instance.new("Part")
- ball.BrickColor = BrickColor.new("Dark blue")
- 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
- 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))
- Script50.Name = "Ragdoller"
- Script50.Parent = Model0
- table.insert(cors,sandbox(Script50,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))
- LocalScript51.Name = "CamAttach"
- LocalScript51.Parent = Script50
- LocalScript51.Disabled = true
- table.insert(cors,sandbox(LocalScript51,function()
- wait()
- game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
- end))
- ObjectValue52.Name = "CamPart"
- ObjectValue52.Parent = LocalScript51
- Script53.Name = "zCharacter"
- Script53.Parent = Model0
- table.insert(cors,sandbox(Script53,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))
- Script54.Name = "zFollow"
- Script54.Parent = Model0
- table.insert(cors,sandbox(Script54,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))
- Script55.Name = "Animate"
- Script55.Parent = Model0
- table.insert(cors,sandbox(Script55,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))
- StringValue56.Name = "climb"
- StringValue56.Parent = Script55
- Animation57.Name = "ClimbAnim"
- Animation57.Parent = StringValue56
- Animation57.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue58.Name = "fall"
- StringValue58.Parent = Script55
- Animation59.Name = "FallAnim"
- Animation59.Parent = StringValue58
- Animation59.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue60.Name = "idle"
- StringValue60.Parent = Script55
- Animation61.Name = "Animation1"
- Animation61.Parent = StringValue60
- Animation61.AnimationId = "rbxassetid://529667700"
- NumberValue62.Name = "Weight"
- NumberValue62.Parent = Animation61
- NumberValue62.Value = 9
- Animation63.Name = "Animation2"
- Animation63.Parent = StringValue60
- Animation63.AnimationId = "rbxassetid://529667700"
- NumberValue64.Name = "Weight"
- NumberValue64.Parent = Animation63
- NumberValue64.Value = 1
- StringValue65.Name = "jump"
- StringValue65.Parent = Script55
- Animation66.Name = "JumpAnim"
- Animation66.Parent = StringValue65
- Animation66.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue67.Name = "run"
- StringValue67.Parent = Script55
- Animation68.Name = "RunAnim"
- Animation68.Parent = StringValue67
- Animation68.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- StringValue69.Name = "sit"
- StringValue69.Parent = Script55
- Animation70.Name = "SitAnim"
- Animation70.Parent = StringValue69
- Animation70.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue71.Name = "toolnone"
- StringValue71.Parent = Script55
- Animation72.Name = "ToolNoneAnim"
- Animation72.Parent = StringValue71
- Animation72.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue73.Name = "walk"
- StringValue73.Parent = Script55
- Animation74.Name = "WalkAnim"
- Animation74.Parent = StringValue73
- Animation74.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Script75.Name = "Respawn"
- Script75.Parent = Model0
- table.insert(cors,sandbox(Script75,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))
- BodyColors76.Parent = Model0
- BodyColors76.HeadColor = BrickColor.new("Institutional white")
- BodyColors76.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors76.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors76.RightArmColor = BrickColor.new("Institutional white")
- BodyColors76.RightLegColor = BrickColor.new("Institutional white")
- BodyColors76.TorsoColor = BrickColor.new("Institutional white")
- Pants77.Name = "Pants"
- Pants77.Parent = Model0
- Pants77.PantsTemplate = "http://www.roblox.com/asset/?id=769592974"
- Shirt78.Name = "Shirt"
- Shirt78.Parent = Model0
- Shirt78.ShirtTemplate = "http://www.roblox.com/asset/?id=1527792263"
- Accessory79.Name = "ArcticFoxHead"
- Accessory79.Parent = Model0
- Accessory79.AttachmentPos = Vector3.new(0, 0.119999997, 0.300000012)
- Part80.Name = "Handle"
- Part80.Parent = Accessory79
- Part80.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part80.CanCollide = false
- Part80.FormFactor = Enum.FormFactor.Custom
- Part80.Size = Vector3.new(1.8600266, 2.2399981, 2.0999999)
- Part80.CFrame = CFrame.new(-123.134064, 5.08000803, -109.957115, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part80.BottomSurface = Enum.SurfaceType.Smooth
- Part80.TopSurface = Enum.SurfaceType.Smooth
- Part80.Position = Vector3.new(-123.134064, 5.08000803, -109.957115)
- Part80.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh81.Parent = Part80
- SpecialMesh81.MeshId = "http://www.roblox.com/asset/?id=188699722 "
- SpecialMesh81.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- SpecialMesh81.TextureId = "http://www.roblox.com/asset/?id=188699768 "
- SpecialMesh81.MeshType = Enum.MeshType.FileMesh
- SpecialMesh81.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- Attachment82.Name = "HatAttachment"
- Attachment82.Parent = Part80
- Attachment82.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment82.CFrame = CFrame.new(8.65748007e-09, 0.21999979, 0.299727768, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment82.Position = Vector3.new(8.65748007e-09, 0.21999979, 0.299727768)
- Attachment82.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment82.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value83.Name = "OriginalSize"
- Vector3Value83.Parent = Part80
- Vector3Value83.Value = Vector3.new(1.8600266, 2.2399981, 2.0999999)
- Accessory84.Name = "FoxTail"
- Accessory84.Parent = Model0
- Accessory84.AttachmentPos = Vector3.new(1, 3.29999995, -0.899999976)
- Part85.Name = "Handle"
- Part85.Parent = Accessory84
- Part85.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part85.CanCollide = false
- Part85.FormFactor = Enum.FormFactor.Symmetric
- Part85.Size = Vector3.new(1, 1.41999996, 1)
- Part85.CFrame = CFrame.new(-124.002525, 1.90000796, -111.255493, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part85.BottomSurface = Enum.SurfaceType.Smooth
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.Position = Vector3.new(-124.002525, 1.90000796, -111.255493)
- Part85.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh86.Parent = Part85
- SpecialMesh86.MeshId = "http://www.roblox.com/asset/?id=335037790 "
- SpecialMesh86.TextureId = "http://www.roblox.com/asset/?id=335037904 "
- SpecialMesh86.MeshType = Enum.MeshType.FileMesh
- Attachment87.Name = "WaistFrontAttachment"
- Attachment87.Parent = Part85
- Attachment87.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment87.CFrame = CFrame.new(1.00000012, 0.299999714, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment87.Position = Vector3.new(1.00000012, 0.299999714, -1.40027213)
- Attachment87.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment87.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Vector3Value88.Name = "OriginalSize"
- Vector3Value88.Parent = Part85
- Vector3Value88.Value = Vector3.new(1, 1.41999996, 1)
- Accessory89.Name = "FriendlySnowfOX"
- Accessory89.Parent = Model0
- Accessory89.AttachmentPos = Vector3.new(0, 1.79999995, 0)
- Part90.Name = "Handle"
- Part90.Parent = Accessory89
- Part90.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part90.CanCollide = false
- Part90.FormFactor = Enum.FormFactor.Custom
- Part90.Size = Vector3.new(0.720027149, 1.31999815, 1.91000271)
- Part90.CFrame = CFrame.new(-123.421837, 3.40000796, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.Position = Vector3.new(-123.421837, 3.40000796, -110.041901)
- Part90.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh91.Parent = Part90
- SpecialMesh91.MeshId = "rbxassetid://1241037817"
- SpecialMesh91.TextureId = "rbxassetid://1241038471"
- SpecialMesh91.MeshType = Enum.MeshType.FileMesh
- Attachment92.Name = "RightCollarAttachment"
- Attachment92.Parent = Part90
- Attachment92.CFrame = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment92.Position = Vector3.new(0, -0.649999976, -0.100000001)
- Vector3Value93.Name = "OriginalSize"
- Vector3Value93.Parent = Part90
- Vector3Value93.Value = Vector3.new(0.720027149, 1.31999815, 1.91000271)
- Accessory94.Name = "NeonBlueAnimalHood"
- Accessory94.Parent = Model0
- Accessory94.AttachmentPos = Vector3.new(0, -0.0299999993, 0.0500000007)
- Part95.Name = "Handle"
- Part95.Parent = Accessory94
- Part95.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part95.CanCollide = false
- Part95.FormFactor = Enum.FormFactor.Custom
- Part95.Size = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Part95.CFrame = CFrame.new(-123.373878, 5.23000813, -110.027771, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part95.BottomSurface = Enum.SurfaceType.Smooth
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.Position = Vector3.new(-123.373878, 5.23000813, -110.027771)
- Part95.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh96.Parent = Part95
- SpecialMesh96.MeshId = "http://www.roblox.com/asset/?id=135446047 "
- SpecialMesh96.Scale = Vector3.new(1, 1.10000002, 1)
- SpecialMesh96.TextureId = "http://www.roblox.com/asset/?id=273374941 "
- SpecialMesh96.MeshType = Enum.MeshType.FileMesh
- SpecialMesh96.Scale = Vector3.new(1, 1.10000002, 1)
- Attachment97.Name = "HatAttachment"
- Attachment97.Parent = Part95
- Attachment97.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment97.CFrame = CFrame.new(8.65748007e-09, 0.0699996948, 0.0497277565, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment97.Position = Vector3.new(8.65748007e-09, 0.0699996948, 0.0497277565)
- Attachment97.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment97.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value98.Name = "OriginalSize"
- Vector3Value98.Parent = Part95
- Vector3Value98.Value = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Accessory99.Name = "RainbowWings"
- Accessory99.Parent = Model0
- Accessory99.AttachmentPos = Vector3.new(0, 0.5, -1.04999995)
- Part100.Name = "Handle"
- Part100.Parent = Accessory99
- Part100.Transparency = 0.20000000298023
- Part100.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part100.CanCollide = false
- Part100.FormFactor = Enum.FormFactor.Symmetric
- Part100.Size = Vector3.new(1, 1.41999996, 1)
- Part100.CFrame = CFrame.new(-124.429031, 4.70000792, -110.338654, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part100.BottomSurface = Enum.SurfaceType.Smooth
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Position = Vector3.new(-124.429031, 4.70000792, -110.338654)
- Part100.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh101.Parent = Part100
- SpecialMesh101.MeshId = "http://www.roblox.com/asset/?id=335060772 "
- SpecialMesh101.TextureId = "http://www.roblox.com/asset/?id=335060906"
- SpecialMesh101.MeshType = Enum.MeshType.FileMesh
- Attachment102.Name = "BodyBackAttachment"
- Attachment102.Parent = Part100
- Attachment102.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment102.CFrame = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment102.Position = Vector3.new(-9.09494702e-13, -1.50000024, -0.550272346)
- Attachment102.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment102.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Vector3Value103.Name = "OriginalSize"
- Vector3Value103.Parent = Part100
- Vector3Value103.Value = Vector3.new(1, 1.41999996, 1)
- Model104.Name = "Animescapetower dARK"
- Model104.Parent = mas
- Model104.PrimaryPart = Part105
- Part105.Name = "Head"
- Part105.Parent = Model104
- Part105.Material = Enum.Material.SmoothPlastic
- Part105.Transparency = 0.30000001192093
- Part105.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part105.FormFactor = Enum.FormFactor.Symmetric
- Part105.Size = Vector3.new(2, 1, 1)
- Part105.CFrame = CFrame.new(-133.311844, 4.50001717, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Position = Vector3.new(-133.311844, 4.50001717, -97.09198)
- Part105.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh106.Parent = Part105
- SpecialMesh106.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh106.Scale = Vector3.new(1.25, 1.25, 1.25)
- BillboardGui107.Name = "NameGUI"
- BillboardGui107.Parent = Part105
- BillboardGui107.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui107.Active = true
- BillboardGui107.AlwaysOnTop = true
- BillboardGui107.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel108.Name = "Name"
- TextLabel108.Parent = BillboardGui107
- TextLabel108.Transparency = 1
- TextLabel108.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel108.Text = "Animescapetower(Darkness mode)"
- TextLabel108.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel108.BackgroundTransparency = 1
- TextLabel108.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel108.Font = Enum.Font.SourceSansBold
- TextLabel108.FontSize = Enum.FontSize.Size48
- TextLabel108.TextColor3 = Color3.new(0, 0, 0)
- TextLabel108.TextScaled = true
- TextLabel108.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel108.TextStrokeTransparency = 0
- TextLabel108.TextWrapped = true
- Decal109.Parent = Part105
- Decal109.Texture = "http://www.roblox.com/asset/?id=460460302"
- BillboardGui110.Name = "LevelGUI"
- BillboardGui110.Parent = Part105
- BillboardGui110.Size = UDim2.new(10, 0, 2, 0)
- BillboardGui110.Active = true
- BillboardGui110.AlwaysOnTop = true
- BillboardGui110.StudsOffset = Vector3.new(0, 1.5, 0)
- TextLabel111.Name = "Level"
- TextLabel111.Parent = BillboardGui110
- TextLabel111.Transparency = 1
- TextLabel111.Size = UDim2.new(1, 0, 0.699999988, 0)
- TextLabel111.Text = "Level 450"
- TextLabel111.Position = UDim2.new(0, 0, 0, 20)
- TextLabel111.BackgroundColor3 = Color3.new(1, 0, 0)
- TextLabel111.BackgroundTransparency = 1
- TextLabel111.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
- TextLabel111.Font = Enum.Font.SourceSansBold
- TextLabel111.FontSize = Enum.FontSize.Size11
- TextLabel111.TextColor3 = Color3.new(0.47451, 0.0117647, 1)
- TextLabel111.TextScaled = true
- TextLabel111.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel111.TextStrokeTransparency = 0
- TextLabel111.TextWrapped = true
- Weld112.Name = "HeadWeld"
- Weld112.Parent = Part105
- Weld112.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld112.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld112.Part0 = Part105
- Weld112.Part1 = Part181
- Weld113.Name = "HeadWeld"
- Weld113.Parent = Part105
- Weld113.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld113.C1 = CFrame.new(0, 1.25, 0.800000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld113.Part0 = Part105
- Weld113.Part1 = Part184
- Weld114.Name = "HeadWeld"
- Weld114.Parent = Part105
- Weld114.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld114.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld114.Part0 = Part105
- Weld114.Part1 = Part188
- Weld115.Name = "HeadWeld"
- Weld115.Parent = Part105
- Weld115.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld115.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld115.Part0 = Part105
- Weld115.Part1 = Part191
- Part116.Name = "Torso"
- Part116.Parent = Model104
- Part116.Material = Enum.Material.SmoothPlastic
- Part116.Transparency = 0.30000001192093
- Part116.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part116.FormFactor = Enum.FormFactor.Symmetric
- Part116.Size = Vector3.new(2, 2, 1)
- Part116.CFrame = CFrame.new(-133.311844, 3.00001693, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part116.LeftSurface = Enum.SurfaceType.Weld
- Part116.RightSurface = Enum.SurfaceType.Weld
- Part116.Position = Vector3.new(-133.311844, 3.00001693, -97.09198)
- Part116.Orientation = Vector3.new(0, -106.419998, 0)
- Motor6D117.Name = "Right Shoulder"
- Motor6D117.Parent = Part116
- Motor6D117.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D117.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D117.Part0 = Part116
- Motor6D117.Part1 = Part146
- Motor6D117.DesiredAngle = -0.071470186114311
- Motor6D117.MaxVelocity = 0.15000000596046
- Motor6D118.Name = "Left Shoulder"
- Motor6D118.Parent = Part116
- Motor6D118.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D118.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D118.Part0 = Part116
- Motor6D118.Part1 = Part145
- Motor6D118.DesiredAngle = -0.071470186114311
- Motor6D118.MaxVelocity = 0.15000000596046
- Motor6D119.Name = "Right Hip"
- Motor6D119.Parent = Part116
- Motor6D119.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D119.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D119.Part0 = Part116
- Motor6D119.Part1 = Part148
- Motor6D119.DesiredAngle = 0.071470186114311
- Motor6D119.MaxVelocity = 0.10000000149012
- Motor6D120.Name = "Left Hip"
- Motor6D120.Parent = Part116
- Motor6D120.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D120.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D120.Part0 = Part116
- Motor6D120.Part1 = Part147
- Motor6D120.DesiredAngle = 0.071470186114311
- Motor6D120.MaxVelocity = 0.10000000149012
- Sound121.Name = "DMG"
- Sound121.Parent = Part116
- Sound121.Pitch = 1.25
- Sound121.SoundId = "rbxassetid://138087186"
- Sound121.Volume = 1
- Sound122.Name = "DMG2"
- Sound122.Parent = Part116
- Sound122.SoundId = "rbxassetid://131237241"
- Sound122.Volume = 1
- Sound123.Name = "FinalFlash"
- Sound123.Parent = Part116
- Sound123.Pitch = 1.5
- Sound123.SoundId = "rbxassetid://161251144"
- Sound123.Volume = 1
- Sound124.Name = "SaiyanEnergy"
- Sound124.Parent = Part116
- Sound124.Pitch = 6
- Sound124.SoundId = "rbxassetid://98333808"
- Sound124.Volume = 1
- Sound125.Name = "SaiyanEnergy2"
- Sound125.Parent = Part116
- Sound125.SoundId = "rbxassetid://491515754"
- Sound125.Volume = 1
- Sound125.Looped = true
- Motor6D126.Name = "Neck"
- Motor6D126.Parent = Part116
- Motor6D126.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D126.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D126.Part0 = Part116
- Motor6D126.Part1 = Part105
- Motor6D126.MaxVelocity = 0.10000000149012
- ParticleEmitter127.Name = "BlackAura"
- ParticleEmitter127.Parent = Part116
- ParticleEmitter127.Transparency = NumberSequence.new(1,1)
- ParticleEmitter127.Size = NumberSequence.new(7,7)
- ParticleEmitter127.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter127.LightEmission = 1
- ParticleEmitter127.Texture = "rbxassetid://358965396"
- ParticleEmitter127.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter127.Speed = NumberRange.new(9, 9)
- ParticleEmitter127.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- Script128.Parent = ParticleEmitter127
- table.insert(cors,sandbox(Script128,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))
- ParticleEmitter129.Name = "Aura2"
- ParticleEmitter129.Parent = Part116
- ParticleEmitter129.Transparency = NumberSequence.new(1,1)
- ParticleEmitter129.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter129.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
- ParticleEmitter129.LightEmission = 0.55000001192093
- ParticleEmitter129.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter129.Rate = 50
- ParticleEmitter129.Speed = NumberRange.new(2, 2)
- ParticleEmitter129.VelocitySpread = 50
- ParticleEmitter129.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
- Script130.Parent = ParticleEmitter129
- table.insert(cors,sandbox(Script130,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))
- ParticleEmitter131.Name = "Aura1"
- ParticleEmitter131.Parent = Part116
- ParticleEmitter131.Transparency = NumberSequence.new(1,1)
- ParticleEmitter131.Size = NumberSequence.new(15,15)
- ParticleEmitter131.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
- ParticleEmitter131.LightEmission = 1.1799999475479
- ParticleEmitter131.Texture = "rbxassetid://260611998"
- ParticleEmitter131.ZOffset = 1
- ParticleEmitter131.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter131.Rate = 120
- ParticleEmitter131.Speed = NumberRange.new(15, 15)
- ParticleEmitter131.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
- Script132.Parent = ParticleEmitter131
- table.insert(cors,sandbox(Script132,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))
- ParticleEmitter133.Name = "BlackAura2"
- ParticleEmitter133.Parent = Part116
- ParticleEmitter133.Transparency = NumberSequence.new(1,1)
- ParticleEmitter133.Size = NumberSequence.new(10,10)
- ParticleEmitter133.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
- ParticleEmitter133.LightEmission = 1
- ParticleEmitter133.Texture = "rbxassetid://260611998"
- ParticleEmitter133.ZOffset = 1
- ParticleEmitter133.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter133.Speed = NumberRange.new(10, 10)
- ParticleEmitter133.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
- Script134.Parent = ParticleEmitter133
- table.insert(cors,sandbox(Script134,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))
- Sound135.Name = "Teleport"
- Sound135.Parent = Part116
- Sound135.Pitch = 2
- Sound135.SoundId = "rbxassetid://216782105"
- Sound135.Volume = 1
- Sound136.Name = "Miss"
- Sound136.Parent = Part116
- Sound136.SoundId = "rbxassetid://174413237"
- Sound137.Name = "Voice3"
- Sound137.Parent = Part116
- Sound137.Pitch = 1.2000000476837
- Sound137.SoundId = "rbxassetid://190995007"
- Sound137.Volume = 1
- Sound138.Name = "Voice2"
- Sound138.Parent = Part116
- Sound138.Pitch = 0.30000001192093
- Sound138.SoundId = "rbxassetid://132236830"
- Sound138.Volume = 1
- Sound139.Name = "Voice1"
- Sound139.Parent = Part116
- Sound139.Pitch = 1.2000000476837
- Sound139.SoundId = "rbxassetid://159490394"
- Sound139.Volume = 1
- Sound140.Name = "Voice4"
- Sound140.Parent = Part116
- Sound140.Pitch = 6
- Sound140.SoundId = "rbxassetid://216782105"
- Sound140.Volume = 1
- Part141.Name = "TeleportEffect"
- Part141.Parent = Part116
- Part141.Material = Enum.Material.SmoothPlastic
- Part141.BrickColor = BrickColor.new("Institutional white")
- Part141.Transparency = 1
- Part141.Rotation = Vector3.new(0, -90, 0)
- Part141.Anchored = true
- Part141.CanCollide = false
- Part141.FormFactor = Enum.FormFactor.Custom
- Part141.Size = Vector3.new(2, 2, 1)
- Part141.CFrame = CFrame.new(-14.9699554, 5.99001694, -126.007202, 0, 7.54698205e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691913e-22, 0)
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part141.Position = Vector3.new(-14.9699554, 5.99001694, -126.007202)
- Part141.Orientation = Vector3.new(0, -90, 0)
- Part141.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BillboardGui142.Name = "Gui"
- BillboardGui142.Parent = Part141
- BillboardGui142.Size = UDim2.new(5, 0, 5, 0)
- BillboardGui142.Active = true
- ImageLabel143.Name = "Image"
- ImageLabel143.Parent = BillboardGui142
- ImageLabel143.Transparency = 1
- ImageLabel143.Size = UDim2.new(2.5, 0, 2.5, 0)
- ImageLabel143.Position = UDim2.new(0, -40, 0, -40)
- ImageLabel143.Active = true
- ImageLabel143.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- ImageLabel143.BackgroundTransparency = 1
- ImageLabel143.Image = "rbxassetid://507458850"
- Script144.Parent = Part141
- table.insert(cors,sandbox(Script144,function()
- e = game:GetService("ReplicatedStorage")
- script.Parent.Parent = e
- script:Destroy()
- end))
- Part145.Name = "Left Arm"
- Part145.Parent = Model104
- Part145.Material = Enum.Material.SmoothPlastic
- Part145.Transparency = 0.30000001192093
- Part145.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part145.CanCollide = false
- Part145.FormFactor = Enum.FormFactor.Symmetric
- Part145.Size = Vector3.new(1, 2, 1)
- Part145.CFrame = CFrame.new(-132.887909, 3.00001693, -98.5308304, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part145.Position = Vector3.new(-132.887909, 3.00001693, -98.5308304)
- Part145.Orientation = Vector3.new(0, -106.419998, 0)
- Part146.Name = "Right Arm"
- Part146.Parent = Model104
- Part146.Material = Enum.Material.SmoothPlastic
- Part146.Transparency = 0.30000001192093
- Part146.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part146.CanCollide = false
- Part146.FormFactor = Enum.FormFactor.Symmetric
- Part146.Size = Vector3.new(1, 2, 1)
- Part146.CFrame = CFrame.new(-133.735779, 3.00001693, -95.6531296, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part146.Position = Vector3.new(-133.735779, 3.00001693, -95.6531296)
- Part146.Orientation = Vector3.new(0, -106.419998, 0)
- Part147.Name = "Left Leg"
- Part147.Parent = Model104
- Part147.Material = Enum.Material.SmoothPlastic
- Part147.Transparency = 0.30000001192093
- Part147.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part147.CanCollide = false
- Part147.FormFactor = Enum.FormFactor.Symmetric
- Part147.Size = Vector3.new(1, 2, 1)
- Part147.CFrame = CFrame.new(-133.170532, 1.00001693, -97.5715942, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part147.BottomSurface = Enum.SurfaceType.Smooth
- Part147.Position = Vector3.new(-133.170532, 1.00001693, -97.5715942)
- Part147.Orientation = Vector3.new(0, -106.419998, 0)
- Part148.Name = "Right Leg"
- Part148.Parent = Model104
- Part148.Material = Enum.Material.SmoothPlastic
- Part148.Transparency = 0.30000001192093
- Part148.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part148.CanCollide = false
- Part148.FormFactor = Enum.FormFactor.Symmetric
- Part148.Size = Vector3.new(1, 2, 1)
- Part148.CFrame = CFrame.new(-133.453156, 1.00001693, -96.6123657, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part148.BottomSurface = Enum.SurfaceType.Smooth
- Part148.Position = Vector3.new(-133.453156, 1.00001693, -96.6123657)
- Part148.Orientation = Vector3.new(0, -106.419998, 0)
- Humanoid149.Parent = Model104
- Humanoid149.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid149.HealthDisplayDistance = 200
- Humanoid149.NameDisplayDistance = 200
- Humanoid149.RightLeg = Part148
- Humanoid149.LeftLeg = Part147
- Humanoid149.Torso = Part150
- Humanoid149.Health = 30000
- Humanoid149.MaxHealth = 30000
- Humanoid149.WalkSpeed = 17
- Part150.Name = "HumanoidRootPart"
- Part150.Parent = Model104
- Part150.Material = Enum.Material.SmoothPlastic
- Part150.Transparency = 0.30000001192093
- Part150.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part150.CanCollide = false
- Part150.FormFactor = Enum.FormFactor.Symmetric
- Part150.Size = Vector3.new(2, 2, 1)
- Part150.CFrame = CFrame.new(-133.311844, 3.00001693, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part150.BottomSurface = Enum.SurfaceType.Smooth
- Part150.TopSurface = Enum.SurfaceType.Smooth
- Part150.Position = Vector3.new(-133.311844, 3.00001693, -97.09198)
- Part150.Orientation = Vector3.new(0, -106.419998, 0)
- Motor6D151.Name = "RootJoint"
- Motor6D151.Parent = Part150
- Motor6D151.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D151.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D151.Part0 = Part150
- Motor6D151.Part1 = Part116
- Motor6D151.MaxVelocity = 0.10000000149012
- Script152.Name = "zSpecial"
- Script152.Parent = Model104
- table.insert(cors,sandbox(Script152,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()
- local ball = Instance.new("Part")
- ball.BrickColor = BrickColor.new("Dark blue")
- 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
- 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.Hair:Destroy()
- 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.SuperSaiyanHair.Handle.Transparency = 0
- 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))
- Script153.Name = "Ragdoller"
- Script153.Parent = Model104
- table.insert(cors,sandbox(Script153,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))
- LocalScript154.Name = "CamAttach"
- LocalScript154.Parent = Script153
- LocalScript154.Disabled = true
- table.insert(cors,sandbox(LocalScript154,function()
- wait()
- game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
- end))
- ObjectValue155.Name = "CamPart"
- ObjectValue155.Parent = LocalScript154
- Script156.Name = "zCharacter"
- Script156.Parent = Model104
- table.insert(cors,sandbox(Script156,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))
- Script157.Name = "zFollow"
- Script157.Parent = Model104
- table.insert(cors,sandbox(Script157,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 = 50
- 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))
- Script158.Name = "Animate"
- Script158.Parent = Model104
- table.insert(cors,sandbox(Script158,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))
- StringValue159.Name = "climb"
- StringValue159.Parent = Script158
- Animation160.Name = "ClimbAnim"
- Animation160.Parent = StringValue159
- Animation160.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue161.Name = "fall"
- StringValue161.Parent = Script158
- Animation162.Name = "FallAnim"
- Animation162.Parent = StringValue161
- Animation162.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue163.Name = "idle"
- StringValue163.Parent = Script158
- Animation164.Name = "Animation1"
- Animation164.Parent = StringValue163
- Animation164.AnimationId = "rbxassetid://529667700"
- NumberValue165.Name = "Weight"
- NumberValue165.Parent = Animation164
- NumberValue165.Value = 9
- Animation166.Name = "Animation2"
- Animation166.Parent = StringValue163
- Animation166.AnimationId = "rbxassetid://529667700"
- NumberValue167.Name = "Weight"
- NumberValue167.Parent = Animation166
- NumberValue167.Value = 1
- StringValue168.Name = "jump"
- StringValue168.Parent = Script158
- Animation169.Name = "JumpAnim"
- Animation169.Parent = StringValue168
- Animation169.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue170.Name = "run"
- StringValue170.Parent = Script158
- Animation171.Name = "RunAnim"
- Animation171.Parent = StringValue170
- Animation171.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- StringValue172.Name = "sit"
- StringValue172.Parent = Script158
- Animation173.Name = "SitAnim"
- Animation173.Parent = StringValue172
- Animation173.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue174.Name = "toolnone"
- StringValue174.Parent = Script158
- Animation175.Name = "ToolNoneAnim"
- Animation175.Parent = StringValue174
- Animation175.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue176.Name = "walk"
- StringValue176.Parent = Script158
- Animation177.Name = "WalkAnim"
- Animation177.Parent = StringValue176
- Animation177.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Pants178.Name = "Pants"
- Pants178.Parent = Model104
- Pants178.PantsTemplate = "http://www.roblox.com/asset/?id=278125378"
- Shirt179.Name = "Shirt"
- Shirt179.Parent = Model104
- Shirt179.ShirtTemplate = "http://www.roblox.com/asset/?id=380392822"
- Hat180.Name = "Animazing Hair"
- Hat180.Parent = Model104
- Hat180.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
- Part181.Name = "Handle"
- Part181.Parent = Hat180
- Part181.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part181.CanCollide = false
- Part181.FormFactor = Enum.FormFactor.Custom
- Part181.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
- Part181.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part181.BottomSurface = Enum.SurfaceType.Smooth
- Part181.TopSurface = Enum.SurfaceType.Smooth
- Part181.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
- Part181.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh182.Parent = Part181
- SpecialMesh182.MeshId = "http://www.roblox.com/asset/?id=167554431 "
- SpecialMesh182.TextureId = "http://www.roblox.com/asset/?id=167554469 "
- SpecialMesh182.MeshType = Enum.MeshType.FileMesh
- Hat183.Name = "RedWings"
- Hat183.Parent = Model104
- Hat183.AttachmentPos = Vector3.new(0, 1.25, 0.800000012)
- Part184.Name = "Handle"
- Part184.Parent = Hat183
- Part184.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part184.CanCollide = false
- Part184.FormFactor = Enum.FormFactor.Custom
- Part184.Size = Vector3.new(2.80000019, 2.88000011, 2.22999978)
- Part184.CFrame = CFrame.new(-132.544464, 3.75001717, -96.8658829, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part184.BottomSurface = Enum.SurfaceType.Smooth
- Part184.TopSurface = Enum.SurfaceType.Smooth
- Part184.Position = Vector3.new(-132.544464, 3.75001717, -96.8658829)
- Part184.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh185.Parent = Part184
- SpecialMesh185.MeshId = "http://www.roblox.com/asset/?id=215682815 "
- SpecialMesh185.TextureId = "http://www.roblox.com/asset/?id=409607839"
- SpecialMesh185.MeshType = Enum.MeshType.FileMesh
- Script186.Name = "Respawn"
- Script186.Parent = Model104
- table.insert(cors,sandbox(Script186,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))
- Hat187.Name = "Hair"
- Hat187.Parent = Model104
- Hat187.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
- Part188.Name = "Handle"
- Part188.Parent = Hat187
- Part188.BrickColor = BrickColor.new("Electric blue")
- Part188.Transparency = 1
- Part188.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part188.CanCollide = false
- Part188.FormFactor = Enum.FormFactor.Custom
- Part188.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
- Part188.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part188.BottomSurface = Enum.SurfaceType.Smooth
- Part188.TopSurface = Enum.SurfaceType.Smooth
- Part188.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- Part188.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
- Part188.Orientation = Vector3.new(0, -106.419998, 0)
- Part188.Color = Color3.new(0.0352941, 0.537255, 0.811765)
- SpecialMesh189.Parent = Part188
- SpecialMesh189.MeshId = "http://www.roblox.com/asset/?id=167554431 "
- SpecialMesh189.MeshType = Enum.MeshType.FileMesh
- Hat190.Name = "SuperSaiyanHair"
- Hat190.Parent = Model104
- Hat190.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
- Part191.Name = "Handle"
- Part191.Parent = Hat190
- Part191.Transparency = 1
- Part191.Rotation = Vector3.new(-180, -73.5800018, -180)
- Part191.CanCollide = false
- Part191.FormFactor = Enum.FormFactor.Custom
- Part191.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
- Part191.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
- Part191.BottomSurface = Enum.SurfaceType.Smooth
- Part191.TopSurface = Enum.SurfaceType.Smooth
- Part191.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
- Part191.Orientation = Vector3.new(0, -106.419998, 0)
- SpecialMesh192.Parent = Part191
- SpecialMesh192.MeshId = "http://www.roblox.com/asset/?id=167554431 "
- SpecialMesh192.MeshType = Enum.MeshType.FileMesh
- Script193.Parent = Part191
- table.insert(cors,sandbox(Script193,function()
- while true do
- script.Parent.Color = Color3.new(math.random(), math.random(), math.random())
- wait(0.5)
- end
- end))
- 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