SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 3 | function sandbox(var,func) | |
| 4 | local env = getfenv(func) | |
| 5 | local newenv = setmetatable({},{
| |
| 6 | __index = function(self,k) | |
| 7 | if k=="script" then | |
| 8 | return var | |
| 9 | else | |
| 10 | return env[k] | |
| 11 | end | |
| 12 | end, | |
| 13 | }) | |
| 14 | setfenv(func,newenv) | |
| 15 | return func | |
| 16 | end | |
| 17 | cors = {}
| |
| 18 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 19 | Model0 = Instance.new("Model")
| |
| 20 | - | Part1 = Instance.new("Part")
|
| 20 | + | Script1 = Instance.new("Script")
|
| 21 | - | SpecialMesh2 = Instance.new("SpecialMesh")
|
| 21 | + | LocalScript2 = Instance.new("LocalScript")
|
| 22 | - | Script3 = Instance.new("Script")
|
| 22 | + | ObjectValue3 = Instance.new("ObjectValue")
|
| 23 | - | Model4 = Instance.new("Model")
|
| 23 | + | Shirt4 = Instance.new("Shirt")
|
| 24 | - | Part5 = Instance.new("Part")
|
| 24 | + | Pants5 = Instance.new("Pants")
|
| 25 | - | Model6 = Instance.new("Model")
|
| 25 | + | Hat6 = Instance.new("Hat")
|
| 26 | Part7 = Instance.new("Part")
| |
| 27 | - | Model8 = Instance.new("Model")
|
| 27 | + | SpecialMesh8 = Instance.new("SpecialMesh")
|
| 28 | Part9 = Instance.new("Part")
| |
| 29 | Part10 = Instance.new("Part")
| |
| 30 | - | BlockMesh11 = Instance.new("BlockMesh")
|
| 30 | + | Weld11 = Instance.new("Weld")
|
| 31 | - | Part12 = Instance.new("Part")
|
| 31 | + | SpecialMesh12 = Instance.new("SpecialMesh")
|
| 32 | - | BlockMesh13 = Instance.new("BlockMesh")
|
| 32 | + | Sound13 = Instance.new("Sound")
|
| 33 | - | Part14 = Instance.new("Part")
|
| 33 | + | Sound14 = Instance.new("Sound")
|
| 34 | - | BlockMesh15 = Instance.new("BlockMesh")
|
| 34 | + | Script15 = Instance.new("Script")
|
| 35 | - | Part16 = Instance.new("Part")
|
| 35 | + | Script16 = Instance.new("Script")
|
| 36 | - | BlockMesh17 = Instance.new("BlockMesh")
|
| 36 | + | StringValue17 = Instance.new("StringValue")
|
| 37 | - | Model18 = Instance.new("Model")
|
| 37 | + | Animation18 = Instance.new("Animation")
|
| 38 | - | Part19 = Instance.new("Part")
|
| 38 | + | StringValue19 = Instance.new("StringValue")
|
| 39 | - | Part20 = Instance.new("Part")
|
| 39 | + | Animation20 = Instance.new("Animation")
|
| 40 | - | BlockMesh21 = Instance.new("BlockMesh")
|
| 40 | + | StringValue21 = Instance.new("StringValue")
|
| 41 | - | Part22 = Instance.new("Part")
|
| 41 | + | Animation22 = Instance.new("Animation")
|
| 42 | - | BlockMesh23 = Instance.new("BlockMesh")
|
| 42 | + | StringValue23 = Instance.new("StringValue")
|
| 43 | - | UnionOperation24 = Instance.new("UnionOperation")
|
| 43 | + | Animation24 = Instance.new("Animation")
|
| 44 | - | WedgePart25 = Instance.new("WedgePart")
|
| 44 | + | StringValue25 = Instance.new("StringValue")
|
| 45 | Animation26 = Instance.new("Animation")
| |
| 46 | - | Part1.Name = "Handle" |
| 46 | + | NumberValue27 = Instance.new("NumberValue")
|
| 47 | - | Part1.Parent = Model0 |
| 47 | + | Animation28 = Instance.new("Animation")
|
| 48 | - | Part1.CFrame = CFrame.new(-85.3000183, 2.05330563, 10.499999, 8.74226842e-08, -1.1920929e-07, -0.999998987, 1.0658141e-14, 0.999998987, -1.1920929e-07, 1, 0, 8.74227766e-08) |
| 48 | + | NumberValue29 = Instance.new("NumberValue")
|
| 49 | - | Part1.Orientation = Vector3.new(0, -90, 0) |
| 49 | + | StringValue30 = Instance.new("StringValue")
|
| 50 | - | Part1.Position = Vector3.new(-85.3000183, 2.05330563, 10.499999) |
| 50 | + | Animation31 = Instance.new("Animation")
|
| 51 | - | Part1.Rotation = Vector3.new(53.75, -89.9199982, 53.75) |
| 51 | + | StringValue32 = Instance.new("StringValue")
|
| 52 | - | Part1.Color = Color3.new(0.388235, 0.372549, 0.384314) |
| 52 | + | Animation33 = Instance.new("Animation")
|
| 53 | - | Part1.Size = Vector3.new(0.600000024, 0.900000036, 0.600000024) |
| 53 | + | Part34 = Instance.new("Part")
|
| 54 | - | Part1.Anchored = true |
| 54 | + | Motor6D35 = Instance.new("Motor6D")
|
| 55 | - | Part1.BottomSurface = Enum.SurfaceType.Smooth |
| 55 | + | Humanoid36 = Instance.new("Humanoid")
|
| 56 | - | Part1.BrickColor = BrickColor.new("Dark stone grey")
|
| 56 | + | Part37 = Instance.new("Part")
|
| 57 | - | Part1.Material = Enum.Material.Wood |
| 57 | + | ManualWeld38 = Instance.new("ManualWeld")
|
| 58 | - | Part1.TopSurface = Enum.SurfaceType.Smooth |
| 58 | + | ManualWeld39 = Instance.new("ManualWeld")
|
| 59 | - | Part1.brickColor = BrickColor.new("Dark stone grey")
|
| 59 | + | Part40 = Instance.new("Part")
|
| 60 | - | Part1.FormFactor = Enum.FormFactor.Custom |
| 60 | + | ManualWeld41 = Instance.new("ManualWeld")
|
| 61 | - | Part1.formFactor = Enum.FormFactor.Custom |
| 61 | + | Part42 = Instance.new("Part")
|
| 62 | - | SpecialMesh2.Parent = Part1 |
| 62 | + | Weld43 = Instance.new("Weld")
|
| 63 | - | SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=162005985 " |
| 63 | + | Part44 = Instance.new("Part")
|
| 64 | - | SpecialMesh2.Scale = Vector3.new(1.5, 1.5, 1.5) |
| 64 | + | Part45 = Instance.new("Part")
|
| 65 | - | SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=162006009 " |
| 65 | + | Weld46 = Instance.new("Weld")
|
| 66 | - | SpecialMesh2.MeshType = Enum.MeshType.FileMesh |
| 66 | + | Weld47 = Instance.new("Weld")
|
| 67 | - | Script3.Parent = Part1 |
| 67 | + | Motor6D48 = Instance.new("Motor6D")
|
| 68 | - | table.insert(cors,sandbox(Script3,function() |
| 68 | + | Motor6D49 = Instance.new("Motor6D")
|
| 69 | - | ---- script made by youngwarlock |
| 69 | + | Motor6D50 = Instance.new("Motor6D")
|
| 70 | Part51 = Instance.new("Part")
| |
| 71 | Weld52 = Instance.new("Weld")
| |
| 72 | - | p = Instance.new("Sound")
|
| 72 | + | Weld53 = Instance.new("Weld")
|
| 73 | - | p.Parent = script.Parent |
| 73 | + | SpecialMesh54 = Instance.new("SpecialMesh")
|
| 74 | - | p.Name = "Cute music" |
| 74 | + | Weld55 = Instance.new("Weld")
|
| 75 | - | p.Pitch = 1 |
| 75 | + | Weld56 = Instance.new("Weld")
|
| 76 | - | p.Looped = true |
| 76 | + | Weld57 = Instance.new("Weld")
|
| 77 | - | p.SoundId = "http://www.roblox.com/asset?id=151012443" |
| 77 | + | Weld58 = Instance.new("Weld")
|
| 78 | - | p.Volume = 100 |
| 78 | + | Weld59 = Instance.new("Weld")
|
| 79 | - | p:play() |
| 79 | + | Weld60 = Instance.new("Weld")
|
| 80 | Weld61 = Instance.new("Weld")
| |
| 81 | - | Model4.Parent = Model0 |
| 81 | + | Weld62 = Instance.new("Weld")
|
| 82 | - | Part5.Parent = Model4 |
| 82 | + | Weld63 = Instance.new("Weld")
|
| 83 | - | Part5.CFrame = CFrame.new(-86.0133514, 1.87548494, 10.4998159, 0.939691663, 0.342019647, 0, -0.342019647, 0.939691663, 0, 0, 0, 1) |
| 83 | + | Weld64 = Instance.new("Weld")
|
| 84 | - | Part5.Orientation = Vector3.new(0, 0, -20) |
| 84 | + | Weld65 = Instance.new("Weld")
|
| 85 | - | Part5.Position = Vector3.new(-86.0133514, 1.87548494, 10.4998159) |
| 85 | + | Weld66 = Instance.new("Weld")
|
| 86 | - | Part5.Rotation = Vector3.new(0, 0, -20) |
| 86 | + | Weld67 = Instance.new("Weld")
|
| 87 | - | Part5.Color = Color3.new(0.898039, 0.894118, 0.87451) |
| 87 | + | Weld68 = Instance.new("Weld")
|
| 88 | - | Part5.Size = Vector3.new(0.824699938, 0.824699879, 0.962150514) |
| 88 | + | Decal69 = Instance.new("Decal")
|
| 89 | - | Part5.Anchored = true |
| 89 | + | Model0.Name = "" |
| 90 | - | Part5.BottomSurface = Enum.SurfaceType.Smooth |
| 90 | + | |
| 91 | - | Part5.BrickColor = BrickColor.new("Light stone grey")
|
| 91 | + | Model0.PrimaryPart = Part51 |
| 92 | - | Part5.TopSurface = Enum.SurfaceType.Smooth |
| 92 | + | Script1.Name = "Ragdoller" |
| 93 | - | Part5.brickColor = BrickColor.new("Light stone grey")
|
| 93 | + | Script1.Parent = Model0 |
| 94 | - | Part5.FormFactor = Enum.FormFactor.Custom |
| 94 | + | table.insert(cors,sandbox(Script1,function() |
| 95 | - | Part5.formFactor = Enum.FormFactor.Custom |
| 95 | + | print("Ragdoll script activated")
|
| 96 | - | Model6.Parent = Model0 |
| 96 | + | Gibs = game.Workspace |
| 97 | - | Part7.Parent = Model6 |
| 97 | + | |
| 98 | - | Part7.CFrame = CFrame.new(-85.5606537, 1.25458956, 10.5000143, 0.999998987, -1.1920929e-07, 0, 1.1920929e-07, 0.999998987, 0, 0, 0, 1) |
| 98 | + | function getKillerOfHumanoidIfStillInGame(humanoid) |
| 99 | - | Part7.Position = Vector3.new(-85.5606537, 1.25458956, 10.5000143) |
| 99 | + | local tag = humanoid:findFirstChild("creator")
|
| 100 | - | Part7.Color = Color3.new(0.898039, 0.894118, 0.87451) |
| 100 | + | if tag ~= nil then |
| 101 | - | Part7.Size = Vector3.new(1.05836475, 0.769719899, 1.05836546) |
| 101 | + | local killer = tag.Value |
| 102 | - | Part7.Anchored = true |
| 102 | + | if killer.Parent ~= nil then |
| 103 | return killer | |
| 104 | - | Part7.BrickColor = BrickColor.new("Light stone grey")
|
| 104 | + | end |
| 105 | end | |
| 106 | - | Part7.brickColor = BrickColor.new("Light stone grey")
|
| 106 | + | return nil |
| 107 | - | Part7.FormFactor = Enum.FormFactor.Custom |
| 107 | + | |
| 108 | - | Part7.formFactor = Enum.FormFactor.Custom |
| 108 | + | |
| 109 | - | Model8.Parent = Model6 |
| 109 | + | function OnDeath(Character) |
| 110 | - | Part9.Parent = Model8 |
| 110 | + | local svch = Character |
| 111 | - | Part9.CFrame = CFrame.new(-85.2238922, 0.436767578, 10.1632681, 0.999998987, -1.1920929e-07, 0, 1.1920929e-07, 0.999998987, 0, 0, 0, 1) |
| 111 | + | local hum = Character:findFirstChild("Humanoid")
|
| 112 | - | Part9.Position = Vector3.new(-85.2238922, 0.436767578, 10.1632681) |
| 112 | + | local getkiller = getKillerOfHumanoidIfStillInGame(hum) |
| 113 | - | Part9.Color = Color3.new(1, 0.686275, 0) |
| 113 | + | Character.Archivable = true |
| 114 | - | Part9.Size = Vector3.new(0.38485989, 0.865934968, 0.384860188) |
| 114 | + | local chrclone = Character:clone() |
| 115 | - | Part9.Anchored = true |
| 115 | + | Character.Archivable = false |
| 116 | - | Part9.BottomSurface = Enum.SurfaceType.Smooth |
| 116 | + | |
| 117 | - | Part9.BrickColor = BrickColor.new("Deep orange")
|
| 117 | + | local ch = chrclone:GetChildren() |
| 118 | - | Part9.Material = Enum.Material.Pebble |
| 118 | + | local i |
| 119 | - | Part9.TopSurface = Enum.SurfaceType.Smooth |
| 119 | + | for i = 1,#ch do |
| 120 | - | Part9.brickColor = BrickColor.new("Deep orange")
|
| 120 | + | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then |
| 121 | - | Part9.FormFactor = Enum.FormFactor.Custom |
| 121 | + | ch[i]:remove() |
| 122 | - | Part9.formFactor = Enum.FormFactor.Custom |
| 122 | + | end |
| 123 | - | Part10.Parent = Model8 |
| 123 | + | end |
| 124 | - | Part10.CFrame = CFrame.new(-85.512558, 0.10002017, 9.9708395, 0.96592474, -5.96046448e-07, -0.258818716, 5.36441803e-07, 0.999998927, -2.16066837e-07, 0.258818984, 7.41274846e-08, 0.965925694) |
| 124 | + | local function Scan(ch) |
| 125 | - | Part10.Orientation = Vector3.new(0, -15, 0) |
| 125 | + | local e |
| 126 | - | Part10.Position = Vector3.new(-85.512558, 0.10002017, 9.9708395) |
| 126 | + | for e = 1,#ch do |
| 127 | - | Part10.Rotation = Vector3.new(0, -15, 0) |
| 127 | + | Scan(ch[e]:GetChildren()) |
| 128 | - | Part10.Color = Color3.new(1, 0.686275, 0) |
| 128 | + | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then |
| 129 | - | Part10.Size = Vector3.new(0.769719779, 0.200000003, 0.200000003) |
| 129 | + | ch[e]:remove() |
| 130 | - | Part10.Anchored = true |
| 130 | + | |
| 131 | - | Part10.BottomSurface = Enum.SurfaceType.Smooth |
| 131 | + | end |
| 132 | - | Part10.BrickColor = BrickColor.new("Deep orange")
|
| 132 | + | end |
| 133 | Scan(chrclone:GetChildren()) | |
| 134 | - | Part10.Material = Enum.Material.Pebble |
| 134 | + | |
| 135 | - | Part10.TopSurface = Enum.SurfaceType.Smooth |
| 135 | + | local hum2 = chrclone:findFirstChild("Humanoid")
|
| 136 | - | Part10.brickColor = BrickColor.new("Deep orange")
|
| 136 | + | |
| 137 | ||
| 138 | if hum2 ~= nil then | |
| 139 | - | BlockMesh11.Parent = Part10 |
| 139 | + | hum2.Name = "Humanoid2" |
| 140 | - | BlockMesh11.Scale = Vector3.new(1, 0.962149858, 0.962150455) |
| 140 | + | hum2.PlatformStand = true |
| 141 | - | Part12.Parent = Model8 |
| 141 | + | hum2.Sit = true |
| 142 | - | Part12.CFrame = CFrame.new(-85.512558, 0.10002017, 10.3556967, 0.965924859, -1.1920929e-07, 0.258818775, 1.49011612e-07, 0.999998987, 7.4505806e-09, -0.258819044, 2.81284969e-08, 0.965925813) |
| 142 | + | hum2.MaxHealth = 0 |
| 143 | - | Part12.Orientation = Vector3.new(0, 15, 0) |
| 143 | + | hum2.Health = 0 |
| 144 | - | Part12.Position = Vector3.new(-85.512558, 0.10002017, 10.3556967) |
| 144 | + | end |
| 145 | - | Part12.Rotation = Vector3.new(0, 15, 0) |
| 145 | + | |
| 146 | - | Part12.Color = Color3.new(1, 0.686275, 0) |
| 146 | + | local ch = Character:GetChildren() |
| 147 | - | Part12.Size = Vector3.new(0.769719779, 0.200000003, 0.200000003) |
| 147 | + | local i |
| 148 | - | Part12.Anchored = true |
| 148 | + | for i = 1,#ch do |
| 149 | - | Part12.BottomSurface = Enum.SurfaceType.Smooth |
| 149 | + | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
| 150 | - | Part12.BrickColor = BrickColor.new("Deep orange")
|
| 150 | + | ch[i]:remove() |
| 151 | - | Part12.CanCollide = false |
| 151 | + | end |
| 152 | - | Part12.Material = Enum.Material.Pebble |
| 152 | + | end |
| 153 | - | Part12.TopSurface = Enum.SurfaceType.Smooth |
| 153 | + | |
| 154 | - | Part12.brickColor = BrickColor.new("Deep orange")
|
| 154 | + | wait(0.2) |
| 155 | - | Part12.FormFactor = Enum.FormFactor.Custom |
| 155 | + | |
| 156 | - | Part12.formFactor = Enum.FormFactor.Custom |
| 156 | + | local ch = Character:GetChildren() |
| 157 | - | BlockMesh13.Parent = Part12 |
| 157 | + | local i |
| 158 | - | BlockMesh13.Scale = Vector3.new(1, 0.962149858, 0.962150455) |
| 158 | + | for i = 1,#ch do |
| 159 | - | Part14.Parent = Model6 |
| 159 | + | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
| 160 | - | Part14.CFrame = CFrame.new(-85.6568756, 1.30269182, 11.0292044, 0.999998748, -8.94069672e-08, -2.98023224e-08, 1.1920929e-07, 0.939691424, 0.342019975, -1.21144472e-08, -0.342020303, 0.939692557) |
| 160 | + | ch[i]:remove() |
| 161 | - | Part14.Orientation = Vector3.new(-20, 0, 0) |
| 161 | + | end |
| 162 | - | Part14.Position = Vector3.new(-85.6568756, 1.30269182, 11.0292044) |
| 162 | + | end |
| 163 | - | Part14.Rotation = Vector3.new(-20, 0, 0) |
| 163 | + | Character = chrclone |
| 164 | - | Part14.Color = Color3.new(0.898039, 0.894118, 0.87451) |
| 164 | + | local Torso = Character.Torso |
| 165 | - | Part14.Size = Vector3.new(0.673504829, 0.481074929, 0.200000003) |
| 165 | + | local movevector = Vector3.new() |
| 166 | - | Part14.Anchored = true |
| 166 | + | |
| 167 | - | Part14.BottomSurface = Enum.SurfaceType.Smooth |
| 167 | + | if Torso then |
| 168 | - | Part14.BrickColor = BrickColor.new("Light stone grey")
|
| 168 | + | if getkiller ~= nil then |
| 169 | - | Part14.CanCollide = false |
| 169 | + | if getkiller.Character ~= nil then |
| 170 | - | Part14.TopSurface = Enum.SurfaceType.Smooth |
| 170 | + | local killtors = getkiller.Character:findFirstChild("Torso")
|
| 171 | - | Part14.brickColor = BrickColor.new("Light stone grey")
|
| 171 | + | if killtors ~= nil then |
| 172 | - | Part14.FormFactor = Enum.FormFactor.Custom |
| 172 | + | movevector = CFrame.new(killtors.Position,Torso.Position).lookVector |
| 173 | - | Part14.formFactor = Enum.FormFactor.Custom |
| 173 | + | end |
| 174 | - | BlockMesh15.Parent = Part14 |
| 174 | + | |
| 175 | - | BlockMesh15.Scale = Vector3.new(1, 1, 0.962150455) |
| 175 | + | end |
| 176 | - | Part16.Parent = Model6 |
| 176 | + | local Head = Character:FindFirstChild("Head")
|
| 177 | - | Part16.CFrame = CFrame.new(-85.6568756, 1.30269182, 9.9708395, 0.999998748, -8.94069672e-08, 4.47034836e-08, 1.1920929e-07, 0.939691544, -0.342019767, -1.21144472e-08, 0.342020124, 0.939692616) |
| 177 | + | if Head then |
| 178 | - | Part16.Orientation = Vector3.new(20, 0, 0) |
| 178 | + | local Neck = Instance.new("Weld")
|
| 179 | - | Part16.Position = Vector3.new(-85.6568756, 1.30269182, 9.9708395) |
| 179 | + | Neck.Name = "Neck" |
| 180 | - | Part16.Rotation = Vector3.new(20, 0, 0) |
| 180 | + | Neck.Part0 = Torso |
| 181 | - | Part16.Color = Color3.new(0.898039, 0.894118, 0.87451) |
| 181 | + | Neck.Part1 = Head |
| 182 | - | Part16.Size = Vector3.new(0.673504829, 0.481074929, 0.200000003) |
| 182 | + | Neck.C0 = CFrame.new(0, 1.5, 0) |
| 183 | - | Part16.Anchored = true |
| 183 | + | Neck.C1 = CFrame.new() |
| 184 | - | Part16.BottomSurface = Enum.SurfaceType.Smooth |
| 184 | + | Neck.Parent = Torso |
| 185 | - | Part16.BrickColor = BrickColor.new("Light stone grey")
|
| 185 | + | |
| 186 | - | Part16.CanCollide = false |
| 186 | + | local nsc = script.CamAttach:clone() |
| 187 | - | Part16.TopSurface = Enum.SurfaceType.Smooth |
| 187 | + | nsc.CamPart.Value = hum2.Parent.Head |
| 188 | - | Part16.brickColor = BrickColor.new("Light stone grey")
|
| 188 | + | nsc.Disabled = false |
| 189 | - | Part16.FormFactor = Enum.FormFactor.Custom |
| 189 | + | nsc.Parent = svch |
| 190 | - | Part16.formFactor = Enum.FormFactor.Custom |
| 190 | + | end |
| 191 | - | BlockMesh17.Parent = Part16 |
| 191 | + | local Limb = Character:FindFirstChild("Right Arm")
|
| 192 | - | BlockMesh17.Scale = Vector3.new(1, 1, 0.962150455) |
| 192 | + | if Limb then |
| 193 | - | Model18.Parent = Model6 |
| 193 | + | |
| 194 | - | Part19.Parent = Model18 |
| 194 | + | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) |
| 195 | - | Part19.CFrame = CFrame.new(-85.2238922, 0.436767578, 10.8367682, 0.999998987, -1.1920929e-07, 0, 1.1920929e-07, 0.999998987, 0, 0, 0, 1) |
| 195 | + | local Joint = Instance.new("Glue")
|
| 196 | - | Part19.Position = Vector3.new(-85.2238922, 0.436767578, 10.8367682) |
| 196 | + | Joint.Name = "RightShoulder" |
| 197 | - | Part19.Color = Color3.new(1, 0.686275, 0) |
| 197 | + | Joint.Part0 = Torso |
| 198 | - | Part19.Size = Vector3.new(0.38485989, 0.865934968, 0.384860188) |
| 198 | + | Joint.Part1 = Limb |
| 199 | - | Part19.Anchored = true |
| 199 | + | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 200 | - | Part19.BottomSurface = Enum.SurfaceType.Smooth |
| 200 | + | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 201 | - | Part19.BrickColor = BrickColor.new("Deep orange")
|
| 201 | + | Joint.Parent = Torso |
| 202 | - | Part19.Material = Enum.Material.Pebble |
| 202 | + | |
| 203 | - | Part19.TopSurface = Enum.SurfaceType.Smooth |
| 203 | + | local B = Instance.new("Part")
|
| 204 | - | Part19.brickColor = BrickColor.new("Deep orange")
|
| 204 | + | B.TopSurface = 0 |
| 205 | - | Part19.FormFactor = Enum.FormFactor.Custom |
| 205 | + | B.BottomSurface = 0 |
| 206 | - | Part19.formFactor = Enum.FormFactor.Custom |
| 206 | + | B.formFactor = "Symmetric" |
| 207 | - | Part20.Parent = Model18 |
| 207 | + | B.Size = Vector3.new(1, 1, 1) |
| 208 | - | Part20.CFrame = CFrame.new(-85.512558, 0.10002017, 10.6443396, 0.96592468, -6.2584877e-07, -0.258818716, 5.66244125e-07, 0.999998927, -2.16066837e-07, 0.258818984, 5.63229179e-08, 0.965925694) |
| 208 | + | B.Transparency = 1 |
| 209 | - | Part20.Orientation = Vector3.new(0, -15, 0) |
| 209 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
| 210 | - | Part20.Position = Vector3.new(-85.512558, 0.10002017, 10.6443396) |
| 210 | + | B.Parent = Character |
| 211 | - | Part20.Rotation = Vector3.new(0, -15, 0) |
| 211 | + | local W = Instance.new("Weld")
|
| 212 | - | Part20.Color = Color3.new(1, 0.686275, 0) |
| 212 | + | W.Part0 = Limb |
| 213 | - | Part20.Size = Vector3.new(0.769719779, 0.200000003, 0.200000003) |
| 213 | + | W.Part1 = B |
| 214 | - | Part20.Anchored = true |
| 214 | + | W.C0 = CFrame.new(0, -0.5, 0) |
| 215 | - | Part20.BottomSurface = Enum.SurfaceType.Smooth |
| 215 | + | W.Parent = Limb |
| 216 | - | Part20.BrickColor = BrickColor.new("Deep orange")
|
| 216 | + | |
| 217 | - | Part20.CanCollide = false |
| 217 | + | end |
| 218 | - | Part20.Material = Enum.Material.Pebble |
| 218 | + | local Limb = Character:FindFirstChild("Left Arm")
|
| 219 | - | Part20.TopSurface = Enum.SurfaceType.Smooth |
| 219 | + | if Limb then |
| 220 | - | Part20.brickColor = BrickColor.new("Deep orange")
|
| 220 | + | |
| 221 | - | Part20.FormFactor = Enum.FormFactor.Custom |
| 221 | + | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) |
| 222 | - | Part20.formFactor = Enum.FormFactor.Custom |
| 222 | + | local Joint = Instance.new("Glue")
|
| 223 | - | BlockMesh21.Parent = Part20 |
| 223 | + | Joint.Name = "LeftShoulder" |
| 224 | - | BlockMesh21.Scale = Vector3.new(1, 0.962149858, 0.962150455) |
| 224 | + | Joint.Part0 = Torso |
| 225 | - | Part22.Parent = Model18 |
| 225 | + | Joint.Part1 = Limb |
| 226 | - | Part22.CFrame = CFrame.new(-85.512558, 0.10002017, 11.0292044, 0.965924859, -5.96046448e-08, 0.258818775, 8.94069672e-08, 0.999998927, 2.23517418e-08, -0.258819044, 3.20072413e-09, 0.965925813) |
| 226 | + | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
| 227 | - | Part22.Orientation = Vector3.new(0, 15, 0) |
| 227 | + | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
| 228 | - | Part22.Position = Vector3.new(-85.512558, 0.10002017, 11.0292044) |
| 228 | + | Joint.Parent = Torso |
| 229 | - | Part22.Rotation = Vector3.new(0, 15, 0) |
| 229 | + | |
| 230 | - | Part22.Color = Color3.new(1, 0.686275, 0) |
| 230 | + | local B = Instance.new("Part")
|
| 231 | - | Part22.Size = Vector3.new(0.769719779, 0.200000003, 0.200000003) |
| 231 | + | B.TopSurface = 0 |
| 232 | - | Part22.Anchored = true |
| 232 | + | B.BottomSurface = 0 |
| 233 | - | Part22.BottomSurface = Enum.SurfaceType.Smooth |
| 233 | + | B.formFactor = "Symmetric" |
| 234 | - | Part22.BrickColor = BrickColor.new("Deep orange")
|
| 234 | + | B.Size = Vector3.new(1, 1, 1) |
| 235 | - | Part22.CanCollide = false |
| 235 | + | B.Transparency = 1 |
| 236 | - | Part22.Material = Enum.Material.Pebble |
| 236 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
| 237 | - | Part22.TopSurface = Enum.SurfaceType.Smooth |
| 237 | + | B.Parent = Character |
| 238 | - | Part22.brickColor = BrickColor.new("Deep orange")
|
| 238 | + | local W = Instance.new("Weld")
|
| 239 | - | Part22.FormFactor = Enum.FormFactor.Custom |
| 239 | + | W.Part0 = Limb |
| 240 | - | Part22.formFactor = Enum.FormFactor.Custom |
| 240 | + | W.Part1 = B |
| 241 | - | BlockMesh23.Parent = Part22 |
| 241 | + | W.C0 = CFrame.new(0, -0.5, 0) |
| 242 | - | BlockMesh23.Scale = Vector3.new(1, 0.962149858, 0.962150455) |
| 242 | + | W.Parent = Limb |
| 243 | - | UnionOperation24.Parent = Model0 |
| 243 | + | |
| 244 | - | UnionOperation24.CFrame = CFrame.new(-86.4412994, 2.09159923, 10.5295858, 0.000268537056, 0.93969965, -0.34199816, 0.000943127612, -0.341998249, -0.939699292, -0.999999464, -7.02040197e-05, -0.000978098018) |
| 244 | + | end |
| 245 | - | UnionOperation24.Orientation = Vector3.new(70, -90.159996, 179.839996) |
| 245 | + | local Limb = Character:FindFirstChild("Right Leg")
|
| 246 | - | UnionOperation24.Position = Vector3.new(-86.4412994, 2.09159923, 10.5295858) |
| 246 | + | if Limb then |
| 247 | - | UnionOperation24.Rotation = Vector3.new(90.0599976, -20, -89.9799957) |
| 247 | + | |
| 248 | - | UnionOperation24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
| 248 | + | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) |
| 249 | - | UnionOperation24.Size = Vector3.new(0.933723986, 0.0541288406, 0.461817205) |
| 249 | + | local Joint = Instance.new("Glue")
|
| 250 | - | UnionOperation24.Anchored = true |
| 250 | + | Joint.Name = "RightHip" |
| 251 | - | UnionOperation24.BrickColor = BrickColor.new("Really black")
|
| 251 | + | Joint.Part0 = Torso |
| 252 | - | UnionOperation24.brickColor = BrickColor.new("Really black")
|
| 252 | + | Joint.Part1 = Limb |
| 253 | - | WedgePart25.Parent = Model0 |
| 253 | + | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 254 | - | WedgePart25.CFrame = CFrame.new(-86.5420685, 1.92195439, 10.5186148, 0, 0.342019647, 0.939691663, 0, 0.939691663, -0.342019647, -1, 0, 0) |
| 254 | + | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
| 255 | - | WedgePart25.Orientation = Vector3.new(20, 90, 0) |
| 255 | + | Joint.Parent = Torso |
| 256 | - | WedgePart25.Position = Vector3.new(-86.5420685, 1.92195439, 10.5186148) |
| 256 | + | |
| 257 | - | WedgePart25.Rotation = Vector3.new(90, 70, -90) |
| 257 | + | local B = Instance.new("Part")
|
| 258 | - | WedgePart25.Color = Color3.new(1, 0.686275, 0) |
| 258 | + | B.TopSurface = 0 |
| 259 | - | WedgePart25.Size = Vector3.new(0.252220839, 0.252220929, 0.252221078) |
| 259 | + | B.BottomSurface = 0 |
| 260 | - | WedgePart25.Anchored = true |
| 260 | + | B.formFactor = "Symmetric" |
| 261 | - | WedgePart25.BottomSurface = Enum.SurfaceType.Smooth |
| 261 | + | B.Size = Vector3.new(1, 1, 1) |
| 262 | - | WedgePart25.BrickColor = BrickColor.new("Deep orange")
|
| 262 | + | B.Transparency = 1 |
| 263 | - | WedgePart25.Material = Enum.Material.SmoothPlastic |
| 263 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
| 264 | - | WedgePart25.brickColor = BrickColor.new("Deep orange")
|
| 264 | + | B.Parent = Character |
| 265 | - | WedgePart25.FormFactor = Enum.FormFactor.Custom |
| 265 | + | local W = Instance.new("Weld")
|
| 266 | - | WedgePart25.formFactor = Enum.FormFactor.Custom |
| 266 | + | W.Part0 = Limb |
| 267 | W.Part1 = B | |
| 268 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 269 | W.Parent = Limb | |
| 270 | ||
| 271 | end | |
| 272 | local Limb = Character:FindFirstChild("Left Leg")
| |
| 273 | if Limb then | |
| 274 | ||
| 275 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
| 276 | local Joint = Instance.new("Glue")
| |
| 277 | Joint.Name = "LeftHip" | |
| 278 | Joint.Part0 = Torso | |
| 279 | Joint.Part1 = Limb | |
| 280 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 281 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 282 | Joint.Parent = Torso | |
| 283 | ||
| 284 | local B = Instance.new("Part")
| |
| 285 | B.TopSurface = 0 | |
| 286 | B.BottomSurface = 0 | |
| 287 | B.formFactor = "Symmetric" | |
| 288 | B.Size = Vector3.new(1, 1, 1) | |
| 289 | B.Transparency = 1 | |
| 290 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
| 291 | B.Parent = Character | |
| 292 | local W = Instance.new("Weld")
| |
| 293 | W.Part0 = Limb | |
| 294 | W.Part1 = B | |
| 295 | W.C0 = CFrame.new(0, -0.5, 0) | |
| 296 | W.Parent = Limb | |
| 297 | ||
| 298 | end | |
| 299 | --[ | |
| 300 | local Bar = Instance.new("Part")
| |
| 301 | Bar.TopSurface = 0 | |
| 302 | Bar.BottomSurface = 0 | |
| 303 | Bar.formFactor = "Symmetric" | |
| 304 | Bar.Size = Vector3.new(1, 1, 1) | |
| 305 | Bar.Transparency = 1 | |
| 306 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
| 307 | Bar.Parent = Character | |
| 308 | local Weld = Instance.new("Weld")
| |
| 309 | Weld.Part0 = Torso | |
| 310 | Weld.Part1 = Bar | |
| 311 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
| 312 | Weld.Parent = Torso | |
| 313 | --]] | |
| 314 | end | |
| 315 | Character.Parent = Gibs | |
| 316 | game.Debris:AddItem(Character, 65) | |
| 317 | if movevector ~= Vector3.new() then | |
| 318 | for i = 1,10 do | |
| 319 | wait() | |
| 320 | Torso.Velocity = movevector * 30 | |
| 321 | end | |
| 322 | end | |
| 323 | end | |
| 324 | ||
| 325 | script.Parent.Humanoid.Died:connect(function() | |
| 326 | OnDeath(script.Parent) | |
| 327 | end) | |
| 328 | ||
| 329 | ||
| 330 | end)) | |
| 331 | LocalScript2.Name = "CamAttach" | |
| 332 | LocalScript2.Parent = Script1 | |
| 333 | table.insert(cors,sandbox(LocalScript2,function() | |
| 334 | wait() | |
| 335 | game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value | |
| 336 | end)) | |
| 337 | LocalScript2.Disabled = true | |
| 338 | ObjectValue3.Name = "CamPart" | |
| 339 | ObjectValue3.Parent = LocalScript2 | |
| 340 | Shirt4.Name = "Blu" | |
| 341 | Shirt4.Parent = Model0 | |
| 342 | Shirt4.ShirtTemplate = "http://www.roblox.com/asset/?id=28984380" | |
| 343 | Pants5.Name = "Blu1" | |
| 344 | Pants5.Parent = Model0 | |
| 345 | Pants5.PantsTemplate = "http://www.roblox.com/asset?id=28984542" | |
| 346 | Hat6.Name = "BluetoothEarPiece" | |
| 347 | Hat6.Parent = Model0 | |
| 348 | Hat6.AttachmentPoint = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 349 | Hat6.AttachmentPos = Vector3.new(0.629999995, 0.300000012, 0.100000001) | |
| 350 | Part7.Name = "Handle" | |
| 351 | Part7.Parent = Hat6 | |
| 352 | Part7.CFrame = CFrame.new(-9.94933319, 4.70001411, 26.9783211, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 353 | Part7.Orientation = Vector3.new(0, 90, 0) | |
| 354 | Part7.Position = Vector3.new(-9.94933319, 4.70001411, 26.9783211) | |
| 355 | Part7.Rotation = Vector3.new(0, 89.75, 0) | |
| 356 | Part7.Size = Vector3.new(1, 1, 1) | |
| 357 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
| 358 | Part7.CanCollide = false | |
| 359 | Part7.Locked = true | |
| 360 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
| 361 | Part7.FormFactor = Enum.FormFactor.Symmetric | |
| 362 | Part7.formFactor = Enum.FormFactor.Symmetric | |
| 363 | SpecialMesh8.Parent = Part7 | |
| 364 | SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=29760978" | |
| 365 | SpecialMesh8.TextureId = "http://www.roblox.com/asset/?id=29760984" | |
| 366 | SpecialMesh8.MeshType = Enum.MeshType.FileMesh | |
| 367 | Part9.Name = "Handle" | |
| 368 | Part9.Parent = Model0 | |
| 369 | Part9.CFrame = CFrame.new(-11.4307652, 3.60001421, 25.4828739, -0.996185005, -1.19094041e-08, -0.0871538073, -1.19531736e-08, 1, -1.86002654e-11, 0.0871538073, 1.02287268e-09, -0.996185005) | |
| 370 | Part9.Orientation = Vector3.new(0, -175, 0) | |
| 371 | Part9.Position = Vector3.new(-11.4307652, 3.60001421, 25.4828739) | |
| 372 | Part9.Rotation = Vector3.new(180, -5, 180) | |
| 373 | Part9.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 374 | Part9.Transparency = 1 | |
| 375 | Part9.Size = Vector3.new(2, 1, 1) | |
| 376 | Part9.BrickColor = BrickColor.new("Bright yellow")
| |
| 377 | Part9.CanCollide = false | |
| 378 | Part9.RightParamA = 0 | |
| 379 | Part9.RightParamB = 0 | |
| 380 | Part9.RightSurface = Enum.SurfaceType.Hinge | |
| 381 | Part9.brickColor = BrickColor.new("Bright yellow")
| |
| 382 | Part9.FormFactor = Enum.FormFactor.Symmetric | |
| 383 | Part9.formFactor = Enum.FormFactor.Symmetric | |
| 384 | Part10.Parent = Part9 | |
| 385 | Part10.CFrame = CFrame.new(-11.878005, 3.7200141, 25.7441254, -0.0871535167, -0.996185005, -1.10694902e-08, -1.08663223e-09, -1.19514834e-08, 1, -0.996185005, 0.087153621, -6.28105346e-11) | |
| 386 | Part10.Orientation = Vector3.new(-90, 95, 0) | |
| 387 | Part10.Position = Vector3.new(-11.878005, 3.7200141, 25.7441254) | |
| 388 | Part10.Rotation = Vector3.new(-90, 0, 95) | |
| 389 | Part10.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 390 | Part10.Size = Vector3.new(0.200000003, 0.799999595, 1) | |
| 391 | Part10.BackSurface = Enum.SurfaceType.Weld | |
| 392 | Part10.BottomSurface = Enum.SurfaceType.Weld | |
| 393 | Part10.BrickColor = BrickColor.new("Dark stone grey")
| |
| 394 | Part10.CanCollide = false | |
| 395 | Part10.FrontSurface = Enum.SurfaceType.Weld | |
| 396 | Part10.LeftSurface = Enum.SurfaceType.Weld | |
| 397 | Part10.RightSurface = Enum.SurfaceType.Weld | |
| 398 | Part10.TopSurface = Enum.SurfaceType.Weld | |
| 399 | Part10.brickColor = BrickColor.new("Dark stone grey")
| |
| 400 | Part10.FormFactor = Enum.FormFactor.Custom | |
| 401 | Part10.formFactor = Enum.FormFactor.Custom | |
| 402 | Weld11.Parent = Part10 | |
| 403 | Weld11.C0 = CFrame.new(28.2336063, 5.29926586, -3.78005195, 0.087155439, -1.06803189e-09, 0.99619472, 0.99619472, -1.19231904e-08, -0.0871555433, 1.10395817e-08, 1, 4.63730443e-11) | |
| 404 | Weld11.C1 = CFrame.new(5.76756954, -3.66005206, 28.0123272, 0.99619472, -1.19248806e-08, -0.087155737, 1.18795027e-08, 1, -1.03932174e-09, 0.087155737, 0, 0.99619472) | |
| 405 | Weld11.Part0 = Part10 | |
| 406 | Weld11.Part1 = Part9 | |
| 407 | Weld11.part1 = Part9 | |
| 408 | SpecialMesh12.Parent = Part10 | |
| 409 | SpecialMesh12.MeshId = "http://www.roblox.com/asset/?id=72012671" | |
| 410 | SpecialMesh12.Scale = Vector3.new(1, 1.29999995, 1.29999995) | |
| 411 | SpecialMesh12.VertexColor = Vector3.new(0.899999976, 0.899999976, 1) | |
| 412 | SpecialMesh12.TextureId = "http://www.roblox.com/asset/?id=168091402" | |
| 413 | SpecialMesh12.MeshType = Enum.MeshType.FileMesh | |
| 414 | Sound13.Name = "Fire" | |
| 415 | Sound13.Parent = Part9 | |
| 416 | Sound13.EmitterSize = 0 | |
| 417 | Sound13.MinDistance = 0 | |
| 418 | Sound13.SoundId = "http://roblox.com/asset/?id=10209859" | |
| 419 | Sound13.Volume = 1 | |
| 420 | Sound14.Name = "Reload" | |
| 421 | Sound14.Parent = Part9 | |
| 422 | Sound14.EmitterSize = 0 | |
| 423 | Sound14.MinDistance = 0 | |
| 424 | Sound14.SoundId = "http://www.roblox.com/asset/?id=2691591" | |
| 425 | Sound14.Volume = 1 | |
| 426 | Script15.Name = "Control" | |
| 427 | Script15.Parent = Model0 | |
| 428 | table.insert(cors,sandbox(Script15,function() | |
| 429 | wait(.1) | |
| 430 | local ammo=3 | |
| 431 | local w=.14 | |
| 432 | local r=false | |
| 433 | local t=script.Parent | |
| 434 | Spawn(function() | |
| 435 | local c=t:Clone() | |
| 436 | wait(1) | |
| 437 | t.Humanoid.Died:wait() | |
| 438 | wait(65) | |
| 439 | c.Parent=workspace | |
| 440 | c:MakeJoints() | |
| 441 | t:Destroy() | |
| 442 | end) | |
| 443 | local cf={CFrame.new(.8,.5,.4)*CFrame.Angles(math.rad(270),math.rad(40),0),CFrame.new(-1.2,0.5,0.4)*CFrame.Angles(math.rad(270),math.rad(-5),0)}
| |
| 444 | local c=LoadLibrary'RbxUtility'.Create | |
| 445 | local b1=c'Part'{TopSurface=0;BottomSurface=0;Anchored=true;CanCollide=false;BrickColor=BrickColor.new("Cool yellow");Size=Vector3.new(.2,.2,1);c'SpecialMesh'{MeshType=6;Scale=Vector3.new(.2,.2,1)}};Transparency=.5
| |
| 446 | local b2=b1:Clone() | |
| 447 | b1.Name,b2.Name='1','2' | |
| 448 | local mov=c'Part'{Transparency=1;CanCollide=false;Parent=t;Anchored=true}
| |
| 449 | local h=t:WaitForChild'Handle' | |
| 450 | local function reload(boo) | |
| 451 | if(boo and ammo~=30)or ammo==0 then | |
| 452 | r=true | |
| 453 | if w then | |
| 454 | w=.03 | |
| 455 | end | |
| 456 | h.Reload:Play() | |
| 457 | wait(3) | |
| 458 | ammo=30 | |
| 459 | if w then | |
| 460 | w=.14 | |
| 461 | end | |
| 462 | r=false | |
| 463 | elseif boo then | |
| 464 | wait(.1) | |
| 465 | end | |
| 466 | end | |
| 467 | local function near() | |
| 468 | local dis,pl=300,nil | |
| 469 | for _,v in ipairs(game.Players:GetPlayers())do | |
| 470 | if v.Character and v.Character:FindFirstChild'Humanoid'and v:DistanceFromCharacter(h.Position)<dis then | |
| 471 | dis,pl=v:DistanceFromCharacter(h.Position),v | |
| 472 | end | |
| 473 | end | |
| 474 | if pl then | |
| 475 | return pl.Character:GetModelCFrame(),dis,CFrame.new(pl.Character.Humanoid.WalkToPoint).lookVector | |
| 476 | else | |
| 477 | return nil | |
| 478 | end | |
| 479 | end | |
| 480 | Spawn(function() | |
| 481 | while true do | |
| 482 | t.Humanoid.Jump=true | |
| 483 | while not w do wait(.1)end | |
| 484 | for i=1,math.random(4,9)do | |
| 485 | wait(w) | |
| 486 | end | |
| 487 | end | |
| 488 | end) | |
| 489 | Spawn(function() | |
| 490 | while wait(math.random(2,7)/10)do | |
| 491 | local n=near() | |
| 492 | if n and math.random(1,3)==2 or not n then | |
| 493 | mov.CFrame=t.Torso.CFrame+t.Torso.CFrame.lookVector*Vector3.new(math.random(-25,25),0,math.random(-25,25)) | |
| 494 | else | |
| 495 | mov.CFrame=n+Vector3.new((math.random(1,2)==1 and 1 or -1)*math.random(25,50),0,(math.random(1,2)==1 and 1 or -1)*math.random(25,50)) | |
| 496 | end | |
| 497 | wait(.1) | |
| 498 | t.Humanoid:MoveTo(mov.Position,mov) | |
| 499 | end | |
| 500 | end) | |
| 501 | while true do | |
| 502 | local n,mag,hum=near() | |
| 503 | if n then | |
| 504 | n=n.p | |
| 505 | if not r then | |
| 506 | w=.14 | |
| 507 | local dir=h.Position-n | |
| 508 | local tst,_=workspace:FindPartOnRay(Ray.new(t.Torso.Position,(n-t.Torso.Position).Unit*999),t) | |
| 509 | local aim=n+Vector3.new(math.random(-mag*.015,mag*.015),math.random(-mag*.015,mag*.015),math.random(-mag*.015,mag*.015))*(2+math.random())+hum | |
| 510 | if tst and tst.Parent and game.Players:GetPlayerFromCharacter(tst.Parent)then | |
| 511 | wait(.08) | |
| 512 | h.Fire:Play() | |
| 513 | local par,pos=workspace:FindPartOnRay(Ray.new(h.Position,(aim-h.Position).Unit*999),t) | |
| 514 | if par then | |
| 515 | local h=par.Parent:FindFirstChild'Humanoid'or par.Parent.Parent:FindFirstChild'Humanoid' | |
| 516 | if h and h.Health-10>0 then | |
| 517 | h.Health=h.Health-10 | |
| 518 | elseif h then | |
| 519 | h.Health=0 | |
| 520 | h.Parent:BreakJoints() | |
| 521 | end | |
| 522 | end | |
| 523 | ammo=ammo-1 | |
| 524 | mag=(h.Position-pos).magnitude | |
| 525 | b1.Parent,b2.Parent=t,t | |
| 526 | b1.CFrame,b2.CFrame=CFrame.new(h.Position:Lerp(pos,.375),pos),CFrame.new(pos:Lerp(h.Position,.125),h.Position) | |
| 527 | b1.Mesh.Scale,b2.Mesh.Scale=Vector3.new(.2,.2,mag*.75),Vector3.new(.2,.2,mag/4) | |
| 528 | Delay(.03,function()b1.Parent=nil wait(.03)b2.Parent=nil end) | |
| 529 | end | |
| 530 | wait(.05) | |
| 531 | if ammo==0 then | |
| 532 | reload() | |
| 533 | end | |
| 534 | end | |
| 535 | else | |
| 536 | reload(true) | |
| 537 | w=false | |
| 538 | end | |
| 539 | end | |
| 540 | ||
| 541 | end)) | |
| 542 | Script16.Name = "Animate" | |
| 543 | Script16.Parent = Model0 | |
| 544 | table.insert(cors,sandbox(Script16,function() | |
| 545 | wait(5) | |
| 546 | function waitForChild(parent, childName) | |
| 547 | local child = parent:findFirstChild(childName) | |
| 548 | if child then return child end | |
| 549 | while true do | |
| 550 | child = parent.ChildAdded:wait() | |
| 551 | if child.Name==childName then return child end | |
| 552 | end | |
| 553 | end | |
| 554 | ||
| 555 | local Figure = script.Parent | |
| 556 | local Torso = waitForChild(Figure, "Torso") | |
| 557 | local RightHip = waitForChild(Torso, "Right Hip") | |
| 558 | local LeftHip = waitForChild(Torso, "Left Hip") | |
| 559 | local Neck = waitForChild(Torso, "Neck") | |
| 560 | local Humanoid = waitForChild(Figure, "Humanoid") | |
| 561 | local pose = "Standing" | |
| 562 | ||
| 563 | local currentAnim = "" | |
| 564 | local currentAnimTrack = nil | |
| 565 | local currentAnimKeyframeHandler = nil | |
| 566 | local oldAnimTrack = nil | |
| 567 | local animTable = {}
| |
| 568 | local animNames = {
| |
| 569 | idle = {
| |
| 570 | { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
| |
| 571 | { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
| |
| 572 | }, | |
| 573 | walk = {
| |
| 574 | { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
| |
| 575 | }, | |
| 576 | run = {
| |
| 577 | { id = "run.xml", weight = 10 }
| |
| 578 | }, | |
| 579 | jump = {
| |
| 580 | { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
| |
| 581 | }, | |
| 582 | fall = {
| |
| 583 | { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
| |
| 584 | }, | |
| 585 | climb = {
| |
| 586 | { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
| |
| 587 | }, | |
| 588 | toolnone = {
| |
| 589 | { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
| |
| 590 | }, | |
| 591 | toolslash = {
| |
| 592 | { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
| |
| 593 | -- { id = "slash.xml", weight = 10 }
| |
| 594 | }, | |
| 595 | toollunge = {
| |
| 596 | { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
| |
| 597 | }, | |
| 598 | wave = {
| |
| 599 | { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
| |
| 600 | }, | |
| 601 | point = {
| |
| 602 | { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
| |
| 603 | }, | |
| 604 | dance = {
| |
| 605 | { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
| |
| 606 | { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
| |
| 607 | { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
| |
| 608 | }, | |
| 609 | laugh = {
| |
| 610 | { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
| |
| 611 | }, | |
| 612 | cheer = {
| |
| 613 | { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
| |
| 614 | }, | |
| 615 | } | |
| 616 | ||
| 617 | -- Existance in this list signifies that it is an emote, the value indicates If it is a looping emote | |
| 618 | local emoteNames = { wave = false, point = false, dance = true, laugh = false, cheer = false}
| |
| 619 | ||
| 620 | math.randomseed(tick()) | |
| 621 | ||
| 622 | -- Setup animation objects | |
| 623 | for name, fileList in pairs(animNames) do | |
| 624 | animTable[name] = {}
| |
| 625 | animTable[name].count = 0 | |
| 626 | animTable[name].totalWeight = 0 | |
| 627 | ||
| 628 | -- check for config values | |
| 629 | local config = script:FindFirstChild(name) | |
| 630 | if (config ~= nil) then | |
| 631 | -- print("Loading anims " .. name)
| |
| 632 | local idx = 1 | |
| 633 | for _, childPart in pairs(config:GetChildren()) do | |
| 634 | animTable[name][idx] = {}
| |
| 635 | animTable[name][idx].anim = childPart | |
| 636 | local weightObject = childPart:FindFirstChild("Weight")
| |
| 637 | if (weightObject == nil) then | |
| 638 | animTable[name][idx].weight = 1 | |
| 639 | else | |
| 640 | animTable[name][idx].weight = weightObject.Value | |
| 641 | end | |
| 642 | animTable[name].count = animTable[name].count + 1 | |
| 643 | animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight | |
| 644 | -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
| |
| 645 | idx = idx + 1 | |
| 646 | end | |
| 647 | end | |
| 648 | ||
| 649 | -- fallback to defaults | |
| 650 | if (animTable[name].count <= 0) then | |
| 651 | for idx, anim in pairs(fileList) do | |
| 652 | animTable[name][idx] = {}
| |
| 653 | animTable[name][idx].anim = Instance.new("Animation")
| |
| 654 | animTable[name][idx].anim.Name = name | |
| 655 | animTable[name][idx].anim.AnimationId = anim.id | |
| 656 | animTable[name][idx].weight = anim.weight | |
| 657 | animTable[name].count = animTable[name].count + 1 | |
| 658 | animTable[name].totalWeight = animTable[name].totalWeight + anim.weight | |
| 659 | -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
| |
| 660 | end | |
| 661 | end | |
| 662 | end | |
| 663 | ||
| 664 | -- ANIMATION | |
| 665 | ||
| 666 | -- declarations | |
| 667 | local toolAnim = "None" | |
| 668 | local toolAnimTime = 0 | |
| 669 | ||
| 670 | local jumpAnimTime = 0 | |
| 671 | local jumpAnimDuration = 0.175 | |
| 672 | ||
| 673 | local toolTransitionTime = 0.1 | |
| 674 | local fallTransitionTime = 0.2 | |
| 675 | local jumpMaxLimbVelocity = 0.75 | |
| 676 | ||
| 677 | -- functions | |
| 678 | ||
| 679 | function stopAllAnimations() | |
| 680 | local oldAnim = currentAnim | |
| 681 | ||
| 682 | -- return to idle If finishing an emote | |
| 683 | if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then | |
| 684 | oldAnim = "idle" | |
| 685 | end | |
| 686 | ||
| 687 | currentAnim = "" | |
| 688 | if (currentAnimKeyframeHandler ~= nil) then | |
| 689 | currentAnimKeyframeHandler:disconnect() | |
| 690 | end | |
| 691 | ||
| 692 | if (oldAnimTrack ~= nil) then | |
| 693 | oldAnimTrack:Stop() | |
| 694 | oldAnimTrack:Destroy() | |
| 695 | oldAnimTrack = nil | |
| 696 | end | |
| 697 | if (currentAnimTrack ~= nil) then | |
| 698 | currentAnimTrack:Stop() | |
| 699 | currentAnimTrack:Destroy() | |
| 700 | currentAnimTrack = nil | |
| 701 | end | |
| 702 | return oldAnim | |
| 703 | end | |
| 704 | ||
| 705 | function keyFrameReachedFunc(frameName) | |
| 706 | if (frameName == "End") then | |
| 707 | -- print("Keyframe : ".. frameName)
| |
| 708 | local repeatAnim = stopAllAnimations() | |
| 709 | playAnimation(repeatAnim, 0.0, Humanoid) | |
| 710 | end | |
| 711 | end | |
| 712 | ||
| 713 | -- Preload animations | |
| 714 | function playAnimation(animName, transitionTime, humanoid) | |
| 715 | if (animName ~= currentAnim) then | |
| 716 | ||
| 717 | if (oldAnimTrack ~= nil) then | |
| 718 | oldAnimTrack:Stop() | |
| 719 | oldAnimTrack:Destroy() | |
| 720 | end | |
| 721 | ||
| 722 | local roll = math.random(1, animTable[animName].totalWeight) | |
| 723 | local origRoll = roll | |
| 724 | local idx = 1 | |
| 725 | while (roll > animTable[animName][idx].weight) do | |
| 726 | roll = roll - animTable[animName][idx].weight | |
| 727 | idx = idx + 1 | |
| 728 | end | |
| 729 | -- print(animName .. " " .. idx .. " [" .. origRoll .. "]") | |
| 730 | local anim = animTable[animName][idx].anim | |
| 731 | ||
| 732 | -- load it to the humanoid; get AnimationTrack | |
| 733 | oldAnimTrack = currentAnimTrack | |
| 734 | currentAnimTrack = humanoid:LoadAnimation(anim) | |
| 735 | ||
| 736 | -- play the animation | |
| 737 | currentAnimTrack:Play(transitionTime) | |
| 738 | currentAnim = animName | |
| 739 | ||
| 740 | -- set up keyframe name triggers | |
| 741 | if (currentAnimKeyframeHandler ~= nil) then | |
| 742 | currentAnimKeyframeHandler:disconnect() | |
| 743 | end | |
| 744 | currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc) | |
| 745 | end | |
| 746 | end | |
| 747 | ||
| 748 | ------------------------------------------------------------------------------------------- | |
| 749 | ------------------------------------------------------------------------------------------- | |
| 750 | ||
| 751 | local toolAnimName = "" | |
| 752 | local toolOldAnimTrack = nil | |
| 753 | local toolAnimTrack = nil | |
| 754 | local currentToolAnimKeyframeHandler = nil | |
| 755 | ||
| 756 | function toolKeyFrameReachedFunc(frameName) | |
| 757 | if (frameName == "End") then | |
| 758 | -- print("Keyframe : ".. frameName)
| |
| 759 | local repeatAnim = stopToolAnimations() | |
| 760 | playToolAnimation(repeatAnim, 0.0, Humanoid) | |
| 761 | end | |
| 762 | end | |
| 763 | ||
| 764 | ||
| 765 | function playToolAnimation(animName, transitionTime, humanoid) | |
| 766 | if (animName ~= toolAnimName) then | |
| 767 | ||
| 768 | if (toolAnimTrack ~= nil) then | |
| 769 | toolAnimTrack:Stop() | |
| 770 | toolAnimTrack:Destroy() | |
| 771 | transitionTime = 0 | |
| 772 | end | |
| 773 | ||
| 774 | local roll = math.random(1, animTable[animName].totalWeight) | |
| 775 | local origRoll = roll | |
| 776 | local idx = 1 | |
| 777 | while (roll > animTable[animName][idx].weight) do | |
| 778 | roll = roll - animTable[animName][idx].weight | |
| 779 | idx = idx + 1 | |
| 780 | end | |
| 781 | -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]") | |
| 782 | local anim = animTable[animName][idx].anim | |
| 783 | ||
| 784 | -- load it to the humanoid; get AnimationTrack | |
| 785 | toolOldAnimTrack = toolAnimTrack | |
| 786 | toolAnimTrack = humanoid:LoadAnimation(anim) | |
| 787 | ||
| 788 | -- play the animation | |
| 789 | toolAnimTrack:Play(transitionTime) | |
| 790 | toolAnimName = animName | |
| 791 | ||
| 792 | currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc) | |
| 793 | end | |
| 794 | end | |
| 795 | ||
| 796 | function stopToolAnimations() | |
| 797 | local oldAnim = toolAnimName | |
| 798 | ||
| 799 | if (currentToolAnimKeyframeHandler ~= nil) then | |
| 800 | currentToolAnimKeyframeHandler:disconnect() | |
| 801 | end | |
| 802 | ||
| 803 | toolAnimName = "" | |
| 804 | if (toolAnimTrack ~= nil) then | |
| 805 | toolAnimTrack:Stop() | |
| 806 | toolAnimTrack:Destroy() | |
| 807 | toolAnimTrack = nil | |
| 808 | end | |
| 809 | ||
| 810 | ||
| 811 | return oldAnim | |
| 812 | end | |
| 813 | ||
| 814 | ------------------------------------------------------------------------------------------- | |
| 815 | ------------------------------------------------------------------------------------------- | |
| 816 | ||
| 817 | ||
| 818 | function onRunning(speed) | |
| 819 | if speed>0 then | |
| 820 | playAnimation("walk", 0.1, Humanoid)
| |
| 821 | pose = "Running" | |
| 822 | else | |
| 823 | playAnimation("idle", 0.1, Humanoid)
| |
| 824 | pose = "Standing" | |
| 825 | end | |
| 826 | end | |
| 827 | ||
| 828 | function onDied() | |
| 829 | pose = "Dead" | |
| 830 | end | |
| 831 | ||
| 832 | function onJumping() | |
| 833 | playAnimation("jump", 0.1, Humanoid)
| |
| 834 | jumpAnimTime = jumpAnimDuration | |
| 835 | pose = "Jumping" | |
| 836 | end | |
| 837 | ||
| 838 | function onClimbing() | |
| 839 | playAnimation("climb", 0.1, Humanoid)
| |
| 840 | pose = "Climbing" | |
| 841 | end | |
| 842 | ||
| 843 | function onGettingUp() | |
| 844 | pose = "GettingUp" | |
| 845 | end | |
| 846 | ||
| 847 | function onFreeFall() | |
| 848 | if (jumpAnimTime <= 0) then | |
| 849 | playAnimation("fall", fallTransitionTime, Humanoid)
| |
| 850 | end | |
| 851 | pose = "FreeFall" | |
| 852 | end | |
| 853 | ||
| 854 | function onFallingDown() | |
| 855 | pose = "FallingDown" | |
| 856 | end | |
| 857 | ||
| 858 | function onSeated() | |
| 859 | pose = "Seated" | |
| 860 | end | |
| 861 | ||
| 862 | function onPlatformStanding() | |
| 863 | pose = "PlatformStanding" | |
| 864 | end | |
| 865 | ||
| 866 | function onSwimming(speed) | |
| 867 | if speed>0 then | |
| 868 | pose = "Running" | |
| 869 | else | |
| 870 | pose = "Standing" | |
| 871 | end | |
| 872 | end | |
| 873 | ||
| 874 | function getTool() | |
| 875 | for _, kid in ipairs(Figure:GetChildren()) do | |
| 876 | if kid.className == "Tool" then return kid end | |
| 877 | end | |
| 878 | return nil | |
| 879 | end | |
| 880 | ||
| 881 | function getToolAnim(tool) | |
| 882 | for _, c in ipairs(tool:GetChildren()) do | |
| 883 | if c.Name == "toolanim" and c.className == "StringValue" then | |
| 884 | return c | |
| 885 | end | |
| 886 | end | |
| 887 | return nil | |
| 888 | end | |
| 889 | ||
| 890 | function animateTool() | |
| 891 | ||
| 892 | if (toolAnim == "None") then | |
| 893 | playToolAnimation("toolnone", toolTransitionTime, Humanoid)
| |
| 894 | return | |
| 895 | end | |
| 896 | ||
| 897 | if (toolAnim == "Slash") then | |
| 898 | playToolAnimation("toolslash", 0, Humanoid)
| |
| 899 | return | |
| 900 | end | |
| 901 | ||
| 902 | if (toolAnim == "Lunge") then | |
| 903 | playToolAnimation("toollunge", 0, Humanoid)
| |
| 904 | return | |
| 905 | end | |
| 906 | end | |
| 907 | ||
| 908 | function moveSit() | |
| 909 | RightHip:SetDesiredAngle(3.14 /2) | |
| 910 | LeftHip:SetDesiredAngle(-3.14 /2) | |
| 911 | end | |
| 912 | ||
| 913 | local lastTick = 0 | |
| 914 | ||
| 915 | function move(time) | |
| 916 | local amplitude = 1 | |
| 917 | local frequency = 1 | |
| 918 | local deltaTime = time - lastTick | |
| 919 | lastTick = time | |
| 920 | ||
| 921 | local climbFudge = 0 | |
| 922 | local setAngles = false | |
| 923 | ||
| 924 | if (jumpAnimTime > 0) then | |
| 925 | jumpAnimTime = jumpAnimTime - deltaTime | |
| 926 | end | |
| 927 | ||
| 928 | if (pose == "FreeFall" and jumpAnimTime <= 0) then | |
| 929 | playAnimation("fall", fallTransitionTime, Humanoid)
| |
| 930 | elseif (pose == "Seated") then | |
| 931 | stopAllAnimations() | |
| 932 | moveSit() | |
| 933 | return | |
| 934 | elseif (pose == "Running") then | |
| 935 | playAnimation("walk", 0.1, Humanoid)
| |
| 936 | elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then | |
| 937 | -- print("Wha " .. pose)
| |
| 938 | amplitude = 0.1 | |
| 939 | frequency = 1 | |
| 940 | setAngles = true | |
| 941 | end | |
| 942 | ||
| 943 | if (setAngles) then | |
| 944 | desiredAngle = amplitude * math.sin(time * frequency) | |
| 945 | ||
| 946 | RightHip:SetDesiredAngle(-desiredAngle) | |
| 947 | LeftHip:SetDesiredAngle(-desiredAngle) | |
| 948 | end | |
| 949 | ||
| 950 | -- Tool Animation handling | |
| 951 | local tool = getTool() | |
| 952 | if tool then | |
| 953 | ||
| 954 | animStringValueObject = getToolAnim(tool) | |
| 955 | ||
| 956 | if animStringValueObject then | |
| 957 | toolAnim = animStringValueObject.Value | |
| 958 | -- message recieved, delete StringValue | |
| 959 | animStringValueObject.Parent = nil | |
| 960 | toolAnimTime = time + .3 | |
| 961 | end | |
| 962 | ||
| 963 | if time > toolAnimTime then | |
| 964 | toolAnimTime = 0 | |
| 965 | toolAnim = "None" | |
| 966 | end | |
| 967 | ||
| 968 | animateTool() | |
| 969 | else | |
| 970 | stopToolAnimations() | |
| 971 | toolAnim = "None" | |
| 972 | toolAnimTime = 0 | |
| 973 | end | |
| 974 | end | |
| 975 | ||
| 976 | -- connect events | |
| 977 | Humanoid.Died:connect(onDied) | |
| 978 | Humanoid.Running:connect(onRunning) | |
| 979 | Humanoid.Jumping:connect(onJumping) | |
| 980 | Humanoid.Climbing:connect(onClimbing) | |
| 981 | Humanoid.GettingUp:connect(onGettingUp) | |
| 982 | Humanoid.FreeFalling:connect(onFreeFall) | |
| 983 | Humanoid.FallingDown:connect(onFallingDown) | |
| 984 | Humanoid.Seated:connect(onSeated) | |
| 985 | Humanoid.PlatformStanding:connect(onPlatformStanding) | |
| 986 | Humanoid.Swimming:connect(onSwimming) | |
| 987 | -- main program | |
| 988 | ||
| 989 | local runService = game:service("RunService");
| |
| 990 | ||
| 991 | -- initialize to idle | |
| 992 | playAnimation("idle", 0.1, Humanoid)
| |
| 993 | pose = "Standing" | |
| 994 | ||
| 995 | while Figure.Parent~=nil do | |
| 996 | local _, time = wait(0.1) | |
| 997 | move(time) | |
| 998 | end | |
| 999 | ||
| 1000 | end)) | |
| 1001 | StringValue17.Name = "walk" | |
| 1002 | StringValue17.Parent = Script16 | |
| 1003 | Animation18.Name = "WalkAnim" | |
| 1004 | Animation18.Parent = StringValue17 | |
| 1005 | Animation18.AnimationId = "http://www.roblox.com/asset/?id=125749145" | |
| 1006 | StringValue19.Name = "toolnone" | |
| 1007 | StringValue19.Parent = Script16 | |
| 1008 | Animation20.Name = "ToolNoneAnim" | |
| 1009 | Animation20.Parent = StringValue19 | |
| 1010 | Animation20.AnimationId = "http://www.roblox.com/asset/?id=125750867" | |
| 1011 | StringValue21.Name = "run" | |
| 1012 | StringValue21.Parent = Script16 | |
| 1013 | Animation22.Name = "RunAnim" | |
| 1014 | Animation22.Parent = StringValue21 | |
| 1015 | Animation22.AnimationId = "http://www.roblox.com/asset/?id=125749145" | |
| 1016 | StringValue23.Name = "jump" | |
| 1017 | StringValue23.Parent = Script16 | |
| 1018 | Animation24.Name = "JumpAnim" | |
| 1019 | Animation24.Parent = StringValue23 | |
| 1020 | Animation24.AnimationId = "http://www.roblox.com/asset/?id=125750702" | |
| 1021 | StringValue25.Name = "idle" | |
| 1022 | StringValue25.Parent = Script16 | |
| 1023 | Animation26.Name = "Animation2" | |
| 1024 | Animation26.Parent = StringValue25 | |
| 1025 | Animation26.AnimationId = "http://www.roblox.com/asset/?id=125750618" | |
| 1026 | NumberValue27.Name = "Weight" | |
| 1027 | NumberValue27.Parent = Animation26 | |
| 1028 | NumberValue27.Value = 1 | |
| 1029 | Animation28.Name = "Animation1" | |
| 1030 | Animation28.Parent = StringValue25 | |
| 1031 | Animation28.AnimationId = "http://www.roblox.com/asset/?id=125750544" | |
| 1032 | NumberValue29.Name = "Weight" | |
| 1033 | NumberValue29.Parent = Animation28 | |
| 1034 | NumberValue29.Value = 9 | |
| 1035 | StringValue30.Name = "fall" | |
| 1036 | StringValue30.Parent = Script16 | |
| 1037 | Animation31.Name = "FallAnim" | |
| 1038 | Animation31.Parent = StringValue30 | |
| 1039 | Animation31.AnimationId = "http://www.roblox.com/asset/?id=125750759" | |
| 1040 | StringValue32.Name = "climb" | |
| 1041 | StringValue32.Parent = Script16 | |
| 1042 | Animation33.Name = "ClimbAnim" | |
| 1043 | Animation33.Parent = StringValue32 | |
| 1044 | Animation33.AnimationId = "http://www.roblox.com/asset/?id=125750800" | |
| 1045 | Part34.Name = "HumanoidRootPart" | |
| 1046 | Part34.Parent = Model0 | |
| 1047 | Part34.CFrame = CFrame.new(-9.84933376, 3.00001407, 26.3483276, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 1048 | Part34.Orientation = Vector3.new(0, 90, 0) | |
| 1049 | Part34.Position = Vector3.new(-9.84933376, 3.00001407, 26.3483276) | |
| 1050 | Part34.Rotation = Vector3.new(0, 89.75, 0) | |
| 1051 | Part34.Color = Color3.new(0.960784, 0.803922, 0.188235) | |
| 1052 | Part34.Transparency = 1 | |
| 1053 | Part34.Size = Vector3.new(2, 2, 1) | |
| 1054 | Part34.BottomSurface = Enum.SurfaceType.Smooth | |
| 1055 | Part34.BrickColor = BrickColor.new("Bright yellow")
| |
| 1056 | Part34.LeftParamA = 0 | |
| 1057 | Part34.LeftParamB = 0 | |
| 1058 | Part34.RightParamA = 0 | |
| 1059 | Part34.RightParamB = 0 | |
| 1060 | Part34.TopSurface = Enum.SurfaceType.Smooth | |
| 1061 | Part34.brickColor = BrickColor.new("Bright yellow")
| |
| 1062 | Part34.FormFactor = Enum.FormFactor.Symmetric | |
| 1063 | Part34.formFactor = Enum.FormFactor.Symmetric | |
| 1064 | Motor6D35.Name = "RootJoint" | |
| 1065 | Motor6D35.Parent = Part34 | |
| 1066 | Motor6D35.MaxVelocity = 0.10000000149012 | |
| 1067 | Motor6D35.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1068 | Motor6D35.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1069 | Motor6D35.Part0 = Part34 | |
| 1070 | Motor6D35.Part1 = Part45 | |
| 1071 | Motor6D35.part1 = Part45 | |
| 1072 | Humanoid36.Parent = Model0 | |
| 1073 | Humanoid36.JumpPower = 0 | |
| 1074 | Humanoid36.LeftLeg = Part40 | |
| 1075 | Humanoid36.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
| 1076 | Humanoid36.RightLeg = Part37 | |
| 1077 | Humanoid36.Torso = Part34 | |
| 1078 | Humanoid36.WalkSpeed = 8 | |
| 1079 | Part37.Name = "Right Leg" | |
| 1080 | Part37.Parent = Model0 | |
| 1081 | Part37.CFrame = CFrame.new(-9.84933281, 1.00001407, 25.8483334, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 1082 | Part37.Orientation = Vector3.new(0, 90, 0) | |
| 1083 | Part37.Position = Vector3.new(-9.84933281, 1.00001407, 25.8483334) | |
| 1084 | Part37.Rotation = Vector3.new(0, 89.75, 0) | |
| 1085 | Part37.Color = Color3.new(1, 0.8, 0.6) | |
| 1086 | Part37.Size = Vector3.new(1, 2, 1) | |
| 1087 | Part37.BottomSurface = Enum.SurfaceType.Smooth | |
| 1088 | Part37.BrickColor = BrickColor.new("Pastel brown")
| |
| 1089 | Part37.CanCollide = false | |
| 1090 | Part37.brickColor = BrickColor.new("Pastel brown")
| |
| 1091 | Part37.FormFactor = Enum.FormFactor.Symmetric | |
| 1092 | Part37.formFactor = Enum.FormFactor.Symmetric | |
| 1093 | ManualWeld38.Name = "Right Leg Terrain Joint" | |
| 1094 | ManualWeld38.Parent = Part37 | |
| 1095 | ManualWeld38.C1 = CFrame.new(48.1884766, -1.0000329, -34.9884872, -1.23466252e-17, 0, 1, 0, 1, 0, -1, 0, 1.23466252e-17) | |
| 1096 | ManualWeld38.Part1 = Part37 | |
| 1097 | ManualWeld38.part1 = Part37 | |
| 1098 | ManualWeld39.Name = "Right Leg Terrain Joint" | |
| 1099 | ManualWeld39.Parent = Part37 | |
| 1100 | ManualWeld39.C1 = CFrame.new(48.1884766, -1.0000329, -34.9884872, -1.23466252e-17, 0, 1, 0, 1, 0, -1, 0, 1.23466252e-17) | |
| 1101 | ManualWeld39.Part1 = Part37 | |
| 1102 | ManualWeld39.part1 = Part37 | |
| 1103 | Part40.Name = "Left Leg" | |
| 1104 | Part40.Parent = Model0 | |
| 1105 | Part40.CFrame = CFrame.new(-9.84933472, 1.00001407, 26.8483219, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 1106 | Part40.Orientation = Vector3.new(0, 90, 0) | |
| 1107 | Part40.Position = Vector3.new(-9.84933472, 1.00001407, 26.8483219) | |
| 1108 | Part40.Rotation = Vector3.new(0, 89.75, 0) | |
| 1109 | Part40.Color = Color3.new(1, 0.8, 0.6) | |
| 1110 | Part40.Size = Vector3.new(1, 2, 1) | |
| 1111 | Part40.BottomSurface = Enum.SurfaceType.Smooth | |
| 1112 | Part40.BrickColor = BrickColor.new("Pastel brown")
| |
| 1113 | Part40.CanCollide = false | |
| 1114 | Part40.brickColor = BrickColor.new("Pastel brown")
| |
| 1115 | Part40.FormFactor = Enum.FormFactor.Symmetric | |
| 1116 | Part40.formFactor = Enum.FormFactor.Symmetric | |
| 1117 | ManualWeld41.Name = "Left Leg Terrain Joint" | |
| 1118 | ManualWeld41.Parent = Part40 | |
| 1119 | ManualWeld41.C1 = CFrame.new(49.1884766, -1.0000329, -34.9884872, -1.23466252e-17, 0, 1, 0, 1, 0, -1, 0, 1.23466252e-17) | |
| 1120 | ManualWeld41.Part1 = Part40 | |
| 1121 | ManualWeld41.part1 = Part40 | |
| 1122 | Part42.Name = "Right Arm" | |
| 1123 | Part42.Parent = Model0 | |
| 1124 | Part42.CFrame = CFrame.new(-10.4520111, 3.40001416, 25.1964836, -0.0871538073, 0.996185005, 1.19094041e-08, -1.86002654e-11, 1.19531736e-08, -1, -0.996185005, -0.0871538073, -1.02287268e-09) | |
| 1125 | Part42.Orientation = Vector3.new(90, 95, 0) | |
| 1126 | Part42.Position = Vector3.new(-10.4520111, 3.40001416, 25.1964836) | |
| 1127 | Part42.Rotation = Vector3.new(90, 0, -95) | |
| 1128 | Part42.Color = Color3.new(1, 0.8, 0.6) | |
| 1129 | Part42.Size = Vector3.new(1, 2, 1) | |
| 1130 | Part42.BrickColor = BrickColor.new("Pastel brown")
| |
| 1131 | Part42.CanCollide = false | |
| 1132 | Part42.brickColor = BrickColor.new("Pastel brown")
| |
| 1133 | Part42.FormFactor = Enum.FormFactor.Symmetric | |
| 1134 | Part42.formFactor = Enum.FormFactor.Symmetric | |
| 1135 | Weld43.Name = "RightGrip" | |
| 1136 | Weld43.Parent = Part42 | |
| 1137 | Weld43.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0) | |
| 1138 | Weld43.C1 = CFrame.new(0, -0.200000003, 0.200000003, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1139 | Weld43.Part0 = Part42 | |
| 1140 | Weld43.Part1 = Part9 | |
| 1141 | Weld43.part1 = Part9 | |
| 1142 | Part44.Name = "Left Arm" | |
| 1143 | Part44.Parent = Model0 | |
| 1144 | Part44.CFrame = CFrame.new(-10.7465773, 3.40001416, 26.6397648, 0.642782032, 0.766036153, 9.16490794e-09, 6.85374327e-12, 1.1958039e-08, -1, -0.766036153, 0.642782032, 7.68152564e-09) | |
| 1145 | Part44.Orientation = Vector3.new(90, 50, 0) | |
| 1146 | Part44.Position = Vector3.new(-10.7465773, 3.40001416, 26.6397648) | |
| 1147 | Part44.Rotation = Vector3.new(90, 0, -50) | |
| 1148 | Part44.Color = Color3.new(1, 0.8, 0.6) | |
| 1149 | Part44.Size = Vector3.new(1, 2, 1) | |
| 1150 | Part44.BrickColor = BrickColor.new("Pastel brown")
| |
| 1151 | Part44.CanCollide = false | |
| 1152 | Part44.brickColor = BrickColor.new("Pastel brown")
| |
| 1153 | Part44.FormFactor = Enum.FormFactor.Symmetric | |
| 1154 | Part44.formFactor = Enum.FormFactor.Symmetric | |
| 1155 | Part45.Name = "Torso" | |
| 1156 | Part45.Parent = Model0 | |
| 1157 | Part45.CFrame = CFrame.new(-9.84933376, 3.00001407, 26.3483276, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 1158 | Part45.Orientation = Vector3.new(0, 90, 0) | |
| 1159 | Part45.Position = Vector3.new(-9.84933376, 3.00001407, 26.3483276) | |
| 1160 | Part45.Rotation = Vector3.new(0, 89.75, 0) | |
| 1161 | Part45.Color = Color3.new(1, 0.8, 0.6) | |
| 1162 | Part45.Size = Vector3.new(2, 2, 1) | |
| 1163 | Part45.BrickColor = BrickColor.new("Pastel brown")
| |
| 1164 | Part45.LeftParamA = 0 | |
| 1165 | Part45.LeftParamB = 0 | |
| 1166 | Part45.LeftSurface = Enum.SurfaceType.Weld | |
| 1167 | Part45.RightParamA = 0 | |
| 1168 | Part45.RightParamB = 0 | |
| 1169 | Part45.RightSurface = Enum.SurfaceType.Weld | |
| 1170 | Part45.brickColor = BrickColor.new("Pastel brown")
| |
| 1171 | Part45.FormFactor = Enum.FormFactor.Symmetric | |
| 1172 | Part45.formFactor = Enum.FormFactor.Symmetric | |
| 1173 | Weld46.Parent = Part45 | |
| 1174 | Weld46.C1 = CFrame.new(-1.20000005, 0.5, 0.400000006, 0.99619472, 0, -0.087155737, 0.087155737, 1.19248806e-08, 0.99619472, 1.03932174e-09, -1, 1.18795027e-08) | |
| 1175 | Weld46.Part0 = Part45 | |
| 1176 | Weld46.Part1 = Part42 | |
| 1177 | Weld46.part1 = Part42 | |
| 1178 | Weld47.Parent = Part45 | |
| 1179 | Weld47.C1 = CFrame.new(0.800000012, 0.5, 0.400000006, 0.766044438, 0, 0.642787576, -0.642787576, 1.19248806e-08, 0.766044438, -7.66516539e-09, -1, 9.13498877e-09) | |
| 1180 | Weld47.Part0 = Part45 | |
| 1181 | Weld47.Part1 = Part44 | |
| 1182 | Weld47.part1 = Part44 | |
| 1183 | Motor6D48.Name = "Neck" | |
| 1184 | Motor6D48.Parent = Part45 | |
| 1185 | Motor6D48.MaxVelocity = 0.10000000149012 | |
| 1186 | Motor6D48.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1187 | Motor6D48.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1188 | Motor6D48.Part0 = Part45 | |
| 1189 | Motor6D48.Part1 = Part51 | |
| 1190 | Motor6D48.part1 = Part51 | |
| 1191 | Motor6D49.Name = "Left Hip" | |
| 1192 | Motor6D49.Parent = Part45 | |
| 1193 | Motor6D49.MaxVelocity = 0.10000000149012 | |
| 1194 | Motor6D49.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1195 | Motor6D49.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1196 | Motor6D49.Part0 = Part45 | |
| 1197 | Motor6D49.Part1 = Part40 | |
| 1198 | Motor6D49.part1 = Part40 | |
| 1199 | Motor6D50.Name = "Right Hip" | |
| 1200 | Motor6D50.Parent = Part45 | |
| 1201 | Motor6D50.MaxVelocity = 0.10000000149012 | |
| 1202 | Motor6D50.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1203 | Motor6D50.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1204 | Motor6D50.Part0 = Part45 | |
| 1205 | Motor6D50.Part1 = Part37 | |
| 1206 | Motor6D50.part1 = Part37 | |
| 1207 | Part51.Name = "Head" | |
| 1208 | Part51.Parent = Model0 | |
| 1209 | Part51.CFrame = CFrame.new(-9.84933376, 4.50001431, 26.3483276, 1.07288361e-06, -3.00177661e-11, 0.999990106, -1.60635949e-11, 1, 2.98063796e-11, -0.999990106, -1.64259717e-11, 1.07288361e-06) | |
| 1210 | Part51.Orientation = Vector3.new(0, 90, 0) | |
| 1211 | Part51.Position = Vector3.new(-9.84933376, 4.50001431, 26.3483276) | |
| 1212 | Part51.Rotation = Vector3.new(0, 89.75, 0) | |
| 1213 | Part51.Color = Color3.new(1, 0.8, 0.6) | |
| 1214 | Part51.Size = Vector3.new(2, 1, 1) | |
| 1215 | Part51.BrickColor = BrickColor.new("Pastel brown")
| |
| 1216 | Part51.TopSurface = Enum.SurfaceType.Smooth | |
| 1217 | Part51.brickColor = BrickColor.new("Pastel brown")
| |
| 1218 | Part51.FormFactor = Enum.FormFactor.Symmetric | |
| 1219 | Part51.formFactor = Enum.FormFactor.Symmetric | |
| 1220 | Weld52.Name = "HeadWeld" | |
| 1221 | Weld52.Parent = Part51 | |
| 1222 | Weld52.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1223 | Weld52.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1224 | Weld52.Part0 = Part51 | |
| 1225 | Weld52.Part1 = Part7 | |
| 1226 | Weld52.part1 = Part7 | |
| 1227 | Weld53.Name = "HeadWeld" | |
| 1228 | Weld53.Parent = Part51 | |
| 1229 | Weld53.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1230 | Weld53.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1231 | Weld53.Part0 = Part51 | |
| 1232 | Weld53.Part1 = Part7 | |
| 1233 | Weld53.part1 = Part7 | |
| 1234 | SpecialMesh54.Parent = Part51 | |
| 1235 | SpecialMesh54.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1236 | Weld55.Name = "HeadWeld" | |
| 1237 | Weld55.Parent = Part51 | |
| 1238 | Weld55.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1239 | Weld55.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1240 | Weld55.Part0 = Part51 | |
| 1241 | Weld55.Part1 = Part7 | |
| 1242 | Weld55.part1 = Part7 | |
| 1243 | Weld56.Name = "HeadWeld" | |
| 1244 | Weld56.Parent = Part51 | |
| 1245 | Weld56.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1246 | Weld56.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1247 | Weld56.Part0 = Part51 | |
| 1248 | Weld56.Part1 = Part7 | |
| 1249 | Weld56.part1 = Part7 | |
| 1250 | Weld57.Name = "HeadWeld" | |
| 1251 | Weld57.Parent = Part51 | |
| 1252 | Weld57.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1253 | Weld57.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1254 | Weld57.Part0 = Part51 | |
| 1255 | Weld57.Part1 = Part7 | |
| 1256 | Weld57.part1 = Part7 | |
| 1257 | Weld58.Name = "HeadWeld" | |
| 1258 | Weld58.Parent = Part51 | |
| 1259 | Weld58.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1260 | Weld58.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1261 | Weld58.Part0 = Part51 | |
| 1262 | Weld58.Part1 = Part7 | |
| 1263 | Weld58.part1 = Part7 | |
| 1264 | Weld59.Name = "HeadWeld" | |
| 1265 | Weld59.Parent = Part51 | |
| 1266 | Weld59.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1267 | Weld59.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1268 | Weld59.Part0 = Part51 | |
| 1269 | Weld59.Part1 = Part7 | |
| 1270 | Weld59.part1 = Part7 | |
| 1271 | Weld60.Name = "HeadWeld" | |
| 1272 | Weld60.Parent = Part51 | |
| 1273 | Weld60.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1274 | Weld60.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1275 | Weld60.Part0 = Part51 | |
| 1276 | Weld60.Part1 = Part7 | |
| 1277 | Weld60.part1 = Part7 | |
| 1278 | Weld61.Name = "HeadWeld" | |
| 1279 | Weld61.Parent = Part51 | |
| 1280 | Weld61.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1281 | Weld61.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1282 | Weld61.Part0 = Part51 | |
| 1283 | Weld61.Part1 = Part7 | |
| 1284 | Weld61.part1 = Part7 | |
| 1285 | Weld62.Name = "HeadWeld" | |
| 1286 | Weld62.Parent = Part51 | |
| 1287 | Weld62.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1288 | Weld62.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1289 | Weld62.Part0 = Part51 | |
| 1290 | Weld62.Part1 = Part7 | |
| 1291 | Weld62.part1 = Part7 | |
| 1292 | Weld63.Name = "HeadWeld" | |
| 1293 | Weld63.Parent = Part51 | |
| 1294 | Weld63.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1295 | Weld63.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1296 | Weld63.Part0 = Part51 | |
| 1297 | Weld63.Part1 = Part7 | |
| 1298 | Weld63.part1 = Part7 | |
| 1299 | Weld64.Name = "HeadWeld" | |
| 1300 | Weld64.Parent = Part51 | |
| 1301 | Weld64.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1302 | Weld64.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1303 | Weld64.Part0 = Part51 | |
| 1304 | Weld64.Part1 = Part7 | |
| 1305 | Weld64.part1 = Part7 | |
| 1306 | Weld65.Name = "HeadWeld" | |
| 1307 | Weld65.Parent = Part51 | |
| 1308 | Weld65.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1309 | Weld65.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1310 | Weld65.Part0 = Part51 | |
| 1311 | Weld65.Part1 = Part7 | |
| 1312 | Weld65.part1 = Part7 | |
| 1313 | Weld66.Name = "HeadWeld" | |
| 1314 | Weld66.Parent = Part51 | |
| 1315 | Weld66.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1316 | Weld66.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1317 | Weld66.Part0 = Part51 | |
| 1318 | Weld66.Part1 = Part7 | |
| 1319 | Weld66.part1 = Part7 | |
| 1320 | Weld67.Name = "HeadWeld" | |
| 1321 | Weld67.Parent = Part51 | |
| 1322 | Weld67.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1323 | Weld67.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1324 | Weld67.Part0 = Part51 | |
| 1325 | Weld67.Part1 = Part7 | |
| 1326 | Weld67.part1 = Part7 | |
| 1327 | Weld68.Name = "HeadWeld" | |
| 1328 | Weld68.Parent = Part51 | |
| 1329 | Weld68.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1330 | Weld68.C1 = CFrame.new(0.629999995, 0.300000012, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1331 | Weld68.Part0 = Part51 | |
| 1332 | Weld68.Part1 = Part7 | |
| 1333 | Weld68.part1 = Part7 | |
| 1334 | Decal69.Parent = Part51 | |
| 1335 | Decal69.Texture = "http://www.roblox.com/asset/?id=383101611" | |
| 1336 | for i,v in pairs(mas:GetChildren()) do | |
| 1337 | v.Parent = workspace | |
| 1338 | pcall(function() v:MakeJoints() end) | |
| 1339 | end | |
| 1340 | mas:Destroy() | |
| 1341 | for i,v in pairs(cors) do | |
| 1342 | spawn(function() | |
| 1343 | pcall(v) | |
| 1344 | end) | |
| 1345 | end |