Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1 / 60)
- Effects = { }
- local Player = game.Players.localPlayer
- local Mouse = Player:GetMouse()
- local Character = Player.Character
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- ArtificialHB = Create("BindableEvent"){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 45
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel"
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- if Size == Vector3.new() then
- Part.Size = Vector3.new(0.2, 0.2, 0.2)
- else
- Part.Size = Size
- end
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- Sound = {
- Create = function(id, par, vol, pit)
- local Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- Name = "aa",
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- return Sound
- end;
- };
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal"){
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent,
- }
- return Decal
- end;
- };
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui"){
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size),
- }
- local d = Create("ImageLabel", Bill){
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image,
- }
- return BillPar
- end
- };
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return Particle
- end;
- };
- CreateTemplate = {
- };
- }
- FindNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- WingMain=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Wing",Vector3.new(2, 2, 1))
- WingMainWeld=CFuncs.Weld.Create(m,Character["Torso"],WingMain,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.081413269, 0.0268063918, 0.0410137177, 1.00000834, -0.00011451864, 0.000338948274, 0.000117048308, 1, 1.29755635e-05, -0.00033910721, -1.32235973e-05, 1))
- Wing=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Wing",Vector3.new(2, 2, 1))
- WingWeld=CFuncs.Weld.Create(m,WingMain,Wing,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.081413269, 0.0268063918, 0.0410137177, 1.00000834, -0.00011451864, 0.000338948274, 0.000117048308, 1, 1.29755635e-05, -0.00033910721, -1.32235973e-05, 1))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.81062156, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.34602356, -0.279272079, 0.975278854, 0.88820821, 0.44584012, 0.110964157, 0.431274652, -0.892337203, 0.133178905, 0.158393905, -0.0704345554, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.171754241, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.278917462, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.98974609, -5.52709198, 0.975322723, 0.213347197, 0.976330876, -0.0355118327, 0.964051068, -0.204492375, 0.169671923, 0.158394024, -0.070434235, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.455075413, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(1.47297621, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.217659, 0.594722748, 0.975307465, 0.888521969, 0.445190012, 0.11106202, 0.430627465, -0.892661691, 0.133098081, 0.158394739, -0.0704341978, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.280385196, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.289486945, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89943886, -5.41235352, 0.975299835, 0.213347197, 0.976330876, -0.0355118327, 0.964051068, -0.204492375, 0.169671923, 0.158394024, -0.070434235, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.114502862, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01290989, 0.962117612, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.07308197, 1.2773304, 0.975746155, 0.982416093, 0.111091018, 0.150058866, 0.0988395214, -0.991311073, 0.0867941529, 0.158397049, -0.0704362094, -0.984860063))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(5.42655277, 0.474159241, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.71427536, -0.814422607, 0.978969574, 0.835063219, 0.541792214, 0.0955558121, 0.526859343, -0.837556124, 0.144634143, 0.158394992, -0.070434168, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544916272, 0.225188985, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.472892761, -10.8869247, 0.975814819, -0.428887159, 0.893531978, -0.132877618, 0.889364779, 0.443440527, 0.111314729, 0.158386603, -0.0704352036, -0.984861791))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.60933876, -7.14194489, 0.975734711, 0.243127048, 0.969523251, -0.030234728, 0.956974626, -0.234657153, 0.170692295, 0.158395335, -0.0704337656, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.52759397, 0.226363361, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.41241455, 0.360715866, 0.975740433, 0.889364362, 0.443439156, 0.111323781, 0.428885132, -0.893532991, 0.132877618, 0.158394605, -0.0704314858, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.950080097, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.03736877, 0.971032619, 0.975288391, 0.982416093, 0.111091018, 0.150058866, 0.0988395214, -0.991311073, 0.0867941529, 0.158397049, -0.0704362094, -0.984860063))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.208453938, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(3.73925114, 0.378740221, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.93729782, -0.510082245, 0.978954315, 0.835063219, 0.541792214, 0.0955558121, 0.526859343, -0.837556124, 0.144634143, 0.158394992, -0.070434168, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.52024531, 1.02788341, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.39424133, 0.0352230072, 0.975744247, 0.889364362, 0.443439156, 0.111323781, 0.428885132, -0.893532991, 0.132877618, 0.158394605, -0.0704314858, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.64859009, -6.18351173, 0.975728989, -0.956974685, 0.234656975, -0.170692295, 0.243126556, 0.96952337, -0.0302328169, 0.158395797, -0.0704318509, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.14002848, 0.418082207, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.42932129, 0.345317841, 0.975732803, 0.889364362, 0.443439156, 0.111323781, 0.428885132, -0.893532991, 0.132877618, 0.158394605, -0.0704314858, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.12488556, -5.54597473, 0.975734711, 0.243127048, 0.969523251, -0.030234728, 0.956974626, -0.234657153, 0.170692295, 0.158395335, -0.0704337656, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.974742055, 0.804455996, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.65019083, -4.29984283, 0.975755692, 0.0732552633, 0.995541751, -0.0594163127, 0.984654963, -0.0627350658, 0.162847072, 0.158393562, -0.0704339594, -0.984860718))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(5.80793524, 0.474159241, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.93585587, -0.7771492, 0.978963852, 0.835063219, 0.541792214, 0.0955558121, 0.526859343, -0.837556124, 0.144634143, 0.158394992, -0.070434168, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.30827716, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.87889862, -0.127864838, 0.975288391, 0.858415842, 0.502688944, 0.102108002, 0.487886816, -0.861593306, 0.140083954, 0.158394232, -0.0704331249, -0.984860718))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.142394558, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.45713082, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.712950706, -3.62767792, 0.975309372, -0.226346076, 0.968299866, -0.105654851, 0.96108216, 0.239654362, 0.137430042, 0.158394128, -0.0704362243, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.230473682, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.421605587, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.816352844, -3.9275589, 0.975318909, -0.226346076, 0.968299866, -0.105654851, 0.96108216, 0.239654362, 0.137430042, 0.158394128, -0.0704362243, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25689742, 0.826475263))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.487054616, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.5712471, 0.992477417, 0.990501404, 0.740004003, -0.651888967, 0.165635318, -0.653686404, -0.755036235, -0.0511320233, 0.158393055, -0.0704356432, -0.984860718))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103197038, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.40539551, -1.88369274, 0.975296021, 0.97187078, 0.187194049, 0.142919391, 0.174293652, -0.979794621, 0.0981031209, 0.158395931, -0.0704336017, -0.984860361))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.837925136, 0.273428023, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.885024369, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.06291962, 1.56837082, 0.975328445, 0.739529073, -0.652437985, 0.165594488, -0.654224098, -0.754562199, -0.0512537956, 0.158391237, -0.0704322159, -0.984861255))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168466955, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35108948, -1.8147316, 0.975297928, 0.97187078, 0.187194049, 0.142919391, 0.174293652, -0.979794621, 0.0981031209, 0.158395931, -0.0704336017, -0.984860361))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.86967802, 0.0687980205, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.608597696, 0.578079879, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.608264923, 1.60371399, 0.975564957, 0.469477713, -0.872112811, 0.137877122, -0.868620872, -0.484208912, -0.105069622, 0.158393875, -0.0704350919, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(3.26049519, 0.284894377, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.90067673, 0.811481476, 0.977508545, 0.807757795, -0.564388096, 0.170274884, -0.567836702, -0.822499335, -0.0325024389, 0.158394963, -0.0704342201, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407956, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.163517, -5.78051376, 0.97485733, 0.611900985, 0.789821982, 0.0419358537, 0.774891376, -0.609270811, 0.168322816, 0.158495337, -0.0705011413, -0.984839559))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.33388519, -2.8422184, 0.975570679, 0.97680676, 0.156731039, 0.145890757, 0.144082472, -0.985126555, 0.0936262012, 0.158394992, -0.0704343989, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.317000091, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.77849197, 1.42602539, 0.975570679, 0.738243401, -0.653917432, 0.165496022, -0.655673563, -0.75328052, -0.0515824072, 0.158395544, -0.0704309717, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680042028, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.570847034, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.586807251, 1.41965485, 0.975294113, 0.469477713, -0.872112811, 0.137877122, -0.868620872, -0.484208912, -0.105069622, 0.158393875, -0.0704350919, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125247687, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(2.24669528, 0.227562711, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.43369293, 0.994392395, 0.977506638, 0.807757795, -0.564388096, 0.170274884, -0.567836702, -0.822499335, -0.0325024389, 0.158394963, -0.0704342201, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.913425505, 0.6175946, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.59708786, 1.17864227, 0.990745544, 0.738243401, -0.653917432, 0.165496022, -0.655673563, -0.75328052, -0.0515824072, 0.158395544, -0.0704309717, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.54579926, -4.07796478, 0.975561142, -0.144093111, 0.985125124, -0.0936251804, 0.976805389, 0.156741276, 0.145888746, 0.158393607, -0.0704320148, -0.984860957))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.28581667, 0.251201004, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.98579025, 1.41676712, 0.975572586, 0.738243401, -0.653917432, 0.165496022, -0.655673563, -0.75328052, -0.0515824072, 0.158395544, -0.0704309717, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.44179535, -1.88309288, 0.975570679, 0.97680676, 0.156731039, 0.145890757, 0.144082472, -0.985126555, 0.0936262012, 0.158394992, -0.0704343989, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.585665047, 0.483350217, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.07318115, -1.10149765, 0.990762711, 0.936944723, 0.325423121, 0.127415001, 0.311521977, -0.942941546, 0.117538534, 0.158394635, -0.0704345256, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(3.68964601, 0.284894377, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.93379593, 0.833885193, 0.97751236, 0.807757795, -0.564388096, 0.170274884, -0.567836702, -0.822499335, -0.0325024389, 0.158394963, -0.0704342201, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.53672791, 1.18891907, 0.975282669, 0.780780971, -0.601626933, 0.168600783, -0.604393661, -0.79566586, -0.0403023846, 0.158396885, -0.0704338998, -0.984860182))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.926127851, 0.0855565146, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.274662942, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.41918182, -1.06143951, 0.975307465, 0.799823642, 0.594020009, 0.08615347, 0.578959048, -0.801361144, 0.150422826, 0.158394217, -0.0704323947, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.138478085, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.253317922, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39491653, -1.09104919, 0.990505219, 0.799823642, 0.594020009, 0.08615347, 0.578959048, -0.801361144, 0.150422826, 0.158394217, -0.0704323947, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.154354557, 0.496580422))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.237157717, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.98400497, -4.65834808, 0.97530365, 0.541944027, 0.83997786, 0.0270890743, 0.825353324, -0.538030088, 0.171218053, 0.158394113, -0.0704325363, -0.984860778))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.386941314, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(1.25244117, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.41493988, 1.11274576, 0.975286484, 0.983548343, 0.0989940166, 0.151105493, 0.0868522152, -0.992592216, 0.0849561989, 0.158396274, -0.0704346746, -0.984860301))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.238405704, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.689254642, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.12310791, 0.369299412, 0.975299835, 0.983485222, 0.0997150019, 0.151042506, 0.0875668824, -0.992520034, 0.0850648731, 0.158394948, -0.0704337284, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.146039113, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.58918381, -5.99747467, 0.975639343, -0.808163822, 0.563799143, -0.170299754, 0.567258239, 0.822903275, 0.0323817283, 0.158396989, -0.0704341903, -0.984860182))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.81962168, 0.355486691, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.893013, 0.90151453, 0.975666046, 0.983717084, 0.0970459804, 0.15127039, 0.0849220082, -0.9927845, 0.0846598297, 0.158394784, -0.0704351366, -0.98486042))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(3.17940784, 0.322034985, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.39104462, 0.122011185, 0.978439331, 0.967768848, 0.208867997, 0.140704721, 0.195795536, -0.975404143, 0.101247005, 0.158391207, -0.0704343319, -0.984861076))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(4.93836689, 0.403167814, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.24019623, -0.105118752, 0.97844696, 0.967768848, 0.208867997, 0.140704721, 0.195795536, -0.975404143, 0.101247005, 0.158391207, -0.0704343319, -0.984861076))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.448602259, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.42969513, 0.914595604, 0.975681305, 0.983717084, 0.0970459804, 0.15127039, 0.0849220082, -0.9927845, 0.0846598297, 0.158394784, -0.0704351366, -0.98486042))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.962360442, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.262121707, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.76428223, 0.469053268, 0.975311279, 0.975750566, 0.16377905, 0.145215094, 0.151071578, -0.983979464, 0.0946669132, 0.158393115, -0.0704334006, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.121075168, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.828803003, 0.684012294, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.99297905, -3.72123718, 0.975679398, 0.41831404, 0.908299506, 0.0023191215, 0.894385099, -0.41234833, 0.173333183, 0.158394724, -0.0704335123, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.09734726, -4.65151978, 0.975683212, 0.567266881, 0.822897196, 0.0323816799, 0.808158159, -0.563807786, 0.170297772, 0.158394575, -0.0704347566, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(4.6140852, 0.403167814, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.05178833, -0.136793137, 0.978439331, 0.967768848, 0.208867997, 0.140704721, 0.195795536, -0.975404143, 0.101247005, 0.158391207, -0.0704343319, -0.984861076))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.388688922, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29187584, -3.36907959, 0.975297928, 0.129877433, 0.990271986, -0.0499321222, 0.978796542, -0.120002069, 0.166003123, 0.158396259, -0.0704334378, -0.984860361))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.195967019, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.35848251, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.37980461, -3.6240921, 0.975297928, 0.129877433, 0.990271986, -0.0499321222, 0.978796542, -0.120002069, 0.166003123, 0.158396259, -0.0704334378, -0.984860361))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.218434557, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.29263294, 0.873988032, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.16244507, 0.637834072, 0.975681305, 0.983717084, 0.0970459804, 0.15127039, 0.0849220082, -0.9927845, 0.0846598297, 0.158394784, -0.0704351366, -0.98486042))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.35959244, -6.00856781, 0.975675583, 0.567266881, 0.822897196, 0.0323816799, 0.808158159, -0.563807786, 0.170297772, 0.158394575, -0.0704347566, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(1.86096573, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.24846649, 1.54257965, 0.975315094, 0.953437924, -0.248355001, 0.171102479, -0.256646633, -0.966104925, 0.0278172307, 0.158394381, -0.0704348683, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.177244052, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.68831873, 0.818068683, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.39190674, 1.80307961, 0.975658417, 0.953437924, -0.248355001, 0.171102479, -0.256646633, -0.966104925, 0.0278172307, 0.158394381, -0.0704348683, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.591511309, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.40148163, 1.07713699, 0.975307465, 0.916328549, -0.361034989, 0.173192799, -0.367767662, -0.929888606, 0.00735405693, 0.158394948, -0.0704334453, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125329256, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.203526318, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.16732025, -2.63462067, 0.975311279, 0.857192576, 0.504842818, 0.101758391, 0.490032911, -0.860333264, 0.140337378, 0.158394426, -0.0704311877, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.33206898, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(1.07483196, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.22596741, 1.71432495, 0.975299835, 0.916060805, -0.361711085, 0.173198923, -0.368434012, -0.929625869, 0.00722825527, 0.158395633, -0.0704338774, -0.984860361))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.204597339, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.211238876, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.10141754, -2.55089188, 0.975299835, 0.857192576, 0.504842818, 0.101758391, 0.490032911, -0.860333264, 0.140337378, 0.158394426, -0.0704311877, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0835528523, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.739121258, 0.702058196, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.07832718, 1.86931229, 0.975631714, 0.733511806, -0.659313917, 0.165123463, -0.660962224, -0.748561502, -0.052769471, 0.158396706, -0.0704333335, -0.984860241))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(3.95976114, 0.345994473, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.0059433, 0.763832092, 0.97797966, 0.95138073, -0.255978942, 0.171317115, -0.26417011, -0.964112997, 0.0264637284, 0.158394933, -0.0704339445, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.30564117, -3.7974968, 0.975625992, 0.871970475, 0.477932125, 0.106058538, 0.463226855, -0.875568628, 0.13711533, 0.158393353, -0.0704313442, -0.984861016))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.384985864, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.09538269, 1.54205513, 0.975639343, 0.915336847, -0.363533109, 0.173211187, -0.370229512, -0.928914845, 0.00688978424, 0.158393785, -0.0704343617, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.825887859, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.693274379, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0522995, 1.64577866, 0.97530365, 0.733511806, -0.659313917, 0.165123463, -0.660962224, -0.748561502, -0.052769471, 0.158396706, -0.0704333335, -0.984860241))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.152109027, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(2.72853518, 0.276367128, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.43891907, 0.985977173, 0.977996826, 0.95138073, -0.255978942, 0.171317115, -0.26417011, -0.964112997, 0.0264637284, 0.158394933, -0.0704339445, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.10932434, 0.750047624, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.43321991, 1.30454063, 0.975622177, 0.915336847, -0.363533109, 0.173211187, -0.370229512, -0.928914845, 0.00688978424, 0.158393785, -0.0704343617, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.43746948, -4.99491119, 0.975624084, -0.46322152, 0.875570893, -0.137118205, 0.871973038, 0.477927417, 0.106059447, 0.158395112, -0.0704343617, -0.98486048))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.56158078, 0.305075049, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.91834259, 1.53081131, 0.975627899, 0.915336847, -0.363533109, 0.173211187, -0.370229512, -0.928914845, 0.00688978424, 0.158393785, -0.0704343617, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.22235107, -2.63276672, 0.975641251, 0.871970475, 0.477932125, 0.106058538, 0.463226855, -0.875568628, 0.13711533, 0.158393353, -0.0704313442, -0.984861016))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.711270273, 0.587012351, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.65466309, -1.82859421, 0.975625992, 0.778281987, 0.622716069, 0.0806346312, 0.607608914, -0.779271126, 0.153453276, 0.158394083, -0.070435591, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(4.32805729, 0.345994473, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.2126236, 0.791049957, 0.97797966, 0.95138073, -0.255978942, 0.171317115, -0.26417011, -0.964112997, 0.0264637284, 0.158394933, -0.0704339445, -0.984860539))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.22495015, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.14511108, 1.2347908, 0.975299835, 0.938221812, -0.300057828, 0.172352433, -0.307654411, -0.95131731, 0.0185542312, 0.158394471, -0.0704329461, -0.984860659))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103905462, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.333568811, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.60148621, -1.61552048, 0.975301743, 0.559441209, 0.82829988, 0.0307382643, 0.813594759, -0.555840254, 0.170602918, 0.158395961, -0.0704338253, -0.98486042))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168176889, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.307646036, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.67691803, -1.83437347, 0.975301743, 0.559441209, 0.82829988, 0.0307382643, 0.813594759, -0.555840254, 0.170602918, 0.158395961, -0.0704338253, -0.98486042))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.187458321, 0.603079915))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.336782306, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.19689178, -7.0763588, 0.975679398, 0.449534893, 0.893223107, 0.00841975678, 0.879108548, -0.444063395, 0.173136115, 0.158388063, -0.0704288334, -0.98486203))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.761616349, 0.589154541))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.483554214, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.37663269, 0.883522034, 0.967224121, -0.638958931, -0.767750859, -0.0478568636, -0.752756715, 0.636865556, -0.166612133, 0.158394992, -0.0704337209, -0.98486048))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341453254, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354263306, -3.787117, 0.967233658, -0.488823622, 0.86104399, -0.140195727, 0.857882738, 0.503629267, 0.101955138, 0.158394516, -0.0704334155, -0.984860599))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.0836575, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.75967407, -1.03858757, 0.96723938, -0.929733634, -0.346457034, -0.124752365, -0.33242473, 0.935417831, -0.120363601, 0.158396378, -0.070435293, -0.984860182))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.649142921, 0.236052051, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.21902466, -0.0409164429, 0.967218399, -0.973333716, -0.178759977, -0.143758848, -0.165928215, 0.981368482, -0.0968699604, 0.15839687, -0.0704331398, -0.984860301))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.471516728, 0.234877661, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.27822876, -0.853485107, 0.967250824, -0.630364001, 0.76051116, -0.155769765, 0.759969234, 0.645493507, 0.0760596395, 0.158392549, -0.0704349577, -0.984860837))
- Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.246144727, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.90726852, -4.56082153, 0.975297928, 0.541944027, 0.83997786, 0.0270890743, 0.825353324, -0.538030088, 0.171218053, 0.158394113, -0.0704325363, -0.984860778))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0973593965, 0.702734888))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.88196522, 0.514088511, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.70895958, -2.1431427, 0.967214584, 0.34296605, 0.939270973, -0.0120138666, 0.925896943, -0.335870683, 0.172933668, 0.158396453, -0.0704339668, -0.984860241))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.46827829, 0.952135324, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55020905, 0.0981483459, 0.967208862, 0.857882798, 0.50362891, 0.101956181, 0.488823354, -0.861044288, 0.140194699, 0.158394873, -0.070432052, -0.984860659))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.837632179, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.233604431, 1.92868805, 0.967222214, 0.752756357, -0.636865973, 0.166612104, -0.638958991, -0.76775068, -0.0478588976, 0.158396274, -0.070432201, -0.98486048))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.623012781, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.87634182, 1.67852783, 0.967235565, -0.00560861453, -0.997500658, 0.0704338476, -0.987359941, -0.00563267432, -0.158394292, 0.158395141, -0.0704319254, -0.984860659))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.53132343, 0.240000069, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55789185, -1.3742981, 0.975597382, -0.766564727, 0.619903982, -0.16762352, 0.622331142, 0.781507432, 0.0441614315, 0.158374861, -0.0704647228, -0.984861553))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392539173, 0.333232641, 0.251318902))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.70851135, 0.724594116, 0.967193604, 0.857882798, 0.50362891, 0.101956181, 0.488823354, -0.861044288, 0.140194699, 0.158394873, -0.070432052, -0.984860659))
- Part=CFuncs.Part.Create(m,Enum.Material.Glass,0,0.5,"Really black","Part",Vector3.new(0.313761592, 1.26770866, 1.29358757))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.971876144, -0.938801169, 0.994415283, -0.158395022, 0.0704339892, 0.984860539, 0.00561057869, 0.997500539, -0.0704356134, -0.987359941, -0.00563101377, -0.158394322))
- CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(7.26164198, 0.255189061, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.31764221, 0.649587631, 0.975751877, 0.889364362, 0.443439156, 0.111323781, 0.428885132, -0.893532991, 0.132877618, 0.158394605, -0.0704314858, -0.984860837))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(6.94150734, 0.400000006, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.19526672, -1.05738401, 0.97567749, -0.983716667, -0.0970480368, -0.151272491, -0.0849231184, 0.992783904, -0.0846648067, 0.158397436, -0.0704396516, -0.984859765))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.482433408, 0.200000003, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00019741, -9.6156311, 0.975646973, -0.0838580653, 0.992889106, -0.084494181, 0.983808458, 0.0959719494, 0.151362404, 0.158395126, -0.0704331174, -0.984860599))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.887468517, 0.686508358))
- Part=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(5.6530838, 0.400000006, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Wing,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.49669647, -1.63993073, 0.975580215, -0.91534394, 0.363514125, -0.173214182, 0.370208532, 0.928923249, -0.00687796436, 0.158402443, -0.0704210624, -0.984860241))
- CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541))
- WingBox1=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","WingBox1",Vector3.new(4.75000143, 0.859998941, 1))
- WingBox1Weld=CFuncs.Weld.Create(m,Wing,WingBox1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.52880096, -1.24272919, 1.0079422, -0.754450679, 0.642787635, -0.132771462, 0.633059144, 0.766044438, 0.11140985, 0.173321709, 1.05983202e-06, -0.984865308))
- WingBox2=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","WingBox2",Vector3.new(5.95000172, 0.859998941, 1))
- WingBox2Weld=CFuncs.Weld.Create(m,Wing,WingBox2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.70465088, -1.4642601, 1.00794601, -0.925470829, 0.342019886, -0.162868708, 0.336843431, 0.939692676, 0.0592801198, 0.173321515, 7.68129723e-07, -0.984865308))
- WingBox3=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","WingBox3",Vector3.new(7.54000759, 0.859998941, 1))
- WingBox3Weld=CFuncs.Weld.Create(m,Wing,WingBox3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.18742371, -0.404203415, 0.724849701, -0.969903171, -0.173648059, -0.170688078, -0.171019927, 0.984807849, -0.0300972071, 0.173321277, -3.13053391e-07, -0.984865427))
- WingBox4=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","WingBox4",Vector3.new(7.54000759, 1.04999876, 1))
- WingBox4Weld=CFuncs.Weld.Create(m,Wing,WingBox4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.18292236, 0.0431938171, 0.724849701, -0.852918625, -0.499999821, -0.150100783, -0.492432326, 0.866025567, -0.086661607, 0.173321888, -8.20131788e-07, -0.984865248))
- wait(0.1)
- Player = game:GetService("Players").LocalPlayer
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- Humanoid.Parent = nil
- Humanoid.Parent = Character
- SIZE = 1
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- Frame_Speed = 1 / 40 -- (1 / 20) OR (1 / 40)
- local Speed = 10
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local CLOCKTARGET = nil
- local CLOCKSPEED = 0.9
- local CLOCKLOOP = 0
- local INTRO = false
- local TRANSFORMED = false
- local INSTANT = true
- local Create = LoadLibrary("RbxUtility").Create
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local UNANCHOR = true
- local GHOSTS = {}
- ANIMATE:remove()
- Character.Archivable = true
- script.Parent = WEAPONGUI
- local GHOSTBASE = Character:Clone()
- GHOSTBASE.Parent = nil
- GHOSTBASE.Name = "Ghost"
- for _, c in pairs(GHOSTBASE:GetChildren()) do
- if c.ClassName == "Part" and c.Transparency < 1 then
- c.Color = C3(0,0,0)
- if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- c:remove()
- end
- end
- end
- local sick = Instance.new("Sound",Torso)
- sick.SoundId = "rbxassetid://1382488262"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 6
- sick:Play()
- local Effects = IT("Folder", Character)
- Effects.Name = "Effects"
- Character.Archivable = false
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c.Transparency < 1 then
- c.Color = C3(0,0,0)
- c.Transparency = 0 + 0 * COS(SINE / 25)
- elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- c:remove()
- end
- end
- --//=================================\\
- --\\=================================//
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Glass")
- local COLOR = (Table.Color or C3(0,0,0))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- end
- Player_Size = 1 --Size of the player.
- Humanoid.HipHeight = 0.3
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or C3(1,1,1))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- SOUND.Stopped:Connect(function()
- EFFECT:remove()
- end)
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- Debris = game:GetService("Debris")
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return Raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
- if FLOOR ~= nil then
- coroutine.resume(coroutine.create(function()
- local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
- PART.CFrame = CF(POSITION)
- for i = 1, 45 do
- local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
- RingPiece.Material = FLOOR.Material
- RingPiece.Color = FLOOR.Color
- RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
- Debris:AddItem(RingPiece,SWAIT)
- end
- PART:remove()
- end))
- end
- end
- function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOES360)
- if FLOOR ~= nil then
- for i = 1, AMOUNT do
- local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
- DEBREE.Material = FLOOR.Material
- DEBREE.Color = FLOOR.Color
- DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
- if DOES360 == true then
- DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
- else
- DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
- end
- coroutine.resume(coroutine.create(function()
- Swait(15)
- DEBREE.Parent = workspace
- DEBREE.CanCollide = true
- Debris:AddItem(DEBREE,SWAIT)
- end))
- end
- end
- end
- function SpawnTrail(FROM,TO)
- local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
- MakeForm(TRAIL,"Cyl")
- local DIST = (FROM - TO).Magnitude
- TRAIL.Size = VT(0.1,DIST,0.1)
- TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + 0.1
- end
- TRAIL:remove()
- end))
- end
- local Decal = IT("Decal")
- function SpawnBulletHole(POSITION)
- local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Bullet hole", VT(0.2,0,0.2))
- local decal = Decal:Clone()
- decal.Parent = O1
- decal.Face = "Top"
- decal.Texture = "http://www.roblox.com/asset/?id=130624105"
- local decal2 = Decal:Clone()
- decal2.Parent = O1
- decal2.Face = "Bottom"
- decal2.Texture = "http://www.roblox.com/asset/?id=130624105"
- O1.CFrame = POSITION*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))
- Debris:AddItem(O1,5)
- end
- local asd = Instance.new("ParticleEmitter")
- asd.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- asd.LightEmission = .1
- asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 2)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -15, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rotation = NumberRange.new(-100, 100)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(10)
- asd.Enabled = false
- asd.VelocitySpread = 999
- function getbloody(victim,amount)
- local PART = IT("Part",Effects)
- PART.Transparency = 1
- PART.Size = victim.Size
- PART.Anchored = true
- PART.CanCollide = false
- PART.CFrame = CF(victim.Position)
- local HITPLAYERSOUNDS = {"356551938","264486467"}
- Debris:AddItem(PART,5)
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- local prtcl = asd:Clone()
- prtcl.Parent = PART
- prtcl:Emit(amount*10)
- end
- local asd = Instance.new("ParticleEmitter")
- asd.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
- asd.LightEmission = .1
- asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- asd.Transparency = bbb
- asd.Size = aaa
- asd.ZOffset = .9
- asd.Acceleration = Vector3.new(0, -15, 0)
- asd.LockedToPart = false
- asd.EmissionDirection = "Back"
- asd.Lifetime = NumberRange.new(1, 2)
- asd.Rotation = NumberRange.new(-100, 100)
- asd.RotSpeed = NumberRange.new(-100, 100)
- asd.Speed = NumberRange.new(10)
- asd.Enabled = false
- asd.VelocitySpread = 999
- function getbloody(victim,amount)
- local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
- PART.CFrame = victim.CFrame
- local HITPLAYERSOUNDS = {"356551938","264486467"}
- Debris:AddItem(PART,5)
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- local prtcl = asd:Clone()
- prtcl.Parent = PART
- prtcl:Emit(amount*10)
- end
- local Particle = IT("ParticleEmitter",nil)
- Particle.Enabled = false
- Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
- Particle.LightEmission = 0.5
- Particle.Rate = 150
- Particle.ZOffset = 1
- Particle.Rotation = NumberRange.new(-180, 180)
- Particle.RotSpeed = NumberRange.new(-180, 180)
- Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
- Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
- --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
- function ParticleEmitter(Table)
- local PRTCL = Particle:Clone()
- local Speed = Table.Speed or 5
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 5
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1.5
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 360
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL.Parent = Parent
- PRTCL.Size = NumberSequence.new(Size1,Size2)
- PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL.Speed = NumberRange.new(Speed)
- PRTCL.VelocitySpread = Offset
- PRTCL.Drag = Drag
- PRTCL.Acceleration = Acel
- if Enabled == false then
- PRTCL:Emit(Emit)
- Debris:AddItem(PRTCL,Lifetime2)
- else
- PRTCL.Enabled = true
- end
- return PRTCL
- end
- local A = IT("Attachment",RightBarrel)
- A.Position = VT(0,-2.5,0)
- local B = IT("Attachment",RightBarrel)
- B.Position = VT(0,2.5,0)
- local Trail = IT("Trail",RightBarrel)
- Trail.Attachment0 = A
- Trail.Attachment1 = B
- Trail.Lifetime = 0.3
- Trail.Color = ColorSequence.new(BRICKC"Really black".Color)
- Trail.Transparency = NumberSequence.new(0, 1)
- Trail.Enabled = false
- local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 2, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
- PRT.LockedToPart = true
- local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 2, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
- PRT.LockedToPart = true
- local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.4, Lifetime2 = 2.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
- PRT.LockedToPart = true
- local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 2, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
- PRT.LockedToPart = true
- local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 2, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
- PRT.LockedToPart = true
- function BulletDetection(FROM,TO)
- local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
- coroutine.resume(coroutine.create(function()
- if AIMHIT ~= nil then
- if AIMHIT.Parent ~= Character then
- if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- if AIMHIT.Name ~= "Head" and AIMHIT.Parent.ClassName ~= "Accessory" then
- ApplyDamage(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25),AIMHIT)
- elseif AIMHIT.Name == "Head" or AIMHIT.Parent.ClassName == "Accessory" then
- if AIMHIT.Parent.ClassName == "Accessory" then
- if AIMHIT:FindFirstChild("HatAttachment") or AIMHIT:FindFirstChild("FaceFrontAttachment") or AIMHIT:FindFirstChild("HairAttachment") then
- AIMHIT.Parent.Parent:BreakJoints()
- if AIMHIT.Parent.Parent:FindFirstChild("Head") then
- getbloody(AIMHIT.Parent.Parent.Head,15)
- AIMHIT.Parent.Parent.Head:remove()
- StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0))
- end
- else
- ApplyDamage(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(25,65),AIMHIT)
- end
- elseif AIMHIT.Name == "Head" then
- getbloody(AIMHIT,15)
- AIMHIT.Parent:BreakJoints()
- AIMHIT:remove()
- StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0))
- end
- end
- else
- CreateFlyingDebree(AIMHIT,CF(AIMPOS),7,VT(0.1,0.1,0.1),5,35,true)
- SpawnBulletHole(CF(AIMPOS,AIMPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0)))
- end
- end
- end
- end))
- return AIMHIT,AIMPOS,NORMAL
- end
- function CheckIntangible(Hit)
- local ProjectileNames = {
- "Water",
- "Arrow",
- "Projectile",
- "Effect",
- "Rail",
- "Lightning",
- "Bullet"
- }
- if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
- return true
- end
- return false
- end
- Debris = game:GetService("Debris")
- BaseLightning = IT("Part")
- BaseLightning.Anchored = true
- BaseLightning.CanCollide = false
- BaseLightning.Material = "Neon"
- function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
- local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
- local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
- if RayHit and CheckIntangible(RayHit) then
- if DelayIfHit then
- wait()
- end
- RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
- end
- return RayHit, RayPos, RayNormal
- end
- function Zap(Table)
- local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
- local Duration = Table.Duration or 2
- local FadeRate = Table.FadeRate or 0.05
- local Offset = Table.Offset or 2
- local Individualize = Table.Individualize or false
- local MaxRange = Table.MaxRange or 200
- local SegmentLength = Table.SegmentLength or 5
- local TimeToFade = Table.TimeToFade or 0.5
- local Ignore = Table.Ignore or {}
- local SIZE = Table.Size or 0.3
- if not (StartPos and TargetPos) or not Character then
- return
- end
- local LightningModel = IT("Folder", Effects)
- LightningModel.Name = "ZAPP"
- for i, v in pairs({Character, LightningModel}) do
- table.insert(Ignore, v)
- end
- local LastPos = StartPos
- local Direction = CFrame.new(StartPos, TargetPos).lookVector
- local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
- local RayLength = (StartPos - RayPos).Magnitude
- local Struck = false
- local TotalSegments = math.ceil(RayLength / SegmentLength)
- Direction = CFrame.new(StartPos, RayPos).lookVector
- local LightningBolt = IT("Model", Effects)
- LightningBolt.Name = "Lightning"
- if not Individualize then
- table.insert(LightningBolts, LightningBolt)
- end
- LastBolt = LightningBolt
- Debris:AddItem(LightningBolt, Duration)
- LightningBolt.Parent = LightningModel
- for i = 1, TotalSegments do
- if not Struck then
- local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
- local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
- local SegmentVec = NewPos - LastPos
- local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
- local RayVec = LastPos - RayPos
- local LightningPart = BaseLightning:Clone()
- LightningPart.BrickColor = BrickColor.new(Color)
- LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
- LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
- table.insert(Effects2, {
- LightningPart,
- "Disappear",
- 0.025,
- 1,
- 1,
- 1,
- 2
- })
- local CylinderMesh = IT("CylinderMesh", LightningPart)
- local OrigCF = LightningPart.CFrame
- LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
- LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
- LightningPart.Parent = LightningBolt
- LastPos = NewPos
- end
- end
- return {
- RayHit = RayHit,
- RayPos = RayPos,
- RayNormal = RayNormal,
- LightningModel = LightningModel
- }
- end
- function CastProperRay(StartPos, Vec, Length, Ignore)
- local Direction = CFrame.new(StartPos, Vec).lookVector
- local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
- local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
- return RayHit, RayPos, RayNormal
- end
- function Debree(POS, SWAIT)
- coroutine.resume(coroutine.create(function()
- local HOLDER = IT("Model", Effects)
- HOLDER.Name = "Debree"
- local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
- MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
- MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
- MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
- repeat
- Swait()
- until HITFLOOR ~= nil
- local O = 0
- for i = 1, 18 do
- do
- local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
- Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
- O = O - 2.25 + i / 4
- coroutine.resume(coroutine.create(function()
- Swait(SWAIT)
- for i = 1, 60 do
- Swait()
- local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
- Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
- end
- for i = 1, 50 do
- Swait()
- Part.Size = Part.Size * 0.9
- end
- end))
- end
- end
- local O = 0
- for i = 1, 18 do
- do
- local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
- Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
- O = O + 2.25 - i / 4
- coroutine.resume(coroutine.create(function()
- Swait(SWAIT)
- for i = 1, 60 do
- Swait()
- local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
- Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
- end
- for i = 1, 50 do
- Swait()
- Part.Size = Part.Size * 0.9
- end
- end))
- end
- end
- Swait(SWAIT + 110)
- HOLDER:remove()
- end))
- end
- function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,0)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "Sphere"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,0)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- wave.Transparency = wave.Transparency + (1/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
- local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale * GROW
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
- local mesh = IT("BlockMesh",wave)
- wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
- wave.Transparency = wave.Transparency + (1/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function CheckTableForString(Table, String)
- for i, v in pairs(Table) do
- if string.find(string.lower(String), string.lower(v)) then
- return true
- end
- end
- return false
- end
- function CheckIntangible(Hit)
- local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
- if Hit and Hit.Parent then
- if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
- return true
- end
- end
- return false
- end
- Debris = game:GetService("Debris")
- function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
- local Direction = CFrame.new(StartPos, Vec).lookVector
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
- if RayHit and CheckIntangible(RayHit) then
- if DelayIfHit then
- wait()
- end
- RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
- end
- return RayHit, RayPos, RayNormal
- end
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
- PRT.Color = C3(0,0,0)
- local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
- CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
- local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
- PRT.Color = C3(0,0,0)
- CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
- CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
- for i = 1, 16 do
- local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
- FACE.Color = C3(0,0,0)
- Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
- CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
- end
- local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
- MakeForm(EYE,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
- local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
- MakeForm(EYE2,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
- local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hair", VT(1,1,1),false)
- local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
- local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hair", VT(1,1,1),false)
- local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
- local A = IT("Attachment",Torso)
- A.Position = VT(1,1.3,0)
- A.Orientation = VT(-0.098, -89.999, 0.227)
- local B = IT("Attachment",Torso)
- B.Position = VT(-1.3,-0.6,0)
- B.Orientation = VT(-88.911, -68.808, 158.782)
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(1,0,0))
- ChainLink.TextureSpeed = 1
- ChainLink.FaceCamera = true
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = A
- ChainLink.Attachment1 = B
- ChainLink.CurveSize0 = 1.6
- ChainLink.CurveSize1 = 1.6
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(1,0,0))
- ChainLink.TextureSpeed = 1
- ChainLink.FaceCamera = true
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = B
- ChainLink.Attachment1 = A
- ChainLink.CurveSize0 = 1.6
- ChainLink.CurveSize1 = 1.6
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- local A = IT("Attachment",Torso)
- A.Position = VT(1.3,-0.85,0)
- A.Orientation = VT(-0.098, -89.999, 0.227)
- local B = IT("Attachment",Torso)
- B.Position = VT(-1,2,0)
- B.Orientation = VT(-88.911, -68.808, 158.782)
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(1,0,0))
- ChainLink.TextureSpeed = 1
- ChainLink.FaceCamera = true
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = A
- ChainLink.Attachment1 = B
- ChainLink.CurveSize0 = 1.3
- ChainLink.CurveSize1 = 1.3
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(C3(1,0,0))
- ChainLink.TextureSpeed = 1
- ChainLink.FaceCamera = true
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 3
- ChainLink.Attachment0 = B
- ChainLink.Attachment1 = A
- ChainLink.CurveSize0 = 1.3
- ChainLink.CurveSize1 = 1.3
- ChainLink.FaceCamera = true
- ChainLink.Transparency = NumberSequence.new(0)
- local A = IT("Attachment",RightBarrel)
- A.Position = VT(0,-2.5,0)
- local B = IT("Attachment",RightBarrel)
- B.Position = VT(0,2.5,0)
- local Trail = IT("Trail",RightBarrel)
- Trail.Attachment0 = A
- Trail.Attachment1 = B
- Trail.Lifetime = 0.2
- Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
- Trail.Transparency = NumberSequence.new(0, 1)
- Trail.Enabled = false
- function particles(art,enabled)
- local EyeSizes={
- NumberSequenceKeypoint.new(0,.1,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- local EyeTrans={
- NumberSequenceKeypoint.new(0,0,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local PE=Instance.new("ParticleEmitter",art)
- PE.LightEmission=0.5
- PE.Transparency = NumberSequence.new(0.5)
- PE.Size=NumberSequence.new(EyeSizes)
- PE.Transparency=NumberSequence.new(EyeTrans)
- PE.Lifetime=NumberRange.new(2,3)
- PE.Rate=360
- PE.Speed = NumberRange.new(0,0,0)
- PE.Texture="rbxassetid://1523916715"
- PE.ZOffset = 0
- PE.Name = "PE"
- PE.Enabled = enabled
- end
- particles(Gun,true)
- particles(Gun1,true)
- local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
- local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
- local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
- local Gun1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun1", VT(0, 0, 0),false)
- local HandleMesh = CreateMesh("SpecialMesh", Gun1, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
- local Weld = CreateWeldOrSnapOrMotor("Weld", Gun1, LeftArm, Gun1, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
- Gun.Transparency = 1
- Gun1.Transparency = 1
- for _, c in pairs(Gun:GetChildren()) do
- if c.ClassName == "Part" and c.Transparency < 1 then
- c.Color = C3(0,0,0)
- c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
- elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- c:remove()
- end
- end
- for _, c in pairs(Gun1:GetChildren()) do
- if c.ClassName == "Part" and c.Transparency < 1 then
- c.Color = C3(0,0,0)
- c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
- elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- c:remove()
- end
- end
- local LASTPART = Head
- for i = 1, 20 do
- local MATH = (1-(i/25))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3((i*3-3)/255,0,0)
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3((i*3-3)/255,0,0)
- end
- end
- local LASTPART = Head
- for i = 1, 20 do
- local MATH = (1-(i/25))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3((i*3-3)/255,0,0)
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3((i*3-3)/255,0,0)
- end
- end
- Character["Body Colors"].HeadColor = BrickColor.new("Black")
- Character["Body Colors"].LeftArmColor = BrickColor.new("Black")
- Character["Body Colors"].RightArmColor = BrickColor.new("Black")
- Character["Body Colors"].LeftLegColor = BrickColor.new("Black")
- Character["Body Colors"].RightLegColor = BrickColor.new("Black")
- Character["Body Colors"].TorsoColor = BrickColor.new("Black")
- local BODY = {}
- for _, c in pairs(Character:GetDescendants()) do
- if c:IsA("BasePart") and c.Name ~= "Handle" then
- if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
- elseif c:IsA("JointInstance") then
- table.insert(BODY,{c,c.Parent,nil,nil,nil})
- end
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:Connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- function refit()
- Character.Parent = workspace
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- Humanoid:remove()
- Humanoid:Destroy()
- PART.Parent = PARENT
- Humanoid = IT("Humanoid",Character)
- end
- end
- end
- end
- local SKILLTEXTCOLOR = C3(0,0,0)
- local SKILLFONT = "SciFi"
- local SKILLTEXTSIZE = 7
- Humanoid.HealthChanged:connect(function()
- Humanoid.Parent = nil
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- refit()
- Humanoid.Parent = Character
- end)
- Humanoid.Died:connect(function()
- Humanoid.Parent = nil
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- refit()
- Humanoid.Parent = Character
- end)
- Humanoid.Died:connect(function()
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = false
- end
- end
- end)
- Humanoid.HealthChanged:connect(function()
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = false
- end
- end
- end)
- function Blink()
- coroutine.resume(coroutine.create(function()
- if EYE ~= nil then
- for i = 1, 5 do
- Swait()
- EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
- EYE2.Mesh.Scale = EYE.Mesh.Scale
- end
- for i = 1, 7 do
- Swait()
- EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
- EYE2.Mesh.Scale = EYE.Mesh.Scale
- end
- EYE.Mesh.Scale = VT(1,1,1)
- EYE2.Mesh.Scale = EYE.Mesh.Scale
- end
- end))
- end
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
- local AMMOIMAGE1 = IT("ImageLabel",AMMO1FRAME)
- AMMOIMAGE1.Size = UD2(1,0,1,0)
- AMMOIMAGE1.BackgroundTransparency = 1
- AMMOIMAGE1.BorderSizePixel = 0
- AMMOIMAGE1.Image = "http://www.roblox.com/asset/?id=0"
- local AMMOIMAGE2 = IT("ImageLabel",AMMO2FRAME)
- AMMOIMAGE2.Size = UD2(1,0,1,0)
- AMMOIMAGE2.BackgroundTransparency = 1
- AMMOIMAGE2.BorderSizePixel = 0
- AMMOIMAGE2.Image = "http://www.roblox.com/asset/?id=0"
- --//=================================\\
- --|| DAMAGE FUNCTIONS
- --\\=================================//
- function StatLabel(CFRAME, TEXT, COLOR)
- local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
- STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
- local BODYGYRO = IT("BodyGyro", STATPART)
- game:GetService("Debris"):AddItem(STATPART ,5)
- local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
- BILLBOARDGUI.Adornee = STATPART
- BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
- BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
- BILLBOARDGUI.AlwaysOnTop = false
- local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
- TEXTLABEL.BackgroundTransparency = 1
- TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
- TEXTLABEL.Text = TEXT
- TEXTLABEL.Font = SKILLFONT
- TEXTLABEL.FontSize="Size42"
- TEXTLABEL.TextColor3 = COLOR
- TEXTLABEL.TextStrokeTransparency = 0
- TEXTLABEL.TextScaled = true
- TEXTLABEL.TextWrapped = true
- coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
- for i = 1, 10 do
- Swait()
- STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
- TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10)
- TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
- end
- THEPART.Parent = nil
- end),STATPART, TEXTLABEL)
- end
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function Kill(Char)
- local NewCharacter = IT("Model",Effects)
- NewCharacter.Name = "DED"
- for _, c in pairs(Char:GetDescendants()) do
- if c:IsA("BasePart") and c.Transparency == 0 then
- if c.Parent == Char then
- getbloody(c,5)
- end
- c:BreakJoints()
- c.Material = "Neon"
- c.Color = C3(0,0,0)
- c.CanCollide = true
- c.Transparency = 0.5
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c.Name == "Head" then
- c:ClearAllChildren()
- c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
- end
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("BodyPosition") then
- c:FindFirstChildOfClass("BodyPosition"):remove()
- end
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter"):remove()
- end
- c.Parent = NewCharacter
- c.Name = "DeadPart"
- c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
- c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
- end
- end
- Char:remove()
- Debris:AddItem(NewCharacter,5)
- end
- function ApplyDamage(Humanoid,Damage,TorsoPart)
- local defence = Instance.new("BoolValue",Humanoid.Parent)
- defence.Name = ("HitBy"..Player.Name)
- game:GetService("Debris"):AddItem(defence, 0.001)
- Damage = Damage * DAMAGEMULTIPLIER
- if Humanoid.Health ~= 0 then
- local CritChance = MRANDOM(1,100)
- if Damage > Humanoid.Health then
- Damage = math.ceil(Humanoid.Health)
- if Damage == 0 then
- Damage = 0.1
- end
- end
- Humanoid.Health = Humanoid.Health - Damage
- StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
- end
- end
- function Ghostify(POSITION,RANGE)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
- local GHOST = GHOSTBASE:Clone()
- GHOST.Parent = Effects
- GHOST.Torso.CFrame = TORSO.CFrame
- table.insert(GHOSTS,GHOST)
- CHILD:remove()
- end
- end
- end
- end
- end
- end
- function ApplyDamage(Humanoid,Damage,TorsoPart)
- local defence = Instance.new("BoolValue",Humanoid.Parent)
- defence.Name = ("HitBy"..Player.Name)
- game:GetService("Debris"):AddItem(defence, 0.001)
- Damage = Damage * DAMAGEMULTIPLIER
- if Humanoid.Health ~= 0 then
- local CritChance = MRANDOM(1,100)
- if Damage > Humanoid.Health then
- Damage = math.ceil(Humanoid.Health)
- if Damage == 0 then
- Damage = 0.1
- end
- end
- Humanoid.Health = Humanoid.Health - Damage
- StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
- end
- end
- function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
- local GHOST = GHOSTBASE:Clone()
- GHOST.Parent = Effects
- GHOST.Torso.CFrame = TORSO.CFrame
- table.insert(GHOSTS,GHOST)
- CHILD:remove()
- end
- end
- end
- end
- end
- end
- function killnearest(position,range,maxstrength)
- for i,v in ipairs(workspace:GetChildren()) do
- local body = v:GetChildren()
- for part = 1, #body do
- if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
- if(body[part].Position - position).Magnitude < range then
- if v.ClassName == "Model" then
- v:BreakJoints()
- end
- --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
- bv.Parent = body[part]
- Debris:AddItem(bv,0.2)
- end
- end
- end
- if v.ClassName == "Part" then
- if v.Anchored == false and (v.Position - position).Magnitude < range then
- --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
- v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
- coroutine.resume(coroutine.create(function()
- local METEOR = IT("Model",Effects)
- METEOR.Name = "Meteorite"
- local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
- METEOR.PrimaryPart = CENTER
- local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
- PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- for i = 1, 15 do
- local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
- FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- end
- if ISDEBREE ~= true then
- METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- else
- METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- end
- local IMPACT = false
- CreateSound(463593339, CENTER, 10, 0.6)
- if SIZE >= 3.5 then
- for i = 1, MRANDOM(3,7) do
- SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
- end
- end
- for i = 1, 200 do
- Swait()
- local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
- if HITFLOOR == nil then
- local ORI = CENTER.Orientation
- METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
- else
- if HITFLOOR.Anchored == true then
- CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
- CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
- end
- IMPACT = true
- break
- end
- end
- if IMPACT == true then
- WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
- ApplyAoE(CENTER.Position,30*SIZE)
- end
- METEOR:remove()
- end))
- end
- function Execute()
- ATTACK = true
- Rooted = false
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- Trail.Enabled = true
- CreateSound(525166232, Head, 7, 1, false)
- local TOCH = RightArm.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
- Kill(hit.Parent)
- end
- end)
- for i=0, 0.35, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- TOCH:disconnect()
- Trail.Enabled = false
- for i=0, 0.35, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- function SinfulShell()
- ATTACK = true
- Rooted = false
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 750
- GYRO.P = 20000
- GYRO.MaxTorque = VT(0,40000000,0)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- GYRO:remove()
- CreateSound(696483710, Gun1, 5, 1, false)
- WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- coroutine.resume(coroutine.create(function()
- local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really red", "Sinful bullet", VT(0,0,0))
- CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0))
- Bullet.CFrame = Gun1.CFrame*CF(1.5,0.5,0)
- local AIMPOINT = Mouse.Hit.p
- local STARTPOS = Gun1.CFrame*CF(1.5,0.5,0).p
- local VECTOR = CF(STARTPOS,AIMPOINT)
- local IMPACTED = false
- CreateSound(1393698948, Bullet, 10, 1, true)
- for E = 1, 50 do
- if IMPACTED == true then
- break
- end
- local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p
- Bullet.CFrame = CF(Bullet.Position,TARGETPOINT)
- for i = 1, 5 do
- Swait()
- WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- Bullet.CFrame = Bullet.CFrame*CF(0,0,-1)
- local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character)
- if AIMHIT ~= nil then
- IMPACTED = true
- break
- end
- end
- end
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
- for i = 1, 7 do
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- Ghostify(Bullet.Position,10)
- Bullet:remove()
- end))
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- SinfulShell1()
- ATTACK = false
- Rooted = false
- end
- function SinfulShell1()
- ATTACK = true
- Rooted = false
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 750
- GYRO.P = 20000
- GYRO.MaxTorque = VT(0,40000000,0)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- GYRO:remove()
- CreateSound(696483710, Gun, 5, 1, false)
- WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- coroutine.resume(coroutine.create(function()
- local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really red", "Sinful bullet", VT(0,0,0))
- CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0))
- Bullet.CFrame = Gun.CFrame*CF(1.5,0.5,0)
- local AIMPOINT = Mouse.Hit.p
- local STARTPOS = Gun.CFrame*CF(1.5,0.5,0).p
- local VECTOR = CF(STARTPOS,AIMPOINT)
- local IMPACTED = false
- CreateSound(1393698948, Bullet, 10, 1, true)
- for E = 1, 50 do
- if IMPACTED == true then
- break
- end
- local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p
- Bullet.CFrame = CF(Bullet.Position,TARGETPOINT)
- for i = 1, 5 do
- Swait()
- WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- Bullet.CFrame = Bullet.CFrame*CF(0,0,-1)
- local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character)
- if AIMHIT ~= nil then
- IMPACTED = true
- break
- end
- end
- end
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
- for i = 1, 7 do
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- Ghostify(Bullet.Position,10)
- Bullet:remove()
- end))
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- function Shell()
- ATTACK = true
- Rooted = false
- repeat
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 750
- GYRO.P = 20000
- GYRO.MaxTorque = VT(0,40000,0)
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- if COMBO == 1 then
- COMBO = 2
- for i=0, 0.6, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound(696483710, Gun1, 5, 1, false)
- local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
- SpawnTrail(Gun1.CFrame*CF(1.5,0.5,0).p,AIMPOS)
- WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- elseif COMBO == 2 then
- COMBO = 1
- for i=0, 0.6, 0.1 / Animation_Speed do
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound(696483710, Gun1, 5, 1, false)
- local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
- SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS)
- WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- end
- GYRO:remove()
- until KEYHOLD == false
- ATTACK = false
- Rooted = false
- end
- function Taunt()
- ATTACK = true
- Rooted = false
- TAUNT = true
- for i=0, 0.1, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- end
- for i=0, 3, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- end
- CreateSound(363808674, Torso, 10, 1.3)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
- end
- WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- CreateSound(649634100, Torso, 10, 0.8)
- for i=0, 0.01, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- TAUNT = false
- end
- function Stop()
- ATTACK = false
- wait(0.1)
- sick:Stop()
- sick:Resume()
- LAUGH = CreateSound(138085838, Head, 10, 1, false)
- LAUGH:Stop()
- Rooted = false
- ATTACK = false
- end
- function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
- if DoesCourontine == false then
- local Direction = CF(Part.Position,ToLocation)
- local Distance = (Part.Position - ToLocation).magnitude
- for i = 1, AmountOfTime do
- Swait()
- Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
- Direction = Part.CFrame
- end
- Part:remove()
- elseif DoesCourontine == true then
- coroutine.resume(coroutine.create(function()
- local Direction = CF(Part.Position,ToLocation)
- local Distance = (Part.Position - ToLocation).magnitude
- for i = 1, AmountOfTime do
- Swait()
- Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
- Direction = Part.CFrame
- end
- Part:remove()
- end))
- end
- end
- function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- wave.Color = COLOR
- local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function Supernova()
- local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
- if HITFLOOR ~= nil then
- local HITBODIES = {}
- ATTACK = true
- Rooted = true
- local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
- MakeForm(ABSOLUTE,"Ball")
- CreateSound("429459101", ABSOLUTE, 10, 1)
- for i=0, 4, 0.1 / Animation_Speed do
- Swait()
- ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
- ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
- ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
- local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
- MakeForm(CHARGE,"Ball")
- CHARGE.Color = C3(1,1,1)
- CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
- FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- CreateSound("907330103", Head, 10, 1.2)
- for i = 1, 75 do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 13 do
- for e = 1, 8 do
- Swait()
- MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
- CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
- end
- CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
- CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
- CreateSound("168586621", ABSOLUTE, 4, 0.8)
- CreateSound("201858144", ABSOLUTE, 10, 0.8)
- killnearest(ABSOLUTE.Position,i*18,i)
- ABSOLUTE.Size = ABSOLUTE.Size*0.9
- MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
- MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
- end
- ABSOLUTE.Transparency = 1
- Debris:AddItem(ABSOLUTE,10)
- end))
- ATTACK = false
- Rooted = false
- end
- end
- function ShadowRoam()
- local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- if HITFLOOR then
- ATTACK = true
- local BUSY = false
- Rooted = true
- local CLOAKING = false
- local UNCLOAKED = true
- local LOOP = nil
- local FAKESHADOW = IT("Model",Effects)
- FAKESHADOW.Name = "Shadow"
- local POS = RootPart.Position
- local MOUSEHIT = nil
- --
- local TORS = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", Torso.Size)
- TORS.Color = C3(0,0,0)
- TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0))
- local HED = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", VT(Head.Size.Y,Head.Size.Y,Head.Size.Y))
- HED.Color = C3(0,0,0)
- HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0)
- local RARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size)
- RARM.Color = C3(0,0,0)
- RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
- local LARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size)
- LARM.Color = C3(0,0,0)
- LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15))
- local RLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size)
- RLEG.Color = C3(0,0,0)
- RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
- local LLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size)
- LLEG.Color = C3(0,0,0)
- LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15))
- --
- coroutine.resume(coroutine.create(function()
- coroutine.resume(coroutine.create(function()
- while wait() do
- if RootPart.Position.Y > POS.Y then
- BUSY = true
- if MOUSEHIT then
- MOUSEHIT:disconnect()
- end
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c ~= RootPart then
- c.Transparency = 0
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = 0
- end
- end
- end
- end
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- UNCLOAKED = false
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- Swait()
- if FAKESHADOW then
- for _, q in pairs(FAKESHADOW:GetChildren()) do
- if q.ClassName == "Part" then
- q.Transparency = q.Transparency + 1/15
- end
- end
- end
- end
- if FAKESHADOW then
- FAKESHADOW:remove()
- end
- FAKESHADOW = nil
- end))
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- UNCLOAKED = true
- if LOOP then
- LOOP.Pitch = LOOP.Pitch - 0.2
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- LOOP:remove()
- LOOP = nil
- for i = 1, 35 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = q.Transparency + 1/35
- end
- end
- end
- end
- end
- UNANCHOR = true
- ATTACK = false
- Rooted = false
- end
- if FAKESHADOW then
- TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0))
- HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0)
- RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
- LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15))
- RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15))
- LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15))
- end
- if LOOP ~= nil then
- LOOP.Parent = TORS
- end
- if ATTACK == false then
- break
- end
- end
- end))
- repeat
- Swait()
- if ATTACK == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- until CLOAKING == true
- end))
- wait(0.3)
- for i = 1, 35 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = q.Transparency - 1/35
- end
- end
- end
- end
- end
- UNANCHOR = false
- RootPart.Anchored = true
- CLOAKING = true
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- Swait()
- for _, q in pairs(FAKESHADOW:GetChildren()) do
- if q.ClassName == "Part" then
- q.Transparency = q.Transparency - 1/15
- end
- end
- end
- end))
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -2*SIZE) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- LOOP = CreateSound(487214658, TORS, 0, 1, true)
- for i=0, 0.6, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- UNCLOAKED = false
- if LOOP then
- LOOP.Volume = LOOP.Volume + 0.1
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -7*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = 1
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = 1
- end
- end
- end
- end
- MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY)
- local HITFLOOR,HITPOS = Raycast(RootPart.Position-VT(0,2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- if HITFLOOR then
- local POS = HITPOS
- local WORKING = true
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,0.2,10), Size2 = VT(0,0.5,0), Transparency = 1, Transparency2 = 0, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
- until WORKING == false
- end))
- wait(0.3)
- local SPIKE = CreatePart(3, Effects, "Fabric", 0, 0, "Maroon", "Spike", VT(2,32,2))
- SPIKE.Color = C3(0,0,0)
- local MSH = IT("SpecialMesh",SPIKE)
- MSH.MeshType = "FileMesh"
- MSH.MeshId = "http://www.roblox.com/asset/?id=785967755"
- MSH.Scale = SPIKE.Size/50
- SPIKE.CFrame = CF(POS+VT(0,15,0))
- ApplyAoE(SPIKE.Position,15,35,55,35,false)
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
- wait(0.2)
- for i = 1, 16 do
- Swait()
- SPIKE.CFrame = SPIKE.CFrame*CF(0,-2,0)
- end
- SPIKE:remove()
- WORKING = false
- end
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- if NEWKEY == "b" and BUSY == false then
- BUSY = true
- if MOUSEHIT then
- MOUSEHIT:disconnect()
- end
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c ~= RootPart then
- c.Transparency = 0
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = 0
- end
- end
- end
- end
- for i=0, 1.5, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- UNCLOAKED = false
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- Swait()
- for _, q in pairs(FAKESHADOW:GetChildren()) do
- if q.ClassName == "Part" then
- q.Transparency = q.Transparency + 1/15
- end
- end
- end
- FAKESHADOW:remove()
- FAKESHADOW = nil
- end))
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- RootPart.Anchored = true
- UNCLOAKED = true
- LOOP.Pitch = LOOP.Pitch - 0.2
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- LOOP:remove()
- LOOP = nil
- for i = 1, 35 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- for _, q in pairs(c:GetChildren()) do
- if q.ClassName == "Decal" then
- q.Transparency = q.Transparency + 1/35
- end
- end
- end
- end
- end
- UNANCHOR = true
- ATTACK = false
- Rooted = false
- elseif NEWKEY == "w" and BUSY == false then
- repeat
- Swait()
- local HITFLOOR = Raycast(CF(RootPart.CFrame*CF(0,-2.1*SIZE,0).p,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-3).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character)
- local FLOOR,HITPOS = Raycast(RootPart.Position-VT(0,-2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character)
- if HITFLOOR then
- WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,0.2,4), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
- RootPart.CFrame = CF(RootPart.Position,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-1)
- end
- until KEYHOLD == false or BUSY == true
- end
- end)
- end
- end
- function Teleport()
- ATTACK = true
- Rooted = false
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
- local PRT = PART:Clone()
- PRT.Anchored = true
- PRT.CanCollide = false
- PRT.Material = "Neon"
- PRT.Color = C3(1,0,0)
- PRT.Name = "WarpEffect"
- PRT.Parent = Effects
- PRT.CFrame = PART.CFrame
- PRT:BreakJoints()
- if PRT:FindFirstChildOfClass("Sound") then
- PRT:FindFirstChildOfClass("Sound"):remove()
- end
- if PRT:FindFirstChildOfClass("Decal") then
- PRT:FindFirstChildOfClass("Decal"):remove()
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- Swait()
- PRT.Transparency = PRT.Transparency + 1/100
- end
- PRT:remove()
- end))
- end
- end
- end
- CreateSound(217767125, Torso, 10, 1)
- local POS = RootPart.Orientation
- RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
- RootPart.Orientation = POS
- RootJoint.Parent = RootPart
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
- end
- for i=0, 0.1, 0.1 / Animation_Speed do
- Swait()
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- function Meteor_Shower()
- ATTACK = true
- Rooted = false
- CreateSound(1368573150, RightArm, 3, 0.8)
- CreateSound(649634100, Torso, 10, 0.8)
- for i=0, 1.2, 0.1 / Animation_Speed do
- Swait()
- WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
- end
- local POS = Mouse.Hit.p
- CreateSound(463593339, Effects, 3, 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 35 do
- wait(MRANDOM(5,150)/100)
- SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
- end
- end))
- ATTACK = false
- Rooted = false
- end
- function PandorasBox()
- local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- if HITFLOOR ~= nil then
- ATTACK = true
- Rooted = true
- local RINGSPIN = true
- local CONSTRUCTING = true
- local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
- RING.Color = C3(0,0,0)
- MakeForm(RING,"Cyl")
- RING.CFrame = CF(HITPOS)
- CreateSound(402981977, RING, 5, 1.2, false)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until CONSTRUCTING == false
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- until RINGSPIN == false
- for i = 1, 25 do
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- RING.Size = RING.Size - VT(0.15,0,0.15)
- --DECAL.Transparency = DECAL.Transparency + 1/25
- RING.Transparency = RING.Transparency + 1/25
- end
- RING:remove()
- end))
- for i = 1, 15 do
- Swait()
- RING.Size = RING.Size + VT(0.75,0,0.75)
- RING.Transparency = RING.Transparency - 1/15
- end
- local BOXSPIN = true
- local PANDORASBOX = IT("Model",Effects)
- PANDORASBOX.Name = "Pandora's Box"
- local BOX = IT("Model",PANDORASBOX)
- BOX.Name = "Body"
- local LID = IT("Model",PANDORASBOX)
- LID.Name = "Lid"
- --BUILDING THE BOX--
- local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
- BASE.Color = C3(0,0,0)
- PANDORASBOX.PrimaryPart = BASE
- BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(1,0,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
- WOOD.CFrame = BASE.CFrame*CF(0,0,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
- WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,0,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
- -------------
- local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
- LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
- LID.PrimaryPart = LIDPART
- local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
- local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
- local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
- local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
- local DECAL = IT("Decal",LIDPART)
- DECAL.Face = "Top"
- DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
- DECAL.Color3 = C3(0,0,0)
- --BUILDING THE BOX--
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
- until BOXSPIN == false
- end))
- for i = 1, 25 do
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
- end
- wait(0.5)
- BOXSPIN = false
- CONSTRUCTING = false
- coroutine.resume(coroutine.create(function()
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
- --[[for i = 1, 45 do
- Swait()
- LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
- end-
- LID:remove()]]--
- for _, c in pairs(LID:GetChildren()) do
- if c.ClassName == "Part" then
- c.Anchored = false
- c.CanCollide = true
- if c ~= LIDPART then
- weldBetween(LIDPART,c)
- end
- end
- end
- LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
- Debris:AddItem(LID,15)
- wait(0.5)
- local RANDOMEFFECT = MRANDOM(1,4)
- if RANDOMEFFECT == 1 then
- for i = 1, 45 do
- wait((2-(i/15))/15)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
- end
- wait(1)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- ApplyAoE(BASE.Position,50,1,200,375,false)
- ApplyAoE(BASE.Position,250,35,75,175,false)
- elseif RANDOMEFFECT == 2 then
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
- FIELD.CFrame = BASE.CFrame
- MakeForm(FIELD,"Ball")
- for i = 1, 50 do
- Swait()
- FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
- FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
- end
- wait(0.2)
- local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
- coroutine.resume(coroutine.create(function()
- for i = 1, 75 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/75
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- HUM.Health = HUM.Health - 0.1
- TORSO.Velocity = VT(0,5,0)
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size + VT(3,3,3)
- FIELD.Transparency = FIELD.Transparency + 0.8/75
- end
- for i = 1, 500 do
- Swait()
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 0.1
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- end
- for i = 1, 25 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/25
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 0.1
- HUM.PlatformStand = false
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size - VT(3,3,3)
- FIELD.Transparency = FIELD.Transparency + 0.2/25
- end
- FIELD:remove()
- end))
- elseif RANDOMEFFECT == 3 then
- for i = 1, 10 do
- wait(0.15)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
- coroutine.resume(coroutine.create(function()
- local MINION = CLONE:Clone()
- MINION.Parent = Effects
- MINION.Name = "Shadow"
- MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
- MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
- for _, c in pairs(MINION:GetChildren()) do
- if c.ClassName == "Part" then
- c.Material = "Neon"
- c.Color = C3(0,0,0)
- c.Transparency = 0.25
- if c.Name == "Head" then
- c:ClearAllChildren()
- local MSH = IT("BlockMesh",c)
- MSH.Scale = VT(0.5,1,1)
- end
- end
- end
- local TORSO = MINION.Torso
- local HUMAN = MINION.Humanoid
- HUMAN.WalkSpeed = 70
- HUMAN.MaxHealth = math.huge
- HUMAN.Health = math.huge
- HUMAN.DisplayDistanceType = "None"
- HUMAN.Died:connect(function()
- MINION:remove()
- --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
- end)
- wait(1)
- local findNearestTorso = function(POS)
- local list = game.Workspace:GetDescendants()
- local torso = nil
- local dist = 500
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
- temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
- human = temp2:findFirstChildOfClass("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, dist
- end
- for i = 1, 40 do
- if HUMAN.Health == 0 then
- break
- end
- wait(0.3)
- local target,dist= findNearestTorso(TORSO.Position)
- if target then
- HUMAN:MoveTo(target.Position)
- if dist < 25 then
- CreateSound(348663022, TORSO, 10, 1, true)
- wait(2)
- --local ANIM = HUMAN:LoadAnimation(ATANIM)
- --ANIM:Play()
- --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
- ApplyAoE(TORSO.Position,10,0,0,85,true)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
- for i = 1, 5 do
- WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- break
- end
- end
- end
- MINION:remove()
- end))
- end
- elseif RANDOMEFFECT == 4 then
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
- FIELD.Color = C3(0,0,0)
- FIELD.CFrame = BASE.CFrame
- MakeForm(FIELD,"Ball")
- FIELD.CanCollide = true
- for i = 1, 50 do
- Swait()
- FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
- FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
- end
- wait(0.2)
- local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
- coroutine.resume(coroutine.create(function()
- local E = 0
- for i = 1, 75 do
- E = E + 1
- Swait()
- if E >= 35 then
- E = 0
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
- end
- LOOP.Volume = LOOP.Volume + 10/75
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- HUM.Health = HUM.Health - 0.3
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
- end
- for i = 1, 180 do
- E = E + 1
- Swait()
- if E >= 35 then
- E = 0
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
- end
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- HUM.Health = HUM.Health - 0.3
- end
- end
- end
- end
- end
- end
- ApplyAoE(FIELD.Position,40,15,20,375,false)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- FIELD:remove()
- end))
- elseif RANDOMEFFECT == 5 then
- end
- wait(0.5)
- for i = 1, 25 do
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
- end
- PANDORASBOX:remove()
- RINGSPIN = false
- end))
- ATTACK = false
- Rooted = false
- end
- end
- function MissilesOfDespair()
- ATTACK = true
- Rooted = true
- local MAKERING = true
- local RINGGROW = false
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- if ATTACK == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- until MAKERING == false
- repeat
- Swait()
- if ATTACK == false then
- break
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
- until RINGGROW == true
- end))
- local FIRERING = IT("Model",Effects)
- FIRERING.Name = "RingOfFire"
- local MAIN = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0))
- FIRERING.PrimaryPart = MAIN
- local RINGS = {}
- local EMITTERS = {}
- for i = 1, 45 do
- local PRT = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1))
- PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,0)
- table.insert(RINGS,PRT)
- local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"})
- PRTCL.LockedToPart = true
- PRTCL.Rate = 35
- table.insert(EMITTERS,PRTCL)
- end
- FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0)))
- wait(0.5)
- MAKERING = false
- CreateSound(278641993, MAIN, 5, 1.2, false)
- for e = 1, 45 do
- Swait()
- FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0)))
- for i = 1, #RINGS do
- RINGS[i].CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,e/10)
- end
- end
- RINGGROW = true
- wait(0.2)
- for i = 1, 15 do
- wait(0.08)
- coroutine.resume(coroutine.create(function()
- local POS = Mouse.Hit.p
- local MISSILE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Missile", VT(0.5,1,0.5))
- MISSILE.Color = C3(0.2,0,0)
- CreateSound(84005018, MISSILE, 0.2, 1.2, false)
- MakeForm(MISSILE,"Ball")
- MISSILE.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,5))
- for i = 1, 10 do
- Swait()
- MISSILE.Transparency = MISSILE.Transparency - 1/15
- MISSILE.CFrame = MISSILE.CFrame * CF(0,0.7,0)
- end
- for i = 1, 5 do
- Swait()
- MISSILE.Transparency = MISSILE.Transparency - 1/15
- MISSILE.CFrame = MISSILE.CFrame * CF(0,0.5,0)
- end
- MISSILE.Size = VT(0.2,0.2,1.5)
- MISSILE.CFrame = CF(MISSILE.Position,POS)
- for i = 1, 150 do
- Swait()
- MISSILE.CFrame = MISSILE.CFrame*CF(0,0,-3)
- local HIT = Raycast(MISSILE.Position, MISSILE.CFrame.lookVector, 4, Character)
- if HIT ~= nil then
- WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = 165970126, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
- for i = 1, 5 do
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,2,35), Transparency = 0.8, Transparency2 = 1, CFrame = MISSILE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- ApplyAoE(MISSILE.Position,15,15,25,35,false)
- break
- end
- end
- MISSILE:remove()
- end))
- end
- for i = 1, #EMITTERS do
- EMITTERS[i].Enabled = false
- end
- Debris:AddItem(FIRERING,3)
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- if ATTACK == false then
- Execute()
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- if Key == "k" and ATTACK == false then
- PandorasBox()
- end
- function KeyDown(Key)
- if Key == "r" and ATTACK == false then
- Meteor_Shower()
- end
- if Key == "q" and ATTACK == false then
- Teleport()
- end
- KEYHOLD = true
- if Key == "z" and ATTACK == false then
- ShadowRoam()
- end
- if Key == "t" and ATTACK == false then
- Taunt()
- end
- if Key == "p" and ATTACK == false then
- Stop()
- end
- if Key == "x" and ATTACK == false then
- MissilesOfDespair()
- end
- if Key == "c" and ATTACK == false then
- Supernova()
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- local BLINKLOOP = 0
- while true do
- Swait()
- refit()
- ANIMATE.Parent = nil
- local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
- IDLEANIMATION:Play()
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
- local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
- if ATTACK == false then
- if TORSOVELOCITY < 1 then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- elseif TORSOVELOCITY > 1 then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- end
- --TORSOVELOCITY
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- for _, c in pairs(workspace:GetChildren()) do
- if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
- end
- end
- end
- sick.SoundId = "rbxassetid://1382488262"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 6
- sick.Playing = true
- sick.Parent = Torso
- Humanoid.DisplayDistanceType = "None"
- if Head:FindFirstChild("face") then
- Head.face.Texture = "rbxassetid://403870689"
- end
- BLINKLOOP = BLINKLOOP + 1
- if BLINKLOOP >=650 then
- BLINKLOOP = 0
- Blink()
- end
- if #GHOSTS>0 then
- for e=1,#GHOSTS do
- if GHOSTS[e]~=nil then
- local Thing=GHOSTS[e]
- if Thing~=nil then
- if Thing:FindFirstChild("Head") then
- if Thing:FindFirstChild("Head"):FindFirstChild("face") then
- Thing:FindFirstChild("Head").face.Texture = "rbxassetid://85169860"
- end
- if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
- Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
- end
- end
- local TORSO = Thing:FindFirstChild("Torso")
- if TORSO then
- TORSO.Anchored = false
- local ROOT = Thing.HumanoidRootPart
- local RootJoint1 = ROOT:FindFirstChild("RootJoint")
- local Neck1 = TORSO:FindFirstChild("Neck")
- local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
- local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
- local RightHip1 = TORSO:FindFirstChild("Right Hip")
- local LeftHip1 = TORSO:FindFirstChild("Left Hip")
- local RightArm1 = TORSO:FindFirstChild("Right Arm")
- local LeftArm1 = TORSO:FindFirstChild("Left Arm")
- if ROOT and RootJoint1 then
- local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
- if VELOCITY < 1 then
- RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))), 1 / Animation_Speed
- Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed
- RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed
- LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed
- RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed
- LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed
- elseif VELOCITY > 1 then
- RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))), 1 / Animation_Speed
- Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed
- RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed
- LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed
- RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed
- LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed
- end
- end
- local Human = Thing.Humanoid
- if Human then
- Human.HipHeight = 0.3
- for _, c in pairs(Thing:GetChildren()) do
- if c.ClassName == "Part" and c.Transparency < 1 then
- c.Color = C3(0,0,0)
- c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
- elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
- c:remove()
- end
- end
- if Human then
- local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
- IDLEANIMATION:Play()
- end
- local list = game.Workspace:children()
- local torso = nil
- local dist = 75
- local temp = nil
- local human = nil
- local temp2 = nil
- local OwnerInDanger = false
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
- temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
- human = temp2:findFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - Torso.Position).magnitude < 15 then
- OwnerInDanger = true
- newdist = (temp.Position - TORSO.Position).magnitude
- dist = (Torso.Position - temp.Position).magnitude
- Human:MoveTo(temp.Position)
- torso = temp
- if newdist < 7 then
- torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
- CreateSound(814168787, temp, 1, 2, false)
- ApplyDamage(human,MRANDOM(15,35),temp)
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- end
- end
- end
- end
- end
- if OwnerInDanger == false then
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
- temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
- human = temp2:findFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - Torso.Position).magnitude < dist then
- newdist = (temp.Position - TORSO.Position).magnitude
- Human:MoveTo(temp.Position)
- torso = temp
- if newdist < 15 then
- if MRANDOM(1,35) == 1 then
- CreateSound(438665935, temp, 1, 3, false)
- ApplyDamage(human,MRANDOM(2,10),temp)
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
- end
- end
- end
- end
- end
- end
- end
- if torso == nil then
- Human.WalkSpeed = Speed -0.2
- if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
- Human:MoveTo(TORSO.Position)
- elseif (Torso.Position - TORSO.Position).magnitude > 15 then
- Human:MoveTo(Torso.Position)
- elseif (Torso.Position - TORSO.Position).magnitude < 11 then
- Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
- end
- else
- if OwnerInDanger == false then
- Human.WalkSpeed = Speed*40
- else
- Human.WalkSpeed = Speed*40
- end
- end
- if Human.Health == 0 then
- Thing:remove()
- table.remove(GHOSTS,e)
- refit()
- else
- Human.Health = Human.Health + 0.5
- end
- else
- Thing:remove()
- table.remove(GHOSTS,e)
- end
- else
- Thing:remove()
- table.remove(GHOSTS,e)
- end
- end
- end
- end
- end
- refit()
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement