SHOW:
|
|
- or go back to the newest paste.
1 | --hi cutie ;) | |
2 | ||
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | --[[ | |
9 | If you use this, you'll cry. I warned you. | |
10 | F u r r y . b y . . . . . . | |
11 | ]]-- | |
12 | wait(1 / 30) | |
13 | Effects = { } | |
14 | local Player = game.Players.localPlayer | |
15 | local Character = Player.Character | |
16 | local Humanoid = Character.Humanoid | |
17 | local Mouse = Player:GetMouse() | |
18 | local LeftArm = Character["Left Arm"] | |
19 | local RightArm = Character["Right Arm"] | |
20 | local LeftLeg = Character["Left Leg"] | |
21 | local RightLeg = Character["Right Leg"] | |
22 | local Head = Character.Head | |
23 | local Torso = Character.Torso | |
24 | local Camera = game.Workspace.CurrentCamera | |
25 | local RootPart = Character.HumanoidRootPart | |
26 | local RootJoint = RootPart.RootJoint | |
27 | local attack = false | |
28 | local Anim = 'Idle' | |
29 | local attacktype = 1 | |
30 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
31 | local velocity = RootPart.Velocity.y | |
32 | local sine = 0 | |
33 | local change = 1 | |
34 | local oml = false | |
35 | local Equipped = false | |
36 | local hide = false | |
37 | local Gender = 1 --Triggered | |
38 | local Create = LoadLibrary("RbxUtility").Create | |
39 | Character.Humanoid.MaxHealth = math.huge | |
40 | Character.Humanoid.Health = math.huge | |
41 | ||
42 | ||
43 | local m = Create("Model"){ | |
44 | Parent = Character, | |
45 | Name = "WeaponModel", | |
46 | } | |
47 | ||
48 | Humanoid.Animator.Parent = nil | |
49 | Character.Animate.Parent = nil | |
50 | ||
51 | local newMotor = function(part0, part1, c0, c1) | |
52 | local w = Create('Motor'){ | |
53 | Parent = part0, | |
54 | Part0 = part0, | |
55 | Part1 = part1, | |
56 | C0 = c0, | |
57 | C1 = c1, | |
58 | } | |
59 | return w | |
60 | end | |
61 | ||
62 | function clerp(a, b, t) | |
63 | return a:lerp(b, t) | |
64 | end | |
65 | ||
66 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
67 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
68 | ||
69 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
70 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
71 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
72 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
73 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
74 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
75 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
76 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
77 | ||
78 | local rarmc1 = RW.C1 | |
79 | local larmc1 = LW.C1 | |
80 | local rlegc1 = RH.C1 | |
81 | local llegc1 = LH.C1 | |
82 | ||
83 | local resetc1 = false | |
84 | ||
85 | function PlayAnimationFromTable(table, speed, bool) | |
86 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
87 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
88 | RW.C0 = clerp(RW.C0, table[3], speed) | |
89 | LW.C0 = clerp(LW.C0, table[4], speed) | |
90 | RH.C0 = clerp(RH.C0, table[5], speed) | |
91 | LH.C0 = clerp(LH.C0, table[6], speed) | |
92 | if bool == true then | |
93 | if resetc1 == false then | |
94 | resetc1 = true | |
95 | RootJoint.C1 = RootJoint.C1 | |
96 | Torso.Neck.C1 = Torso.Neck.C1 | |
97 | RW.C1 = rarmc1 | |
98 | LW.C1 = larmc1 | |
99 | RH.C1 = rlegc1 | |
100 | LH.C1 = llegc1 | |
101 | end | |
102 | end | |
103 | end | |
104 | ||
105 | ArtificialHB = Create("BindableEvent", script){ | |
106 | Parent = script, | |
107 | Name = "Heartbeat", | |
108 | } | |
109 | ||
110 | script:WaitForChild("Heartbeat") | |
111 | ||
112 | frame = 1 / 30 | |
113 | tf = 0 | |
114 | allowframeloss = false | |
115 | tossremainder = false | |
116 | lastframe = tick() | |
117 | script.Heartbeat:Fire() | |
118 | ||
119 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
120 | tf = tf + s | |
121 | if tf >= frame then | |
122 | if allowframeloss then | |
123 | script.Heartbeat:Fire() | |
124 | lastframe = tick() | |
125 | else | |
126 | for i = 1, math.floor(tf / frame) do | |
127 | script.Heartbeat:Fire() | |
128 | end | |
129 | lastframe = tick() | |
130 | end | |
131 | if tossremainder then | |
132 | tf = 0 | |
133 | else | |
134 | tf = tf - frame * math.floor(tf / frame) | |
135 | end | |
136 | end | |
137 | end) | |
138 | ||
139 | function swait(num) | |
140 | if num == 0 or num == nil then | |
141 | ArtificialHB.Event:wait() | |
142 | else | |
143 | for i = 0, num do | |
144 | ArtificialHB.Event:wait() | |
145 | end | |
146 | end | |
147 | end | |
148 | ||
149 | function RemoveOutlines(part) | |
150 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
151 | end | |
152 | ||
153 | CFuncs = { | |
154 | ["Part"] = { | |
155 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
156 | local Part = Create("Part"){ | |
157 | Parent = Parent, | |
158 | Reflectance = Reflectance, | |
159 | Transparency = Transparency, | |
160 | CanCollide = false, | |
161 | Locked = true, | |
162 | BrickColor = BrickColor.new(tostring(BColor)), | |
163 | Name = Name, | |
164 | Size = Size, | |
165 | Material = Material, | |
166 | } | |
167 | RemoveOutlines(Part) | |
168 | return Part | |
169 | end; | |
170 | }; | |
171 | ||
172 | ["Mesh"] = { | |
173 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
174 | local Msh = Create(Mesh){ | |
175 | Parent = Part, | |
176 | Offset = OffSet, | |
177 | Scale = Scale, | |
178 | } | |
179 | if Mesh == "SpecialMesh" then | |
180 | Msh.MeshType = MeshType | |
181 | Msh.MeshId = MeshId | |
182 | end | |
183 | return Msh | |
184 | end; | |
185 | }; | |
186 | ||
187 | ["Mesh"] = { | |
188 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
189 | local Msh = Create(Mesh){ | |
190 | Parent = Part, | |
191 | Offset = OffSet, | |
192 | Scale = Scale, | |
193 | } | |
194 | if Mesh == "SpecialMesh" then | |
195 | Msh.MeshType = MeshType | |
196 | Msh.MeshId = MeshId | |
197 | end | |
198 | return Msh | |
199 | end; | |
200 | }; | |
201 | ||
202 | ["Weld"] = { | |
203 | Create = function(Parent, Part0, Part1, C0, C1) | |
204 | local Weld = Create("Weld"){ | |
205 | Parent = Parent, | |
206 | Part0 = Part0, | |
207 | Part1 = Part1, | |
208 | C0 = C0, | |
209 | C1 = C1, | |
210 | } | |
211 | return Weld | |
212 | end; | |
213 | }; | |
214 | ||
215 | ["Sound"] = { | |
216 | Create = function(id, par, vol, pit) | |
217 | coroutine.resume(coroutine.create(function() | |
218 | local S = Create("Sound"){ | |
219 | Volume = vol, | |
220 | Pitch = pit or 1, | |
221 | SoundId = id, | |
222 | Parent = par or workspace, | |
223 | } | |
224 | wait() | |
225 | S:play() | |
226 | game:GetService("Debris"):AddItem(S, 6) | |
227 | end)) | |
228 | end; | |
229 | }; | |
230 | ||
231 | ["ParticleEmitter"] = { | |
232 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
233 | local fp = Create("ParticleEmitter"){ | |
234 | Parent = Parent, | |
235 | Color = ColorSequence.new(Color1, Color2), | |
236 | LightEmission = LightEmission, | |
237 | Size = Size, | |
238 | Texture = Texture, | |
239 | Transparency = Transparency, | |
240 | ZOffset = ZOffset, | |
241 | Acceleration = Accel, | |
242 | Drag = Drag, | |
243 | LockedToPart = LockedToPart, | |
244 | VelocityInheritance = VelocityInheritance, | |
245 | EmissionDirection = EmissionDirection, | |
246 | Enabled = Enabled, | |
247 | Lifetime = LifeTime, | |
248 | Rate = Rate, | |
249 | Rotation = Rotation, | |
250 | RotSpeed = RotSpeed, | |
251 | Speed = Speed, | |
252 | VelocitySpread = VelocitySpread, | |
253 | } | |
254 | return fp | |
255 | end; | |
256 | }; | |
257 | ||
258 | CreateTemplate = { | |
259 | ||
260 | }; | |
261 | } | |
262 | ||
263 | ||
264 | New = function(Object, Parent, Name, Data) | |
265 | local Object = Instance.new(Object) | |
266 | for Index, Value in pairs(Data or {}) do | |
267 | Object[Index] = Value | |
268 | end | |
269 | Object.Parent = Parent | |
270 | Object.Name = Name | |
271 | return Object | |
272 | end | |
273 | ||
274 | New = function(Object, Parent, Name, Data) | |
275 | local Object = Instance.new(Object) | |
276 | for Index, Value in pairs(Data or {}) do | |
277 | Object[Index] = Value | |
278 | end | |
279 | Object.Parent = Parent | |
280 | Object.Name = Name | |
281 | return Object | |
282 | end | |
283 | ||
284 | Knot = New("Model",Torso,"Knot",{}) | |
285 | Balls = New("Part",Knot,"Balls",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
286 | Mesh = New("SpecialMesh",Balls,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
287 | 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),}) | |
288 | Balls = New("Part",Knot,"Balls",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
289 | Mesh = New("SpecialMesh",Balls,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
290 | 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),}) | |
291 | Ball = New("Part",Knot,"Ball",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
292 | 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,}) | |
293 | 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),}) | |
294 | faic = New ("Decal",Head,"Face",{Texture = "rbxassetid://648887959",Face = "Front",Transparency = 1}) | |
295 | stick = New("Model",Torso,"stick",{}) | |
296 | Handle = New("Part",stick,"Handle",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
297 | 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,}) | |
298 | moter = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Torso,}) | |
299 | 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),}) | |
300 | Mesh = New("CylinderMesh",Shaft,"Mesh",{}) | |
301 | 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),}) | |
302 | 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),}) | |
303 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
304 | 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),}) | |
305 | 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),}) | |
306 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
307 | 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),}) | |
308 | 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),}) | |
309 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
310 | 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),}) | |
311 | 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),}) | |
312 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
313 | 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),}) | |
314 | 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),}) | |
315 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
316 | 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),}) | |
317 | 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),}) | |
318 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
319 | 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),}) | |
320 | 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),}) | |
321 | Mesh = New("CylinderMesh",Cylinder,"Mesh",{}) | |
322 | 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),}) | |
323 | 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),}) | |
324 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
325 | 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),}) | |
326 | 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),}) | |
327 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
328 | 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),}) | |
329 | 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),}) | |
330 | Mesh = New("SpecialMesh",Hed,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
331 | 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),}) | |
332 | Tail = New("Part",Torso,"Tail",{CanCollide = false,BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-9.66550397e-06, -1.50999641, 1.50000012, 1.00000012, 6.0107559e-06, 1.68714465e-08, -6.01354986e-06, 1, -5.98845418e-11, -1.6657026e-08, 2.29050556e-10, 1.00000024),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.905882, 0.905882, 0.92549),}) | |
333 | Mesh = New("SpecialMesh",Tail,"Mesh",{MeshId = "rbxassetid://791316026",MeshType = Enum.MeshType.FileMesh,}) | |
334 | mot = New("Weld",Tail,"mot",{Part0 = Tail,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 1.00000012, -6.01354986e-06, -1.6657026e-08, 6.0107559e-06, 1, 2.29050556e-10, 1.68714482e-08, -5.98845418e-11, 1.00000024),C1 = CFrame.new(-9.62266495e-06, -1.52713847, 1.50000012, 1, 3.34760534e-22, 2.85593913e-08, -3.34760534e-22, 1, 3.61317985e-22, -2.85593913e-08, -3.61317985e-22, 1),}) | |
335 | Hair = New("Part",Head,"Hair",{CanCollide = false,BrickColor = BrickColor.new("Institutional white"),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),}) | |
336 | Mesh = New("SpecialMesh",Hair,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=76056263",MeshType = Enum.MeshType.FileMesh,}) | |
337 | 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),}) | |
338 | Hai = New("Part",Head,"Hai",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
339 | Mesh = New("SpecialMesh",Hai,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=29713297",MeshType = Enum.MeshType.FileMesh,}) | |
340 | 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),}) | |
341 | ||
342 | ||
343 | Ear = New("Part",Head,"Ear",{CanCollide = false,BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.25000024, 1.12999988, 1.1400001),CFrame = CFrame.new(-0.0324185491, 2.25540423, -0.0468983799, 0.999999583, 0.000551767822, 1.78813934e-07, -0.000551768171, 1.00000012, 6.41149311e-09, -2.98023224e-07, -6.60850841e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
344 | Mesh = New("SpecialMesh",Ear,"Mesh",{Scale = Vector3.new(0.5, 0.5, 0.5),MeshId = "http://www.roblox.com/asset/?id=361948302",MeshType = Enum.MeshType.FileMesh,}) | |
345 | mot = New("Weld",Ear,"mot",{Part0 = Ear,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0.999999583, -0.000551768171, -2.98023224e-07, 0.000551767822, 1.00000012, -6.60850841e-09, 1.78813934e-07, 6.41149311e-09, 1.00000012),C1 = CFrame.new(-0.0324185491, 0.765400648, -0.0468983799, 1, 3.34760534e-22, 2.85593913e-08, -3.34760534e-22, 1, 3.61317985e-22, -2.85593913e-08, -3.61317985e-22, 1),}) | |
346 | Ear1 = New("Part",Head,"Ear1",{BrickColor = BrickColor.new("Mauve"),Size = Vector3.new(1.25000024, 1.12999988, 1.1400001),CFrame = CFrame.new(-0.0324185491, 2.25659275, 0.128099546, 0.999999583, 0.000551767822, 2.07373333e-07, -0.000549707911, 0.99631691, -0.0857504234, -4.76397254e-05, 0.0857504234, 0.99631691),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.878431, 0.698039, 0.815686),}) | |
347 | Mesh = New("SpecialMesh",Ear1,"Mesh",{Scale = Vector3.new(0.45, 0.5, 0.5),MeshId = "http://www.roblox.com/asset/?id=361948302",MeshType = Enum.MeshType.FileMesh,}) | |
348 | mot = New("Weld",Ear1,"mot",{Part0 = Ear1,Part1 = Head,C0 = CFrame.new(0, .1, .04, 0.999999583, -0.000549707853, -4.76397254e-05, 0.000551767822, 0.996316791, 0.0857504085, 2.07373333e-07, -0.0857504085, 0.996316791),C1 = CFrame.new(-0.0324185491, 0.770545959, 0.0128805935, 1, 2.00669642e-22, -3.61391696e-21, 1.09964345e-22, 0.996316671, 0.0857504085, 3.61781335e-21, -0.0857504085, 0.996316671),}) | |
349 | ||
350 | 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),}) | |
351 | 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,}) | |
352 | 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),}) | |
353 | 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),}) | |
354 | 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,}) | |
355 | 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),}) | |
356 | 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) | |
357 | 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) | |
358 | Mesh11.Scale = Vector3.new(1,1,.2) | |
359 | Mesh22.Scale = Vector3.new(1,1,.2) | |
360 | ||
361 | Milk = New("Model",Torso,"Milk",{}) | |
362 | 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),}) | |
363 | Mesh = New("SpecialMesh",LeftTip,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
364 | 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),}) | |
365 | Big = New("Part",Milk,"Bigga",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
366 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Sphere,}) | |
367 | 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),}) | |
368 | Big = New("Part",Milk,"Bigga",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
369 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Sphere,}) | |
370 | 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),}) | |
371 | 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),}) | |
372 | Mesh = New("SpecialMesh",LeftTip,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
373 | 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),}) | |
374 | 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),}) | |
375 | Mesh = New("SpecialMesh",LeftTip2,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
376 | 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),}) | |
377 | 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),}) | |
378 | Mesh = New("SpecialMesh",LeftTip2,"Mesh",{Scale = Vector3.new(0.199999928, 0.199999928, 0.199999928),MeshType = Enum.MeshType.Sphere,}) | |
379 | 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),}) | |
380 | Biggi = New("Model",Torso,"Biggi",{}) | |
381 | Big = New("Part",Biggi,"Big",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
382 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
383 | 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),}) | |
384 | Big = New("Part",Biggi,"Big",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
385 | Mesh = New("SpecialMesh",Big,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,}) | |
386 | 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),}) | |
387 | Skin = New("Part",Biggi,"Skin",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
388 | Mesh = New("SpecialMesh",Skin,"Mesh",{Scale = Vector3.new(0.899999976, 0.400000006, 0.899999976),MeshType = Enum.MeshType.Sphere,}) | |
389 | 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),}) | |
390 | 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),}) | |
391 | Mesh = New("SpecialMesh",Vg,"Mesh",{Scale = Vector3.new(0.910000026, 0.300000012, 0.910000026),MeshType = Enum.MeshType.Sphere,}) | |
392 | 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),}) | |
393 | 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),}) | |
394 | Mesh = New("SpecialMesh",Vg2,"Mesh",{Scale = Vector3.new(0.910000026, 0.300000012, 0.910000026),MeshType = Enum.MeshType.Sphere,}) | |
395 | 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),}) | |
396 | ||
397 | ||
398 | ||
399 | for _,v in pairs(stick:children()) do | |
400 | if v:IsA("Part") then | |
401 | v.CanCollide = false | |
402 | v.Transparency = 1 | |
403 | end | |
404 | for _,v in pairs(Knot:children()) do | |
405 | if v:IsA("Part") then | |
406 | v.CanCollide = false | |
407 | v.Transparency = 1 | |
408 | end | |
409 | for _,v in pairs(Milk:children()) do | |
410 | if v:IsA("Part") then | |
411 | v.CanCollide = false | |
412 | v.Transparency = 1 | |
413 | end | |
414 | for _,v in pairs(Biggi:children()) do | |
415 | if v:IsA("Part") then | |
416 | v.CanCollide = false | |
417 | v.Transparency = 1 | |
418 | end | |
419 | end | |
420 | end | |
421 | end | |
422 | end | |
423 | for _,v in pairs(Character:children()) do | |
424 | if v:IsA("Shirt") then | |
425 | v.ShirtTemplate = "rbxassetid://768236558" | |
426 | elseif v:IsA("Pants") then | |
427 | v.PantsTemplate = "rbxassetid://784173314" | |
428 | elseif v:IsA("ShirtGraphic") then | |
429 | v:Remove() | |
430 | wait(.1) | |
431 | Torso.roblox:Remove() | |
432 | elseif v:IsA("Accessory") then | |
433 | v:Remove() | |
434 | end | |
435 | end | |
436 | Hai.Transparency = 1 | |
437 | ||
438 | ||
439 | function rayCast(Position, Direction, Range, Ignore) | |
440 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
441 | end | |
442 | ||
443 | FindNearestTorso = function(pos) | |
444 | local list = (game.Workspace:children()) | |
445 | local torso = nil | |
446 | local dist = 1000 | |
447 | local temp, human, temp2 = nil, nil, nil | |
448 | for x = 1, #list do | |
449 | temp2 = list[x] | |
450 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
451 | temp = temp2:findFirstChild("Torso") | |
452 | human = temp2:findFirstChild("Humanoid") | |
453 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
454 | local dohit = true | |
455 | if dohit == true then | |
456 | torso = temp | |
457 | dist = (temp.Position - pos).magnitude | |
458 | end | |
459 | end | |
460 | end | |
461 | end | |
462 | return torso, dist | |
463 | end | |
464 | ||
465 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
466 | if hit.Parent == nil then | |
467 | return | |
468 | end | |
469 | local h = hit.Parent:FindFirstChild("Humanoid") | |
470 | for _, v in pairs(hit.Parent:children()) do | |
471 | if v:IsA("Humanoid") then | |
472 | h = v | |
473 | end | |
474 | end | |
475 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
476 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
477 | if hit.Parent.DebounceHit.Value == true then | |
478 | return | |
479 | end | |
480 | end | |
481 | local c = Create("ObjectValue"){ | |
482 | Name = "creator", | |
483 | Value = game:service("Players").LocalPlayer, | |
484 | Parent = h, | |
485 | } | |
486 | game:GetService("Debris"):AddItem(c, .5) | |
487 | if HitSound ~= nil and HitPitch ~= nil then | |
488 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
489 | end | |
490 | local Damage = math.random(minim, maxim) | |
491 | local blocked = false | |
492 | local block = hit.Parent:findFirstChild("Block") | |
493 | if block ~= nil then | |
494 | if block.className == "IntValue" then | |
495 | if block.Value > 0 then | |
496 | blocked = true | |
497 | block.Value = block.Value - 1 | |
498 | print(block.Value) | |
499 | end | |
500 | end | |
501 | end | |
502 | if blocked == false then | |
503 | h.Health = h.Health - Damage | |
504 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("White").Color) | |
505 | else | |
506 | h.Health = h.Health - (Damage / 2) | |
507 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("White").Color) | |
508 | end | |
509 | if Type == "Knockdown" then | |
510 | local hum = hit.Parent.Humanoid | |
511 | hum.PlatformStand = true | |
512 | coroutine.resume(coroutine.create(function(HHumanoid) | |
513 | swait(1) | |
514 | HHumanoid.PlatformStand = false | |
515 | end), hum) | |
516 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
517 | local bodvol = Create("BodyVelocity"){ | |
518 | velocity = angle * knockback, | |
519 | P = 5000, | |
520 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
521 | Parent = hit, | |
522 | } | |
523 | local rl = Create("BodyAngularVelocity"){ | |
524 | P = 3000, | |
525 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
526 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
527 | Parent = hit, | |
528 | } | |
529 | game:GetService("Debris"):AddItem(bodvol, .5) | |
530 | game:GetService("Debris"):AddItem(rl, .5) | |
531 | elseif Type == "Normal" then | |
532 | local vp = Create("BodyVelocity"){ | |
533 | P = 500, | |
534 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
535 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
536 | } | |
537 | if knockback > 0 then | |
538 | vp.Parent = hit.Parent.Torso | |
539 | end | |
540 | game:GetService("Debris"):AddItem(vp, .5) | |
541 | elseif Type == "Up" then | |
542 | local bodyVelocity = Create("BodyVelocity"){ | |
543 | velocity = Vector3.new(0, 20, 0), | |
544 | P = 5000, | |
545 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
546 | Parent = hit, | |
547 | } | |
548 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
549 | elseif Type == "DarkUp" then | |
550 | coroutine.resume(coroutine.create(function() | |
551 | for i = 0, 1, 0.1 do | |
552 | swait() | |
553 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
554 | end | |
555 | end)) | |
556 | local bodyVelocity = Create("BodyVelocity"){ | |
557 | velocity = Vector3.new(0, 20, 0), | |
558 | P = 5000, | |
559 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
560 | Parent = hit, | |
561 | } | |
562 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
563 | elseif Type == "Snare" then | |
564 | local bp = Create("BodyPosition"){ | |
565 | P = 2000, | |
566 | D = 100, | |
567 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
568 | position = hit.Parent.Torso.Position, | |
569 | Parent = hit.Parent.Torso, | |
570 | } | |
571 | game:GetService("Debris"):AddItem(bp, 1) | |
572 | elseif Type == "Freeze" then | |
573 | local BodPos = Create("BodyPosition"){ | |
574 | P = 50000, | |
575 | D = 1000, | |
576 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
577 | position = hit.Parent.Torso.Position, | |
578 | Parent = hit.Parent.Torso, | |
579 | } | |
580 | local BodGy = Create("BodyGyro") { | |
581 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
582 | P = 20e+003, | |
583 | Parent = hit.Parent.Torso, | |
584 | cframe = hit.Parent.Torso.CFrame, | |
585 | } | |
586 | hit.Parent.Torso.Anchored = true | |
587 | coroutine.resume(coroutine.create(function(Part) | |
588 | swait(1.5) | |
589 | Part.Anchored = false | |
590 | end), hit.Parent.Torso) | |
591 | game:GetService("Debris"):AddItem(BodPos, 3) | |
592 | game:GetService("Debris"):AddItem(BodGy, 3) | |
593 | end | |
594 | local debounce = Create("BoolValue"){ | |
595 | Name = "DebounceHit", | |
596 | Parent = hit.Parent, | |
597 | Value = true, | |
598 | } | |
599 | game:GetService("Debris"):AddItem(debounce, Delay) | |
600 | c = Create("ObjectValue"){ | |
601 | Name = "creator", | |
602 | Value = Player, | |
603 | Parent = h, | |
604 | } | |
605 | game:GetService("Debris"):AddItem(c, .5) | |
606 | end | |
607 | end | |
608 | ||
609 | function ShowDamage(Pos, Text, Time, Color) | |
610 | local Rate = (1 / 30) | |
611 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
612 | local Text = (Text or "") | |
613 | local Time = (Time or 2) | |
614 | local Color = (Color or Color3.new(1, 0, 1)) | |
615 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
616 | EffectPart.Anchored = true | |
617 | local BillboardGui = Create("BillboardGui"){ | |
618 | Size = UDim2.new(3, 0, 3, 0), | |
619 | Adornee = EffectPart, | |
620 | Parent = EffectPart, | |
621 | } | |
622 | local TextLabel = Create("TextLabel"){ | |
623 | BackgroundTransparency = 1, | |
624 | Size = UDim2.new(1, 0, 1, 0), | |
625 | Text = Text, | |
626 | Font = "SciFi", | |
627 | TextColor3 = Color, | |
628 | TextScaled = true, | |
629 | Parent = BillboardGui, | |
630 | } | |
631 | game.Debris:AddItem(EffectPart, (Time)) | |
632 | EffectPart.Parent = game:GetService("Workspace") | |
633 | delay(0, function() | |
634 | local Frames = (Time / Rate) | |
635 | for Frame = 1, Frames do | |
636 | wait(Rate) | |
637 | local Percent = (Frame / Frames) | |
638 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
639 | TextLabel.TextTransparency = Percent | |
640 | end | |
641 | if EffectPart and EffectPart.Parent then | |
642 | EffectPart:Destroy() | |
643 | end | |
644 | end) | |
645 | end | |
646 | ||
647 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
648 | for _, c in pairs(workspace:children()) do | |
649 | local hum = c:findFirstChild("Humanoid") | |
650 | if hum ~= nil then | |
651 | local head = c:findFirstChild("Torso") | |
652 | if head ~= nil then | |
653 | local targ = head.Position - Part.Position | |
654 | local mag = targ.magnitude | |
655 | if mag <= Magnitude and c.Name ~= Player.Name then | |
656 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
657 | end | |
658 | end | |
659 | end | |
660 | end | |
661 | end | |
662 | ||
663 | EffectModel = Create("Model"){ | |
664 | Parent = Character, | |
665 | Name = "Effects", | |
666 | } | |
667 | warn'Press "F" to grow claws.' | |
668 | warn'Press "U" to Change Genders.' | |
669 | warn'Press "P" to end your life, I dare you.' | |
670 | Effects = { | |
671 | Block = { | |
672 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
673 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
674 | prt.Anchored = true | |
675 | prt.CFrame = cframe | |
676 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
677 | game:GetService("Debris"):AddItem(prt, 10) | |
678 | if Type == 1 or Type == nil then | |
679 | table.insert(Effects, { | |
680 | prt, | |
681 | "Block1", | |
682 | delay, | |
683 | x3, | |
684 | y3, | |
685 | z3, | |
686 | msh | |
687 | }) | |
688 | elseif Type == 2 then | |
689 | table.insert(Effects, { | |
690 | prt, | |
691 | "Block2", | |
692 | delay, | |
693 | x3, | |
694 | y3, | |
695 | z3, | |
696 | msh | |
697 | }) | |
698 | end | |
699 | end; | |
700 | }; | |
701 | ||
702 | Cylinder = { | |
703 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
704 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
705 | prt.Anchored = true | |
706 | prt.CFrame = cframe | |
707 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", 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 | Head = { | |
721 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
722 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
723 | prt.Anchored = true | |
724 | prt.CFrame = cframe | |
725 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
726 | game:GetService("Debris"):AddItem(prt, 10) | |
727 | table.insert(Effects, { | |
728 | prt, | |
729 | "Cylinder", | |
730 | delay, | |
731 | x3, | |
732 | y3, | |
733 | z3, | |
734 | msh | |
735 | }) | |
736 | end; | |
737 | }; | |
738 | ||
739 | Sphere = { | |
740 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
741 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
742 | prt.Anchored = true | |
743 | prt.CFrame = cframe | |
744 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
745 | game:GetService("Debris"):AddItem(prt, 10) | |
746 | table.insert(Effects, { | |
747 | prt, | |
748 | "Cylinder", | |
749 | delay, | |
750 | x3, | |
751 | y3, | |
752 | z3, | |
753 | msh | |
754 | }) | |
755 | end; | |
756 | }; | |
757 | ||
758 | Elect = { | |
759 | Create = function(cff, x, y, z) | |
760 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
761 | prt.Anchored = true | |
762 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
763 | prt.CFrame = CFrame.new(prt.Position) | |
764 | game:GetService("Debris"):AddItem(prt, 2) | |
765 | local xval = math.random() / 2 | |
766 | local yval = math.random() / 2 | |
767 | local zval = math.random() / 2 | |
768 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
769 | table.insert(Effects, { | |
770 | prt, | |
771 | "Elec", | |
772 | 0.1, | |
773 | x, | |
774 | y, | |
775 | z, | |
776 | xval, | |
777 | yval, | |
778 | zval | |
779 | }) | |
780 | end; | |
781 | ||
782 | }; | |
783 | ||
784 | Ring = { | |
785 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
786 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
787 | prt.Anchored = true | |
788 | prt.CFrame = cframe | |
789 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
790 | game:GetService("Debris"):AddItem(prt, 10) | |
791 | table.insert(Effects, { | |
792 | prt, | |
793 | "Cylinder", | |
794 | delay, | |
795 | x3, | |
796 | y3, | |
797 | z3, | |
798 | msh | |
799 | }) | |
800 | end; | |
801 | }; | |
802 | ||
803 | ||
804 | Wave = { | |
805 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
806 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
807 | prt.Anchored = true | |
808 | prt.CFrame = cframe | |
809 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
810 | game:GetService("Debris"):AddItem(prt, 10) | |
811 | table.insert(Effects, { | |
812 | prt, | |
813 | "Cylinder", | |
814 | delay, | |
815 | x3, | |
816 | y3, | |
817 | z3, | |
818 | msh | |
819 | }) | |
820 | end; | |
821 | }; | |
822 | ||
823 | Break = { | |
824 | Create = function(brickcolor, cframe, x1, y1, z1) | |
825 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
826 | prt.Anchored = true | |
827 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
828 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
829 | local num = math.random(10, 50) / 1000 | |
830 | game:GetService("Debris"):AddItem(prt, 10) | |
831 | table.insert(Effects, { | |
832 | prt, | |
833 | "Shatter", | |
834 | num, | |
835 | prt.CFrame, | |
836 | math.random() - math.random(), | |
837 | 0, | |
838 | math.random(50, 100) / 100 | |
839 | }) | |
840 | end; | |
841 | }; | |
842 | ||
843 | Fire = { | |
844 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
845 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
846 | prt.Anchored = true | |
847 | prt.CFrame = cframe | |
848 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
849 | game:GetService("Debris"):AddItem(prt, 10) | |
850 | table.insert(Effects, { | |
851 | prt, | |
852 | "Fire", | |
853 | delay, | |
854 | 1, | |
855 | 1, | |
856 | 1, | |
857 | msh | |
858 | }) | |
859 | end; | |
860 | }; | |
861 | ||
862 | FireWave = { | |
863 | Create = function(brickcolor, cframe, x1, y1, z1) | |
864 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new(.2,.2,.2)) | |
865 | prt.Anchored = true | |
866 | prt.CFrame = cframe | |
867 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
868 | local d = Create("Decal"){ | |
869 | Parent = prt, | |
870 | Texture = "rbxassetid://26356434", | |
871 | Face = "Top", | |
872 | } | |
873 | local d = Create("Decal"){ | |
874 | Parent = prt, | |
875 | Texture = "rbxassetid://26356434", | |
876 | Face = "Bottom", | |
877 | } | |
878 | game:GetService("Debris"):AddItem(prt, 10) | |
879 | table.insert(Effects, { | |
880 | prt, | |
881 | "FireWave", | |
882 | 1, | |
883 | 30, | |
884 | math.random(400, 600) / 100, | |
885 | msh | |
886 | }) | |
887 | end; | |
888 | }; | |
889 | ||
890 | Lightning = { | |
891 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
892 | local magz = (p0 - p1).magnitude | |
893 | local curpos = p0 | |
894 | local trz = { | |
895 | -ofs, | |
896 | ofs | |
897 | } | |
898 | for i = 1, tym do | |
899 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
900 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
901 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
902 | li.Material = "Neon" | |
903 | if tym == i then | |
904 | local magz2 = (curpos - p1).magnitude | |
905 | li.Size = Vector3.new(th, th, magz2) | |
906 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
907 | table.insert(Effects, { | |
908 | li, | |
909 | "Disappear", | |
910 | last | |
911 | }) | |
912 | else | |
913 | do | |
914 | do | |
915 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
916 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
917 | game.Debris:AddItem(li, 10) | |
918 | table.insert(Effects, { | |
919 | li, | |
920 | "Disappear", | |
921 | last | |
922 | }) | |
923 | end | |
924 | end | |
925 | end | |
926 | end | |
927 | end | |
928 | }; | |
929 | ||
930 | EffectTemplate = { | |
931 | ||
932 | }; | |
933 | } | |
934 | ||
935 | function attackone() | |
936 | attack = true | |
937 | local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
938 | for i = 0, .7, 0.1 do | |
939 | swait() | |
940 | PlayAnimationFromTable({ | |
941 | 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), | |
942 | 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), | |
943 | 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), | |
944 | 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), | |
945 | 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), | |
946 | 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), | |
947 | }, .3, false) | |
948 | end | |
949 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.2) | |
950 | for i = 0, .7, 0.1 do | |
951 | swait() | |
952 | PlayAnimationFromTable({ | |
953 | 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), | |
954 | 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), | |
955 | 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), | |
956 | 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), | |
957 | 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), | |
958 | 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), | |
959 | }, .3, false) | |
960 | end | |
961 | attack = false | |
962 | con:Disconnect() | |
963 | end | |
964 | function attacktwo() | |
965 | attack = true | |
966 | local con = C11.Touched:connect(function(hit) Damage(C11, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
967 | for i = 0, .7, 0.1 do | |
968 | swait() | |
969 | PlayAnimationFromTable({ | |
970 | 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), | |
971 | 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), | |
972 | 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), | |
973 | 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), | |
974 | 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), | |
975 | 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), | |
976 | }, .3, false) | |
977 | end | |
978 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.5) | |
979 | for i = 0, .7, 0.1 do | |
980 | swait() | |
981 | PlayAnimationFromTable({ | |
982 | 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), | |
983 | 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), | |
984 | 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), | |
985 | 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), | |
986 | 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), | |
987 | 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), | |
988 | }, .3, false) | |
989 | end | |
990 | attack = false | |
991 | con:Disconnect() | |
992 | end | |
993 | function attackthree() | |
994 | attack = true | |
995 | local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
996 | for i = 0, .7, 0.1 do | |
997 | swait() | |
998 | PlayAnimationFromTable({ | |
999 | 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), | |
1000 | 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), | |
1001 | 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), | |
1002 | 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), | |
1003 | 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), | |
1004 | 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), | |
1005 | }, .3, false) | |
1006 | end | |
1007 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.25) | |
1008 | for i = 0, .7, 0.1 do | |
1009 | swait() | |
1010 | PlayAnimationFromTable({ | |
1011 | 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), | |
1012 | 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), | |
1013 | 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), | |
1014 | 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), | |
1015 | 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), | |
1016 | 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), | |
1017 | }, .3, false) | |
1018 | end | |
1019 | attack = false | |
1020 | con:Disconnect() | |
1021 | end | |
1022 | function attackfour() | |
1023 | attack = true | |
1024 | local con1 = C11.Touched:connect(function(hit) Damage(C11, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
1025 | local con2 = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end) | |
1026 | for i = 0, .7, 0.1 do | |
1027 | swait() | |
1028 | PlayAnimationFromTable({ | |
1029 | 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), | |
1030 | 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), | |
1031 | 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), | |
1032 | 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), | |
1033 | 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), | |
1034 | 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), | |
1035 | }, .3, false) | |
1036 | end | |
1037 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.4) | |
1038 | for i = 1,2 do | |
1039 | for i = 0, .1, 0.1 do | |
1040 | swait() | |
1041 | PlayAnimationFromTable({ | |
1042 | 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), | |
1043 | 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), | |
1044 | 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), | |
1045 | 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), | |
1046 | 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), | |
1047 | 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), | |
1048 | }, .3, false) | |
1049 | end | |
1050 | for i = 0, .1, 0.1 do | |
1051 | swait() | |
1052 | PlayAnimationFromTable({ | |
1053 | 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), | |
1054 | 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), | |
1055 | 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), | |
1056 | 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), | |
1057 | 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), | |
1058 | 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), | |
1059 | }, .3, false) | |
1060 | end | |
1061 | for i = 0, .1, 0.1 do | |
1062 | swait() | |
1063 | PlayAnimationFromTable({ | |
1064 | 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), | |
1065 | 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), | |
1066 | 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), | |
1067 | 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), | |
1068 | 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), | |
1069 | 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), | |
1070 | }, .3, false) | |
1071 | end | |
1072 | for i = 0, .1, 0.1 do | |
1073 | swait() | |
1074 | PlayAnimationFromTable({ | |
1075 | 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), | |
1076 | 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), | |
1077 | 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), | |
1078 | 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), | |
1079 | 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), | |
1080 | 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), | |
1081 | }, .3, false) | |
1082 | end | |
1083 | ||
1084 | end | |
1085 | attack = false | |
1086 | con1:Disconnect() | |
1087 | con2:Disconnect() | |
1088 | end | |
1089 | function OwO() | |
1090 | attack = true | |
1091 | for i = 0, 1, 0.1 do | |
1092 | swait() | |
1093 | PlayAnimationFromTable({ | |
1094 | 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), | |
1095 | 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), | |
1096 | 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), | |
1097 | 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), | |
1098 | 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), | |
1099 | 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), | |
1100 | }, .3, false) | |
1101 | 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) | |
1102 | end | |
1103 | if Gender == 1 then | |
1104 | for _,v in pairs(stick:children()) do | |
1105 | if v:IsA("Part") then | |
1106 | v.Transparency = 0 | |
1107 | end | |
1108 | for _,v in pairs(Knot:children()) do | |
1109 | if v:IsA("Part") then | |
1110 | v.Transparency = 0 | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | Effects.Sphere.Create(BrickColor.new("White"), Handle.CFrame * CFrame.new(0,0,-1), 3, 3, 8, 1, 1, 1, 0.06) | |
1115 | elseif Gender == 2 then | |
1116 | hide = true | |
1117 | faic.Texture = "rbxassetid://732914906" | |
1118 | for _,v in pairs(Milk:children()) do | |
1119 | if v:IsA("Part") then | |
1120 | v.Transparency = 0 | |
1121 | end | |
1122 | for _,v in pairs(Biggi:children()) do | |
1123 | if v:IsA("Part") then | |
1124 | v.Transparency = 0 | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | Effects.Sphere.Create(BrickColor.new("White"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1129 | end | |
1130 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1131 | for i = 0, 1, 0.1 do | |
1132 | swait() | |
1133 | PlayAnimationFromTable({ | |
1134 | 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), | |
1135 | 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), | |
1136 | 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), | |
1137 | 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), | |
1138 | 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), | |
1139 | 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), | |
1140 | }, .3, false) | |
1141 | 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) | |
1142 | end | |
1143 | oml = true | |
1144 | attack = false | |
1145 | end | |
1146 | ||
1147 | function UwU() | |
1148 | if Gender == 1 then | |
1149 | for _,v in pairs(stick:children()) do | |
1150 | if v:IsA("Part") then | |
1151 | v.Transparency = 1 | |
1152 | end | |
1153 | for _,v in pairs(Knot:children()) do | |
1154 | if v:IsA("Part") then | |
1155 | v.Transparency = 1 | |
1156 | end | |
1157 | end | |
1158 | end | |
1159 | Effects.Sphere.Create(BrickColor.new("White"), Handle.CFrame * CFrame.new(0,0,-1), 3, 3, 8, 1, 1, 1, 0.06) | |
1160 | elseif Gender == 2 then | |
1161 | faic.Texture = "rbxassetid://648887959" | |
1162 | for _,v in pairs(Milk:children()) do | |
1163 | if v:IsA("Part") then | |
1164 | v.Transparency = 1 | |
1165 | end | |
1166 | for _,v in pairs(Biggi:children()) do | |
1167 | if v:IsA("Part") then | |
1168 | v.Transparency = 1 | |
1169 | end | |
1170 | end | |
1171 | end | |
1172 | Effects.Sphere.Create(BrickColor.new("White"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1173 | end | |
1174 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, .6) | |
1175 | oml = false | |
1176 | hide = false | |
1177 | end | |
1178 | --actually by salvo | |
1179 | function Grow() | |
1180 | attack = true | |
1181 | Humanoid.WalkSpeed = 0 | |
1182 | Humanoid.JumpPower = 0 | |
1183 | for i = 0, 1, 0.1 do | |
1184 | swait() | |
1185 | PlayAnimationFromTable({ | |
1186 | 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), | |
1187 | 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), | |
1188 | 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), | |
1189 | 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), | |
1190 | 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), | |
1191 | 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), | |
1192 | }, .3, false) | |
1193 | 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) | |
1194 | end | |
1195 | Mesh11.Scale = Vector3.new(1,1,1) | |
1196 | Mesh22.Scale = Vector3.new(1,1,1) | |
1197 | for i = 0, 1, 0.1 do | |
1198 | swait() | |
1199 | PlayAnimationFromTable({ | |
1200 | 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), | |
1201 | 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), | |
1202 | 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), | |
1203 | 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), | |
1204 | 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), | |
1205 | 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), | |
1206 | }, .3, false) | |
1207 | 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) | |
1208 | 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) | |
1209 | 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) | |
1210 | end | |
1211 | Equipped = true | |
1212 | attack = false | |
1213 | Humanoid.WalkSpeed = 16 | |
1214 | Humanoid.JumpPower = 50 | |
1215 | end | |
1216 | function UnGrow() | |
1217 | attack = true | |
1218 | Humanoid.WalkSpeed = 0 | |
1219 | Humanoid.JumpPower = 0 | |
1220 | for i = 0, 1, 0.1 do | |
1221 | swait() | |
1222 | PlayAnimationFromTable({ | |
1223 | 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), | |
1224 | 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), | |
1225 | 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), | |
1226 | 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), | |
1227 | 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), | |
1228 | 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), | |
1229 | }, .3, false) | |
1230 | 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) | |
1231 | 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) | |
1232 | 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) | |
1233 | end | |
1234 | Equipped = false | |
1235 | attack = false | |
1236 | Mesh11.Scale = Vector3.new(1,1,.2) | |
1237 | Mesh22.Scale = Vector3.new(1,1,.2) | |
1238 | Humanoid.WalkSpeed = 16 | |
1239 | Humanoid.JumpPower = 50 | |
1240 | end | |
1241 | local sit = false | |
1242 | function Sit() | |
1243 | attack = true | |
1244 | Humanoid.WalkSpeed = 0 | |
1245 | Humanoid.JumpPower = 0 | |
1246 | sit = true | |
1247 | repeat | |
1248 | swait() | |
1249 | PlayAnimationFromTable({ | |
1250 | 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), | |
1251 | 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), | |
1252 | 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), | |
1253 | 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), | |
1254 | 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), | |
1255 | 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), | |
1256 | }, .1, false) | |
1257 | until attack == false | |
1258 | end | |
1259 | function Sit2() | |
1260 | attack = true | |
1261 | Humanoid.WalkSpeed = 0 | |
1262 | Humanoid.JumpPower = 0 | |
1263 | sit = true | |
1264 | repeat | |
1265 | swait() | |
1266 | PlayAnimationFromTable({ | |
1267 | 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), | |
1268 | 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), | |
1269 | 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), | |
1270 | 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), | |
1271 | 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), | |
1272 | 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), | |
1273 | }, .1, false) | |
1274 | 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) | |
1275 | until attack == false | |
1276 | end | |
1277 | function Lay() | |
1278 | attack = true | |
1279 | Humanoid.WalkSpeed = 0 | |
1280 | Humanoid.JumpPower = 0 | |
1281 | sit = true | |
1282 | repeat | |
1283 | swait() | |
1284 | PlayAnimationFromTable({ | |
1285 | 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), | |
1286 | 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), | |
1287 | 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), | |
1288 | 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), | |
1289 | 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), | |
1290 | 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), | |
1291 | }, .1, false) | |
1292 | 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) | |
1293 | until attack == false | |
1294 | end | |
1295 | function ChangeGender() | |
1296 | if Gender == 1 then | |
1297 | Gender = 2 | |
1298 | faic.Transparency = 0 | |
1299 | Head.face.Transparency = 1 | |
1300 | Hair.Transparency = 1 | |
1301 | Hai.Transparency = 0 | |
1302 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1303 | Effects.Sphere.Create(BrickColor.new("White"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1304 | elseif Gender == 2 then | |
1305 | Gender = 1 | |
1306 | faic.Transparency = 1 | |
1307 | Head.face.Transparency = 0 | |
1308 | Hair.Transparency = 0 | |
1309 | Hai.Transparency = 1 | |
1310 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138079095", Torso, 2, 1) | |
1311 | Effects.Sphere.Create(BrickColor.new("White"), Torso.CFrame, 22, 22, 22, 1.5, 1.5, 1.5, 0.06) | |
1312 | ||
1313 | end | |
1314 | end | |
1315 | ||
1316 | Mouse.Button1Down:connect(function() | |
1317 | if attack == false and Equipped == true and attacktype == 1 then | |
1318 | attacktype = 2 | |
1319 | attackone() | |
1320 | elseif attack == false and Equipped == true and attacktype == 2 then | |
1321 | attacktype = 3 | |
1322 | attacktwo() | |
1323 | elseif attack == false and Equipped == true and attacktype == 3 then | |
1324 | attacktype = 4 | |
1325 | attackthree() | |
1326 | elseif attack == false and Equipped == true and attacktype == 4 then | |
1327 | attacktype = 1 | |
1328 | attackfour() | |
1329 | ||
1330 | end | |
1331 | end) | |
1332 | ||
1333 | Mouse.KeyDown:connect(function(k) | |
1334 | k = k:lower() | |
1335 | if attack == false and k == 'p' and oml == false and Equipped == false then | |
1336 | OwO() | |
1337 | elseif attack == false and k == 'p' and oml == true and Equipped == false then | |
1338 | UwU() | |
1339 | elseif attack == false and k == 'f' and oml == false and Equipped == false then | |
1340 | Grow() | |
1341 | elseif attack == false and k == 'f' and oml == false and Equipped == true then | |
1342 | UnGrow() | |
1343 | elseif attack == false and k == 'z' and sit == false and Equipped == false then | |
1344 | Sit() | |
1345 | elseif attack == false and k == 'x' and sit == false and Equipped == false then | |
1346 | Sit2() | |
1347 | elseif attack == false and k == 'c' and sit == false and Equipped == false then | |
1348 | Lay() | |
1349 | elseif attack == false and k == 'u' and oml == false then | |
1350 | ChangeGender() | |
1351 | elseif attack == false and k == 'u' and oml == true and hide == true then | |
1352 | hide = false | |
1353 | elseif attack == false and k == 'u' and oml == true and hide == false then | |
1354 | hide = true | |
1355 | elseif sit == true and k == 'w' then | |
1356 | attack = false | |
1357 | sit = false | |
1358 | Humanoid.WalkSpeed = 16 | |
1359 | Humanoid.JumpPower = 50 | |
1360 | end | |
1361 | end) | |
1362 | ||
1363 | while true do | |
1364 | swait() | |
1365 | for i, v in pairs(Character:GetChildren()) do | |
1366 | if v:IsA("Part") then | |
1367 | v.Material = "SmoothPlastic" | |
1368 | elseif v:IsA("Accessory") then | |
1369 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1370 | end | |
1371 | end | |
1372 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1373 | velocity = RootPart.Velocity.y | |
1374 | sine = sine + change | |
1375 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
1376 | if RootPart.Velocity.y > 1 and hit == nil then | |
1377 | Anim = "Jump" | |
1378 | if attack == false then | |
1379 | PlayAnimationFromTable({ | |
1380 | 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), | |
1381 | 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), | |
1382 | 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), | |
1383 | 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), | |
1384 | 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), | |
1385 | 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), | |
1386 | }, .3, false) | |
1387 | 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) | |
1388 | end | |
1389 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
1390 | Anim = "Fall" | |
1391 | if attack == false then | |
1392 | PlayAnimationFromTable({ | |
1393 | 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), | |
1394 | 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), | |
1395 | 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), | |
1396 | 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), | |
1397 | 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), | |
1398 | 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), | |
1399 | }, .3, false) | |
1400 | 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) | |
1401 | end | |
1402 | elseif Torsovelocity < 1 and hit ~= nil then | |
1403 | Anim = "Idle" | |
1404 | if attack == false then | |
1405 | change = 1 | |
1406 | if hide == false then | |
1407 | PlayAnimationFromTable({ | |
1408 | 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), | |
1409 | 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), | |
1410 | 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))), | |
1411 | 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))), | |
1412 | 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), | |
1413 | 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), | |
1414 | }, .3, false) | |
1415 | 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) | |
1416 | else | |
1417 | PlayAnimationFromTable({ | |
1418 | 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), | |
1419 | 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), | |
1420 | 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), | |
1421 | 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), | |
1422 | 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), | |
1423 | 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), | |
1424 | }, .3, false) | |
1425 | end | |
1426 | end | |
1427 | elseif Torsovelocity > 2 and hit ~= nil then | |
1428 | Anim = "Walk" | |
1429 | if attack == false then | |
1430 | PlayAnimationFromTable({ | |
1431 | 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), | |
1432 | 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), | |
1433 | 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), | |
1434 | 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), | |
1435 | 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), | |
1436 | 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), | |
1437 | }, .3, false) | |
1438 | 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) | |
1439 | end | |
1440 | end | |
1441 | if 0 < #Effects then | |
1442 | for e = 1, #Effects do | |
1443 | if Effects[e] ~= nil then | |
1444 | local Thing = Effects[e] | |
1445 | if Thing ~= nil then | |
1446 | local Part = Thing[1] | |
1447 | local Mode = Thing[2] | |
1448 | local Delay = Thing[3] | |
1449 | local IncX = Thing[4] | |
1450 | local IncY = Thing[5] | |
1451 | local IncZ = Thing[6] | |
1452 | if Thing[2] == "Shoot" then | |
1453 | local Look = Thing[1] | |
1454 | local move = 30 | |
1455 | if Thing[8] == 3 then | |
1456 | move = 10 | |
1457 | end | |
1458 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
1459 | if Thing[10] ~= nil then | |
1460 | da = pos | |
1461 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
1462 | cfa = CFrame.new(Thing[4], pos) | |
1463 | tehCF = cfa:lerp(cf2, 0.2) | |
1464 | Thing[1] = tehCF.lookVector | |
1465 | end | |
1466 | local mag = (Thing[4] - pos).magnitude | |
1467 | 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) | |
1468 | if Thing[8] == 2 then | |
1469 | 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) | |
1470 | end | |
1471 | Thing[4] = Thing[4] + Look * move | |
1472 | Thing[3] = Thing[3] - 1 | |
1473 | if 2 < Thing[5] then | |
1474 | Thing[5] = Thing[5] - 0.3 | |
1475 | Thing[6] = Thing[6] - 0.3 | |
1476 | end | |
1477 | if hit ~= nil then | |
1478 | Thing[3] = 0 | |
1479 | if Thing[8] == 1 or Thing[8] == 3 then | |
1480 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1481 | else | |
1482 | if Thing[8] == 2 then | |
1483 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
1484 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
1485 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(.2,.2,.2)) | |
1486 | ref.Anchored = true | |
1487 | ref.CFrame = CFrame.new(pos) | |
1488 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
1489 | game:GetService("Debris"):AddItem(ref, 0.2) | |
1490 | 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) | |
1491 | 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) | |
1492 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
1493 | end | |
1494 | end | |
1495 | end | |
1496 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(.2,.2,.2)) | |
1497 | ref.Anchored = true | |
1498 | ref.CFrame = CFrame.new(pos) | |
1499 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
1500 | game:GetService("Debris"):AddItem(ref, 1) | |
1501 | end | |
1502 | if Thing[3] <= 0 then | |
1503 | table.remove(Effects, e) | |
1504 | end | |
1505 | end | |
1506 | do | |
1507 | do | |
1508 | if Thing[2] == "FireWave" then | |
1509 | if Thing[3] <= Thing[4] then | |
1510 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
1511 | Thing[3] = Thing[3] + 1 | |
1512 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
1513 | else | |
1514 | Part.Parent = nil | |
1515 | table.remove(Effects, e) | |
1516 | end | |
1517 | end | |
1518 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
1519 | if Thing[1].Transparency <= 1 then | |
1520 | if Thing[2] == "Block1" then | |
1521 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1522 | Mesh = Thing[7] | |
1523 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1524 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1525 | else | |
1526 | if Thing[2] == "Block2" then | |
1527 | Thing[1].CFrame = Thing[1].CFrame | |
1528 | Mesh = Thing[7] | |
1529 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1530 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1531 | else | |
1532 | if Thing[2] == "Fire" then | |
1533 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
1534 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1535 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1536 | else | |
1537 | if Thing[2] == "Cylinder" then | |
1538 | Mesh = Thing[7] | |
1539 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1540 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1541 | else | |
1542 | if Thing[2] == "Blood" then | |
1543 | Mesh = Thing[7] | |
1544 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
1545 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1546 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1547 | else | |
1548 | if Thing[2] == "Elec" then | |
1549 | Mesh = Thing[10] | |
1550 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1551 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1552 | else | |
1553 | if Thing[2] == "Disappear" then | |
1554 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1555 | else | |
1556 | if Thing[2] == "Shatter" then | |
1557 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1558 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1559 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1560 | Thing[6] = Thing[6] + Thing[5] | |
1561 | end | |
1562 | end | |
1563 | end | |
1564 | end | |
1565 | end | |
1566 | end | |
1567 | end | |
1568 | end | |
1569 | else | |
1570 | Part.Parent = nil | |
1571 | table.remove(Effects, e) | |
1572 | end | |
1573 | end | |
1574 | end | |
1575 | end | |
1576 | end | |
1577 | end | |
1578 | end | |
1579 | end | |
1580 | end | |
1581 | -- I hate you. ~Someone |