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"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
- v:Destroy()
- end
- end
- SpawnLocation0 = Instance.new("SpawnLocation")
- Decal1 = Instance.new("Decal")
- Model2 = Instance.new("Model")
- Part3 = Instance.new("Part")
- SpecialMesh4 = Instance.new("SpecialMesh")
- Attachment5 = Instance.new("Attachment")
- Attachment6 = Instance.new("Attachment")
- Attachment7 = Instance.new("Attachment")
- Attachment8 = Instance.new("Attachment")
- Decal9 = Instance.new("Decal")
- BillboardGui10 = Instance.new("BillboardGui")
- Frame11 = Instance.new("Frame")
- Frame12 = Instance.new("Frame")
- Animation13 = Instance.new("Animation")
- Part14 = Instance.new("Part")
- Motor6D15 = Instance.new("Motor6D")
- Part16 = Instance.new("Part")
- Attachment17 = Instance.new("Attachment")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Attachment20 = Instance.new("Attachment")
- Weld21 = Instance.new("Weld")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Decal24 = Instance.new("Decal")
- Motor6D25 = Instance.new("Motor6D")
- Motor6D26 = Instance.new("Motor6D")
- Motor6D27 = Instance.new("Motor6D")
- Motor6D28 = Instance.new("Motor6D")
- Motor6D29 = Instance.new("Motor6D")
- Attachment30 = Instance.new("Attachment")
- Attachment31 = Instance.new("Attachment")
- Attachment32 = Instance.new("Attachment")
- Attachment33 = Instance.new("Attachment")
- Attachment34 = Instance.new("Attachment")
- Attachment35 = Instance.new("Attachment")
- Attachment36 = Instance.new("Attachment")
- Attachment37 = Instance.new("Attachment")
- Humanoid38 = Instance.new("Humanoid")
- Accessory39 = Instance.new("Accessory")
- Part40 = Instance.new("Part")
- SpecialMesh41 = Instance.new("SpecialMesh")
- Attachment42 = Instance.new("Attachment")
- Weld43 = Instance.new("Weld")
- Accessory44 = Instance.new("Accessory")
- Part45 = Instance.new("Part")
- SpecialMesh46 = Instance.new("SpecialMesh")
- Attachment47 = Instance.new("Attachment")
- Weld48 = Instance.new("Weld")
- ShirtGraphic49 = Instance.new("ShirtGraphic")
- Accessory50 = Instance.new("Accessory")
- Part51 = Instance.new("Part")
- SpecialMesh52 = Instance.new("SpecialMesh")
- Attachment53 = Instance.new("Attachment")
- Vector3Value54 = Instance.new("Vector3Value")
- Weld55 = Instance.new("Weld")
- Accessory56 = Instance.new("Accessory")
- Part57 = Instance.new("Part")
- SpecialMesh58 = Instance.new("SpecialMesh")
- Attachment59 = Instance.new("Attachment")
- Vector3Value60 = Instance.new("Vector3Value")
- Weld61 = Instance.new("Weld")
- Accessory62 = Instance.new("Accessory")
- Part63 = Instance.new("Part")
- SpecialMesh64 = Instance.new("SpecialMesh")
- Attachment65 = Instance.new("Attachment")
- Weld66 = Instance.new("Weld")
- Accessory67 = Instance.new("Accessory")
- Part68 = Instance.new("Part")
- SpecialMesh69 = Instance.new("SpecialMesh")
- Attachment70 = Instance.new("Attachment")
- Vector3Value71 = Instance.new("Vector3Value")
- Weld72 = Instance.new("Weld")
- Accessory73 = Instance.new("Accessory")
- Part74 = Instance.new("Part")
- SpecialMesh75 = Instance.new("SpecialMesh")
- Attachment76 = Instance.new("Attachment")
- Vector3Value77 = Instance.new("Vector3Value")
- Weld78 = Instance.new("Weld")
- Pants79 = Instance.new("Pants")
- Accessory80 = Instance.new("Accessory")
- Part81 = Instance.new("Part")
- SpecialMesh82 = Instance.new("SpecialMesh")
- Attachment83 = Instance.new("Attachment")
- Weld84 = Instance.new("Weld")
- Accessory85 = Instance.new("Accessory")
- Part86 = Instance.new("Part")
- SpecialMesh87 = Instance.new("SpecialMesh")
- Attachment88 = Instance.new("Attachment")
- Vector3Value89 = Instance.new("Vector3Value")
- Weld90 = Instance.new("Weld")
- BodyColors91 = Instance.new("BodyColors")
- Tool92 = Instance.new("Tool")
- Part93 = Instance.new("Part")
- PointLight94 = Instance.new("PointLight")
- PointLight95 = Instance.new("PointLight")
- Script96 = Instance.new("Script")
- Script97 = Instance.new("Script")
- Sparkles98 = Instance.new("Sparkles")
- Fire99 = Instance.new("Fire")
- SpecialMesh100 = Instance.new("SpecialMesh")
- BoolValue101 = Instance.new("BoolValue")
- BoolValue102 = Instance.new("BoolValue")
- BoolValue103 = Instance.new("BoolValue")
- Script104 = Instance.new("Script")
- Script105 = Instance.new("Script")
- Script106 = Instance.new("Script")
- Script107 = Instance.new("Script")
- Script108 = Instance.new("Script")
- BoolValue109 = Instance.new("BoolValue")
- IntValue110 = Instance.new("IntValue")
- BoolValue111 = Instance.new("BoolValue")
- BoolValue112 = Instance.new("BoolValue")
- Script113 = Instance.new("Script")
- Script114 = Instance.new("Script")
- SpawnLocation0.Parent = mas
- SpawnLocation0.Anchored = true
- SpawnLocation0.Size = Vector3.new(6, 1, 6)
- SpawnLocation0.CFrame = CFrame.new(34.0197449, -37.4999924, -49.0999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation0.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation0.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation0.Position = Vector3.new(34.0197449, -37.4999924, -49.0999756)
- Decal1.Parent = SpawnLocation0
- Decal1.Texture = "rbxasset://textures/SpawnLocation.png"
- Decal1.Face = Enum.NormalId.Top
- Model2.Name = "Animescapetower"
- Model2.Parent = mas
- Model2.PrimaryPart = Part14
- Part3.Name = "Head"
- Part3.Parent = Model2
- Part3.BrickColor = BrickColor.new("White")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.Size = Vector3.new(2, 1, 1)
- Part3.CFrame = CFrame.new(450.839935, 4.50001431, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part3.Position = Vector3.new(450.839935, 4.50001431, -744.649902)
- Part3.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh4.Parent = Part3
- SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
- Attachment5.Name = "HatAttachment"
- Attachment5.Parent = Part3
- Attachment5.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment5.Position = Vector3.new(0, 0.600000024, 0)
- Attachment6.Name = "HairAttachment"
- Attachment6.Parent = Part3
- Attachment6.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment6.Position = Vector3.new(0, 0.600000024, 0)
- Attachment7.Name = "FaceFrontAttachment"
- Attachment7.Parent = Part3
- Attachment7.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment7.Position = Vector3.new(0, 0, -0.600000024)
- Attachment8.Name = "FaceCenterAttachment"
- Attachment8.Parent = Part3
- Decal9.Name = "face"
- Decal9.Parent = Part3
- Decal9.Texture = "http://www.roblox.com/asset/?id=10749463"
- BillboardGui10.Name = "HealthGui"
- BillboardGui10.Parent = Part3
- BillboardGui10.Size = UDim2.new(1.75, 0, 0.25, 0)
- BillboardGui10.StudsOffset = Vector3.new(0, 1.25, 0)
- Frame11.Name = "BG"
- Frame11.Parent = BillboardGui10
- Frame11.Size = UDim2.new(1, 0, 1, 0)
- Frame11.BackgroundColor3 = Color3.new(0.8, 0, 0)
- Frame11.BorderColor3 = Color3.new(0, 0, 0)
- Frame12.Name = "FG"
- Frame12.Parent = BillboardGui10
- Frame12.Size = UDim2.new(1, 0, 1, 0)
- Frame12.BackgroundColor3 = Color3.new(0, 0.8, 0)
- Frame12.BorderColor3 = Color3.new(0, 0, 0)
- Frame12.ZIndex = 2
- Animation13.Name = "Dance3"
- Animation13.Parent = Part3
- Animation13.AnimationId = "rbxassetid://182491368"
- Part14.Name = "HumanoidRootPart"
- Part14.Parent = Model2
- Part14.Transparency = 1
- Part14.CanCollide = false
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.Size = Vector3.new(2, 2, 1)
- Part14.CFrame = CFrame.new(450.839935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Position = Vector3.new(450.839935, 3.00001407, -744.649902)
- Motor6D15.Name = "RootJoint"
- Motor6D15.Parent = Part14
- Motor6D15.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D15.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D15.Part0 = Part14
- Motor6D15.Part1 = Part23
- Motor6D15.MaxVelocity = 0.10000000149012
- Part16.Name = "Left Arm"
- Part16.Parent = Model2
- Part16.BrickColor = BrickColor.new("Really black")
- Part16.CanCollide = false
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.Size = Vector3.new(1, 2, 1)
- Part16.CFrame = CFrame.new(449.339935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Position = Vector3.new(449.339935, 3.00001407, -744.649902)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Attachment17.Name = "LeftShoulderAttachment"
- Attachment17.Parent = Part16
- Attachment17.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment17.Position = Vector3.new(0, 1, 0)
- Part18.Name = "Left Leg"
- Part18.Parent = Model2
- Part18.BrickColor = BrickColor.new("Really black")
- Part18.CanCollide = false
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.Size = Vector3.new(1, 2, 1)
- Part18.CFrame = CFrame.new(450.339935, 1.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part18.Position = Vector3.new(450.339935, 1.00001407, -744.649902)
- Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part19.Name = "Right Arm"
- Part19.Parent = Model2
- Part19.BrickColor = BrickColor.new("Really black")
- Part19.CanCollide = false
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.Size = Vector3.new(1, 2, 1)
- Part19.CFrame = CFrame.new(452.339935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part19.Position = Vector3.new(452.339935, 3.00001407, -744.649902)
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Attachment20.Name = "RightShoulderAttachment"
- Attachment20.Parent = Part19
- Attachment20.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment20.Position = Vector3.new(0, 1, 0)
- Weld21.Name = "RightGrip"
- Weld21.Parent = Part19
- Weld21.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
- Weld21.C1 = CFrame.new(0, -2.29999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld21.Part0 = Part19
- Weld21.Part1 = Part93
- Part22.Name = "Right Leg"
- Part22.Parent = Model2
- Part22.BrickColor = BrickColor.new("Really black")
- Part22.CanCollide = false
- Part22.FormFactor = Enum.FormFactor.Symmetric
- Part22.Size = Vector3.new(1, 2, 1)
- Part22.CFrame = CFrame.new(451.339935, 1.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part22.Position = Vector3.new(451.339935, 1.00001407, -744.649902)
- Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part23.Name = "Torso"
- Part23.Parent = Model2
- Part23.BrickColor = BrickColor.new("Dark stone grey")
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.Size = Vector3.new(2, 2, 1)
- Part23.CFrame = CFrame.new(450.839935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part23.LeftSurface = Enum.SurfaceType.Weld
- Part23.RightSurface = Enum.SurfaceType.Weld
- Part23.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part23.Position = Vector3.new(450.839935, 3.00001407, -744.649902)
- Part23.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Decal24.Name = "roblox"
- Decal24.Parent = Part23
- Decal24.Texture = "http://www.roblox.com/asset/?id=278664920"
- Motor6D25.Name = "Right Shoulder"
- Motor6D25.Parent = Part23
- Motor6D25.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D25.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D25.Part0 = Part23
- Motor6D25.Part1 = Part19
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D26.Name = "Right Hip"
- Motor6D26.Parent = Part23
- Motor6D26.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.Part0 = Part23
- Motor6D26.Part1 = Part22
- Motor6D26.MaxVelocity = 0.10000000149012
- Motor6D27.Name = "Neck"
- Motor6D27.Parent = Part23
- Motor6D27.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D27.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D27.Part0 = Part23
- Motor6D27.Part1 = Part3
- Motor6D27.MaxVelocity = 0.10000000149012
- Motor6D28.Name = "Left Shoulder"
- Motor6D28.Parent = Part23
- Motor6D28.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D28.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D28.Part0 = Part23
- Motor6D28.Part1 = Part16
- Motor6D28.MaxVelocity = 0.10000000149012
- Motor6D29.Name = "Left Hip"
- Motor6D29.Parent = Part23
- Motor6D29.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D29.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D29.Part0 = Part23
- Motor6D29.Part1 = Part18
- Motor6D29.MaxVelocity = 0.10000000149012
- Attachment30.Name = "WaistFrontAttachment"
- Attachment30.Parent = Part23
- Attachment30.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment30.Position = Vector3.new(0, -1, -0.5)
- Attachment31.Name = "WaistCenterAttachment"
- Attachment31.Parent = Part23
- Attachment31.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment31.Position = Vector3.new(0, -1, 0)
- Attachment32.Name = "WaistBackAttachment"
- Attachment32.Parent = Part23
- Attachment32.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment32.Position = Vector3.new(0, -1, 0.5)
- Attachment33.Name = "RightCollarAttachment"
- Attachment33.Parent = Part23
- Attachment33.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment33.Position = Vector3.new(1, 1, 0)
- Attachment34.Name = "NeckAttachment"
- Attachment34.Parent = Part23
- Attachment34.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment34.Position = Vector3.new(0, 1, 0)
- Attachment35.Name = "LeftCollarAttachment"
- Attachment35.Parent = Part23
- Attachment35.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment35.Position = Vector3.new(-1, 1, 0)
- Attachment36.Name = "BodyFrontAttachment"
- Attachment36.Parent = Part23
- Attachment36.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment36.Position = Vector3.new(0, 0, -0.5)
- Attachment37.Name = "BodyBackAttachment"
- Attachment37.Parent = Part23
- Attachment37.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment37.Position = Vector3.new(0, 0, 0.5)
- Humanoid38.Parent = Model2
- Humanoid38.RightLeg = Part22
- Humanoid38.LeftLeg = Part18
- Humanoid38.Torso = Part14
- Accessory39.Name = "RainbowWings"
- Accessory39.Parent = Model2
- Accessory39.AttachmentPos = Vector3.new(0, 0.5, -1.04999995)
- Part40.Name = "Handle"
- Part40.Parent = Accessory39
- Part40.Transparency = 0.20000000298023
- Part40.CanCollide = false
- Part40.FormFactor = Enum.FormFactor.Symmetric
- Part40.Size = Vector3.new(1, 1.41999996, 1)
- Part40.CFrame = CFrame.new(450.839935, 4.50001431, -743.599609, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.Position = Vector3.new(450.839935, 4.50001431, -743.599609)
- SpecialMesh41.Parent = Part40
- SpecialMesh41.MeshId = "http://www.roblox.com/asset/?id=335060772 "
- SpecialMesh41.TextureId = "http://www.roblox.com/asset/?id=335060906"
- SpecialMesh41.MeshType = Enum.MeshType.FileMesh
- Attachment42.Name = "BodyBackAttachment"
- Attachment42.Parent = Part40
- Attachment42.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment42.CFrame = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment42.Position = Vector3.new(-9.09494702e-13, -1.50000024, -0.550272346)
- Attachment42.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment42.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Weld43.Name = "AccessoryWeld"
- Weld43.Parent = Part40
- Weld43.C0 = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld43.C1 = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld43.Part0 = Part40
- Weld43.Part1 = Part23
- Accessory44.Name = "FriendlySnowfOX"
- Accessory44.Parent = Model2
- Accessory44.AttachmentPos = Vector3.new(0, 1.79999995, 0)
- Part45.Name = "Handle"
- Part45.Parent = Accessory44
- Part45.CanCollide = false
- Part45.FormFactor = Enum.FormFactor.Custom
- Part45.Size = Vector3.new(0.720027149, 1.31999815, 1.91000271)
- Part45.CFrame = CFrame.new(451.839935, 4.65001392, -744.549927, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Position = Vector3.new(451.839935, 4.65001392, -744.549927)
- SpecialMesh46.Parent = Part45
- SpecialMesh46.MeshId = "rbxassetid://1241037817"
- SpecialMesh46.TextureId = "rbxassetid://1241038471"
- SpecialMesh46.MeshType = Enum.MeshType.FileMesh
- Attachment47.Name = "RightCollarAttachment"
- Attachment47.Parent = Part45
- Attachment47.CFrame = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment47.Position = Vector3.new(0, -0.649999976, -0.100000001)
- Weld48.Name = "AccessoryWeld"
- Weld48.Parent = Part45
- Weld48.C0 = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld48.C1 = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld48.Part0 = Part45
- Weld48.Part1 = Part23
- ShirtGraphic49.Parent = Model2
- ShirtGraphic49.Graphic = "http://www.roblox.com/asset/?id=278664920"
- Accessory50.Name = "HeadlightSoundGear"
- Accessory50.Parent = Model2
- Accessory50.AttachmentPos = Vector3.new(0, 0.25, 0)
- Part51.Name = "Handle"
- Part51.Parent = Accessory50
- Part51.CanCollide = false
- Part51.FormFactor = Enum.FormFactor.Custom
- Part51.Size = Vector3.new(1.5999999, 0.799999833, 0.599999845)
- Part51.CFrame = CFrame.new(450.839935, 4.75001431, -744.649658, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part51.BottomSurface = Enum.SurfaceType.Smooth
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.Position = Vector3.new(450.839935, 4.75001431, -744.649658)
- SpecialMesh52.Parent = Part51
- SpecialMesh52.MeshId = "http://www.roblox.com/asset/?id=54582024"
- SpecialMesh52.TextureId = "http://www.roblox.com/asset/?id=139600792 "
- SpecialMesh52.MeshType = Enum.MeshType.FileMesh
- Attachment53.Name = "HatAttachment"
- Attachment53.Parent = Part51
- Attachment53.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment53.CFrame = CFrame.new(8.65838956e-09, 0.349999905, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment53.Position = Vector3.new(8.65838956e-09, 0.349999905, -0.000272244215)
- Attachment53.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment53.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value54.Name = "OriginalSize"
- Vector3Value54.Parent = Part51
- Vector3Value54.Value = Vector3.new(1.5999999, 0.799999833, 0.599999845)
- Weld55.Name = "AccessoryWeld"
- Weld55.Parent = Part51
- Weld55.C0 = CFrame.new(8.65838956e-09, 0.349999905, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld55.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld55.Part0 = Part51
- Weld55.Part1 = Part3
- Accessory56.Name = "WingwsHeaddess"
- Accessory56.Parent = Model2
- Accessory56.AttachmentPos = Vector3.new(-0.0500000007, 0.00999999978, -0.0799999982)
- Part57.Name = "Handle"
- Part57.Parent = Accessory56
- Part57.CanCollide = false
- Part57.FormFactor = Enum.FormFactor.Symmetric
- Part57.Size = Vector3.new(1.4200002, 0.870000005, 1.40999985)
- Part57.CFrame = CFrame.new(450.84494, 5.08001423, -744.669922, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Position = Vector3.new(450.84494, 5.08001423, -744.669922)
- SpecialMesh58.Parent = Part57
- SpecialMesh58.MeshId = "http://www.roblox.com/asset/?id=581009766"
- SpecialMesh58.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- SpecialMesh58.TextureId = "http://www.roblox.com/asset/?id=581008916"
- SpecialMesh58.MeshType = Enum.MeshType.FileMesh
- SpecialMesh58.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- Attachment59.Name = "HatAttachment"
- Attachment59.Parent = Part57
- Attachment59.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment59.CFrame = CFrame.new(-0.00499999989, 0.0199999996, 0.0199999996, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment59.Position = Vector3.new(-0.00499999989, 0.0199999996, 0.0199999996)
- Attachment59.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment59.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value60.Name = "OriginalSize"
- Vector3Value60.Parent = Part57
- Vector3Value60.Value = Vector3.new(1.4200002, 0.870000005, 1.40999985)
- Weld61.Name = "AccessoryWeld"
- Weld61.Parent = Part57
- Weld61.C0 = CFrame.new(-0.00499999989, 0.0199999996, 0.0199999996, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld61.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld61.Part0 = Part57
- Weld61.Part1 = Part3
- Accessory62.Name = "8bitCatTail"
- Accessory62.Parent = Model2
- Accessory62.AttachmentPos = Vector3.new(0, 1.89999998, -0.899999976)
- Part63.Name = "Handle"
- Part63.Parent = Accessory62
- Part63.CanCollide = false
- Part63.FormFactor = Enum.FormFactor.Symmetric
- Part63.Size = Vector3.new(1.24999964, 1.1500001, 1.24000001)
- Part63.CFrame = CFrame.new(450.839935, 3.10001421, -743.749634, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Position = Vector3.new(450.839935, 3.10001421, -743.749634)
- SpecialMesh64.Parent = Part63
- SpecialMesh64.MeshId = "rbxassetid://542109971"
- SpecialMesh64.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh64.TextureId = "rbxassetid://542105636"
- SpecialMesh64.MeshType = Enum.MeshType.FileMesh
- SpecialMesh64.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- Attachment65.Name = "WaistFrontAttachment"
- Attachment65.Parent = Part63
- Attachment65.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment65.CFrame = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment65.Position = Vector3.new(1.1920838e-07, -1.10000014, -1.40027213)
- Attachment65.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment65.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Weld66.Name = "AccessoryWeld"
- Weld66.Parent = Part63
- Weld66.C0 = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld66.C1 = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld66.Part0 = Part63
- Weld66.Part1 = Part23
- Accessory67.Name = "BluesteelShades"
- Accessory67.Parent = Model2
- Accessory67.AttachmentPos = Vector3.new(0, 0.300000012, 0.150000006)
- Part68.Name = "Handle"
- Part68.Parent = Accessory67
- Part68.CanCollide = false
- Part68.FormFactor = Enum.FormFactor.Custom
- Part68.Size = Vector3.new(1.40003085, 0.400000006, 1.40000176)
- Part68.CFrame = CFrame.new(450.839935, 4.70001411, -744.799622, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part68.BottomSurface = Enum.SurfaceType.Smooth
- Part68.TopSurface = Enum.SurfaceType.Smooth
- Part68.Position = Vector3.new(450.839935, 4.70001411, -744.799622)
- SpecialMesh69.Parent = Part68
- SpecialMesh69.MeshId = "http://www.roblox.com/asset/?id=116526914 "
- SpecialMesh69.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- SpecialMesh69.TextureId = "http://www.roblox.com/asset/?id=139594977 "
- SpecialMesh69.MeshType = Enum.MeshType.FileMesh
- SpecialMesh69.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- Attachment70.Name = "FaceFrontAttachment"
- Attachment70.Parent = Part68
- Attachment70.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment70.CFrame = CFrame.new(3.93538357e-09, -0.199999809, -0.450272292, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment70.Position = Vector3.new(3.93538357e-09, -0.199999809, -0.450272292)
- Attachment70.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment70.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value71.Name = "OriginalSize"
- Vector3Value71.Parent = Part68
- Vector3Value71.Value = Vector3.new(1.40003085, 0.400000006, 1.40000176)
- Weld72.Name = "AccessoryWeld"
- Weld72.Parent = Part68
- Weld72.C0 = CFrame.new(3.93538357e-09, -0.199999809, -0.450272292, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld72.C1 = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld72.Part0 = Part68
- Weld72.Part1 = Part3
- Accessory73.Name = "MessyHairBlue"
- Accessory73.Parent = Model2
- Accessory73.AttachmentPos = Vector3.new(0.100000001, 0.400000006, -0.200000003)
- Part74.Name = "Handle"
- Part74.Parent = Accessory73
- Part74.CanCollide = false
- Part74.FormFactor = Enum.FormFactor.Custom
- Part74.Size = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Part74.CFrame = CFrame.new(450.739929, 4.60001421, -744.449646, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part74.BottomSurface = Enum.SurfaceType.Smooth
- Part74.TopSurface = Enum.SurfaceType.Smooth
- Part74.Position = Vector3.new(450.739929, 4.60001421, -744.449646)
- SpecialMesh75.Parent = Part74
- SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=76056263"
- SpecialMesh75.TextureId = "http://www.roblox.com/asset/?id=76055088"
- SpecialMesh75.MeshType = Enum.MeshType.FileMesh
- Attachment76.Name = "HairAttachment"
- Attachment76.Parent = Part74
- Attachment76.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment76.CFrame = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment76.Position = Vector3.new(0.100000009, 0.5, -0.200272247)
- Attachment76.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment76.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value77.Name = "OriginalSize"
- Vector3Value77.Parent = Part74
- Vector3Value77.Value = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Weld78.Name = "AccessoryWeld"
- Weld78.Parent = Part74
- Weld78.C0 = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld78.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld78.Part0 = Part74
- Weld78.Part1 = Part3
- Pants79.Name = "Pants"
- Pants79.Parent = Model2
- Pants79.PantsTemplate = "http://www.roblox.com/asset/?id=296341198"
- Accessory80.Name = "GemTie"
- Accessory80.Parent = Model2
- Accessory80.AttachmentPos = Vector3.new(0, 1.79999995, 0)
- Part81.Name = "Handle"
- Part81.Parent = Accessory80
- Part81.CanCollide = false
- Part81.FormFactor = Enum.FormFactor.Custom
- Part81.Size = Vector3.new(2.31002712, 0.70999819, 1.91000271)
- Part81.CFrame = CFrame.new(450.839935, 3.80001402, -745.19989, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part81.BottomSurface = Enum.SurfaceType.Smooth
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.Position = Vector3.new(450.839935, 3.80001402, -745.19989)
- SpecialMesh82.Parent = Part81
- SpecialMesh82.MeshId = "rbxassetid://1423138090"
- SpecialMesh82.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh82.TextureId = "rbxassetid://1423138617"
- SpecialMesh82.MeshType = Enum.MeshType.FileMesh
- SpecialMesh82.Scale = Vector3.new(1.5, 1.5, 1.5)
- Attachment83.Name = "NeckAttachment"
- Attachment83.Parent = Part81
- Attachment83.CFrame = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment83.Position = Vector3.new(0, 0.200000003, 0.550000012)
- Weld84.Name = "AccessoryWeld"
- Weld84.Parent = Part81
- Weld84.C0 = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld84.C1 = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld84.Part0 = Part81
- Weld84.Part1 = Part23
- Accessory85.Name = "NeonGreenAnimalHood"
- Accessory85.Parent = Model2
- Accessory85.AttachmentPos = Vector3.new(0, -0.0299999993, 0.0500000007)
- Part86.Name = "Handle"
- Part86.Parent = Accessory85
- Part86.CanCollide = false
- Part86.FormFactor = Enum.FormFactor.Custom
- Part86.Size = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Part86.CFrame = CFrame.new(450.839935, 5.03001451, -744.699646, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.Position = Vector3.new(450.839935, 5.03001451, -744.699646)
- SpecialMesh87.Parent = Part86
- SpecialMesh87.MeshId = "rbxassetid://135446047"
- SpecialMesh87.Scale = Vector3.new(1, 1.10000002, 1)
- SpecialMesh87.TextureId = "rbxassetid://1134835201"
- SpecialMesh87.MeshType = Enum.MeshType.FileMesh
- SpecialMesh87.Scale = Vector3.new(1, 1.10000002, 1)
- Attachment88.Name = "HatAttachment"
- Attachment88.Parent = Part86
- Attachment88.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment88.CFrame = CFrame.new(8.65748007e-09, 0.0699996948, 0.0497277565, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Attachment88.Position = Vector3.new(8.65748007e-09, 0.0699996948, 0.0497277565)
- Attachment88.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment88.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value89.Name = "OriginalSize"
- Vector3Value89.Parent = Part86
- Vector3Value89.Value = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Weld90.Name = "AccessoryWeld"
- Weld90.Parent = Part86
- Weld90.C0 = CFrame.new(8.65748007e-09, 0.0699996948, 0.0497277565, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
- Weld90.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld90.Part0 = Part86
- Weld90.Part1 = Part3
- BodyColors91.Parent = Model2
- BodyColors91.HeadColor = BrickColor.new("White")
- BodyColors91.LeftArmColor = BrickColor.new("Really black")
- BodyColors91.LeftLegColor = BrickColor.new("Really black")
- BodyColors91.RightArmColor = BrickColor.new("Really black")
- BodyColors91.RightLegColor = BrickColor.new("Really black")
- BodyColors91.TorsoColor = BrickColor.new("Dark stone grey")
- Tool92.Name = "MainSword"
- Tool92.Parent = Model2
- Tool92.TextureId = "http://www.roblox.com/asset/?id=120894242"
- Tool92.GripPos = Vector3.new(0, -2.29999995, 0)
- Part93.Name = "Handle"
- Part93.Parent = Tool92
- Part93.BrickColor = BrickColor.new("Really black")
- Part93.Reflectance = 123123122176
- Part93.Rotation = Vector3.new(-90, 0, 0)
- Part93.CanCollide = false
- Part93.FormFactor = Enum.FormFactor.Custom
- Part93.Size = Vector3.new(1, 0.800000012, 4)
- Part93.CFrame = CFrame.new(452.339935, 2.00001407, -746.94989, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part93.Position = Vector3.new(452.339935, 2.00001407, -746.94989)
- Part93.Orientation = Vector3.new(-90, 0, 0)
- Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- PointLight94.Name = "PointLight2"
- PointLight94.Parent = Part93
- PointLight94.Color = Color3.new(0.666667, 0, 1)
- PointLight94.Brightness = 0.20000000298023
- PointLight94.Range = 30
- PointLight94.Shadows = true
- PointLight94.Color = Color3.new(0.666667, 0, 1)
- PointLight95.Parent = Part93
- PointLight95.Color = Color3.new(0.72549, 0.278431, 1)
- PointLight95.Brightness = 0.75
- PointLight95.Range = 15
- PointLight95.Shadows = true
- PointLight95.Color = Color3.new(0.72549, 0.278431, 1)
- Script96.Name = "DamegeFunc"
- Script96.Parent = Part93
- table.insert(cors,sandbox(Script96,function()
- Damege = script.Parent.Parent.Parent.AttackDamege.Value
- CanAttack = script.Parent.Parent.Parent.CanDamegePlayers.Value
- Timer = script.BasicTimer
- Disabled = script.Disabled
- if CanAttack == true then
- function onTouched(hit)
- local human = hit.Parent:findFirstChild("Humanoid")
- if (human ~= nil) then
- human.Health = human.Health - Damege
- end
- end
- end
- function mem()
- Disabled = true
- Timer.Disabled = false
- end
- --if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
- -- connection = script.Parent.Touched:connect(onTouched)
- --end -- Grass Troll by RangeMeludE --
- script.Parent.Touched:connect(onTouched)
- script.Parent.Touched:connect(mem)
- end))
- Script97.Name = "BasicTimer"
- Script97.Parent = Script96
- Script97.Disabled = true
- table.insert(cors,sandbox(Script97,function()
- print("This is just a basic timer script incase of damege")
- wait(5)--This Setting Is Changable I Recommend To Set The Time About 5 or 8, If you want it to attack once change it to something like 13791237128392198312983128937219372817313 or "9e1" or maby "18e5"
- script.Parent.Disabled = false
- script.Disabled = true
- end))
- Sparkles98.Parent = Part93
- Sparkles98.Enabled = false
- Fire99.Parent = Part93
- Fire99.Color = Color3.new(0.333333, 0, 1)
- Fire99.Enabled = false
- Fire99.SecondaryColor = Color3.new(0, 0, 0)
- Fire99.Color = Color3.new(0.333333, 0, 1)
- SpecialMesh100.Parent = Part93
- SpecialMesh100.MeshId = "http://www.roblox.com/asset/?id=94840342"
- SpecialMesh100.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
- SpecialMesh100.TextureId = "rbxassetid://120869251"
- SpecialMesh100.MeshType = Enum.MeshType.FileMesh
- SpecialMesh100.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
- BoolValue101.Name = "Azure"
- BoolValue101.Parent = Tool92
- BoolValue102.Name = "Normal"
- BoolValue102.Parent = Tool92
- BoolValue103.Name = "Special"
- BoolValue103.Parent = Tool92
- Script104.Parent = Tool92
- table.insert(cors,sandbox(Script104,function()
- Value2 = script.Parent.Parent.SwordMesh.Value
- if Value2 == true then--Sword Mesh Change
- print("Sword Mesh Value Has Been Enabled")
- script.Parent.Azure2.Disabled = false
- script.Parent.Special2.Disabled = false
- script.Parent.Normal2.Disabled = false
- end
- end))
- Script105.Name = "Azure2"
- Script105.Parent = Tool92
- Script105.Disabled = true
- table.insert(cors,sandbox(Script105,function()
- Azure = script.Parent.Azure.Value
- if Azure == true then--Sword Mesh Change
- script.Parent.Handle.Transparency = 0
- script.Parent.Handle.Sparkles.Enabled = true
- script.Parent.Handle.PointLight.Enabled = true
- script.Parent.Handle.PointLight2.Enabled = true
- script.Parent.Handle.Fire.Enabled = true
- end
- end))
- Script106.Name = "Normal22"
- Script106.Parent = Tool92
- Script106.Disabled = true
- table.insert(cors,sandbox(Script106,function()
- Niled = script.Parent.Normal.Value
- if Niled == true then--Sword Mesh Change
- script.Parent.Handle.Mesh.TextureId = "rbxasset://textures/SwordTexture.png"--DON'T CHANGE
- script.Parent.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=94840342"
- script.Parent.Handle.PointLight.Enabled = false
- script.Parent.Handle.PointLight2.Enabled = false
- end
- end))
- Script107.Name = "Special2"
- Script107.Parent = Tool92
- Script107.Disabled = true
- table.insert(cors,sandbox(Script107,function()
- Special = script.Parent.Special.Value
- if Special == true then--Sword Mesh Change
- script.Parent.Handle.Mesh.TextureId = ""--DON'T CHANGE
- script.Parent.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=94840342"
- script.Parent.Handle.Reflectance = 1
- script.Parent.Handle.Sparkles.Enabled = true
- script.Parent.Handle.PointLight.Enabled = false
- script.Parent.Handle.PointLight2.Enabled = false
- end
- end))
- Script108.Parent = Model2
- table.insert(cors,sandbox(Script108,function()
- VALUE = script.Parent.IsNPC.Value
- if VALUE == false then -- if the value is set to false or true, if its false the bool has to be false to make the follow to work, if its true then the npc can follow player if its true
- local larm = script.Parent:FindFirstChild("Left Arm")
- local rarm = script.Parent:FindFirstChild("Right Arm")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 30--this makes the npc to follow people for a distance value
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("UpperTorso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(math.random(1,1))
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil then
- script.Parent.Humanoid:MoveTo(target.Position, target)
- end
- end
- end
- end))
- BoolValue109.Name = "IsNPC"
- BoolValue109.Parent = Model2
- IntValue110.Name = "AttackDamege"
- IntValue110.Parent = Model2
- IntValue110.Value = 3
- BoolValue111.Name = "CanDamegePlayers"
- BoolValue111.Parent = Model2
- BoolValue111.Value = true
- BoolValue112.Name = "SwordMesh"
- BoolValue112.Parent = Model2
- BoolValue112.Value = true
- Script113.Name = "Animation"
- Script113.Parent = Model2
- table.insert(cors,sandbox(Script113,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- setup emote chat hook
- ----Removed for NPC
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- Script114.Name = "RunNub"
- Script114.Parent = Model2
- table.insert(cors,sandbox(Script114,function()
- --[[
- A basic script by nived130
- --]]
- function damege()
- local char = script.Parent
- local humanoid = char.Humanoid
- local head = char.Head
- local w = humanoid:LoadAnimation(head.Dance3)
- w:Play()
- end
- script.Parent.Head.Touched:connect(damege)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement