SHOW:
|
|
- or go back to the newest paste.
1 | - | ScreenGui = Instance.new("ScreenGui") |
1 | + | local Instances = {}; |
2 | - | main = Instance.new("ScrollingFrame") |
2 | + | local Instance_bak = Instance; |
3 | - | TextLabel = Instance.new("TextLabel") |
3 | + | local Instance = {}; |
4 | - | Grabv3 = Instance.new("TextButton") |
4 | + | Instance.new = function(...) |
5 | - | Escape = Instance.new("TextButton") |
5 | + | local o = Instance_bak.new(...); |
6 | - | KillOthers = Instance.new("TextButton") |
6 | + | |
7 | - | Baseball = Instance.new("TextButton") |
7 | + | table.insert(Instances, o); |
8 | - | Chicken = Instance.new("TextButton") |
8 | + | |
9 | - | GuardTeam = Instance.new("TextButton") |
9 | + | return o; |
10 | - | PrisonTeam = Instance.new("TextButton") |
10 | + | end; |
11 | - | NeaTeam = Instance.new("TextButton") |
11 | + | |
12 | - | Arrest = Instance.new("TextButton") |
12 | + | Instance.clear = function() |
13 | for _, o in next, Instances do | |
14 | - | ScreenGui.Parent = game.CoreGui |
14 | + | o:Destroy(); |
15 | end; | |
16 | - | main.Name = "main" |
16 | + | end; |
17 | - | main.Parent = ScreenGui |
17 | + | |
18 | - | main.BackgroundColor3 = Color3.new(0, 0.615686, 1) |
18 | + | function start() |
19 | - | main.BorderSizePixel = 0 |
19 | + | Instance.clear(); |
20 | - | main.Position = UDim2.new(0.837173581, 0, 0.618593574, 0) |
20 | + | |
21 | - | main.Size = UDim2.new(0, 194, 0, 225) |
21 | + | math.randomseed(tick()) |
22 | - | main.CanvasPosition = Vector2.new(0, 168.75) |
22 | + | |
23 | - | main.Active = true |
23 | + | local player = game.Players.LocalPlayer |
24 | - | main.Draggable = true |
24 | + | local rekt = {} |
25 | local paralyzed = false | |
26 | - | TextLabel.Parent = main |
26 | + | local curpoint = nil |
27 | - | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
27 | + | local curpart = nil |
28 | - | TextLabel.BackgroundTransparency = 1 |
28 | + | local finishnum = 1 |
29 | - | TextLabel.Size = UDim2.new(0, 179, 0, 50) |
29 | + | local zombiemode = false |
30 | - | TextLabel.Font = Enum.Font.Cartoon |
30 | + | local zombies = {} |
31 | - | TextLabel.FontSize = Enum.FontSize.Size28 |
31 | + | local lastgui = nil |
32 | - | TextLabel.Text = " PrisonHax" |
32 | + | local mouse = player:GetMouse() |
33 | - | TextLabel.TextColor3 = Color3.new(1, 1, 1) |
33 | + | |
34 | - | TextLabel.TextSize = 25 |
34 | + | |
35 | - | TextLabel.TextStrokeTransparency = 0 |
35 | + | local restart; |
36 | ||
37 | - | Grabv3.Name = "Grabv3" |
37 | + | restart = player.CharacterAdded:Connect(function() |
38 | - | Grabv3.Parent = main |
38 | + | restart:Disconnect(); |
39 | - | Grabv3.BackgroundColor3 = Color3.new(0.113725, 0.733333, 1) |
39 | + | start(); |
40 | - | Grabv3.BorderColor3 = Color3.new(0.0941177, 0.627451, 0.854902) |
40 | + | end); |
41 | - | Grabv3.BorderSizePixel = 2 |
41 | + | |
42 | - | Grabv3.Position = UDim2.new(0.0979381427, 0, 0.0297973771, 0) |
42 | + | function getplr(char) |
43 | - | Grabv3.Size = UDim2.new(0, 156, 0, 46) |
43 | + | local plr = nil |
44 | - | Grabv3.Font = Enum.Font.Cartoon |
44 | + | for i,v in pairs(game.Players:GetChildren()) do |
45 | - | Grabv3.FontSize = Enum.FontSize.Size24 |
45 | + | if v.Character == char then |
46 | - | Grabv3.Text = "GrabKnife V3" |
46 | + | plr = v |
47 | - | Grabv3.TextColor3 = Color3.new(1, 1, 1) |
47 | + | |
48 | - | Grabv3.TextSize = 20 |
48 | + | |
49 | - | Grabv3.TextStrokeTransparency = 0 |
49 | + | return plr |
50 | - | Grabv3.MouseButton1Down:connect(function() |
50 | + | |
51 | - | wait(0.5) |
51 | + | |
52 | - | math.randomseed(tick()) |
52 | + | function bleed(frick) |
53 | - | local player = game.Players.LocalPlayer |
53 | + | while frick.Parent ~= nil do |
54 | - | local rekt = {} |
54 | + | local reeee = coroutine.wrap(function() |
55 | - | local paralyzed = false |
55 | + | local thing = Instance.new('Part',game.Workspace) |
56 | - | local curpoint = nil |
56 | + | thing.Size = Vector3.new(0.2,0.2,0.2) |
57 | - | local curpart = nil |
57 | + | thing.CFrame = frick.CFrame |
58 | - | local finishnum = 1 |
58 | + | thing.Shape = Enum.PartType.Ball |
59 | - | local zombiemode = false |
59 | + | thing.CFrame = frick.CFrame |
60 | - | local zombies = {} |
60 | + | thing.Transparency = 1 |
61 | - | local lastgui = nil |
61 | + | thing.BrickColor = BrickColor.new('Maroon') |
62 | - | local mouse = player:GetMouse() |
62 | + | thing.Material = Enum.Material.SmoothPlastic |
63 | thing.Name = "Blood" | |
64 | - | function getplr(char) |
64 | + | thing.CanCollide =false |
65 | - | local plr = nil |
65 | + | local rawrxd = Instance.new('BodyForce',thing) |
66 | - | for i,v in pairs(game.Players:GetChildren()) do |
66 | + | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) |
67 | - | if v.Character == char then |
67 | + | |
68 | - | plr = v |
68 | + | |
69 | rawrxd:Destroy() | |
70 | end) | |
71 | - | return plr |
71 | + | |
72 | - | end |
72 | + | local ree = Instance.new('ParticleEmitter',thing) |
73 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) | |
74 | - | function bleed(frick) |
74 | + | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) |
75 | - | while frick.Parent ~= nil do |
75 | + | ree.Texture = 'rbxassetid://867743272' |
76 | - | local reeee = coroutine.wrap(function() |
76 | + | ree.Lifetime = NumberRange.new(0.4) |
77 | - | local thing = Instance.new('Part',game.Workspace) |
77 | + | ree.Rate = 50 |
78 | - | thing.Size = Vector3.new(0.2,0.2,0.2) |
78 | + | ree.LockedToPart = true |
79 | - | thing.CFrame = frick.CFrame |
79 | + | ree.Speed = NumberRange.new(0, 2) |
80 | - | thing.Shape = Enum.PartType.Ball |
80 | + | |
81 | - | thing.CFrame = frick.CFrame |
81 | + | thing.Touched:connect(function(tou) |
82 | - | thing.Transparency = 1 |
82 | + | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then |
83 | - | thing.BrickColor = BrickColor.new('Maroon') |
83 | + | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) |
84 | - | thing.Material = Enum.Material.SmoothPlastic |
84 | + | thing:Destroy() |
85 | - | thing.Name = "Blood" |
85 | + | if tou.Name == "BloodPuddle" then |
86 | - | thing.CanCollide =false |
86 | + | local reee = tou.CFrame |
87 | - | local rawrxd = Instance.new('BodyForce',thing) |
87 | + | if tou.Transparency > -0.2 then |
88 | - | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) |
88 | + | tou.Transparency = tou.Transparency -0.1 |
89 | - | local coru = coroutine.wrap(function() |
89 | + | |
90 | if tou.Size.X < 10 then | |
91 | - | rawrxd:Destroy() |
91 | + | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) |
92 | tou.CFrame = reee | |
93 | end | |
94 | - | local ree = Instance.new('ParticleEmitter',thing) |
94 | + | |
95 | - | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) |
95 | + | local bloodlol = Instance.new('Part',workspace) |
96 | - | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) |
96 | + | bloodlol.Size=Vector3.new(1,0.2,1) |
97 | - | ree.Texture = 'rbxassetid://867743272' |
97 | + | bloodlol.Name = "BloodPuddle" |
98 | - | ree.Lifetime = NumberRange.new(0.4) |
98 | + | bloodlol.Anchored = true |
99 | - | ree.Rate = 50 |
99 | + | bloodlol.CanCollide = false |
100 | - | ree.LockedToPart = true |
100 | + | bloodlol.Material = Enum.Material.SmoothPlastic |
101 | - | ree.Speed = NumberRange.new(0, 2) |
101 | + | bloodlol.BrickColor = BrickColor.new('Maroon') |
102 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
103 | - | thing.Touched:connect(function(tou) |
103 | + | cyl.Scale = Vector3.new(1,0.1,1) |
104 | - | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then |
104 | + | bloodlol.CFrame = CFrame.new(pos) |
105 | - | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) |
105 | + | local coru=coroutine.wrap(function() |
106 | while bloodlol.Parent ~= nil do | |
107 | - | if tou.Name == "BloodPuddle" then |
107 | + | if bloodlol.Transparency < 1 then |
108 | - | local reee = tou.CFrame |
108 | + | bloodlol.Transparency = bloodlol.Transparency+0.05 |
109 | - | if tou.Transparency > -0.2 then |
109 | + | |
110 | - | tou.Transparency = tou.Transparency -0.1 |
110 | + | bloodlol:Destroy() |
111 | end | |
112 | - | if tou.Size.X < 10 then |
112 | + | wait(0.1) |
113 | - | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) |
113 | + | |
114 | - | tou.CFrame = reee |
114 | + | |
115 | coru() | |
116 | end | |
117 | - | local bloodlol = Instance.new('Part',workspace) |
117 | + | |
118 | - | bloodlol.Size=Vector3.new(1,0.2,1) |
118 | + | |
119 | - | bloodlol.Name = "BloodPuddle" |
119 | + | |
120 | - | bloodlol.Anchored = true |
120 | + | |
121 | - | bloodlol.CanCollide = false |
121 | + | |
122 | - | bloodlol.Material = Enum.Material.SmoothPlastic |
122 | + | |
123 | - | bloodlol.BrickColor = BrickColor.new('Maroon') |
123 | + | |
124 | - | local cyl = Instance.new('CylinderMesh',bloodlol) |
124 | + | |
125 | - | cyl.Scale = Vector3.new(1,0.1,1) |
125 | + | reeee() |
126 | - | bloodlol.CFrame = CFrame.new(pos) |
126 | + | |
127 | end | |
128 | - | while bloodlol.Parent ~= nil do |
128 | + | |
129 | - | if bloodlol.Transparency < 1 then |
129 | + | |
130 | - | bloodlol.Transparency = bloodlol.Transparency+0.05 |
130 | + | function killz(playa,hitz,kneef,explode,pool,head,charred,override) |
131 | - | else |
131 | + | local soundy = false |
132 | - | bloodlol:Destroy() |
132 | + | local heyy = hitz |
133 | if hitz == "Right Arm" then | |
134 | - | wait(0.1) |
134 | + | |
135 | local ters = playa:FindFirstChild('Torso') | |
136 | if Limb and ters then | |
137 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end | |
138 | for i,v in pairs(Limb:GetChildren()) do | |
139 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
140 | v:Destroy() | |
141 | - | local coru = coroutine.wrap(function() |
141 | + | |
142 | end | |
143 | - | thing:Destroy() |
143 | + | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) |
144 | local Joint = Instance.new("Rotate") | |
145 | Joint.Name = "RightShoulder" | |
146 | Joint.Part0 = ters | |
147 | - | reeee() |
147 | + | Joint.Part1 = Limb |
148 | - | wait() |
148 | + | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
149 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
150 | - | end |
150 | + | Joint.Parent = ters |
151 | if charred and zombiemode == false then | |
152 | - | function killz(playa,hitz,kneef,explode,pool,head,charred,override) |
152 | + | Limb.BrickColor = BrickColor.new('Black') |
153 | - | local soundy = false |
153 | + | local fire = Instance.new('Fire',Limb) |
154 | - | local heyy = hitz |
154 | + | |
155 | - | if hitz == "Right Arm" then |
155 | + | |
156 | - | local Limb = playa:FindFirstChild("Right Arm") |
156 | + | game:GetService('Debris'):AddItem(fire,2) |
157 | - | local ters = playa:FindFirstChild('Torso') |
157 | + | local coru=coroutine.wrap(function() |
158 | - | if Limb and ters then |
158 | + | |
159 | - | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end |
159 | + | for i,v in pairs(Limb:GetChildren()) do |
160 | - | for i,v in pairs(Limb:GetChildren()) do |
160 | + | if v:IsA('ParticleEmitter') then |
161 | - | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then |
161 | + | v:Destroy() |
162 | - | v:Destroy() |
162 | + | |
163 | end | |
164 | end) | |
165 | - | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) |
165 | + | |
166 | - | local Joint = Instance.new("Rotate") |
166 | + | |
167 | - | Joint.Name = "RightShoulder" |
167 | + | local B = Instance.new("Part") |
168 | - | Joint.Part0 = ters |
168 | + | B.TopSurface = 0 |
169 | - | Joint.Part1 = Limb |
169 | + | B.BottomSurface = 0 |
170 | - | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
170 | + | B.formFactor = "Symmetric" |
171 | - | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
171 | + | B.Size = Vector3.new(1, 1, 1) |
172 | - | Joint.Parent = ters |
172 | + | B.Transparency = 1 |
173 | - | if charred and zombiemode == false then |
173 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
174 | - | Limb.BrickColor = BrickColor.new('Black') |
174 | + | B.Parent = playa |
175 | - | local fire = Instance.new('Fire',Limb) |
175 | + | local W = Instance.new("Weld") |
176 | - | fire.Heat = 5 |
176 | + | W.Part0 = Limb |
177 | - | fire.Size = 5 |
177 | + | W.Part1 = B |
178 | - | game:GetService('Debris'):AddItem(fire,2) |
178 | + | W.C0 = CFrame.new(0, -0.5, 0) |
179 | W.Parent = Limb | |
180 | if kneef then | |
181 | - | for i,v in pairs(Limb:GetChildren()) do |
181 | + | |
182 | - | if v:IsA('ParticleEmitter') then |
182 | + | |
183 | - | v:Destroy() |
183 | + | local dos = Instance.new('Part',workspace) |
184 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
185 | dos.CFrame = kneef["big ass knife"].CFrame | |
186 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
187 | weld.Part0 = playa:FindFirstChild(hitz) | |
188 | weld.Part1 = kneef["big ass knife"] | |
189 | - | local B = Instance.new("Part") |
189 | + | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
190 | - | B.TopSurface = 0 |
190 | + | uno:Destroy() |
191 | - | B.BottomSurface = 0 |
191 | + | dos:Destroy() |
192 | - | B.formFactor = "Symmetric" |
192 | + | playa:FindFirstChild(hitz).Anchored = false |
193 | - | B.Size = Vector3.new(1, 1, 1) |
193 | + | for i, v in pairs(kneef:GetChildren()) do |
194 | - | B.Transparency = 1 |
194 | + | if v:IsA('BasePart') then |
195 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
195 | + | v.Anchored = false |
196 | - | B.Parent = playa |
196 | + | |
197 | - | local W = Instance.new("Weld") |
197 | + | |
198 | - | W.Part0 = Limb |
198 | + | if zombiemode == false or override then |
199 | - | W.Part1 = B |
199 | + | wait() |
200 | - | W.C0 = CFrame.new(0, -0.5, 0) |
200 | + | |
201 | - | W.Parent = Limb |
201 | + | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
202 | - | if kneef then |
202 | + | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
203 | end | |
204 | - | local uno = Instance.new('Part',workspace) |
204 | + | local bleedpart = Instance.new("Part", kneef) |
205 | bleedpart.CanCollide = false | |
206 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
207 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
208 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
209 | bleedpart.Transparency = 1 | |
210 | ||
211 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
212 | bleedpartweld.Part0 = kneef["big ass knife"] | |
213 | bleedpartweld.Part1 = bleedpart | |
214 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
215 | local coru = coroutine.wrap(function() | |
216 | bleed(bleedpart) | |
217 | end) | |
218 | coru() | |
219 | game:GetService('Debris'):AddItem(bleedpart,2) | |
220 | - | if zombiemode == false or override then |
220 | + | |
221 | coru() | |
222 | end | |
223 | - | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
223 | + | end |
224 | - | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
224 | + | elseif hitz == "Left Arm" then |
225 | local Limb = playa:FindFirstChild("Left Arm") | |
226 | - | local bleedpart = Instance.new("Part", kneef) |
226 | + | local ters = playa:FindFirstChild('Torso') |
227 | if Limb and ters then | |
228 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end | |
229 | - | bleedpart.CFrame = kneef["big ass knife"].CFrame |
229 | + | for i,v in pairs(Limb:GetChildren()) do |
230 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
231 | v:Destroy() | |
232 | end | |
233 | - | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
233 | + | |
234 | - | bleedpartweld.Part0 = kneef["big ass knife"] |
234 | + | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) |
235 | local Joint = Instance.new("Rotate") | |
236 | - | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
236 | + | Joint.Name = "LeftShoulder" |
237 | Joint.Part0 = ters | |
238 | Joint.Part1 = Limb | |
239 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
240 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
241 | - | game:GetService('Debris'):AddItem(bleedpart,2) |
241 | + | Joint.Parent = ters |
242 | if charred and zombiemode == false then | |
243 | Limb.BrickColor = BrickColor.new('Black') | |
244 | local fire = Instance.new('Fire',Limb) | |
245 | fire.Heat = 5 | |
246 | - | elseif hitz == "Left Arm" then |
246 | + | |
247 | - | local Limb = playa:FindFirstChild("Left Arm") |
247 | + | game:GetService('Debris'):AddItem(fire,2) |
248 | - | local ters = playa:FindFirstChild('Torso') |
248 | + | local coru=coroutine.wrap(function() |
249 | - | if Limb and ters then |
249 | + | |
250 | - | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end |
250 | + | for i,v in pairs(Limb:GetChildren()) do |
251 | - | for i,v in pairs(Limb:GetChildren()) do |
251 | + | if v:IsA('ParticleEmitter') then |
252 | - | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then |
252 | + | v:Destroy() |
253 | - | v:Destroy() |
253 | + | |
254 | end | |
255 | end) | |
256 | - | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) |
256 | + | |
257 | - | local Joint = Instance.new("Rotate") |
257 | + | |
258 | - | Joint.Name = "LeftShoulder" |
258 | + | |
259 | - | Joint.Part0 = ters |
259 | + | local B = Instance.new("Part") |
260 | - | Joint.Part1 = Limb |
260 | + | B.TopSurface = 0 |
261 | - | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
261 | + | B.BottomSurface = 0 |
262 | - | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
262 | + | B.formFactor = "Symmetric" |
263 | - | Joint.Parent = ters |
263 | + | B.Size = Vector3.new(1, 1, 1) |
264 | - | if charred and zombiemode == false then |
264 | + | B.CanCollide = true |
265 | - | Limb.BrickColor = BrickColor.new('Black') |
265 | + | B.Transparency = 1 |
266 | - | local fire = Instance.new('Fire',Limb) |
266 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
267 | - | fire.Heat = 5 |
267 | + | B.Parent = playa |
268 | - | fire.Size = 5 |
268 | + | local W = Instance.new("Weld") |
269 | - | game:GetService('Debris'):AddItem(fire,2) |
269 | + | W.Part0 = ters |
270 | W.Part1 = B | |
271 | W.C0 = CFrame.new(0, -0.5, 0) | |
272 | - | for i,v in pairs(Limb:GetChildren()) do |
272 | + | W.Parent = Limb |
273 | - | if v:IsA('ParticleEmitter') then |
273 | + | if kneef then |
274 | - | v:Destroy() |
274 | + | |
275 | local uno = Instance.new('Part',workspace) | |
276 | local dos = Instance.new('Part',workspace) | |
277 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
278 | dos.CFrame = kneef["big ass knife"].CFrame | |
279 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
280 | weld.Part0 = playa:FindFirstChild(hitz) | |
281 | - | local B = Instance.new("Part") |
281 | + | weld.Part1 = kneef["big ass knife"] |
282 | - | B.TopSurface = 0 |
282 | + | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
283 | - | B.BottomSurface = 0 |
283 | + | uno:Destroy() |
284 | - | B.formFactor = "Symmetric" |
284 | + | dos:Destroy() |
285 | - | B.Size = Vector3.new(1, 1, 1) |
285 | + | playa:FindFirstChild(hitz).Anchored = false |
286 | - | B.CanCollide = true |
286 | + | for i, v in pairs(kneef:GetChildren()) do |
287 | - | B.Transparency = 1 |
287 | + | if v:IsA('BasePart') then |
288 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
288 | + | v.Anchored = false |
289 | - | B.Parent = playa |
289 | + | |
290 | - | local W = Instance.new("Weld") |
290 | + | |
291 | - | W.Part0 = ters |
291 | + | if zombiemode == false or override then |
292 | - | W.Part1 = B |
292 | + | wait() |
293 | - | W.C0 = CFrame.new(0, -0.5, 0) |
293 | + | |
294 | - | W.Parent = Limb |
294 | + | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
295 | - | if kneef then |
295 | + | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
296 | end | |
297 | - | local uno = Instance.new('Part',workspace) |
297 | + | local bleedpart = Instance.new("Part", kneef) |
298 | bleedpart.CanCollide = false | |
299 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
300 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
301 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
302 | bleedpart.Transparency = 1 | |
303 | ||
304 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
305 | bleedpartweld.Part0 = kneef["big ass knife"] | |
306 | bleedpartweld.Part1 = bleedpart | |
307 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
308 | local coru = coroutine.wrap(function() | |
309 | bleed(bleedpart) | |
310 | end) | |
311 | coru() | |
312 | game:GetService('Debris'):AddItem(bleedpart,2) | |
313 | - | if zombiemode == false or override then |
313 | + | |
314 | coru() | |
315 | end | |
316 | - | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
316 | + | |
317 | - | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
317 | + | elseif hitz == "Right Leg" then |
318 | local Limb = playa:FindFirstChild("Right Leg") | |
319 | - | local bleedpart = Instance.new("Part", kneef) |
319 | + | local ters = playa:FindFirstChild('Torso') |
320 | if Limb and ters then | |
321 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end | |
322 | - | bleedpart.CFrame = kneef["big ass knife"].CFrame |
322 | + | for i,v in pairs(Limb:GetChildren()) do |
323 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
324 | v:Destroy() | |
325 | end | |
326 | - | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
326 | + | |
327 | - | bleedpartweld.Part0 = kneef["big ass knife"] |
327 | + | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) |
328 | local Joint = Instance.new("Rotate") | |
329 | - | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
329 | + | Joint.Name = "Right Hip" |
330 | Joint.Part0 = ters | |
331 | Joint.Part1 = Limb | |
332 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
333 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
334 | - | game:GetService('Debris'):AddItem(bleedpart,2) |
334 | + | Joint.Parent = ters |
335 | if charred and zombiemode == false then | |
336 | Limb.BrickColor = BrickColor.new('Black') | |
337 | local fire = Instance.new('Fire',Limb) | |
338 | fire.Heat = 5 | |
339 | - | elseif hitz == "Right Leg" then |
339 | + | |
340 | - | local Limb = playa:FindFirstChild("Right Leg") |
340 | + | game:GetService('Debris'):AddItem(fire,2) |
341 | - | local ters = playa:FindFirstChild('Torso') |
341 | + | local coru=coroutine.wrap(function() |
342 | - | if Limb and ters then |
342 | + | |
343 | - | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end |
343 | + | for i,v in pairs(Limb:GetChildren()) do |
344 | - | for i,v in pairs(Limb:GetChildren()) do |
344 | + | if v:IsA('ParticleEmitter') then |
345 | - | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then |
345 | + | v:Destroy() |
346 | - | v:Destroy() |
346 | + | |
347 | end | |
348 | end) | |
349 | coru() | |
350 | - | local Joint = Instance.new("Rotate") |
350 | + | |
351 | - | Joint.Name = "Right Hip" |
351 | + | local B = Instance.new("Part") |
352 | - | Joint.Part0 = ters |
352 | + | B.TopSurface = 0 |
353 | - | Joint.Part1 = Limb |
353 | + | B.BottomSurface = 0 |
354 | - | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
354 | + | B.formFactor = "Symmetric" |
355 | - | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
355 | + | B.Size = Vector3.new(1, 1, 1) |
356 | - | Joint.Parent = ters |
356 | + | B.Transparency = 1 |
357 | - | if charred and zombiemode == false then |
357 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
358 | - | Limb.BrickColor = BrickColor.new('Black') |
358 | + | B.Parent = playa |
359 | - | local fire = Instance.new('Fire',Limb) |
359 | + | local W = Instance.new("Weld") |
360 | - | fire.Heat = 5 |
360 | + | W.Part0 = Limb |
361 | - | fire.Size = 5 |
361 | + | W.Part1 = B |
362 | - | game:GetService('Debris'):AddItem(fire,2) |
362 | + | W.C0 = CFrame.new(0, -0.5, 0) |
363 | W.Parent = Limb | |
364 | if kneef then | |
365 | - | for i,v in pairs(Limb:GetChildren()) do |
365 | + | |
366 | - | if v:IsA('ParticleEmitter') then |
366 | + | |
367 | - | v:Destroy() |
367 | + | |
368 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
369 | dos.CFrame = kneef["big ass knife"].CFrame | |
370 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
371 | weld.Part0 = playa:FindFirstChild(hitz) | |
372 | weld.Part1 = kneef["big ass knife"] | |
373 | - | local B = Instance.new("Part") |
373 | + | |
374 | - | B.TopSurface = 0 |
374 | + | |
375 | - | B.BottomSurface = 0 |
375 | + | |
376 | - | B.formFactor = "Symmetric" |
376 | + | |
377 | - | B.Size = Vector3.new(1, 1, 1) |
377 | + | |
378 | - | B.Transparency = 1 |
378 | + | |
379 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
379 | + | v.Anchored = false |
380 | - | B.Parent = playa |
380 | + | |
381 | - | local W = Instance.new("Weld") |
381 | + | |
382 | - | W.Part0 = Limb |
382 | + | if zombiemode == false or override then |
383 | - | W.Part1 = B |
383 | + | wait() |
384 | - | W.C0 = CFrame.new(0, -0.5, 0) |
384 | + | |
385 | - | W.Parent = Limb |
385 | + | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
386 | - | if kneef then |
386 | + | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
387 | end | |
388 | - | local uno = Instance.new('Part',workspace) |
388 | + | local bleedpart = Instance.new("Part", kneef) |
389 | - | local dos = Instance.new('Part',workspace) |
389 | + | bleedpart.CanCollide = false |
390 | - | uno.CFrame = playa:FindFirstChild(hitz).CFrame |
390 | + | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) |
391 | - | dos.CFrame = kneef["big ass knife"].CFrame |
391 | + | bleedpart.CFrame = kneef["big ass knife"].CFrame |
392 | - | local weld = Instance.new('Weld',kneef["big ass knife"]) |
392 | + | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) |
393 | - | weld.Part0 = playa:FindFirstChild(hitz) |
393 | + | bleedpart.Transparency = 1 |
394 | - | weld.Part1 = kneef["big ass knife"] |
394 | + | |
395 | - | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
395 | + | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
396 | - | uno:Destroy() |
396 | + | bleedpartweld.Part0 = kneef["big ass knife"] |
397 | - | dos:Destroy() |
397 | + | bleedpartweld.Part1 = bleedpart |
398 | - | playa:FindFirstChild(hitz).Anchored = false |
398 | + | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
399 | - | for i, v in pairs(kneef:GetChildren()) do |
399 | + | local coru = coroutine.wrap(function() |
400 | bleed(bleedpart) | |
401 | end) | |
402 | coru() | |
403 | game:GetService('Debris'):AddItem(bleedpart,2) | |
404 | - | if zombiemode == false or override then |
404 | + | |
405 | coru() | |
406 | end | |
407 | - | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
407 | + | if playa then |
408 | - | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
408 | + | table.insert(rekt,playa) |
409 | end | |
410 | - | local bleedpart = Instance.new("Part", kneef) |
410 | + | |
411 | elseif hitz == "Left Leg" then | |
412 | local Limb = playa:FindFirstChild("Left Leg") | |
413 | - | bleedpart.CFrame = kneef["big ass knife"].CFrame |
413 | + | local ters = playa:FindFirstChild('Torso') |
414 | if Limb and ters then | |
415 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end | |
416 | for i,v in pairs(Limb:GetChildren()) do | |
417 | - | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
417 | + | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then |
418 | - | bleedpartweld.Part0 = kneef["big ass knife"] |
418 | + | v:Destroy() |
419 | end | |
420 | - | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
420 | + | |
421 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
422 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
423 | local Joint = Instance.new("Rotate") | |
424 | Joint.Name = "LeftHip" | |
425 | - | game:GetService('Debris'):AddItem(bleedpart,2) |
425 | + | Joint.Part0 = ters |
426 | Joint.Part1 = Limb | |
427 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
428 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
429 | - | if playa then |
429 | + | Joint.Parent = ters |
430 | - | table.insert(rekt,playa) |
430 | + | if charred and zombiemode == false then |
431 | Limb.BrickColor = BrickColor.new('Black') | |
432 | local fire = Instance.new('Fire',Limb) | |
433 | - | elseif hitz == "Left Leg" then |
433 | + | |
434 | - | local Limb = playa:FindFirstChild("Left Leg") |
434 | + | |
435 | - | local ters = playa:FindFirstChild('Torso') |
435 | + | game:GetService('Debris'):AddItem(fire,2) |
436 | - | if Limb and ters then |
436 | + | local coru=coroutine.wrap(function() |
437 | - | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end |
437 | + | |
438 | - | for i,v in pairs(Limb:GetChildren()) do |
438 | + | for i,v in pairs(Limb:GetChildren()) do |
439 | - | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then |
439 | + | if v:IsA('ParticleEmitter') then |
440 | - | v:Destroy() |
440 | + | v:Destroy() |
441 | end | |
442 | end | |
443 | - | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) |
443 | + | |
444 | - | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) |
444 | + | |
445 | - | local Joint = Instance.new("Rotate") |
445 | + | |
446 | - | Joint.Name = "LeftHip" |
446 | + | |
447 | - | Joint.Part0 = ters |
447 | + | local B = Instance.new("Part") |
448 | - | Joint.Part1 = Limb |
448 | + | B.TopSurface = 0 |
449 | - | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
449 | + | B.BottomSurface = 0 |
450 | - | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
450 | + | B.formFactor = "Symmetric" |
451 | - | Joint.Parent = ters |
451 | + | B.Size = Vector3.new(1, 1, 1) |
452 | - | if charred and zombiemode == false then |
452 | + | B.Transparency = 1 |
453 | - | Limb.BrickColor = BrickColor.new('Black') |
453 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
454 | - | local fire = Instance.new('Fire',Limb) |
454 | + | B.Parent = playa |
455 | - | fire.Heat = 5 |
455 | + | local W = Instance.new("Weld") |
456 | - | fire.Size = 5 |
456 | + | W.Part0 = Limb |
457 | - | game:GetService('Debris'):AddItem(fire,2) |
457 | + | W.Part1 = B |
458 | W.C0 = CFrame.new(0, -0.5, 0) | |
459 | W.Parent = Limb | |
460 | - | for i,v in pairs(Limb:GetChildren()) do |
460 | + | Limb.CanCollide = false |
461 | - | if v:IsA('ParticleEmitter') then |
461 | + | if kneef then |
462 | - | v:Destroy() |
462 | + | |
463 | local uno = Instance.new('Part',workspace) | |
464 | local dos = Instance.new('Part',workspace) | |
465 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
466 | dos.CFrame = kneef["big ass knife"].CFrame | |
467 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
468 | weld.Part0 = playa:FindFirstChild(hitz) | |
469 | - | local B = Instance.new("Part") |
469 | + | weld.Part1 = kneef["big ass knife"] |
470 | - | B.TopSurface = 0 |
470 | + | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
471 | - | B.BottomSurface = 0 |
471 | + | uno:Destroy() |
472 | - | B.formFactor = "Symmetric" |
472 | + | dos:Destroy() |
473 | - | B.Size = Vector3.new(1, 1, 1) |
473 | + | playa:FindFirstChild(hitz).Anchored = false |
474 | - | B.Transparency = 1 |
474 | + | for i, v in pairs(kneef:GetChildren()) do |
475 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
475 | + | if v:IsA('BasePart') then |
476 | - | B.Parent = playa |
476 | + | v.Anchored = false |
477 | - | local W = Instance.new("Weld") |
477 | + | |
478 | - | W.Part0 = Limb |
478 | + | |
479 | - | W.Part1 = B |
479 | + | if zombiemode == false or override then |
480 | - | W.C0 = CFrame.new(0, -0.5, 0) |
480 | + | wait() |
481 | - | W.Parent = Limb |
481 | + | |
482 | - | Limb.CanCollide = false |
482 | + | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
483 | - | if kneef then |
483 | + | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
484 | end | |
485 | - | local uno = Instance.new('Part',workspace) |
485 | + | local bleedpart = Instance.new("Part", kneef) |
486 | bleedpart.CanCollide = false | |
487 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
488 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
489 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
490 | bleedpart.Transparency = 1 | |
491 | ||
492 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
493 | bleedpartweld.Part0 = kneef["big ass knife"] | |
494 | bleedpartweld.Part1 = bleedpart | |
495 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
496 | local coru = coroutine.wrap(function() | |
497 | bleed(bleedpart) | |
498 | end) | |
499 | coru() | |
500 | game:GetService('Debris'):AddItem(bleedpart,2) | |
501 | - | if zombiemode == false or override then |
501 | + | |
502 | coru() | |
503 | end | |
504 | - | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
504 | + | if playa then |
505 | - | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
505 | + | table.insert(rekt,playa) |
506 | end | |
507 | - | local bleedpart = Instance.new("Part", kneef) |
507 | + | |
508 | elseif playa then | |
509 | if finishnum ~= 1 then | |
510 | - | bleedpart.CFrame = kneef["big ass knife"].CFrame |
510 | + | |
511 | player.Character.Head.Psycho.Playing = true | |
512 | wait(3) | |
513 | player.Character.Head.Psycho.Playing = false | |
514 | - | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
514 | + | |
515 | - | bleedpartweld.Part0 = kneef["big ass knife"] |
515 | + | |
516 | end | |
517 | - | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
517 | + | local playa2 = playa |
518 | playa.Archivable = true | |
519 | local playa = playa:Clone() | |
520 | playa.Archivable = false | |
521 | playa2:Destroy() | |
522 | - | game:GetService('Debris'):AddItem(bleedpart,2) |
522 | + | playa.Parent = workspace |
523 | local Gibs = game.Workspace | |
524 | local Torso = playa.Torso | |
525 | local Head = playa:FindFirstChild("Head") | |
526 | - | if playa then |
526 | + | local function Scan(ch) |
527 | - | table.insert(rekt,playa) |
527 | + | local e |
528 | for e = 1,#ch do | |
529 | Scan(ch[e]:GetChildren()) | |
530 | - | elseif playa then |
530 | + | if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then |
531 | ch[e]:remove() | |
532 | - | local coru=coroutine.wrap(function() |
532 | + | |
533 | - | player.Character.Head.Psycho.Playing = true |
533 | + | |
534 | - | wait(3) |
534 | + | |
535 | - | player.Character.Head.Psycho.Playing = false |
535 | + | Scan(playa:GetChildren()) |
536 | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then | |
537 | playa:FindFirstChild('HumanoidRootPart'):Destroy() | |
538 | end | |
539 | - | local playa2 = playa |
539 | + | local hum2 = playa:FindFirstChildOfClass("Humanoid") |
540 | - | playa.Archivable = true |
540 | + | if zombiemode == true and override == false then |
541 | - | local playa = playa:Clone() |
541 | + | soundy = true |
542 | - | playa.Archivable = false |
542 | + | |
543 | - | playa2:Destroy() |
543 | + | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then |
544 | - | playa.Parent = workspace |
544 | + | override = true |
545 | - | local Gibs = game.Workspace |
545 | + | |
546 | - | local Torso = playa.Torso |
546 | + | if hum2 ~= nil then |
547 | - | local Head = playa:FindFirstChild("Head") |
547 | + | hum2.Name = "Humanoid2" |
548 | - | local function Scan(ch) |
548 | + | |
549 | - | local e |
549 | + | if zombiemode == false or override == true then |
550 | - | for e = 1,#ch do |
550 | + | table.insert(rekt,hum2.Parent) |
551 | - | Scan(ch[e]:GetChildren()) |
551 | + | |
552 | - | if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then |
552 | + | local gyro = Instance.new('BodyGyro',Torso) |
553 | - | ch[e]:remove() |
553 | + | hum2.PlatformStand = false |
554 | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do | |
555 | if v:IsA('BodyGyro') then v:Destroy() end | |
556 | end | |
557 | - | Scan(playa:GetChildren()) |
557 | + | if playa:FindFirstChild('HumanoidRootPart') then |
558 | - | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then |
558 | + | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame |
559 | - | playa:FindFirstChild('HumanoidRootPart'):Destroy() |
559 | + | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart) |
560 | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart | |
561 | - | local hum2 = playa:FindFirstChildOfClass("Humanoid") |
561 | + | weldcrucial.Part1 = hum2.Parent.Torso |
562 | - | if zombiemode == true and override == false then |
562 | + | |
563 | - | soundy = true |
563 | + | |
564 | end | |
565 | - | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then |
565 | + | local ch = playa:GetChildren() |
566 | - | override = true |
566 | + | local i |
567 | for i = 1,#ch do | |
568 | - | if hum2 ~= nil then |
568 | + | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
569 | - | hum2.Name = "Humanoid2" |
569 | + | ch[i]:remove() |
570 | - | hum2.Health = 0 |
570 | + | |
571 | - | if zombiemode == false or override == true then |
571 | + | |
572 | - | table.insert(rekt,hum2.Parent) |
572 | + | |
573 | if Head then | |
574 | - | local gyro = Instance.new('BodyGyro',Torso) |
574 | + | local Neck = Instance.new("Weld") |
575 | - | hum2.PlatformStand = false |
575 | + | Neck.Name = "Neck" |
576 | - | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do |
576 | + | Neck.Part0 = Torso |
577 | - | if v:IsA('BodyGyro') then v:Destroy() end |
577 | + | Neck.Part1 = Head |
578 | if pool then | |
579 | - | if playa:FindFirstChild('HumanoidRootPart') then |
579 | + | local part = Instance.new('Part',Torso) |
580 | - | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame |
580 | + | part.Position = Vector3.new(0,10,0) |
581 | - | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart) |
581 | + | part.Size = Vector3.new(0.2,0.2,0.2) |
582 | - | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart |
582 | + | part.Transparency = 1 |
583 | - | weldcrucial.Part1 = hum2.Parent.Torso |
583 | + | part.CanCollide = false |
584 | local we = Instance.new('Weld',Torso) | |
585 | we.Part0 = Torso | |
586 | we.Part1 = part | |
587 | - | local ch = playa:GetChildren() |
587 | + | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
588 | - | local i |
588 | + | local coru=coroutine.wrap(function() |
589 | - | for i = 1,#ch do |
589 | + | bleed(part) |
590 | - | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then |
590 | + | |
591 | - | ch[i]:remove() |
591 | + | |
592 | end | |
593 | if head == false or head == nil then | |
594 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
595 | - | if Head then |
595 | + | |
596 | - | local Neck = Instance.new("Weld") |
596 | + | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) |
597 | - | Neck.Name = "Neck" |
597 | + | local bleedpart = Instance.new("Part", Torso) |
598 | - | Neck.Part0 = Torso |
598 | + | |
599 | - | Neck.Part1 = Head |
599 | + | |
600 | - | if pool then |
600 | + | |
601 | - | local part = Instance.new('Part',Torso) |
601 | + | |
602 | - | part.Position = Vector3.new(0,10,0) |
602 | + | |
603 | - | part.Size = Vector3.new(0.2,0.2,0.2) |
603 | + | |
604 | - | part.Transparency = 1 |
604 | + | local bleedpartweld = Instance.new("Weld", Torso) |
605 | - | part.CanCollide = false |
605 | + | bleedpartweld.Part0 = Torso |
606 | - | local we = Instance.new('Weld',Torso) |
606 | + | |
607 | - | we.Part0 = Torso |
607 | + | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) |
608 | - | we.Part1 = part |
608 | + | |
609 | - | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
609 | + | |
610 | end) | |
611 | - | bleed(part) |
611 | + | |
612 | end | |
613 | Neck.C1 = CFrame.new() | |
614 | Neck.Parent = Torso | |
615 | - | if head == false or head == nil then |
615 | + | |
616 | - | Neck.C0 = CFrame.new(0, 1.5, 0) |
616 | + | local Limb = playa:FindFirstChild("Right Arm") |
617 | if Limb then | |
618 | - | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) |
618 | + | |
619 | - | local bleedpart = Instance.new("Part", Torso) |
619 | + | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) |
620 | - | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) |
620 | + | local Joint = Instance.new("Rotate") |
621 | - | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) |
621 | + | Joint.Name = "RightShoulder" |
622 | - | bleedpart.CanCollide = false |
622 | + | Joint.Part0 = Torso |
623 | - | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) |
623 | + | Joint.Part1 = Limb |
624 | - | bleedpart.Transparency = 1 |
624 | + | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
625 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
626 | - | local bleedpartweld = Instance.new("Weld", Torso) |
626 | + | Joint.Parent = Torso |
627 | - | bleedpartweld.Part0 = Torso |
627 | + | |
628 | - | bleedpartweld.Part1 = bleedpart |
628 | + | local B = Instance.new("Part") |
629 | - | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) |
629 | + | B.TopSurface = 0 |
630 | B.BottomSurface = 0 | |
631 | B.formFactor = "Symmetric" | |
632 | B.Size = Vector3.new(1, 1, 1) | |
633 | B.Transparency = 1 | |
634 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
635 | - | Neck.C1 = CFrame.new() |
635 | + | B.Parent = playa |
636 | - | Neck.Parent = Torso |
636 | + | local W = Instance.new("Weld") |
637 | W.Part0 = Limb | |
638 | W.Part1 = B | |
639 | - | if Limb then |
639 | + | W.C0 = CFrame.new(0, -0.5, 0) |
640 | W.Parent = Limb | |
641 | - | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) |
641 | + | |
642 | - | local Joint = Instance.new("Rotate") |
642 | + | local Limb = playa:FindFirstChild("Left Arm") |
643 | - | Joint.Name = "RightShoulder" |
643 | + | if Limb then |
644 | - | Joint.Part0 = Torso |
644 | + | |
645 | - | Joint.Part1 = Limb |
645 | + | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) |
646 | - | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
646 | + | local Joint = Instance.new("Rotate") |
647 | - | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
647 | + | Joint.Name = "LeftShoulder" |
648 | - | Joint.Parent = Torso |
648 | + | Joint.Part0 = Torso |
649 | Joint.Part1 = Limb | |
650 | - | local B = Instance.new("Part") |
650 | + | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
651 | - | B.TopSurface = 0 |
651 | + | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
652 | - | B.BottomSurface = 0 |
652 | + | Joint.Parent = Torso |
653 | - | B.formFactor = "Symmetric" |
653 | + | |
654 | - | B.Size = Vector3.new(1, 1, 1) |
654 | + | local B = Instance.new("Part") |
655 | - | B.Transparency = 1 |
655 | + | B.TopSurface = 0 |
656 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
656 | + | B.BottomSurface = 0 |
657 | - | B.Parent = playa |
657 | + | B.formFactor = "Symmetric" |
658 | - | local W = Instance.new("Weld") |
658 | + | B.Size = Vector3.new(1, 1, 1) |
659 | - | W.Part0 = Limb |
659 | + | B.Transparency = 1 |
660 | - | W.Part1 = B |
660 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
661 | - | W.C0 = CFrame.new(0, -0.5, 0) |
661 | + | B.Parent = playa |
662 | - | W.Parent = Limb |
662 | + | local W = Instance.new("Weld") |
663 | W.Part0 = Limb | |
664 | - | local Limb = playa:FindFirstChild("Left Arm") |
664 | + | W.Part1 = B |
665 | - | if Limb then |
665 | + | W.C0 = CFrame.new(0, -0.5, 0) |
666 | W.Parent = Limb | |
667 | - | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) |
667 | + | |
668 | - | local Joint = Instance.new("Rotate") |
668 | + | local Limb = playa:FindFirstChild("Right Leg") |
669 | - | Joint.Name = "LeftShoulder" |
669 | + | if Limb then |
670 | - | Joint.Part0 = Torso |
670 | + | Limb.CanCollide = false |
671 | - | Joint.Part1 = Limb |
671 | + | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) |
672 | - | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
672 | + | local Joint = Instance.new("Rotate") |
673 | - | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
673 | + | Joint.Name = "RightHip" |
674 | - | Joint.Parent = Torso |
674 | + | Joint.Part0 = Torso |
675 | Joint.Part1 = Limb | |
676 | - | local B = Instance.new("Part") |
676 | + | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
677 | - | B.TopSurface = 0 |
677 | + | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
678 | - | B.BottomSurface = 0 |
678 | + | Joint.Parent = Torso |
679 | - | B.formFactor = "Symmetric" |
679 | + | |
680 | - | B.Size = Vector3.new(1, 1, 1) |
680 | + | local B = Instance.new("Part") |
681 | - | B.Transparency = 1 |
681 | + | B.TopSurface = 0 |
682 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
682 | + | B.BottomSurface = 0 |
683 | - | B.Parent = playa |
683 | + | B.formFactor = "Symmetric" |
684 | - | local W = Instance.new("Weld") |
684 | + | B.Size = Vector3.new(1, 1, 1) |
685 | - | W.Part0 = Limb |
685 | + | B.Transparency = 1 |
686 | - | W.Part1 = B |
686 | + | B.CanCollide = true |
687 | - | W.C0 = CFrame.new(0, -0.5, 0) |
687 | + | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
688 | - | W.Parent = Limb |
688 | + | B.Parent = playa |
689 | local W = Instance.new("Weld") | |
690 | - | local Limb = playa:FindFirstChild("Right Leg") |
690 | + | W.Part0 = Limb |
691 | - | if Limb then |
691 | + | W.Part1 = B |
692 | - | Limb.CanCollide = false |
692 | + | W.C0 = CFrame.new(0, -0.5, 0) |
693 | - | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) |
693 | + | W.Parent = Limb |
694 | - | local Joint = Instance.new("Rotate") |
694 | + | |
695 | - | Joint.Name = "RightHip" |
695 | + | local Limb = playa:FindFirstChild("Left Leg") |
696 | - | Joint.Part0 = Torso |
696 | + | if Limb then |
697 | - | Joint.Part1 = Limb |
697 | + | Limb.CanCollide = false |
698 | - | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
698 | + | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) |
699 | - | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) |
699 | + | local Joint = Instance.new("Rotate") |
700 | - | Joint.Parent = Torso |
700 | + | Joint.Name = "LeftHip" |
701 | Joint.Part0 = Torso | |
702 | - | local B = Instance.new("Part") |
702 | + | Joint.Part1 = Limb |
703 | - | B.TopSurface = 0 |
703 | + | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
704 | - | B.BottomSurface = 0 |
704 | + | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
705 | - | B.formFactor = "Symmetric" |
705 | + | Joint.Parent = Torso |
706 | - | B.Size = Vector3.new(1, 1, 1) |
706 | + | |
707 | - | B.Transparency = 1 |
707 | + | local B = Instance.new("Part") |
708 | - | B.CanCollide = true |
708 | + | B.TopSurface = 0 |
709 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
709 | + | B.BottomSurface = 0 |
710 | - | B.Parent = playa |
710 | + | if zombiemode == false or override then |
711 | - | local W = Instance.new("Weld") |
711 | + | B.CanCollide = true |
712 | - | W.Part0 = Limb |
712 | + | |
713 | - | W.Part1 = B |
713 | + | B.formFactor = "Symmetric" |
714 | - | W.C0 = CFrame.new(0, -0.5, 0) |
714 | + | B.Size = Vector3.new(1, 1, 1) |
715 | - | W.Parent = Limb |
715 | + | B.Transparency = 1 |
716 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
717 | - | local Limb = playa:FindFirstChild("Left Leg") |
717 | + | B.Parent = playa |
718 | - | if Limb then |
718 | + | local W = Instance.new("Weld") |
719 | - | Limb.CanCollide = false |
719 | + | W.Part0 = Limb |
720 | - | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) |
720 | + | W.Part1 = B |
721 | - | local Joint = Instance.new("Rotate") |
721 | + | W.C0 = CFrame.new(0, -0.5, 0) |
722 | - | Joint.Name = "LeftHip" |
722 | + | W.Parent = Limb |
723 | - | Joint.Part0 = Torso |
723 | + | |
724 | - | Joint.Part1 = Limb |
724 | + | --[[ |
725 | - | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
725 | + | local Bar = Instance.new("Part") |
726 | - | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) |
726 | + | Bar.TopSurface = 0 |
727 | - | Joint.Parent = Torso |
727 | + | Bar.BottomSurface = 0 |
728 | Bar.formFactor = "Symmetric" | |
729 | - | local B = Instance.new("Part") |
729 | + | Bar.Size = Vector3.new(1, 1, 1) |
730 | - | B.TopSurface = 0 |
730 | + | Bar.Transparency = 1 |
731 | - | B.BottomSurface = 0 |
731 | + | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) |
732 | - | if zombiemode == false or override then |
732 | + | Bar.Parent = playa |
733 | - | B.CanCollide = true |
733 | + | local Weld = Instance.new("Weld") |
734 | Weld.Part0 = Torso | |
735 | - | B.formFactor = "Symmetric" |
735 | + | Weld.Part1 = Bar |
736 | - | B.Size = Vector3.new(1, 1, 1) |
736 | + | Weld.C0 = CFrame.new(0, 0.5, 0) |
737 | - | B.Transparency = 1 |
737 | + | Weld.Parent = Torso |
738 | - | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) |
738 | + | --]] |
739 | - | B.Parent = playa |
739 | + | playa.Parent = Gibs |
740 | - | local W = Instance.new("Weld") |
740 | + | if kneef and explode == nil then |
741 | - | W.Part0 = Limb |
741 | + | |
742 | - | W.Part1 = B |
742 | + | if playa:FindFirstChild(hitz) then |
743 | - | W.C0 = CFrame.new(0, -0.5, 0) |
743 | + | local uno = Instance.new('Part',workspace) |
744 | - | W.Parent = Limb |
744 | + | local dos = Instance.new('Part',workspace) |
745 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
746 | - | --[[ |
746 | + | dos.CFrame = kneef["big ass knife"].CFrame |
747 | - | local Bar = Instance.new("Part") |
747 | + | local weld = Instance.new('Weld',kneef["big ass knife"]) |
748 | - | Bar.TopSurface = 0 |
748 | + | weld.Part0 = playa:FindFirstChild(hitz) |
749 | - | Bar.BottomSurface = 0 |
749 | + | weld.Part1 = kneef["big ass knife"] |
750 | - | Bar.formFactor = "Symmetric" |
750 | + | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
751 | - | Bar.Size = Vector3.new(1, 1, 1) |
751 | + | uno:Destroy() |
752 | - | Bar.Transparency = 1 |
752 | + | dos:Destroy() |
753 | - | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) |
753 | + | playa:FindFirstChild(hitz).Anchored = false |
754 | - | Bar.Parent = playa |
754 | + | for i, v in pairs(kneef:GetChildren()) do |
755 | - | local Weld = Instance.new("Weld") |
755 | + | if v:IsA('BasePart') then |
756 | - | Weld.Part0 = Torso |
756 | + | v.Anchored = false |
757 | - | Weld.Part1 = Bar |
757 | + | |
758 | - | Weld.C0 = CFrame.new(0, 0.5, 0) |
758 | + | |
759 | - | Weld.Parent = Torso |
759 | + | if explode == nil or explode == false then |
760 | - | --]] |
760 | + | local bleedpart = Instance.new("Part", kneef) |
761 | - | playa.Parent = Gibs |
761 | + | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) |
762 | - | if kneef and explode == nil then |
762 | + | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) |
763 | bleedpart.CanCollide = false | |
764 | - | if playa:FindFirstChild(hitz) then |
764 | + | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) |
765 | bleedpart.Transparency = 1 | |
766 | ||
767 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
768 | bleedpartweld.Part0 = kneef["big ass knife"] | |
769 | bleedpartweld.Part1 = bleedpart | |
770 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
771 | local coru = coroutine.wrap(function() | |
772 | bleed(bleedpart) | |
773 | end) | |
774 | coru() | |
775 | end | |
776 | end | |
777 | if zombiemode == false or override then | |
778 | wait() | |
779 | end | |
780 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
781 | - | if explode == nil or explode == false then |
781 | + | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
782 | - | local bleedpart = Instance.new("Part", kneef) |
782 | + | |
783 | end) | |
784 | coru() | |
785 | end | |
786 | if explode then | |
787 | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector | |
788 | local repulse = Instance.new('BodyForce',Torso) | |
789 | - | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) |
789 | + | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) |
790 | - | bleedpartweld.Part0 = kneef["big ass knife"] |
790 | + | game.Debris:AddItem(repulse,0.05) |
791 | end | |
792 | - | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) |
792 | + | if charred and zombiemode == false then |
793 | for i,v in pairs(playa:GetChildren()) do | |
794 | if v:IsA('BasePart') then | |
795 | v.BrickColor = BrickColor.Black() | |
796 | local fire = Instance.new('Fire',v) | |
797 | fire.Size = 5 | |
798 | fire.Heat = 5 | |
799 | - | if zombiemode == false or override then |
799 | + | elseif v:IsA('Accessory') then |
800 | for a,c in pairs(v:GetChildren()) do | |
801 | if c:IsA('BasePart') then | |
802 | - | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then |
802 | + | c.BrickColor = BrickColor.Black() |
803 | - | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() |
803 | + | local fire = Instance.new('Fire',v) |
804 | fire.Size = 5 | |
805 | fire.Heat = 5 | |
806 | for o,p in pairs(c:GetChildren()) do | |
807 | if p:IsA("SpecialMesh") then | |
808 | - | if explode then |
808 | + | p.TextureId = "" |
809 | - | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector |
809 | + | |
810 | - | local repulse = Instance.new('BodyForce',Torso) |
810 | + | |
811 | - | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) |
811 | + | |
812 | - | game.Debris:AddItem(repulse,0.05) |
812 | + | |
813 | end | |
814 | - | if charred and zombiemode == false then |
814 | + | |
815 | - | for i,v in pairs(playa:GetChildren()) do |
815 | + | |
816 | if soundy then | |
817 | - | v.BrickColor = BrickColor.Black() |
817 | + | local sound = Instance.new('Sound',Head) |
818 | - | local fire = Instance.new('Fire',v) |
818 | + | sound.SoundId = 'rbxassetid://903640857' |
819 | sound.Volume = 1 | |
820 | sound:Play() | |
821 | - | elseif v:IsA('Accessory') then |
821 | + | sound.Ended:connect(function() |
822 | - | for a,c in pairs(v:GetChildren()) do |
822 | + | sound:Destroy() |
823 | - | if c:IsA('BasePart') then |
823 | + | local ambient = Instance.new('Sound',Head) |
824 | - | c.BrickColor = BrickColor.Black() |
824 | + | ambient.Volume = 0.25 |
825 | - | local fire = Instance.new('Fire',v) |
825 | + | ambient.Looped = true |
826 | - | fire.Size = 5 |
826 | + | ambient.SoundId = 'rbxassetid://903641031' |
827 | - | fire.Heat = 5 |
827 | + | ambient:Play() |
828 | - | for o,p in pairs(c:GetChildren()) do |
828 | + | |
829 | - | if p:IsA("SpecialMesh") then |
829 | + | |
830 | - | p.TextureId = "" |
830 | + | if override then |
831 | if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then | |
832 | local coru = coroutine.wrap(function() | |
833 | wait(4.5) | |
834 | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" | |
835 | hum2.HipHeight = 0.2 | |
836 | wait(0.5) | |
837 | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) | |
838 | - | if soundy then |
838 | + | |
839 | - | local sound = Instance.new('Sound',Head) |
839 | + | |
840 | - | sound.SoundId = 'rbxassetid://903640857' |
840 | + | |
841 | - | sound.Volume = 1 |
841 | + | game:GetService('Debris'):AddItem(playa, 12) |
842 | end | |
843 | - | sound.Ended:connect(function() |
843 | + | |
844 | hum2.Health = 0 | |
845 | - | local ambient = Instance.new('Sound',Head) |
845 | + | table.insert(zombies,playa) |
846 | - | ambient.Volume = 0.25 |
846 | + | local attack = Instance.new('Sound',Head) |
847 | - | ambient.Looped = true |
847 | + | attack.SoundId = 'rbxassetid://903641424' |
848 | - | ambient.SoundId = 'rbxassetid://903641031' |
848 | + | attack.Volume = 2 |
849 | - | ambient:Play() |
849 | + | |
850 | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then | |
851 | v.Touched:connect(function(hit) | |
852 | - | if override then |
852 | + | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then |
853 | - | if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then |
853 | + | local found = false |
854 | if hit.Parent == player.Character then | |
855 | - | wait(4.5) |
855 | + | |
856 | - | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" |
856 | + | |
857 | - | hum2.HipHeight = 0.2 |
857 | + | for a,c in pairs(zombies) do |
858 | - | wait(0.5) |
858 | + | if c == hit.Parent then |
859 | - | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) |
859 | + | found = true |
860 | end | |
861 | end | |
862 | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then | |
863 | - | game:GetService('Debris'):AddItem(playa, 12) |
863 | + | attack:Play() |
864 | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then | |
865 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
866 | wait() | |
867 | - | table.insert(zombies,playa) |
867 | + | killz(hit.Parent,"Head") |
868 | - | local attack = Instance.new('Sound',Head) |
868 | + | else |
869 | - | attack.SoundId = 'rbxassetid://903641424' |
869 | + | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2) |
870 | - | attack.Volume = 2 |
870 | + | |
871 | - | for i,v in pairs(playa:GetChildren()) do |
871 | + | |
872 | - | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then |
872 | + | |
873 | - | v.Touched:connect(function(hit) |
873 | + | end) |
874 | - | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then |
874 | + | |
875 | - | local found = false |
875 | + | |
876 | - | if hit.Parent == player.Character then |
876 | + | |
877 | - | found = true |
877 | + | |
878 | for i,v in pairs(playa:GetChildren()) do | |
879 | - | for a,c in pairs(zombies) do |
879 | + | |
880 | - | if c == hit.Parent then |
880 | + | for a,c in pairs(v:GetChildren()) do |
881 | if c:IsA('Fire') or c:IsA('ParticleEmitter') then | |
882 | c:Destroy() | |
883 | end | |
884 | - | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then |
884 | + | |
885 | - | attack:Play() |
885 | + | elseif v:IsA('Accessory') then |
886 | - | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then |
886 | + | for a,c in pairs(v:GetChildren()) do |
887 | if c:IsA('BasePart') then | |
888 | - | wait() |
888 | + | for b,d in pairs(c:GetChildren()) do |
889 | - | killz(hit.Parent,"Head") |
889 | + | if d:IsA('Fire') or d:IsA('ParticleEmitter') then |
890 | d:Destroy() | |
891 | - | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2) |
891 | + | |
892 | end | |
893 | end | |
894 | end | |
895 | end | |
896 | end | |
897 | end) | |
898 | coru() | |
899 | end | |
900 | end | |
901 | end | |
902 | - | for a,c in pairs(v:GetChildren()) do |
902 | + | |
903 | - | if c:IsA('Fire') or c:IsA('ParticleEmitter') then |
903 | + | mouse.KeyDown:connect(function(key) |
904 | - | c:Destroy() |
904 | + | if key == "t" and mouse.Target then |
905 | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid') | |
906 | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end | |
907 | - | elseif v:IsA('Accessory') then |
907 | + | if curpoint == nil then |
908 | - | for a,c in pairs(v:GetChildren()) do |
908 | + | if hum and hum.Parent:FindFirstChild('Head') then |
909 | - | if c:IsA('BasePart') then |
909 | + | curpart = hum.Parent.Head |
910 | - | for b,d in pairs(c:GetChildren()) do |
910 | + | |
911 | - | if d:IsA('Fire') or d:IsA('ParticleEmitter') then |
911 | + | curpart = nil |
912 | - | d:Destroy() |
912 | + | curpoint = mouse.Hit.p |
913 | end | |
914 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
915 | notify("ZOMBIE TARGET SET",false) | |
916 | else | |
917 | curpart = nil | |
918 | curpoint = nil | |
919 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
920 | notify("ZOMBIE TARGET REMOVED",false) | |
921 | end | |
922 | - | end |
922 | + | elseif key == "y" then |
923 | - | end |
923 | + | for o,p in pairs(zombies) do |
924 | local coru = coroutine.wrap(function() | |
925 | - | mouse.KeyDown:connect(function(key) |
925 | + | if p:FindFirstChild('Torso') then |
926 | - | if key == "t" and mouse.Target then |
926 | + | killz(p,"Head",nil,nil,false,false,false,true) |
927 | - | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid') |
927 | + | |
928 | - | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end |
928 | + | table.remove(zombies,o) |
929 | - | if curpoint == nil then |
929 | + | |
930 | - | if hum and hum.Parent:FindFirstChild('Head') then |
930 | + | |
931 | - | curpart = hum.Parent.Head |
931 | + | |
932 | wait() | |
933 | end | |
934 | - | curpoint = mouse.Hit.p |
934 | + | |
935 | table.remove(zombies,i) | |
936 | end | |
937 | - | notify("ZOMBIE TARGET SET",false) |
937 | + | |
938 | notify("ZOMBIES TERMINATED",false) | |
939 | - | curpart = nil |
939 | + | |
940 | - | curpoint = nil |
940 | + | |
941 | ||
942 | - | notify("ZOMBIE TARGET REMOVED",false) |
942 | + | function nub() |
943 | local me = player.Character | |
944 | - | elseif key == "y" then |
944 | + | local point = me.HumanoidRootPart |
945 | - | for o,p in pairs(zombies) do |
945 | + | local playergui = player.PlayerGui |
946 | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() | |
947 | - | if p:FindFirstChild('Torso') then |
947 | + | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() |
948 | - | killz(p,"Head",nil,nil,false,false,false,true) |
948 | + | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() |
949 | local lefthipz = me.Torso["Left Hip"]:Clone() | |
950 | - | table.remove(zombies,o) |
950 | + | local righthipz = me.Torso["Right Hip"]:Clone() |
951 | local mode = "kill" | |
952 | local lerpz = false | |
953 | local active = false | |
954 | local acting = false | |
955 | local hit = false | |
956 | - | for i,v in pairs(zombies) do |
956 | + | local canClick = true |
957 | - | table.remove(zombies,i) |
957 | + | local stabbing = false |
958 | local grabbing = false | |
959 | - | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end |
959 | + | local finishing = false |
960 | - | notify("ZOMBIES TERMINATED",false) |
960 | + | local kyssing = false |
961 | local canbackgroundmusic = true | |
962 | - | end) |
962 | + | local cancolorfilter = true |
963 | local spinboolean = false | |
964 | - | function nub() |
964 | + | local grabbed = nil |
965 | - | local me = player.Character |
965 | + | local doing = false |
966 | - | local point = me.HumanoidRootPart |
966 | + | local rightshoulder = nil |
967 | - | local playergui = player.PlayerGui |
967 | + | local leftshoulder = nil |
968 | - | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() |
968 | + | local headweld = nil |
969 | - | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() |
969 | + | local usable = true |
970 | - | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() |
970 | + | finishnum = 1 |
971 | - | local lefthipz = me.Torso["Left Hip"]:Clone() |
971 | + | |
972 | - | local righthipz = me.Torso["Right Hip"]:Clone() |
972 | + | function notify(msg,forever) |
973 | - | local mode = "kill" |
973 | + | local doit = coroutine.wrap(function() |
974 | - | local lerpz = false |
974 | + | local gui = Instance.new('ScreenGui',playergui) |
975 | - | local active = false |
975 | + | gui.Name = "Notification" |
976 | - | local acting = false |
976 | + | local frame = Instance.new('Frame',gui) |
977 | - | local hit = false |
977 | + | frame.Position = UDim2.new(0,0,0,0) |
978 | - | local canClick = true |
978 | + | frame.Size = UDim2.new(1,0,0.2,0) |
979 | - | local stabbing = false |
979 | + | frame.BackgroundTransparency = 1 |
980 | - | local grabbing = false |
980 | + | local txt = Instance.new('TextLabel',frame) |
981 | - | local finishing = false |
981 | + | txt.TextColor3 = Color3.new(255,255,255) |
982 | - | local kyssing = false |
982 | + | txt.TextStrokeColor3 = Color3.new(0, 0, 0) |
983 | - | local canbackgroundmusic = true |
983 | + | txt.TextStrokeTransparency = 0 |
984 | - | local cancolorfilter = true |
984 | + | txt.BackgroundTransparency = 1 |
985 | - | local spinboolean = false |
985 | + | txt.Text = "" |
986 | - | local grabbed = nil |
986 | + | txt.Size = UDim2.new(1,0,0.3,0) |
987 | - | local doing = false |
987 | + | txt.Position = UDim2.new(0,0,0.4,0) |
988 | - | local rightshoulder = nil |
988 | + | txt.TextScaled = true |
989 | - | local leftshoulder = nil |
989 | + | txt.Font = "Code" |
990 | - | local headweld = nil |
990 | + | txt.TextXAlignment = "Center" |
991 | - | local usable = true |
991 | + | local tap = Instance.new("Sound") |
992 | - | finishnum = 1 |
992 | + | tap.Parent = gui |
993 | tap.SoundId = "rbxassetid://147982968" | |
994 | - | function notify(msg,forever) |
994 | + | tap.TimePosition = 0.1 |
995 | local str = msg | |
996 | - | local gui = Instance.new('ScreenGui',playergui) |
996 | + | local len = string.len(str) |
997 | - | gui.Name = "Notification" |
997 | + | for i=1,len do |
998 | - | local frame = Instance.new('Frame',gui) |
998 | + | txt.Text = string.sub(str,1,i) |
999 | - | frame.Position = UDim2.new(0,0,0,0) |
999 | + | pitche = math.random(20, 40)/10 |
1000 | - | frame.Size = UDim2.new(1,0,0.2,0) |
1000 | + | tap.PlaybackSpeed = pitche |
1001 | - | frame.BackgroundTransparency = 1 |
1001 | + | tap:Play() |
1002 | - | local txt = Instance.new('TextLabel',frame) |
1002 | + | |
1003 | - | txt.TextColor3 = Color3.new(255,255,255) |
1003 | + | |
1004 | - | txt.TextStrokeColor3 = Color3.new(0, 0, 0) |
1004 | + | if forever == false then |
1005 | - | txt.TextStrokeTransparency = 0 |
1005 | + | wait(1) |
1006 | - | txt.BackgroundTransparency = 1 |
1006 | + | while txt.TextTransparency < 1 do |
1007 | - | txt.Text = "" |
1007 | + | txt.TextTransparency = txt.TextTransparency + 0.1 |
1008 | - | txt.Size = UDim2.new(1,0,0.3,0) |
1008 | + | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 |
1009 | - | txt.Position = UDim2.new(0,0,0.4,0) |
1009 | + | wait(0.001) |
1010 | - | txt.TextScaled = true |
1010 | + | |
1011 | - | txt.Font = "Code" |
1011 | + | gui:Destroy() |
1012 | - | txt.TextXAlignment = "Center" |
1012 | + | |
1013 | - | local tap = Instance.new("Sound") |
1013 | + | |
1014 | - | tap.Parent = gui |
1014 | + | doit() |
1015 | - | tap.SoundId = "rbxassetid://147982968" |
1015 | + | |
1016 | - | tap.TimePosition = 0.1 |
1016 | + | |
1017 | - | local str = msg |
1017 | + | |
1018 | - | local len = string.len(str) |
1018 | + | notify("Loaded Now Go Rekt Da Kids",true) |
1019 | - | for i=1,len do |
1019 | + | local laugh = Instance.new('Sound',me.Head) |
1020 | - | txt.Text = string.sub(str,1,i) |
1020 | + | laugh.SoundId = 'rbxassetid://378827985' |
1021 | - | pitche = math.random(20, 40)/10 |
1021 | + | laugh.Name = "Psycho" |
1022 | - | tap.PlaybackSpeed = pitche |
1022 | + | laugh.Volume = 5 |
1023 | - | tap:Play() |
1023 | + | -- 1 - bitch ass knife |
1024 | local obj1 = Instance.new("Model") | |
1025 | obj1.Name = "bitch ass knife" | |
1026 | - | if forever == false then |
1026 | + | obj1.Parent = game.Workspace |
1027 | ||
1028 | - | while txt.TextTransparency < 1 do |
1028 | + | -- 2 - Grab |
1029 | - | txt.TextTransparency = txt.TextTransparency + 0.1 |
1029 | + | local obj2 = Instance.new("Part") |
1030 | - | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 |
1030 | + | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1031 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1032 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1033 | - | gui:Destroy() |
1033 | + | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1034 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1035 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1036 | obj2.Material = Enum.Material.Concrete | |
1037 | - | end |
1037 | + | obj2.Size = Vector3.new(1, 0.25, 0.25) |
1038 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1039 | - | wait(0.5) |
1039 | + | obj2.Anchored = true |
1040 | - | notify("Loaded Now Go Rekt Da Kids",true) |
1040 | + | obj2.BrickColor = BrickColor.new("Black") |
1041 | - | local laugh = Instance.new('Sound',me.Head) |
1041 | + | obj2.Friction = 0.30000001192093 |
1042 | - | laugh.SoundId = 'rbxassetid://378827985' |
1042 | + | obj2.Shape = Enum.PartType.Cylinder |
1043 | - | laugh.Name = "Psycho" |
1043 | + | obj2.Name = "Grab" |
1044 | - | laugh.Volume = 5 |
1044 | + | obj2.Parent = obj1 |
1045 | - | -- 1 - bitch ass knife |
1045 | + | |
1046 | - | local obj1 = Instance.new("Model") |
1046 | + | -- 3 - handletopcap |
1047 | - | obj1.Name = "bitch ass knife" |
1047 | + | local obj3 = Instance.new("Part") |
1048 | - | obj1.Parent = game.Workspace |
1048 | + | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) |
1049 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1050 | - | -- 2 - Grab |
1050 | + | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1051 | - | local obj2 = Instance.new("Part") |
1051 | + | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1052 | - | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1052 | + | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1053 | - | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1053 | + | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1054 | - | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1054 | + | obj3.Material = Enum.Material.Concrete |
1055 | - | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1055 | + | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) |
1056 | - | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1056 | + | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1057 | - | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1057 | + | obj3.Anchored = true |
1058 | - | obj2.Material = Enum.Material.Concrete |
1058 | + | obj3.BrickColor = BrickColor.new("Black") |
1059 | - | obj2.Size = Vector3.new(1, 0.25, 0.25) |
1059 | + | obj3.Friction = 0.30000001192093 |
1060 | - | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1060 | + | obj3.Shape = Enum.PartType.Ball |
1061 | - | obj2.Anchored = true |
1061 | + | obj3.Name = "handletopcap" |
1062 | - | obj2.BrickColor = BrickColor.new("Black") |
1062 | + | obj3.Parent = obj1 |
1063 | - | obj2.Friction = 0.30000001192093 |
1063 | + | |
1064 | - | obj2.Shape = Enum.PartType.Cylinder |
1064 | + | -- 4 - handlebottomcap |
1065 | - | obj2.Name = "Grab" |
1065 | + | local obj4 = Instance.new("Part") |
1066 | - | obj2.Parent = obj1 |
1066 | + | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) |
1067 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1068 | - | -- 3 - handletopcap |
1068 | + | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1069 | - | local obj3 = Instance.new("Part") |
1069 | + | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1070 | - | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) |
1070 | + | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1071 | - | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1071 | + | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1072 | - | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1072 | + | obj4.Material = Enum.Material.Concrete |
1073 | - | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1073 | + | obj4.Size = Vector3.new(0.25, 0.25, 0.25) |
1074 | - | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1074 | + | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1075 | - | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1075 | + | obj4.Anchored = true |
1076 | - | obj3.Material = Enum.Material.Concrete |
1076 | + | obj4.BrickColor = BrickColor.new("Black") |
1077 | - | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) |
1077 | + | obj4.Friction = 0.30000001192093 |
1078 | - | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1078 | + | obj4.Shape = Enum.PartType.Ball |
1079 | - | obj3.Anchored = true |
1079 | + | obj4.Name = "handlebottomcap" |
1080 | - | obj3.BrickColor = BrickColor.new("Black") |
1080 | + | obj4.Parent = obj1 |
1081 | - | obj3.Friction = 0.30000001192093 |
1081 | + | |
1082 | - | obj3.Shape = Enum.PartType.Ball |
1082 | + | -- 5 - handleguardmid |
1083 | - | obj3.Name = "handletopcap" |
1083 | + | local obj5 = Instance.new("Part") |
1084 | - | obj3.Parent = obj1 |
1084 | + | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) |
1085 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1086 | - | -- 4 - handlebottomcap |
1086 | + | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1087 | - | local obj4 = Instance.new("Part") |
1087 | + | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1088 | - | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) |
1088 | + | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1089 | - | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1089 | + | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1090 | - | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1090 | + | obj5.Material = Enum.Material.Concrete |
1091 | - | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1091 | + | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) |
1092 | - | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1092 | + | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1093 | - | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1093 | + | obj5.Anchored = true |
1094 | - | obj4.Material = Enum.Material.Concrete |
1094 | + | obj5.BrickColor = BrickColor.new("Black") |
1095 | - | obj4.Size = Vector3.new(0.25, 0.25, 0.25) |
1095 | + | obj5.Friction = 0.30000001192093 |
1096 | - | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1096 | + | obj5.Shape = Enum.PartType.Block |
1097 | - | obj4.Anchored = true |
1097 | + | obj5.Name = "handleguardmid" |
1098 | - | obj4.BrickColor = BrickColor.new("Black") |
1098 | + | obj5.Parent = obj1 |
1099 | - | obj4.Friction = 0.30000001192093 |
1099 | + | |
1100 | - | obj4.Shape = Enum.PartType.Ball |
1100 | + | -- 6 - handleguardcap1 |
1101 | - | obj4.Name = "handlebottomcap" |
1101 | + | local obj6 = Instance.new("Part") |
1102 | - | obj4.Parent = obj1 |
1102 | + | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1103 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1104 | - | -- 5 - handleguardmid |
1104 | + | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1105 | - | local obj5 = Instance.new("Part") |
1105 | + | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1106 | - | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) |
1106 | + | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1107 | - | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1107 | + | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1108 | - | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1108 | + | obj6.Material = Enum.Material.Concrete |
1109 | - | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1109 | + | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) |
1110 | - | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1110 | + | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1111 | - | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1111 | + | obj6.Anchored = true |
1112 | - | obj5.Material = Enum.Material.Concrete |
1112 | + | obj6.BrickColor = BrickColor.new("Black") |
1113 | - | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) |
1113 | + | obj6.Friction = 0.30000001192093 |
1114 | - | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1114 | + | obj6.Shape = Enum.PartType.Cylinder |
1115 | - | obj5.Anchored = true |
1115 | + | obj6.Name = "handleguardcap1" |
1116 | - | obj5.BrickColor = BrickColor.new("Black") |
1116 | + | obj6.Parent = obj1 |
1117 | - | obj5.Friction = 0.30000001192093 |
1117 | + | |
1118 | - | obj5.Shape = Enum.PartType.Block |
1118 | + | -- 7 - handleguardcap2 |
1119 | - | obj5.Name = "handleguardmid" |
1119 | + | local obj7 = Instance.new("Part") |
1120 | - | obj5.Parent = obj1 |
1120 | + | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1121 | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1122 | - | -- 6 - handleguardcap1 |
1122 | + | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1123 | - | local obj6 = Instance.new("Part") |
1123 | + | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1124 | - | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1124 | + | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1125 | - | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1125 | + | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1126 | - | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1126 | + | obj7.Material = Enum.Material.Concrete |
1127 | - | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1127 | + | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) |
1128 | - | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1128 | + | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1129 | - | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1129 | + | obj7.Anchored = true |
1130 | - | obj6.Material = Enum.Material.Concrete |
1130 | + | obj7.BrickColor = BrickColor.new("Black") |
1131 | - | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) |
1131 | + | obj7.Friction = 0.30000001192093 |
1132 | - | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1132 | + | obj7.Shape = Enum.PartType.Cylinder |
1133 | - | obj6.Anchored = true |
1133 | + | obj7.Name = "handleguardcap2" |
1134 | - | obj6.BrickColor = BrickColor.new("Black") |
1134 | + | obj7.Parent = obj1 |
1135 | - | obj6.Friction = 0.30000001192093 |
1135 | + | |
1136 | - | obj6.Shape = Enum.PartType.Cylinder |
1136 | + | -- 8 - big ass knife |
1137 | - | obj6.Name = "handleguardcap1" |
1137 | + | local obj8 = Instance.new("Part") |
1138 | - | obj6.Parent = obj1 |
1138 | + | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1139 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1140 | - | -- 7 - handleguardcap2 |
1140 | + | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1141 | - | local obj7 = Instance.new("Part") |
1141 | + | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1142 | - | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) |
1142 | + | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1143 | - | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1143 | + | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1144 | - | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1144 | + | obj8.Material = Enum.Material.Metal |
1145 | - | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1145 | + | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) |
1146 | - | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1146 | + | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1147 | - | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1147 | + | obj8.Anchored = true |
1148 | - | obj7.Material = Enum.Material.Concrete |
1148 | + | obj8.BrickColor = BrickColor.new("Lily white") |
1149 | - | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) |
1149 | + | obj8.Friction = 0.30000001192093 |
1150 | - | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1150 | + | obj8.Shape = Enum.PartType.Block |
1151 | - | obj7.Anchored = true |
1151 | + | obj8.Name = "big ass knife" |
1152 | - | obj7.BrickColor = BrickColor.new("Black") |
1152 | + | obj8.Parent = obj1 |
1153 | - | obj7.Friction = 0.30000001192093 |
1153 | + | |
1154 | - | obj7.Shape = Enum.PartType.Cylinder |
1154 | + | -- 9 - Mesh |
1155 | - | obj7.Name = "handleguardcap2" |
1155 | + | local obj9 = Instance.new("BlockMesh") |
1156 | - | obj7.Parent = obj1 |
1156 | + | obj9.Scale = Vector3.new(0.5, 1, 1) |
1157 | obj9.Parent = obj8 | |
1158 | - | -- 8 - big ass knife |
1158 | + | |
1159 | - | local obj8 = Instance.new("Part") |
1159 | + | -- 10 - big ass knife |
1160 | - | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1160 | + | local obj10 = Instance.new("Part") |
1161 | - | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1161 | + | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1162 | - | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1162 | + | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1163 | - | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1163 | + | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1164 | - | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1164 | + | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1165 | - | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1165 | + | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1166 | - | obj8.Material = Enum.Material.Metal |
1166 | + | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1167 | - | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) |
1167 | + | obj10.Material = Enum.Material.Metal |
1168 | - | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1168 | + | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) |
1169 | - | obj8.Anchored = true |
1169 | + | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1170 | - | obj8.BrickColor = BrickColor.new("Lily white") |
1170 | + | obj10.Anchored = true |
1171 | - | obj8.Friction = 0.30000001192093 |
1171 | + | obj10.BrickColor = BrickColor.new("Lily white") |
1172 | - | obj8.Shape = Enum.PartType.Block |
1172 | + | obj10.Friction = 0.30000001192093 |
1173 | - | obj8.Name = "big ass knife" |
1173 | + | obj10.Shape = Enum.PartType.Block |
1174 | - | obj8.Parent = obj1 |
1174 | + | obj10.Name = "big ass knife" |
1175 | obj10.Parent = obj1 | |
1176 | - | -- 9 - Mesh |
1176 | + | local knife = obj10 |
1177 | - | local obj9 = Instance.new("BlockMesh") |
1177 | + | |
1178 | - | obj9.Scale = Vector3.new(0.5, 1, 1) |
1178 | + | -- 11 - Mesh |
1179 | - | obj9.Parent = obj8 |
1179 | + | local obj11 = Instance.new("BlockMesh") |
1180 | obj11.Scale = Vector3.new(0.5, 1, 1) | |
1181 | - | -- 10 - big ass knife |
1181 | + | obj11.Parent = obj10 |
1182 | - | local obj10 = Instance.new("Part") |
1182 | + | |
1183 | - | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1183 | + | -- 12 - big ass knife |
1184 | - | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1184 | + | local obj12 = Instance.new("Part") |
1185 | - | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1185 | + | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1186 | - | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1186 | + | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1187 | - | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1187 | + | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1188 | - | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1188 | + | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1189 | - | obj10.Material = Enum.Material.Metal |
1189 | + | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1190 | - | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) |
1190 | + | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1191 | - | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1191 | + | obj12.Material = Enum.Material.Metal |
1192 | - | obj10.Anchored = true |
1192 | + | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) |
1193 | - | obj10.BrickColor = BrickColor.new("Lily white") |
1193 | + | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1194 | - | obj10.Friction = 0.30000001192093 |
1194 | + | obj12.Anchored = true |
1195 | - | obj10.Shape = Enum.PartType.Block |
1195 | + | obj12.BrickColor = BrickColor.new("Lily white") |
1196 | - | obj10.Name = "big ass knife" |
1196 | + | obj12.Friction = 0.30000001192093 |
1197 | - | obj10.Parent = obj1 |
1197 | + | obj12.Shape = Enum.PartType.Block |
1198 | - | local knife = obj10 |
1198 | + | obj12.Name = "big ass knife" |
1199 | obj12.Parent = obj1 | |
1200 | - | -- 11 - Mesh |
1200 | + | |
1201 | - | local obj11 = Instance.new("BlockMesh") |
1201 | + | -- 13 - Mesh |
1202 | - | obj11.Scale = Vector3.new(0.5, 1, 1) |
1202 | + | local obj13 = Instance.new("BlockMesh") |
1203 | - | obj11.Parent = obj10 |
1203 | + | obj13.Scale = Vector3.new(0.5, 1, 1) |
1204 | obj13.Parent = obj12 | |
1205 | - | -- 12 - big ass knife |
1205 | + | |
1206 | - | local obj12 = Instance.new("Part") |
1206 | + | -- 14 - serration |
1207 | - | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) |
1207 | + | local obj14 = Instance.new("WedgePart") |
1208 | - | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1208 | + | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1209 | - | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1209 | + | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1210 | - | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1210 | + | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1211 | - | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1211 | + | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1212 | - | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1212 | + | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1213 | - | obj12.Material = Enum.Material.Metal |
1213 | + | obj14.Material = Enum.Material.Metal |
1214 | - | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) |
1214 | + | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1215 | - | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1215 | + | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1216 | - | obj12.Anchored = true |
1216 | + | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1217 | - | obj12.BrickColor = BrickColor.new("Lily white") |
1217 | + | obj14.Anchored = true |
1218 | - | obj12.Friction = 0.30000001192093 |
1218 | + | obj14.BrickColor = BrickColor.new("Lily white") |
1219 | - | obj12.Shape = Enum.PartType.Block |
1219 | + | obj14.Friction = 0.30000001192093 |
1220 | - | obj12.Name = "big ass knife" |
1220 | + | obj14.Name = "serration" |
1221 | - | obj12.Parent = obj1 |
1221 | + | obj14.Parent = obj1 |
1222 | ||
1223 | - | -- 13 - Mesh |
1223 | + | -- 15 - Mesh |
1224 | - | local obj13 = Instance.new("BlockMesh") |
1224 | + | local obj15 = Instance.new("BlockMesh") |
1225 | - | obj13.Scale = Vector3.new(0.5, 1, 1) |
1225 | + | obj15.Scale = Vector3.new(0.5, 1, 1) |
1226 | - | obj13.Parent = obj12 |
1226 | + | obj15.Parent = obj14 |
1227 | ||
1228 | - | -- 14 - serration |
1228 | + | -- 16 - serration |
1229 | - | local obj14 = Instance.new("WedgePart") |
1229 | + | local obj16 = Instance.new("WedgePart") |
1230 | - | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1230 | + | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1231 | - | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1231 | + | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1232 | - | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1232 | + | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1233 | - | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1233 | + | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1234 | - | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1234 | + | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1235 | - | obj14.Material = Enum.Material.Metal |
1235 | + | obj16.Material = Enum.Material.Metal |
1236 | - | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1236 | + | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1237 | - | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1237 | + | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1238 | - | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1238 | + | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1239 | - | obj14.Anchored = true |
1239 | + | obj16.Anchored = true |
1240 | - | obj14.BrickColor = BrickColor.new("Lily white") |
1240 | + | obj16.BrickColor = BrickColor.new("Lily white") |
1241 | - | obj14.Friction = 0.30000001192093 |
1241 | + | obj16.Friction = 0.30000001192093 |
1242 | - | obj14.Name = "serration" |
1242 | + | obj16.Name = "serration" |
1243 | - | obj14.Parent = obj1 |
1243 | + | obj16.Parent = obj1 |
1244 | ||
1245 | - | -- 15 - Mesh |
1245 | + | -- 17 - Mesh |
1246 | - | local obj15 = Instance.new("BlockMesh") |
1246 | + | local obj17 = Instance.new("BlockMesh") |
1247 | - | obj15.Scale = Vector3.new(0.5, 1, 1) |
1247 | + | obj17.Scale = Vector3.new(0.5, 1, 1) |
1248 | - | obj15.Parent = obj14 |
1248 | + | obj17.Parent = obj16 |
1249 | ||
1250 | - | -- 16 - serration |
1250 | + | -- 18 - serration |
1251 | - | local obj16 = Instance.new("WedgePart") |
1251 | + | local obj18 = Instance.new("WedgePart") |
1252 | - | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1252 | + | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1253 | - | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1253 | + | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1254 | - | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1254 | + | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1255 | - | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1255 | + | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1256 | - | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1256 | + | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1257 | - | obj16.Material = Enum.Material.Metal |
1257 | + | obj18.Material = Enum.Material.Metal |
1258 | - | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1258 | + | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1259 | - | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1259 | + | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1260 | - | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1260 | + | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1261 | - | obj16.Anchored = true |
1261 | + | obj18.Anchored = true |
1262 | - | obj16.BrickColor = BrickColor.new("Lily white") |
1262 | + | obj18.BrickColor = BrickColor.new("Lily white") |
1263 | - | obj16.Friction = 0.30000001192093 |
1263 | + | obj18.Friction = 0.30000001192093 |
1264 | - | obj16.Name = "serration" |
1264 | + | obj18.Name = "serration" |
1265 | - | obj16.Parent = obj1 |
1265 | + | obj18.Parent = obj1 |
1266 | ||
1267 | - | -- 17 - Mesh |
1267 | + | -- 19 - Mesh |
1268 | - | local obj17 = Instance.new("BlockMesh") |
1268 | + | local obj19 = Instance.new("BlockMesh") |
1269 | - | obj17.Scale = Vector3.new(0.5, 1, 1) |
1269 | + | obj19.Scale = Vector3.new(0.5, 1, 1) |
1270 | - | obj17.Parent = obj16 |
1270 | + | obj19.Parent = obj18 |
1271 | ||
1272 | - | -- 18 - serration |
1272 | + | -- 20 - serration |
1273 | - | local obj18 = Instance.new("WedgePart") |
1273 | + | local obj20 = Instance.new("WedgePart") |
1274 | - | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1274 | + | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1275 | - | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1275 | + | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1276 | - | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1276 | + | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1277 | - | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1277 | + | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1278 | - | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1278 | + | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1279 | - | obj18.Material = Enum.Material.Metal |
1279 | + | obj20.Material = Enum.Material.Metal |
1280 | - | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1280 | + | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1281 | - | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1281 | + | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1282 | - | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1282 | + | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1283 | - | obj18.Anchored = true |
1283 | + | obj20.Anchored = true |
1284 | - | obj18.BrickColor = BrickColor.new("Lily white") |
1284 | + | obj20.BrickColor = BrickColor.new("Lily white") |
1285 | - | obj18.Friction = 0.30000001192093 |
1285 | + | obj20.Friction = 0.30000001192093 |
1286 | - | obj18.Name = "serration" |
1286 | + | obj20.Name = "serration" |
1287 | - | obj18.Parent = obj1 |
1287 | + | obj20.Parent = obj1 |
1288 | ||
1289 | - | -- 19 - Mesh |
1289 | + | -- 21 - Mesh |
1290 | - | local obj19 = Instance.new("BlockMesh") |
1290 | + | local obj21 = Instance.new("BlockMesh") |
1291 | - | obj19.Scale = Vector3.new(0.5, 1, 1) |
1291 | + | obj21.Scale = Vector3.new(0.5, 1, 1) |
1292 | - | obj19.Parent = obj18 |
1292 | + | obj21.Parent = obj20 |
1293 | ||
1294 | - | -- 20 - serration |
1294 | + | -- 22 - serration |
1295 | - | local obj20 = Instance.new("WedgePart") |
1295 | + | local obj22 = Instance.new("WedgePart") |
1296 | - | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1296 | + | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1297 | - | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1297 | + | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1298 | - | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1298 | + | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1299 | - | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1299 | + | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1300 | - | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1300 | + | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1301 | - | obj20.Material = Enum.Material.Metal |
1301 | + | obj22.Material = Enum.Material.Metal |
1302 | - | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1302 | + | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1303 | - | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1303 | + | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1304 | - | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1304 | + | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1305 | - | obj20.Anchored = true |
1305 | + | obj22.Anchored = true |
1306 | - | obj20.BrickColor = BrickColor.new("Lily white") |
1306 | + | obj22.BrickColor = BrickColor.new("Lily white") |
1307 | - | obj20.Friction = 0.30000001192093 |
1307 | + | obj22.Friction = 0.30000001192093 |
1308 | - | obj20.Name = "serration" |
1308 | + | obj22.Name = "serration" |
1309 | - | obj20.Parent = obj1 |
1309 | + | obj22.Parent = obj1 |
1310 | ||
1311 | - | -- 21 - Mesh |
1311 | + | -- 23 - Mesh |
1312 | - | local obj21 = Instance.new("BlockMesh") |
1312 | + | local obj23 = Instance.new("BlockMesh") |
1313 | - | obj21.Scale = Vector3.new(0.5, 1, 1) |
1313 | + | obj23.Scale = Vector3.new(0.5, 1, 1) |
1314 | - | obj21.Parent = obj20 |
1314 | + | obj23.Parent = obj22 |
1315 | ||
1316 | - | -- 22 - serration |
1316 | + | -- 24 - serration |
1317 | - | local obj22 = Instance.new("WedgePart") |
1317 | + | local obj24 = Instance.new("WedgePart") |
1318 | - | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1318 | + | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1319 | - | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1319 | + | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1320 | - | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1320 | + | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1321 | - | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1321 | + | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1322 | - | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1322 | + | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1323 | - | obj22.Material = Enum.Material.Metal |
1323 | + | obj24.Material = Enum.Material.Metal |
1324 | - | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1324 | + | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1325 | - | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1325 | + | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1326 | - | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1326 | + | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1327 | - | obj22.Anchored = true |
1327 | + | obj24.Anchored = true |
1328 | - | obj22.BrickColor = BrickColor.new("Lily white") |
1328 | + | obj24.BrickColor = BrickColor.new("Lily white") |
1329 | - | obj22.Friction = 0.30000001192093 |
1329 | + | obj24.Friction = 0.30000001192093 |
1330 | - | obj22.Name = "serration" |
1330 | + | obj24.Name = "serration" |
1331 | - | obj22.Parent = obj1 |
1331 | + | obj24.Parent = obj1 |
1332 | ||
1333 | - | -- 23 - Mesh |
1333 | + | -- 25 - Mesh |
1334 | - | local obj23 = Instance.new("BlockMesh") |
1334 | + | local obj25 = Instance.new("BlockMesh") |
1335 | - | obj23.Scale = Vector3.new(0.5, 1, 1) |
1335 | + | obj25.Scale = Vector3.new(0.5, 1, 1) |
1336 | - | obj23.Parent = obj22 |
1336 | + | obj25.Parent = obj24 |
1337 | ||
1338 | - | -- 24 - serration |
1338 | + | -- 26 - serration |
1339 | - | local obj24 = Instance.new("WedgePart") |
1339 | + | local obj26 = Instance.new("WedgePart") |
1340 | - | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1340 | + | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1341 | - | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1341 | + | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1342 | - | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1342 | + | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1343 | - | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1343 | + | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1344 | - | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1344 | + | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1345 | - | obj24.Material = Enum.Material.Metal |
1345 | + | obj26.Material = Enum.Material.Metal |
1346 | - | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1346 | + | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1347 | - | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1347 | + | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1348 | - | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1348 | + | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1349 | - | obj24.Anchored = true |
1349 | + | obj26.Anchored = true |
1350 | - | obj24.BrickColor = BrickColor.new("Lily white") |
1350 | + | obj26.BrickColor = BrickColor.new("Lily white") |
1351 | - | obj24.Friction = 0.30000001192093 |
1351 | + | obj26.Friction = 0.30000001192093 |
1352 | - | obj24.Name = "serration" |
1352 | + | obj26.Name = "serration" |
1353 | - | obj24.Parent = obj1 |
1353 | + | obj26.Parent = obj1 |
1354 | ||
1355 | - | -- 25 - Mesh |
1355 | + | -- 27 - Mesh |
1356 | - | local obj25 = Instance.new("BlockMesh") |
1356 | + | local obj27 = Instance.new("BlockMesh") |
1357 | - | obj25.Scale = Vector3.new(0.5, 1, 1) |
1357 | + | obj27.Scale = Vector3.new(0.5, 1, 1) |
1358 | - | obj25.Parent = obj24 |
1358 | + | obj27.Parent = obj26 |
1359 | ||
1360 | - | -- 26 - serration |
1360 | + | -- 28 - serration |
1361 | - | local obj26 = Instance.new("WedgePart") |
1361 | + | local obj28 = Instance.new("WedgePart") |
1362 | - | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1362 | + | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1363 | - | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1363 | + | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1364 | - | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1364 | + | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1365 | - | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1365 | + | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1366 | - | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1366 | + | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1367 | - | obj26.Material = Enum.Material.Metal |
1367 | + | obj28.Material = Enum.Material.Metal |
1368 | - | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1368 | + | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1369 | - | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1369 | + | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1370 | - | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1370 | + | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1371 | - | obj26.Anchored = true |
1371 | + | obj28.Anchored = true |
1372 | - | obj26.BrickColor = BrickColor.new("Lily white") |
1372 | + | obj28.BrickColor = BrickColor.new("Lily white") |
1373 | - | obj26.Friction = 0.30000001192093 |
1373 | + | obj28.Friction = 0.30000001192093 |
1374 | - | obj26.Name = "serration" |
1374 | + | obj28.Name = "serration" |
1375 | - | obj26.Parent = obj1 |
1375 | + | obj28.Parent = obj1 |
1376 | ||
1377 | - | -- 27 - Mesh |
1377 | + | -- 29 - Mesh |
1378 | - | local obj27 = Instance.new("BlockMesh") |
1378 | + | local obj29 = Instance.new("BlockMesh") |
1379 | - | obj27.Scale = Vector3.new(0.5, 1, 1) |
1379 | + | obj29.Scale = Vector3.new(0.5, 1, 1) |
1380 | - | obj27.Parent = obj26 |
1380 | + | obj29.Parent = obj28 |
1381 | ||
1382 | - | -- 28 - serration |
1382 | + | -- 30 - knifetip1 |
1383 | - | local obj28 = Instance.new("WedgePart") |
1383 | + | local obj30 = Instance.new("WedgePart") |
1384 | - | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1384 | + | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1385 | - | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1385 | + | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1386 | - | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1386 | + | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1387 | - | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1387 | + | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1388 | - | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1388 | + | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1389 | - | obj28.Material = Enum.Material.Metal |
1389 | + | obj30.Material = Enum.Material.Metal |
1390 | - | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1390 | + | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1391 | - | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1391 | + | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1392 | - | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1392 | + | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1393 | - | obj28.Anchored = true |
1393 | + | obj30.Anchored = true |
1394 | - | obj28.BrickColor = BrickColor.new("Lily white") |
1394 | + | obj30.BrickColor = BrickColor.new("Lily white") |
1395 | - | obj28.Friction = 0.30000001192093 |
1395 | + | obj30.Friction = 0.30000001192093 |
1396 | - | obj28.Name = "serration" |
1396 | + | obj30.Name = "knifetip1" |
1397 | - | obj28.Parent = obj1 |
1397 | + | obj30.Parent = obj1 |
1398 | ||
1399 | - | -- 29 - Mesh |
1399 | + | -- 31 - Mesh |
1400 | - | local obj29 = Instance.new("BlockMesh") |
1400 | + | local obj31 = Instance.new("BlockMesh") |
1401 | - | obj29.Scale = Vector3.new(0.5, 1, 1) |
1401 | + | obj31.Scale = Vector3.new(0.5, 1, 1) |
1402 | - | obj29.Parent = obj28 |
1402 | + | obj31.Parent = obj30 |
1403 | ||
1404 | - | -- 30 - knifetip1 |
1404 | + | -- 32 - redstuff |
1405 | - | local obj30 = Instance.new("WedgePart") |
1405 | + | local obj32 = Instance.new("Part") |
1406 | - | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1406 | + | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) |
1407 | - | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1407 | + | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1408 | - | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1408 | + | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1409 | - | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1409 | + | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1410 | - | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1410 | + | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1411 | - | obj30.Material = Enum.Material.Metal |
1411 | + | obj32.Material = Enum.Material.SmoothPlastic |
1412 | - | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) |
1412 | + | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1413 | - | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1413 | + | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) |
1414 | - | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1414 | + | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1415 | - | obj30.Anchored = true |
1415 | + | obj32.BrickColor = BrickColor.new("Institutional white") |
1416 | - | obj30.BrickColor = BrickColor.new("Lily white") |
1416 | + | obj32.Friction = 0.30000001192093 |
1417 | - | obj30.Friction = 0.30000001192093 |
1417 | + | obj32.Shape = Enum.PartType.Cylinder |
1418 | - | obj30.Name = "knifetip1" |
1418 | + | obj32.Name = "redstuff" |
1419 | - | obj30.Parent = obj1 |
1419 | + | obj32.Anchored = true |
1420 | obj32.Parent = obj1 | |
1421 | - | -- 31 - Mesh |
1421 | + | |
1422 | - | local obj31 = Instance.new("BlockMesh") |
1422 | + | |
1423 | - | obj31.Scale = Vector3.new(0.5, 1, 1) |
1423 | + | -- 33 - redstuff |
1424 | - | obj31.Parent = obj30 |
1424 | + | local obj33 = Instance.new("Part") |
1425 | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) | |
1426 | - | -- 32 - redstuff |
1426 | + | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1427 | - | local obj32 = Instance.new("Part") |
1427 | + | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1428 | - | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) |
1428 | + | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1429 | - | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1429 | + | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1430 | - | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1430 | + | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1431 | - | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1431 | + | obj33.Material = Enum.Material.SmoothPlastic |
1432 | - | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1432 | + | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) |
1433 | - | obj32.Material = Enum.Material.SmoothPlastic |
1433 | + | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1434 | - | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1434 | + | obj33.BrickColor = BrickColor.new("Institutional white") |
1435 | - | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) |
1435 | + | obj33.Friction = 0.30000001192093 |
1436 | - | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1436 | + | obj33.Shape = Enum.PartType.Block |
1437 | - | obj32.BrickColor = BrickColor.new("Institutional white") |
1437 | + | obj33.Name = "redstuff" |
1438 | - | obj32.Friction = 0.30000001192093 |
1438 | + | obj33.Anchored = true |
1439 | - | obj32.Shape = Enum.PartType.Cylinder |
1439 | + | obj33.Parent = obj1 |
1440 | - | obj32.Name = "redstuff" |
1440 | + | |
1441 | - | obj32.Anchored = true |
1441 | + | -- 34 - redstuff |
1442 | - | obj32.Parent = obj1 |
1442 | + | local obj34 = Instance.new("Part") |
1443 | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1444 | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1445 | - | -- 33 - redstuff |
1445 | + | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1446 | - | local obj33 = Instance.new("Part") |
1446 | + | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1447 | - | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) |
1447 | + | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1448 | - | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1448 | + | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1449 | - | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1449 | + | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) |
1450 | - | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1450 | + | obj34.Material = Enum.Material.SmoothPlastic |
1451 | - | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1451 | + | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1452 | - | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1452 | + | obj34.BrickColor = BrickColor.new("Institutional white") |
1453 | - | obj33.Material = Enum.Material.SmoothPlastic |
1453 | + | obj34.Friction = 0.30000001192093 |
1454 | - | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) |
1454 | + | obj34.Shape = Enum.PartType.Cylinder |
1455 | - | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1455 | + | obj34.Name = "redstuff" |
1456 | - | obj33.BrickColor = BrickColor.new("Institutional white") |
1456 | + | obj34.Anchored = true |
1457 | - | obj33.Friction = 0.30000001192093 |
1457 | + | obj34.Parent = obj1 |
1458 | - | obj33.Shape = Enum.PartType.Block |
1458 | + | |
1459 | - | obj33.Name = "redstuff" |
1459 | + | -- 35 - redstuff |
1460 | - | obj33.Anchored = true |
1460 | + | local obj35 = Instance.new("Part") |
1461 | - | obj33.Parent = obj1 |
1461 | + | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) |
1462 | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1463 | - | -- 34 - redstuff |
1463 | + | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1464 | - | local obj34 = Instance.new("Part") |
1464 | + | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1465 | - | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) |
1465 | + | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1466 | - | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1466 | + | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1467 | - | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1467 | + | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) |
1468 | - | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1468 | + | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1469 | - | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1469 | + | obj35.BrickColor = BrickColor.new("Institutional white") |
1470 | - | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1470 | + | obj35.Friction = 0.30000001192093 |
1471 | - | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) |
1471 | + | obj35.Shape = Enum.PartType.Cylinder |
1472 | - | obj34.Material = Enum.Material.SmoothPlastic |
1472 | + | obj35.Material = Enum.Material.SmoothPlastic |
1473 | - | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1473 | + | obj35.Name = "redstuff" |
1474 | - | obj34.BrickColor = BrickColor.new("Institutional white") |
1474 | + | obj35.Anchored = true |
1475 | - | obj34.Friction = 0.30000001192093 |
1475 | + | obj35.Parent = obj1 |
1476 | - | obj34.Shape = Enum.PartType.Cylinder |
1476 | + | |
1477 | - | obj34.Name = "redstuff" |
1477 | + | -- 36 - redstuff |
1478 | - | obj34.Anchored = true |
1478 | + | local obj36 = Instance.new("Part") |
1479 | - | obj34.Parent = obj1 |
1479 | + | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) |
1480 | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1481 | - | -- 35 - redstuff |
1481 | + | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1482 | - | local obj35 = Instance.new("Part") |
1482 | + | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1483 | - | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) |
1483 | + | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1484 | - | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1484 | + | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1485 | - | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1485 | + | obj36.Material = Enum.Material.SmoothPlastic |
1486 | - | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1486 | + | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) |
1487 | - | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1487 | + | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1488 | - | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1488 | + | obj36.BrickColor = BrickColor.new("Institutional white") |
1489 | - | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) |
1489 | + | obj36.Friction = 0.30000001192093 |
1490 | - | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1490 | + | obj36.Shape = Enum.PartType.Cylinder |
1491 | - | obj35.BrickColor = BrickColor.new("Institutional white") |
1491 | + | obj36.Name = "redstuff" |
1492 | - | obj35.Friction = 0.30000001192093 |
1492 | + | obj36.Anchored = true |
1493 | - | obj35.Shape = Enum.PartType.Cylinder |
1493 | + | obj36.Parent = obj1 |
1494 | - | obj35.Material = Enum.Material.SmoothPlastic |
1494 | + | |
1495 | - | obj35.Name = "redstuff" |
1495 | + | -- 37 - redstuff |
1496 | - | obj35.Anchored = true |
1496 | + | local obj37 = Instance.new("WedgePart") |
1497 | - | obj35.Parent = obj1 |
1497 | + | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1498 | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1499 | - | -- 36 - redstuff |
1499 | + | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1500 | - | local obj36 = Instance.new("Part") |
1500 | + | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1501 | - | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) |
1501 | + | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1502 | - | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1502 | + | obj37.Material = Enum.Material.SmoothPlastic |
1503 | - | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1503 | + | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) |
1504 | - | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1504 | + | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1505 | - | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1505 | + | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1506 | - | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1506 | + | obj37.Anchored = true |
1507 | - | obj36.Material = Enum.Material.SmoothPlastic |
1507 | + | obj37.BrickColor = BrickColor.new("Institutional white") |
1508 | - | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) |
1508 | + | obj37.Friction = 0.30000001192093 |
1509 | - | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1509 | + | obj37.Name = "redstuff" |
1510 | - | obj36.BrickColor = BrickColor.new("Institutional white") |
1510 | + | obj37.Anchored = true |
1511 | - | obj36.Friction = 0.30000001192093 |
1511 | + | obj37.Parent = obj1 |
1512 | - | obj36.Shape = Enum.PartType.Cylinder |
1512 | + | |
1513 | - | obj36.Name = "redstuff" |
1513 | + | -- 38 - redstuff |
1514 | - | obj36.Anchored = true |
1514 | + | local obj38 = Instance.new("Part") |
1515 | - | obj36.Parent = obj1 |
1515 | + | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) |
1516 | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1517 | - | -- 37 - redstuff |
1517 | + | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1518 | - | local obj37 = Instance.new("WedgePart") |
1518 | + | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1519 | - | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) |
1519 | + | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1520 | - | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1520 | + | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1521 | - | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1521 | + | obj38.Material = Enum.Material.SmoothPlastic |
1522 | - | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1522 | + | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) |
1523 | - | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1523 | + | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1524 | - | obj37.Material = Enum.Material.SmoothPlastic |
1524 | + | obj38.BrickColor = BrickColor.new("Institutional white") |
1525 | - | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) |
1525 | + | obj38.Friction = 0.30000001192093 |
1526 | - | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1526 | + | obj38.Shape = Enum.PartType.Cylinder |
1527 | - | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1527 | + | obj38.Name = "redstuff" |
1528 | - | obj37.Anchored = true |
1528 | + | obj38.Anchored = true |
1529 | - | obj37.BrickColor = BrickColor.new("Institutional white") |
1529 | + | obj38.Parent = obj1 |
1530 | - | obj37.Friction = 0.30000001192093 |
1530 | + | |
1531 | - | obj37.Name = "redstuff" |
1531 | + | local audio = Instance.new('Sound',knife) |
1532 | - | obj37.Anchored = true |
1532 | + | audio.Volume = 2 |
1533 | - | obj37.Parent = obj1 |
1533 | + | |
1534 | local audio2 = Instance.new('Sound',knife) | |
1535 | - | -- 38 - redstuff |
1535 | + | audio2.Volume = 2 |
1536 | - | local obj38 = Instance.new("Part") |
1536 | + | |
1537 | - | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) |
1537 | + | local holdpart = Instance.new("Part") |
1538 | - | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines |
1538 | + | holdpart.Parent = me |
1539 | - | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines |
1539 | + | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) |
1540 | - | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines |
1540 | + | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) |
1541 | - | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines |
1541 | + | holdpart.BrickColor = BrickColor.new("Burnt Sienna") |
1542 | - | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines |
1542 | + | |
1543 | - | obj38.Material = Enum.Material.SmoothPlastic |
1543 | + | local previous = nil |
1544 | - | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) |
1544 | + | |
1545 | - | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines |
1545 | + | |
1546 | - | obj38.BrickColor = BrickColor.new("Institutional white") |
1546 | + | if previous then |
1547 | - | obj38.Friction = 0.30000001192093 |
1547 | + | local weld = Instance.new('Weld',v) |
1548 | - | obj38.Shape = Enum.PartType.Cylinder |
1548 | + | weld.Part0 = v |
1549 | - | obj38.Name = "redstuff" |
1549 | + | weld.Part1 = previous |
1550 | - | obj38.Anchored = true |
1550 | + | weld.C0 = v.CFrame:inverse() * previous.CFrame |
1551 | - | obj38.Parent = obj1 |
1551 | + | previous.Anchored = false |
1552 | previous.CanCollide = false | |
1553 | - | local audio = Instance.new('Sound',knife) |
1553 | + | local vee = v |
1554 | - | audio.Volume = 2 |
1554 | + | weld.AncestryChanged:connect(function(mez,par) |
1555 | wait() | |
1556 | - | local audio2 = Instance.new('Sound',knife) |
1556 | + | weld.Parent = vee |
1557 | - | audio2.Volume = 2 |
1557 | + | |
1558 | end | |
1559 | - | local holdpart = Instance.new("Part") |
1559 | + | previous = v |
1560 | - | holdpart.Parent = me |
1560 | + | |
1561 | - | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) |
1561 | + | |
1562 | - | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) |
1562 | + | previous.Anchored = false |
1563 | - | holdpart.BrickColor = BrickColor.new("Burnt Sienna") |
1563 | + | previous.CanCollide = false |
1564 | ||
1565 | - | local previous = nil |
1565 | + | local holdpartweld = Instance.new("Weld", me.Torso) |
1566 | - | for i,v in pairs(obj1:GetChildren()) do |
1566 | + | holdpartweld.Part0 = me.Torso |
1567 | - | if v:IsA('BasePart') then |
1567 | + | holdpartweld.Part1 = holdpart |
1568 | - | if previous then |
1568 | + | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) |
1569 | - | local weld = Instance.new('Weld',v) |
1569 | + | |
1570 | - | weld.Part0 = v |
1570 | + | holdpartweld.AncestryChanged:connect(function(mez,par) |
1571 | - | weld.Part1 = previous |
1571 | + | if par ~= me.Torso then |
1572 | - | weld.C0 = v.CFrame:inverse() * previous.CFrame |
1572 | + | |
1573 | - | previous.Anchored = false |
1573 | + | holdpartweld.Parent = me.Torso |
1574 | - | previous.CanCollide = false |
1574 | + | |
1575 | - | local vee = v |
1575 | + | |
1576 | - | weld.AncestryChanged:connect(function(mez,par) |
1576 | + | |
1577 | local knifeweld = Instance.new('Weld',me.Torso) | |
1578 | - | weld.Parent = vee |
1578 | + | knifeweld.Part0 = me.Torso |
1579 | knifeweld.Part1 = obj2 | |
1580 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
1581 | - | previous = v |
1581 | + | knifeweld.AncestryChanged:connect(function(mez,par) |
1582 | if par ~= me.Torso then | |
1583 | - | end |
1583 | + | |
1584 | - | previous.Anchored = false |
1584 | + | knifeweld.Parent = me.Torso |
1585 | - | previous.CanCollide = false |
1585 | + | |
1586 | end) | |
1587 | - | local holdpartweld = Instance.new("Weld", me.Torso) |
1587 | + | local ScreenGui = Instance.new("ScreenGui") |
1588 | - | holdpartweld.Part0 = me.Torso |
1588 | + | local CustomizeGui = Instance.new("Frame") |
1589 | - | holdpartweld.Part1 = holdpart |
1589 | + | local Customize = Instance.new("TextLabel") |
1590 | - | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) |
1590 | + | local ClosestColor = Instance.new("TextLabel") |
1591 | local Line = Instance.new("TextLabel") | |
1592 | - | holdpartweld.AncestryChanged:connect(function(mez,par) |
1592 | + | local Color = Instance.new("ImageLabel") |
1593 | - | if par ~= me.Torso then |
1593 | + | local Close = Instance.new("TextButton") |
1594 | local RedHue = Instance.new("TextLabel") | |
1595 | - | holdpartweld.Parent = me.Torso |
1595 | + | local GreenHue = Instance.new("TextLabel") |
1596 | local RedInput = Instance.new("TextBox") | |
1597 | - | end) |
1597 | + | local BlueHue = Instance.new("TextLabel") |
1598 | local GreenInput = Instance.new("TextBox") | |
1599 | - | local knifeweld = Instance.new('Weld',me.Torso) |
1599 | + | local TransInput = Instance.new("TextBox") |
1600 | - | knifeweld.Part0 = me.Torso |
1600 | + | local BlueInput = Instance.new("TextBox") |
1601 | - | knifeweld.Part1 = obj2 |
1601 | + | local Message = Instance.new("TextLabel") |
1602 | - | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) |
1602 | + | local Message2 = Instance.new("TextLabel") |
1603 | - | knifeweld.AncestryChanged:connect(function(mez,par) |
1603 | + | local TrailTransparency = Instance.new("TextLabel") |
1604 | - | if par ~= me.Torso then |
1604 | + | local TrailInput = Instance.new("TextBox") |
1605 | local MusicOption = Instance.new("TextButton") | |
1606 | - | knifeweld.Parent = me.Torso |
1606 | + | local ScreenOption = Instance.new("TextButton") |
1607 | local ScreenOptionTxt = Instance.new("TextLabel") | |
1608 | - | end) |
1608 | + | local MusicOptionTxt = Instance.new("TextLabel") |
1609 | - | local ScreenGui = Instance.new("ScreenGui") |
1609 | + | |
1610 | - | local CustomizeGui = Instance.new("Frame") |
1610 | + | -- Properties |
1611 | - | local Customize = Instance.new("TextLabel") |
1611 | + | |
1612 | - | local ClosestColor = Instance.new("TextLabel") |
1612 | + | ScreenGui.Parent = playergui |
1613 | - | local Line = Instance.new("TextLabel") |
1613 | + | |
1614 | - | local Color = Instance.new("ImageLabel") |
1614 | + | CustomizeGui.Name = "CustomizeGui" |
1615 | - | local Close = Instance.new("TextButton") |
1615 | + | CustomizeGui.Parent = ScreenGui |
1616 | - | local RedHue = Instance.new("TextLabel") |
1616 | + | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1617 | - | local GreenHue = Instance.new("TextLabel") |
1617 | + | CustomizeGui.BackgroundTransparency = 0.5 |
1618 | - | local RedInput = Instance.new("TextBox") |
1618 | + | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) |
1619 | - | local BlueHue = Instance.new("TextLabel") |
1619 | + | CustomizeGui.BorderSizePixel = 2 |
1620 | - | local GreenInput = Instance.new("TextBox") |
1620 | + | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) |
1621 | - | local TransInput = Instance.new("TextBox") |
1621 | + | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) |
1622 | - | local BlueInput = Instance.new("TextBox") |
1622 | + | |
1623 | - | local Message = Instance.new("TextLabel") |
1623 | + | Customize.Name = "Customize" |
1624 | - | local Message2 = Instance.new("TextLabel") |
1624 | + | Customize.Parent = CustomizeGui |
1625 | - | local TrailTransparency = Instance.new("TextLabel") |
1625 | + | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1626 | - | local TrailInput = Instance.new("TextBox") |
1626 | + | Customize.BackgroundTransparency = 0.75 |
1627 | - | local MusicOption = Instance.new("TextButton") |
1627 | + | Customize.BorderSizePixel = 0 |
1628 | - | local ScreenOption = Instance.new("TextButton") |
1628 | + | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) |
1629 | - | local ScreenOptionTxt = Instance.new("TextLabel") |
1629 | + | Customize.FontSize = Enum.FontSize.Size28 |
1630 | - | local MusicOptionTxt = Instance.new("TextLabel") |
1630 | + | Customize.Text = "ACCENT COLOR CUSTOMIZATION" |
1631 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
1632 | - | -- Properties |
1632 | + | Customize.TextScaled = true |
1633 | Customize.TextSize = 25 | |
1634 | - | ScreenGui.Parent = playergui |
1634 | + | Customize.TextStrokeTransparency = 0.5 |
1635 | Customize.TextWrapped = true | |
1636 | - | CustomizeGui.Name = "CustomizeGui" |
1636 | + | |
1637 | - | CustomizeGui.Parent = ScreenGui |
1637 | + | ClosestColor.Name = "ClosestColor" |
1638 | - | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1638 | + | ClosestColor.Parent = CustomizeGui |
1639 | - | CustomizeGui.BackgroundTransparency = 0.5 |
1639 | + | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) |
1640 | - | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) |
1640 | + | ClosestColor.BackgroundTransparency = 1 |
1641 | - | CustomizeGui.BorderSizePixel = 2 |
1641 | + | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) |
1642 | - | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) |
1642 | + | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) |
1643 | - | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) |
1643 | + | ClosestColor.Font = Enum.Font.SourceSansLight |
1644 | ClosestColor.FontSize = Enum.FontSize.Size32 | |
1645 | - | Customize.Name = "Customize" |
1645 | + | ClosestColor.Text = "Your color is closest to Institutional White" |
1646 | - | Customize.Parent = CustomizeGui |
1646 | + | ClosestColor.TextColor3 = Color3.new(1, 1, 1) |
1647 | - | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1647 | + | ClosestColor.TextSize = 30 |
1648 | - | Customize.BackgroundTransparency = 0.75 |
1648 | + | ClosestColor.TextStrokeTransparency = 0.5 |
1649 | - | Customize.BorderSizePixel = 0 |
1649 | + | |
1650 | - | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) |
1650 | + | Line.Name = "Line" |
1651 | - | Customize.FontSize = Enum.FontSize.Size28 |
1651 | + | Line.Parent = CustomizeGui |
1652 | - | Customize.Text = "ACCENT COLOR CUSTOMIZATION" |
1652 | + | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1653 | - | Customize.TextColor3 = Color3.new(1, 1, 1) |
1653 | + | Line.BackgroundTransparency = 0.5 |
1654 | - | Customize.TextScaled = true |
1654 | + | Line.BorderColor3 = Color3.new(0, 0, 0) |
1655 | - | Customize.TextSize = 25 |
1655 | + | Line.BorderSizePixel = 0 |
1656 | - | Customize.TextStrokeTransparency = 0.5 |
1656 | + | Line.Position = UDim2.new(0, 0, 0.200000003, 0) |
1657 | - | Customize.TextWrapped = true |
1657 | + | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) |
1658 | Line.Font = Enum.Font.SourceSans | |
1659 | - | ClosestColor.Name = "ClosestColor" |
1659 | + | Line.FontSize = Enum.FontSize.Size14 |
1660 | - | ClosestColor.Parent = CustomizeGui |
1660 | + | Line.Text = " " |
1661 | - | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) |
1661 | + | Line.TextSize = 14 |
1662 | - | ClosestColor.BackgroundTransparency = 1 |
1662 | + | |
1663 | - | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) |
1663 | + | Color.Name = "Color" |
1664 | - | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) |
1664 | + | Color.Parent = CustomizeGui |
1665 | - | ClosestColor.Font = Enum.Font.SourceSansLight |
1665 | + | Color.BackgroundColor3 = Color3.new(1, 1, 1) |
1666 | - | ClosestColor.FontSize = Enum.FontSize.Size32 |
1666 | + | Color.BorderSizePixel = 0 |
1667 | - | ClosestColor.Text = "Your color is closest to Institutional White" |
1667 | + | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) |
1668 | - | ClosestColor.TextColor3 = Color3.new(1, 1, 1) |
1668 | + | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) |
1669 | - | ClosestColor.TextSize = 30 |
1669 | + | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY |
1670 | - | ClosestColor.TextStrokeTransparency = 0.5 |
1670 | + | |
1671 | MusicOption.Parent = CustomizeGui | |
1672 | - | Line.Name = "Line" |
1672 | + | MusicOption.Name = "MusicOption" |
1673 | - | Line.Parent = CustomizeGui |
1673 | + | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) |
1674 | - | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1674 | + | MusicOption.BorderSizePixel = 1 |
1675 | - | Line.BackgroundTransparency = 0.5 |
1675 | + | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) |
1676 | - | Line.BorderColor3 = Color3.new(0, 0, 0) |
1676 | + | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) |
1677 | - | Line.BorderSizePixel = 0 |
1677 | + | MusicOption.Text = "" |
1678 | - | Line.Position = UDim2.new(0, 0, 0.200000003, 0) |
1678 | + | MusicOption.BackgroundTransparency = 0.5 |
1679 | - | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) |
1679 | + | |
1680 | - | Line.Font = Enum.Font.SourceSans |
1680 | + | ScreenOption.Parent = CustomizeGui |
1681 | - | Line.FontSize = Enum.FontSize.Size14 |
1681 | + | ScreenOption.Name = "ScreenOption" |
1682 | - | Line.Text = " " |
1682 | + | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) |
1683 | - | Line.TextSize = 14 |
1683 | + | ScreenOption.BorderSizePixel = 1 |
1684 | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) | |
1685 | - | Color.Name = "Color" |
1685 | + | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) |
1686 | - | Color.Parent = CustomizeGui |
1686 | + | ScreenOption.Text = "" |
1687 | - | Color.BackgroundColor3 = Color3.new(1, 1, 1) |
1687 | + | ScreenOption.BackgroundTransparency = 0.5 |
1688 | - | Color.BorderSizePixel = 0 |
1688 | + | |
1689 | - | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) |
1689 | + | ScreenOptionTxt.Name = "ScreenOptionTxt" |
1690 | - | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) |
1690 | + | ScreenOptionTxt.Parent = CustomizeGui |
1691 | - | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY |
1691 | + | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) |
1692 | ScreenOptionTxt.BackgroundTransparency = 1 | |
1693 | - | MusicOption.Parent = CustomizeGui |
1693 | + | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) |
1694 | - | MusicOption.Name = "MusicOption" |
1694 | + | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) |
1695 | - | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) |
1695 | + | ScreenOptionTxt.Font = Enum.Font.SourceSans |
1696 | - | MusicOption.BorderSizePixel = 1 |
1696 | + | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 |
1697 | - | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) |
1697 | + | ScreenOptionTxt.Text = "Psychopath Red Filter" |
1698 | - | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) |
1698 | + | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) |
1699 | - | MusicOption.Text = "" |
1699 | + | ScreenOptionTxt.TextScaled = true |
1700 | - | MusicOption.BackgroundTransparency = 0.5 |
1700 | + | ScreenOptionTxt.TextSize = 20 |
1701 | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1702 | - | ScreenOption.Parent = CustomizeGui |
1702 | + | ScreenOptionTxt.TextStrokeTransparency = 0.5 |
1703 | - | ScreenOption.Name = "ScreenOption" |
1703 | + | ScreenOptionTxt.TextWrapped = true |
1704 | - | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) |
1704 | + | ScreenOptionTxt.TextXAlignment = "Left" |
1705 | - | ScreenOption.BorderSizePixel = 1 |
1705 | + | |
1706 | - | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) |
1706 | + | MusicOptionTxt.Name = "MusicOptionTxt" |
1707 | - | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) |
1707 | + | MusicOptionTxt.Parent = CustomizeGui |
1708 | - | ScreenOption.Text = "" |
1708 | + | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) |
1709 | - | ScreenOption.BackgroundTransparency = 0.5 |
1709 | + | MusicOptionTxt.BackgroundTransparency = 1 |
1710 | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) | |
1711 | - | ScreenOptionTxt.Name = "ScreenOptionTxt" |
1711 | + | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) |
1712 | - | ScreenOptionTxt.Parent = CustomizeGui |
1712 | + | MusicOptionTxt.Font = Enum.Font.SourceSans |
1713 | - | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) |
1713 | + | MusicOptionTxt.FontSize = Enum.FontSize.Size24 |
1714 | - | ScreenOptionTxt.BackgroundTransparency = 1 |
1714 | + | MusicOptionTxt.Text = "Psychopath Background Music" |
1715 | - | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) |
1715 | + | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) |
1716 | - | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) |
1716 | + | MusicOptionTxt.TextScaled = true |
1717 | - | ScreenOptionTxt.Font = Enum.Font.SourceSans |
1717 | + | MusicOptionTxt.TextSize = 20 |
1718 | - | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 |
1718 | + | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) |
1719 | - | ScreenOptionTxt.Text = "Psychopath Red Filter" |
1719 | + | MusicOptionTxt.TextStrokeTransparency = 0.5 |
1720 | - | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) |
1720 | + | MusicOptionTxt.TextWrapped = true |
1721 | - | ScreenOptionTxt.TextScaled = true |
1721 | + | MusicOptionTxt.TextXAlignment = "Left" |
1722 | - | ScreenOptionTxt.TextSize = 20 |
1722 | + | |
1723 | - | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) |
1723 | + | Close.Name = "Close" |
1724 | - | ScreenOptionTxt.TextStrokeTransparency = 0.5 |
1724 | + | Close.Parent = CustomizeGui |
1725 | - | ScreenOptionTxt.TextWrapped = true |
1725 | + | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1726 | - | ScreenOptionTxt.TextXAlignment = "Left" |
1726 | + | Close.BackgroundTransparency = 0.5 |
1727 | Close.BorderColor3 = Color3.new(0, 0, 0) | |
1728 | - | MusicOptionTxt.Name = "MusicOptionTxt" |
1728 | + | Close.BorderSizePixel = 2 |
1729 | - | MusicOptionTxt.Parent = CustomizeGui |
1729 | + | Close.Position = UDim2.new(1.005, 0, 0, 0) |
1730 | - | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) |
1730 | + | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) |
1731 | - | MusicOptionTxt.BackgroundTransparency = 1 |
1731 | + | Close.Font = Enum.Font.SourceSans |
1732 | - | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) |
1732 | + | Close.FontSize = Enum.FontSize.Size14 |
1733 | - | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) |
1733 | + | Close.Text = "X" |
1734 | - | MusicOptionTxt.Font = Enum.Font.SourceSans |
1734 | + | Close.TextColor3 = Color3.new(1, 1, 1) |
1735 | - | MusicOptionTxt.FontSize = Enum.FontSize.Size24 |
1735 | + | Close.TextScaled = true |
1736 | - | MusicOptionTxt.Text = "Psychopath Background Music" |
1736 | + | Close.TextSize = 14 |
1737 | - | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) |
1737 | + | Close.TextStrokeTransparency = 0 |
1738 | - | MusicOptionTxt.TextScaled = true |
1738 | + | Close.TextWrapped = true |
1739 | - | MusicOptionTxt.TextSize = 20 |
1739 | + | |
1740 | - | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) |
1740 | + | RedHue.Name = "RedHue" |
1741 | - | MusicOptionTxt.TextStrokeTransparency = 0.5 |
1741 | + | RedHue.Parent = CustomizeGui |
1742 | - | MusicOptionTxt.TextWrapped = true |
1742 | + | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1743 | - | MusicOptionTxt.TextXAlignment = "Left" |
1743 | + | RedHue.BackgroundTransparency = 1 |
1744 | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) | |
1745 | - | Close.Name = "Close" |
1745 | + | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) |
1746 | - | Close.Parent = CustomizeGui |
1746 | + | RedHue.Font = Enum.Font.SourceSans |
1747 | - | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) |
1747 | + | RedHue.FontSize = Enum.FontSize.Size24 |
1748 | - | Close.BackgroundTransparency = 0.5 |
1748 | + | RedHue.Text = "RED Hue Value: " |
1749 | - | Close.BorderColor3 = Color3.new(0, 0, 0) |
1749 | + | RedHue.TextColor3 = Color3.new(1, 1, 1) |
1750 | - | Close.BorderSizePixel = 2 |
1750 | + | RedHue.TextScaled = true |
1751 | - | Close.Position = UDim2.new(1.005, 0, 0, 0) |
1751 | + | RedHue.TextSize = 20 |
1752 | - | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) |
1752 | + | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) |
1753 | - | Close.Font = Enum.Font.SourceSans |
1753 | + | RedHue.TextStrokeTransparency = 0.75 |
1754 | - | Close.FontSize = Enum.FontSize.Size14 |
1754 | + | RedHue.TextWrapped = true |
1755 | - | Close.Text = "X" |
1755 | + | |
1756 | - | Close.TextColor3 = Color3.new(1, 1, 1) |
1756 | + | GreenHue.Name = "GreenHue" |
1757 | - | Close.TextScaled = true |
1757 | + | GreenHue.Parent = CustomizeGui |
1758 | - | Close.TextSize = 14 |
1758 | + | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1759 | - | Close.TextStrokeTransparency = 0 |
1759 | + | GreenHue.BackgroundTransparency = 1 |
1760 | - | Close.TextWrapped = true |
1760 | + | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) |
1761 | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1762 | - | RedHue.Name = "RedHue" |
1762 | + | GreenHue.Font = Enum.Font.SourceSans |
1763 | - | RedHue.Parent = CustomizeGui |
1763 | + | GreenHue.FontSize = Enum.FontSize.Size24 |
1764 | - | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1764 | + | GreenHue.Text = "GREEN Hue Value:" |
1765 | - | RedHue.BackgroundTransparency = 1 |
1765 | + | GreenHue.TextColor3 = Color3.new(1, 1, 1) |
1766 | - | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) |
1766 | + | GreenHue.TextScaled = true |
1767 | - | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) |
1767 | + | GreenHue.TextSize = 20 |
1768 | - | RedHue.Font = Enum.Font.SourceSans |
1768 | + | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) |
1769 | - | RedHue.FontSize = Enum.FontSize.Size24 |
1769 | + | GreenHue.TextStrokeTransparency = 0.75 |
1770 | - | RedHue.Text = "RED Hue Value: " |
1770 | + | GreenHue.TextWrapped = true |
1771 | - | RedHue.TextColor3 = Color3.new(1, 1, 1) |
1771 | + | |
1772 | - | RedHue.TextScaled = true |
1772 | + | RedInput.Name = "RedInput" |
1773 | - | RedHue.TextSize = 20 |
1773 | + | RedInput.Parent = CustomizeGui |
1774 | - | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) |
1774 | + | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1775 | - | RedHue.TextStrokeTransparency = 0.75 |
1775 | + | RedInput.BackgroundTransparency = 0.5 |
1776 | - | RedHue.TextWrapped = true |
1776 | + | RedInput.BorderSizePixel = 0 |
1777 | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) | |
1778 | - | GreenHue.Name = "GreenHue" |
1778 | + | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1779 | - | GreenHue.Parent = CustomizeGui |
1779 | + | RedInput.Font = Enum.Font.SourceSans |
1780 | - | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1780 | + | RedInput.FontSize = Enum.FontSize.Size14 |
1781 | - | GreenHue.BackgroundTransparency = 1 |
1781 | + | RedInput.Text = "255" |
1782 | - | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) |
1782 | + | RedInput.TextColor3 = Color3.new(1, 1, 1) |
1783 | - | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) |
1783 | + | RedInput.TextSize = 14 |
1784 | - | GreenHue.Font = Enum.Font.SourceSans |
1784 | + | RedInput.TextStrokeTransparency = 0 |
1785 | - | GreenHue.FontSize = Enum.FontSize.Size24 |
1785 | + | |
1786 | - | GreenHue.Text = "GREEN Hue Value:" |
1786 | + | BlueHue.Name = "BlueHue" |
1787 | - | GreenHue.TextColor3 = Color3.new(1, 1, 1) |
1787 | + | BlueHue.Parent = CustomizeGui |
1788 | - | GreenHue.TextScaled = true |
1788 | + | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1789 | - | GreenHue.TextSize = 20 |
1789 | + | BlueHue.BackgroundTransparency = 1 |
1790 | - | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) |
1790 | + | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) |
1791 | - | GreenHue.TextStrokeTransparency = 0.75 |
1791 | + | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) |
1792 | - | GreenHue.TextWrapped = true |
1792 | + | BlueHue.Font = Enum.Font.SourceSans |
1793 | BlueHue.FontSize = Enum.FontSize.Size24 | |
1794 | - | RedInput.Name = "RedInput" |
1794 | + | BlueHue.Text = "BLUE Hue Value:" |
1795 | - | RedInput.Parent = CustomizeGui |
1795 | + | BlueHue.TextColor3 = Color3.new(1, 1, 1) |
1796 | - | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1796 | + | BlueHue.TextScaled = true |
1797 | - | RedInput.BackgroundTransparency = 0.5 |
1797 | + | BlueHue.TextSize = 20 |
1798 | - | RedInput.BorderSizePixel = 0 |
1798 | + | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) |
1799 | - | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) |
1799 | + | BlueHue.TextStrokeTransparency = 0.75 |
1800 | - | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1800 | + | BlueHue.TextWrapped = true |
1801 | - | RedInput.Font = Enum.Font.SourceSans |
1801 | + | |
1802 | - | RedInput.FontSize = Enum.FontSize.Size14 |
1802 | + | TrailTransparency.Name = "TrailTransparency" |
1803 | - | RedInput.Text = "255" |
1803 | + | TrailTransparency.Parent = CustomizeGui |
1804 | - | RedInput.TextColor3 = Color3.new(1, 1, 1) |
1804 | + | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) |
1805 | - | RedInput.TextSize = 14 |
1805 | + | TrailTransparency.BackgroundTransparency = 1 |
1806 | - | RedInput.TextStrokeTransparency = 0 |
1806 | + | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) |
1807 | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) | |
1808 | - | BlueHue.Name = "BlueHue" |
1808 | + | TrailTransparency.Font = Enum.Font.SourceSans |
1809 | - | BlueHue.Parent = CustomizeGui |
1809 | + | TrailTransparency.FontSize = Enum.FontSize.Size24 |
1810 | - | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) |
1810 | + | TrailTransparency.Text = "Trail Transparency:" |
1811 | - | BlueHue.BackgroundTransparency = 1 |
1811 | + | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) |
1812 | - | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) |
1812 | + | TrailTransparency.TextScaled = true |
1813 | - | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) |
1813 | + | TrailTransparency.TextSize = 20 |
1814 | - | BlueHue.Font = Enum.Font.SourceSans |
1814 | + | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) |
1815 | - | BlueHue.FontSize = Enum.FontSize.Size24 |
1815 | + | TrailTransparency.TextWrapped = true |
1816 | - | BlueHue.Text = "BLUE Hue Value:" |
1816 | + | |
1817 | - | BlueHue.TextColor3 = Color3.new(1, 1, 1) |
1817 | + | GreenInput.Name = "GreenInput" |
1818 | - | BlueHue.TextScaled = true |
1818 | + | GreenInput.Parent = CustomizeGui |
1819 | - | BlueHue.TextSize = 20 |
1819 | + | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1820 | - | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) |
1820 | + | GreenInput.BackgroundTransparency = 0.5 |
1821 | - | BlueHue.TextStrokeTransparency = 0.75 |
1821 | + | GreenInput.BorderSizePixel = 0 |
1822 | - | BlueHue.TextWrapped = true |
1822 | + | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) |
1823 | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1824 | - | TrailTransparency.Name = "TrailTransparency" |
1824 | + | GreenInput.Font = Enum.Font.SourceSans |
1825 | - | TrailTransparency.Parent = CustomizeGui |
1825 | + | GreenInput.FontSize = Enum.FontSize.Size14 |
1826 | - | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) |
1826 | + | GreenInput.Text = "255" |
1827 | - | TrailTransparency.BackgroundTransparency = 1 |
1827 | + | GreenInput.TextColor3 = Color3.new(1, 1, 1) |
1828 | - | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) |
1828 | + | GreenInput.TextSize = 14 |
1829 | - | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) |
1829 | + | GreenInput.TextStrokeTransparency = 0 |
1830 | - | TrailTransparency.Font = Enum.Font.SourceSans |
1830 | + | |
1831 | - | TrailTransparency.FontSize = Enum.FontSize.Size24 |
1831 | + | TransInput.Name = "TransInput" |
1832 | - | TrailTransparency.Text = "Trail Transparency:" |
1832 | + | TransInput.Parent = CustomizeGui |
1833 | - | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) |
1833 | + | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1834 | - | TrailTransparency.TextScaled = true |
1834 | + | TransInput.BackgroundTransparency = 0.5 |
1835 | - | TrailTransparency.TextSize = 20 |
1835 | + | TransInput.BorderSizePixel = 0 |
1836 | - | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) |
1836 | + | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) |
1837 | - | TrailTransparency.TextWrapped = true |
1837 | + | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1838 | TransInput.Font = Enum.Font.SourceSans | |
1839 | - | GreenInput.Name = "GreenInput" |
1839 | + | TransInput.FontSize = Enum.FontSize.Size14 |
1840 | - | GreenInput.Parent = CustomizeGui |
1840 | + | TransInput.Text = "50" |
1841 | - | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1841 | + | TransInput.TextColor3 = Color3.new(1, 1, 1) |
1842 | - | GreenInput.BackgroundTransparency = 0.5 |
1842 | + | TransInput.TextSize = 14 |
1843 | - | GreenInput.BorderSizePixel = 0 |
1843 | + | TransInput.TextStrokeTransparency = 0 |
1844 | - | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) |
1844 | + | |
1845 | - | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1845 | + | BlueInput.Name = "BlueInput" |
1846 | - | GreenInput.Font = Enum.Font.SourceSans |
1846 | + | BlueInput.Parent = CustomizeGui |
1847 | - | GreenInput.FontSize = Enum.FontSize.Size14 |
1847 | + | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1848 | - | GreenInput.Text = "255" |
1848 | + | BlueInput.BackgroundTransparency = 0.5 |
1849 | - | GreenInput.TextColor3 = Color3.new(1, 1, 1) |
1849 | + | BlueInput.BorderSizePixel = 0 |
1850 | - | GreenInput.TextSize = 14 |
1850 | + | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) |
1851 | - | GreenInput.TextStrokeTransparency = 0 |
1851 | + | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1852 | BlueInput.Font = Enum.Font.SourceSans | |
1853 | - | TransInput.Name = "TransInput" |
1853 | + | BlueInput.FontSize = Enum.FontSize.Size14 |
1854 | - | TransInput.Parent = CustomizeGui |
1854 | + | BlueInput.Text = "255" |
1855 | - | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1855 | + | BlueInput.TextColor3 = Color3.new(1, 1, 1) |
1856 | - | TransInput.BackgroundTransparency = 0.5 |
1856 | + | BlueInput.TextSize = 14 |
1857 | - | TransInput.BorderSizePixel = 0 |
1857 | + | BlueInput.TextStrokeTransparency = 0 |
1858 | - | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) |
1858 | + | |
1859 | - | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1859 | + | Message.Name = "Message" |
1860 | - | TransInput.Font = Enum.Font.SourceSans |
1860 | + | Message.Parent = CustomizeGui |
1861 | - | TransInput.FontSize = Enum.FontSize.Size14 |
1861 | + | Message.BackgroundColor3 = Color3.new(1, 1, 1) |
1862 | - | TransInput.Text = "50" |
1862 | + | Message.BackgroundTransparency = 1 |
1863 | - | TransInput.TextColor3 = Color3.new(1, 1, 1) |
1863 | + | Message.Position = UDim2.new(0, 0, 0.2500004, 0) |
1864 | - | TransInput.TextSize = 14 |
1864 | + | Message.Size = UDim2.new(1, 0, 0.100000006, 0) |
1865 | - | TransInput.TextStrokeTransparency = 0 |
1865 | + | Message.Font = Enum.Font.SourceSans |
1866 | Message.FontSize = Enum.FontSize.Size18 | |
1867 | - | BlueInput.Name = "BlueInput" |
1867 | + | Message.Text = "|| Inputs must be values ||" |
1868 | - | BlueInput.Parent = CustomizeGui |
1868 | + | Message.TextColor3 = Color3.new(1, 1, 1) |
1869 | - | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) |
1869 | + | Message.TextScaled = true |
1870 | - | BlueInput.BackgroundTransparency = 0.5 |
1870 | + | Message.TextSize = 15 |
1871 | - | BlueInput.BorderSizePixel = 0 |
1871 | + | Message.TextStrokeTransparency = 0.75 |
1872 | - | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) |
1872 | + | Message.TextWrapped = true |
1873 | - | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) |
1873 | + | |
1874 | - | BlueInput.Font = Enum.Font.SourceSans |
1874 | + | local attun = Instance.new("Attachment", knife) |
1875 | - | BlueInput.FontSize = Enum.FontSize.Size14 |
1875 | + | attun.Position = Vector3.new(0, 0.1, -1.75) |
1876 | - | BlueInput.Text = "255" |
1876 | + | local atdos = Instance.new("Attachment", knife) |
1877 | - | BlueInput.TextColor3 = Color3.new(1, 1, 1) |
1877 | + | atdos.Position = Vector3.new(0, -0.1, 0.5) |
1878 | - | BlueInput.TextSize = 14 |
1878 | + | local trail = Instance.new("Trail", knife) |
1879 | - | BlueInput.TextStrokeTransparency = 0 |
1879 | + | trail.LightEmission = 0.5 |
1880 | trail.Attachment0 = attun | |
1881 | - | Message.Name = "Message" |
1881 | + | trail.Attachment1 = atdos |
1882 | - | Message.Parent = CustomizeGui |
1882 | + | trail.Lifetime = 0.175 |
1883 | - | Message.BackgroundColor3 = Color3.new(1, 1, 1) |
1883 | + | trail.MinLength = 0 |
1884 | - | Message.BackgroundTransparency = 1 |
1884 | + | |
1885 | - | Message.Position = UDim2.new(0, 0, 0.2500004, 0) |
1885 | + | |
1886 | - | Message.Size = UDim2.new(1, 0, 0.100000006, 0) |
1886 | + | function updatez() |
1887 | - | Message.Font = Enum.Font.SourceSans |
1887 | + | local rc = tonumber(RedInput.Text) |
1888 | - | Message.FontSize = Enum.FontSize.Size18 |
1888 | + | local gc = tonumber(GreenInput.Text) |
1889 | - | Message.Text = "|| Inputs must be values ||" |
1889 | + | local bc = tonumber(BlueInput.Text) |
1890 | - | Message.TextColor3 = Color3.new(1, 1, 1) |
1890 | + | local tcupd = tonumber(TransInput.Text) |
1891 | - | Message.TextScaled = true |
1891 | + | if rc == nil then |
1892 | - | Message.TextSize = 15 |
1892 | + | rc = 0 |
1893 | - | Message.TextStrokeTransparency = 0.75 |
1893 | + | |
1894 | - | Message.TextWrapped = true |
1894 | + | if gc == nil then |
1895 | gc = 0 | |
1896 | - | local attun = Instance.new("Attachment", knife) |
1896 | + | |
1897 | - | attun.Position = Vector3.new(0, 0.1, -1.75) |
1897 | + | if bc == nil then |
1898 | - | local atdos = Instance.new("Attachment", knife) |
1898 | + | bc = 0 |
1899 | - | atdos.Position = Vector3.new(0, -0.1, 0.5) |
1899 | + | |
1900 | - | local trail = Instance.new("Trail", knife) |
1900 | + | if tcupd == nil then |
1901 | - | trail.LightEmission = 0.5 |
1901 | + | tcupd = 0 |
1902 | - | trail.Attachment0 = attun |
1902 | + | |
1903 | - | trail.Attachment1 = atdos |
1903 | + | local tc = tcupd/100 |
1904 | - | trail.Lifetime = 0.175 |
1904 | + | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) |
1905 | - | trail.MinLength = 0 |
1905 | + | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) |
1906 | - | trail.Enabled = false |
1906 | + | obj32.Color = Color3.fromRGB(rc,gc,bc) |
1907 | obj33.Color = Color3.fromRGB(rc,gc,bc) | |
1908 | - | function updatez() |
1908 | + | obj34.Color = Color3.fromRGB(rc,gc,bc) |
1909 | - | local rc = tonumber(RedInput.Text) |
1909 | + | obj35.Color = Color3.fromRGB(rc,gc,bc) |
1910 | - | local gc = tonumber(GreenInput.Text) |
1910 | + | obj36.Color = Color3.fromRGB(rc,gc,bc) |
1911 | - | local bc = tonumber(BlueInput.Text) |
1911 | + | obj37.Color = Color3.fromRGB(rc,gc,bc) |
1912 | - | local tcupd = tonumber(TransInput.Text) |
1912 | + | obj38.Color = Color3.fromRGB(rc,gc,bc) |
1913 | - | if rc == nil then |
1913 | + | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) |
1914 | - | rc = 0 |
1914 | + | trail.Transparency = NumberSequence.new(tc) |
1915 | TrailTransparency.TextStrokeTransparency = tc | |
1916 | - | if gc == nil then |
1916 | + | |
1917 | - | gc = 0 |
1917 | + | |
1918 | RedInput.Changed:connect(function(val) | |
1919 | - | if bc == nil then |
1919 | + | if val == "Text" and tonumber(RedInput.Text) then |
1920 | - | bc = 0 |
1920 | + | RedInput.Text = tostring(tonumber(RedInput.Text)) |
1921 | if tonumber(RedInput.Text) > 255 then | |
1922 | - | if tcupd == nil then |
1922 | + | RedInput.Text = '255' |
1923 | - | tcupd = 0 |
1923 | + | |
1924 | elseif val == "Text" then | |
1925 | - | local tc = tcupd/100 |
1925 | + | RedInput.Text = "" |
1926 | - | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) |
1926 | + | |
1927 | - | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) |
1927 | + | updatez() |
1928 | - | obj32.Color = Color3.fromRGB(rc,gc,bc) |
1928 | + | |
1929 | - | obj33.Color = Color3.fromRGB(rc,gc,bc) |
1929 | + | GreenInput.Changed:connect(function(val) |
1930 | - | obj34.Color = Color3.fromRGB(rc,gc,bc) |
1930 | + | if val == "Text" and tonumber(GreenInput.Text) then |
1931 | - | obj35.Color = Color3.fromRGB(rc,gc,bc) |
1931 | + | GreenInput.Text = tostring(tonumber(GreenInput.Text)) |
1932 | - | obj36.Color = Color3.fromRGB(rc,gc,bc) |
1932 | + | if tonumber(GreenInput.Text) > 255 then |
1933 | - | obj37.Color = Color3.fromRGB(rc,gc,bc) |
1933 | + | GreenInput.Text = '255' |
1934 | - | obj38.Color = Color3.fromRGB(rc,gc,bc) |
1934 | + | |
1935 | - | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) |
1935 | + | elseif val == "Text" then |
1936 | - | trail.Transparency = NumberSequence.new(tc) |
1936 | + | GreenInput.Text = "" |
1937 | - | TrailTransparency.TextStrokeTransparency = tc |
1937 | + | |
1938 | - | end |
1938 | + | updatez() |
1939 | end) | |
1940 | - | RedInput.Changed:connect(function(val) |
1940 | + | BlueInput.Changed:connect(function(val) |
1941 | - | if val == "Text" and tonumber(RedInput.Text) then |
1941 | + | if val == "Text" and tonumber(BlueInput.Text) then |
1942 | - | RedInput.Text = tostring(tonumber(RedInput.Text)) |
1942 | + | BlueInput.Text = tostring(tonumber(BlueInput.Text)) |
1943 | - | if tonumber(RedInput.Text) > 255 then |
1943 | + | if tonumber(BlueInput.Text) > 255 then |
1944 | - | RedInput.Text = '255' |
1944 | + | BlueInput.Text = '255' |
1945 | end | |
1946 | - | elseif val == "Text" then |
1946 | + | elseif val == "Text" then |
1947 | - | RedInput.Text = "" |
1947 | + | BlueInput.Text = "" |
1948 | end | |
1949 | - | updatez() |
1949 | + | updatez() |
1950 | - | end) |
1950 | + | |
1951 | - | GreenInput.Changed:connect(function(val) |
1951 | + | TransInput.Changed:connect(function(val) |
1952 | - | if val == "Text" and tonumber(GreenInput.Text) then |
1952 | + | if val == "Text" and tonumber(TransInput.Text) then |
1953 | - | GreenInput.Text = tostring(tonumber(GreenInput.Text)) |
1953 | + | TransInput.Text = tostring(tonumber(TransInput.Text)) |
1954 | - | if tonumber(GreenInput.Text) > 255 then |
1954 | + | if tonumber(TransInput.Text) > 100 then |
1955 | - | GreenInput.Text = '255' |
1955 | + | TransInput.Text = '100' |
1956 | end | |
1957 | - | elseif val == "Text" then |
1957 | + | elseif val == "Text" then |
1958 | - | GreenInput.Text = "" |
1958 | + | TransInput.Text = "" |
1959 | end | |
1960 | - | updatez() |
1960 | + | updatez() |
1961 | - | end) |
1961 | + | |
1962 | - | BlueInput.Changed:connect(function(val) |
1962 | + | |
1963 | - | if val == "Text" and tonumber(BlueInput.Text) then |
1963 | + | Close.MouseButton1Click:connect(function() |
1964 | - | BlueInput.Text = tostring(tonumber(BlueInput.Text)) |
1964 | + | if lerpz == false then |
1965 | - | if tonumber(BlueInput.Text) > 255 then |
1965 | + | lerpz = true |
1966 | - | BlueInput.Text = '255' |
1966 | + | if Close.Text ~= "+" then |
1967 | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1968 | - | elseif val == "Text" then |
1968 | + | for i=1,10 do |
1969 | - | BlueInput.Text = "" |
1969 | + | Close.TextTransparency = i/10 |
1970 | Close.TextStrokeTransparency = i/10 | |
1971 | - | updatez() |
1971 | + | wait(0.01) |
1972 | - | end) |
1972 | + | |
1973 | - | TransInput.Changed:connect(function(val) |
1973 | + | Close.Text = "+" |
1974 | - | if val == "Text" and tonumber(TransInput.Text) then |
1974 | + | for i=1,10 do |
1975 | - | TransInput.Text = tostring(tonumber(TransInput.Text)) |
1975 | + | Close.TextTransparency = (10-i+1)/10 |
1976 | - | if tonumber(TransInput.Text) > 100 then |
1976 | + | Close.TextStrokeTransparency = (10-i+1)/10 |
1977 | - | TransInput.Text = '100' |
1977 | + | wait(0.01) |
1978 | end | |
1979 | - | elseif val == "Text" then |
1979 | + | lerpz = false |
1980 | - | TransInput.Text = "" |
1980 | + | |
1981 | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1982 | - | updatez() |
1982 | + | for i=1,10 do |
1983 | - | end) |
1983 | + | Close.TextTransparency = i/10 |
1984 | Close.TextStrokeTransparency = i/10 | |
1985 | - | Close.MouseButton1Click:connect(function() |
1985 | + | wait(0.01) |
1986 | - | if lerpz == false then |
1986 | + | |
1987 | - | lerpz = true |
1987 | + | Close.Text = "X" |
1988 | - | if Close.Text ~= "+" then |
1988 | + | for i=1,10 do |
1989 | - | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) |
1989 | + | Close.TextTransparency = (10-i+1)/10 |
1990 | - | for i=1,10 do |
1990 | + | Close.TextStrokeTransparency = (10-i+1)/10 |
1991 | - | Close.TextTransparency = i/10 |
1991 | + | wait(0.01) |
1992 | - | Close.TextStrokeTransparency = i/10 |
1992 | + | |
1993 | lerpz = false | |
1994 | end | |
1995 | - | Close.Text = "+" |
1995 | + | |
1996 | - | for i=1,10 do |
1996 | + | |
1997 | - | Close.TextTransparency = (10-i+1)/10 |
1997 | + | |
1998 | - | Close.TextStrokeTransparency = (10-i+1)/10 |
1998 | + | MusicOption.MouseButton1Click:connect(function() |
1999 | if canbackgroundmusic == true then | |
2000 | canbackgroundmusic = false | |
2001 | - | lerpz = false |
2001 | + | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) |
2002 | else | |
2003 | - | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) |
2003 | + | canbackgroundmusic = true |
2004 | - | for i=1,10 do |
2004 | + | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) |
2005 | - | Close.TextTransparency = i/10 |
2005 | + | |
2006 | - | Close.TextStrokeTransparency = i/10 |
2006 | + | |
2007 | ||
2008 | ScreenOption.MouseButton1Click:connect(function() | |
2009 | - | Close.Text = "X" |
2009 | + | if cancolorfilter == true then |
2010 | - | for i=1,10 do |
2010 | + | cancolorfilter = false |
2011 | - | Close.TextTransparency = (10-i+1)/10 |
2011 | + | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) |
2012 | - | Close.TextStrokeTransparency = (10-i+1)/10 |
2012 | + | |
2013 | cancolorfilter = true | |
2014 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
2015 | - | lerpz = false |
2015 | + | |
2016 | end) | |
2017 | ||
2018 | - | end) |
2018 | + | function equip() |
2019 | local doit = coroutine.wrap(function() | |
2020 | - | MusicOption.MouseButton1Click:connect(function() |
2020 | + | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then |
2021 | - | if canbackgroundmusic == true then |
2021 | + | |
2022 | - | canbackgroundmusic = false |
2022 | + | |
2023 | - | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) |
2023 | + | |
2024 | - | else |
2024 | + | |
2025 | - | canbackgroundmusic = true |
2025 | + | local weld = Instance.new('Weld',arm) |
2026 | - | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) |
2026 | + | weld.Part0 = arm |
2027 | weld.Part1 = tors | |
2028 | - | end) |
2028 | + | weld.C0 = CFrame.new(-1.5,0,0) |
2029 | local weld2 = Instance.new("Weld", arm2) | |
2030 | - | ScreenOption.MouseButton1Click:connect(function() |
2030 | + | weld2.Part0 = arm2 |
2031 | - | if cancolorfilter == true then |
2031 | + | |
2032 | - | cancolorfilter = false |
2032 | + | weld2.C0 = CFrame.new(1.5, 0, 0) |
2033 | - | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) |
2033 | + | |
2034 | - | else |
2034 | + | |
2035 | - | cancolorfilter = true |
2035 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
2036 | - | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) |
2036 | + | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) |
2037 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
2038 | - | end) |
2038 | + | |
2039 | end | |
2040 | - | function equip() |
2040 | + | wait(0.15) |
2041 | trail.Enabled = true | |
2042 | - | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then |
2042 | + | |
2043 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2044 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) | |
2045 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
2046 | wait(0.001) | |
2047 | - | local weld = Instance.new('Weld',arm) |
2047 | + | |
2048 | - | weld.Part0 = arm |
2048 | + | |
2049 | - | weld.Part1 = tors |
2049 | + | wait(0.2) |
2050 | - | weld.C0 = CFrame.new(-1.5,0,0) |
2050 | + | |
2051 | - | local weld2 = Instance.new("Weld", arm2) |
2051 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
2052 | - | weld2.Part0 = arm2 |
2052 | + | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) |
2053 | wait(0.001) | |
2054 | - | weld2.C0 = CFrame.new(1.5, 0, 0) |
2054 | + | |
2055 | - | wait(0.001) |
2055 | + | weld:Destroy() |
2056 | weld2:Remove() | |
2057 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
2057 | + | if tors ~= nil then |
2058 | - | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) |
2058 | + | rightshoulderz:Clone().Parent = me.Torso |
2059 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) |
2059 | + | leftshoulderz:Clone().Parent = me.Torso |
2060 | end | |
2061 | end | |
2062 | - | wait(0.15) |
2062 | + | |
2063 | end) | |
2064 | doit() | |
2065 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
2065 | + | |
2066 | - | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) |
2066 | + | |
2067 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) |
2067 | + | function kysnigga() |
2068 | if kyssing == true then return end | |
2069 | kyssing = true | |
2070 | acting = true | |
2071 | decearingTHING = math.random(1, 100) | |
2072 | if decearingTHING == 4 then | |
2073 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
2073 | + | decearingEGG = Instance.new("Sound", me.Torso) |
2074 | - | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) |
2074 | + | decearingEGG.SoundId = "rbxassetid://138084557" |
2075 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2076 | decearingEGG.TimePosition = 0.2 | |
2077 | - | weld:Destroy() |
2077 | + | decearingEGG:Play() |
2078 | - | weld2:Remove() |
2078 | + | |
2079 | - | if tors ~= nil then |
2079 | + | me.Humanoid.WalkSpeed = 0 |
2080 | me.Humanoid.JumpPower = 0 | |
2081 | ||
2082 | local rightarm = Instance.new("Weld", me.Torso) | |
2083 | rightarm.Part0 = me.Torso | |
2084 | - | acting = false |
2084 | + | rightarm.Part1 = me["Right Arm"] |
2085 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2086 | ||
2087 | - | end |
2087 | + | local leftarm = Instance.new("Weld", me.Torso) |
2088 | leftarm.Part0 = me.Torso | |
2089 | - | function kysnigga() |
2089 | + | leftarm.Part1 = me["Left Arm"] |
2090 | - | if kyssing == true then return end |
2090 | + | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) |
2091 | - | kyssing = true |
2091 | + | |
2092 | - | acting = true |
2092 | + | local tors = Instance.new("Weld", me.HumanoidRootPart) |
2093 | - | decearingTHING = math.random(1, 100) |
2093 | + | tors.Part0 = me.HumanoidRootPart |
2094 | - | if decearingTHING == 4 then |
2094 | + | tors.Part1 = me.Torso |
2095 | - | decearingEGG = Instance.new("Sound", me.Torso) |
2095 | + | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) |
2096 | - | decearingEGG.SoundId = "rbxassetid://138084557" |
2096 | + | |
2097 | - | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 |
2097 | + | local rightleg = Instance.new("Weld", me.Torso) |
2098 | - | decearingEGG.TimePosition = 0.2 |
2098 | + | rightleg.Part0 = me.Torso |
2099 | - | decearingEGG:Play() |
2099 | + | rightleg.Part1 = me["Right Leg"] |
2100 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2101 | - | me.Humanoid.WalkSpeed = 0 |
2101 | + | |
2102 | - | me.Humanoid.JumpPower = 0 |
2102 | + | local leftleg = Instance.new("Weld", me.Torso) |
2103 | leftleg.Part0 = me.Torso | |
2104 | - | local rightarm = Instance.new("Weld", me.Torso) |
2104 | + | leftleg.Part1 = me["Left Leg"] |
2105 | - | rightarm.Part0 = me.Torso |
2105 | + | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) |
2106 | - | rightarm.Part1 = me["Right Arm"] |
2106 | + | |
2107 | - | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) |
2107 | + | for i = 0, 1, 0.03 do |
2108 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) | |
2109 | - | local leftarm = Instance.new("Weld", me.Torso) |
2109 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) |
2110 | - | leftarm.Part0 = me.Torso |
2110 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) |
2111 | - | leftarm.Part1 = me["Left Arm"] |
2111 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) |
2112 | - | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) |
2112 | + | |
2113 | end | |
2114 | - | local tors = Instance.new("Weld", me.HumanoidRootPart) |
2114 | + | for i = 0, 1, 0.03 do |
2115 | - | tors.Part0 = me.HumanoidRootPart |
2115 | + | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) |
2116 | - | tors.Part1 = me.Torso |
2116 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) |
2117 | - | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) |
2117 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) |
2118 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) | |
2119 | - | local rightleg = Instance.new("Weld", me.Torso) |
2119 | + | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) |
2120 | - | rightleg.Part0 = me.Torso |
2120 | + | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2121 | - | rightleg.Part1 = me["Right Leg"] |
2121 | + | |
2122 | - | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) |
2122 | + | |
2123 | local bleedzer = Instance.new('Part',me.Torso) | |
2124 | - | local leftleg = Instance.new("Weld", me.Torso) |
2124 | + | bleedzer.CFrame = me.Torso.CFrame |
2125 | - | leftleg.Part0 = me.Torso |
2125 | + | bleedzer.Size = Vector3.new(0.1,0.1,0.1) |
2126 | - | leftleg.Part1 = me["Left Leg"] |
2126 | + | bleedzer.Transparency = 1 |
2127 | - | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) |
2127 | + | bleedzer.CanCollide = false |
2128 | local weld = Instance.new('Weld',bleedzer) | |
2129 | - | for i = 0, 1, 0.03 do |
2129 | + | weld.Part0 = bleedzer |
2130 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) |
2130 | + | weld.Part1 = me.Torso |
2131 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) |
2131 | + | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) |
2132 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) |
2132 | + | local woodpekker = coroutine.wrap(function() |
2133 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) |
2133 | + | bleed(bleedzer) |
2134 | end) | |
2135 | woodpekker() | |
2136 | - | for i = 0, 1, 0.03 do |
2136 | + | audio.SoundId = "rbxassetid://199977936" |
2137 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) |
2137 | + | audio.PlaybackSpeed = 1.5 |
2138 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) |
2138 | + | |
2139 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) |
2139 | + | audio2.SoundId = "rbxassetid://220834019" |
2140 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) |
2140 | + | audio2.PlaybackSpeed = 1 |
2141 | - | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) |
2141 | + | audio2.TimePosition = 0.1 |
2142 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2142 | + | audio2:Play() |
2143 | for i = 0, 1, 0.1 do | |
2144 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2145 | - | local bleedzer = Instance.new('Part',me.Torso) |
2145 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2146 | - | bleedzer.CFrame = me.Torso.CFrame |
2146 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2147 | - | bleedzer.Size = Vector3.new(0.1,0.1,0.1) |
2147 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) |
2148 | - | bleedzer.Transparency = 1 |
2148 | + | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) |
2149 | - | bleedzer.CanCollide = false |
2149 | + | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2150 | - | local weld = Instance.new('Weld',bleedzer) |
2150 | + | |
2151 | - | weld.Part0 = bleedzer |
2151 | + | |
2152 | - | weld.Part1 = me.Torso |
2152 | + | |
2153 | - | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) |
2153 | + | audio.SoundId = "rbxassetid://210943487" |
2154 | - | local woodpekker = coroutine.wrap(function() |
2154 | + | audio.TimePosition = 0.2 |
2155 | - | bleed(bleedzer) |
2155 | + | audio.PlaybackSpeed = 0.75 |
2156 | audio:Play() | |
2157 | - | woodpekker() |
2157 | + | for i = 0, 1, 0.03 do |
2158 | - | audio.SoundId = "rbxassetid://199977936" |
2158 | + | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2159 | - | audio.PlaybackSpeed = 1.5 |
2159 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2160 | - | audio:Play() |
2160 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2161 | - | audio2.SoundId = "rbxassetid://220834019" |
2161 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) |
2162 | - | audio2.PlaybackSpeed = 1 |
2162 | + | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) |
2163 | - | audio2.TimePosition = 0.1 |
2163 | + | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2164 | - | audio2:Play() |
2164 | + | |
2165 | - | for i = 0, 1, 0.1 do |
2165 | + | |
2166 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2166 | + | for i = 0, 1, 0.03 do |
2167 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2167 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) |
2168 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2168 | + | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) |
2169 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) |
2169 | + | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) |
2170 | - | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) |
2170 | + | |
2171 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2171 | + | |
2172 | wait(0.24) | |
2173 | if me:FindFirstChildOfClass('Humanoid') then | |
2174 | - | wait(1) |
2174 | + | me:FindFirstChildOfClass('Humanoid').Health = 0 |
2175 | - | audio.SoundId = "rbxassetid://210943487" |
2175 | + | |
2176 | - | audio.TimePosition = 0.2 |
2176 | + | |
2177 | - | audio.PlaybackSpeed = 0.75 |
2177 | + | killz(me,me.Torso.Name,nil,nil,true) |
2178 | - | audio:Play() |
2178 | + | |
2179 | - | for i = 0, 1, 0.03 do |
2179 | + | tors:Remove() |
2180 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2180 | + | rightarm:Remove() |
2181 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2181 | + | rightleg:Remove() |
2182 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) |
2182 | + | leftleg:Remove() |
2183 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) |
2183 | + | leftarm:Remove() |
2184 | - | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) |
2184 | + | |
2185 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) |
2185 | + | |
2186 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2187 | lefthipz:Clone().Parent = me.Torso | |
2188 | - | for i = 0, 1, 0.03 do |
2188 | + | righthipz:Clone().Parent = me.Torso |
2189 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) |
2189 | + | me.Humanoid.JumpPower = 50 |
2190 | - | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) |
2190 | + | me.Humanoid.WalkSpeed = 16 |
2191 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) |
2191 | + | |
2192 | canClick = true | |
2193 | doing = false | |
2194 | - | wait(0.24) |
2194 | + | |
2195 | - | if me:FindFirstChildOfClass('Humanoid') then |
2195 | + | kyssing = false |
2196 | - | me:FindFirstChildOfClass('Humanoid').Health = 0 |
2196 | + | if decearingTHING == 4 then |
2197 | decearingEGG:Remove() | |
2198 | - | wait(0.01) |
2198 | + | |
2199 | - | killz(me,me.Torso.Name,nil,nil,true) |
2199 | + | |
2200 | ||
2201 | - | tors:Remove() |
2201 | + | function bleedout() |
2202 | - | rightarm:Remove() |
2202 | + | local doit = coroutine.wrap(function() |
2203 | - | rightleg:Remove() |
2203 | + | local targe = grabbed |
2204 | - | leftleg:Remove() |
2204 | + | local p; |
2205 | - | leftarm:Remove() |
2205 | + | local num = 0 |
2206 | - | rightshoulderz:Clone().Parent = me.Torso |
2206 | + | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do |
2207 | - | leftshoulderz:Clone().Parent = me.Torso |
2207 | + | if targe.Head:FindFirstChild('Died') then |
2208 | - | torsojoint:Clone().Parent = me.HumanoidRootPart |
2208 | + | tone = math.random(6, 12) / 10 |
2209 | - | lefthipz:Clone().Parent = me.Torso |
2209 | + | targe.Head.Died.PlaybackSpeed = tone |
2210 | - | righthipz:Clone().Parent = me.Torso |
2210 | + | targe.Head.Died:Play() |
2211 | - | me.Humanoid.JumpPower = 50 |
2211 | + | |
2212 | - | me.Humanoid.WalkSpeed = 16 |
2212 | + | local deathsound = Instance.new('Sound',targe.Head) |
2213 | - | acting = false |
2213 | + | deathsound.Name = "Died" |
2214 | - | canClick = true |
2214 | + | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' |
2215 | - | doing = false |
2215 | + | deathsound.Volume = 0.65 |
2216 | - | hit = false |
2216 | + | deathsound.EmitterSize = 5 |
2217 | - | kyssing = false |
2217 | + | deathsound.MaxDistance = 150 |
2218 | - | if decearingTHING == 4 then |
2218 | + | tone = math.random(5, 15) / 10 |
2219 | - | decearingEGG:Remove() |
2219 | + | targe.Head.Died.PlaybackSpeed = tone |
2220 | targe.Head.Died:Play() | |
2221 | - | end |
2221 | + | |
2222 | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7 | |
2223 | - | function bleedout() |
2223 | + | num = num+1 |
2224 | p = game.Players:GetPlayerFromCharacter(targe); | |
2225 | wait(0.325) | |
2226 | - | local num = 0 |
2226 | + | |
2227 | - | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do |
2227 | + | targe:FindFirstChildOfClass('Humanoid').Health = 0 |
2228 | - | if targe.Head:FindFirstChild('Died') then |
2228 | + | |
2229 | - | tone = math.random(6, 12) / 10 |
2229 | + | killz(targe,'Head',nil,nil,false,true) |
2230 | - | targe.Head.Died.PlaybackSpeed = tone |
2230 | + | gui_kill(p); |
2231 | - | targe.Head.Died:Play() |
2231 | + | |
2232 | targe:Remove() | |
2233 | - | local deathsound = Instance.new('Sound',targe.Head) |
2233 | + | |
2234 | - | deathsound.Name = "Died" |
2234 | + | doit() |
2235 | - | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' |
2235 | + | |
2236 | - | deathsound.Volume = 0.65 |
2236 | + | |
2237 | - | deathsound.EmitterSize = 5 |
2237 | + | function liedown() |
2238 | - | deathsound.MaxDistance = 150 |
2238 | + | local doit = coroutine.wrap(function() |
2239 | - | tone = math.random(5, 15) / 10 |
2239 | + | |
2240 | - | targe.Head.Died.PlaybackSpeed = tone |
2240 | + | |
2241 | - | targe.Head.Died:Play() |
2241 | + | if targe and targe:FindFirstChildOfClass('Humanoid') then |
2242 | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
2243 | - | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7 |
2243 | + | |
2244 | - | num = num+1 |
2244 | + | |
2245 | - | wait(0.325) |
2245 | + | doit() |
2246 | end | |
2247 | - | targe:FindFirstChildOfClass('Humanoid').Health = 0 |
2247 | + | |
2248 | function grab() | |
2249 | - | killz(targe,'Head',nil,nil,false,true) |
2249 | + | local doit = coroutine.wrap(function() |
2250 | - | wait(2) |
2250 | + | |
2251 | - | targe:Remove() |
2251 | + | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 |
2252 | local arm = me["Right Arm"] | |
2253 | local tors = me.Torso | |
2254 | - | end |
2254 | + | |
2255 | local humanroot = me.HumanoidRootPart | |
2256 | - | function liedown() |
2256 | + | local weld2 = Instance.new('Weld',arm) |
2257 | weld2.Part0 = arm | |
2258 | - | local targe = grabbed |
2258 | + | |
2259 | - | wait(2) |
2259 | + | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
2260 | - | if targe and targe:FindFirstChildOfClass('Humanoid') then |
2260 | + | local weld3 = Instance.new('Weld',arm2) |
2261 | - | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false |
2261 | + | weld3.Part0 = arm2 |
2262 | weld3.Part1 = tors | |
2263 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
2264 | for i = 0,1,0.05 do | |
2265 | - | end |
2265 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end |
2266 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
2267 | - | function grab() |
2267 | + | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) |
2268 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) | |
2269 | - | acting = true |
2269 | + | |
2270 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 |
2270 | + | |
2271 | - | local arm = me["Right Arm"] |
2271 | + | grabbing = true |
2272 | - | local tors = me.Torso |
2272 | + | |
2273 | - | local arm2 = me["Left Arm"] |
2273 | + | for i = 0,1,0.10 do |
2274 | - | local humanroot = me.HumanoidRootPart |
2274 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end |
2275 | - | local weld2 = Instance.new('Weld',arm) |
2275 | + | |
2276 | - | weld2.Part0 = arm |
2276 | + | |
2277 | - | weld2.Part1 = tors |
2277 | + | |
2278 | - | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
2278 | + | |
2279 | - | local weld3 = Instance.new('Weld',arm2) |
2279 | + | |
2280 | - | weld3.Part0 = arm2 |
2280 | + | wait(0.5) |
2281 | - | weld3.Part1 = tors |
2281 | + | grabbing = false |
2282 | - | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) |
2282 | + | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 |
2283 | - | for i = 0,1,0.05 do |
2283 | + | if grabbed == nil then |
2284 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end |
2284 | + | |
2285 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) |
2285 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end |
2286 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) |
2286 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
2287 | - | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) |
2287 | + | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) |
2288 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2289 | wait(0.001) | |
2290 | - | grabbing = true |
2290 | + | |
2291 | - | trail.Enabled = true |
2291 | + | weld2:Destroy() |
2292 | - | for i = 0,1,0.10 do |
2292 | + | weld3:Destroy() |
2293 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end |
2293 | + | |
2294 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) |
2294 | + | leftshoulderz:Clone().Parent = me.Torso |
2295 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) |
2295 | + | acting = false |
2296 | canClick = true | |
2297 | end | |
2298 | end) | |
2299 | doit() | |
2300 | - | grabbing = false |
2300 | + | |
2301 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 |
2301 | + | |
2302 | - | if grabbed == nil then |
2302 | + | function kill() |
2303 | for i, plr in pairs(game.Players:GetPlayers()) do | |
2304 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end |
2304 | + | if plr ~= game.Players.LocalPlayer then |
2305 | for i = 1, 10 do | |
2306 | game.ReplicatedStorage.meleeEvent:FireServer(plr) | |
2307 | end | |
2308 | end | |
2309 | end | |
2310 | ||
2311 | targetweld3pt = grabbed:FindFirstChild("Right Arm") | |
2312 | local targetrightshoulder = rightshoulder | |
2313 | local targetleftshoulder = leftshoulder | |
2314 | local targetweld3 = Instance.new("Weld", targetweld3pt) | |
2315 | targetweld3.Part0 = grabbed.Torso | |
2316 | targetweld3.Part1 = targetweld3pt | |
2317 | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2318 | ||
2319 | - | end |
2319 | + | local doit = coroutine.wrap(function() |
2320 | local arm = me["Right Arm"] | |
2321 | - | function kill() |
2321 | + | |
2322 | - | for i, plr in pairs(game.Players:GetChildren()) do |
2322 | + | |
2323 | - | if plr.Name ~= game.Players.LocalPlayer.Name then |
2323 | + | |
2324 | - | for i = 1, 10 do |
2324 | + | |
2325 | - | game.ReplicatedStorage.meleeEvent:FireServer(plr) |
2325 | + | |
2326 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2327 | local humanroot = me.HumanoidRootPart | |
2328 | ||
2329 | for i = 0,1,0.1 do | |
2330 | - | targetweld3pt = grabbed:FindFirstChild("Right Arm") |
2330 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2331 | - | local targetrightshoulder = rightshoulder |
2331 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) |
2332 | - | local targetleftshoulder = leftshoulder |
2332 | + | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) |
2333 | - | local targetweld3 = Instance.new("Weld", targetweld3pt) |
2333 | + | |
2334 | - | targetweld3.Part0 = grabbed.Torso |
2334 | + | |
2335 | - | targetweld3.Part1 = targetweld3pt |
2335 | + | |
2336 | - | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) |
2336 | + | |
2337 | audio.SoundId = "rbxassetid://517040733" | |
2338 | tone = math.random(1, 3) | |
2339 | - | local arm = me["Right Arm"] |
2339 | + | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end |
2340 | - | local tors = grabbed.Torso |
2340 | + | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end |
2341 | - | local arm2 = me["Left Arm"] |
2341 | + | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end |
2342 | - | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end |
2342 | + | |
2343 | - | doing = true |
2343 | + | |
2344 | - | local weld2 = arm:FindFirstChildOfClass('Weld') |
2344 | + | |
2345 | - | local weld3 = arm2:FindFirstChildOfClass('Weld') |
2345 | + | |
2346 | - | local humanroot = me.HumanoidRootPart |
2346 | + | |
2347 | bleedpart.CanCollide = false | |
2348 | - | for i = 0,1,0.1 do |
2348 | + | |
2349 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2349 | + | |
2350 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) |
2350 | + | |
2351 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) |
2351 | + | |
2352 | bleedpartweld.Part0 = grabbed.Torso | |
2353 | bleedpartweld.Part1 = bleedpart | |
2354 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
2355 | - | audio:Stop() |
2355 | + | local coru=coroutine.wrap(function() |
2356 | - | audio.SoundId = "rbxassetid://517040733" |
2356 | + | bleed(bleedpart) |
2357 | - | tone = math.random(1, 3) |
2357 | + | |
2358 | - | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end |
2358 | + | |
2359 | - | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end |
2359 | + | |
2360 | - | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end |
2360 | + | local slightthrow = Instance.new("BodyThrust", grabbed.Torso) |
2361 | - | audio:Play() |
2361 | + | slightthrow.Force = Vector3.new(0, 0, -2500) |
2362 | ||
2363 | - | local bleedpart = Instance.new("Part", grabbed) |
2363 | + | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso) |
2364 | - | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) |
2364 | + | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) |
2365 | - | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) |
2365 | + | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) |
2366 | - | bleedpart.CanCollide = false |
2366 | + | |
2367 | - | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) |
2367 | + | if grabbed:FindFirstChildOfClass('Humanoid') then |
2368 | - | bleedpart.Transparency = 1 |
2368 | + | |
2369 | end | |
2370 | - | local bleedpartweld = Instance.new("Weld", grabbed.Torso) |
2370 | + | |
2371 | - | bleedpartweld.Part0 = grabbed.Torso |
2371 | + | |
2372 | - | bleedpartweld.Part1 = bleedpart |
2372 | + | |
2373 | - | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) |
2373 | + | |
2374 | killz(grabbed,'Right Arm') | |
2375 | - | bleed(bleedpart) |
2375 | + | |
2376 | trail.Enabled = true | |
2377 | ||
2378 | for i = 0,1,0.2 do | |
2379 | - | local slightthrow = Instance.new("BodyThrust", grabbed.Torso) |
2379 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2380 | - | slightthrow.Force = Vector3.new(0, 0, -2500) |
2380 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) |
2381 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2382 | - | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso) |
2382 | + | |
2383 | - | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) |
2383 | + | |
2384 | - | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) |
2384 | + | |
2385 | trail.Enabled = false | |
2386 | - | if grabbed:FindFirstChildOfClass('Humanoid') then |
2386 | + | |
2387 | - | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true |
2387 | + | bleedout() |
2388 | ||
2389 | rightshoulderz:Clone().Parent = me.Torso | |
2390 | - | killz(grabbed,'Left Leg') |
2390 | + | |
2391 | - | killz(grabbed,'Left Arm') |
2391 | + | grabbed = nil |
2392 | - | killz(grabbed,'Right Leg') |
2392 | + | |
2393 | - | killz(grabbed,'Right Arm') |
2393 | + | if humanroot:FindFirstChild('Holder') then |
2394 | humanroot.Holder:Destroy() | |
2395 | - | trail.Enabled = true |
2395 | + | |
2396 | ||
2397 | - | for i = 0,1,0.2 do |
2397 | + | |
2398 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2398 | + | |
2399 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) |
2399 | + | slightthrow2:Remove() |
2400 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) |
2400 | + | |
2401 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2402 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2403 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2404 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2405 | wait(0.01) | |
2406 | - | bleedout() |
2406 | + | |
2407 | ||
2408 | - | rightshoulderz:Clone().Parent = me.Torso |
2408 | + | |
2409 | weld3:Destroy() | |
2410 | - | grabbed = nil |
2410 | + | targetweld = nil |
2411 | targetweld2 = nil | |
2412 | - | if humanroot:FindFirstChild('Holder') then |
2412 | + | targetweld3 = nil |
2413 | - | humanroot.Holder:Destroy() |
2413 | + | |
2414 | leftshoulderz:Clone().Parent = me.Torso | |
2415 | acting = false | |
2416 | - | wait(0.2) |
2416 | + | |
2417 | - | slightthrow:Remove() |
2417 | + | |
2418 | - | slightthrow2:Remove() |
2418 | + | |
2419 | - | for i = 0,1,0.05 do |
2419 | + | doit() |
2420 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2420 | + | |
2421 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) |
2421 | + | |
2422 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) |
2422 | + | function finish() |
2423 | - | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) |
2423 | + | if finishing == true then return end |
2424 | finishing = true | |
2425 | acting = true | |
2426 | decearingTHING = math.random(1, 100) | |
2427 | - | weld2:Destroy() |
2427 | + | if decearingTHING == 4 then |
2428 | - | weld3:Destroy() |
2428 | + | decearingEGG = Instance.new("Sound", me.Torso) |
2429 | - | targetweld = nil |
2429 | + | decearingEGG.SoundId = "rbxassetid://138084557" |
2430 | - | targetweld2 = nil |
2430 | + | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 |
2431 | - | targetweld3 = nil |
2431 | + | decearingEGG.TimePosition = 0.2 |
2432 | - | rightshoulderz:Clone().Parent = me.Torso |
2432 | + | decearingEGG:Play() |
2433 | - | leftshoulderz:Clone().Parent = me.Torso |
2433 | + | |
2434 | - | acting = false |
2434 | + | me.Humanoid.WalkSpeed = 0 |
2435 | - | canClick = true |
2435 | + | me.Humanoid.JumpPower = 0 |
2436 | - | doing = false |
2436 | + | |
2437 | local rightarm = Instance.new("Weld", me.Torso) | |
2438 | rightarm.Part0 = me.Torso | |
2439 | - | end |
2439 | + | rightarm.Part1 = me["Right Arm"] |
2440 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2441 | - | function finish() |
2441 | + | |
2442 | - | if finishing == true then return end |
2442 | + | local tors = Instance.new("Weld", me.HumanoidRootPart) |
2443 | - | finishing = true |
2443 | + | tors.Part0 = me.HumanoidRootPart |
2444 | - | acting = true |
2444 | + | tors.Part1 = me.Torso |
2445 | - | decearingTHING = math.random(1, 100) |
2445 | + | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) |
2446 | - | if decearingTHING == 4 then |
2446 | + | |
2447 | - | decearingEGG = Instance.new("Sound", me.Torso) |
2447 | + | local rightleg = Instance.new("Weld", me.Torso) |
2448 | - | decearingEGG.SoundId = "rbxassetid://138084557" |
2448 | + | rightleg.Part0 = me.Torso |
2449 | - | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 |
2449 | + | rightleg.Part1 = me["Right Leg"] |
2450 | - | decearingEGG.TimePosition = 0.2 |
2450 | + | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) |
2451 | - | decearingEGG:Play() |
2451 | + | |
2452 | local leftleg = Instance.new("Weld", me.Torso) | |
2453 | - | me.Humanoid.WalkSpeed = 0 |
2453 | + | leftleg.Part0 = me.Torso |
2454 | - | me.Humanoid.JumpPower = 0 |
2454 | + | leftleg.Part1 = me["Left Leg"] |
2455 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2456 | - | local rightarm = Instance.new("Weld", me.Torso) |
2456 | + | |
2457 | - | rightarm.Part0 = me.Torso |
2457 | + | for i = 0, 1, 0.05 do |
2458 | - | rightarm.Part1 = me["Right Arm"] |
2458 | + | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) |
2459 | - | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) |
2459 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) |
2460 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2461 | - | local tors = Instance.new("Weld", me.HumanoidRootPart) |
2461 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) |
2462 | - | tors.Part0 = me.HumanoidRootPart |
2462 | + | |
2463 | - | tors.Part1 = me.Torso |
2463 | + | |
2464 | - | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) |
2464 | + | |
2465 | local num1 = 0.5 | |
2466 | - | local rightleg = Instance.new("Weld", me.Torso) |
2466 | + | local num2 = 0.5 |
2467 | - | rightleg.Part0 = me.Torso |
2467 | + | local num3 = 0.25 |
2468 | - | rightleg.Part1 = me["Right Leg"] |
2468 | + | |
2469 | - | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) |
2469 | + | num3 = 0 |
2470 | end | |
2471 | - | local leftleg = Instance.new("Weld", me.Torso) |
2471 | + | |
2472 | - | leftleg.Part0 = me.Torso |
2472 | + | for i = 0, 1, num1 do |
2473 | - | leftleg.Part1 = me["Left Leg"] |
2473 | + | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) |
2474 | - | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) |
2474 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) |
2475 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) | |
2476 | - | for i = 0, 1, 0.05 do |
2476 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) |
2477 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) |
2477 | + | |
2478 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) |
2478 | + | |
2479 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) |
2479 | + | |
2480 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) |
2480 | + | for i = 0, 1, num2 do |
2481 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2482 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) | |
2483 | - | for i=1,finishnum do |
2483 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2484 | - | local num1 = 0.5 |
2484 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) |
2485 | - | local num2 = 0.5 |
2485 | + | |
2486 | - | local num3 = 0.25 |
2486 | + | |
2487 | - | if finishnum ~= 1 then |
2487 | + | |
2488 | - | num3 = 0 |
2488 | + | wait(num3) |
2489 | end | |
2490 | - | trail.Enabled = true |
2490 | + | |
2491 | - | for i = 0, 1, num1 do |
2491 | + | for i = 0, 1, 0.05 do |
2492 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) |
2492 | + | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) |
2493 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) |
2493 | + | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) |
2494 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) |
2494 | + | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) |
2495 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) |
2495 | + | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) |
2496 | wait() | |
2497 | end | |
2498 | - | wait() |
2498 | + | tors:Remove() |
2499 | - | for i = 0, 1, num2 do |
2499 | + | rightarm:Remove() |
2500 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2500 | + | rightleg:Remove() |
2501 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) |
2501 | + | leftleg:Remove() |
2502 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) |
2502 | + | |
2503 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) |
2503 | + | |
2504 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2505 | lefthipz:Clone().Parent = me.Torso | |
2506 | righthipz:Clone().Parent = me.Torso | |
2507 | - | wait(num3) |
2507 | + | me.Humanoid.JumpPower = 50 |
2508 | me.Humanoid.WalkSpeed = 16 | |
2509 | - | wait() |
2509 | + | |
2510 | - | for i = 0, 1, 0.05 do |
2510 | + | |
2511 | - | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) |
2511 | + | |
2512 | - | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) |
2512 | + | |
2513 | - | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) |
2513 | + | finishing = false |
2514 | - | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) |
2514 | + | if decearingTHING == 4 then |
2515 | decearingEGG:Remove() | |
2516 | end | |
2517 | - | tors:Remove() |
2517 | + | |
2518 | - | rightarm:Remove() |
2518 | + | |
2519 | - | rightleg:Remove() |
2519 | + | function throw() |
2520 | - | leftleg:Remove() |
2520 | + | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end |
2521 | - | rightshoulderz:Clone().Parent = me.Torso |
2521 | + | paralyzed = false |
2522 | - | leftshoulderz:Clone().Parent = me.Torso |
2522 | + | targetweld = grabbed.Torso.TargetWeld |
2523 | - | torsojoint:Clone().Parent = me.HumanoidRootPart |
2523 | + | local ree = grabbed:FindFirstChild("Left Arm") |
2524 | - | lefthipz:Clone().Parent = me.Torso |
2524 | + | targetweld2 =nil |
2525 | - | righthipz:Clone().Parent = me.Torso |
2525 | + | if ree and ree:FindFirstChild("Weld") then |
2526 | - | me.Humanoid.JumpPower = 50 |
2526 | + | targetweld2 = ree.Weld |
2527 | - | me.Humanoid.WalkSpeed = 16 |
2527 | + | |
2528 | - | acting = false |
2528 | + | |
2529 | - | canClick = true |
2529 | + | |
2530 | - | doing = false |
2530 | + | |
2531 | - | hit = false |
2531 | + | v.CanCollide = true |
2532 | - | finishing = false |
2532 | + | |
2533 | - | if decearingTHING == 4 then |
2533 | + | |
2534 | - | decearingEGG:Remove() |
2534 | + | |
2535 | ||
2536 | - | end |
2536 | + | local doit = coroutine.wrap(function() |
2537 | local arm = me["Right Arm"] | |
2538 | - | function throw() |
2538 | + | |
2539 | - | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end |
2539 | + | |
2540 | - | paralyzed = false |
2540 | + | local targrightshoulder = rightshoulder |
2541 | - | targetweld = grabbed.Torso.TargetWeld |
2541 | + | |
2542 | - | local ree = grabbed:FindFirstChild("Left Arm") |
2542 | + | local targleftshoulder = leftshoulder |
2543 | - | targetweld2 =nil |
2543 | + | |
2544 | - | if ree and ree:FindFirstChild("Weld") then |
2544 | + | |
2545 | - | targetweld2 = ree.Weld |
2545 | + | |
2546 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2547 | local humanroot = me.HumanoidRootPart | |
2548 | - | for i, v in pairs(grabbed:GetChildren()) do |
2548 | + | |
2549 | - | if v.Name == "Part" then |
2549 | + | for i = 0,1,0.2 do |
2550 | - | v.CanCollide = true |
2550 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2551 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) | |
2552 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2553 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
2554 | if targetweld2 then | |
2555 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
2556 | - | local arm = me["Right Arm"] |
2556 | + | |
2557 | - | local tors = grabbed.Torso |
2557 | + | |
2558 | - | local arm2 = me["Left Arm"] |
2558 | + | |
2559 | - | local targrightshoulder = rightshoulder |
2559 | + | |
2560 | audio:Stop() | |
2561 | - | local targleftshoulder = leftshoulder |
2561 | + | audio.SoundId = "rbxassetid://536642316" |
2562 | - | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end |
2562 | + | |
2563 | - | doing = true |
2563 | + | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end |
2564 | - | local weld2 = arm:FindFirstChildOfClass('Weld') |
2564 | + | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end |
2565 | - | local weld3 = arm2:FindFirstChildOfClass('Weld') |
2565 | + | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end |
2566 | - | local humanroot = me.HumanoidRootPart |
2566 | + | |
2567 | ||
2568 | - | for i = 0,1,0.2 do |
2568 | + | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso) |
2569 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2569 | + | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) |
2570 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) |
2570 | + | slightthrow.P = 5000 |
2571 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) |
2571 | + | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) |
2572 | - | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) |
2572 | + | local point = grabbed.Torso.Position |
2573 | local aaaaaa = grabbed | |
2574 | - | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) |
2574 | + | liedown() |
2575 | ||
2576 | rightshoulderz:Clone().Parent = me.Torso | |
2577 | leftshoulderz:Clone().Parent = me.Torso | |
2578 | grabbed = nil | |
2579 | - | audio:Stop() |
2579 | + | |
2580 | - | audio.SoundId = "rbxassetid://536642316" |
2580 | + | if humanroot:FindFirstChild('Holder') then |
2581 | - | tone = math.random(1, 3) |
2581 | + | humanroot.Holder:Destroy() |
2582 | - | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end |
2582 | + | |
2583 | - | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end |
2583 | + | |
2584 | - | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end |
2584 | + | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end |
2585 | - | audio:Play() |
2585 | + | slightthrow:Remove() |
2586 | end) | |
2587 | - | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso) |
2587 | + | |
2588 | - | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) |
2588 | + | |
2589 | - | slightthrow.P = 5000 |
2589 | + | |
2590 | - | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) |
2590 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2591 | - | local point = grabbed.Torso.Position |
2591 | + | |
2592 | - | local aaaaaa = grabbed |
2592 | + | |
2593 | - | liedown() |
2593 | + | |
2594 | end | |
2595 | - | rightshoulderz:Clone().Parent = me.Torso |
2595 | + | |
2596 | weld3:Destroy() | |
2597 | - | grabbed = nil |
2597 | + | targetweld:Remove() |
2598 | if targetweld2 then | |
2599 | - | if humanroot:FindFirstChild('Holder') then |
2599 | + | targetweld2:Remove() |
2600 | - | humanroot.Holder:Destroy() |
2600 | + | |
2601 | if rightshoulder then | |
2602 | - | local coru = coroutine.wrap(function() |
2602 | + | rightshoulder:Clone().Parent = tors |
2603 | - | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end |
2603 | + | |
2604 | if leftshoulder then | |
2605 | leftshoulder:Clone().Parent = tors | |
2606 | end | |
2607 | headweld:Clone().Parent = tors | |
2608 | - | for i = 0,1,0.05 do |
2608 | + | |
2609 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
2609 | + | leftshoulderz:Clone().Parent = me.Torso |
2610 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
2610 | + | |
2611 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) |
2611 | + | |
2612 | doing = false | |
2613 | end) | |
2614 | - | weld2:Destroy() |
2614 | + | doit() |
2615 | - | weld3:Destroy() |
2615 | + | |
2616 | - | targetweld:Remove() |
2616 | + | |
2617 | - | if targetweld2 then |
2617 | + | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new |
2618 | - | targetweld2:Remove() |
2618 | + | bc=BrickColor.new |
2619 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2620 | - | if rightshoulder then |
2620 | + | local surface_between_splitted_parts = 'SmoothNoOutlines' |
2621 | - | rightshoulder:Clone().Parent = tors |
2621 | + | local fragmentable = workspace |
2622 | local list = {} | |
2623 | - | if leftshoulder then |
2623 | + | local brickcount = 0 |
2624 | - | leftshoulder:Clone().Parent = tors |
2624 | + | local storage = {} |
2625 | local fillup = 1000 | |
2626 | - | headweld:Clone().Parent = tors |
2626 | + | local maximumstorage = 2000 |
2627 | - | rightshoulderz:Clone().Parent = me.Torso |
2627 | + | local storage_position = Vector3.new(0,0,5000) |
2628 | local stored_partsize = Vector3.new(1,1,1) | |
2629 | - | acting = false |
2629 | + | local parts_created_per_frame = 5 |
2630 | - | canClick = true |
2630 | + | |
2631 | - | doing = false |
2631 | + | local minimumsize = Vector3.new(0.7,0.7,0.7) |
2632 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2633 | local fragmentable = workspace | |
2634 | - | end |
2634 | + | local list = {} |
2635 | local brickcount = 0 | |
2636 | - | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new |
2636 | + | local storage = {} |
2637 | - | bc=BrickColor.new |
2637 | + | local fillup = 1000 |
2638 | - | local minimumsize = Vector3.new(0.7,0.7,0.7) |
2638 | + | local maximumstorage = 2000 |
2639 | - | local surface_between_splitted_parts = 'SmoothNoOutlines' |
2639 | + | local storage_position = Vector3.new(0,0,5000) |
2640 | - | local fragmentable = workspace |
2640 | + | local stored_partsize = Vector3.new(1,1,1) |
2641 | - | local list = {} |
2641 | + | local parts_created_per_frame = 5 |
2642 | - | local brickcount = 0 |
2642 | + | |
2643 | - | local storage = {} |
2643 | + | |
2644 | - | local fillup = 1000 |
2644 | + | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) |
2645 | - | local maximumstorage = 2000 |
2645 | + | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 |
2646 | - | local storage_position = Vector3.new(0,0,5000) |
2646 | + | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 |
2647 | - | local stored_partsize = Vector3.new(1,1,1) |
2647 | + | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 |
2648 | - | local parts_created_per_frame = 5 |
2648 | + | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then |
2649 | if xi == 1 and yi == 1 and zi == 1 then return end | |
2650 | - | local minimumsize = Vector3.new(0.7,0.7,0.7) |
2650 | + | if #storage > 0 then |
2651 | - | local surface_between_splitted_parts = 'SmoothNoOutlines' |
2651 | + | local p = storage[1] |
2652 | - | local fragmentable = workspace |
2652 | + | p.BrickColor = color |
2653 | - | local list = {} |
2653 | + | p.Size = size |
2654 | - | local brickcount = 0 |
2654 | + | |
2655 | - | local storage = {} |
2655 | + | p.BackSurface = backsurface |
2656 | - | local fillup = 1000 |
2656 | + | p.BottomSurface = bottomsurface |
2657 | - | local maximumstorage = 2000 |
2657 | + | p.FrontSurface = frontsurface |
2658 | - | local storage_position = Vector3.new(0,0,5000) |
2658 | + | p.LeftSurface = leftsurface |
2659 | - | local stored_partsize = Vector3.new(1,1,1) |
2659 | + | p.RightSurface = rightsurface |
2660 | - | local parts_created_per_frame = 5 |
2660 | + | p.TopSurface = topsurface |
2661 | p.Transparency = transparency | |
2662 | p.CFrame = cframe | |
2663 | - | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) |
2663 | + | p.Reflectance = reflectance |
2664 | - | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 |
2664 | + | p.Material = material |
2665 | - | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 |
2665 | + | game:GetService('Debris'):AddItem(p,30) |
2666 | - | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 |
2666 | + | p:BreakJoints() |
2667 | - | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then |
2667 | + | table.remove(storage,1) |
2668 | - | if xi == 1 and yi == 1 and zi == 1 then return end |
2668 | + | |
2669 | - | if #storage > 0 then |
2669 | + | local p = Instance.new("Part",fragmentable) |
2670 | - | local p = storage[1] |
2670 | + | p.BrickColor = color |
2671 | - | p.BrickColor = color |
2671 | + | |
2672 | - | p.Size = size |
2672 | + | p.Size = size |
2673 | - | p.Anchored = false |
2673 | + | p.BackSurface = backsurface |
2674 | - | p.BackSurface = backsurface |
2674 | + | p.BottomSurface = bottomsurface |
2675 | - | p.BottomSurface = bottomsurface |
2675 | + | p.FrontSurface = frontsurface |
2676 | - | p.FrontSurface = frontsurface |
2676 | + | p.LeftSurface = leftsurface |
2677 | - | p.LeftSurface = leftsurface |
2677 | + | p.RightSurface = rightsurface |
2678 | - | p.RightSurface = rightsurface |
2678 | + | p.TopSurface = topsurface |
2679 | - | p.TopSurface = topsurface |
2679 | + | p.Transparency = transparency |
2680 | - | p.Transparency = transparency |
2680 | + | p.Material = material |
2681 | - | p.CFrame = cframe |
2681 | + | if p.Transparency>0.285 then |
2682 | - | p.Reflectance = reflectance |
2682 | + | p.Anchored = false |
2683 | - | p.Material = material |
2683 | + | |
2684 | - | game:GetService('Debris'):AddItem(p,30) |
2684 | + | p.Anchored=false |
2685 | - | p:BreakJoints() |
2685 | + | p.Material='Wood' |
2686 | - | table.remove(storage,1) |
2686 | + | game:GetService('Debris'):AddItem(p,10) |
2687 | end | |
2688 | - | local p = Instance.new("Part",fragmentable) |
2688 | + | p.CFrame = cframe |
2689 | - | p.BrickColor = color |
2689 | + | p.Reflectance = reflectance |
2690 | - | p.FormFactor = "Custom" |
2690 | + | p:BreakJoints() |
2691 | - | p.Size = size |
2691 | + | |
2692 | - | p.BackSurface = backsurface |
2692 | + | return |
2693 | - | p.BottomSurface = bottomsurface |
2693 | + | |
2694 | - | p.FrontSurface = frontsurface |
2694 | + | local mody = math.random(-125,125)/1000 |
2695 | - | p.LeftSurface = leftsurface |
2695 | + | for y = 1,yi do |
2696 | - | p.RightSurface = rightsurface |
2696 | + | if math.random()> 0.5 then |
2697 | - | p.TopSurface = topsurface |
2697 | + | |
2698 | - | p.Transparency = transparency |
2698 | + | |
2699 | - | p.Material = material |
2699 | + | local modz = math.random(-125,125)/1000 |
2700 | - | if p.Transparency>0.285 then |
2700 | + | for z = 1,zi do --offset = x/xi-0.75+modx) |
2701 | - | p.Anchored = false |
2701 | + | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), |
2702 | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, | |
2703 | - | p.Anchored=false |
2703 | + | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius, |
2704 | - | p.Material='Wood' |
2704 | + | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, |
2705 | - | game:GetService('Debris'):AddItem(p,10) |
2705 | + | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, |
2706 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2707 | - | p.CFrame = cframe |
2707 | + | |
2708 | - | p.Reflectance = reflectance |
2708 | + | |
2709 | - | p:BreakJoints() |
2709 | + | |
2710 | else | |
2711 | - | return |
2711 | + | |
2712 | for z = 1,zi do | |
2713 | - | local mody = math.random(-125,125)/1000 |
2713 | + | local modx = math.random(-125,125)/1000 |
2714 | - | for y = 1,yi do |
2714 | + | for x = 1,xi do |
2715 | - | if math.random()> 0.5 then |
2715 | + | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), |
2716 | - | local modx = math.random(-125,125)/1000 |
2716 | + | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, |
2717 | - | for x = 1,xi do |
2717 | + | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, |
2718 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2719 | - | for z = 1,zi do --offset = x/xi-0.75+modx) |
2719 | + | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, |
2720 | - | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), |
2720 | + | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) |
2721 | - | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, |
2721 | + | |
2722 | - | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius, |
2722 | + | |
2723 | - | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, |
2723 | + | |
2724 | - | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, |
2724 | + | end |
2725 | - | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) |
2725 | + | |
2726 | ||
2727 | function start_fragmentation(position,radius,nuh) | |
2728 | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) | |
2729 | repeat | |
2730 | - | local modz = math.random(-125,125)/1000 |
2730 | + | local finish = false |
2731 | - | for z = 1,zi do |
2731 | + | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) |
2732 | for i = 1,#parts do | |
2733 | table.insert(list,1,parts[i]) | |
2734 | - | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), |
2734 | + | |
2735 | - | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, |
2735 | + | finish = true |
2736 | - | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, |
2736 | + | until #parts < 100 and finish |
2737 | - | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, |
2737 | + | local t = tick() |
2738 | - | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, |
2738 | + | for i = 1,#list do |
2739 | - | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) |
2739 | + | local p = list[i] |
2740 | if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then | |
2741 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2742 | if #storage < maximumstorage and p.Shape == "Block" then | |
2743 | - | end |
2743 | + | p.Anchored = false |
2744 | - | end |
2744 | + | p.FormFactor = "Custom" |
2745 | p.Size = stored_partsize | |
2746 | - | function start_fragmentation(position,radius,nuh) |
2746 | + | p.Position = storage_position |
2747 | - | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) |
2747 | + | table.insert(storage,1,p) |
2748 | - | repeat |
2748 | + | else |
2749 | - | local finish = false |
2749 | + | p:Destroy() |
2750 | - | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) |
2750 | + | |
2751 | - | for i = 1,#parts do |
2751 | + | |
2752 | - | table.insert(list,1,parts[i]) |
2752 | + | if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then |
2753 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2754 | - | finish = true |
2754 | + | if #storage < maximumstorage and p.Shape == "Block" then |
2755 | - | until #parts < 100 and finish |
2755 | + | p.Anchored = false |
2756 | - | local t = tick() |
2756 | + | p.Material='Wood' |
2757 | - | for i = 1,#list do |
2757 | + | p.FormFactor = "Custom" |
2758 | - | local p = list[i] |
2758 | + | p.Size = stored_partsize |
2759 | - | if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then |
2759 | + | p.Position = storage_position |
2760 | - | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) |
2760 | + | table.insert(storage,1,p) |
2761 | - | if #storage < maximumstorage and p.Shape == "Block" then |
2761 | + | else |
2762 | p:Destroy() | |
2763 | end | |
2764 | - | p.Size = stored_partsize |
2764 | + | |
2765 | - | p.Position = storage_position |
2765 | + | |
2766 | - | table.insert(storage,1,p) |
2766 | + | list = {} |
2767 | - | else |
2767 | + | |
2768 | - | p:Destroy() |
2768 | + | |
2769 | ||
2770 | - | end |
2770 | + | function fling() |
2771 | - | if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then |
2771 | + | |
2772 | - | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) |
2772 | + | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then |
2773 | - | if #storage < maximumstorage and p.Shape == "Block" then |
2773 | + | |
2774 | for i=1,finishnum do | |
2775 | - | p.Material='Wood' |
2775 | + | |
2776 | weld2.Part0 = me["Right Arm"] | |
2777 | - | p.Size = stored_partsize |
2777 | + | |
2778 | - | p.Position = storage_position |
2778 | + | |
2779 | - | table.insert(storage,1,p) |
2779 | + | |
2780 | - | else |
2780 | + | |
2781 | - | p:Destroy() |
2781 | + | |
2782 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2783 | wait(0.01) | |
2784 | - | end |
2784 | + | |
2785 | - | list = {} |
2785 | + | |
2786 | - | end |
2786 | + | |
2787 | audio.PlaybackSpeed = 1 | |
2788 | audio.TimePosition = 0.1 | |
2789 | - | function fling() |
2789 | + | |
2790 | - | local doit = coroutine.wrap(function() |
2790 | + | |
2791 | - | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then |
2791 | + | |
2792 | - | acting = true |
2792 | + | |
2793 | - | for i=1,finishnum do |
2793 | + | |
2794 | - | local weld2 = Instance.new('Weld',me["Right Arm"]) |
2794 | + | |
2795 | - | weld2.Part0 = me["Right Arm"] |
2795 | + | |
2796 | - | weld2.Part1 = me["Torso"] |
2796 | + | |
2797 | - | weld2.C0 = CFrame.new(-1.5,0,0) |
2797 | + | |
2798 | - | if finishnum == 1 then |
2798 | + | |
2799 | - | for i = 0,1,0.05 do |
2799 | + | for i, v in pairs(obj1:GetChildren()) do |
2800 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2800 | + | |
2801 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) |
2801 | + | |
2802 | - | wait(0.01) |
2802 | + | |
2803 | end | |
2804 | knofe.Parent = workspace | |
2805 | - | audio.SoundId = "rbxassetid://166083610" |
2805 | + | |
2806 | - | audio.PlaybackSpeed = 1 |
2806 | + | |
2807 | - | audio.TimePosition = 0.1 |
2807 | + | knofe:FindFirstChild("Trail", true).Enabled = true |
2808 | - | audio:Play() |
2808 | + | |
2809 | - | if finishnum == 1 then |
2809 | + | |
2810 | - | for i = 0,1,0.5 do |
2810 | + | |
2811 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2811 | + | |
2812 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) |
2812 | + | |
2813 | - | wait(0.001) |
2813 | + | |
2814 | end | |
2815 | end) | |
2816 | - | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) |
2816 | + | |
2817 | - | local knofe = obj1:Clone() |
2817 | + | local able = true |
2818 | - | for i, v in pairs(obj1:GetChildren()) do |
2818 | + | |
2819 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then | |
2820 | - | v.Transparency = 1 |
2820 | + | local thing = hit.Parent:FindFirstChildOfClass('Humanoid') |
2821 | local ree = hit.Parent | |
2822 | if thing == nil then | |
2823 | - | knofe.Parent = workspace |
2823 | + | ree = hit.Parent.Parent |
2824 | - | knofe.Name = "Projectile" |
2824 | + | |
2825 | - | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) |
2825 | + | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then |
2826 | - | knofe:FindFirstChild("Trail", true).Enabled = true |
2826 | + | knofe:FindFirstChild("Trail", true).Enabled = false |
2827 | - | local heck = Instance.new('BodyVelocity',knofe.Grab) |
2827 | + | game:GetService('Debris'):AddItem(knofe,5) |
2828 | - | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 |
2828 | + | |
2829 | - | local coru = coroutine.wrap(function() |
2829 | + | |
2830 | - | wait(0.45) |
2830 | + | |
2831 | - | if heck then |
2831 | + | |
2832 | - | heck:Destroy() |
2832 | + | |
2833 | sound.PlaybackSpeed = 1 | |
2834 | sound:Play() | |
2835 | for i, v in pairs(knofe:GetChildren()) do | |
2836 | - | local able = true |
2836 | + | |
2837 | - | knofe["big ass knife"].Touched:connect(function(hit) |
2837 | + | v.CanCollide = true |
2838 | - | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then |
2838 | + | |
2839 | - | local thing = hit.Parent:FindFirstChildOfClass('Humanoid') |
2839 | + | |
2840 | - | local ree = hit.Parent |
2840 | + | |
2841 | - | if thing == nil then |
2841 | + | hit.Anchored = true |
2842 | - | ree = hit.Parent.Parent |
2842 | + | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then |
2843 | ree:FindFirstChildOfClass('Humanoid').Health = 0 | |
2844 | - | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then |
2844 | + | |
2845 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
2845 | + | |
2846 | - | game:GetService('Debris'):AddItem(knofe,5) |
2846 | + | killz(ree,hit.Name,knofe) |
2847 | else | |
2848 | - | local sound = Instance.new('Sound',knofe.Grab) |
2848 | + | knofe:FindFirstChild("Trail", true).Enabled = false |
2849 | - | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end |
2849 | + | heck.Velocity = Vector3.new(0,0,0) |
2850 | - | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end |
2850 | + | heck:Destroy() |
2851 | - | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end |
2851 | + | game:GetService('Debris'):AddItem(knofe,5) |
2852 | - | sound.PlaybackSpeed = 1 |
2852 | + | |
2853 | local sound = Instance.new('Sound',knofe.Grab) | |
2854 | - | for i, v in pairs(knofe:GetChildren()) do |
2854 | + | |
2855 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2856 | - | v.CanCollide = true |
2856 | + | |
2857 | sound.PlaybackSpeed = 1 | |
2858 | sound:Play() | |
2859 | for i, v in pairs(knofe:GetChildren()) do | |
2860 | - | hit.Anchored = true |
2860 | + | |
2861 | - | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then |
2861 | + | |
2862 | - | ree:FindFirstChildOfClass('Humanoid').Health = 0 |
2862 | + | |
2863 | end | |
2864 | hit.Anchored = true | |
2865 | - | killz(ree,hit.Name,knofe) |
2865 | + | wait(0.001) |
2866 | hit.Anchored = false | |
2867 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
2867 | + | for i, v in pairs(knofe:GetChildren()) do |
2868 | - | heck.Velocity = Vector3.new(0,0,0) |
2868 | + | |
2869 | v.Anchored = false | |
2870 | - | game:GetService('Debris'):AddItem(knofe,5) |
2870 | + | |
2871 | end | |
2872 | - | local sound = Instance.new('Sound',knofe.Grab) |
2872 | + | if knofe then |
2873 | - | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end |
2873 | + | local coru = coroutine.wrap(function() |
2874 | - | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end |
2874 | + | if hit then |
2875 | - | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end |
2875 | + | local uno = Instance.new('Part',workspace) |
2876 | - | sound.PlaybackSpeed = 1 |
2876 | + | local dos = Instance.new('Part',workspace) |
2877 | uno.CFrame = hit.CFrame | |
2878 | - | for i, v in pairs(knofe:GetChildren()) do |
2878 | + | dos.CFrame = knofe["big ass knife"].CFrame |
2879 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2880 | - | v.Anchored = false |
2880 | + | weld.Part0 = hit |
2881 | weld.Part1 = knofe["big ass knife"] | |
2882 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2883 | - | hit.Anchored = true |
2883 | + | uno:Destroy() |
2884 | dos:Destroy() | |
2885 | - | hit.Anchored = false |
2885 | + | |
2886 | - | for i, v in pairs(knofe:GetChildren()) do |
2886 | + | end) |
2887 | coru() | |
2888 | - | v.Anchored = false |
2888 | + | |
2889 | end | |
2890 | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then | |
2891 | - | if knofe then |
2891 | + | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then |
2892 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2893 | - | if hit then |
2893 | + | |
2894 | - | local uno = Instance.new('Part',workspace) |
2894 | + | |
2895 | - | local dos = Instance.new('Part',workspace) |
2895 | + | |
2896 | - | uno.CFrame = hit.CFrame |
2896 | + | |
2897 | - | dos.CFrame = knofe["big ass knife"].CFrame |
2897 | + | |
2898 | - | local weld = Instance.new('Weld',knofe["big ass knife"]) |
2898 | + | v.Anchored = true |
2899 | - | weld.Part0 = hit |
2899 | + | |
2900 | - | weld.Part1 = knofe["big ass knife"] |
2900 | + | |
2901 | - | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
2901 | + | |
2902 | - | uno:Destroy() |
2902 | + | heck.Velocity = Vector3.new(0,0,0) |
2903 | - | dos:Destroy() |
2903 | + | heck:Destroy() |
2904 | local uno = Instance.new('Part',workspace) | |
2905 | local dos = Instance.new('Part',workspace) | |
2906 | uno.CFrame = hit.CFrame | |
2907 | dos.CFrame = knofe["big ass knife"].CFrame | |
2908 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2909 | - | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then |
2909 | + | weld.Part0 = hit |
2910 | - | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then |
2910 | + | weld.Part1 = knofe["big ass knife"] |
2911 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
2911 | + | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
2912 | - | local sound = Instance.new('Sound',knofe.Grab) |
2912 | + | uno:Destroy() |
2913 | - | sound.SoundId = 'rbxassetid://267585646' |
2913 | + | dos:Destroy() |
2914 | for i,v in pairs(knofe:GetChildren()) do | |
2915 | if v:IsA('BasePart') then | |
2916 | v.Anchored = false | |
2917 | end | |
2918 | end | |
2919 | game:GetService('Debris'):AddItem(knofe,5) | |
2920 | for i,v in pairs(knofe:GetChildren()) do | |
2921 | - | heck.Velocity = Vector3.new(0,0,0) |
2921 | + | |
2922 | v.CanCollide = true | |
2923 | - | local uno = Instance.new('Part',workspace) |
2923 | + | |
2924 | - | local dos = Instance.new('Part',workspace) |
2924 | + | |
2925 | - | uno.CFrame = hit.CFrame |
2925 | + | |
2926 | - | dos.CFrame = knofe["big ass knife"].CFrame |
2926 | + | if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then |
2927 | - | local weld = Instance.new('Weld',knofe["big ass knife"]) |
2927 | + | knofe:FindFirstChild("Trail", true).Enabled = false |
2928 | - | weld.Part0 = hit |
2928 | + | able = false |
2929 | - | weld.Part1 = knofe["big ass knife"] |
2929 | + | |
2930 | - | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
2930 | + | sound.SoundId = 'rbxassetid://144884907' |
2931 | - | uno:Destroy() |
2931 | + | |
2932 | - | dos:Destroy() |
2932 | + | |
2933 | - | for i,v in pairs(knofe:GetChildren()) do |
2933 | + | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) |
2934 | end) | |
2935 | coru() | |
2936 | end | |
2937 | end | |
2938 | - | game:GetService('Debris'):AddItem(knofe,5) |
2938 | + | |
2939 | if finishnum == 1 then | |
2940 | for i= 0,1,0.1 do | |
2941 | - | v.CanCollide = true |
2941 | + | |
2942 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2943 | wait(0.001) | |
2944 | end | |
2945 | - | if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then |
2945 | + | |
2946 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
2946 | + | for i= 0,1,0.5 do |
2947 | - | able = false |
2947 | + | |
2948 | - | local sound = Instance.new('Sound',knofe.Grab) |
2948 | + | |
2949 | - | sound.SoundId = 'rbxassetid://144884907' |
2949 | + | |
2950 | end | |
2951 | end | |
2952 | - | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) |
2952 | + | |
2953 | if v:IsA('BasePart') then | |
2954 | v.Transparency = 0 | |
2955 | end | |
2956 | end | |
2957 | weld2:Destroy() | |
2958 | - | if finishnum == 1 then |
2958 | + | |
2959 | - | for i= 0,1,0.1 do |
2959 | + | |
2960 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2960 | + | |
2961 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
2961 | + | |
2962 | - | wait(0.001) |
2962 | + | |
2963 | end) | |
2964 | - | else |
2964 | + | |
2965 | - | for i= 0,1,0.5 do |
2965 | + | |
2966 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2966 | + | |
2967 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
2967 | + | function instasplode() |
2968 | - | wait(0.001) |
2968 | + | |
2969 | acting = true | |
2970 | for i=1,1 do | |
2971 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2972 | weld2.Part0 = me["Right Arm"] | |
2973 | - | v.Transparency = 0 |
2973 | + | weld2.Part1 = me["Torso"] |
2974 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2975 | if finishnum == 1 then | |
2976 | - | weld2:Destroy() |
2976 | + | |
2977 | - | rightshoulderz:Clone().Parent = me.Torso |
2977 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2978 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2979 | - | acting = false |
2979 | + | wait(0.01) |
2980 | - | canClick = true |
2980 | + | |
2981 | - | end |
2981 | + | |
2982 | - | end) |
2982 | + | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) |
2983 | - | doit() |
2983 | + | audio.SoundId = "rbxassetid://166083610" |
2984 | - | end |
2984 | + | |
2985 | audio.TimePosition = 0.1 | |
2986 | - | function instasplode() |
2986 | + | |
2987 | - | local coru = coroutine.wrap(function() |
2987 | + | if finishnum == 1 then |
2988 | for i = 0,1,0.5 do | |
2989 | - | for i=1,1 do |
2989 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
2990 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2991 | wait(0.001) | |
2992 | end | |
2993 | end | |
2994 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2995 | local knofe = obj1:Clone() | |
2996 | for i,v in pairs(obj1:GetChildren()) do | |
2997 | if v:IsA('BasePart') then | |
2998 | v.Transparency = 1 | |
2999 | end | |
3000 | end | |
3001 | - | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) |
3001 | + | knofe.Parent = workspace |
3002 | knofe.Name = "Projectile" | |
3003 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3004 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3005 | fireofjesUS = Instance.new("Fire", knofe.Grab) | |
3006 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3007 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3008 | local coru = coroutine.wrap(function() | |
3009 | wait(0.45) | |
3010 | if heck then | |
3011 | heck:Destroy() | |
3012 | end | |
3013 | end) | |
3014 | coru() | |
3015 | knofe["big ass knife"].Touched:connect(function(hit) | |
3016 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3017 | heck.Velocity = Vector3.new(0,0,0) | |
3018 | heck:Destroy() | |
3019 | for i,v in pairs(knofe:GetChildren()) do | |
3020 | if v:IsA('BasePart') then | |
3021 | v.CanCollide = true | |
3022 | end | |
3023 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
3023 | + | |
3024 | - | fireofjesUS = Instance.new("Fire", knofe.Grab) |
3024 | + | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') |
3025 | if hum == nil then | |
3026 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3027 | end | |
3028 | if knofe then | |
3029 | local coru = coroutine.wrap(function() | |
3030 | if hit then | |
3031 | local uno = Instance.new('Part',workspace) | |
3032 | local dos = Instance.new('Part',workspace) | |
3033 | uno.CFrame = hit.CFrame | |
3034 | dos.CFrame = knofe["big ass knife"].CFrame | |
3035 | - | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then |
3035 | + | local weld = Instance.new('Weld',knofe["big ass knife"]) |
3036 | - | heck.Velocity = Vector3.new(0,0,0) |
3036 | + | weld.Part0 = hit |
3037 | weld.Part1 = knofe["big ass knife"] | |
3038 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3039 | uno:Destroy() | |
3040 | - | v.CanCollide = true |
3040 | + | dos:Destroy() |
3041 | end | |
3042 | end) | |
3043 | - | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') |
3043 | + | coru() |
3044 | - | if hum == nil then |
3044 | + | |
3045 | - | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') |
3045 | + | |
3046 | sound.Name = "BOOM" | |
3047 | - | if knofe then |
3047 | + | sound.EmitterSize = 25 |
3048 | sound.SoundId = 'rbxassetid://476477344' | |
3049 | - | if hit then |
3049 | + | sound.Volume = 0.5 |
3050 | - | local uno = Instance.new('Part',workspace) |
3050 | + | sound:Play() |
3051 | - | local dos = Instance.new('Part',workspace) |
3051 | + | local exppart = Instance.new("Part", game.Workspace) |
3052 | - | uno.CFrame = hit.CFrame |
3052 | + | exppart.Size = Vector3.new(0.2, 0.2, 0.2) |
3053 | - | dos.CFrame = knofe["big ass knife"].CFrame |
3053 | + | exppart.Anchored = true |
3054 | - | local weld = Instance.new('Weld',knofe["big ass knife"]) |
3054 | + | exppart.CanCollide = false |
3055 | - | weld.Part0 = hit |
3055 | + | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) |
3056 | - | weld.Part1 = knofe["big ass knife"] |
3056 | + | exppart.Transparency = 1 |
3057 | - | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
3057 | + | local expaccent = Instance.new("ParticleEmitter", exppart) |
3058 | - | uno:Destroy() |
3058 | + | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) |
3059 | - | dos:Destroy() |
3059 | + | expaccent.LightEmission = 0.2 |
3060 | expaccent.LightInfluence = 0.3 | |
3061 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3062 | expaccent.Acceleration = Vector3.new(0, 30, 0) | |
3063 | expaccent.Drag = 15 | |
3064 | expaccent.LockedToPart = false | |
3065 | - | sound.Name = "BOOM" |
3065 | + | expaccent.Lifetime = NumberRange.new(0.5, 1.5) |
3066 | - | sound.EmitterSize = 25 |
3066 | + | expaccent.Rate = 2000 |
3067 | - | sound.SoundId = 'rbxassetid://476477344' |
3067 | + | expaccent.Speed = NumberRange.new(0,0) |
3068 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3069 | expaccent:Clone().Parent = exppart | |
3070 | - | local exppart = Instance.new("Part", game.Workspace) |
3070 | + | expaccent:Clone().Parent = exppart |
3071 | - | exppart.Size = Vector3.new(0.2, 0.2, 0.2) |
3071 | + | local exp = Instance.new('Explosion',game.Workspace) |
3072 | - | exppart.Anchored = true |
3072 | + | exp.Position = knofe["big ass knife"].Position |
3073 | - | exppart.CanCollide = false |
3073 | + | exp.ExplosionType = Enum.ExplosionType.NoCraters |
3074 | - | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) |
3074 | + | exp.BlastRadius = 5 |
3075 | - | exppart.Transparency = 1 |
3075 | + | exp.Visible = false |
3076 | - | local expaccent = Instance.new("ParticleEmitter", exppart) |
3076 | + | exp.BlastPressure = 0 |
3077 | - | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) |
3077 | + | exp.DestroyJointRadiusPercent = 0 |
3078 | - | expaccent.LightEmission = 0.2 |
3078 | + | exp.Hit:connect(function(hit) |
3079 | - | expaccent.LightInfluence = 0.3 |
3079 | + | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then |
3080 | - | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) |
3080 | + | wait(0.001) |
3081 | - | expaccent.Acceleration = Vector3.new(0, 30, 0) |
3081 | + | tgt = hit |
3082 | - | expaccent.Drag = 15 |
3082 | + | local coru=coroutine.wrap(function(tgtt) |
3083 | - | expaccent.LockedToPart = false |
3083 | + | local fireofgods = Instance.new("Fire", tgtt) |
3084 | - | expaccent.Lifetime = NumberRange.new(0.5, 1.5) |
3084 | + | fireofgods.Size = 0 |
3085 | - | expaccent.Rate = 2000 |
3085 | + | fireofgods.Heat = 0 |
3086 | - | expaccent.Speed = NumberRange.new(0,0) |
3086 | + | local fireofgodsaccent = expaccent:Clone() |
3087 | - | expaccent.SpreadAngle = Vector2.new(360, 360) |
3087 | + | fireofgodsaccent.Parent = hit |
3088 | - | expaccent:Clone().Parent = exppart |
3088 | + | fireofgodsaccent.Rate = 0 |
3089 | - | expaccent:Clone().Parent = exppart |
3089 | + | fireofgodsaccent.Speed = NumberRange.new(5, 50) |
3090 | - | local exp = Instance.new('Explosion',game.Workspace) |
3090 | + | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) |
3091 | - | exp.Position = knofe["big ass knife"].Position |
3091 | + | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) |
3092 | - | exp.ExplosionType = Enum.ExplosionType.NoCraters |
3092 | + | |
3093 | - | exp.BlastRadius = 5 |
3093 | + | while fireofgods.Size < 10 do |
3094 | - | exp.Visible = false |
3094 | + | fireofgods.Size = fireofgods.Size + 0.1 |
3095 | - | exp.BlastPressure = 0 |
3095 | + | fireofgods.Heat = fireofgods.Heat + 0.1 |
3096 | - | exp.DestroyJointRadiusPercent = 0 |
3096 | + | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 |
3097 | - | exp.Hit:connect(function(hit) |
3097 | + | |
3098 | - | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then |
3098 | + | |
3099 | - | wait(0.001) |
3099 | + | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then |
3100 | - | tgt = hit |
3100 | + | hit:BreakJoints() |
3101 | - | local coru=coroutine.wrap(function(tgtt) |
3101 | + | elseif hit.Parent and hit.Parent:IsA('Accessory') then |
3102 | - | local fireofgods = Instance.new("Fire", tgtt) |
3102 | + | for i,v in pairs(hit:GetChildren()) do |
3103 | - | fireofgods.Size = 0 |
3103 | + | if v:IsA('SpecialMesh') then |
3104 | - | fireofgods.Heat = 0 |
3104 | + | v.TextureId = "" |
3105 | - | local fireofgodsaccent = expaccent:Clone() |
3105 | + | end |
3106 | - | fireofgodsaccent.Parent = hit |
3106 | + | |
3107 | - | fireofgodsaccent.Rate = 0 |
3107 | + | |
3108 | - | fireofgodsaccent.Speed = NumberRange.new(5, 50) |
3108 | + | hit.BrickColor = BrickColor.new("Black") |
3109 | - | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) |
3109 | + | for i,v in pairs(hit.Parent:GetChildren()) do |
3110 | - | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) |
3110 | + | if v:IsA('Shirt') or v:IsA('Pants') then |
3111 | - | |
3111 | + | v:Destroy() |
3112 | - | while fireofgods.Size < 10 do |
3112 | + | |
3113 | - | fireofgods.Size = fireofgods.Size + 0.1 |
3113 | + | |
3114 | - | fireofgods.Heat = fireofgods.Heat + 0.1 |
3114 | + | |
3115 | - | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 |
3115 | + | while fireofgods.Size > 5 do |
3116 | - | wait() |
3116 | + | fireofgods.Size = fireofgods.Size - 0.1 |
3117 | fireofgods.Heat = fireofgods.Heat - 0.1 | |
3118 | - | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then |
3118 | + | |
3119 | - | hit:BreakJoints() |
3119 | + | |
3120 | - | elseif hit.Parent and hit.Parent:IsA('Accessory') then |
3120 | + | fireofgods:Destroy() |
3121 | - | for i,v in pairs(hit:GetChildren()) do |
3121 | + | if hit.Parent then |
3122 | - | if v:IsA('SpecialMesh') then |
3122 | + | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then |
3123 | - | v.TextureId = "" |
3123 | + | local p = hit |
3124 | fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
3125 | hit:Remove() | |
3126 | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then | |
3127 | - | hit.BrickColor = BrickColor.new("Black") |
3127 | + | print(hit.Name) |
3128 | - | for i,v in pairs(hit.Parent:GetChildren()) do |
3128 | + | if hit.Name == "Torso" or hit.Name == "Head" then |
3129 | - | if v:IsA('Shirt') or v:IsA('Pants') then |
3129 | + | print('ohhh YAAAA') |
3130 | - | v:Destroy() |
3130 | + | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 |
3131 | end | |
3132 | wait() | |
3133 | - | |
3133 | + | killz(hit.Parent,hit.Name,nil,nil,false,false,true) |
3134 | - | while fireofgods.Size > 5 do |
3134 | + | |
3135 | - | fireofgods.Size = fireofgods.Size - 0.1 |
3135 | + | |
3136 | - | fireofgods.Heat = fireofgods.Heat - 0.1 |
3136 | + | end) |
3137 | - | wait() |
3137 | + | coru(tgt) |
3138 | end | |
3139 | - | fireofgods:Destroy() |
3139 | + | end) |
3140 | - | if hit.Parent then |
3140 | + | local explosionaccenttimeout = coroutine.wrap(function() |
3141 | - | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then |
3141 | + | wait(0.2) |
3142 | - | local p = hit |
3142 | + | for i, exploodn in pairs(exppart:GetChildren()) do |
3143 | - | fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) |
3143 | + | exploodn.Enabled = false |
3144 | - | hit:Remove() |
3144 | + | |
3145 | - | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then |
3145 | + | wait(2) |
3146 | - | print(hit.Name) |
3146 | + | for i, exploodn in pairs(exppart:GetChildren()) do |
3147 | - | if hit.Name == "Torso" or hit.Name == "Head" then |
3147 | + | exploodn:Remove() |
3148 | - | print('ohhh YAAAA') |
3148 | + | |
3149 | - | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 |
3149 | + | end) |
3150 | explosionaccenttimeout() | |
3151 | for i,v in pairs(knofe:GetChildren()) do | |
3152 | - | killz(hit.Parent,hit.Name,nil,nil,false,false,true) |
3152 | + | if v:IsA('BasePart') then |
3153 | v.Transparency = 1 | |
3154 | end | |
3155 | - | end) |
3155 | + | |
3156 | - | coru(tgt) |
3156 | + | exp.AncestryChanged:connect(function() knofe:Destroy() end) |
3157 | coru() | |
3158 | end | |
3159 | - | local explosionaccenttimeout = coroutine.wrap(function() |
3159 | + | |
3160 | - | wait(0.2) |
3160 | + | if finishnum == 1 then |
3161 | - | for i, exploodn in pairs(exppart:GetChildren()) do |
3161 | + | for i= 0,1,0.1 do |
3162 | - | exploodn.Enabled = false |
3162 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
3163 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3164 | wait(0.001) | |
3165 | - | for i, exploodn in pairs(exppart:GetChildren()) do |
3165 | + | |
3166 | - | exploodn:Remove() |
3166 | + | |
3167 | wait(0.1) | |
3168 | end | |
3169 | - | explosionaccenttimeout() |
3169 | + | weld2.C0 = CFrame.new(-1.5,0,0) |
3170 | for i,v in pairs(obj1:GetChildren()) do | |
3171 | if v:IsA('BasePart') then | |
3172 | - | v.Transparency = 1 |
3172 | + | v.Transparency = 0 |
3173 | end | |
3174 | end | |
3175 | - | exp.AncestryChanged:connect(function() knofe:Destroy() end) |
3175 | + | weld2:Destroy() |
3176 | rightshoulderz:Clone().Parent = me.Torso | |
3177 | end | |
3178 | acting = false | |
3179 | canClick = true | |
3180 | end) | |
3181 | coru() | |
3182 | end | |
3183 | ||
3184 | function fireworkit() | |
3185 | local coru = coroutine.wrap(function() | |
3186 | acting = true | |
3187 | local ree = 1 | |
3188 | if finishnum > 1 then | |
3189 | ree = 3 | |
3190 | end | |
3191 | for i=1,ree do | |
3192 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3193 | weld2.Part0 = me["Right Arm"] | |
3194 | weld2.Part1 = me["Torso"] | |
3195 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3196 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3197 | audio.SoundId = "rbxassetid://166083610" | |
3198 | audio.PlaybackSpeed = 1 | |
3199 | audio.TimePosition = 0.1 | |
3200 | audio:Play() | |
3201 | - | end |
3201 | + | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) |
3202 | local knofe = obj1:Clone() | |
3203 | - | function fireworkit() |
3203 | + | for i,v in pairs(obj1:GetChildren()) do |
3204 | - | local coru = coroutine.wrap(function() |
3204 | + | |
3205 | v.Transparency = 1 | |
3206 | - | local ree = 1 |
3206 | + | |
3207 | - | if finishnum > 1 then |
3207 | + | |
3208 | - | ree = 3 |
3208 | + | local sound = Instance.new('Sound',knofe.Grab) |
3209 | sound.Volume = 0.25 | |
3210 | - | for i=1,ree do |
3210 | + | sound.EmitterSize = 200 |
3211 | sound.MaxDistance = 300 | |
3212 | sound.SoundId = 'rbxassetid://551051176' | |
3213 | sound:Play() | |
3214 | knofe.Parent = workspace | |
3215 | - | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) |
3215 | + | knofe.Name = "Projectile" |
3216 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3217 | local partic = Instance.new('ParticleEmitter',knofe.Grab) | |
3218 | partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
3219 | partic.LightEmission = 0.5 | |
3220 | partic.LightInfluence = 0 | |
3221 | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)}) | |
3222 | partic.Rotation = NumberRange.new(0,90) | |
3223 | partic.SpreadAngle = Vector2.new(5,5) | |
3224 | partic.Speed = NumberRange.new(20) | |
3225 | partic.Texture = 'rbxassetid://603193846' | |
3226 | partic.EmissionDirection = Enum.NormalId.Left | |
3227 | - | local sound = Instance.new('Sound',knofe.Grab) |
3227 | + | partic.Lifetime = NumberRange.new(0.5,1) |
3228 | - | sound.Volume = 0.25 |
3228 | + | partic.Rate = 100 |
3229 | - | sound.EmitterSize = 200 |
3229 | + | local heck = Instance.new('BodyVelocity',knofe.Grab) |
3230 | - | sound.MaxDistance = 300 |
3230 | + | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 |
3231 | - | sound.SoundId = 'rbxassetid://551051176' |
3231 | + | knofe["big ass knife"].Touched:connect(function(hit) |
3232 | - | sound:Play() |
3232 | + | |
3233 | local sound2 = Instance.new('Sound',workspace) | |
3234 | sound2.SoundId = 'rbxassetid://138080762' | |
3235 | sound2:Play() | |
3236 | - | local partic = Instance.new('ParticleEmitter',knofe.Grab) |
3236 | + | if heck then |
3237 | - | partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) |
3237 | + | heck:Destroy() |
3238 | - | partic.LightEmission = 0.5 |
3238 | + | |
3239 | - | partic.LightInfluence = 0 |
3239 | + | |
3240 | - | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)}) |
3240 | + | |
3241 | - | partic.Rotation = NumberRange.new(0,90) |
3241 | + | |
3242 | - | partic.SpreadAngle = Vector2.new(5,5) |
3242 | + | partic.Enabled = false |
3243 | - | partic.Speed = NumberRange.new(20) |
3243 | + | local colorscheme = math.random(1,4) |
3244 | - | partic.Texture = 'rbxassetid://603193846' |
3244 | + | --1 - red & orange |
3245 | - | partic.EmissionDirection = Enum.NormalId.Left |
3245 | + | --2 - blue & pink |
3246 | - | partic.Lifetime = NumberRange.new(0.5,1) |
3246 | + | --3 - green & purple |
3247 | - | partic.Rate = 100 |
3247 | + | --4 - blue, red, white |
3248 | local colar1 = Color3.fromRGB(255,0,0) | |
3249 | - | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 |
3249 | + | local colar2 = Color3.fromRGB(255,125,0) |
3250 | local colar3 = Color3.fromRGB(255,255,255) | |
3251 | - | sound:Destroy() |
3251 | + | if colorscheme == 2 then |
3252 | - | local sound2 = Instance.new('Sound',workspace) |
3252 | + | colar1 = Color3.fromRGB(0,132,255) |
3253 | - | sound2.SoundId = 'rbxassetid://138080762' |
3253 | + | colar2 = Color3.fromRGB(243,105,255) |
3254 | - | sound2:Play() |
3254 | + | elseif colorscheme == 3 then |
3255 | colar1 = Color3.fromRGB(76,255,0) | |
3256 | colar2 = Color3.fromRGB(128,0,255) | |
3257 | elseif colorscheme == 4 then | |
3258 | - | for i,v in pairs(knofe:GetChildren()) do |
3258 | + | colar2 = Color3.fromRGB(0,132,255) |
3259 | - | v.Anchored = true |
3259 | + | |
3260 | local partic2 = Instance.new('ParticleEmitter',knofe.Grab) | |
3261 | - | partic.Enabled = false |
3261 | + | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)}) |
3262 | - | local colorscheme = math.random(1,4) |
3262 | + | partic2.LightEmission = 0.5 |
3263 | - | --1 - red & orange |
3263 | + | partic2.LightInfluence = 0 |
3264 | - | --2 - blue & pink |
3264 | + | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)}) |
3265 | - | --3 - green & purple |
3265 | + | partic2.Rotation = NumberRange.new(0,90) |
3266 | - | --4 - blue, red, white |
3266 | + | partic2.SpreadAngle = Vector2.new(180,180) |
3267 | - | local colar1 = Color3.fromRGB(255,0,0) |
3267 | + | partic2.Speed = NumberRange.new(20) |
3268 | - | local colar2 = Color3.fromRGB(255,125,0) |
3268 | + | partic2.Texture = 'rbxassetid://603193846' |
3269 | - | local colar3 = Color3.fromRGB(255,255,255) |
3269 | + | partic2.EmissionDirection = Enum.NormalId.Right |
3270 | - | if colorscheme == 2 then |
3270 | + | partic2.Lifetime = NumberRange.new(2,2.5) |
3271 | - | colar1 = Color3.fromRGB(0,132,255) |
3271 | + | partic2.Rate = 1000 |
3272 | - | colar2 = Color3.fromRGB(243,105,255) |
3272 | + | partic2.Drag = 1 |
3273 | - | elseif colorscheme == 3 then |
3273 | + | local partic3 = partic2:Clone() |
3274 | - | colar1 = Color3.fromRGB(76,255,0) |
3274 | + | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)}) |
3275 | - | colar2 = Color3.fromRGB(128,0,255) |
3275 | + | partic3.Parent = knofe.Grab |
3276 | - | elseif colorscheme == 4 then |
3276 | + | if colorscheme == 4 then |
3277 | - | colar2 = Color3.fromRGB(0,132,255) |
3277 | + | local partic4 = partic2:Clone() |
3278 | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)}) | |
3279 | - | local partic2 = Instance.new('ParticleEmitter',knofe.Grab) |
3279 | + | partic4.Parent = knofe.Grab |
3280 | - | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)}) |
3280 | + | |
3281 | - | partic2.LightEmission = 0.5 |
3281 | + | wait(1) |
3282 | - | partic2.LightInfluence = 0 |
3282 | + | for i,v in pairs(knofe.Grab:GetChildren()) do |
3283 | - | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)}) |
3283 | + | if v:IsA('ParticleEmitter') then |
3284 | - | partic2.Rotation = NumberRange.new(0,90) |
3284 | + | v.Enabled = false |
3285 | - | partic2.SpreadAngle = Vector2.new(180,180) |
3285 | + | |
3286 | - | partic2.Speed = NumberRange.new(20) |
3286 | + | |
3287 | - | partic2.Texture = 'rbxassetid://603193846' |
3287 | + | |
3288 | - | partic2.EmissionDirection = Enum.NormalId.Right |
3288 | + | |
3289 | - | partic2.Lifetime = NumberRange.new(2,2.5) |
3289 | + | knofe:Destroy() |
3290 | - | partic2.Rate = 1000 |
3290 | + | |
3291 | - | partic2.Drag = 1 |
3291 | + | |
3292 | - | local partic3 = partic2:Clone() |
3292 | + | weld2.C0 = CFrame.new(-1.5,0,0) |
3293 | - | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)}) |
3293 | + | for i,v in pairs(obj1:GetChildren()) do |
3294 | - | partic3.Parent = knofe.Grab |
3294 | + | |
3295 | - | if colorscheme == 4 then |
3295 | + | v.Transparency = 0 |
3296 | - | local partic4 = partic2:Clone() |
3296 | + | |
3297 | - | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)}) |
3297 | + | |
3298 | - | partic4.Parent = knofe.Grab |
3298 | + | weld2:Destroy() |
3299 | rightshoulderz:Clone().Parent = me.Torso | |
3300 | end | |
3301 | - | for i,v in pairs(knofe.Grab:GetChildren()) do |
3301 | + | acting = false |
3302 | - | if v:IsA('ParticleEmitter') then |
3302 | + | |
3303 | - | v.Enabled = false |
3303 | + | |
3304 | coru() | |
3305 | end | |
3306 | - | sound:Destroy() |
3306 | + | |
3307 | function paralyze() | |
3308 | - | knofe:Destroy() |
3308 | + | |
3309 | if paralyzed == true then return end | |
3310 | - | wait(0.1) |
3310 | + | paralyzed = true |
3311 | local arm = me["Right Arm"] | |
3312 | local tors = grabbed.Torso | |
3313 | local arm2 = me["Left Arm"] | |
3314 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3315 | doing = true | |
3316 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3317 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3318 | local humanroot = me.HumanoidRootPart | |
3319 | for i = 0,1,0.075 do | |
3320 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) | |
3321 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3322 | wait(0.01) | |
3323 | end | |
3324 | - | end |
3324 | + | for i = 0,1,0.30 do |
3325 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) | |
3326 | - | function paralyze() |
3326 | + | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) |
3327 | - | local coru = coroutine.wrap(function() |
3327 | + | |
3328 | - | if paralyzed == true then return end |
3328 | + | |
3329 | - | paralyzed = true |
3329 | + | killz(grabbed,'Left Leg') |
3330 | killz(grabbed,'Left Arm') | |
3331 | killz(grabbed,'Right Leg') | |
3332 | killz(grabbed,'Right Arm') | |
3333 | ||
3334 | for i, v in pairs(grabbed:GetChildren()) do | |
3335 | if v.Name == "Part" then | |
3336 | v.CanCollide = false | |
3337 | end | |
3338 | - | for i = 0,1,0.075 do |
3338 | + | |
3339 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) |
3339 | + | |
3340 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) |
3340 | + | |
3341 | audio.SoundId = "rbxassetid://2801263" | |
3342 | tone = math.random(1, 3) | |
3343 | - | for i = 0,1,0.30 do |
3343 | + | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end |
3344 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) |
3344 | + | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end |
3345 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) |
3345 | + | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end |
3346 | audio:Play() | |
3347 | ||
3348 | local bleedpart = Instance.new("Part", grabbed) | |
3349 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3350 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
3351 | bleedpart.CanCollide = false | |
3352 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
3353 | bleedpart.Transparency = 1 | |
3354 | ||
3355 | - | v.CanCollide = false |
3355 | + | local bleedpartweld = Instance.new("Weld", grabbed.Torso) |
3356 | bleedpartweld.Part0 = grabbed.Torso | |
3357 | bleedpartweld.Part1 = bleedpart | |
3358 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
3359 | local cuntruu=coroutine.wrap(function() | |
3360 | - | audio.SoundId = "rbxassetid://2801263" |
3360 | + | |
3361 | end) | |
3362 | - | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end |
3362 | + | local thicc = coroutine.wrap(function() |
3363 | - | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end |
3363 | + | wait(3) |
3364 | - | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end |
3364 | + | bleedpart:Remove() |
3365 | end) | |
3366 | cuntruu() | |
3367 | thicc() | |
3368 | ||
3369 | for i = 0,1,0.075 do | |
3370 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
3371 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
3372 | wait(0.01) | |
3373 | end | |
3374 | acting = true | |
3375 | canClick = true | |
3376 | doing = false | |
3377 | end) | |
3378 | - | local cuntruu=coroutine.wrap(function() |
3378 | + | |
3379 | - | bleed(bleedpart) |
3379 | + | |
3380 | ||
3381 | - | local thicc = coroutine.wrap(function() |
3381 | + | function explode() |
3382 | - | wait(3) |
3382 | + | |
3383 | - | bleedpart:Remove() |
3383 | + | |
3384 | for i=1,finishnum do | |
3385 | - | cuntruu() |
3385 | + | local weld2 = Instance.new('Weld',me["Right Arm"]) |
3386 | - | thicc() |
3386 | + | weld2.Part0 = me["Right Arm"] |
3387 | weld2.Part1 = me["Torso"] | |
3388 | - | for i = 0,1,0.075 do |
3388 | + | weld2.C0 = CFrame.new(-1.5,0,0) |
3389 | if finishnum == 1 then | |
3390 | for i = 0,1,0.05 do | |
3391 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3392 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
3393 | wait(0.01) | |
3394 | end | |
3395 | end | |
3396 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3397 | audio.SoundId = "rbxassetid://166083610" | |
3398 | - | end |
3398 | + | |
3399 | audio.TimePosition = 0.1 | |
3400 | - | function explode() |
3400 | + | |
3401 | - | local coru = coroutine.wrap(function() |
3401 | + | if finishnum == 1 then |
3402 | for i = 0,1,0.5 do | |
3403 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3404 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
3405 | wait(0.001) | |
3406 | end | |
3407 | end | |
3408 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3409 | local knofe = obj1:Clone() | |
3410 | for i,v in pairs(obj1:GetChildren()) do | |
3411 | if v:IsA('BasePart') then | |
3412 | v.Transparency = 1 | |
3413 | end | |
3414 | end | |
3415 | - | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) |
3415 | + | knofe.Parent = workspace |
3416 | knofe.Name = "Projectile" | |
3417 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3418 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3419 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3420 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3421 | local coru = coroutine.wrap(function() | |
3422 | wait(0.45) | |
3423 | if heck then | |
3424 | heck:Destroy() | |
3425 | end | |
3426 | end) | |
3427 | coru() | |
3428 | knofe["big ass knife"].Touched:connect(function(hit) | |
3429 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3430 | heck.Velocity = Vector3.new(0,0,0) | |
3431 | heck:Destroy() | |
3432 | for i,v in pairs(knofe:GetChildren()) do | |
3433 | if v:IsA('BasePart') then | |
3434 | v.CanCollide = true | |
3435 | end | |
3436 | end | |
3437 | - | knofe:FindFirstChild("Trail", true).Enabled = false |
3437 | + | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') |
3438 | if hum == nil then | |
3439 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3440 | end | |
3441 | if hum then | |
3442 | tone = math.random(1, 3) | |
3443 | local sound = Instance.new('Sound',knofe.Grab) | |
3444 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
3445 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
3446 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
3447 | sound.PlaybackSpeed = 1 | |
3448 | - | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then |
3448 | + | sound:Play() |
3449 | - | heck.Velocity = Vector3.new(0,0,0) |
3449 | + | else |
3450 | local sound = Instance.new('Sound',knofe.Grab) | |
3451 | sound.SoundId = 'rbxassetid://267585646' | |
3452 | sound:Play() | |
3453 | - | v.CanCollide = true |
3453 | + | |
3454 | if knofe then | |
3455 | local coru = coroutine.wrap(function() | |
3456 | - | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') |
3456 | + | if hit then |
3457 | - | if hum == nil then |
3457 | + | local uno = Instance.new('Part',workspace) |
3458 | - | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') |
3458 | + | local dos = Instance.new('Part',workspace) |
3459 | uno.CFrame = hit.CFrame | |
3460 | - | if hum then |
3460 | + | dos.CFrame = knofe["big ass knife"].CFrame |
3461 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3462 | weld.Part0 = hit | |
3463 | weld.Part1 = knofe["big ass knife"] | |
3464 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3465 | uno:Destroy() | |
3466 | dos:Destroy() | |
3467 | end | |
3468 | end) | |
3469 | coru() | |
3470 | end | |
3471 | local coru = coroutine.wrap(function() | |
3472 | for i=1,15,0.7 do | |
3473 | - | if knofe then |
3473 | + | local sound = Instance.new('Sound',knofe.Grab) |
3474 | if knofe then | |
3475 | - | if hit then |
3475 | + | if knofe.serration.BrickColor == BrickColor.new('Really red') then |
3476 | - | local uno = Instance.new('Part',workspace) |
3476 | + | for i, v in pairs(knofe:GetChildren()) do |
3477 | - | local dos = Instance.new('Part',workspace) |
3477 | + | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then |
3478 | - | uno.CFrame = hit.CFrame |
3478 | + | v.BrickColor = BrickColor.new('Lily white') |
3479 | - | dos.CFrame = knofe["big ass knife"].CFrame |
3479 | + | v.Material = Enum.Material.SmoothPlastic |
3480 | - | local weld = Instance.new('Weld',knofe["big ass knife"]) |
3480 | + | |
3481 | - | weld.Part0 = hit |
3481 | + | |
3482 | - | weld.Part1 = knofe["big ass knife"] |
3482 | + | |
3483 | - | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) |
3483 | + | for i,v in pairs(knofe:GetChildren()) do |
3484 | - | uno:Destroy() |
3484 | + | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then |
3485 | - | dos:Destroy() |
3485 | + | v.BrickColor = BrickColor.new('Really red') |
3486 | v.Material = Enum.Material.Neon | |
3487 | sound.SoundId = 'rbxassetid://300473653' | |
3488 | sound.Volume = 0.75 | |
3489 | sound.TimePosition = 0.05 | |
3490 | sound.EmitterSize = 25 | |
3491 | - | for i=1,15,0.7 do |
3491 | + | sound.PlaybackSpeed = 1 |
3492 | sound:Play() | |
3493 | - | if knofe then |
3493 | + | |
3494 | - | if knofe.serration.BrickColor == BrickColor.new('Really red') then |
3494 | + | |
3495 | - | for i, v in pairs(knofe:GetChildren()) do |
3495 | + | |
3496 | - | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then |
3496 | + | wait(1/i) |
3497 | - | v.BrickColor = BrickColor.new('Lily white') |
3497 | + | sound:Destroy() |
3498 | - | v.Material = Enum.Material.SmoothPlastic |
3498 | + | |
3499 | end | |
3500 | local sound = Instance.new('Sound',knofe.Grab) | |
3501 | sound.Name = "BOOM" | |
3502 | sound.EmitterSize = 25 | |
3503 | - | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then |
3503 | + | sound.SoundId = 'rbxassetid://12222084' |
3504 | - | v.BrickColor = BrickColor.new('Really red') |
3504 | + | sound.TimePosition = 0.1 |
3505 | - | v.Material = Enum.Material.Neon |
3505 | + | sound.Volume = 0.5 |
3506 | - | sound.SoundId = 'rbxassetid://300473653' |
3506 | + | sound:Play() |
3507 | - | sound.Volume = 0.75 |
3507 | + | local exppart = Instance.new("Part", game.Workspace) |
3508 | - | sound.TimePosition = 0.05 |
3508 | + | exppart.Size = Vector3.new(0.2, 0.2, 0.2) |
3509 | - | sound.EmitterSize = 25 |
3509 | + | exppart.Anchored = true |
3510 | - | sound.PlaybackSpeed = 1 |
3510 | + | exppart.CanCollide = false |
3511 | - | sound:Play() |
3511 | + | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) |
3512 | exppart.Transparency = 1 | |
3513 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3514 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3515 | - | wait(1/i) |
3515 | + | expaccent.LightEmission = 0.2 |
3516 | - | sound:Destroy() |
3516 | + | expaccent.LightInfluence = 0.3 |
3517 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3518 | expaccent.Acceleration = Vector3.new(0, -8, 0) | |
3519 | expaccent.Drag = 15 | |
3520 | - | sound.Name = "BOOM" |
3520 | + | expaccent.LockedToPart = true |
3521 | - | sound.EmitterSize = 25 |
3521 | + | expaccent.Lifetime = NumberRange.new(0.5, 1.5) |
3522 | - | sound.SoundId = 'rbxassetid://12222084' |
3522 | + | expaccent.Rate = 2000 |
3523 | - | sound.TimePosition = 0.1 |
3523 | + | expaccent.Speed = NumberRange.new(10, 150) |
3524 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3525 | ||
3526 | - | local exppart = Instance.new("Part", game.Workspace) |
3526 | + | local exp = Instance.new('Explosion',game.Workspace) |
3527 | - | exppart.Size = Vector3.new(0.2, 0.2, 0.2) |
3527 | + | exp.Position = knofe["big ass knife"].Position |
3528 | - | exppart.Anchored = true |
3528 | + | exp.ExplosionType = Enum.ExplosionType.NoCraters |
3529 | - | exppart.CanCollide = false |
3529 | + | exp.BlastRadius = 10 |
3530 | - | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) |
3530 | + | exp.BlastPressure = 100000 |
3531 | - | exppart.Transparency = 1 |
3531 | + | exp.DestroyJointRadiusPercent = 1 |
3532 | - | local expaccent = Instance.new("ParticleEmitter", exppart) |
3532 | + | exp.Hit:connect(function(hit) |
3533 | - | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) |
3533 | + | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then |
3534 | - | expaccent.LightEmission = 0.2 |
3534 | + | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then |
3535 | - | expaccent.LightInfluence = 0.3 |
3535 | + | |
3536 | - | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) |
3536 | + | |
3537 | - | expaccent.Acceleration = Vector3.new(0, -8, 0) |
3537 | + | wait(0.001) |
3538 | - | expaccent.Drag = 15 |
3538 | + | local coru=coroutine.wrap(function() |
3539 | - | expaccent.LockedToPart = true |
3539 | + | killz(hit.Parent,'Head',knofe,exp) |
3540 | - | expaccent.Lifetime = NumberRange.new(0.5, 1.5) |
3540 | + | end) |
3541 | - | expaccent.Rate = 2000 |
3541 | + | coru() |
3542 | - | expaccent.Speed = NumberRange.new(10, 150) |
3542 | + | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then |
3543 | - | expaccent.SpreadAngle = Vector2.new(360, 360) |
3543 | + | if hit.Parent.Name ~= "Projectile" then |
3544 | hit.Parent:BreakJoints() | |
3545 | - | local exp = Instance.new('Explosion',game.Workspace) |
3545 | + | |
3546 | - | exp.Position = knofe["big ass knife"].Position |
3546 | + | elseif hit.Parent and hit.Parent ~= me then |
3547 | - | exp.ExplosionType = Enum.ExplosionType.NoCraters |
3547 | + | hit:BreakJoints() |
3548 | - | exp.BlastRadius = 10 |
3548 | + | |
3549 | - | exp.BlastPressure = 100000 |
3549 | + | end) |
3550 | - | exp.DestroyJointRadiusPercent = 1 |
3550 | + | local explosionaccenttimeout = coroutine.wrap(function() |
3551 | - | exp.Hit:connect(function(hit) |
3551 | + | wait(0.2) |
3552 | - | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then |
3552 | + | expaccent.Enabled = false |
3553 | - | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then |
3553 | + | wait(2) |
3554 | - | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 |
3554 | + | exppart:Remove() |
3555 | end) | |
3556 | - | wait(0.001) |
3556 | + | explosionaccenttimeout() |
3557 | - | local coru=coroutine.wrap(function() |
3557 | + | for i,v in pairs(knofe:GetChildren()) do |
3558 | - | killz(hit.Parent,'Head',knofe,exp) |
3558 | + | if v:IsA('BasePart') then |
3559 | - | end) |
3559 | + | v.Transparency = 1 |
3560 | - | coru() |
3560 | + | |
3561 | - | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then |
3561 | + | |
3562 | - | if hit.Parent.Name ~= "Projectile" then |
3562 | + | exp.AncestryChanged:connect(function() knofe:Destroy() end) |
3563 | - | hit.Parent:BreakJoints() |
3563 | + | |
3564 | coru() | |
3565 | - | elseif hit.Parent and hit.Parent ~= me then |
3565 | + | |
3566 | - | hit:BreakJoints() |
3566 | + | |
3567 | if finishnum == 1 then | |
3568 | for i= 0,1,0.1 do | |
3569 | - | local explosionaccenttimeout = coroutine.wrap(function() |
3569 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end |
3570 | - | wait(0.2) |
3570 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
3571 | - | expaccent.Enabled = false |
3571 | + | |
3572 | end | |
3573 | - | exppart:Remove() |
3573 | + | |
3574 | wait(0.1) | |
3575 | - | explosionaccenttimeout() |
3575 | + | |
3576 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3577 | for i,v in pairs(obj1:GetChildren()) do | |
3578 | - | v.Transparency = 1 |
3578 | + | |
3579 | v.Transparency = 0 | |
3580 | end | |
3581 | - | exp.AncestryChanged:connect(function() knofe:Destroy() end) |
3581 | + | |
3582 | weld2:Destroy() | |
3583 | rightshoulderz:Clone().Parent = me.Torso | |
3584 | end | |
3585 | acting = false | |
3586 | canClick = true | |
3587 | end) | |
3588 | coru() | |
3589 | end | |
3590 | ||
3591 | function release() | |
3592 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
3593 | targetweld = grabbed.Torso.TargetWeld | |
3594 | local ree= grabbed:FindFirstChild("Left Arm") | |
3595 | targetweld2 = nil | |
3596 | if ree and ree:FindFirstChild("Weld") then | |
3597 | targetweld2 = ree.Weld | |
3598 | end | |
3599 | for i, v in pairs(grabbed:GetChildren()) do | |
3600 | if v.Name == "Part" then | |
3601 | v.CanCollide = true | |
3602 | end | |
3603 | end | |
3604 | paralyzed = false | |
3605 | local doit = coroutine.wrap(function() | |
3606 | local arm = me["Right Arm"] | |
3607 | local tors = grabbed.Torso | |
3608 | - | end |
3608 | + | |
3609 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3610 | - | function release() |
3610 | + | |
3611 | - | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end |
3611 | + | |
3612 | - | targetweld = grabbed.Torso.TargetWeld |
3612 | + | |
3613 | - | local ree= grabbed:FindFirstChild("Left Arm") |
3613 | + | |
3614 | - | targetweld2 = nil |
3614 | + | |
3615 | - | if ree and ree:FindFirstChild("Weld") then |
3615 | + | if grabbed:FindFirstChildOfClass('Humanoid') then |
3616 | - | targetweld2 = ree.Weld |
3616 | + | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false |
3617 | end | |
3618 | - | for i, v in pairs(grabbed:GetChildren()) do |
3618 | + | |
3619 | - | if v.Name == "Part" then |
3619 | + | |
3620 | - | v.CanCollide = true |
3620 | + | |
3621 | grabbed = nil | |
3622 | ||
3623 | - | paralyzed = false |
3623 | + | if humanroot:FindFirstChild('Holder') then |
3624 | humanroot.Holder:Destroy() | |
3625 | - | local arm = me["Right Arm"] |
3625 | + | |
3626 | - | local tors = grabbed.Torso |
3626 | + | |
3627 | - | local arm2 = me["Left Arm"] |
3627 | + | |
3628 | - | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end |
3628 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
3629 | - | doing = true |
3629 | + | |
3630 | - | local weld2 = arm:FindFirstChildOfClass('Weld') |
3630 | + | |
3631 | - | local weld3 = arm2:FindFirstChildOfClass('Weld') |
3631 | + | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) |
3632 | - | local humanroot = me.HumanoidRootPart |
3632 | + | if targetweld2 then |
3633 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
3634 | - | if grabbed:FindFirstChildOfClass('Humanoid') then |
3634 | + | |
3635 | - | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false |
3635 | + | |
3636 | end | |
3637 | ||
3638 | - | rightshoulderz:Clone().Parent = me.Torso |
3638 | + | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) |
3639 | - | leftshoulderz:Clone().Parent = me.Torso |
3639 | + | |
3640 | - | grabbed = nil |
3640 | + | |
3641 | targetweld:Remove() | |
3642 | - | if humanroot:FindFirstChild('Holder') then |
3642 | + | |
3643 | - | humanroot.Holder:Destroy() |
3643 | + | targetweld2:Remove() |
3644 | end | |
3645 | if rightshoulder then | |
3646 | - | for i = 0,1,0.1 do |
3646 | + | rightshoulder:Clone().Parent = tors |
3647 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end |
3647 | + | |
3648 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) |
3648 | + | if leftshoulder then |
3649 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) |
3649 | + | leftshoulder:Clone().Parent = tors |
3650 | - | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) |
3650 | + | |
3651 | headweld:Clone().Parent = tors | |
3652 | - | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) |
3652 | + | |
3653 | leftshoulderz:Clone().Parent = me.Torso | |
3654 | acting = false | |
3655 | canClick = true | |
3656 | doing = false | |
3657 | - | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) |
3657 | + | |
3658 | - | weld2:Destroy() |
3658 | + | doit() |
3659 | - | weld3:Destroy() |
3659 | + | |
3660 | - | targetweld:Remove() |
3660 | + | |
3661 | - | if targetweld2 then |
3661 | + | function stabwithpassion() |
3662 | - | targetweld2:Remove() |
3662 | + | local doit = coroutine.wrap(function() |
3663 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3664 | - | if rightshoulder then |
3664 | + | acting = true |
3665 | - | rightshoulder:Clone().Parent = tors |
3665 | + | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10 |
3666 | local arm = me["Right Arm"] | |
3667 | - | if leftshoulder then |
3667 | + | local tors = me.Torso |
3668 | - | leftshoulder:Clone().Parent = tors |
3668 | + | local arm2 = me["Left Arm"] |
3669 | local humanroot = me.HumanoidRootPart | |
3670 | - | headweld:Clone().Parent = tors |
3670 | + | local weld = Instance.new('Weld',tors) |
3671 | - | rightshoulderz:Clone().Parent = me.Torso |
3671 | + | weld.Part0 = tors |
3672 | weld.Part1 = humanroot | |
3673 | - | acting = false |
3673 | + | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) |
3674 | - | canClick = true |
3674 | + | local weld2 = Instance.new('Weld',arm) |
3675 | - | doing = false |
3675 | + | weld2.Part0 = arm |
3676 | weld2.Part1 = tors | |
3677 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3678 | - | end |
3678 | + | local weld3 = Instance.new('Weld',arm2) |
3679 | weld3.Part0 = arm2 | |
3680 | - | function stabwithpassion() |
3680 | + | weld3.Part1 = tors |
3681 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3682 | - | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then |
3682 | + | |
3683 | for i = 0,1,0.15 do | |
3684 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10 |
3684 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3685 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) | |
3686 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3687 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) | |
3688 | wait(0.01) | |
3689 | - | local weld = Instance.new('Weld',tors) |
3689 | + | |
3690 | - | weld.Part0 = tors |
3690 | + | |
3691 | - | weld.Part1 = humanroot |
3691 | + | trail.Enabled = true |
3692 | - | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) |
3692 | + | stabbing = true |
3693 | - | local weld2 = Instance.new('Weld',arm) |
3693 | + | audio2.SoundId = 'rbxassetid://608537390' |
3694 | - | weld2.Part0 = arm |
3694 | + | audio2:Play() |
3695 | for i = 0,1,0.2 do | |
3696 | - | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
3696 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3697 | - | local weld3 = Instance.new('Weld',arm2) |
3697 | + | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) |
3698 | - | weld3.Part0 = arm2 |
3698 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) |
3699 | - | weld3.Part1 = tors |
3699 | + | wait(0.01) |
3700 | - | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) |
3700 | + | |
3701 | trail.Enabled = false | |
3702 | - | for i = 0,1,0.15 do |
3702 | + | wait(0.1) |
3703 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3703 | + | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10 |
3704 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) |
3704 | + | stabbing = false |
3705 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) |
3705 | + | |
3706 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) |
3706 | + | for i = 0,1,0.075 do |
3707 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3708 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3709 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3710 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3711 | - | stabbing = true |
3711 | + | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) |
3712 | - | audio2.SoundId = 'rbxassetid://608537390' |
3712 | + | wait(0.01) |
3713 | - | audio2:Play() |
3713 | + | |
3714 | - | for i = 0,1,0.2 do |
3714 | + | weld:Destroy() |
3715 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3715 | + | weld2:Destroy() |
3716 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) |
3716 | + | weld3:Destroy() |
3717 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) |
3717 | + | torsojoint:Clone().Parent = humanroot |
3718 | rightshoulderz:Clone().Parent = me.Torso | |
3719 | leftshoulderz:Clone().Parent = me.Torso | |
3720 | canClick = true | |
3721 | hit = false | |
3722 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10 |
3722 | + | acting = false |
3723 | - | stabbing = false |
3723 | + | |
3724 | end) | |
3725 | doit() | |
3726 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3726 | + | |
3727 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) |
3727 | + | |
3728 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) |
3728 | + | function stab() |
3729 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) |
3729 | + | local doit = coroutine.wrap(function() |
3730 | - | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) |
3730 | + | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then |
3731 | acting = true | |
3732 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
3733 | - | weld:Destroy() |
3733 | + | local arm = me["Right Arm"] |
3734 | local tors = me.Torso | |
3735 | local arm2 = me["Left Arm"] | |
3736 | - | torsojoint:Clone().Parent = humanroot |
3736 | + | local humanroot = me.HumanoidRootPart |
3737 | local weld = Instance.new('Weld',tors) | |
3738 | weld.Part0 = tors | |
3739 | weld.Part1 = humanroot | |
3740 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3741 | local weld2 = Instance.new('Weld',arm) | |
3742 | weld2.Part0 = arm | |
3743 | weld2.Part1 = tors | |
3744 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3745 | - | end |
3745 | + | local weld3 = Instance.new('Weld',arm2) |
3746 | weld3.Part0 = arm2 | |
3747 | - | function stab() |
3747 | + | weld3.Part1 = tors |
3748 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3749 | - | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then |
3749 | + | |
3750 | for i = 0,1,0.1 do | |
3751 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 |
3751 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3752 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3753 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3754 | wait(0.01) | |
3755 | end | |
3756 | - | local weld = Instance.new('Weld',tors) |
3756 | + | |
3757 | - | weld.Part0 = tors |
3757 | + | trail.Enabled = true |
3758 | - | weld.Part1 = humanroot |
3758 | + | stabbing = true |
3759 | - | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) |
3759 | + | audio2.SoundId = 'rbxassetid://608537390' |
3760 | - | local weld2 = Instance.new('Weld',arm) |
3760 | + | audio2:Play() |
3761 | - | weld2.Part0 = arm |
3761 | + | for i = 0,1,0.25 do |
3762 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3763 | - | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
3763 | + | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) |
3764 | - | local weld3 = Instance.new('Weld',arm2) |
3764 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) |
3765 | - | weld3.Part0 = arm2 |
3765 | + | wait(0.01) |
3766 | - | weld3.Part1 = tors |
3766 | + | |
3767 | - | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) |
3767 | + | trail.Enabled = false |
3768 | wait(0.1) | |
3769 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
3770 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3770 | + | for i = 0,1,0.25 do |
3771 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) |
3771 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3772 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) |
3772 | + | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) |
3773 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) | |
3774 | wait(0.01) | |
3775 | end | |
3776 | stabbing = false | |
3777 | - | stabbing = true |
3777 | + | |
3778 | - | audio2.SoundId = 'rbxassetid://608537390' |
3778 | + | for i = 0,1,0.05 do |
3779 | - | audio2:Play() |
3779 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3780 | - | for i = 0,1,0.25 do |
3780 | + | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) |
3781 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3781 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) |
3782 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) |
3782 | + | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) |
3783 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) |
3783 | + | wait(0.01) |
3784 | end | |
3785 | weld:Destroy() | |
3786 | weld2:Destroy() | |
3787 | weld3:Destroy() | |
3788 | - | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 |
3788 | + | torsojoint:Clone().Parent = humanroot |
3789 | - | for i = 0,1,0.25 do |
3789 | + | |
3790 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3790 | + | |
3791 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) |
3791 | + | |
3792 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) |
3792 | + | hit = false |
3793 | acting = false | |
3794 | ||
3795 | - | stabbing = false |
3795 | + | for i, plr in pairs(game.Players:GetChildren()) do |
3796 | if plr.Name ~= game.Players.LocalPlayer.Name then | |
3797 | for i = 1, 10 do | |
3798 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end |
3798 | + | game.ReplicatedStorage.meleeEvent:FireServer(plr) |
3799 | - | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) |
3799 | + | |
3800 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) |
3800 | + | |
3801 | - | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) |
3801 | + | |
3802 | end | |
3803 | end) | |
3804 | - | weld:Destroy() |
3804 | + | doit() |
3805 | end | |
3806 | function hardrelease() | |
3807 | - | torsojoint:Clone().Parent = humanroot |
3807 | + | |
3808 | leftshoulderz:Clone().Parent = me.Torso | |
3809 | if me:FindFirstChild('Right Arm') then | |
3810 | for i,v in pairs(me["Right Arm"]:GetChildren()) do | |
3811 | if v:IsA('Weld') then | |
3812 | v:Destroy() | |
3813 | end | |
3814 | - | for i, plr in pairs(game.Players:GetChildren()) do |
3814 | + | |
3815 | - | if plr.Name ~= game.Players.LocalPlayer.Name then |
3815 | + | |
3816 | - | for i = 1, 10 do |
3816 | + | if me:FindFirstChild('Left Arm') then |
3817 | - | game.ReplicatedStorage.meleeEvent:FireServer(plr) |
3817 | + | for i,v in pairs(me["Left Arm"]:GetChildren()) do |
3818 | - | end |
3818 | + | if v:IsA('Weld') then |
3819 | - | end |
3819 | + | v:Destroy() |
3820 | - | end |
3820 | + | |
3821 | end | |
3822 | end | |
3823 | acting = false | |
3824 | - | end |
3824 | + | |
3825 | - | function hardrelease() |
3825 | + | |
3826 | - | rightshoulderz:Clone().Parent = me.Torso |
3826 | + | grabbed = nil |
3827 | - | leftshoulderz:Clone().Parent = me.Torso |
3827 | + | |
3828 | - | if me:FindFirstChild('Right Arm') then |
3828 | + | function unequip() |
3829 | - | for i,v in pairs(me["Right Arm"]:GetChildren()) do |
3829 | + | local doit = coroutine.wrap(function() |
3830 | - | if v:IsA('Weld') then |
3830 | + | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then |
3831 | - | v:Destroy() |
3831 | + | |
3832 | local arm = me["Right Arm"] | |
3833 | local arm2 = me["Left Arm"] | |
3834 | local tors = me.Torso | |
3835 | - | if me:FindFirstChild('Left Arm') then |
3835 | + | local weld = Instance.new('Weld',arm) |
3836 | - | for i,v in pairs(me["Left Arm"]:GetChildren()) do |
3836 | + | weld.Part0 = arm |
3837 | - | if v:IsA('Weld') then |
3837 | + | weld.Part1 = tors |
3838 | - | v:Destroy() |
3838 | + | weld.C0 = CFrame.new(-1.5,0,0) |
3839 | local weld2 = Instance.new("Weld", arm2) | |
3840 | weld2.Part0 = arm2 | |
3841 | weld2.Part1 = tors | |
3842 | - | acting = false |
3842 | + | weld2.C0 = CFrame.new(1.5, 0, 0) |
3843 | - | canClick = true |
3843 | + | |
3844 | - | doing = false |
3844 | + | |
3845 | - | grabbed = nil |
3845 | + | |
3846 | - | end |
3846 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
3847 | - | function unequip() |
3847 | + | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) |
3848 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
3849 | - | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then |
3849 | + | |
3850 | end | |
3851 | trail.Enabled = false | |
3852 | wait(0.25) | |
3853 | for i = 0,1,0.1 do | |
3854 | - | local weld = Instance.new('Weld',arm) |
3854 | + | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
3855 | - | weld.Part0 = arm |
3855 | + | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) |
3856 | - | weld.Part1 = tors |
3856 | + | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) |
3857 | - | weld.C0 = CFrame.new(-1.5,0,0) |
3857 | + | |
3858 | - | local weld2 = Instance.new("Weld", arm2) |
3858 | + | |
3859 | - | weld2.Part0 = arm2 |
3859 | + | weld:Destroy() |
3860 | weld2:Remove() | |
3861 | - | weld2.C0 = CFrame.new(1.5, 0, 0) |
3861 | + | if tors ~= nil then |
3862 | - | wait(0.001) |
3862 | + | rightshoulderz:Clone().Parent = me.Torso |
3863 | leftshoulderz:Clone().Parent = me.Torso | |
3864 | end | |
3865 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
3865 | + | acting = false |
3866 | - | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) |
3866 | + | |
3867 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) |
3867 | + | |
3868 | doit() | |
3869 | end | |
3870 | ||
3871 | - | wait(0.25) |
3871 | + | mouse.KeyDown:connect(function(key) |
3872 | if usable == true then | |
3873 | - | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end |
3873 | + | if key == "z" then |
3874 | - | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) |
3874 | + | if active == false and acting == false then |
3875 | - | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) |
3875 | + | active = true |
3876 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3877 | notify("KNIFE EQUIPPED",false) | |
3878 | - | weld:Destroy() |
3878 | + | audio:Stop() |
3879 | - | weld2:Remove() |
3879 | + | audio.SoundId = 'rbxassetid://608618332' |
3880 | - | if tors ~= nil then |
3880 | + | equip() |
3881 | wait(0.6) | |
3882 | audio:Play() | |
3883 | knifeweld.Part0 = me["Right Arm"] | |
3884 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
3885 | elseif acting == false then | |
3886 | active = false | |
3887 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3888 | - | end |
3888 | + | audio:Stop() |
3889 | audio.SoundId = 'rbxassetid://608538233' | |
3890 | - | mouse.KeyDown:connect(function(key) |
3890 | + | unequip() |
3891 | - | if usable == true then |
3891 | + | notify("KNIFE UNEQUIPPED",false) |
3892 | - | if key == "z" then |
3892 | + | wait(0.3) |
3893 | - | if active == false and acting == false then |
3893 | + | audio:Play() |
3894 | - | active = true |
3894 | + | knifeweld.Part0 = me.Torso |
3895 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
3896 | - | notify("KNIFE EQUIPPED",false) |
3896 | + | canClick = true |
3897 | end | |
3898 | - | audio.SoundId = 'rbxassetid://608618332' |
3898 | + | elseif key == "f" then |
3899 | - | equip() |
3899 | + | if mode == 'kill' or active == false then return end |
3900 | - | wait(0.6) |
3900 | + | mode = "kill" |
3901 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3902 | - | knifeweld.Part0 = me["Right Arm"] |
3902 | + | notify("MODE || KILL || [F]",false) |
3903 | elseif key == "e" then | |
3904 | - | elseif acting == false then |
3904 | + | if mode == 'throw' or active == false then return end |
3905 | - | active = false |
3905 | + | mode = "throw" |
3906 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3907 | notify("MODE || PUSH || [E]",false) | |
3908 | - | audio.SoundId = 'rbxassetid://608538233' |
3908 | + | elseif key == "q" then |
3909 | - | unequip() |
3909 | + | if mode == 'release' or active == false then return end |
3910 | - | notify("KNIFE UNEQUIPPED",false) |
3910 | + | mode = "release" |
3911 | - | wait(0.3) |
3911 | + | |
3912 | notify("MODE || RELEASE || [Q]",false) | |
3913 | - | knifeweld.Part0 = me.Torso |
3913 | + | elseif key == "x" then |
3914 | - | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) |
3914 | + | if mode == 'stab' or active == false or acting == true then return end |
3915 | mode = "stab" | |
3916 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3917 | - | elseif key == "f" then |
3917 | + | notify("MODE || STAB || [X]",false) |
3918 | - | if mode == 'kill' or active == false then return end |
3918 | + | elseif key == "c" then |
3919 | - | mode = "kill" |
3919 | + | if mode == 'fling' or active == false or acting == true then return end |
3920 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3920 | + | mode = "fling" |
3921 | - | notify("MODE || KILL || [F]",false) |
3921 | + | |
3922 | - | elseif key == "e" then |
3922 | + | notify("MODE || THROW || [C]",false) |
3923 | - | if mode == 'throw' or active == false then return end |
3923 | + | elseif key == "b" then |
3924 | - | mode = "throw" |
3924 | + | if mode == 'instasplode' or active == false or acting == true then return end |
3925 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3925 | + | mode = "instasplode" |
3926 | - | notify("MODE || PUSH || [E]",false) |
3926 | + | |
3927 | - | elseif key == "q" then |
3927 | + | notify("MODE || MOLOTOV || [B]",false) |
3928 | - | if mode == 'release' or active == false then return end |
3928 | + | elseif key == "r" then |
3929 | - | mode = "release" |
3929 | + | if mode == 'paralyze' or active == false then return end |
3930 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3930 | + | mode = "paralyze" |
3931 | - | notify("MODE || RELEASE || [Q]",false) |
3931 | + | |
3932 | - | elseif key == "x" then |
3932 | + | notify("MODE || PARALYZE || [R]",false) |
3933 | - | if mode == 'stab' or active == false or acting == true then return end |
3933 | + | elseif key == "v" then |
3934 | - | mode = "stab" |
3934 | + | if mode == 'explode' or active == false or acting == true then return end |
3935 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3935 | + | mode = "explode" |
3936 | - | notify("MODE || STAB || [X]",false) |
3936 | + | |
3937 | - | elseif key == "c" then |
3937 | + | notify("MODE || EXPLODE || [V]",false) |
3938 | - | if mode == 'fling' or active == false or acting == true then return end |
3938 | + | elseif key == "k" then |
3939 | - | mode = "fling" |
3939 | + | if mode == 'suicide' or active == false or acting == true then return end |
3940 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3940 | + | mode = "suicide" |
3941 | - | notify("MODE || THROW || [C]",false) |
3941 | + | |
3942 | - | elseif key == "b" then |
3942 | + | notify("MODE || SUICIDE || [K]",false) |
3943 | - | if mode == 'instasplode' or active == false or acting == true then return end |
3943 | + | elseif key == "h" then |
3944 | - | mode = "instasplode" |
3944 | + | if mode == 'firework' or active == false or acting == true then return end |
3945 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3945 | + | mode = "firework" |
3946 | - | notify("MODE || MOLOTOV || [B]",false) |
3946 | + | |
3947 | - | elseif key == "r" then |
3947 | + | notify("MODE || FIREWORK || [H]",false) |
3948 | - | if mode == 'paralyze' or active == false then return end |
3948 | + | elseif key == "g" then |
3949 | - | mode = "paralyze" |
3949 | + | if mode == 'finish' or active == false then return end |
3950 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3950 | + | mode = "finish" |
3951 | - | notify("MODE || PARALYZE || [R]",false) |
3951 | + | |
3952 | - | elseif key == "v" then |
3952 | + | local welp = "ON" |
3953 | - | if mode == 'explode' or active == false or acting == true then return end |
3953 | + | if finishnum == 1 then |
3954 | - | mode = "explode" |
3954 | + | welp = "OFF" |
3955 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3955 | + | |
3956 | - | notify("MODE || EXPLODE || [V]",false) |
3956 | + | notify("MODE || FINISH || [G] || "..welp,false) |
3957 | - | elseif key == "k" then |
3957 | + | elseif key == "n" then |
3958 | - | if mode == 'suicide' or active == false or acting == true then return end |
3958 | + | |
3959 | - | mode = "suicide" |
3959 | + | if zombiemode == false then |
3960 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3960 | + | notify("ZOMBIE MODE ON || [N]",false) |
3961 | - | notify("MODE || SUICIDE || [K]",false) |
3961 | + | zombiemode = true |
3962 | - | elseif key == "h" then |
3962 | + | |
3963 | - | if mode == 'firework' or active == false or acting == true then return end |
3963 | + | notify("ZOMBIE MODE OFF || [N]",false) |
3964 | - | mode = "firework" |
3964 | + | zombiemode = false |
3965 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3965 | + | |
3966 | - | notify("MODE || FIREWORK || [H]",false) |
3966 | + | elseif key == "m" then |
3967 | - | elseif key == "g" then |
3967 | + | if finishnum == 1 then |
3968 | - | if mode == 'finish' or active == false then return end |
3968 | + | finishnum = 15 |
3969 | - | mode = "finish" |
3969 | + | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3970 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3970 | + | notify("PSYCHOPATH MODE ON || [M]",false) |
3971 | - | local welp = "ON" |
3971 | + | if cancolorfilter then |
3972 | local Sp00kyGui = Instance.new("ScreenGui") | |
3973 | - | welp = "OFF" |
3973 | + | local ImageLabel = Instance.new("ImageLabel") |
3974 | ||
3975 | - | notify("MODE || FINISH || [G] || "..welp,false) |
3975 | + | -- Properties |
3976 | - | elseif key == "n" then |
3976 | + | |
3977 | - | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3977 | + | Sp00kyGui.Parent = playergui |
3978 | - | if zombiemode == false then |
3978 | + | Sp00kyGui.Name = "REEEEEEEE" |
3979 | - | notify("ZOMBIE MODE ON || [N]",false) |
3979 | + | |
3980 | - | zombiemode = true |
3980 | + | ImageLabel.Parent = Sp00kyGui |
3981 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
3982 | - | notify("ZOMBIE MODE OFF || [N]",false) |
3982 | + | ImageLabel.BackgroundTransparency = 1 |
3983 | - | zombiemode = false |
3983 | + | ImageLabel.Size = UDim2.new(1, 0, 1, 0) |
3984 | ImageLabel.Image = "rbxassetid://74443700" | |
3985 | - | elseif key == "m" then |
3985 | + | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) |
3986 | end | |
3987 | - | finishnum = 15 |
3987 | + | if canbackgroundmusic == true then |
3988 | local sound = Instance.new('Sound',playergui) | |
3989 | - | notify("PSYCHOPATH MODE ON || [M]",false) |
3989 | + | sound.Name = 'PSYCHOPAAAATH' |
3990 | - | if cancolorfilter then |
3990 | + | sound.SoundId = 'rbxassetid://220875210' |
3991 | - | local Sp00kyGui = Instance.new("ScreenGui") |
3991 | + | sound.Looped = true |
3992 | - | local ImageLabel = Instance.new("ImageLabel") |
3992 | + | |
3993 | sound:Play() | |
3994 | - | -- Properties |
3994 | + | |
3995 | else | |
3996 | - | Sp00kyGui.Parent = playergui |
3996 | + | finishnum = 1 |
3997 | - | Sp00kyGui.Name = "REEEEEEEE" |
3997 | + | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end |
3998 | notify("PSYCHOPATH MODE OFF || [M]",false) | |
3999 | - | ImageLabel.Parent = Sp00kyGui |
3999 | + | for i,v in pairs(playergui:GetChildren()) do |
4000 | - | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
4000 | + | if v.Name == "REEEEEEEE" then |
4001 | - | ImageLabel.BackgroundTransparency = 1 |
4001 | + | v:Destroy() |
4002 | - | ImageLabel.Size = UDim2.new(1, 0, 1, 0) |
4002 | + | |
4003 | - | ImageLabel.Image = "rbxassetid://74443700" |
4003 | + | |
4004 | - | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) |
4004 | + | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH') |
4005 | if thisniggarighthere then thisniggarighthere:Destroy() end | |
4006 | - | if canbackgroundmusic == true then |
4006 | + | |
4007 | - | local sound = Instance.new('Sound',playergui) |
4007 | + | |
4008 | - | sound.Name = 'PSYCHOPAAAATH' |
4008 | + | |
4009 | - | sound.SoundId = 'rbxassetid://220875210' |
4009 | + | |
4010 | - | sound.Looped = true |
4010 | + | |
4011 | - | sound.Volume = 0.5 |
4011 | + | mouse.Button1Down:connect(function() |
4012 | if active == false or usable == false then return end | |
4013 | if canClick == true and acting == false then | |
4014 | if mode == "stab" and finishnum == 1 then | |
4015 | - | finishnum = 1 |
4015 | + | canClick = false |
4016 | stab() | |
4017 | - | notify("PSYCHOPATH MODE OFF || [M]",false) |
4017 | + | elseif mode == "stab" and finishnum == 15 then |
4018 | - | for i,v in pairs(playergui:GetChildren()) do |
4018 | + | canClick = false |
4019 | - | if v.Name == "REEEEEEEE" then |
4019 | + | stabwithpassion() |
4020 | - | v:Destroy() |
4020 | + | elseif mode == "fling" then |
4021 | canClick = false | |
4022 | fling() | |
4023 | - | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH') |
4023 | + | |
4024 | - | if thisniggarighthere then thisniggarighthere:Destroy() end |
4024 | + | canClick = false |
4025 | explode() | |
4026 | elseif mode == "instasplode" then | |
4027 | canClick = false | |
4028 | - | end) |
4028 | + | instasplode() |
4029 | elseif mode == "finish" then | |
4030 | - | mouse.Button1Down:connect(function() |
4030 | + | canClick = false |
4031 | - | if active == false or usable == false then return end |
4031 | + | finish() |
4032 | - | if canClick == true and acting == false then |
4032 | + | elseif mode == "suicide" then |
4033 | - | if mode == "stab" and finishnum == 1 then |
4033 | + | canClick = false |
4034 | - | canClick = false |
4034 | + | kysnigga() |
4035 | - | stab() |
4035 | + | elseif mode == "firework" then |
4036 | - | elseif mode == "stab" and finishnum == 15 then |
4036 | + | canClick = false |
4037 | - | canClick = false |
4037 | + | fireworkit() |
4038 | - | stabwithpassion() |
4038 | + | |
4039 | - | elseif mode == "fling" then |
4039 | + | canClick = false |
4040 | - | canClick = false |
4040 | + | grab() |
4041 | - | fling() |
4041 | + | |
4042 | - | elseif mode == "explode" then |
4042 | + | |
4043 | - | canClick = false |
4043 | + | if grabbed ~= nil and doing == false then |
4044 | - | explode() |
4044 | + | if mode == "release" then |
4045 | - | elseif mode == "instasplode" then |
4045 | + | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4046 | - | canClick = false |
4046 | + | release() |
4047 | - | instasplode() |
4047 | + | else |
4048 | - | elseif mode == "finish" then |
4048 | + | hardrelease() |
4049 | - | canClick = false |
4049 | + | |
4050 | - | finish() |
4050 | + | elseif mode == "kill" then |
4051 | - | elseif mode == "suicide" then |
4051 | + | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4052 | - | canClick = false |
4052 | + | kill() |
4053 | - | kysnigga() |
4053 | + | else |
4054 | - | elseif mode == "firework" then |
4054 | + | hardrelease() |
4055 | - | canClick = false |
4055 | + | |
4056 | - | fireworkit() |
4056 | + | elseif mode == "paralyze" then |
4057 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4058 | - | canClick = false |
4058 | + | paralyze() |
4059 | - | grab() |
4059 | + | else |
4060 | hardrelease() | |
4061 | - | else |
4061 | + | |
4062 | - | if grabbed ~= nil and doing == false then |
4062 | + | elseif mode == "throw" then |
4063 | - | if mode == "release" then |
4063 | + | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4064 | - | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4064 | + | throw() |
4065 | - | release() |
4065 | + | else |
4066 | hardrelease() | |
4067 | - | hardrelease() |
4067 | + | |
4068 | elseif mode == "explode" then | |
4069 | - | elseif mode == "kill" then |
4069 | + | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4070 | - | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4070 | + | throw() |
4071 | - | kill() |
4071 | + | else |
4072 | hardrelease() | |
4073 | - | hardrelease() |
4073 | + | |
4074 | end | |
4075 | - | elseif mode == "paralyze" then |
4075 | + | |
4076 | - | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4076 | + | |
4077 | - | paralyze() |
4077 | + | |
4078 | ||
4079 | - | hardrelease() |
4079 | + | knife.Touched:connect(function(hitz) |
4080 | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then | |
4081 | - | elseif mode == "throw" then |
4081 | + | if mode == "stab" and stabbing == true and hit == false then |
4082 | - | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4082 | + | hit = true |
4083 | - | throw() |
4083 | + | |
4084 | audio:Stop() | |
4085 | - | hardrelease() |
4085 | + | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end |
4086 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4087 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4088 | - | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4088 | + | audio.PlaybackSpeed = 1 |
4089 | - | throw() |
4089 | + | audio:Play() |
4090 | killz(hitz.Parent,'Left Leg') | |
4091 | - | hardrelease() |
4091 | + | killz(hitz.Parent,'Left Arm') |
4092 | killz(hitz.Parent,'Right Leg') | |
4093 | killz(hitz.Parent,'Right Arm') | |
4094 | elseif mode == "finish" and finishing == true then | |
4095 | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE') | |
4096 | - | end) |
4096 | + | |
4097 | audio:Stop() | |
4098 | - | knife.Touched:connect(function(hitz) |
4098 | + | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end |
4099 | - | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then |
4099 | + | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end |
4100 | - | if mode == "stab" and stabbing == true and hit == false then |
4100 | + | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end |
4101 | - | hit = true |
4101 | + | audio.PlaybackSpeed = 1 |
4102 | audio:Play() | |
4103 | if hit == false then | |
4104 | - | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end |
4104 | + | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0 |
4105 | - | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end |
4105 | + | |
4106 | - | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end |
4106 | + | killz(hitz.Parent,'Head',nil,false,true) |
4107 | end | |
4108 | hit = true | |
4109 | - | killz(hitz.Parent,'Left Leg') |
4109 | + | elseif grabbed == nil and grabbing == true and hit == false then |
4110 | - | killz(hitz.Parent,'Left Arm') |
4110 | + | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then |
4111 | - | killz(hitz.Parent,'Right Leg') |
4111 | + | grabbed = hitz.Parent |
4112 | - | killz(hitz.Parent,'Right Arm') |
4112 | + | local weldz = Instance.new('Weld',point) |
4113 | - | elseif mode == "finish" and finishing == true then |
4113 | + | weldz.Name = "Holder" |
4114 | - | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE') |
4114 | + | weldz.Part0 = point |
4115 | weldz.Part1 = hitz.Parent.Torso | |
4116 | weldz.C0 = CFrame.new(0,0,-1.2) | |
4117 | - | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end |
4117 | + | |
4118 | - | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end |
4118 | + | |
4119 | - | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end |
4119 | + | |
4120 | end) | |
4121 | ||
4122 | - | if hit == false then |
4122 | + | while usable do |
4123 | - | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0 |
4123 | + | |
4124 | if grabbed ~= nil then | |
4125 | - | killz(hitz.Parent,'Head',nil,false,true) |
4125 | + | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4126 | for i,v in pairs(grabbed:GetChildren()) do | |
4127 | - | hit = true |
4127 | + | if v:IsA('Tool') then |
4128 | - | elseif grabbed == nil and grabbing == true and hit == false then |
4128 | + | local model = Instance.new('Model',workspace) |
4129 | - | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then |
4129 | + | v.Parent = model |
4130 | - | grabbed = hitz.Parent |
4130 | + | model:TranslateBy(Vector3.new(3,0,0)) |
4131 | - | local weldz = Instance.new('Weld',point) |
4131 | + | |
4132 | - | weldz.Name = "Holder" |
4132 | + | |
4133 | - | weldz.Part0 = point |
4133 | + | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid" |
4134 | - | weldz.Part1 = hitz.Parent.Torso |
4134 | + | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0 |
4135 | - | weldz.C0 = CFrame.new(0,0,-1.2) |
4135 | + | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 |
4136 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4137 | grabweld = grabbed.Torso:FindFirstChild("TargetWeld") | |
4138 | if grabweld ~= nil then return end | |
4139 | - | end) |
4139 | + | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true |
4140 | if grabbed.Torso:FindFirstChild('Left Shoulder') then | |
4141 | - | player.CharacterAdded:connect(function() |
4141 | + | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() |
4142 | - | usable = false |
4142 | + | |
4143 | - | for i,v in pairs(playergui:GetChildren()) do |
4143 | + | if grabbed.Torso:FindFirstChild('Right Shoulder') then |
4144 | - | if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then |
4144 | + | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() |
4145 | - | v:Destroy() |
4145 | + | |
4146 | headweld = grabbed.Torso["Neck"]:Clone() | |
4147 | local targetweld = Instance.new('Weld',grabbed.Torso) | |
4148 | - | end) |
4148 | + | targetweld.Part0 = grabbed.Torso |
4149 | - | while usable do |
4149 | + | targetweld.Part1 = grabbed.Head |
4150 | - | local coru = coroutine.wrap(function() |
4150 | + | targetweld.Name = "TargetWeld" |
4151 | - | if grabbed ~= nil then |
4151 | + | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) |
4152 | - | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then |
4152 | + | if grabbed:FindFirstChild('Left Arm') then |
4153 | - | for i,v in pairs(grabbed:GetChildren()) do |
4153 | + | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"]) |
4154 | - | if v:IsA('Tool') then |
4154 | + | targetweld2.Part0 = grabbed.Torso |
4155 | - | local model = Instance.new('Model',workspace) |
4155 | + | targetweld2.Part1 = grabbed["Left Arm"] |
4156 | - | v.Parent = model |
4156 | + | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
4157 | - | model:TranslateBy(Vector3.new(3,0,0)) |
4157 | + | |
4158 | ||
4159 | for i = 0,1,0.1 do | |
4160 | - | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid" |
4160 | + | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end |
4161 | - | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0 |
4161 | + | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) |
4162 | - | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 |
4162 | + | if targetweld2 then |
4163 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) | |
4164 | - | grabweld = grabbed.Torso:FindFirstChild("TargetWeld") |
4164 | + | |
4165 | - | if grabweld ~= nil then return end |
4165 | + | wait(0.001) |
4166 | end | |
4167 | - | if grabbed.Torso:FindFirstChild('Left Shoulder') then |
4167 | + | |
4168 | - | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() |
4168 | + | |
4169 | end) | |
4170 | - | if grabbed.Torso:FindFirstChild('Right Shoulder') then |
4170 | + | |
4171 | - | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() |
4171 | + | |
4172 | end | |
4173 | - | headweld = grabbed.Torso["Neck"]:Clone() |
4173 | + | |
4174 | - | local targetweld = Instance.new('Weld',grabbed.Torso) |
4174 | + | |
4175 | - | targetweld.Part0 = grabbed.Torso |
4175 | + | |
4176 | - | targetweld.Part1 = grabbed.Head |
4176 | + | nub() |
4177 | - | targetweld.Name = "TargetWeld" |
4177 | + | |
4178 | - | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) |
4178 | + | |
4179 | - | if grabbed:FindFirstChild('Left Arm') then |
4179 | + | |
4180 | - | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"]) |
4180 | + | while true do |
4181 | - | targetweld2.Part0 = grabbed.Torso |
4181 | + | local coru=coroutine.wrap(function() |
4182 | - | targetweld2.Part1 = grabbed["Left Arm"] |
4182 | + | for i,v in pairs(rekt) do |
4183 | - | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) |
4183 | + | if v and v:FindFirstChildOfClass('Humanoid') then |
4184 | for a,c in pairs(v:GetChildren()) do | |
4185 | if c:IsA('Tool') then | |
4186 | local model = Instance.new('Model',workspace) | |
4187 | - | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end |
4187 | + | c.Parent = model |
4188 | - | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) |
4188 | + | model:TranslateBy(Vector3.new(3,0,0)) |
4189 | - | if targetweld2 then |
4189 | + | |
4190 | - | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) |
4190 | + | |
4191 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4192 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4193 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4194 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4195 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4196 | local thing = getplr(v) | |
4197 | if thing then | |
4198 | - | wait() |
4198 | + | thing.CameraMinZoomDistance = 3 |
4199 | - | end |
4199 | + | |
4200 | else | |
4201 | - | end |
4201 | + | local thing = getplr(v) |
4202 | - | local coru=coroutine.wrap(function() |
4202 | + | if thing then |
4203 | - | nub() |
4203 | + | thing.CameraMinZoomDistance = 0.5 |
4204 | - | end) |
4204 | + | |
4205 | - | coru() |
4205 | + | table.remove(rekt,i) |
4206 | end | |
4207 | - | player.CharacterAppearanceLoaded:connect(function() |
4207 | + | |
4208 | - | local coru =coroutine.wrap(function() |
4208 | + | |
4209 | - | nub() |
4209 | + | |
4210 | local coru2 = coroutine.wrap(function() | |
4211 | if curpart then | |
4212 | - | end) |
4212 | + | curpoint = curpart.CFrame.p |
4213 | end | |
4214 | - | while true do |
4214 | + | if lastgui then |
4215 | lastgui:Destroy() | |
4216 | - | for i,v in pairs(rekt) do |
4216 | + | lastgui = nil |
4217 | - | if v and v:FindFirstChildOfClass('Humanoid') then |
4217 | + | |
4218 | - | for a,c in pairs(v:GetChildren()) do |
4218 | + | if curpoint then |
4219 | - | if c:IsA('Tool') then |
4219 | + | lastgui = Instance.new('BillboardGui',player.PlayerGui) |
4220 | - | local model = Instance.new('Model',workspace) |
4220 | + | lastgui.AlwaysOnTop = true |
4221 | - | c.Parent = model |
4221 | + | lastgui.MaxDistance = 0 |
4222 | - | model:TranslateBy(Vector3.new(3,0,0)) |
4222 | + | lastgui.Size = UDim2.new(5,0,5,0) |
4223 | if curpart == nil then | |
4224 | lastgui.Adornee = workspace | |
4225 | - | v:FindFirstChildOfClass('Humanoid').Jump = false |
4225 | + | lastgui.StudsOffsetWorldSpace = curpoint |
4226 | - | v:FindFirstChildOfClass('Humanoid').Sit = false |
4226 | + | |
4227 | - | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 |
4227 | + | lastgui.Adornee = curpart |
4228 | - | v:FindFirstChildOfClass('Humanoid').PlatformStand = true |
4228 | + | |
4229 | - | v:FindFirstChildOfClass('Humanoid').Name = "No escape." |
4229 | + | local cross = Instance.new('ImageLabel',lastgui) |
4230 | - | local thing = getplr(v) |
4230 | + | cross.BackgroundTransparency = 1 |
4231 | - | if thing then |
4231 | + | cross.Size = UDim2.new(1,0,1,0) |
4232 | - | thing.CameraMinZoomDistance = 3 |
4232 | + | cross.Image = 'rbxassetid://316279304' |
4233 | for i,v in pairs(zombies) do | |
4234 | if v:FindFirstChildOfClass('Humanoid') then | |
4235 | - | local thing = getplr(v) |
4235 | + | v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint |
4236 | - | if thing then |
4236 | + | |
4237 | - | thing.CameraMinZoomDistance = 0.5 |
4237 | + | |
4238 | else | |
4239 | - | table.remove(rekt,i) |
4239 | + | for i,v in pairs(zombies) do |
4240 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then | |
4241 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position | |
4242 | end | |
4243 | end | |
4244 | - | local coru2 = coroutine.wrap(function() |
4244 | + | |
4245 | - | if curpart then |
4245 | + | |
4246 | - | curpoint = curpart.CFrame.p |
4246 | + | coru2() |
4247 | wait() | |
4248 | - | if lastgui then |
4248 | + | |
4249 | - | lastgui:Destroy() |
4249 | + | end; |
4250 | - | lastgui = nil |
4250 | + | |
4251 | start(); |