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")
- Model1 = Instance.new("Model")
- Humanoid2 = Instance.new("Humanoid")
- Script3 = Instance.new("Script")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Part6 = Instance.new("Part")
- SpecialMesh7 = Instance.new("SpecialMesh")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- SpecialMesh13 = Instance.new("SpecialMesh")
- Decal14 = Instance.new("Decal")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- CharacterMesh18 = Instance.new("CharacterMesh")
- CharacterMesh19 = Instance.new("CharacterMesh")
- CharacterMesh20 = Instance.new("CharacterMesh")
- CharacterMesh21 = Instance.new("CharacterMesh")
- CharacterMesh22 = Instance.new("CharacterMesh")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Camera25 = Instance.new("Camera")
- Model26 = Instance.new("Model")
- Humanoid27 = Instance.new("Humanoid")
- Script28 = Instance.new("Script")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- SpecialMesh32 = Instance.new("SpecialMesh")
- Decal33 = Instance.new("Decal")
- Decal34 = Instance.new("Decal")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Decal39 = Instance.new("Decal")
- Part40 = Instance.new("Part")
- Part41 = Instance.new("Part")
- Part42 = Instance.new("Part")
- CharacterMesh43 = Instance.new("CharacterMesh")
- CharacterMesh44 = Instance.new("CharacterMesh")
- CharacterMesh45 = Instance.new("CharacterMesh")
- CharacterMesh46 = Instance.new("CharacterMesh")
- CharacterMesh47 = Instance.new("CharacterMesh")
- Part48 = Instance.new("Part")
- SpecialMesh49 = Instance.new("SpecialMesh")
- Camera50 = Instance.new("Camera")
- Model51 = Instance.new("Model")
- Humanoid52 = Instance.new("Humanoid")
- Script53 = Instance.new("Script")
- Part54 = Instance.new("Part")
- SpecialMesh55 = Instance.new("SpecialMesh")
- Part56 = Instance.new("Part")
- SpecialMesh57 = Instance.new("SpecialMesh")
- Decal58 = Instance.new("Decal")
- Decal59 = Instance.new("Decal")
- Part60 = Instance.new("Part")
- Part61 = Instance.new("Part")
- Part62 = Instance.new("Part")
- SpecialMesh63 = Instance.new("SpecialMesh")
- Decal64 = Instance.new("Decal")
- Part65 = Instance.new("Part")
- Part66 = Instance.new("Part")
- Part67 = Instance.new("Part")
- CharacterMesh68 = Instance.new("CharacterMesh")
- CharacterMesh69 = Instance.new("CharacterMesh")
- CharacterMesh70 = Instance.new("CharacterMesh")
- CharacterMesh71 = Instance.new("CharacterMesh")
- CharacterMesh72 = Instance.new("CharacterMesh")
- Part73 = Instance.new("Part")
- SpecialMesh74 = Instance.new("SpecialMesh")
- Camera75 = Instance.new("Camera")
- Model76 = Instance.new("Model")
- Humanoid77 = Instance.new("Humanoid")
- Script78 = Instance.new("Script")
- Part79 = Instance.new("Part")
- SpecialMesh80 = Instance.new("SpecialMesh")
- Part81 = Instance.new("Part")
- SpecialMesh82 = Instance.new("SpecialMesh")
- Decal83 = Instance.new("Decal")
- Decal84 = Instance.new("Decal")
- Part85 = Instance.new("Part")
- Part86 = Instance.new("Part")
- Part87 = Instance.new("Part")
- SpecialMesh88 = Instance.new("SpecialMesh")
- Decal89 = Instance.new("Decal")
- Part90 = Instance.new("Part")
- Part91 = Instance.new("Part")
- Part92 = Instance.new("Part")
- CharacterMesh93 = Instance.new("CharacterMesh")
- CharacterMesh94 = Instance.new("CharacterMesh")
- CharacterMesh95 = Instance.new("CharacterMesh")
- CharacterMesh96 = Instance.new("CharacterMesh")
- CharacterMesh97 = Instance.new("CharacterMesh")
- Part98 = Instance.new("Part")
- SpecialMesh99 = Instance.new("SpecialMesh")
- Camera100 = Instance.new("Camera")
- Model101 = Instance.new("Model")
- Humanoid102 = Instance.new("Humanoid")
- Script103 = Instance.new("Script")
- Part104 = Instance.new("Part")
- SpecialMesh105 = Instance.new("SpecialMesh")
- Part106 = Instance.new("Part")
- SpecialMesh107 = Instance.new("SpecialMesh")
- Decal108 = Instance.new("Decal")
- Decal109 = Instance.new("Decal")
- Part110 = Instance.new("Part")
- Part111 = Instance.new("Part")
- Part112 = Instance.new("Part")
- SpecialMesh113 = Instance.new("SpecialMesh")
- Decal114 = Instance.new("Decal")
- Part115 = Instance.new("Part")
- Part116 = Instance.new("Part")
- Part117 = Instance.new("Part")
- CharacterMesh118 = Instance.new("CharacterMesh")
- CharacterMesh119 = Instance.new("CharacterMesh")
- CharacterMesh120 = Instance.new("CharacterMesh")
- CharacterMesh121 = Instance.new("CharacterMesh")
- CharacterMesh122 = Instance.new("CharacterMesh")
- Part123 = Instance.new("Part")
- SpecialMesh124 = Instance.new("SpecialMesh")
- Camera125 = Instance.new("Camera")
- Model126 = Instance.new("Model")
- Humanoid127 = Instance.new("Humanoid")
- Script128 = Instance.new("Script")
- Part129 = Instance.new("Part")
- SpecialMesh130 = Instance.new("SpecialMesh")
- Part131 = Instance.new("Part")
- SpecialMesh132 = Instance.new("SpecialMesh")
- Decal133 = Instance.new("Decal")
- Decal134 = Instance.new("Decal")
- Part135 = Instance.new("Part")
- Part136 = Instance.new("Part")
- Part137 = Instance.new("Part")
- SpecialMesh138 = Instance.new("SpecialMesh")
- Decal139 = Instance.new("Decal")
- Part140 = Instance.new("Part")
- Part141 = Instance.new("Part")
- Part142 = Instance.new("Part")
- CharacterMesh143 = Instance.new("CharacterMesh")
- CharacterMesh144 = Instance.new("CharacterMesh")
- CharacterMesh145 = Instance.new("CharacterMesh")
- CharacterMesh146 = Instance.new("CharacterMesh")
- CharacterMesh147 = Instance.new("CharacterMesh")
- Part148 = Instance.new("Part")
- SpecialMesh149 = Instance.new("SpecialMesh")
- Camera150 = Instance.new("Camera")
- Model151 = Instance.new("Model")
- Humanoid152 = Instance.new("Humanoid")
- Script153 = Instance.new("Script")
- Part154 = Instance.new("Part")
- SpecialMesh155 = Instance.new("SpecialMesh")
- Part156 = Instance.new("Part")
- SpecialMesh157 = Instance.new("SpecialMesh")
- Decal158 = Instance.new("Decal")
- Decal159 = Instance.new("Decal")
- Part160 = Instance.new("Part")
- Part161 = Instance.new("Part")
- Part162 = Instance.new("Part")
- SpecialMesh163 = Instance.new("SpecialMesh")
- Decal164 = Instance.new("Decal")
- Part165 = Instance.new("Part")
- Part166 = Instance.new("Part")
- Part167 = Instance.new("Part")
- CharacterMesh168 = Instance.new("CharacterMesh")
- CharacterMesh169 = Instance.new("CharacterMesh")
- CharacterMesh170 = Instance.new("CharacterMesh")
- CharacterMesh171 = Instance.new("CharacterMesh")
- CharacterMesh172 = Instance.new("CharacterMesh")
- Part173 = Instance.new("Part")
- SpecialMesh174 = Instance.new("SpecialMesh")
- Camera175 = Instance.new("Camera")
- Model176 = Instance.new("Model")
- Humanoid177 = Instance.new("Humanoid")
- Script178 = Instance.new("Script")
- Part179 = Instance.new("Part")
- SpecialMesh180 = Instance.new("SpecialMesh")
- Part181 = Instance.new("Part")
- SpecialMesh182 = Instance.new("SpecialMesh")
- Decal183 = Instance.new("Decal")
- Decal184 = Instance.new("Decal")
- Part185 = Instance.new("Part")
- Part186 = Instance.new("Part")
- Part187 = Instance.new("Part")
- SpecialMesh188 = Instance.new("SpecialMesh")
- Decal189 = Instance.new("Decal")
- Part190 = Instance.new("Part")
- Part191 = Instance.new("Part")
- Part192 = Instance.new("Part")
- CharacterMesh193 = Instance.new("CharacterMesh")
- CharacterMesh194 = Instance.new("CharacterMesh")
- CharacterMesh195 = Instance.new("CharacterMesh")
- CharacterMesh196 = Instance.new("CharacterMesh")
- CharacterMesh197 = Instance.new("CharacterMesh")
- Part198 = Instance.new("Part")
- SpecialMesh199 = Instance.new("SpecialMesh")
- Camera200 = Instance.new("Camera")
- Model0.Parent = mas
- Model1.Name = "Weeping Angel 1.0"
- Model1.Parent = Model0
- Humanoid2.Parent = Model1
- Humanoid2.LeftLeg = Part11
- Humanoid2.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid2.RightLeg = Part17
- Humanoid2.Torso = Part16
- Script3.Parent = Model1
- table.insert(cors,sandbox(Script3,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part4.Name = "Hat"
- Part4.Parent = Model1
- Part4.CFrame = CFrame.new(-2.80363226, 4.10048676, -13.1003275, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part4.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part4.Position = Vector3.new(-2.80363226, 4.10048676, -13.1003275)
- Part4.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part4.Size = Vector3.new(2, 1, 1)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh5.Parent = Part4
- SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh5.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh5.MeshType = Enum.MeshType.FileMesh
- Part6.Name = "_head"
- Part6.Parent = Model1
- Part6.CFrame = CFrame.new(-2.80329061, 4.50058746, -11.50037, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part6.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part6.Position = Vector3.new(-2.80329061, 4.50058746, -11.50037)
- Part6.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part6.Size = Vector3.new(2, 1, 1)
- Part6.Anchored = true
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh7.Parent = Part6
- SpecialMesh7.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal8.Name = "face"
- Decal8.Parent = Part6
- Decal8.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal8.Transparency = 0.5
- Decal9.Parent = Part6
- Decal9.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part10.Name = "Left Arm"
- Part10.Parent = Model1
- Part10.CFrame = CFrame.new(-2.00328231, 4.00061893, -11.0004511, -0.900972009, 0.423176616, 0.095792748, -0.374365687, -0.646594286, -0.664658964, -0.219328463, -0.634698987, 0.740984142)
- Part10.Orientation = Vector3.new(41.6599998, 7.36999989, -149.929993)
- Part10.Position = Vector3.new(-2.00328231, 4.00061893, -11.0004511)
- Part10.Rotation = Vector3.new(41.8899994, 5.5, -154.839996)
- Part10.Size = Vector3.new(1, 2, 1)
- Part10.Anchored = true
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Part11.Name = "Left Leg"
- Part11.Parent = Model1
- Part11.CFrame = CFrame.new(-2.30377865, 1.00064492, -11.4999743, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part11.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part11.Position = Vector3.new(-2.30377865, 1.00064492, -11.4999743)
- Part11.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part11.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part11.Size = Vector3.new(1, 2, 1)
- Part11.Anchored = true
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.BrickColor = BrickColor.new("Mid gray")
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Mid gray")
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.formFactor = Enum.FormFactor.Symmetric
- Part12.Name = "Head"
- Part12.Parent = Model1
- Part12.CFrame = CFrame.new(-2.80329061, 4.50058746, -11.50037, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part12.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part12.Position = Vector3.new(-2.80329061, 4.50058746, -11.50037)
- Part12.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part12.Transparency = 1
- Part12.Size = Vector3.new(2, 1, 1)
- Part12.Anchored = true
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh13.Parent = Part12
- SpecialMesh13.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh13.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh13.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh13.MeshType = Enum.MeshType.FileMesh
- Decal14.Parent = Part12
- Decal14.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal14.Face = Enum.NormalId.Right
- Part15.Name = "Right Arm"
- Part15.Parent = Model1
- Part15.CFrame = CFrame.new(-3.60329342, 4.00086212, -11.0001469, -0.660276771, -0.707259476, 0.252634406, 0.393523455, -0.612321377, -0.685716569, 0.639671206, -0.353344232, 0.68262279)
- Part15.Orientation = Vector3.new(43.2900009, 20.3099995, 147.270004)
- Part15.Position = Vector3.new(-3.60329342, 4.00086212, -11.0001469)
- Part15.Rotation = Vector3.new(45.1299973, 14.6300001, 133.029999)
- Part15.Size = Vector3.new(1, 2, 1)
- Part15.Anchored = true
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.formFactor = Enum.FormFactor.Symmetric
- Part16.Name = "Torso"
- Part16.Parent = Model1
- Part16.CFrame = CFrame.new(-2.80350494, 3.00066853, -11.5001631, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part16.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part16.Position = Vector3.new(-2.80350494, 3.00066853, -11.5001631)
- Part16.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part16.Size = Vector3.new(2, 2, 1)
- Part16.Anchored = true
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.formFactor = Enum.FormFactor.Symmetric
- Part17.Name = "Right Leg"
- Part17.Parent = Model1
- Part17.CFrame = CFrame.new(-3.303792, 1.00079751, -11.4997988, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part17.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part17.Position = Vector3.new(-3.303792, 1.00079751, -11.4997988)
- Part17.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh18.Name = "Ghost Torso"
- CharacterMesh18.Parent = Model1
- CharacterMesh18.BodyPart = Enum.BodyPart.Torso
- CharacterMesh18.MeshId = 129908715
- CharacterMesh18.OverlayTextureId = 165348526
- CharacterMesh19.Name = "Ghost Right Leg"
- CharacterMesh19.Parent = Model1
- CharacterMesh19.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh19.MeshId = 129908850
- CharacterMesh19.OverlayTextureId = 165348526
- CharacterMesh20.Name = "Ghost Left Leg"
- CharacterMesh20.Parent = Model1
- CharacterMesh20.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh20.MeshId = 129908791
- CharacterMesh20.OverlayTextureId = 165348526
- CharacterMesh21.Name = "Spider-Man Left Arm"
- CharacterMesh21.Parent = Model1
- CharacterMesh21.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh21.MeshId = 151353416
- CharacterMesh21.OverlayTextureId = 165348068
- CharacterMesh22.Name = "Spider-Man Right Arm"
- CharacterMesh22.Parent = Model1
- CharacterMesh22.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh22.MeshId = 151353456
- CharacterMesh22.OverlayTextureId = 165348068
- Part23.Name = "kipy"
- Part23.Parent = Model1
- Part23.CFrame = CFrame.new(-2.80328178, 4.79058933, -11.5303946, -1.0000025, 0.00015244438, -0.000182426287, 0.000152468929, 1.0000025, -0.000134679489, 0.000182405114, -0.000134707283, -1.00000262)
- Part23.Orientation = Vector3.new(0.00999999978, -179.98999, 0.00999999978)
- Part23.Position = Vector3.new(-2.80328178, 4.79058933, -11.5303946)
- Part23.Rotation = Vector3.new(179.98999, -0.00999999978, -179.98999)
- Part23.Size = Vector3.new(2, 1, 1)
- Part23.Anchored = true
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh24.Parent = Part23
- SpecialMesh24.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh24.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh24.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh24.MeshType = Enum.MeshType.FileMesh
- Camera25.Name = "ThumbnailCamera"
- Camera25.Parent = Model1
- Camera25.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera25.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera25.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera25.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model26.Name = "Weeping Angel 1.0"
- Model26.Parent = Model0
- Humanoid27.Parent = Model26
- Humanoid27.LeftLeg = Part36
- Humanoid27.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid27.RightLeg = Part42
- Humanoid27.Torso = Part41
- Script28.Parent = Model26
- table.insert(cors,sandbox(Script28,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part29.Name = "Hat"
- Part29.Parent = Model26
- Part29.CFrame = CFrame.new(-11.6001167, 4.10189342, 4.10122108, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part29.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part29.Position = Vector3.new(-11.6001167, 4.10189342, 4.10122108)
- Part29.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part29.Size = Vector3.new(2, 1, 1)
- Part29.Anchored = true
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh30.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh30.MeshType = Enum.MeshType.FileMesh
- Part31.Name = "_head"
- Part31.Parent = Model26
- Part31.CFrame = CFrame.new(-11.5999908, 4.50249195, 5.70107365, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part31.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part31.Position = Vector3.new(-11.5999908, 4.50249195, 5.70107365)
- Part31.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part31.Size = Vector3.new(2, 1, 1)
- Part31.Anchored = true
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh32.Parent = Part31
- SpecialMesh32.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal33.Name = "face"
- Decal33.Parent = Part31
- Decal33.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal33.Transparency = 0.5
- Decal34.Parent = Part31
- Decal34.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part35.Name = "Left Arm"
- Part35.Parent = Model26
- Part35.CFrame = CFrame.new(-10.7999954, 4.00265169, 6.20124531, -0.900960267, 0.423224449, 0.0956924856, -0.374408334, -0.646812201, -0.66442281, -0.219304338, -0.634444952, 0.741208851)
- Part35.Orientation = Vector3.new(41.6399994, 7.35999966, -149.940002)
- Part35.Position = Vector3.new(-10.7999954, 4.00265169, 6.20124531)
- Part35.Rotation = Vector3.new(41.8699989, 5.48999977, -154.839996)
- Part35.Size = Vector3.new(1, 2, 1)
- Part35.Anchored = true
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.FormFactor = Enum.FormFactor.Symmetric
- Part35.formFactor = Enum.FormFactor.Symmetric
- Part36.Name = "Left Leg"
- Part36.Parent = Model26
- Part36.CFrame = CFrame.new(-11.1004829, 1.00244355, 5.70266724, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part36.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part36.Position = Vector3.new(-11.1004829, 1.00244355, 5.70266724)
- Part36.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part36.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part36.Size = Vector3.new(1, 2, 1)
- Part36.Anchored = true
- Part36.BottomSurface = Enum.SurfaceType.Smooth
- Part36.BrickColor = BrickColor.new("Mid gray")
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.brickColor = BrickColor.new("Mid gray")
- Part36.FormFactor = Enum.FormFactor.Symmetric
- Part36.formFactor = Enum.FormFactor.Symmetric
- Part37.Name = "Head"
- Part37.Parent = Model26
- Part37.CFrame = CFrame.new(-11.5999908, 4.50249195, 5.70107365, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part37.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part37.Position = Vector3.new(-11.5999908, 4.50249195, 5.70107365)
- Part37.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part37.Transparency = 1
- Part37.Size = Vector3.new(2, 1, 1)
- Part37.Anchored = true
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.FormFactor = Enum.FormFactor.Symmetric
- Part37.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh38.Parent = Part37
- SpecialMesh38.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh38.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh38.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh38.MeshType = Enum.MeshType.FileMesh
- Decal39.Parent = Part37
- Decal39.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal39.Face = Enum.NormalId.Right
- Part40.Name = "Right Arm"
- Part40.Parent = Model26
- Part40.CFrame = CFrame.new(-12.4000473, 4.00293922, 6.20135403, -0.660340607, -0.707232952, 0.252541542, 0.39374271, -0.612418532, -0.68550384, 0.639470279, -0.353228658, 0.682870805)
- Part40.Orientation = Vector3.new(43.2799988, 20.2999992, 147.259995)
- Part40.Position = Vector3.new(-12.4000473, 4.00293922, 6.20135403)
- Part40.Rotation = Vector3.new(45.1100006, 14.6300001, 133.039993)
- Part40.Size = Vector3.new(1, 2, 1)
- Part40.Anchored = true
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.FormFactor = Enum.FormFactor.Symmetric
- Part40.formFactor = Enum.FormFactor.Symmetric
- Part41.Name = "Torso"
- Part41.Parent = Model26
- Part41.CFrame = CFrame.new(-11.6002121, 3.00253582, 5.70176506, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part41.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part41.Position = Vector3.new(-11.6002121, 3.00253582, 5.70176506)
- Part41.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part41.Size = Vector3.new(2, 2, 1)
- Part41.Anchored = true
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.FormFactor = Enum.FormFactor.Symmetric
- Part41.formFactor = Enum.FormFactor.Symmetric
- Part42.Name = "Right Leg"
- Part42.Parent = Model26
- Part42.CFrame = CFrame.new(-12.1005154, 1.00261927, 5.70273495, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part42.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part42.Position = Vector3.new(-12.1005154, 1.00261927, 5.70273495)
- Part42.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part42.Size = Vector3.new(1, 2, 1)
- Part42.Anchored = true
- Part42.BottomSurface = Enum.SurfaceType.Smooth
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.FormFactor = Enum.FormFactor.Symmetric
- Part42.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh43.Name = "Ghost Torso"
- CharacterMesh43.Parent = Model26
- CharacterMesh43.BodyPart = Enum.BodyPart.Torso
- CharacterMesh43.MeshId = 129908715
- CharacterMesh43.OverlayTextureId = 165348526
- CharacterMesh44.Name = "Ghost Right Leg"
- CharacterMesh44.Parent = Model26
- CharacterMesh44.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh44.MeshId = 129908850
- CharacterMesh44.OverlayTextureId = 165348526
- CharacterMesh45.Name = "Ghost Left Leg"
- CharacterMesh45.Parent = Model26
- CharacterMesh45.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh45.MeshId = 129908791
- CharacterMesh45.OverlayTextureId = 165348526
- CharacterMesh46.Name = "Spider-Man Left Arm"
- CharacterMesh46.Parent = Model26
- CharacterMesh46.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh46.MeshId = 151353416
- CharacterMesh46.OverlayTextureId = 165348068
- CharacterMesh47.Name = "Spider-Man Right Arm"
- CharacterMesh47.Parent = Model26
- CharacterMesh47.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh47.MeshId = 151353456
- CharacterMesh47.OverlayTextureId = 165348068
- Part48.Name = "kipy"
- Part48.Parent = Model26
- Part48.CFrame = CFrame.new(-11.5999336, 4.79247904, 5.67096996, -1.0000025, 0.000182506323, -7.30556785e-05, 0.000182539967, 1.0000025, -0.000460964715, 7.29709209e-05, -0.000460978074, -1.0000025)
- Part48.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part48.Position = Vector3.new(-11.5999336, 4.79247904, 5.67096996)
- Part48.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part48.Size = Vector3.new(2, 1, 1)
- Part48.Anchored = true
- Part48.BottomSurface = Enum.SurfaceType.Smooth
- Part48.TopSurface = Enum.SurfaceType.Smooth
- Part48.FormFactor = Enum.FormFactor.Symmetric
- Part48.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh49.Parent = Part48
- SpecialMesh49.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh49.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh49.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh49.MeshType = Enum.MeshType.FileMesh
- Camera50.Name = "ThumbnailCamera"
- Camera50.Parent = Model26
- Camera50.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera50.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera50.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera50.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model51.Name = "Weeping Angel 1.0"
- Model51.Parent = Model0
- Humanoid52.Parent = Model51
- Humanoid52.LeftLeg = Part61
- Humanoid52.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid52.RightLeg = Part67
- Humanoid52.Torso = Part66
- Script53.Parent = Model51
- table.insert(cors,sandbox(Script53,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part54.Name = "Hat"
- Part54.Parent = Model51
- Part54.CFrame = CFrame.new(-2.79906511, 4.10164261, 9.89950371, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part54.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part54.Position = Vector3.new(-2.79906511, 4.10164261, 9.89950371)
- Part54.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part54.Size = Vector3.new(2, 1, 1)
- Part54.Anchored = true
- Part54.BottomSurface = Enum.SurfaceType.Smooth
- Part54.TopSurface = Enum.SurfaceType.Smooth
- Part54.FormFactor = Enum.FormFactor.Symmetric
- Part54.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh55.Parent = Part54
- SpecialMesh55.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh55.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh55.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh55.MeshType = Enum.MeshType.FileMesh
- Part56.Name = "_head"
- Part56.Parent = Model51
- Part56.CFrame = CFrame.new(-2.79890966, 4.50225258, 11.4993553, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part56.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part56.Position = Vector3.new(-2.79890966, 4.50225258, 11.4993553)
- Part56.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part56.Size = Vector3.new(2, 1, 1)
- Part56.Anchored = true
- Part56.BottomSurface = Enum.SurfaceType.Smooth
- Part56.TopSurface = Enum.SurfaceType.Smooth
- Part56.FormFactor = Enum.FormFactor.Symmetric
- Part56.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh57.Parent = Part56
- SpecialMesh57.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal58.Name = "face"
- Decal58.Parent = Part56
- Decal58.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal58.Transparency = 0.5
- Decal59.Parent = Part56
- Decal59.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part60.Name = "Left Arm"
- Part60.Parent = Model51
- Part60.CFrame = CFrame.new(-1.9989289, 4.00240278, 11.9995279, -0.900960147, 0.423224568, 0.0956933275, -0.37440908, -0.646812141, -0.664422452, -0.219303742, -0.634444892, 0.74120909)
- Part60.Orientation = Vector3.new(41.6399994, 7.35999966, -149.940002)
- Part60.Position = Vector3.new(-1.9989289, 4.00240278, 11.9995279)
- Part60.Rotation = Vector3.new(41.8699989, 5.48999977, -154.839996)
- Part60.Size = Vector3.new(1, 2, 1)
- Part60.Anchored = true
- Part60.BottomSurface = Enum.SurfaceType.Smooth
- Part60.TopSurface = Enum.SurfaceType.Smooth
- Part60.FormFactor = Enum.FormFactor.Symmetric
- Part60.formFactor = Enum.FormFactor.Symmetric
- Part61.Name = "Left Leg"
- Part61.Parent = Model51
- Part61.CFrame = CFrame.new(-2.29942489, 1.00218225, 11.5009537, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part61.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part61.Position = Vector3.new(-2.29942489, 1.00218225, 11.5009537)
- Part61.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part61.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part61.Size = Vector3.new(1, 2, 1)
- Part61.Anchored = true
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.BrickColor = BrickColor.new("Mid gray")
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.brickColor = BrickColor.new("Mid gray")
- Part61.FormFactor = Enum.FormFactor.Symmetric
- Part61.formFactor = Enum.FormFactor.Symmetric
- Part62.Name = "Head"
- Part62.Parent = Model51
- Part62.CFrame = CFrame.new(-2.79890966, 4.50225258, 11.4993553, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part62.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part62.Position = Vector3.new(-2.79890966, 4.50225258, 11.4993553)
- Part62.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part62.Transparency = 1
- Part62.Size = Vector3.new(2, 1, 1)
- Part62.Anchored = true
- Part62.BottomSurface = Enum.SurfaceType.Smooth
- Part62.TopSurface = Enum.SurfaceType.Smooth
- Part62.FormFactor = Enum.FormFactor.Symmetric
- Part62.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh63.Parent = Part62
- SpecialMesh63.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh63.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh63.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh63.MeshType = Enum.MeshType.FileMesh
- Decal64.Parent = Part62
- Decal64.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal64.Face = Enum.NormalId.Right
- Part65.Name = "Right Arm"
- Part65.Parent = Model51
- Part65.CFrame = CFrame.new(-3.5989871, 4.00269318, 11.9996309, -0.660339832, -0.707233191, 0.252542853, 0.393743068, -0.612419248, -0.685503006, 0.639470816, -0.353227019, 0.682871163)
- Part65.Orientation = Vector3.new(43.2799988, 20.2999992, 147.259995)
- Part65.Position = Vector3.new(-3.5989871, 4.00269318, 11.9996309)
- Part65.Rotation = Vector3.new(45.1100006, 14.6300001, 133.039993)
- Part65.Size = Vector3.new(1, 2, 1)
- Part65.Anchored = true
- Part65.BottomSurface = Enum.SurfaceType.Smooth
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.FormFactor = Enum.FormFactor.Symmetric
- Part65.formFactor = Enum.FormFactor.Symmetric
- Part66.Name = "Torso"
- Part66.Parent = Model51
- Part66.CFrame = CFrame.new(-2.79915833, 3.00228238, 11.5000534, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part66.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part66.Position = Vector3.new(-2.79915833, 3.00228238, 11.5000534)
- Part66.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part66.Size = Vector3.new(2, 2, 1)
- Part66.Anchored = true
- Part66.BottomSurface = Enum.SurfaceType.Smooth
- Part66.TopSurface = Enum.SurfaceType.Smooth
- Part66.FormFactor = Enum.FormFactor.Symmetric
- Part66.formFactor = Enum.FormFactor.Symmetric
- Part67.Name = "Right Leg"
- Part67.Parent = Model51
- Part67.CFrame = CFrame.new(-3.29945374, 1.00236642, 11.501009, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part67.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part67.Position = Vector3.new(-3.29945374, 1.00236642, 11.501009)
- Part67.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part67.Size = Vector3.new(1, 2, 1)
- Part67.Anchored = true
- Part67.BottomSurface = Enum.SurfaceType.Smooth
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.FormFactor = Enum.FormFactor.Symmetric
- Part67.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh68.Name = "Ghost Torso"
- CharacterMesh68.Parent = Model51
- CharacterMesh68.BodyPart = Enum.BodyPart.Torso
- CharacterMesh68.MeshId = 129908715
- CharacterMesh68.OverlayTextureId = 165348526
- CharacterMesh69.Name = "Ghost Right Leg"
- CharacterMesh69.Parent = Model51
- CharacterMesh69.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh69.MeshId = 129908850
- CharacterMesh69.OverlayTextureId = 165348526
- CharacterMesh70.Name = "Ghost Left Leg"
- CharacterMesh70.Parent = Model51
- CharacterMesh70.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh70.MeshId = 129908791
- CharacterMesh70.OverlayTextureId = 165348526
- CharacterMesh71.Name = "Spider-Man Left Arm"
- CharacterMesh71.Parent = Model51
- CharacterMesh71.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh71.MeshId = 151353416
- CharacterMesh71.OverlayTextureId = 165348068
- CharacterMesh72.Name = "Spider-Man Right Arm"
- CharacterMesh72.Parent = Model51
- CharacterMesh72.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh72.MeshId = 151353456
- CharacterMesh72.OverlayTextureId = 165348068
- Part73.Name = "kipy"
- Part73.Parent = Model51
- Part73.CFrame = CFrame.new(-2.79887962, 4.79223871, 11.4692497, -1.0000025, 0.00018356381, -7.45911384e-05, 0.000183598167, 1.0000025, -0.000461320975, 7.45058351e-05, -0.000461334654, -1.0000025)
- Part73.Orientation = Vector3.new(0.0299999993, -180, 0.00999999978)
- Part73.Position = Vector3.new(-2.79887962, 4.79223871, 11.4692497)
- Part73.Rotation = Vector3.new(179.970001, 0, -179.98999)
- Part73.Size = Vector3.new(2, 1, 1)
- Part73.Anchored = true
- Part73.BottomSurface = Enum.SurfaceType.Smooth
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.FormFactor = Enum.FormFactor.Symmetric
- Part73.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh74.Parent = Part73
- SpecialMesh74.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh74.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh74.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh74.MeshType = Enum.MeshType.FileMesh
- Camera75.Name = "ThumbnailCamera"
- Camera75.Parent = Model51
- Camera75.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera75.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera75.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera75.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model76.Name = "Weeping Angel 1.0"
- Model76.Parent = Model0
- Humanoid77.Parent = Model76
- Humanoid77.LeftLeg = Part86
- Humanoid77.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid77.RightLeg = Part92
- Humanoid77.Torso = Part91
- Script78.Parent = Model76
- table.insert(cors,sandbox(Script78,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part79.Name = "Hat"
- Part79.Parent = Model76
- Part79.CFrame = CFrame.new(-2.40117908, 4.10122442, -1.10039639, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part79.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part79.Position = Vector3.new(-2.40117908, 4.10122442, -1.10039639)
- Part79.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part79.Size = Vector3.new(2, 1, 1)
- Part79.Anchored = true
- Part79.BottomSurface = Enum.SurfaceType.Smooth
- Part79.TopSurface = Enum.SurfaceType.Smooth
- Part79.FormFactor = Enum.FormFactor.Symmetric
- Part79.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh80.Parent = Part79
- SpecialMesh80.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh80.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh80.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh80.MeshType = Enum.MeshType.FileMesh
- Part81.Name = "_head"
- Part81.Parent = Model76
- Part81.CFrame = CFrame.new(-2.40085483, 4.50147343, 0.499534726, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part81.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part81.Position = Vector3.new(-2.40085483, 4.50147343, 0.499534726)
- Part81.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part81.Size = Vector3.new(2, 1, 1)
- Part81.Anchored = true
- Part81.BottomSurface = Enum.SurfaceType.Smooth
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.FormFactor = Enum.FormFactor.Symmetric
- Part81.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh82.Parent = Part81
- SpecialMesh82.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal83.Name = "face"
- Decal83.Parent = Part81
- Decal83.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal83.Transparency = 0.5
- Decal84.Parent = Part81
- Decal84.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part85.Name = "Left Arm"
- Part85.Parent = Model76
- Part85.CFrame = CFrame.new(-1.60089231, 4.00147057, 0.999527395, -0.901009798, 0.423118442, 0.095694907, -0.374282777, -0.646708012, -0.664595008, -0.219315141, -0.634621859, 0.741054177)
- Part85.Orientation = Vector3.new(41.6499977, 7.35999966, -149.940002)
- Part85.Position = Vector3.new(-1.60089231, 4.00147057, 0.999527395)
- Part85.Rotation = Vector3.new(41.8899994, 5.48999977, -154.849991)
- Part85.Size = Vector3.new(1, 2, 1)
- Part85.Anchored = true
- Part85.BottomSurface = Enum.SurfaceType.Smooth
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.FormFactor = Enum.FormFactor.Symmetric
- Part85.formFactor = Enum.FormFactor.Symmetric
- Part86.Name = "Left Leg"
- Part86.Parent = Model76
- Part86.CFrame = CFrame.new(-1.90169311, 1.00142288, 0.500279427, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part86.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part86.Position = Vector3.new(-1.90169311, 1.00142288, 0.500279427)
- Part86.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part86.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part86.Size = Vector3.new(1, 2, 1)
- Part86.Anchored = true
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.BrickColor = BrickColor.new("Mid gray")
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.brickColor = BrickColor.new("Mid gray")
- Part86.FormFactor = Enum.FormFactor.Symmetric
- Part86.formFactor = Enum.FormFactor.Symmetric
- Part87.Name = "Head"
- Part87.Parent = Model76
- Part87.CFrame = CFrame.new(-2.40085483, 4.50147343, 0.499534726, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part87.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part87.Position = Vector3.new(-2.40085483, 4.50147343, 0.499534726)
- Part87.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part87.Transparency = 1
- Part87.Size = Vector3.new(2, 1, 1)
- Part87.Anchored = true
- Part87.BottomSurface = Enum.SurfaceType.Smooth
- Part87.TopSurface = Enum.SurfaceType.Smooth
- Part87.FormFactor = Enum.FormFactor.Symmetric
- Part87.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh88.Parent = Part87
- SpecialMesh88.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh88.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh88.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh88.MeshType = Enum.MeshType.FileMesh
- Decal89.Parent = Part87
- Decal89.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal89.Face = Enum.NormalId.Right
- Part90.Name = "Right Arm"
- Part90.Parent = Model76
- Part90.CFrame = CFrame.new(-3.20093083, 4.00189257, 0.999771416, -0.660252213, -0.707316995, 0.252537012, 0.393661737, -0.612278044, -0.685675919, 0.639611423, -0.353303999, 0.682699621)
- Part90.Orientation = Vector3.new(43.2900009, 20.2999992, 147.259995)
- Part90.Position = Vector3.new(-3.20093083, 4.00189257, 0.999771416)
- Part90.Rotation = Vector3.new(45.1199989, 14.6300001, 133.029999)
- Part90.Size = Vector3.new(1, 2, 1)
- Part90.Anchored = true
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.FormFactor = Enum.FormFactor.Symmetric
- Part90.formFactor = Enum.FormFactor.Symmetric
- Part91.Name = "Torso"
- Part91.Parent = Model76
- Part91.CFrame = CFrame.new(-2.4012351, 3.00153589, 0.499891996, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part91.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part91.Position = Vector3.new(-2.4012351, 3.00153589, 0.499891996)
- Part91.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part91.Size = Vector3.new(2, 2, 1)
- Part91.Anchored = true
- Part91.BottomSurface = Enum.SurfaceType.Smooth
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.FormFactor = Enum.FormFactor.Symmetric
- Part91.formFactor = Enum.FormFactor.Symmetric
- Part92.Name = "Right Leg"
- Part92.Parent = Model76
- Part92.CFrame = CFrame.new(-2.90172195, 1.0016892, 0.500440061, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part92.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part92.Position = Vector3.new(-2.90172195, 1.0016892, 0.500440061)
- Part92.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part92.Size = Vector3.new(1, 2, 1)
- Part92.Anchored = true
- Part92.BottomSurface = Enum.SurfaceType.Smooth
- Part92.TopSurface = Enum.SurfaceType.Smooth
- Part92.FormFactor = Enum.FormFactor.Symmetric
- Part92.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh93.Name = "Ghost Torso"
- CharacterMesh93.Parent = Model76
- CharacterMesh93.BodyPart = Enum.BodyPart.Torso
- CharacterMesh93.MeshId = 129908715
- CharacterMesh93.OverlayTextureId = 165348526
- CharacterMesh94.Name = "Ghost Right Leg"
- CharacterMesh94.Parent = Model76
- CharacterMesh94.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh94.MeshId = 129908850
- CharacterMesh94.OverlayTextureId = 165348526
- CharacterMesh95.Name = "Ghost Left Leg"
- CharacterMesh95.Parent = Model76
- CharacterMesh95.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh95.MeshId = 129908791
- CharacterMesh95.OverlayTextureId = 165348526
- CharacterMesh96.Name = "Spider-Man Left Arm"
- CharacterMesh96.Parent = Model76
- CharacterMesh96.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh96.MeshId = 151353416
- CharacterMesh96.OverlayTextureId = 165348068
- CharacterMesh97.Name = "Spider-Man Right Arm"
- CharacterMesh97.Parent = Model76
- CharacterMesh97.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh97.MeshId = 151353456
- CharacterMesh97.OverlayTextureId = 165348068
- Part98.Name = "kipy"
- Part98.Parent = Model76
- Part98.CFrame = CFrame.new(-2.4008131, 4.79146814, 0.469489694, -1.00000262, 0.000270912307, -0.000156153939, 0.000270948833, 1.00000262, -0.000234024046, 0.000156089882, -0.000234066349, -1.00000262)
- Part98.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part98.Position = Vector3.new(-2.4008131, 4.79146814, 0.469489694)
- Part98.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part98.Size = Vector3.new(2, 1, 1)
- Part98.Anchored = true
- Part98.BottomSurface = Enum.SurfaceType.Smooth
- Part98.TopSurface = Enum.SurfaceType.Smooth
- Part98.FormFactor = Enum.FormFactor.Symmetric
- Part98.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh99.Parent = Part98
- SpecialMesh99.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh99.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh99.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh99.MeshType = Enum.MeshType.FileMesh
- Camera100.Name = "ThumbnailCamera"
- Camera100.Parent = Model76
- Camera100.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera100.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera100.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera100.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model101.Name = "Weeping Angel 1.0"
- Model101.Parent = Model0
- Humanoid102.Parent = Model101
- Humanoid102.LeftLeg = Part111
- Humanoid102.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid102.RightLeg = Part117
- Humanoid102.Torso = Part116
- Script103.Parent = Model101
- table.insert(cors,sandbox(Script103,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part104.Name = "Hat"
- Part104.Parent = Model101
- Part104.CFrame = CFrame.new(10.9997139, 4.10057306, 3.49688292, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part104.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part104.Position = Vector3.new(10.9997139, 4.10057306, 3.49688292)
- Part104.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part104.Size = Vector3.new(2, 1, 1)
- Part104.Anchored = true
- Part104.BottomSurface = Enum.SurfaceType.Smooth
- Part104.TopSurface = Enum.SurfaceType.Smooth
- Part104.FormFactor = Enum.FormFactor.Symmetric
- Part104.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh105.Parent = Part104
- SpecialMesh105.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh105.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh105.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh105.MeshType = Enum.MeshType.FileMesh
- Part106.Name = "_head"
- Part106.Parent = Model101
- Part106.CFrame = CFrame.new(10.9999962, 4.50087166, 5.0968008, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part106.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part106.Position = Vector3.new(10.9999962, 4.50087166, 5.0968008)
- Part106.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part106.Size = Vector3.new(2, 1, 1)
- Part106.Anchored = true
- Part106.BottomSurface = Enum.SurfaceType.Smooth
- Part106.TopSurface = Enum.SurfaceType.Smooth
- Part106.FormFactor = Enum.FormFactor.Symmetric
- Part106.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh107.Parent = Part106
- SpecialMesh107.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal108.Name = "face"
- Decal108.Parent = Part106
- Decal108.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal108.Transparency = 0.5
- Decal109.Parent = Part106
- Decal109.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part110.Name = "Left Arm"
- Part110.Parent = Model101
- Part110.CFrame = CFrame.new(11.7999554, 4.00088596, 5.59682274, -0.901002765, 0.423133463, 0.0956946313, -0.374300867, -0.64672333, -0.664569914, -0.219313234, -0.634596109, 0.741076708)
- Part110.Orientation = Vector3.new(41.6499977, 7.35999966, -149.940002)
- Part110.Position = Vector3.new(11.7999554, 4.00088596, 5.59682274)
- Part110.Rotation = Vector3.new(41.8799973, 5.48999977, -154.839996)
- Part110.Size = Vector3.new(1, 2, 1)
- Part110.Anchored = true
- Part110.BottomSurface = Enum.SurfaceType.Smooth
- Part110.TopSurface = Enum.SurfaceType.Smooth
- Part110.FormFactor = Enum.FormFactor.Symmetric
- Part110.formFactor = Enum.FormFactor.Symmetric
- Part111.Name = "Left Leg"
- Part111.Parent = Model101
- Part111.CFrame = CFrame.new(11.4992008, 1.00080895, 5.09768105, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part111.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part111.Position = Vector3.new(11.4992008, 1.00080895, 5.09768105)
- Part111.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part111.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part111.Size = Vector3.new(1, 2, 1)
- Part111.Anchored = true
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.BrickColor = BrickColor.new("Mid gray")
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.brickColor = BrickColor.new("Mid gray")
- Part111.FormFactor = Enum.FormFactor.Symmetric
- Part111.formFactor = Enum.FormFactor.Symmetric
- Part112.Name = "Head"
- Part112.Parent = Model101
- Part112.CFrame = CFrame.new(10.9999962, 4.50087166, 5.0968008, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part112.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part112.Position = Vector3.new(10.9999962, 4.50087166, 5.0968008)
- Part112.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part112.Transparency = 1
- Part112.Size = Vector3.new(2, 1, 1)
- Part112.Anchored = true
- Part112.BottomSurface = Enum.SurfaceType.Smooth
- Part112.TopSurface = Enum.SurfaceType.Smooth
- Part112.FormFactor = Enum.FormFactor.Symmetric
- Part112.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh113.Parent = Part112
- SpecialMesh113.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh113.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh113.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh113.MeshType = Enum.MeshType.FileMesh
- Decal114.Parent = Part112
- Decal114.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal114.Face = Enum.NormalId.Right
- Part115.Name = "Right Arm"
- Part115.Parent = Model101
- Part115.CFrame = CFrame.new(10.1999016, 4.00128937, 5.59704876, -0.660265982, -0.707303822, 0.252537936, 0.393672377, -0.612299085, -0.685651004, 0.639590561, -0.353293926, 0.682724357)
- Part115.Orientation = Vector3.new(43.2900009, 20.2999992, 147.259995)
- Part115.Position = Vector3.new(10.1999016, 4.00128937, 5.59704876)
- Part115.Rotation = Vector3.new(45.1199989, 14.6300001, 133.029999)
- Part115.Size = Vector3.new(1, 2, 1)
- Part115.Anchored = true
- Part115.BottomSurface = Enum.SurfaceType.Smooth
- Part115.TopSurface = Enum.SurfaceType.Smooth
- Part115.FormFactor = Enum.FormFactor.Symmetric
- Part115.formFactor = Enum.FormFactor.Symmetric
- Part116.Name = "Torso"
- Part116.Parent = Model101
- Part116.CFrame = CFrame.new(10.99963, 3.00092554, 5.09721947, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part116.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part116.Position = Vector3.new(10.99963, 3.00092554, 5.09721947)
- Part116.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part116.Size = Vector3.new(2, 2, 1)
- Part116.Anchored = true
- Part116.BottomSurface = Enum.SurfaceType.Smooth
- Part116.TopSurface = Enum.SurfaceType.Smooth
- Part116.FormFactor = Enum.FormFactor.Symmetric
- Part116.formFactor = Enum.FormFactor.Symmetric
- Part117.Name = "Right Leg"
- Part117.Parent = Model101
- Part117.CFrame = CFrame.new(10.4991722, 1.00105882, 5.09781075, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part117.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part117.Position = Vector3.new(10.4991722, 1.00105882, 5.09781075)
- Part117.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part117.Size = Vector3.new(1, 2, 1)
- Part117.Anchored = true
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.FormFactor = Enum.FormFactor.Symmetric
- Part117.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh118.Name = "Ghost Torso"
- CharacterMesh118.Parent = Model101
- CharacterMesh118.BodyPart = Enum.BodyPart.Torso
- CharacterMesh118.MeshId = 129908715
- CharacterMesh118.OverlayTextureId = 165348526
- CharacterMesh119.Name = "Ghost Right Leg"
- CharacterMesh119.Parent = Model101
- CharacterMesh119.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh119.MeshId = 129908850
- CharacterMesh119.OverlayTextureId = 165348526
- CharacterMesh120.Name = "Ghost Left Leg"
- CharacterMesh120.Parent = Model101
- CharacterMesh120.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh120.MeshId = 129908791
- CharacterMesh120.OverlayTextureId = 165348526
- CharacterMesh121.Name = "Spider-Man Left Arm"
- CharacterMesh121.Parent = Model101
- CharacterMesh121.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh121.MeshId = 151353416
- CharacterMesh121.OverlayTextureId = 165348068
- CharacterMesh122.Name = "Spider-Man Right Arm"
- CharacterMesh122.Parent = Model101
- CharacterMesh122.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh122.MeshId = 151353456
- CharacterMesh122.OverlayTextureId = 165348068
- Part123.Name = "kipy"
- Part123.Parent = Model101
- Part123.CFrame = CFrame.new(11.0000515, 4.79086351, 5.06674194, -1.00000262, 0.000257259118, -0.000143313984, 0.000257297681, 1.0000025, -0.000269044918, 0.000143244135, -0.000269081764, -1.00000262)
- Part123.Orientation = Vector3.new(0.0199999996, -179.98999, 0.00999999978)
- Part123.Position = Vector3.new(11.0000515, 4.79086351, 5.06674194)
- Part123.Rotation = Vector3.new(179.979996, -0.00999999978, -179.98999)
- Part123.Size = Vector3.new(2, 1, 1)
- Part123.Anchored = true
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.FormFactor = Enum.FormFactor.Symmetric
- Part123.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh124.Parent = Part123
- SpecialMesh124.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh124.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh124.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh124.MeshType = Enum.MeshType.FileMesh
- Camera125.Name = "ThumbnailCamera"
- Camera125.Parent = Model101
- Camera125.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera125.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera125.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera125.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model126.Name = "Weeping Angel 1.0"
- Model126.Parent = Model0
- Humanoid127.Parent = Model126
- Humanoid127.LeftLeg = Part136
- Humanoid127.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid127.RightLeg = Part142
- Humanoid127.Torso = Part141
- Script128.Parent = Model126
- table.insert(cors,sandbox(Script128,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part129.Name = "Hat"
- Part129.Parent = Model126
- Part129.CFrame = CFrame.new(8.99755478, 4.10005951, -7.10268974, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part129.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part129.Position = Vector3.new(8.99755478, 4.10005951, -7.10268974)
- Part129.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part129.Size = Vector3.new(2, 1, 1)
- Part129.Anchored = true
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.FormFactor = Enum.FormFactor.Symmetric
- Part129.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh130.Parent = Part129
- SpecialMesh130.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh130.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh130.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh130.MeshType = Enum.MeshType.FileMesh
- Part131.Name = "_head"
- Part131.Parent = Model126
- Part131.CFrame = CFrame.new(8.99788475, 4.50031614, -5.50273895, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part131.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part131.Position = Vector3.new(8.99788475, 4.50031614, -5.50273895)
- Part131.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part131.Size = Vector3.new(2, 1, 1)
- Part131.Anchored = true
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.FormFactor = Enum.FormFactor.Symmetric
- Part131.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh132.Parent = Part131
- SpecialMesh132.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal133.Name = "face"
- Decal133.Parent = Part131
- Decal133.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal133.Transparency = 0.5
- Decal134.Parent = Part131
- Decal134.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part135.Name = "Left Arm"
- Part135.Parent = Model126
- Part135.CFrame = CFrame.new(9.79782486, 4.00029659, -5.00276279, -0.90100944, 0.423119396, 0.09569446, -0.374283075, -0.646707475, -0.664595366, -0.219316259, -0.634621739, 0.741053879)
- Part135.Orientation = Vector3.new(41.6499977, 7.35999966, -149.940002)
- Part135.Position = Vector3.new(9.79782486, 4.00029659, -5.00276279)
- Part135.Rotation = Vector3.new(41.8899994, 5.48999977, -154.839996)
- Part135.Size = Vector3.new(1, 2, 1)
- Part135.Anchored = true
- Part135.BottomSurface = Enum.SurfaceType.Smooth
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.FormFactor = Enum.FormFactor.Symmetric
- Part135.formFactor = Enum.FormFactor.Symmetric
- Part136.Name = "Left Leg"
- Part136.Parent = Model126
- Part136.CFrame = CFrame.new(9.49704742, 1.00026774, -5.5020237, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part136.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part136.Position = Vector3.new(9.49704742, 1.00026774, -5.5020237)
- Part136.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part136.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part136.Size = Vector3.new(1, 2, 1)
- Part136.Anchored = true
- Part136.BottomSurface = Enum.SurfaceType.Smooth
- Part136.BrickColor = BrickColor.new("Mid gray")
- Part136.TopSurface = Enum.SurfaceType.Smooth
- Part136.brickColor = BrickColor.new("Mid gray")
- Part136.FormFactor = Enum.FormFactor.Symmetric
- Part136.formFactor = Enum.FormFactor.Symmetric
- Part137.Name = "Head"
- Part137.Parent = Model126
- Part137.CFrame = CFrame.new(8.99788475, 4.50031614, -5.50273895, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part137.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part137.Position = Vector3.new(8.99788475, 4.50031614, -5.50273895)
- Part137.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part137.Transparency = 1
- Part137.Size = Vector3.new(2, 1, 1)
- Part137.Anchored = true
- Part137.BottomSurface = Enum.SurfaceType.Smooth
- Part137.TopSurface = Enum.SurfaceType.Smooth
- Part137.FormFactor = Enum.FormFactor.Symmetric
- Part137.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh138.Parent = Part137
- SpecialMesh138.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh138.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh138.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh138.MeshType = Enum.MeshType.FileMesh
- Decal139.Parent = Part137
- Decal139.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal139.Face = Enum.NormalId.Right
- Part140.Name = "Right Arm"
- Part140.Parent = Model126
- Part140.CFrame = CFrame.new(8.19780159, 4.00073433, -5.00252056, -0.660252869, -0.707316518, 0.252536505, 0.39366141, -0.612278044, -0.685676038, 0.639610887, -0.353304833, 0.682699621)
- Part140.Orientation = Vector3.new(43.2900009, 20.2999992, 147.259995)
- Part140.Position = Vector3.new(8.19780159, 4.00073433, -5.00252056)
- Part140.Rotation = Vector3.new(45.1199989, 14.6300001, 133.029999)
- Part140.Size = Vector3.new(1, 2, 1)
- Part140.Anchored = true
- Part140.BottomSurface = Enum.SurfaceType.Smooth
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.FormFactor = Enum.FormFactor.Symmetric
- Part140.formFactor = Enum.FormFactor.Symmetric
- Part141.Name = "Torso"
- Part141.Parent = Model126
- Part141.CFrame = CFrame.new(8.99750137, 3.00037789, -5.50242805, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part141.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part141.Position = Vector3.new(8.99750137, 3.00037789, -5.50242805)
- Part141.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part141.Size = Vector3.new(2, 2, 1)
- Part141.Anchored = true
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.FormFactor = Enum.FormFactor.Symmetric
- Part141.formFactor = Enum.FormFactor.Symmetric
- Part142.Name = "Right Leg"
- Part142.Parent = Model126
- Part142.CFrame = CFrame.new(8.497015, 1.0005281, -5.50186348, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part142.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part142.Position = Vector3.new(8.497015, 1.0005281, -5.50186348)
- Part142.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part142.Size = Vector3.new(1, 2, 1)
- Part142.Anchored = true
- Part142.BottomSurface = Enum.SurfaceType.Smooth
- Part142.TopSurface = Enum.SurfaceType.Smooth
- Part142.FormFactor = Enum.FormFactor.Symmetric
- Part142.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh143.Name = "Ghost Torso"
- CharacterMesh143.Parent = Model126
- CharacterMesh143.BodyPart = Enum.BodyPart.Torso
- CharacterMesh143.MeshId = 129908715
- CharacterMesh143.OverlayTextureId = 165348526
- CharacterMesh144.Name = "Ghost Right Leg"
- CharacterMesh144.Parent = Model126
- CharacterMesh144.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh144.MeshId = 129908850
- CharacterMesh144.OverlayTextureId = 165348526
- CharacterMesh145.Name = "Ghost Left Leg"
- CharacterMesh145.Parent = Model126
- CharacterMesh145.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh145.MeshId = 129908791
- CharacterMesh145.OverlayTextureId = 165348526
- CharacterMesh146.Name = "Spider-Man Left Arm"
- CharacterMesh146.Parent = Model126
- CharacterMesh146.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh146.MeshId = 151353416
- CharacterMesh146.OverlayTextureId = 165348068
- CharacterMesh147.Name = "Spider-Man Right Arm"
- CharacterMesh147.Parent = Model126
- CharacterMesh147.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh147.MeshId = 151353456
- CharacterMesh147.OverlayTextureId = 165348068
- Part148.Name = "kipy"
- Part148.Parent = Model126
- Part148.CFrame = CFrame.new(8.99792099, 4.79030609, -5.53282833, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part148.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part148.Position = Vector3.new(8.99792099, 4.79030609, -5.53282833)
- Part148.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part148.Size = Vector3.new(2, 1, 1)
- Part148.Anchored = true
- Part148.BottomSurface = Enum.SurfaceType.Smooth
- Part148.TopSurface = Enum.SurfaceType.Smooth
- Part148.FormFactor = Enum.FormFactor.Symmetric
- Part148.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh149.Parent = Part148
- SpecialMesh149.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh149.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh149.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh149.MeshType = Enum.MeshType.FileMesh
- Camera150.Name = "ThumbnailCamera"
- Camera150.Parent = Model126
- Camera150.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera150.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera150.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera150.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model151.Name = "Weeping Angel 1.0"
- Model151.Parent = Model0
- Humanoid152.Parent = Model151
- Humanoid152.LeftLeg = Part161
- Humanoid152.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid152.RightLeg = Part167
- Humanoid152.Torso = Part166
- Script153.Parent = Model151
- table.insert(cors,sandbox(Script153,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part154.Name = "Hat"
- Part154.Parent = Model151
- Part154.CFrame = CFrame.new(5.80109167, 4.10117149, 10.8977222, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part154.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part154.Position = Vector3.new(5.80109167, 4.10117149, 10.8977222)
- Part154.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part154.Size = Vector3.new(2, 1, 1)
- Part154.Anchored = true
- Part154.BottomSurface = Enum.SurfaceType.Smooth
- Part154.TopSurface = Enum.SurfaceType.Smooth
- Part154.FormFactor = Enum.FormFactor.Symmetric
- Part154.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh155.Parent = Part154
- SpecialMesh155.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh155.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh155.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh155.MeshType = Enum.MeshType.FileMesh
- Part156.Name = "_head"
- Part156.Parent = Model151
- Part156.CFrame = CFrame.new(5.80141783, 4.50180292, 12.4975929, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part156.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part156.Position = Vector3.new(5.80141783, 4.50180292, 12.4975929)
- Part156.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part156.Size = Vector3.new(2, 1, 1)
- Part156.Anchored = true
- Part156.BottomSurface = Enum.SurfaceType.Smooth
- Part156.TopSurface = Enum.SurfaceType.Smooth
- Part156.FormFactor = Enum.FormFactor.Symmetric
- Part156.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh157.Parent = Part156
- SpecialMesh157.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal158.Name = "face"
- Decal158.Parent = Part156
- Decal158.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal158.Transparency = 0.5
- Decal159.Parent = Part156
- Decal159.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part160.Name = "Left Arm"
- Part160.Parent = Model151
- Part160.CFrame = CFrame.new(6.60140562, 4.00190592, 12.997673, -0.901003063, 0.423126519, 0.0957215577, -0.374357253, -0.646846652, -0.664418042, -0.21921511, -0.634475112, 0.741209388)
- Part160.Orientation = Vector3.new(41.6399994, 7.35999966, -149.940002)
- Part160.Position = Vector3.new(6.60140562, 4.00190592, 12.997673)
- Part160.Rotation = Vector3.new(41.8699989, 5.48999977, -154.839996)
- Part160.Size = Vector3.new(1, 2, 1)
- Part160.Anchored = true
- Part160.BottomSurface = Enum.SurfaceType.Smooth
- Part160.TopSurface = Enum.SurfaceType.Smooth
- Part160.FormFactor = Enum.FormFactor.Symmetric
- Part160.formFactor = Enum.FormFactor.Symmetric
- Part161.Name = "Left Leg"
- Part161.Parent = Model151
- Part161.CFrame = CFrame.new(6.30068445, 1.00166368, 12.4991636, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part161.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part161.Position = Vector3.new(6.30068445, 1.00166368, 12.4991636)
- Part161.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part161.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part161.Size = Vector3.new(1, 2, 1)
- Part161.Anchored = true
- Part161.BottomSurface = Enum.SurfaceType.Smooth
- Part161.BrickColor = BrickColor.new("Mid gray")
- Part161.TopSurface = Enum.SurfaceType.Smooth
- Part161.brickColor = BrickColor.new("Mid gray")
- Part161.FormFactor = Enum.FormFactor.Symmetric
- Part161.formFactor = Enum.FormFactor.Symmetric
- Part162.Name = "Head"
- Part162.Parent = Model151
- Part162.CFrame = CFrame.new(5.80141783, 4.50180292, 12.4975929, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part162.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part162.Position = Vector3.new(5.80141783, 4.50180292, 12.4975929)
- Part162.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part162.Transparency = 1
- Part162.Size = Vector3.new(2, 1, 1)
- Part162.Anchored = true
- Part162.BottomSurface = Enum.SurfaceType.Smooth
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.FormFactor = Enum.FormFactor.Symmetric
- Part162.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh163.Parent = Part162
- SpecialMesh163.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh163.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh163.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh163.MeshType = Enum.MeshType.FileMesh
- Decal164.Parent = Part162
- Decal164.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal164.Face = Enum.NormalId.Right
- Part165.Name = "Right Arm"
- Part165.Parent = Model151
- Part165.CFrame = CFrame.new(5.00135469, 4.00229359, 12.9979496, -0.660254359, -0.707304776, 0.252565801, 0.39379397, -0.612381101, -0.685507894, 0.639527738, -0.353149742, 0.682857752)
- Part165.Orientation = Vector3.new(43.2799988, 20.2999992, 147.259995)
- Part165.Position = Vector3.new(5.00135469, 4.00229359, 12.9979496)
- Part165.Rotation = Vector3.new(45.1100006, 14.6300001, 133.029999)
- Part165.Size = Vector3.new(1, 2, 1)
- Part165.Anchored = true
- Part165.BottomSurface = Enum.SurfaceType.Smooth
- Part165.TopSurface = Enum.SurfaceType.Smooth
- Part165.FormFactor = Enum.FormFactor.Symmetric
- Part165.formFactor = Enum.FormFactor.Symmetric
- Part166.Name = "Torso"
- Part166.Parent = Model151
- Part166.CFrame = CFrame.new(5.80107355, 3.00181508, 12.4982872, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part166.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part166.Position = Vector3.new(5.80107355, 3.00181508, 12.4982872)
- Part166.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part166.Size = Vector3.new(2, 2, 1)
- Part166.Anchored = true
- Part166.BottomSurface = Enum.SurfaceType.Smooth
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.FormFactor = Enum.FormFactor.Symmetric
- Part166.formFactor = Enum.FormFactor.Symmetric
- Part167.Name = "Right Leg"
- Part167.Parent = Model151
- Part167.CFrame = CFrame.new(5.30065489, 1.00191975, 12.49932, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part167.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part167.Position = Vector3.new(5.30065489, 1.00191975, 12.49932)
- Part167.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part167.Size = Vector3.new(1, 2, 1)
- Part167.Anchored = true
- Part167.BottomSurface = Enum.SurfaceType.Smooth
- Part167.TopSurface = Enum.SurfaceType.Smooth
- Part167.FormFactor = Enum.FormFactor.Symmetric
- Part167.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh168.Name = "Ghost Torso"
- CharacterMesh168.Parent = Model151
- CharacterMesh168.BodyPart = Enum.BodyPart.Torso
- CharacterMesh168.MeshId = 129908715
- CharacterMesh168.OverlayTextureId = 165348526
- CharacterMesh169.Name = "Ghost Right Leg"
- CharacterMesh169.Parent = Model151
- CharacterMesh169.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh169.MeshId = 129908850
- CharacterMesh169.OverlayTextureId = 165348526
- CharacterMesh170.Name = "Ghost Left Leg"
- CharacterMesh170.Parent = Model151
- CharacterMesh170.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh170.MeshId = 129908791
- CharacterMesh170.OverlayTextureId = 165348526
- CharacterMesh171.Name = "Spider-Man Left Arm"
- CharacterMesh171.Parent = Model151
- CharacterMesh171.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh171.MeshId = 151353416
- CharacterMesh171.OverlayTextureId = 165348068
- CharacterMesh172.Name = "Spider-Man Right Arm"
- CharacterMesh172.Parent = Model151
- CharacterMesh172.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh172.MeshId = 151353456
- CharacterMesh172.OverlayTextureId = 165348068
- Part173.Name = "kipy"
- Part173.Parent = Model151
- Part173.CFrame = CFrame.new(5.80145788, 4.79179287, 12.4674721, -1.00000262, 0.000249872042, -0.00017075293, 0.000249953155, 1.0000025, -0.000475062523, 0.000170633604, -0.000475105189, -1.0000025)
- Part173.Orientation = Vector3.new(0.0299999993, -179.98999, 0.00999999978)
- Part173.Position = Vector3.new(5.80145788, 4.79179287, 12.4674721)
- Part173.Rotation = Vector3.new(179.970001, -0.00999999978, -179.98999)
- Part173.Size = Vector3.new(2, 1, 1)
- Part173.Anchored = true
- Part173.BottomSurface = Enum.SurfaceType.Smooth
- Part173.TopSurface = Enum.SurfaceType.Smooth
- Part173.FormFactor = Enum.FormFactor.Symmetric
- Part173.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh174.Parent = Part173
- SpecialMesh174.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh174.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh174.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh174.MeshType = Enum.MeshType.FileMesh
- Camera175.Name = "ThumbnailCamera"
- Camera175.Parent = Model151
- Camera175.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera175.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera175.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera175.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model176.Name = "Weeping Angel 1.0"
- Model176.Parent = Model0
- Humanoid177.Parent = Model176
- Humanoid177.LeftLeg = Part186
- Humanoid177.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid177.RightLeg = Part192
- Humanoid177.Torso = Part191
- Script178.Parent = Model176
- table.insert(cors,sandbox(Script178,function()
- -- Ganondude
- local speed = 50 -- player speed: ~25
- local view_dist = 150
- local seen_dist = 75
- local faces = {"15199999","15637705","131369668"} -- neutral, weeping, grabbing
- --------
- local figure = script.Parent
- local targets = game.Players
- local c_targ
- local fpor = game.Workspace.FindPartOnRay
- local spd = speed/10
- local view_d = view_dist
- local frozen = true
- local db = false
- --
- function isSeen(subject,viewers)
- viewers = viewers or game.Players:GetChildren()
- for k,v in pairs(viewers) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Humanoid")) and (canSee(subject,char)) then
- return true
- end
- end
- return false
- end
- function canSee(subject,viewer)
- if (not subject) or (not viewer) then return false end
- local sh = subject:findFirstChild("Head")
- local vh = viewer:findFirstChild("Head")
- if (not sh) or (not vh) then return false end
- local vec = sh.Position - vh.Position
- local isInFOV = (vec:Dot(vh.CFrame.lookVector) > 0)
- if (isInFOV) and (vec.magnitude < seen_dist) then
- local ray = Ray.new(vh.Position,vec.unit*1000)
- local por = fpor(Workspace,ray,viewer,false)
- return (por == nil) or (por:IsDescendantOf(subject))
- end
- return false
- end
- function closestTarget(targets)
- local t,d
- for k,v in pairs(targets:GetChildren()) do
- local char = (v:IsA("Player")) and v.Character or v
- if (char) and (char:findFirstChild("Torso")) then
- local _d = (char.Torso.Position - figure.Torso.Position).magnitude
- if (_d < view_d) and ((not d) or (_d < d)) then
- t = v
- d = _d
- end
- end
- end
- return t
- end
- function moveTowards(target)
- if (not target) then return end
- local char = (target:IsA("Player")) and target.Character or target
- if (not char) or (not char:findFirstChild("Torso")) then return end
- local cpos = char.Torso.Position
- local vec = cpos - figure.Torso.Position
- local dir = vec.unit
- local dist = (vec.magnitude > spd) and spd or vec.magnitude
- local pos = figure.Torso.Position + dir*dist
- figure:MoveTo(pos)
- local d = (cpos - pos).magnitude
- if (d < 3) then onCatch(char:findFirstChild("Torso")) end
- local ray = Ray.new(figure.Torso.Position,Vector3.new(0,-1,0)*100)
- local por, pos2 = fpor(Workspace,ray,figure,false)
- pos2 = pos2 + Vector3.new(0,3,0)
- local lv = Vector3.new(cpos.X,pos2.Y,cpos.Z)
- figure.Torso.CFrame = CFrame.new(pos2,lv)
- if (d < seen_dist/10) then
- pose(2)
- elseif (d < seen_dist/2) then
- pose(math.random(0,1))
- else
- pose(1)
- end
- --return (cpos - pos2).magnitude
- end
- function pose(n)
- local head = figure["_head"]
- local tor = figure["Torso"]
- local larm = figure["Left Arm"]
- local rarm = figure["Right Arm"]
- if (n == 0) then -- neutral
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0,0)
- elseif (n == 1) then -- weeping
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,3*math.pi/4)
- rarm.CFrame = tor.CFrame*CFrame.new(0.8,1,-0.5)*CFrame.Angles(-math.pi/6,0,-3*math.pi/4)
- elseif (n == 2) then -- grabbing
- head.face.Texture = "http://www.roblox.com/asset/?id="..faces[n+1]
- larm.CFrame = tor.CFrame*CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- rarm.CFrame = tor.CFrame*CFrame.new(1.5,0.5,-0.5)*CFrame.Angles(math.pi/2,0,0)
- end
- head.CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Head"].CFrame = tor.CFrame*CFrame.new(0,1.5,0)
- figure["Left Leg"].CFrame = tor.CFrame*CFrame.new(-0.5,-2,0)
- figure["Right Leg"].CFrame = tor.CFrame*CFrame.new(0.5,-2,0)
- figure["Hat"].CFrame = tor.CFrame*CFrame.new(0,1.1,1.8)
- figure["kipy"].CFrame = tor.CFrame*CFrame.new(0,2,0)
- end
- function onCatch(hit)
- if (db) or (frozen) or (not hit.Parent) or (not hit.Parent:findFirstChild("Humanoid")) then return end
- db = true
- hit.Parent.Humanoid.Health = 0
- for k,v in pairs(hit.Parent:GetChildren()) do
- if (v:IsA("BasePart")) then
- v:Destroy()
- end
- end
- wait(3)
- c_targ = closestTarget(targets)
- if (not c_targ) and (not isSeen()) then
- pose(1)
- end
- db = false
- end
- function weld(a,b)
- local w = Instance.new("Weld")
- w.Part0 = a
- w.Part1 = b
- w.C0 = a.CFrame:inverse() * CFrame.new(a.Position)
- w.C1 = b.CFrame:inverse() * CFrame.new(a.Position)
- w.Parent = game.JointsService
- game.JointsService.ChildRemoved:connect(function(c)
- if (c == w) then weld(a,b) end
- end)
- end
- --------
- local head = figure.Head
- local torso = figure.Torso
- head.Transparency = 1
- pose(1)
- while (true) do
- if (isSeen(figure)) then
- frozen = true
- c_targ = closestTarget(targets)
- else
- frozen = false
- moveTowards(c_targ)
- end
- wait(0.1)
- end
- -- Ganondude
- end))
- Part179.Name = "Hat"
- Part179.Parent = Model176
- Part179.CFrame = CFrame.new(-12.6028023, 4.10141754, -9.69845104, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part179.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part179.Position = Vector3.new(-12.6028023, 4.10141754, -9.69845104)
- Part179.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part179.Size = Vector3.new(2, 1, 1)
- Part179.Anchored = true
- Part179.BottomSurface = Enum.SurfaceType.Smooth
- Part179.TopSurface = Enum.SurfaceType.Smooth
- Part179.FormFactor = Enum.FormFactor.Symmetric
- Part179.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh180.Parent = Part179
- SpecialMesh180.MeshId = "http://www.roblox.com/asset/?id=133548232 "
- SpecialMesh180.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh180.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh180.MeshType = Enum.MeshType.FileMesh
- Part181.Name = "_head"
- Part181.Parent = Model176
- Part181.CFrame = CFrame.new(-12.6024742, 4.5016818, -8.09851551, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part181.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part181.Position = Vector3.new(-12.6024742, 4.5016818, -8.09851551)
- Part181.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part181.Size = Vector3.new(2, 1, 1)
- Part181.Anchored = true
- Part181.BottomSurface = Enum.SurfaceType.Smooth
- Part181.TopSurface = Enum.SurfaceType.Smooth
- Part181.FormFactor = Enum.FormFactor.Symmetric
- Part181.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh182.Parent = Part181
- SpecialMesh182.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal183.Name = "face"
- Decal183.Parent = Part181
- Decal183.Texture = "http://www.roblox.com/asset/?id=15637705"
- Decal183.Transparency = 0.5
- Decal184.Parent = Part181
- Decal184.Texture = "http://www.roblox.com/asset/?id=18767969"
- Part185.Name = "Left Arm"
- Part185.Parent = Model176
- Part185.CFrame = CFrame.new(-11.8025284, 4.00164938, -7.59852314, -0.90100944, 0.423119366, 0.0956944376, -0.374283046, -0.646707416, -0.664595425, -0.219316304, -0.634621799, 0.74105382)
- Part185.Orientation = Vector3.new(41.6499977, 7.35999966, -149.940002)
- Part185.Position = Vector3.new(-11.8025284, 4.00164938, -7.59852314)
- Part185.Rotation = Vector3.new(41.8899994, 5.48999977, -154.839996)
- Part185.Size = Vector3.new(1, 2, 1)
- Part185.Anchored = true
- Part185.BottomSurface = Enum.SurfaceType.Smooth
- Part185.TopSurface = Enum.SurfaceType.Smooth
- Part185.FormFactor = Enum.FormFactor.Symmetric
- Part185.formFactor = Enum.FormFactor.Symmetric
- Part186.Name = "Left Leg"
- Part186.Parent = Model176
- Part186.CFrame = CFrame.new(-12.1033096, 1.00162446, -8.09775162, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part186.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part186.Position = Vector3.new(-12.1033096, 1.00162446, -8.09775162)
- Part186.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part186.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part186.Size = Vector3.new(1, 2, 1)
- Part186.Anchored = true
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.BrickColor = BrickColor.new("Mid gray")
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.brickColor = BrickColor.new("Mid gray")
- Part186.FormFactor = Enum.FormFactor.Symmetric
- Part186.formFactor = Enum.FormFactor.Symmetric
- Part187.Name = "Head"
- Part187.Parent = Model176
- Part187.CFrame = CFrame.new(-12.6024742, 4.5016818, -8.09851551, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part187.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part187.Position = Vector3.new(-12.6024742, 4.5016818, -8.09851551)
- Part187.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part187.Transparency = 1
- Part187.Size = Vector3.new(2, 1, 1)
- Part187.Anchored = true
- Part187.BottomSurface = Enum.SurfaceType.Smooth
- Part187.TopSurface = Enum.SurfaceType.Smooth
- Part187.FormFactor = Enum.FormFactor.Symmetric
- Part187.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh188.Parent = Part187
- SpecialMesh188.MeshId = "http://www.roblox.com/asset/?id=151354047 "
- SpecialMesh188.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh188.TextureId = "http://www.roblox.com/asset/?id=157795997"
- SpecialMesh188.MeshType = Enum.MeshType.FileMesh
- Decal189.Parent = Part187
- Decal189.Texture = "http://www.roblox.com/asset/?id=165348068"
- Decal189.Face = Enum.NormalId.Right
- Part190.Name = "Right Arm"
- Part190.Parent = Model176
- Part190.CFrame = CFrame.new(-13.4025669, 4.0020895, -7.59827709, -0.660252869, -0.707316458, 0.252536476, 0.39366132, -0.612278044, -0.685676157, 0.639610827, -0.353304893, 0.682699621)
- Part190.Orientation = Vector3.new(43.2900009, 20.2999992, 147.259995)
- Part190.Position = Vector3.new(-13.4025669, 4.0020895, -7.59827709)
- Part190.Rotation = Vector3.new(45.1199989, 14.6300001, 133.029999)
- Part190.Size = Vector3.new(1, 2, 1)
- Part190.Anchored = true
- Part190.BottomSurface = Enum.SurfaceType.Smooth
- Part190.TopSurface = Enum.SurfaceType.Smooth
- Part190.FormFactor = Enum.FormFactor.Symmetric
- Part190.formFactor = Enum.FormFactor.Symmetric
- Part191.Name = "Torso"
- Part191.Parent = Model176
- Part191.CFrame = CFrame.new(-12.6028748, 3.0017395, -8.09815216, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part191.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part191.Position = Vector3.new(-12.6028748, 3.0017395, -8.09815216)
- Part191.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part191.Size = Vector3.new(2, 2, 1)
- Part191.Anchored = true
- Part191.BottomSurface = Enum.SurfaceType.Smooth
- Part191.TopSurface = Enum.SurfaceType.Smooth
- Part191.FormFactor = Enum.FormFactor.Symmetric
- Part191.formFactor = Enum.FormFactor.Symmetric
- Part192.Name = "Right Leg"
- Part192.Parent = Model176
- Part192.CFrame = CFrame.new(-13.1033401, 1.00188637, -8.09760952, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part192.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part192.Position = Vector3.new(-13.1033401, 1.00188637, -8.09760952)
- Part192.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part192.Size = Vector3.new(1, 2, 1)
- Part192.Anchored = true
- Part192.BottomSurface = Enum.SurfaceType.Smooth
- Part192.TopSurface = Enum.SurfaceType.Smooth
- Part192.FormFactor = Enum.FormFactor.Symmetric
- Part192.formFactor = Enum.FormFactor.Symmetric
- CharacterMesh193.Name = "Ghost Torso"
- CharacterMesh193.Parent = Model176
- CharacterMesh193.BodyPart = Enum.BodyPart.Torso
- CharacterMesh193.MeshId = 129908715
- CharacterMesh193.OverlayTextureId = 165348526
- CharacterMesh194.Name = "Ghost Right Leg"
- CharacterMesh194.Parent = Model176
- CharacterMesh194.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh194.MeshId = 129908850
- CharacterMesh194.OverlayTextureId = 165348526
- CharacterMesh195.Name = "Ghost Left Leg"
- CharacterMesh195.Parent = Model176
- CharacterMesh195.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh195.MeshId = 129908791
- CharacterMesh195.OverlayTextureId = 165348526
- CharacterMesh196.Name = "Spider-Man Left Arm"
- CharacterMesh196.Parent = Model176
- CharacterMesh196.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh196.MeshId = 151353416
- CharacterMesh196.OverlayTextureId = 165348068
- CharacterMesh197.Name = "Spider-Man Right Arm"
- CharacterMesh197.Parent = Model176
- CharacterMesh197.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh197.MeshId = 151353456
- CharacterMesh197.OverlayTextureId = 165348068
- Part198.Name = "kipy"
- Part198.Parent = Model176
- Part198.CFrame = CFrame.new(-12.602438, 4.79166174, -8.12855721, -1.00000262, 0.000270704186, -0.00015525971, 0.000270740391, 1.00000262, -0.000233338986, 0.000155195914, -0.000233381012, -1.00000262)
- Part198.Orientation = Vector3.new(0.00999999978, -179.98999, 0.0199999996)
- Part198.Position = Vector3.new(-12.602438, 4.79166174, -8.12855721)
- Part198.Rotation = Vector3.new(179.98999, -0.00999999978, -179.979996)
- Part198.Size = Vector3.new(2, 1, 1)
- Part198.Anchored = true
- Part198.BottomSurface = Enum.SurfaceType.Smooth
- Part198.TopSurface = Enum.SurfaceType.Smooth
- Part198.FormFactor = Enum.FormFactor.Symmetric
- Part198.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh199.Parent = Part198
- SpecialMesh199.MeshId = "http://www.roblox.com/asset/?id=31309506"
- SpecialMesh199.Scale = Vector3.new(1.02999997, 1.04999995, 1.02999997)
- SpecialMesh199.TextureId = "http://www.roblox.com/asset/?id=165348526"
- SpecialMesh199.MeshType = Enum.MeshType.FileMesh
- Camera200.Name = "ThumbnailCamera"
- Camera200.Parent = Model176
- Camera200.CFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera200.CoordinateFrame = CFrame.new(-51.45895, 15.9774208, 5.03529501, 0.659860551, 0.0157260746, -0.751223505, 9.31322686e-10, 0.999781013, 0.0209293608, 0.751388192, -0.0138104605, 0.65971595)
- Camera200.Focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera200.focus = CFrame.new(-49.9565048, 15.9355621, 3.71586466, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 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