SHOW:
|
|
- or go back to the newest paste.
1 | --void Script bbuilder fe script converter V2 | |
2 | ||
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | local player = game:GetService('Players').LocalPlayer | |
9 | local rightclone = Instance.new('Motor6D') | |
10 | rightclone.Name = "Right Shoulder" | |
11 | rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
12 | rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
13 | local leftclone = Instance.new('Motor6D') | |
14 | leftclone.Name = "Left Shoulder" | |
15 | leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
16 | leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
17 | local leftlegclone = Instance.new('Motor6D') | |
18 | leftlegclone.Name = "Left Hip" | |
19 | leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
20 | leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
21 | local rightlegclone = Instance.new('Motor6D') | |
22 | rightlegclone.Name = "Right Hip" | |
23 | rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
24 | rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
25 | local torsoclone = Instance.new('Motor6D') | |
26 | torsoclone.Name = "RootJoint" | |
27 | torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
28 | torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
29 | local mouse = player:GetMouse() | |
30 | local rag1 = false | |
31 | local rag2 = false | |
32 | local firsttime = true | |
33 | local firsttime2 = true | |
34 | local firsttime3 = true | |
35 | local firsttime4 = true | |
36 | local firsttime5 = true | |
37 | local childlock = false | |
38 | local math1 = math.random(1,5) | |
39 | math1 = math1+(math.random(0,9)/10) | |
40 | local math2 = math.random(1,15) | |
41 | math2 = math2+(math.random(0,9)/10) | |
42 | local math3 = math.random(1,10) | |
43 | math3 = math3+(math.random(0,9)/10) | |
44 | local math4 = math.random(5,100) | |
45 | math4 = math4+(math.random(0,9)/10) | |
46 | local answer = (math4+(math1*math3))/(math1*math2) | |
47 | answer = 69 | |
48 | answer = 69 | |
49 | print([[To be fair, you have to have a very high IQ to understand Rick and Morty. | |
50 | The humor is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head. | |
51 | There's also Rick's nihilistic outlook, which is deftly woven into his characterisation - | |
52 | his personal philosophy draws heavily from Narodnaya Volya literature, for instance. | |
53 | The fans understand this stuff; | |
54 | they have the intellectual capacity to truly appreciate the depths of these jokes, to realize that they're not just funny- they say something deep about LIFE. | |
55 | As a consequence people who dislike Rick and Morty truly ARE idiots- | |
56 | of course they wouldn't appreciate, for instance, the humour in Rick's existencial catchphrase "Wubba Lubba Dub Dub," which itself is a cryptic reference to Turgenev's Russian epic Fathers and Sons. | |
57 | I'm smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Dan Harmon's genius unfolds itself on their television screens. | |
58 | What fools... how I pity them. | |
59 | And yes by the way, I DO have a Rick and Morty tattoo. | |
60 | And no, you cannot see it. | |
61 | It's for the ladies' eyes only- | |
62 | And even they have to demonstrate that they're within ]]..answer..[[ IQ points of my own (preferably lower) beforehand.]]) | |
63 | local rekt = {} | |
64 | ||
65 | -- Objects | |
66 | ||
67 | local MainGUI = Instance.new("ScreenGui") | |
68 | local Customize = Instance.new("TextButton") | |
69 | local Frame = Instance.new("Frame") | |
70 | local TextLabel = Instance.new("TextLabel") | |
71 | local Frame_2 = Instance.new("Frame") | |
72 | local Frame_3 = Instance.new("Frame") | |
73 | local ImageLabel = Instance.new("ImageLabel") | |
74 | local R = Instance.new("TextBox") | |
75 | local G = Instance.new("TextBox") | |
76 | local B = Instance.new("TextBox") | |
77 | local TextLabel_2 = Instance.new("TextLabel") | |
78 | local TextLabel_3 = Instance.new("TextLabel") | |
79 | local TextLabel_4 = Instance.new("TextLabel") | |
80 | local Slider = Instance.new("Frame") | |
81 | local Slidee = Instance.new("ImageButton") | |
82 | local ChildLock = Instance.new("Frame") | |
83 | local TextLabel_5 = Instance.new("TextLabel") | |
84 | local mathz = Instance.new("TextLabel") | |
85 | local TextBox = Instance.new("TextBox") | |
86 | local Black = Instance.new('Frame') | |
87 | local fps = Instance.new('TextLabel') | |
88 | ||
89 | -- Properties | |
90 | ||
91 | MainGUI.Name = "MainGUI" | |
92 | MainGUI.ResetOnSpawn = false | |
93 | pcall(function() | |
94 | MainGUI.Parent = player.PlayerGui | |
95 | end) | |
96 | pcall(function() | |
97 | MainGUI.Parent = game.CoreGui | |
98 | game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5) | |
99 | game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0) | |
100 | end) | |
101 | ||
102 | ||
103 | Customize.Name = "Customize" | |
104 | Customize.Parent = MainGUI | |
105 | Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353) | |
106 | Customize.BorderSizePixel = 0 | |
107 | Customize.Position = UDim2.new(0.15, 0, 0.9, 0) | |
108 | Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0) | |
109 | Customize.Font = Enum.Font.SourceSans | |
110 | Customize.FontSize = Enum.FontSize.Size14 | |
111 | Customize.Text = "Customize V4" | |
112 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
113 | Customize.TextScaled = true | |
114 | Customize.TextSize = 14 | |
115 | Customize.TextWrapped = true | |
116 | ||
117 | Frame.Parent = Customize | |
118 | Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) | |
119 | Frame.BorderSizePixel = 0 | |
120 | Frame.Position = UDim2.new(0, 0, 1, 0) | |
121 | Frame.Size = UDim2.new(1, 0, 6.5, 0) | |
122 | ||
123 | TextLabel.Parent = Frame | |
124 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
125 | TextLabel.BackgroundTransparency = 1 | |
126 | TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0) | |
127 | TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0) | |
128 | TextLabel.Font = Enum.Font.SourceSansLight | |
129 | TextLabel.FontSize = Enum.FontSize.Size14 | |
130 | TextLabel.Text = "Blood Color: [255, 255, 255]" | |
131 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
132 | TextLabel.TextScaled = true | |
133 | TextLabel.TextSize = 14 | |
134 | TextLabel.TextWrapped = true | |
135 | TextLabel.TextXAlignment = Enum.TextXAlignment.Right | |
136 | ||
137 | Frame_2.Parent = TextLabel | |
138 | Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0) | |
139 | Frame_2.BorderSizePixel = 0 | |
140 | Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0) | |
141 | Frame_2.Size = UDim2.new(1, 0, 1, 0) | |
142 | Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
143 | ||
144 | Frame_3.Parent = Frame | |
145 | Frame_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
146 | Frame_3.BackgroundTransparency = 1 | |
147 | Frame_3.BorderSizePixel = 0 | |
148 | Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0) | |
149 | Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0) | |
150 | Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
151 | ||
152 | ImageLabel.Parent = Frame_3 | |
153 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
154 | ImageLabel.BackgroundTransparency = 1 | |
155 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
156 | ImageLabel.Image = "rbxassetid://328298876" | |
157 | ||
158 | R.Name = "R" | |
159 | R.Parent = Frame_3 | |
160 | R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
161 | R.BorderSizePixel = 0 | |
162 | R.Position = UDim2.new(1.39999998, 0, 0, 0) | |
163 | R.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
164 | R.Font = Enum.Font.SourceSans | |
165 | R.FontSize = Enum.FontSize.Size14 | |
166 | R.Text = "Input" | |
167 | R.TextColor3 = Color3.new(1, 1, 1) | |
168 | R.TextScaled = true | |
169 | R.TextSize = 14 | |
170 | R.TextWrapped = true | |
171 | R.TextXAlignment = Enum.TextXAlignment.Left | |
172 | ||
173 | G.Name = "G" | |
174 | G.Parent = Frame_3 | |
175 | G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
176 | G.BorderSizePixel = 0 | |
177 | G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0) | |
178 | G.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
179 | G.Font = Enum.Font.SourceSans | |
180 | G.FontSize = Enum.FontSize.Size14 | |
181 | G.Text = "Input" | |
182 | G.TextColor3 = Color3.new(1, 1, 1) | |
183 | G.TextScaled = true | |
184 | G.TextSize = 14 | |
185 | G.TextWrapped = true | |
186 | G.TextXAlignment = Enum.TextXAlignment.Left | |
187 | ||
188 | B.Name = "B" | |
189 | B.Parent = Frame_3 | |
190 | B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
191 | B.BorderSizePixel = 0 | |
192 | B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0) | |
193 | B.Size = UDim2.new(0.75, 0, 0.300000012, 0) | |
194 | B.Font = Enum.Font.SourceSans | |
195 | B.FontSize = Enum.FontSize.Size14 | |
196 | B.Text = "Input" | |
197 | B.TextColor3 = Color3.new(1, 1, 1) | |
198 | B.TextScaled = true | |
199 | B.TextSize = 14 | |
200 | B.TextWrapped = true | |
201 | B.TextXAlignment = Enum.TextXAlignment.Left | |
202 | ||
203 | TextLabel_2.Parent = Frame_3 | |
204 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
205 | TextLabel_2.BackgroundTransparency = 1 | |
206 | TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0) | |
207 | TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
208 | TextLabel_2.Font = Enum.Font.SourceSansLight | |
209 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
210 | TextLabel_2.Text = "R" | |
211 | TextLabel_2.TextColor3 = Color3.new(1, 1, 1) | |
212 | TextLabel_2.TextScaled = true | |
213 | TextLabel_2.TextSize = 14 | |
214 | TextLabel_2.TextWrapped = true | |
215 | ||
216 | TextLabel_3.Parent = Frame_3 | |
217 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
218 | TextLabel_3.BackgroundTransparency = 1 | |
219 | TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0) | |
220 | TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
221 | TextLabel_3.Font = Enum.Font.SourceSansLight | |
222 | TextLabel_3.FontSize = Enum.FontSize.Size14 | |
223 | TextLabel_3.Text = "G" | |
224 | TextLabel_3.TextColor3 = Color3.new(1, 1, 1) | |
225 | TextLabel_3.TextScaled = true | |
226 | TextLabel_3.TextSize = 14 | |
227 | TextLabel_3.TextWrapped = true | |
228 | ||
229 | TextLabel_4.Parent = Frame_3 | |
230 | TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
231 | TextLabel_4.BackgroundTransparency = 1 | |
232 | TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0) | |
233 | TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
234 | TextLabel_4.Font = Enum.Font.SourceSansLight | |
235 | TextLabel_4.FontSize = Enum.FontSize.Size14 | |
236 | TextLabel_4.Text = "B" | |
237 | TextLabel_4.TextColor3 = Color3.new(1, 1, 1) | |
238 | TextLabel_4.TextScaled = true | |
239 | TextLabel_4.TextSize = 14 | |
240 | TextLabel_4.TextWrapped = true | |
241 | ||
242 | Slider.Name = "Slider" | |
243 | Slider.Parent = Frame | |
244 | Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
245 | Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0) | |
246 | Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0) | |
247 | ||
248 | Slidee.Name = "Slidee" | |
249 | Slidee.Parent = Slider | |
250 | Slidee.AnchorPoint = Vector2.new(0.5, 0.5) | |
251 | Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177) | |
252 | Slidee.BorderSizePixel = 0 | |
253 | Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0) | |
254 | Slidee.ImageTransparency = 1 | |
255 | ||
256 | ChildLock.Name = "ChildLock" | |
257 | ChildLock.Parent = Frame | |
258 | ChildLock.Active = true | |
259 | ChildLock.BackgroundColor3 = Color3.new(0, 0, 0) | |
260 | ChildLock.BackgroundTransparency = 0.60000002384186 | |
261 | ChildLock.BorderSizePixel = 0 | |
262 | ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0) | |
263 | ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0) | |
264 | ChildLock.ZIndex = 2 | |
265 | ||
266 | TextLabel_5.Parent = ChildLock | |
267 | TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
268 | TextLabel_5.BackgroundTransparency = 1 | |
269 | TextLabel_5.BorderSizePixel = 0 | |
270 | TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0) | |
271 | TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
272 | TextLabel_5.ZIndex = 3 | |
273 | TextLabel_5.Font = Enum.Font.SourceSans | |
274 | TextLabel_5.FontSize = Enum.FontSize.Size14 | |
275 | TextLabel_5.Text = "do this math to disable child lock" | |
276 | TextLabel_5.TextColor3 = Color3.new(1, 1, 1) | |
277 | TextLabel_5.TextScaled = true | |
278 | TextLabel_5.TextSize = 14 | |
279 | TextLabel_5.TextWrapped = true | |
280 | ||
281 | mathz.Name = "mathz" | |
282 | mathz.Parent = ChildLock | |
283 | mathz.BackgroundColor3 = Color3.new(1, 1, 1) | |
284 | mathz.BackgroundTransparency = 1 | |
285 | mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0) | |
286 | mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0) | |
287 | mathz.ZIndex = 3 | |
288 | mathz.Font = Enum.Font.SourceSans | |
289 | mathz.FontSize = Enum.FontSize.Size14 | |
290 | mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4 | |
291 | mathz.TextColor3 = Color3.new(1, 1, 1) | |
292 | mathz.TextScaled = true | |
293 | mathz.TextSize = 14 | |
294 | mathz.TextWrapped = true | |
295 | ||
296 | fps.Name = "fps" | |
297 | fps.Parent = Frame | |
298 | fps.BackgroundColor3 = Color3.new(1, 1, 1) | |
299 | fps.BackgroundTransparency = 1 | |
300 | fps.Size = UDim2.new(0.75, 0, 0.05, 0) | |
301 | fps.ZIndex = 3 | |
302 | fps.Font = Enum.Font.SourceSansLight | |
303 | fps.FontSize = Enum.FontSize.Size14 | |
304 | fps.Text = "FPS: N/A" | |
305 | fps.TextColor3 = Color3.new(1, 1, 1) | |
306 | fps.TextScaled = true | |
307 | fps.TextSize = 14 | |
308 | fps.TextWrapped = true | |
309 | fps.TextXAlignment = Enum.TextXAlignment.Left | |
310 | ||
311 | TextBox.Parent = ChildLock | |
312 | TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
313 | TextBox.BorderSizePixel = 0 | |
314 | TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0) | |
315 | TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) | |
316 | TextBox.ZIndex = 3 | |
317 | TextBox.Font = Enum.Font.SourceSans | |
318 | TextBox.FontSize = Enum.FontSize.Size14 | |
319 | TextBox.Text = "Answer (rounded to nearest tenth)" | |
320 | TextBox.TextColor3 = Color3.new(1, 1, 1) | |
321 | TextBox.TextScaled = true | |
322 | TextBox.TextSize = 14 | |
323 | TextBox.TextWrapped = true | |
324 | TextBox.TextXAlignment = Enum.TextXAlignment.Left | |
325 | ||
326 | Black.Size = UDim2.new(1,0,1,0) | |
327 | Black.BackgroundTransparency = 1 | |
328 | Black.BorderSizePixel = 0 | |
329 | Black.BackgroundColor3 = Color3.new(0,0,0) | |
330 | Black.Parent = Frame_3 | |
331 | ||
332 | TextBox.FocusLost:connect(function() | |
333 | if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then | |
334 | ChildLock:Destroy() | |
335 | childlock = false | |
336 | notify("Child lock disabled, press B to enable dildo mode.",true) | |
337 | end | |
338 | end) | |
339 | ||
340 | local mousedown = false | |
341 | mouse.Button1Down:connect(function() | |
342 | mousedown = true | |
343 | end) | |
344 | mouse.Button1Up:connect(function() | |
345 | mousedown = false | |
346 | slidee = false | |
347 | end) | |
348 | ||
349 | Slidee.MouseButton1Down:connect(function() | |
350 | slidee = true | |
351 | end) | |
352 | Slidee.MouseButton1Up:connect(function() | |
353 | slidee = false | |
354 | end) | |
355 | ||
356 | mouse.Move:connect(function() | |
357 | if mousedown then | |
358 | if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then | |
359 | local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X) | |
360 | local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y) | |
361 | local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency) | |
362 | Frame_2.BackgroundColor3 = newcolor | |
363 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
364 | end | |
365 | end | |
366 | if slidee then | |
367 | local ree = mouse.X | |
368 | if ree < Slider.AbsolutePosition.X then | |
369 | ree = Slider.AbsolutePosition.X | |
370 | elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then | |
371 | ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X | |
372 | end | |
373 | Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0) | |
374 | Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X) | |
375 | end | |
376 | end) | |
377 | ||
378 | R.FocusLost:connect(function() | |
379 | if R.Text ~= "Input" then | |
380 | if tonumber(R.Text) then | |
381 | if tonumber(R.Text) > 255 then | |
382 | R.Text = "255" | |
383 | end | |
384 | local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b) | |
385 | Frame_2.BackgroundColor3 = newcolor | |
386 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
387 | R.Text = "Input" | |
388 | end | |
389 | end | |
390 | end) | |
391 | G.FocusLost:connect(function() | |
392 | if G.Text ~= "Input" then | |
393 | if tonumber(G.Text) then | |
394 | if tonumber(G.Text) > 255 then | |
395 | G.Text = "255" | |
396 | end | |
397 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b) | |
398 | Frame_2.BackgroundColor3 = newcolor | |
399 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
400 | G.Text = "Input" | |
401 | end | |
402 | end | |
403 | end) | |
404 | B.FocusLost:connect(function() | |
405 | if B.Text ~= "Input" then | |
406 | if tonumber(B.Text) then | |
407 | if tonumber(B.Text) > 255 then | |
408 | B.Text = "255" | |
409 | end | |
410 | local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255)) | |
411 | Frame_2.BackgroundColor3 = newcolor | |
412 | TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" | |
413 | B.Text = "Input" | |
414 | end | |
415 | end | |
416 | end) | |
417 | ||
418 | local open = false | |
419 | local opening = false | |
420 | Customize.MouseButton1Click:connect(function() | |
421 | if opening == false then | |
422 | if open == false then | |
423 | open = true | |
424 | opening = true | |
425 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
426 | wait(1) | |
427 | opening = false | |
428 | else | |
429 | open = false | |
430 | opening = true | |
431 | Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) | |
432 | wait(1) | |
433 | opening = false | |
434 | end | |
435 | end | |
436 | end) | |
437 | ||
438 | Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0) | |
439 | ||
440 | function removewelds(part) | |
441 | for i,v in pairs(part:GetChildren()) do | |
442 | if v:IsA('Weld') then v:Destroy() end | |
443 | end | |
444 | end | |
445 | ||
446 | function notify(msg,remove) | |
447 | local coru= coroutine.wrap(function() | |
448 | for i,v in pairs(MainGUI:GetChildren()) do | |
449 | if v:IsA('TextLabel') then v:Destroy() end | |
450 | end | |
451 | if msg then | |
452 | local TextLabel = Instance.new("TextLabel") | |
453 | local Frame = Instance.new("Frame") | |
454 | ||
455 | -- Properties | |
456 | ||
457 | TextLabel.Parent = MainGUI | |
458 | TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451) | |
459 | TextLabel.BorderSizePixel = 0 | |
460 | TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10) | |
461 | TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0) | |
462 | TextLabel.Font = Enum.Font.SourceSans | |
463 | TextLabel.FontSize = Enum.FontSize.Size60 | |
464 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
465 | TextLabel.TextSize = 50 | |
466 | TextLabel.Transparency = 1 | |
467 | TextLabel.TextScaled = true | |
468 | TextLabel.TextYAlignment = Enum.TextYAlignment.Top | |
469 | TextLabel.Text = "" | |
470 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
471 | ||
472 | Frame.Parent = TextLabel | |
473 | Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157) | |
474 | Frame.BorderSizePixel = 0 | |
475 | Frame.Transparency = 1 | |
476 | Frame.Position = UDim2.new(0, 0, 1,0) | |
477 | Frame.Size = UDim2.new(1, 0, 0, 5) | |
478 | for i=1,10 do | |
479 | TextLabel.Transparency = TextLabel.Transparency-0.1 | |
480 | TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1) | |
481 | Frame.Transparency = Frame.Transparency-0.1 | |
482 | wait() | |
483 | end | |
484 | for i=1,#msg do | |
485 | TextLabel.Text = string.sub(msg,1,i) | |
486 | wait() | |
487 | end | |
488 | wait(1) | |
489 | if remove ~= true then | |
490 | for i=1,10 do | |
491 | TextLabel.Transparency = TextLabel.Transparency+0.1 | |
492 | TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1) | |
493 | Frame.Transparency = Frame.Transparency+0.1 | |
494 | wait() | |
495 | end | |
496 | TextLabel:Destroy() | |
497 | end | |
498 | end | |
499 | end) | |
500 | coru() | |
501 | end | |
502 | if workspace.FilteringEnabled == false then | |
503 | if workspace:PGSIsEnabled() then | |
504 | notify('Press Z to equip. Created by mustardfoot and Tollonis.',true) | |
505 | else | |
506 | notify('(this game is really old or something and has the shitty physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true) | |
507 | end | |
508 | else | |
509 | notify('LOL this game has filtering enabled so it literally wont work here') | |
510 | end | |
511 | ||
512 | local handProperties = { | |
513 | {"LimitsEnabled", true}; | |
514 | {"UpperAngle",0}; | |
515 | {"LowerAngle",0}; | |
516 | } | |
517 | local shinProperties = { | |
518 | {"LimitsEnabled", true}; | |
519 | {"UpperAngle", 0}; | |
520 | {"LowerAngle", -75}; | |
521 | } | |
522 | local footProperties = { | |
523 | {"LimitsEnabled", true}; | |
524 | {"UpperAngle", 15}; | |
525 | {"LowerAngle", -45}; | |
526 | } | |
527 | ||
528 | function bleed(frick,OwO) | |
529 | while frick.Parent ~= nil and frick.Parent.Parent ~= nil do | |
530 | local reeee = coroutine.wrap(function() | |
531 | local thing = Instance.new('Part',workspace) | |
532 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
533 | thing.CFrame = frick.CFrame | |
534 | thing.Transparency = 1 | |
535 | thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3) | |
536 | thing.Material = Enum.Material.SmoothPlastic | |
537 | thing.Name = "Blood" | |
538 | thing.CanCollide =false | |
539 | thing:BreakJoints() | |
540 | local rawrxd = Instance.new('BodyForce',thing) | |
541 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
542 | local coru = coroutine.wrap(function() | |
543 | wait(0.01) | |
544 | rawrxd:Destroy() | |
545 | end) | |
546 | coru() | |
547 | local ree = Instance.new('ParticleEmitter',thing) | |
548 | if OwO ~= true then | |
549 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)}) | |
550 | else | |
551 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
552 | end | |
553 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
554 | ree.Texture = 'rbxassetid://867743272' | |
555 | ree.Lifetime = NumberRange.new(0.4) | |
556 | ree.Rate = 50 | |
557 | ree.LockedToPart = true | |
558 | ree.Speed = NumberRange.new(0, 2) | |
559 | ||
560 | thing.Touched:connect(function(tou) | |
561 | 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" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then | |
562 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
563 | local Point1 = pos-Vector3.new(0.01,0.01,0.01) | |
564 | local Point2 = pos+Vector3.new(0.01,0.01,0.01) | |
565 | local Region = Region3.new(Point1,Point2) | |
566 | for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do | |
567 | if Part.Name == "BloodPuddle" then | |
568 | tou = Part | |
569 | end | |
570 | end | |
571 | thing:Destroy() | |
572 | if tou.Name == "BloodPuddle" then | |
573 | if tou.Size.X < 1 then | |
574 | pcall(function() | |
575 | tou.Sound:Play() | |
576 | end) | |
577 | end | |
578 | local reee = tou.CFrame | |
579 | if tou.Transparency > -0.2 then | |
580 | tou.Transparency = tou.Transparency -0.1 | |
581 | end | |
582 | if tou.Size.X < 5 then | |
583 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
584 | tou.CFrame = reee | |
585 | end | |
586 | elseif tou.CanCollide == true then | |
587 | local bloodlol = Instance.new('Part',workspace) | |
588 | local sound = Instance.new('Sound',bloodlol) | |
589 | sound.SoundId = 'rbxassetid://685857471' | |
590 | sound.Volume = 0.025 | |
591 | sound:Play() | |
592 | bloodlol.Size=Vector3.new(1,0.2,1) | |
593 | bloodlol.Name = "BloodPuddle" | |
594 | bloodlol.Anchored = true | |
595 | bloodlol.CanCollide = false | |
596 | bloodlol.Material = Enum.Material.SmoothPlastic | |
597 | if OwO ~= true then | |
598 | bloodlol.Color = Frame_2.BackgroundColor3 | |
599 | else | |
600 | bloodlol.Color = Color3.new(1,1,1) | |
601 | end | |
602 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
603 | cyl.Scale = Vector3.new(1,0.1,1) | |
604 | bloodlol.CFrame = CFrame.new(pos) | |
605 | local coru=coroutine.wrap(function() | |
606 | while bloodlol.Parent ~= nil do | |
607 | if bloodlol.Transparency < 1 then | |
608 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
609 | else | |
610 | bloodlol:Destroy() | |
611 | end | |
612 | wait(0.1) | |
613 | end | |
614 | end) | |
615 | coru() | |
616 | end | |
617 | end | |
618 | end) | |
619 | local coru = coroutine.wrap(function() | |
620 | wait(1) | |
621 | thing:Destroy() | |
622 | end) | |
623 | coru() | |
624 | end) | |
625 | reeee() | |
626 | wait() | |
627 | end | |
628 | end | |
629 | ||
630 | function stun(char) | |
631 | local found = false | |
632 | pcall(function() | |
633 | char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics) | |
634 | end) | |
635 | for i,v in pairs(rekt) do | |
636 | if v == char then | |
637 | found = true | |
638 | end | |
639 | end | |
640 | if found == false then | |
641 | table.insert(rekt,char) | |
642 | end | |
643 | end | |
644 | function unstun(char) | |
645 | for i,v in pairs(rekt) do | |
646 | if v == char then | |
647 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
648 | v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running) | |
649 | v:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
650 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
651 | v:FindFirstChildOfClass('Humanoid').Jump = true | |
652 | v:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
653 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
654 | v:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
655 | end | |
656 | table.remove(rekt,i) | |
657 | end | |
658 | end | |
659 | end | |
660 | ||
661 | function recurse(root,callback,i) | |
662 | i= i or 0 | |
663 | for _,v in pairs(root:GetChildren()) do | |
664 | i = i + 1 | |
665 | callback(i,v) | |
666 | ||
667 | if #v:GetChildren() > 0 then | |
668 | i = recurse(v,callback,i) | |
669 | end | |
670 | end | |
671 | ||
672 | return i | |
673 | end | |
674 | ||
675 | function ragdollJoint(character, part0, part1, attachmentName, className, properties) | |
676 | if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then | |
677 | if character:FindFirstChild('HumanoidRootPart')then | |
678 | character.HumanoidRootPart.CanCollide = false | |
679 | end | |
680 | for i,v in pairs(character:GetChildren()) do | |
681 | if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then | |
682 | v.Size = Vector3.new(1,1,1) | |
683 | end | |
684 | end | |
685 | recurse(character, function(_,v) | |
686 | if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then | |
687 | v.Axis = Vector3.new(0, 1, 0) | |
688 | v.SecondaryAxis = Vector3.new(0, 0, 1) | |
689 | v.Rotation = Vector3.new(0, 0, 0) | |
690 | end | |
691 | end) | |
692 | if part1:FindFirstChildOfClass('Motor6D') then | |
693 | part1:FindFirstChildOfClass('Motor6D'):Destroy() | |
694 | end | |
695 | if attachmentName ~= "NeckAttachment" then | |
696 | attachmentName = attachmentName.."RigAttachment" | |
697 | end | |
698 | local constraint = Instance.new(className.."Constraint") | |
699 | constraint.Attachment0 = part0:FindFirstChild(attachmentName) | |
700 | constraint.Attachment1 = part1:FindFirstChild(attachmentName) | |
701 | constraint.Name = "RagdollConstraint"..part1.Name | |
702 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
703 | local collidepart = Instance.new('Part',part1) | |
704 | collidepart.Size = part1.Size/2 | |
705 | if string.find(string.lower(part1.Name),"upper") then | |
706 | if string.find(string.lower(part1.Name),"leg") then | |
707 | collidepart.Size = part1.Size/3 | |
708 | else | |
709 | collidepart.Size = part1.Size/2.5 | |
710 | end | |
711 | end | |
712 | collidepart.CanCollide = true | |
713 | collidepart.Name = "Collision" | |
714 | collidepart.Anchored = false | |
715 | collidepart.Transparency = 1 | |
716 | collidepart.CFrame = part1.CFrame | |
717 | collidepart:BreakJoints() | |
718 | local attachment0 = Instance.new('Attachment',part1) | |
719 | local attachment1 = Instance.new('Attachment',collidepart) | |
720 | if attachment0 and attachment1 then | |
721 | local constraint = Instance.new("HingeConstraint") | |
722 | constraint.Attachment0 = attachment0 | |
723 | constraint.Attachment1 = attachment1 | |
724 | constraint.LimitsEnabled = true | |
725 | constraint.UpperAngle = 0 | |
726 | constraint.LowerAngle = 0 | |
727 | constraint.Parent = character | |
728 | end | |
729 | if string.find(string.lower(part1.Name),"upper") then | |
730 | if string.find(string.lower(part1.Name),"leg") then | |
731 | attachment0.Position = Vector3.new(0,0.01,0) | |
732 | else | |
733 | attachment0.Position = Vector3.new(0,0.25,0) | |
734 | end | |
735 | else | |
736 | attachment0.Position = Vector3.new(0,-0.1,0) | |
737 | end | |
738 | end | |
739 | for _,propertyData in next,properties or {} do | |
740 | constraint[propertyData[1]] = propertyData[2] | |
741 | end | |
742 | ||
743 | constraint.Parent = character | |
744 | end | |
745 | end | |
746 | ||
747 | function R6ragdollJoint(character,limbname,attached,heded) | |
748 | pcall(function() | |
749 | if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then | |
750 | local torsoatt = Instance.new('Attachment',character.Torso) | |
751 | torsoatt.Name = limbname.."RagdollConstraint" | |
752 | torsoatt.Position = Vector3.new(1.45,0.768,-0.009) | |
753 | torsoatt.Axis = Vector3.new(1,0,0) | |
754 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
755 | local limbatt = Instance.new("Attachment",character[limbname]) | |
756 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
757 | limbatt.Name = limbname.."RagdollConstraint" | |
758 | limbatt.Axis = Vector3.new(1,0,0) | |
759 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
760 | local ballc = Instance.new('BallSocketConstraint',character) | |
761 | ballc.Name = "RightArmRagdollRig" | |
762 | ballc.Attachment0 = torsoatt | |
763 | ballc.Attachment1 = limbatt | |
764 | local part1 = character[limbname] | |
765 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
766 | local collidepart = Instance.new('Part',part1) | |
767 | collidepart.Size = part1.Size/1.5 | |
768 | collidepart.CanCollide = true | |
769 | collidepart.Name = "Collision" | |
770 | collidepart.Anchored = false | |
771 | collidepart.Transparency = 1 | |
772 | collidepart.CFrame = part1.CFrame | |
773 | collidepart:BreakJoints() | |
774 | local attachment0 = Instance.new('Attachment',part1) | |
775 | local attachment1 = Instance.new('Attachment',collidepart) | |
776 | if attachment0 and attachment1 then | |
777 | local constraint = Instance.new("HingeConstraint") | |
778 | constraint.Attachment0 = attachment0 | |
779 | constraint.Attachment1 = attachment1 | |
780 | constraint.LimitsEnabled = true | |
781 | constraint.UpperAngle = 0 | |
782 | constraint.LowerAngle = 0 | |
783 | constraint.Parent = character | |
784 | end | |
785 | end | |
786 | if character.Torso:FindFirstChild('Right Shoulder') then | |
787 | character.Torso:FindFirstChild('Right Shoulder'):Destroy() | |
788 | end | |
789 | elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then | |
790 | local torsoatt = Instance.new('Attachment',character.Torso) | |
791 | torsoatt.Name = limbname.."RagdollConstraint" | |
792 | torsoatt.Position = Vector3.new(-1.45,0.768,-0.009) | |
793 | torsoatt.Axis = Vector3.new(1,0,0) | |
794 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
795 | local limbatt = Instance.new("Attachment",character[limbname]) | |
796 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
797 | limbatt.Name = limbname.."RagdollConstraint" | |
798 | limbatt.Axis = Vector3.new(1,0,0) | |
799 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
800 | local ballc = Instance.new('BallSocketConstraint',character) | |
801 | ballc.Name = "LeftArmRagdollRig" | |
802 | ballc.Attachment0 = torsoatt | |
803 | ballc.Attachment1 = limbatt | |
804 | local part1 = character[limbname] | |
805 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
806 | local collidepart = Instance.new('Part',part1) | |
807 | collidepart.Size = part1.Size/1.5 | |
808 | collidepart.CanCollide = true | |
809 | collidepart.Name = "Collision" | |
810 | collidepart.Anchored = false | |
811 | collidepart.Transparency = 1 | |
812 | collidepart.CFrame = part1.CFrame | |
813 | collidepart:BreakJoints() | |
814 | local attachment0 = Instance.new('Attachment',part1) | |
815 | local attachment1 = Instance.new('Attachment',collidepart) | |
816 | if attachment0 and attachment1 then | |
817 | local constraint = Instance.new("HingeConstraint") | |
818 | constraint.Attachment0 = attachment0 | |
819 | constraint.Attachment1 = attachment1 | |
820 | constraint.LimitsEnabled = true | |
821 | constraint.UpperAngle = 0 | |
822 | constraint.LowerAngle = 0 | |
823 | constraint.Parent = character | |
824 | end | |
825 | end | |
826 | if character.Torso:FindFirstChild('Left Shoulder') then | |
827 | character.Torso:FindFirstChild('Left Shoulder'):Destroy() | |
828 | end | |
829 | elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then | |
830 | stun(character) | |
831 | local torsoatt = Instance.new('Attachment',character.Torso) | |
832 | torsoatt.Name = limbname.."RagdollConstraint" | |
833 | torsoatt.Position = Vector3.new(0.45, -1.242, -0.009) | |
834 | torsoatt.Axis = Vector3.new(1,0,0) | |
835 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
836 | local limbatt = Instance.new("Attachment",character[limbname]) | |
837 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
838 | limbatt.Name = limbname.."RagdollConstraint" | |
839 | limbatt.Axis = Vector3.new(1,0,0) | |
840 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
841 | local ballc = Instance.new('BallSocketConstraint',character) | |
842 | ballc.Name = "RightLegRagdollRig" | |
843 | ballc.Attachment0 = torsoatt | |
844 | ballc.Attachment1 = limbatt | |
845 | local part1 = character[limbname] | |
846 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
847 | local collidepart = Instance.new('Part',part1) | |
848 | collidepart.Size = part1.Size/1.5 | |
849 | collidepart.CanCollide = true | |
850 | collidepart.Name = "Collision" | |
851 | collidepart.Anchored = false | |
852 | collidepart.Transparency = 1 | |
853 | collidepart.CFrame = part1.CFrame | |
854 | collidepart:BreakJoints() | |
855 | local attachment0 = Instance.new('Attachment',part1) | |
856 | local attachment1 = Instance.new('Attachment',collidepart) | |
857 | if attachment0 and attachment1 then | |
858 | local constraint = Instance.new("HingeConstraint") | |
859 | constraint.Attachment0 = attachment0 | |
860 | constraint.Attachment1 = attachment1 | |
861 | constraint.LimitsEnabled = true | |
862 | constraint.UpperAngle = 0 | |
863 | constraint.LowerAngle = 0 | |
864 | constraint.Parent = character | |
865 | end | |
866 | end | |
867 | if character.Torso:FindFirstChild('Right Hip') then | |
868 | character.Torso:FindFirstChild('Right Hip'):Destroy() | |
869 | end | |
870 | elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then | |
871 | stun(character) | |
872 | local torsoatt = Instance.new('Attachment',character.Torso) | |
873 | torsoatt.Name = limbname.."RagdollConstraint" | |
874 | torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009) | |
875 | torsoatt.Axis = Vector3.new(1,0,0) | |
876 | torsoatt.SecondaryAxis = Vector3.new(0,1,0) | |
877 | local limbatt = Instance.new("Attachment",character[limbname]) | |
878 | limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) | |
879 | limbatt.Name = limbname.."RagdollConstraint" | |
880 | limbatt.Axis = Vector3.new(1,0,0) | |
881 | limbatt.SecondaryAxis = Vector3.new(0,1,0) | |
882 | local ballc = Instance.new('BallSocketConstraint',character) | |
883 | ballc.Name = "LeftLegRagdollRig" | |
884 | ballc.Attachment0 = torsoatt | |
885 | ballc.Attachment1 = limbatt | |
886 | local part1 = character[limbname] | |
887 | if character:FindFirstChildOfClass('Humanoid').Health > 0 then | |
888 | local collidepart = Instance.new('Part',part1) | |
889 | collidepart.Size = part1.Size/1.5 | |
890 | collidepart.CanCollide = true | |
891 | collidepart.Name = "Collision" | |
892 | collidepart.Anchored = false | |
893 | collidepart.Transparency = 1 | |
894 | collidepart.CFrame = part1.CFrame | |
895 | collidepart:BreakJoints() | |
896 | local attachment0 = Instance.new('Attachment',part1) | |
897 | local attachment1 = Instance.new('Attachment',collidepart) | |
898 | if attachment0 and attachment1 then | |
899 | local constraint = Instance.new("HingeConstraint") | |
900 | constraint.Attachment0 = attachment0 | |
901 | constraint.Attachment1 = attachment1 | |
902 | constraint.LimitsEnabled = true | |
903 | constraint.UpperAngle = 0 | |
904 | constraint.LowerAngle = 0 | |
905 | constraint.Parent = character | |
906 | end | |
907 | end | |
908 | if character.Torso:FindFirstChild('Left Hip') then | |
909 | character.Torso:FindFirstChild('Left Hip'):Destroy() | |
910 | end | |
911 | elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then | |
912 | if character:FindFirstChildOfClass('Humanoid') then | |
913 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
914 | end | |
915 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
916 | if character:FindFirstChild('HumanoidRootPart') then | |
917 | character.HumanoidRootPart:Destroy() | |
918 | end | |
919 | game:GetService('Debris'):AddItem(character,10) | |
920 | for _,child in next,character:GetChildren() do | |
921 | if child:IsA("Accoutrement") then | |
922 | for _,part in next,child:GetChildren() do | |
923 | if part:IsA("BasePart") then | |
924 | for _,c in pairs(part:GetChildren()) do | |
925 | if c:IsA('Weld') then c:Destroy() end | |
926 | end | |
927 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
928 | local attachment0 = getAttachment0(character,attachment1.Name) | |
929 | if attachment0 and attachment1 then | |
930 | local constraint = Instance.new("HingeConstraint") | |
931 | constraint.Attachment0 = attachment0 | |
932 | constraint.Attachment1 = attachment1 | |
933 | constraint.LimitsEnabled = true | |
934 | constraint.UpperAngle = 0 | |
935 | constraint.LowerAngle = 0 | |
936 | constraint.Parent = character | |
937 | end | |
938 | end | |
939 | end | |
940 | end | |
941 | end | |
942 | for i,v in pairs(character:GetChildren()) do | |
943 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
944 | for _,c in pairs(v:GetChildren()) do | |
945 | if c.Name == "Collision" then c:Destroy() end | |
946 | end | |
947 | end | |
948 | end | |
949 | if character.Torso:FindFirstChild('Neck') then | |
950 | character.Torso.Neck:Destroy() | |
951 | end | |
952 | if character:FindFirstChild('Torso') then | |
953 | local collidepart = Instance.new('Part',character.Torso) | |
954 | collidepart.Size = character.Torso.Size/1.5 | |
955 | collidepart.CanCollide = true | |
956 | collidepart.Name = "Collision" | |
957 | collidepart.Anchored = false | |
958 | collidepart.Transparency = 1 | |
959 | collidepart.CFrame = character.Torso.CFrame | |
960 | collidepart:BreakJoints() | |
961 | local attachment0 = Instance.new('Attachment',character.Torso) | |
962 | local attachment1 = Instance.new('Attachment',collidepart) | |
963 | if attachment0 and attachment1 then | |
964 | local constraint = Instance.new("HingeConstraint") | |
965 | constraint.Attachment0 = attachment0 | |
966 | constraint.Attachment1 = attachment1 | |
967 | constraint.LimitsEnabled = true | |
968 | constraint.UpperAngle = 0 | |
969 | constraint.LowerAngle = 0 | |
970 | constraint.Parent = character | |
971 | end | |
972 | end | |
973 | if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then | |
974 | if character.Torso:FindFirstChild('NeckAttachment') == nil then | |
975 | local neck = Instance.new('Attachment',character.Torso) | |
976 | neck.Name = "NeckAttachment" | |
977 | neck.Position = Vector3.new(0, 1, 0) | |
978 | end | |
979 | ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", { | |
980 | {"LimitsEnabled",true}; | |
981 | {"UpperAngle",50}; | |
982 | {"LowerAngle",-50}; | |
983 | }) | |
984 | end | |
985 | if attached ~= false then | |
986 | ragdollpart(character, "Right Leg") | |
987 | ragdollpart(character, "Left Leg") | |
988 | else | |
989 | pcall(function() | |
990 | local ayybleed = Instance.new('Part',character) | |
991 | ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z) | |
992 | ayybleed.Transparency = 1 | |
993 | ayybleed.CanCollide = false | |
994 | ayybleed.CFrame = character.Torso.CFrame | |
995 | ayybleed:BreakJoints() | |
996 | local attachment1 = Instance.new('Attachment',ayybleed) | |
997 | attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0) | |
998 | attachment1.Orientation = Vector3.new(0, 0, -180) | |
999 | local attachment0 = Instance.new('Attachment',character.Torso) | |
1000 | if attachment0 and attachment1 then | |
1001 | local constraint = Instance.new("HingeConstraint") | |
1002 | constraint.Attachment0 = attachment0 | |
1003 | constraint.Attachment1 = attachment1 | |
1004 | constraint.LimitsEnabled = true | |
1005 | constraint.UpperAngle = 0 | |
1006 | constraint.LowerAngle = 0 | |
1007 | constraint.Parent = character | |
1008 | end | |
1009 | local bleedBLEED= coroutine.wrap(function() | |
1010 | bleed(ayybleed) | |
1011 | end) | |
1012 | bleedBLEED() | |
1013 | end) | |
1014 | end | |
1015 | ragdollpart(character, "Right Arm") | |
1016 | ragdollpart(character, "Left Arm") | |
1017 | end | |
1018 | end) | |
1019 | end | |
1020 | ||
1021 | function getAttachment0(character,attachmentName) | |
1022 | for _,child in next,character:GetChildren() do | |
1023 | local attachment = child:FindFirstChild(attachmentName) | |
1024 | if attachment then | |
1025 | return attachment | |
1026 | end | |
1027 | end | |
1028 | end | |
1029 | ||
1030 | function ragdollpart(character,partname,attached,heded) | |
1031 | if heded ~= false then | |
1032 | local neck = Instance.new('Attachment',character.Head) | |
1033 | neck.Name = "NeckAttachment" | |
1034 | neck.Position = Vector3.new(0,-0.5,0) | |
1035 | else | |
1036 | local force = Instance.new('BodyForce',character.Head) | |
1037 | force.Force = Vector3.new(0,500,0) | |
1038 | game:GetService('Debris'):AddItem(force,0.25) | |
1039 | pcall(function() | |
1040 | local asdf = Instance.new('Attachment',character.Head) | |
1041 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
1042 | local last = asdf | |
1043 | for i=1,14 do | |
1044 | local bONE = Instance.new('Part',character) | |
1045 | bONE.BrickColor = BrickColor.new('Institutional white') | |
1046 | bONE.Size = Vector3.new(0.1,0.1,0.1) | |
1047 | bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10)) | |
1048 | local lole = Instance.new('Attachment',bONE) | |
1049 | local hangurself = Instance.new('RopeConstraint',bONE) | |
1050 | hangurself.Attachment0 = lole | |
1051 | hangurself.Attachment1 = last | |
1052 | hangurself.Visible = true | |
1053 | hangurself.Thickness = 0.05 | |
1054 | hangurself.Color = BrickColor.new('Bright red') | |
1055 | hangurself.Length = 0.2 | |
1056 | last = lole | |
1057 | end | |
1058 | local bleedee = Instance.new('Part',character.Head) | |
1059 | bleedee.Size = Vector3.new(0.75,0.25,0.75) | |
1060 | bleedee.CanCollide = false | |
1061 | bleedee.Color = Frame_2.BackgroundColor3 | |
1062 | bleedee.CFrame = character.Head.CFrame | |
1063 | local mehs = Instance.new('CylinderMesh',bleedee) | |
1064 | bleedee:BreakJoints() | |
1065 | local attachment1 = Instance.new('Attachment',bleedee) | |
1066 | attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0) | |
1067 | attachment1.Orientation = Vector3.new(0,0,180) | |
1068 | local attachment0 = Instance.new('Attachment',character.Head) | |
1069 | if attachment0 and attachment1 then | |
1070 | local constraint = Instance.new("HingeConstraint") | |
1071 | constraint.Attachment0 = attachment0 | |
1072 | constraint.Attachment1 = attachment1 | |
1073 | constraint.LimitsEnabled = true | |
1074 | constraint.UpperAngle = 0 | |
1075 | constraint.LowerAngle = 0 | |
1076 | constraint.Parent = character | |
1077 | end | |
1078 | spawn(function() | |
1079 | bleed(bleedee) | |
1080 | end) | |
1081 | end) | |
1082 | local thing = "Torso" | |
1083 | if character:FindFirstChild(thing) == nil then | |
1084 | thing = "UpperTorso" | |
1085 | end | |
1086 | pcall(function() | |
1087 | local bleedee = Instance.new('Part',character[thing]) | |
1088 | bleedee.Size = Vector3.new(0.75,0,0.75) | |
1089 | bleedee.CanCollide = false | |
1090 | bleedee.Color = Frame_2.BackgroundColor3 | |
1091 | bleedee.CFrame = character[thing].CFrame | |
1092 | local mehs = Instance.new('CylinderMesh',bleedee) | |
1093 | bleedee:BreakJoints() | |
1094 | local attachment1 = Instance.new('Attachment',bleedee) | |
1095 | attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0) | |
1096 | attachment1.Orientation = Vector3.new(0,0,180) | |
1097 | local attachment0 = Instance.new('Attachment',character[thing]) | |
1098 | if attachment0 and attachment1 then | |
1099 | local constraint = Instance.new("HingeConstraint") | |
1100 | constraint.Attachment0 = attachment0 | |
1101 | constraint.Attachment1 = attachment1 | |
1102 | constraint.LimitsEnabled = true | |
1103 | constraint.UpperAngle = 0 | |
1104 | constraint.LowerAngle = 0 | |
1105 | constraint.Parent = character | |
1106 | end | |
1107 | spawn(function() | |
1108 | bleed(bleedee) | |
1109 | end) | |
1110 | end) | |
1111 | end | |
1112 | pcall(function() | |
1113 | if workspace.PGSPhysicsSolverEnabled == false then | |
1114 | workspace.PGSPhysicsSolverEnabled = true | |
1115 | end | |
1116 | end) | |
1117 | if partname == "HumanoidRootPart" then | |
1118 | if character:FindFirstChild('Torso') then | |
1119 | partname = "Torso" | |
1120 | else | |
1121 | partname = "UpperTorso" | |
1122 | end | |
1123 | end | |
1124 | if attached == false then | |
1125 | if character:FindFirstChild('UpperTorso') then | |
1126 | pcall(function() | |
1127 | character.UpperTorso.WaistRigAttachment:Destroy() | |
1128 | end) | |
1129 | pcall(function() | |
1130 | local ayybleed = Instance.new('Part',character) | |
1131 | ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z) | |
1132 | ayybleed.Transparency = 1 | |
1133 | ayybleed.CanCollide = false | |
1134 | ayybleed.CFrame = character.UpperTorso.CFrame | |
1135 | ayybleed:BreakJoints() | |
1136 | ayybleed.Name = "ayybleed" | |
1137 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1138 | attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0) | |
1139 | attachment1.Orientation = Vector3.new(0,0,180) | |
1140 | local attachment0 = Instance.new('Attachment',character.UpperTorso) | |
1141 | if attachment0 and attachment1 then | |
1142 | local constraint = Instance.new("HingeConstraint") | |
1143 | constraint.Attachment0 = attachment0 | |
1144 | constraint.Attachment1 = attachment1 | |
1145 | constraint.LimitsEnabled = true | |
1146 | constraint.UpperAngle = 0 | |
1147 | constraint.LowerAngle = 0 | |
1148 | constraint.Parent = character | |
1149 | end | |
1150 | local bleedBLEED= coroutine.wrap(function() | |
1151 | bleed(ayybleed) | |
1152 | end) | |
1153 | bleedBLEED() | |
1154 | end) | |
1155 | pcall(function() | |
1156 | local ayybleed = Instance.new('Part',character) | |
1157 | ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1) | |
1158 | ayybleed.Transparency = 1 | |
1159 | ayybleed.CanCollide = false | |
1160 | ayybleed.CFrame = character.LowerTorso.CFrame | |
1161 | ayybleed:BreakJoints() | |
1162 | ayybleed.Name = "ayybleed" | |
1163 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1164 | attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0) | |
1165 | attachment1.Orientation = Vector3.new(0,0,0) | |
1166 | local attachment0 = Instance.new('Attachment',character.LowerTorso) | |
1167 | if attachment0 and attachment1 then | |
1168 | local constraint = Instance.new("HingeConstraint") | |
1169 | constraint.Attachment0 = attachment0 | |
1170 | constraint.Attachment1 = attachment1 | |
1171 | constraint.LimitsEnabled = true | |
1172 | constraint.UpperAngle = 0 | |
1173 | constraint.LowerAngle = 0 | |
1174 | constraint.Parent = character | |
1175 | end | |
1176 | local bleedBLEED= coroutine.wrap(function() | |
1177 | bleed(ayybleed) | |
1178 | end) | |
1179 | bleedBLEED() | |
1180 | end) | |
1181 | end | |
1182 | pcall(function() | |
1183 | local thang = "Torso" | |
1184 | if character:FindFirstChild('UpperTorso') then | |
1185 | thang = "UpperTorso" | |
1186 | end | |
1187 | local ayybleed = Instance.new('Part',character) | |
1188 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1189 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1190 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1191 | ayybleed.Name = "ayybleed" | |
1192 | ayybleed.CanCollide = false | |
1193 | ayybleed.Transparency = 0 | |
1194 | ayybleed.CFrame = character[thang].CFrame | |
1195 | ayybleed:BreakJoints() | |
1196 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1197 | attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0) | |
1198 | attachment1.Orientation = Vector3.new(0,0,0) | |
1199 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1200 | if attachment0 and attachment1 then | |
1201 | local constraint = Instance.new("HingeConstraint") | |
1202 | constraint.Attachment0 = attachment0 | |
1203 | constraint.Attachment1 = attachment1 | |
1204 | constraint.LimitsEnabled = true | |
1205 | constraint.UpperAngle = 0 | |
1206 | constraint.LowerAngle = 0 | |
1207 | constraint.Parent = character | |
1208 | end | |
1209 | end) | |
1210 | pcall(function() | |
1211 | local ree = character.LowerTorso | |
1212 | local thang = "LowerTorso" | |
1213 | local ayybleed = Instance.new('Part',character) | |
1214 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1215 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1216 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1217 | ayybleed.Name = "ayybleed" | |
1218 | ayybleed.CanCollide = false | |
1219 | ayybleed.Transparency = 0 | |
1220 | ayybleed.CFrame = character[thang].CFrame | |
1221 | ayybleed:BreakJoints() | |
1222 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1223 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1224 | attachment1.Orientation = Vector3.new(0,0,0) | |
1225 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1226 | if attachment0 and attachment1 then | |
1227 | local constraint = Instance.new("HingeConstraint") | |
1228 | constraint.Attachment0 = attachment0 | |
1229 | constraint.Attachment1 = attachment1 | |
1230 | constraint.LimitsEnabled = true | |
1231 | constraint.UpperAngle = 0 | |
1232 | constraint.LowerAngle = 0 | |
1233 | constraint.Parent = character | |
1234 | end | |
1235 | end) | |
1236 | pcall(function() | |
1237 | local ree = character["Right Leg"] | |
1238 | local thang = "Right Leg" | |
1239 | local ayybleed = Instance.new('Part',character) | |
1240 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1241 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1242 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1243 | ayybleed.Name = "ayybleed" | |
1244 | ayybleed.CanCollide = false | |
1245 | ayybleed.Transparency = 0 | |
1246 | ayybleed.CFrame = character[thang].CFrame | |
1247 | ayybleed:BreakJoints() | |
1248 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1249 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1250 | attachment1.Orientation = Vector3.new(0,0,0) | |
1251 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1252 | if attachment0 and attachment1 then | |
1253 | local constraint = Instance.new("HingeConstraint") | |
1254 | constraint.Attachment0 = attachment0 | |
1255 | constraint.Attachment1 = attachment1 | |
1256 | constraint.LimitsEnabled = true | |
1257 | constraint.UpperAngle = 0 | |
1258 | constraint.LowerAngle = 0 | |
1259 | constraint.Parent = character | |
1260 | end | |
1261 | end) | |
1262 | pcall(function() | |
1263 | local ree = character["Left Leg"] | |
1264 | local thang = "Left Leg" | |
1265 | local ayybleed = Instance.new('Part',character) | |
1266 | ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) | |
1267 | ayybleed.Color = Frame_2.BackgroundColor3 | |
1268 | ayybleed.Material = Enum.Material.SmoothPlastic | |
1269 | ayybleed.Name = "ayybleed" | |
1270 | ayybleed.CanCollide = false | |
1271 | ayybleed.Transparency = 0 | |
1272 | ayybleed.CFrame = character[thang].CFrame | |
1273 | ayybleed:BreakJoints() | |
1274 | local attachment1 = Instance.new('Attachment',ayybleed) | |
1275 | attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) | |
1276 | attachment1.Orientation = Vector3.new(0,0,0) | |
1277 | local attachment0 = Instance.new('Attachment',character[thang]) | |
1278 | if attachment0 and attachment1 then | |
1279 | local constraint = Instance.new("HingeConstraint") | |
1280 | constraint.Attachment0 = attachment0 | |
1281 | constraint.Attachment1 = attachment1 | |
1282 | constraint.LimitsEnabled = true | |
1283 | constraint.UpperAngle = 0 | |
1284 | constraint.LowerAngle = 0 | |
1285 | constraint.Parent = character | |
1286 | end | |
1287 | end) | |
1288 | partname="Head" | |
1289 | end | |
1290 | if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then | |
1291 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
1292 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
1293 | end | |
1294 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
1295 | ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket") | |
1296 | end | |
1297 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
1298 | ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
1299 | end | |
1300 | elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then | |
1301 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
1302 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1303 | end | |
1304 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
1305 | ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket") | |
1306 | end | |
1307 | if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then | |
1308 | ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1309 | end | |
1310 | elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then | |
1311 | stun(character) | |
1312 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
1313 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1314 | end | |
1315 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
1316 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1317 | end | |
1318 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
1319 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
1320 | end | |
1321 | elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then | |
1322 | stun(character) | |
1323 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
1324 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1325 | end | |
1326 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
1327 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1328 | end | |
1329 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
1330 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1331 | end | |
1332 | elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then | |
1333 | if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then | |
1334 | if character:FindFirstChildOfClass('Humanoid') then | |
1335 | character:FindFirstChildOfClass('Humanoid').Health = 0 | |
1336 | end | |
1337 | if character:FindFirstChild('HumanoidRootPart') then | |
1338 | character.HumanoidRootPart:Destroy() | |
1339 | end | |
1340 | while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end | |
1341 | game:GetService('Debris'):AddItem(character,10) | |
1342 | for _,child in next,character:GetChildren() do | |
1343 | if child:IsA("Accoutrement") then | |
1344 | for _,part in next,child:GetChildren() do | |
1345 | if part:IsA("BasePart") then | |
1346 | for _,c in pairs(part:GetChildren()) do | |
1347 | if c:IsA('Weld') then c:Destroy() end | |
1348 | end | |
1349 | local attachment1 = part:FindFirstChildOfClass("Attachment") | |
1350 | local attachment0 = getAttachment0(character,attachment1.Name) | |
1351 | if attachment0 and attachment1 then | |
1352 | local constraint = Instance.new("HingeConstraint") | |
1353 | constraint.Attachment0 = attachment0 | |
1354 | constraint.Attachment1 = attachment1 | |
1355 | constraint.LimitsEnabled = true | |
1356 | constraint.UpperAngle = 0 | |
1357 | constraint.LowerAngle = 0 | |
1358 | constraint.Parent = character | |
1359 | end | |
1360 | end | |
1361 | end | |
1362 | end | |
1363 | end | |
1364 | for i,v in pairs(character:GetChildren()) do | |
1365 | if v:IsA('MeshPart') or v:IsA('BasePart') then | |
1366 | for _,c in pairs(v:GetChildren()) do | |
1367 | if c.Name == "Collision" then c:Destroy() end | |
1368 | end | |
1369 | end | |
1370 | end | |
1371 | if heded == false then | |
1372 | pcall(function() | |
1373 | local asdf = Instance.new('Attachment',character.Head) | |
1374 | asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) | |
1375 | local last = asdf | |
1376 | character.Head.Neck:Destroy() | |
1377 | character.Head.NeckRigAttachment:Destroy() | |
1378 | character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy() | |
1379 | end) | |
1380 | end | |
1381 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then | |
1382 | ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { | |
1383 | {"LimitsEnabled",true}; | |
1384 | {"UpperAngle",5}; | |
1385 | {"Radius",5}; | |
1386 | }) | |
1387 | end | |
1388 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then | |
1389 | ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { | |
1390 | {"LimitsEnabled",true}; | |
1391 | {"UpperAngle",50}; | |
1392 | {"LowerAngle",-50}; | |
1393 | }) | |
1394 | end | |
1395 | ||
1396 | local handProperties = { | |
1397 | {"LimitsEnabled", true}; | |
1398 | {"UpperAngle",0}; | |
1399 | {"LowerAngle",0}; | |
1400 | } | |
1401 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then | |
1402 | ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) | |
1403 | end | |
1404 | if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then | |
1405 | ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) | |
1406 | end | |
1407 | ||
1408 | local shinProperties = { | |
1409 | {"LimitsEnabled", true}; | |
1410 | {"UpperAngle", 0}; | |
1411 | {"LowerAngle", -75}; | |
1412 | } | |
1413 | if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then | |
1414 | ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) | |
1415 | end | |
1416 | if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then | |
1417 | ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) | |
1418 | end | |
1419 | ||
1420 | local footProperties = { | |
1421 | {"LimitsEnabled", true}; | |
1422 | {"UpperAngle", 15}; | |
1423 | {"LowerAngle", -45}; | |
1424 | } | |
1425 | if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then | |
1426 | ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) | |
1427 | end | |
1428 | if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then | |
1429 | ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) | |
1430 | end | |
1431 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then | |
1432 | ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") | |
1433 | end | |
1434 | if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then | |
1435 | ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") | |
1436 | end | |
1437 | if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then | |
1438 | ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") | |
1439 | end | |
1440 | if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then | |
1441 | ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") | |
1442 | end | |
1443 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then | |
1444 | ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") | |
1445 | end | |
1446 | if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then | |
1447 | ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") | |
1448 | end | |
1449 | if character:FindFirstChild('HumanoidRootPart') then | |
1450 | character.HumanoidRootPart:Destroy() | |
1451 | end | |
1452 | else | |
1453 | R6ragdollJoint(character,partname,attached,heded) | |
1454 | end | |
1455 | else | |
1456 | R6ragdollJoint(character,partname,attached,heded) | |
1457 | end | |
1458 | end | |
1459 | ||
1460 | function grow(weld,part,endsize,endpos,amntime) | |
1461 | local start = weld.C1 | |
1462 | local parent = weld.Parent | |
1463 | local startsize = part.Size | |
1464 | local particl = Instance.new("ParticleEmitter") | |
1465 | particl.LightEmission = 3 | |
1466 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
1467 | particl.LightInfluence = 0.75 | |
1468 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
1469 | particl.Lifetime = NumberRange.new(0.1, 1) | |
1470 | particl.Rate = 50 | |
1471 | particl.RotSpeed = NumberRange.new(300, 300) | |
1472 | particl.Speed = NumberRange.new(0, 1) | |
1473 | particl.SpreadAngle = Vector2.new(90, 90) | |
1474 | particl.Parent = part | |
1475 | for i=1,amntime*100 do | |
1476 | weld.C1 = start:lerp(endpos,i/(amntime*100)) | |
1477 | part.Size = startsize:lerp(endsize,i/(amntime*100)) | |
1478 | weld.Parent = parent | |
1479 | wait(0.01) | |
1480 | end | |
1481 | particl.Enabled = false | |
1482 | end | |
1483 | function lerp(weld,startpos,endpos,amntime,longatend) | |
1484 | local waited = 0 | |
1485 | for i=1,amntime*100 do | |
1486 | if longatend == true then | |
1487 | startpos = weld.C0 | |
1488 | end | |
1489 | weld.C0 = startpos:lerp(endpos,i/(amntime*100)) | |
1490 | wait(0.01) | |
1491 | waited=waited+0.01 | |
1492 | end | |
1493 | end | |
1494 | ||
1495 | function spawned() | |
1496 | local usable = true | |
1497 | local working = false | |
1498 | local mode = "kill" | |
1499 | local equipped = false | |
1500 | local char = player.Character | |
1501 | local blademode = "handle" | |
1502 | local swinging = false | |
1503 | local gettingeem = false | |
1504 | local MOAN = false | |
1505 | local sounding = false | |
1506 | local SLESH = false | |
1507 | local goteem = nil | |
1508 | local grabbing = false | |
1509 | local grabbed = nil | |
1510 | local grabweld = nil | |
1511 | local aidsificating = nil | |
1512 | player.CharacterAdded:connect(function() | |
1513 | if usable then | |
1514 | usable = false | |
1515 | end | |
1516 | end) | |
1517 | if char == nil then return end | |
1518 | while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end | |
1519 | local badass = Instance.new('Sound',char.Head) | |
1520 | badass.Name = 'Badass' | |
1521 | badass.EmitterSize = player.CameraMaxZoomDistance+1 | |
1522 | badass.MaxDistance = player.CameraMaxZoomDistance+1 | |
1523 | badass.Volume = 10 | |
1524 | badass.Looped=true | |
1525 | badass.SoundId = 'rbxassetid://428902535' | |
1526 | local handle = Instance.new("Part", char) | |
1527 | handle.BrickColor = BrickColor.new("Really black") | |
1528 | handle.Material = "Metal" | |
1529 | handle.CanCollide = false | |
1530 | handle.Anchored = false | |
1531 | handle.Shape = "Cylinder" | |
1532 | handle.Size = Vector3.new(1.1, 0.3, 0.3) | |
1533 | handle.BackSurface = "SmoothNoOutlines" | |
1534 | handle.BottomSurface = "SmoothNoOutlines" | |
1535 | handle.FrontSurface = "SmoothNoOutlines" | |
1536 | handle.LeftSurface = "SmoothNoOutlines" | |
1537 | handle.RightSurface = "SmoothNoOutlines" | |
1538 | handle.TopSurface = "SmoothNoOutlines" | |
1539 | handle.Name = "handle" | |
1540 | ||
1541 | local hweld = Instance.new("Weld", char.Torso) | |
1542 | hweld.Part0 = char.Torso | |
1543 | hweld.Part1 = handle | |
1544 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1545 | ||
1546 | local rdd = false | |
1547 | function oogabooga() | |
1548 | if rdd == false then | |
1549 | rdd = true | |
1550 | pcall(function() | |
1551 | ragdollpart(char,"Right Arm") | |
1552 | ragdollpart(char,"Right Leg") | |
1553 | ragdollpart(char,"Left Arm") | |
1554 | ragdollpart(char,"Left Leg") | |
1555 | end) | |
1556 | pcall(function() | |
1557 | ragdollpart(char,"RightUpperArm") | |
1558 | ragdollpart(char,"RightUpperLeg") | |
1559 | ragdollpart(char,"LeftUpperArm") | |
1560 | ragdollpart(char,"LeftUpperLeg") | |
1561 | end) | |
1562 | unstun(char) | |
1563 | for i,v in pairs(char:GetChildren()) do | |
1564 | v.ChildAdded:connect(function(child) | |
1565 | if rdd == true then | |
1566 | if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then | |
1567 | if child ~= grabweld then | |
1568 | spawn(function() | |
1569 | wait() | |
1570 | child:Destroy() | |
1571 | end) | |
1572 | end | |
1573 | end | |
1574 | end | |
1575 | end) | |
1576 | if string.find(string.lower(v.Name),'leg') then | |
1577 | if v:FindFirstChild('Collision') then | |
1578 | v:FindFirstChild('Collision'):Destroy() | |
1579 | end | |
1580 | end | |
1581 | end | |
1582 | else | |
1583 | rdd = false | |
1584 | for i,v in pairs(char:GetChildren()) do | |
1585 | if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then | |
1586 | v:Destroy() | |
1587 | elseif v:IsA('BasePart') then | |
1588 | if v:FindFirstChild('Collision') then | |
1589 | v.Collision:Destroy() | |
1590 | end | |
1591 | for a,c in pairs(v:GetChildren()) do | |
1592 | if string.find(string.lower(c.Name),"ragdoll") then | |
1593 | c:Destroy() | |
1594 | end | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | pcall(function() | |
1599 | local ra = rightclone:Clone() | |
1600 | ra.Parent = char.Torso | |
1601 | ra.Part0 = char.Torso | |
1602 | ra.Part1 = char["Right Arm"] | |
1603 | end) | |
1604 | pcall(function() | |
1605 | local la = leftclone:Clone() | |
1606 | la.Parent = char.Torso | |
1607 | la.Part0 = char.Torso | |
1608 | la.Part1 = char["Left Arm"] | |
1609 | end) | |
1610 | pcall(function() | |
1611 | local ll = leftlegclone:Clone() | |
1612 | ll.Parent = char.Torso | |
1613 | ll.Part0 = char.Torso | |
1614 | ll.Part1 = char["Left Leg"] | |
1615 | end) | |
1616 | pcall(function() | |
1617 | local rl = rightlegclone:Clone() | |
1618 | rl.Parent = char.Torso | |
1619 | rl.Part0 = char.Torso | |
1620 | rl.Part1 = char["Right Leg"] | |
1621 | end) | |
1622 | end | |
1623 | end | |
1624 | function getrid() | |
1625 | if grabbed then | |
1626 | release() | |
1627 | end | |
1628 | blademode = "handle" | |
1629 | for _,ree in pairs(handle:GetChildren()) do | |
1630 | if ree:IsA('BasePart') then | |
1631 | local part = Instance.new('Part',workspace) | |
1632 | part.CFrame = ree.CFrame | |
1633 | part.Anchored = true | |
1634 | part.CanCollide = false | |
1635 | part.Size = ree.Size | |
1636 | part.Transparency = 1 | |
1637 | ree:Destroy() | |
1638 | local pe2 = Instance.new("ParticleEmitter") | |
1639 | pe2.Acceleration = Vector3.new(0, 1, 0) | |
1640 | pe2.Lifetime = NumberRange.new(0.1, 0.2) | |
1641 | pe2.Speed = NumberRange.new(0.5) | |
1642 | pe2.Rate = 20000 | |
1643 | pe2.RotSpeed = NumberRange.new(-30, 30) | |
1644 | pe2.Rotation = NumberRange.new(0, 360) | |
1645 | pe2.Size = NumberSequence.new({ | |
1646 | NumberSequenceKeypoint.new(0, part.Size.X*2, 0), | |
1647 | NumberSequenceKeypoint.new(1, part.Size.X*2, 0), | |
1648 | }) | |
1649 | pe2.Texture = "rbxassetid://244221440" | |
1650 | pe2.Transparency = NumberSequence.new({ | |
1651 | NumberSequenceKeypoint.new(0, 0.9, 0), | |
1652 | NumberSequenceKeypoint.new(1, 0.9, 0) | |
1653 | }) | |
1654 | pe2.ZOffset = 5 | |
1655 | pe2.VelocitySpread = 360 | |
1656 | pe2.Parent = part | |
1657 | pe2.Enabled = true | |
1658 | local coru=coroutine.wrap(function() | |
1659 | wait(0.2) | |
1660 | pe2.Enabled = false | |
1661 | game:GetService('Debris'):AddItem(part,0.5) | |
1662 | end) | |
1663 | coru() | |
1664 | else | |
1665 | ree:Remove() | |
1666 | end | |
1667 | end | |
1668 | end | |
1669 | ||
1670 | function equip() | |
1671 | equipped = true | |
1672 | working = true | |
1673 | if char.Torso:FindFirstChild("Right Shoulder") then | |
1674 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
1675 | end | |
1676 | local weld = Instance.new('Weld', char.Torso) | |
1677 | weld.Name = "Lerping" | |
1678 | weld.Part0 = char["Right Arm"] | |
1679 | weld.Part1 = char.Torso | |
1680 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
1681 | ||
1682 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
1683 | ||
1684 | wait(0.1) | |
1685 | ||
1686 | hweld.Part0 = char["Right Arm"] | |
1687 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
1688 | ||
1689 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
1690 | ||
1691 | weld:Destroy() | |
1692 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
1693 | local clone = rightclone:Clone() | |
1694 | clone.Part0 = char.Torso | |
1695 | clone.Part1 = char["Right Arm"] | |
1696 | clone.Parent = char.Torso | |
1697 | end | |
1698 | working = false | |
1699 | end | |
1700 | ||
1701 | function unequip() | |
1702 | getrid(handle) | |
1703 | equipped = false | |
1704 | working = true | |
1705 | ||
1706 | if char.Torso:FindFirstChild("Right Shoulder") then | |
1707 | char.Torso:FindFirstChild("Right Shoulder"):Destroy() | |
1708 | end | |
1709 | ||
1710 | local weld = Instance.new('Weld', char.Torso) | |
1711 | weld.Name = "Lerping" | |
1712 | weld.Part0 = char["Right Arm"] | |
1713 | weld.Part1 = char.Torso | |
1714 | weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) | |
1715 | ||
1716 | ||
1717 | lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) | |
1718 | ||
1719 | hweld.Part0 = char["Torso"] | |
1720 | hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) | |
1721 | lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true) | |
1722 | weld:Destroy() | |
1723 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
1724 | local clone = rightclone:Clone() | |
1725 | clone.Part0 = char.Torso | |
1726 | clone.Part1 = char["Right Arm"] | |
1727 | clone.Parent = char.Torso | |
1728 | end | |
1729 | working = false | |
1730 | end | |
1731 | ||
1732 | function dildo() | |
1733 | blademode = "dildo" | |
1734 | working = true | |
1735 | -- 1 - pink toy | |
1736 | local obj1 = Instance.new("Model") | |
1737 | obj1.Name = "pink toy" | |
1738 | obj1.Parent = handle | |
1739 | ||
1740 | -- 2 - Model | |
1741 | local obj2 = Instance.new("Model") | |
1742 | obj2.Parent = obj1 | |
1743 | ||
1744 | -- 3 - Part | |
1745 | local obj3 = Instance.new("Part") | |
1746 | obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1747 | obj3.CanCollide = false | |
1748 | obj3.TopSurface = Enum.SurfaceType.Smooth | |
1749 | obj3.BottomSurface = Enum.SurfaceType.Smooth | |
1750 | obj3.Material = Enum.Material.SmoothPlastic | |
1751 | obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024) | |
1752 | obj3.BrickColor = BrickColor.new("Hot pink") | |
1753 | obj3.Friction = 0.30000001192093 | |
1754 | obj3.Shape = Enum.PartType.Ball | |
1755 | obj3.Parent = obj2 | |
1756 | obj3.Name = "tip" | |
1757 | ||
1758 | -- 4 - Part | |
1759 | local obj4 = Instance.new("Part") | |
1760 | obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
1761 | obj4.CanCollide = false | |
1762 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
1763 | obj4.BottomSurface = Enum.SurfaceType.Smooth | |
1764 | obj4.Material = Enum.Material.SmoothPlastic | |
1765 | obj4.Size = Vector3.new(4.09999943, 1, 1) | |
1766 | obj4.BrickColor = BrickColor.new("Hot pink") | |
1767 | obj4.Friction = 0.30000001192093 | |
1768 | obj4.Shape = Enum.PartType.Cylinder | |
1769 | obj4.Parent = obj2 | |
1770 | ||
1771 | -- 5 - Part | |
1772 | local obj5 = Instance.new("Part") | |
1773 | obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1774 | obj5.CanCollide = false | |
1775 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
1776 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
1777 | obj5.Material = Enum.Material.SmoothPlastic | |
1778 | obj5.Size = Vector3.new(0.25, 0.25, 0.25) | |
1779 | obj5.BrickColor = BrickColor.new("Hot pink") | |
1780 | obj5.Friction = 0.30000001192093 | |
1781 | obj5.Shape = Enum.PartType.Ball | |
1782 | obj5.Parent = obj2 | |
1783 | ||
1784 | -- 6 - Part | |
1785 | local obj6 = Instance.new("Part") | |
1786 | obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
1787 | obj6.CanCollide = false | |
1788 | obj6.TopSurface = Enum.SurfaceType.Smooth | |
1789 | obj6.BottomSurface = Enum.SurfaceType.Smooth | |
1790 | obj6.Material = Enum.Material.SmoothPlastic | |
1791 | obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
1792 | obj6.BrickColor = BrickColor.new("Hot pink") | |
1793 | obj6.Friction = 0.30000001192093 | |
1794 | obj6.Shape = Enum.PartType.Ball | |
1795 | obj6.Parent = obj2 | |
1796 | ||
1797 | -- 7 - Part | |
1798 | local obj7 = Instance.new("Part") | |
1799 | obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1800 | obj7.CanCollide = false | |
1801 | obj7.TopSurface = Enum.SurfaceType.Smooth | |
1802 | obj7.BottomSurface = Enum.SurfaceType.Smooth | |
1803 | obj7.Material = Enum.Material.SmoothPlastic | |
1804 | obj7.Size = Vector3.new(0.25, 0.25, 0.25) | |
1805 | obj7.BrickColor = BrickColor.new("Hot pink") | |
1806 | obj7.Friction = 0.30000001192093 | |
1807 | obj7.Shape = Enum.PartType.Ball | |
1808 | obj7.Parent = obj2 | |
1809 | ||
1810 | -- 8 - Part | |
1811 | local obj8 = Instance.new("Part") | |
1812 | obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) | |
1813 | obj8.CanCollide = false | |
1814 | obj8.TopSurface = Enum.SurfaceType.Smooth | |
1815 | obj8.BottomSurface = Enum.SurfaceType.Smooth | |
1816 | obj8.Material = Enum.Material.SmoothPlastic | |
1817 | obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) | |
1818 | obj8.BrickColor = BrickColor.new("Hot pink") | |
1819 | obj8.Friction = 0.30000001192093 | |
1820 | obj8.Shape = Enum.PartType.Ball | |
1821 | obj8.Parent = obj2 | |
1822 | local fiREPART = obj8 | |
1823 | ||
1824 | -- 9 - Part | |
1825 | local obj9 = Instance.new("Part") | |
1826 | obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317) | |
1827 | obj9.CanCollide = false | |
1828 | obj9.TopSurface = Enum.SurfaceType.Smooth | |
1829 | obj9.BottomSurface = Enum.SurfaceType.Smooth | |
1830 | obj9.Material = Enum.Material.SmoothPlastic | |
1831 | obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2) | |
1832 | obj9.BrickColor = BrickColor.new("Hot pink") | |
1833 | obj9.Friction = 0.30000001192093 | |
1834 | obj9.Shape = Enum.PartType.Cylinder | |
1835 | obj9.Parent = obj2 | |
1836 | ||
1837 | -- 10 - Part | |
1838 | local obj10 = Instance.new("Part") | |
1839 | obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1840 | obj10.CanCollide = false | |
1841 | obj10.TopSurface = Enum.SurfaceType.Smooth | |
1842 | obj10.BottomSurface = Enum.SurfaceType.Smooth | |
1843 | obj10.Material = Enum.Material.SmoothPlastic | |
1844 | obj10.Size = Vector3.new(0.25, 0.25, 0.25) | |
1845 | obj10.BrickColor = BrickColor.new("Hot pink") | |
1846 | obj10.Friction = 0.30000001192093 | |
1847 | obj10.Shape = Enum.PartType.Ball | |
1848 | obj10.Parent = obj2 | |
1849 | ||
1850 | -- 11 - Part | |
1851 | local obj11 = Instance.new("Part") | |
1852 | obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1853 | obj11.CanCollide = false | |
1854 | obj11.TopSurface = Enum.SurfaceType.Smooth | |
1855 | obj11.BottomSurface = Enum.SurfaceType.Smooth | |
1856 | obj11.Material = Enum.Material.SmoothPlastic | |
1857 | obj11.Size = Vector3.new(0.25, 0.25, 0.25) | |
1858 | obj11.BrickColor = BrickColor.new("Hot pink") | |
1859 | obj11.Friction = 0.30000001192093 | |
1860 | obj11.Shape = Enum.PartType.Ball | |
1861 | obj11.Parent = obj2 | |
1862 | ||
1863 | -- 12 - Part | |
1864 | local obj12 = Instance.new("Part") | |
1865 | obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1866 | obj12.CanCollide = false | |
1867 | obj12.TopSurface = Enum.SurfaceType.Smooth | |
1868 | obj12.BottomSurface = Enum.SurfaceType.Smooth | |
1869 | obj12.Material = Enum.Material.SmoothPlastic | |
1870 | obj12.Size = Vector3.new(0.25, 0.25, 0.25) | |
1871 | obj12.BrickColor = BrickColor.new("Hot pink") | |
1872 | obj12.Friction = 0.30000001192093 | |
1873 | obj12.Shape = Enum.PartType.Ball | |
1874 | obj12.Parent = obj2 | |
1875 | ||
1876 | -- 13 - Part | |
1877 | local obj13 = Instance.new("Part") | |
1878 | obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
1879 | obj13.CanCollide = false | |
1880 | obj13.TopSurface = Enum.SurfaceType.Smooth | |
1881 | obj13.BottomSurface = Enum.SurfaceType.Smooth | |
1882 | obj13.Material = Enum.Material.SmoothPlastic | |
1883 | obj13.Size = Vector3.new(0.25, 0.25, 0.25) | |
1884 | obj13.BrickColor = BrickColor.new("Hot pink") | |
1885 | obj13.Friction = 0.30000001192093 | |
1886 | obj13.Shape = Enum.PartType.Ball | |
1887 | obj13.Parent = obj2 | |
1888 | ||
1889 | -- 14 - Part | |
1890 | local obj14 = Instance.new("Part") | |
1891 | obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1892 | obj14.CanCollide = false | |
1893 | obj14.TopSurface = Enum.SurfaceType.Smooth | |
1894 | obj14.BottomSurface = Enum.SurfaceType.Smooth | |
1895 | obj14.Material = Enum.Material.SmoothPlastic | |
1896 | obj14.Size = Vector3.new(0.25, 0.25, 0.25) | |
1897 | obj14.BrickColor = BrickColor.new("Hot pink") | |
1898 | obj14.Friction = 0.30000001192093 | |
1899 | obj14.Shape = Enum.PartType.Ball | |
1900 | obj14.Parent = obj2 | |
1901 | ||
1902 | -- 15 - Part | |
1903 | local obj15 = Instance.new("Part") | |
1904 | obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
1905 | obj15.CanCollide = false | |
1906 | obj15.TopSurface = Enum.SurfaceType.Smooth | |
1907 | obj15.BottomSurface = Enum.SurfaceType.Smooth | |
1908 | obj15.Material = Enum.Material.SmoothPlastic | |
1909 | obj15.Size = Vector3.new(0.25, 0.25, 0.25) | |
1910 | obj15.BrickColor = BrickColor.new("Hot pink") | |
1911 | obj15.Friction = 0.30000001192093 | |
1912 | obj15.Shape = Enum.PartType.Ball | |
1913 | obj15.Parent = obj2 | |
1914 | ||
1915 | -- 16 - Part | |
1916 | local obj16 = Instance.new("Part") | |
1917 | obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
1918 | obj16.CanCollide = false | |
1919 | obj16.TopSurface = Enum.SurfaceType.Smooth | |
1920 | obj16.BottomSurface = Enum.SurfaceType.Smooth | |
1921 | obj16.Material = Enum.Material.SmoothPlastic | |
1922 | obj16.Size = Vector3.new(0.25, 0.25, 0.25) | |
1923 | obj16.BrickColor = BrickColor.new("Hot pink") | |
1924 | obj16.Friction = 0.30000001192093 | |
1925 | obj16.Shape = Enum.PartType.Ball | |
1926 | obj16.Parent = obj2 | |
1927 | ||
1928 | -- 17 - Part | |
1929 | local obj17 = Instance.new("Part") | |
1930 | obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1931 | obj17.CanCollide = false | |
1932 | obj17.TopSurface = Enum.SurfaceType.Smooth | |
1933 | obj17.BottomSurface = Enum.SurfaceType.Smooth | |
1934 | obj17.Material = Enum.Material.SmoothPlastic | |
1935 | obj17.Size = Vector3.new(0.25, 0.25, 0.25) | |
1936 | obj17.BrickColor = BrickColor.new("Hot pink") | |
1937 | obj17.Friction = 0.30000001192093 | |
1938 | obj17.Shape = Enum.PartType.Ball | |
1939 | obj17.Parent = obj2 | |
1940 | ||
1941 | -- 18 - Part | |
1942 | local obj18 = Instance.new("Part") | |
1943 | obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1944 | obj18.CanCollide = false | |
1945 | obj18.TopSurface = Enum.SurfaceType.Smooth | |
1946 | obj18.BottomSurface = Enum.SurfaceType.Smooth | |
1947 | obj18.Material = Enum.Material.SmoothPlastic | |
1948 | obj18.Size = Vector3.new(0.25, 0.25, 0.25) | |
1949 | obj18.BrickColor = BrickColor.new("Hot pink") | |
1950 | obj18.Friction = 0.30000001192093 | |
1951 | obj18.Shape = Enum.PartType.Ball | |
1952 | obj18.Parent = obj2 | |
1953 | ||
1954 | -- 19 - Part | |
1955 | local obj19 = Instance.new("Part") | |
1956 | obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
1957 | obj19.CanCollide = false | |
1958 | obj19.TopSurface = Enum.SurfaceType.Smooth | |
1959 | obj19.BottomSurface = Enum.SurfaceType.Smooth | |
1960 | obj19.Material = Enum.Material.SmoothPlastic | |
1961 | obj19.Size = Vector3.new(0.25, 0.25, 0.25) | |
1962 | obj19.BrickColor = BrickColor.new("Hot pink") | |
1963 | obj19.Friction = 0.30000001192093 | |
1964 | obj19.Shape = Enum.PartType.Ball | |
1965 | obj19.Parent = obj2 | |
1966 | ||
1967 | -- 20 - Part | |
1968 | local obj20 = Instance.new("Part") | |
1969 | obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
1970 | obj20.CanCollide = false | |
1971 | obj20.TopSurface = Enum.SurfaceType.Smooth | |
1972 | obj20.BottomSurface = Enum.SurfaceType.Smooth | |
1973 | obj20.Material = Enum.Material.SmoothPlastic | |
1974 | obj20.Size = Vector3.new(0.25, 0.25, 0.25) | |
1975 | obj20.BrickColor = BrickColor.new("Hot pink") | |
1976 | obj20.Friction = 0.30000001192093 | |
1977 | obj20.Shape = Enum.PartType.Ball | |
1978 | obj20.Parent = obj2 | |
1979 | ||
1980 | -- 21 - Part | |
1981 | local obj21 = Instance.new("Part") | |
1982 | obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
1983 | obj21.CanCollide = false | |
1984 | obj21.TopSurface = Enum.SurfaceType.Smooth | |
1985 | obj21.BottomSurface = Enum.SurfaceType.Smooth | |
1986 | obj21.Material = Enum.Material.SmoothPlastic | |
1987 | obj21.Size = Vector3.new(0.25, 0.25, 0.25) | |
1988 | obj21.BrickColor = BrickColor.new("Hot pink") | |
1989 | obj21.Friction = 0.30000001192093 | |
1990 | obj21.Shape = Enum.PartType.Ball | |
1991 | obj21.Parent = obj2 | |
1992 | ||
1993 | -- 22 - Part | |
1994 | local obj22 = Instance.new("Part") | |
1995 | obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
1996 | obj22.CanCollide = false | |
1997 | obj22.TopSurface = Enum.SurfaceType.Smooth | |
1998 | obj22.BottomSurface = Enum.SurfaceType.Smooth | |
1999 | obj22.Material = Enum.Material.SmoothPlastic | |
2000 | obj22.Size = Vector3.new(0.25, 0.25, 0.25) | |
2001 | obj22.BrickColor = BrickColor.new("Hot pink") | |
2002 | obj22.Friction = 0.30000001192093 | |
2003 | obj22.Shape = Enum.PartType.Ball | |
2004 | obj22.Parent = obj2 | |
2005 | ||
2006 | -- 23 - Part | |
2007 | local obj23 = Instance.new("Part") | |
2008 | obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2009 | obj23.CanCollide = false | |
2010 | obj23.TopSurface = Enum.SurfaceType.Smooth | |
2011 | obj23.BottomSurface = Enum.SurfaceType.Smooth | |
2012 | obj23.Material = Enum.Material.SmoothPlastic | |
2013 | obj23.Size = Vector3.new(0.25, 0.25, 0.25) | |
2014 | obj23.BrickColor = BrickColor.new("Hot pink") | |
2015 | obj23.Friction = 0.30000001192093 | |
2016 | obj23.Shape = Enum.PartType.Ball | |
2017 | obj23.Parent = obj2 | |
2018 | ||
2019 | -- 24 - Part | |
2020 | local obj24 = Instance.new("Part") | |
2021 | obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2022 | obj24.CanCollide = false | |
2023 | obj24.TopSurface = Enum.SurfaceType.Smooth | |
2024 | obj24.BottomSurface = Enum.SurfaceType.Smooth | |
2025 | obj24.Material = Enum.Material.SmoothPlastic | |
2026 | obj24.Size = Vector3.new(0.25, 0.25, 0.25) | |
2027 | obj24.BrickColor = BrickColor.new("Hot pink") | |
2028 | obj24.Friction = 0.30000001192093 | |
2029 | obj24.Shape = Enum.PartType.Ball | |
2030 | obj24.Parent = obj2 | |
2031 | ||
2032 | -- 25 - Part | |
2033 | local obj25 = Instance.new("Part") | |
2034 | obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2035 | obj25.CanCollide = false | |
2036 | obj25.TopSurface = Enum.SurfaceType.Smooth | |
2037 | obj25.BottomSurface = Enum.SurfaceType.Smooth | |
2038 | obj25.Material = Enum.Material.SmoothPlastic | |
2039 | obj25.Size = Vector3.new(0.25, 0.25, 0.25) | |
2040 | obj25.BrickColor = BrickColor.new("Hot pink") | |
2041 | obj25.Friction = 0.30000001192093 | |
2042 | obj25.Shape = Enum.PartType.Ball | |
2043 | obj25.Parent = obj2 | |
2044 | ||
2045 | -- 26 - Part | |
2046 | local obj26 = Instance.new("Part") | |
2047 | obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2048 | obj26.CanCollide = false | |
2049 | obj26.TopSurface = Enum.SurfaceType.Smooth | |
2050 | obj26.BottomSurface = Enum.SurfaceType.Smooth | |
2051 | obj26.Material = Enum.Material.SmoothPlastic | |
2052 | obj26.Size = Vector3.new(0.25, 0.25, 0.25) | |
2053 | obj26.BrickColor = BrickColor.new("Hot pink") | |
2054 | obj26.Friction = 0.30000001192093 | |
2055 | obj26.Shape = Enum.PartType.Ball | |
2056 | obj26.Parent = obj2 | |
2057 | ||
2058 | -- 27 - Part | |
2059 | local obj27 = Instance.new("Part") | |
2060 | obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2061 | obj27.CanCollide = false | |
2062 | obj27.TopSurface = Enum.SurfaceType.Smooth | |
2063 | obj27.BottomSurface = Enum.SurfaceType.Smooth | |
2064 | obj27.Material = Enum.Material.SmoothPlastic | |
2065 | obj27.Size = Vector3.new(0.25, 0.25, 0.25) | |
2066 | obj27.BrickColor = BrickColor.new("Hot pink") | |
2067 | obj27.Friction = 0.30000001192093 | |
2068 | obj27.Shape = Enum.PartType.Ball | |
2069 | obj27.Parent = obj2 | |
2070 | ||
2071 | -- 28 - Part | |
2072 | local obj28 = Instance.new("Part") | |
2073 | obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2074 | obj28.CanCollide = false | |
2075 | obj28.TopSurface = Enum.SurfaceType.Smooth | |
2076 | obj28.BottomSurface = Enum.SurfaceType.Smooth | |
2077 | obj28.Material = Enum.Material.SmoothPlastic | |
2078 | obj28.Size = Vector3.new(0.25, 0.25, 0.25) | |
2079 | obj28.BrickColor = BrickColor.new("Hot pink") | |
2080 | obj28.Friction = 0.30000001192093 | |
2081 | obj28.Shape = Enum.PartType.Ball | |
2082 | obj28.Parent = obj2 | |
2083 | ||
2084 | -- 29 - Part | |
2085 | local obj29 = Instance.new("Part") | |
2086 | obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2087 | obj29.CanCollide = false | |
2088 | obj29.TopSurface = Enum.SurfaceType.Smooth | |
2089 | obj29.BottomSurface = Enum.SurfaceType.Smooth | |
2090 | obj29.Material = Enum.Material.SmoothPlastic | |
2091 | obj29.Size = Vector3.new(0.25, 0.25, 0.25) | |
2092 | obj29.BrickColor = BrickColor.new("Hot pink") | |
2093 | obj29.Friction = 0.30000001192093 | |
2094 | obj29.Shape = Enum.PartType.Ball | |
2095 | obj29.Parent = obj2 | |
2096 | ||
2097 | -- 30 - Part | |
2098 | local obj30 = Instance.new("Part") | |
2099 | obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2100 | obj30.CanCollide = false | |
2101 | obj30.TopSurface = Enum.SurfaceType.Smooth | |
2102 | obj30.BottomSurface = Enum.SurfaceType.Smooth | |
2103 | obj30.Material = Enum.Material.SmoothPlastic | |
2104 | obj30.Size = Vector3.new(0.25, 0.25, 0.25) | |
2105 | obj30.BrickColor = BrickColor.new("Hot pink") | |
2106 | obj30.Friction = 0.30000001192093 | |
2107 | obj30.Shape = Enum.PartType.Ball | |
2108 | obj30.Parent = obj2 | |
2109 | ||
2110 | -- 31 - Part | |
2111 | local obj31 = Instance.new("Part") | |
2112 | obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2113 | obj31.CanCollide = false | |
2114 | obj31.TopSurface = Enum.SurfaceType.Smooth | |
2115 | obj31.BottomSurface = Enum.SurfaceType.Smooth | |
2116 | obj31.Material = Enum.Material.SmoothPlastic | |
2117 | obj31.Size = Vector3.new(0.25, 0.25, 0.25) | |
2118 | obj31.BrickColor = BrickColor.new("Hot pink") | |
2119 | obj31.Friction = 0.30000001192093 | |
2120 | obj31.Shape = Enum.PartType.Ball | |
2121 | obj31.Parent = obj2 | |
2122 | ||
2123 | -- 32 - Part | |
2124 | local obj32 = Instance.new("Part") | |
2125 | obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2126 | obj32.CanCollide = false | |
2127 | obj32.TopSurface = Enum.SurfaceType.Smooth | |
2128 | obj32.BottomSurface = Enum.SurfaceType.Smooth | |
2129 | obj32.Material = Enum.Material.SmoothPlastic | |
2130 | obj32.Size = Vector3.new(0.25, 0.25, 0.25) | |
2131 | obj32.BrickColor = BrickColor.new("Hot pink") | |
2132 | obj32.Friction = 0.30000001192093 | |
2133 | obj32.Shape = Enum.PartType.Ball | |
2134 | obj32.Parent = obj2 | |
2135 | ||
2136 | -- 33 - Part | |
2137 | local obj33 = Instance.new("Part") | |
2138 | obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2139 | obj33.CanCollide = false | |
2140 | obj33.TopSurface = Enum.SurfaceType.Smooth | |
2141 | obj33.BottomSurface = Enum.SurfaceType.Smooth | |
2142 | obj33.Material = Enum.Material.SmoothPlastic | |
2143 | obj33.Size = Vector3.new(0.25, 0.25, 0.25) | |
2144 | obj33.BrickColor = BrickColor.new("Hot pink") | |
2145 | obj33.Friction = 0.30000001192093 | |
2146 | obj33.Shape = Enum.PartType.Ball | |
2147 | obj33.Parent = obj2 | |
2148 | ||
2149 | -- 34 - Part | |
2150 | local obj34 = Instance.new("Part") | |
2151 | obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2152 | obj34.CanCollide = false | |
2153 | obj34.TopSurface = Enum.SurfaceType.Smooth | |
2154 | obj34.BottomSurface = Enum.SurfaceType.Smooth | |
2155 | obj34.Material = Enum.Material.SmoothPlastic | |
2156 | obj34.Size = Vector3.new(0.25, 0.25, 0.25) | |
2157 | obj34.BrickColor = BrickColor.new("Hot pink") | |
2158 | obj34.Friction = 0.30000001192093 | |
2159 | obj34.Shape = Enum.PartType.Ball | |
2160 | obj34.Parent = obj2 | |
2161 | ||
2162 | -- 35 - Part | |
2163 | local obj35 = Instance.new("Part") | |
2164 | obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2165 | obj35.CanCollide = false | |
2166 | obj35.TopSurface = Enum.SurfaceType.Smooth | |
2167 | obj35.BottomSurface = Enum.SurfaceType.Smooth | |
2168 | obj35.Material = Enum.Material.SmoothPlastic | |
2169 | obj35.Size = Vector3.new(0.25, 0.25, 0.25) | |
2170 | obj35.BrickColor = BrickColor.new("Hot pink") | |
2171 | obj35.Friction = 0.30000001192093 | |
2172 | obj35.Shape = Enum.PartType.Ball | |
2173 | obj35.Parent = obj2 | |
2174 | ||
2175 | -- 36 - Part | |
2176 | local obj36 = Instance.new("Part") | |
2177 | obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2178 | obj36.CanCollide = false | |
2179 | obj36.TopSurface = Enum.SurfaceType.Smooth | |
2180 | obj36.BottomSurface = Enum.SurfaceType.Smooth | |
2181 | obj36.Material = Enum.Material.SmoothPlastic | |
2182 | obj36.Size = Vector3.new(0.25, 0.25, 0.25) | |
2183 | obj36.BrickColor = BrickColor.new("Hot pink") | |
2184 | obj36.Friction = 0.30000001192093 | |
2185 | obj36.Shape = Enum.PartType.Ball | |
2186 | obj36.Parent = obj2 | |
2187 | ||
2188 | -- 37 - Part | |
2189 | local obj37 = Instance.new("Part") | |
2190 | obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2191 | obj37.CanCollide = false | |
2192 | obj37.TopSurface = Enum.SurfaceType.Smooth | |
2193 | obj37.BottomSurface = Enum.SurfaceType.Smooth | |
2194 | obj37.Material = Enum.Material.SmoothPlastic | |
2195 | obj37.Size = Vector3.new(0.25, 0.25, 0.25) | |
2196 | obj37.BrickColor = BrickColor.new("Hot pink") | |
2197 | obj37.Friction = 0.30000001192093 | |
2198 | obj37.Shape = Enum.PartType.Ball | |
2199 | obj37.Parent = obj2 | |
2200 | ||
2201 | -- 38 - Part | |
2202 | local obj38 = Instance.new("Part") | |
2203 | obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2204 | obj38.CanCollide = false | |
2205 | obj38.TopSurface = Enum.SurfaceType.Smooth | |
2206 | obj38.BottomSurface = Enum.SurfaceType.Smooth | |
2207 | obj38.Material = Enum.Material.SmoothPlastic | |
2208 | obj38.Size = Vector3.new(0.25, 0.25, 0.25) | |
2209 | obj38.BrickColor = BrickColor.new("Hot pink") | |
2210 | obj38.Friction = 0.30000001192093 | |
2211 | obj38.Shape = Enum.PartType.Ball | |
2212 | obj38.Parent = obj2 | |
2213 | ||
2214 | -- 39 - Part | |
2215 | local obj39 = Instance.new("Part") | |
2216 | obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2217 | obj39.CanCollide = false | |
2218 | obj39.TopSurface = Enum.SurfaceType.Smooth | |
2219 | obj39.BottomSurface = Enum.SurfaceType.Smooth | |
2220 | obj39.Material = Enum.Material.SmoothPlastic | |
2221 | obj39.Size = Vector3.new(0.25, 0.25, 0.25) | |
2222 | obj39.BrickColor = BrickColor.new("Hot pink") | |
2223 | obj39.Friction = 0.30000001192093 | |
2224 | obj39.Shape = Enum.PartType.Ball | |
2225 | obj39.Parent = obj2 | |
2226 | ||
2227 | -- 40 - Part | |
2228 | local obj40 = Instance.new("Part") | |
2229 | obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2230 | obj40.CanCollide = false | |
2231 | obj40.TopSurface = Enum.SurfaceType.Smooth | |
2232 | obj40.BottomSurface = Enum.SurfaceType.Smooth | |
2233 | obj40.Material = Enum.Material.SmoothPlastic | |
2234 | obj40.Size = Vector3.new(0.25, 0.25, 0.25) | |
2235 | obj40.BrickColor = BrickColor.new("Hot pink") | |
2236 | obj40.Friction = 0.30000001192093 | |
2237 | obj40.Shape = Enum.PartType.Ball | |
2238 | obj40.Parent = obj2 | |
2239 | ||
2240 | -- 41 - stretches | |
2241 | local obj41 = Instance.new("Model") | |
2242 | obj41.Name = "stretches" | |
2243 | obj41.Parent = obj1 | |
2244 | ||
2245 | -- 42 - stretchlol | |
2246 | local obj42 = Instance.new("Part") | |
2247 | obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2248 | obj42.CanCollide = false | |
2249 | obj42.Transparency = 1 | |
2250 | obj42.TopSurface = Enum.SurfaceType.Smooth | |
2251 | obj42.BottomSurface = Enum.SurfaceType.Smooth | |
2252 | obj42.Material = Enum.Material.SmoothPlastic | |
2253 | obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2254 | obj42.BrickColor = BrickColor.new("Pastel brown") | |
2255 | obj42.Friction = 0.30000001192093 | |
2256 | obj42.Shape = Enum.PartType.Ball | |
2257 | obj42.Name = "stretchlol" | |
2258 | obj42.Parent = obj41 | |
2259 | ||
2260 | -- 43 - stretchlol | |
2261 | local obj43 = Instance.new("Part") | |
2262 | obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2263 | obj43.CanCollide = false | |
2264 | obj43.Transparency = 1 | |
2265 | obj43.TopSurface = Enum.SurfaceType.Smooth | |
2266 | obj43.BottomSurface = Enum.SurfaceType.Smooth | |
2267 | obj43.Material = Enum.Material.SmoothPlastic | |
2268 | obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2269 | obj43.BrickColor = BrickColor.new("Pastel brown") | |
2270 | obj43.Friction = 0.30000001192093 | |
2271 | obj43.Shape = Enum.PartType.Ball | |
2272 | obj43.Name = "stretchlol" | |
2273 | obj43.Parent = obj41 | |
2274 | ||
2275 | -- 44 - stretchlol | |
2276 | local obj44 = Instance.new("Part") | |
2277 | obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2278 | obj44.CanCollide = false | |
2279 | obj44.Transparency = 1 | |
2280 | obj44.TopSurface = Enum.SurfaceType.Smooth | |
2281 | obj44.BottomSurface = Enum.SurfaceType.Smooth | |
2282 | obj44.Material = Enum.Material.SmoothPlastic | |
2283 | obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2284 | obj44.BrickColor = BrickColor.new("Pastel brown") | |
2285 | obj44.Friction = 0.30000001192093 | |
2286 | obj44.Shape = Enum.PartType.Ball | |
2287 | obj44.Name = "stretchlol" | |
2288 | obj44.Parent = obj41 | |
2289 | ||
2290 | -- 45 - stretchlol | |
2291 | local obj45 = Instance.new("Part") | |
2292 | obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2293 | obj45.CanCollide = false | |
2294 | obj45.Transparency = 1 | |
2295 | obj45.TopSurface = Enum.SurfaceType.Smooth | |
2296 | obj45.BottomSurface = Enum.SurfaceType.Smooth | |
2297 | obj45.Material = Enum.Material.SmoothPlastic | |
2298 | obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2299 | obj45.BrickColor = BrickColor.new("Pastel brown") | |
2300 | obj45.Friction = 0.30000001192093 | |
2301 | obj45.Shape = Enum.PartType.Ball | |
2302 | obj45.Name = "stretchlol" | |
2303 | obj45.Parent = obj41 | |
2304 | ||
2305 | -- 46 - stretchlol | |
2306 | local obj46 = Instance.new("Part") | |
2307 | obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2308 | obj46.CanCollide = false | |
2309 | obj46.Transparency = 1 | |
2310 | obj46.TopSurface = Enum.SurfaceType.Smooth | |
2311 | obj46.BottomSurface = Enum.SurfaceType.Smooth | |
2312 | obj46.Material = Enum.Material.SmoothPlastic | |
2313 | obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2314 | obj46.BrickColor = BrickColor.new("Pastel brown") | |
2315 | obj46.Friction = 0.30000001192093 | |
2316 | obj46.Shape = Enum.PartType.Ball | |
2317 | obj46.Name = "stretchlol" | |
2318 | obj46.Parent = obj41 | |
2319 | ||
2320 | -- 47 - stretchlol | |
2321 | local obj47 = Instance.new("Part") | |
2322 | obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2323 | obj47.CanCollide = false | |
2324 | obj47.Transparency = 1 | |
2325 | obj47.TopSurface = Enum.SurfaceType.Smooth | |
2326 | obj47.BottomSurface = Enum.SurfaceType.Smooth | |
2327 | obj47.Material = Enum.Material.SmoothPlastic | |
2328 | obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2329 | obj47.BrickColor = BrickColor.new("Pastel brown") | |
2330 | obj47.Friction = 0.30000001192093 | |
2331 | obj47.Shape = Enum.PartType.Ball | |
2332 | obj47.Name = "stretchlol" | |
2333 | obj47.Parent = obj41 | |
2334 | ||
2335 | -- 48 - stretchlol | |
2336 | local obj48 = Instance.new("Part") | |
2337 | obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2338 | obj48.CanCollide = false | |
2339 | obj48.Transparency = 1 | |
2340 | obj48.TopSurface = Enum.SurfaceType.Smooth | |
2341 | obj48.BottomSurface = Enum.SurfaceType.Smooth | |
2342 | obj48.Material = Enum.Material.SmoothPlastic | |
2343 | obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2344 | obj48.BrickColor = BrickColor.new("Pastel brown") | |
2345 | obj48.Friction = 0.30000001192093 | |
2346 | obj48.Shape = Enum.PartType.Ball | |
2347 | obj48.Name = "stretchlol" | |
2348 | obj48.Parent = obj41 | |
2349 | ||
2350 | -- 49 - stretchlol | |
2351 | local obj49 = Instance.new("Part") | |
2352 | obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2353 | obj49.CanCollide = false | |
2354 | obj49.Transparency = 1 | |
2355 | obj49.TopSurface = Enum.SurfaceType.Smooth | |
2356 | obj49.BottomSurface = Enum.SurfaceType.Smooth | |
2357 | obj49.Material = Enum.Material.SmoothPlastic | |
2358 | obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2359 | obj49.BrickColor = BrickColor.new("Pastel brown") | |
2360 | obj49.Friction = 0.30000001192093 | |
2361 | obj49.Shape = Enum.PartType.Ball | |
2362 | obj49.Name = "stretchlol" | |
2363 | obj49.Parent = obj41 | |
2364 | ||
2365 | -- 50 - stretchlol | |
2366 | local obj50 = Instance.new("Part") | |
2367 | obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2368 | obj50.CanCollide = false | |
2369 | obj50.Transparency = 1 | |
2370 | obj50.TopSurface = Enum.SurfaceType.Smooth | |
2371 | obj50.BottomSurface = Enum.SurfaceType.Smooth | |
2372 | obj50.Material = Enum.Material.SmoothPlastic | |
2373 | obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2374 | obj50.BrickColor = BrickColor.new("Pastel brown") | |
2375 | obj50.Friction = 0.30000001192093 | |
2376 | obj50.Shape = Enum.PartType.Ball | |
2377 | obj50.Name = "stretchlol" | |
2378 | obj50.Parent = obj41 | |
2379 | ||
2380 | -- 51 - stretchlol | |
2381 | local obj51 = Instance.new("Part") | |
2382 | obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2383 | obj51.CanCollide = false | |
2384 | obj51.Transparency = 1 | |
2385 | obj51.TopSurface = Enum.SurfaceType.Smooth | |
2386 | obj51.BottomSurface = Enum.SurfaceType.Smooth | |
2387 | obj51.Material = Enum.Material.SmoothPlastic | |
2388 | obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2389 | obj51.BrickColor = BrickColor.new("Pastel brown") | |
2390 | obj51.Friction = 0.30000001192093 | |
2391 | obj51.Shape = Enum.PartType.Ball | |
2392 | obj51.Name = "stretchlol" | |
2393 | obj51.Parent = obj41 | |
2394 | ||
2395 | -- 52 - stretchlol | |
2396 | local obj52 = Instance.new("Part") | |
2397 | obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2398 | obj52.CanCollide = false | |
2399 | obj52.Transparency = 1 | |
2400 | obj52.TopSurface = Enum.SurfaceType.Smooth | |
2401 | obj52.BottomSurface = Enum.SurfaceType.Smooth | |
2402 | obj52.Material = Enum.Material.SmoothPlastic | |
2403 | obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2404 | obj52.BrickColor = BrickColor.new("Pastel brown") | |
2405 | obj52.Friction = 0.30000001192093 | |
2406 | obj52.Shape = Enum.PartType.Ball | |
2407 | obj52.Name = "stretchlol" | |
2408 | obj52.Parent = obj41 | |
2409 | ||
2410 | -- 53 - stretchlol | |
2411 | local obj53 = Instance.new("Part") | |
2412 | obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) | |
2413 | obj53.CanCollide = false | |
2414 | obj53.Transparency = 1 | |
2415 | obj53.TopSurface = Enum.SurfaceType.Smooth | |
2416 | obj53.BottomSurface = Enum.SurfaceType.Smooth | |
2417 | obj53.Material = Enum.Material.SmoothPlastic | |
2418 | obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995) | |
2419 | obj53.BrickColor = BrickColor.new("Pastel brown") | |
2420 | obj53.Friction = 0.30000001192093 | |
2421 | obj53.Shape = Enum.PartType.Cylinder | |
2422 | obj53.Name = "stretchlol" | |
2423 | obj53.Parent = obj41 | |
2424 | ||
2425 | -- 54 - stretchlol | |
2426 | local obj54 = Instance.new("Part") | |
2427 | obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2428 | obj54.CanCollide = false | |
2429 | obj54.Transparency = 1 | |
2430 | obj54.TopSurface = Enum.SurfaceType.Smooth | |
2431 | obj54.BottomSurface = Enum.SurfaceType.Smooth | |
2432 | obj54.Material = Enum.Material.SmoothPlastic | |
2433 | obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2434 | obj54.BrickColor = BrickColor.new("Pastel brown") | |
2435 | obj54.Friction = 0.30000001192093 | |
2436 | obj54.Shape = Enum.PartType.Ball | |
2437 | obj54.Name = "stretchlol" | |
2438 | obj54.Parent = obj41 | |
2439 | ||
2440 | -- 55 - stretchlol | |
2441 | local obj55 = Instance.new("Part") | |
2442 | obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2443 | obj55.CanCollide = false | |
2444 | obj55.Transparency = 1 | |
2445 | obj55.TopSurface = Enum.SurfaceType.Smooth | |
2446 | obj55.BottomSurface = Enum.SurfaceType.Smooth | |
2447 | obj55.Material = Enum.Material.SmoothPlastic | |
2448 | obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2449 | obj55.BrickColor = BrickColor.new("Pastel brown") | |
2450 | obj55.Friction = 0.30000001192093 | |
2451 | obj55.Shape = Enum.PartType.Ball | |
2452 | obj55.Name = "stretchlol" | |
2453 | obj55.Parent = obj41 | |
2454 | ||
2455 | -- 56 - stretchlol | |
2456 | local obj56 = Instance.new("Part") | |
2457 | obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2458 | obj56.CanCollide = false | |
2459 | obj56.Transparency = 1 | |
2460 | obj56.TopSurface = Enum.SurfaceType.Smooth | |
2461 | obj56.BottomSurface = Enum.SurfaceType.Smooth | |
2462 | obj56.Material = Enum.Material.SmoothPlastic | |
2463 | obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2464 | obj56.BrickColor = BrickColor.new("Pastel brown") | |
2465 | obj56.Friction = 0.30000001192093 | |
2466 | obj56.Shape = Enum.PartType.Ball | |
2467 | obj56.Name = "stretchlol" | |
2468 | obj56.Parent = obj41 | |
2469 | ||
2470 | -- 57 - stretchlol | |
2471 | local obj57 = Instance.new("Part") | |
2472 | obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2473 | obj57.CanCollide = false | |
2474 | obj57.Transparency = 1 | |
2475 | obj57.TopSurface = Enum.SurfaceType.Smooth | |
2476 | obj57.BottomSurface = Enum.SurfaceType.Smooth | |
2477 | obj57.Material = Enum.Material.SmoothPlastic | |
2478 | obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2479 | obj57.BrickColor = BrickColor.new("Pastel brown") | |
2480 | obj57.Friction = 0.30000001192093 | |
2481 | obj57.Shape = Enum.PartType.Ball | |
2482 | obj57.Name = "stretchlol" | |
2483 | obj57.Parent = obj41 | |
2484 | ||
2485 | -- 58 - stretchlol | |
2486 | local obj58 = Instance.new("Part") | |
2487 | obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2488 | obj58.CanCollide = false | |
2489 | obj58.Transparency = 1 | |
2490 | obj58.TopSurface = Enum.SurfaceType.Smooth | |
2491 | obj58.BottomSurface = Enum.SurfaceType.Smooth | |
2492 | obj58.Material = Enum.Material.SmoothPlastic | |
2493 | obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2494 | obj58.BrickColor = BrickColor.new("Pastel brown") | |
2495 | obj58.Friction = 0.30000001192093 | |
2496 | obj58.Shape = Enum.PartType.Ball | |
2497 | obj58.Name = "stretchlol" | |
2498 | obj58.Parent = obj41 | |
2499 | ||
2500 | -- 59 - stretchlol | |
2501 | local obj59 = Instance.new("Part") | |
2502 | obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2503 | obj59.CanCollide = false | |
2504 | obj59.Transparency = 1 | |
2505 | obj59.TopSurface = Enum.SurfaceType.Smooth | |
2506 | obj59.BottomSurface = Enum.SurfaceType.Smooth | |
2507 | obj59.Material = Enum.Material.SmoothPlastic | |
2508 | obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2509 | obj59.BrickColor = BrickColor.new("Pastel brown") | |
2510 | obj59.Friction = 0.30000001192093 | |
2511 | obj59.Shape = Enum.PartType.Ball | |
2512 | obj59.Name = "stretchlol" | |
2513 | obj59.Parent = obj41 | |
2514 | ||
2515 | -- 60 - stretchlol | |
2516 | local obj60 = Instance.new("Part") | |
2517 | obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) | |
2518 | obj60.CanCollide = false | |
2519 | obj60.Transparency = 1 | |
2520 | obj60.TopSurface = Enum.SurfaceType.Smooth | |
2521 | obj60.BottomSurface = Enum.SurfaceType.Smooth | |
2522 | obj60.Material = Enum.Material.SmoothPlastic | |
2523 | obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2524 | obj60.BrickColor = BrickColor.new("Pastel brown") | |
2525 | obj60.Friction = 0.30000001192093 | |
2526 | obj60.Shape = Enum.PartType.Ball | |
2527 | obj60.Name = "stretchlol" | |
2528 | obj60.Parent = obj41 | |
2529 | ||
2530 | -- 61 - stretchlol | |
2531 | local obj61 = Instance.new("Part") | |
2532 | obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2533 | obj61.CanCollide = false | |
2534 | obj61.Transparency = 1 | |
2535 | obj61.TopSurface = Enum.SurfaceType.Smooth | |
2536 | obj61.BottomSurface = Enum.SurfaceType.Smooth | |
2537 | obj61.Material = Enum.Material.SmoothPlastic | |
2538 | obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2539 | obj61.BrickColor = BrickColor.new("Pastel brown") | |
2540 | obj61.Friction = 0.30000001192093 | |
2541 | obj61.Shape = Enum.PartType.Ball | |
2542 | obj61.Name = "stretchlol" | |
2543 | obj61.Parent = obj41 | |
2544 | ||
2545 | -- 62 - stretchlol | |
2546 | local obj62 = Instance.new("Part") | |
2547 | obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2548 | obj62.CanCollide = false | |
2549 | obj62.Transparency = 1 | |
2550 | obj62.TopSurface = Enum.SurfaceType.Smooth | |
2551 | obj62.BottomSurface = Enum.SurfaceType.Smooth | |
2552 | obj62.Material = Enum.Material.SmoothPlastic | |
2553 | obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2554 | obj62.BrickColor = BrickColor.new("Pastel brown") | |
2555 | obj62.Friction = 0.30000001192093 | |
2556 | obj62.Shape = Enum.PartType.Ball | |
2557 | obj62.Name = "stretchlol" | |
2558 | obj62.Parent = obj41 | |
2559 | ||
2560 | -- 63 - stretchlol | |
2561 | local obj63 = Instance.new("Part") | |
2562 | obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2563 | obj63.CanCollide = false | |
2564 | obj63.Transparency = 1 | |
2565 | obj63.TopSurface = Enum.SurfaceType.Smooth | |
2566 | obj63.BottomSurface = Enum.SurfaceType.Smooth | |
2567 | obj63.Material = Enum.Material.SmoothPlastic | |
2568 | obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2569 | obj63.BrickColor = BrickColor.new("Pastel brown") | |
2570 | obj63.Friction = 0.30000001192093 | |
2571 | obj63.Shape = Enum.PartType.Ball | |
2572 | obj63.Name = "stretchlol" | |
2573 | obj63.Parent = obj41 | |
2574 | ||
2575 | -- 64 - stretchlol | |
2576 | local obj64 = Instance.new("Part") | |
2577 | obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2578 | obj64.CanCollide = false | |
2579 | obj64.Transparency = 1 | |
2580 | obj64.TopSurface = Enum.SurfaceType.Smooth | |
2581 | obj64.BottomSurface = Enum.SurfaceType.Smooth | |
2582 | obj64.Material = Enum.Material.SmoothPlastic | |
2583 | obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2584 | obj64.BrickColor = BrickColor.new("Pastel brown") | |
2585 | obj64.Friction = 0.30000001192093 | |
2586 | obj64.Shape = Enum.PartType.Ball | |
2587 | obj64.Name = "stretchlol" | |
2588 | obj64.Parent = obj41 | |
2589 | ||
2590 | -- 65 - stretchlol | |
2591 | local obj65 = Instance.new("Part") | |
2592 | obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2593 | obj65.CanCollide = false | |
2594 | obj65.Transparency = 1 | |
2595 | obj65.TopSurface = Enum.SurfaceType.Smooth | |
2596 | obj65.BottomSurface = Enum.SurfaceType.Smooth | |
2597 | obj65.Material = Enum.Material.SmoothPlastic | |
2598 | obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2599 | obj65.BrickColor = BrickColor.new("Pastel brown") | |
2600 | obj65.Friction = 0.30000001192093 | |
2601 | obj65.Shape = Enum.PartType.Ball | |
2602 | obj65.Name = "stretchlol" | |
2603 | obj65.Parent = obj41 | |
2604 | ||
2605 | -- 66 - stretchlol | |
2606 | local obj66 = Instance.new("Part") | |
2607 | obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2608 | obj66.CanCollide = false | |
2609 | obj66.Transparency = 1 | |
2610 | obj66.TopSurface = Enum.SurfaceType.Smooth | |
2611 | obj66.BottomSurface = Enum.SurfaceType.Smooth | |
2612 | obj66.Material = Enum.Material.SmoothPlastic | |
2613 | obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2614 | obj66.BrickColor = BrickColor.new("Pastel brown") | |
2615 | obj66.Friction = 0.30000001192093 | |
2616 | obj66.Shape = Enum.PartType.Ball | |
2617 | obj66.Name = "stretchlol" | |
2618 | obj66.Parent = obj41 | |
2619 | ||
2620 | -- 67 - stretchlol | |
2621 | local obj67 = Instance.new("Part") | |
2622 | obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2623 | obj67.CanCollide = false | |
2624 | obj67.Transparency = 1 | |
2625 | obj67.TopSurface = Enum.SurfaceType.Smooth | |
2626 | obj67.BottomSurface = Enum.SurfaceType.Smooth | |
2627 | obj67.Material = Enum.Material.SmoothPlastic | |
2628 | obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2629 | obj67.BrickColor = BrickColor.new("Pastel brown") | |
2630 | obj67.Friction = 0.30000001192093 | |
2631 | obj67.Shape = Enum.PartType.Ball | |
2632 | obj67.Name = "stretchlol" | |
2633 | obj67.Parent = obj41 | |
2634 | ||
2635 | -- 68 - stretchlol | |
2636 | local obj68 = Instance.new("Part") | |
2637 | obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2638 | obj68.CanCollide = false | |
2639 | obj68.Transparency = 1 | |
2640 | obj68.TopSurface = Enum.SurfaceType.Smooth | |
2641 | obj68.BottomSurface = Enum.SurfaceType.Smooth | |
2642 | obj68.Material = Enum.Material.SmoothPlastic | |
2643 | obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2644 | obj68.BrickColor = BrickColor.new("Pastel brown") | |
2645 | obj68.Friction = 0.30000001192093 | |
2646 | obj68.Shape = Enum.PartType.Ball | |
2647 | obj68.Name = "stretchlol" | |
2648 | obj68.Parent = obj41 | |
2649 | ||
2650 | -- 69 - stretchlol | |
2651 | local obj69 = Instance.new("Part") | |
2652 | obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2653 | obj69.CanCollide = false | |
2654 | obj69.Transparency = 1 | |
2655 | obj69.TopSurface = Enum.SurfaceType.Smooth | |
2656 | obj69.BottomSurface = Enum.SurfaceType.Smooth | |
2657 | obj69.Material = Enum.Material.SmoothPlastic | |
2658 | obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
2659 | obj69.BrickColor = BrickColor.new("Pastel brown") | |
2660 | obj69.Friction = 0.30000001192093 | |
2661 | obj69.Shape = Enum.PartType.Ball | |
2662 | obj69.Name = "stretchlol" | |
2663 | obj69.Parent = obj41 | |
2664 | ||
2665 | -- 70 - stretchlol | |
2666 | local obj70 = Instance.new("Part") | |
2667 | obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2668 | obj70.CanCollide = false | |
2669 | obj70.Transparency = 1 | |
2670 | obj70.TopSurface = Enum.SurfaceType.Smooth | |
2671 | obj70.BottomSurface = Enum.SurfaceType.Smooth | |
2672 | obj70.Material = Enum.Material.SmoothPlastic | |
2673 | obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2674 | obj70.BrickColor = BrickColor.new("Pastel brown") | |
2675 | obj70.Friction = 0.30000001192093 | |
2676 | obj70.Shape = Enum.PartType.Ball | |
2677 | obj70.Name = "stretchlol" | |
2678 | obj70.Parent = obj41 | |
2679 | ||
2680 | -- 71 - stretchlol | |
2681 | local obj71 = Instance.new("Part") | |
2682 | obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2683 | obj71.CanCollide = false | |
2684 | obj71.Transparency = 1 | |
2685 | obj71.TopSurface = Enum.SurfaceType.Smooth | |
2686 | obj71.BottomSurface = Enum.SurfaceType.Smooth | |
2687 | obj71.Material = Enum.Material.SmoothPlastic | |
2688 | obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2689 | obj71.BrickColor = BrickColor.new("Pastel brown") | |
2690 | obj71.Friction = 0.30000001192093 | |
2691 | obj71.Shape = Enum.PartType.Ball | |
2692 | obj71.Name = "stretchlol" | |
2693 | obj71.Parent = obj41 | |
2694 | ||
2695 | -- 72 - stretchlol | |
2696 | local obj72 = Instance.new("Part") | |
2697 | obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2698 | obj72.CanCollide = false | |
2699 | obj72.Transparency = 1 | |
2700 | obj72.TopSurface = Enum.SurfaceType.Smooth | |
2701 | obj72.BottomSurface = Enum.SurfaceType.Smooth | |
2702 | obj72.Material = Enum.Material.SmoothPlastic | |
2703 | obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2704 | obj72.BrickColor = BrickColor.new("Pastel brown") | |
2705 | obj72.Friction = 0.30000001192093 | |
2706 | obj72.Shape = Enum.PartType.Ball | |
2707 | obj72.Name = "stretchlol" | |
2708 | obj72.Parent = obj41 | |
2709 | ||
2710 | -- 73 - stretchlol | |
2711 | local obj73 = Instance.new("Part") | |
2712 | obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) | |
2713 | obj73.CanCollide = false | |
2714 | obj73.Transparency = 1 | |
2715 | obj73.TopSurface = Enum.SurfaceType.Smooth | |
2716 | obj73.BottomSurface = Enum.SurfaceType.Smooth | |
2717 | obj73.Material = Enum.Material.SmoothPlastic | |
2718 | obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2719 | obj73.BrickColor = BrickColor.new("Pastel brown") | |
2720 | obj73.Friction = 0.30000001192093 | |
2721 | obj73.Shape = Enum.PartType.Ball | |
2722 | obj73.Name = "stretchlol" | |
2723 | obj73.Parent = obj41 | |
2724 | ||
2725 | -- 74 - stretchlol | |
2726 | local obj74 = Instance.new("Part") | |
2727 | obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) | |
2728 | obj74.CanCollide = false | |
2729 | obj74.Transparency = 1 | |
2730 | obj74.TopSurface = Enum.SurfaceType.Smooth | |
2731 | obj74.BottomSurface = Enum.SurfaceType.Smooth | |
2732 | obj74.Material = Enum.Material.SmoothPlastic | |
2733 | obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2734 | obj74.BrickColor = BrickColor.new("Pastel brown") | |
2735 | obj74.Friction = 0.30000001192093 | |
2736 | obj74.Shape = Enum.PartType.Ball | |
2737 | obj74.Name = "stretchlol" | |
2738 | obj74.Parent = obj41 | |
2739 | ||
2740 | -- 75 - stretchlol | |
2741 | local obj75 = Instance.new("Part") | |
2742 | obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2743 | obj75.CanCollide = false | |
2744 | obj75.Transparency = 1 | |
2745 | obj75.TopSurface = Enum.SurfaceType.Smooth | |
2746 | obj75.BottomSurface = Enum.SurfaceType.Smooth | |
2747 | obj75.Material = Enum.Material.SmoothPlastic | |
2748 | obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2749 | obj75.BrickColor = BrickColor.new("Pastel brown") | |
2750 | obj75.Friction = 0.30000001192093 | |
2751 | obj75.Shape = Enum.PartType.Ball | |
2752 | obj75.Name = "stretchlol" | |
2753 | obj75.Parent = obj41 | |
2754 | ||
2755 | -- 76 - stretchlol | |
2756 | local obj76 = Instance.new("Part") | |
2757 | obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) | |
2758 | obj76.CanCollide = false | |
2759 | obj76.Transparency = 1 | |
2760 | obj76.TopSurface = Enum.SurfaceType.Smooth | |
2761 | obj76.BottomSurface = Enum.SurfaceType.Smooth | |
2762 | obj76.Material = Enum.Material.SmoothPlastic | |
2763 | obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
2764 | obj76.BrickColor = BrickColor.new("Pastel brown") | |
2765 | obj76.Friction = 0.30000001192093 | |
2766 | obj76.Shape = Enum.PartType.Ball | |
2767 | obj76.Name = "stretchlol" | |
2768 | obj76.Parent = obj41 | |
2769 | obj1.PrimaryPart = obj4 | |
2770 | ||
2771 | local stretches = obj41:GetChildren() | |
2772 | for i,v in pairs(stretches) do | |
2773 | v.Anchored = true | |
2774 | v.Parent = obj1 | |
2775 | end | |
2776 | for i,v in pairs(obj2:GetChildren()) do | |
2777 | v.Anchored = true | |
2778 | v.Parent = obj1 | |
2779 | end | |
2780 | obj2:Destroy() | |
2781 | obj41:Destroy() | |
2782 | ||
2783 | local previous = nil | |
2784 | for i,v in pairs(obj1:GetChildren()) do | |
2785 | if v:IsA('BasePart') then | |
2786 | if previous then | |
2787 | local weld = Instance.new('Weld',v) | |
2788 | weld.Part0 = v | |
2789 | weld.Part1 = previous | |
2790 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
2791 | previous.Anchored = false | |
2792 | previous.CanCollide = false | |
2793 | local vee = v | |
2794 | weld.AncestryChanged:connect(function(mez,par) | |
2795 | wait() | |
2796 | weld.Parent = vee | |
2797 | end) | |
2798 | end | |
2799 | previous = v | |
2800 | end | |
2801 | end | |
2802 | previous.Anchored = false | |
2803 | previous.CanCollide = false | |
2804 | obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0)) | |
2805 | -- 2 - Part | |
2806 | local ree = Instance.new("Part") | |
2807 | ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5)) | |
2808 | ree.Transparency = 0.80000001192093 | |
2809 | ree.Material = Enum.Material.Neon | |
2810 | ree.CFrame = CFrame.new(obj4.Position) | |
2811 | ree.Size = Vector3.new(5, math.huge, 5) | |
2812 | ree.BrickColor = BrickColor.new("New Yeller") | |
2813 | ree.Friction = 0.30000001192093 | |
2814 | ree.Shape = Enum.PartType.Block | |
2815 | ree.Parent = handle | |
2816 | ||
2817 | -- 3 - Mesh | |
2818 | local ree2 = Instance.new("CylinderMesh") | |
2819 | ree2.Parent = ree | |
2820 | local thing = Instance.new('BodyPosition',obj9) | |
2821 | local thing2 = Instance.new('BodyPosition',ree) | |
2822 | thing2.P = 100000 | |
2823 | thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2824 | thing.MaxForce = Vector3.new(10000,10000,10000) | |
2825 | for i=1,100 do | |
2826 | thing2.Position = obj4.Position | |
2827 | obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0)) | |
2828 | thing.Position = handle.Position+(handle.CFrame.rightVector*0.5) | |
2829 | wait() | |
2830 | end | |
2831 | thing:Destroy() | |
2832 | local lmfao = Instance.new('Weld',obj4) | |
2833 | lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0) | |
2834 | lmfao.Part0 = obj4 | |
2835 | lmfao.Part1 = handle | |
2836 | ree:Destroy() | |
2837 | working = false | |
2838 | end | |
2839 | ||
2840 | function katanamode() | |
2841 | blademode = "katana" | |
2842 | -- 1 - weeb shit | |
2843 | local weebshit1 = handle | |
2844 | ||
2845 | -- 16 - top cap | |
2846 | local weebshit16 = Instance.new("Part") | |
2847 | weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
2848 | weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2849 | weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2850 | weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2851 | weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2852 | weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2853 | weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65 | |
2854 | weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2855 | weebshit16.Anchored = false | |
2856 | weebshit16.BrickColor = BrickColor.new("Really black") | |
2857 | weebshit16.Friction = 0.30000001192093 | |
2858 | weebshit16.Shape = Enum.PartType.Cylinder | |
2859 | weebshit16.Name = "top cap" | |
2860 | weebshit16.Parent = weebshit1 | |
2861 | local weld = Instance.new('Weld',weebshit16) | |
2862 | weld.Part0 = weebshit16 | |
2863 | weld.Part1 = handle | |
2864 | weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048) | |
2865 | --weld,part,endsize,endpos,amntime | |
2866 | grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1) | |
2867 | ||
2868 | -- 8 - blade | |
2869 | local weebshit8 = Instance.new("Part") | |
2870 | weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2871 | weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2872 | weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2873 | weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2874 | weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2875 | weebshit8.Material = Enum.Material.Metal | |
2876 | weebshit8.Size = Vector3.new(0.23,0.05, 0.1) | |
2877 | weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2878 | weebshit8.Anchored = false | |
2879 | weebshit8.BrickColor = BrickColor.new("Dark stone grey") | |
2880 | weebshit8.Friction = 0.30000001192093 | |
2881 | weebshit8.Shape = Enum.PartType.Block | |
2882 | weebshit8.Name = "blade" | |
2883 | weebshit8.Parent = weebshit1 | |
2884 | weebshit8:BreakJoints() | |
2885 | local bld1 = weebshit8 | |
2886 | local weld2 = Instance.new('Weld',weebshit8) | |
2887 | weld2.Part0 = weebshit8 | |
2888 | weld2.Part1 = handle | |
2889 | weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)) | |
2890 | local coru=coroutine.wrap(function() | |
2891 | grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05) | |
2892 | end) | |
2893 | coru() | |
2894 | ||
2895 | -- 9 - blade | |
2896 | local weebshit9 = Instance.new("Part") | |
2897 | weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
2898 | weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2899 | weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2900 | weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2901 | weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2902 | weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2903 | weebshit9.Material = Enum.Material.Metal | |
2904 | weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
2905 | weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2906 | weebshit9.Anchored = false | |
2907 | weebshit9.BrickColor = BrickColor.new("Pearl") | |
2908 | weebshit9.Friction = 0.30000001192093 | |
2909 | weebshit9.Shape = Enum.PartType.Block | |
2910 | weebshit9.Name = "blade" | |
2911 | weebshit9.Parent = weebshit8 | |
2912 | local bld2 = weebshit9 | |
2913 | local weld3 = Instance.new('Weld',weebshit9) | |
2914 | weld3.Part0 = weebshit9 | |
2915 | weld3.Part1 = weebshit8 | |
2916 | weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
2917 | grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05) | |
2918 | -- 10 - blade | |
2919 | local weebshit10 = Instance.new("Part") | |
2920 | weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
2921 | weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2922 | weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2923 | weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2924 | weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2925 | weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2926 | weebshit10.Material = Enum.Material.Metal | |
2927 | weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
2928 | weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2929 | weebshit10.Anchored = false | |
2930 | weebshit10.BrickColor = BrickColor.new("Dark stone grey") | |
2931 | weebshit10.Friction = 0.30000001192093 | |
2932 | weebshit10.Shape = Enum.PartType.Block | |
2933 | weebshit10.Name = "blade" | |
2934 | weebshit10.Parent = weebshit1 | |
2935 | local weld4 = Instance.new('Weld',weebshit10) | |
2936 | weld4.Part0 = weebshit10 | |
2937 | weld4.Part1 = weebshit8 | |
2938 | weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095) | |
2939 | local coru=coroutine.wrap(function() | |
2940 | grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1) | |
2941 | end) | |
2942 | coru() | |
2943 | -- 11 - blade | |
2944 | local weebshit11 = Instance.new("Part") | |
2945 | weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381) | |
2946 | weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2947 | weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2948 | weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2949 | weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2950 | weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2951 | weebshit11.Material = Enum.Material.Metal | |
2952 | weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
2953 | weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2954 | weebshit11.Anchored = false | |
2955 | weebshit11.BrickColor = BrickColor.new("Pearl") | |
2956 | weebshit11.Friction = 0.30000001192093 | |
2957 | weebshit11.Shape = Enum.PartType.Block | |
2958 | weebshit11.Name = "blade" | |
2959 | weebshit11.Parent = weebshit1 | |
2960 | local weld5 = Instance.new('Weld',weebshit10) | |
2961 | weld5.Part0 = weebshit10 | |
2962 | weld5.Part1 = weebshit11 | |
2963 | weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
2964 | grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
2965 | ||
2966 | -- 15 - blade | |
2967 | local weebshit15 = Instance.new("Part") | |
2968 | weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392) | |
2969 | weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2970 | weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2971 | weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2972 | weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2973 | weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
2974 | weebshit15.Material = Enum.Material.Metal | |
2975 | weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009) | |
2976 | weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
2977 | weebshit15.Anchored = false | |
2978 | weebshit15.BrickColor = BrickColor.new("Dark stone grey") | |
2979 | weebshit15.Friction = 0.30000001192093 | |
2980 | weebshit15.Shape = Enum.PartType.Block | |
2981 | weebshit15.Name = "blade" | |
2982 | weebshit15.Parent = weebshit1 | |
2983 | local weld6 = Instance.new('Weld',weebshit15) | |
2984 | weld6.Part0 = weebshit15 | |
2985 | weld6.Part1 = weebshit10 | |
2986 | weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006) | |
2987 | local coru=coroutine.wrap(function() | |
2988 | grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1) | |
2989 | end) | |
2990 | coru() | |
2991 | ||
2992 | -- 12 - blade | |
2993 | local weebshit12 = Instance.new("Part") | |
2994 | weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
2995 | weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
2996 | weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
2997 | weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
2998 | weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
2999 | weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3000 | weebshit12.Material = Enum.Material.Metal | |
3001 | weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
3002 | weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3003 | weebshit12.Anchored = false | |
3004 | weebshit12.BrickColor = BrickColor.new("Pearl") | |
3005 | weebshit12.Friction = 0.30000001192093 | |
3006 | weebshit12.Shape = Enum.PartType.Block | |
3007 | weebshit12.Name = "blade" | |
3008 | weebshit12.Parent = weebshit1 | |
3009 | local weld7 = Instance.new('Weld',weebshit12) | |
3010 | weld7.Part0 = weebshit12 | |
3011 | weld7.Part1 = weebshit15 | |
3012 | weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) | |
3013 | grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
3014 | ||
3015 | -- 14 - blade | |
3016 | local weebshit14 = Instance.new("Part") | |
3017 | weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
3018 | weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3019 | weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3020 | weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3021 | weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3022 | weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3023 | weebshit14.Material = Enum.Material.Metal | |
3024 | weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009) | |
3025 | weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3026 | weebshit14.Anchored = false | |
3027 | weebshit14.BrickColor = BrickColor.new("Dark stone grey") | |
3028 | weebshit14.Friction = 0.30000001192093 | |
3029 | weebshit14.Shape = Enum.PartType.Block | |
3030 | weebshit14.Name = "blade" | |
3031 | weebshit14.Parent = weebshit1 | |
3032 | local weld8 = Instance.new('Weld',weebshit14) | |
3033 | weld8.Part0 = weebshit14 | |
3034 | weld8.Part1 = weebshit15 | |
3035 | weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1) | |
3036 | local coru=coroutine.wrap(function() | |
3037 | grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1) | |
3038 | end) | |
3039 | coru() | |
3040 | ||
3041 | -- 13 - blade | |
3042 | local weebshit13 = Instance.new("Part") | |
3043 | weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592) | |
3044 | weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3045 | weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3046 | weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3047 | weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3048 | weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3049 | weebshit13.Material = Enum.Material.Metal | |
3050 | weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) | |
3051 | weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3052 | weebshit13.Anchored = false | |
3053 | weebshit13.BrickColor = BrickColor.new("Pearl") | |
3054 | weebshit13.Friction = 0.30000001192093 | |
3055 | weebshit13.Shape = Enum.PartType.Block | |
3056 | weebshit13.Name = "blade" | |
3057 | weebshit13.Parent = weebshit1 | |
3058 | local weld9 = Instance.new('Weld',weebshit13) | |
3059 | weld9.Part0 = weebshit13 | |
3060 | weld9.Part1 = weebshit14 | |
3061 | weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
3062 | grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) | |
3063 | ||
3064 | -- 18 - blade | |
3065 | local weebshit18 = Instance.new("WedgePart") | |
3066 | weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
3067 | weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3068 | weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3069 | weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3070 | weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3071 | weebshit18.Material = Enum.Material.Metal | |
3072 | weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108) | |
3073 | weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3074 | weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3075 | weebshit18.Anchored = false | |
3076 | weebshit18.BrickColor = BrickColor.new("Dark stone grey") | |
3077 | weebshit18.Friction = 0.30000001192093 | |
3078 | weebshit18.Name = "blade" | |
3079 | weebshit18.Parent = weebshit1 | |
3080 | local weld10 = Instance.new('Weld',weebshit18) | |
3081 | weld10.Part0 = weebshit18 | |
3082 | weld10.Part1 = weebshit14 | |
3083 | weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0) | |
3084 | local coru=coroutine.wrap(function() | |
3085 | grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1) | |
3086 | end) | |
3087 | coru() | |
3088 | ||
3089 | -- 19 - blade | |
3090 | local weebshit19 = Instance.new("WedgePart") | |
3091 | weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) | |
3092 | weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3093 | weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3094 | weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3095 | weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3096 | weebshit19.Material = Enum.Material.Metal | |
3097 | weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091) | |
3098 | weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3099 | weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3100 | weebshit19.Anchored = false | |
3101 | weebshit19.BrickColor = BrickColor.new("Pearl") | |
3102 | weebshit19.Friction = 0.30000001192093 | |
3103 | weebshit19.Name = "blade" | |
3104 | weebshit19.Parent = weebshit1 | |
3105 | local weld11 = Instance.new('Weld',weebshit19) | |
3106 | weld11.Part0 = weebshit19 | |
3107 | weld11.Part1 = weebshit18 | |
3108 | weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0) | |
3109 | local coru=coroutine.wrap(function() | |
3110 | grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1) | |
3111 | end) | |
3112 | coru() | |
3113 | end | |
3114 | ||
3115 | function gunmode() | |
3116 | working = true | |
3117 | ||
3118 | working = false | |
3119 | end | |
3120 | ||
3121 | function knifemode() | |
3122 | blademode = "knife" | |
3123 | -- 6 - thicc cap | |
3124 | local obj6 = Instance.new("Part") | |
3125 | obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
3126 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3127 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3128 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3129 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3130 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3131 | obj6.Size = Vector3.new(0.3, 0.3, 0.3) | |
3132 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3133 | obj6.Anchored = false | |
3134 | obj6.BrickColor = BrickColor.new("Really black") | |
3135 | obj6.Friction = 0.30000001192093 | |
3136 | obj6.Shape = Enum.PartType.Ball | |
3137 | obj6.Name = "thicc cap" | |
3138 | obj6.Parent = handle | |
3139 | local weld2 = Instance.new('Weld',obj6) | |
3140 | weld2.Part0 = obj6 | |
3141 | weld2.Part1 = handle | |
3142 | weld2.C0 = CFrame.new(0.4, 0, 0) | |
3143 | grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1) | |
3144 | ||
3145 | -- 8 - thicc top cap | |
3146 | local obj8 = Instance.new("Part") | |
3147 | obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) | |
3148 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3149 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3150 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3151 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3152 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3153 | obj8.Size = Vector3.new(0.3, 0.3, 0.3) | |
3154 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3155 | obj8.Anchored = false | |
3156 | obj8.BrickColor = BrickColor.new("Really black") | |
3157 | obj8.Friction = 0.30000001192093 | |
3158 | obj8.Shape = Enum.PartType.Ball | |
3159 | obj8.Name = "thicc top cap" | |
3160 | obj8.Parent = handle | |
3161 | local weld1 = Instance.new('Weld',obj8) | |
3162 | weld1.Part0 = obj8 | |
3163 | weld1.Part1 = handle | |
3164 | weld1.C0 = CFrame.new(-0.4, 0, 0) | |
3165 | grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1) | |
3166 | -- 4 - thicc blade | |
3167 | local obj4 = Instance.new("Part") | |
3168 | obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0) | |
3169 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3170 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3171 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3172 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3173 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3174 | obj4.Material = Enum.Material.Metal | |
3175 | obj4.Size = Vector3.new(0.23, 0.1, 0.1) | |
3176 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3177 | obj4.Anchored = false | |
3178 | obj4.BrickColor = BrickColor.new("Dark stone grey") | |
3179 | obj4.Friction = 0.30000001192093 | |
3180 | obj4.Shape = Enum.PartType.Block | |
3181 | obj4.Name = "blade" | |
3182 | obj4.Parent = handle | |
3183 | local weld4 = Instance.new('Weld',obj4) | |
3184 | weld4.Part0 = obj4 | |
3185 | weld4.Part1 = handle | |
3186 | weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90)) | |
3187 | local coru=coroutine.wrap(function() | |
3188 | grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1) | |
3189 | end) | |
3190 | coru() | |
3191 | ||
3192 | -- 5 - thicc blade | |
3193 | local obj5 = Instance.new("Part") | |
3194 | obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0) | |
3195 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3196 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3197 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3198 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3199 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3200 | obj5.Material = Enum.Material.Metal | |
3201 | obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007) | |
3202 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3203 | obj5.Anchored = false | |
3204 | obj5.BrickColor = BrickColor.new("Pearl") | |
3205 | obj5.Friction = 0.30000001192093 | |
3206 | obj5.Shape = Enum.PartType.Block | |
3207 | obj5.Name = "blade" | |
3208 | obj5.Parent = handle | |
3209 | local weld5 = Instance.new('Weld',obj5) | |
3210 | weld5.Part0 = obj5 | |
3211 | weld5.Part1 = obj4 | |
3212 | weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0) | |
3213 | grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1) | |
3214 | ||
3215 | -- 3 - thicc blade | |
3216 | local obj3 = Instance.new("WedgePart") | |
3217 | obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
3218 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3219 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3220 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3221 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3222 | obj3.Material = Enum.Material.Metal | |
3223 | obj3.Size = Vector3.new(0.1, 0, 0.23) | |
3224 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3225 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3226 | obj3.Anchored = false | |
3227 | obj3.BrickColor = BrickColor.new("Dark stone grey") | |
3228 | obj3.Friction = 0.30000001192093 | |
3229 | obj3.Name = "blade" | |
3230 | obj3.Parent = handle | |
3231 | local weld6 = Instance.new('Weld',obj3) | |
3232 | weld6.Part0 = obj3 | |
3233 | weld6.Part1 = obj4 | |
3234 | weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
3235 | local coru=coroutine.wrap(function() | |
3236 | grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05) | |
3237 | end) | |
3238 | coru() | |
3239 | ||
3240 | -- 2 - thicc blade | |
3241 | local obj2 = Instance.new("WedgePart") | |
3242 | obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) | |
3243 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
3244 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
3245 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
3246 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
3247 | obj2.Material = Enum.Material.Metal | |
3248 | obj2.Size = Vector3.new(0.05, 0, 0.26) | |
3249 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
3250 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
3251 | obj2.Anchored = false | |
3252 | obj2.BrickColor = BrickColor.new("Lily white") | |
3253 | obj2.Friction = 0.30000001192093 | |
3254 | obj2.Name = "blade" | |
3255 | obj2.Parent = handle | |
3256 | local weld7 = Instance.new('Weld',obj2) | |
3257 | weld7.Part0 = obj2 | |
3258 | weld7.Part1 = obj4 | |
3259 | weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) | |
3260 | grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05) | |
3261 | end | |
3262 | ||
3263 | function raep() | |
3264 | working = true | |
3265 | pcall(function() | |
3266 | local holyshit = Instance.new("Sound", handle) | |
3267 | holyshit.SoundId = "rbxassetid://345287845" | |
3268 | holyshit.Volume = 5 | |
3269 | holyshit:Play() | |
3270 | holyshit.TimePosition = 0.6 | |
3271 | --[[local waitwhatthefuck = Instance.new("Sound", handle) | |
3272 | waitwhatthefuck.SoundId = "rbxassetid://864314263" | |
3273 | waitwhatthefuck:Play()]]-- | |
3274 | local coru=coroutine.wrap(function() | |
3275 | wait(1.95) | |
3276 | holyshit.TimePosition = 2.8 | |
3277 | end) | |
3278 | coru() | |
3279 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3280 | tweld.Part0 = char.HumanoidRootPart | |
3281 | tweld.Part1 = char.Torso | |
3282 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3283 | rweld.Part0 = char["Torso"] | |
3284 | rweld.Part1 = char["Right Arm"] | |
3285 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3286 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
3287 | lweld.Part0 = char.Torso | |
3288 | lweld.Part1 = char["Left Arm"] | |
3289 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
3290 | ||
3291 | char.Humanoid.WalkSpeed = 16 | |
3292 | ||
3293 | local cor = coroutine.wrap(function() | |
3294 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2) | |
3295 | end) | |
3296 | local cor2 = coroutine.wrap(function() | |
3297 | lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2) | |
3298 | end) | |
3299 | cor() | |
3300 | cor2() | |
3301 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2) | |
3302 | ||
3303 | local particl = Instance.new("ParticleEmitter") | |
3304 | particl.LightEmission = 3 | |
3305 | particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) | |
3306 | particl.LightInfluence = 0.75 | |
3307 | particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3308 | particl.Lifetime = NumberRange.new(0.1, 0.5) | |
3309 | particl.Rate = 50 | |
3310 | particl.RotSpeed = NumberRange.new(300, 300) | |
3311 | particl.Speed = NumberRange.new(0, 1) | |
3312 | particl.SpreadAngle = Vector2.new(90, 90) | |
3313 | particl.Parent = handle | |
3314 | ||
3315 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
3316 | if v:IsA("Part") then | |
3317 | cooldildo = particl:Clone() | |
3318 | cooldildo.Parent = v | |
3319 | end | |
3320 | end | |
3321 | ||
3322 | particl:Remove() | |
3323 | ||
3324 | wait(1) | |
3325 | MOAN = true | |
3326 | ||
3327 | char.Humanoid.WalkSpeed = 75 | |
3328 | ||
3329 | ||
3330 | local cor = coroutine.wrap(function() | |
3331 | lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06) | |
3332 | end) | |
3333 | local cor2 = coroutine.wrap(function() | |
3334 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06) | |
3335 | end) | |
3336 | local cor3 = coroutine.wrap(function() | |
3337 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06) | |
3338 | end) | |
3339 | cor() | |
3340 | cor2() | |
3341 | cor3() | |
3342 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06) | |
3343 | local omgg = 0 | |
3344 | repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2 | |
3345 | holyshit:Destroy() | |
3346 | char.Humanoid.WalkSpeed = 16 | |
3347 | MOAN = false | |
3348 | if aidsificating == nil then | |
3349 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
3350 | if v:IsA("Part") then | |
3351 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
3352 | end | |
3353 | end | |
3354 | local cor = coroutine.wrap(function() | |
3355 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3356 | end) | |
3357 | local cor2 = coroutine.wrap(function() | |
3358 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3359 | end) | |
3360 | local cor3 = coroutine.wrap(function() | |
3361 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
3362 | end) | |
3363 | cor() | |
3364 | cor2() | |
3365 | cor3() | |
3366 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08) | |
3367 | ||
3368 | lweld:Remove() | |
3369 | rweld:Remove() | |
3370 | tweld:Remove() | |
3371 | ||
3372 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
3373 | local clone = torsoclone:Clone() | |
3374 | clone.Part0 = char.HumanoidRootPart | |
3375 | clone.Part1 = char.Torso | |
3376 | clone.Parent = char.HumanoidRootPart | |
3377 | end | |
3378 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3379 | local clone = leftclone:Clone() | |
3380 | clone.Part0 = char.Torso | |
3381 | clone.Part1 = char["Left Arm"] | |
3382 | clone.Parent = char.Torso | |
3383 | end | |
3384 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3385 | local clone = rightclone:Clone() | |
3386 | clone.Part0 = char.Torso | |
3387 | clone.Part1 = char["Right Arm"] | |
3388 | clone.Parent = char.Torso | |
3389 | end | |
3390 | else | |
3391 | pcall(function() | |
3392 | aidsificating.HumanoidRootPart:Destroy() | |
3393 | end) | |
3394 | pcall(function() | |
3395 | ragdollpart(aidsificating,"Right Arm") | |
3396 | ragdollpart(aidsificating,"Right Leg") | |
3397 | ragdollpart(aidsificating,"Left Arm") | |
3398 | ragdollpart(aidsificating,"Left Leg") | |
3399 | end) | |
3400 | pcall(function() | |
3401 | ragdollpart(aidsificating,"RightUpperArm") | |
3402 | ragdollpart(aidsificating,"RightUpperLeg") | |
3403 | ragdollpart(aidsificating,"LeftUpperArm") | |
3404 | ragdollpart(aidsificating,"LeftUpperLeg") | |
3405 | end) | |
3406 | pcall(function() | |
3407 | local weld = Instance.new('Weld',aidsificating.Torso) | |
3408 | weld.Part0 = aidsificating.Torso | |
3409 | weld.Part1 = handle | |
3410 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
3411 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3412 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3413 | v.BrickColor = aidsificating.Torso.BrickColor | |
3414 | v.Transparency = 0 | |
3415 | end | |
3416 | end | |
3417 | end) | |
3418 | pcall(function() | |
3419 | local weld = Instance.new('Weld',aidsificating.UpperTorso) | |
3420 | weld.Part0 = aidsificating.UpperTorso | |
3421 | weld.Part1 = handle | |
3422 | weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) | |
3423 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3424 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3425 | v.BrickColor = aidsificating.UpperTorso.BrickColor | |
3426 | v.Transparency = 0 | |
3427 | end | |
3428 | end | |
3429 | end) | |
3430 | lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06) | |
3431 | wait(2) | |
3432 | for i,v in pairs(aidsificating:GetDescendants()) do | |
3433 | if v:IsA('Weld') then v:Destroy() end | |
3434 | end | |
3435 | pcall(function() | |
3436 | ragdollpart(aidsificating,"Head") | |
3437 | end) | |
3438 | pcall(function() | |
3439 | local thang = "Torso" | |
3440 | if aidsificating:FindFirstChild('UpperTorso') then | |
3441 | thang = "UpperTorso" | |
3442 | end | |
3443 | local ayybleed = Instance.new('Part',aidsificating) | |
3444 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
3445 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
3446 | ayybleed.Material = Enum.Material.SmoothPlastic | |
3447 | ayybleed.Name = "ayybleed" | |
3448 | ayybleed.CanCollide = false | |
3449 | ayybleed.Transparency = 1 | |
3450 | ayybleed.CFrame = aidsificating[thang].CFrame | |
3451 | ayybleed:BreakJoints() | |
3452 | local attachment1 = Instance.new('Attachment',ayybleed) | |
3453 | attachment1.Position = Vector3.new(0,-1,0) | |
3454 | attachment1.Orientation = Vector3.new(180, 0, 0) | |
3455 | local attachment0 = Instance.new('Attachment',aidsificating[thang]) | |
3456 | if attachment0 and attachment1 then | |
3457 | local constraint = Instance.new("HingeConstraint") | |
3458 | constraint.Attachment0 = attachment0 | |
3459 | constraint.Attachment1 = attachment1 | |
3460 | constraint.LimitsEnabled = true | |
3461 | constraint.UpperAngle = 0 | |
3462 | constraint.LowerAngle = 0 | |
3463 | constraint.Parent = aidsificating | |
3464 | end | |
3465 | local bleedBLEED= coroutine.wrap(function() | |
3466 | bleed(ayybleed,true) | |
3467 | end) | |
3468 | bleedBLEED() | |
3469 | end) | |
3470 | aidsificating = nil | |
3471 | pcall(function() | |
3472 | for i,v in pairs(handle["pink toy"]:GetChildren()) do | |
3473 | if v:IsA('BasePart') and v.Name == "stretchlol" then | |
3474 | v.Transparency = 1 | |
3475 | end | |
3476 | end | |
3477 | end) | |
3478 | local cor = coroutine.wrap(function() | |
3479 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04) | |
3480 | end) | |
3481 | local cor2 = coroutine.wrap(function() | |
3482 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04) | |
3483 | end) | |
3484 | cor() | |
3485 | cor2() | |
3486 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04) | |
3487 | wait(0.1) | |
3488 | local cor = coroutine.wrap(function() | |
3489 | lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3490 | end) | |
3491 | local cor2 = coroutine.wrap(function() | |
3492 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08) | |
3493 | end) | |
3494 | local cor3 = coroutine.wrap(function() | |
3495 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) | |
3496 | end) | |
3497 | cor() | |
3498 | cor2() | |
3499 | cor3() | |
3500 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) | |
3501 | ||
3502 | lweld:Remove() | |
3503 | rweld:Remove() | |
3504 | tweld:Remove() | |
3505 | ||
3506 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
3507 | local clone = torsoclone:Clone() | |
3508 | clone.Part0 = char.HumanoidRootPart | |
3509 | clone.Part1 = char.Torso | |
3510 | clone.Parent = char.HumanoidRootPart | |
3511 | end | |
3512 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3513 | local clone = leftclone:Clone() | |
3514 | clone.Part0 = char.Torso | |
3515 | clone.Part1 = char["Left Arm"] | |
3516 | clone.Parent = char.Torso | |
3517 | end | |
3518 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3519 | local clone = rightclone:Clone() | |
3520 | clone.Part0 = char.Torso | |
3521 | clone.Part1 = char["Right Arm"] | |
3522 | clone.Parent = char.Torso | |
3523 | end | |
3524 | end | |
3525 | end) | |
3526 | working = false | |
3527 | end | |
3528 | ||
3529 | function katanaQ() | |
3530 | working = true | |
3531 | swinging = true | |
3532 | gettingeem = true | |
3533 | pcall(function() | |
3534 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3535 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3536 | pcall(function() | |
3537 | rweld.Part0 = char["Torso"] | |
3538 | rweld.Part1 = char["Right Arm"] | |
3539 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3540 | tweld.Part0 = char.HumanoidRootPart | |
3541 | tweld.Part1 = char.Torso | |
3542 | end) | |
3543 | ||
3544 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
3545 | ||
3546 | local at1 = Instance.new("Attachment", handle) | |
3547 | local at2 = Instance.new("Attachment", handle) | |
3548 | at1.Visible = false | |
3549 | at1.Position = Vector3.new(5, 0, 0) | |
3550 | at2.Visible = false | |
3551 | at2.Position = Vector3.new(1, 0, 0) | |
3552 | ||
3553 | local trail = Instance.new("Trail", handle) | |
3554 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
3555 | trail.LightEmission = 0.25 | |
3556 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3557 | trail.Lifetime = 0.10 | |
3558 | trail.MinLength = 0.05 | |
3559 | trail.Attachment0 = at1 | |
3560 | trail.Attachment1 = at2 | |
3561 | local coru=coroutine.wrap(function() | |
3562 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08) | |
3563 | end) | |
3564 | coru() | |
3565 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08) | |
3566 | local ree=0 | |
3567 | while goteem == nil and ree < 1 do | |
3568 | wait(0.05) | |
3569 | ree=ree+0.05 | |
3570 | end | |
3571 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3572 | gettingeem = false | |
3573 | swinging = false | |
3574 | if goteem then | |
3575 | wait(2) | |
3576 | pcall(function() | |
3577 | local sounn = Instance.new("Sound", goteem.Torso) | |
3578 | local lipp = math.random(1, 3) | |
3579 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
3580 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
3581 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
3582 | sounn:Play() | |
3583 | end) | |
3584 | ragdollpart(goteem,"Head") | |
3585 | for i,v in pairs(goteem:GetDescendants()) do | |
3586 | if v:IsA('Weld') then v:Destroy() end | |
3587 | end | |
3588 | goteem = nil | |
3589 | end | |
3590 | trail:Destroy() | |
3591 | at1:Destroy() | |
3592 | at2:Destroy() | |
3593 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
3594 | local cor = coroutine.wrap(function() | |
3595 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3596 | end) | |
3597 | cor() | |
3598 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3599 | rweld:Destroy() | |
3600 | tweld:Destroy() | |
3601 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3602 | local clone = rightclone:Clone() | |
3603 | clone.Part0 = char.Torso | |
3604 | clone.Part1 = char["Right Arm"] | |
3605 | clone.Parent = char.Torso | |
3606 | end | |
3607 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3608 | local clone = torsoclone:Clone() | |
3609 | clone.Part0 = char.HumanoidRootPart | |
3610 | clone.Part1 = char.Torso | |
3611 | clone.Parent = char.HumanoidRootPart | |
3612 | end | |
3613 | end) | |
3614 | swinging = false | |
3615 | gettingeem = false | |
3616 | working = false | |
3617 | end | |
3618 | local function katanaE() | |
3619 | working = true | |
3620 | swinging = true | |
3621 | SLESH = true | |
3622 | pcall(function() | |
3623 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3624 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3625 | rweld.Part0 = char["Torso"] | |
3626 | rweld.Part1 = char["Right Arm"] | |
3627 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3628 | tweld.Part0 = char.HumanoidRootPart | |
3629 | tweld.Part1 = char.Torso | |
3630 | ||
3631 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 | |
3632 | ||
3633 | local at1 = Instance.new("Attachment", handle) | |
3634 | local at2 = Instance.new("Attachment", handle) | |
3635 | at1.Visible = false | |
3636 | at1.Position = Vector3.new(5, 0, 0) | |
3637 | at2.Visible = false | |
3638 | at2.Position = Vector3.new(1, 0, 0) | |
3639 | ||
3640 | local trail = Instance.new("Trail", handle) | |
3641 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
3642 | trail.LightEmission = 0.25 | |
3643 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3644 | trail.Lifetime = 0.10 | |
3645 | trail.MinLength = 0.05 | |
3646 | trail.Attachment0 = at1 | |
3647 | trail.Attachment1 = at2 | |
3648 | local coru=coroutine.wrap(function() | |
3649 | lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08) | |
3650 | end) | |
3651 | coru() | |
3652 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08) | |
3653 | ||
3654 | wait(1) | |
3655 | char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3656 | trail:Destroy() | |
3657 | at1:Destroy() | |
3658 | at2:Destroy() | |
3659 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) | |
3660 | local cor = coroutine.wrap(function() | |
3661 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3662 | end) | |
3663 | cor() | |
3664 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3665 | rweld:Destroy() | |
3666 | tweld:Destroy() | |
3667 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3668 | local clone = rightclone:Clone() | |
3669 | clone.Part0 = char.Torso | |
3670 | clone.Part1 = char["Right Arm"] | |
3671 | clone.Parent = char.Torso | |
3672 | end | |
3673 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3674 | local clone = torsoclone:Clone() | |
3675 | clone.Part0 = char.HumanoidRootPart | |
3676 | clone.Part1 = char.Torso | |
3677 | clone.Parent = char.HumanoidRootPart | |
3678 | end | |
3679 | end) | |
3680 | swinging = false | |
3681 | SLESH = false | |
3682 | working = false | |
3683 | end | |
3684 | ||
3685 | function begoneTHOUGHT() | |
3686 | working = true | |
3687 | pcall(function() | |
3688 | local thott = Instance.new("Sound", char) | |
3689 | thott.SoundId = "rbxassetid://949916584" | |
3690 | thott.Volume = 1 | |
3691 | thott.TimePosition = 0.5 | |
3692 | thott.PlaybackSpeed = 1 | |
3693 | thott.EmitterSize = player.CameraMaxZoomDistance+1 | |
3694 | thott.MaxDistance = player.CameraMaxZoomDistance+1 | |
3695 | thott:Play() | |
3696 | ||
3697 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3698 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3699 | rweld.Part0 = char["Torso"] | |
3700 | rweld.Part1 = char["Right Arm"] | |
3701 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3702 | tweld.Part0 = char.HumanoidRootPart | |
3703 | tweld.Part1 = char.Torso | |
3704 | ||
3705 | local coru=coroutine.wrap(function() | |
3706 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25) | |
3707 | end) | |
3708 | coru() | |
3709 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25) | |
3710 | ||
3711 | wait(0.5) | |
3712 | local thote = Instance.new("Sound", char.Head) | |
3713 | thote.SoundId = "rbxassetid://358498516" | |
3714 | thote.Volume = 1 | |
3715 | thote:Play() | |
3716 | ||
3717 | ||
3718 | ||
3719 | local coru=coroutine.wrap(function() | |
3720 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04) | |
3721 | end) | |
3722 | coru() | |
3723 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04) | |
3724 | wait(0.04) | |
3725 | local ree = Instance.new('Part',workspace) | |
3726 | ree.Shape = Enum.PartType.Cylinder | |
3727 | ree.CanCollide = false | |
3728 | ree.Anchored = false | |
3729 | ree.Size = Vector3.new(0.5,2,2) | |
3730 | ree.TopSurface = Enum.SurfaceType.Smooth | |
3731 | ree.BottomSurface = Enum.SurfaceType.Smooth | |
3732 | ree.Transparency = 0.8 | |
3733 | ree.Material =Enum.Material.Neon | |
3734 | ree.BrickColor = BrickColor.new('Toothpaste') | |
3735 | ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90)) | |
3736 | ree:BreakJoints() | |
3737 | local reee = Instance.new("Sound", ree) | |
3738 | reee.SoundId = "rbxassetid://138677306" | |
3739 | reee:Play() | |
3740 | local heck = Instance.new('BodyVelocity',ree) | |
3741 | heck.Velocity = ree.CFrame.rightVector*50 | |
3742 | heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3743 | local coru=coroutine.wrap(function() | |
3744 | for i=1,21 do | |
3745 | local cf = ree.CFrame | |
3746 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
3747 | ree.CFrame = cf | |
3748 | wait() | |
3749 | end | |
3750 | for i=1,4 do | |
3751 | local cf = ree.CFrame | |
3752 | ree.Size = ree.Size+Vector3.new(0,2,2) | |
3753 | ree.CFrame = cf | |
3754 | ree.Transparency = ree.Transparency + 0.05 | |
3755 | wait() | |
3756 | end | |
3757 | ree:Destroy() | |
3758 | end) | |
3759 | coru() | |
3760 | ree.Touched:connect(function(hit) | |
3761 | if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
3762 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100 | |
3763 | ragdollpart(hit.Parent,"Head") | |
3764 | end | |
3765 | end) | |
3766 | wait(0.5) | |
3767 | local coru=coroutine.wrap(function() | |
3768 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8) | |
3769 | end) | |
3770 | coru() | |
3771 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8) | |
3772 | ||
3773 | rweld:Destroy() | |
3774 | tweld:Destroy() | |
3775 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3776 | local clone = rightclone:Clone() | |
3777 | clone.Part0 = char.Torso | |
3778 | clone.Part1 = char["Right Arm"] | |
3779 | clone.Parent = char.Torso | |
3780 | end | |
3781 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3782 | local clone = torsoclone:Clone() | |
3783 | clone.Part0 = char.HumanoidRootPart | |
3784 | clone.Part1 = char.Torso | |
3785 | clone.Parent = char.HumanoidRootPart | |
3786 | end | |
3787 | end) | |
3788 | working = false | |
3789 | end | |
3790 | ||
3791 | function katanaswing() | |
3792 | working = true | |
3793 | pcall(function() | |
3794 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
3795 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
3796 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3797 | rweld.Part0 = char["Torso"] | |
3798 | rweld.Part1 = char["Right Arm"] | |
3799 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
3800 | lweld.Part0 = char.Torso | |
3801 | lweld.Part1 = char["Left Arm"] | |
3802 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
3803 | tweld.Part0 = char.HumanoidRootPart | |
3804 | tweld.Part1 = char.Torso | |
3805 | ||
3806 | local cor = coroutine.wrap(function() | |
3807 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08) | |
3808 | end) | |
3809 | cor() | |
3810 | lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08) | |
3811 | wait(0.2) | |
3812 | local at1 = Instance.new("Attachment", handle) | |
3813 | local at2 = Instance.new("Attachment", handle) | |
3814 | at1.Visible = false | |
3815 | at1.Position = Vector3.new(5, 0, 0) | |
3816 | at2.Visible = false | |
3817 | at2.Position = Vector3.new(1, 0, 0) | |
3818 | ||
3819 | local trail = Instance.new("Trail", handle) | |
3820 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)}) | |
3821 | trail.LightEmission = 0.25 | |
3822 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) | |
3823 | trail.Lifetime = 0.10 | |
3824 | trail.MinLength = 0.05 | |
3825 | trail.Attachment0 = at1 | |
3826 | trail.Attachment1 = at2 | |
3827 | ||
3828 | swinging = true | |
3829 | ||
3830 | local cor = coroutine.wrap(function() | |
3831 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04) | |
3832 | end) | |
3833 | cor() | |
3834 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
3835 | wait(0.2) | |
3836 | swinging = false | |
3837 | trail:Destroy() | |
3838 | at1:Destroy() | |
3839 | at2:Destroy() | |
3840 | local cor = coroutine.wrap(function() | |
3841 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3842 | end) | |
3843 | cor() | |
3844 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
3845 | rweld:Destroy() | |
3846 | lweld:Destroy() | |
3847 | tweld:Destroy() | |
3848 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3849 | local clone = rightclone:Clone() | |
3850 | clone.Part0 = char.Torso | |
3851 | clone.Part1 = char["Right Arm"] | |
3852 | clone.Parent = char.Torso | |
3853 | end | |
3854 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3855 | local clone = leftclone:Clone() | |
3856 | clone.Part0 = char.Torso | |
3857 | clone.Part1 = char["Left Arm"] | |
3858 | clone.Parent = char.Torso | |
3859 | end | |
3860 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3861 | local clone = torsoclone:Clone() | |
3862 | clone.Part0 = char.HumanoidRootPart | |
3863 | clone.Part1 = char.Torso | |
3864 | clone.Parent = char.HumanoidRootPart | |
3865 | end | |
3866 | end) | |
3867 | working = false | |
3868 | end | |
3869 | ||
3870 | function throw() | |
3871 | working = true | |
3872 | pcall(function() | |
3873 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
3874 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
3875 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
3876 | tweld.Part0 = char.HumanoidRootPart | |
3877 | tweld.Part1 = char.Torso | |
3878 | local throwsound = Instance.new("Sound", char.Head) | |
3879 | throwsound.SoundId = "rbxassetid://711753382" | |
3880 | throwsound.PlaybackSpeed = 0.75 | |
3881 | ||
3882 | local cor = coroutine.wrap(function() | |
3883 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
3884 | end) | |
3885 | local cor2 = coroutine.wrap(function() | |
3886 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04) | |
3887 | end) | |
3888 | cor() | |
3889 | cor2() | |
3890 | grabweld:Remove() | |
3891 | throwsound:Play() | |
3892 | ||
3893 | local throwvel = Instance.new("BodyThrust") | |
3894 | throwvel.Force = Vector3.new(0, 3000, -2000) | |
3895 | pcall(function() | |
3896 | throwvel.Parent = grabbed.Torso | |
3897 | end) | |
3898 | pcall(function() | |
3899 | throwvel.Parent = grabbed.UpperTorso | |
3900 | end) | |
3901 | ||
3902 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
3903 | wait(0.15) | |
3904 | throwvel:Remove() | |
3905 | local cor = coroutine.wrap(function() | |
3906 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3907 | end) | |
3908 | local cor2 = coroutine.wrap(function() | |
3909 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3910 | end) | |
3911 | cor() | |
3912 | cor2() | |
3913 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
3914 | lweld:Remove() | |
3915 | rweld:Remove() | |
3916 | tweld:Remove() | |
3917 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
3918 | local clone = rightclone:Clone() | |
3919 | clone.Part0 = char.Torso | |
3920 | clone.Part1 = char["Right Arm"] | |
3921 | clone.Parent = char.Torso | |
3922 | end | |
3923 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
3924 | local clone = leftclone:Clone() | |
3925 | clone.Part0 = char.Torso | |
3926 | clone.Part1 = char["Left Arm"] | |
3927 | clone.Parent = char.Torso | |
3928 | end | |
3929 | if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then | |
3930 | local clone = torsoclone:Clone() | |
3931 | clone.Part0 = char.HumanoidRootPart | |
3932 | clone.Part1 = char.Torso | |
3933 | clone.Parent = char.HumanoidRootPart | |
3934 | end | |
3935 | local lolgrabbed = grabbed | |
3936 | spawn(function() | |
3937 | wait(2) | |
3938 | unstun(lolgrabbed) | |
3939 | end) | |
3940 | end) | |
3941 | grabbed = nil | |
3942 | working = false | |
3943 | end | |
3944 | ||
3945 | function whoosh(vroom) | |
3946 | vroom.Parent = workspace | |
3947 | vroom.Name = "Projectile" | |
3948 | vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) | |
3949 | vroom.Anchored = true | |
3950 | vroom.Velocity = Vector3.new(0,0,0) | |
3951 | vroom.RotVelocity = Vector3.new(0,0,0) | |
3952 | vroom.Anchored = false | |
3953 | game:GetService('Debris'):AddItem(vroom,10) | |
3954 | local flyy = Instance.new('BodyVelocity',vroom) | |
3955 | flyy.Velocity = vroom.CFrame.rightVector*200 | |
3956 | local touched = false | |
3957 | for i,v in pairs(vroom:GetChildren()) do | |
3958 | if v:IsA('BasePart') then | |
3959 | v.Touched:connect(function(hit) | |
3960 | local pos = vroom.CFrame | |
3961 | if touched == false then | |
3962 | if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then | |
3963 | touched = true | |
3964 | local before = hit.Anchored | |
3965 | vroom.Anchored = true | |
3966 | vroom.Velocity = Vector3.new(0,0,0) | |
3967 | vroom.RotVelocity = Vector3.new(0,0,0) | |
3968 | vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector) | |
3969 | hit.Anchored = true | |
3970 | flyy:Destroy() | |
3971 | pcall(function() | |
3972 | local weld = Instance.new('Weld',hit) | |
3973 | weld.Part0 = hit | |
3974 | weld.Part1 = vroom | |
3975 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
3976 | local ayybleed = Instance.new('Part',hit) | |
3977 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
3978 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
3979 | ayybleed.Material = Enum.Material.SmoothPlastic | |
3980 | ayybleed.Name = "ayybleed" | |
3981 | ayybleed.CanCollide = false | |
3982 | ayybleed.Transparency = 1 | |
3983 | ayybleed.CFrame = hit.CFrame | |
3984 | ayybleed:BreakJoints() | |
3985 | local attachment1 = Instance.new('Attachment',ayybleed) | |
3986 | local attachment0 = Instance.new('Attachment',hit) | |
3987 | for i,v in pairs(vroom:GetChildren()) do | |
3988 | if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then | |
3989 | v.Name = "REEEE" | |
3990 | end | |
3991 | end | |
3992 | attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0) | |
3993 | attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector) | |
3994 | if attachment0 and attachment1 then | |
3995 | local constraint = Instance.new("HingeConstraint") | |
3996 | constraint.Attachment0 = attachment0 | |
3997 | constraint.Attachment1 = attachment1 | |
3998 | constraint.LimitsEnabled = true | |
3999 | constraint.UpperAngle = 0 | |
4000 | constraint.LowerAngle = 0 | |
4001 | constraint.Parent = attachment0 | |
4002 | end | |
4003 | local bleedBLEED= coroutine.wrap(function() | |
4004 | bleed(ayybleed) | |
4005 | end) | |
4006 | bleedBLEED() | |
4007 | if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then | |
4008 | game:GetService('Debris'):AddItem(ayybleed,7.5) | |
4009 | end | |
4010 | end) | |
4011 | hit.Anchored = before | |
4012 | vroom.Anchored = false | |
4013 | vroom.CanCollide = true | |
4014 | pcall(function() | |
4015 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
4016 | end) | |
4017 | for i,v in pairs(vroom:GetChildren()) do | |
4018 | if v:IsA('BasePart') then | |
4019 | v.CanCollide = true | |
4020 | end | |
4021 | end | |
4022 | if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then | |
4023 | pcall(function() | |
4024 | hit.Parent.HumanoidRootPart:Destroy() | |
4025 | end) | |
4026 | pcall(function() | |
4027 | ragdollpart(hit.Parent,"Left Arm") | |
4028 | ragdollpart(hit.Parent,"Left Leg") | |
4029 | ragdollpart(hit.Parent,"Right Arm") | |
4030 | ragdollpart(hit.Parent,"Right Leg") | |
4031 | end) | |
4032 | pcall(function() | |
4033 | ragdollpart(hit.Parent,"LeftUpperLeg") | |
4034 | ragdollpart(hit.Parent,"RightUpperLeg") | |
4035 | ragdollpart(hit.Parent,"LeftUpperArm") | |
4036 | ragdollpart(hit.Parent,"RightUpperArm") | |
4037 | end) | |
4038 | spawn(function() | |
4039 | wait(5) | |
4040 | ragdollpart(hit.Parent,"Head") | |
4041 | end) | |
4042 | else | |
4043 | pcall(function() | |
4044 | ragdollpart(hit.Parent,hit.Name) | |
4045 | end) | |
4046 | end | |
4047 | elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then | |
4048 | touched = true | |
4049 | local before = hit.Anchored | |
4050 | vroom.Anchored = true | |
4051 | vroom.Velocity = Vector3.new(0,0,0) | |
4052 | vroom.RotVelocity = Vector3.new(0,0,0) | |
4053 | hit.Anchored = true | |
4054 | flyy:Destroy() | |
4055 | vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector | |
4056 | pcall(function() | |
4057 | local weld = Instance.new('Weld',hit) | |
4058 | weld.Part0 = hit | |
4059 | weld.Part1 = vroom | |
4060 | weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) | |
4061 | end) | |
4062 | pcall(function() | |
4063 | vroom:FindFirstChildOfClass('Trail'):Destroy() | |
4064 | end) | |
4065 | hit.Anchored = before | |
4066 | vroom.Anchored = false | |
4067 | end | |
4068 | end | |
4069 | end) | |
4070 | end | |
4071 | end | |
4072 | end | |
4073 | ||
4074 | function fling() | |
4075 | working = true | |
4076 | pcall(function() | |
4077 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4078 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4079 | rweld.Part0 = char["Torso"] | |
4080 | rweld.Part1 = char["Right Arm"] | |
4081 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
4082 | lweld.Part0 = char.Torso | |
4083 | lweld.Part1 = char["Left Arm"] | |
4084 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
4085 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
4086 | tweld.Part0 = char.HumanoidRootPart | |
4087 | tweld.Part1 = char.Torso | |
4088 | ||
4089 | local at1 = Instance.new("Attachment", handle) | |
4090 | local at2 = Instance.new("Attachment", handle) | |
4091 | at1.Visible = false | |
4092 | at1.Position = Vector3.new(2, 0, 0) | |
4093 | at2.Visible = false | |
4094 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4095 | ||
4096 | local trail = Instance.new("Trail", handle) | |
4097 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4098 | trail.LightEmission = 0.25 | |
4099 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4100 | trail.Lifetime = 0.10 | |
4101 | trail.MinLength = 0.05 | |
4102 | trail.Attachment0 = at1 | |
4103 | trail.Attachment1 = at2 | |
4104 | ||
4105 | local cor = coroutine.wrap(function() | |
4106 | lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07) | |
4107 | end) | |
4108 | cor() | |
4109 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07) | |
4110 | ||
4111 | local cor = coroutine.wrap(function() | |
4112 | lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07) | |
4113 | end) | |
4114 | local cor2 = coroutine.wrap(function() | |
4115 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07) | |
4116 | end) | |
4117 | local cor3 = coroutine.wrap(function() | |
4118 | lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12) | |
4119 | end) | |
4120 | cor() | |
4121 | cor2() | |
4122 | cor3() | |
4123 | lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07) | |
4124 | wait(0.2) | |
4125 | ||
4126 | local cor = coroutine.wrap(function() | |
4127 | lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03) | |
4128 | end) | |
4129 | local cor2 = coroutine.wrap(function() | |
4130 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03) | |
4131 | end) | |
4132 | cor() | |
4133 | cor2() | |
4134 | lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03) | |
4135 | ||
4136 | local cor = coroutine.wrap(function() | |
4137 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03) | |
4138 | end) | |
4139 | local cor2 = coroutine.wrap(function() | |
4140 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01) | |
4141 | end) | |
4142 | cor() | |
4143 | cor2() | |
4144 | whoosh(handle:Clone()) | |
4145 | for i, v in pairs(handle:GetChildren()) do | |
4146 | if v:IsA("Part") then | |
4147 | v.Transparency = 1 | |
4148 | end | |
4149 | end | |
4150 | handle.Transparency = 1 | |
4151 | trail:Remove() | |
4152 | at1:Remove() | |
4153 | at2:Remove() | |
4154 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01) | |
4155 | local cor = coroutine.wrap(function() | |
4156 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04) | |
4157 | end) | |
4158 | local cor2 = coroutine.wrap(function() | |
4159 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04) | |
4160 | end) | |
4161 | cor() | |
4162 | cor2() | |
4163 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04) | |
4164 | wait(0.2) | |
4165 | ||
4166 | local cor = coroutine.wrap(function() | |
4167 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
4168 | end) | |
4169 | local cor2 = coroutine.wrap(function() | |
4170 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07) | |
4171 | end) | |
4172 | cor() | |
4173 | cor2() | |
4174 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) | |
4175 | ||
4176 | for i, v in pairs(handle:GetChildren()) do | |
4177 | if v:IsA("Part") then | |
4178 | v.Transparency = 0 | |
4179 | end | |
4180 | end | |
4181 | handle.Transparency = 0 | |
4182 | hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) | |
4183 | ||
4184 | lweld:Remove() | |
4185 | rweld:Remove() | |
4186 | tweld:Remove() | |
4187 | ||
4188 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4189 | local clone = torsoclone:Clone() | |
4190 | clone.Part0 = char.HumanoidRootPart | |
4191 | clone.Part1 = char.Torso | |
4192 | clone.Parent = char.HumanoidRootPart | |
4193 | end | |
4194 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4195 | local clone = leftclone:Clone() | |
4196 | clone.Part0 = char.Torso | |
4197 | clone.Part1 = char["Left Arm"] | |
4198 | clone.Parent = char.Torso | |
4199 | end | |
4200 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4201 | local clone = rightclone:Clone() | |
4202 | clone.Part0 = char.Torso | |
4203 | clone.Part1 = char["Right Arm"] | |
4204 | clone.Parent = char.Torso | |
4205 | end | |
4206 | end) | |
4207 | working = false | |
4208 | end | |
4209 | ||
4210 | function kill() | |
4211 | working = true | |
4212 | pcall(function() | |
4213 | local rweld = char["Right Arm"]:FindFirstChild("Weld") | |
4214 | local lweld = char["Left Arm"]:FindFirstChild("Weld") | |
4215 | local tweld = Instance.new("Weld", char.HumanoidRootPart) | |
4216 | tweld.Part0 = char.HumanoidRootPart | |
4217 | tweld.Part1 = char.Torso | |
4218 | local killsound = Instance.new("Sound", grabbed.Head) | |
4219 | killsound.SoundId = "rbxassetid://150315649" | |
4220 | killsound.PlaybackSpeed = 1.2 | |
4221 | local killsoundac = Instance.new("Sound", grabbed.Head) | |
4222 | killsoundac.SoundId = "rbxassetid://162194585" | |
4223 | killsoundac.PlaybackSpeed = 1 | |
4224 | killsoundac.Volume = 1 | |
4225 | local throwsound = Instance.new("Sound", char.Head) | |
4226 | throwsound.SoundId = "rbxassetid://711753382" | |
4227 | throwsound.PlaybackSpeed = 0.75 | |
4228 | local chokesound = Instance.new("Sound", grabbed.Head) | |
4229 | chokesound.SoundId = "rbxassetid://418658161" | |
4230 | chokesound.TimePosition = 3 | |
4231 | chokesound.PlaybackSpeed = 1 | |
4232 | local bleedsound = Instance.new("Sound", grabbed.Head) | |
4233 | bleedsound.SoundId = "rbxassetid://244502094" | |
4234 | bleedsound.PlaybackSpeed = 1.5 | |
4235 | bleedsound.Volume = 1 | |
4236 | ||
4237 | pitchun = math.random(9, 12)/10 | |
4238 | pitchdos = math.random(9, 13)/10 | |
4239 | ||
4240 | killsound.PlaybackSpeed = pitchun | |
4241 | killsoundac.PlaybackSpeed = pitchdos | |
4242 | chokesound.PlaybackSpeed = pitchun | |
4243 | ||
4244 | pcall(function() | |
4245 | grabbed.HumanoidRootPart:Destroy() | |
4246 | end) | |
4247 | ||
4248 | lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1) | |
4249 | wait(0.2) | |
4250 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) | |
4251 | ||
4252 | killsound:Play() | |
4253 | killsoundac:Play() | |
4254 | chokesound:Play() | |
4255 | bleedsound:Play() | |
4256 | ||
4257 | local ayybleed = Instance.new('Part',grabbed) | |
4258 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4259 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4260 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4261 | ayybleed.Name = "ayybleed" | |
4262 | ayybleed.CanCollide = false | |
4263 | ayybleed.Transparency = 0.5 | |
4264 | ayybleed.CFrame = grabbed.Head.CFrame | |
4265 | ayybleed:BreakJoints() | |
4266 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4267 | attachment1.Position = Vector3.new(-0.55,0,0) | |
4268 | attachment1.Orientation = Vector3.new(90, 0, -90) | |
4269 | local attachment0 = Instance.new('Attachment') | |
4270 | pcall(function() | |
4271 | attachment0.Parent = grabbed.Torso | |
4272 | end) | |
4273 | pcall(function() | |
4274 | attachment0.Parent = grabbed.UpperTorso | |
4275 | end) | |
4276 | if attachment0 and attachment1 then | |
4277 | local constraint = Instance.new("HingeConstraint") | |
4278 | constraint.Attachment0 = attachment0 | |
4279 | constraint.Attachment1 = attachment1 | |
4280 | constraint.LimitsEnabled = true | |
4281 | constraint.UpperAngle = 0 | |
4282 | constraint.LowerAngle = 0 | |
4283 | pcall(function() | |
4284 | constraint.Parent = grabbed.Torso | |
4285 | end) | |
4286 | pcall(function() | |
4287 | constraint.Parent = grabbed.UpperTorso | |
4288 | end) | |
4289 | end | |
4290 | local bleedBLEED= coroutine.wrap(function() | |
4291 | bleed(ayybleed) | |
4292 | end) | |
4293 | bleedBLEED() | |
4294 | ||
4295 | wait(0.2) | |
4296 | ||
4297 | local at1 = Instance.new("Attachment", handle) | |
4298 | local at2 = Instance.new("Attachment", handle) | |
4299 | at1.Visible = false | |
4300 | at1.Position = Vector3.new(2, 0, 0) | |
4301 | at2.Visible = false | |
4302 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4303 | ||
4304 | local trail = Instance.new("Trail", handle) | |
4305 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4306 | trail.LightEmission = 0.25 | |
4307 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4308 | trail.Lifetime = 0.10 | |
4309 | trail.MinLength = 0.05 | |
4310 | trail.Attachment0 = at1 | |
4311 | trail.Attachment1 = at2 | |
4312 | ||
4313 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08) | |
4314 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1) | |
4315 | local coru=coroutine.wrap(function() | |
4316 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
4317 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09) | |
4318 | end) | |
4319 | coru() | |
4320 | local cor = coroutine.wrap(function() | |
4321 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) | |
4322 | end) | |
4323 | cor() | |
4324 | grabweld:Remove() | |
4325 | throwsound:Play() | |
4326 | ||
4327 | local throwvel = Instance.new("BodyThrust") | |
4328 | throwvel.Force = Vector3.new(0, 3000, -1000) | |
4329 | pcall(function() | |
4330 | throwvel.Parent = grabbed.Torso | |
4331 | end) | |
4332 | pcall(function() | |
4333 | throwvel.Parent = grabbed.UpperTorso | |
4334 | end) | |
4335 | ||
4336 | trail:Remove() | |
4337 | at1:Remove() | |
4338 | at2:Remove() | |
4339 | lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) | |
4340 | pcall(function() | |
4341 | ragdollpart(grabbed,"Left Arm") | |
4342 | ragdollpart(grabbed,"Left Leg") | |
4343 | ragdollpart(grabbed,"Right Arm") | |
4344 | ragdollpart(grabbed,"Right Leg") | |
4345 | end) | |
4346 | pcall(function() | |
4347 | ragdollpart(grabbed,"LeftUpperLeg") | |
4348 | ragdollpart(grabbed,"RightUpperLeg") | |
4349 | ragdollpart(grabbed,"LeftUpperArm") | |
4350 | ragdollpart(grabbed,"RightUpperArm") | |
4351 | end) | |
4352 | wait(0.15) | |
4353 | throwvel:Remove() | |
4354 | local cor = coroutine.wrap(function() | |
4355 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4356 | end) | |
4357 | local cor2 = coroutine.wrap(function() | |
4358 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4359 | end) | |
4360 | cor() | |
4361 | cor2() | |
4362 | lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) | |
4363 | ||
4364 | lweld:Remove() | |
4365 | rweld:Remove() | |
4366 | tweld:Remove() | |
4367 | ||
4368 | if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then | |
4369 | local clone = torsoclone:Clone() | |
4370 | clone.Part0 = char.HumanoidRootPart | |
4371 | clone.Part1 = char.Torso | |
4372 | clone.Parent = char.HumanoidRootPart | |
4373 | end | |
4374 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4375 | local clone = leftclone:Clone() | |
4376 | clone.Part0 = char.Torso | |
4377 | clone.Part1 = char["Left Arm"] | |
4378 | clone.Parent = char.Torso | |
4379 | end | |
4380 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4381 | local clone = rightclone:Clone() | |
4382 | clone.Part0 = char.Torso | |
4383 | clone.Part1 = char["Right Arm"] | |
4384 | clone.Parent = char.Torso | |
4385 | end | |
4386 | local coru2=coroutine.wrap(function() | |
4387 | local whyy = grabbed | |
4388 | local continue = true | |
4389 | local repeats = 0 | |
4390 | while continue == true do | |
4391 | local ree = pcall(function() | |
4392 | if repeats < 20 then | |
4393 | whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9 | |
4394 | repeats = repeats+1 | |
4395 | if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then | |
4396 | continue = false | |
4397 | end | |
4398 | else | |
4399 | continue = false | |
4400 | end | |
4401 | end) | |
4402 | if ree == false then | |
4403 | continue = false | |
4404 | end | |
4405 | if continue == true then | |
4406 | wait(0.2) | |
4407 | end | |
4408 | end | |
4409 | ragdollpart(whyy,"Head") | |
4410 | end) | |
4411 | coru2() | |
4412 | throwsound:Remove() | |
4413 | killsound:Remove() | |
4414 | end) | |
4415 | grabbed = nil | |
4416 | working = false | |
4417 | end | |
4418 | ||
4419 | function release() | |
4420 | working = true | |
4421 | pcall(function() | |
4422 | unstun(grabbed) | |
4423 | grabbed = nil | |
4424 | grabweld:Destroy() | |
4425 | removewelds(char["Right Arm"]) | |
4426 | removewelds(char["Left Arm"]) | |
4427 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4428 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4429 | rweld.Part0 = char["Torso"] | |
4430 | rweld.Part1 = char["Right Arm"] | |
4431 | rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)) | |
4432 | lweld.Part0 = char.Torso | |
4433 | lweld.Part1 = char["Left Arm"] | |
4434 | lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)) | |
4435 | local cor = coroutine.wrap(function() | |
4436 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4437 | end) | |
4438 | local cor2 = coroutine.wrap(function() | |
4439 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
4440 | end) | |
4441 | cor() | |
4442 | cor2() | |
4443 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4444 | lweld:Remove() | |
4445 | rweld:Remove() | |
4446 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4447 | local clone = leftclone:Clone() | |
4448 | clone.Part0 = char.Torso | |
4449 | clone.Part1 = char["Left Arm"] | |
4450 | clone.Parent = char.Torso | |
4451 | end | |
4452 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4453 | local clone = rightclone:Clone() | |
4454 | clone.Part0 = char.Torso | |
4455 | clone.Part1 = char["Right Arm"] | |
4456 | clone.Parent = char.Torso | |
4457 | end | |
4458 | end) | |
4459 | working = false | |
4460 | end | |
4461 | ||
4462 | function grab() | |
4463 | working = true | |
4464 | pcall(function() | |
4465 | local rweld = Instance.new("Weld", char["Right Arm"]) | |
4466 | local lweld = Instance.new("Weld", char["Left Arm"]) | |
4467 | rweld.Part0 = char["Torso"] | |
4468 | rweld.Part1 = char["Right Arm"] | |
4469 | rweld.C0 = CFrame.new(1.5, 0, 0) | |
4470 | lweld.Part0 = char.Torso | |
4471 | lweld.Part1 = char["Left Arm"] | |
4472 | lweld.C0 = CFrame.new(-1.5, 0, 0) | |
4473 | ||
4474 | local at1 = Instance.new("Attachment", handle) | |
4475 | local at2 = Instance.new("Attachment", handle) | |
4476 | at1.Visible = false | |
4477 | at1.Position = Vector3.new(2, 0, 0) | |
4478 | at2.Visible = false | |
4479 | at2.Position = Vector3.new(-0.3, 0, 0) | |
4480 | ||
4481 | local trail = Instance.new("Trail", handle) | |
4482 | trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) | |
4483 | trail.LightEmission = 0.25 | |
4484 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) | |
4485 | trail.Lifetime = 0.10 | |
4486 | trail.MinLength = 0.05 | |
4487 | trail.Attachment0 = at1 | |
4488 | trail.Attachment1 = at2 | |
4489 | ||
4490 | local spinnyshit = coroutine.wrap(function() | |
4491 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) | |
4492 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07) | |
4493 | end) | |
4494 | spinnyshit() | |
4495 | local cor = coroutine.wrap(function() | |
4496 | lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08) | |
4497 | end) | |
4498 | cor() | |
4499 | lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08) | |
4500 | wait(0.15) | |
4501 | grabbing = true | |
4502 | local cor = coroutine.wrap(function() | |
4503 | lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08) | |
4504 | end) | |
4505 | cor() | |
4506 | lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08) | |
4507 | at1:Remove() | |
4508 | at2:Remove() | |
4509 | trail:Remove() | |
4510 | wait(0.3) | |
4511 | grabbing = false | |
4512 | ||
4513 | if grabbed == nil then | |
4514 | local cor = coroutine.wrap(function() | |
4515 | lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4516 | end) | |
4517 | local cor2 = coroutine.wrap(function() | |
4518 | lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) | |
4519 | end) | |
4520 | cor() | |
4521 | cor2() | |
4522 | lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) | |
4523 | lweld:Remove() | |
4524 | rweld:Remove() | |
4525 | if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then | |
4526 | local clone = leftclone:Clone() | |
4527 | clone.Part0 = char.Torso | |
4528 | clone.Part1 = char["Left Arm"] | |
4529 | clone.Parent = char.Torso | |
4530 | end | |
4531 | if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then | |
4532 | local clone = rightclone:Clone() | |
4533 | clone.Part0 = char.Torso | |
4534 | clone.Part1 = char["Right Arm"] | |
4535 | clone.Parent = char.Torso | |
4536 | end | |
4537 | end | |
4538 | end) | |
4539 | working = false | |
4540 | end | |
4541 | ||
4542 | mouse.KeyDown:connect(function(kkk) | |
4543 | local key = kkk:lower() | |
4544 | if usable and working == false then | |
4545 | if key == "z" then | |
4546 | if equipped == false then | |
4547 | if firsttime then | |
4548 | firsttime = false | |
4549 | notify("Equipped || Press X or C to equip one of two weapons",true) | |
4550 | else | |
4551 | notify("Equipped") | |
4552 | end | |
4553 | equip() | |
4554 | else | |
4555 | notify("Unequipped") | |
4556 | unequip() | |
4557 | end | |
4558 | elseif key == "x" then | |
4559 | if blademode ~= "katana" and equipped == true then | |
4560 | getrid(handle) | |
4561 | if firsttime2 then | |
4562 | firsttime2 = false | |
4563 | notify("Katana mode enabled || Press Q, E, or click to perform an action",true) | |
4564 | else | |
4565 | notify("Katana mode enabled") | |
4566 | end | |
4567 | katanamode() | |
4568 | elseif blademode == "katana" then | |
4569 | getrid(handle) | |
4570 | notify("Katana mode disabled") | |
4571 | end | |
4572 | elseif key == "v" then | |
4573 | if blademode ~= "gun" and equipped == true then | |
4574 | getrid(handle) | |
4575 | if firsttime5 then | |
4576 | firsttime5 = false | |
4577 | notify("Gun mode enabled || Click to perform an action",true) | |
4578 | else | |
4579 | notify("Gun mode enabled") | |
4580 | end | |
4581 | gunmode() | |
4582 | elseif blademode == "gun" then | |
4583 | getrid(handle) | |
4584 | notify("Gun mode disabled") | |
4585 | end | |
4586 | elseif key == "b" then | |
4587 | if childlock == false then | |
4588 | if blademode ~= "dildo" and equipped == true then | |
4589 | getrid(handle) | |
4590 | if firsttime4 then | |
4591 | firsttime4 = false | |
4592 | notify("Dildo mode enabled || Click to perform an action",true) | |
4593 | else | |
4594 | notify("Dildo mode enabled") | |
4595 | end | |
4596 | dildo() | |
4597 | elseif blademode == "dildo" then | |
4598 | notify("Dildo mode disabled") | |
4599 | getrid(handle) | |
4600 | end | |
4601 | end | |
4602 | elseif key == "c" then | |
4603 | if blademode ~= "knife" and equipped == true then | |
4604 | getrid(handle) | |
4605 | if firsttime3 then | |
4606 | firsttime3 = false | |
4607 | notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true) | |
4608 | else | |
4609 | notify("Knife mode enabled") | |
4610 | end | |
4611 | knifemode() | |
4612 | elseif blademode == "knife" then | |
4613 | notify("Knife mode disabled") | |
4614 | getrid(handle) | |
4615 | end | |
4616 | elseif key == "q" then | |
4617 | if blademode == "katana" then | |
4618 | notify() | |
4619 | katanaQ() | |
4620 | elseif blademode == "knife" then | |
4621 | mode = "release" | |
4622 | notify("Mode changed to "..mode) | |
4623 | end | |
4624 | elseif key == "e" then | |
4625 | if blademode == "katana" then | |
4626 | notify() | |
4627 | katanaE() | |
4628 | elseif blademode == "knife" then | |
4629 | mode = "throw" | |
4630 | notify("Mode changed to "..mode) | |
4631 | end | |
4632 | elseif key == "f" then | |
4633 | if blademode == "handle" then | |
4634 | notify([[BEGONE | |
4635 | THOT]]) | |
4636 | begoneTHOUGHT() | |
4637 | elseif blademode == "knife" then | |
4638 | mode = "kill" | |
4639 | notify("Mode changed to "..mode) | |
4640 | end | |
4641 | elseif key == "t" then | |
4642 | if blademode == "knife" then | |
4643 | mode = "fling" | |
4644 | notify("Mode changed to "..mode) | |
4645 | end | |
4646 | end | |
4647 | end | |
4648 | if key == "m" and sounding == false then | |
4649 | --badass mode | |
4650 | pcall(function() | |
4651 | if badass.Playing == false then | |
4652 | sounding = true | |
4653 | for i,v in pairs(workspace:GetDescendants()) do | |
4654 | if v:IsA('Sound') and v~=player.Character.Head.Badass then | |
4655 | v:Stop() | |
4656 | end | |
4657 | end | |
4658 | badass:Play() | |
4659 | badass.Volume = 10 | |
4660 | sounding = false | |
4661 | else | |
4662 | sounding = true | |
4663 | for i=1,100 do | |
4664 | badass.Volume = badass.Volume-0.1 | |
4665 | wait() | |
4666 | end | |
4667 | badass.Volume = 0 | |
4668 | badass:Stop() | |
4669 | sounding = false | |
4670 | end | |
4671 | end) | |
4672 | end | |
4673 | if key == "r" then | |
4674 | rag1 = true | |
4675 | if rag1 == true and rag2 == true then | |
4676 | oogabooga() | |
4677 | end | |
4678 | end | |
4679 | if key == "g" then | |
4680 | rag2 = true | |
4681 | if rag1 == true and rag2 == true then | |
4682 | oogabooga() | |
4683 | end | |
4684 | end | |
4685 | end) | |
4686 | mouse.KeyUp:connect(function(key) | |
4687 | if key == "r" then | |
4688 | rag1 = false | |
4689 | end | |
4690 | if key == "g" then | |
4691 | rag2 = false | |
4692 | end | |
4693 | end) | |
4694 | ||
4695 | handle.ChildAdded:connect(function(child) | |
4696 | if child:IsA('BasePart') then | |
4697 | child.CanCollide = false | |
4698 | if child.Name == "blade" then | |
4699 | child.Touched:connect(function(hit) | |
4700 | if blademode == "katana" and swinging then | |
4701 | if gettingeem then | |
4702 | if goteem == nil then | |
4703 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4704 | local sounn = Instance.new("Sound", char.Torso) | |
4705 | local lipp = math.random(1, 3) | |
4706 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4707 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4708 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4709 | sounn:Play() | |
4710 | goteem = hit.Parent | |
4711 | pcall(function() | |
4712 | goteem.HumanoidRootPart:Destroy() | |
4713 | end) | |
4714 | pcall(function() | |
4715 | ragdollpart(goteem,"Right Arm") | |
4716 | ragdollpart(goteem,"Right Leg") | |
4717 | ragdollpart(goteem,"Left Arm") | |
4718 | ragdollpart(goteem,"Left Leg") | |
4719 | end) | |
4720 | pcall(function() | |
4721 | ragdollpart(goteem,"RightUpperArm") | |
4722 | ragdollpart(goteem,"RightUpperLeg") | |
4723 | ragdollpart(goteem,"LeftUpperArm") | |
4724 | ragdollpart(goteem,"LeftUpperLeg") | |
4725 | end) | |
4726 | pcall(function() | |
4727 | local weld = Instance.new('Weld',goteem.Torso) | |
4728 | weld.Part0 = goteem.Torso | |
4729 | weld.Part1 = handle | |
4730 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
4731 | end) | |
4732 | pcall(function() | |
4733 | local weld = Instance.new('Weld',goteem.UpperTorso) | |
4734 | weld.Part0 = goteem.UpperTorso | |
4735 | weld.Part1 = handle | |
4736 | weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) | |
4737 | end) | |
4738 | pcall(function() | |
4739 | local thang = "Torso" | |
4740 | if goteem:FindFirstChild('UpperTorso') then | |
4741 | thang = "UpperTorso" | |
4742 | end | |
4743 | local ayybleed = Instance.new('Part',goteem) | |
4744 | ayybleed.Size = Vector3.new(0.2,0.2,0.2) | |
4745 | ayybleed.BrickColor = BrickColor.new('Maroon') | |
4746 | ayybleed.Material = Enum.Material.SmoothPlastic | |
4747 | ayybleed.Name = "ayybleed" | |
4748 | ayybleed.CanCollide = false | |
4749 | ayybleed.Transparency = 1 | |
4750 | ayybleed.CFrame = goteem[thang].CFrame | |
4751 | ayybleed:BreakJoints() | |
4752 | local attachment1 = Instance.new('Attachment',ayybleed) | |
4753 | attachment1.Position = Vector3.new(0,0,0) | |
4754 | attachment1.Orientation = Vector3.new(-90, 0, -90) | |
4755 | local attachment0 = Instance.new('Attachment',goteem[thang]) | |
4756 | if attachment0 and attachment1 then | |
4757 | local constraint = Instance.new("HingeConstraint") | |
4758 | constraint.Attachment0 = attachment0 | |
4759 | constraint.Attachment1 = attachment1 | |
4760 | constraint.LimitsEnabled = true | |
4761 | constraint.UpperAngle = 0 | |
4762 | constraint.LowerAngle = 0 | |
4763 | constraint.Parent = goteem | |
4764 | end | |
4765 | local bleedBLEED= coroutine.wrap(function() | |
4766 | bleed(ayybleed) | |
4767 | end) | |
4768 | bleedBLEED() | |
4769 | end) | |
4770 | end | |
4771 | end | |
4772 | elseif SLESH then | |
4773 | ||
4774 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4775 | local sounn = Instance.new("Sound", char.Torso) | |
4776 | local lipp = math.random(1, 3) | |
4777 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4778 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4779 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4780 | sounn:Play() | |
4781 | ragdollpart(hit.Parent,hit.Name,false) | |
4782 | end | |
4783 | else | |
4784 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4785 | local sounn = Instance.new("Sound", char.Torso) | |
4786 | local lipp = math.random(1, 3) | |
4787 | if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end | |
4788 | if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end | |
4789 | if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end | |
4790 | sounn:Play() | |
4791 | swinging = false | |
4792 | ragdollpart(hit.Parent,"Head",true,false) | |
4793 | end | |
4794 | end | |
4795 | elseif blademode == "knife" then | |
4796 | if grabbing == true and grabbed == nil then | |
4797 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4798 | grabbed = hit.Parent | |
4799 | ||
4800 | stun(grabbed) | |
4801 | ||
4802 | local grabwelds = Instance.new("Weld", char.Torso) | |
4803 | grabwelds.Part0 = char.Torso | |
4804 | pcall(function() | |
4805 | grabwelds.Part1 = grabbed.Torso | |
4806 | end) | |
4807 | pcall(function() | |
4808 | grabwelds.Part1 = grabbed.UpperTorso | |
4809 | end) | |
4810 | grabwelds.C0 = CFrame.new(-0.45, 0, -1) | |
4811 | grabweld = grabwelds | |
4812 | end | |
4813 | end | |
4814 | end | |
4815 | end) | |
4816 | end | |
4817 | elseif child:IsA("Model") then | |
4818 | child.ChildAdded:connect(function(dildotip) | |
4819 | if dildotip:IsA('BasePart') then | |
4820 | dildotip.Touched:connect(function(hit) | |
4821 | if MOAN == true then | |
4822 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then | |
4823 | local sound = Instance.new('Sound',hit.Parent.Head) | |
4824 | sound.SoundId = 'rbxassetid://959679286' | |
4825 | sound.Volume = 5 | |
4826 | sound:Play() | |
4827 | local sound3 = Instance.new("Sound",hit.Parent.Head) | |
4828 | sound3.Volume = 5.5 | |
4829 | sound3.SoundId = "rbxassetid://702631545" | |
4830 | sound3:Play() | |
4831 | pcall(function() | |
4832 | for i,v in pairs(hit.Parent.Head:GetChildren()) do | |
4833 | if v:IsA('Decal') then v:Destroy() end | |
4834 | end | |
4835 | end) | |
4836 | pcall(function() | |
4837 | local ree=Instance.new('Decal',hit.Parent.Head) | |
4838 | ree.Name = "face" | |
4839 | ree.Texture = "rbxassetid://996521543" | |
4840 | end) | |
4841 | MOAN = false | |
4842 | aidsificating = hit.Parent | |
4843 | for i, v in pairs(handle["pink toy"]:GetChildren()) do | |
4844 | if v:IsA("Part") then | |
4845 | v:FindFirstChild("ParticleEmitter"):Destroy() | |
4846 | end | |
4847 | end | |
4848 | end | |
4849 | end | |
4850 | end) | |
4851 | end | |
4852 | end) | |
4853 | end | |
4854 | end) | |
4855 | ||
4856 | mouse.Button1Down:connect(function(jew) | |
4857 | if usable and working == false and equipped then | |
4858 | if blademode == "katana" then | |
4859 | notify() | |
4860 | katanaswing() | |
4861 | elseif blademode == "knife" then | |
4862 | notify() | |
4863 | if grabbed == nil then | |
4864 | if mode == "fling" then | |
4865 | fling() | |
4866 | else | |
4867 | grab() | |
4868 | end | |
4869 | elseif grabbed ~= nil then | |
4870 | if mode == "kill" then | |
4871 | kill() | |
4872 | elseif mode == "throw" then | |
4873 | throw() | |
4874 | elseif mode == "release" then | |
4875 | release() | |
4876 | end | |
4877 | end | |
4878 | elseif blademode == "dildo" then | |
4879 | raep() | |
4880 | end | |
4881 | end | |
4882 | end) | |
4883 | ||
4884 | end | |
4885 | spawned() | |
4886 | ||
4887 | player.CharacterAdded:connect(function() | |
4888 | spawned() | |
4889 | end) | |
4890 | local avgs = {} | |
4891 | ||
4892 | game:GetService('RunService').Heartbeat:connect(function(step) | |
4893 | local ofps = math.floor((60/(step*60))*10)/10 | |
4894 | if #avgs > 100 then | |
4895 | table.remove(avgs,1) | |
4896 | end | |
4897 | table.insert(avgs,#avgs+1,ofps) | |
4898 | local fpsa = 0 | |
4899 | for i,v in pairs(avgs) do | |
4900 | fpsa = fpsa+v | |
4901 | end | |
4902 | fpsa = math.floor(fpsa/#avgs) | |
4903 | fps.Text = 'FPS: '..tostring(fpsa) | |
4904 | end) | |
4905 | ||
4906 | while true do | |
4907 | for i,v in pairs(rekt) do | |
4908 | if v.Parent ~= nil then | |
4909 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then | |
4910 | for a,c in pairs(v:GetChildren()) do | |
4911 | if c:IsA('Tool') then | |
4912 | c.ManualActivationOnly = true | |
4913 | wait() | |
4914 | if game:GetService('Players'):GetPlayerFromCharacter(v) then | |
4915 | c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack | |
4916 | c.ManualActivationOnly = false | |
4917 | end | |
4918 | end | |
4919 | end | |
4920 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4921 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4922 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4923 | v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
4924 | v:FindFirstChildOfClass('Humanoid').Name = "hecc" | |
4925 | else | |
4926 | table.remove(rekt,i) | |
4927 | end | |
4928 | else | |
4929 | table.remove(rekt,i) | |
4930 | end | |
4931 | end | |
4932 | wait() | |
4933 | end |