SHOW:
|
|
- or go back to the newest paste.
1 | - | --Made by N3xul |
1 | + | --]] |
2 | - | --Fuck off Leecher |
2 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
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 runDummyScript = function(f,scri) | |
9 | local oldenv = getfenv(f) | |
10 | local newenv = setmetatable({}, { | |
11 | __index = function(_, k) | |
12 | if k:lower() == 'script' then | |
13 | return scri | |
14 | else | |
15 | return oldenv[k] | |
16 | end | |
17 | end | |
18 | }) | |
19 | setfenv(f, newenv) | |
20 | ypcall(function() f() end) | |
21 | end | |
22 | cors = {} | |
23 | mas = Instance.new("Model",game:GetService("Lighting")) | |
24 | mas.Name = "CompiledModel" | |
25 | o1 = Instance.new("Tool") | |
26 | o2 = Instance.new("Script") | |
27 | o3 = Instance.new("LocalScript") | |
28 | o4 = Instance.new("StringValue") | |
29 | o5 = Instance.new("StringValue") | |
30 | o6 = Instance.new("StringValue") | |
31 | o7 = Instance.new("Part") | |
32 | o8 = Instance.new("SpecialMesh") | |
33 | o9 = Instance.new("Sound") | |
34 | o10 = Instance.new("Sound") | |
35 | o12 = Instance.new("Part") | |
36 | o13 = Instance.new("SpecialMesh") | |
37 | o14 = Instance.new("Part") | |
38 | o15 = Instance.new("SpecialMesh") | |
39 | o16 = Instance.new("Part") | |
40 | o17 = Instance.new("SpecialMesh") | |
41 | o18 = Instance.new("Script") | |
42 | o19 = Instance.new("Script") | |
43 | o20 = Instance.new("Script") | |
44 | o21 = Instance.new("Script") | |
45 | o22 = Instance.new("LocalScript") | |
46 | o23 = Instance.new("LocalScript") | |
47 | o24 = Instance.new("LocalScript") | |
48 | o25 = Instance.new("LocalScript") | |
49 | o26 = Instance.new("Part") | |
50 | o27 = Instance.new("SpecialMesh") | |
51 | o28 = Instance.new("Part") | |
52 | o29 = Instance.new("SpecialMesh") | |
53 | o30 = Instance.new("Part") | |
54 | o31 = Instance.new("SpecialMesh") | |
55 | o1.Name = "RageTable" | |
56 | o1.Parent = mas | |
57 | o1.TextureId = "http://www.roblox.com/asset/?id=111900204" | |
58 | o1.GripPos = Vector3.new(0, 0, 0.300000012) | |
59 | o1.ToolTip = "Flip Out" | |
60 | o2.Parent = o1 | |
61 | table.insert(cors,coroutine.create(function() | |
62 | wait() | |
63 | runDummyScript(function() | |
64 | function FindAttachedHumanoid(part) | |
65 | local tpart = part | |
66 | while tpart.Parent do | |
67 | if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end | |
68 | tpart = tpart.Parent | |
69 | end | |
70 | return nil | |
71 | end | |
72 | ||
73 | function MakeValue(class,name,value,parent) | |
74 | local temp = Instance.new(class) | |
75 | temp.Name = name | |
76 | temp.Value = value | |
77 | temp.Parent = parent | |
78 | return temp | |
79 | end | |
80 | ||
81 | local Tool = script.Parent | |
82 | local Handle = Tool:WaitForChild('Handle') | |
83 | local YellSound = Handle:WaitForChild('Sound') | |
84 | local AniScript = Tool:WaitForChild('AnimationPlayerScript') | |
85 | --http://www.roblox.com/Asset?ID=111898513'--http://www.roblox.com/Asset?ID=111880514' | |
86 | local ThrowAnimation = 'http://www.roblox.com/Asset?ID=111898867' | |
87 | ||
88 | local ThrowFace = 'http://www.roblox.com/asset?id=570086667' | |
89 | ||
90 | local ThrowTable= Instance.new('Part') | |
91 | do | |
92 | --ThrowTable.Shape = 'Ball' | |
93 | ThrowTable.FormFactor='Custom' | |
94 | ThrowTable.Size = Vector3.new(4.8, 2.43, 3.63) | |
95 | ThrowTable.CanCollide = true | |
96 | local tmesh = Instance.new('SpecialMesh') | |
97 | tmesh.MeshId = 'http://www.roblox.com/asset/?id=111868131' | |
98 | tmesh.TextureId = 'http://www.roblox.com/asset/?id=111867655' | |
99 | tmesh.Parent = ThrowTable | |
100 | end | |
101 | ||
102 | local LookGyro= Instance.new('BodyGyro') | |
103 | LookGyro.maxTorque = Vector3.new(0,math.huge,0) | |
104 | ||
105 | local ActivateLock=false | |
106 | ||
107 | Tool.Activated:connect(function() | |
108 | if ActivateLock then return end | |
109 | ActivateLock = true | |
110 | local character = Tool.Parent | |
111 | local humanoid = character:WaitForChild('Humanoid') | |
112 | local torso = character:WaitForChild('Torso') | |
113 | local head = character:WaitForChild('Head') | |
114 | local face = head:FindFirstChild('face') | |
115 | local oldFace ='' | |
116 | if face then oldFace = face.Texture end | |
117 | humanoid.WalkSpeed = 0 | |
118 | LookGyro.cframe = torso.CFrame - torso.CFrame.p | |
119 | LookGyro.Parent = torso | |
120 | ||
121 | local ntable = ThrowTable:Clone() | |
122 | ntable.CFrame = torso.CFrame+(torso.CFrame.lookVector*3) | |
123 | ntable.Parent = Workspace | |
124 | ||
125 | MakeValue('StringValue','aniId',ThrowAnimation,AniScript) | |
126 | wait(.5) | |
127 | YellSound:play() | |
128 | wait(.5) | |
129 | if face then | |
130 | face.Texture=ThrowFace | |
131 | end | |
132 | ||
133 | ||
134 | ||
135 | local bAVel = Instance.new('BodyAngularVelocity') | |
136 | bAVel.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
137 | bAVel.angularvelocity = ((torso.CFrame*CFrame.Angles(0,math.pi/2,0)).lookVector*10) | |
138 | bAVel.Parent = ntable | |
139 | ||
140 | local bVel = Instance.new('BodyVelocity') | |
141 | bVel.maxForce = Vector3.new(math.huge,0,math.huge) | |
142 | bVel.velocity = (torso.CFrame.lookVector*25) | |
143 | bVel.Parent = ntable | |
144 | ||
145 | ntable.Touched:connect(function(part) | |
146 | --print('GotTouched:' .. part.Name) | |
147 | Spawn(function() | |
148 | if part.Name == 'Terrain' then return end | |
149 | if part.Anchored then return end | |
150 | local hitHumanoid = FindAttachedHumanoid(part) | |
151 | if hitHumanoid then | |
152 | --print('HumanoidParent:'..hitHumanoid.Parent.Name) | |
153 | if hitHumanoid==humanoid then return end | |
154 | hitHumanoid.PlatformStand =true | |
155 | end | |
156 | if part.Size.x*part.Size.y*part.Size.z<=5*9*5 then | |
157 | part.Velocity = (Vector3.new((math.random()-.5)*2,math.random(),(math.random()-.5)*2).unit)*150 | |
158 | end | |
159 | wait(3) | |
160 | print('got past wait') | |
161 | if hitHumanoid then | |
162 | print('unplatformstanding') | |
163 | hitHumanoid.PlatformStand=false | |
164 | hitHumanoid.Jump = true | |
165 | end | |
166 | end) | |
167 | end) | |
168 | ||
169 | wait(6) | |
170 | LookGyro.Parent = nil | |
171 | humanoid.WalkSpeed = 16 | |
172 | if face then | |
173 | face.Texture=oldFace | |
174 | end | |
175 | ntable.CanCollide = false | |
176 | game.Debris:AddItem(ntable,5) | |
177 | ActivateLock = false | |
178 | end) | |
179 | end,o2) | |
180 | end)) | |
181 | o3.Name = "AnimationPlayerScript" | |
182 | o3.Parent = o1 | |
183 | table.insert(cors,coroutine.create(function() | |
184 | wait() | |
185 | runDummyScript(function() | |
186 | function FindAttachedHumanoid(part) | |
187 | local tpart = part | |
188 | while tpart.Parent do | |
189 | if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end | |
190 | tpart = tpart.Parent | |
191 | end | |
192 | return nil | |
193 | end | |
194 | ||
195 | script.ChildAdded:connect(function(nchild) | |
196 | local humanoid = FindAttachedHumanoid(script) | |
197 | local ani = Instance.new('Animation') | |
198 | ani.AnimationId= nchild.Value | |
199 | local aniTrack=humanoid:LoadAnimation(ani) | |
200 | aniTrack:Play() | |
201 | end) | |
202 | end,o3) | |
203 | end)) | |
204 | o4.Name = "aniId" | |
205 | o4.Parent = o3 | |
206 | o4.Value = "http://www.roblox.com/Asset?ID=111898867" | |
207 | o5.Name = "aniId" | |
208 | o5.Parent = o3 | |
209 | o5.Value = "http://www.roblox.com/Asset?ID=111898867" | |
210 | o6.Name = "aniId" | |
211 | o6.Parent = o3 | |
212 | o6.Value = "http://www.roblox.com/Asset?ID=111898867" | |
213 | o7.Name = "Handle" | |
214 | o7.Parent = o1 | |
215 | o7.Position = Vector3.new(41.6999969, 0.335009009, -398.100006) | |
216 | o7.Rotation = Vector3.new(180, -0, -180) | |
217 | o7.FormFactor = Enum.FormFactor.Custom | |
218 | o7.Size = Vector3.new(1.20000005, 0.669994831, 0.669994712) | |
219 | o7.CFrame = CFrame.new(41.6999969, 0.335009009, -398.100006, -1, 0, -0, -0, 1, -0, -0, 0, -1) | |
220 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
221 | o7.TopSurface = Enum.SurfaceType.Smooth | |
222 | o7.Position = Vector3.new(41.6999969, 0.335009009, -398.100006) | |
223 | o8.Parent = o7 | |
224 | o8.MeshId = "http://www.roblox.com/asset/?id=111868131" | |
225 | o8.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
226 | o8.TextureId = "http://www.roblox.com/asset/?id=111867655" | |
227 | o8.MeshType = Enum.MeshType.FileMesh | |
228 | o9.Parent = o7 | |
229 | o9.SoundId = "http://www.roblox.com/asset/?id=130785529 " | |
230 | o9.Volume = 1 | |
231 | o10.Parent = o7 | |
232 | o10.SoundId = "http://www.roblox.com/asset/?id=58520081" | |
233 | o10.Volume = 1 | |
234 | o12.Name = "Bowl" | |
235 | o12.Parent = o1 | |
236 | o12.BrickColor = BrickColor.new("Medium blue") | |
237 | o12.Reflectance = 0.5 | |
238 | o12.Transparency = 0.5 | |
239 | o12.Position = Vector3.new(41.6999969, 0.695008993, -398.089996) | |
240 | o12.Rotation = Vector3.new(-180, -90, 0) | |
241 | o12.CanCollide = false | |
242 | o12.FormFactor = Enum.FormFactor.Custom | |
243 | o12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
244 | o12.CFrame = CFrame.new(41.6999969, 0.695008993, -398.089996, 0, 0, -1, 0, -1, 0, -1, 0, 0) | |
245 | o12.BottomSurface = Enum.SurfaceType.Smooth | |
246 | o12.TopSurface = Enum.SurfaceType.Smooth | |
247 | o12.Color = Color3.new(0.431373, 0.6, 0.792157) | |
248 | o12.Position = Vector3.new(41.6999969, 0.695008993, -398.089996) | |
249 | o13.Parent = o12 | |
250 | o13.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
251 | o13.Scale = Vector3.new(0.25, 0.25, 0.25) | |
252 | o13.TextureId = "http://www.roblox.com/asset/?id=" | |
253 | o13.MeshType = Enum.MeshType.FileMesh | |
254 | o14.Name = "Bowl" | |
255 | o14.Parent = o1 | |
256 | o14.BrickColor = BrickColor.new("Institutional white") | |
257 | o14.Reflectance = 0.5 | |
258 | o14.Transparency = 0.5 | |
259 | o14.Position = Vector3.new(41.6999969, 0.695008993, -398.089996) | |
260 | o14.Rotation = Vector3.new(-180, -90, 0) | |
261 | o14.CanCollide = false | |
262 | o14.FormFactor = Enum.FormFactor.Custom | |
263 | o14.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
264 | o14.CFrame = CFrame.new(41.6999969, 0.695008993, -398.089996, 0, 0, -1, 0, -1, 0, -1, 0, 0) | |
265 | o14.BottomSurface = Enum.SurfaceType.Smooth | |
266 | o14.TopSurface = Enum.SurfaceType.Smooth | |
267 | o14.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
268 | o14.Position = Vector3.new(41.6999969, 0.695008993, -398.089996) | |
269 | o15.Parent = o14 | |
270 | o15.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
271 | o15.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012) | |
272 | o15.TextureId = "http://www.roblox.com/asset/?id=" | |
273 | o15.MeshType = Enum.MeshType.FileMesh | |
274 | o16.Name = "Fruit" | |
275 | o16.Parent = o1 | |
276 | o16.BrickColor = BrickColor.new("Medium blue") | |
277 | o16.Position = Vector3.new(41.7599945, 0.965026975, -398.120026) | |
278 | o16.Rotation = Vector3.new(-0, -90, 0) | |
279 | o16.CanCollide = false | |
280 | o16.FormFactor = Enum.FormFactor.Custom | |
281 | o16.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
282 | o16.CFrame = CFrame.new(41.7599945, 0.965026975, -398.120026, -8.30226838e-008, -2.00434471e-007, -1, 0, 0.999999881, -2.00434457e-007, 0.999999881, 0, -8.30226696e-008) | |
283 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
284 | o16.TopSurface = Enum.SurfaceType.Smooth | |
285 | o16.Color = Color3.new(0.431373, 0.6, 0.792157) | |
286 | o16.Position = Vector3.new(41.7599945, 0.965026975, -398.120026) | |
287 | o17.Parent = o16 | |
288 | o17.MeshId = "http://www.roblox.com/asset/?id=1080981" | |
289 | o17.Scale = Vector3.new(0.25, 0.25, 0.25) | |
290 | o17.TextureId = "http://www.roblox.com/asset/?id=1080982" | |
291 | o17.MeshType = Enum.MeshType.FileMesh | |
292 | o18.Name = "Welding" | |
293 | o18.Parent = o1 | |
294 | table.insert(cors,coroutine.create(function() | |
295 | wait() | |
296 | runDummyScript(function() | |
297 | function Weld(x,y) | |
298 | local W = Instance.new("Weld") | |
299 | W.Part0 = x | |
300 | W.Part1 = y | |
301 | local CJ = CFrame.new(x.Position) | |
302 | local C0 = x.CFrame:inverse()*CJ | |
303 | local C1 = y.CFrame:inverse()*CJ | |
304 | W.C0 = C0 | |
305 | W.C1 = C1 | |
306 | W.Parent = x | |
307 | end | |
308 | ||
309 | function Get(A) | |
310 | if A.className == "Part" then | |
311 | Weld(script.Parent.Handle, A) | |
312 | A.Anchored = false | |
313 | else | |
314 | local C = A:GetChildren() | |
315 | for i=1, #C do | |
316 | Get(C[i]) | |
317 | end | |
318 | end | |
319 | end | |
320 | ||
321 | function Finale() | |
322 | Get(script.Parent) | |
323 | end | |
324 | ||
325 | script.Parent.Equipped:connect(Finale) | |
326 | script.Parent.Unequipped:connect(Finale) | |
327 | Finale() | |
328 | end,o18) | |
329 | end)) | |
330 | o19.Name = "Welding" | |
331 | o19.Parent = o1 | |
332 | table.insert(cors,coroutine.create(function() | |
333 | wait() | |
334 | runDummyScript(function() | |
335 | function Weld(x,y) | |
336 | local W = Instance.new("Weld") | |
337 | W.Part0 = x | |
338 | W.Part1 = y | |
339 | local CJ = CFrame.new(x.Position) | |
340 | local C0 = x.CFrame:inverse()*CJ | |
341 | local C1 = y.CFrame:inverse()*CJ | |
342 | W.C0 = C0 | |
343 | W.C1 = C1 | |
344 | W.Parent = x | |
345 | end | |
346 | ||
347 | function Get(A) | |
348 | if A.className == "Part" then | |
349 | Weld(script.Parent.Handle, A) | |
350 | A.Anchored = false | |
351 | else | |
352 | local C = A:GetChildren() | |
353 | for i=1, #C do | |
354 | Get(C[i]) | |
355 | end | |
356 | end | |
357 | end | |
358 | ||
359 | function Finale() | |
360 | Get(script.Parent) | |
361 | end | |
362 | ||
363 | script.Parent.Equipped:connect(Finale) | |
364 | script.Parent.Unequipped:connect(Finale) | |
365 | Finale() | |
366 | end,o19) | |
367 | end)) | |
368 | o20.Name = "Welding" | |
369 | o20.Parent = o1 | |
370 | table.insert(cors,coroutine.create(function() | |
371 | wait() | |
372 | runDummyScript(function() | |
373 | function Weld(x,y) | |
374 | local W = Instance.new("Weld") | |
375 | W.Part0 = x | |
376 | W.Part1 = y | |
377 | local CJ = CFrame.new(x.Position) | |
378 | local C0 = x.CFrame:inverse()*CJ | |
379 | local C1 = y.CFrame:inverse()*CJ | |
380 | W.C0 = C0 | |
381 | W.C1 = C1 | |
382 | W.Parent = x | |
383 | end | |
384 | ||
385 | function Get(A) | |
386 | if A.className == "Part" then | |
387 | Weld(script.Parent.Handle, A) | |
388 | A.Anchored = false | |
389 | else | |
390 | local C = A:GetChildren() | |
391 | for i=1, #C do | |
392 | Get(C[i]) | |
393 | end | |
394 | end | |
395 | end | |
396 | ||
397 | function Finale() | |
398 | Get(script.Parent) | |
399 | end | |
400 | ||
401 | script.Parent.Equipped:connect(Finale) | |
402 | script.Parent.Unequipped:connect(Finale) | |
403 | Finale() | |
404 | end,o20) | |
405 | end)) | |
406 | o21.Name = "Welding" | |
407 | o21.Parent = o1 | |
408 | table.insert(cors,coroutine.create(function() | |
409 | wait() | |
410 | runDummyScript(function() | |
411 | function Weld(x,y) | |
412 | local W = Instance.new("Weld") | |
413 | W.Part0 = x | |
414 | W.Part1 = y | |
415 | local CJ = CFrame.new(x.Position) | |
416 | local C0 = x.CFrame:inverse()*CJ | |
417 | local C1 = y.CFrame:inverse()*CJ | |
418 | W.C0 = C0 | |
419 | W.C1 = C1 | |
420 | W.Parent = x | |
421 | end | |
422 | ||
423 | function Get(A) | |
424 | if A.className == "Part" then | |
425 | Weld(script.Parent.Handle, A) | |
426 | A.Anchored = false | |
427 | else | |
428 | local C = A:GetChildren() | |
429 | for i=1, #C do | |
430 | Get(C[i]) | |
431 | end | |
432 | end | |
433 | end | |
434 | ||
435 | function Finale() | |
436 | Get(script.Parent) | |
437 | end | |
438 | ||
439 | script.Parent.Equipped:connect(Finale) | |
440 | script.Parent.Unequipped:connect(Finale) | |
441 | Finale() | |
442 | end,o21) | |
443 | end)) | |
444 | o22.Name = "BackupWeld" | |
445 | o22.Parent = o1 | |
446 | table.insert(cors,coroutine.create(function() | |
447 | wait() | |
448 | runDummyScript(function() | |
449 | function Weld(x,y) | |
450 | local W = Instance.new("Weld") | |
451 | W.Part0 = x | |
452 | W.Part1 = y | |
453 | local CJ = CFrame.new(x.Position) | |
454 | local C0 = x.CFrame:inverse()*CJ | |
455 | local C1 = y.CFrame:inverse()*CJ | |
456 | W.C0 = C0 | |
457 | W.C1 = C1 | |
458 | W.Parent = x | |
459 | end | |
460 | ||
461 | function Get(A) | |
462 | if A.className == "Part" then | |
463 | Weld(script.Parent.Handle, A) | |
464 | A.Anchored = false | |
465 | else | |
466 | local C = A:GetChildren() | |
467 | for i=1, #C do | |
468 | Get(C[i]) | |
469 | end | |
470 | end | |
471 | end | |
472 | ||
473 | function Finale() | |
474 | Get(script.Parent) | |
475 | end | |
476 | ||
477 | script.Parent.Equipped:connect(Finale) | |
478 | script.Parent.Unequipped:connect(Finale) | |
479 | Finale() | |
480 | end,o22) | |
481 | end)) | |
482 | o23.Name = "BackupWeld" | |
483 | o23.Parent = o1 | |
484 | table.insert(cors,coroutine.create(function() | |
485 | wait() | |
486 | runDummyScript(function() | |
487 | function Weld(x,y) | |
488 | local W = Instance.new("Weld") | |
489 | W.Part0 = x | |
490 | W.Part1 = y | |
491 | local CJ = CFrame.new(x.Position) | |
492 | local C0 = x.CFrame:inverse()*CJ | |
493 | local C1 = y.CFrame:inverse()*CJ | |
494 | W.C0 = C0 | |
495 | W.C1 = C1 | |
496 | W.Parent = x | |
497 | end | |
498 | ||
499 | function Get(A) | |
500 | if A.className == "Part" then | |
501 | Weld(script.Parent.Handle, A) | |
502 | A.Anchored = false | |
503 | else | |
504 | local C = A:GetChildren() | |
505 | for i=1, #C do | |
506 | Get(C[i]) | |
507 | end | |
508 | end | |
509 | end | |
510 | ||
511 | function Finale() | |
512 | Get(script.Parent) | |
513 | end | |
514 | ||
515 | script.Parent.Equipped:connect(Finale) | |
516 | script.Parent.Unequipped:connect(Finale) | |
517 | Finale() | |
518 | end,o23) | |
519 | end)) | |
520 | o24.Name = "BackupWeld" | |
521 | o24.Parent = o1 | |
522 | table.insert(cors,coroutine.create(function() | |
523 | wait() | |
524 | runDummyScript(function() | |
525 | function Weld(x,y) | |
526 | local W = Instance.new("Weld") | |
527 | W.Part0 = x | |
528 | W.Part1 = y | |
529 | local CJ = CFrame.new(x.Position) | |
530 | local C0 = x.CFrame:inverse()*CJ | |
531 | local C1 = y.CFrame:inverse()*CJ | |
532 | W.C0 = C0 | |
533 | W.C1 = C1 | |
534 | W.Parent = x | |
535 | end | |
536 | ||
537 | function Get(A) | |
538 | if A.className == "Part" then | |
539 | Weld(script.Parent.Handle, A) | |
540 | A.Anchored = false | |
541 | else | |
542 | local C = A:GetChildren() | |
543 | for i=1, #C do | |
544 | Get(C[i]) | |
545 | end | |
546 | end | |
547 | end | |
548 | ||
549 | function Finale() | |
550 | Get(script.Parent) | |
551 | end | |
552 | ||
553 | script.Parent.Equipped:connect(Finale) | |
554 | script.Parent.Unequipped:connect(Finale) | |
555 | Finale() | |
556 | end,o24) | |
557 | end)) | |
558 | o25.Name = "BackupWeld" | |
559 | o25.Parent = o1 | |
560 | table.insert(cors,coroutine.create(function() | |
561 | wait() | |
562 | runDummyScript(function() | |
563 | function Weld(x,y) | |
564 | local W = Instance.new("Weld") | |
565 | W.Part0 = x | |
566 | W.Part1 = y | |
567 | local CJ = CFrame.new(x.Position) | |
568 | local C0 = x.CFrame:inverse()*CJ | |
569 | local C1 = y.CFrame:inverse()*CJ | |
570 | W.C0 = C0 | |
571 | W.C1 = C1 | |
572 | W.Parent = x | |
573 | end | |
574 | ||
575 | function Get(A) | |
576 | if A.className == "Part" then | |
577 | Weld(script.Parent.Handle, A) | |
578 | A.Anchored = false | |
579 | else | |
580 | local C = A:GetChildren() | |
581 | for i=1, #C do | |
582 | Get(C[i]) | |
583 | end | |
584 | end | |
585 | end | |
586 | ||
587 | function Finale() | |
588 | Get(script.Parent) | |
589 | end | |
590 | ||
591 | script.Parent.Equipped:connect(Finale) | |
592 | script.Parent.Unequipped:connect(Finale) | |
593 | Finale() | |
594 | end,o25) | |
595 | end)) | |
596 | o26.Name = "Papers" | |
597 | o26.Parent = o1 | |
598 | o26.BrickColor = BrickColor.new("Cool yellow") | |
599 | o26.Position = Vector3.new(41.4430008, 0.590020001, -397.938019) | |
600 | o26.Rotation = Vector3.new(-5.06447168e-006, 60.581955, 4.49258778e-006) | |
601 | o26.CanCollide = false | |
602 | o26.FormFactor = Enum.FormFactor.Custom | |
603 | o26.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
604 | o26.CFrame = CFrame.new(41.4430008, 0.590020001, -397.938019, 0.491178185, -3.85134982e-008, 0.871059179, 1.42158285e-009, 1, 4.34160796e-008, -0.871059179, -2.00864321e-008, 0.491178185) | |
605 | o26.BottomSurface = Enum.SurfaceType.Smooth | |
606 | o26.TopSurface = Enum.SurfaceType.Smooth | |
607 | o26.Color = Color3.new(0.992157, 0.917647, 0.552941) | |
608 | o26.Position = Vector3.new(41.4430008, 0.590020001, -397.938019) | |
609 | o27.Parent = o26 | |
610 | o27.MeshId = "http://www.roblox.com/asset/?id=1285245" | |
611 | o27.Scale = Vector3.new(0.300000012, 0.0500000007, 0.400000006) | |
612 | o27.TextureId = "http://www.roblox.com/asset/?id=10742015" | |
613 | o27.MeshType = Enum.MeshType.FileMesh | |
614 | o28.Parent = o1 | |
615 | o28.Position = Vector3.new(41.435997, 0.654996991, -398.196991) | |
616 | o28.Rotation = Vector3.new(0, 90, 0) | |
617 | o28.CanCollide = false | |
618 | o28.FormFactor = Enum.FormFactor.Custom | |
619 | o28.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
620 | o28.CFrame = CFrame.new(41.435997, 0.654996991, -398.196991, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
621 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
622 | o28.TopSurface = Enum.SurfaceType.Smooth | |
623 | o28.Position = Vector3.new(41.435997, 0.654996991, -398.196991) | |
624 | o29.Parent = o28 | |
625 | o29.MeshId = "http://www.roblox.com/asset/?id=103919751" | |
626 | o29.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
627 | o29.TextureId = "http://www.roblox.com/asset?id=130861421" | |
628 | o29.MeshType = Enum.MeshType.FileMesh | |
629 | o30.Parent = o1 | |
630 | o30.BrickColor = BrickColor.new("Mid gray") | |
631 | o30.Position = Vector3.new(41.9599915, 0.654996991, -397.940033) | |
632 | o30.Rotation = Vector3.new(-0, 90, 0) | |
633 | o30.CanCollide = false | |
634 | o30.FormFactor = Enum.FormFactor.Custom | |
635 | o30.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
636 | o30.CFrame = CFrame.new(41.9599915, 0.654996991, -397.940033, -0, 0, 1, -0, 1, 0, -1, 0, 0) | |
637 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
638 | o30.TopSurface = Enum.SurfaceType.Smooth | |
639 | o30.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
640 | o30.Position = Vector3.new(41.9599915, 0.654996991, -397.940033) | |
641 | o31.Parent = o30 | |
642 | o31.MeshId = "http://www.roblox.com/asset/?id=10470609" | |
643 | o31.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
644 | o31.TextureId = "http://www.roblox.com/asset/?id=10470600" | |
645 | o31.MeshType = Enum.MeshType.FileMesh | |
646 | mas.Parent = workspace | |
647 | mas:MakeJoints() | |
648 | local mas1 = mas:GetChildren() | |
649 | for i=1,#mas1 do | |
650 | mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack | |
651 | ypcall(function() mas1[i]:MakeJoints() end) | |
652 | end | |
653 | mas:Destroy() | |
654 | for i=1,#cors do | |
655 | coroutine.resume(cors[i]) | |
656 | end |