SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | - | --Converted with ttyyuu12345's model to script plugin v4 |
2 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end --Converted with ttyyuu12345's model to script plugin v4 | |
6 | function sandbox(var,func) | |
7 | local env = getfenv(func) | |
8 | local newenv = setmetatable({},{ | |
9 | __index = function(self,k) | |
10 | if k=="script" then | |
11 | return var | |
12 | else | |
13 | return env[k] | |
14 | end | |
15 | end, | |
16 | }) | |
17 | setfenv(func,newenv) | |
18 | return func | |
19 | end | |
20 | cors = {} | |
21 | mas = Instance.new("Model",game:GetService("Lighting")) | |
22 | Tool0 = Instance.new("Tool") | |
23 | Animation1 = Instance.new("Animation") | |
24 | Animation2 = Instance.new("Animation") | |
25 | ScreenGui3 = Instance.new("ScreenGui") | |
26 | Frame4 = Instance.new("Frame") | |
27 | Frame5 = Instance.new("Frame") | |
28 | Frame6 = Instance.new("Frame") | |
29 | TextLabel7 = Instance.new("TextLabel") | |
30 | Folder8 = Instance.new("Folder") | |
31 | Animation9 = Instance.new("Animation") | |
32 | Animation10 = Instance.new("Animation") | |
33 | Animation11 = Instance.new("Animation") | |
34 | Animation12 = Instance.new("Animation") | |
35 | Script13 = Instance.new("Script") | |
36 | IntValue14 = Instance.new("IntValue") | |
37 | LocalScript15 = Instance.new("LocalScript") | |
38 | BoolValue16 = Instance.new("BoolValue") | |
39 | BoolValue17 = Instance.new("BoolValue") | |
40 | StringValue18 = Instance.new("StringValue") | |
41 | Part19 = Instance.new("Part") | |
42 | Decal20 = Instance.new("Decal") | |
43 | Part21 = Instance.new("Part") | |
44 | ManualWeld22 = Instance.new("ManualWeld") | |
45 | ManualWeld23 = Instance.new("ManualWeld") | |
46 | ManualWeld24 = Instance.new("ManualWeld") | |
47 | ManualWeld25 = Instance.new("ManualWeld") | |
48 | ManualWeld26 = Instance.new("ManualWeld") | |
49 | ManualWeld27 = Instance.new("ManualWeld") | |
50 | ManualWeld28 = Instance.new("ManualWeld") | |
51 | ManualWeld29 = Instance.new("ManualWeld") | |
52 | ManualWeld30 = Instance.new("ManualWeld") | |
53 | ManualWeld31 = Instance.new("ManualWeld") | |
54 | ManualWeld32 = Instance.new("ManualWeld") | |
55 | ManualWeld33 = Instance.new("ManualWeld") | |
56 | Part34 = Instance.new("Part") | |
57 | Script35 = Instance.new("Script") | |
58 | Script36 = Instance.new("Script") | |
59 | ParticleEmitter37 = Instance.new("ParticleEmitter") | |
60 | Part38 = Instance.new("Part") | |
61 | Part39 = Instance.new("Part") | |
62 | ManualWeld40 = Instance.new("ManualWeld") | |
63 | BoolValue41 = Instance.new("BoolValue") | |
64 | Sparkles42 = Instance.new("Sparkles") | |
65 | Part43 = Instance.new("Part") | |
66 | ManualWeld44 = Instance.new("ManualWeld") | |
67 | ParticleEmitter45 = Instance.new("ParticleEmitter") | |
68 | Part46 = Instance.new("Part") | |
69 | Script47 = Instance.new("Script") | |
70 | Script48 = Instance.new("Script") | |
71 | ParticleEmitter49 = Instance.new("ParticleEmitter") | |
72 | Part50 = Instance.new("Part") | |
73 | ManualWeld51 = Instance.new("ManualWeld") | |
74 | ParticleEmitter52 = Instance.new("ParticleEmitter") | |
75 | Part53 = Instance.new("Part") | |
76 | ManualWeld54 = Instance.new("ManualWeld") | |
77 | ParticleEmitter55 = Instance.new("ParticleEmitter") | |
78 | Part56 = Instance.new("Part") | |
79 | ManualWeld57 = Instance.new("ManualWeld") | |
80 | ParticleEmitter58 = Instance.new("ParticleEmitter") | |
81 | Part59 = Instance.new("Part") | |
82 | Decal60 = Instance.new("Decal") | |
83 | WedgePart61 = Instance.new("WedgePart") | |
84 | ManualWeld62 = Instance.new("ManualWeld") | |
85 | WedgePart63 = Instance.new("WedgePart") | |
86 | ManualWeld64 = Instance.new("ManualWeld") | |
87 | WedgePart65 = Instance.new("WedgePart") | |
88 | ManualWeld66 = Instance.new("ManualWeld") | |
89 | Script67 = Instance.new("Script") | |
90 | Script68 = Instance.new("Script") | |
91 | WedgePart69 = Instance.new("WedgePart") | |
92 | ManualWeld70 = Instance.new("ManualWeld") | |
93 | Script71 = Instance.new("Script") | |
94 | Script72 = Instance.new("Script") | |
95 | WedgePart73 = Instance.new("WedgePart") | |
96 | ManualWeld74 = Instance.new("ManualWeld") | |
97 | Script75 = Instance.new("Script") | |
98 | Script76 = Instance.new("Script") | |
99 | WedgePart77 = Instance.new("WedgePart") | |
100 | ManualWeld78 = Instance.new("ManualWeld") | |
101 | Script79 = Instance.new("Script") | |
102 | Script80 = Instance.new("Script") | |
103 | WedgePart81 = Instance.new("WedgePart") | |
104 | ManualWeld82 = Instance.new("ManualWeld") | |
105 | WedgePart83 = Instance.new("WedgePart") | |
106 | ManualWeld84 = Instance.new("ManualWeld") | |
107 | Tool0.Name = "The Atom Slicer" | |
108 | Tool0.Parent = mas | |
109 | Tool0.ToolTip = "Breaks apart unanchored blocks" | |
110 | Animation1.Name = "LeftSlash" | |
111 | Animation1.Parent = Tool0 | |
112 | Animation1.AnimationId = "http://www.roblox.com/Asset?ID=74894663" | |
113 | Animation2.Name = "RightSlash" | |
114 | Animation2.Parent = Tool0 | |
115 | Animation2.AnimationId = "http://www.roblox.com/Asset?ID=74813494" | |
116 | ScreenGui3.Name = "WeaponHud" | |
117 | ScreenGui3.Parent = Tool0 | |
118 | Frame4.Name = "Bar" | |
119 | Frame4.Parent = ScreenGui3 | |
120 | Frame4.Size = UDim2.new(0, 200, 0, 40) | |
121 | Frame4.Style = Enum.FrameStyle.RobloxRound | |
122 | Frame4.Position = UDim2.new(0.5, -100, 1, -160) | |
123 | Frame4.ZIndex = 4 | |
124 | Frame5.Name = "Fill" | |
125 | Frame5.Parent = Frame4 | |
126 | Frame5.Size = UDim2.new(0.5, 0, 1, 0) | |
127 | Frame5.BackgroundColor3 = Color3.new(0.470588, 0.470588, 0) | |
128 | Frame5.BorderSizePixel = 0 | |
129 | Frame5.ZIndex = 5 | |
130 | Frame6.Name = "Backing" | |
131 | Frame6.Parent = Frame4 | |
132 | Frame6.Size = UDim2.new(1, 0, 1, 0) | |
133 | Frame6.BackgroundColor3 = Color3.new(0, 0, 0) | |
134 | Frame6.BorderSizePixel = 0 | |
135 | Frame6.ZIndex = 4 | |
136 | TextLabel7.Name = "WeaponName" | |
137 | TextLabel7.Parent = ScreenGui3 | |
138 | TextLabel7.Transparency = 1 | |
139 | TextLabel7.Size = UDim2.new(0, 400, 0, 20) | |
140 | TextLabel7.Text = "" | |
141 | TextLabel7.Position = UDim2.new(0.5, -200, 1, -185) | |
142 | TextLabel7.BackgroundTransparency = 1 | |
143 | TextLabel7.BorderSizePixel = 0 | |
144 | TextLabel7.ZIndex = 4 | |
145 | TextLabel7.ClipsDescendants = true | |
146 | TextLabel7.Font = Enum.Font.ArialBold | |
147 | TextLabel7.FontSize = Enum.FontSize.Size18 | |
148 | TextLabel7.TextColor3 = Color3.new(0, 0, 0) | |
149 | TextLabel7.TextStrokeColor3 = Color3.new(0.698039, 0.698039, 0.698039) | |
150 | TextLabel7.TextTransparency = 0.20000000298023 | |
151 | Folder8.Name = "HD Radioactive Zombie Axe" | |
152 | Folder8.Parent = Tool0 | |
153 | Animation9.Name = "Stab2" | |
154 | Animation9.Parent = Tool0 | |
155 | Animation9.AnimationId = "http://www.roblox.com/Asset?ID=96559161" | |
156 | Animation10.Name = "Stab1" | |
157 | Animation10.Parent = Tool0 | |
158 | Animation10.AnimationId = "http://www.roblox.com/Asset?ID=96559159" | |
159 | Animation11.Name = "Hold" | |
160 | Animation11.Parent = Tool0 | |
161 | Animation11.AnimationId = "http://www.roblox.com/Asset?ID=96559165" | |
162 | Animation12.Name = "Equip" | |
163 | Animation12.Parent = Tool0 | |
164 | Animation12.AnimationId = "http://www.roblox.com/Asset?ID=94160581" | |
165 | Script13.Parent = Tool0 | |
166 | table.insert(cors,sandbox(Script13,function() | |
167 | --Made by Stickmasterluke | |
168 | ||
169 | ||
170 | sp=script.Parent | |
171 | ||
172 | ||
173 | damage=22 -- +/- 10% | |
174 | damagewindow=1 --after clicking, how long does the player have to hit the opponent wioth their weapon to deal damage | |
175 | swingrate=.75 | |
176 | ||
177 | clashsounds={91154405,91154446,91154471,91154503,91154521} | |
178 | swooshsounds={91154708,91155889} | |
179 | hitsounds={91154909,91154932,91154954} | |
180 | anims={"Stab1","Stab2","RightSlash","LeftSlash"} | |
181 | bloodeffects=false | |
182 | ||
183 | ||
184 | ready=false | |
185 | equipped=false | |
186 | rate=1/30 | |
187 | lastswing=0 | |
188 | ||
189 | ||
190 | local reloading=sp:WaitForChild("Reloading") | |
191 | local down=sp:WaitForChild("MouseDown") | |
192 | local runanim=sp:WaitForChild("RunAnim") | |
193 | local sparkles=sp.Handle:WaitForChild("Sparkles") | |
194 | local debris=game:getService("Debris") | |
195 | local weaponhud=sp:WaitForChild("WeaponHud") | |
196 | local weaponnametag=weaponhud:WaitForChild("WeaponName") | |
197 | local guibar=weaponhud:WaitForChild("Bar") | |
198 | local guibarfill=guibar:WaitForChild("Fill") | |
199 | weaponnametag.Text=sp.Name | |
200 | ||
201 | function runsound(id,volume) | |
202 | local volume=volume or 1 | |
203 | local sound=Instance.new("Sound") | |
204 | sound.Looped=false | |
205 | sound.Pitch=1 | |
206 | sound.SoundId="http://www.roblox.com/asset/?id="..tostring(id) | |
207 | sound.PlayOnRemove=false | |
208 | sound.Volume=volume | |
209 | debris:AddItem(sound,3) | |
210 | sound.Parent=sp.Handle | |
211 | wait() | |
212 | sound:Play() | |
213 | end | |
214 | ||
215 | function billboard(pos,text,time,color) | |
216 | local pos=pos or Vector3.new(0,0,0) | |
217 | local text=text or "Hello World!" | |
218 | local time=time or 2 | |
219 | local color=color or Color3.new(1,0,0) | |
220 | local pos=pos+Vector3.new(0,5,0) | |
221 | local ep=Instance.new("Part") | |
222 | ep.Name="Effect" | |
223 | ep.formFactor="Custom" | |
224 | ep.Size=Vector3.new(0,0,0) | |
225 | ep.TopSurface="Smooth" | |
226 | ep.BottomSurface="Smooth" | |
227 | ep.CFrame=CFrame.new(pos) | |
228 | ep.Anchored=true | |
229 | ep.CanCollide=false | |
230 | ep.Transparency=1 | |
231 | local bb=Instance.new("BillboardGui") | |
232 | bb.Size=UDim2.new(3,0,3,0) | |
233 | bb.Adornee=ep | |
234 | local tl=Instance.new("TextLabel") | |
235 | tl.BackgroundTransparency=1 | |
236 | tl.Size=UDim2.new(1,0,1,0) | |
237 | tl.Text=text | |
238 | tl.TextColor3=color | |
239 | tl.TextScaled=true | |
240 | tl.Font="ArialBold" | |
241 | ||
242 | tl.Parent=bb | |
243 | bb.Parent=ep | |
244 | debris:AddItem(ep,time+.1) | |
245 | ep.Parent=game.Workspace | |
246 | delay(0,function() | |
247 | local frames=time/rate | |
248 | for frame=1,frames do | |
249 | wait(rate) | |
250 | local percent=frame/frames | |
251 | ep.CFrame=CFrame.new(pos)+Vector3.new(0,5*percent,0) | |
252 | tl.TextTransparency=percent | |
253 | end | |
254 | ep:remove() | |
255 | end) | |
256 | end | |
257 | ||
258 | function makeblood(part) | |
259 | if part then | |
260 | local b=Instance.new("Part") | |
261 | b.BrickColor=BrickColor.new("Bright red") | |
262 | b.formFactor="Custom" | |
263 | b.Transparency=math.random(0,1)*.5 | |
264 | if math.random()<.5 then | |
265 | b.CanCollide=false | |
266 | else | |
267 | b.CanCollide=true | |
268 | end | |
269 | b.TopSurface="Smooth" | |
270 | b.BottomSurface="Smooth" | |
271 | b.Size=Vector3.new(.2*math.random(1,5),.2*math.random(1,5),.2*math.random(1,5)) | |
272 | b.Velocity=part.Velocity+(Vector3.new((math.random()-.5),(math.random()-.5),(math.random()-.5))*30) | |
273 | b.RotVelocity=part.RotVelocity+(Vector3.new((math.random()-.5),(math.random()-.5),(math.random()-.5))*20) | |
274 | b.CFrame=part.CFrame*CFrame.new((math.random()-.5)*3,(math.random()-.5)*3,(math.random()-.5)*3)*CFrame.Angles(math.pi*2*math.random(),math.pi*2*math.random(),math.pi*2*math.random()) | |
275 | debris:AddItem(b,math.random()*4) | |
276 | b.Parent=game.Workspace | |
277 | end | |
278 | end | |
279 | ||
280 | sp.Handle.Touched:connect(function(hit) | |
281 | if ready and equipped and hit and hit.Parent~=nil and hit:IsDescendantOf(sp.Parent)==false and string.lower(string.sub(hit.Name,1,6))~="effect" and (tick()-lastswing)<=damagewindow then | |
282 | if hit:FindFirstChild("CanBlock") and sp.Handle:FindFirstChild("Blockable") then | |
283 | ready=false | |
284 | runsound(clashsounds[math.random(1,#clashsounds)]) | |
285 | sparkles.Enabled=true | |
286 | delay(.2,function() | |
287 | sparkles.Enabled=false | |
288 | end) | |
289 | billboard(sp.Handle.Position,"Block",2,Color3.new(1,1,0)) | |
290 | end | |
291 | local mh=sp.Parent:FindFirstChild("Humanoid") | |
292 | local eh=hit.Parent:FindFirstChild("Humanoid") | |
293 | local ra=sp.Parent:FindFirstChild("Right Arm") | |
294 | local plr=game.Players:GetPlayerFromCharacter(sp.Parent) | |
295 | if mh and eh and eh~=mh and mh.Health>0 and eh.Health>0 and ra and plr~=nil then | |
296 | local eplr=game.Players:GetPlayerFromCharacter(eh.Parent) | |
297 | if eplr~=nil and not eplr.Neutral and not plr.Neutral and eplr.TeamColor==plr.TeamColor then | |
298 | return --No team killing | |
299 | end | |
300 | ready=false | |
301 | for i,v in ipairs(eh:GetChildren()) do | |
302 | if v.Name=="creator" then | |
303 | v:remove() | |
304 | end | |
305 | end | |
306 | local creator=Instance.new("ObjectValue") | |
307 | creator.Name="creator" | |
308 | creator.Value=plr | |
309 | creator.Parent=eh | |
310 | debris:AddItem(creator,1) | |
311 | local localdamage=math.floor(damage*(.9+(math.random()*.2))+.5) | |
312 | eh:TakeDamage(localdamage) | |
313 | billboard(hit.Position,"-"..tostring(localdamage)) | |
314 | runsound(hitsounds[math.random(1,#hitsounds)]) | |
315 | if bloodeffects then | |
316 | local numbloodeffects=math.ceil(localdamage/10) | |
317 | for i=1,math.random(numbloodeffects-1,numbloodeffects+1) do | |
318 | --[[if math.random()<.5 then | |
319 | makeblood(sp.Handle) | |
320 | else]] | |
321 | makeblood(hit) | |
322 | --end | |
323 | end | |
324 | end | |
325 | end | |
326 | end | |
327 | end) | |
328 | ||
329 | ||
330 | function Activate() | |
331 | if equipped and (tick()-lastswing)>=swingrate then | |
332 | ready=true | |
333 | reloading.Value=true | |
334 | ||
335 | runsound(swooshsounds[math.random(1,#swooshsounds)],.5) | |
336 | ||
337 | newanim=anims[math.random(1,#anims)] | |
338 | while newanim==runanim.Value do | |
339 | newanim=anims[math.random(1,#anims)] | |
340 | end | |
341 | runanim.Value=newanim | |
342 | ||
343 | lastswing=tick() | |
344 | ||
345 | wait(swingrate) | |
346 | ||
347 | reloading.Value=false | |
348 | if down.Value then | |
349 | Activate() | |
350 | end | |
351 | end | |
352 | end | |
353 | ||
354 | down.Changed:connect(function() | |
355 | if down.Value then | |
356 | Activate() | |
357 | end | |
358 | end) | |
359 | ||
360 | sp.Equipped:connect(function(mouse) | |
361 | lastswing=tick() | |
362 | ||
363 | reloading.Value=true | |
364 | ready=false | |
365 | equipped=true | |
366 | local plr=game.Players:GetPlayerFromCharacter(sp.Parent) | |
367 | if plr~=nil then | |
368 | local plrgui=plr:FindFirstChild("PlayerGui") | |
369 | if plrgui~=nil then | |
370 | weaponhud.Parent=plrgui | |
371 | end | |
372 | end | |
373 | ||
374 | wait(swingrate) | |
375 | ||
376 | reloading.Value=false | |
377 | if down.Value then | |
378 | Activate() | |
379 | end | |
380 | end) | |
381 | ||
382 | sp.Unequipped:connect(function() | |
383 | ready=false | |
384 | equipped=false | |
385 | weaponhud.Parent=sp | |
386 | end) | |
387 | ||
388 | ||
389 | function updategui() | |
390 | local swingpercent=math.min((tick()-lastswing)/swingrate,1) | |
391 | if swingpercent<.5 then --fade from red to yellow then to green | |
392 | guibarfill.BackgroundColor3=Color3.new(1,swingpercent*2,0) | |
393 | else | |
394 | guibarfill.BackgroundColor3=Color3.new(1-((swingpercent-.5)/.5),1,0) | |
395 | end | |
396 | guibarfill.Size=UDim2.new(swingpercent,0,1,0) | |
397 | end | |
398 | while true do | |
399 | updategui() | |
400 | wait(rate) | |
401 | end | |
402 | ||
403 | ||
404 | ||
405 | ||
406 | ||
407 | ||
408 | ||
409 | end)) | |
410 | IntValue14.Name = "WeaponSpeed" | |
411 | IntValue14.Parent = Tool0 | |
412 | IntValue14.Value = 98 | |
413 | LocalScript15.Parent = Tool0 | |
414 | table.insert(cors,sandbox(LocalScript15,function() | |
415 | --Made by Stickmasterluke | |
416 | ||
417 | ||
418 | sp=script.Parent | |
419 | ||
420 | ||
421 | local reloading=sp:WaitForChild("Reloading") | |
422 | local down=sp:WaitForChild("MouseDown") | |
423 | local runanim=sp:WaitForChild("RunAnim") | |
424 | ||
425 | animspeed=1.2 --lower number is slower | |
426 | equipspeed=1.5 | |
427 | originalgrip=CFrame.new(0,-1,.1) | |
428 | currentgrip=originalgrip | |
429 | function swordUp() | |
430 | currentgrip=originalgrip | |
431 | sp.Grip=currentgrip | |
432 | end | |
433 | function swordOut() | |
434 | currentgrip=originalgrip*CFrame.Angles(math.pi/4,.4,0) | |
435 | sp.Grip=currentgrip | |
436 | end | |
437 | function spinsword(spintime) | |
438 | delay(0,function() | |
439 | local startspin=tick() | |
440 | local endspin=startspin+spintime | |
441 | while tick()<endspin do | |
442 | sp.Grip=currentgrip*CFrame.Angles(math.pi*2*((tick()-startspin)/spintime),0,0) | |
443 | wait() | |
444 | end | |
445 | sp.Grip=currentgrip | |
446 | end) | |
447 | end | |
448 | ||
449 | function update(mouse) | |
450 | if mouse~=nil then | |
451 | if reloading.Value then | |
452 | mouse.Icon="rbxasset://textures\\GunWaitCursor.png" | |
453 | else | |
454 | mouse.Icon="rbxasset://textures\\GunCursor.png" | |
455 | end | |
456 | end | |
457 | end | |
458 | ||
459 | runanim.Changed:connect(function() | |
460 | local h=sp.Parent:FindFirstChild("Humanoid") | |
461 | local t=sp.Parent:FindFirstChild("Torso") | |
462 | local anim=sp:FindFirstChild(runanim.Value) | |
463 | if anim and t and h then | |
464 | local theanim=h:LoadAnimation(anim) | |
465 | if theanim and h.Health>0 then | |
466 | theanim:Play(nil,nil,animspeed) | |
467 | end | |
468 | end | |
469 | end) | |
470 | ||
471 | ||
472 | function Equipped(mouse) | |
473 | if mouse~=nil then | |
474 | update(mouse) | |
475 | reloading.Changed:connect(function() | |
476 | update(mouse) | |
477 | end) | |
478 | mouse.Button1Down:connect(function() | |
479 | down.Value=true | |
480 | end) | |
481 | mouse.Button1Up:connect(function() | |
482 | down.Value=false | |
483 | end) | |
484 | local h=sp.Parent:FindFirstChild("Humanoid") | |
485 | local t=sp.Parent:FindFirstChild("Torso") | |
486 | if t and h then | |
487 | local equipanim=sp:FindFirstChild("Equip") | |
488 | if equipanim~=nil then | |
489 | local EquipAnim=h:LoadAnimation(equipanim) | |
490 | if EquipAnim and h.Health>0 then | |
491 | EquipAnim:Play(nil,nil,equipspeed) | |
492 | end | |
493 | end | |
494 | local holdanim=sp:FindFirstChild("Hold") | |
495 | if holdanim~=nil then | |
496 | if HoldAnim then | |
497 | HoldAnim:Stop() | |
498 | end | |
499 | HoldAnim=h:LoadAnimation(holdanim) | |
500 | if HoldAnim and h.Health>0 then | |
501 | HoldAnim:Play() | |
502 | end | |
503 | end | |
504 | end | |
505 | end | |
506 | end | |
507 | ||
508 | function Unequipped() | |
509 | down.Value=false | |
510 | if HoldAnim then | |
511 | HoldAnim:Stop() | |
512 | end | |
513 | end | |
514 | ||
515 | sp.Equipped:connect(Equipped) | |
516 | sp.Unequipped:connect(Unequipped) | |
517 | ||
518 | end)) | |
519 | BoolValue16.Name = "MouseDown" | |
520 | BoolValue16.Parent = Tool0 | |
521 | BoolValue17.Name = "Reloading" | |
522 | BoolValue17.Parent = Tool0 | |
523 | StringValue18.Name = "RunAnim" | |
524 | StringValue18.Parent = Tool0 | |
525 | Part19.Parent = Tool0 | |
526 | Part19.Material = Enum.Material.DiamondPlate | |
527 | Part19.BrickColor = BrickColor.new("Fossil") | |
528 | Part19.Rotation = Vector3.new(-90, 90, 0) | |
529 | Part19.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024) | |
530 | Part19.CFrame = CFrame.new(37.207386, 1.99813211, -14.6356783, 2.11199822e-05, -1.29347181e-05, 1.00000012, -1.00000036, 5.92876965e-08, 2.34948511e-05, -5.95740204e-08, -1.00000024, -1.21432031e-05) | |
531 | Part19.BottomSurface = Enum.SurfaceType.Smooth | |
532 | Part19.TopSurface = Enum.SurfaceType.Smooth | |
533 | Part19.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
534 | Part19.Position = Vector3.new(37.207386, 1.99813211, -14.6356783) | |
535 | Part19.Orientation = Vector3.new(0, 90, -90) | |
536 | Part19.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
537 | Decal20.Parent = Part19 | |
538 | Decal20.Texture = "http://www.roblox.com/asset/?id=158269474" | |
539 | Decal20.Face = Enum.NormalId.Top | |
540 | Part21.Parent = Tool0 | |
541 | Part21.Material = Enum.Material.SmoothPlastic | |
542 | Part21.BrickColor = BrickColor.new("Fossil") | |
543 | Part21.Reflectance = 0.5 | |
544 | Part21.Rotation = Vector3.new(-90, 90, 0) | |
545 | Part21.Size = Vector3.new(2, 0.200000003, 1) | |
546 | Part21.CFrame = CFrame.new(37.2073898, 1.99813294, -14.4356785, 2.11199167e-05, -1.29348982e-05, 1, -1, 5.92877356e-08, 2.34948475e-05, -5.95739991e-08, -1, -1.21432513e-05) | |
547 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
548 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
549 | Part21.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
550 | Part21.Position = Vector3.new(37.2073898, 1.99813294, -14.4356785) | |
551 | Part21.Orientation = Vector3.new(0, 90, -90) | |
552 | Part21.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
553 | ManualWeld22.Name = "Part-to-Part Strong Joint" | |
554 | ManualWeld22.Parent = Part21 | |
555 | ManualWeld22.C0 = CFrame.new(1, -0.100000001, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
556 | ManualWeld22.C1 = CFrame.new(1, 0.0999994278, 0.0999736786, -1, 0, -0, 0, 0, -1, 0, -1, -0) | |
557 | ManualWeld22.Part0 = Part21 | |
558 | ManualWeld22.Part1 = Part38 | |
559 | ManualWeld23.Name = "Part-to-Part Strong Joint" | |
560 | ManualWeld23.Parent = Part21 | |
561 | ManualWeld23.C0 = CFrame.new(-1, -0.100000001, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
562 | ManualWeld23.C1 = CFrame.new(-1.90002441, -0.0999670029, -0.399931431, 1, -4.11171275e-09, 2.83012341e-05, 6.51459509e-09, 1, -8.4903797e-05, -2.83012341e-05, 8.4903797e-05, 1) | |
563 | ManualWeld23.Part0 = Part21 | |
564 | ManualWeld23.Part1 = Part53 | |
565 | ManualWeld24.Name = "Part-to-Wedge Strong Joint" | |
566 | ManualWeld24.Parent = Part21 | |
567 | ManualWeld24.C0 = CFrame.new(1, -0.100000001, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
568 | ManualWeld24.C1 = CFrame.new(-0.100016594, -0.400009155, 0.399998665, -5.93133009e-08, 1, 6.06054527e-07, 1, 5.93131269e-08, 2.85606802e-07, 2.85607257e-07, 6.06054527e-07, -1) | |
569 | ManualWeld24.Part0 = Part21 | |
570 | ManualWeld24.Part1 = WedgePart63 | |
571 | ManualWeld25.Name = "Part-to-Part Strong Joint" | |
572 | ManualWeld25.Parent = Part21 | |
573 | ManualWeld25.C0 = CFrame.new(1, -0.100000001, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
574 | ManualWeld25.C1 = CFrame.new(0.100006104, -0.100047112, 0.400010586, -1, -5.27714761e-09, -2.83012341e-05, -7.68002995e-09, 1, 8.4903797e-05, 2.83012341e-05, 8.4903797e-05, -1) | |
575 | ManualWeld25.Part0 = Part21 | |
576 | ManualWeld25.Part1 = Part56 | |
577 | ManualWeld26.Name = "Part-to-Part Strong Joint" | |
578 | ManualWeld26.Parent = Part21 | |
579 | ManualWeld26.C0 = CFrame.new(1, -0.100000001, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
580 | ManualWeld26.C1 = CFrame.new(1.90000534, -0.100030899, 0.399947166, -1, -4.11171275e-09, -2.83012341e-05, -6.51459509e-09, 1, 8.4903797e-05, 2.83012341e-05, 8.4903797e-05, -1) | |
581 | ManualWeld26.Part0 = Part21 | |
582 | ManualWeld26.Part1 = Part50 | |
583 | ManualWeld27.Name = "Part-to-Part Strong Joint" | |
584 | ManualWeld27.Parent = Part21 | |
585 | ManualWeld27.C0 = CFrame.new(-1, -0.100000001, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
586 | ManualWeld27.C1 = CFrame.new(-0.100009918, -0.0999832153, -0.39999485, 1, -2.94627878e-09, 2.83012341e-05, 5.34916111e-09, 1, -8.4903797e-05, -2.83012341e-05, 8.4903797e-05, 1) | |
587 | ManualWeld27.Part0 = Part21 | |
588 | ManualWeld27.Part1 = Part43 | |
589 | ManualWeld28.Name = "Part-to-Wedge Strong Joint" | |
590 | ManualWeld28.Parent = Part21 | |
591 | ManualWeld28.C0 = CFrame.new(-1, -0.100000001, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
592 | ManualWeld28.C1 = CFrame.new(-0.099984169, -0.400009155, 0.399998188, -2.83108093e-10, 1, 0, 1, 2.83108093e-10, -1.78813934e-07, -1.78813934e-07, -5.06071547e-17, -1) | |
593 | ManualWeld28.Part0 = Part21 | |
594 | ManualWeld28.Part1 = WedgePart83 | |
595 | ManualWeld29.Name = "Part-to-Wedge Strong Joint" | |
596 | ManualWeld29.Parent = Part21 | |
597 | ManualWeld29.C0 = CFrame.new(-1, -0.100000001, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
598 | ManualWeld29.C1 = CFrame.new(0.0999832153, 1.60000229, 0.400000572, 2.83076118e-10, -1, 0, -1, -2.83076118e-10, -1.78813934e-07, 1.78813934e-07, 5.06071547e-17, -1) | |
599 | ManualWeld29.Part0 = Part21 | |
600 | ManualWeld29.Part1 = WedgePart81 | |
601 | ManualWeld30.Name = "Part-to-Part Strong Joint" | |
602 | ManualWeld30.Parent = Part21 | |
603 | ManualWeld30.C0 = CFrame.new(-1, -0.100000001, -0.5, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
604 | ManualWeld30.C1 = CFrame.new(0.200019836, -0.100070953, -0.500035286, -1.10264464e-05, -6.85132528e-09, -1, 3.30793773e-05, 1, -7.21607307e-09, 1, -3.30793773e-05, -1.10264464e-05) | |
605 | ManualWeld30.Part0 = Part21 | |
606 | ManualWeld30.Part1 = Part34 | |
607 | ManualWeld31.Name = "Part-to-Part Strong Joint" | |
608 | ManualWeld31.Parent = Part21 | |
609 | ManualWeld31.C0 = CFrame.new(1, -0.100000001, 0.5, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
610 | ManualWeld31.C1 = CFrame.new(-0.199996948, -0.100022316, 0.499997616, -1.6355918e-05, 3.6267972e-10, 1, 4.90677703e-05, 1, 3.63097719e-10, -1, 4.66928395e-05, -1.5564272e-05) | |
611 | ManualWeld31.Part0 = Part21 | |
612 | ManualWeld31.Part1 = Part46 | |
613 | ManualWeld32.Name = "Part-to-Part Strong Joint" | |
614 | ManualWeld32.Parent = Part21 | |
615 | ManualWeld32.C0 = CFrame.new(-1, 0.100000001, 0.5, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
616 | ManualWeld32.C1 = CFrame.new(-1.00000048, -0.0999999046, 0.5, -1.00000036, 5.82076609e-11, 0, -5.68434189e-14, 1.82749815e-10, 1.00000024, 0, 1.00000012, -5.00808006e-11) | |
617 | ManualWeld32.Part0 = Part21 | |
618 | ManualWeld32.Part1 = Part19 | |
619 | ManualWeld33.Name = "Part-to-Part Strong Joint" | |
620 | ManualWeld33.Parent = Part21 | |
621 | ManualWeld33.C0 = CFrame.new(1, -0.100000001, 0.5, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
622 | ManualWeld33.C1 = CFrame.new(1, 0.0999994278, 0.500572205, 1.00000048, 5.82076609e-11, -2.84217094e-14, 1.13686838e-13, 2.99165137e-10, -1.00000036, 0, 1.00000012, 5.00808006e-11) | |
623 | ManualWeld33.Part0 = Part21 | |
624 | ManualWeld33.Part1 = Part59 | |
625 | Part34.Parent = Tool0 | |
626 | Part34.Material = Enum.Material.Neon | |
627 | Part34.BrickColor = BrickColor.new("Lime green") | |
628 | Part34.Reflectance = 0.5 | |
629 | Part34.Transparency = 0.10000000149012 | |
630 | Part34.Rotation = Vector3.new(-90, 90, 0) | |
631 | Part34.Size = Vector3.new(0.399999946, 0.200000003, 1) | |
632 | Part34.CFrame = CFrame.new(37.2074051, 3.1981473, -14.4357328, 1.00934703e-05, 2.01444782e-05, 1, -1, 5.28488577e-08, 1.24683993e-05, -5.25887742e-08, -1, 2.0936126e-05) | |
633 | Part34.BottomSurface = Enum.SurfaceType.Smooth | |
634 | Part34.TopSurface = Enum.SurfaceType.Smooth | |
635 | Part34.Color = Color3.new(0, 1, 0) | |
636 | Part34.Position = Vector3.new(37.2074051, 3.1981473, -14.4357328) | |
637 | Part34.Orientation = Vector3.new(0, 90, -90) | |
638 | Part34.Color = Color3.new(0, 1, 0) | |
639 | Script35.Parent = Part34 | |
640 | table.insert(cors,sandbox(Script35,function() | |
641 | function onTouched(part) | |
642 | local h = part.Parent:findFirstChild("Humanoid") | |
643 | if h~=nil then | |
644 | h.Health = h.Health -3 | |
645 | end | |
646 | end | |
647 | ||
648 | script.Parent.Touched:connect(onTouched) | |
649 | ||
650 | end)) | |
651 | Script36.Parent = Part34 | |
652 | table.insert(cors,sandbox(Script36,function() | |
653 | function onTouched(hit) | |
654 | ||
655 | ||
656 | ||
657 | hit:BreakJoints() | |
658 | ||
659 | ||
660 | ||
661 | end | |
662 | ||
663 | ||
664 | ||
665 | ||
666 | ||
667 | ||
668 | ||
669 | connection = script.Parent.Touched:connect(onTouched) | |
670 | ||
671 | ||
672 | ||
673 | ||
674 | end)) | |
675 | ParticleEmitter37.Name = "ParticleEmitterGlow" | |
676 | ParticleEmitter37.Parent = Part34 | |
677 | ParticleEmitter37.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
678 | ParticleEmitter37.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
679 | ParticleEmitter37.LightEmission = 1 | |
680 | ParticleEmitter37.Texture = "http://www.roblox.com/asset/?id=243660373" | |
681 | ParticleEmitter37.Lifetime = NumberRange.new(1, 1) | |
682 | ParticleEmitter37.Rate = 10 | |
683 | ParticleEmitter37.Speed = NumberRange.new(0, 0) | |
684 | ParticleEmitter37.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
685 | Part38.Parent = Tool0 | |
686 | Part38.Material = Enum.Material.DiamondPlate | |
687 | Part38.BrickColor = BrickColor.new("Fossil") | |
688 | Part38.Rotation = Vector3.new(0, 0, -90) | |
689 | Part38.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024) | |
690 | Part38.CFrame = CFrame.new(36.6073914, 1.99811888, -14.4356451, 2.11199167e-05, 1, 1.29348982e-05, -1, 2.34948475e-05, -5.92877356e-08, -5.95739991e-08, -1.21432513e-05, 1) | |
691 | Part38.BottomSurface = Enum.SurfaceType.Smooth | |
692 | Part38.TopSurface = Enum.SurfaceType.Smooth | |
693 | Part38.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
694 | Part38.Position = Vector3.new(36.6073914, 1.99811888, -14.4356451) | |
695 | Part38.Orientation = Vector3.new(0, 0, -90) | |
696 | Part38.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
697 | Part39.Name = "Handle" | |
698 | Part39.Parent = Tool0 | |
699 | Part39.Material = Enum.Material.DiamondPlate | |
700 | Part39.BrickColor = BrickColor.new("Smoky grey") | |
701 | Part39.Rotation = Vector3.new(-90, 0, -90) | |
702 | Part39.CanCollide = false | |
703 | Part39.Size = Vector3.new(0.200000003, 3.60000014, 0.200000003) | |
704 | Part39.CFrame = CFrame.new(34.7073822, 1.99818373, -14.4356651, 0, 1, -6.12323426e-17, 0, 6.12323426e-17, 1, 1, 0, 0) | |
705 | Part39.BottomSurface = Enum.SurfaceType.Smooth | |
706 | Part39.TopSurface = Enum.SurfaceType.Smooth | |
707 | Part39.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
708 | Part39.Position = Vector3.new(34.7073822, 1.99818373, -14.4356651) | |
709 | Part39.Orientation = Vector3.new(-90, -90, 0) | |
710 | Part39.Color = Color3.new(0.356863, 0.364706, 0.411765) | |
711 | ManualWeld40.Name = "Handle-to-Part Strong Joint" | |
712 | ManualWeld40.Parent = Part39 | |
713 | ManualWeld40.C0 = CFrame.new(-0.100000001, 1.80000007, 0.100000001, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
714 | ManualWeld40.C1 = CFrame.new(-0.100067139, -0.100007057, -0.100021362, 5.95739991e-08, -1, 2.11199167e-05, 1.21432513e-05, 2.34948475e-05, 1, -1, -5.92877356e-08, 1.29348982e-05) | |
715 | ManualWeld40.Part0 = Part39 | |
716 | ManualWeld40.Part1 = Part38 | |
717 | BoolValue41.Name = "Blockable" | |
718 | BoolValue41.Parent = Part39 | |
719 | BoolValue41.Value = true | |
720 | Sparkles42.Parent = Part39 | |
721 | Sparkles42.Color = Color3.new(1.77083, 10.2, 0) | |
722 | Sparkles42.Enabled = false | |
723 | Sparkles42.SparkleColor = Color3.new(1, 1, 0) | |
724 | Sparkles42.Color = Color3.new(1.77083, 10.2, 0) | |
725 | Part43.Parent = Tool0 | |
726 | Part43.Material = Enum.Material.Neon | |
727 | Part43.BrickColor = BrickColor.new("Lime green") | |
728 | Part43.Reflectance = 0.5 | |
729 | Part43.Transparency = 0.10000000149012 | |
730 | Part43.Rotation = Vector3.new(-90, 90, 0) | |
731 | Part43.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
732 | Part43.CFrame = CFrame.new(38.1073608, 2.89815545, -14.4357061, 4.9421149e-05, -9.78386961e-05, 1, -1, 5.1943772e-08, 5.17960871e-05, -5.69713876e-08, -1, -9.70470501e-05) | |
733 | Part43.BottomSurface = Enum.SurfaceType.Smooth | |
734 | Part43.TopSurface = Enum.SurfaceType.Smooth | |
735 | Part43.Color = Color3.new(0, 1, 0) | |
736 | Part43.Position = Vector3.new(38.1073608, 2.89815545, -14.4357061) | |
737 | Part43.Orientation = Vector3.new(0, 90.0099945, -90) | |
738 | Part43.Color = Color3.new(0, 1, 0) | |
739 | ManualWeld44.Name = "Part-to-Wedge Strong Joint" | |
740 | ManualWeld44.Parent = Part43 | |
741 | ManualWeld44.C0 = CFrame.new(-0.100000001, -0.100000001, -0.400000006, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
742 | ManualWeld44.C1 = CFrame.new(0.0999345779, -0.399990082, 0.700045109, -3.55779193e-05, -1, -2.5068422e-08, 1.1310487e-05, -2.52278678e-08, 1, -1, 4.38901916e-05, 1.40812499e-05) | |
743 | ManualWeld44.Part0 = Part43 | |
744 | ManualWeld44.Part1 = WedgePart65 | |
745 | ParticleEmitter45.Name = "ParticleEmitterGlow" | |
746 | ParticleEmitter45.Parent = Part43 | |
747 | ParticleEmitter45.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
748 | ParticleEmitter45.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
749 | ParticleEmitter45.LightEmission = 1 | |
750 | ParticleEmitter45.Texture = "http://www.roblox.com/asset/?id=243660373" | |
751 | ParticleEmitter45.Lifetime = NumberRange.new(1, 1) | |
752 | ParticleEmitter45.Rate = 10 | |
753 | ParticleEmitter45.Speed = NumberRange.new(0, 0) | |
754 | ParticleEmitter45.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
755 | Part46.Parent = Tool0 | |
756 | Part46.Material = Enum.Material.Neon | |
757 | Part46.BrickColor = BrickColor.new("Lime green") | |
758 | Part46.Reflectance = 0.5 | |
759 | Part46.Transparency = 0.10000000149012 | |
760 | Part46.Rotation = Vector3.new(-90, 90, 0) | |
761 | Part46.Size = Vector3.new(0.399999946, 0.200000003, 1) | |
762 | Part46.CFrame = CFrame.new(37.2074165, 0.798128247, -14.4356775, 3.74758347e-05, -6.20026694e-05, 1, -1, 5.77717962e-08, 3.90591231e-05, -6.01352923e-08, -1, -5.88360926e-05) | |
763 | Part46.BottomSurface = Enum.SurfaceType.Smooth | |
764 | Part46.TopSurface = Enum.SurfaceType.Smooth | |
765 | Part46.Color = Color3.new(0, 1, 0) | |
766 | Part46.Position = Vector3.new(37.2074165, 0.798128247, -14.4356775) | |
767 | Part46.Orientation = Vector3.new(0, 90, -90) | |
768 | Part46.Color = Color3.new(0, 1, 0) | |
769 | Script47.Parent = Part46 | |
770 | table.insert(cors,sandbox(Script47,function() | |
771 | function onTouched(part) | |
772 | local h = part.Parent:findFirstChild("Humanoid") | |
773 | if h~=nil then | |
774 | h.Health = h.Health -3 | |
775 | end | |
776 | end | |
777 | ||
778 | script.Parent.Touched:connect(onTouched) | |
779 | ||
780 | end)) | |
781 | Script48.Parent = Part46 | |
782 | table.insert(cors,sandbox(Script48,function() | |
783 | function onTouched(hit) | |
784 | ||
785 | ||
786 | ||
787 | hit:BreakJoints() | |
788 | ||
789 | ||
790 | ||
791 | end | |
792 | ||
793 | ||
794 | ||
795 | ||
796 | ||
797 | ||
798 | ||
799 | connection = script.Parent.Touched:connect(onTouched) | |
800 | ||
801 | ||
802 | ||
803 | ||
804 | end)) | |
805 | ParticleEmitter49.Name = "ParticleEmitterGlow" | |
806 | ParticleEmitter49.Parent = Part46 | |
807 | ParticleEmitter49.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
808 | ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
809 | ParticleEmitter49.LightEmission = 1 | |
810 | ParticleEmitter49.Texture = "http://www.roblox.com/asset/?id=243660373" | |
811 | ParticleEmitter49.Lifetime = NumberRange.new(1, 1) | |
812 | ParticleEmitter49.Rate = 10 | |
813 | ParticleEmitter49.Speed = NumberRange.new(0, 0) | |
814 | ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
815 | Part50.Parent = Tool0 | |
816 | Part50.Material = Enum.Material.Neon | |
817 | Part50.BrickColor = BrickColor.new("Lime green") | |
818 | Part50.Reflectance = 0.5 | |
819 | Part50.Transparency = 0.10000000149012 | |
820 | Part50.Rotation = Vector3.new(-90, 90, 0) | |
821 | Part50.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
822 | Part50.CFrame = CFrame.new(36.3073616, 2.89810586, -14.4356642, 4.9421149e-05, -9.78386961e-05, 1, -1, 5.07783362e-08, 5.17960871e-05, -5.58059554e-08, -1, -9.70470501e-05) | |
823 | Part50.BottomSurface = Enum.SurfaceType.Smooth | |
824 | Part50.TopSurface = Enum.SurfaceType.Smooth | |
825 | Part50.Color = Color3.new(0, 1, 0) | |
826 | Part50.Position = Vector3.new(36.3073616, 2.89810586, -14.4356642) | |
827 | Part50.Orientation = Vector3.new(0, 90.0099945, -90) | |
828 | Part50.Color = Color3.new(0, 1, 0) | |
829 | ManualWeld51.Name = "Part-to-Wedge Strong Joint" | |
830 | ManualWeld51.Parent = Part50 | |
831 | ManualWeld51.C0 = CFrame.new(-0.100000001, -0.100000001, -0.400000006, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
832 | ManualWeld51.C1 = CFrame.new(-0.100255966, -0.400081635, -0.100009918, 0.000167644699, 1, -2.06830419e-09, 5.56734703e-05, -7.39648431e-09, 1, 1, -0.00017001963, -5.64651164e-05) | |
833 | ManualWeld51.Part0 = Part50 | |
834 | ManualWeld51.Part1 = WedgePart73 | |
835 | ParticleEmitter52.Name = "ParticleEmitterGlow" | |
836 | ParticleEmitter52.Parent = Part50 | |
837 | ParticleEmitter52.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
838 | ParticleEmitter52.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
839 | ParticleEmitter52.LightEmission = 1 | |
840 | ParticleEmitter52.Texture = "http://www.roblox.com/asset/?id=243660373" | |
841 | ParticleEmitter52.Lifetime = NumberRange.new(1, 1) | |
842 | ParticleEmitter52.Rate = 10 | |
843 | ParticleEmitter52.Speed = NumberRange.new(0, 0) | |
844 | ParticleEmitter52.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
845 | Part53.Parent = Tool0 | |
846 | Part53.Material = Enum.Material.Neon | |
847 | Part53.BrickColor = BrickColor.new("Lime green") | |
848 | Part53.Reflectance = 0.5 | |
849 | Part53.Transparency = 0.10000000149012 | |
850 | Part53.Rotation = Vector3.new(-90, 90, 0) | |
851 | Part53.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
852 | Part53.CFrame = CFrame.new(38.1073837, 1.09814095, -14.4356909, 4.9421149e-05, -9.78386961e-05, 1, -1, 5.07783362e-08, 5.17960871e-05, -5.58059554e-08, -1, -9.70470501e-05) | |
853 | Part53.BottomSurface = Enum.SurfaceType.Smooth | |
854 | Part53.TopSurface = Enum.SurfaceType.Smooth | |
855 | Part53.Color = Color3.new(0, 1, 0) | |
856 | Part53.Position = Vector3.new(38.1073837, 1.09814095, -14.4356909) | |
857 | Part53.Orientation = Vector3.new(0, 90.0099945, -90) | |
858 | Part53.Color = Color3.new(0, 1, 0) | |
859 | ManualWeld54.Name = "Part-to-Wedge Strong Joint" | |
860 | ManualWeld54.Parent = Part53 | |
861 | ManualWeld54.C0 = CFrame.new(0.100000001, -0.100000001, 0.400000006, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
862 | ManualWeld54.C1 = CFrame.new(-0.100032806, -0.400005341, -0.0999860764, 7.12477777e-06, 1, -7.6663369e-09, 2.52569207e-05, 7.32118854e-09, 1, 1, -1.78118353e-06, -2.70381224e-05) | |
863 | ManualWeld54.Part0 = Part53 | |
864 | ManualWeld54.Part1 = WedgePart77 | |
865 | ParticleEmitter55.Name = "ParticleEmitterGlow" | |
866 | ParticleEmitter55.Parent = Part53 | |
867 | ParticleEmitter55.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
868 | ParticleEmitter55.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
869 | ParticleEmitter55.LightEmission = 1 | |
870 | ParticleEmitter55.Texture = "http://www.roblox.com/asset/?id=243660373" | |
871 | ParticleEmitter55.Lifetime = NumberRange.new(1, 1) | |
872 | ParticleEmitter55.Rate = 10 | |
873 | ParticleEmitter55.Speed = NumberRange.new(0, 0) | |
874 | ParticleEmitter55.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
875 | Part56.Parent = Tool0 | |
876 | Part56.Material = Enum.Material.Neon | |
877 | Part56.BrickColor = BrickColor.new("Lime green") | |
878 | Part56.Reflectance = 0.5 | |
879 | Part56.Transparency = 0.10000000149012 | |
880 | Part56.Rotation = Vector3.new(-90, 90, 0) | |
881 | Part56.Size = Vector3.new(0.200000003, 0.200000003, 0.800000012) | |
882 | Part56.CFrame = CFrame.new(36.3073883, 1.09810662, -14.4356804, 4.9421149e-05, -9.78386961e-05, 1, -1, 4.9612904e-08, 5.17960871e-05, -5.46405197e-08, -1, -9.70470501e-05) | |
883 | Part56.BottomSurface = Enum.SurfaceType.Smooth | |
884 | Part56.TopSurface = Enum.SurfaceType.Smooth | |
885 | Part56.Color = Color3.new(0, 1, 0) | |
886 | Part56.Position = Vector3.new(36.3073883, 1.09810662, -14.4356804) | |
887 | Part56.Orientation = Vector3.new(0, 90.0099945, -90) | |
888 | Part56.Color = Color3.new(0, 1, 0) | |
889 | ManualWeld57.Name = "Part-to-Wedge Strong Joint" | |
890 | ManualWeld57.Parent = Part56 | |
891 | ManualWeld57.C0 = CFrame.new(0.100000001, -0.100000001, 0.400000006, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
892 | ManualWeld57.C1 = CFrame.new(0.0999794006, -0.400005341, 0.699987888, 3.22348496e-05, -1, -1.44519987e-08, 1.07351134e-05, -1.43486885e-08, 1, -1, -3.99533747e-05, 1.33079648e-05) | |
893 | ManualWeld57.Part0 = Part56 | |
894 | ManualWeld57.Part1 = WedgePart69 | |
895 | ParticleEmitter58.Name = "ParticleEmitterGlow" | |
896 | ParticleEmitter58.Parent = Part56 | |
897 | ParticleEmitter58.Transparency = NumberSequence.new(1,0.5,0.5,1) | |
898 | ParticleEmitter58.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
899 | ParticleEmitter58.LightEmission = 1 | |
900 | ParticleEmitter58.Texture = "http://www.roblox.com/asset/?id=243660373" | |
901 | ParticleEmitter58.Lifetime = NumberRange.new(1, 1) | |
902 | ParticleEmitter58.Rate = 10 | |
903 | ParticleEmitter58.Speed = NumberRange.new(0, 0) | |
904 | ParticleEmitter58.Color = ColorSequence.new(Color3.new(0.568627, 1, 0),Color3.new(0.439216, 1, 0.0941177)) | |
905 | Part59.Parent = Tool0 | |
906 | Part59.Material = Enum.Material.DiamondPlate | |
907 | Part59.BrickColor = BrickColor.new("Fossil") | |
908 | Part59.Rotation = Vector3.new(-90, 90, 0) | |
909 | Part59.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024) | |
910 | Part59.CFrame = CFrame.new(37.2068214, 1.99813342, -14.2356787, 2.11199858e-05, -1.29346035e-05, 1.00000012, -1.00000048, 5.92876503e-08, 2.34948511e-05, -5.95740559e-08, -1.00000036, -1.21432031e-05) | |
911 | Part59.BottomSurface = Enum.SurfaceType.Smooth | |
912 | Part59.TopSurface = Enum.SurfaceType.Smooth | |
913 | Part59.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
914 | Part59.Position = Vector3.new(37.2068214, 1.99813342, -14.2356787) | |
915 | Part59.Orientation = Vector3.new(0, 90, -90) | |
916 | Part59.Color = Color3.new(0.623529, 0.631373, 0.67451) | |
917 | Decal60.Parent = Part59 | |
918 | Decal60.Texture = "http://www.roblox.com/asset/?id=158269474" | |
919 | Decal60.Face = Enum.NormalId.Bottom | |
920 | WedgePart61.Parent = Tool0 | |
921 | WedgePart61.Material = Enum.Material.Neon | |
922 | WedgePart61.BrickColor = BrickColor.new("Lime green") | |
923 | WedgePart61.Reflectance = 0.5 | |
924 | WedgePart61.Transparency = 0.10000000149012 | |
925 | WedgePart61.Rotation = Vector3.new(-180, 90, 0) | |
926 | WedgePart61.Size = Vector3.new(0.200000003, 0.399999976, 0.800000072) | |
927 | WedgePart61.CFrame = CFrame.new(36.307373, 2.59811664, -14.4356508, 5.41532863e-05, 7.4161253e-06, 1, -3.76816693e-08, -1, 9.79105971e-06, 1, -3.82051013e-08, -5.33616439e-05) | |
928 | WedgePart61.Color = Color3.new(0, 1, 0) | |
929 | WedgePart61.Position = Vector3.new(36.307373, 2.59811664, -14.4356508) | |
930 | WedgePart61.Orientation = Vector3.new(0, 90, -180) | |
931 | WedgePart61.Color = Color3.new(0, 1, 0) | |
932 | ManualWeld62.Name = "Wedge-to-Part Strong Joint" | |
933 | ManualWeld62.Parent = WedgePart61 | |
934 | ManualWeld62.C0 = CFrame.new(0.100000001, -0.199999988, 0.400000036, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
935 | ManualWeld62.C1 = CFrame.new(0.100006104, -0.100030899, 0.400001049, -1.53593991e-08, 4.20050237e-05, -1, -1, -4.36854098e-05, 1.35243923e-08, -4.36854098e-05, 1, 4.20050237e-05) | |
936 | ManualWeld62.Part0 = WedgePart61 | |
937 | ManualWeld62.Part1 = Part50 | |
938 | WedgePart63.Parent = Tool0 | |
939 | WedgePart63.Material = Enum.Material.Neon | |
940 | WedgePart63.BrickColor = BrickColor.new("Lime green") | |
941 | WedgePart63.Reflectance = 0.5 | |
942 | WedgePart63.Transparency = 0.10000000149012 | |
943 | WedgePart63.Rotation = Vector3.new(0, 90, 0) | |
944 | WedgePart63.Size = Vector3.new(0.200000003, 0.399999976, 0.800000072) | |
945 | WedgePart63.CFrame = CFrame.new(36.3074036, 1.39812088, -14.4356842, -1.35409518e-05, -2.14055235e-05, 1, -3.98044861e-11, 1, 2.37804543e-05, -1, 2.64340411e-10, -1.27493058e-05) | |
946 | WedgePart63.Color = Color3.new(0, 1, 0) | |
947 | WedgePart63.Position = Vector3.new(36.3074036, 1.39812088, -14.4356842) | |
948 | WedgePart63.Orientation = Vector3.new(0, 90, 0) | |
949 | WedgePart63.Color = Color3.new(0, 1, 0) | |
950 | ManualWeld64.Name = "Wedge-to-Part Strong Joint" | |
951 | ManualWeld64.Parent = WedgePart63 | |
952 | ManualWeld64.C0 = CFrame.new(0.100000001, -0.199999988, 0.400000036, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
953 | ManualWeld64.C1 = CFrame.new(-0.0999984741, 0.0999536514, 0.400028229, 5.25622319e-08, 4.17421543e-05, 1, 1, -4.31181325e-05, -5.07623881e-08, 4.31181325e-05, 1, -4.17421579e-05) | |
954 | ManualWeld64.Part0 = WedgePart63 | |
955 | ManualWeld64.Part1 = Part56 | |
956 | WedgePart65.Parent = Tool0 | |
957 | WedgePart65.Material = Enum.Material.Neon | |
958 | WedgePart65.BrickColor = BrickColor.new("Lime green") | |
959 | WedgePart65.Reflectance = 0.5 | |
960 | WedgePart65.Transparency = 0.10000000149012 | |
961 | WedgePart65.Rotation = Vector3.new(0, -90, 0) | |
962 | WedgePart65.Size = Vector3.new(0.200000003, 0.799999952, 1.4000001) | |
963 | WedgePart65.CFrame = CFrame.new(38.4073906, 3.39815116, -14.4356394, 6.22607768e-05, -3.81106584e-05, -1, -7.88549954e-08, 1, -3.77148353e-05, 1, 8.11016108e-08, 5.31568585e-05) | |
964 | WedgePart65.Color = Color3.new(0, 1, 0) | |
965 | WedgePart65.Position = Vector3.new(38.4073906, 3.39815116, -14.4356394) | |
966 | WedgePart65.Orientation = Vector3.new(0, -90, 0) | |
967 | WedgePart65.Color = Color3.new(0, 1, 0) | |
968 | ManualWeld66.Name = "Wedge-to-Part Strong Joint" | |
969 | ManualWeld66.Parent = WedgePart65 | |
970 | ManualWeld66.C0 = CFrame.new(-0.100000001, -0.399999976, 0.700000048, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
971 | ManualWeld66.C1 = CFrame.new(0.200019836, 0.0998849869, 0.499987125, 2.6902768e-08, -1, 2.84130147e-05, -1, -2.92778886e-08, -8.35927203e-05, 8.35927203e-05, -2.84130128e-05, -1) | |
972 | ManualWeld66.Part0 = WedgePart65 | |
973 | ManualWeld66.Part1 = Part34 | |
974 | Script67.Parent = WedgePart65 | |
975 | table.insert(cors,sandbox(Script67,function() | |
976 | function onTouched(part) | |
977 | local h = part.Parent:findFirstChild("Humanoid") | |
978 | if h~=nil then | |
979 | h.Health = h.Health -3 | |
980 | end | |
981 | end | |
982 | ||
983 | script.Parent.Touched:connect(onTouched) | |
984 | ||
985 | end)) | |
986 | Script68.Parent = WedgePart65 | |
987 | table.insert(cors,sandbox(Script68,function() | |
988 | function onTouched(hit) | |
989 | ||
990 | ||
991 | ||
992 | hit:BreakJoints() | |
993 | ||
994 | ||
995 | ||
996 | end | |
997 | ||
998 | ||
999 | ||
1000 | ||
1001 | ||
1002 | ||
1003 | ||
1004 | connection = script.Parent.Touched:connect(onTouched) | |
1005 | ||
1006 | ||
1007 | ||
1008 | ||
1009 | end)) | |
1010 | WedgePart69.Parent = Tool0 | |
1011 | WedgePart69.Material = Enum.Material.Neon | |
1012 | WedgePart69.BrickColor = BrickColor.new("Lime green") | |
1013 | WedgePart69.Reflectance = 0.5 | |
1014 | WedgePart69.Transparency = 0.10000000149012 | |
1015 | WedgePart69.Rotation = Vector3.new(-180, 90, 0) | |
1016 | WedgePart69.Size = Vector3.new(0.200000003, 0.799999952, 1.4000001) | |
1017 | WedgePart69.CFrame = CFrame.new(36.0074234, 0.598095059, -14.4356585, 6.56038465e-05, 3.86860338e-05, 1, -3.68305457e-08, -1, 3.84881205e-05, 1, -3.92500183e-08, -5.70936754e-05) | |
1018 | WedgePart69.Color = Color3.new(0, 1, 0) | |
1019 | WedgePart69.Position = Vector3.new(36.0074234, 0.598095059, -14.4356585) | |
1020 | WedgePart69.Orientation = Vector3.new(0, 90, -180) | |
1021 | WedgePart69.Color = Color3.new(0, 1, 0) | |
1022 | ManualWeld70.Name = "Wedge-to-Part Strong Joint" | |
1023 | ManualWeld70.Parent = WedgePart69 | |
1024 | ManualWeld70.C0 = CFrame.new(-0.100000001, -0.399999976, 0.700000048, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1025 | ManualWeld70.C1 = CFrame.new(-0.200012207, 0.100052834, -0.500001907, -2.06804582e-08, 1, -2.39766996e-06, -1, -2.06632826e-08, 7.16357317e-06, 7.16357317e-06, 2.39767041e-06, 1) | |
1026 | ManualWeld70.Part0 = WedgePart69 | |
1027 | ManualWeld70.Part1 = Part46 | |
1028 | Script71.Parent = WedgePart69 | |
1029 | table.insert(cors,sandbox(Script71,function() | |
1030 | function onTouched(part) | |
1031 | local h = part.Parent:findFirstChild("Humanoid") | |
1032 | if h~=nil then | |
1033 | h.Health = h.Health -3 | |
1034 | end | |
1035 | end | |
1036 | ||
1037 | script.Parent.Touched:connect(onTouched) | |
1038 | ||
1039 | end)) | |
1040 | Script72.Parent = WedgePart69 | |
1041 | table.insert(cors,sandbox(Script72,function() | |
1042 | function onTouched(hit) | |
1043 | ||
1044 | ||
1045 | ||
1046 | hit:BreakJoints() | |
1047 | ||
1048 | ||
1049 | ||
1050 | end | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | ||
1057 | ||
1058 | connection = script.Parent.Touched:connect(onTouched) | |
1059 | ||
1060 | ||
1061 | ||
1062 | ||
1063 | end)) | |
1064 | WedgePart73.Parent = Tool0 | |
1065 | WedgePart73.Material = Enum.Material.Neon | |
1066 | WedgePart73.BrickColor = BrickColor.new("Lime green") | |
1067 | WedgePart73.Reflectance = 0.5 | |
1068 | WedgePart73.Transparency = 0.10000000149012 | |
1069 | WedgePart73.Rotation = Vector3.new(0, 90, 0) | |
1070 | WedgePart73.Size = Vector3.new(0.200000003, 0.799999952, 1.4000001) | |
1071 | WedgePart73.CFrame = CFrame.new(36.0073853, 3.39816618, -14.435874, 6.9806003e-05, 6.25232133e-06, 1, 5.73933718e-08, 1, -4.66903657e-06, -1, 5.77994967e-08, 7.29725798e-05) | |
1072 | WedgePart73.Color = Color3.new(0, 1, 0) | |
1073 | WedgePart73.Position = Vector3.new(36.0073853, 3.39816618, -14.435874) | |
1074 | WedgePart73.Orientation = Vector3.new(0, 90, 0) | |
1075 | WedgePart73.Color = Color3.new(0, 1, 0) | |
1076 | ManualWeld74.Name = "Wedge-to-Part Strong Joint" | |
1077 | ManualWeld74.Parent = WedgePart73 | |
1078 | ManualWeld74.C0 = CFrame.new(-0.100000001, -0.399999976, 0.700000048, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1079 | ManualWeld74.C1 = CFrame.new(0.199981689, -0.0999193192, -0.500029564, -3.87971788e-09, -1, 1.75332589e-05, 1, -4.91384977e-09, -5.3223921e-05, 4.84740594e-05, 1.59499668e-05, 1) | |
1080 | ManualWeld74.Part0 = WedgePart73 | |
1081 | ManualWeld74.Part1 = Part34 | |
1082 | Script75.Parent = WedgePart73 | |
1083 | table.insert(cors,sandbox(Script75,function() | |
1084 | function onTouched(part) | |
1085 | local h = part.Parent:findFirstChild("Humanoid") | |
1086 | if h~=nil then | |
1087 | h.Health = h.Health -3 | |
1088 | end | |
1089 | end | |
1090 | ||
1091 | script.Parent.Touched:connect(onTouched) | |
1092 | ||
1093 | end)) | |
1094 | Script76.Parent = WedgePart73 | |
1095 | table.insert(cors,sandbox(Script76,function() | |
1096 | function onTouched(hit) | |
1097 | ||
1098 | ||
1099 | ||
1100 | hit:BreakJoints() | |
1101 | ||
1102 | ||
1103 | ||
1104 | end | |
1105 | ||
1106 | ||
1107 | ||
1108 | ||
1109 | ||
1110 | ||
1111 | ||
1112 | connection = script.Parent.Touched:connect(onTouched) | |
1113 | ||
1114 | ||
1115 | ||
1116 | ||
1117 | end)) | |
1118 | WedgePart77.Parent = Tool0 | |
1119 | WedgePart77.Material = Enum.Material.Neon | |
1120 | WedgePart77.BrickColor = BrickColor.new("Lime green") | |
1121 | WedgePart77.Reflectance = 0.5 | |
1122 | WedgePart77.Transparency = 0.10000000149012 | |
1123 | WedgePart77.Rotation = Vector3.new(-180, -90, 0) | |
1124 | WedgePart77.Size = Vector3.new(0.200000003, 0.799999952, 1.4000001) | |
1125 | WedgePart77.CFrame = CFrame.new(38.4074097, 0.59815383, -14.4357529, -0.000104963474, 2.41642283e-05, -1, 5.80756385e-08, -1, -2.47579646e-05, -1, -6.06760366e-08, 9.88282336e-05) | |
1126 | WedgePart77.Color = Color3.new(0, 1, 0) | |
1127 | WedgePart77.Position = Vector3.new(38.4074097, 0.59815383, -14.4357529) | |
1128 | WedgePart77.Orientation = Vector3.new(0, -89.9899979, 180) | |
1129 | WedgePart77.Color = Color3.new(0, 1, 0) | |
1130 | ManualWeld78.Name = "Wedge-to-Part Strong Joint" | |
1131 | ManualWeld78.Parent = WedgePart77 | |
1132 | ManualWeld78.C0 = CFrame.new(-0.100000001, -0.399999976, 0.700000048, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1133 | ManualWeld78.C1 = CFrame.new(-0.199989319, -0.100026131, 0.499999523, -2.14872919e-09, 1, -1.21241355e-05, 1, 1.58467561e-09, -4.65232006e-05, -4.65232006e-05, -1.21241355e-05, -1) | |
1134 | ManualWeld78.Part0 = WedgePart77 | |
1135 | ManualWeld78.Part1 = Part46 | |
1136 | Script79.Parent = WedgePart77 | |
1137 | table.insert(cors,sandbox(Script79,function() | |
1138 | function onTouched(part) | |
1139 | local h = part.Parent:findFirstChild("Humanoid") | |
1140 | if h~=nil then | |
1141 | h.Health = h.Health -3 | |
1142 | end | |
1143 | end | |
1144 | ||
1145 | script.Parent.Touched:connect(onTouched) | |
1146 | ||
1147 | end)) | |
1148 | Script80.Parent = WedgePart77 | |
1149 | table.insert(cors,sandbox(Script80,function() | |
1150 | function onTouched(hit) | |
1151 | ||
1152 | ||
1153 | ||
1154 | hit:BreakJoints() | |
1155 | ||
1156 | ||
1157 | ||
1158 | end | |
1159 | ||
1160 | ||
1161 | ||
1162 | ||
1163 | ||
1164 | ||
1165 | ||
1166 | connection = script.Parent.Touched:connect(onTouched) | |
1167 | ||
1168 | ||
1169 | ||
1170 | ||
1171 | end)) | |
1172 | WedgePart81.Parent = Tool0 | |
1173 | WedgePart81.Material = Enum.Material.Neon | |
1174 | WedgePart81.BrickColor = BrickColor.new("Lime green") | |
1175 | WedgePart81.Reflectance = 0.5 | |
1176 | WedgePart81.Transparency = 0.10000000149012 | |
1177 | WedgePart81.Rotation = Vector3.new(0, -90, 0) | |
1178 | WedgePart81.Size = Vector3.new(0.200000003, 0.399999976, 0.800000012) | |
1179 | WedgePart81.CFrame = CFrame.new(38.1074028, 1.39815187, -14.4356728, 1.29348982e-05, -2.12987306e-05, -1, -5.95708123e-08, 1, -2.36736614e-05, 1, 5.98592464e-08, 1.21432513e-05) | |
1180 | WedgePart81.Color = Color3.new(0, 1, 0) | |
1181 | WedgePart81.Position = Vector3.new(38.1074028, 1.39815187, -14.4356728) | |
1182 | WedgePart81.Orientation = Vector3.new(0, -90, 0) | |
1183 | WedgePart81.Color = Color3.new(0, 1, 0) | |
1184 | ManualWeld82.Name = "Wedge-to-Part Strong Joint" | |
1185 | ManualWeld82.Parent = WedgePart81 | |
1186 | ManualWeld82.C0 = CFrame.new(0.100000001, -0.199999988, 0.400000006, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
1187 | ManualWeld82.C1 = CFrame.new(-0.100028992, -0.0999679565, -0.399979591, 5.84323878e-09, -4.18489435e-05, 1, -1, 4.37241906e-05, 7.67304975e-09, -4.37241906e-05, -1, -4.18489435e-05) | |
1188 | ManualWeld82.Part0 = WedgePart81 | |
1189 | ManualWeld82.Part1 = Part53 | |
1190 | WedgePart83.Parent = Tool0 | |
1191 | WedgePart83.Material = Enum.Material.Neon | |
1192 | WedgePart83.BrickColor = BrickColor.new("Lime green") | |
1193 | WedgePart83.Reflectance = 0.5 | |
1194 | WedgePart83.Transparency = 0.10000000149012 | |
1195 | WedgePart83.Rotation = Vector3.new(-180, -90, 0) | |
1196 | WedgePart83.Size = Vector3.new(0.200000003, 0.399999976, 0.800000072) | |
1197 | WedgePart83.CFrame = CFrame.new(38.1073761, 2.59814501, -14.4356737, -1.29348982e-05, 2.09411028e-05, -1, 5.95708443e-08, -1, -2.33160335e-05, -1, -5.98549335e-08, 1.21432513e-05) | |
1198 | WedgePart83.Color = Color3.new(0, 1, 0) | |
1199 | WedgePart83.Position = Vector3.new(38.1073761, 2.59814501, -14.4356737) | |
1200 | WedgePart83.Orientation = Vector3.new(0, -90, 180) | |
1201 | WedgePart83.Color = Color3.new(0, 1, 0) | |
1202 | ManualWeld84.Name = "Wedge-to-Part Strong Joint" | |
1203 | ManualWeld84.Parent = WedgePart83 | |
1204 | ManualWeld84.C0 = CFrame.new(0.100000001, -0.199999988, 0.400000036, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
1205 | ManualWeld84.C1 = CFrame.new(0.0999908447, 0.100016594, -0.399988174, -4.67783678e-09, -4.22065714e-05, -1, 1, 4.37241906e-05, -6.52328502e-09, 4.37241906e-05, -1, 4.22065714e-05) | |
1206 | ManualWeld84.Part0 = WedgePart83 | |
1207 | ManualWeld84.Part1 = Part43 | |
1208 | for i,v in pairs(mas:GetChildren()) do | |
1209 | v.Parent = game:GetService("Players").LocalPlayer.Backpack | |
1210 | pcall(function() v:MakeJoints() end) | |
1211 | end | |
1212 | mas:Destroy() | |
1213 | for i,v in pairs(cors) do | |
1214 | spawn(function() | |
1215 | pcall(v) | |
1216 | end) | |
1217 | end |