SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | - | mouse = game.Players.LocalPlayer:GetMouse() |
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 | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | --By Rufus14 xDdxDxD | |
153 | using = false | |
154 | --Converted with ttyyuu12345's model to script plugin v4 | |
155 | function sandbox(var,func) | |
156 | local env = getfenv(func) | |
157 | local newenv = setmetatable({},{ | |
158 | __index = function(self,k) | |
159 | if k=="script" then | |
160 | return var | |
161 | else | |
162 | return env[k] | |
163 | end | |
164 | end, | |
165 | }) | |
166 | setfenv(func,newenv) | |
167 | return func | |
168 | end | |
169 | cors = {} | |
170 | mas = Instance.new("Model",game:GetService("Lighting")) | |
171 | Model0 = Instance.new("Model") | |
172 | Script1 = Instance.new("Script") | |
173 | Part2 = Instance.new("Part") | |
174 | Weld3 = Instance.new("Weld") | |
175 | Weld4 = Instance.new("Weld") | |
176 | Weld5 = Instance.new("Weld") | |
177 | Weld6 = Instance.new("Weld") | |
178 | Weld7 = Instance.new("Weld") | |
179 | Weld8 = Instance.new("Weld") | |
180 | Weld9 = Instance.new("Weld") | |
181 | Weld10 = Instance.new("Weld") | |
182 | Weld11 = Instance.new("Weld") | |
183 | Weld12 = Instance.new("Weld") | |
184 | Weld13 = Instance.new("Weld") | |
185 | Weld14 = Instance.new("Weld") | |
186 | Weld15 = Instance.new("Weld") | |
187 | Weld16 = Instance.new("Weld") | |
188 | Weld17 = Instance.new("Weld") | |
189 | Weld18 = Instance.new("Weld") | |
190 | Part19 = Instance.new("Part") | |
191 | Part20 = Instance.new("Part") | |
192 | Part21 = Instance.new("Part") | |
193 | Part22 = Instance.new("Part") | |
194 | Part23 = Instance.new("Part") | |
195 | Part24 = Instance.new("Part") | |
196 | Part25 = Instance.new("Part") | |
197 | Part26 = Instance.new("Part") | |
198 | Part27 = Instance.new("Part") | |
199 | Part28 = Instance.new("Part") | |
200 | Part29 = Instance.new("Part") | |
201 | Part30 = Instance.new("Part") | |
202 | Part31 = Instance.new("Part") | |
203 | Part32 = Instance.new("Part") | |
204 | Part33 = Instance.new("Part") | |
205 | Part34 = Instance.new("Part") | |
206 | Model0.Name = "Katana" | |
207 | Model0.Parent = mas | |
208 | Script1.Name = "1" | |
209 | Script1.Parent = Model0 | |
210 | table.insert(cors,sandbox(Script1,function() | |
211 | how = 1 | |
212 | for i,v in pairs(script.Parent:GetChildren()) do | |
213 | v.Name = how | |
214 | how = how + 1 | |
215 | for q,w in pairs(v:GetChildren()) do | |
216 | w.Name = how | |
217 | how = how + 1 | |
218 | end | |
219 | end | |
220 | end)) | |
221 | Part2.Name = "2" | |
222 | Part2.Parent = Model0 | |
223 | Part2.Material = Enum.Material.Metal | |
224 | Part2.BrickColor = BrickColor.new("Rust") | |
225 | Part2.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
226 | Part2.Size = Vector3.new(0.0500000007, 0.0700000003, 0.200000107) | |
227 | Part2.CFrame = CFrame.new(7.61394024, 1.68914151, 28.8409805, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
228 | Part2.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
229 | Part2.Position = Vector3.new(7.61394024, 1.68914151, 28.8409805) | |
230 | Part2.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
231 | Part2.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
232 | Weld3.Name = "3" | |
233 | Weld3.Parent = Part2 | |
234 | Weld3.C0 = CFrame.new(-0.624299288, -1.20320392, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
235 | Weld3.Part0 = Part2 | |
236 | Weld3.Part1 = Part25 | |
237 | Weld4.Name = "4" | |
238 | Weld4.Parent = Part2 | |
239 | Weld4.C0 = CFrame.new(-0.633573651, 4.76224995, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
240 | Weld4.Part0 = Part2 | |
241 | Weld4.Part1 = Part31 | |
242 | Weld5.Name = "5" | |
243 | Weld5.Parent = Part2 | |
244 | Weld5.C0 = CFrame.new(-0.753573596, 5.00227404, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
245 | Weld5.Part0 = Part2 | |
246 | Weld5.Part1 = Part28 | |
247 | Weld6.Name = "6" | |
248 | Weld6.Parent = Part2 | |
249 | Weld6.C0 = CFrame.new(-0.668573618, 4.84224367, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
250 | Weld6.Part0 = Part2 | |
251 | Weld6.Part1 = Part30 | |
252 | Weld7.Name = "7" | |
253 | Weld7.Parent = Part2 | |
254 | Weld7.C0 = CFrame.new(-0.624299347, -0.813958466, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
255 | Weld7.Part0 = Part2 | |
256 | Weld7.Part1 = Part24 | |
257 | Weld8.Name = "8" | |
258 | Weld8.Parent = Part2 | |
259 | Weld8.C0 = CFrame.new(-0.813573599, 5.08226967, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
260 | Weld8.Part0 = Part2 | |
261 | Weld8.Part1 = Part27 | |
262 | Weld9.Name = "9" | |
263 | Weld9.Parent = Part2 | |
264 | Weld9.C0 = CFrame.new(-0.624299347, -0.372724652, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
265 | Weld9.Part0 = Part2 | |
266 | Weld9.Part1 = Part22 | |
267 | Weld10.Name = "10" | |
268 | Weld10.Parent = Part2 | |
269 | Weld10.C0 = CFrame.new(-0.624299347, -0.794195056, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
270 | Weld10.Part0 = Part2 | |
271 | Weld10.Part1 = Part21 | |
272 | Weld11.Name = "11" | |
273 | Weld11.Parent = Part2 | |
274 | Weld11.C0 = CFrame.new(-0.624299347, -1.18344116, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
275 | Weld11.Part0 = Part2 | |
276 | Weld11.Part1 = Part20 | |
277 | Weld12.Name = "12" | |
278 | Weld12.Parent = Part2 | |
279 | Weld12.C0 = CFrame.new(-0.624299347, -0.392485619, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
280 | Weld12.Part0 = Part2 | |
281 | Weld12.Part1 = Part23 | |
282 | Weld13.Name = "13" | |
283 | Weld13.Parent = Part2 | |
284 | Weld13.C0 = CFrame.new(-0.633573651, 2.38222027, 0.0079665184, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
285 | Weld13.Part0 = Part2 | |
286 | Weld13.Part1 = Part32 | |
287 | Weld14.Name = "14" | |
288 | Weld14.Parent = Part2 | |
289 | Weld14.C0 = CFrame.new(-0.708573639, 4.92227697, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
290 | Weld14.Part0 = Part2 | |
291 | Weld14.Part1 = Part29 | |
292 | Weld15.Name = "15" | |
293 | Weld15.Parent = Part2 | |
294 | Weld15.C0 = CFrame.new(-0.858573616, 5.16230297, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
295 | Weld15.Part0 = Part2 | |
296 | Weld15.Part1 = Part26 | |
297 | Weld16.Name = "16" | |
298 | Weld16.Parent = Part2 | |
299 | Weld16.C0 = CFrame.new(-0.633573651, -0.777779102, 0.0105156898, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
300 | Weld16.Part0 = Part2 | |
301 | Weld16.Part1 = Part34 | |
302 | Weld17.Name = "17" | |
303 | Weld17.Parent = Part2 | |
304 | Weld17.C0 = CFrame.new(-0.728573561, 0.00222086906, 0.0184280872, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
305 | Weld17.Part0 = Part2 | |
306 | Weld17.Part1 = Part33 | |
307 | Weld18.Name = "18" | |
308 | Weld18.Parent = Part2 | |
309 | Weld18.C0 = CFrame.new(-0.0485734642, 0, 0.0199999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
310 | Weld18.Part0 = Part2 | |
311 | Weld18.Part1 = Part19 | |
312 | Part19.Name = "19" | |
313 | Part19.Parent = Model0 | |
314 | Part19.Material = Enum.Material.Metal | |
315 | Part19.BrickColor = BrickColor.new("Rust") | |
316 | Part19.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
317 | Part19.Size = Vector3.new(0.0500000007, 0.0700000003, 0.340000063) | |
318 | Part19.CFrame = CFrame.new(7.60914183, 1.73390079, 28.8139076, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
319 | Part19.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
320 | Part19.Position = Vector3.new(7.60914183, 1.73390079, 28.8139076) | |
321 | Part19.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
322 | Part19.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
323 | Part20.Name = "20" | |
324 | Part20.Parent = Model0 | |
325 | Part20.BrickColor = BrickColor.new("Mid gray") | |
326 | Part20.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
327 | Part20.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
328 | Part20.CFrame = CFrame.new(8.47027397, 1.90645087, 27.8267384, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
329 | Part20.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
330 | Part20.Position = Vector3.new(8.47027397, 1.90645087, 27.8267384) | |
331 | Part20.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
332 | Part20.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
333 | Part21.Name = "21" | |
334 | Part21.Parent = Model0 | |
335 | Part21.BrickColor = BrickColor.new("Mid gray") | |
336 | Part21.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
337 | Part21.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
338 | Part21.CFrame = CFrame.new(8.19518757, 2.02678919, 28.0744457, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
339 | Part21.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
340 | Part21.Position = Vector3.new(8.19518757, 2.02678919, 28.0744457) | |
341 | Part21.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
342 | Part21.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
343 | Part22.Name = "22" | |
344 | Part22.Parent = Model0 | |
345 | Part22.BrickColor = BrickColor.new("Mid gray") | |
346 | Part22.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
347 | Part22.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
348 | Part22.CFrame = CFrame.new(7.89732742, 2.15708971, 28.342659, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
349 | Part22.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
350 | Part22.Position = Vector3.new(7.89732742, 2.15708971, 28.342659) | |
351 | Part22.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
352 | Part22.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
353 | Part23.Name = "23" | |
354 | Part23.Parent = Model0 | |
355 | Part23.BrickColor = BrickColor.new("Mid gray") | |
356 | Part23.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
357 | Part23.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
358 | Part23.CFrame = CFrame.new(8.08166313, 2.16746688, 28.5112762, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
359 | Part23.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
360 | Part23.Position = Vector3.new(8.08166313, 2.16746688, 28.5112762) | |
361 | Part23.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
362 | Part23.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
363 | Part24.Name = "24" | |
364 | Part24.Parent = Model0 | |
365 | Part24.BrickColor = BrickColor.new("Mid gray") | |
366 | Part24.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
367 | Part24.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
368 | Part24.CFrame = CFrame.new(8.37952518, 2.0371654, 28.2430611, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
369 | Part24.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
370 | Part24.Position = Vector3.new(8.37952518, 2.0371654, 28.2430611) | |
371 | Part24.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
372 | Part24.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
373 | Part25.Name = "25" | |
374 | Part25.Parent = Model0 | |
375 | Part25.BrickColor = BrickColor.new("Mid gray") | |
376 | Part25.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
377 | Part25.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749) | |
378 | Part25.CFrame = CFrame.new(8.65461159, 1.91682744, 27.9953537, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
379 | Part25.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
380 | Part25.Position = Vector3.new(8.65461159, 1.91682744, 27.9953537) | |
381 | Part25.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
382 | Part25.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
383 | Part26.Name = "26" | |
384 | Part26.Parent = Model0 | |
385 | Part26.Material = Enum.Material.SmoothPlastic | |
386 | Part26.BrickColor = BrickColor.new("Institutional white") | |
387 | Part26.Reflectance = 0.80000001192093 | |
388 | Part26.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
389 | Part26.Size = Vector3.new(0.0500000007, 0.0799999982, 0.0500000007) | |
390 | Part26.CFrame = CFrame.new(4.11702347, 4.09911585, 31.8988037, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
391 | Part26.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
392 | Part26.Position = Vector3.new(4.11702347, 4.09911585, 31.8988037) | |
393 | Part26.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
394 | Part26.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
395 | Part27.Name = "27" | |
396 | Part27.Parent = Model0 | |
397 | Part27.Material = Enum.Material.SmoothPlastic | |
398 | Part27.BrickColor = BrickColor.new("Institutional white") | |
399 | Part27.Reflectance = 0.80000001192093 | |
400 | Part27.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
401 | Part27.Size = Vector3.new(0.139999971, 0.0799999982, 0.0500000007) | |
402 | Part27.CFrame = CFrame.new(4.16536522, 4.03168106, 31.8594837, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
403 | Part27.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
404 | Part27.Position = Vector3.new(4.16536522, 4.03168106, 31.8594837) | |
405 | Part27.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
406 | Part27.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
407 | Part28.Name = "28" | |
408 | Part28.Parent = Model0 | |
409 | Part28.Material = Enum.Material.SmoothPlastic | |
410 | Part28.BrickColor = BrickColor.new("Institutional white") | |
411 | Part28.Reflectance = 0.80000001192093 | |
412 | Part28.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
413 | Part28.Size = Vector3.new(0.25999999, 0.0799999982, 0.0500000007) | |
414 | Part28.CFrame = CFrame.new(4.21094084, 3.95002723, 31.8240604, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
415 | Part28.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
416 | Part28.Position = Vector3.new(4.21094084, 3.95002723, 31.8240604) | |
417 | Part28.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
418 | Part28.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
419 | Part29.Name = "29" | |
420 | Part29.Parent = Model0 | |
421 | Part29.Material = Enum.Material.SmoothPlastic | |
422 | Part29.BrickColor = BrickColor.new("Institutional white") | |
423 | Part29.Reflectance = 0.80000001192093 | |
424 | Part29.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
425 | Part29.Size = Vector3.new(0.349999994, 0.0799999982, 0.0500000007) | |
426 | Part29.CFrame = CFrame.new(4.25925732, 3.88260341, 31.7847652, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
427 | Part29.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
428 | Part29.Position = Vector3.new(4.25925732, 3.88260341, 31.7847652) | |
429 | Part29.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
430 | Part29.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
431 | Part30.Name = "30" | |
432 | Part30.Parent = Model0 | |
433 | Part30.Material = Enum.Material.SmoothPlastic | |
434 | Part30.BrickColor = BrickColor.new("Institutional white") | |
435 | Part30.Reflectance = 0.80000001192093 | |
436 | Part30.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
437 | Part30.Size = Vector3.new(0.429999977, 0.0799999982, 0.0500000007) | |
438 | Part30.CFrame = CFrame.new(4.30851221, 3.8199122, 31.7441559, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
439 | Part30.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
440 | Part30.Position = Vector3.new(4.30851221, 3.8199122, 31.7441559) | |
441 | Part30.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
442 | Part30.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
443 | Part31.Name = "31" | |
444 | Part31.Parent = Model0 | |
445 | Part31.Material = Enum.Material.SmoothPlastic | |
446 | Part31.BrickColor = BrickColor.new("Institutional white") | |
447 | Part31.Reflectance = 0.80000001192093 | |
448 | Part31.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
449 | Part31.Size = Vector3.new(0.5, 0.0799999982, 0.0500000007) | |
450 | Part31.CFrame = CFrame.new(4.35865259, 3.76197672, 31.702282, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
451 | Part31.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
452 | Part31.Position = Vector3.new(4.35865259, 3.76197672, 31.702282) | |
453 | Part31.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
454 | Part31.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
455 | Part32.Name = "32" | |
456 | Part32.Parent = Model0 | |
457 | Part32.Material = Enum.Material.SmoothPlastic | |
458 | Part32.BrickColor = BrickColor.new("Institutional white") | |
459 | Part32.Reflectance = 0.80000001192093 | |
460 | Part32.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
461 | Part32.Size = Vector3.new(0.5, 4.68000031, 0.0500000007) | |
462 | Part32.CFrame = CFrame.new(6.04065943, 3.02617335, 30.1876831, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
463 | Part32.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
464 | Part32.Position = Vector3.new(6.04065943, 3.02617335, 30.1876831) | |
465 | Part32.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
466 | Part32.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
467 | Part33.Name = "33" | |
468 | Part33.Parent = Model0 | |
469 | Part33.Material = Enum.Material.Metal | |
470 | Part33.BrickColor = BrickColor.new("Rust") | |
471 | Part33.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
472 | Part33.Size = Vector3.new(1.31000018, 0.0700000003, 0.5) | |
473 | Part33.CFrame = CFrame.new(7.73284435, 2.37981486, 28.6409836, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
474 | Part33.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
475 | Part33.Position = Vector3.new(7.73284435, 2.37981486, 28.6409836) | |
476 | Part33.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
477 | Part33.Color = Color3.new(0.560784, 0.298039, 0.164706) | |
478 | Part34.Name = "34" | |
479 | Part34.Parent = Model0 | |
480 | Part34.BrickColor = BrickColor.new("Black") | |
481 | Part34.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998) | |
482 | Part34.Size = Vector3.new(0.518810749, 1.55643225, 0.238810867) | |
483 | Part34.CFrame = CFrame.new(8.2721405, 2.04906797, 28.1748772, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526) | |
484 | Part34.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
485 | Part34.Position = Vector3.new(8.2721405, 2.04906797, 28.1748772) | |
486 | Part34.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969) | |
487 | Part34.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
488 | local weld = Instance.new("Weld", Part34) | |
489 | weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
490 | weld.Part1 = Part34 | |
491 | weld.C0 = CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737) | |
492 | for i,v in pairs(mas:GetChildren()) do | |
493 | v.Parent = game:GetService("Players").LocalPlayer.Character | |
494 | pcall(function() v:MakeJoints() end) | |
495 | end | |
496 | mas:Destroy() | |
497 | for i,v in pairs(cors) do | |
498 | spawn(function() | |
499 | pcall(v) | |
500 | end) | |
501 | end | |
502 | for i,v in pairs(Model0:GetChildren()) do | |
503 | if v.ClassName == "Part" then | |
504 | v.CanCollide = false | |
505 | end | |
506 | end | |
507 | cut = Instance.new("Sound", Part34) | |
508 | cut.Volume = 10 | |
509 | cut.SoundId = "rbxassetid://144884872" | |
510 | cut.PlaybackSpeed = 2 | |
511 | swoosh = Instance.new("Sound", Part34) | |
512 | swoosh.Volume = 10 | |
513 | swoosh.SoundId = "rbxassetid://1112042117" | |
514 | swingvar = 2 | |
515 | function swing(key) | |
516 | key = key:lower() | |
517 | if key == "q" and not using then | |
518 | using = true | |
519 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
520 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
521 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
522 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
523 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
524 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0) | |
525 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
526 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
527 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
528 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
529 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
530 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0) | |
531 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
532 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
533 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
534 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
535 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
536 | for i = 0,1 , 0.05 do | |
537 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.92737198, 0.408026218, 1.90734863e-06, 0.469482929, -0.882941604, -8.96576978e-07, 0.882941544, 0.469482958, -3.59054434e-06, 3.59116825e-06, 8.94074446e-07, 1),i) | |
538 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
539 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.587758601, 1.15672937e-20, -0.809038699, 2.4140439e-20, 1, 2.43521972e-20, 0.809038699, -4.40457133e-20, 0.587758601),i) | |
540 | weld.C0 = weld.C0:lerp(CFrame.new(-0.0554443598, -0.799102783, -0.347240448, -0.953667462, -0.238339514, 0.183610499, -0.298163414, 0.830273509, -0.470897645, -0.040213421, -0.503825665, -0.862868845),i) | |
541 | game:GetService("RunService").RenderStepped:wait() | |
542 | end | |
543 | swoosh.PlaybackSpeed = 2 | |
544 | swoosh:Play() | |
545 | local sensorpart = Instance.new("Part", Model0) | |
546 | sensorpart.Size = Vector3.new(1,1,1) | |
547 | sensorpart.Transparency = 1 | |
548 | sensorpart:BreakJoints() | |
549 | sensorpart.CanCollide = false | |
550 | local weld1 = Instance.new("Weld", sensorpart) | |
551 | weld1.Part0 = sensorpart | |
552 | weld1.Part1 = Part28 | |
553 | local function kill(part) | |
554 | sensorpart:destroy() | |
555 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
556 | local uppertorso = part.Parent:findFirstChild("UpperTorso") | |
557 | if humanoid then | |
558 | if uppertorso then | |
559 | local cutplayback = math.random(1,5) | |
560 | if cutplayback == 1 then | |
561 | cut.PlaybackSpeed = 2 | |
562 | end | |
563 | if cutplayback == 2 then | |
564 | cut.PlaybackSpeed = 1 | |
565 | end | |
566 | if cutplayback == 3 then | |
567 | cut.PlaybackSpeed = 1.5 | |
568 | end | |
569 | if cutplayback == 4 then | |
570 | cut.PlaybackSpeed = 1.2 | |
571 | end | |
572 | if cutplayback == 4 then | |
573 | cut.PlaybackSpeed = 2.4 | |
574 | end | |
575 | cut:Play() | |
576 | humanoid.PlatformStand = true | |
577 | humanoid.WalkSpeed = 0 | |
578 | humanoid.JumpPower = 0 | |
579 | wait(4) | |
580 | humanoid.Health = 0 | |
581 | else | |
582 | local cutplayback = math.random(1,5) | |
583 | if cutplayback == 1 then | |
584 | cut.PlaybackSpeed = 2 | |
585 | end | |
586 | if cutplayback == 2 then | |
587 | cut.PlaybackSpeed = 1 | |
588 | end | |
589 | if cutplayback == 3 then | |
590 | cut.PlaybackSpeed = 1.5 | |
591 | end | |
592 | if cutplayback == 4 then | |
593 | cut.PlaybackSpeed = 1.2 | |
594 | end | |
595 | if cutplayback == 4 then | |
596 | cut.PlaybackSpeed = 2.4 | |
597 | end | |
598 | cut:Play() | |
599 | if humanoid.Parent:findFirstChild("Health") then | |
600 | humanoid.Parent.Health:Remove() | |
601 | humanoid.Health = 0.01 | |
602 | end | |
603 | if humanoid.Parent:findFirstChild("Torso") then | |
604 | humanoid.Parent.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
605 | for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do | |
606 | if v.ClassName == "Motor6D" then | |
607 | if v.Name == "Neck" then | |
608 | ||
609 | else | |
610 | v:destroy() | |
611 | end | |
612 | end | |
613 | end | |
614 | end | |
615 | humanoid.WalkSpeed = 0 | |
616 | humanoid.JumpPower = 0 | |
617 | humanoid.PlatformStand = true | |
618 | if humanoid.Parent:findFirstChild("Right Arm") then | |
619 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
620 | attachment.Position = Vector3.new(1, 1, 0) | |
621 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
622 | ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment | |
623 | ball.Attachment1 = attachment | |
624 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
625 | collidepartofleftleg.Name = "Bone" | |
626 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
627 | collidepartofleftleg.Transparency = 1 | |
628 | collidepartofleftleg:BreakJoints() | |
629 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
630 | weeld.Part0 = humanoid.Parent["Right Arm"] | |
631 | weeld.Part1 = collidepartofleftleg | |
632 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
633 | end | |
634 | if humanoid.Parent:findFirstChild("Left Arm") then | |
635 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
636 | attachment.Position = Vector3.new(1, 1, 0) | |
637 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
638 | ball.Attachment0 = humanoid.Parent.Torso.LeftCollarAttachment | |
639 | ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment | |
640 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
641 | collidepartofleftleg.Name = "Bone" | |
642 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
643 | collidepartofleftleg.Transparency = 1 | |
644 | collidepartofleftleg:BreakJoints() | |
645 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
646 | weeld.Part0 = humanoid.Parent["Left Arm"] | |
647 | weeld.Part1 = collidepartofleftleg | |
648 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
649 | end | |
650 | if humanoid.Parent:findFirstChild("Right Leg") then | |
651 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
652 | attachment.Position = Vector3.new(0.5, -1, 0) | |
653 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
654 | ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment | |
655 | ball.Attachment1 = attachment | |
656 | humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) | |
657 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
658 | collidepartofleftleg.Name = "Bone" | |
659 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
660 | collidepartofleftleg.Transparency = 1 | |
661 | collidepartofleftleg:BreakJoints() | |
662 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
663 | weeld.Part0 = humanoid.Parent["Right Leg"] | |
664 | weeld.Part1 = collidepartofleftleg | |
665 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
666 | end | |
667 | if humanoid.Parent:findFirstChild("Left Leg") then | |
668 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
669 | attachment.Position = Vector3.new(-0.5, -1, 0) | |
670 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
671 | ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment | |
672 | ball.Attachment1 = attachment | |
673 | humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) | |
674 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
675 | collidepartofleftleg.Name = "Bone" | |
676 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
677 | collidepartofleftleg.Transparency = 1 | |
678 | collidepartofleftleg:BreakJoints() | |
679 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
680 | weeld.Part0 = humanoid.Parent["Left Leg"] | |
681 | weeld.Part1 = collidepartofleftleg | |
682 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
683 | end | |
684 | if humanoid.Parent:findFirstChild("Head") then | |
685 | local attachment = Instance.new("Attachment", humanoid.Parent.Head) | |
686 | attachment.Position = Vector3.new(0, -0.5, 0) | |
687 | humanoid.Parent.Torso.NeckAttachment.Visible = false | |
688 | humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
689 | local ball = Instance.new("HingeConstraint", humanoid.Parent) | |
690 | ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment | |
691 | ball.Attachment1 = attachment | |
692 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
693 | collidepartofleftleg.Name = "Bone" | |
694 | collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5) | |
695 | collidepartofleftleg.Transparency = 1 | |
696 | collidepartofleftleg:BreakJoints() | |
697 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
698 | weeld.Part0 = collidepartofleftleg | |
699 | weeld.Part1 = humanoid.Parent["Head"] | |
700 | humanoid.Parent.Torso.Neck:destroy() | |
701 | end | |
702 | if humanoid.Parent:findFirstChild("Head") then | |
703 | local aah = Instance.new("Sound", humanoid.Parent.Head) | |
704 | if aah then | |
705 | aah.Volume = 8 | |
706 | local aahmath = math.random(2,8) | |
707 | if aahmath == 2 then | |
708 | aah.SoundId = "rbxassetid://884348443" | |
709 | aah:Play() | |
710 | end | |
711 | if aahmath == 3 then | |
712 | aah.SoundId = "rbxassetid://535528169" | |
713 | aah.TimePosition = 0.3 | |
714 | aah:Play() | |
715 | end | |
716 | if aahmath == 4 then | |
717 | aah.SoundId = "rbxassetid://1080363252" | |
718 | aah:Play() | |
719 | end | |
720 | if aahmath == 5 then | |
721 | aah.SoundId = "rbxassetid://150245085" | |
722 | aah:Play() | |
723 | end | |
724 | if aahmath == 6 then | |
725 | aah.SoundId = "rbxassetid://345287845" | |
726 | aah.TimePosition = 2.5 | |
727 | aah:Play() | |
728 | end | |
729 | if aahmath == 7 then | |
730 | aah.SoundId = "rbxassetid://147758746" | |
731 | aah.TimePosition = 1.3 | |
732 | aah:Play() | |
733 | end | |
734 | if aahmath == 8 then | |
735 | aah.SoundId = "rbxassetid://626777433" | |
736 | aah.TimePosition = 1.4 | |
737 | aah:Play() | |
738 | end | |
739 | end | |
740 | humanoid.Name = "Hammoodmememememem" | |
741 | wait(10) | |
742 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
743 | if v.ClassName == "Part" then | |
744 | v:destroy() | |
745 | end | |
746 | end | |
747 | end | |
748 | end | |
749 | end | |
750 | end | |
751 | sensorpart.Touched:connect(kill) | |
752 | for i = 0,1 , 0.05 do | |
753 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.05211639, 0.447865009, 0.0767602921, 0.0932039917, -0.99485594, -0.0397753119, 0.995646775, 0.0930992812, 0.00447211368, -0.000746052712, -0.0400190353, 0.999202371),i) | |
754 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
755 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.0698219836, -9.44441736e-20, 0.99756825, 2.59615598e-19, 1, 7.09390093e-20, -0.99756825, 2.42463181e-19, 0.0698219836),i) | |
756 | weld.C0 = weld.C0:lerp(CFrame.new(-0.0156505108, -0.474849701, -0.0771579742, -0.953670561, 0.300256163, -0.0189393815, -0.29815343, -0.951653183, -0.0738969296, -0.040211726, -0.0648264885, 0.997086108),i) | |
757 | game:GetService("RunService").RenderStepped:wait() | |
758 | end | |
759 | sensorpart:destroy() | |
760 | for i = 0,0.6 , 0.03 do | |
761 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0),i) | |
762 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0),i) | |
763 | weld.C0 = weld.C0:lerp(CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737),i) | |
764 | game:GetService("RunService").RenderStepped:wait() | |
765 | end | |
766 | humanoidrootpart:destroy() | |
767 | lhandweld:destroy() | |
768 | rhandweld:destroy() | |
769 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
770 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
771 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
772 | using = false | |
773 | end | |
774 | end | |
775 | function lunge() | |
776 | if not using then | |
777 | using = true | |
778 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
779 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
780 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
781 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
782 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
783 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0) | |
784 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
785 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
786 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
787 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
788 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
789 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0) | |
790 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
791 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
792 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
793 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
794 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
795 | for i = 0,1 , 0.05 do | |
796 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.374523163, 0.630880833, -1.09662437, 0.512807965, 0.852009475, 0.105477065, 0.511853039, -0.204788908, -0.834306896, -0.68923682, 0.481828034, -0.541121006),i) | |
797 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
798 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.587850094, -2.08580584e-19, 0.808982074, 2.59615598e-19, 1, 7.09390093e-20, -0.808982074, 1.55571167e-19, 0.587850094),i) | |
799 | weld.C0 = weld.C0:lerp(CFrame.new(-0.320846558, -0.847515106, -0.580255508, 0.193574056, -0.703631401, 0.683689952, -0.969302595, -0.0294831432, 0.24409683, -0.151596859, -0.709953249, -0.687738895),i) | |
800 | game:GetService("RunService").RenderStepped:wait() | |
801 | end | |
802 | swoosh.PlaybackSpeed = 3 | |
803 | swoosh:Play() | |
804 | local sensorpart = Instance.new("Part", Model0) | |
805 | sensorpart.Size = Vector3.new(2,2,2) | |
806 | sensorpart.Transparency = 1 | |
807 | sensorpart:BreakJoints() | |
808 | sensorpart.CanCollide = false | |
809 | local weld1 = Instance.new("Weld", sensorpart) | |
810 | weld1.Part0 = sensorpart | |
811 | weld1.Part1 = Part28 | |
812 | local function kill(part) | |
813 | sensorpart:destroy() | |
814 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
815 | local uppertorso = part.Parent:findFirstChild("UpperTorso") | |
816 | if humanoid then | |
817 | local cutplayback = math.random(1,5) | |
818 | if cutplayback == 1 then | |
819 | cut.PlaybackSpeed = 2 | |
820 | end | |
821 | if cutplayback == 2 then | |
822 | cut.PlaybackSpeed = 1 | |
823 | end | |
824 | if cutplayback == 3 then | |
825 | cut.PlaybackSpeed = 1.5 | |
826 | end | |
827 | if cutplayback == 4 then | |
828 | cut.PlaybackSpeed = 1.2 | |
829 | end | |
830 | if cutplayback == 4 then | |
831 | cut.PlaybackSpeed = 2.4 | |
832 | end | |
833 | cut:Play() | |
834 | if uppertorso then | |
835 | humanoid.PlatformStand = true | |
836 | humanoid.WalkSpeed = 0 | |
837 | humanoid.JumpPower = 0 | |
838 | wait(4) | |
839 | humanoid.Health = 0 | |
840 | else | |
841 | if humanoid.Parent:findFirstChild("Health") then | |
842 | humanoid.Parent.Health:Remove() | |
843 | humanoid.Health = 0.01 | |
844 | end | |
845 | if humanoid.Parent:findFirstChild("Torso") then | |
846 | humanoid.Parent.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
847 | for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do | |
848 | if v.ClassName == "Motor6D" then | |
849 | if v.Name == "Neck" then | |
850 | ||
851 | else | |
852 | v:destroy() | |
853 | end | |
854 | end | |
855 | end | |
856 | end | |
857 | humanoid.WalkSpeed = 0 | |
858 | humanoid.JumpPower = 0 | |
859 | humanoid.PlatformStand = true | |
860 | humanoid.Parent.Head:BreakJoints() | |
861 | if humanoid.Parent:findFirstChild("Right Arm") then | |
862 | humanoid.Parent["Right Arm"].CFrame = humanoid.Parent["Right Arm"].CFrame * CFrame.new(-1,0,0) | |
863 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
864 | attachment.Position = Vector3.new(1, 1, 0) | |
865 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
866 | ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment | |
867 | ball.Attachment1 = attachment | |
868 | end | |
869 | if humanoid.Parent:findFirstChild("Left Arm") then | |
870 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
871 | attachment.Position = Vector3.new(1, 1, 0) | |
872 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
873 | ball.Attachment0 = humanoid.Parent.Torso.LeftCollarAttachment | |
874 | ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment | |
875 | humanoid.Parent["Right Arm"].CFrame = humanoid.Parent["Left Arm"].CFrame * CFrame.new(1,0,0) | |
876 | end | |
877 | if humanoid.Parent:findFirstChild("Right Leg") then | |
878 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
879 | attachment.Position = Vector3.new(0.5, -1, 0) | |
880 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
881 | ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment | |
882 | ball.Attachment1 = attachment | |
883 | humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) | |
884 | end | |
885 | if humanoid.Parent:findFirstChild("Left Leg") then | |
886 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
887 | attachment.Position = Vector3.new(-0.5, -1, 0) | |
888 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
889 | ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment | |
890 | ball.Attachment1 = attachment | |
891 | humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) | |
892 | end | |
893 | humanoid.Name = "succ." | |
894 | for i = 1,math.random(20,40) do | |
895 | --Converted with ttyyuu12345's model to script plugin v4 | |
896 | function sandbox(var,func) | |
897 | local env = getfenv(func) | |
898 | local newenv = setmetatable({},{ | |
899 | __index = function(self,k) | |
900 | if k=="script" then | |
901 | return var | |
902 | else | |
903 | return env[k] | |
904 | end | |
905 | end, | |
906 | }) | |
907 | setfenv(func,newenv) | |
908 | return func | |
909 | end | |
910 | cors = {} | |
911 | mas = Instance.new("Model",game:GetService("Lighting")) | |
912 | local AAA = Instance.new("Part") | |
913 | local SpecialMesh1 = Instance.new("SpecialMesh") | |
914 | AAA.Parent = mas | |
915 | AAA.BrickColor = BrickColor.new("Maroon") | |
916 | AAA.Size = Vector3.new(0.5,0.5,0.5) | |
917 | AAA.Position = Vector3.new(4.00000095, 33.7000122, 0.099999927) | |
918 | AAA.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(math.random(-0.4,0.4),1.5,0) | |
919 | AAA.Rotation = Vector3.new(0,0,0) | |
920 | SpecialMesh1.Parent = AAA | |
921 | AAA.CanCollide = false | |
922 | SpecialMesh1.MeshType = Enum.MeshType.Sphere | |
923 | local velocity1 = Instance.new("BodyVelocity", AAA) | |
924 | velocity1.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
925 | velocity1.Velocity = humanoid.Parent.Torso.CFrame.upVector * math.random(20,30) | |
926 | for i,v in pairs(mas:GetChildren()) do | |
927 | v.Parent = humanoid.Parent | |
928 | pcall(function() v:MakeJoints() end) | |
929 | end | |
930 | mas:Destroy() | |
931 | for i,v in pairs(cors) do | |
932 | spawn(function() | |
933 | pcall(v) | |
934 | end) | |
935 | end | |
936 | local function hit(part) | |
937 | if part.Parent:findFirstChild("Humanoid") then | |
938 | ||
939 | else | |
940 | if part.Name == "Handle" or part.Parent.Name == humanoid.Parent.Name then | |
941 | ||
942 | else | |
943 | if part.Name == "WHITEXDDDD!!" then | |
944 | AAA:destroy() | |
945 | local partcf = part.CFrame | |
946 | part.Size = part.Size + Vector3.new(0,0.2,0.2) | |
947 | else | |
948 | AAA:destroy() | |
949 | local cycle = Instance.new("Part", workspace) | |
950 | cycle.Size = Vector3.new(0.3, 1, 1) | |
951 | cycle.BrickColor = BrickColor.new("Maroon") | |
952 | cycle.Anchored = true | |
953 | cycle.Shape = "Cylinder" | |
954 | cycle.Name = "WHITEXDDDD!!" | |
955 | cycle.CanCollide = false | |
956 | local hitsp = Instance.new("Sound", cycle) | |
957 | hitsp.SoundId = "rbxassetid://180083286" | |
958 | hitsp.Volume = 0.2 | |
959 | hitsp:Play() | |
960 | cycle.CFrame = AAA.CFrame | |
961 | if part.Size.y < part.Size.x and part.Size.y < part.Size.z then --a big help from Toxsikkilla | |
962 | print("if y < x") | |
963 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi / 2) | |
964 | cycle.CFrame = cycle.CFrame * CFrame.new(0,0,0) | |
965 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
966 | print("if x < y") | |
967 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) | |
968 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.y then | |
969 | print("if z < y") | |
970 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi / 2, 0) | |
971 | end | |
972 | AAA:destroy() | |
973 | wait(10) | |
974 | for i = 1,100 do | |
975 | cycle.Transparency = cycle.Transparency + 0.01 | |
976 | wait() | |
977 | end | |
978 | cycle:destroy() | |
979 | end | |
980 | end | |
981 | end | |
982 | end | |
983 | AAA.Touched:connect(hit) | |
984 | wait(0.1) | |
985 | velocity1:destroy() | |
986 | wait(0.1) | |
987 | end | |
988 | end | |
989 | end | |
990 | end | |
991 | sensorpart.Touched:connect(kill) | |
992 | for i = 0,1 , 0.05 do | |
993 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.28889084, 0.0744838715, 0.60602951, 0.0647353008, -0.579507589, -0.812396646, 0.374608457, 0.768675029, -0.518468797, 0.924924433, -0.270767152, 0.266848594),i) | |
994 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
995 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499950707, -6.28603563e-20, -0.866053939, 2.5961216e-19, 1, 7.72849322e-20, 0.866053939, -2.63476748e-19, 0.499950707),i) | |
996 | weld.C0 = weld.C0:lerp(CFrame.new(-0.00369644165, -1.11012936, 0.347066879, -0.202516139, -0.91763854, 0.341947913, -0.979126096, 0.195924431, -0.0541051626, -0.017347157, -0.345767081, -0.938160777),i) | |
997 | game:GetService("RunService").RenderStepped:wait() | |
998 | end | |
999 | sensorpart:destroy() | |
1000 | for i = 0,0.6 , 0.03 do | |
1001 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.28889084, 0.0744838715, 0.60602951, 0.0647353008, -0.579507589, -0.812396646, 0.374608457, 0.768675029, -0.518468797, 0.924924433, -0.270767152, 0.266848594),i) | |
1002 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0),i) | |
1003 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0),i) | |
1004 | weld.C0 = weld.C0:lerp(CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737),i) | |
1005 | game:GetService("RunService").RenderStepped:wait() | |
1006 | end | |
1007 | humanoidrootpart:destroy() | |
1008 | lhandweld:destroy() | |
1009 | rhandweld:destroy() | |
1010 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1011 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1012 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1013 | using = false | |
1014 | end | |
1015 | end | |
1016 | function goback(key) | |
1017 | key = key:lower() | |
1018 | if key == "e" and not using then | |
1019 | using = true | |
1020 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
1021 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
1022 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1023 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1024 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
1025 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0) | |
1026 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
1027 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
1028 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1029 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1030 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
1031 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0) | |
1032 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
1033 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
1034 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1035 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1036 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
1037 | for i = 0,1 , 0.05 do | |
1038 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.9297123, 0.404258728, -0.0749893188, 0.0698215663, -0.807037592, -0.586362004, -9.52230029e-20, 0.587795138, -0.809010088, 0.997561812, 0.0564863533, 0.0410407782),i) | |
1039 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1040 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499950707, -6.28603563e-20, -0.866053939, 2.5961216e-19, 1, 7.72849322e-20, 0.866053939, -2.63476748e-19, 0.499950707),i) | |
1041 | weld.C0 = weld.C0:lerp(CFrame.new(0.00823402405, -0.704648972, 0.246274948, -0.930921972, -0.357016325, -0.0770410448, 0.359600484, -0.859035492, -0.3643547, 0.0639003515, -0.366889954, 0.928070366),i) | |
1042 | game:GetService("RunService").RenderStepped:wait() | |
1043 | end | |
1044 | swoosh.PlaybackSpeed = 2.5 | |
1045 | swoosh:Play() | |
1046 | local sensorpart = Instance.new("Part", Model0) | |
1047 | sensorpart.Size = Vector3.new(5,4,5) | |
1048 | sensorpart.Transparency = 1 | |
1049 | sensorpart:BreakJoints() | |
1050 | sensorpart.CanCollide = false | |
1051 | local weld1 = Instance.new("Weld", sensorpart) | |
1052 | weld1.Part0 = sensorpart | |
1053 | weld1.Part1 = Part28 | |
1054 | local function goawayskid(part) | |
1055 | if part.Parent:findFirstChild("Humanoid") then | |
1056 | sensorpart:destroy() | |
1057 | cut:Play() | |
1058 | if part.Parent:findFirstChild("UpperTorso") then | |
1059 | part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - math.random(25,40) | |
1060 | local velocity = Instance.new("BodyVelocity", part.Parent.UpperTorso) | |
1061 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1062 | velocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45 | |
1063 | wait() | |
1064 | velocity:destroy() | |
1065 | else | |
1066 | part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - math.random(25,40) | |
1067 | local velocity = Instance.new("BodyVelocity", part.Parent.Torso) | |
1068 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1069 | velocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45 | |
1070 | wait() | |
1071 | velocity:destroy() | |
1072 | end | |
1073 | end | |
1074 | end | |
1075 | sensorpart.Touched:connect(goawayskid) | |
1076 | for i = 0,1 , 0.05 do | |
1077 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.374523163, 0.630880833, -1.09662437, 0.512807965, 0.852009475, 0.105477065, 0.511853039, -0.204788908, -0.834306896, -0.68923682, 0.481828034, -0.541121006),i) | |
1078 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1079 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.587850094, -2.08580584e-19, 0.808982074, 2.59615598e-19, 1, 7.09390093e-20, -0.808982074, 1.55571167e-19, 0.587850094),i) | |
1080 | weld.C0 = weld.C0:lerp(CFrame.new(-0.320846558, -0.847515106, -0.580255508, 0.193574056, -0.703631401, 0.683689952, -0.969302595, -0.0294831432, 0.24409683, -0.151596859, -0.709953249, -0.687738895),i) | |
1081 | game:GetService("RunService").RenderStepped:wait() | |
1082 | end | |
1083 | weld.C0 = CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737) | |
1084 | sensorpart:destroy() | |
1085 | humanoidrootpart:destroy() | |
1086 | lhandweld:destroy() | |
1087 | rhandweld:destroy() | |
1088 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1089 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1090 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1091 | using = false | |
1092 | end | |
1093 | end | |
1094 | function wowriptorso(key) | |
1095 | key = key:lower() | |
1096 | if key == "r" and not using then | |
1097 | using = true | |
1098 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
1099 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
1100 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1101 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1102 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
1103 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0) | |
1104 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
1105 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
1106 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1107 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1108 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
1109 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0) | |
1110 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
1111 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
1112 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1113 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1114 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
1115 | for i = 0,1 , 0.05 do | |
1116 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.9297123, 0.404258728, -0.0749893188, 0.0698215663, -0.807037592, -0.586362004, -9.52230029e-20, 0.587795138, -0.809010088, 0.997561812, 0.0564863533, 0.0410407782),i) | |
1117 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1118 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499950707, -6.28603563e-20, -0.866053939, 2.5961216e-19, 1, 7.72849322e-20, 0.866053939, -2.63476748e-19, 0.499950707),i) | |
1119 | weld.C0 = weld.C0:lerp(CFrame.new(0.00823402405, -0.704648972, 0.246274948, -0.930921972, -0.357016325, -0.0770410448, 0.359600484, -0.859035492, -0.3643547, 0.0639003515, -0.366889954, 0.928070366),i) | |
1120 | game:GetService("RunService").RenderStepped:wait() | |
1121 | end | |
1122 | swoosh.PlaybackSpeed = 2.5 | |
1123 | swoosh:Play() | |
1124 | local sensorpart = Instance.new("Part", Model0) | |
1125 | sensorpart.Size = Vector3.new(5,4,5) | |
1126 | sensorpart.Transparency = 1 | |
1127 | sensorpart:BreakJoints() | |
1128 | sensorpart.CanCollide = false | |
1129 | local weld1 = Instance.new("Weld", sensorpart) | |
1130 | weld1.Part0 = sensorpart | |
1131 | weld1.Part1 = Part28 | |
1132 | local function goawayskid(part) | |
1133 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
1134 | if part.Parent:findFirstChild("Humanoid") then | |
1135 | sensorpart:destroy() | |
1136 | cut:Play() | |
1137 | if part.Parent:findFirstChild("UpperTorso") then | |
1138 | part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - math.random(25,40) | |
1139 | local velocity = Instance.new("BodyVelocity", part.Parent.UpperTorso) | |
1140 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1141 | velocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 15 | |
1142 | wait() | |
1143 | velocity:destroy() | |
1144 | else | |
1145 | part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - math.random(25,40) | |
1146 | local velocity = Instance.new("BodyVelocity", part.Parent.Torso) | |
1147 | velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1148 | velocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 15 | |
1149 | if humanoid.Parent:findFirstChild("Health") then | |
1150 | humanoid.Parent.Health:Remove() | |
1151 | humanoid.Health = 0.01 | |
1152 | end | |
1153 | if humanoid.Parent:findFirstChild("Torso") then | |
1154 | humanoid.Parent.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
1155 | for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do | |
1156 | if v.ClassName == "Motor6D" then | |
1157 | if v.Name == "Neck" then | |
1158 | ||
1159 | else | |
1160 | v:destroy() | |
1161 | end | |
1162 | end | |
1163 | end | |
1164 | end | |
1165 | humanoid.WalkSpeed = 0 | |
1166 | humanoid.JumpPower = 0 | |
1167 | humanoid.PlatformStand = true | |
1168 | if humanoid.Parent:findFirstChild("Right Arm") then | |
1169 | humanoid.Parent["Right Arm"].CFrame = humanoid.Parent["Right Arm"].CFrame * CFrame.new(-1,0,0) | |
1170 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1171 | attachment.Position = Vector3.new(1, 1, 0) | |
1172 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1173 | ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment | |
1174 | ball.Attachment1 = attachment | |
1175 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
1176 | collidepartofleftleg.Name = "Bone" | |
1177 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1178 | collidepartofleftleg.Transparency = 1 | |
1179 | collidepartofleftleg:BreakJoints() | |
1180 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1181 | weeld.Part0 = humanoid.Parent["Right Arm"] | |
1182 | weeld.Part1 = collidepartofleftleg | |
1183 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1184 | end | |
1185 | if humanoid.Parent:findFirstChild("Left Arm") then | |
1186 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1187 | attachment.Position = Vector3.new(1, 1, 0) | |
1188 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1189 | ball.Attachment0 = humanoid.Parent.Torso.LeftCollarAttachment | |
1190 | ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment | |
1191 | humanoid.Parent["Left Arm"].CFrame = humanoid.Parent["Left Arm"].CFrame * CFrame.new(1,0,0) | |
1192 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
1193 | collidepartofleftleg.Name = "Bone" | |
1194 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1195 | collidepartofleftleg.Transparency = 1 | |
1196 | collidepartofleftleg:BreakJoints() | |
1197 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1198 | weeld.Part0 = humanoid.Parent["Left Arm"] | |
1199 | weeld.Part1 = collidepartofleftleg | |
1200 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1201 | end | |
1202 | if humanoid.Parent:findFirstChild("Head") then | |
1203 | local attachment = Instance.new("Attachment", humanoid.Parent.Head) | |
1204 | attachment.Position = Vector3.new(0, -0.5, 0) | |
1205 | humanoid.Parent.Torso.NeckAttachment.Visible = false | |
1206 | humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
1207 | local ball = Instance.new("HingeConstraint", humanoid.Parent) | |
1208 | ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment | |
1209 | ball.Attachment1 = attachment | |
1210 | local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso) | |
1211 | collidepartofleftleg.Name = "Bone" | |
1212 | collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5) | |
1213 | collidepartofleftleg.Transparency = 1 | |
1214 | collidepartofleftleg:BreakJoints() | |
1215 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1216 | weeld.Part0 = collidepartofleftleg | |
1217 | weeld.Part1 = humanoid.Parent["Head"] | |
1218 | humanoid.Parent.Torso.Neck:destroy() | |
1219 | end | |
1220 | if humanoid.Parent:findFirstChild("Head") then | |
1221 | local aah = Instance.new("Sound", humanoid.Parent.Head) | |
1222 | if aah then | |
1223 | aah.Volume = 8 | |
1224 | local aahmath = math.random(2,8) | |
1225 | if aahmath == 2 then | |
1226 | aah.SoundId = "rbxassetid://884348443" | |
1227 | aah:Play() | |
1228 | end | |
1229 | if aahmath == 3 then | |
1230 | aah.SoundId = "rbxassetid://535528169" | |
1231 | aah.TimePosition = 0.3 | |
1232 | aah:Play() | |
1233 | end | |
1234 | if aahmath == 4 then | |
1235 | aah.SoundId = "rbxassetid://1080363252" | |
1236 | aah:Play() | |
1237 | end | |
1238 | if aahmath == 5 then | |
1239 | aah.SoundId = "rbxassetid://150245085" | |
1240 | aah:Play() | |
1241 | end | |
1242 | if aahmath == 6 then | |
1243 | aah.SoundId = "rbxassetid://345287845" | |
1244 | aah.TimePosition = 2.5 | |
1245 | aah:Play() | |
1246 | end | |
1247 | if aahmath == 7 then | |
1248 | aah.SoundId = "rbxassetid://147758746" | |
1249 | aah.TimePosition = 1.3 | |
1250 | aah:Play() | |
1251 | end | |
1252 | if aahmath == 8 then | |
1253 | aah.SoundId = "rbxassetid://626777433" | |
1254 | aah.TimePosition = 1.4 | |
1255 | aah:Play() | |
1256 | end | |
1257 | end | |
1258 | end | |
1259 | humanoid.Name = "succ." | |
1260 | wait() | |
1261 | velocity:destroy() | |
1262 | for i = 1,math.random(20,40) do | |
1263 | --Converted with ttyyuu12345's model to script plugin v4 | |
1264 | function sandbox(var,func) | |
1265 | local env = getfenv(func) | |
1266 | local newenv = setmetatable({},{ | |
1267 | __index = function(self,k) | |
1268 | if k=="script" then | |
1269 | return var | |
1270 | else | |
1271 | return env[k] | |
1272 | end | |
1273 | end, | |
1274 | }) | |
1275 | setfenv(func,newenv) | |
1276 | return func | |
1277 | end | |
1278 | cors = {} | |
1279 | mas = Instance.new("Model",game:GetService("Lighting")) | |
1280 | local AAA = Instance.new("Part") | |
1281 | local SpecialMesh1 = Instance.new("SpecialMesh") | |
1282 | AAA.Parent = mas | |
1283 | AAA.BrickColor = BrickColor.new("Maroon") | |
1284 | AAA.Size = Vector3.new(0.5,0.5,0.5) | |
1285 | AAA.Position = Vector3.new(4.00000095, 33.7000122, 0.099999927) | |
1286 | AAA.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(math.random(-0.4,0.4),-1.5,0) | |
1287 | AAA.Rotation = Vector3.new(0,0,0) | |
1288 | SpecialMesh1.Parent = AAA | |
1289 | SpecialMesh1.MeshType = Enum.MeshType.Sphere | |
1290 | AAA.CanCollide = false | |
1291 | local velocity1 = Instance.new("BodyVelocity", AAA) | |
1292 | velocity1.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1293 | velocity1.Velocity = humanoid.Parent.Torso.CFrame.upVector * -math.random(20,30) | |
1294 | for i,v in pairs(mas:GetChildren()) do | |
1295 | v.Parent = humanoid.Parent | |
1296 | pcall(function() v:MakeJoints() end) | |
1297 | end | |
1298 | mas:Destroy() | |
1299 | for i,v in pairs(cors) do | |
1300 | spawn(function() | |
1301 | pcall(v) | |
1302 | end) | |
1303 | end | |
1304 | local function hit(part) | |
1305 | if part.Parent:findFirstChild("Humanoid") then | |
1306 | ||
1307 | else | |
1308 | if part.Name == "Handle" or part.Parent.Name == humanoid.Parent.Name then | |
1309 | ||
1310 | else | |
1311 | if part.Name == "WHITEXDDDD!!" then | |
1312 | AAA:destroy() | |
1313 | local partcf = part.CFrame | |
1314 | part.Size = part.Size + Vector3.new(0,0.2,0.2) | |
1315 | else | |
1316 | AAA:destroy() | |
1317 | local cycle = Instance.new("Part", workspace) | |
1318 | cycle.Size = Vector3.new(0.3, 1, 1) | |
1319 | cycle.BrickColor = BrickColor.new("Maroon") | |
1320 | cycle.Anchored = true | |
1321 | cycle.Shape = "Cylinder" | |
1322 | cycle.Name = "WHITEXDDDD!!" | |
1323 | cycle.CanCollide = false | |
1324 | local hitsp = Instance.new("Sound", cycle) | |
1325 | hitsp.SoundId = "rbxassetid://180083286" | |
1326 | hitsp.Volume = 0.2 | |
1327 | hitsp:Play() | |
1328 | cycle.CFrame = AAA.CFrame | |
1329 | if part.Size.y < part.Size.x and part.Size.y < part.Size.z then --a big help from Toxsikkilla | |
1330 | print("if y < x") | |
1331 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi / 2) | |
1332 | cycle.CFrame = cycle.CFrame * CFrame.new(0,0,0) | |
1333 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
1334 | print("if x < y") | |
1335 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) | |
1336 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.y then | |
1337 | print("if z < y") | |
1338 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi / 2, 0) | |
1339 | end | |
1340 | AAA:destroy() | |
1341 | wait(10) | |
1342 | for i = 1,100 do | |
1343 | cycle.Transparency = cycle.Transparency + 0.01 | |
1344 | wait() | |
1345 | end | |
1346 | cycle:destroy() | |
1347 | end | |
1348 | end | |
1349 | end | |
1350 | end | |
1351 | AAA.Touched:connect(hit) | |
1352 | wait(0.1) | |
1353 | velocity1:destroy() | |
1354 | wait(0.1) | |
1355 | end | |
1356 | end | |
1357 | end | |
1358 | end | |
1359 | sensorpart.Touched:connect(goawayskid) | |
1360 | for i = 0,1 , 0.05 do | |
1361 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.63111687, 0.404252291, -0.405529022, 0.529977739, -0.686058879, -0.498460263, 1.38580799e-06, 0.587794542, -0.809012711, 0.84802115, 0.428757071, 0.311518103),i) | |
1362 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1363 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.587850094, -2.08580584e-19, 0.808982074, 2.59615598e-19, 1, 7.09390093e-20, -0.808982074, 1.55571167e-19, 0.587850094),i) | |
1364 | weld.C0 = weld.C0:lerp(CFrame.new(-0.320846558, -0.847515106, -0.580255508, 0.193574056, -0.703631401, 0.683689952, -0.969302595, -0.0294831432, 0.24409683, -0.151596859, -0.709953249, -0.687738895),i) | |
1365 | game:GetService("RunService").RenderStepped:wait() | |
1366 | end | |
1367 | weld.C0 = CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737) | |
1368 | sensorpart:destroy() | |
1369 | humanoidrootpart:destroy() | |
1370 | lhandweld:destroy() | |
1371 | rhandweld:destroy() | |
1372 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1373 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1374 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1375 | using = false | |
1376 | end | |
1377 | end | |
1378 | begonet = Instance.new("Sound", Part34) | |
1379 | begonet.Volume = 10 | |
1380 | begonet.SoundId = "rbxassetid://854345294" | |
1381 | begonet.PlaybackSpeed = 1 | |
1382 | begonet.TimePosition = 2 | |
1383 | function BEGONETHOT(key) | |
1384 | key = key:lower() | |
1385 | if key == "t" and not using then | |
1386 | using = true | |
1387 | begonet:Play() | |
1388 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
1389 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove() | |
1390 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1391 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1392 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
1393 | rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) * CFrame.new(0,-0.5,0) | |
1394 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
1395 | game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove() | |
1396 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1397 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
1398 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
1399 | lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0) | |
1400 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
1401 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
1402 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso) | |
1403 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1404 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
1405 | for i = 0,1 , 0.05 do | |
1406 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.92737198, 0.408026218, 1.90734863e-06, 0.469482929, -0.882941604, -8.96576978e-07, 0.882941544, 0.469482958, -3.59054434e-06, 3.59116825e-06, 8.94074446e-07, 1),i) | |
1407 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1408 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.587758601, 1.15672937e-20, -0.809038699, 2.4140439e-20, 1, 2.43521972e-20, 0.809038699, -4.40457133e-20, 0.587758601),i) | |
1409 | weld.C0 = weld.C0:lerp(CFrame.new(-0.0554443598, -0.799102783, -0.347240448, -0.953667462, -0.238339514, 0.183610499, -0.298163414, 0.830273509, -0.470897645, -0.040213421, -0.503825665, -0.862868845),i) | |
1410 | game:GetService("RunService").RenderStepped:wait() | |
1411 | end | |
1412 | wait(1.5) | |
1413 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed + 100 | |
1414 | local sensorpart = Instance.new("Part", Model0) | |
1415 | sensorpart.Size = Vector3.new(2,2,2) | |
1416 | sensorpart.Transparency = 1 | |
1417 | sensorpart:BreakJoints() | |
1418 | sensorpart.CanCollide = false | |
1419 | local weld1 = Instance.new("Weld", sensorpart) | |
1420 | weld1.Part0 = sensorpart | |
1421 | weld1.Part1 = Part28 | |
1422 | local function kill(part) | |
1423 | local humanoid = part.Parent:findFirstChild("Humanoid") | |
1424 | local uppertorso = part.Parent:findFirstChild("UpperTorso") | |
1425 | if humanoid then | |
1426 | local cutplayback = math.random(1,5) | |
1427 | if cutplayback == 1 then | |
1428 | cut.PlaybackSpeed = 2 | |
1429 | end | |
1430 | if cutplayback == 2 then | |
1431 | cut.PlaybackSpeed = 1 | |
1432 | end | |
1433 | if cutplayback == 3 then | |
1434 | cut.PlaybackSpeed = 1.5 | |
1435 | end | |
1436 | if cutplayback == 4 then | |
1437 | cut.PlaybackSpeed = 1.2 | |
1438 | end | |
1439 | if cutplayback == 4 then | |
1440 | cut.PlaybackSpeed = 2.4 | |
1441 | end | |
1442 | cut:Play() | |
1443 | if uppertorso then | |
1444 | humanoid.PlatformStand = true | |
1445 | humanoid.WalkSpeed = 0 | |
1446 | humanoid.JumpPower = 0 | |
1447 | wait(4) | |
1448 | humanoid.Health = 0 | |
1449 | else | |
1450 | if humanoid.Parent:findFirstChild("Health") then | |
1451 | humanoid.Parent.Health:Remove() | |
1452 | humanoid.Health = 0.01 | |
1453 | end | |
1454 | if humanoid.Parent:findFirstChild("Torso") then | |
1455 | humanoid.Parent.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35 | |
1456 | for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do | |
1457 | if v.ClassName == "Motor6D" then | |
1458 | if v.Name == "Neck" then | |
1459 | ||
1460 | else | |
1461 | v:destroy() | |
1462 | end | |
1463 | end | |
1464 | end | |
1465 | end | |
1466 | humanoid.WalkSpeed = 0 | |
1467 | humanoid.JumpPower = 0 | |
1468 | humanoid.PlatformStand = true | |
1469 | humanoid.Parent.Head:BreakJoints() | |
1470 | if humanoid.Parent:findFirstChild("Right Arm") then | |
1471 | humanoid.Parent["Right Arm"].CFrame = humanoid.Parent["Right Arm"].CFrame * CFrame.new(-1,0,0) | |
1472 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1473 | attachment.Position = Vector3.new(1, 1, 0) | |
1474 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1475 | ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment | |
1476 | ball.Attachment1 = attachment | |
1477 | end | |
1478 | if humanoid.Parent:findFirstChild("Left Arm") then | |
1479 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1480 | attachment.Position = Vector3.new(1, 1, 0) | |
1481 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1482 | ball.Attachment0 = humanoid.Parent.Torso.LeftCollarAttachment | |
1483 | ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment | |
1484 | humanoid.Parent["Right Arm"].CFrame = humanoid.Parent["Left Arm"].CFrame * CFrame.new(1,0,0) | |
1485 | end | |
1486 | if humanoid.Parent:findFirstChild("Right Leg") then | |
1487 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1488 | attachment.Position = Vector3.new(0.5, -1, 0) | |
1489 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1490 | ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment | |
1491 | ball.Attachment1 = attachment | |
1492 | humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) | |
1493 | end | |
1494 | if humanoid.Parent:findFirstChild("Left Leg") then | |
1495 | local attachment = Instance.new("Attachment", humanoid.Parent.Torso) | |
1496 | attachment.Position = Vector3.new(-0.5, -1, 0) | |
1497 | local ball = Instance.new("BallSocketConstraint", humanoid.Parent) | |
1498 | ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment | |
1499 | ball.Attachment1 = attachment | |
1500 | humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) | |
1501 | end | |
1502 | humanoid.Name = "succ." | |
1503 | for i = 1,math.random(20,40) do | |
1504 | --Converted with ttyyuu12345's model to script plugin v4 | |
1505 | function sandbox(var,func) | |
1506 | local env = getfenv(func) | |
1507 | local newenv = setmetatable({},{ | |
1508 | __index = function(self,k) | |
1509 | if k=="script" then | |
1510 | return var | |
1511 | else | |
1512 | return env[k] | |
1513 | end | |
1514 | end, | |
1515 | }) | |
1516 | setfenv(func,newenv) | |
1517 | return func | |
1518 | end | |
1519 | cors = {} | |
1520 | mas = Instance.new("Model",game:GetService("Lighting")) | |
1521 | local AAA = Instance.new("Part") | |
1522 | local SpecialMesh1 = Instance.new("SpecialMesh") | |
1523 | AAA.Parent = mas | |
1524 | AAA.BrickColor = BrickColor.new("Maroon") | |
1525 | AAA.Size = Vector3.new(0.5,0.5,0.5) | |
1526 | AAA.Position = Vector3.new(4.00000095, 33.7000122, 0.099999927) | |
1527 | AAA.CFrame = humanoid.Parent.Torso.CFrame * CFrame.new(math.random(-0.4,0.4),1.5,0) | |
1528 | AAA.Rotation = Vector3.new(0,0,0) | |
1529 | SpecialMesh1.Parent = AAA | |
1530 | SpecialMesh1.MeshType = Enum.MeshType.Sphere | |
1531 | AAA.CanCollide = false | |
1532 | local velocity1 = Instance.new("BodyVelocity", AAA) | |
1533 | velocity1.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1534 | velocity1.Velocity = humanoid.Parent.Torso.CFrame.upVector * math.random(20,30) | |
1535 | for i,v in pairs(mas:GetChildren()) do | |
1536 | v.Parent = humanoid.Parent | |
1537 | pcall(function() v:MakeJoints() end) | |
1538 | end | |
1539 | mas:Destroy() | |
1540 | for i,v in pairs(cors) do | |
1541 | spawn(function() | |
1542 | pcall(v) | |
1543 | end) | |
1544 | end | |
1545 | local function hit(part) | |
1546 | if part.Parent:findFirstChild("Humanoid") then | |
1547 | ||
1548 | else | |
1549 | if part.Name == "Handle" or part.Parent.Name == humanoid.Parent.Name then | |
1550 | ||
1551 | else | |
1552 | if part.Name == "WHITEXDDDD!!" then | |
1553 | AAA:destroy() | |
1554 | local partcf = part.CFrame | |
1555 | part.Size = part.Size + Vector3.new(0,0.2,0.2) | |
1556 | else | |
1557 | AAA:destroy() | |
1558 | local cycle = Instance.new("Part", workspace) | |
1559 | cycle.Size = Vector3.new(0.3, 1, 1) | |
1560 | cycle.BrickColor = BrickColor.new("Maroon") | |
1561 | cycle.Anchored = true | |
1562 | cycle.Shape = "Cylinder" | |
1563 | cycle.Name = "WHITEXDDDD!!" | |
1564 | cycle.CanCollide = false | |
1565 | local hitsp = Instance.new("Sound", cycle) | |
1566 | hitsp.SoundId = "rbxassetid://180083286" | |
1567 | hitsp.Volume = 0.2 | |
1568 | hitsp:Play() | |
1569 | cycle.CFrame = AAA.CFrame | |
1570 | if part.Size.y < part.Size.x and part.Size.y < part.Size.z then --a big help from Toxsikkilla | |
1571 | print("if y < x") | |
1572 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi / 2) | |
1573 | cycle.CFrame = cycle.CFrame * CFrame.new(0,0,0) | |
1574 | elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then | |
1575 | print("if x < y") | |
1576 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, 0, 0) | |
1577 | elseif part.Size.z < part.Size.y and part.Size.z < part.Size.y then | |
1578 | print("if z < y") | |
1579 | cycle.CFrame = cycle.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi / 2, 0) | |
1580 | end | |
1581 | AAA:destroy() | |
1582 | wait(10) | |
1583 | for i = 1,100 do | |
1584 | cycle.Transparency = cycle.Transparency + 0.01 | |
1585 | wait() | |
1586 | end | |
1587 | cycle:destroy() | |
1588 | end | |
1589 | end | |
1590 | end | |
1591 | end | |
1592 | AAA.Touched:connect(hit) | |
1593 | wait(0.1) | |
1594 | velocity1:destroy() | |
1595 | wait(0.1) | |
1596 | end | |
1597 | end | |
1598 | end | |
1599 | end | |
1600 | sensorpart.Touched:connect(kill) | |
1601 | for i = 0,1 , 0.05 do | |
1602 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.05211639, 0.447865009, 0.0767602921, 0.0932039917, -0.99485594, -0.0397753119, 0.995646775, 0.0930992812, 0.00447211368, -0.000746052712, -0.0400190353, 0.999202371),i) | |
1603 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.98882294, 0.388510704, 9.53674316e-07, 0.342025071, 0.939690828, -4.80705921e-07, -0.939690948, 0.342025042, -1.72900252e-06, -1.46031448e-06, 1.04307708e-06, 1),i) | |
1604 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.0698219836, -9.44441736e-20, 0.99756825, 2.59615598e-19, 1, 7.09390093e-20, -0.99756825, 2.42463181e-19, 0.0698219836),i) | |
1605 | weld.C0 = weld.C0:lerp(CFrame.new(-0.0156505108, -0.474849701, -0.0771579742, -0.953670561, 0.300256163, -0.0189393815, -0.29815343, -0.951653183, -0.0738969296, -0.040211726, -0.0648264885, 0.997086108),i) | |
1606 | game:GetService("RunService").RenderStepped:wait() | |
1607 | end | |
1608 | wait(3) | |
1609 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed - 100 | |
1610 | sensorpart:destroy() | |
1611 | for i = 0,0.6 , 0.03 do | |
1612 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-0.5,0),i) | |
1613 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0),i) | |
1614 | weld.C0 = weld.C0:lerp(CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737),i) | |
1615 | game:GetService("RunService").RenderStepped:wait() | |
1616 | end | |
1617 | humanoidrootpart:destroy() | |
1618 | lhandweld:destroy() | |
1619 | rhandweld:destroy() | |
1620 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
1621 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1622 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
1623 | using = false | |
1624 | end | |
1625 | end | |
1626 | mouse.KeyDown:connect(BEGONETHOT) | |
1627 | mouse.KeyDown:connect(wowriptorso) | |
1628 | mouse.KeyDown:connect(goback) | |
1629 | mouse.KeyDown:connect(swing) | |
1630 | mouse.Button1Down:connect(lunge) | |
1631 | while true do | |
1632 | game:GetService("RunService").RenderStepped:wait() | |
1633 | if game.Players.LocalPlayer.Character.Humanoid.Health < 20 then | |
1634 | if game.Players.LocalPlayer.Character:findFirstChild("Health") then | |
1635 | game.Players.LocalPlayer.Character.Health:Remove() | |
1636 | end | |
1637 | game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge | |
1638 | game.Players.LocalPlayer.Character.Humanoid.Health = math.huge | |
1639 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
1640 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
1641 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
1642 | if game.Players.LocalPlayer.Character:findFirstChild("Torso") then | |
1643 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10 | |
1644 | for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do | |
1645 | if v.ClassName == "Motor6D" then | |
1646 | if v.Name == "Neck" then | |
1647 | ||
1648 | else | |
1649 | v:destroy() | |
1650 | end | |
1651 | end | |
1652 | end | |
1653 | end | |
1654 | if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then | |
1655 | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) | |
1656 | attachment.Position = Vector3.new(1, 1, 0) | |
1657 | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) | |
1658 | ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment | |
1659 | ball.Attachment1 = attachment | |
1660 | collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) | |
1661 | collidepartofleftleg.Name = "Bone" | |
1662 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1663 | collidepartofleftleg.Transparency = 1 | |
1664 | collidepartofleftleg:BreakJoints() | |
1665 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1666 | weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] | |
1667 | weeld.Part1 = collidepartofleftleg | |
1668 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1669 | end | |
1670 | if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then | |
1671 | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) | |
1672 | attachment.Position = Vector3.new(-1, 1, 0) | |
1673 | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) | |
1674 | ball.Attachment0 = attachment | |
1675 | ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment | |
1676 | collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) | |
1677 | collidepartofleftleg.Name = "Bone" | |
1678 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1679 | collidepartofleftleg.Transparency = 1 | |
1680 | collidepartofleftleg:BreakJoints() | |
1681 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1682 | weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"] | |
1683 | weeld.Part1 = collidepartofleftleg | |
1684 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1685 | end | |
1686 | if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then | |
1687 | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) | |
1688 | attachment.Position = Vector3.new(0.5, -1, 0) | |
1689 | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) | |
1690 | ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment | |
1691 | ball.Attachment1 = attachment | |
1692 | game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) | |
1693 | collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) | |
1694 | collidepartofleftleg.Name = "Bone" | |
1695 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1696 | collidepartofleftleg.Transparency = 1 | |
1697 | collidepartofleftleg:BreakJoints() | |
1698 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1699 | weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"] | |
1700 | weeld.Part1 = collidepartofleftleg | |
1701 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1702 | end | |
1703 | if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then | |
1704 | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) | |
1705 | attachment.Position = Vector3.new(-0.5, -1, 0) | |
1706 | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) | |
1707 | ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment | |
1708 | ball.Attachment1 = attachment | |
1709 | game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) | |
1710 | collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) | |
1711 | collidepartofleftleg.Name = "Bone" | |
1712 | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) | |
1713 | collidepartofleftleg.Transparency = 1 | |
1714 | collidepartofleftleg:BreakJoints() | |
1715 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1716 | weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"] | |
1717 | weeld.Part1 = collidepartofleftleg | |
1718 | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) | |
1719 | end | |
1720 | if game.Players.LocalPlayer.Character:findFirstChild("Head") then | |
1721 | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head) | |
1722 | attachment.Position = Vector3.new(0, -0.5, 0) | |
1723 | attachment.Name = "lol" | |
1724 | attachment.Visible = false | |
1725 | game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false | |
1726 | game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
1727 | local ball = Instance.new("HingeConstraint", game.Players.LocalPlayer.Character) | |
1728 | ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment | |
1729 | ball.Attachment1 = attachment | |
1730 | collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) | |
1731 | collidepartofleftleg.Name = "Bone" | |
1732 | collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5) | |
1733 | collidepartofleftleg.Transparency = 1 | |
1734 | collidepartofleftleg:BreakJoints() | |
1735 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
1736 | weeld.Part0 = collidepartofleftleg | |
1737 | weeld.Part1 = game.Players.LocalPlayer.Character["Head"] | |
1738 | if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then | |
1739 | game.Players.LocalPlayer.Character.Torso.Neck:destroy() | |
1740 | end | |
1741 | end | |
1742 | if game.Players.LocalPlayer.Character:findFirstChild("Head") then | |
1743 | local aah = Instance.new("Sound", game.Players.LocalPlayer.Character.Head) | |
1744 | if aah then | |
1745 | aah.Volume = 8 | |
1746 | local aahmath = math.random(2,8) | |
1747 | if aahmath == 2 then | |
1748 | aah.SoundId = "rbxassetid://884348443" | |
1749 | aah:Play() | |
1750 | end | |
1751 | if aahmath == 3 then | |
1752 | aah.SoundId = "rbxassetid://535528169" | |
1753 | aah.TimePosition = 0.3 | |
1754 | aah:Play() | |
1755 | end | |
1756 | if aahmath == 4 then | |
1757 | aah.SoundId = "rbxassetid://1080363252" | |
1758 | aah:Play() | |
1759 | end | |
1760 | if aahmath == 5 then | |
1761 | aah.SoundId = "rbxassetid://150245085" | |
1762 | aah:Play() | |
1763 | end | |
1764 | if aahmath == 6 then | |
1765 | aah.SoundId = "rbxassetid://345287845" | |
1766 | aah.TimePosition = 2.5 | |
1767 | aah:Play() | |
1768 | end | |
1769 | if aahmath == 7 then | |
1770 | aah.SoundId = "rbxassetid://147758746" | |
1771 | aah.TimePosition = 1.3 | |
1772 | aah:Play() | |
1773 | end | |
1774 | if aahmath == 8 then | |
1775 | aah.SoundId = "rbxassetid://626777433" | |
1776 | aah.TimePosition = 1.4 | |
1777 | aah:Play() | |
1778 | end | |
1779 | end | |
1780 | end | |
1781 | if game.Players.LocalPlayer.Character:findFirstChild("Torso") then | |
1782 | workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head | |
1783 | end | |
1784 | wait(4.5) | |
1785 | if game.Players.LocalPlayer.Character.Humanoid.Health > 0 then | |
1786 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
1787 | end | |
1788 | game.Players.LocalPlayer.Character.Humanoid.Health = 0 | |
1789 | wait(6) | |
1790 | end | |
1791 | end | |
1792 | --By Rufus14 |