SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | - | Player = game.Players.LocalPlayer |
2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | CV="Maroon" | |
84 | Player = owner | |
85 | Character = Player.Character | |
86 | local txt = Instance.new("BillboardGui", Character) | |
87 | txt.Adornee = Character .Head | |
88 | txt.Name = "_status" | |
89 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
90 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
91 | local text = Instance.new("TextLabel", txt) | |
92 | text.Size = UDim2.new(10, 0, 7, 0) | |
93 | text.FontSize = "Size24" | |
94 | text.TextScaled = true | |
95 | text.TextTransparency = 0 | |
96 | text.BackgroundTransparency = 1 | |
97 | text.TextTransparency = 0 | |
98 | text.TextStrokeTransparency = 0 | |
99 | text.Font = "Cartoon" | |
100 | text.TextStrokeColor3 = Color3.new(255,255,255) | |
101 | ||
102 | v=Instance.new("Part") | |
103 | v.Name = "ColorBrick" | |
104 | v.Parent=Player.Character | |
105 | v.FormFactor="Symmetric" | |
106 | v.Anchored=true | |
107 | v.CanCollide=false | |
108 | v.BottomSurface="Smooth" | |
109 | v.TopSurface="Smooth" | |
110 | v.Size=Vector3.new(10,5,3) | |
111 | v.Transparency=1 | |
112 | v.CFrame=Character.Torso.CFrame | |
113 | v.BrickColor=BrickColor.new(CV) | |
114 | v.Transparency=1 | |
115 | text.TextColor3 = Color3.new(0,0,0) | |
116 | v.Shape="Block" | |
117 | text.Text = "Dark-cider" | |
118 | ------ | |
119 | Me = game.Players.LocalPlayer | |
120 | char = Me.Character | |
121 | larm = char["Left Arm"] | |
122 | rarm = char["Right Arm"] | |
123 | lleg = char["Left Leg"] | |
124 | rleg = char["Right Leg"] | |
125 | torso = char.Torso | |
126 | ||
127 | lleg.Transparency = 1 | |
128 | rleg.Transparency = 1 | |
129 | larm.Transparency = 1 | |
130 | rarm.Transparency = 1 | |
131 | torso.Transparency = 1 | |
132 | ------------------------------------------------------------------ Player ------------------------------------------------------------------- | |
133 | ||
134 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
135 | larm1 = Instance.new("Part", char) | |
136 | larm1.Name = "Middle" | |
137 | larm1.BrickColor = BrickColor.new("Really black") | |
138 | larm1.Size = Vector3.new(1, 2, 1) | |
139 | larm1.CanCollide = false | |
140 | larm1.BottomSurface = "Smooth" | |
141 | larm1.TopSurface = "Smooth" | |
142 | larm1.Material = "Neon" | |
143 | Weld = Instance.new("Weld",larm) | |
144 | Weld.Part0 = larm | |
145 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
146 | Weld.Part1 = larm1 | |
147 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
148 | ||
149 | larm2 = Instance.new("Part", char) | |
150 | larm2.BrickColor = BrickColor.new("Really black") | |
151 | larm2.Size = Vector3.new(1, 0.4, 1) | |
152 | larm2.CanCollide = false | |
153 | larm2.BottomSurface = "Smooth" | |
154 | larm2.TopSurface = "Smooth" | |
155 | Weld = Instance.new("Weld",larm) | |
156 | Weld.Part0 = larm | |
157 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
158 | Weld.Part1 = larm2 | |
159 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
160 | ||
161 | larm3 = Instance.new("Part", char) | |
162 | larm3.BrickColor = BrickColor.new("Really black") | |
163 | larm3.Size = Vector3.new(1, 0.4, 1) | |
164 | larm3.CanCollide = false | |
165 | larm3.BottomSurface = "Smooth" | |
166 | larm3.TopSurface = "Smooth" | |
167 | Weld = Instance.new("Weld",larm) | |
168 | Weld.Part0 = larm | |
169 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
170 | Weld.Part1 = larm3 | |
171 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
172 | ||
173 | larm4 = Instance.new("Part", char) | |
174 | larm4.BrickColor = BrickColor.new("Really black") | |
175 | larm4.Size = Vector3.new(1, 0.4, 1) | |
176 | larm4.CanCollide = false | |
177 | larm4.BottomSurface = "Smooth" | |
178 | larm4.TopSurface = "Smooth" | |
179 | Weld = Instance.new("Weld",larm) | |
180 | Weld.Part0 = larm | |
181 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
182 | Weld.Part1 = larm4 | |
183 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
184 | ||
185 | larm5 = Instance.new("Part", char) | |
186 | larm5.BrickColor = BrickColor.new("Really black") | |
187 | larm5.Size = Vector3.new(1, 0.4, 1) | |
188 | larm5.CanCollide = false | |
189 | larm5.BottomSurface = "Smooth" | |
190 | larm5.TopSurface = "Smooth" | |
191 | Weld = Instance.new("Weld",larm) | |
192 | Weld.Part0 = larm | |
193 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
194 | Weld.Part1 = larm5 | |
195 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
196 | ||
197 | larm6 = Instance.new("Part", char) | |
198 | larm6.BrickColor = BrickColor.new("Really black") | |
199 | larm6.Size = Vector3.new(1, 0.4, 1) | |
200 | larm6.CanCollide = false | |
201 | larm6.BottomSurface = "Smooth" | |
202 | larm6.TopSurface = "Smooth" | |
203 | Mesh = Instance.new("SpecialMesh", larm6) | |
204 | Mesh.MeshType = "Brick" | |
205 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
206 | Weld = Instance.new("Weld",larm) | |
207 | Weld.Part0 = larm | |
208 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
209 | Weld.Part1 = larm6 | |
210 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
211 | ||
212 | larm7 = Instance.new("Part", char) | |
213 | larm7.BrickColor = BrickColor.new("Really black") | |
214 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
215 | larm7.CanCollide = false | |
216 | larm7.BottomSurface = "Smooth" | |
217 | larm7.TopSurface = "Smooth" | |
218 | larm7.Material = "Neon" | |
219 | Weld = Instance.new("Weld",larm) | |
220 | Weld.Part0 = larm | |
221 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
222 | Weld.Part1 = larm7 | |
223 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
224 | ||
225 | larm8 = Instance.new("Part", char) | |
226 | larm8.BrickColor = BrickColor.new("Really black") | |
227 | larm8.Size = Vector3.new(1, 0.4, 1) | |
228 | larm8.CanCollide = false | |
229 | larm8.BottomSurface = "Smooth" | |
230 | larm8.TopSurface = "Smooth" | |
231 | Weld = Instance.new("Weld",larm) | |
232 | Weld.Part0 = larm | |
233 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
234 | Weld.Part1 = larm8 | |
235 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
236 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
237 | rarm1 = Instance.new("Part", char) | |
238 | rarm1.Name = "Middle" | |
239 | rarm1.BrickColor = BrickColor.new("Really black") | |
240 | rarm1.Size = Vector3.new(1, 2, 1) | |
241 | rarm1.CanCollide = false | |
242 | rarm1.BottomSurface = "Smooth" | |
243 | rarm1.TopSurface = "Smooth" | |
244 | rarm1.Material = "Neon" | |
245 | Weld = Instance.new("Weld",rarm) | |
246 | Weld.Part0 = rarm | |
247 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
248 | Weld.Part1 = rarm1 | |
249 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
250 | ||
251 | rarm2 = Instance.new("Part", char) | |
252 | rarm2.BrickColor = BrickColor.new("Really black") | |
253 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
254 | rarm2.CanCollide = false | |
255 | rarm2.BottomSurface = "Smooth" | |
256 | rarm2.TopSurface = "Smooth" | |
257 | Weld = Instance.new("Weld",rarm) | |
258 | Weld.Part0 = rarm | |
259 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
260 | Weld.Part1 = rarm2 | |
261 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
262 | ||
263 | rarm3 = Instance.new("Part", char) | |
264 | rarm3.BrickColor = BrickColor.new("Really black") | |
265 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
266 | rarm3.CanCollide = false | |
267 | rarm3.BottomSurface = "Smooth" | |
268 | rarm3.TopSurface = "Smooth" | |
269 | Weld = Instance.new("Weld",rarm) | |
270 | Weld.Part0 = rarm | |
271 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
272 | Weld.Part1 = rarm3 | |
273 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
274 | ||
275 | rarm4 = Instance.new("Part", char) | |
276 | rarm4.BrickColor = BrickColor.new("Really black") | |
277 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
278 | rarm4.CanCollide = false | |
279 | rarm4.BottomSurface = "Smooth" | |
280 | rarm4.TopSurface = "Smooth" | |
281 | Weld = Instance.new("Weld",rarm) | |
282 | Weld.Part0 = rarm | |
283 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
284 | Weld.Part1 = rarm4 | |
285 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
286 | ||
287 | rarm5 = Instance.new("Part", char) | |
288 | rarm5.BrickColor = BrickColor.new("Really black") | |
289 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
290 | rarm5.CanCollide = false | |
291 | rarm5.BottomSurface = "Smooth" | |
292 | rarm5.TopSurface = "Smooth" | |
293 | Mesh = Instance.new("SpecialMesh", rarm5) | |
294 | Mesh.MeshType = "Brick" | |
295 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
296 | Weld = Instance.new("Weld",rarm) | |
297 | Weld.Part0 = rarm | |
298 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
299 | Weld.Part1 = rarm5 | |
300 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
301 | ||
302 | rarm6 = Instance.new("Part", char) | |
303 | rarm6.BrickColor = BrickColor.new("Really black") | |
304 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
305 | rarm6.CanCollide = false | |
306 | rarm6.BottomSurface = "Smooth" | |
307 | rarm6.TopSurface = "Smooth" | |
308 | Weld = Instance.new("Weld",rarm) | |
309 | Weld.Part0 = rarm | |
310 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
311 | Weld.Part1 = rarm6 | |
312 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
313 | ||
314 | rarm7 = Instance.new("Part", char) | |
315 | rarm7.BrickColor = BrickColor.new("Really black") | |
316 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
317 | rarm7.CanCollide = false | |
318 | rarm7.BottomSurface = "Smooth" | |
319 | rarm7.TopSurface = "Smooth" | |
320 | rarm7.Material = "Neon" | |
321 | Weld = Instance.new("Weld",rarm) | |
322 | Weld.Part0 = rarm | |
323 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
324 | Weld.Part1 = rarm7 | |
325 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
326 | ||
327 | rarm8 = Instance.new("Part", char) | |
328 | rarm8.BrickColor = BrickColor.new("Really black") | |
329 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
330 | rarm8.CanCollide = false | |
331 | rarm8.BottomSurface = "Smooth" | |
332 | rarm8.TopSurface = "Smooth" | |
333 | Weld = Instance.new("Weld",rarm) | |
334 | Weld.Part0 = rarm | |
335 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
336 | Weld.Part1 = rarm8 | |
337 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
338 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
339 | lleg1 = Instance.new("Part", char) | |
340 | lleg1.Name = "Middle" | |
341 | lleg1.BrickColor = BrickColor.new("Really black") | |
342 | lleg1.Size = Vector3.new(1, 2, 1) | |
343 | lleg1.CanCollide = false | |
344 | lleg1.BottomSurface = "Smooth" | |
345 | lleg1.TopSurface = "Smooth" | |
346 | lleg1.Material = "Neon" | |
347 | Weld = Instance.new("Weld",lleg) | |
348 | Weld.Part0 = lleg | |
349 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
350 | Weld.Part1 = lleg1 | |
351 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
352 | ||
353 | lleg2 = Instance.new("Part", char) | |
354 | lleg2.BrickColor = BrickColor.new("Really black") | |
355 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
356 | lleg2.CanCollide = false | |
357 | lleg2.BottomSurface = "Smooth" | |
358 | lleg2.TopSurface = "Smooth" | |
359 | Weld = Instance.new("Weld",lleg) | |
360 | Weld.Part0 = lleg | |
361 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
362 | Weld.Part1 = lleg2 | |
363 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
364 | ||
365 | lleg3 = Instance.new("Part", char) | |
366 | lleg3.BrickColor = BrickColor.new("Really black") | |
367 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
368 | lleg3.CanCollide = false | |
369 | lleg3.BottomSurface = "Smooth" | |
370 | lleg3.TopSurface = "Smooth" | |
371 | Weld = Instance.new("Weld",lleg) | |
372 | Weld.Part0 = lleg | |
373 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
374 | Weld.Part1 = lleg3 | |
375 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
376 | ||
377 | lleg4 = Instance.new("Part", char) | |
378 | lleg4.BrickColor = BrickColor.new("Really black") | |
379 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
380 | lleg4.CanCollide = false | |
381 | lleg4.BottomSurface = "Smooth" | |
382 | lleg4.TopSurface = "Smooth" | |
383 | Weld = Instance.new("Weld",lleg) | |
384 | Weld.Part0 = lleg | |
385 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
386 | Weld.Part1 = lleg4 | |
387 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
388 | ||
389 | lleg5 = Instance.new("Part", char) | |
390 | lleg5.BrickColor = BrickColor.new("Really black") | |
391 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
392 | lleg5.CanCollide = false | |
393 | lleg5.BottomSurface = "Smooth" | |
394 | lleg5.TopSurface = "Smooth" | |
395 | Weld = Instance.new("Weld",lleg) | |
396 | Weld.Part0 = lleg | |
397 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
398 | Weld.Part1 = lleg5 | |
399 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
400 | ||
401 | lleg6 = Instance.new("Part", char) | |
402 | lleg6.BrickColor = BrickColor.new("Really black") | |
403 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
404 | lleg6.CanCollide = false | |
405 | lleg6.BottomSurface = "Smooth" | |
406 | lleg6.TopSurface = "Smooth" | |
407 | Weld = Instance.new("Weld",lleg) | |
408 | Weld.Part0 = lleg | |
409 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
410 | Weld.Part1 = lleg6 | |
411 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
412 | ||
413 | lleg7 = Instance.new("Part", char) | |
414 | lleg7.BrickColor = BrickColor.new("Really black") | |
415 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
416 | lleg7.CanCollide = false | |
417 | lleg7.BottomSurface = "Smooth" | |
418 | lleg7.TopSurface = "Smooth" | |
419 | Weld = Instance.new("Weld",lleg) | |
420 | Weld.Part0 = lleg | |
421 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
422 | Weld.Part1 = lleg7 | |
423 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
424 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
425 | rleg1 = Instance.new("Part", char) | |
426 | rleg1.Name = "Middle" | |
427 | rleg1.BrickColor = BrickColor.new("Really black") | |
428 | rleg1.Size = Vector3.new(1, 2, 1) | |
429 | rleg1.CanCollide = false | |
430 | rleg1.BottomSurface = "Smooth" | |
431 | rleg1.TopSurface = "Smooth" | |
432 | rleg1.Material = "Neon" | |
433 | Weld = Instance.new("Weld",rleg) | |
434 | Weld.Part0 = rleg | |
435 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
436 | Weld.Part1 = rleg1 | |
437 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
438 | ||
439 | rleg2 = Instance.new("Part", char) | |
440 | rleg2.BrickColor = BrickColor.new("Really black") | |
441 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
442 | rleg2.CanCollide = false | |
443 | rleg2.BottomSurface = "Smooth" | |
444 | rleg2.TopSurface = "Smooth" | |
445 | Weld = Instance.new("Weld",rleg) | |
446 | Weld.Part0 = rleg | |
447 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
448 | Weld.Part1 = rleg2 | |
449 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
450 | ||
451 | rleg3 = Instance.new("Part", char) | |
452 | rleg3.BrickColor = BrickColor.new("Really black") | |
453 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
454 | rleg3.CanCollide = false | |
455 | rleg3.BottomSurface = "Smooth" | |
456 | rleg3.TopSurface = "Smooth" | |
457 | Weld = Instance.new("Weld",rleg) | |
458 | Weld.Part0 = rleg | |
459 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
460 | Weld.Part1 = rleg3 | |
461 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
462 | ||
463 | rleg4 = Instance.new("Part", char) | |
464 | rleg4.BrickColor = BrickColor.new("Really black") | |
465 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
466 | rleg4.CanCollide = false | |
467 | rleg4.BottomSurface = "Smooth" | |
468 | rleg4.TopSurface = "Smooth" | |
469 | Weld = Instance.new("Weld",rleg) | |
470 | Weld.Part0 = rleg | |
471 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
472 | Weld.Part1 = rleg4 | |
473 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
474 | ||
475 | rleg5 = Instance.new("Part", char) | |
476 | rleg5.BrickColor = BrickColor.new("Really black") | |
477 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
478 | rleg5.CanCollide = false | |
479 | rleg5.BottomSurface = "Smooth" | |
480 | rleg5.TopSurface = "Smooth" | |
481 | Weld = Instance.new("Weld",rleg) | |
482 | Weld.Part0 = rleg | |
483 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
484 | Weld.Part1 = rleg5 | |
485 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
486 | ||
487 | rleg6 = Instance.new("Part", char) | |
488 | rleg6.BrickColor = BrickColor.new("Really black") | |
489 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
490 | rleg6.CanCollide = false | |
491 | rleg6.BottomSurface = "Smooth" | |
492 | rleg6.TopSurface = "Smooth" | |
493 | Weld = Instance.new("Weld",rleg) | |
494 | Weld.Part0 = rleg | |
495 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
496 | Weld.Part1 = rleg6 | |
497 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
498 | ||
499 | rleg7 = Instance.new("Part", char) | |
500 | rleg7.BrickColor = BrickColor.new("Really black") | |
501 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
502 | rleg7.CanCollide = false | |
503 | rleg7.BottomSurface = "Smooth" | |
504 | rleg7.TopSurface = "Smooth" | |
505 | Weld = Instance.new("Weld",rleg) | |
506 | Weld.Part0 = rleg | |
507 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
508 | Weld.Part1 = rleg7 | |
509 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
510 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
511 | Chest1 = Instance.new("Part", char) | |
512 | Chest1.Name = "Ball" | |
513 | Chest1.BrickColor = BrickColor.new("Really black") | |
514 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
515 | Chest1.CanCollide = false | |
516 | Chest1.BottomSurface = "Smooth" | |
517 | Chest1.TopSurface = "Smooth" | |
518 | Chest1.Material = "Neon" | |
519 | Mesh = Instance.new("CylinderMesh", Chest1) | |
520 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
521 | Weld = Instance.new("Weld",torso) | |
522 | Weld.Part0 = torso | |
523 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
524 | Weld.Part1 = Chest1 | |
525 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
526 | ||
527 | Chest2 = Instance.new("Part", char) | |
528 | Chest2.BrickColor = BrickColor.new("Really black") | |
529 | Chest2.Name = "Middle" | |
530 | Chest2.Size = Vector3.new(2, 2, 1) | |
531 | Chest2.CanCollide = false | |
532 | Chest2.BottomSurface = "Smooth" | |
533 | Chest2.TopSurface = "Smooth" | |
534 | Chest2.Material = "Neon" | |
535 | Weld = Instance.new("Weld",torso) | |
536 | Weld.Part0 = torso | |
537 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
538 | Weld.Part1 = Chest2 | |
539 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
540 | ||
541 | Chest3 = Instance.new("Part", char) | |
542 | Chest3.BrickColor = BrickColor.new("Really black") | |
543 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
544 | Chest3.CanCollide = false | |
545 | Chest3.BottomSurface = "Smooth" | |
546 | Chest3.TopSurface = "Smooth" | |
547 | Weld = Instance.new("Weld",torso) | |
548 | Weld.Part0 = torso | |
549 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
550 | Weld.Part1 = Chest3 | |
551 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
552 | ||
553 | Chest4 = Instance.new("Part", char) | |
554 | Chest4.BrickColor = BrickColor.new("Really black") | |
555 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
556 | Chest4.CanCollide = false | |
557 | Chest4.BottomSurface = "Smooth" | |
558 | Chest4.TopSurface = "Smooth" | |
559 | Weld = Instance.new("Weld",torso) | |
560 | Weld.Part0 = torso | |
561 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
562 | Weld.Part1 = Chest4 | |
563 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
564 | ||
565 | Chest5 = Instance.new("Part", char) | |
566 | Chest5.BrickColor = BrickColor.new("Really black") | |
567 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
568 | Chest5.CanCollide = false | |
569 | Chest5.BottomSurface = "Smooth" | |
570 | Chest5.TopSurface = "Smooth" | |
571 | Weld = Instance.new("Weld",torso) | |
572 | Weld.Part0 = torso | |
573 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
574 | Weld.Part1 = Chest5 | |
575 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
576 | ||
577 | Chest6 = Instance.new("Part", char) | |
578 | Chest6.BrickColor = BrickColor.new("Really black") | |
579 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
580 | Chest6.CanCollide = false | |
581 | Chest6.BottomSurface = "Smooth" | |
582 | Chest6.TopSurface = "Smooth" | |
583 | Weld = Instance.new("Weld",torso) | |
584 | Weld.Part0 = torso | |
585 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
586 | Weld.Part1 = Chest6 | |
587 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
588 | ||
589 | Chest7 = Instance.new("Part", char) | |
590 | Chest7.BrickColor = BrickColor.new("Really black") | |
591 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
592 | Chest7.CanCollide = false | |
593 | Chest7.BottomSurface = "Smooth" | |
594 | Chest7.TopSurface = "Smooth" | |
595 | Weld = Instance.new("Weld",torso) | |
596 | Weld.Part0 = torso | |
597 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
598 | Weld.Part1 = Chest7 | |
599 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
600 | ||
601 | Chest8 = Instance.new("Part", char) | |
602 | Chest8.BrickColor = BrickColor.new("Really black") | |
603 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
604 | Chest8.CanCollide = false | |
605 | Chest8.BottomSurface = "Smooth" | |
606 | Chest8.TopSurface = "Smooth" | |
607 | Weld = Instance.new("Weld",torso) | |
608 | Weld.Part0 = torso | |
609 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
610 | Weld.Part1 = Chest8 | |
611 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
612 | ||
613 | Chest9 = Instance.new("Part", char) | |
614 | Chest9.BrickColor = BrickColor.new("Really black") | |
615 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
616 | Chest9.CanCollide = false | |
617 | Chest9.BottomSurface = "Smooth" | |
618 | Chest9.TopSurface = "Smooth" | |
619 | Weld = Instance.new("Weld",torso) | |
620 | Weld.Part0 = torso | |
621 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
622 | Weld.Part1 = Chest9 | |
623 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
624 | ||
625 | Chest10 = Instance.new("Part", char) | |
626 | Chest10.BrickColor = BrickColor.new("Really black") | |
627 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
628 | Chest10.CanCollide = false | |
629 | Chest10.BottomSurface = "Smooth" | |
630 | Chest10.TopSurface = "Smooth" | |
631 | Mesh = Instance.new("SpecialMesh", Chest10) | |
632 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
633 | Weld = Instance.new("Weld",torso) | |
634 | Weld.Part0 = torso | |
635 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
636 | Weld.Part1 = Chest10 | |
637 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
638 | ||
639 | Chest11 = Instance.new("Part", char) | |
640 | Chest11.BrickColor = BrickColor.new("Really black") | |
641 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
642 | Chest11.CanCollide = false | |
643 | Chest11.BottomSurface = "Smooth" | |
644 | Chest11.TopSurface = "Smooth" | |
645 | Weld = Instance.new("Weld",torso) | |
646 | Weld.Part0 = torso | |
647 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
648 | Weld.Part1 = Chest11 | |
649 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
650 | ||
651 | Chest12 = Instance.new("Part", char) | |
652 | Chest12.BrickColor = BrickColor.new("Really black") | |
653 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
654 | Chest12.CanCollide = false | |
655 | Chest12.BottomSurface = "Smooth" | |
656 | Chest12.TopSurface = "Smooth" | |
657 | Weld = Instance.new("Weld",torso) | |
658 | Weld.Part0 = torso | |
659 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
660 | Weld.Part1 = Chest12 | |
661 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
662 | ||
663 | Chest13 = Instance.new("Part", char) | |
664 | Chest13.BrickColor = BrickColor.new("Really black") | |
665 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
666 | Chest13.CanCollide = false | |
667 | Chest13.BottomSurface = "Smooth" | |
668 | Chest13.TopSurface = "Smooth" | |
669 | Weld = Instance.new("Weld",torso) | |
670 | Weld.Part0 = torso | |
671 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
672 | Weld.Part1 = Chest13 | |
673 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
674 | ||
675 | Chest14 = Instance.new("Part", char) | |
676 | Chest14.BrickColor = BrickColor.new("Really black") | |
677 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
678 | Chest14.CanCollide = false | |
679 | Chest14.BottomSurface = "Smooth" | |
680 | Chest14.TopSurface = "Smooth" | |
681 | Weld = Instance.new("Weld",torso) | |
682 | Weld.Part0 = torso | |
683 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
684 | Weld.Part1 = Chest14 | |
685 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
686 | ||
687 | Chest15 = Instance.new("Part", char) | |
688 | Chest15.BrickColor = BrickColor.new("Really black") | |
689 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
690 | Chest15.CanCollide = false | |
691 | Chest15.BottomSurface = "Smooth" | |
692 | Chest15.TopSurface = "Smooth" | |
693 | Weld = Instance.new("Weld",torso) | |
694 | Weld.Part0 = torso | |
695 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
696 | Weld.Part1 = Chest15 | |
697 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
698 | ||
699 | Chest16 = Instance.new("Part", char) | |
700 | Chest16.BrickColor = BrickColor.new("Really black") | |
701 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
702 | Chest16.CanCollide = false | |
703 | Chest16.BottomSurface = "Smooth" | |
704 | Chest16.TopSurface = "Smooth" | |
705 | Weld = Instance.new("Weld",torso) | |
706 | Weld.Part0 = torso | |
707 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
708 | Weld.Part1 = Chest16 | |
709 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
710 | ||
711 | Chest17 = Instance.new("Part", char) | |
712 | Chest17.BrickColor = BrickColor.new("Really black") | |
713 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
714 | Chest17.CanCollide = false | |
715 | Chest17.BottomSurface = "Smooth" | |
716 | Chest17.TopSurface = "Smooth" | |
717 | Weld = Instance.new("Weld",torso) | |
718 | Weld.Part0 = torso | |
719 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
720 | Weld.Part1 = Chest17 | |
721 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
722 | ||
723 | Chest18 = Instance.new("Part", char) | |
724 | Chest18.BrickColor = BrickColor.new("Really black") | |
725 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
726 | Chest18.CanCollide = false | |
727 | Chest18.BottomSurface = "Smooth" | |
728 | Chest18.TopSurface = "Smooth" | |
729 | Weld = Instance.new("Weld",torso) | |
730 | Weld.Part0 = torso | |
731 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
732 | Weld.Part1 = Chest18 | |
733 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
734 | ||
735 | Chest19 = Instance.new("Part", char) | |
736 | Chest19.BrickColor = BrickColor.new("Really black") | |
737 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
738 | Chest19.CanCollide = false | |
739 | Chest19.BottomSurface = "Smooth" | |
740 | Chest19.TopSurface = "Smooth" | |
741 | Weld = Instance.new("Weld",torso) | |
742 | Weld.Part0 = torso | |
743 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
744 | Weld.Part1 = Chest19 | |
745 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
746 | ||
747 | Chest20 = Instance.new("Part", char) | |
748 | Chest20.BrickColor = BrickColor.new("Really black") | |
749 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
750 | Chest20.CanCollide = false | |
751 | Chest20.BottomSurface = "Smooth" | |
752 | Chest20.TopSurface = "Smooth" | |
753 | Mesh = Instance.new("SpecialMesh",Chest20) | |
754 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
755 | Weld = Instance.new("Weld",torso) | |
756 | Weld.Part0 = torso | |
757 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
758 | Weld.Part1 = Chest20 | |
759 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
760 | ||
761 | Chest21 = Instance.new("Part", char) | |
762 | Chest21.BrickColor = BrickColor.new("Really black") | |
763 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
764 | Chest21.CanCollide = false | |
765 | Chest21.BottomSurface = "Smooth" | |
766 | Chest21.TopSurface = "Smooth" | |
767 | Weld = Instance.new("Weld",torso) | |
768 | Weld.Part0 = torso | |
769 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
770 | Weld.Part1 = Chest21 | |
771 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
772 | ||
773 | Chest22 = Instance.new("Part", char) | |
774 | Chest22.BrickColor = BrickColor.new("Really black") | |
775 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
776 | Chest22.CanCollide = false | |
777 | Chest22.BottomSurface = "Smooth" | |
778 | Chest22.TopSurface = "Smooth" | |
779 | Weld = Instance.new("Weld",torso) | |
780 | Weld.Part0 = torso | |
781 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
782 | Weld.Part1 = Chest22 | |
783 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
784 | ||
785 | Chest23 = Instance.new("Part", char) | |
786 | - | local Mouse = Player:GetMouse() |
786 | + | |
787 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
788 | Chest23.CanCollide = false | |
789 | Chest23.BottomSurface = "Smooth" | |
790 | Chest23.TopSurface = "Smooth" | |
791 | Weld = Instance.new("Weld",torso) | |
792 | Weld.Part0 = torso | |
793 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
794 | Weld.Part1 = Chest23 | |
795 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
796 | ||
797 | Chest24 = Instance.new("Part", char) | |
798 | Chest24.BrickColor = BrickColor.new("Really black") | |
799 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
800 | Chest24.CanCollide = false | |
801 | Chest24.BottomSurface = "Smooth" | |
802 | Chest24.TopSurface = "Smooth" | |
803 | Weld = Instance.new("Weld",torso) | |
804 | Weld.Part0 = torso | |
805 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
806 | Weld.Part1 = Chest24 | |
807 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
808 | ------ | |
809 | local Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,0,0)) | |
810 | ||
811 | local Num = 0.5 | |
812 | ||
813 | local Num2 = 4 -------------Wings Parameters------------------------------------- | |
814 | local Size = 2 | |
815 | local Rate = 500 | |
816 | ------------------------------------------------------------------------------------- | |
817 | local Player = game:service'Players'.LocalPlayer | |
818 | local Character = Player.Character | |
819 | Torso = Character:WaitForChild'Torso' | |
820 | ||
821 | local Wing1 = Instance.new("Part",Character) | |
822 | Wing1.FormFactor = Enum.FormFactor.Custom | |
823 | Wing1.Size = Vector3.new(.2, .2, .2) | |
824 | Wing1.Name = "WIng_1" | |
825 | ||
826 | local fire = Instance.new("ParticleEmitter", Wing1) | |
827 | fire.VelocitySpread = 0 | |
828 | fire.Lifetime = NumberRange.new(2) | |
829 | fire.Acceleration = Vector3.new(0, 2, 2) | |
830 | fire.RotSpeed = NumberRange.new(10) | |
831 | fire.Rate = Rate | |
832 | fire.Rotation = NumberRange.new(151515) | |
833 | fire.Name = "Fire" | |
834 | fire.LightEmission = 0.78 | |
835 | fire.LockedToPart = true | |
836 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
837 | fire.Color = Color | |
838 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)}) | |
839 | ||
840 | local Wing2 = Wing1:Clone() | |
841 | Wing2.Parent = Torso | |
842 | local x,y,z = 0,-1,-6 | |
843 | ||
844 | Wld = function(a,b,cf) | |
845 | local Weld = Instance.new('Weld',a) | |
846 | Weld.Part0 = a | |
847 | Weld.Part1 = b | |
848 | Weld.C1 = cf | |
849 | return Weld | |
850 | end | |
851 | ||
852 | local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
853 | local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90))) | |
854 | ||
855 | ||
856 | game:service'RunService'.Stepped:connect(function() | |
857 | --z = 6+math.sin(tick()*2) | |
858 | y = -1+math.sin(tick()*Num)*Num2 | |
859 | Wing1.Fire.Acceleration = Vector3.new(x,y,z) | |
860 | Wing2.Fire.Acceleration = Vector3.new(x,y,-z) | |
861 | end) | |
862 | ------ | |
863 | wait(1 / 60) | |
864 | Effects = { } | |
865 | local Player = game.Players.localPlayer | |
866 | local Character = Player.Character | |
867 | local Humanoid = Character.Humanoid | |
868 | ||
869 | local LeftArm = Character["Left Arm"] | |
870 | local RightArm = Character["Right Arm"] | |
871 | local LeftLeg = Character["Left Leg"] | |
872 | local RightLeg = Character["Right Leg"] | |
873 | local Head = Character.Head | |
874 | local Torso = Character.Torso | |
875 | local Camera = game.Workspace.CurrentCamera | |
876 | local RootPart = Character.HumanoidRootPart | |
877 | local RootJoint = RootPart.RootJoint | |
878 | local attack = false | |
879 | local Anim = 'Idle' | |
880 | local attacktype = 1 | |
881 | local delays = false | |
882 | local play = true | |
883 | local targetted = nil | |
884 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
885 | local velocity = RootPart.Velocity.y | |
886 | local sine = 0 | |
887 | local change = 1 | |
888 | local doe = 0 | |
889 | local Create = LoadLibrary("RbxUtility").Create | |
890 | Humanoid.WalkSpeed = 8 | |
891 | local m = Create("Model"){ | |
892 | Parent = Character, | |
893 | Name = "WeaponModel", | |
894 | } | |
895 | local Orin = "rbxassetid://398671601" | |
896 | Head.face.Texture = Orin | |
897 | spawn(function() | |
898 | while wait() do | |
899 | Head.BrickColor = BrickColor.new("Really black") | |
900 | RightArm.BrickColor = BrickColor.new("Really black") | |
901 | LeftArm.BrickColor = BrickColor.new("Really black") | |
902 | Torso.BrickColor = BrickColor.new("Really black") | |
903 | RightLeg.BrickColor = BrickColor.new("Really black") | |
904 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
905 | end | |
906 | end) | |
907 | for i,v in pairs(Character:children()) do | |
908 | if v:IsA("Hat") then | |
909 | v:Destroy() | |
910 | end | |
911 | end | |
912 | for i,v in pairs(Character:children()) do | |
913 | if v:IsA("Accessory") then | |
914 | v:Destroy() | |
915 | end | |
916 | end | |
917 | for i,v in pairs(Character:children()) do | |
918 | if v:IsA("Hair") then | |
919 | v:Destroy() | |
920 | end | |
921 | end | |
922 | for i,v in pairs(Character:children()) do | |
923 | if v:IsA("Shirt") then | |
924 | v:Destroy() | |
925 | end | |
926 | end | |
927 | for i,v in pairs(Character:children()) do | |
928 | if v:IsA("Pants") then | |
929 | v:Destroy() | |
930 | end | |
931 | end | |
932 | for i,v in pairs(Character:children()) do | |
933 | if v:IsA("Graphic Shirt") then | |
934 | v:Destroy() | |
935 | end | |
936 | end | |
937 | Humanoid.Animator.Parent = nil | |
938 | Character.Animate.Parent = nil | |
939 | ||
940 | local newMotor = function(part0, part1, c0, c1) | |
941 | local w = Create('Motor'){ | |
942 | Parent = part0, | |
943 | Part0 = part0, | |
944 | Part1 = part1, | |
945 | C0 = c0, | |
946 | C1 = c1, | |
947 | } | |
948 | return w | |
949 | end | |
950 | ||
951 | function clerp(a, b, t) | |
952 | return a:lerp(b, t) | |
953 | end | |
954 | ||
955 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
956 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
957 | ||
958 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
959 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
960 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
961 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
962 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
963 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
964 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
965 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
966 | ||
967 | local rarmc1 = RW.C1 | |
968 | local larmc1 = LW.C1 | |
969 | local rlegc1 = RH.C1 | |
970 | local llegc1 = LH.C1 | |
971 | ||
972 | local resetc1 = false | |
973 | ||
974 | function PlayAnimationFromTable(table, speed, bool) | |
975 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
976 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
977 | RW.C0 = clerp(RW.C0, table[3], speed) | |
978 | LW.C0 = clerp(LW.C0, table[4], speed) | |
979 | RH.C0 = clerp(RH.C0, table[5], speed) | |
980 | LH.C0 = clerp(LH.C0, table[6], speed) | |
981 | if bool == true then | |
982 | if resetc1 == false then | |
983 | resetc1 = true | |
984 | RootJoint.C1 = RootJoint.C1 | |
985 | Torso.Neck.C1 = Torso.Neck.C1 | |
986 | RW.C1 = rarmc1 | |
987 | LW.C1 = larmc1 | |
988 | RH.C1 = rlegc1 | |
989 | LH.C1 = llegc1 | |
990 | end | |
991 | end | |
992 | end | |
993 | ||
994 | ArtificialHB = Create("BindableEvent", script){ | |
995 | Parent = script, | |
996 | Name = "Heartbeat", | |
997 | } | |
998 | ||
999 | script:WaitForChild("Heartbeat") | |
1000 | ||
1001 | frame = 1 / 30 | |
1002 | tf = 0 | |
1003 | allowframeloss = false | |
1004 | tossremainder = false | |
1005 | lastframe = tick() | |
1006 | script.Heartbeat:Fire() | |
1007 | ||
1008 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1009 | tf = tf + s | |
1010 | if tf >= frame then | |
1011 | if allowframeloss then | |
1012 | script.Heartbeat:Fire() | |
1013 | lastframe = tick() | |
1014 | else | |
1015 | for i = 1, math.floor(tf / frame) do | |
1016 | script.Heartbeat:Fire() | |
1017 | end | |
1018 | lastframe = tick() | |
1019 | end | |
1020 | if tossremainder then | |
1021 | tf = 0 | |
1022 | else | |
1023 | tf = tf - frame * math.floor(tf / frame) | |
1024 | end | |
1025 | end | |
1026 | end) | |
1027 | ||
1028 | function swait(num) | |
1029 | if num == 0 or num == nil then | |
1030 | ArtificialHB.Event:wait() | |
1031 | else | |
1032 | for i = 0, num do | |
1033 | ArtificialHB.Event:wait() | |
1034 | end | |
1035 | end | |
1036 | end | |
1037 | ||
1038 | function RemoveOutlines(part) | |
1039 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
1040 | end | |
1041 | ||
1042 | CFuncs = { | |
1043 | ["Part"] = { | |
1044 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
1045 | local Part = Create("Part"){ | |
1046 | Parent = Parent, | |
1047 | Reflectance = Reflectance, | |
1048 | Transparency = Transparency, | |
1049 | CanCollide = false, | |
1050 | Locked = true, | |
1051 | BrickColor = BrickColor.new(tostring(BColor)), | |
1052 | Name = Name, | |
1053 | Size = Size, | |
1054 | Material = Material, | |
1055 | } | |
1056 | RemoveOutlines(Part) | |
1057 | return Part | |
1058 | end; | |
1059 | }; | |
1060 | ||
1061 | ["Mesh"] = { | |
1062 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1063 | local Msh = Create(Mesh){ | |
1064 | Parent = Part, | |
1065 | Offset = OffSet, | |
1066 | Scale = Scale, | |
1067 | } | |
1068 | if Mesh == "SpecialMesh" then | |
1069 | Msh.MeshType = MeshType | |
1070 | Msh.MeshId = MeshId | |
1071 | end | |
1072 | return Msh | |
1073 | end; | |
1074 | }; | |
1075 | ||
1076 | ["Mesh"] = { | |
1077 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
1078 | local Msh = Create(Mesh){ | |
1079 | Parent = Part, | |
1080 | Offset = OffSet, | |
1081 | Scale = Scale, | |
1082 | } | |
1083 | if Mesh == "SpecialMesh" then | |
1084 | Msh.MeshType = MeshType | |
1085 | Msh.MeshId = MeshId | |
1086 | end | |
1087 | return Msh | |
1088 | end; | |
1089 | }; | |
1090 | ||
1091 | ["Weld"] = { | |
1092 | Create = function(Parent, Part0, Part1, C0, C1) | |
1093 | local Weld = Create("Weld"){ | |
1094 | Parent = Parent, | |
1095 | Part0 = Part0, | |
1096 | Part1 = Part1, | |
1097 | C0 = C0, | |
1098 | C1 = C1, | |
1099 | } | |
1100 | return Weld | |
1101 | end; | |
1102 | }; | |
1103 | ||
1104 | ["Sound"] = { | |
1105 | Create = function(id, par, vol, pit) | |
1106 | coroutine.resume(coroutine.create(function() | |
1107 | local S = Create("Sound"){ | |
1108 | Volume = vol, | |
1109 | Pitch = pit or 1, | |
1110 | SoundId = id, | |
1111 | Parent = par or workspace, | |
1112 | } | |
1113 | wait() | |
1114 | S:play() | |
1115 | game:GetService("Debris"):AddItem(S, 6) | |
1116 | end)) | |
1117 | end; | |
1118 | }; | |
1119 | ||
1120 | ["ParticleEmitter"] = { | |
1121 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
1122 | local fp = Create("ParticleEmitter"){ | |
1123 | Parent = Parent, | |
1124 | Color = ColorSequence.new(Color1, Color2), | |
1125 | LightEmission = LightEmission, | |
1126 | Size = Size, | |
1127 | Texture = Texture, | |
1128 | Transparency = Transparency, | |
1129 | ZOffset = ZOffset, | |
1130 | Acceleration = Accel, | |
1131 | Drag = Drag, | |
1132 | LockedToPart = LockedToPart, | |
1133 | VelocityInheritance = VelocityInheritance, | |
1134 | EmissionDirection = EmissionDirection, | |
1135 | Enabled = Enabled, | |
1136 | Lifetime = LifeTime, | |
1137 | Rate = Rate, | |
1138 | Rotation = Rotation, | |
1139 | RotSpeed = RotSpeed, | |
1140 | Speed = Speed, | |
1141 | VelocitySpread = VelocitySpread, | |
1142 | } | |
1143 | return fp | |
1144 | end; | |
1145 | }; | |
1146 | ||
1147 | CreateTemplate = { | |
1148 | ||
1149 | }; | |
1150 | } | |
1151 | ||
1152 | ||
1153 | ||
1154 | New = function(Object, Parent, Name, Data) | |
1155 | local Object = Instance.new(Object) | |
1156 | for Index, Value in pairs(Data or {}) do | |
1157 | Object[Index] = Value | |
1158 | end | |
1159 | Object.Parent = Parent | |
1160 | Object.Name = Name | |
1161 | return Object | |
1162 | end | |
1163 | ||
1164 | Handle = New("Part",m,"Handle",{Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1165 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
1166 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1167 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
1168 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1169 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1170 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
1171 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1172 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1173 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
1174 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1175 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1176 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
1177 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1178 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1179 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
1180 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1181 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1182 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
1183 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1184 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1185 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
1186 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1187 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),}) | |
1188 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
1189 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1190 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1191 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
1192 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1193 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),}) | |
1194 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1195 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1196 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1197 | Part = New("Part",m,"Part",{Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1198 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
1199 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1200 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1201 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
1202 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1203 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1204 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
1205 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1206 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1207 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
1208 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1209 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1210 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
1211 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1212 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1213 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
1214 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1215 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1216 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
1217 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1218 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),}) | |
1219 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
1220 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1221 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.Neon,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
1222 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
1223 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1224 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),}) | |
1225 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
1226 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
1227 | ||
1228 | for _,v in pairs(m:children()) do | |
1229 | if v:IsA("Part") then | |
1230 | v.CanCollide = false | |
1231 | end | |
1232 | end | |
1233 | for _,v in pairs(m:children()) do | |
1234 | if v:IsA("Part") then | |
1235 | v.Material = "Neon" | |
1236 | end | |
1237 | end | |
1238 | spawn(function() | |
1239 | while wait() do | |
1240 | for _,v in pairs(m:children()) do | |
1241 | if v:IsA("Part") then | |
1242 | v.BrickColor=BrickColor.new("Really black") | |
1243 | end | |
1244 | end | |
1245 | end | |
1246 | end) | |
1247 | ||
1248 | ||
1249 | function rayCast(Position, Direction, Range, Ignore) | |
1250 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1251 | end | |
1252 | ||
1253 | --[[FindNearestTorso = function(pos) | |
1254 | local list = (game.Workspace:children()) | |
1255 | local torso = nil | |
1256 | local dist = 1000 | |
1257 | local temp, human, temp2 = nil, nil, nil | |
1258 | for x = 1, #list do | |
1259 | temp2 = list[x] | |
1260 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
1261 | temp = temp2:findFirstChild("Torso") | |
1262 | human = temp2:findFirstChild("Humanoid") | |
1263 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
1264 | local dohit = true | |
1265 | if dohit == true then | |
1266 | torso = temp | |
1267 | dist = (temp.Position - pos).magnitude | |
1268 | end | |
1269 | end | |
1270 | end | |
1271 | end | |
1272 | return torso, dist | |
1273 | end]] | |
1274 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
1275 | if SinglePlayer then | |
1276 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
1277 | end | |
1278 | local List = {} | |
1279 | for i, v in pairs(workspace:GetChildren()) do | |
1280 | if v:IsA("Model") then | |
1281 | if v:findFirstChild("Torso") then | |
1282 | if v ~= Character then | |
1283 | if (v.Torso.Position - Position).magnitude <= Distance then | |
1284 | table.insert(List, v) | |
1285 | end | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | end | |
1290 | return List | |
1291 | end | |
1292 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1293 | if hit.Parent == nil then | |
1294 | return | |
1295 | end | |
1296 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1297 | for _, v in pairs(hit.Parent:children()) do | |
1298 | if v:IsA("Humanoid") then | |
1299 | h = v | |
1300 | end | |
1301 | end | |
1302 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1303 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1304 | if hit.Parent.DebounceHit.Value == true then | |
1305 | return | |
1306 | end | |
1307 | end | |
1308 | local c = Create("ObjectValue"){ | |
1309 | Name = "creator", | |
1310 | Value = game:service("Players").LocalPlayer, | |
1311 | Parent = h, | |
1312 | } | |
1313 | game:GetService("Debris"):AddItem(c, .5) | |
1314 | if HitSound ~= nil and HitPitch ~= nil then | |
1315 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1316 | end | |
1317 | local Damage = math.random(minim, maxim) | |
1318 | local blocked = false | |
1319 | local block = hit.Parent:findFirstChild("Block") | |
1320 | if block ~= nil then | |
1321 | if block.className == "IntValue" then | |
1322 | if block.Value > 0 then | |
1323 | blocked = true | |
1324 | block.Value = block.Value - 1 | |
1325 | print(block.Value) | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | if blocked == false then | |
1330 | h.Health = h.Health - Damage | |
1331 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
1332 | else | |
1333 | h.Health = h.Health - (Damage / 2) | |
1334 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
1335 | end | |
1336 | if Type == "Knockdown" then | |
1337 | local hum = hit.Parent.Humanoid | |
1338 | hum.PlatformStand = true | |
1339 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1340 | swait(1) | |
1341 | HHumanoid.PlatformStand = false | |
1342 | end), hum) | |
1343 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1344 | local bodvol = Create("BodyVelocity"){ | |
1345 | velocity = angle * knockback, | |
1346 | P = 5000, | |
1347 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1348 | Parent = hit, | |
1349 | } | |
1350 | local rl = Create("BodyAngularVelocity"){ | |
1351 | P = 3000, | |
1352 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1353 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1354 | Parent = hit, | |
1355 | } | |
1356 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1357 | game:GetService("Debris"):AddItem(rl, .5) | |
1358 | elseif Type == "Normal" then | |
1359 | local vp = Create("BodyVelocity"){ | |
1360 | P = 500, | |
1361 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1362 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1363 | } | |
1364 | if knockback > 0 then | |
1365 | vp.Parent = hit.Parent.Torso | |
1366 | end | |
1367 | game:GetService("Debris"):AddItem(vp, .5) | |
1368 | elseif Type == "Up" then | |
1369 | local bodyVelocity = Create("BodyVelocity"){ | |
1370 | velocity = Vector3.new(0, 20, 0), | |
1371 | P = 5000, | |
1372 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1373 | Parent = hit, | |
1374 | } | |
1375 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1376 | elseif Type == "DarkUp" then | |
1377 | coroutine.resume(coroutine.create(function() | |
1378 | for i = 0, 1, 0.1 do | |
1379 | swait() | |
1380 | Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1381 | end | |
1382 | end)) | |
1383 | local bodyVelocity = Create("BodyVelocity"){ | |
1384 | velocity = Vector3.new(0, 20, 0), | |
1385 | P = 5000, | |
1386 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1387 | Parent = hit, | |
1388 | } | |
1389 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1390 | elseif Type == "Snare" then | |
1391 | local bp = Create("BodyPosition"){ | |
1392 | P = 2000, | |
1393 | D = 100, | |
1394 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1395 | position = hit.Parent.Torso.Position, | |
1396 | Parent = hit.Parent.Torso, | |
1397 | } | |
1398 | game:GetService("Debris"):AddItem(bp, 1) | |
1399 | elseif Type == "Freeze" then | |
1400 | local BodPos = Create("BodyPosition"){ | |
1401 | P = 50000, | |
1402 | D = 1000, | |
1403 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1404 | position = hit.Parent.Torso.Position, | |
1405 | Parent = hit.Parent.Torso, | |
1406 | } | |
1407 | local BodGy = Create("BodyGyro") { | |
1408 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1409 | P = 20e+003, | |
1410 | Parent = hit.Parent.Torso, | |
1411 | cframe = hit.Parent.Torso.CFrame, | |
1412 | } | |
1413 | hit.Parent.Torso.Anchored = true | |
1414 | coroutine.resume(coroutine.create(function(Part) | |
1415 | swait(1.5) | |
1416 | Part.Anchored = false | |
1417 | end), hit.Parent.Torso) | |
1418 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1419 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1420 | end | |
1421 | local debounce = Create("BoolValue"){ | |
1422 | Name = "DebounceHit", | |
1423 | Parent = hit.Parent, | |
1424 | Value = true, | |
1425 | } | |
1426 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1427 | c = Create("ObjectValue"){ | |
1428 | Name = "creator", | |
1429 | Value = Player, | |
1430 | Parent = h, | |
1431 | } | |
1432 | game:GetService("Debris"):AddItem(c, .5) | |
1433 | end | |
1434 | end | |
1435 | ||
1436 | function ShowDamage(Pos, Text, Time, Color) | |
1437 | local Rate = (1 / 30) | |
1438 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1439 | local Text = (Text or "") | |
1440 | local Time = (Time or 2) | |
1441 | local Color = (Color or Color3.new(0, 0, 0)) | |
1442 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1443 | EffectPart.Anchored = true | |
1444 | local BillboardGui = Create("BillboardGui"){ | |
1445 | Size = UDim2.new(3, 0, 3, 0), | |
1446 | Adornee = EffectPart, | |
1447 | Parent = EffectPart, | |
1448 | } | |
1449 | local TextLabel = Create("TextLabel"){ | |
1450 | BackgroundTransparency = 1, | |
1451 | Size = UDim2.new(1, 0, 1, 0), | |
1452 | Text = Text, | |
1453 | Font = "SciFi", | |
1454 | TextColor3 = Color, | |
1455 | TextScaled = true, | |
1456 | Parent = BillboardGui, | |
1457 | } | |
1458 | game.Debris:AddItem(EffectPart, (Time)) | |
1459 | EffectPart.Parent = game:GetService("Workspace") | |
1460 | delay(0, function() | |
1461 | local Frames = (Time / Rate) | |
1462 | for Frame = 1, Frames do | |
1463 | wait(Rate) | |
1464 | local Percent = (Frame / Frames) | |
1465 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1466 | TextLabel.TextTransparency = Percent | |
1467 | end | |
1468 | if EffectPart and EffectPart.Parent then | |
1469 | EffectPart:Destroy() | |
1470 | end | |
1471 | end) | |
1472 | end | |
1473 | ||
1474 | function dmg(dude) | |
1475 | if dude.Name ~= Character then | |
1476 | dude.Humanoid.PlatformStand = true | |
1477 | local bgf = Instance.new("BodyGyro",dude.Head) | |
1478 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
1479 | local val = Instance.new("BoolValue",dude) | |
1480 | val.Name = "IsHit" | |
1481 | for i = 1, 6 do | |
1482 | local blo = Instance.new("Part",game.Workspace) | |
1483 | blo.Size = Vector3.new(.6,.2,.6) | |
1484 | blo.Material = "Neon" | |
1485 | blo.BrickColor = BrickColor.new("Really black") | |
1486 | --blo.Position = dude.Head.Position | |
1487 | blo.CFrame = dude.Head.CFrame | |
1488 | game:GetService("Debris"):AddItem(blo,30) | |
1489 | end | |
1490 | local ds = coroutine.wrap(function() | |
1491 | wait(.2) | |
1492 | dude.Torso:BreakJoints() | |
1493 | end) | |
1494 | ds() | |
1495 | end | |
1496 | end | |
1497 | ||
1498 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1499 | --local buddy | |
1500 | for _, c in pairs(workspace:children()) do | |
1501 | local hum = c:findFirstChild("Humanoid") | |
1502 | if hum ~= nil then | |
1503 | local head = c:findFirstChild("Torso") | |
1504 | if head ~= nil then | |
1505 | local targ = head.Position - Part.Position | |
1506 | local mag = targ.magnitude | |
1507 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1508 | if c.Name ~= Character then | |
1509 | if c.Name ~= "CKbackup" then | |
1510 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
1511 | asd.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
1512 | asd.LightEmission = .1 | |
1513 | asd.Size = NumberSequence.new(0.2) | |
1514 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1515 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1516 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1517 | asd.Transparency = bbb | |
1518 | asd.Size = aaa | |
1519 | asd.ZOffset = .9 | |
1520 | asd.Acceleration = Vector3.new(0, -5, 0) | |
1521 | asd.LockedToPart = false | |
1522 | asd.EmissionDirection = "Back" | |
1523 | asd.Lifetime = NumberRange.new(1, 2) | |
1524 | asd.Rate = 1000 | |
1525 | asd.Rotation = NumberRange.new(-100, 100) | |
1526 | asd.RotSpeed = NumberRange.new(-100, 100) | |
1527 | asd.Speed = NumberRange.new(6) | |
1528 | asd.VelocitySpread = 10000 | |
1529 | asd.Enabled=true | |
1530 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1531 | dmg(c) | |
1532 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", c.Torso, 1.2, 1) | |
1533 | coroutine.wrap(function() | |
1534 | wait(.2) | |
1535 | asd.Enabled = false | |
1536 | wait(2) | |
1537 | asd:Remove() | |
1538 | end)() | |
1539 | else | |
1540 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", c.Torso, 1.5, 1) | |
1541 | Effects.Sphere.Create(BrickColor.new("Really black"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
1542 | ||
1543 | end | |
1544 | end | |
1545 | end | |
1546 | end | |
1547 | end | |
1548 | end | |
1549 | end | |
1550 | EffectModel = Create("Model"){ | |
1551 | Parent = Character, | |
1552 | Name = "Effects", | |
1553 | } | |
1554 | ||
1555 | Effects = { | |
1556 | Block = { | |
1557 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1558 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1559 | prt.Anchored = true | |
1560 | prt.CFrame = cframe | |
1561 | prt.Material = "Neon" | |
1562 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1563 | game:GetService("Debris"):AddItem(prt, 10) | |
1564 | if Type == 1 or Type == nil then | |
1565 | table.insert(Effects, { | |
1566 | prt, | |
1567 | "Block1", | |
1568 | delay, | |
1569 | x3, | |
1570 | y3, | |
1571 | z3, | |
1572 | msh | |
1573 | }) | |
1574 | elseif Type == 2 then | |
1575 | table.insert(Effects, { | |
1576 | prt, | |
1577 | "Block2", | |
1578 | delay, | |
1579 | x3, | |
1580 | y3, | |
1581 | z3, | |
1582 | msh | |
1583 | }) | |
1584 | end | |
1585 | end; | |
1586 | }; | |
1587 | ||
1588 | Cylinder = { | |
1589 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1590 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1591 | prt.Anchored = true | |
1592 | prt.Material = "Neon" | |
1593 | prt.CFrame = cframe | |
1594 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1595 | game:GetService("Debris"):AddItem(prt, 10) | |
1596 | table.insert(Effects, { | |
1597 | prt, | |
1598 | "Cylinder", | |
1599 | delay, | |
1600 | x3, | |
1601 | y3, | |
1602 | z3, | |
1603 | msh | |
1604 | }) | |
1605 | end; | |
1606 | }; | |
1607 | Head = { | |
1608 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1609 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1610 | prt.Anchored = true | |
1611 | prt.Material = "Neon" | |
1612 | prt.CFrame = cframe | |
1613 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1614 | game:GetService("Debris"):AddItem(prt, 10) | |
1615 | table.insert(Effects, { | |
1616 | prt, | |
1617 | "Cylinder", | |
1618 | delay, | |
1619 | x3, | |
1620 | y3, | |
1621 | z3, | |
1622 | msh | |
1623 | }) | |
1624 | end; | |
1625 | }; | |
1626 | ||
1627 | Sphere = { | |
1628 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1629 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1630 | prt.Anchored = true | |
1631 | prt.Material = "Neon" | |
1632 | prt.CFrame = cframe | |
1633 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1634 | game:GetService("Debris"):AddItem(prt, 10) | |
1635 | table.insert(Effects, { | |
1636 | prt, | |
1637 | "Cylinder", | |
1638 | delay, | |
1639 | x3, | |
1640 | y3, | |
1641 | z3, | |
1642 | msh | |
1643 | }) | |
1644 | end; | |
1645 | }; | |
1646 | ||
1647 | Elect = { | |
1648 | Create = function(cff, x, y, z) | |
1649 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Really black"), "Part", Vector3.new(1, 1, 1)) | |
1650 | prt.Anchored = true | |
1651 | prt.Material = "Neon" | |
1652 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1653 | prt.CFrame = CFrame.new(prt.Position) | |
1654 | game:GetService("Debris"):AddItem(prt, 2) | |
1655 | local xval = math.random() / 2 | |
1656 | local yval = math.random() / 2 | |
1657 | local zval = math.random() / 2 | |
1658 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1659 | table.insert(Effects, { | |
1660 | prt, | |
1661 | "Elec", | |
1662 | 0.1, | |
1663 | x, | |
1664 | y, | |
1665 | z, | |
1666 | xval, | |
1667 | yval, | |
1668 | zval | |
1669 | }) | |
1670 | end; | |
1671 | ||
1672 | }; | |
1673 | ||
1674 | Ring = { | |
1675 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1676 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1677 | prt.Anchored = true | |
1678 | prt.CFrame = cframe | |
1679 | prt.Material = "Neon" | |
1680 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1681 | game:GetService("Debris"):AddItem(prt, 10) | |
1682 | table.insert(Effects, { | |
1683 | prt, | |
1684 | "Cylinder", | |
1685 | delay, | |
1686 | x3, | |
1687 | y3, | |
1688 | z3, | |
1689 | msh | |
1690 | }) | |
1691 | end; | |
1692 | }; | |
1693 | ||
1694 | ||
1695 | Wave = { | |
1696 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1697 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1698 | prt.Anchored = true | |
1699 | prt.CFrame = cframe | |
1700 | prt.Material = "Neon" | |
1701 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1702 | game:GetService("Debris"):AddItem(prt, 10) | |
1703 | table.insert(Effects, { | |
1704 | prt, | |
1705 | "Cylinder", | |
1706 | delay, | |
1707 | x3, | |
1708 | y3, | |
1709 | z3, | |
1710 | msh | |
1711 | }) | |
1712 | end; | |
1713 | }; | |
1714 | ||
1715 | Break = { | |
1716 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1717 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1718 | prt.Anchored = true | |
1719 | prt.Material = "Neon" | |
1720 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1721 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1722 | local num = math.random(10, 50) / 1000 | |
1723 | game:GetService("Debris"):AddItem(prt, 10) | |
1724 | table.insert(Effects, { | |
1725 | prt, | |
1726 | "Shatter", | |
1727 | num, | |
1728 | prt.CFrame, | |
1729 | math.random() - math.random(), | |
1730 | 0, | |
1731 | math.random(50, 100) / 100 | |
1732 | }) | |
1733 | end; | |
1734 | }; | |
1735 | ||
1736 | Fire = { | |
1737 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1738 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1739 | prt.Anchored = true | |
1740 | prt.Material = "Neon" | |
1741 | prt.CFrame = cframe | |
1742 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1743 | game:GetService("Debris"):AddItem(prt, 10) | |
1744 | table.insert(Effects, { | |
1745 | prt, | |
1746 | "Fire", | |
1747 | delay, | |
1748 | 1, | |
1749 | 1, | |
1750 | 1, | |
1751 | msh | |
1752 | }) | |
1753 | end; | |
1754 | }; | |
1755 | ||
1756 | FireWave = { | |
1757 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1758 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1759 | prt.Anchored = true | |
1760 | prt.CFrame = cframe | |
1761 | prt.Material = "Neon" | |
1762 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1763 | local d = Create("Decal"){ | |
1764 | Parent = prt, | |
1765 | Texture = "rbxassetid://26356434", | |
1766 | Face = "Top", | |
1767 | } | |
1768 | local d = Create("Decal"){ | |
1769 | Parent = prt, | |
1770 | Texture = "rbxassetid://26356434", | |
1771 | Face = "Bottom", | |
1772 | } | |
1773 | game:GetService("Debris"):AddItem(prt, 10) | |
1774 | table.insert(Effects, { | |
1775 | prt, | |
1776 | "FireWave", | |
1777 | 1, | |
1778 | 30, | |
1779 | math.random(400, 600) / 100, | |
1780 | msh | |
1781 | }) | |
1782 | end; | |
1783 | }; | |
1784 | ||
1785 | Lightning = { | |
1786 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1787 | local magz = (p0 - p1).magnitude | |
1788 | local curpos = p0 | |
1789 | local trz = { | |
1790 | -ofs, | |
1791 | ofs | |
1792 | } | |
1793 | for i = 1, tym do | |
1794 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1795 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1796 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1797 | li.Material = "Neon" | |
1798 | if tym == i then | |
1799 | local magz2 = (curpos - p1).magnitude | |
1800 | li.Size = Vector3.new(th, th, magz2) | |
1801 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1802 | table.insert(Effects, { | |
1803 | li, | |
1804 | "Disappear", | |
1805 | last | |
1806 | }) | |
1807 | else | |
1808 | do | |
1809 | do | |
1810 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1811 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1812 | game.Debris:AddItem(li, 10) | |
1813 | table.insert(Effects, { | |
1814 | li, | |
1815 | "Disappear", | |
1816 | last | |
1817 | }) | |
1818 | end | |
1819 | end | |
1820 | end | |
1821 | end | |
1822 | end | |
1823 | }; | |
1824 | ||
1825 | EffectTemplate = { | |
1826 | ||
1827 | }; | |
1828 | } | |
1829 | ||
1830 | function chatfunc(text) | |
1831 | local chat = coroutine.wrap(function() | |
1832 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1833 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1834 | end | |
1835 | local naeeym2 = Instance.new("BillboardGui",Character) | |
1836 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1837 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1838 | naeeym2.Adornee = Character.Head | |
1839 | naeeym2.Name = "TalkingBillBoard" | |
1840 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1841 | tecks2.BackgroundTransparency = 1 | |
1842 | tecks2.BorderSizePixel = 0 | |
1843 | tecks2.Text = "" | |
1844 | tecks2.Font = "Cartoon" | |
1845 | tecks2.TextSize = 30 | |
1846 | tecks2.TextStrokeTransparency = 0 | |
1847 | tecks2.TextColor3 = Color3.new(0,0,0) | |
1848 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1849 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1850 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
1851 | tecks3.BackgroundTransparency = 1 | |
1852 | tecks3.BorderSizePixel = 0 | |
1853 | tecks3.Text = "" | |
1854 | tecks3.Font = "Cartoon" | |
1855 | tecks3.TextSize = 30 | |
1856 | tecks3.TextStrokeTransparency = 0 | |
1857 | tecks3.TextColor3 = BrickColor.new("Really black").Color | |
1858 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
1859 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1860 | spawn(function() | |
1861 | while wait() do | |
1862 | tecks3.TextColor3 = BrickColor.new("Really black").Color | |
1863 | tecks2.TextColor3 = BrickColor.new("Really black").Color | |
1864 | end | |
1865 | end) | |
1866 | for i = 1,string.len(text),1 do | |
1867 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1, 1) | |
1868 | tecks2.Text = string.sub(text,1,i) | |
1869 | tecks3.Text = string.sub(text,1,i) | |
1870 | wait(0.01) | |
1871 | end | |
1872 | wait(2) | |
1873 | for i = 1, 50 do | |
1874 | swait() | |
1875 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5)) | |
1876 | tecks2.Rotation = tecks2.Rotation - .8 | |
1877 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1878 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
1879 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5)) | |
1880 | tecks3.Rotation = tecks2.Rotation + .8 | |
1881 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1882 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
1883 | end | |
1884 | naeeym2:Destroy() | |
1885 | end) | |
1886 | chat() | |
1887 | end | |
1888 | function onChatted(msg) | |
1889 | chatfunc(msg) | |
1890 | end | |
1891 | Player.Chatted:connect(onChatted) | |
1892 | ||
1893 | abss = Instance.new("BillboardGui",Character) | |
1894 | abss.Size = UDim2.new(10,0,10,0) | |
1895 | abss.Enabled = false | |
1896 | imgl = Instance.new("ImageLabel",abss) | |
1897 | imgl.Position = UDim2.new(0,0,0,0) | |
1898 | imgl.Size = UDim2.new(1,0,1,0) | |
1899 | imgl.Image = "rbxassetid://183711814" | |
1900 | imgl.BackgroundTransparency = 1 | |
1901 | imgl.ImageColor3 = Color3.new(0,0,0) | |
1902 | img2 = Instance.new("ImageLabel",abss) | |
1903 | img2.Position = UDim2.new(0,0,0,0) | |
1904 | img2.Size = UDim2.new(1,0,1,0) | |
1905 | img2.Image = "rbxassetid://183711814" | |
1906 | img2.BackgroundTransparency = 1 | |
1907 | img2.ImageColor3 = Color3.new(.9,0,0) | |
1908 | spawn(function() | |
1909 | while wait() do | |
1910 | imgl.ImageColor3 = BrickColor.new("Really black").Color | |
1911 | img2.ImageColor3 = BrickColor.new("Really black").Color | |
1912 | end | |
1913 | end) | |
1914 | ||
1915 | spawn(function() | |
1916 | chatfunc("Dark-Cider by saba1520") | |
1917 | wait(3) | |
1918 | chatfunc("Modified Date : idk") | |
1919 | wait(3) | |
1920 | chatfunc("Original Script : Genocider") | |
1921 | wait(3) | |
1922 | chatfunc("Have Pain!") | |
1923 | end) | |
1924 | ||
1925 | spawn(function() | |
1926 | while wait(1) do | |
1927 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame, 40,40,40, 1, 1, 1, 0.07) | |
1928 | end | |
1929 | end) | |
1930 | function attackone() | |
1931 | attack = true | |
1932 | Humanoid.WalkSpeed = 0 | |
1933 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1, .5) | |
1934 | if targetted.Name ~= "Skrubl0rdzI" then | |
1935 | local partasdeff = Instance.new("ParticleEmitter",targetted.Torso) | |
1936 | partasdeff.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
1937 | partasdeff.LightEmission = .1 | |
1938 | partasdeff.Size = NumberSequence.new(0.2) | |
1939 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
1940 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1941 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1942 | partasdeff.Transparency = bbb | |
1943 | partasdeff.Size = aaa | |
1944 | partasdeff.ZOffset = .9 | |
1945 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1946 | partasdeff.LockedToPart = false | |
1947 | partasdeff.EmissionDirection = "Back" | |
1948 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1949 | partasdeff.Rate = 1000 | |
1950 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1951 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1952 | partasdeff.Speed = NumberRange.new(6) | |
1953 | partasdeff.VelocitySpread = 10000 | |
1954 | partasdeff.Enabled=false | |
1955 | for i = 0, 3, 0.1 do | |
1956 | swait() | |
1957 | PlayAnimationFromTable({ | |
1958 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1959 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1960 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1961 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1962 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1963 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1964 | }, .1, false) | |
1965 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1966 | end | |
1967 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1968 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1969 | dmg(targetted) | |
1970 | local ex = Instance.new("Explosion",workspace) | |
1971 | ex.Position = Partss.Position | |
1972 | ex.BlastRadius = 0 | |
1973 | partasdeff.Enabled=true | |
1974 | for i = 0, 1, 0.1 do | |
1975 | swait() | |
1976 | PlayAnimationFromTable({ | |
1977 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1978 | CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1979 | CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1980 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1981 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1982 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1983 | }, .3, false) | |
1984 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1985 | end | |
1986 | partasdeff.Enabled=false | |
1987 | for i = 0, 2, 0.1 do | |
1988 | swait() | |
1989 | PlayAnimationFromTable({ | |
1990 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1991 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1992 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1993 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1994 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1995 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1996 | }, .3, false) | |
1997 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1998 | end | |
1999 | coroutine.wrap(function() | |
2000 | wait(2) | |
2001 | partasdeff:Remove() | |
2002 | end)() | |
2003 | else | |
2004 | sel = math.random(1,3) | |
2005 | if sel == 1 then | |
2006 | chatfunc("FEEL OUR PAIN...") | |
2007 | elseif sel == 2 then | |
2008 | chatfunc("never...") | |
2009 | elseif sel == 3 then | |
2010 | chatfunc("I can't do that because am nothing...") | |
2011 | end | |
2012 | for i = 0, 5, 0.1 do | |
2013 | swait() | |
2014 | PlayAnimationFromTable({ | |
2015 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2016 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
2017 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2018 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2019 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2020 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2021 | }, .3, false) | |
2022 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2023 | end | |
2024 | end | |
2025 | Humanoid.WalkSpeed = 8 | |
2026 | attack = false | |
2027 | end | |
2028 | local Grabbed = false | |
2029 | ||
2030 | function shoot() | |
2031 | attack = true | |
2032 | for i = 0, 3, 0.1 do | |
2033 | swait() | |
2034 | PlayAnimationFromTable({ | |
2035 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2036 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2037 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2038 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2039 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2040 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2041 | }, .1, false) | |
2042 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2043 | end | |
2044 | for i = 1,10 do | |
2045 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 11,11,11, -1,-1,-1, 0.07) | |
2046 | wait(0.01) | |
2047 | end | |
2048 | wait(0.5) | |
2049 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Mouse.Hit,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
2050 | local fc = Instance.new("Explosion",workspace) fc.Position = ref1.Position | |
2051 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1.5, 1) | |
2052 | for i = 1,10 do | |
2053 | Effects.Block.Create(BrickColor.new("Really black"), ref1.CFrame, 33,33,33, 9,9,9, 0.07) | |
2054 | end | |
2055 | wait(0.75) | |
2056 | ref1:Destroy() | |
2057 | attack = false | |
2058 | end | |
2059 | ||
2060 | function hedshoot() | |
2061 | attack = true | |
2062 | ||
2063 | --local GGyro = Instance.new("BodyPosition") | |
2064 | local grab = nil | |
2065 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
2066 | if v:FindFirstChild('Torso') then | |
2067 | Grabbed = true | |
2068 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", v.Torso, 1, .8) | |
2069 | grab = v | |
2070 | end | |
2071 | end | |
2072 | spawn(function() | |
2073 | for i = 1,10 do | |
2074 | Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
2075 | wait(0.03) | |
2076 | end | |
2077 | end) | |
2078 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", RootPart, 0, .5) | |
2079 | for i = 0, 1, 0.1 do | |
2080 | swait() | |
2081 | if Grabbed == true then | |
2082 | grab.Humanoid.PlatformStand = true | |
2083 | --GGyro.position = Partss.Position | |
2084 | --GGyro.Parent = grab.Head | |
2085 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
2086 | end | |
2087 | PlayAnimationFromTable({ | |
2088 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2089 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2090 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2091 | CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2092 | CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2093 | CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2094 | }, .3, false) | |
2095 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
2096 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2097 | end | |
2098 | if Grabbed == true then | |
2099 | Humanoid.WalkSpeed = 0 | |
2100 | for i = 0, 2, 0.1 do | |
2101 | swait() | |
2102 | if Grabbed == true then | |
2103 | grab.Humanoid.PlatformStand = true | |
2104 | --GGyro.position = Partss.Position | |
2105 | --GGyro.Parent = grab.Head | |
2106 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
2107 | end | |
2108 | PlayAnimationFromTable({ | |
2109 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2110 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2111 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2112 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2113 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2114 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2115 | }, .3, false) | |
2116 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2117 | end | |
2118 | if grab.Name ~= "CKbackup" then | |
2119 | local partasdeff = Instance.new("ParticleEmitter",grab.Torso) | |
2120 | partasdeff.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
2121 | partasdeff.LightEmission = .1 | |
2122 | partasdeff.Size = NumberSequence.new(0.2) | |
2123 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
2124 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
2125 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2126 | partasdeff.Transparency = bbb | |
2127 | partasdeff.Size = aaa | |
2128 | partasdeff.ZOffset = .9 | |
2129 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
2130 | partasdeff.LockedToPart = false | |
2131 | partasdeff.EmissionDirection = "Back" | |
2132 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
2133 | partasdeff.Rate = 1000 | |
2134 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
2135 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
2136 | partasdeff.Speed = NumberRange.new(10) | |
2137 | partasdeff.VelocitySpread = 20 | |
2138 | partasdeff.Enabled=false | |
2139 | sel = math.random(1,3) | |
2140 | if sel == 1 then | |
2141 | chatfunc("uh oh! am testing and please die!") | |
2142 | end | |
2143 | for i = 0, 2, 0.1 do | |
2144 | swait() | |
2145 | if Grabbed == true then | |
2146 | grab.Humanoid.PlatformStand = true | |
2147 | --GGyro.position = Partss.Position | |
2148 | --GGyro.Parent = grab.Head | |
2149 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
2150 | end | |
2151 | PlayAnimationFromTable({ | |
2152 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2153 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2154 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2155 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2156 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2157 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2158 | }, .1, false) | |
2159 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2160 | end | |
2161 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
2162 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
2163 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1, .5) | |
2164 | dmg(grab) | |
2165 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
2166 | partasdeff.Enabled=true | |
2167 | for i = 0, 1, 0.1 do | |
2168 | swait() | |
2169 | PlayAnimationFromTable({ | |
2170 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2171 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2172 | CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2173 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2174 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2175 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2176 | }, .3, false) | |
2177 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2178 | end | |
2179 | partasdeff.Enabled=false | |
2180 | for i = 0, 2.5, 0.1 do | |
2181 | swait() | |
2182 | PlayAnimationFromTable({ | |
2183 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2184 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2185 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2186 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2187 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2188 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2189 | }, .2, false) | |
2190 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2191 | end | |
2192 | coroutine.wrap(function() | |
2193 | wait(2) | |
2194 | partasdeff:Remove() | |
2195 | end)() | |
2196 | else | |
2197 | grab.Humanoid.PlatformStand = false | |
2198 | for i = 0, 3, 0.1 do | |
2199 | swait() | |
2200 | PlayAnimationFromTable({ | |
2201 | CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2202 | CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2203 | CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2204 | CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2205 | CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2206 | CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2207 | }, .1, false) | |
2208 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2209 | end | |
2210 | sel = math.random(1,3) | |
2211 | if sel == 1 then | |
2212 | chatfunc("uh oh! am testing and please die!") | |
2213 | end | |
2214 | for i = 0, 5, 0.1 do | |
2215 | swait() | |
2216 | PlayAnimationFromTable({ | |
2217 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2218 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
2219 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2220 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2221 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2222 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2223 | }, .3, false) | |
2224 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2225 | end | |
2226 | end | |
2227 | end | |
2228 | --GGyro.Parent = nil | |
2229 | attack = false | |
2230 | Grabbed = false | |
2231 | Humanoid.WalkSpeed = 20 | |
2232 | ||
2233 | end | |
2234 | function moarblood() | |
2235 | attack = true | |
2236 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1, .8) | |
2237 | RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4) | |
2238 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),}) | |
2239 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),}) | |
2240 | wait(.5) | |
2241 | for i = 0, 1.2, 0.1 do | |
2242 | swait() | |
2243 | PlayAnimationFromTable({ | |
2244 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2245 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2246 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2247 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2248 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2249 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2250 | }, .2, false) | |
2251 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2252 | end | |
2253 | if targetted.Name ~= "CKbackup" then | |
2254 | local grab = nil | |
2255 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
2256 | if v:FindFirstChild('Head') then | |
2257 | Grabbed = true | |
2258 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", v.Head, 1, .8) | |
2259 | grab = v | |
2260 | end | |
2261 | end | |
2262 | Humanoid.WalkSpeed = 0 | |
2263 | for i = 0, 2, 0.1 do | |
2264 | swait() | |
2265 | if Grabbed == true then | |
2266 | grab.Humanoid.PlatformStand = true | |
2267 | --GGyro.position = Partss.Position | |
2268 | --GGyro.Parent = grab.Head | |
2269 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
2270 | end | |
2271 | PlayAnimationFromTable({ | |
2272 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2273 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2274 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2275 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2276 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2277 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2278 | }, .25, false) | |
2279 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2280 | end | |
2281 | if Grabbed == true then | |
2282 | sel = math.random(1,3) | |
2283 | if sel == 1 then | |
2284 | chatfunc("uh oh! am testing and please die!") | |
2285 | end | |
2286 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
2287 | partasdeff.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
2288 | partasdeff.LightEmission = .1 | |
2289 | partasdeff.Size = NumberSequence.new(0.2) | |
2290 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
2291 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
2292 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2293 | partasdeff.Transparency = bbb | |
2294 | partasdeff.Size = aaa | |
2295 | partasdeff.ZOffset = .9 | |
2296 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
2297 | partasdeff.LockedToPart = false | |
2298 | partasdeff.EmissionDirection = "Back" | |
2299 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
2300 | partasdeff.Rate = 1000 | |
2301 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
2302 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
2303 | partasdeff.Speed = NumberRange.new(6) | |
2304 | partasdeff.VelocitySpread = 10000 | |
2305 | partasdeff.Enabled=false | |
2306 | for i = 0, 3, 0.1 do | |
2307 | swait() | |
2308 | if Grabbed == true then | |
2309 | grab.Humanoid.PlatformStand = true | |
2310 | --GGyro.position = Partss.Position | |
2311 | --GGyro.Parent = grab.Head | |
2312 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
2313 | end | |
2314 | PlayAnimationFromTable({ | |
2315 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2316 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2317 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2318 | CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2319 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2320 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2321 | }, .1, false) | |
2322 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2323 | end | |
2324 | partasdeff.Enabled=true | |
2325 | grab.Torso.Transparency = 1 | |
2326 | dmg(grab) | |
2327 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", grab.Head, .8, .8) | |
2328 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", grab.Head, 1, .7) | |
2329 | ||
2330 | coroutine.wrap(function() | |
2331 | wait(.4) | |
2332 | partasdeff.Enabled=false | |
2333 | end)() | |
2334 | for i = 0, 3.5, 0.1 do | |
2335 | swait() | |
2336 | PlayAnimationFromTable({ | |
2337 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2338 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2339 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2340 | CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2341 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2342 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2343 | }, .3, false) | |
2344 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2345 | end | |
2346 | end | |
2347 | else | |
2348 | Humanoid.WalkSpeed = 0 | |
2349 | for i = 0, 3, 0.1 do | |
2350 | swait() | |
2351 | PlayAnimationFromTable({ | |
2352 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2353 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2354 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2355 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2356 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2357 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2358 | }, .2, false) | |
2359 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2360 | end | |
2361 | sel = math.random(1,3) | |
2362 | if sel == 1 then | |
2363 | chatfunc("AM FALLEN GOD AND DIE...") | |
2364 | elseif sel == 2 then | |
2365 | chatfunc("OH am thought you are an enemy... but am don't care...DIE!") | |
2366 | elseif sel == 3 then | |
2367 | chatfunc("Sign...i am never breating...") | |
2368 | end | |
2369 | for i = 0, 5, 0.1 do | |
2370 | swait() | |
2371 | PlayAnimationFromTable({ | |
2372 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2373 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
2374 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2375 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2376 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2377 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2378 | }, .3, false) | |
2379 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2380 | end | |
2381 | end | |
2382 | attack = false | |
2383 | Grabbed = false | |
2384 | k:Remove() | |
2385 | Humanoid.WalkSpeed = 8 | |
2386 | end | |
2387 | ||
2388 | function painlessrain2() | |
2389 | attack = true | |
2390 | Humanoid.WalkSpeed = 0 | |
2391 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
2392 | ||
2393 | coroutine.wrap(function() | |
2394 | for i = 0, 4 do | |
2395 | wait(.2) | |
2396 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", RootPart, 1, 1) | |
2397 | end | |
2398 | end)() | |
2399 | for i = 0, 4, 0.1 do | |
2400 | swait() | |
2401 | PlayAnimationFromTable({ | |
2402 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2403 | CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2404 | CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2405 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2406 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2407 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2408 | }, .07, false) | |
2409 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
2410 | end | |
2411 | for i = 0, 1.5, 0.1 do | |
2412 | swait() | |
2413 | PlayAnimationFromTable({ | |
2414 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2415 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2416 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2417 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2418 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2419 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2420 | }, .2, false) | |
2421 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2422 | end | |
2423 | for i = 0, 0 do | |
2424 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 33,33,33, -1,-1,-1, 0.07) | |
2425 | wait(2) | |
2426 | end | |
2427 | attack = false | |
2428 | Humanoid.WalkSpeed = 8 | |
2429 | for i = 0, 99 do | |
2430 | wait(0.01) | |
2431 | mdmg(ref1, 3) | |
2432 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1.5, 1) | |
2433 | ref1.Position = Mouse.hit.p | |
2434 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
2435 | Effects.Cylinder.Create(BrickColor.new("Really black"), ref1.CFrame, 5, 9999, 5, -5, 0, -5, 0.07) | |
2436 | Effects.Sphere.Create(BrickColor.new("Really black"), ref1.CFrame, 7,7,7, -9,-9,-9, 0.07) | |
2437 | end | |
2438 | ref1:Remove() | |
2439 | end | |
2440 | ||
2441 | function painlessrain() | |
2442 | attack = true | |
2443 | Humanoid.WalkSpeed = 0 | |
2444 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
2445 | ||
2446 | coroutine.wrap(function() | |
2447 | for i = 0, 4 do | |
2448 | wait(.2) | |
2449 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", RootPart, 1, 1) | |
2450 | end | |
2451 | end)() | |
2452 | for i = 0, 4, 0.1 do | |
2453 | swait() | |
2454 | PlayAnimationFromTable({ | |
2455 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2456 | CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2457 | CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2458 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2459 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2460 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2461 | }, .07, false) | |
2462 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
2463 | end | |
2464 | for i = 0, 1.5, 0.1 do | |
2465 | swait() | |
2466 | PlayAnimationFromTable({ | |
2467 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2468 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2469 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2470 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2471 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2472 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2473 | }, .2, false) | |
2474 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2475 | end | |
2476 | for i = 0, 2 do | |
2477 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 66,66,66, -1,-1,-1, 0.07) | |
2478 | wait(1) | |
2479 | end | |
2480 | attack = false | |
2481 | Humanoid.WalkSpeed = 8 | |
2482 | for i = 0, 1 do | |
2483 | wait(0.01) | |
2484 | mdmg(ref1, 50) | |
2485 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1.5, 1) | |
2486 | ref1.Position = Mouse.hit.p | |
2487 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
2488 | for i = 1,10 do | |
2489 | Effects.Cylinder.Create(BrickColor.new("Really black"), ref1.CFrame, 520, 9999, 520, -1, 0, -1, 0.07) | |
2490 | Effects.Sphere.Create(BrickColor.new("Really black"), ref1.CFrame, 700,700,700,-1,-1,-1, 0.07) | |
2491 | end | |
2492 | end | |
2493 | ref1:Remove() | |
2494 | end | |
2495 | ||
2496 | function TargetSelect(person) | |
2497 | local dd=coroutine.wrap(function() | |
2498 | if targetted ~= person then | |
2499 | targetted = person | |
2500 | img2.Size = UDim2.new(1,0,1,0) | |
2501 | img2.ImageTransparency = 0 | |
2502 | img2.Position = UDim2.new(0,0,0,0) | |
2503 | for i = 0, 2, 0.1 do | |
2504 | swait() | |
2505 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
2506 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
2507 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
2508 | end | |
2509 | end | |
2510 | end) | |
2511 | dd() | |
2512 | end | |
2513 | ||
2514 | function LockOn() | |
2515 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
2516 | TargetSelect(Mouse.Target.Parent) | |
2517 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=358080470", Character, 1, 1) | |
2518 | end | |
2519 | end | |
2520 | ||
2521 | ||
2522 | function ofmoosic() -- 2 lazi hoh | |
2523 | delays = true | |
2524 | while wait() and kkk and kkk.Volume >= 0.02 do | |
2525 | kkk.Volume = kkk.Volume - 0.05 | |
2526 | end | |
2527 | wait(0.1) | |
2528 | kkk.Pitch = 0 | |
2529 | kkk.PlaybackSpeed = 0 | |
2530 | play = false | |
2531 | delays = false | |
2532 | end | |
2533 | function onmoosic() | |
2534 | delays = true | |
2535 | kkk.Pitch = 1 | |
2536 | kkk.PlaybackSpeed = 1 | |
2537 | while wait() and kkk and kkk.Volume <= 1.5 do | |
2538 | kkk.Volume = kkk.Volume + 0.05 | |
2539 | end | |
2540 | wait(0.1) | |
2541 | play = true | |
2542 | delays = false | |
2543 | end | |
2544 | Mouse.Button1Down:connect(function() | |
2545 | if attack == false and targetted ~= nil then | |
2546 | attackone() | |
2547 | end | |
2548 | end) | |
2549 | ||
2550 | Mouse.KeyDown:connect(function(k) | |
2551 | k = k:lower() | |
2552 | if attack == false and k == 'q' then | |
2553 | LockOn() | |
2554 | end | |
2555 | if k == 'z' and attack == false then | |
2556 | spawn(function() | |
2557 | Head.face.Texture = "http://www.roblox.com/asset/?id=404306534" | |
2558 | wait(2) | |
2559 | Head.face.Texture = Orin | |
2560 | end) | |
2561 | hedshoot() | |
2562 | elseif k == 'x' and attack == false and targetted ~= nil then | |
2563 | spawn(function() | |
2564 | Head.face.Texture = "http://www.roblox.com/asset/?id=1471407701" | |
2565 | wait(2) | |
2566 | Head.face.Texture = Orin | |
2567 | end) | |
2568 | moarblood() | |
2569 | elseif k == 'c' and attack == false then | |
2570 | spawn(function() | |
2571 | Head.face.Texture = "http://www.roblox.com/asset/?id=148988280" | |
2572 | wait(2) | |
2573 | Head.face.Texture = Orin | |
2574 | end) | |
2575 | painlessrain() | |
2576 | chatfunc("feel pain...") | |
2577 | elseif k == 'v' and attack == false then | |
2578 | spawn(function() | |
2579 | Head.face.Texture = "http://www.roblox.com/asset/?id=246991049" | |
2580 | wait(2) | |
2581 | Head.face.Texture = Orin | |
2582 | end) | |
2583 | painlessrain2() | |
2584 | wait(6) | |
2585 | chatfunc("you are dead...") | |
2586 | elseif k == 'e' and attack == false then | |
2587 | shoot() | |
2588 | elseif k == 'g' and delays == false and Character.Name == "Skrubl0rdzI" then | |
2589 | delays = true | |
2590 | chatfunc("huh...") | |
2591 | wait(3) | |
2592 | chatfunc("hahaha noob...") | |
2593 | wait(4) | |
2594 | chatfunc("die...") | |
2595 | delays = false | |
2596 | elseif k == 'm' and play == true and delays == false then | |
2597 | ofmoosic() | |
2598 | elseif k == 'm' and play == false and delays == false then | |
2599 | onmoosic() | |
2600 | end | |
2601 | end) | |
2602 | ||
2603 | kkk = Instance.new("Sound",Character) | |
2604 | kkk.Volume = 3 | |
2605 | kkk.Pitch = 1 | |
2606 | kkk.SoundId = "rbxassetid://152701334" | |
2607 | kkk:Play() | |
2608 | kkk.Name = "a" | |
2609 | kkk.Looped = true | |
2610 | ||
2611 | ||
2612 | coroutine.wrap(function() | |
2613 | while true do | |
2614 | swait() | |
2615 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
2616 | if v:IsA("Part") then | |
2617 | v.Anchored = false | |
2618 | end | |
2619 | end | |
2620 | for i, v in pairs(Character:GetChildren()) do | |
2621 | if v:IsA("Part") then | |
2622 | v.Anchored = false | |
2623 | elseif v:IsA("Accessory") then | |
2624 | v.Handle.Anchored = false | |
2625 | end | |
2626 | end | |
2627 | end | |
2628 | end)() | |
2629 | coroutine.wrap(function() | |
2630 | while 1 do | |
2631 | swait() | |
2632 | if doe <= 360 then | |
2633 | doe = doe + 2 | |
2634 | else | |
2635 | doe = 0 | |
2636 | end | |
2637 | end | |
2638 | end)() | |
2639 | while true do | |
2640 | swait() | |
2641 | for i, v in pairs(Character:GetChildren()) do | |
2642 | if v:IsA("Part") then | |
2643 | v.Material = "SmoothPlastic" | |
2644 | elseif v:IsA("Accessory") then | |
2645 | v:WaitForChild("Handle").Material = "Neon" | |
2646 | end | |
2647 | end | |
2648 | while true do | |
2649 | swait() | |
2650 | Character.Humanoid.MaxHealth = math.huge | |
2651 | Character.Humanoid.Health = math.huge | |
2652 | imgl.Rotation = imgl.Rotation + 3 | |
2653 | img2.Rotation = img2.Rotation + 3 | |
2654 | if targetted ~= nil then | |
2655 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2656 | abss.Enabled = true | |
2657 | elseif targetted == nil then | |
2658 | abss.Adornee = nil | |
2659 | abss.Enabled = false | |
2660 | end | |
2661 | ||
2662 | P=Instance.new("ForceField",Character) | |
2663 | P.Visible = false | |
2664 | ||
2665 | while true and imgl.Rotation >= 360 do | |
2666 | imgl.Rotation = 0 | |
2667 | img2.Rotation = 0 | |
2668 | end | |
2669 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2670 | velocity = RootPart.Velocity.y | |
2671 | sine = sine + change | |
2672 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2673 | if RootPart.Velocity.y > 1 and hit == nil then | |
2674 | Anim = "Jump" | |
2675 | if attack == false then | |
2676 | PlayAnimationFromTable({ | |
2677 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2678 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2679 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2680 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2681 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2682 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2683 | }, .3, false) | |
2684 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2685 | end | |
2686 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2687 | Anim = "Fall" | |
2688 | if attack == false then | |
2689 | PlayAnimationFromTable({ | |
2690 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2691 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2692 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2693 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2694 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2695 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2696 | }, .3, false) | |
2697 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2698 | end | |
2699 | elseif Torsovelocity < 1 and hit ~= nil then | |
2700 | Anim = "Idle" | |
2701 | if attack == false then | |
2702 | change = 1 | |
2703 | PlayAnimationFromTable({ | |
2704 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2705 | CFrame.new(-0.0575585738, 1.52553558, 0, 0, 0, 0, 0, 0, 0, 0.0143168001, 0, 0.897985697) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2706 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
2707 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
2708 | 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) * CFrame.Angles(0, 0, 0), | |
2709 | 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) * CFrame.Angles(0, 0, 0), | |
2710 | }, .3, false) | |
2711 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2712 | end | |
2713 | elseif Torsovelocity > 2 and hit ~= nil then | |
2714 | Anim = "Walk" | |
2715 | if attack == false then | |
2716 | PlayAnimationFromTable({ | |
2717 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
2718 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
2719 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0), | |
2720 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, 0), | |
2721 | 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), | |
2722 | 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), | |
2723 | }, .3, false) | |
2724 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
2725 | end | |
2726 | end | |
2727 | if 0 < #Effects then | |
2728 | for e = 1, #Effects do | |
2729 | if Effects[e] ~= nil then | |
2730 | local Thing = Effects[e] | |
2731 | if Thing ~= nil then | |
2732 | local Part = Thing[1] | |
2733 | local Mode = Thing[2] | |
2734 | local Delay = Thing[3] | |
2735 | local IncX = Thing[4] | |
2736 | local IncY = Thing[5] | |
2737 | local IncZ = Thing[6] | |
2738 | if Thing[2] == "Shoot" then | |
2739 | local Look = Thing[1] | |
2740 | local move = 30 | |
2741 | if Thing[8] == 3 then | |
2742 | move = 10 | |
2743 | end | |
2744 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2745 | if Thing[10] ~= nil then | |
2746 | da = pos | |
2747 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2748 | cfa = CFrame.new(Thing[4], pos) | |
2749 | tehCF = cfa:lerp(cf2, 0.2) | |
2750 | Thing[1] = tehCF.lookVector | |
2751 | end | |
2752 | local mag = (Thing[4] - pos).magnitude | |
2753 | 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) | |
2754 | if Thing[8] == 2 then | |
2755 | 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) | |
2756 | end | |
2757 | Thing[4] = Thing[4] + Look * move | |
2758 | Thing[3] = Thing[3] - 1 | |
2759 | if 2 < Thing[5] then | |
2760 | Thing[5] = Thing[5] - 0.3 | |
2761 | Thing[6] = Thing[6] - 0.3 | |
2762 | end | |
2763 | if hit ~= nil then | |
2764 | Thing[3] = 0 | |
2765 | if Thing[8] == 1 or Thing[8] == 3 then | |
2766 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2767 | else | |
2768 | if Thing[8] == 2 then | |
2769 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2770 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
2771 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really black"), "Reference", Vector3.new()) | |
2772 | ref.Anchored = true | |
2773 | ref.CFrame = CFrame.new(pos) | |
2774 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2775 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2776 | 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) | |
2777 | Effects["Ring"].Create(BrickColor.new("Really black"), 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) | |
2778 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2779 | end | |
2780 | end | |
2781 | end | |
2782 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really black"), "Reference", Vector3.new()) | |
2783 | ref.Anchored = true | |
2784 | ref.CFrame = CFrame.new(pos) | |
2785 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2786 | game:GetService("Debris"):AddItem(ref, 1) | |
2787 | end | |
2788 | if Thing[3] <= 0 then | |
2789 | table.remove(Effects, e) | |
2790 | end | |
2791 | end | |
2792 | do | |
2793 | do | |
2794 | if Thing[2] == "FireWave" then | |
2795 | if Thing[3] <= Thing[4] then | |
2796 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2797 | Thing[3] = Thing[3] + 1 | |
2798 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2799 | else | |
2800 | Part.Parent = nil | |
2801 | table.remove(Effects, e) | |
2802 | end | |
2803 | end | |
2804 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2805 | if Thing[1].Transparency <= 1 then | |
2806 | if Thing[2] == "Block1" then | |
2807 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2808 | Mesh = Thing[7] | |
2809 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2810 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2811 | else | |
2812 | if Thing[2] == "Block2" then | |
2813 | Thing[1].CFrame = Thing[1].CFrame | |
2814 | Mesh = Thing[7] | |
2815 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2816 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2817 | else | |
2818 | if Thing[2] == "Fire" then | |
2819 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2820 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2821 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2822 | else | |
2823 | if Thing[2] == "Cylinder" then | |
2824 | Mesh = Thing[7] | |
2825 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2826 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2827 | else | |
2828 | if Thing[2] == "Blood" then | |
2829 | Mesh = Thing[7] | |
2830 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2831 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2832 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2833 | else | |
2834 | if Thing[2] == "Elec" then | |
2835 | Mesh = Thing[10] | |
2836 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2837 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2838 | else | |
2839 | if Thing[2] == "Disappear" then | |
2840 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2841 | else | |
2842 | if Thing[2] == "Shatter" then | |
2843 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2844 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2845 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2846 | Thing[6] = Thing[6] + Thing[5] | |
2847 | end | |
2848 | end | |
2849 | end | |
2850 | end | |
2851 | end | |
2852 | end | |
2853 | end | |
2854 | end | |
2855 | else | |
2856 | Part.Parent = nil | |
2857 | table.remove(Effects, e) | |
2858 | end | |
2859 | end | |
2860 | end | |
2861 | end | |
2862 | end | |
2863 | end | |
2864 | end | |
2865 | end | |
2866 | end | |
2867 | end |