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
- Part0 = Instance.new("Part")
- Backpack1 = Instance.new("Backpack")
- Backpack2 = Instance.new("Backpack")
- Model3 = Instance.new("Model")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Attachment6 = Instance.new("Attachment")
- Attachment7 = Instance.new("Attachment")
- Attachment8 = Instance.new("Attachment")
- Attachment9 = Instance.new("Attachment")
- Decal10 = Instance.new("Decal")
- Part11 = Instance.new("Part")
- Motor6D12 = Instance.new("Motor6D")
- Part13 = Instance.new("Part")
- Attachment14 = Instance.new("Attachment")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Attachment17 = Instance.new("Attachment")
- Weld18 = Instance.new("Weld")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Decal21 = Instance.new("Decal")
- Motor6D22 = Instance.new("Motor6D")
- Motor6D23 = Instance.new("Motor6D")
- Motor6D24 = Instance.new("Motor6D")
- Motor6D25 = Instance.new("Motor6D")
- Motor6D26 = Instance.new("Motor6D")
- Attachment27 = Instance.new("Attachment")
- Attachment28 = Instance.new("Attachment")
- Attachment29 = Instance.new("Attachment")
- Attachment30 = Instance.new("Attachment")
- Attachment31 = Instance.new("Attachment")
- Attachment32 = Instance.new("Attachment")
- Attachment33 = Instance.new("Attachment")
- Attachment34 = Instance.new("Attachment")
- Humanoid35 = Instance.new("Humanoid")
- Accessory36 = Instance.new("Accessory")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Attachment39 = Instance.new("Attachment")
- Weld40 = Instance.new("Weld")
- Accessory41 = Instance.new("Accessory")
- Part42 = Instance.new("Part")
- SpecialMesh43 = Instance.new("SpecialMesh")
- Attachment44 = Instance.new("Attachment")
- Weld45 = Instance.new("Weld")
- ShirtGraphic46 = Instance.new("ShirtGraphic")
- Accessory47 = Instance.new("Accessory")
- Part48 = Instance.new("Part")
- SpecialMesh49 = Instance.new("SpecialMesh")
- Attachment50 = Instance.new("Attachment")
- Vector3Value51 = Instance.new("Vector3Value")
- Weld52 = Instance.new("Weld")
- Accessory53 = Instance.new("Accessory")
- Part54 = Instance.new("Part")
- SpecialMesh55 = Instance.new("SpecialMesh")
- Attachment56 = Instance.new("Attachment")
- Vector3Value57 = Instance.new("Vector3Value")
- Weld58 = Instance.new("Weld")
- Accessory59 = Instance.new("Accessory")
- Part60 = Instance.new("Part")
- SpecialMesh61 = Instance.new("SpecialMesh")
- Attachment62 = Instance.new("Attachment")
- Weld63 = Instance.new("Weld")
- Accessory64 = Instance.new("Accessory")
- Part65 = Instance.new("Part")
- SpecialMesh66 = Instance.new("SpecialMesh")
- Attachment67 = Instance.new("Attachment")
- Vector3Value68 = Instance.new("Vector3Value")
- Weld69 = Instance.new("Weld")
- Accessory70 = Instance.new("Accessory")
- Part71 = Instance.new("Part")
- SpecialMesh72 = Instance.new("SpecialMesh")
- Attachment73 = Instance.new("Attachment")
- Vector3Value74 = Instance.new("Vector3Value")
- Weld75 = Instance.new("Weld")
- Pants76 = Instance.new("Pants")
- Accessory77 = Instance.new("Accessory")
- Part78 = Instance.new("Part")
- SpecialMesh79 = Instance.new("SpecialMesh")
- Attachment80 = Instance.new("Attachment")
- Weld81 = Instance.new("Weld")
- Accessory82 = Instance.new("Accessory")
- Part83 = Instance.new("Part")
- SpecialMesh84 = Instance.new("SpecialMesh")
- Attachment85 = Instance.new("Attachment")
- Vector3Value86 = Instance.new("Vector3Value")
- Weld87 = Instance.new("Weld")
- BodyColors88 = Instance.new("BodyColors")
- Tool89 = Instance.new("Tool")
- Part90 = Instance.new("Part")
- PointLight91 = Instance.new("PointLight")
- PointLight92 = Instance.new("PointLight")
- Script93 = Instance.new("Script")
- Script94 = Instance.new("Script")
- Sparkles95 = Instance.new("Sparkles")
- Fire96 = Instance.new("Fire")
- SpecialMesh97 = Instance.new("SpecialMesh")
- BoolValue98 = Instance.new("BoolValue")
- BoolValue99 = Instance.new("BoolValue")
- BoolValue100 = Instance.new("BoolValue")
- Script101 = Instance.new("Script")
- Script102 = Instance.new("Script")
- Script103 = Instance.new("Script")
- Script104 = Instance.new("Script")
- Script105 = Instance.new("Script")
- BoolValue106 = Instance.new("BoolValue")
- IntValue107 = Instance.new("IntValue")
- BoolValue108 = Instance.new("BoolValue")
- BoolValue109 = Instance.new("BoolValue")
- Script110 = Instance.new("Script")
- Part0.Name = "Baseplate"
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Dark stone grey")
- Part0.Anchored = true
- Part0.Locked = true
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.Size = Vector3.new(512, 20, 512)
- Part0.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part0.Position = Vector3.new(0, -10, 0)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Backpack1.Name = "_CPData"
- Backpack1.Parent = mas
- Backpack2.Name = "_CPData"
- Backpack2.Parent = mas
- Model3.Name = "Animescapetower"
- Model3.Parent = mas
- Model3.PrimaryPart = Part11
- Part4.Name = "Head"
- Part4.Parent = Model3
- Part4.BrickColor = BrickColor.new("White")
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.Size = Vector3.new(2, 1, 1)
- Part4.CFrame = CFrame.new(9.25994778, 4.50001717, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part4.Position = Vector3.new(9.25994778, 4.50001717, -21.4899559)
- Part4.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh5.Parent = Part4
- SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
- Attachment6.Name = "HatAttachment"
- Attachment6.Parent = Part4
- 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 = "HairAttachment"
- Attachment7.Parent = Part4
- Attachment7.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment7.Position = Vector3.new(0, 0.600000024, 0)
- Attachment8.Name = "FaceFrontAttachment"
- Attachment8.Parent = Part4
- Attachment8.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment8.Position = Vector3.new(0, 0, -0.600000024)
- Attachment9.Name = "FaceCenterAttachment"
- Attachment9.Parent = Part4
- Decal10.Name = "face"
- Decal10.Parent = Part4
- Decal10.Texture = "http://www.roblox.com/asset/?id=10749463"
- Part11.Name = "HumanoidRootPart"
- Part11.Parent = Model3
- Part11.Transparency = 1
- Part11.CanCollide = false
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.Size = Vector3.new(2, 2, 1)
- Part11.CFrame = CFrame.new(9.25994778, 3.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Position = Vector3.new(9.25994778, 3.00001693, -21.4899559)
- Motor6D12.Name = "RootJoint"
- Motor6D12.Parent = Part11
- Motor6D12.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D12.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D12.Part0 = Part11
- Motor6D12.Part1 = Part20
- Motor6D12.MaxVelocity = 0.10000000149012
- Part13.Name = "Left Arm"
- Part13.Parent = Model3
- Part13.BrickColor = BrickColor.new("Really black")
- Part13.CanCollide = false
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.Size = Vector3.new(1, 2, 1)
- Part13.CFrame = CFrame.new(7.75994778, 3.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part13.Position = Vector3.new(7.75994778, 3.00001693, -21.4899559)
- Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Attachment14.Name = "LeftShoulderAttachment"
- Attachment14.Parent = Part13
- Attachment14.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment14.Position = Vector3.new(0, 1, 0)
- Part15.Name = "Left Leg"
- Part15.Parent = Model3
- Part15.BrickColor = BrickColor.new("Really black")
- Part15.CanCollide = false
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.Size = Vector3.new(1, 2, 1)
- Part15.CFrame = CFrame.new(8.75994778, 1.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part15.Position = Vector3.new(8.75994778, 1.00001693, -21.4899559)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Name = "Right Arm"
- Part16.Parent = Model3
- 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(10.7599478, 3.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Position = Vector3.new(10.7599478, 3.00001693, -21.4899559)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Attachment17.Name = "RightShoulderAttachment"
- 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)
- Weld18.Name = "RightGrip"
- Weld18.Parent = Part16
- Weld18.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
- Weld18.C1 = CFrame.new(0, -2.29999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld18.Part0 = Part16
- Weld18.Part1 = Part90
- Part19.Name = "Right Leg"
- Part19.Parent = Model3
- 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(9.75994778, 1.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part19.Position = Vector3.new(9.75994778, 1.00001693, -21.4899559)
- Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part20.Name = "Torso"
- Part20.Parent = Model3
- Part20.BrickColor = BrickColor.new("Dark stone grey")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.Size = Vector3.new(2, 2, 1)
- Part20.CFrame = CFrame.new(9.25994778, 3.00001693, -21.4899559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part20.LeftSurface = Enum.SurfaceType.Weld
- Part20.RightSurface = Enum.SurfaceType.Weld
- Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part20.Position = Vector3.new(9.25994778, 3.00001693, -21.4899559)
- Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Decal21.Name = "roblox"
- Decal21.Parent = Part20
- Decal21.Texture = "http://www.roblox.com/asset/?id=278664920"
- Motor6D22.Name = "Right Shoulder"
- Motor6D22.Parent = Part20
- Motor6D22.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D22.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D22.Part0 = Part20
- Motor6D22.Part1 = Part16
- Motor6D22.MaxVelocity = 0.10000000149012
- Motor6D23.Name = "Right Hip"
- Motor6D23.Parent = Part20
- Motor6D23.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D23.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D23.Part0 = Part20
- Motor6D23.Part1 = Part19
- Motor6D23.MaxVelocity = 0.10000000149012
- Motor6D24.Name = "Neck"
- Motor6D24.Parent = Part20
- Motor6D24.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D24.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D24.Part0 = Part20
- Motor6D24.Part1 = Part4
- Motor6D24.MaxVelocity = 0.10000000149012
- Motor6D25.Name = "Left Shoulder"
- Motor6D25.Parent = Part20
- 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 = Part20
- Motor6D25.Part1 = Part13
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D26.Name = "Left Hip"
- Motor6D26.Parent = Part20
- 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 = Part20
- Motor6D26.Part1 = Part15
- Motor6D26.MaxVelocity = 0.10000000149012
- Attachment27.Name = "WaistFrontAttachment"
- Attachment27.Parent = Part20
- Attachment27.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment27.Position = Vector3.new(0, -1, -0.5)
- Attachment28.Name = "WaistCenterAttachment"
- Attachment28.Parent = Part20
- Attachment28.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment28.Position = Vector3.new(0, -1, 0)
- Attachment29.Name = "WaistBackAttachment"
- Attachment29.Parent = Part20
- Attachment29.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment29.Position = Vector3.new(0, -1, 0.5)
- Attachment30.Name = "RightCollarAttachment"
- Attachment30.Parent = Part20
- Attachment30.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment30.Position = Vector3.new(1, 1, 0)
- Attachment31.Name = "NeckAttachment"
- Attachment31.Parent = Part20
- 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 = "LeftCollarAttachment"
- Attachment32.Parent = Part20
- Attachment32.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment32.Position = Vector3.new(-1, 1, 0)
- Attachment33.Name = "BodyFrontAttachment"
- Attachment33.Parent = Part20
- Attachment33.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment33.Position = Vector3.new(0, 0, -0.5)
- Attachment34.Name = "BodyBackAttachment"
- Attachment34.Parent = Part20
- Attachment34.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment34.Position = Vector3.new(0, 0, 0.5)
- Humanoid35.Parent = Model3
- Humanoid35.RightLeg = Part19
- Humanoid35.LeftLeg = Part15
- Humanoid35.Torso = Part11
- Accessory36.Name = "RainbowWings"
- Accessory36.Parent = Model3
- Accessory36.AttachmentPos = Vector3.new(0, 0.5, -1.04999995)
- Part37.Name = "Handle"
- Part37.Parent = Accessory36
- Part37.Transparency = 0.20000000298023
- Part37.CanCollide = false
- Part37.FormFactor = Enum.FormFactor.Symmetric
- Part37.Size = Vector3.new(1, 1.41999996, 1)
- Part37.CFrame = CFrame.new(9.25994778, 4.50001717, -20.4396839, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Position = Vector3.new(9.25994778, 4.50001717, -20.4396839)
- SpecialMesh38.Parent = Part37
- SpecialMesh38.MeshId = "http://www.roblox.com/asset/?id=335060772 "
- SpecialMesh38.TextureId = "http://www.roblox.com/asset/?id=335060906"
- SpecialMesh38.MeshType = Enum.MeshType.FileMesh
- Attachment39.Name = "BodyBackAttachment"
- Attachment39.Parent = Part37
- Attachment39.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment39.CFrame = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment39.Position = Vector3.new(-9.09494702e-13, -1.50000024, -0.550272346)
- Attachment39.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment39.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Weld40.Name = "AccessoryWeld"
- Weld40.Parent = Part37
- Weld40.C0 = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld40.C1 = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld40.Part0 = Part37
- Weld40.Part1 = Part20
- Accessory41.Name = "FriendlySnowfOX"
- Accessory41.Parent = Model3
- Accessory41.AttachmentPos = Vector3.new(0, 1.79999995, 0)
- Part42.Name = "Handle"
- Part42.Parent = Accessory41
- Part42.CanCollide = false
- Part42.FormFactor = Enum.FormFactor.Custom
- Part42.Size = Vector3.new(0.720027149, 1.31999815, 1.91000271)
- Part42.CFrame = CFrame.new(10.2599478, 4.65001678, -21.3899555, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part42.BottomSurface = Enum.SurfaceType.Smooth
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.Position = Vector3.new(10.2599478, 4.65001678, -21.3899555)
- SpecialMesh43.Parent = Part42
- SpecialMesh43.MeshId = "rbxassetid://1241037817"
- SpecialMesh43.TextureId = "rbxassetid://1241038471"
- SpecialMesh43.MeshType = Enum.MeshType.FileMesh
- Attachment44.Name = "RightCollarAttachment"
- Attachment44.Parent = Part42
- Attachment44.CFrame = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment44.Position = Vector3.new(0, -0.649999976, -0.100000001)
- Weld45.Name = "AccessoryWeld"
- Weld45.Parent = Part42
- Weld45.C0 = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld45.C1 = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld45.Part0 = Part42
- Weld45.Part1 = Part20
- ShirtGraphic46.Parent = Model3
- ShirtGraphic46.Graphic = "http://www.roblox.com/asset/?id=278664920"
- Accessory47.Name = "HeadlightSoundGear"
- Accessory47.Parent = Model3
- Accessory47.AttachmentPos = Vector3.new(0, 0.25, 0)
- Part48.Name = "Handle"
- Part48.Parent = Accessory47
- Part48.CanCollide = false
- Part48.FormFactor = Enum.FormFactor.Custom
- Part48.Size = Vector3.new(1.5999999, 0.799999833, 0.599999845)
- Part48.CFrame = CFrame.new(9.25994778, 4.75001717, -21.4896832, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part48.BottomSurface = Enum.SurfaceType.Smooth
- Part48.TopSurface = Enum.SurfaceType.Smooth
- Part48.Position = Vector3.new(9.25994778, 4.75001717, -21.4896832)
- SpecialMesh49.Parent = Part48
- SpecialMesh49.MeshId = "http://www.roblox.com/asset/?id=54582024"
- SpecialMesh49.TextureId = "http://www.roblox.com/asset/?id=139600792 "
- SpecialMesh49.MeshType = Enum.MeshType.FileMesh
- Attachment50.Name = "HatAttachment"
- Attachment50.Parent = Part48
- Attachment50.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment50.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)
- Attachment50.Position = Vector3.new(8.65838956e-09, 0.349999905, -0.000272244215)
- Attachment50.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment50.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value51.Name = "OriginalSize"
- Vector3Value51.Parent = Part48
- Vector3Value51.Value = Vector3.new(1.5999999, 0.799999833, 0.599999845)
- Weld52.Name = "AccessoryWeld"
- Weld52.Parent = Part48
- Weld52.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)
- Weld52.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld52.Part0 = Part48
- Weld52.Part1 = Part4
- Accessory53.Name = "WingwsHeaddess"
- Accessory53.Parent = Model3
- Accessory53.AttachmentPos = Vector3.new(-0.0500000007, 0.00999999978, -0.0799999982)
- Part54.Name = "Handle"
- Part54.Parent = Accessory53
- Part54.CanCollide = false
- Part54.FormFactor = Enum.FormFactor.Symmetric
- Part54.Size = Vector3.new(1.4200002, 0.870000005, 1.40999985)
- Part54.CFrame = CFrame.new(9.26494789, 5.08001709, -21.5099564, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part54.BottomSurface = Enum.SurfaceType.Smooth
- Part54.TopSurface = Enum.SurfaceType.Smooth
- Part54.Position = Vector3.new(9.26494789, 5.08001709, -21.5099564)
- SpecialMesh55.Parent = Part54
- SpecialMesh55.MeshId = "http://www.roblox.com/asset/?id=581009766"
- SpecialMesh55.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- SpecialMesh55.TextureId = "http://www.roblox.com/asset/?id=581008916"
- SpecialMesh55.MeshType = Enum.MeshType.FileMesh
- SpecialMesh55.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- Attachment56.Name = "HatAttachment"
- Attachment56.Parent = Part54
- Attachment56.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment56.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)
- Attachment56.Position = Vector3.new(-0.00499999989, 0.0199999996, 0.0199999996)
- Attachment56.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment56.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value57.Name = "OriginalSize"
- Vector3Value57.Parent = Part54
- Vector3Value57.Value = Vector3.new(1.4200002, 0.870000005, 1.40999985)
- Weld58.Name = "AccessoryWeld"
- Weld58.Parent = Part54
- Weld58.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)
- Weld58.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld58.Part0 = Part54
- Weld58.Part1 = Part4
- Accessory59.Name = "8bitCatTail"
- Accessory59.Parent = Model3
- Accessory59.AttachmentPos = Vector3.new(0, 1.89999998, -0.899999976)
- Part60.Name = "Handle"
- Part60.Parent = Accessory59
- Part60.CanCollide = false
- Part60.FormFactor = Enum.FormFactor.Symmetric
- Part60.Size = Vector3.new(1.24999964, 1.1500001, 1.24000001)
- Part60.CFrame = CFrame.new(9.25994778, 3.10001707, -20.5896835, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
- Part60.BottomSurface = Enum.SurfaceType.Smooth
- Part60.TopSurface = Enum.SurfaceType.Smooth
- Part60.Position = Vector3.new(9.25994778, 3.10001707, -20.5896835)
- SpecialMesh61.Parent = Part60
- SpecialMesh61.MeshId = "rbxassetid://542109971"
- SpecialMesh61.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- SpecialMesh61.TextureId = "rbxassetid://542105636"
- SpecialMesh61.MeshType = Enum.MeshType.FileMesh
- SpecialMesh61.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- Attachment62.Name = "WaistFrontAttachment"
- Attachment62.Parent = Part60
- Attachment62.Rotation = Vector3.new(0, 0, 3.91582454e-29)
- Attachment62.CFrame = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Attachment62.Position = Vector3.new(1.1920838e-07, -1.10000014, -1.40027213)
- Attachment62.Axis = Vector3.new(1, 6.83440315e-31, 0)
- Attachment62.Orientation = Vector3.new(0, 0, 3.91582454e-29)
- Weld63.Name = "AccessoryWeld"
- Weld63.Parent = Part60
- Weld63.C0 = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
- Weld63.C1 = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld63.Part0 = Part60
- Weld63.Part1 = Part20
- Accessory64.Name = "BluesteelShades"
- Accessory64.Parent = Model3
- Accessory64.AttachmentPos = Vector3.new(0, 0.300000012, 0.150000006)
- Part65.Name = "Handle"
- Part65.Parent = Accessory64
- Part65.CanCollide = false
- Part65.FormFactor = Enum.FormFactor.Custom
- Part65.Size = Vector3.new(1.40003085, 0.400000006, 1.40000176)
- Part65.CFrame = CFrame.new(9.25994778, 4.70001698, -21.6396828, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part65.BottomSurface = Enum.SurfaceType.Smooth
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.Position = Vector3.new(9.25994778, 4.70001698, -21.6396828)
- SpecialMesh66.Parent = Part65
- SpecialMesh66.MeshId = "http://www.roblox.com/asset/?id=116526914 "
- SpecialMesh66.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- SpecialMesh66.TextureId = "http://www.roblox.com/asset/?id=139594977 "
- SpecialMesh66.MeshType = Enum.MeshType.FileMesh
- SpecialMesh66.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
- Attachment67.Name = "FaceFrontAttachment"
- Attachment67.Parent = Part65
- Attachment67.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment67.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)
- Attachment67.Position = Vector3.new(3.93538357e-09, -0.199999809, -0.450272292)
- Attachment67.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment67.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value68.Name = "OriginalSize"
- Vector3Value68.Parent = Part65
- Vector3Value68.Value = Vector3.new(1.40003085, 0.400000006, 1.40000176)
- Weld69.Name = "AccessoryWeld"
- Weld69.Parent = Part65
- Weld69.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)
- Weld69.C1 = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld69.Part0 = Part65
- Weld69.Part1 = Part4
- Accessory70.Name = "MessyHairBlue"
- Accessory70.Parent = Model3
- Accessory70.AttachmentPos = Vector3.new(0.100000001, 0.400000006, -0.200000003)
- Part71.Name = "Handle"
- Part71.Parent = Accessory70
- Part71.CanCollide = false
- Part71.FormFactor = Enum.FormFactor.Custom
- Part71.Size = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Part71.CFrame = CFrame.new(9.1599474, 4.60001707, -21.2896843, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part71.BottomSurface = Enum.SurfaceType.Smooth
- Part71.TopSurface = Enum.SurfaceType.Smooth
- Part71.Position = Vector3.new(9.1599474, 4.60001707, -21.2896843)
- SpecialMesh72.Parent = Part71
- SpecialMesh72.MeshId = "http://www.roblox.com/asset/?id=76056263"
- SpecialMesh72.TextureId = "http://www.roblox.com/asset/?id=76055088"
- SpecialMesh72.MeshType = Enum.MeshType.FileMesh
- Attachment73.Name = "HairAttachment"
- Attachment73.Parent = Part71
- Attachment73.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment73.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)
- Attachment73.Position = Vector3.new(0.100000009, 0.5, -0.200272247)
- Attachment73.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment73.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value74.Name = "OriginalSize"
- Vector3Value74.Parent = Part71
- Vector3Value74.Value = Vector3.new(1.99999928, 1.79999995, 2.00000024)
- Weld75.Name = "AccessoryWeld"
- Weld75.Parent = Part71
- Weld75.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)
- Weld75.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld75.Part0 = Part71
- Weld75.Part1 = Part4
- Pants76.Name = "Pants"
- Pants76.Parent = Model3
- Pants76.PantsTemplate = "http://www.roblox.com/asset/?id=296341198"
- Accessory77.Name = "GemTie"
- Accessory77.Parent = Model3
- Accessory77.AttachmentPos = Vector3.new(0, 1.79999995, 0)
- Part78.Name = "Handle"
- Part78.Parent = Accessory77
- Part78.CanCollide = false
- Part78.FormFactor = Enum.FormFactor.Custom
- Part78.Size = Vector3.new(2.31002712, 0.70999819, 1.91000271)
- Part78.CFrame = CFrame.new(9.25994778, 3.80001688, -22.0399551, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part78.BottomSurface = Enum.SurfaceType.Smooth
- Part78.TopSurface = Enum.SurfaceType.Smooth
- Part78.Position = Vector3.new(9.25994778, 3.80001688, -22.0399551)
- SpecialMesh79.Parent = Part78
- SpecialMesh79.MeshId = "rbxassetid://1423138090"
- SpecialMesh79.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh79.TextureId = "rbxassetid://1423138617"
- SpecialMesh79.MeshType = Enum.MeshType.FileMesh
- SpecialMesh79.Scale = Vector3.new(1.5, 1.5, 1.5)
- Attachment80.Name = "NeckAttachment"
- Attachment80.Parent = Part78
- Attachment80.CFrame = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Attachment80.Position = Vector3.new(0, 0.200000003, 0.550000012)
- Weld81.Name = "AccessoryWeld"
- Weld81.Parent = Part78
- Weld81.C0 = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld81.C1 = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld81.Part0 = Part78
- Weld81.Part1 = Part20
- Accessory82.Name = "NeonGreenAnimalHood"
- Accessory82.Parent = Model3
- Accessory82.AttachmentPos = Vector3.new(0, -0.0299999993, 0.0500000007)
- Part83.Name = "Handle"
- Part83.Parent = Accessory82
- Part83.CanCollide = false
- Part83.FormFactor = Enum.FormFactor.Custom
- Part83.Size = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Part83.CFrame = CFrame.new(9.25994778, 5.03001738, -21.5396843, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
- Part83.BottomSurface = Enum.SurfaceType.Smooth
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.Position = Vector3.new(9.25994778, 5.03001738, -21.5396843)
- SpecialMesh84.Parent = Part83
- SpecialMesh84.MeshId = "rbxassetid://135446047"
- SpecialMesh84.Scale = Vector3.new(1, 1.10000002, 1)
- SpecialMesh84.TextureId = "rbxassetid://1134835201"
- SpecialMesh84.MeshType = Enum.MeshType.FileMesh
- SpecialMesh84.Scale = Vector3.new(1, 1.10000002, 1)
- Attachment85.Name = "HatAttachment"
- Attachment85.Parent = Part83
- Attachment85.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Attachment85.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)
- Attachment85.Position = Vector3.new(8.65748007e-09, 0.0699996948, 0.0497277565)
- Attachment85.Axis = Vector3.new(1, -7.87137555e-09, 0)
- Attachment85.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
- Vector3Value86.Name = "OriginalSize"
- Vector3Value86.Parent = Part83
- Vector3Value86.Value = Vector3.new(2.6000278, 2.20000005, 1.79999816)
- Weld87.Name = "AccessoryWeld"
- Weld87.Parent = Part83
- Weld87.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)
- Weld87.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld87.Part0 = Part83
- Weld87.Part1 = Part4
- BodyColors88.Parent = Model3
- BodyColors88.HeadColor = BrickColor.new("White")
- BodyColors88.LeftArmColor = BrickColor.new("Really black")
- BodyColors88.LeftLegColor = BrickColor.new("Really black")
- BodyColors88.RightArmColor = BrickColor.new("Really black")
- BodyColors88.RightLegColor = BrickColor.new("Really black")
- BodyColors88.TorsoColor = BrickColor.new("Dark stone grey")
- Tool89.Name = "MainSword"
- Tool89.Parent = Model3
- Tool89.TextureId = "http://www.roblox.com/asset/?id=120894242"
- Tool89.GripPos = Vector3.new(0, -2.29999995, 0)
- Part90.Name = "Handle"
- Part90.Parent = Tool89
- Part90.BrickColor = BrickColor.new("Really black")
- Part90.Reflectance = 123123122176
- Part90.Rotation = Vector3.new(-90, 0, 0)
- Part90.CanCollide = false
- Part90.FormFactor = Enum.FormFactor.Custom
- Part90.Size = Vector3.new(1, 0.800000012, 4)
- Part90.CFrame = CFrame.new(10.7599478, 2.00001693, -23.7899551, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part90.Position = Vector3.new(10.7599478, 2.00001693, -23.7899551)
- Part90.Orientation = Vector3.new(-90, 0, 0)
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- PointLight91.Name = "PointLight2"
- PointLight91.Parent = Part90
- PointLight91.Color = Color3.new(0.666667, 0, 1)
- PointLight91.Brightness = 0.20000000298023
- PointLight91.Range = 30
- PointLight91.Shadows = true
- PointLight91.Color = Color3.new(0.666667, 0, 1)
- PointLight92.Parent = Part90
- PointLight92.Color = Color3.new(0.72549, 0.278431, 1)
- PointLight92.Brightness = 0.75
- PointLight92.Range = 15
- PointLight92.Shadows = true
- PointLight92.Color = Color3.new(0.72549, 0.278431, 1)
- Script93.Name = "DamegeFunc"
- Script93.Parent = Part90
- table.insert(cors,sandbox(Script93,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))
- Script94.Name = "BasicTimer"
- Script94.Parent = Script93
- Script94.Disabled = true
- table.insert(cors,sandbox(Script94,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))
- Sparkles95.Parent = Part90
- Sparkles95.Enabled = false
- Fire96.Parent = Part90
- Fire96.Color = Color3.new(0.333333, 0, 1)
- Fire96.Enabled = false
- Fire96.SecondaryColor = Color3.new(0, 0, 0)
- Fire96.Color = Color3.new(0.333333, 0, 1)
- SpecialMesh97.Parent = Part90
- SpecialMesh97.MeshId = "http://www.roblox.com/asset/?id=94840342"
- SpecialMesh97.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
- SpecialMesh97.TextureId = "rbxassetid://120869251"
- SpecialMesh97.MeshType = Enum.MeshType.FileMesh
- SpecialMesh97.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
- BoolValue98.Name = "Azure"
- BoolValue98.Parent = Tool89
- BoolValue99.Name = "Normal"
- BoolValue99.Parent = Tool89
- BoolValue100.Name = "Special"
- BoolValue100.Parent = Tool89
- Script101.Parent = Tool89
- table.insert(cors,sandbox(Script101,function()
- --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"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Sound3 = Instance.new("Sound")
- Script4 = Instance.new("Script")
- Script5 = Instance.new("Script")
- Tool0.Name = "RemoteMine"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=28516273"
- Tool0.GripForward = Vector3.new(1, -0, -0)
- Tool0.GripPos = Vector3.new(-0.100000001, 0, 0)
- Tool0.GripRight = Vector3.new(0, -0, 1)
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.Locked = true
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Size = Vector3.new(1, 1, 1)
- Part1.CFrame = CFrame.new(-75.5, 0.900000036, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Position = Vector3.new(-75.5, 0.900000036, -9.5)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=28511792"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=28511890"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Sound3.Name = "Plant"
- Sound3.Parent = Part1
- Sound3.SoundId = "http://www.roblox.com/asset/?id=28518380"
- Sound3.Volume = 1
- Script4.Name = "PlantBomb"
- Script4.Parent = Tool0
- table.insert(cors,sandbox(Script4,function()
- Tool = script.Parent
- local planting = true
- local bomb = nil
- local sound = Instance.new("Sound")
- sound.SoundId = "http://www.roblox.com/asset/?id=28517063"
- sound.Looped = true
- local explosion = Instance.new("Sound")
- explosion.SoundId = "http://www.roblox.com/asset/?id=28518734"
- explosion.Volume = 0.01
- explosion:Play()
- explosion.Volume = 0.5
- function plant(pos)
- Tool.Handle.Plant:Play()
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local spawnPos = vCharacter.PrimaryPart.Position
- bomb = Instance.new("Part")
- bomb.Locked = true
- bomb.formFactor = 2
- bomb.Size = Vector3.new(1,0.4,1)
- bomb.Name = "Mine"
- bomb.Position = pos
- sound.Parent = bomb
- sound:Play()
- explosion:Stop()
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshId = "http://www.roblox.com/asset/?id=28511843"
- mesh.TextureId = "http://www.roblox.com/asset/?id=28512114"
- mesh.Parent = bomb
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = bomb
- local script = Tool.BombBlink:clone()
- script.Parent = bomb
- script.Disabled = false
- bomb.Parent = game.Workspace
- bomb.Touched:connect(function(part)
- if part ~= Tool.Handle and part.Parent:FindFirstChild("Humanoid") == nil then
- bomb.Anchored = true
- bomb.CanCollide = false
- end
- end)
- end
- function blowUp()
- local e = Instance.new("Explosion")
- e.BlastPressure = 50000
- e.BlastRadius = 50
- e.Parent = game.Workspace
- e.Position = bomb.Position
- sound:Stop()
- explosion.Parent = e
- explosion:Play()
- bomb:remove()
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- if planting then
- plant(Tool.Handle.Position)
- planting = false
- else
- blowUp()
- planting = true
- end
- Tool.Enabled = true
- end
- script.Parent.Activated:connect(onActivated)
- end))
- Script5.Name = "BombBlink"
- Script5.Parent = Tool0
- Script5.Disabled = true
- table.insert(cors,sandbox(Script5,function()
- local Mesh = script.Parent.Mesh
- local blink = false
- while true do
- blink = not blink
- if blink then
- Mesh.TextureId = "http://www.roblox.com/asset/?id=28512114"
- else
- Mesh.TextureId = "http://www.roblox.com/asset/?id=33378623"
- end
- wait(2)
- end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end))
- Script102.Name = "Azure2"
- Script102.Parent = Tool89
- Script102.Disabled = true
- table.insert(cors,sandbox(Script102,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))
- Script103.Name = "Normal22"
- Script103.Parent = Tool89
- Script103.Disabled = true
- table.insert(cors,sandbox(Script103,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))
- Script104.Name = "Special2"
- Script104.Parent = Tool89
- Script104.Disabled = true
- table.insert(cors,sandbox(Script104,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))
- Script105.Parent = Model3
- table.insert(cors,sandbox(Script105,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))
- BoolValue106.Name = "IsNPC"
- BoolValue106.Parent = Model3
- IntValue107.Name = "AttackDamege"
- IntValue107.Parent = Model3
- IntValue107.Value = 3
- BoolValue108.Name = "CanDamegePlayers"
- BoolValue108.Parent = Model3
- BoolValue108.Value = true
- BoolValue109.Name = "SwordMesh"
- BoolValue109.Parent = Model3
- BoolValue109.Value = true
- Script110.Name = "Animation"
- Script110.Parent = Model3
- table.insert(cors,sandbox(Script110,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))
- 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