SHOW:
|
|
- or go back to the newest paste.
1 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
2 | local Plrs = S.Players | |
3 | local Plr = Plrs.LocalPlayer | |
4 | local Char = Plr.Character | |
5 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
6 | local RArm = Char["Right Arm"] | |
7 | local LArm = Char["Left Arm"] | |
8 | local RLeg = Char["Right Leg"] | |
9 | local LLeg = Char["Left Leg"] | |
10 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
11 | local Torso = Char.Torso | |
12 | local Head = Char.Head | |
13 | local NeutralAnims = true | |
14 | local Attack = false | |
15 | local BloodPuddles = {} | |
16 | local Effects = {} | |
17 | local Debounces = {Debounces={}} | |
18 | local Mouse = Plr:GetMouse() | |
19 | local Hit = {} | |
20 | local Sine = 0 | |
21 | local Idle = 0 | |
22 | local Change = 1 | |
23 | local FLArm,FRArm,FRArmW,FLArmW | |
24 | local Stunned = {} | |
25 | - | local VoidSB = (game.PlaceId == 843468296) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB |
25 | + | local VoidSB = (game.PlaceId == 0) -- You can change the 843468296 to 0 if you dont care about potential lag on Void SB |
26 | plr = game.Players.LocalPlayer | |
27 | mouse = plr:GetMouse() | |
28 | part = nil | |
29 | bp = nil | |
30 | particles = nil | |
31 | function clerp(a,b,c,d) | |
32 | for i = 0,d,.01 do | |
33 | a.CFrame = CFrame.new(b:lerp(c,i)) | |
34 | wait() | |
35 | end | |
36 | end | |
37 | function slerp(a2,b2,c2,d2) | |
38 | for i2 = 0,d2,.01 do | |
39 | a2.CFrame = CFrame.new(b2:lerp(c2,i2)) | |
40 | wait() | |
41 | end | |
42 | end | |
43 | mouse.KeyDown:connect(function(key) | |
44 | if key == "e" and plr.Character.Parent == workspace then | |
45 | plr.Character.Parent = workspace.Camera | |
46 | plr.Character.Archivable = true | |
47 | Instance.new("ForceField",plr.Character).Visible = false | |
48 | for y,t in pairs(plr.Character:GetChildren()) do | |
49 | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then | |
50 | t.Transparency = 1 | |
51 | if t.Name == "Head" and t:FindFirstChild("face") then | |
52 | t.face.Transparency = 1 | |
53 | end | |
54 | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then | |
55 | t.Handle.Transparency = 1 | |
56 | end | |
57 | end | |
58 | elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then | |
59 | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p) | |
60 | elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then | |
61 | if plr.Character.Torso.Anchored == true then | |
62 | for y,t in pairs(plr.Character:GetChildren()) do | |
63 | if t:IsA("Part") then | |
64 | t.Anchored = false | |
65 | end | |
66 | end | |
67 | else | |
68 | for y,t in pairs(plr.Character:GetChildren()) do | |
69 | if t:IsA("Part") then | |
70 | t.Anchored = true | |
71 | end | |
72 | end | |
73 | end | |
74 | elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then | |
75 | local clone = part:Clone() | |
76 | clone.Parent = workspace | |
77 | clone.Anchored = false | |
78 | clone:ClearAllChildren() | |
79 | clone.CanCollide = true | |
80 | bp.Parent = clone | |
81 | particles.Parent = clone | |
82 | if part.Parent:FindFirstChildOfClass("Humanoid") then | |
83 | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false | |
84 | end | |
85 | part:Destroy() | |
86 | part = clone | |
87 | elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then | |
88 | plr.Character.Parent = workspace | |
89 | plr.Character.Archivable = false | |
90 | plr.Character:FindFirstChildOfClass("ForceField"):Remove() | |
91 | for y,t in pairs(plr.Character:GetChildren()) do | |
92 | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then | |
93 | t.Transparency = 0 | |
94 | if t.Name == "Head" and t:FindFirstChild("face") then | |
95 | t.face.Transparency = 0 | |
96 | end | |
97 | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then | |
98 | t.Handle.Transparency = 0 | |
99 | end | |
100 | end | |
101 | end | |
102 | end) | |
103 | mouse.Button1Down:connect(function() | |
104 | if plr.Character.Parent == workspace.Camera then | |
105 | if mouse ~= nil then | |
106 | if mouse.Target ~= nil then | |
107 | part = mouse.Target | |
108 | bp = Instance.new("BodyPosition",part) | |
109 | bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
110 | bp.Position = part.Position | |
111 | particles = Instance.new("ParticleEmitter",part) | |
112 | particles.Color = ColorSequence.new(Color3.new(0,0,0)) | |
113 | particles.Size = NumberSequence.new(1) | |
114 | particles.Texture = "rbxassetid://292289455" | |
115 | particles.VelocitySpread = 360 | |
116 | particles.Speed = NumberRange.new(0) | |
117 | particles.RotSpeed = NumberRange.new(0) | |
118 | particles.Rotation = NumberRange.new(0) | |
119 | particles.Rate = 250 | |
120 | particles.Lifetime = NumberRange.new(.2,.4) | |
121 | particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)}) | |
122 | dwn = true | |
123 | end | |
124 | end | |
125 | while dwn == true do | |
126 | wait() | |
127 | bp.Position = mouse.hit.p | |
128 | if part then | |
129 | if part.Parent:FindFirstChildOfClass("Humanoid") then | |
130 | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
131 | end | |
132 | end | |
133 | end | |
134 | end | |
135 | end) | |
136 | mouse.Button1Up:connect(function() | |
137 | dwn = false | |
138 | if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end | |
139 | if bp then bp:Destroy() end | |
140 | if particles then particles:Destroy() end | |
141 | end) | |
142 | base = Instance.new("ScreenGui",plr.PlayerGui) | |
143 | bbg = Instance.new("BillboardGui",plr.Character.Head) | |
144 | bbg.Size = UDim2.new(0,200,0,50) | |
145 | bbg.StudsOffset = Vector3.new(0,3,0) | |
146 | bbgTl = Instance.new("TextLabel",bbg) | |
147 | bbgTl.BackgroundTransparency = 1 | |
148 | bbgTl.Size = UDim2.new(10,0,1,0) | |
149 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
150 | bbgTl.Font = "Code" | |
151 | bbgTl.Text = " " | |
152 | bbgTl.TextSize = 25 | |
153 | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) | |
154 | bbgTl.TextColor3 = Color3.new(0,0,0) | |
155 | bbgTl.TextStrokeTransparency = 0 | |
156 | bbgTl.TextWrapped = true | |
157 | plr.Chatted:connect(function(msg) | |
158 | bbgTl.Text = msg | |
159 | wait(5) | |
160 | if bbgTl.Text == msg then | |
161 | bbgTl.Text = " " | |
162 | end | |
163 | end) | |
164 | touchCounter = 0 | |
165 | while wait() do | |
166 | if plr.Character.Parent == workspace.Camera then | |
167 | local c = plr.Character:Clone() | |
168 | c:MakeJoints() | |
169 | for y,t in pairs(c:GetChildren()) do | |
170 | if t:IsA("Part") then | |
171 | t.CanCollide = false | |
172 | t.Anchored = true | |
173 | t.Transparency = .5 | |
174 | t.TopSurface = "Smooth" | |
175 | t.BottomSurface = "Smooth" | |
176 | t.RightSurface = "Smooth" | |
177 | t.LeftSurface = "Smooth" | |
178 | t.FrontSurface = "Smooth" | |
179 | t.BackSurface = "Smooth" | |
180 | t.BrickColor = BrickColor.new("Really black") | |
181 | if t.Name == "Head" and t:FindFirstChild("face") then | |
182 | t.face:Remove() | |
183 | elseif t.Name == "Torso" and t:FindFirstChild("roblox") then | |
184 | t.roblox:Remove() | |
185 | elseif t.Name == "HumanoidRootPart" then | |
186 | t:Remove() | |
187 | end | |
188 | else | |
189 | t:Remove() | |
190 | end | |
191 | end | |
192 | c.Parent = workspace | |
193 | game.Debris:AddItem(c,.05) | |
194 | end | |
195 | end | |
196 | CyborgArm = New("Model",Char,"CyborgArm",{}) | |
197 | Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),}) | |
198 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
199 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
200 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
201 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
202 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
203 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
204 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
205 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
206 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
207 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
208 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.16000044, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),}) | |
209 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
210 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
211 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
212 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
213 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
214 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
215 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
216 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
217 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
218 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
219 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
220 | ||
221 | for _,v in next, CyborgArm:children() do | |
222 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
223 | end | |
224 | ||
225 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye1.Material = 'Glass' end) | |
226 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end) | |
227 | pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end) | |
228 | ||
229 | ||
230 | if(PlayerSize ~= 1)then | |
231 | for _,v in next, Char:GetDescendats() do | |
232 | if(v:IsA'BasePart')then | |
233 | v.Size = v.Size * PlayerSize | |
234 | wait(1/60) | |
235 | Effects = { } | |
236 | local Player = game:service'Players'.localPlayer | |
237 | local chara = Player.Character | |
238 | local Humanoid = chara:FindFirstChildOfClass("Humanoid") | |
239 | local Mouse = Player:GetMouse() | |
240 | local LeftArm = chara["Left Arm"] | |
241 | local RightArm = chara["Right Arm"] | |
242 | local LeftLeg = chara["Left Leg"] | |
243 | local RightLeg = chara["Right Leg"] | |
244 | local Head = chara.Head | |
245 | local Torso = chara.Torso | |
246 | local RootPart = chara.HumanoidRootPart | |
247 | local RootJoint = RootPart.RootJoint | |
248 | local attack = false | |
249 | local Anim = 'Idle' | |
250 | local attacktype = 1 | |
251 | local delays = false | |
252 | local play = true | |
253 | local targetted = nil | |
254 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
255 | local velocity = RootPart.Velocity.y | |
256 | local sine = 0 | |
257 | local change = 1 | |
258 | local doe = 0 | |
259 | local heddo = nil | |
260 | local grabhead = false | |
261 | local armo = nil | |
262 | local grabhand = false | |
263 | local Create = LoadLibrary("RbxUtility").Create | |
264 | Humanoid.WalkSpeed = 8 | |
265 | ||
266 | ||
267 | ||
268 | Humanoid.Animator.Parent = nil | |
269 | chara.Animate.Parent = nil | |
270 | ||
271 | local newMotor = function(part0, part1, c0, c1) | |
272 | local w = Create('Motor'){ | |
273 | Parent = part0, | |
274 | Part0 = part0, | |
275 | Part1 = part1, | |
276 | C0 = c0, | |
277 | C1 = c1, | |
278 | } | |
279 | return w | |
280 | end | |
281 | ||
282 | function clerp(a, b, t) | |
283 | return a:lerp(b, t) | |
284 | end | |
285 | ||
286 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
287 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
288 | ||
289 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
290 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
291 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
292 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
293 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
294 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
295 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
296 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
297 | ||
298 | ||
299 | local rarmc1 = RW.C1 | |
300 | local larmc1 = LW.C1 | |
301 | local rlegc1 = RH.C1 | |
302 | local llegc1 = LH.C1 | |
303 | ||
304 | local resetc1 = false | |
305 | ||
306 | function PlayAnimationFromTable(table, speed, bool) | |
307 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
308 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
309 | RW.C0 = clerp(RW.C0, table[3], speed) | |
310 | LW.C0 = clerp(LW.C0, table[4], speed) | |
311 | RH.C0 = clerp(RH.C0, table[5], speed) | |
312 | LH.C0 = clerp(LH.C0, table[6], speed) | |
313 | if bool == true then | |
314 | if resetc1 == false then | |
315 | resetc1 = true | |
316 | RootJoint.C1 = RootJoint.C1 | |
317 | Torso.Neck.C1 = Torso.Neck.C1 | |
318 | RW.C1 = rarmc1 | |
319 | LW.C1 = larmc1 | |
320 | RH.C1 = rlegc1 | |
321 | LH.C1 = llegc1 | |
322 | end | |
323 | end | |
324 | end | |
325 | ||
326 | ||
327 | ArtificialHB = Instance.new("BindableEvent", script) | |
328 | ArtificialHB.Name = "Heartbeat" | |
329 | script:WaitForChild("Heartbeat") | |
330 | frame = 0.03333333333333 | |
331 | tf = 0 | |
332 | allowframeloss = false | |
333 | tossremainder = false | |
334 | lastframe = tick() | |
335 | script.Heartbeat:Fire() | |
336 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
337 | tf = tf + s | |
338 | if tf >= frame then | |
339 | if allowframeloss then | |
340 | script.Heartbeat:Fire() | |
341 | lastframe = tick() | |
342 | else | |
343 | for i = 1, math.floor(tf / frame) do | |
344 | script.Heartbeat:Fire() | |
345 | end | |
346 | lastframe = tick() | |
347 | end | |
348 | if tossremainder then | |
349 | tf = 0 | |
350 | else | |
351 | tf = tf - frame * math.floor(tf / frame) | |
352 | end | |
353 | end | |
354 | end) | |
355 | function swait(num) | |
356 | if num == 0 or num == nil then | |
357 | ArtificialHB.Event:wait() | |
358 | else | |
359 | for i = 0, num do | |
360 | ArtificialHB.Event:wait() | |
361 | end | |
362 | end | |
363 | end | |
364 | ||
365 | function RemoveOutlines(part) | |
366 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
367 | end | |
368 | ||
369 | ||
370 | CFuncs = { | |
371 | ["Part"] = { | |
372 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
373 | local Part = Create("Part"){ | |
374 | Parent = Parent, | |
375 | Reflectance = Reflectance, | |
376 | Transparency = Transparency, | |
377 | CanCollide = false, | |
378 | Locked = true, | |
379 | BrickColor = BrickColor.new(tostring(BColor)), | |
380 | Name = Name, | |
381 | Size = Size, | |
382 | Material = Material, | |
383 | } | |
384 | RemoveOutlines(Part) | |
385 | return Part | |
386 | end; | |
387 | }; | |
388 | ||
389 | ["Mesh"] = { | |
390 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
391 | local Msh = Create(Mesh){ | |
392 | Parent = Part, | |
393 | Offset = OffSet, | |
394 | Scale = Scale, | |
395 | } | |
396 | if Mesh == "SpecialMesh" then | |
397 | Msh.MeshType = MeshType | |
398 | Msh.MeshId = MeshId | |
399 | end | |
400 | return Msh | |
401 | end; | |
402 | }; | |
403 | ||
404 | ["Mesh"] = { | |
405 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
406 | local Msh = Create(Mesh){ | |
407 | Parent = Part, | |
408 | Offset = OffSet, | |
409 | Scale = Scale, | |
410 | } | |
411 | if Mesh == "SpecialMesh" then | |
412 | Msh.MeshType = MeshType | |
413 | Msh.MeshId = MeshId | |
414 | end | |
415 | return Msh | |
416 | end; | |
417 | }; | |
418 | ||
419 | ["Weld"] = { | |
420 | Create = function(Parent, Part0, Part1, C0, C1) | |
421 | local Weld = Create("Weld"){ | |
422 | Parent = Parent, | |
423 | Part0 = Part0, | |
424 | Part1 = Part1, | |
425 | C0 = C0, | |
426 | C1 = C1, | |
427 | } | |
428 | return Weld | |
429 | end; | |
430 | }; | |
431 | ||
432 | ["ParticleEmitter"] = { | |
433 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
434 | local fp = Create("ParticleEmitter"){ | |
435 | Parent = Parent, | |
436 | Color = ColorSequence.new(Color1, Color2), | |
437 | LightEmission = LightEmission, | |
438 | Size = Size, | |
439 | Texture = Texture, | |
440 | Transparency = Transparency, | |
441 | ZOffset = ZOffset, | |
442 | Acceleration = Accel, | |
443 | Drag = Drag, | |
444 | LockedToPart = LockedToPart, | |
445 | VelocityInheritance = VelocityInheritance, | |
446 | EmissionDirection = EmissionDirection, | |
447 | Enabled = Enabled, | |
448 | Lifetime = LifeTime, | |
449 | Rate = Rate, | |
450 | Rotation = Rotation, | |
451 | RotSpeed = RotSpeed, | |
452 | Speed = Speed, | |
453 | VelocitySpread = VelocitySpread, | |
454 | } | |
455 | return fp | |
456 | end; | |
457 | }; | |
458 | ||
459 | CreateTemplate = { | |
460 | ||
461 | }; | |
462 | } | |
463 | ||
464 | ||
465 | function so(id,par,pit,vol) | |
466 | local sou = Instance.new("Sound", par or workspace) | |
467 | if par == chara then | |
468 | sou.Parent = chara.Torso | |
469 | end | |
470 | sou.Volume = vol | |
471 | sou.Pitch = pit or 1 | |
472 | sou.SoundId = "rbxassetid://" .. id | |
473 | sou.PlayOnRemove = true | |
474 | sou:Destroy() | |
475 | end | |
476 | ||
477 | New = function(Object, Parent, Name, Data) | |
478 | local Object = Instance.new(Object) | |
479 | for Index, Value in pairs(Data or {}) do | |
480 | Object[Index] = Value | |
481 | end | |
482 | Object.Parent = Parent | |
483 | Object.Name = Name | |
484 | return Object | |
485 | end | |
486 | ||
487 | function createrainbow(part,size,trans,life,face,speed,accel,velsp,lock,name) | |
488 | local fira = Instance.new("ParticleEmitter",part) | |
489 | fira.Name = name | |
490 | fira.Color = ColorSequence.new(Color3.new(0,0,0)) | |
491 | fira.Size = size | |
492 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
493 | fira.Transparency = trans | |
494 | fira.Lifetime = life | |
495 | fira.EmissionDirection = face | |
496 | fira.Rate = 10000 | |
497 | fira.RotSpeed = NumberRange.new(100) | |
498 | fira.Rotation = NumberRange.new(0,360) | |
499 | fira.Speed = speed | |
500 | fira.VelocitySpread = velsp | |
501 | fira.Acceleration = accel | |
502 | fira.LockedToPart = lock | |
503 | return fira | |
504 | end | |
505 | ||
506 | Wings = New("Model",chara,"Wings",{}) | |
507 | MainPart = New("Part",Wings,"MainPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(67.400032, 1.00001299, -47.2999992, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
508 | Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = Torso,}) | |
509 | Wing1Part = New("Part",Wings,"Wing1Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.2041626, 2.02130413, -46.7787056, 0.866025448, 0.35355404, 0.35355413, -0.353553772, 0.933016062, -0.0669873655, -0.353553891, -0.0669873059, 0.933015943),}) | |
510 | createrainbow(Wing1Part,NumberSequence.new(.5,1),NumberSequence.new(0),NumberRange.new(1),"Back",NumberRange.new(5),Vector3.new(0,10,0),0,true,"Firea") | |
511 | Weld = New("ManualWeld",Wing1Part,"Weld",{Part0 = Wing1Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, -0.353553772, -0.353553891, 0.35355404, 0.933016062, -0.0669873059, 0.35355413, -0.0669873655, 0.933015943),C1 = CFrame.new(0.804130554, 1.02129114, 0.52129364, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
512 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.433013618, 0.250000477, 0.353553772, 0.176777452, -0.918561935, 0.353553891, 0.883886695, 0.306187093),}) | |
513 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
514 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.433013618, 0.176777452, 0.883886695, 0.250000477, -0.918561935, 0.306187093),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
515 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.482963979, 0.12940979, 0.353553772, 0.408495188, -0.841509461, 0.353553891, 0.774522126, 0.524520695),}) | |
516 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
517 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.482963979, 0.408495188, 0.774522126, 0.12940979, -0.841509461, 0.524520695),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
518 | Wing2Part = New("Part",Wings,"Wing2Part",{Transparency = 1,CanCollide=true,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(70.4018326, 6.17824459, -42.6217613, 0.866025448, -0.500001192, 3.06954462e-12, 0.353553772, 0.612374902, -0.707109571, 0.353553891, 0.61237514, 0.707109332),}) | |
519 | createrainbow(Wing2Part,NumberSequence.new(1,0),NumberSequence.new(0),NumberRange.new(1.5),"Back",NumberRange.new(10),Vector3.new(0,10,0),0,true,"Firea") | |
520 | Weld = New("ManualWeld",Wing2Part,"Weld",{Part0 = Wing2Part,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.866025448, 0.353553772, 0.353553891, -0.500001192, 0.612374902, 0.61237514, 3.06954462e-12, -0.707109571, 0.707109332),C1 = CFrame.new(3.00180054, 5.17823172, 4.67823792, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
521 | ||
522 | Halo = New("Model",chara,"Halo",{}) | |
523 | AHaloPart = New("Part",Halo,"AHaloPart",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999973, 5.50001764, -16.4999981, 1.00000644, 0, 1.25170106e-06, 0, 1, 0, 1.22189874e-06, 0, 1.00000715),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
524 | HaWeld = New("ManualWeld",AHaloPart,"HaWeld",{Part0 = AHaloPart,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),C1 = CFrame.new(-1.90734863e-06, 1.00000906, 1.33514404e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
525 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071625, 5.50001764, -16.0999889, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
526 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(0.692829132, 0, 0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
527 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.285759, 5.50001764, -15.8871527, 0.76605016, 0, 0.642795265, 0, 1, 0, -0.642793238, 0, 0.766053021),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
528 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.766044378, 0, -0.642788231, 0, 1, 0, 0.642788351, 0, 0.766044497),C1 = CFrame.new(0.514234543, 0, 0.612840652, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
529 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736217, 5.50001764, -17.2517643, 0.939700842, 0, 0.342024595, 0, 1, 0, -0.342021763, 0, 0.939702868),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
530 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.939693093, 0, -0.342019916, 0, 1, 0, 0.342020094, 0, 0.939693153),C1 = CFrame.new(-0.273622513, 0, -0.751760483, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
531 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928379, 5.50001764, -16.9000072, 0.500003397, 0, 0.866038799, 0, 1, 0, -0.866037428, 0, 0.500008583),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
532 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.499999106, 0, -0.866026282, 0, 1, 0, 0.866026342, 0, 0.499999285),C1 = CFrame.new(-0.692834854, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
533 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.4928265, 5.50001764, -16.0999737, -0.500008047, 0, 0.866034508, 0, 1, 0, -0.866037786, 0, -0.500004828),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
534 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000477, 0, -0.866025746, 0, 1, 0, 0.866025627, 0, -0.500000358),C1 = CFrame.new(-0.692825317, 0, 0.400022507, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
535 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.5878544, 5.50001764, -16.6389122, 0.173646897, 0, 0.984815121, 0, 1, 0, -0.984815359, 0, 0.173649639),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
536 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808564, 0, 1, 0, 0.984808564, 0, 0.173647195),C1 = CFrame.new(-0.787851334, 0, -0.138912201, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
537 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.5263824, 5.50001764, -17.2517605, -0.939701259, 0, 0.342020363, 0, 1, 0, -0.342023492, 0, -0.93970114),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
538 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.93969363, 0, -0.34201926, 0, 1, 0, 0.342019081, 0, -0.93969363),C1 = CFrame.new(0.273614883, 0, -0.751756668, 1.00000119, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000131),}) | |
539 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121346, 5.50001764, -16.6389122, -0.173651725, 0, 0.984817922, 0, 1, 0, -0.984819889, 0, -0.173648074),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
540 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648179, 0, -0.984808624, 0, 1, 0, 0.984808445, 0, -0.17364794),C1 = CFrame.new(0.787857056, 0, -0.138914108, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
541 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.0121384, 5.50001764, -16.3610725, 0.173646957, 0, 0.984817505, 0, 1, 0, -0.984817922, 0, 0.173650518),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
542 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 0.173647016, 0, -0.984808624, 0, 1, 0, 0.984808564, 0, 0.173647255),C1 = CFrame.new(0.787853241, 0, 0.138923645, 1.00000238, 0, 3.57627869e-07, 0, 1, 0, 3.57627869e-07, 0, 1.00000262),}) | |
543 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.2857647, 5.50001764, -17.1128464, -0.766056955, 0, 0.642793596, 0, 1, 0, -0.642798543, 0, -0.766054869),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
544 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(0.514230728, 0, -0.612844467, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
545 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.1071663, 5.50001764, -16.9000053, -0.500009298, 0, 0.866035819, 0, 1, 0, -0.866039753, 0, -0.500005484),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
546 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.500000715, 0, -0.866026103, 0, 1, 0, 0.866025865, 0, -0.500000477),C1 = CFrame.new(0.692827225, 0, -0.400005341, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
547 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.3142319, 5.50001764, -15.8871336, -0.766055584, 0, 0.642793, 0, 1, 0, -0.642797172, 0, -0.766053736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
548 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.766045511, 0, -0.642787457, 0, 1, 0, 0.642787278, 0, -0.766045451),C1 = CFrame.new(-0.514232635, 0, 0.61286068, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
549 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.0736103, 5.50001764, -15.7482185, -0.939703703, 0, 0.34202081, 0, 1, 0, -0.342024893, 0, -0.939703524),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
550 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.939693749, 0, -0.342019379, 0, 1, 0, 0.342019081, 0, -0.939693689),C1 = CFrame.new(-0.273612976, 0, 0.751774788, 1.00000358, 0, 5.81145287e-07, 0, 1, 0, 5.96046448e-07, 0, 1.00000393),}) | |
551 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-19.587862, 5.50001764, -16.3610744, -0.173652977, 0, 0.984820604, 0, 1, 0, -0.984823227, 0, -0.17364794),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
552 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, -0.173648298, 0, -0.984808683, 0, 1, 0, 0.984808445, 0, -0.17364791),C1 = CFrame.new(-0.787858963, 0, 0.138923645, 1.00000644, 0, 1.22189874e-06, 0, 1, 0, 1.25170106e-06, 0, 1.00000715),}) | |
553 | HaPart = New("Part",Halo,"HaPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(-18.7999992, 5.50001764, -17.3000011, 1.00001216, 0, 2.29479861e-06, 0, 1, 0, 2.29479883e-06, 0, 1.00001347),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
554 | Weld = New("ManualWeld",HaPart,"Weld",{Part0 = HaPart,Part1 = AHaloPart,C0 = CFrame.new(0, 0, 0, 1.00000072, 0, 1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 1.00000083),C1 = CFrame.new(0, 0, -0.79999733, 1.00000501, 0, 8.64267349e-07, 0, 1, 0, 8.94069672e-07, 0, 1.00000548),}) | |
555 | Horns = New("Part",Halo,"Horns",{FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-18.7999992, 5.72899342, -16.4698296, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
556 | Mesh = New("SpecialMesh",Horns,"Mesh",{Scale = Vector3.new(1.08000004, 1, 1),VertexColor = Vector3.new(-1, -1, -1),MeshId = "http://www.roblox.com/asset/?id=71494804",TextureId = "http://www.roblox.com/asset/?id=71494779",MeshType = Enum.MeshType.FileMesh,}) | |
557 | Weld = New("ManualWeld",Horns,"Weld",{Part0 = Horns,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.22898483, -0.0301551819, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
558 | for i,v in pairs(Halo:children()) do | |
559 | if v:IsA("BasePart") then | |
560 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
561 | end | |
562 | end | |
563 | coroutine.wrap(function() | |
564 | while true do | |
565 | swait() | |
566 | HaWeld.C0 = HaWeld.C0 * CFrame.Angles(0,math.rad(1),0) | |
567 | end | |
568 | end)() | |
569 | ||
570 | ||
571 | ||
572 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
573 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)}) | |
574 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)}) | |
575 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001,LightEmission = 1}) | |
576 | return TEff | |
577 | end | |
578 | ||
579 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
580 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
581 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
582 | RATR = CreateTrailObj(RightArm,"White","White",0,0) | |
583 | ||
584 | function rayCast(Position, Direction, Range, Ignore) | |
585 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
586 | end | |
587 | ||
588 | function killmortal(dude,faws) | |
589 | local hah = dude:FindFirstChildOfClass("Humanoid") | |
590 | if hah and dude:FindFirstChild("Debawns")==nil and dude.Name ~= "Salvo_Starly" and dude.Name ~= "NoobyGames12" and dude.Name ~= "CKbackup" and dude.Name ~= "Nebula_Zorua" then | |
591 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
592 | if torsy then | |
593 | local val = Instance.new("BoolValue",dude) | |
594 | val.Name = "Debawns" | |
595 | game:service'Debris':AddItem(val,2) | |
596 | torsy.Velocity = RootPart.CFrame.lookVector*faws | |
597 | coroutine.wrap(function() | |
598 | for nn=1,math.random(4,6) do | |
599 | local bl = Instance.new("Part",dude) | |
600 | bl.CFrame = torsy.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1)) | |
601 | local randd = math.random(6,20)/10 | |
602 | bl.Size = Vector3.new(randd,.2,randd) | |
603 | bl.BrickColor = BrickColor.new("Maroon") | |
604 | bl.Material = "Granite" | |
605 | local clm = Instance.new("CylinderMesh",bl) | |
606 | coroutine.wrap(function() | |
607 | swait(120) | |
608 | for i=0,1,.01 do | |
609 | clm.Scale = Vector3.new(1-i,1-i,1-i) | |
610 | swait() | |
611 | end | |
612 | bl:Destroy() | |
613 | end)() | |
614 | end | |
615 | end)() | |
616 | end | |
617 | hah:TakeDamage(math.random(30,35)) | |
618 | end | |
619 | end | |
620 | ||
621 | function mdmg(Part, Magnitude, HitType) | |
622 | for _, c in pairs(workspace:GetDescendants()) do | |
623 | local hum = c:FindFirstChildOfClass("Humanoid") | |
624 | if hum ~= nil then | |
625 | local head = c:FindFirstChild("UpperTorso") or c:FindFirstChild("Torso") | |
626 | if head ~= nil then | |
627 | local targ = head.Position - Part.Position | |
628 | local mag = targ.magnitude | |
629 | if mag <= Magnitude and c.Name ~= Player.Name and c:FindFirstChild("MagDmgd")==nil then | |
630 | if c.Name ~= chara then | |
631 | if c.Name ~= "CKbackup" or c.Name ~= "Nebula_Zorua" or c.Name ~= "Salvo_Starly" then | |
632 | local val = Instance.new("BoolValue",c) | |
633 | val.Name = "MagDmgd" | |
634 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
635 | if HitType == "Blunt" then | |
636 | so(386946017,head,.95,3) | |
637 | elseif HitType == "Scream" then | |
638 | coroutine.wrap(function() | |
639 | local haed = c:FindFirstChild("Head") | |
640 | swait(3) | |
641 | so(206082327,haed,1,5) | |
642 | local passa = haed.Position | |
643 | haed:Destroy() | |
644 | createSplatter(passa) | |
645 | for i=1,15 do | |
646 | local bl = Instance.new("Part",head) | |
647 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
648 | local rand = math.random(2,7)/10 | |
649 | bl.Size = Vector3.new(rand,rand,rand) | |
650 | bl.BrickColor = BrickColor.new("Maroon") | |
651 | bl.Material = "Granite" | |
652 | end | |
653 | end)() | |
654 | elseif HitType == "Arm" then | |
655 | grabhand = false | |
656 | so(386946017,head,.95,3) | |
657 | armo:BreakJoints() | |
658 | local ar = armo | |
659 | coroutine.wrap(function() | |
660 | ar.Velocity = RootPart.CFrame.lookVector*-5 + RootPart.CFrame.rightVector*-5 + Vector3.new(0,60,0) | |
661 | swait(2) | |
662 | ar.CanCollide = true | |
663 | swait(60) | |
664 | for i=0,1,.05 do | |
665 | swait() | |
666 | ar.Transparency = i | |
667 | end | |
668 | ar.Parent:Destroy() | |
669 | end)() | |
670 | armo = nil | |
671 | elseif HitType == "Shot" then | |
672 | so(144884872,head,.9,3) | |
673 | game:service'Debris':AddItem(val,.05) | |
674 | end | |
675 | killmortal(c,10) | |
676 | else | |
677 | end | |
678 | end | |
679 | end | |
680 | end | |
681 | end | |
682 | end | |
683 | end | |
684 | ||
685 | --[[FindNearestTorso = function(pos) | |
686 | local list = (game.workspace:GetDescendants()) | |
687 | local torso = nil | |
688 | local dist = 1000 | |
689 | local temp, human, temp2 = nil, nil, nil | |
690 | for x = 1, #list do | |
691 | temp2 = list[x] | |
692 | if temp2.className == "Model" and temp2.Name ~= chara.Name then | |
693 | temp = temp2:findFirstChild("Torso") | |
694 | human = temp2:FindFirstChildOfClass("Humanoid") | |
695 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
696 | local dohit = true | |
697 | if dohit == true then | |
698 | torso = temp | |
699 | dist = (temp.Position - pos).magnitude | |
700 | end | |
701 | end | |
702 | end | |
703 | end | |
704 | return torso, dist | |
705 | end]] | |
706 | ||
707 | ||
708 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
709 | if SinglePlayer then | |
710 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
711 | end | |
712 | local List = {} | |
713 | for i, v in pairs(workspace:GetDescendants()) do | |
714 | if v:IsA("Model") then | |
715 | if v:findFirstChild("Head") then | |
716 | if v ~= chara then | |
717 | if (v.Head.Position - Position).magnitude <= Distance then | |
718 | table.insert(List, v) | |
719 | end | |
720 | end | |
721 | end | |
722 | end | |
723 | end | |
724 | return List | |
725 | end | |
726 | ||
727 | ||
728 | --Chat Function-- | |
729 | function chatfunc(text) | |
730 | coroutine.wrap(function() | |
731 | if chara:FindFirstChild("TalkingBillBoard")~= nil then | |
732 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
733 | end | |
734 | local naeeym2 = Instance.new("BillboardGui",chara) | |
735 | naeeym2.Size = UDim2.new(0,100,0,40) | |
736 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
737 | naeeym2.Adornee = chara.Head | |
738 | naeeym2.Name = "TalkingBillBoard" | |
739 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
740 | tecks2.BackgroundTransparency = 1 | |
741 | tecks2.BorderSizePixel = 0 | |
742 | tecks2.Text = "" | |
743 | tecks2.Font = "Fantasy" | |
744 | tecks2.FontSize = "Size24" | |
745 | tecks2.TextStrokeTransparency = 0 | |
746 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
747 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
748 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
749 | local shk = coroutine.wrap(function() | |
750 | while tecks2 ~= nil do | |
751 | swait(.05) | |
752 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
753 | end | |
754 | end) | |
755 | shk() | |
756 | for i = 1,string.len(text),1 do | |
757 | tecks2.Text = string.sub(text,1,i) | |
758 | swait(0.01) | |
759 | end | |
760 | swait(30) | |
761 | for i = 1, 5 do | |
762 | swait() | |
763 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
764 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
765 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
766 | end | |
767 | naeeym2:Destroy() | |
768 | end)() | |
769 | end | |
770 | ||
771 | ||
772 | ||
773 | ||
774 | EffectModel = Create("Model"){ | |
775 | Parent = chara, | |
776 | Name = "Effects", | |
777 | } | |
778 | ||
779 | ||
780 | Effects = { | |
781 | Block = { | |
782 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
783 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
784 | prt.Anchored = true | |
785 | prt.CFrame = cframe | |
786 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
787 | game:GetService("Debris"):AddItem(prt, 10) | |
788 | if Type == 1 or Type == nil then | |
789 | table.insert(Effects, { | |
790 | prt, | |
791 | "Block1", | |
792 | delay, | |
793 | x3, | |
794 | y3, | |
795 | z3, | |
796 | msh | |
797 | }) | |
798 | elseif Type == 2 then | |
799 | table.insert(Effects, { | |
800 | prt, | |
801 | "Block2", | |
802 | delay, | |
803 | x3, | |
804 | y3, | |
805 | z3, | |
806 | msh | |
807 | }) | |
808 | end | |
809 | end; | |
810 | }; | |
811 | ||
812 | Cylinder = { | |
813 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
814 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
815 | prt.Anchored = true | |
816 | prt.CFrame = cframe | |
817 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
818 | game:GetService("Debris"):AddItem(prt, 10) | |
819 | table.insert(Effects, { | |
820 | prt, | |
821 | "Cylinder", | |
822 | delay, | |
823 | x3, | |
824 | y3, | |
825 | z3, | |
826 | msh | |
827 | }) | |
828 | end; | |
829 | }; | |
830 | Head = { | |
831 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
832 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
833 | prt.Anchored = true | |
834 | prt.CFrame = cframe | |
835 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
836 | game:GetService("Debris"):AddItem(prt, 10) | |
837 | table.insert(Effects, { | |
838 | prt, | |
839 | "Cylinder", | |
840 | delay, | |
841 | x3, | |
842 | y3, | |
843 | z3, | |
844 | msh | |
845 | }) | |
846 | end; | |
847 | }; | |
848 | ||
849 | Sphere = { | |
850 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
851 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
852 | prt.Anchored = true | |
853 | prt.CFrame = cframe | |
854 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
855 | game:GetService("Debris"):AddItem(prt, 10) | |
856 | table.insert(Effects, { | |
857 | prt, | |
858 | "Cylinder", | |
859 | delay, | |
860 | x3, | |
861 | y3, | |
862 | z3, | |
863 | msh | |
864 | }) | |
865 | end; | |
866 | }; | |
867 | ||
868 | Elect = { | |
869 | Create = function(cff, x, y, z) | |
870 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
871 | prt.Anchored = true | |
872 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
873 | prt.CFrame = CFrame.new(prt.Position) | |
874 | game:GetService("Debris"):AddItem(prt, 2) | |
875 | local xval = math.random() / 2 | |
876 | local yval = math.random() / 2 | |
877 | local zval = math.random() / 2 | |
878 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
879 | table.insert(Effects, { | |
880 | prt, | |
881 | "Elec", | |
882 | 0.1, | |
883 | x, | |
884 | y, | |
885 | z, | |
886 | xval, | |
887 | yval, | |
888 | zval | |
889 | }) | |
890 | end; | |
891 | ||
892 | }; | |
893 | ||
894 | Ring = { | |
895 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
896 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
897 | prt.Anchored = true | |
898 | prt.CFrame = cframe | |
899 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
900 | game:GetService("Debris"):AddItem(prt, 10) | |
901 | table.insert(Effects, { | |
902 | prt, | |
903 | "Cylinder", | |
904 | delay, | |
905 | x3, | |
906 | y3, | |
907 | z3, | |
908 | msh | |
909 | }) | |
910 | end; | |
911 | }; | |
912 | ||
913 | ||
914 | Wave = { | |
915 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
916 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
917 | prt.Anchored = true | |
918 | prt.CFrame = cframe | |
919 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
920 | game:GetService("Debris"):AddItem(prt, 10) | |
921 | table.insert(Effects, { | |
922 | prt, | |
923 | "Cylinder", | |
924 | delay, | |
925 | x3, | |
926 | y3, | |
927 | z3, | |
928 | msh | |
929 | }) | |
930 | end; | |
931 | }; | |
932 | ||
933 | Break = { | |
934 | Create = function(brickcolor, cframe, x1, y1, z1) | |
935 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
936 | prt.Anchored = true | |
937 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
938 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
939 | local num = math.random(10, 50) / 1000 | |
940 | game:GetService("Debris"):AddItem(prt, 10) | |
941 | table.insert(Effects, { | |
942 | prt, | |
943 | "Shatter", | |
944 | num, | |
945 | prt.CFrame, | |
946 | math.random() - math.random(), | |
947 | 0, | |
948 | math.random(50, 100) / 100 | |
949 | }) | |
950 | end; | |
951 | }; | |
952 | ||
953 | Fire = { | |
954 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
955 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
956 | prt.Anchored = true | |
957 | prt.CFrame = cframe | |
958 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
959 | game:GetService("Debris"):AddItem(prt, 10) | |
960 | table.insert(Effects, { | |
961 | prt, | |
962 | "Fire", | |
963 | delay, | |
964 | 1, | |
965 | 1, | |
966 | 1, | |
967 | msh | |
968 | }) | |
969 | end; | |
970 | }; | |
971 | ||
972 | FireWave = { | |
973 | Create = function(brickcolor, cframe, x1, y1, z1) | |
974 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
975 | prt.Anchored = true | |
976 | prt.CFrame = cframe | |
977 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
978 | local d = Create("Decal"){ | |
979 | Parent = prt, | |
980 | Texture = "rbxassetid://26356434", | |
981 | Face = "Top", | |
982 | } | |
983 | local d = Create("Decal"){ | |
984 | Parent = prt, | |
985 | Texture = "rbxassetid://26356434", | |
986 | Face = "Bottom", | |
987 | } | |
988 | game:GetService("Debris"):AddItem(prt, 10) | |
989 | table.insert(Effects, { | |
990 | prt, | |
991 | "FireWave", | |
992 | 1, | |
993 | 30, | |
994 | math.random(400, 600) / 100, | |
995 | msh | |
996 | }) | |
997 | end; | |
998 | }; | |
999 | ||
1000 | Lightning = { | |
1001 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1002 | local magz = (p0 - p1).magnitude | |
1003 | local curpos = p0 | |
1004 | local trz = { | |
1005 | -ofs, | |
1006 | ofs | |
1007 | } | |
1008 | for i = 1, tym do | |
1009 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1010 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1011 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1012 | li.Material = "Neon" | |
1013 | if tym == i then | |
1014 | local magz2 = (curpos - p1).magnitude | |
1015 | li.Size = Vector3.new(th, th, magz2) | |
1016 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1017 | table.insert(Effects, { | |
1018 | li, | |
1019 | "Disappear", | |
1020 | last | |
1021 | }) | |
1022 | else | |
1023 | do | |
1024 | do | |
1025 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1026 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1027 | game.Debris:AddItem(li, 10) | |
1028 | table.insert(Effects, { | |
1029 | li, | |
1030 | "Disappear", | |
1031 | last | |
1032 | }) | |
1033 | end | |
1034 | end | |
1035 | end | |
1036 | end | |
1037 | end | |
1038 | }; | |
1039 | ||
1040 | EffectTemplate = { | |
1041 | ||
1042 | }; | |
1043 | } | |
1044 | ||
1045 | ||
1046 | local blpemit = Instance.new("ParticleEmitter") | |
1047 | blpemit.Color = ColorSequence.new(Color3.new(.5,0,0)) | |
1048 | blpemit.Texture = "rbxassetid://233069772" | |
1049 | blpemit.Transparency = NumberSequence.new(0,1) | |
1050 | blpemit.Lifetime = NumberRange.new(1,3) | |
1051 | blpemit.Acceleration = Vector3.new(0,-10,0) | |
1052 | blpemit.Enabled = true | |
1053 | blpemit.EmissionDirection = "Front" | |
1054 | blpemit.Speed = NumberRange.new(1,3) | |
1055 | blpemit.Size = NumberSequence.new(.5) | |
1056 | blpemit.Rate = 1000 | |
1057 | blpemit.RotSpeed = NumberRange.new(50) | |
1058 | blpemit.Rotation = NumberRange.new(0,360) | |
1059 | ||
1060 | function createSplatter(pos) | |
1061 | local emit = Instance.new("Part",chara) | |
1062 | emit.Anchored = true | |
1063 | emit.CanCollide = false | |
1064 | emit.Size = Vector3.new() | |
1065 | emit.Transparency = 1 | |
1066 | emit.CFrame = CFrame.new(pos) | |
1067 | local blp = blpemit:Clone() | |
1068 | blp.Parent = emit | |
1069 | blp.Enabled = false | |
1070 | blp.EmissionDirection = "Top" | |
1071 | blp.VelocitySpread = 60 | |
1072 | blp.Size = NumberSequence.new(2,0) | |
1073 | blp.Lifetime = NumberRange.new(3) | |
1074 | blp.Speed = NumberRange.new(10) | |
1075 | blp.Acceleration = Vector3.new(0,-10,0) | |
1076 | blp:Emit(math.random(35,40)) | |
1077 | game:service'Debris':AddItem(emit,4) | |
1078 | end | |
1079 | ||
1080 | function thenatsuki() | |
1081 | attack = true | |
1082 | Humanoid.WalkSpeed = 2 | |
1083 | local grab = nil | |
1084 | local torsy = nil | |
1085 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1086 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1087 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1088 | grab = v | |
1089 | end | |
1090 | end | |
1091 | if grab ~= nil and torsy ~= nil then | |
1092 | Instance.new("BoolValue",grab).Name = "NATSUKID" | |
1093 | so(200632136, RootPart, .8, 1) | |
1094 | for i = 0,2,0.1 do | |
1095 | swait() | |
1096 | PlayAnimationFromTable({ | |
1097 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1098 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1099 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
1100 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
1101 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
1102 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
1103 | }, .3, false) | |
1104 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1105 | torsy.Velocity = Vector3.new() | |
1106 | end | |
1107 | local wel = Instance.new("Weld",grab.Head) | |
1108 | wel.Part0 = torsy | |
1109 | wel.Part1 = grab.Head | |
1110 | wel.C0 = CFrame.new(0,1.5,0) | |
1111 | local bledp = Instance.new("Part",grab) | |
1112 | bledp.Size = Vector3.new(0,0,0) | |
1113 | bledp.Transparency = 1 | |
1114 | bledp.CanCollide = false | |
1115 | local blpe = blpemit:Clone() | |
1116 | blpe.Parent = bledp | |
1117 | blpe.EmissionDirection = "Top" | |
1118 | blpe.VelocitySpread = 5 | |
1119 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1120 | local bledw = Instance.new("Weld",bledp) | |
1121 | bledw.Part0 = grab.Head | |
1122 | bledw.Part1 = bledp | |
1123 | bledw.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(0,0,math.rad(45)) | |
1124 | so(314390675,torsy,.7,5) | |
1125 | for i = 0, 1, 0.25 do | |
1126 | swait() | |
1127 | PlayAnimationFromTable({ | |
1128 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
1129 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
1130 | CFrame.new(1.14925241, 0.936202288, -0.560600817, 0.834721982, 0.490812272, 0.249685481, 0.39564395, -0.219157442, -0.891872227, -0.383021295, 0.843251646, -0.377122372), | |
1131 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
1132 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
1133 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
1134 | }, .3, false) | |
1135 | wel.C0 = CFrame.new(.7*i,1.5,0) * CFrame.Angles(0,0,math.rad(-90*i)) | |
1136 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
1137 | torsy.Velocity = Vector3.new() | |
1138 | end | |
1139 | for i=1,30 do | |
1140 | swait() | |
1141 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-2) | |
1142 | torsy.Velocity = Vector3.new() | |
1143 | end | |
1144 | killmortal(grab,20) | |
1145 | end | |
1146 | attack = false | |
1147 | Humanoid.WalkSpeed = 8 | |
1148 | end | |
1149 | ||
1150 | xhold = false | |
1151 | function thesurou() | |
1152 | attack = true | |
1153 | Humanoid.WalkSpeed = 2 | |
1154 | local grab = nil | |
1155 | local torsy = nil | |
1156 | local hum = nil | |
1157 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1158 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1159 | hum = v:FindFirstChildOfClass("Humanoid") | |
1160 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1161 | grab = v | |
1162 | end | |
1163 | end | |
1164 | if grab ~= nil and torsy ~= nil then | |
1165 | so(200632136, RootPart, .8, 1) | |
1166 | for i = 0,1.5,0.1 do | |
1167 | swait() | |
1168 | PlayAnimationFromTable({ | |
1169 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1170 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1171 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1172 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1173 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1174 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1175 | }, .3, false) | |
1176 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1177 | torsy.Velocity = Vector3.new() | |
1178 | end | |
1179 | so(240429615, torsy, 1, 1) | |
1180 | for i = 0, 1.5, 0.1 do | |
1181 | swait() | |
1182 | PlayAnimationFromTable({ | |
1183 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1184 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1185 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1186 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1187 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1188 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1189 | }, .3, false) | |
1190 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1191 | torsy.Velocity = Vector3.new() | |
1192 | end | |
1193 | repeat | |
1194 | --for i = 0, 2, 0.1 do | |
1195 | swait() | |
1196 | PlayAnimationFromTable({ | |
1197 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1198 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1199 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1200 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1201 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1202 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1203 | }, .3, false) | |
1204 | torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0) | |
1205 | hum.PlatformStand = true | |
1206 | torsy.Velocity = Vector3.new() | |
1207 | --end | |
1208 | until xhold == false | |
1209 | so(200632136, RootPart, .9, 1) | |
1210 | local pato = Instance.new("Part",torsy) | |
1211 | pato.CFrame = torsy.CFrame | |
1212 | pato.Size = Vector3.new(4.1,6.1,1.1) | |
1213 | pato.Transparency = 1 | |
1214 | pato.CanCollide = false | |
1215 | pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1216 | local werudo = Instance.new("Weld",pato) | |
1217 | werudo.Part0 = pato | |
1218 | werudo.Part1 = torsy | |
1219 | torsy.Velocity = (Mouse.Hit.p-torsy.Position).unit*100+Vector3.new(0,30,0) | |
1220 | torsy.RotVelocity = Vector3.new(10,10,10) | |
1221 | coroutine.wrap(function() | |
1222 | while true do | |
1223 | swait() | |
1224 | hum.PlatformStand = true | |
1225 | end | |
1226 | end) | |
1227 | pato.Touched:connect(function(hit) | |
1228 | if hit:IsDescendantOf(chara)==false then | |
1229 | pato:Destroy() | |
1230 | killmortal(grab,5) | |
1231 | so(260430079,torsy,1,5) | |
1232 | createSplatter(torsy.Position) | |
1233 | mdmg(torsy,3,"Blunt") | |
1234 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(torsy.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1235 | end | |
1236 | end) | |
1237 | end | |
1238 | for i = 0, 1, 0.1 do | |
1239 | swait() | |
1240 | PlayAnimationFromTable({ | |
1241 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1242 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1243 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1244 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1245 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1246 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1247 | }, .3, false) | |
1248 | end | |
1249 | attack = false | |
1250 | Humanoid.WalkSpeed = 8 | |
1251 | end | |
1252 | ||
1253 | function thehead() | |
1254 | attack = true | |
1255 | Humanoid.WalkSpeed = 2 | |
1256 | local grab = nil | |
1257 | local torsy = nil | |
1258 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1259 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1260 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1261 | grab = v | |
1262 | end | |
1263 | end | |
1264 | if grab ~= nil and torsy ~= nil then | |
1265 | so(200632136, RootPart, .8, 1) | |
1266 | for i = 0,2,0.1 do | |
1267 | swait() | |
1268 | PlayAnimationFromTable({ | |
1269 | CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), | |
1270 | CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), | |
1271 | CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304), | |
1272 | CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768), | |
1273 | CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173), | |
1274 | CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326), | |
1275 | }, .3, false) | |
1276 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1277 | torsy.Velocity = Vector3.new() | |
1278 | end | |
1279 | local armmod = Instance.new("Model",chara) | |
1280 | armmod.Name = grab.Name | |
1281 | Instance.new("Humanoid",armmod).Health = 0 | |
1282 | for i, v in pairs(grab:GetChildren()) do | |
1283 | if v:IsA("Accoutrement") then | |
1284 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1285 | v.Handle.AccessoryWeld.Part1 = nil | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | local armp = grab:FindFirstChild("Head") | |
1290 | createSplatter(armp.Position) | |
1291 | killmortal(grab,5) | |
1292 | armp.Parent = armmod | |
1293 | for i, v in pairs(grab:GetChildren()) do | |
1294 | if v:IsA("Accoutrement") then | |
1295 | if v:FindFirstChild("Handle"):FindFirstChild("AccessoryWeld") then | |
1296 | v.Handle.AccessoryWeld.Part1 = armp | |
1297 | v.Parent = armmod | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | so(206082327,armp,1,5) | |
1302 | local bledp = Instance.new("Part",grab) | |
1303 | bledp.Size = Vector3.new(0,0,0) | |
1304 | bledp.Transparency = 1 | |
1305 | bledp.CanCollide = false | |
1306 | local blpe = blpemit:Clone() | |
1307 | blpe.Parent = bledp | |
1308 | blpe.EmissionDirection = "Top" | |
1309 | blpe.VelocitySpread = 20 | |
1310 | local wel = Instance.new("Weld",armp) | |
1311 | wel.Part0 = RightArm | |
1312 | wel.Part1 = armp | |
1313 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-90),0,0) | |
1314 | local blape = bledp:Clone() | |
1315 | blape.Parent = armmod | |
1316 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1317 | local bledw = Instance.new("Weld",bledp) | |
1318 | bledw.Part0 = torsy | |
1319 | bledw.Part1 = bledp | |
1320 | bledw.C0 = CFrame.new(0,1,0) | |
1321 | local bledw2 = Instance.new("Weld",blape) | |
1322 | bledw2.Part0 = armp | |
1323 | bledw2.Part1 = blape | |
1324 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1325 | grabhead = true | |
1326 | heddo = armp | |
1327 | for i = 0, 1, 0.25 do | |
1328 | swait() | |
1329 | PlayAnimationFromTable({ | |
1330 | CFrame.new(-0.37728107, 0.00182711286, -0.228351086, 0.707106352, 0.0616285279, -0.704416513, 0, 0.99619478, 0.0871558264, 0.707107365, -0.0616284423, 0.7044155), | |
1331 | CFrame.new(-9.90927219e-07, 1.49941754, 0.0767165273, 0.766044199, 0, 0.642788053, 0.0560227223, 0.99619478, -0.066765219, -0.640341938, 0.0871558264, 0.763129056), | |
1332 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1333 | CFrame.new(-1.01654804, 1.22616923, -0.180458635, 0.525007069, -0.121539712, -0.8423751, -0.63483566, -0.715151966, -0.292475075, -0.566878796, 0.688320994, -0.452617407), | |
1334 | CFrame.new(0.499999106, -1.99927592, -0.116537355, 0.965925813, 0, -0.258819491, -0.0225576311, 0.99619478, -0.0841860622, 0.257834613, 0.0871558264, 0.962249994), | |
1335 | CFrame.new(-0.500003219, -1.99927604, -0.116538122, 0.984807849, 0, 0.173648447, 0.0151344724, 0.99619478, -0.0858317465, -0.17298761, 0.0871558264, 0.981060266), | |
1336 | }, .3, false) | |
1337 | end | |
1338 | swait(30) | |
1339 | end | |
1340 | attack = false | |
1341 | Humanoid.WalkSpeed = 8 | |
1342 | end | |
1343 | ||
1344 | function headthrow() | |
1345 | attack = true | |
1346 | Humanoid.WalkSpeed = 2 | |
1347 | for i = 0, 2, 0.1 do | |
1348 | swait() | |
1349 | PlayAnimationFromTable({ | |
1350 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1351 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1352 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1353 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1354 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1355 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1356 | }, .3, false) | |
1357 | end | |
1358 | so(200632136, RootPart, .8, 1) | |
1359 | local haea = heddo | |
1360 | haea.Weld:Destroy() | |
1361 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1362 | haea.RotVelocity = Vector3.new(10,10,10) | |
1363 | haea.Touched:connect(function(hit) | |
1364 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1365 | print("BOOBIES") | |
1366 | Instance.new("BoolValue",haea).Name = "HITA" | |
1367 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1368 | killmortal(hit.Parent,50) | |
1369 | so(386946017,haea,.95,5) | |
1370 | swait(120) | |
1371 | for i=0,1,.05 do | |
1372 | haea.Transparency = i | |
1373 | swait() | |
1374 | end | |
1375 | haea.Parent:Destroy() | |
1376 | end | |
1377 | end) | |
1378 | heddo = nil | |
1379 | grabhead = false | |
1380 | for i = 0, 1, 0.1 do | |
1381 | swait() | |
1382 | PlayAnimationFromTable({ | |
1383 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1384 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1385 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1386 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1387 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1388 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1389 | }, .3, false) | |
1390 | end | |
1391 | attack = false | |
1392 | Humanoid.WalkSpeed = 8 | |
1393 | end | |
1394 | ||
1395 | function therip() | |
1396 | attack = true | |
1397 | Humanoid.WalkSpeed = 2 | |
1398 | local grab = nil | |
1399 | local torsy = nil | |
1400 | local hum = nil | |
1401 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1402 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1403 | hum = v:FindFirstChildOfClass("Humanoid") | |
1404 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1405 | grab = v | |
1406 | end | |
1407 | end | |
1408 | if grab ~= nil and torsy ~= nil then | |
1409 | so(200632136, RootPart, .8, 1) | |
1410 | for i = 0,1.5,0.1 do | |
1411 | swait() | |
1412 | PlayAnimationFromTable({ | |
1413 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1414 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1415 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1416 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1417 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1418 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1419 | }, .3, false) | |
1420 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1421 | torsy.Velocity = Vector3.new() | |
1422 | end | |
1423 | so(240429615, torsy, 1, 1) | |
1424 | for i = 0, 1.5, 0.1 do | |
1425 | swait() | |
1426 | PlayAnimationFromTable({ | |
1427 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1428 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
1429 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
1430 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1431 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1432 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1433 | }, .3, false) | |
1434 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1435 | torsy.Velocity = Vector3.new() | |
1436 | end | |
1437 | for i = 0, 3, 0.1 do | |
1438 | swait() | |
1439 | PlayAnimationFromTable({ | |
1440 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1441 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1442 | CFrame.new(1.45148087, 1.32618856, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1443 | CFrame.new(-1.48567963, 1.22015762, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1444 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1445 | CFrame.new(-0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1446 | }, .3, false) | |
1447 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(90),0,math.rad(90)),.3) | |
1448 | hum.PlatformStand = true | |
1449 | torsy.Velocity = Vector3.new() | |
1450 | end | |
1451 | so(206082327,torsy,1,5) | |
1452 | createSplatter(torsy.Position) | |
1453 | if hum.RigType == Enum.HumanoidRigType.R6 then | |
1454 | local lleg = grab:FindFirstChild("Left Leg") | |
1455 | local rleg = grab:FindFirstChild("Right Leg") | |
1456 | local mad = Instance.new("Model",workspace) | |
1457 | Instance.new("Humanoid",mad).Health = 0 | |
1458 | mad.Humanoid.MaxHealth = 0 | |
1459 | if grab:FindFirstChildOfClass("Pants") then grab:FindFirstChildOfClass("Pants"):Clone().Parent = mad end | |
1460 | killmortal(grab,0) | |
1461 | coroutine.wrap(function() | |
1462 | swait(4) | |
1463 | torsy.Velocity = RootPart.CFrame.rightVector*-30 | |
1464 | lleg.Parent = mad | |
1465 | rleg.Parent = mad | |
1466 | lleg.CanCollide = true | |
1467 | rleg.CanCollide = true | |
1468 | lleg:BreakJoints() | |
1469 | rleg:BreakJoints() | |
1470 | lleg.Velocity = RootPart.CFrame.rightVector*30 | |
1471 | rleg.Velocity = RootPart.CFrame.rightVector*30 | |
1472 | local bledp = Instance.new("Part",mad) | |
1473 | bledp.Size = Vector3.new(0,0,0) | |
1474 | bledp.Transparency = 1 | |
1475 | bledp.CanCollide = false | |
1476 | local blpe = blpemit:Clone() | |
1477 | blpe.Parent = bledp | |
1478 | blpe.EmissionDirection = "Top" | |
1479 | blpe.VelocitySpread = 20 | |
1480 | local bledp2 = bledp:Clone() | |
1481 | bledp2.Parent = mad | |
1482 | local blape = bledp:Clone() | |
1483 | blape.Parent = mad | |
1484 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1485 | blape.Size = Vector3.new(1.5,0,0) | |
1486 | local bledw = Instance.new("Weld",bledp) | |
1487 | bledw.Part0 = lleg | |
1488 | bledw.Part1 = bledp | |
1489 | bledw.C0 = CFrame.new(0,1,0) | |
1490 | local bledw2 = Instance.new("Weld",blape) | |
1491 | bledw2.Part0 = torsy | |
1492 | bledw2.Part1 = blape | |
1493 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1494 | local bledw3 = Instance.new("Weld",bledp2) | |
1495 | bledw.Part0 = rleg | |
1496 | bledw.Part1 = bledp2 | |
1497 | bledw.C0 = CFrame.new(0,1,0) | |
1498 | game:service'Debris':AddItem(mad,15) | |
1499 | end)() | |
1500 | elseif hum.RigType == Enum.HumanoidRigType.R15 then | |
1501 | local hip = grab:FindFirstChild("LowerTorso") | |
1502 | local lleg = grab:FindFirstChild("LeftUpperLeg") | |
1503 | local rleg = grab:FindFirstChild("RightUpperLeg") | |
1504 | --for i,v in pairs(grab:children()) do | |
1505 | --if v:IsA("BasePart") then blpemit:Clone().Parent = v end | |
1506 | --end | |
1507 | killmortal(grab,0) | |
1508 | coroutine.wrap(function() | |
1509 | swait(2) | |
1510 | hip:Destroy() | |
1511 | torsy.Velocity = RootPart.CFrame.rightVector*-60 | |
1512 | lleg.Velocity = RootPart.CFrame.rightVector*60 | |
1513 | rleg.Velocity = RootPart.CFrame.rightVector*60 | |
1514 | local bledp = Instance.new("Part",torsy.Parent) | |
1515 | bledp.Size = Vector3.new(0,0,0) | |
1516 | bledp.Transparency = 1 | |
1517 | bledp.CanCollide = false | |
1518 | local blpe = blpemit:Clone() | |
1519 | blpe.Parent = bledp | |
1520 | blpe.EmissionDirection = "Top" | |
1521 | blpe.VelocitySpread = 20 | |
1522 | local bledp2 = bledp:Clone() | |
1523 | bledp2.Parent = torsy.Parent | |
1524 | local blape = bledp:Clone() | |
1525 | blape.Parent = torsy.Parent | |
1526 | blape.ParticleEmitter.EmissionDirection = "Bottom" | |
1527 | blape.Size = Vector3.new(1.5,0,0) | |
1528 | local bledw = Instance.new("Weld",bledp) | |
1529 | bledw.Part0 = lleg | |
1530 | bledw.Part1 = bledp | |
1531 | bledw.C0 = CFrame.new(0,1,0) | |
1532 | local bledw2 = Instance.new("Weld",blape) | |
1533 | bledw2.Part0 = torsy | |
1534 | bledw2.Part1 = blape | |
1535 | bledw2.C0 = CFrame.new(0,-.5,0) | |
1536 | local bledw3 = Instance.new("Weld",bledp2) | |
1537 | bledw.Part0 = rleg | |
1538 | bledw.Part1 = bledp2 | |
1539 | bledw.C0 = CFrame.new(0,1,0) | |
1540 | end)() | |
1541 | --hip:BreakJoints() | |
1542 | --hip.Velocity = RootPart.CFrame.rightVector*-30 | |
1543 | end | |
1544 | for i = 0, 2, 0.1 do | |
1545 | swait() | |
1546 | PlayAnimationFromTable({ | |
1547 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1548 | CFrame.new(0, 1.4261663, 0.264408052, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414), | |
1549 | CFrame.new(1.45148087, 0.22618866, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1), | |
1550 | CFrame.new(-1.48567963, 0.220157385, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1), | |
1551 | CFrame.new(0.500001848, -1.99999988, 1.62422657e-06, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1552 | CFrame.new(-0.499995321, -1.99999988, -2.78651714e-06, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1553 | }, .3, false) | |
1554 | end | |
1555 | end | |
1556 | attack = false | |
1557 | Humanoid.WalkSpeed = 8 | |
1558 | end | |
1559 | ||
1560 | function thecrush() | |
1561 | attack = true | |
1562 | Humanoid.WalkSpeed = 0 | |
1563 | local grab = nil | |
1564 | local torsy = nil | |
1565 | local heddo = nil | |
1566 | local hum = nil | |
1567 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1568 | if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1569 | hum = v:FindFirstChildOfClass("Humanoid") | |
1570 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1571 | heddo = v:FindFirstChild("Head") | |
1572 | grab = v | |
1573 | end | |
1574 | end | |
1575 | if grab ~= nil and torsy ~= nil then | |
1576 | so(200632136, RootPart, .8, 1) | |
1577 | for i = 0,1.5,0.1 do | |
1578 | swait() | |
1579 | PlayAnimationFromTable({ | |
1580 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1581 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
1582 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
1583 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1584 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
1585 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
1586 | }, .3, false) | |
1587 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1588 | torsy.Velocity = Vector3.new() | |
1589 | end | |
1590 | so(240429615, torsy, 1, 1) | |
1591 | if torsy.Name == "UpperTorso" then | |
1592 | heddo.CFrame = RootPart.CFrame*CFrame.new(-2,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1593 | else | |
1594 | heddo.CFrame = RootPart.CFrame*CFrame.new(-1,-3,-1)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
1595 | end | |
1596 | heddo.Anchored = true | |
1597 | for i = 0, 1.5, 0.1 do | |
1598 | swait() | |
1599 | PlayAnimationFromTable({ | |
1600 | CFrame.new(0, 0, 0, 0.866025567, 3.5521316e-07, 0.500010252, 4.93042535e-06, 1.00000048, -7.94596781e-06, -0.50000006, -9.23901825e-06, 0.866042376), | |
1601 | CFrame.new(0.021950826, 1.50780511, -0.243860856, 0.852867603, 0.029702425, -0.521282434, 0.173647955, 0.925416946, 0.336825043, 0.492411494, -0.377797663, 0.784104764), | |
1602 | CFrame.new(0.956388712, -0.0409758762, -0.674532533, 0.766045928, 0.604021251, 0.219847187, -0.219834015, 0.567593455, -0.793417811, -0.604028642, 0.559465349, 0.567598879), | |
1603 | CFrame.new(-1.50000024, -1.14488239e-05, 8.18094031e-06, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1604 | CFrame.new(0.499976635, -1.99998999, 3.24696302e-05, 0.866025567, 4.93042535e-06, -0.50000006, 3.5521316e-07, 1.00000048, -9.23901825e-06, 0.500010252, -7.94596781e-06, 0.866042376), | |
1605 | CFrame.new(-0.500013709, -2.00000167, 3.48316753e-05, 1.00000012, 4.93042535e-06, 2.68220901e-07, 4.93042535e-06, 1.00000048, -7.94596781e-06, 2.68220901e-07, -7.94596781e-06, 1.00001991), | |
1606 | }, .3, false) | |
1607 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1608 | --heddo.Velocity = Vector3.new() | |
1609 | --hum.PlatformStand = true | |
1610 | end | |
1611 | for i = 0, 3, 0.1 do | |
1612 | swait() | |
1613 | PlayAnimationFromTable({ | |
1614 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1615 | CFrame.new(0, 1.46578956, -0.0939694047, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1616 | CFrame.new(1.52320564, 0.359808445, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1), | |
1617 | CFrame.new(-1.52320766, 0.359808564, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1618 | CFrame.new(0.5, -1.19999838, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1619 | CFrame.new(-0.5, -1.9999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1620 | }, .3, false) | |
1621 | --heddo.CFrame = RootPart.CFrame*CFrame.new(.5,-3,-2)*CFrame.Angles(math.rad(90),0,math.rad(90)) | |
1622 | --heddo.Velocity = Vector3.new() | |
1623 | --hum.PlatformStand = true | |
1624 | end | |
1625 | so(206082327,torsy,1,5) | |
1626 | killmortal(grab,0) | |
1627 | createSplatter(heddo.Position) | |
1628 | coroutine.wrap(function() | |
1629 | swait(3) | |
1630 | local passa = heddo.Position | |
1631 | heddo:Destroy() | |
1632 | for i=1,15 do | |
1633 | local bl = Instance.new("Part",torsy) | |
1634 | bl.CFrame = CFrame.new(passa) + Vector3.new(math.random(-10,10)/10,0,math.random(-10,10)/10) | |
1635 | local rand = math.random(2,7)/10 | |
1636 | bl.Size = Vector3.new(rand,rand,rand) | |
1637 | bl.BrickColor = BrickColor.new("Maroon") | |
1638 | bl.Material = "Granite" | |
1639 | end | |
1640 | end)() | |
1641 | for i = 0, 3, 0.1 do | |
1642 | swait() | |
1643 | PlayAnimationFromTable({ | |
1644 | CFrame.new(0, -0.115425974, -0.607762575, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1645 | CFrame.new(0, 1.46579063, -0.0939693749, 1, 0, 0, 0, 0.939692438, 0.342020929, 0, -0.342020959, 0.939692438), | |
1646 | CFrame.new(1.52320361, 0.359808356, 2.34974073e-06, 0.86602509, -0.500000656, -3.33671437e-07, 0.500000715, 0.86602509, 2.08616257e-07, 1.78813934e-07, -3.87430191e-07, 1), | |
1647 | CFrame.new(-1.5232048, 0.359810114, 2.34974073e-06, 0.86602509, 0.500000656, 3.33671437e-07, -0.500000715, 0.86602509, 2.08616257e-07, -1.78813934e-07, -3.87430191e-07, 1), | |
1648 | CFrame.new(0.5, -1.6025629, -1.10711849, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736), | |
1649 | CFrame.new(-0.5, -1.99999857, 3.87430191e-06, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1), | |
1650 | }, .4, false) | |
1651 | end | |
1652 | end | |
1653 | attack = false | |
1654 | Humanoid.WalkSpeed = 8 | |
1655 | end | |
1656 | ||
1657 | function thehand() | |
1658 | attack = true | |
1659 | Humanoid.WalkSpeed = 2 | |
1660 | local grab = nil | |
1661 | local torsy = nil | |
1662 | local totear = nil | |
1663 | local hum = nil | |
1664 | for i, v in pairs(FindNearestTorso(Torso.Position, 5)) do | |
1665 | if v:FindFirstChild('Head') and (v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm")) and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 and v.Name ~= "Salvo_Starly" and v.Name ~= "NoobyGames12" and v.Name ~= "CKbackup" and v.Name ~= "Nebula_Zorua" then | |
1666 | torsy = v:FindFirstChild("UpperTorso") or v:FindFirstChild("Torso") | |
1667 | grab = v | |
1668 | totear = v:FindFirstChild("Right Arm") or v:FindFirstChild("RightUpperArm") | |
1669 | hum = v:FindFirstChildOfClass("Humanoid") | |
1670 | end | |
1671 | end | |
1672 | if grab ~= nil and torsy ~= nil and totear ~= nil and hum ~= nil then | |
1673 | so(200632136, RootPart, .8, 1) | |
1674 | for i = 0,2,0.1 do | |
1675 | swait() | |
1676 | PlayAnimationFromTable({ | |
1677 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1678 | CFrame.new(0, 1.49999475, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1679 | CFrame.new(1.0939827, 0.850001335, -0.515790701, 0, -0.342019916, 0.939692736, 1, 0, 0, 0, 0.939692736, 0.342019886), | |
1680 | CFrame.new(-0.900009155, 0.849995136, -0.549995422, 0, 0, -1, -1, 0, 0, 0, 1, 0), | |
1681 | CFrame.new(0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1682 | CFrame.new(-0.5, -1.99999952, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1683 | }, .3, false) | |
1684 | torsy.CFrame = RootPart.CFrame*CFrame.new(0,0,-1.3) | |
1685 | torsy.Velocity = Vector3.new() | |
1686 | end | |
1687 | so(206082327,totear,1,5) | |
1688 | local bledp = Instance.new("Part",grab) | |
1689 | bledp.Size = Vector3.new(0,0,0) | |
1690 | bledp.Transparency = 1 | |
1691 | bledp.CanCollide = false | |
1692 | local blpe = blpemit:Clone() | |
1693 | blpe.Parent = bledp | |
1694 | blpe.EmissionDirection = "Left" | |
1695 | local armmod = Instance.new("Model",chara) | |
1696 | armmod.Name = "TornArmdd" | |
1697 | Instance.new("Humanoid",armmod).MaxHealth = 0 | |
1698 | for _, v in pairs(grab:GetChildren()) do | |
1699 | if v:IsA("Shirt") or v:IsA("CharacterMesh") then | |
1700 | v:Clone().Parent = armmod | |
1701 | end | |
1702 | end | |
1703 | local armp = totear | |
1704 | createSplatter(totear.Position) | |
1705 | armp:BreakJoints() | |
1706 | armp.Parent = armmod | |
1707 | so("206082327",armp,1,1) | |
1708 | local wel = Instance.new("Weld",armp) | |
1709 | wel.Part0 = RightArm | |
1710 | wel.Part1 = armp | |
1711 | wel.C0 = CFrame.new(0,-1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1712 | local blape = bledp:Clone() | |
1713 | blape.Parent = armmod | |
1714 | local bledw = Instance.new("Weld",bledp) | |
1715 | bledw.Part0 = torsy | |
1716 | bledw.Part1 = bledp | |
1717 | local bledw2 = Instance.new("Weld",blape) | |
1718 | bledw2.Part0 = armp | |
1719 | bledw2.Part1 = blape | |
1720 | bledw.C0 = CFrame.new(1,.5,0) | |
1721 | bledw2.C0 = CFrame.new(-.5,.5,0) | |
1722 | blpe.EmissionDirection = "Right" | |
1723 | grabhand = true | |
1724 | armo = armp | |
1725 | coroutine.wrap(function() | |
1726 | local currhp = hum.Health | |
1727 | for i=1,currhp do | |
1728 | if hum.Health > 0 then | |
1729 | hum.Health = currhp - (i-1) | |
1730 | swait(3) | |
1731 | end | |
1732 | end | |
1733 | if hum.Health > 0 then | |
1734 | killmortal(grab,0) | |
1735 | end | |
1736 | end)() | |
1737 | for i = 0, 1, 0.25 do | |
1738 | swait() | |
1739 | PlayAnimationFromTable({ | |
1740 | CFrame.new(0, 0, 0, 0.866021276, 0, -0.499997795, 0, 1, 0, 0.499997914, 0, 0.866021156), | |
1741 | CFrame.new(0, 1.49999189, 0, 0.866021276, 0, 0.499997914, 0, 1, 0, -0.499997795, 0, 0.866021156), | |
1742 | CFrame.new(1.50001729, 0.492406696, 0.0868175104, 0.642792583, -0.766034186, -7.97212124e-07, -0.133019835, -0.111618251, -0.984808207, 0.754396439, 0.633027494, -0.173645109), | |
1743 | CFrame.new(-1.38039482, 0.919607162, -0.300003946, 0, 0.500000179, -0.866022646, -1, 0, 0, 0, 0.866022587, 0.500000119), | |
1744 | CFrame.new(0.500005305, -1.99999964, -7.61445699e-06, 0.99999541, 0, 2.98023224e-08, 0, 1, 0, 2.98023224e-08, 0, 0.999995232), | |
1745 | CFrame.new(-0.499997407, -1.99999964, -5.43892384e-06, 0.766040862, 0, 0.642784715, 0, 1, 0, -0.642784536, 0, 0.766040802), | |
1746 | }, .3, false) | |
1747 | end | |
1748 | swait(30) | |
1749 | end | |
1750 | attack = false | |
1751 | Humanoid.WalkSpeed = 8 | |
1752 | end | |
1753 | ||
1754 | function armthrow() | |
1755 | attack = true | |
1756 | Humanoid.WalkSpeed = 2 | |
1757 | for i = 0, 2, 0.1 do | |
1758 | swait() | |
1759 | PlayAnimationFromTable({ | |
1760 | CFrame.new(-0.00874902681, -4.76837158e-07, -0.101877891, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1761 | CFrame.new(0.0987267792, 1.49999189, 0.0266250018, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1762 | CFrame.new(1.49999821, 0.499999046, -0.399993986, 1.00000012, -2.98023224e-08, 0, 0, 0, -1, -2.98023224e-08, 1.00000012, 0), | |
1763 | CFrame.new(-1.54019761, 0.669612885, -6.12696294e-06, 0.499998331, 0.866026461, 1.87754631e-06, -0.866026402, 0.499998331, 2.13891599e-06, 8.94069672e-07, -2.71201134e-06, 1.00000012), | |
1764 | CFrame.new(0.500005782, -1.99999893, -3.82959888e-06, 1.00000012, 0, -2.98023224e-08, 0, 1, 0, -2.98023224e-08, 0, 1.00000012), | |
1765 | CFrame.new(-0.499995083, -1.99999893, -1.18389726e-05, 0.17364721, 0, 0.984808028, 0, 1, 0, -0.984808028, 0, 0.17364718), | |
1766 | }, .3, false) | |
1767 | end | |
1768 | so(200632136, RootPart, .8, 1) | |
1769 | local haea = armo | |
1770 | haea.Weld:Destroy() | |
1771 | haea.Velocity = (Mouse.Hit.p-haea.Position).unit*200+Vector3.new(0,30,0) | |
1772 | haea.RotVelocity = Vector3.new(10,10,10) | |
1773 | haea.Touched:connect(function(hit) | |
1774 | if hit:IsDescendantOf(chara)==false and hit.Parent:FindFirstChildOfClass("Humanoid") and haea:FindFirstChild("HITA")==nil then | |
1775 | print("BOOBIES") | |
1776 | Instance.new("BoolValue",haea).Name = "HITA" | |
1777 | Effects.Wave.Create(BrickColor.new("White"), CFrame.new(haea.Position), 0, 0, 0, 1, .2, 1, 0.1) | |
1778 | killmortal(hit.Parent,50) | |
1779 | so(386946017,haea,.95,5) | |
1780 | swait(120) | |
1781 | for i=0,1,.05 do | |
1782 | haea.Transparency = i | |
1783 | swait() | |
1784 | end | |
1785 | haea.Parent:Destroy() | |
1786 | end | |
1787 | end) | |
1788 | armo = nil | |
1789 | grabhand = false | |
1790 | for i = 0, 1, 0.1 do | |
1791 | swait() | |
1792 | PlayAnimationFromTable({ | |
1793 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
1794 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
1795 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
1796 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
1797 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
1798 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
1799 | }, .3, false) | |
1800 | end | |
1801 | attack = false | |
1802 | Humanoid.WalkSpeed = 8 | |
1803 | end | |
1804 | ||
1805 | function smek() | |
1806 | attack = true | |
1807 | for i=0,1,.2 do | |
1808 | swait() | |
1809 | PlayAnimationFromTable({ | |
1810 | CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987), | |
1811 | CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987), | |
1812 | CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1), | |
1813 | CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012), | |
1814 | CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616), | |
1815 | CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544), | |
1816 | }, .3, false) | |
1817 | end | |
1818 | Humanoid.WalkSpeed = 2 | |
1819 | so(536642316,armo,1,1) | |
1820 | for i=0,1,.1 do | |
1821 | swait() | |
1822 | PlayAnimationFromTable({ | |
1823 | CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992), | |
1824 | CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992), | |
1825 | CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854), | |
1826 | CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1), | |
1827 | CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438), | |
1828 | CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511), | |
1829 | }, .3, false) | |
1830 | if armo ~= nil then | |
1831 | mdmg(armo,3,"Arm") | |
1832 | end | |
1833 | end | |
1834 | swait(5) | |
1835 | Humanoid.WalkSpeed = 8 | |
1836 | attack = false | |
1837 | end | |
1838 | ||
1839 | function dash() | |
1840 | attack = true | |
1841 | so("235097614",Torso,3,1) | |
1842 | so("75356820",Torso,2,1) | |
1843 | Effects.Ring.Create(BrickColor.new("Persimmon"),RootPart.CFrame, 1, 1, 0, 1, 1, .2, 0.05) | |
1844 | PlayAnimationFromTable({ | |
1845 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999998331, 0, 0, 0, 0.999998331) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-35), 0, 0), | |
1846 | CFrame.new(0, 1.49999368, 8.34463322E-7, 1, 0, 0, 0, 0.999998033, -2.38418579E-7, 0, 2.38418579E-7, 0.999998033) * CFrame.Angles(math.rad(15), 0, 0), | |
1847 | CFrame.new(0.663555026, 0.49231568, -0.850663185, 0.015370708, 0.692666352, 0.721096218, 0.999231637, 0.0153704779, -0.036063727, -0.0360642895, 0.721095979, -0.691897511) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--CFrame.new(1.52564752, 0.0095030535, 0.16884166, 0.786316156, -0.464979529, -0.406817913, 0.489593357, 0.87058723, -0.0487444215, 0.376835734, -0.160846859, 0.912207723) * CFrame.new(0, 0.05 * math.cos(sine / 16), 0) * CFrame.Angles(0, 0, math.rad(3.5 * math.cos(sine / 16))), | |
1848 | CFrame.new(-1.57927585, 0.317291111, 0.397556216, 0.809802711, 0.208654553, 0.548345804, -0.517000973, 0.695623755, 0.498816311, -0.277362049, -0.687437952, 0.671192646) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1849 | CFrame.new(0.49999693, -1.99999774, -8.94069672E-8, 0.965925872, 3.7422879E-7, -0.258818924, 0.0449429974, 0.984807849, 0.167731062, 0.254886955, -0.173647881, 0.951251388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1850 | CFrame.new(-0.486001939, -1.31615341, 0.112926364, 1.00000167, 1.25169754E-6, -1.87754631E-6, 8.64267349E-7, 0.573579729, 0.819149494, -4.61935997E-7, -0.819151759, 0.573578417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
1851 | },1,false) | |
1852 | for i = 1, 5 do | |
1853 | for _, v in pairs(chara:children()) do | |
1854 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1855 | do | |
1856 | local p = v:clone() | |
1857 | p.Name = "trail" | |
1858 | p.Parent = EffectModel | |
1859 | p.Transparency = 0.5 | |
1860 | p.Anchored = true | |
1861 | p.BrickColor = BrickColor.new("Really red") | |
1862 | p.Material = "Neon" | |
1863 | p:BreakJoints() | |
1864 | p.CanCollide = false | |
1865 | if v == Head then | |
1866 | for a, b in pairs(p:children()) do | |
1867 | if b:IsA("Sound") then | |
1868 | b:Destroy() | |
1869 | end | |
1870 | end | |
1871 | end | |
1872 | coroutine.resume(coroutine.create(function() | |
1873 | for i = 1, 50 do | |
1874 | swait() | |
1875 | p.Transparency = i / 50 | |
1876 | end | |
1877 | p:Destroy() | |
1878 | end)) | |
1879 | end | |
1880 | end | |
1881 | if v.className == "Accessory" then | |
1882 | end | |
1883 | end | |
1884 | RootPart.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*10 | |
1885 | swait() | |
1886 | end | |
1887 | attack = false | |
1888 | end | |
1889 | ||
1890 | function scream() | |
1891 | attack = true | |
1892 | Humanoid.WalkSpeed = 0 | |
1893 | for i=0,1,.1 do | |
1894 | swait() | |
1895 | PlayAnimationFromTable({ | |
1896 | CFrame.new(0, 0.0885660946, 0.326515794, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736), | |
1897 | CFrame.new(0, 1.43158889, 0.18794021, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438), | |
1898 | CFrame.new(1.5, 0.099998951, 9.56654503e-07, 0, -1, 0, -1, 0, -2.98023224e-08, -2.98023224e-08, 0, -1), | |
1899 | CFrame.new(-1.5, 0.099998951, 9.56654503e-07, 0, 1, 0, 1, 0, -2.98023224e-08, 2.98023224e-08, 0, -1), | |
1900 | CFrame.new(0.696960211, -2.04165077, 0.395629227, 0.984807849, -0.173647985, 0, 0.163175747, 0.925416768, 0.342019916, -0.0593910627, -0.336823881, 0.939692736), | |
1901 | CFrame.new(-0.696963668, -2.04164839, 0.395628393, 0.984807849, 0.173647985, 0, -0.163175747, 0.925416768, 0.342019916, 0.0593910627, -0.336823881, 0.939692736), | |
1902 | }, .3, false) | |
1903 | end | |
1904 | so(51322486,Torso,.5,5) | |
1905 | so(90696602,Torso,.5,5) | |
1906 | for i=1,120 do | |
1907 | mdmg(Torso,20,"Scream") | |
1908 | Effects.Ring.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 1, 1, 0, 2, 2, .2, 0.05) | |
1909 | Effects.Wave.Create(BrickColor.new("Really black"),RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.random(-50,50),0), 1, 0, 1, 2, .1, 2, 0.05) | |
1910 | swait() | |
1911 | end | |
1912 | Humanoid.WalkSpeed = 8 | |
1913 | attack = false | |
1914 | end | |
1915 | ||
1916 | function handcrack() | |
1917 | attack = true | |
1918 | Humanoid.WalkSpeed = 0 | |
1919 | for i=0,1,.1 do | |
1920 | swait() | |
1921 | PlayAnimationFromTable({ | |
1922 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
1923 | CFrame.new(0, 1.4657917, -0.0939691663, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1924 | CFrame.new(0.849929154, 0.669377863, -0.285191476, 0.133021966, 0.754403889, 0.642790735, 0.989228785, -0.0610861331, -0.133022368, -0.0610869862, 0.65356195, -0.754403949), | |
1925 | CFrame.new(-0.949649334, 0.569002092, -0.378571123, -0, -0.866025269, -0.500000298, -0.984807849, 0.0868240297, -0.150383547, 0.173647985, 0.492404163, -0.852868497), | |
1926 | CFrame.new(0.499994665, -1.99999988, -9.83476639e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736), | |
1927 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1928 | }, .3, false) | |
1929 | end | |
1930 | so(240428955,Head,1,5) | |
1931 | swait(10) | |
1932 | Humanoid.WalkSpeed = 8 | |
1933 | attack = false | |
1934 | end | |
1935 | ||
1936 | function getoverhere() | |
1937 | attack = true | |
1938 | local dude = Mouse.Target.Parent | |
1939 | local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso") | |
1940 | if dude~=nil and dude:FindFirstChildOfClass("Humanoid") and torsy~=nil then | |
1941 | Humanoid.WalkSpeed = 0 | |
1942 | for i=0,1,.1 do | |
1943 | swait() | |
1944 | PlayAnimationFromTable({ | |
1945 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360*i),0), | |
1946 | CFrame.new(0, 1.5255599, -0.222141176, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
1947 | CFrame.new(0.200967461, 0.899999142, -0.749996543, 0, 0.866025984, 0.499998987, 1, 0, 0, 0, 0.499998987, -0.866025984), | |
1948 | CFrame.new(-1.52556288, 0.222140282, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
1949 | CFrame.new(0.499997377, -2, -9.01520252e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849), | |
1950 | CFrame.new(-0.500002205, -2, 7.30156898e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736), | |
1951 | }, .3, false) | |
1952 | end | |
1953 | so(743521497,RightArm,1,1) | |
1954 | coroutine.wrap(function() | |
1955 | for i=0,1,.1 do | |
1956 | swait() | |
1957 | PlayAnimationFromTable({ | |
1958 | CFrame.new(0.00389102311, 0, -0.0404044762, 2.68220901e-07, 0, 1.00000536, 0, 1, 0, -1.00000536, 0, 2.68220901e-07), | |
1959 | CFrame.new(1.78813934e-06, 1.52555692, -0.222144455, 0.342020005, -1.01929949e-08, -0.939692736, 0.321392, 0.939693451, 0.116977029, 0.883023024, -0.342018187, 0.321393877), | |
1960 | CFrame.new(1.50095332, 0.999999046, 0.0500030518, 0, -1, 0, 1, 0, 0, 0, 0, 1), | |
1961 | CFrame.new(-1.52557385, 0.222139984, 0, 0.939693272, 0.342018306, 0, -0.342018306, 0.939693332, 0, 0, 0, 1), | |
1962 | CFrame.new(0.500000775, -2, 1.69873238e-06, 0.984807789, 0, -0.173648104, 0, 1, 0, 0.173648089, 0, 0.984807789), | |
1963 | CFrame.new(-0.500008583, -2, 8.94069672e-08, 0.939692736, 0, 0.342020065, 0, 1, 0, -0.342020094, 0, 0.939692616), | |
1964 | }, .4, false) | |
1965 | end | |
1966 | end)() | |
1967 | so(138092011,Head,1,1) | |
1968 | local spikeh = Instance.new("Part",chara) | |
1969 | spikeh.CFrame = Torso.CFrame | |
1970 | spikeh.Size = Vector3.new(.5,.5,1) | |
1971 | spikeh.Material = "Metal" | |
1972 | spikeh.CanCollide = false | |
1973 | spikeh.Anchored = true | |
1974 | spikeh.BrickColor = BrickColor.new("Crimson") | |
1975 | local blast = Instance.new("Part",EffectModel) | |
1976 | blast.Size = Vector3.new(0,1,1) | |
1977 | blast.Transparency = 1 | |
1978 | blast.Anchored = true | |
1979 | blast.CanCollide = false | |
1980 | blast.CFrame = Torso.CFrame | |
1981 | local meh = Instance.new("SpecialMesh",spikeh) | |
1982 | meh.MeshType = "Wedge" | |
1983 | meh.Offset = Vector3.new(0,0,-1) | |
1984 | meh.Scale = Vector3.new(1,2,2) | |
1985 | local tex1 = Instance.new("Texture",blast) | |
1986 | tex1.Face = "Right" | |
1987 | tex1.Texture = "rbxassetid://187946416" | |
1988 | tex1.Color3 = Color3.new(1,0,0) | |
1989 | local tex2 = tex1:Clone() | |
1990 | tex2.Parent = blast | |
1991 | tex2.Face = "Left" | |
1992 | local origpos = Vector3.new() | |
1993 | for i=0,1,.1 do | |
1994 | swait() | |
1995 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
1996 | spikeh.CFrame = clerp(spikeh.CFrame,torsy.CFrame,.4) | |
1997 | spikeh.CFrame = CFrame.new(spikeh.Position,spikeh.Position+(torsy.Position-spikeh.Position).unit) | |
1998 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
1999 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
2000 | end | |
2001 | local staypos = torsy.CFrame | |
2002 | so(154965973,spikeh,.7,2) | |
2003 | createSplatter(torsy.Position) | |
2004 | for i=1,30 do | |
2005 | swait() | |
2006 | torsy.CFrame = staypos | |
2007 | end | |
2008 | coroutine.wrap(function() | |
2009 | for i=0,1,.1 do | |
2010 | swait() | |
2011 | PlayAnimationFromTable({ | |
2012 | CFrame.new(-0.0371780396, -4.76837158e-07, -0.0659790039, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
2013 | CFrame.new(0.0118849091, 1.43262982, -0.187934548, 0.716230929, -0.163175121, -0.678518414, 0.349525958, 0.92541784, 0.146401539, 0.604023933, -0.342017084, 0.719846845), | |
2014 | CFrame.new(1.05005264, 0.0782932937, -0.664391041, 0.766043901, 0.642788291, -5.71537271e-07, -0.321393967, 0.383021057, -0.866025865, -0.556670964, 0.663414121, 0.499999195), | |
2015 | CFrame.new(-1.59158015, 0.575855374, -7.62939453e-06, 0.64278698, 0.766044974, 0, -0.766044974, 0.64278698, 0, 0, 0, 1), | |
2016 | CFrame.new(0.500011563, -1.99999893, -2.07126141e-06, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
2017 | CFrame.new(-0.946406364, -1.97320735, -7.62939453e-06, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1), | |
2018 | }, .4, false) | |
2019 | end | |
2020 | end)() | |
2021 | so(28144425,RightArm,.265,2) | |
2022 | for i=0,3,.1 do | |
2023 | swait() | |
2024 | local origpos = (RightArm.CFrame*CFrame.new(0,-1,0)).p | |
2025 | torsy.CFrame = clerp(torsy.CFrame,RootPart.CFrame*CFrame.new(0,0,-2),.1) | |
2026 | torsy.Velocity = Vector3.new(0,0,0) | |
2027 | spikeh.CFrame = torsy.CFrame | |
2028 | blast.Size = Vector3.new(0,1,(origpos-spikeh.Position).magnitude) | |
2029 | blast.CFrame = CFrame.new((origpos + spikeh.Position)/2,spikeh.Position) | |
2030 | end | |
2031 | spikeh:Destroy() | |
2032 | blast:Destroy() | |
2033 | Humanoid.WalkSpeed = 8 | |
2034 | end | |
2035 | attack = false | |
2036 | end | |
2037 | ||
2038 | local notallowed={ | |
2039 | "Right Arm", | |
2040 | "Left Arm", | |
2041 | "Right Leg", | |
2042 | "Left Leg", | |
2043 | "Head", | |
2044 | "HumanoidRootPart", | |
2045 | "Torso", | |
2046 | "LeftFoot", | |
2047 | "LeftHand", | |
2048 | "LeftLowerArm", | |
2049 | "LeftUpperArm", | |
2050 | "LeftUpperLeg", | |
2051 | "LeftLowerLeg", | |
2052 | "RightFoot", | |
2053 | "RightHand", | |
2054 | "RightLowerArm", | |
2055 | "RightUpperArm", | |
2056 | "RightUpperLeg", | |
2057 | "RightLowerLeg", | |
2058 | "LowerTorso", | |
2059 | "UpperTorso", | |
2060 | } | |
2061 | ||
2062 | function grabobj() | |
2063 | attack = true | |
2064 | Humanoid.WalkSpeed = 2 | |
2065 | local grab = nil | |
2066 | local torsy = nil | |
2067 | local totear = nil | |
2068 | local hum = nil | |
2069 | local targ = Mouse.Target | |
2070 | if targ ~= nil and targ:IsA("BasePart") and targ.Anchored == false and (targ.Position-RightArm.Position).magnitude<=5 then | |
2071 | for i,v in pairs(notallowed) do | |
2072 | if targ.Name == v then | |
2073 | Humanoid.WalkSpeed = 8 | |
2074 | attack = false | |
2075 | return | |
2076 | end | |
2077 | end | |
2078 | totear = targ | |
2079 | end | |
2080 | --for i, v in pairs(FindNearestObject(Torso.Position, 5)) do | |
2081 | --if totear ~= nil then | |
2082 | --totear = v | |
2083 | --end | |
2084 | --end | |
2085 | if totear ~= nil then | |
2086 | so(200632136, RootPart, .8, 1) | |
2087 | for i = 0,1,.1 do | |
2088 | swait() | |
2089 | PlayAnimationFromTable({ | |
2090 | CFrame.new(0, 0, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
2091 | CFrame.new(0, 1.49999118, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
2092 | CFrame.new(1.50000226, 0.492404312, 0.086825721, 0.642795563, -0.766037941, -8.04662704e-07, -0.133022025, -0.111620016, -0.98480767, 0.754399955, 0.633030057, -0.17364876), | |
2093 | CFrame.new(-1.49999845, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2094 | CFrame.new(0.500000119, -2, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2095 | CFrame.new(-0.499997556, -2, 1.63912773e-07, 0.766044557, 0, 0.642787695, 0, 1, 0, -0.642787695, 0, 0.766044557), | |
2096 | }, .3, false) | |
2097 | end | |
2098 | so(200632136, RootPart, .8, 1) | |
2099 | for i = 0,1,.1 do | |
2100 | swait() | |
2101 | PlayAnimationFromTable({ | |
2102 | CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388), | |
2103 | CFrame.new(0.0219391882, 1.50780332, -0.243838966, 0.852868617, 0.0296956748, -0.521280766, 0.173647985, 0.925416708, 0.336823881, 0.492404163, -0.377785802, 0.784102201), | |
2104 | CFrame.new(1.50000226, 0.469847411, -0.171007544, 0.939692974, -0.342019379, -5.81145287e-07, 0.116976947, 0.321393847, -0.939692736, 0.321393311, 0.883022606, 0.342019975), | |
2105 | CFrame.new(-1.50000036, 0, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2106 | CFrame.new(0.500001073, -1.99999905, 7.15255737e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388), | |
2107 | CFrame.new(-0.500000119, -1.99999905, -3.81469818e-06, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024), | |
2108 | }, .3, false) | |
2109 | end | |
2110 | so(200632136, RootPart, .8, 1) | |
2111 | local armmod = Instance.new("Model",chara) | |
2112 | armmod.Name = "PickedUp" | |
2113 | local armp = totear | |
2114 | armp:BreakJoints() | |
2115 | armp.Parent = armmod | |
2116 | local wel = Instance.new("Weld",armp) | |
2117 | wel.Part0 = RightArm | |
2118 | wel.Part1 = armp | |
2119 | wel.C0 = CFrame.new(0,-1.5,0) | |
2120 | grabhand = true | |
2121 | armo = armp | |
2122 | end | |
2123 | attack = false | |
2124 | Humanoid.WalkSpeed = 8 | |
2125 | end | |
2126 | ||
2127 | ||
2128 | ||
2129 | Mouse.Button1Down:connect(function() | |
2130 | if attack == false then | |
2131 | if grabhead == true then | |
2132 | headthrow() | |
2133 | elseif grabhand == true then | |
2134 | smek() | |
2135 | -- else | |
2136 | -- if Anim == "Jump" or Anim == "Fall" then | |
2137 | -- --asmek() | |
2138 | -- else | |
2139 | -- --smek() | |
2140 | -- end | |
2141 | end | |
2142 | end | |
2143 | end) | |
2144 | ||
2145 | local sprintt = 0 | |
2146 | ||
2147 | ||
2148 | Mouse.KeyDown:connect(function(k) | |
2149 | k = k:lower() | |
2150 | if attack == false then | |
2151 | if k == 'z' and grabhead == false and grabhand == false then | |
2152 | thenatsuki() | |
2153 | elseif k == 'x' and grabhead == false and grabhand == false then | |
2154 | xhold = true | |
2155 | thesurou() | |
2156 | elseif k == 'c' and grabhead == false and grabhand == false then | |
2157 | therip() | |
2158 | elseif k == 'v' and grabhead == false and grabhand == false then | |
2159 | thecrush() | |
2160 | elseif k == 'b' then | |
2161 | if grabhead == true then | |
2162 | headthrow() | |
2163 | else | |
2164 | thehead() | |
2165 | end | |
2166 | elseif k == 'n' then | |
2167 | if grabhand == true then | |
2168 | armthrow() | |
2169 | else | |
2170 | thehand() | |
2171 | end | |
2172 | elseif k == 'e' then | |
2173 | dash() | |
2174 | elseif k == 'q' then | |
2175 | getoverhere() | |
2176 | elseif k == 'g' then | |
2177 | handcrack() | |
2178 | elseif k == 'h' then | |
2179 | scream() | |
2180 | elseif k == 'r' then | |
2181 | if grabhand == true then | |
2182 | armthrow() | |
2183 | else | |
2184 | grabobj() | |
2185 | end | |
2186 | end | |
2187 | end | |
2188 | end) | |
2189 | ||
2190 | Mouse.KeyUp:connect(function(k) | |
2191 | k = k:lower() | |
2192 | if k == 'x' then | |
2193 | xhold = false | |
2194 | end | |
2195 | end) | |
2196 | ||
2197 | ||
2198 | coroutine.wrap(function() | |
2199 | while 1 do | |
2200 | swait() | |
2201 | if doe <= 360 then | |
2202 | doe = doe + 2 | |
2203 | else | |
2204 | doe = 0 | |
2205 | end | |
2206 | end | |
2207 | end)() | |
2208 | while true do | |
2209 | swait() | |
2210 | for i, v in pairs(chara:GetChildren()) do | |
2211 | if v:IsA("Part") then | |
2212 | v.Material = "SmoothPlastic" | |
2213 | elseif v:IsA("Accessory") then | |
2214 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2215 | end | |
2216 | end | |
2217 | while true do | |
2218 | swait() | |
2219 | if sprintt >= 1 then | |
2220 | sprintt = sprintt - 1 | |
2221 | end | |
2222 | ||
2223 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2224 | velocity = RootPart.Velocity.y | |
2225 | sine = sine + change | |
2226 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
2227 | if RootPart.Velocity.y > 1 and hit == nil then | |
2228 | Anim = "Jump" | |
2229 | if attack == false then | |
2230 | PlayAnimationFromTable({ | |
2231 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2232 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
2233 | CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2234 | CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012), | |
2235 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2236 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
2237 | }, .3, false) | |
2238 | end | |
2239 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2240 | Anim = "Fall" | |
2241 | if attack == false then | |
2242 | PlayAnimationFromTable({ | |
2243 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
2244 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2245 | CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2246 | CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012), | |
2247 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
2248 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
2249 | }, .3, false) | |
2250 | end | |
2251 | elseif Torsovelocity < 1 and hit ~= nil then | |
2252 | Anim = "Idle" | |
2253 | if attack == false then | |
2254 | change = 1 | |
2255 | PlayAnimationFromTable({ | |
2256 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
2257 | CFrame.new(0, 1.4657923, -0.0939692855, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736), | |
2258 | CFrame.new(1.20945823, -0.213502824, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1), | |
2259 | CFrame.new(-1.20945406, -0.213503301, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1), | |
2260 | CFrame.new(0.499998242, -1.99999988, 3.12924385e-07, 0.939692736, 0, -0.342019886, 0, 1, 0, 0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2261 | CFrame.new(-0.500002503, -1.99999988, -1.78813934e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
2262 | }, .3, false) | |
2263 | end | |
2264 | elseif Torsovelocity > 2 and hit ~= nil then | |
2265 | Anim = "Walk" | |
2266 | if attack == false then | |
2267 | PlayAnimationFromTable({ | |
2268 | CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
2269 | CFrame.new(0, 1.48263013, -0.0984808952, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
2270 | CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, -.5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2271 | CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2272 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
2273 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
2274 | }, .3, false) | |
2275 | end | |
2276 | end | |
2277 | if 0 < #Effects then | |
2278 | for e = 1, #Effects do | |
2279 | if Effects[e] ~= nil then | |
2280 | local Thing = Effects[e] | |
2281 | if Thing ~= nil then | |
2282 | local Part = Thing[1] | |
2283 | local Mode = Thing[2] | |
2284 | local Delay = Thing[3] | |
2285 | local IncX = Thing[4] | |
2286 | local IncY = Thing[5] | |
2287 | local IncZ = Thing[6] | |
2288 | if Thing[2] == "Shoot" then | |
2289 | local Look = Thing[1] | |
2290 | local move = 30 | |
2291 | if Thing[8] == 3 then | |
2292 | move = 10 | |
2293 | end | |
2294 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2295 | if Thing[10] ~= nil then | |
2296 | da = pos | |
2297 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2298 | cfa = CFrame.new(Thing[4], pos) | |
2299 | tehCF = cfa:lerp(cf2, 0.2) | |
2300 | Thing[1] = tehCF.lookVector | |
2301 | end | |
2302 | local mag = (Thing[4] - pos).magnitude | |
2303 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
2304 | if Thing[8] == 2 then | |
2305 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
2306 | end | |
2307 | Thing[4] = Thing[4] + Look * move | |
2308 | Thing[3] = Thing[3] - 1 | |
2309 | if 2 < Thing[5] then | |
2310 | Thing[5] = Thing[5] - 0.3 | |
2311 | Thing[6] = Thing[6] - 0.3 | |
2312 | end | |
2313 | if hit ~= nil then | |
2314 | Thing[3] = 0 | |
2315 | if Thing[8] == 1 or Thing[8] == 3 then | |
2316 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2317 | else | |
2318 | if Thing[8] == 2 then | |
2319 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2320 | if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then | |
2321 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2322 | ref.Anchored = true | |
2323 | ref.CFrame = CFrame.new(pos) | |
2324 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2325 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2326 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
2327 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
2328 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2329 | end | |
2330 | end | |
2331 | end | |
2332 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
2333 | ref.Anchored = true | |
2334 | ref.CFrame = CFrame.new(pos) | |
2335 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2336 | game:GetService("Debris"):AddItem(ref, 1) | |
2337 | end | |
2338 | if Thing[3] <= 0 then | |
2339 | table.remove(Effects, e) | |
2340 | end | |
2341 | end | |
2342 | do | |
2343 | do | |
2344 | if Thing[2] == "FireWave" then | |
2345 | if Thing[3] <= Thing[4] then | |
2346 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2347 | Thing[3] = Thing[3] + 1 | |
2348 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2349 | else | |
2350 | Part.Parent = nil | |
2351 | table.remove(Effects, e) | |
2352 | end | |
2353 | end | |
2354 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2355 | if Thing[1].Transparency <= 1 then | |
2356 | if Thing[2] == "Block1" then | |
2357 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2358 | Mesh = Thing[7] | |
2359 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2360 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2361 | else | |
2362 | if Thing[2] == "Block2" then | |
2363 | Thing[1].CFrame = Thing[1].CFrame | |
2364 | Mesh = Thing[7] | |
2365 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2366 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2367 | else | |
2368 | if Thing[2] == "Fire" then | |
2369 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2370 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2371 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2372 | else | |
2373 | if Thing[2] == "Cylinder" then | |
2374 | Mesh = Thing[7] | |
2375 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2376 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2377 | else | |
2378 | if Thing[2] == "Blood" then | |
2379 | Mesh = Thing[7] | |
2380 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2381 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2382 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2383 | else | |
2384 | if Thing[2] == "Elec" then | |
2385 | Mesh = Thing[10] | |
2386 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2387 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2388 | else | |
2389 | if Thing[2] == "Disappear" then | |
2390 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2391 | else | |
2392 | if Thing[2] == "Shatter" then | |
2393 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2394 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2395 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2396 | Thing[6] = Thing[6] + Thing[5] | |
2397 | end | |
2398 | end | |
2399 | end | |
2400 | end | |
2401 | end | |
2402 | end | |
2403 | end | |
2404 | end | |
2405 | else | |
2406 | Part.Parent = nil | |
2407 | table.remove(Effects, e) | |
2408 | end | |
2409 | end | |
2410 | end | |
2411 | end | |
2412 | end | |
2413 | end | |
2414 | end | |
2415 | end | |
2416 | end | |
2417 | end |