SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | If you use this, you'll cry. I warned you. | |
3 | THING BY... | |
4 | ]]-- | |
5 | wait(1 / 30) | |
6 | Effects = { } | |
7 | local Player = game.Players.localPlayer | |
8 | local Character = Player.Character | |
9 | local Humanoid = Character.Humanoid | |
10 | local Mouse = Player:GetMouse() | |
11 | local LeftArm = Character["Left Arm"] | |
12 | local RightArm = Character["Right Arm"] | |
13 | local LeftLeg = Character["Left Leg"] | |
14 | local RightLeg = Character["Right Leg"] | |
15 | local Head = Character.Head | |
16 | local Torso = Character.Torso | |
17 | local Camera = game.Workspace.CurrentCamera | |
18 | local RootPart = Character.HumanoidRootPart | |
19 | local RootJoint = RootPart.RootJoint | |
20 | local attack = false | |
21 | local Anim = 'Idle' | |
22 | local attacktype = 1 | |
23 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
24 | local velocity = RootPart.Velocity.y | |
25 | local sine = 0 | |
26 | local change = 1 | |
27 | local oml = false | |
28 | local Equipped = false | |
29 | local hide = false | |
30 | local Gender = 1 --Triggered | |
31 | local Create = LoadLibrary("RbxUtility").Create | |
32 | Character.Humanoid.MaxHealth = math.huge | |
33 | Character.Humanoid.Health = math.huge | |
34 | ||
35 | ||
36 | local m = Create("Model"){ | |
37 | Parent = Character, | |
38 | Name = "WeaponModel", | |
39 | } | |
40 | ||
41 | Humanoid.Animator.Parent = nil | |
42 | Character.Animate.Parent = nil | |
43 | ||
44 | local newMotor = function(part0, part1, c0, c1) | |
45 | local w = Create('Motor'){ | |
46 | Parent = part0, | |
47 | Part0 = part0, | |
48 | Part1 = part1, | |
49 | C0 = c0, | |
50 | C1 = c1, | |
51 | } | |
52 | return w | |
53 | end | |
54 | ||
55 | function clerp(a, b, t) | |
56 | return a:lerp(b, t) | |
57 | end | |
58 | ||
59 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
60 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
61 | ||
62 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
63 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
64 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
65 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
66 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
67 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
68 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
69 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
70 | ||
71 | local rarmc1 = RW.C1 | |
72 | local larmc1 = LW.C1 | |
73 | local rlegc1 = RH.C1 | |
74 | local llegc1 = LH.C1 | |
75 | ||
76 | local resetc1 = false | |
77 | ||
78 | function PlayAnimationFromTable(table, speed, bool) | |
79 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
80 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
81 | RW.C0 = clerp(RW.C0, table[3], speed) | |
82 | LW.C0 = clerp(LW.C0, table[4], speed) | |
83 | RH.C0 = clerp(RH.C0, table[5], speed) | |
84 | LH.C0 = clerp(LH.C0, table[6], speed) | |
85 | if bool == true then | |
86 | if resetc1 == false then | |
87 | resetc1 = true | |
88 | RootJoint.C1 = RootJoint.C1 | |
89 | Torso.Neck.C1 = Torso.Neck.C1 | |
90 | RW.C1 = rarmc1 | |
91 | LW.C1 = larmc1 | |
92 | RH.C1 = rlegc1 | |
93 | LH.C1 = llegc1 | |
94 | end | |
95 | end | |
96 | end | |
97 | ||
98 | ArtificialHB = Create("BindableEvent", script){ | |
99 | Parent = script, | |
100 | Name = "Heartbeat", | |
101 | } | |
102 | ||
103 | script:WaitForChild("Heartbeat") | |
104 | ||
105 | frame = 1 / 30 | |
106 | tf = 0 | |
107 | allowframeloss = false | |
108 | tossremainder = false | |
109 | lastframe = tick() | |
110 | script.Heartbeat:Fire() | |
111 | ||
112 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
113 | tf = tf + s | |
114 | if tf >= frame then | |
115 | if allowframeloss then | |
116 | script.Heartbeat:Fire() | |
117 | lastframe = tick() | |
118 | else | |
119 | for i = 1, math.floor(tf / frame) do | |
120 | script.Heartbeat:Fire() | |
121 | end | |
122 | lastframe = tick() | |
123 | end | |
124 | if tossremainder then | |
125 | tf = 0 | |
126 | else | |
127 | tf = tf - frame * math.floor(tf / frame) | |
128 | end | |
129 | end | |
130 | end) | |
131 | ||
132 | function swait(num) | |
133 | if num == 0 or num == nil then | |
134 | ArtificialHB.Event:wait() | |
135 | else | |
136 | for i = 0, num do | |
137 | ArtificialHB.Event:wait() | |
138 | end | |
139 | end | |
140 | end | |
141 | ||
142 | function RemoveOutlines(part) | |
143 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
144 | end | |
145 | ||
146 | CFuncs = { | |
147 | ["Part"] = { | |
148 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
149 | local Part = Create("Part"){ | |
150 | Parent = Parent, | |
151 | Reflectance = Reflectance, | |
152 | Transparency = Transparency, | |
153 | CanCollide = false, | |
154 | Locked = true, | |
155 | BrickColor = BrickColor.new(tostring(BColor)), | |
156 | Name = Name, | |
157 | Size = Size, | |
158 | Material = Material, | |
159 | } | |
160 | RemoveOutlines(Part) | |
161 | return Part | |
162 | end; | |
163 | }; | |
164 | ||
165 | ["Mesh"] = { | |
166 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
167 | local Msh = Create(Mesh){ | |
168 | Parent = Part, | |
169 | Offset = OffSet, | |
170 | Scale = Scale, | |
171 | } | |
172 | if Mesh == "SpecialMesh" then | |
173 | Msh.MeshType = MeshType | |
174 | Msh.MeshId = MeshId | |
175 | end | |
176 | return Msh | |
177 | end; | |
178 | }; | |
179 | ||
180 | ["Mesh"] = { | |
181 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
182 | local Msh = Create(Mesh){ | |
183 | Parent = Part, | |
184 | Offset = OffSet, | |
185 | Scale = Scale, | |
186 | } | |
187 | if Mesh == "SpecialMesh" then | |
188 | Msh.MeshType = MeshType | |
189 | Msh.MeshId = MeshId | |
190 | end | |
191 | return Msh | |
192 | end; | |
193 | }; | |
194 | ||
195 | ["Weld"] = { | |
196 | Create = function(Parent, Part0, Part1, C0, C1) | |
197 | local Weld = Create("Weld"){ | |
198 | Parent = Parent, | |
199 | Part0 = Part0, | |
200 | Part1 = Part1, | |
201 | C0 = C0, | |
202 | C1 = C1, | |
203 | } | |
204 | return Weld | |
205 | end; | |
206 | }; | |
207 | ||
208 | ["Sound"] = { | |
209 | Create = function(id, par, vol, pit) | |
210 | coroutine.resume(coroutine.create(function() | |
211 | local S = Create("Sound"){ | |
212 | Volume = vol, | |
213 | Pitch = pit or 1, | |
214 | SoundId = id, | |
215 | Parent = par or workspace, | |
216 | } | |
217 | wait() | |
218 | S:play() | |
219 | game:GetService("Debris"):AddItem(S, 6) | |
220 | end)) | |
221 | end; | |
222 | }; | |
223 | ||
224 | ["ParticleEmitter"] = { | |
225 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
226 | local fp = Create("ParticleEmitter"){ | |
227 | Parent = Parent, | |
228 | Color = ColorSequence.new(Color1, Color2), | |
229 | LightEmission = LightEmission, | |
230 | Size = Size, | |
231 | Texture = Texture, | |
232 | Transparency = Transparency, | |
233 | ZOffset = ZOffset, | |
234 | Acceleration = Accel, | |
235 | Drag = Drag, | |
236 | LockedToPart = LockedToPart, | |
237 | VelocityInheritance = VelocityInheritance, | |
238 | EmissionDirection = EmissionDirection, | |
239 | Enabled = Enabled, | |
240 | Lifetime = LifeTime, | |
241 | Rate = Rate, | |
242 | Rotation = Rotation, | |
243 | RotSpeed = RotSpeed, | |
244 | Speed = Speed, | |
245 | VelocitySpread = VelocitySpread, | |
246 | } | |
247 | return fp | |
248 | end; | |
249 | }; | |
250 | ||
251 | CreateTemplate = { | |
252 | ||
253 | }; | |
254 | } | |
255 | ||
256 | ||
257 | New = function(Object, Parent, Name, Data) | |
258 | local Object = Instance.new(Object) | |
259 | for Index, Value in pairs(Data or {}) do | |
260 | Object[Index] = Value | |
261 | end | |
262 | Object.Parent = Parent | |
263 | Object.Name = Name | |
264 | return Object | |
265 | end | |
266 | ||
267 | New = function(Object, Parent, Name, Data) | |
268 | local Object = Instance.new(Object) | |
269 | for Index, Value in pairs(Data or {}) do | |
270 | Object[Index] = Value | |
271 | end | |
272 | Object.Parent = Parent | |
273 | Object.Name = Name | |
274 | return Object | |
275 | end | |
276 | ||
277 | Knot = New("Model",Torso,"Knot",{}) | |
278 | Balls = New("Part",Knot,"Balls",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.633225322, 0.627756178, 0.566908002),CFrame = CFrame.new(-52.1883163, -1.24416244, -63.7315178, -1.86264515e-08, 1.37835741e-07, -1.00000465, 0.867121458, 0.498098791, 8.55898676e-08, 0.498106003, -0.867134094, 1.49011612e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
279 | Mesh = New("SpecialMesh",Balls,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
280 | mot = New("Weld",Balls,"mot",{Part0 = Balls,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 3.25050031e-08, 0.867120624, 0.498098314, 8.14983423e-08, 0.498098284, -0.867120624, -1, 6.877994e-08, -5.44782139e-08),C1 = CFrame.new(0.259296417, -1.06132448, -0.283123016, 0.998320162, -5.58793545e-09, 0.0579784103, -9.50342383e-09, 1.00000048, -5.96046448e-08, -0.0579781681, 2.98023224e-08, 0.998325586),}) | |
281 | Balls = New("Part",Knot,"Balls",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.633225322, 0.627756178, 0.566908002),CFrame = CFrame.new(-52.6285896, -1.24417102, -63.7314873, -1.86264515e-08, 1.37835741e-07, -1.00000465, 0.867121458, 0.498098791, 8.55898676e-08, 0.498106003, -0.867134094, 1.49011612e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
282 | Mesh = New("SpecialMesh",Balls,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
283 | mot = New("Weld",Balls,"mot",{Part0 = Balls,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 3.25050031e-08, 0.867120624, 0.498098314, 8.14983423e-08, 0.498098284, -0.867120624, -1, 6.877994e-08, -5.44782139e-08),C1 = CFrame.new(-0.180233002, -1.06133306, -0.257568359, 0.998320162, -5.58793545e-09, 0.0579784103, -9.50342383e-09, 1.00000048, -5.96046448e-08, -0.0579781681, 2.98023224e-08, 0.998325586),}) | |
284 | Ball = New("Part",Knot,"Ball",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 1.13, 1.7299999),CFrame = CFrame.new(-52.3997879, -1.0845747, -63.8579521, -1.00000465, 2.79396772e-08, 7.4505806e-09, 5.19574472e-09, -0.940444589, -0.339950144, 1.41561031e-07, -0.339955002, 0.940458119),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
285 | Mesh = New("SpecialMesh",Ball,"Mesh",{Scale = Vector3.new(0.5, 0.5, 4),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
286 | mot = New("Weld",Ball,"mot",{Part0 = Ball,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -1, -1.16141035e-08, 7.06187109e-08, -1.30844056e-08, -0.940443635, -0.339949787, 7.03611249e-08, -0.339949816, 0.940443575),C1 = CFrame.new(0.040851593, -0.901736856, -0.397083282, 0.998320162, -5.58793545e-09, 0.0579784103, -9.50342383e-09, 1.00000048, -5.96046448e-08, -0.0579781681, 2.98023224e-08, 0.998325586),}) | |
287 | faic = New ("Decal",Head,"Face",{Texture = "rbxassetid://648887959",Face = "Front",Transparency = 1}) | |
288 | stick = New("Model",Torso,"stick",{}) | |
289 | Handle = New("Part",stick,"Handle",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-52.3997879, -1.08457458, -63.8579559, -1, -5.30103321e-08, 1.31363009e-07, 5.19570165e-09, -0.940442502, -0.339954078, 1.41560349e-07, -0.339954227, 0.940441906),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
290 | Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.5, 0.5, 4),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
291 | moter = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Torso,}) | |
292 | Shaft = New("Part",stick,"Shaft",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.573660076, 0.665826976, 0.403559536),CFrame = CFrame.new(-52.4063644, -0.797297835, -65.0149155, 1, -5.57705562e-08, 9.69817435e-08, -7.4781866e-08, 0.311523914, 0.950238943, -8.32074534e-08, -0.950238168, 0.311524123),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
293 | Mesh = New("CylinderMesh",Shaft,"Mesh",{}) | |
294 | mot = New("Weld",Shaft,"mot",{Part0 = Shaft,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -7.47818589e-08, -8.32074605e-08, -5.57705739e-08, 0.311523944, -0.950238287, 9.69817009e-08, 0.950238287, 0.311523944),C1 = CFrame.new(0.00657653809, 0.123146057, -1.18571472, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
295 | Cylinder = New("Part",stick,"Cylinder",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.573660076, 0.415210366, 0.403559536),CFrame = CFrame.new(-52.4063644, -0.965925634, -64.2144547, 1, 7.3793359e-08, 1.3644194e-07, -1.43263932e-07, 0.102112412, 0.994773507, 5.94751839e-08, -0.994772792, 0.10211274),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
296 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
297 | mot = New("Weld",Cylinder,"mot",{Part0 = Cylinder,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -1.43263918e-07, 5.94751874e-08, 7.37933519e-08, 0.102112539, -0.994772911, 1.36441898e-07, 0.994772911, 0.102112532),C1 = CFrame.new(0.00657653809, 0.00961112976, -0.375602722, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
298 | Cylinder = New("Part",stick,"Cylinder",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.573660076, 0.415210366, 0.403559536),CFrame = CFrame.new(-52.4063644, -0.918055773, -64.5597687, 1, 7.37502148e-08, 1.13674943e-07, -1.25118021e-07, 0.180468008, 0.983581424, 5.20245607e-08, -0.983580709, 0.180468321),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
299 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
300 | mot = New("Weld",Cylinder,"mot",{Part0 = Cylinder,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -1.25118007e-07, 5.20245713e-08, 7.37501793e-08, 0.180468112, -0.983580828, 1.13674901e-07, 0.983580887, 0.180468127),C1 = CFrame.new(0.00657653809, 0.0819835663, -0.716625214, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
301 | Part = New("Part",stick,"Part",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.481908262, 0.792339683, 0.447224796),CFrame = CFrame.new(-52.4131393, -0.86076045, -64.75383, 1.42925757e-07, -1.52338089e-08, -1, 0.96649313, 0.256694794, 1.34226198e-07, 0.256695062, -0.966492474, 5.14116891e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
302 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
303 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.42925714e-07, 0.966492593, 0.256694853, -1.52338142e-08, 0.256694853, -0.966492593, -1, 1.3422617e-07, 5.1411682e-08),C1 = CFrame.new(0.0133514404, 0.0940723419, -0.918605804, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
304 | Part = New("Part",stick,"Part",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.562752306, 0.557891905, 0.503815591),CFrame = CFrame.new(-52.5141983, -1.0237819, -64.2095795, 3.25050387e-08, 8.14983707e-08, -1, 0.86712122, 0.498098373, 6.87799115e-08, 0.498098493, -0.867120445, -5.44782068e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
305 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
306 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.25050031e-08, 0.867120624, 0.498098314, 8.14983423e-08, 0.498098284, -0.867120624, -1, 6.877994e-08, -5.44782139e-08),C1 = CFrame.new(0.1144104, 0.0623626709, -0.351345062, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
307 | Part = New("Part",stick,"Part",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.473823845, 0.962112188, 0.463393569),CFrame = CFrame.new(-52.413147, -0.835066676, -64.8348236, 1.43280616e-07, -1.497272e-08, -1, 0.966491163, 0.256700933, 1.34635897e-07, 0.256701052, -0.966490805, 5.1251277e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
308 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
309 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.43280616e-07, 0.966490924, 0.256700963, -1.49727306e-08, 0.256700933, -0.966490865, -1, 1.34635883e-07, 5.12512806e-08),C1 = CFrame.new(0.0133590698, 0.097442627, -1.00350952, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
310 | Part = New("Part",stick,"Part",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.562752306, 0.557891846, 0.503815591),CFrame = CFrame.new(-52.2927055, -1.02378476, -64.2095566, 3.25050387e-08, 8.14983565e-08, -1, 0.86712122, 0.498098373, 6.87799044e-08, 0.498098493, -0.867120445, -5.44782068e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
311 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
312 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 3.25050031e-08, 0.867120624, 0.498098314, 8.14983352e-08, 0.498098284, -0.867120624, -1, 6.87799329e-08, -5.44782139e-08),C1 = CFrame.new(-0.107082367, 0.0623588562, -0.351325989, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
313 | Cylinder = New("Part",stick,"Cylinder",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.573660076, 0.415210366, 0.403559506),CFrame = CFrame.new(-52.4063721, -0.977289438, -63.8654633, 1, 9.72142828e-08, 1.97462327e-07, -1.97246152e-07, -0.00221836567, 0.999998152, 9.7652034e-08, -0.999997556, -0.00221797824),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
314 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
315 | mot = New("Weld",Cylinder,"mot",{Part0 = Cylinder,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -1.97246123e-07, 9.76520553e-08, 9.721429e-08, -0.00221819268, -0.999997616, 1.97462271e-07, 0.999997616, -0.00221819268),C1 = CFrame.new(0.00658416748, -0.0983428955, -0.0435333252, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
316 | Hed = New("Part",stick,"Head",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.238436058, 0.452947468, 0.292766362),CFrame = CFrame.new(-52.3955574, -0.661489904, -65.3399582, 1.43709585e-07, -2.71950729e-09, -1, 0.940443993, 0.339950383, 1.34226198e-07, 0.339950591, -0.940443277, 5.14116891e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
317 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
318 | mot = New("Weld",Hed,"mot",{Part0 = Hed,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.43709542e-07, 0.940443456, 0.339950383, -2.71951617e-09, 0.339950383, -0.940443456, -1, 1.3422617e-07, 5.1411682e-08),C1 = CFrame.new(-0.00423049927, 0.105926514, -1.53757095, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
319 | Hed = New("Part",stick,"Head",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.447249889, 0.236385569, 0.458311498),CFrame = CFrame.new(-52.4117279, -0.707950115, -65.3098984, 1.45332379e-07, -3.30588534e-09, -1, 0.940443039, 0.339952856, 1.35552881e-07, 0.339953035, -0.940442324, 5.25151336e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
320 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
321 | mot = New("Weld",Hed,"mot",{Part0 = Hed,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.45332336e-07, 0.940442502, 0.339952856, -3.30589245e-09, 0.339952856, -0.940442502, -1, 1.35552852e-07, 5.25151371e-08),C1 = CFrame.new(0.0119400024, 0.139400482, -1.49350357, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
322 | Hed = New("Part",stick,"Head",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.432461828, 0.420609802, 0.405948073),CFrame = CFrame.new(-52.4117355, -0.706424892, -65.3218307, 1.43469521e-07, -7.03121827e-09, -1, 0.940444231, 0.339950025, 1.32534737e-07, 0.339950174, -0.940443397, 5.53849375e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
323 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
324 | mot = New("Weld",Hed,"mot",{Part0 = Hed,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.43469492e-07, 0.940443575, 0.339949965, -7.03122316e-09, 0.339949995, -0.940443516, -1, 1.32534709e-07, 5.53849269e-08),C1 = CFrame.new(0.0119476318, 0.142023087, -1.50524521, -1, 5.19572074e-09, 1.41560378e-07, -5.30103073e-08, -0.940442145, -0.339954108, 1.31363024e-07, -0.339954078, 0.940442026),}) | |
325 | Hair = New("Part",Head,"Hair",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.99999928, 1.79999995, 2.00000024),CFrame = CFrame.new(-0.107289195, 1.59000361, 0.123101406, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.14441839e-16, 0, -4.14441839e-16, 1),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
326 | Mesh = New("SpecialMesh",Hair,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=76056263",MeshType = Enum.MeshType.FileMesh,}) | |
327 | mot = New("Weld",Hair,"mot",{Part0 = Hair,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 7.87137555e-09, -1.40367928e-22, -7.87137555e-09, 1, -4.14441839e-16, 1.37105691e-22, 4.14441839e-16, 1),C1 = CFrame.new(-0.107289195, 0.100000024, 0.123101406, 1, 3.34760534e-22, 2.85593913e-08, -3.34760534e-22, 1, 3.61317985e-22, -2.85593913e-08, -3.61317985e-22, 1),}) | |
328 | - | Hai = New("Part",Head,"Hai",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(34.0999985, 2.82998228, 4.67002439, 1, -2.36356074e-14, 5.68434189e-13, -1.52967916e-14, 1, -6.85453415e-07, -3.41060513e-13, 6.85453415e-07, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
328 | + | Hai = New("Part",Head,"Hai",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(34.0999985, 2.82998228, 4.67002439, 1, -2.36356074e-14, 5.68434189e-13, -1.52967916e-14, 1, -6.85453415e-07, -3.41060513e-13, 6.85453415e-07, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth) |
329 | Mesh = New("SpecialMesh",Hai,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=29713297",MeshType = Enum.MeshType.FileMesh,}) | |
330 | mot = New("Motor",Hai,"mot",{Part0 = Hai,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 0, -4.69846384e-13, 0, 1, 6.85453415e-07, 4.69846384e-13, -6.85453415e-07, 1),C1 = CFrame.new(0, -0.670003653, 0.100008488, 1, -4.89879199e-07, 1.83657846e-06, 4.89866977e-07, 1, 6.64606296e-06, -1.83658165e-06, -6.64606205e-06, 1),}) | |
331 | ||
332 | C11 = New("Part",LeftArm,"C1",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, 1),}) | |
333 | Mesh11 = New("SpecialMesh",C11,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=10681506",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,}) | |
334 | moter11 = New("Weld",C11,"mot",{Part0 = LeftArm,Part1 = C11,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, -1, 1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),}) | |
335 | C22 = New("Part",RightArm,"C2",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, 1),}) | |
336 | Mesh22 = New("SpecialMesh",C22,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=10681506",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,}) | |
337 | moter22 = New("Weld",C22,"mot",{Part0 = RightArm,Part1 = C22,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, -1, 1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),}) | |
338 | moter11.C0 = CFrame.new(-5.05206827e-08, -1.14691529e-05, -0.0400012247, -1.26287864e-06, 1.00000238, -3.81837765e-07, -2.99360181e-08, -4.00461374e-07, -1.00000048, -1.00000775, -7.15255965e-07, 8.94929144e-08) | |
339 | moter22.C0 = CFrame.new(-5.05206827e-08, -1.14691529e-05, -0.0400012247, -1.26287864e-06, 1.00000238, -3.81837765e-07, -2.99360181e-08, -4.00461374e-07, -1.00000048, -1.00000775, -7.15255965e-07, 8.94929144e-08) | |
340 | Mesh11.Scale = Vector3.new(1,1,.2) | |
341 | Mesh22.Scale = Vector3.new(1,1,.2) | |
342 | ||
343 | Milk = New("Model",Torso,"Milk",{}) | |
344 | LeftTip = New("Part",Milk,"Left Bump Tip",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(2, 2.00000024, 2.00000024),CFrame = CFrame.new(40.114666, 0.400974065, -1.34042966, -0.0136929303, 0.0188778769, -0.999728203, 0.00231057359, -0.999818683, -0.0189112332, -0.99990356, -0.00256889523, 0.0136468112),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
345 | Mesh = New("SpecialMesh",LeftTip,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
346 | mot = New("Motor",LeftTip,"mot",{Part0 = LeftTip,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.0136929303, 0.00231057359, -0.99990356, 0.0188778769, -0.999818683, -0.00256889523, -0.999728203, -0.0189112332, 0.0136468112),C1 = CFrame.new(-0.685337067, 0.400954008, -0.810440779, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
347 | Big = New("Part",Milk,"Bigga",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1.00000012, 1.00000012),CFrame = CFrame.new(40.2831955, 0.405953944, -0.919200182, -0.999724925, 0.018915711, 0.013881512, -0.0189493317, -0.999817967, -0.00229446031, 0.0138355643, -0.00255687325, 0.999901175),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
348 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Sphere,}) | |
349 | mot = New("Motor",Big,"mot",{Part0 = Big,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.999724925, -0.0189493317, 0.0138355643, 0.018915711, -0.999817967, -0.00255687325, 0.013881512, -0.00229446031, 0.999901175),C1 = CFrame.new(-0.516807556, 0.405936778, -0.389211595, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
350 | Big = New("Part",Milk,"Bigga",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1.00000012, 1.00000012),CFrame = CFrame.new(41.2824554, 0.42572841, -0.948771834, -0.999722004, 0.0190666858, 0.0138863847, -0.0191003699, -0.999815047, -0.00229704427, 0.0138400048, -0.00256163999, 0.999901056),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
351 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Sphere,}) | |
352 | mot = New("Motor",Big,"mot",{Part0 = Big,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.999722004, -0.0191003699, 0.0138400048, 0.0190666858, -0.999815047, -0.00256163999, 0.0138863847, -0.00229704427, 0.999901056),C1 = CFrame.new(0.482452393, 0.425711542, -0.418784678, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
353 | LeftTip = New("Part",Milk,"Left Bump Tip",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(2, 2.00000024, 2.00000024),CFrame = CFrame.new(41.3635826, 0.425968498, -1.38403642, -0.0136998966, 0.0190271325, -0.999725401, 0.0023103063, -0.999815822, -0.0190605167, -0.9999035, -0.00257079722, 0.0136533827),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
354 | Mesh = New("SpecialMesh",LeftTip,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
355 | mot = New("Motor",LeftTip,"mot",{Part0 = LeftTip,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.0136998966, 0.0023103063, -0.9999035, 0.0190271325, -0.999815822, -0.00257079722, -0.999725401, -0.0190605167, 0.0136533827),C1 = CFrame.new(0.563579559, 0.425948739, -0.854049325, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
356 | LeftTip2 = New("Part",Milk,"Left Bump Tip2",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1.00000012, 1.00000012),CFrame = CFrame.new(40.0788956, 0.411017627, -1.47115374, -0.0136929303, 0.0188778769, -0.999728203, 0.00231057359, -0.999818683, -0.0189112332, -0.99990356, -0.00256889523, 0.0136468112),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
357 | Mesh = New("SpecialMesh",LeftTip2,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
358 | mot = New("Motor",LeftTip2,"mot",{Part0 = LeftTip2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.0136929303, 0.00231057359, -0.99990356, 0.0188778769, -0.999818683, -0.00256889523, -0.999728203, -0.0189112332, 0.0136468112),C1 = CFrame.new(-0.721107483, 0.410996675, -0.94116497, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
359 | LeftTip2 = New("Part",Milk,"Left Bump Tip2",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1.00000012, 1.00000012),CFrame = CFrame.new(41.3674202, 0.437439501, -1.51978374, -0.0136998966, 0.0190271325, -0.999725401, 0.0023103063, -0.999815822, -0.0190605167, -0.9999035, -0.00257079722, 0.0136533827),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
360 | Mesh = New("SpecialMesh",LeftTip2,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
361 | mot = New("Motor",LeftTip2,"mot",{Part0 = LeftTip2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -0.0136998966, 0.0023103063, -0.9999035, 0.0190271325, -0.999815822, -0.00257079722, -0.999725401, -0.0190605167, 0.0136533827),C1 = CFrame.new(0.567417145, 0.437418818, -0.989796638, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
362 | Biggi = New("Model",Torso,"Biggi",{}) | |
363 | Big = New("Part",Biggi,"Big",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(40.4152794, -1.12894881, -0.274417549, 0.999920189, 0.00907055568, -0.00880296342, -0.00933101866, 0.999506056, -0.0300123841, 0.00852638669, 0.0300921276, 0.999510765),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
364 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
365 | mot = New("Motor",Big,"mot",{Part0 = Big,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0.999920189, -0.00933101866, 0.00852638669, 0.00907055568, 0.999506056, 0.0300921276, -0.00880296342, -0.0300123841, 0.999510765),C1 = CFrame.new(-0.384723663, -1.12896168, 0.2555812, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
366 | Big = New("Part",Biggi,"Big",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Shape = Enum.PartType.Ball,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(41.1935043, -1.13351357, -0.261145979, 0.999920249, 0.00906764995, -0.00879980437, -0.00932799838, 0.999506176, -0.0300100688, 0.00852333754, 0.0300897602, 0.999510884),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
367 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
368 | mot = New("Motor",Big,"mot",{Part0 = Big,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0.999920249, -0.00932799838, 0.00852333754, 0.00906764995, 0.999506176, 0.0300897602, -0.00879980437, -0.0300100688, 0.999510884),C1 = CFrame.new(0.393501282, -1.13352585, 0.268851787, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
369 | Skin = New("Part",Biggi,"Skin",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(40.8188591, -1.02169108, -0.559848845, 0.00901293196, -0.999920666, -0.00880302396, 0.999506652, 0.00927339587, -0.0300097354, 0.0300889891, -0.0085282037, 0.999510884),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
370 | Mesh = New("SpecialMesh",Skin,"Mesh",{Scale = Vector3.new(0.899999976, 0.400000006, 0.899999976),MeshType = Enum.MeshType.Sphere,}) | |
371 | mot = New("Motor",Skin,"mot",{Part0 = Skin,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0.00901293196, 0.999506652, 0.0300889891, -0.999920666, 0.00927339587, -0.0085282037, -0.00880302396, -0.0300097354, 0.999510884),C1 = CFrame.new(0.0188560486, -1.02170563, -0.0298513174, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
372 | Vg = New("Part",Biggi,"Vg",{BrickColor = BrickColor.new("Medium red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(40.8188591, -1.02169108, -0.559848845, 0.00901293196, -0.999920666, -0.00880302396, 0.999506652, 0.00927339587, -0.0300097354, 0.0300889891, -0.0085282037, 0.999510884),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.854902, 0.52549, 0.478431),}) | |
373 | Mesh = New("SpecialMesh",Vg,"Mesh",{Scale = Vector3.new(0.910000026, 0.300000012, 0.910000026),MeshType = Enum.MeshType.Sphere,}) | |
374 | mot = New("Motor",Vg,"mot",{Part0 = Vg,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0.00901293196, 0.999506652, 0.0300889891, -0.999920666, 0.00927339587, -0.0085282037, -0.00880302396, -0.0300097354, 0.999510884),C1 = CFrame.new(0.0188560486, -1.02170563, -0.0298513174, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
375 | Vg2 = New("Part",Biggi,"Vg2",{BrickColor = BrickColor.new("Dusty Rose"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(40.8190117, -1.04118991, -0.559915602, 0.00901293196, -0.999920666, -0.00880302396, 0.999506652, 0.00927339587, -0.0300097354, 0.0300889891, -0.0085282037, 0.999510884),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.639216, 0.294118, 0.294118),}) | |
376 | Mesh = New("SpecialMesh",Vg2,"Mesh",{Scale = Vector3.new(0.910000026, 0.300000012, 0.910000026),MeshType = Enum.MeshType.Sphere,}) | |
377 | mot = New("Motor",Vg2,"mot",{Part0 = Vg2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0.00901293196, 0.999506652, 0.0300889891, -0.999920666, 0.00927339587, -0.0085282037, -0.00880302396, -0.0300097354, 0.999510884),C1 = CFrame.new(0.0190086365, -1.04120445, -0.0299179554, 1, -4.71251241e-07, 1.28895817e-06, 4.712426e-07, 1, 6.70561803e-06, -1.28896136e-06, -6.70561758e-06, 1),}) | |
378 | ||
379 | ||
380 | ||
381 | for _,v in pairs(stick:children()) do | |
382 | if v:IsA("Part") then | |
383 | v.CanCollide = false | |
384 | v.Transparency = 1 | |
385 | end | |
386 | for _,v in pairs(Knot:children()) do | |
387 | if v:IsA("Part") then | |
388 | v.CanCollide = false | |
389 | v.Transparency = 1 | |
390 | end | |
391 | for _,v in pairs(Milk:children()) do | |
392 | if v:IsA("Part") then | |
393 | v.CanCollide = false | |
394 | v.Transparency = 1 | |
395 | end | |
396 | for _,v in pairs(Biggi:children()) do | |
397 | if v:IsA("Part") then | |
398 | v.CanCollide = false | |
399 | v.Transparency = 1 | |
400 | end | |
401 | end | |
402 | end | |
403 | end | |
404 | end | |
405 | for _,v in pairs(Character:children()) do | |
406 | if v:IsA("Shirt") then | |
407 | v.ShirtTemplate = "rbxassetid://1364414507" | |
408 | elseif v:IsA("Pants") then | |
409 | v.PantsTemplate = "rbxassetid://129459076" | |
410 | elseif v:IsA("ShirtGraphic") then | |
411 | v:Remove() | |
412 | wait(.1) | |
413 | Torso.roblox:Remove() | |
414 | elseif v:IsA("Accessory") then | |
415 | v:Remove() | |
416 | end | |
417 | end | |
418 | Hai.Transparency = 1 | |
419 | ||
420 | ||
421 | function rayCast(Position, Direction, Range, Ignore) | |
422 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
423 | end | |
424 | ||
425 | FindNearestTorso = function(pos) | |
426 | local list = (game.Workspace:children()) | |
427 | local torso = nil | |
428 | local dist = 1000 | |
429 | local temp, human, temp2 = nil, nil, nil | |
430 | for x = 1, #list do | |
431 | temp2 = list[x] | |
432 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
433 | temp = temp2:findFirstChild("Torso") | |
434 | human = temp2:findFirstChild("Humanoid") | |
435 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
436 | local dohit = true | |
437 | if dohit == true then | |
438 | torso = temp | |
439 | dist = (temp.Position - pos).magnitude | |
440 | end | |
441 | end | |
442 | end | |
443 | end | |
444 | return torso, dist | |
445 | end | |
446 | ||
447 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
448 | if hit.Parent == nil then | |
449 | return | |
450 | end | |
451 | local h = hit.Parent:FindFirstChild("Humanoid") | |
452 | for _, v in pairs(hit.Parent:children()) do | |
453 | if v:IsA("Humanoid") then | |
454 | h = v | |
455 | end | |
456 | end | |
457 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
458 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
459 | if hit.Parent.DebounceHit.Value == true then | |
460 | return | |
461 | end | |
462 | end | |
463 | local c = Create("ObjectValue"){ | |
464 | Name = "creator", | |
465 | Value = game:service("Players").LocalPlayer, | |
466 | Parent = h, | |
467 | } | |
468 | game:GetService("Debris"):AddItem(c, .5) | |
469 | if HitSound ~= nil and HitPitch ~= nil then | |
470 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
471 | end | |
472 | local Damage = math.random(minim, maxim) | |
473 | local blocked = false | |
474 | local block = hit.Parent:findFirstChild("Block") | |
475 | if block ~= nil then | |
476 | if block.className == "IntValue" then | |
477 | if block.Value > 0 then | |
478 | blocked = true | |
479 | block.Value = block.Value - 1 | |
480 | print(block.Value) | |
481 | end | |
482 | end | |
483 | end | |
484 | if blocked == false then | |
485 | h.Health = h.Health - Damage | |
486 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Pastel brown").Color) | |
487 | else | |
488 | h.Health = h.Health - (Damage / 2) | |
489 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Pastel brown").Color) | |
490 | end | |
491 | if Type == "Knockdown" then | |
492 | local hum = hit.Parent.Humanoid | |
493 | hum.PlatformStand = true | |
494 | coroutine.resume(coroutine.create(function(HHumanoid) | |
495 | swait(1) | |
496 | HHumanoid.PlatformStand = false | |
497 | end), hum) | |
498 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
499 | local bodvol = Create("BodyVelocity"){ | |
500 | velocity = angle * knockback, | |
501 | P = 5000, | |
502 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
503 | Parent = hit, | |
504 | } | |
505 | local rl = Create("BodyAngularVelocity"){ | |
506 | P = 3000, | |
507 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
508 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
509 | Parent = hit, | |
510 | } | |
511 | game:GetService("Debris"):AddItem(bodvol, .5) | |
512 | game:GetService("Debris"):AddItem(rl, .5) | |
513 | elseif Type == "Normal" then | |
514 | local vp = Create("BodyVelocity"){ | |
515 | P = 500, | |
516 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
517 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
518 | } | |
519 | if knockback > 0 then | |
520 | vp.Parent = hit.Parent.Torso | |
521 | end | |
522 | game:GetService("Debris"):AddItem(vp, .5) | |
523 | elseif Type == "Up" then | |
524 | local bodyVelocity = Create("BodyVelocity"){ | |
525 | velocity = Vector3.new(0, 20, 0), | |
526 | P = 5000, | |
527 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
528 | Parent = hit, | |
529 | } | |
530 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
531 | elseif Type == "DarkUp" then | |
532 | coroutine.resume(coroutine.create(function() | |
533 | for i = 0, 1, 0.1 do | |
534 | swait() | |
535 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
536 | end | |
537 | end)) | |
538 | local bodyVelocity = Create("BodyVelocity"){ | |
539 | velocity = Vector3.new(0, 20, 0), | |
540 | P = 5000, | |
541 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
542 | Parent = hit, | |
543 | } | |
544 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
545 | elseif Type == "Snare" then | |
546 | local bp = Create("BodyPosition"){ | |
547 | P = 2000, | |
548 | D = 100, | |
549 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
550 | position = hit.Parent.Torso.Position, | |
551 | Parent = hit.Parent.Torso, | |
552 | } | |
553 | game:GetService("Debris"):AddItem(bp, 1) | |
554 | elseif Type == "Freeze" then | |
555 | local BodPos = Create("BodyPosition"){ | |
556 | P = 50000, | |
557 | D = 1000, | |
558 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
559 | position = hit.Parent.Torso.Position, | |
560 | Parent = hit.Parent.Torso, | |
561 | } | |
562 | local BodGy = Create("BodyGyro") { | |
563 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
564 | P = 20e+003, | |
565 | Parent = hit.Parent.Torso, | |
566 | cframe = hit.Parent.Torso.CFrame, | |
567 | } | |
568 | hit.Parent.Torso.Anchored = true | |
569 | coroutine.resume(coroutine.create(function(Part) | |
570 | swait(1.5) | |
571 | Part.Anchored = false | |
572 | end), hit.Parent.Torso) | |
573 | game:GetService("Debris"):AddItem(BodPos, 3) | |
574 | game:GetService("Debris"):AddItem(BodGy, 3) | |
575 | end | |
576 | local debounce = Create("BoolValue"){ | |
577 | Name = "DebounceHit", | |
578 | Parent = hit.Parent, | |
579 | Value = true, | |
580 | } | |
581 | game:GetService("Debris"):AddItem(debounce, Delay) | |
582 | c = Create("ObjectValue"){ | |
583 | Name = "creator", | |
584 | Value = Player, | |
585 | Parent = h, | |
586 | } | |
587 | game:GetService("Debris"):AddItem(c, .5) | |
588 | end | |
589 | end | |
590 | ||
591 | function ShowDamage(Pos, Text, Time, Color) | |
592 | local Rate = (1 / 30) | |
593 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
594 | local Text = (Text or "") | |
595 | local Time = (Time or 2) | |
596 | local Color = (Color or Color3.new(1, 0, 1)) | |
597 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
598 | EffectPart.Anchored = true | |
599 | local BillboardGui = Create("BillboardGui"){ | |
600 | Size = UDim2.new(3, 0, 3, 0), | |
601 | Adornee = EffectPart, | |
602 | Parent = EffectPart, | |
603 | } | |
604 | local TextLabel = Create("TextLabel"){ | |
605 | BackgroundTransparency = 1, | |
606 | Size = UDim2.new(1, 0, 1, 0), | |
607 | Text = Text, | |
608 | Font = "SciFi", | |
609 | TextColor3 = Color, | |
610 | TextScaled = true, | |
611 | Parent = BillboardGui, | |
612 | } | |
613 | game.Debris:AddItem(EffectPart, (Time)) | |
614 | EffectPart.Parent = game:GetService("Workspace") | |
615 | delay(0, function() | |
616 | local Frames = (Time / Rate) | |
617 | for Frame = 1, Frames do | |
618 | wait(Rate) | |
619 | local Percent = (Frame / Frames) | |
620 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
621 | TextLabel.TextTransparency = Percent | |
622 | end | |
623 | if EffectPart and EffectPart.Parent then | |
624 | EffectPart:Destroy() | |
625 | end | |
626 | end) | |
627 | end | |
628 | ||
629 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
630 | for _, c in pairs(workspace:children()) do | |
631 | local hum = c:findFirstChild("Humanoid") | |
632 | if hum ~= nil then | |
633 | local head = c:findFirstChild("Torso") | |
634 | if head ~= nil then | |
635 | local targ = head.Position - Part.Position | |
636 | local mag = targ.magnitude | |
637 | if mag <= Magnitude and c.Name ~= Player.Name then | |
638 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
639 | end | |
640 | end | |
641 | end | |
642 | end | |
643 | end | |
644 | ||
645 | EffectModel = Create("Model"){ | |
646 | Parent = Character, | |
647 | Name = "Effects", | |
648 | } | |
649 | warn'Press "F" to get claws.' | |
650 | warn'Press "U" to change your gender.' | |
651 | warn'Press "P" to be NSFW!' | |
652 | Effects = { | |
653 | Block = { | |
654 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
655 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
656 | prt.Anchored = true | |
657 | prt.CFrame = cframe | |
658 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
659 | game:GetService("Debris"):AddItem(prt, 10) | |
660 | if Type == 1 or Type == nil then | |
661 | table.insert(Effects, { | |
662 | prt, | |
663 | "Block1", | |
664 | delay, | |
665 | x3, | |
666 | y3, | |
667 | z3, | |
668 | msh | |
669 | }) | |
670 | elseif Type == 2 then | |
671 | table.insert(Effects, { | |
672 | prt, | |
673 | "Block2", | |
674 | delay, | |
675 | x3, | |
676 | y3, | |
677 | z3, | |
678 | msh | |
679 | }) | |
680 | end | |
681 | end; | |
682 | }; | |
683 | ||
684 | Cylinder = { | |
685 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
686 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
687 | prt.Anchored = true | |
688 | prt.CFrame = cframe | |
689 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
690 | game:GetService("Debris"):AddItem(prt, 10) | |
691 | table.insert(Effects, { | |
692 | prt, | |
693 | "Cylinder", | |
694 | delay, | |
695 | x3, | |
696 | y3, | |
697 | z3, | |
698 | msh | |
699 | }) | |
700 | end; | |
701 | }; | |
702 | Head = { | |
703 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
704 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
705 | prt.Anchored = true | |
706 | prt.CFrame = cframe | |
707 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
708 | game:GetService("Debris"):AddItem(prt, 10) | |
709 | table.insert(Effects, { | |
710 | prt, | |
711 | "Cylinder", | |
712 | delay, | |
713 | x3, | |
714 | y3, | |
715 | z3, | |
716 | msh | |
717 | }) | |
718 | end; | |
719 | }; | |
720 | ||
721 | Sphere = { | |
722 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
723 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
724 | prt.Anchored = true | |
725 | prt.CFrame = cframe | |
726 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
727 | game:GetService("Debris"):AddItem(prt, 10) | |
728 | table.insert(Effects, { | |
729 | prt, | |
730 | "Cylinder", | |
731 | delay, | |
732 | x3, | |
733 | y3, | |
734 | z3, | |
735 | msh | |
736 | }) | |
737 | end; | |
738 | }; | |
739 | ||
740 | Elect = { | |
741 | Create = function(cff, x, y, z) | |
742 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
743 | prt.Anchored = true | |
744 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
745 | prt.CFrame = CFrame.new(prt.Position) | |
746 | game:GetService("Debris"):AddItem(prt, 2) | |
747 | local xval = math.random() / 2 | |
748 | local yval = math.random() / 2 | |
749 | local zval = math.random() / 2 | |
750 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
751 | table.insert(Effects, { | |
752 | prt, | |
753 | "Elec", | |
754 | 0.1, | |
755 | x, | |
756 | y, | |
757 | z, | |
758 | xval, | |
759 | yval, | |
760 | zval | |
761 | }) | |
762 | end; | |
763 | ||
764 | }; | |
765 | ||
766 | Ring = { | |
767 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
768 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
769 | prt.Anchored = true | |
770 | prt.CFrame = cframe | |
771 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
772 | game:GetService("Debris"):AddItem(prt, 10) | |
773 | table.insert(Effects, { | |
774 | prt, | |
775 | "Cylinder", | |
776 | delay, | |
777 | x3, | |
778 | y3, | |
779 | z3, | |
780 | msh | |
781 | }) | |
782 | end; | |
783 | }; | |
784 | ||
785 | ||
786 | Wave = { | |
787 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
788 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
789 | prt.Anchored = true | |
790 | prt.CFrame = cframe | |
791 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
792 | game:GetService("Debris"):AddItem(prt, 10) | |
793 | table.insert(Effects, { | |
794 | prt, | |
795 | "Cylinder", | |
796 | delay, | |
797 | x3, | |
798 | y3, | |
799 | z3, | |
800 | msh | |
801 | }) | |
802 | end; | |
803 | }; | |
804 | ||
805 | Break = { | |
806 | Create = function(brickcolor, cframe, x1, y1, z1) | |
807 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
808 | prt.Anchored = true | |
809 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
810 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
811 | local num = math.random(10, 50) / 1000 | |
812 | game:GetService("Debris"):AddItem(prt, 10) | |
813 | table.insert(Effects, { | |
814 | prt, | |
815 | "Shatter", | |
816 | num, | |
817 | prt.CFrame, | |
818 | math.random() - math.random(), | |
819 | 0, | |
820 | math.random(50, 100) / 100 | |
821 | }) | |
822 | end; | |
823 | }; | |
824 | ||
825 | Fire = { | |
826 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
827 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
828 | prt.Anchored = true | |
829 | prt.CFrame = cframe | |
830 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
831 | game:GetService("Debris"):AddItem(prt, 10) | |
832 | table.insert(Effects, { | |
833 | prt, | |
834 | "Fire", | |
835 | delay, | |
836 | 1, | |
837 | 1, | |
838 | 1, | |
839 | msh | |
840 | }) | |
841 | end; | |
842 | }; | |
843 | ||
844 | FireWave = { | |
845 | Create = function(brickcolor, cframe, x1, y1, z1) | |
846 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
847 | prt.Anchored = true | |
848 | prt.CFrame = cframe | |
849 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
850 | local d = Create("Decal"){ | |
851 | Parent = prt, | |
852 | Texture = "rbxassetid://26356434", | |
853 | Face = "Top", | |
854 | } | |
855 | local d = Create("Decal"){ | |
856 | Parent = prt, | |
857 | Texture = "rbxassetid://26356434", | |
858 | Face = "Bottom", | |
859 | } | |
860 | game:GetService("Debris"):AddItem(prt, 10) | |
861 | table.insert(Effects, { | |
862 | prt, | |
863 | "FireWave", | |
864 | 1, | |
865 | 30, | |
866 | math.random(400, 600) / 100, | |
867 | msh | |
868 | }) | |
869 | end; | |
870 | }; | |
871 | ||
872 | Lightning = { | |
873 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
874 | local magz = (p0 - p1).magnitude | |
875 | local curpos = p0 | |
876 | local trz = { | |
877 | -ofs, | |
878 | ofs | |
879 | } | |
880 | for i = 1, tym do | |
881 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
882 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
883 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
884 | li.Material = "Neon" | |
885 | if tym == i then | |
886 | local magz2 = (curpos - p1).magnitude | |
887 | li.Size = Vector3.new(th, th, magz2) | |
888 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
889 | table.insert(Effects, { | |
890 | li, | |
891 | "Disappear", | |
892 | last | |
893 | }) | |
894 | else | |
895 | do | |
896 | do | |
897 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
898 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
899 | game.Debris:AddItem(li, 10) | |
900 | table.insert(Effects, { | |
901 | li, | |
902 | "Disappear", | |
903 | last | |
904 | }) | |
905 | end | |
906 | end | |
907 | end | |
908 | end | |
909 | end | |
910 | }; | |
911 | ||
912 | EffectTemplate = { | |
913 | ||
914 | }; | |
915 | } | |
916 | ||
917 | function attackone() | |
918 | attack = true | |
919 | local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
920 | for i = 0, .7, 0.1 do | |
921 | swait() | |
922 | PlayAnimationFromTable({ | |
923 | CFrame.new(0.0606015213, -8.59571264e-06, 0.047188092, 0.692369759, -4.71251354e-07, -0.721542954, 5.16467117e-06, 1, 4.30273849e-06, 0.721542954, -6.70561758e-06, 0.692369759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
924 | CFrame.new(3.46451998e-06, 1.49999845, 1.31353736e-05, 0.716132462, 0.033826679, 0.697144389, 5.75320813e-09, 0.998825073, -0.048464749, -0.697964728, 0.0347071849, 0.715290844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
925 | CFrame.new(1.9813143, 0.945750177, -0.489478946, 0.407302022, -0.814350605, -0.413446903, -0.911511719, -0.334203005, -0.239697412, 0.0570225567, 0.474490941, -0.878411531) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
926 | CFrame.new(-1.60450649, 0.121351957, 0.0540003777, 0.97513783, 0.221227318, 0.0128459036, -0.221227109, 0.968498468, 0.114320949, 0.0128496885, -0.114320531, 0.993360817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
927 | CFrame.new(0.499993294, -1.99998808, -1.41225646e-05, 0.995873392, -0.0907549858, 2.05636024e-06, 0.0907549933, 0.995873272, -1.77829349e-06, -1.87754631e-06, 1.9595027e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
928 | CFrame.new(-0.579068184, -1.9913553, -1.26227069e-05, 0.994092047, 0.108541012, -7.30156898e-06, -0.108540997, 0.994092047, 5.65620041e-07, 7.27176666e-06, 2.30967999e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
929 | }, .3, false) | |
930 | end | |
931 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.2) | |
932 | for i = 0, .7, 0.1 do | |
933 | swait() | |
934 | PlayAnimationFromTable({ | |
935 | CFrame.new(0.0330471657, -0.237029687, -0.0910832584, 0.859100997, -0.342716694, 0.380133271, 0.261056364, 0.932259798, 0.250510514, -0.440234423, -0.115976483, 0.890367031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
936 | CFrame.new(0.154894546, 1.53070056, 0.0517572761, 0.849730134, 0.316177666, -0.421889484, -0.244260654, 0.945248127, 0.216432795, 0.467221558, -0.0808584243, 0.880435169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
937 | CFrame.new(0.440804392, 0.418828189, -0.673669577, 0.371680558, 0.885258377, -0.279591084, -0.895259976, 0.421490341, 0.144414783, 0.245689303, 0.196630582, 0.9491961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
938 | CFrame.new(-1.44148815, 0.308930486, 0.459791839, 0.726797223, 0.397434771, 0.560188711, -0.473253071, 0.880858779, -0.0109336004, -0.497792542, -0.257164478, 0.828292966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
939 | CFrame.new(0.359283566, -1.97145414, 0.220806152, 0.992013574, 0.123949811, 0.0233626962, -0.126132488, 0.974834919, 0.183814943, 8.97049904e-06, -0.185293719, 0.98268342) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
940 | CFrame.new(-0.973547101, -1.79018593, -0.317437261, 0.890470803, 0.424213171, -0.164635375, -0.455039889, 0.830158472, -0.322143197, 1.58846378e-05, 0.361774832, 0.932265878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
941 | }, .3, false) | |
942 | end | |
943 | attack = false | |
944 | con:Disconnect() | |
945 | end | |
946 | function attacktwo() | |
947 | attack = true | |
948 | local con = C11.Touched:connect(function(hit) Damage(C11, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
949 | for i = 0, .7, 0.1 do | |
950 | swait() | |
951 | PlayAnimationFromTable({ | |
952 | CFrame.new(0.140013129, 1.15028834, -0.139077231, 0.976166964, -2.97461582e-07, 0.217020869, -0.0588159561, 0.96257478, 0.264557391, -0.208898902, -0.271016508, 0.939633608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
953 | CFrame.new(-0.136644349, 1.49592447, 0.00814438611, 0.950684667, -0.0326927975, -0.308431387, 0.0466248691, 0.998193026, 0.037907362, 0.306634724, -0.0504185259, 0.950490892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
954 | CFrame.new(1.75085986, 0.225138903, 0.151841566, 0.889081538, -0.405967325, -0.211482063, 0.41388002, 0.91030091, -0.00746756792, 0.195543826, -0.0808888823, 0.977353454) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
955 | CFrame.new(-1.31836319, 1.51231134, -0.147675753, 0.441764921, 0.11077556, 0.890265584, 0.503728032, -0.851780772, -0.143971518, 0.74236238, 0.512053132, -0.43208757) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
956 | CFrame.new(0.485871285, -1.8443017, 0.269553244, 0.957024038, -0.00452195853, -0.289973617, 0.0826711282, 0.962645769, 0.257834435, 0.277975947, -0.270726204, 0.92164886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
957 | CFrame.new(-0.642223477, -2.0255394, -2.9007555e-05, 0.989608228, 0.143790826, 4.76837158e-07, -0.143790796, 0.989608049, -1.78813934e-06, -7.00354576e-07, 1.66893005e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
958 | }, .3, false) | |
959 | end | |
960 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.5) | |
961 | for i = 0, .7, 0.1 do | |
962 | swait() | |
963 | PlayAnimationFromTable({ | |
964 | CFrame.new(-0.0301967859, -0.557449818, -1.60259032, 0.892956376, -7.14608063e-07, -0.450143188, 0.155565232, 0.938385963, 0.308595896, 0.422407746, -0.34558928, 0.837937891) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
965 | CFrame.new(-0.0966097116, 1.5874722, -0.207805574, 0.906798661, -0.243112549, 0.344415247, 9.0803951e-07, 0.816971719, 0.576680779, -0.421575397, -0.522927403, 0.740830958) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
966 | CFrame.new(1.84282458, 0.431977034, 0.278029382, 0.882433951, -0.470418483, 0.00408798456, 0.377637476, 0.713519216, 0.59015286, -0.280535668, -0.519227147, 0.807281375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
967 | CFrame.new(-1.14144957, 0.344472617, -0.887840688, 0.747710049, -0.327306539, -0.577754378, -0.389363438, 0.488693416, -0.780752897, 0.537890315, 0.808733225, 0.237959728) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
968 | CFrame.new(0.534732759, -1.66061532, -0.923508644, 0.998847604, -0.0471193641, 0.00913083553, 0.0303613245, 0.472968459, -0.880556405, 0.0371726155, 0.879818618, 0.473854065) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
969 | CFrame.new(-0.98147136, -1.82694876, 0.729841888, 0.930664301, 0.365876347, -2.77161598e-06, -0.268250078, 0.682344496, 0.680036902, 0.248810351, -0.632884741, 0.733180225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
970 | }, .3, false) | |
971 | end | |
972 | attack = false | |
973 | con:Disconnect() | |
974 | end | |
975 | function attackthree() | |
976 | attack = true | |
977 | local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
978 | for i = 0, .7, 0.1 do | |
979 | swait() | |
980 | PlayAnimationFromTable({ | |
981 | CFrame.new(-0.232035652, -0.202466756, -0.227696061, 0.904346347, -1.21953212e-06, -0.426799476, 0.16201812, 0.925146818, 0.343297958, 0.394851685, -0.379609495, 0.836653411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
982 | CFrame.new(0.164939925, 1.52845573, -0.00217118859, 0.959616601, 0.140060276, 0.243965715, -0.111486524, 0.985579193, -0.127297342, -0.25827688, 0.0949577093, 0.961392879) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
983 | CFrame.new(1.80917919, 0.378867447, -0.783995152, 0.645021796, -0.750430346, -0.144226521, -0.208367825, 0.00886591524, -0.978010476, 0.735207438, 0.660890222, -0.15064685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
984 | CFrame.new(-1.64966977, 0.132555231, 0.203681588, 0.958413064, 0.251991093, 0.133958608, -0.266760468, 0.957831144, 0.106762946, -0.101406455, -0.138057888, 0.98521924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
985 | CFrame.new(0.590951681, -2.00295663, -0.366462231, 0.997446179, -0.0683585256, 0.0206646025, 0.071413666, 0.954783499, -0.288598537, -2.02655792e-06, 0.289337337, 0.957230687) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
986 | CFrame.new(-0.670767665, -2.02610278, 0.390102655, 0.966319799, 0.209311098, 0.149715468, -0.246806607, 0.918547988, 0.308797926, -0.0728859603, -0.335348397, 0.939270616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
987 | }, .3, false) | |
988 | end | |
989 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.25) | |
990 | for i = 0, .7, 0.1 do | |
991 | swait() | |
992 | PlayAnimationFromTable({ | |
993 | CFrame.new(0.18282941, -0.346345127, -0.436333656, 0.374779642, -0.278908581, 0.88416636, 0.122897096, 0.96020633, 0.250801504, -0.918932259, 0.0146660535, 0.394142747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
994 | CFrame.new(0.18691963, 1.49518335, 0.0441068262, 0.43501541, 0.203309909, -0.877169788, -0.286846757, 0.954711497, 0.0790263414, 0.853510857, 0.217235625, 0.473632842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
995 | CFrame.new(1.86148262, 0.313910842, -0.560928762, 0.439158857, -0.882508397, -0.168281898, -0.217655554, 0.0772199482, -0.972966194, 0.871645391, 0.463914156, -0.158171013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
996 | CFrame.new(-1.53925681, 0.280807942, 0.37630102, 0.844287276, 0.35125944, 0.404717207, -0.441089958, 0.884396613, 0.152585372, -0.304333448, -0.30734247, 0.901621759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
997 | CFrame.new(0.504559994, -2.0008626, -0.393755436, 0.953281641, -0.0658618808, -0.294821888, -0.0230342019, 0.957255244, -0.28832674, 0.301209748, 0.281646878, 0.911015153) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
998 | CFrame.new(-0.7550354, -1.9530164, 0.478949279, 0.952030599, 0.249918103, 0.176576704, -0.302999318, 0.850559831, 0.429817796, -0.0427682102, -0.462697834, 0.885492444) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
999 | }, .3, false) | |
1000 | end | |
1001 | attack = false | |
1002 | con:Disconnect() | |
1003 | end | |
1004 | function attackfour() | |
1005 | attack = true | |
1006 | local con1 = C11.Touched:connect(function(hit) Damage(C11, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
1007 | local con2 = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
1008 | for i = 0, .7, 0.1 do | |
1009 | swait() | |
1010 | PlayAnimationFromTable({ | |
1011 | CFrame.new(0.17574206, -0.342794091, -0.190148115, 0.920200825, -2.75541851e-07, 0.391447455, -0.091368176, 0.972379208, 0.214786097, -0.380634904, -0.233411923, 0.894784451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1012 | CFrame.new(0.0262524411, 1.51327002, -0.0557422042, 0.904740274, 0.0591621771, -0.421836793, 1.36904418e-07, 0.990308225, 0.13889049, 0.425965101, -0.125659451, 0.895971537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1013 | CFrame.new(1.70674515, 0.205184966, 0.375862956, 0.937461734, -0.329001486, -0.113682598, 0.331251144, 0.742851973, 0.581759095, -0.106950313, -0.583034337, 0.805377245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1014 | CFrame.new(-0.334704429, 0.26624316, -0.722534776, 0.315534383, -0.94374001, 0.0989605784, 0.904588878, 0.267653525, -0.331784129, 0.28663069, 0.194207907, 0.938150406) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1015 | CFrame.new(0.634036779, -2.02830362, 0.380024642, 0.957564771, -0.226978257, -0.177625328, 0.270291567, 0.921156824, 0.280022293, 0.100061804, -0.31615001, 0.943417668) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1016 | CFrame.new(-0.500000477, -1.89102769, -0.397321403, 1.00000012, -6.10016286e-08, -4.7981739e-06, -1.17719173e-06, 0.964384317, -0.264511943, 4.44054604e-06, 0.264512092, 0.964383841) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1017 | }, .3, false) | |
1018 | end | |
1019 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.4) | |
1020 | for i = 1,2 do | |
1021 | for i = 0, .1, 0.1 do | |
1022 | swait() | |
1023 | PlayAnimationFromTable({ | |
1024 | CFrame.new(0, 0, -0, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), 0), | |
1025 | CFrame.new(-2.20582863e-14, 1.49998391, 5.7220459e-06, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1026 | CFrame.new(1.98666239, 0.315398604, 0.216551766, 0.112981506, -0.975611567, -0.188195258, 0.993361294, 0.115036801, 1.216089e-06, 0.0216481928, -0.186946005, 0.98213172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1027 | CFrame.new(-1.99731374, 0.550365925, -0.187040567, 0.0578464754, 0.976071835, 0.209613308, 0.998275101, -0.0586651638, -0.00231513684, 0.0100372592, 0.209385693, -0.977781594) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1028 | CFrame.new(0.508322775, -1.999596, 1.2067229e-08, 0.99889338, -0.047047846, -2.51519623e-08, 0.047047846, 0.99889338, -4.09272616e-10, 2.52107384e-08, -8.10359779e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1029 | CFrame.new(-0.529292762, -1.99786401, 1.89632453e-06, 0.997388124, 0.0722311437, -2.51740175e-08, -0.0722311586, 0.997387946, 1.16870069e-09, 2.52617838e-08, 6.56655175e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1030 | }, .3, false) | |
1031 | end | |
1032 | for i = 0, .1, 0.1 do | |
1033 | swait() | |
1034 | PlayAnimationFromTable({ | |
1035 | CFrame.new(0, 0, -0, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(180), 0), | |
1036 | CFrame.new(-2.20582863e-14, 1.49998391, 5.7220459e-06, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1037 | CFrame.new(1.98666239, 0.315398604, 0.216551766, 0.112981506, -0.975611567, -0.188195258, 0.993361294, 0.115036801, 1.216089e-06, 0.0216481928, -0.186946005, 0.98213172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1038 | CFrame.new(-1.99731374, 0.550365925, -0.187040567, 0.0578464754, 0.976071835, 0.209613308, 0.998275101, -0.0586651638, -0.00231513684, 0.0100372592, 0.209385693, -0.977781594) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1039 | CFrame.new(0.508322775, -1.999596, 1.2067229e-08, 0.99889338, -0.047047846, -2.51519623e-08, 0.047047846, 0.99889338, -4.09272616e-10, 2.52107384e-08, -8.10359779e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1040 | CFrame.new(-0.529292762, -1.99786401, 1.89632453e-06, 0.997388124, 0.0722311437, -2.51740175e-08, -0.0722311586, 0.997387946, 1.16870069e-09, 2.52617838e-08, 6.56655175e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1041 | }, .3, false) | |
1042 | end | |
1043 | for i = 0, .1, 0.1 do | |
1044 | swait() | |
1045 | PlayAnimationFromTable({ | |
1046 | CFrame.new(0, 0, -0, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(270), 0), | |
1047 | CFrame.new(-2.20582863e-14, 1.49998391, 5.7220459e-06, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1048 | CFrame.new(1.98666239, 0.315398604, 0.216551766, 0.112981506, -0.975611567, -0.188195258, 0.993361294, 0.115036801, 1.216089e-06, 0.0216481928, -0.186946005, 0.98213172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1049 | CFrame.new(-1.99731374, 0.550365925, -0.187040567, 0.0578464754, 0.976071835, 0.209613308, 0.998275101, -0.0586651638, -0.00231513684, 0.0100372592, 0.209385693, -0.977781594) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1050 | CFrame.new(0.508322775, -1.999596, 1.2067229e-08, 0.99889338, -0.047047846, -2.51519623e-08, 0.047047846, 0.99889338, -4.09272616e-10, 2.52107384e-08, -8.10359779e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1051 | CFrame.new(-0.529292762, -1.99786401, 1.89632453e-06, 0.997388124, 0.0722311437, -2.51740175e-08, -0.0722311586, 0.997387946, 1.16870069e-09, 2.52617838e-08, 6.56655175e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1052 | }, .3, false) | |
1053 | end | |
1054 | for i = 0, .1, 0.1 do | |
1055 | swait() | |
1056 | PlayAnimationFromTable({ | |
1057 | CFrame.new(0, 0, -0, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1058 | CFrame.new(-2.20582863e-14, 1.49998391, 5.7220459e-06, 1, -1.49697962e-14, 6.92352842e-11, -1.49697962e-14, 1, 0, 6.92352842e-11, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1059 | CFrame.new(1.98666239, 0.315398604, 0.216551766, 0.112981506, -0.975611567, -0.188195258, 0.993361294, 0.115036801, 1.216089e-06, 0.0216481928, -0.186946005, 0.98213172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1060 | CFrame.new(-1.99731374, 0.550365925, -0.187040567, 0.0578464754, 0.976071835, 0.209613308, 0.998275101, -0.0586651638, -0.00231513684, 0.0100372592, 0.209385693, -0.977781594) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1061 | CFrame.new(0.508322775, -1.999596, 1.2067229e-08, 0.99889338, -0.047047846, -2.51519623e-08, 0.047047846, 0.99889338, -4.09272616e-10, 2.52107384e-08, -8.10359779e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1062 | CFrame.new(-0.529292762, -1.99786401, 1.89632453e-06, 0.997388124, 0.0722311437, -2.51740175e-08, -0.0722311586, 0.997387946, 1.16870069e-09, 2.52617838e-08, 6.56655175e-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1063 | }, .3, false) | |
1064 | end | |
1065 | ||
1066 | end | |
1067 | attack = false | |
1068 | con1:Disconnect() | |
1069 | con2:Disconnect() | |
1070 | end | |
1071 | function OwO() | |
1072 | attack = true | |
1073 | for i = 0, 1, 0.1 do | |
1074 | swait() | |
1075 | PlayAnimationFromTable({ | |
1076 | CFrame.new(2.08243716e-22, 0.62206769, -2.24764243e-22, 1, 1.03190221e-29, 0, 1.03190221e-29, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1077 | CFrame.new(6.4861192e-09, 1.36683416, 0.227109581, 1, 1.49036339e-12, 4.35562697e-12, 1.51080103e-13, 0.935175717, -0.354184359, -4.60609328e-12, 0.35418424, 0.935175836) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1078 | CFrame.new(1.70641637, 0.0127002373, 0.54719913, 0.542533636, -0.709094524, -0.450380147, 0.840034187, 0.457965881, 0.290877908, -1.17910099e-06, -0.536145747, 0.84412539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1079 | CFrame.new(-1.6883806, 0.0112262331, 0.618939877, 0.473756313, 0.750443995, 0.460856676, -0.880656064, 0.403703928, 0.24792774, 6.21672734e-06, -0.523313522, 0.852140248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1080 | CFrame.new(0.90841645, -1.77424979, 0.471511364, 0.913802743, -0.406158388, -1.75069817e-06, 0.339723825, 0.764331281, 0.548074365, -0.222603679, -0.500832438, 0.836429656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1081 | CFrame.new(-0.970850766, -1.61642981, 0.453591704, 0.896655679, 0.44272849, 1.92037623e-06, -0.327061266, 0.662392616, 0.673993349, 0.29839474, -0.604340672, 0.738737464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1082 | }, .3, false) | |
1083 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408512428, -0.90174067, -0.397101641, -0.998320162, -0.0197100546, 0.054525461, 1.46991201e-08, -0.940442979, -0.339954287, 0.0579783097, -0.339385033, 0.938867211) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1084 | end | |
1085 | if Gender == 1 then | |
1086 | for _,v in pairs(stick:children()) do | |
1087 | if v:IsA("Part") then | |
1088 | v.Transparency = 0 | |
1089 | end | |
1090 | for _,v in pairs(Knot:children()) do | |
1091 | if v:IsA("Part") then | |
1092 | v.Transparency = 0 | |
1093 | end | |
1094 | end | |
1095 | end | |
1096 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Handle.CFrame * CFrame.new(0,0,-1), 3, 3, 8, 1, 1, 1, 0.06) | |
1097 | elseif Gender == 2 then | |
1098 | hide = true | |
1099 | faic.Texture = "rbxassetid://732914906" | |
1100 | for _,v in pairs(Milk:children()) do | |
1101 | if v:IsA("Part") then | |
1102 | v.Transparency = 0 | |
1103 | end | |
1104 | for _,v in pairs(Biggi:children()) do | |
1105 | if v:IsA("Part") then | |
1106 | v.Transparency = 0 | |
1107 | end | |
1108 | end | |
1109 | end | |
1110 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1111 | end | |
1112 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1113 | for i = 0, 1, 0.1 do | |
1114 | swait() | |
1115 | PlayAnimationFromTable({ | |
1116 | CFrame.new(2.08243716e-22, 0.62206769, -2.24764243e-22, 1, 1.03190221e-29, 0, 1.03190221e-29, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1117 | CFrame.new(6.4861192e-09, 1.36683416, 0.227109581, 1, 1.49036339e-12, 4.35562697e-12, 1.51080103e-13, 0.935175717, -0.354184359, -4.60609328e-12, 0.35418424, 0.935175836) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1118 | CFrame.new(1.70641637, 0.0127002373, 0.54719913, 0.542533636, -0.709094524, -0.450380147, 0.840034187, 0.457965881, 0.290877908, -1.17910099e-06, -0.536145747, 0.84412539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1119 | CFrame.new(-1.6883806, 0.0112262331, 0.618939877, 0.473756313, 0.750443995, 0.460856676, -0.880656064, 0.403703928, 0.24792774, 6.21672734e-06, -0.523313522, 0.852140248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1120 | CFrame.new(0.90841645, -1.77424979, 0.471511364, 0.913802743, -0.406158388, -1.75069817e-06, 0.339723825, 0.764331281, 0.548074365, -0.222603679, -0.500832438, 0.836429656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1121 | CFrame.new(-0.970850766, -1.61642981, 0.453591704, 0.896655679, 0.44272849, 1.92037623e-06, -0.327061266, 0.662392616, 0.673993349, 0.29839474, -0.604340672, 0.738737464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1122 | }, .3, false) | |
1123 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408512428, -0.90174067, -0.397101641, -0.998320162, -0.0197100546, 0.054525461, 1.46991201e-08, -0.940442979, -0.339954287, 0.0579783097, -0.339385033, 0.938867211) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1124 | end | |
1125 | oml = true | |
1126 | attack = false | |
1127 | end | |
1128 | ||
1129 | function UwU() | |
1130 | if Gender == 1 then | |
1131 | for _,v in pairs(stick:children()) do | |
1132 | if v:IsA("Part") then | |
1133 | v.Transparency = 1 | |
1134 | end | |
1135 | for _,v in pairs(Knot:children()) do | |
1136 | if v:IsA("Part") then | |
1137 | v.Transparency = 1 | |
1138 | end | |
1139 | end | |
1140 | end | |
1141 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Handle.CFrame * CFrame.new(0,0,-1), 3, 3, 8, 1, 1, 1, 0.06) | |
1142 | elseif Gender == 2 then | |
1143 | faic.Texture = "rbxassetid://648887959" | |
1144 | for _,v in pairs(Milk:children()) do | |
1145 | if v:IsA("Part") then | |
1146 | v.Transparency = 1 | |
1147 | end | |
1148 | for _,v in pairs(Biggi:children()) do | |
1149 | if v:IsA("Part") then | |
1150 | v.Transparency = 1 | |
1151 | end | |
1152 | end | |
1153 | end | |
1154 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1155 | end | |
1156 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, .6) | |
1157 | oml = false | |
1158 | hide = false | |
1159 | end | |
1160 | --actually by salvo | |
1161 | function Grow() | |
1162 | attack = true | |
1163 | Humanoid.WalkSpeed = 0 | |
1164 | Humanoid.JumpPower = 0 | |
1165 | for i = 0, 1, 0.1 do | |
1166 | swait() | |
1167 | PlayAnimationFromTable({ | |
1168 | CFrame.new(-5.6577778e-09, -0.00392680988, -0.198105693, 1, -5.29157118e-09, 2.80648909e-08, -3.34760534e-22, 0.982685208, 0.18528305, -2.85593913e-08, -0.18528305, 0.982685208) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1169 | CFrame.new(1.26266997e-08, 1.52277625, -0.163223594, 1, 1.42978038e-08, -2.47125982e-08, -5.28448041e-09, 0.943306684, 0.331924766, 2.80573129e-08, -0.331924766, 0.943306684) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1170 | CFrame.new(0.490343928, 0.278095335, -0.790618181, 0.724845827, 0.688916683, -3.80237339e-06, -0.186327398, 0.196040958, -0.962731123, -0.663245916, 0.697826624, 0.270466357) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1171 | CFrame.new(-0.481237471, 0.365119755, -0.831543922, 0.648722172, -0.752285182, 0.115017526, 0.344078034, 0.155126661, -0.926038623, 0.678801835, 0.640317917, 0.359476686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1172 | CFrame.new(0.546899438, -1.99324632, -0.174225628, 0.99424541, -0.107128516, -2.85594073e-08, 0.105273597, 0.977030277, -0.18528305, 0.0198491253, 0.184216827, 0.982685208) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1173 | CFrame.new(-0.550071537, -1.99389076, -0.174347132, 0.996171296, 0.0874145105, -2.85592883e-08, -0.0859009549, 0.978922784, -0.18528305, -0.0161963999, 0.18457365, 0.982685208) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1174 | }, .3, false) | |
1175 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408525541, -0.901734233, -0.397096395, -0.998317897, -0.0197079033, 0.0545260981, -2.46241689e-06, -0.940440714, -0.339957833, 0.0579784214, -0.339386046, 0.938858747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1176 | end | |
1177 | Mesh11.Scale = Vector3.new(1,1,1) | |
1178 | Mesh22.Scale = Vector3.new(1,1,1) | |
1179 | for i = 0, 1, 0.1 do | |
1180 | swait() | |
1181 | PlayAnimationFromTable({ | |
1182 | CFrame.new(6.01834493e-09, -0.0939313993, 0.210730866, 1, 7.05971015e-09, 2.76730798e-08, -3.34760534e-22, 0.968966007, -0.247193992, -2.85593913e-08, 0.247193992, 0.968966007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1183 | CFrame.new(-8.65353211e-09, 1.48832738, -0.0671491772, 1, -4.66643479e-09, -2.81626011e-08, 7.06216774e-09, 0.996326268, 0.0856779814, 2.7659123e-08, -0.0856783837, 0.996326327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1184 | CFrame.new(1.98675203, 0.430103719, -0.476831913, 0.508383155, -0.860967517, 0.0169099998, 0.301277757, 0.159433961, -0.940114379, 0.806708336, 0.483031273, 0.340444207) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1185 | CFrame.new(-1.94409096, 0.359792918, -0.486533344, 0.589730501, 0.805205226, 0.062150456, -0.180265188, 0.206259295, -0.961749256, -0.787224531, 0.555969298, 0.266787827) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1186 | CFrame.new(0.546900928, -1.89410532, 0.265726566, 0.99424541, -0.107128516, -2.85594073e-08, 0.103803895, 0.963389993, 0.247193992, -0.026481498, -0.245771497, 0.968966007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1187 | CFrame.new(-0.550071657, -1.8947413, 0.265888691, 0.996171296, 0.0874145105, -2.85592883e-08, -0.0847016796, 0.965256095, 0.247193992, 0.0216083694, -0.24624756, 0.968966007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1188 | }, .3, false) | |
1189 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408529006, -0.90173918, -0.397100806, -0.998317897, -0.0197093375, 0.0545257293, -1.07940286e-06, -0.940440238, -0.339959234, 0.057978563, -0.339387476, 0.938858151) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1190 | moter11.C0 = clerp(moter11.C0, CFrame.new(4.35009667e-07, -1.70000923, -0.440009385, -7.15253861e-07, 1.00000238, -4.00462142e-07, -8.94920049e-08, -4.19085779e-07, -1.00000048, -1.00000775, -1.67634425e-07, 1.49047537e-07) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0, 0), 0.2) | |
1191 | moter22.C0 = clerp(moter22.C0, CFrame.new(6.73430179e-07, -1.70000923, -0.440007478, -7.15253861e-07, 1.00000238, -4.00462142e-07, -8.94920049e-08, -4.19085779e-07, -1.00000048, -1.00000775, -1.67634425e-07, 1.49047537e-07) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0, 0), 0.2) | |
1192 | end | |
1193 | Equipped = true | |
1194 | attack = false | |
1195 | Humanoid.WalkSpeed = 16 | |
1196 | Humanoid.JumpPower = 50 | |
1197 | end | |
1198 | function UnGrow() | |
1199 | attack = true | |
1200 | Humanoid.WalkSpeed = 0 | |
1201 | Humanoid.JumpPower = 0 | |
1202 | for i = 0, 1, 0.1 do | |
1203 | swait() | |
1204 | PlayAnimationFromTable({ | |
1205 | CFrame.new(0, 0, 0, 1.00000477, -1.86243341e-08, 5.47623017e-07, -1.86243341e-08, 1.00000095, -5.95550773e-08, 5.47623017e-07, -5.95550773e-08, 1.0000155) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1206 | CFrame.new(-2.79363199e-08, 1.49999166, -8.93320333e-08, 1.00000477, -1.86243341e-08, 5.47623017e-07, -1.86243341e-08, 1.00000095, -5.95550773e-08, 5.47623017e-07, -5.95550773e-08, 1.0000155) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1207 | CFrame.new(0.673668444, 0.435290158, -0.722788334, 0.536786079, 0.841084778, -0.066647701, -0.232388347, 0.0714491755, -0.969995618, -0.811090291, 0.536171436, 0.233812392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1208 | CFrame.new(-0.389240593, 0.378996342, -0.70100826, 0.349858046, -0.925079823, -0.147754461, 6.53874986e-06, 0.157724127, -0.98748368, 0.936810493, 0.345479339, 0.0551873632) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1209 | CFrame.new(0.595964193, -1.99206531, 8.59767169e-07, 0.996594489, -0.0825358629, -5.49104527e-07, 0.0825356916, 0.996592581, 4.39727046e-08, 1.08443464e-06, -1.93659162e-07, 1.00000775) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1210 | CFrame.new(-0.588883758, -1.99149966, 1.5298541e-06, 0.995464504, 0.0951597467, -5.45821536e-07, -0.0951595977, 0.995462537, 7.42143129e-08, 1.10121368e-06, -2.91106517e-08, 1.00000775) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1211 | }, .3, false) | |
1212 | moter.C0 = clerp(moter.C0, CFrame.new(0.040852055, -0.901741803, -0.397103637, -0.998320282, -0.0197103322, 0.0545254387, 2.76922378e-08, -0.940441012, -0.339958638, 0.0579783879, -0.339389205, 0.93886584) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1213 | moter11.C0 = clerp(moter11.C0, CFrame.new(-5.05206827e-08, -1.14691529e-05, -0.0400012247, -1.26287864e-06, 1.00000238, -3.81837765e-07, -2.99360181e-08, -4.00461374e-07, -1.00000048, -1.00000775, -7.15255965e-07, 8.94929144e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1) | |
1214 | moter22.C0 = clerp(moter22.C0, CFrame.new(-5.05192261e-08, -7.65444656e-06, -0.0400012247, -1.26287864e-06, 1.00000238, -3.81837765e-07, -2.99360181e-08, -4.00461374e-07, -1.00000048, -1.00000775, -7.15255965e-07, 8.94929144e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1) | |
1215 | end | |
1216 | Equipped = false | |
1217 | attack = false | |
1218 | Mesh11.Scale = Vector3.new(1,1,.2) | |
1219 | Mesh22.Scale = Vector3.new(1,1,.2) | |
1220 | Humanoid.WalkSpeed = 16 | |
1221 | Humanoid.JumpPower = 50 | |
1222 | end | |
1223 | local sit = false | |
1224 | function Sit() | |
1225 | attack = true | |
1226 | Humanoid.WalkSpeed = 0 | |
1227 | Humanoid.JumpPower = 0 | |
1228 | sit = true | |
1229 | repeat | |
1230 | swait() | |
1231 | PlayAnimationFromTable({ | |
1232 | CFrame.new(1.69604743e-06, -1.43528199, 0.728862047, 1, 5.52296115e-07, 1.27839633e-06, 5.27113002e-07, 0.699577332, -0.714556873, -1.28898409e-06, 0.714556873, 0.699577332) * CFrame.new(0, -.5, 0) * CFrame.Angles(0, 0, 0), | |
1233 | CFrame.new(-4.64081381e-07, 1.52580237, -0.285273314, 1, -1.42799067e-07, -5.2899793e-07, 3.78271409e-07, 0.878382623, 0.477957785, 3.96411906e-07, -0.477957785, 0.878382623) * CFrame.new(0, 0, 0 - .05 * math.cos(sine/40)) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/40)), 0, 0), | |
1234 | CFrame.new(1.46778834, 0.0767632127, 0.523110628, 0.996532857, -0.0830259472, 0.00537879812, 0.0582044311, 0.74188441, 0.667996943, -0.0594515167, -0.665367842, 0.744144678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1235 | CFrame.new(-1.61392498, 0.0173828304, 0.494288146, 0.983467758, 0.179145977, -0.0264174361, -0.113512687, 0.723559499, 0.680864573, 0.141088739, -0.666609645, 0.731932819) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1236 | CFrame.new(0.612561047, -1.79201007, -0.711896241, 0.990771592, -0.135542244, -2.35092532e-08, 0.0971279591, 0.709976196, -0.697496295, 0.0945401117, 0.69105953, 0.716589153) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1237 | CFrame.new(-0.615904689, -1.886204, -0.599608064, 0.991551578, 0.129713446, 6.62386412e-08, -0.0986734331, 0.754276872, -0.649099469, -0.0841969773, 0.643615603, 0.760703564) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1238 | }, .1, false) | |
1239 | until attack == false | |
1240 | end | |
1241 | function Sit2() | |
1242 | attack = true | |
1243 | Humanoid.WalkSpeed = 0 | |
1244 | Humanoid.JumpPower = 0 | |
1245 | sit = true | |
1246 | repeat | |
1247 | swait() | |
1248 | PlayAnimationFromTable({ | |
1249 | CFrame.new(-0.0790518373, -1.28211284, -0.364974797, 1, -9.19981517e-07, 1.01839339e-06, 4.712426e-07, 0.927110493, 0.374788225, -1.28896136e-06, -0.374788225, 0.927110493) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1250 | CFrame.new(0.0790522769, 1.41239452, 0.0392460488, 1, 9.46696446e-07, -9.93475055e-07, -9.19947979e-07, 0.999646187, 0.0265871882, 1.01829437e-06, -0.0265878141, 0.999649346) * CFrame.new(0, 0, 0 - .05 * math.cos(sine/40)) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/40)), 0, 0), | |
1251 | CFrame.new(1.09309757, 0.19830294, -0.861271143, 0.76847899, 0.336144269, 0.544469535, 0.239813626, 0.637579441, -0.732107878, -0.593236446, 0.693180799, 0.409354448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1252 | CFrame.new(-0.881041527, 0.313548326, -0.857817411, 0.679015219, -0.402120054, -0.614196837, -0.27513656, 0.636264682, -0.720740676, 0.68061614, 0.658381879, 0.321395457) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1253 | CFrame.new(0.735003531, -0.977018833, -1.17779481, 0.989697278, -0.143176422, -4.26077889e-07, -0.0562922768, -0.389113575, -0.919468403, 0.131646067, 0.909995139, -0.393164426) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1254 | CFrame.new(-0.620305955, -0.990102291, -1.11360347, 0.980935276, 0.194335416, -1.13580725e-07, 0.0785024986, -0.396252751, -0.914779246, -0.177774101, 0.897339165, -0.403954059) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1255 | }, .1, false) | |
1256 | moter.C0 = clerp(moter.C0, CFrame.new(0.023572728, -0.897642493, -0.694501638, -0.998318791, -0.0538648441, 0.0214428138, -4.82425094e-07, -0.36984843, -0.92909205, 0.0579760745, -0.927529037, 0.369226247) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1257 | until attack == false | |
1258 | end | |
1259 | function Lay() | |
1260 | attack = true | |
1261 | Humanoid.WalkSpeed = 0 | |
1262 | Humanoid.JumpPower = 0 | |
1263 | sit = true | |
1264 | repeat | |
1265 | swait() | |
1266 | PlayAnimationFromTable({ | |
1267 | CFrame.new(6.97562655e-07, -2.49086237, 0.514491558, 1, 2.49022128e-06, 1.06515031e-07, 1.49009182e-07, -0.0170706473, -0.999854326, -2.48803985e-06, 0.999854326, -0.0170706473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1268 | CFrame.new(-3.81469727e-06, 1.54988444, -0.488658965, 1, 0, 0, 0, 0.760723472, 0.649079561, 0, -0.649079561, 0.760723472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1269 | CFrame.new(0.978226185, 1.41540897, -0.0241625831, -0.921600401, 0.388083637, -0.00662594242, -0.388083637, -0.921040535, 0.0327988714, 0.00662594289, 0.0327988714, 0.999440074) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1270 | CFrame.new(-0.629825056, 1.48883736, -0.0254204087, -0.868431687, -0.495736629, 0.00846395083, 0.495736569, -0.867887318, 0.0318913534, -0.00846395455, 0.0318913534, 0.999455571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1271 | CFrame.new(0.607347906, -1.98621023, 7.49884975e-06, 0.991857767, -0.127426982, 1.05466569e-08, 0.127428085, 0.991847992, -5.77419996e-08, 3.02679837e-09, -5.21540642e-08, 1.00000489) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1272 | CFrame.new(-0.638346255, -1.97656441, 5.13180066e-06, 0.985966563, 0.166942507, -4.22199964e-09, -0.166942507, 0.985966861, 7.63684511e-08, 1.72294676e-08, -6.33299351e-08, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1273 | }, .1, false) | |
1274 | moter.C0 = clerp(moter.C0, CFrame.new(0.0436509028, -0.893161714, -0.348786354, -0.998317599, -0.0170024987, 0.0554260015, -1.64471567e-06, -0.956021428, -0.293299288, 0.0579751432, -0.292805821, 0.954413235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1275 | until attack == false | |
1276 | end | |
1277 | function ChangeGender() | |
1278 | if Gender == 1 then | |
1279 | Gender = 2 | |
1280 | faic.Transparency = 0 | |
1281 | Head.face.Transparency = 1 | |
1282 | Hair.Transparency = 1 | |
1283 | Hai.Transparency = 0 | |
1284 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1285 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1286 | elseif Gender == 2 then | |
1287 | Gender = 1 | |
1288 | faic.Transparency = 1 | |
1289 | Head.face.Transparency = 0 | |
1290 | Hair.Transparency = 0 | |
1291 | Hai.Transparency = 1 | |
1292 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1293 | Effects.Sphere.Create(BrickColor.new("Pastel brown"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1294 | ||
1295 | end | |
1296 | end | |
1297 | ||
1298 | Mouse.Button1Down:connect(function() | |
1299 | if attack == false and Equipped == true and attacktype == 1 then | |
1300 | attacktype = 2 | |
1301 | attackone() | |
1302 | elseif attack == false and Equipped == true and attacktype == 2 then | |
1303 | attacktype = 3 | |
1304 | attacktwo() | |
1305 | elseif attack == false and Equipped == true and attacktype == 3 then | |
1306 | attacktype = 4 | |
1307 | attackthree() | |
1308 | elseif attack == false and Equipped == true and attacktype == 4 then | |
1309 | attacktype = 1 | |
1310 | attackfour() | |
1311 | ||
1312 | end | |
1313 | end) | |
1314 | ||
1315 | Mouse.KeyDown:connect(function(k) | |
1316 | k = k:lower() | |
1317 | if attack == false and k == 'p' and oml == false and Equipped == false then | |
1318 | OwO() | |
1319 | elseif attack == false and k == 'p' and oml == true and Equipped == false then | |
1320 | UwU() | |
1321 | elseif attack == false and k == 'f' and oml == false and Equipped == false then | |
1322 | Grow() | |
1323 | elseif attack == false and k == 'f' and oml == false and Equipped == true then | |
1324 | UnGrow() | |
1325 | elseif attack == false and k == 'z' and sit == false and Equipped == false then | |
1326 | Sit() | |
1327 | elseif attack == false and k == 'x' and sit == false and Equipped == false then | |
1328 | Sit2() | |
1329 | elseif attack == false and k == 'c' and sit == false and Equipped == false then | |
1330 | Lay() | |
1331 | elseif attack == false and k == 'u' and oml == false then | |
1332 | ChangeGender() | |
1333 | elseif attack == false and k == 'u' and oml == true and hide == true then | |
1334 | hide = false | |
1335 | elseif attack == false and k == 'u' and oml == true and hide == false then | |
1336 | hide = true | |
1337 | elseif sit == true and k == 'w' then | |
1338 | attack = false | |
1339 | sit = false | |
1340 | Humanoid.WalkSpeed = 16 | |
1341 | Humanoid.JumpPower = 50 | |
1342 | end | |
1343 | end) | |
1344 | ||
1345 | while true do | |
1346 | swait() | |
1347 | for i, v in pairs(Character:GetChildren()) do | |
1348 | if v:IsA("Part") then | |
1349 | v.Material = "SmoothPlastic" | |
1350 | elseif v:IsA("Accessory") then | |
1351 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1352 | end | |
1353 | end | |
1354 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1355 | velocity = RootPart.Velocity.y | |
1356 | sine = sine + change | |
1357 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1358 | if RootPart.Velocity.y > 1 and hit == nil then | |
1359 | Anim = "Jump" | |
1360 | if attack == false then | |
1361 | PlayAnimationFromTable({ | |
1362 | CFrame.new(1.01370845e-09, -0.0579841509, 0.0354947485, 1, 2.14186824e-09, 2.84789614e-08, -3.34760534e-22, 0.99718374, -0.0749969855, -2.85593913e-08, 0.0749969855, 0.99718374) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1363 | CFrame.new(0, 1.46643245, 0.137852728, 1, 0, 0, 0, 0.971624672, -0.236527592, 0, 0.236527592, 0.971624672) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1364 | CFrame.new(1.888026, 0.217234477, 0.113624901, 0.3044478, -0.950029612, -0.0689616352, 0.952528179, 0.303649008, 0.022039257, 2.21282244e-06, -0.0723977461, 0.997377992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1365 | CFrame.new(-1.95959938, 0.259861857, 0.0286621489, 0.246233836, 0.968699038, 0.03164839, -0.968770504, 0.245001525, 0.0382811762, 0.0293290913, -0.0400860459, 0.998765767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1366 | CFrame.new(0.600038111, -1.9639281, 0.227336437, 0.995967388, -0.0898117349, -6.67547972e-09, 0.0877366737, 0.972947001, 0.213738203, -0.0191962589, -0.212874219, 0.976895988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1367 | CFrame.new(-0.555179954, -1.95935965, 0.232443243, 0.997332275, 0.0730128586, -2.22644871e-08, -0.0707116276, 0.965898633, 0.24908483, 0.0181863643, -0.248419806, 0.968483329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1368 | }, .3, false) | |
1369 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408530682, -0.901739359, -0.397098035, -0.998317897, -0.0197112467, 0.0545246378, 1.19302422e-06, -0.940440774, -0.339957625, 0.057978183, -0.339385748, 0.938858747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1370 | end | |
1371 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1372 | Anim = "Fall" | |
1373 | if attack == false then | |
1374 | PlayAnimationFromTable({ | |
1375 | CFrame.new(1.2011262e-09, -0.0521957316, 0.0420571342, 1, -5.1775908e-09, 2.8086145e-08, -3.34760534e-22, 0.983429372, 0.181292042, -2.85593913e-08, -0.181292057, 0.983429372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1376 | CFrame.new(0, 1.47546494, 0.010504663, 1, 0, 0, 0, 0.997287989, 0.0736272484, 0, -0.0736272633, 0.997287989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1377 | CFrame.new(1.9516561, 0.720944285, 0.106900819, -0.203118429, -0.976722777, -0.0689622685, 0.978505135, -0.20504424, 0.0220260769, -0.0356537104, -0.0630059987, 0.997376323) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1378 | CFrame.new(-1.93297589, 0.80569613, 0.00690014288, -0.271988571, 0.961781144, 0.0316498391, -0.961229265, -0.273091227, 0.0382755399, 0.0454564095, -0.0200120937, 0.998765826) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1379 | CFrame.new(0.599394143, -1.94108737, 0.298547417, 0.995958805, -0.0894052088, -0.00852916483, 0.0877354667, 0.94824487, 0.30518049, -0.0191969611, -0.304695427, 0.952257156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1380 | CFrame.new(-0.554453075, -1.92698359, 0.318446726, 0.997330904, 0.0725850239, 0.0079038851, -0.0707127452, 0.933255136, 0.35218358, 0.0181868859, -0.351802438, 0.935897708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1381 | }, .3, false) | |
1382 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408500209, -0.901736438, -0.39710471, -0.998317897, -0.0197122935, 0.0545241795, 2.06474215e-06, -0.940439284, -0.339962095, 0.0579781048, -0.339390099, 0.938857377) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1383 | end | |
1384 | elseif Torsovelocity < 1 and hit ~= nil then | |
1385 | Anim = "Idle" | |
1386 | if attack == false then | |
1387 | change = 1 | |
1388 | if hide == false then | |
1389 | PlayAnimationFromTable({ | |
1390 | CFrame.new(-0, -0, -0, 1, 1.03190221e-29, 0, 1.03190221e-29, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1391 | CFrame.new(1.54783905e-29, 1.49998617, 0, 1, 1.03190221e-29, 0, 1.03190221e-29, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0 - .05 * math.cos(sine/40)) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/40)), 0, 0), | |
1392 | CFrame.new(1.57029903, 0.0172165185, -1.15576862e-12, 0.995367944, -0.0961480886, 6.02184969e-13, 0.0961474329, 0.995368361, 1.40908444e-13, -7.46069873e-13, -8.65973959e-14, 1) * CFrame.new(0- .05 * math.cos(sine/40), 0- .05 * math.cos(sine/40),0) * CFrame.Angles(0, 0, math.rad(0 - 4 * math.cos(sine/40))), | |
1393 | CFrame.new(-1.52293086, 0.0375656337, 1.65236206e-14, 0.995637357, 0.0933040306, 3.19744231e-14, -0.0933040306, 0.995637357, -1.77948345e-15, -1.0658141e-14, -3.10862447e-15, 1) * CFrame.new(0+ .05 * math.cos(sine/40), 0- .05 * math.cos(sine/40),0) * CFrame.Angles(0, 0, math.rad(0 + 4 * math.cos(sine/40))), | |
1394 | CFrame.new(0.547257543, -1.99702907, -4.61344965e-14, 0.998036981, -0.0626251176, 1.20792265e-13, 0.0626251176, 0.998036981, 1.08825785e-14, -1.26121336e-13, -3.44169138e-15, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1395 | CFrame.new(-0.573433399, -1.9928602, 6.8055926e-14, 0.995312989, 0.096706368, 1.75859327e-13, -0.0967063606, 0.995312989, -1.67173201e-14, -1.77635684e-13, -4.4408921e-16, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
1396 | }, .3, false) | |
1397 | moter.C0 = clerp(moter.C0, CFrame.new(0.040851742, -0.901734829, -0.397101343, -0.998320162, -0.0197100546, 0.054525461, 1.46991201e-08, -0.940442979, -0.339954287, 0.0579783097, -0.339385033, 0.938867211) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1398 | else | |
1399 | PlayAnimationFromTable({ | |
1400 | CFrame.new(0, 0, -0, 1, -2.5243549e-29, 2.66246708e-44, -2.5243549e-29, 1, 5.04870979e-29, 2.1019477e-44, 5.04870979e-29, 1) * CFrame.new(0, 0- 0.06 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), | |
1401 | CFrame.new(-3.78654649e-29, 1.49998605, 0.00317455269, 1, -2.5243549e-29, 1.23259516e-31, -2.5243549e-29, 0.999984622, -0.00554055534, 2.85870381e-32, 0.00554055534, 0.999984622) * CFrame.new(0, 0, 0 + .05 * math.cos(sine/40)) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/40)), 0, 0), | |
1402 | CFrame.new(0.228972659, 0.397032291, -0.798773289, 0.551704168, 0.833213151, 0.0371271409, -0.0397270136, 0.0707170293, -0.996705115, -0.833093286, 0.54841131, 0.0721159503) * CFrame.new(0, 0+ 0.03 * math.cos((sine) / 35), 0) * CFrame.Angles(0, 0, 0), | |
1403 | CFrame.new(-0.536018014, -0.208522171, -0.676588058, 0.402905941, -0.594119728, -0.696195781, 0.0290909968, 0.768597841, -0.639070511, 0.914778888, 0.237232298, 0.326956213) * CFrame.new(0, 0+ 0.03 * math.cos((sine) / 35), 0) * CFrame.Angles(0, 0, 0), | |
1404 | CFrame.new(0.547258139, -1.99702907, -4.54093211e-14, 0.9980371, -0.0626251474, 1.23232384e-13, 0.0626251474, 0.9980371, 1.10316876e-14, -1.23681352e-13, -3.29258859e-15, 1) * CFrame.new(0, 0+ 0.06 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), | |
1405 | CFrame.new(-0.573435128, -1.99286008, 6.7840407e-14, 0.995312929, 0.0967064127, 1.76353276e-13, -0.0967064127, 0.995312929, -1.67030052e-14, -1.77141979e-13, -4.29773506e-16, 1) * CFrame.new(0, 0+ 0.06 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), | |
1406 | }, .3, false) | |
1407 | end | |
1408 | end | |
1409 | elseif Torsovelocity > 2 and hit ~= nil then | |
1410 | Anim = "Walk" | |
1411 | if attack == false then | |
1412 | PlayAnimationFromTable({ | |
1413 | 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) / 2), 0) * CFrame.Angles(0, 0, 0), | |
1414 | 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), | |
1415 | 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, 0- .5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 4)), 0, 0), | |
1416 | 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, 0+ .5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 4)), 0, 0), | |
1417 | 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) / 4)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 4)), 0, 0), | |
1418 | 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) / 4)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 4)), 0, 0), | |
1419 | }, .3, false) | |
1420 | moter.C0 = clerp(moter.C0, CFrame.new(0.0408512428, -0.90174067, -0.397101641, -0.998320162, -0.0197100546, 0.054525461, 1.46991201e-08, -0.940442979, -0.339954287, 0.0579783097, -0.339385033, 0.938867211) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1421 | end | |
1422 | end | |
1423 | if 0 < #Effects then | |
1424 | for e = 1, #Effects do | |
1425 | if Effects[e] ~= nil then | |
1426 | local Thing = Effects[e] | |
1427 | if Thing ~= nil then | |
1428 | local Part = Thing[1] | |
1429 | local Mode = Thing[2] | |
1430 | local Delay = Thing[3] | |
1431 | local IncX = Thing[4] | |
1432 | local IncY = Thing[5] | |
1433 | local IncZ = Thing[6] | |
1434 | if Thing[2] == "Shoot" then | |
1435 | local Look = Thing[1] | |
1436 | local move = 30 | |
1437 | if Thing[8] == 3 then | |
1438 | move = 10 | |
1439 | end | |
1440 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1441 | if Thing[10] ~= nil then | |
1442 | da = pos | |
1443 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1444 | cfa = CFrame.new(Thing[4], pos) | |
1445 | tehCF = cfa:lerp(cf2, 0.2) | |
1446 | Thing[1] = tehCF.lookVector | |
1447 | end | |
1448 | local mag = (Thing[4] - pos).magnitude | |
1449 | 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) | |
1450 | if Thing[8] == 2 then | |
1451 | 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) | |
1452 | end | |
1453 | Thing[4] = Thing[4] + Look * move | |
1454 | Thing[3] = Thing[3] - 1 | |
1455 | if 2 < Thing[5] then | |
1456 | Thing[5] = Thing[5] - 0.3 | |
1457 | Thing[6] = Thing[6] - 0.3 | |
1458 | end | |
1459 | if hit ~= nil then | |
1460 | Thing[3] = 0 | |
1461 | if Thing[8] == 1 or Thing[8] == 3 then | |
1462 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1463 | else | |
1464 | if Thing[8] == 2 then | |
1465 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1466 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1467 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(.2,.2,.2)) | |
1468 | ref.Anchored = true | |
1469 | ref.CFrame = CFrame.new(pos) | |
1470 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1471 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1472 | 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) | |
1473 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
1474 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1475 | end | |
1476 | end | |
1477 | end | |
1478 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(.2,.2,.2)) | |
1479 | ref.Anchored = true | |
1480 | ref.CFrame = CFrame.new(pos) | |
1481 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1482 | game:GetService("Debris"):AddItem(ref, 1) | |
1483 | end | |
1484 | if Thing[3] <= 0 then | |
1485 | table.remove(Effects, e) | |
1486 | end | |
1487 | end | |
1488 | do | |
1489 | do | |
1490 | if Thing[2] == "FireWave" then | |
1491 | if Thing[3] <= Thing[4] then | |
1492 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1493 | Thing[3] = Thing[3] + 1 | |
1494 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1495 | else | |
1496 | Part.Parent = nil | |
1497 | table.remove(Effects, e) | |
1498 | end | |
1499 | end | |
1500 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1501 | if Thing[1].Transparency <= 1 then | |
1502 | if Thing[2] == "Block1" then | |
1503 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1504 | Mesh = Thing[7] | |
1505 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1506 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1507 | else | |
1508 | if Thing[2] == "Block2" then | |
1509 | Thing[1].CFrame = Thing[1].CFrame | |
1510 | Mesh = Thing[7] | |
1511 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1512 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1513 | else | |
1514 | if Thing[2] == "Fire" then | |
1515 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1516 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1517 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1518 | else | |
1519 | if Thing[2] == "Cylinder" then | |
1520 | Mesh = Thing[7] | |
1521 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1522 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1523 | else | |
1524 | if Thing[2] == "Blood" then | |
1525 | Mesh = Thing[7] | |
1526 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1527 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1528 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1529 | else | |
1530 | if Thing[2] == "Elec" then | |
1531 | Mesh = Thing[10] | |
1532 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1533 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1534 | else | |
1535 | if Thing[2] == "Disappear" then | |
1536 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1537 | else | |
1538 | if Thing[2] == "Shatter" then | |
1539 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1540 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1541 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1542 | Thing[6] = Thing[6] + Thing[5] | |
1543 | end | |
1544 | end | |
1545 | end | |
1546 | end | |
1547 | end | |
1548 | end | |
1549 | end | |
1550 | end | |
1551 | else | |
1552 | Part.Parent = nil | |
1553 | table.remove(Effects, e) | |
1554 | end | |
1555 | end | |
1556 | end | |
1557 | end | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | end | |
1562 | end | |
1563 | -- I hate you. ~Someone |