View difference between Paste ID: 0tTjzG8T and j5YdkwiR
SHOW: | | - or go back to the newest paste.
1-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
1+
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
2
do
3-
local Player,game,owner = owner,game
3+
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5-
local RealPlayer = Player
5+
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7-
do print("FE Compatibility code V3 by Desered_ROBLOX")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
7+
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
141
142
local runDummyScript = function(f,scri)
143
local oldenv = getfenv(f)
144
local newenv = setmetatable({}, {
145
__index = function(_, k)
146
if k:lower() == 'script' then
147
return scri
148
else
149
return oldenv[k]
150
end
151
end
152
})
153
setfenv(f, newenv)
154
ypcall(function() f() end)
155
end
156
cors = {}
157
mas = Instance.new("Model",game:GetService("Lighting")) 
158
mas.Name = "CompiledModel"
159
o1 = Instance.new("Model")
160
o2 = Instance.new("Part")
161
o3 = Instance.new("Weld")
162
o4 = Instance.new("Part")
163
o5 = Instance.new("Weld")
164
o6 = Instance.new("Part")
165
o7 = Instance.new("Weld")
166
o8 = Instance.new("Part")
167
o9 = Instance.new("Weld")
168
o10 = Instance.new("Part")
169
o11 = Instance.new("Weld")
170
o12 = Instance.new("Part")
171
o13 = Instance.new("Weld")
172
o14 = Instance.new("Part")
173
o15 = Instance.new("Weld")
174
o16 = Instance.new("Part")
175
o17 = Instance.new("Weld")
176
o18 = Instance.new("Part")
177
o19 = Instance.new("Weld")
178
o20 = Instance.new("Part")
179
o21 = Instance.new("Part")
180
o22 = Instance.new("Weld")
181
o23 = Instance.new("Part")
182
o24 = Instance.new("Weld")
183
o25 = Instance.new("Part")
184
o26 = Instance.new("Weld")
185
o27 = Instance.new("Part")
186
o28 = Instance.new("SpecialMesh")
187
o29 = Instance.new("Weld")
188
o30 = Instance.new("Part")
189
o31 = Instance.new("SpecialMesh")
190
o32 = Instance.new("Weld")
191
o33 = Instance.new("Part")
192
o34 = Instance.new("Weld")
193
o35 = Instance.new("Part")
194
o36 = Instance.new("SpecialMesh")
195
o37 = Instance.new("Weld")
196
o38 = Instance.new("Part")
197
o39 = Instance.new("SpecialMesh")
198
o40 = Instance.new("Weld")
199
o41 = Instance.new("Part")
200
o42 = Instance.new("Weld")
201
o43 = Instance.new("Part")
202
o44 = Instance.new("Weld")
203
o45 = Instance.new("Part")
204
o46 = Instance.new("Weld")
205
o47 = Instance.new("Part")
206
o48 = Instance.new("Weld")
207
o49 = Instance.new("Part")
208
o50 = Instance.new("Weld")
209
o51 = Instance.new("Part")
210
o52 = Instance.new("SpecialMesh")
211
o53 = Instance.new("Weld")
212
o54 = Instance.new("Part")
213
o55 = Instance.new("SpecialMesh")
214
o56 = Instance.new("Weld")
215
o57 = Instance.new("Part")
216
o58 = Instance.new("Weld")
217
o59 = Instance.new("Part")
218
o60 = Instance.new("SpecialMesh")
219
o61 = Instance.new("Weld")
220
o62 = Instance.new("Part")
221
o63 = Instance.new("SpecialMesh")
222
o64 = Instance.new("Weld")
223
o65 = Instance.new("Part")
224
o66 = Instance.new("Weld")
225
o67 = Instance.new("Part")
226
o68 = Instance.new("Weld")
227
o69 = Instance.new("Part")
228
o70 = Instance.new("Weld")
229
o1.Parent = mas
230
o2.Parent = o1
231
o2.Material = Enum.Material.Neon
232
o2.BrickColor = BrickColor.new("Institutional white")
233
o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936)
234
o2.Rotation = Vector3.new(165, -0.519999981, 179.339996)
235
o2.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
236
o2.CFrame = CFrame.new(2.01843858, 3.79534531, -0.256092936, -0.999890625, -0.0116026225, -0.00915808417, -0.00883699115, 0.96587497, -0.258858204, 0.0118489964, -0.258749008, -0.96587193)
237
o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
238
o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936)
239
o2.Orientation = Vector3.new(15, -179.460007, -0.519999981)
240
o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
241
o3.Name = "Joint"
242
o3.Parent = o2
243
o3.C0 = CFrame.new(0.528523922, -0.861619711, -0.0171282887, -0.999964595, -0.00840907171, 7.80839473e-05, -0.00812376011, 0.96355325, -0.26739341, 0.00217329431, -0.267384589, -0.963587463)
244
o3.Part0 = o2
245
o3.Part1 = o20
246
o4.Parent = o1
247
o4.Material = Enum.Material.Neon
248
o4.BrickColor = BrickColor.new("Institutional white")
249
o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206)
250
o4.Rotation = Vector3.new(-172.5, -0.74000001, 179.589996)
251
o4.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
252
o4.CFrame = CFrame.new(2.01929164, 3.70664787, -0.25042206, -0.999890625, -0.00721688289, -0.0128994547, -0.00883899163, 0.991411388, 0.130481288, 0.011846995, 0.130581066, -0.991366923)
253
o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
254
o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206)
255
o4.Orientation = Vector3.new(-7.5, -179.25, -0.50999999)
256
o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
257
o5.Name = "Joint"
258
o5.Parent = o4
259
o5.C0 = CFrame.new(0.528526783, -0.702271938, -0.328355253, -0.999964535, -0.00841108989, 7.61011615e-05, -0.00833929144, 0.992529452, 0.121720426, -0.00109933503, 0.121715471, -0.992564499)
260
o5.Part0 = o4
261
o5.Part1 = o20
262
o6.Parent = o1
263
o6.Material = Enum.Material.Neon
264
o6.BrickColor = BrickColor.new("Institutional white")
265
o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865)
266
o6.Rotation = Vector3.new(-37.5, -0.74000001, 179.589996)
267
o6.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
268
o6.CFrame = CFrame.new(2.01928878, 3.75653982, -0.346634865, -0.999890685, -0.00721472735, -0.0129033476, -0.00213099457, -0.793370485, 0.608735323, -0.0146289961, 0.608696342, 0.793268323)
269
o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
270
o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865)
271
o6.Orientation = Vector3.new(-37.5, -0.930000007, -179.850006)
272
o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
273
o7.Name = "Joint"
274
o7.Parent = o6
275
o7.C0 = CFrame.new(0.515877366, 0.838102102, -0.209653616, -0.999648094, -0.00193743419, -0.026456276, -0.0147638759, -0.787955523, 0.615555167, -0.0220389664, 0.615729153, 0.787649512)
276
o7.Part0 = o6
277
o7.Part1 = o20
278
o8.Parent = o1
279
o8.Material = Enum.Material.Neon
280
o8.BrickColor = BrickColor.new("Institutional white")
281
o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968)
282
o8.Rotation = Vector3.new(-60, -0.519999981, 179.339996)
283
o8.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
284
o8.CFrame = CFrame.new(2.01843858, 3.69782782, -0.279909968, -0.999890804, -0.0115992408, -0.00915751234, -0.00213099481, -0.500013113, 0.866015196, -0.0146239968, 0.865940154, 0.499933809)
285
o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
286
o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968)
287
o8.Orientation = Vector3.new(-60, -1.04999995, -179.759995)
288
o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
289
o9.Name = "Joint"
290
o9.Parent = o8
291
o9.C0 = CFrame.new(0.515879512, 0.606918216, -0.496954203, -0.999648273, -0.00193739019, -0.0264512785, -0.0220698789, -0.492333829, 0.870126605, -0.0147086382, 0.870404363, 0.492117912)
292
o9.Part0 = o8
293
o9.Part1 = o20
294
o10.Parent = o1
295
o10.Material = Enum.Material.Neon
296
o10.BrickColor = BrickColor.new("Institutional white")
297
o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431)
298
o10.Rotation = Vector3.new(-120, 0.519999981, -0.660000026)
299
o10.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
300
o10.CFrame = CFrame.new(0.931878984, 3.69782877, 0.290648431, 0.999890685, 0.0116018439, 0.00915900338, -0.00213100435, -0.500013053, 0.866015255, 0.0146269985, -0.865940154, -0.49993372)
301
o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
302
o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431)
303
o10.Orientation = Vector3.new(-60, 178.949997, -179.759995)
304
o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
305
o11.Name = "Joint"
306
o11.Parent = o10
307
o11.C0 = CFrame.new(0.565348864, 0.634711862, -0.480786085, 0.999646306, -0.00232441584, 0.02649194, 0.0216448922, -0.507653236, -0.86128962, 0.0154507086, 0.861558378, -0.507423341)
308
o11.Part0 = o10
309
o11.Part1 = o20
310
o12.Parent = o1
311
o12.Material = Enum.Material.Neon
312
o12.BrickColor = BrickColor.new("Institutional white")
313
o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416)
314
o12.Rotation = Vector3.new(-142.5, 0.74000001, -0.409999996)
315
o12.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
316
o12.CFrame = CFrame.new(0.931028008, 3.75654054, 0.357373416, 0.999890745, 0.00721476413, 0.0129033243, -0.00213100435, -0.793369174, 0.608737111, 0.0146289971, -0.60869807, -0.793267071)
317
o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
318
o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416)
319
o12.Orientation = Vector3.new(-37.5, 179.070007, -179.850006)
320
o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
321
o13.Name = "Joint"
322
o13.Parent = o12
323
o13.C0 = CFrame.new(0.565348148, 0.857591152, -0.184082627, 0.999646306, -0.00232439814, 0.0264939386, 0.0140854772, -0.798722088, -0.60153532, 0.0225594956, 0.601695657, -0.79840678)
324
o13.Part0 = o12
325
o13.Part1 = o20
326
o14.Parent = o1
327
o14.Material = Enum.Material.Neon
328
o14.BrickColor = BrickColor.new("Institutional white")
329
o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433)
330
o14.Rotation = Vector3.new(-7.5, 0.74000001, -0.409999996)
331
o14.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
332
o14.CFrame = CFrame.new(0.931028008, 3.70664787, 0.261160433, 0.999890745, 0.00721658766, 0.0129001662, -0.0088388212, 0.991411448, 0.130482212, -0.0118477289, -0.13058199, 0.991366923)
333
o14.Color = Color3.new(0.972549, 0.972549, 0.972549)
334
o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433)
335
o14.Orientation = Vector3.new(-7.5, 0.75, -0.50999999)
336
o14.Color = Color3.new(0.972549, 0.972549, 0.972549)
337
o15.Name = "Joint"
338
o15.Parent = o14
339
o15.C0 = CFrame.new(0.578826845, -0.697807789, -0.35886538, 0.999957085, -0.00926603936, 7.93803483e-05, 0.00918682106, 0.990215838, -0.139243081, 0.00121162832, 0.139237821, 0.990258455)
340
o15.Part0 = o14
341
o15.Part1 = o20
342
o16.Parent = o1
343
o16.Material = Enum.Material.Neon
344
o16.BrickColor = BrickColor.new("Institutional white")
345
o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835)
346
o16.Rotation = Vector3.new(15, 0.519999981, -0.660000026)
347
o16.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
348
o16.CFrame = CFrame.new(0.931879044, 3.79534578, 0.266828835, 0.999890745, 0.0116029736, 0.00915803667, -0.00883735623, 0.965874612, -0.258859128, -0.0118490467, 0.258749872, 0.965871692)
349
o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
350
o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835)
351
o16.Orientation = Vector3.new(15, 0.540000021, -0.519999981)
352
o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
353
o17.Name = "Joint"
354
o17.Parent = o16
355
o17.C0 = CFrame.new(0.578826129, -0.869171381, -0.0470205545, 0.999957085, -0.00926458556, 7.80494884e-05, 0.00895007607, 0.968120754, 0.250323892, -0.00239470415, -0.250312507, 0.968162179)
356
o17.Part0 = o16
357
o17.Part1 = o20
358
o18.Name = "fake"
359
o18.Parent = o1
360
o18.Material = Enum.Material.SmoothPlastic
361
o18.BrickColor = BrickColor.new("Really black")
362
o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
363
o18.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
364
o18.CanCollide = false
365
o18.Locked = true
366
o18.FormFactor = Enum.FormFactor.Symmetric
367
o18.Size = Vector3.new(1.06999993, 0.120000005, 1)
368
o18.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
369
o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
370
o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
371
o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
372
o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
373
o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
374
o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
375
o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
376
o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
377
o18.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
378
o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
379
o19.Name = "Joint"
380
o19.Parent = o18
381
o19.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1)
382
o19.Part0 = o18
383
o19.Part1 = o20
384
o20.Name = "REF"
385
o20.Parent = o1
386
o20.BrickColor = BrickColor.new("Institutional white")
387
o20.Transparency = 1
388
o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097)
389
o20.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
390
o20.CanCollide = false
391
o20.Locked = true
392
o20.FormFactor = Enum.FormFactor.Symmetric
393
o20.Size = Vector3.new(1, 2, 1)
394
o20.CFrame = CFrame.new(1.50012636, 2.96289158, -0.0103435097, 0.999929726, -0.000322855165, 0.0118490038, 0.00042757453, 0.99996084, -0.00883676019, -0.0118456865, 0.00884120632, 0.999890745)
395
o20.Color = Color3.new(0.972549, 0.972549, 0.972549)
396
o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097)
397
o20.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
398
o20.Color = Color3.new(0.972549, 0.972549, 0.972549)
399
o21.Name = "fake"
400
o21.Parent = o1
401
o21.Material = Enum.Material.Neon
402
o21.BrickColor = BrickColor.new("Institutional white")
403
o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
404
o21.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
405
o21.CanCollide = false
406
o21.Locked = true
407
o21.FormFactor = Enum.FormFactor.Symmetric
408
o21.Size = Vector3.new(1.08000004, 0.100000001, 1.00999999)
409
o21.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
410
o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
411
o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
412
o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
413
o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
414
o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
415
o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
416
o21.Color = Color3.new(0.972549, 0.972549, 0.972549)
417
o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
418
o21.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
419
o21.Color = Color3.new(0.972549, 0.972549, 0.972549)
420
o22.Name = "Joint"
421
o22.Parent = o21
422
o22.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1)
423
o22.Part0 = o21
424
o22.Part1 = o20
425
o23.Name = "part"
426
o23.Parent = o1
427
o23.Material = Enum.Material.SmoothPlastic
428
o23.BrickColor = BrickColor.new("Really black")
429
o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955)
430
o23.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
431
o23.CanCollide = false
432
o23.Locked = true
433
o23.FormFactor = Enum.FormFactor.Symmetric
434
o23.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
435
o23.CFrame = CFrame.new(1.78174424, 3.20232034, -0.499926955, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
436
o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
437
o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955)
438
o23.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
439
o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
440
o24.Name = "Joint"
441
o24.Parent = o23
442
o24.C0 = CFrame.new(-0.287499905, -0.234999895, 0.488308817, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1)
443
o24.Part0 = o23
444
o24.Part1 = o20
445
o25.Name = "part"
446
o25.Parent = o1
447
o25.Material = Enum.Material.SmoothPlastic
448
o25.BrickColor = BrickColor.new("Really black")
449
o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208)
450
o25.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
451
o25.CanCollide = false
452
o25.Locked = true
453
o25.FormFactor = Enum.FormFactor.Symmetric
454
o25.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
455
o25.CFrame = CFrame.new(1.20953107, 3.20207596, -0.493148208, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
456
o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
457
o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208)
458
o25.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
459
o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
460
o26.Name = "Joint"
461
o26.Parent = o25
462
o26.C0 = CFrame.new(0.284753442, -0.235000372, 0.488308817, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1)
463
o26.Part0 = o25
464
o26.Part1 = o20
465
o27.Name = "part"
466
o27.Parent = o1
467
o27.Material = Enum.Material.SmoothPlastic
468
o27.BrickColor = BrickColor.new("Really black")
469
o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156)
470
o27.Rotation = Vector3.new(0, 89.3199997, -179.979996)
471
o27.CanCollide = false
472
o27.Locked = true
473
o27.FormFactor = Enum.FormFactor.Symmetric
474
o27.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
475
o27.CFrame = CFrame.new(1.7791779, 1.9886167, -0.518110156, -0.0118680019, 4.2349493e-06, 0.999929428, -0.000349064358, -0.999999881, 8.25966708e-08, 0.999929488, -0.000349041075, 0.0118680047)
476
o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
477
o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156)
478
o27.Orientation = Vector3.new(0, 89.3199997, -179.979996)
479
o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
480
o28.Parent = o27
481
o28.MeshType = Enum.MeshType.Wedge
482
o29.Name = "Joint"
483
o29.Parent = o27
484
o29.C0 = CFrame.new(0.51070261, -0.97445333, -0.273005605, -0.0237121694, 0.00849536248, 0.999682665, -0.00041921006, -0.99996388, 0.00848780759, 0.999718666, -0.000217817505, 0.0237148758)
485
o29.Part0 = o27
486
o29.Part1 = o20
487
o30.Name = "part"
488
o30.Parent = o1
489
o30.Material = Enum.Material.SmoothPlastic
490
o30.BrickColor = BrickColor.new("Really black")
491
o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495)
492
o30.Rotation = Vector3.new(0, -89.3199997, -179.979996)
493
o30.CanCollide = false
494
o30.Locked = true
495
o30.FormFactor = Enum.FormFactor.Symmetric
496
o30.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
497
o30.CFrame = CFrame.new(1.21444392, 1.98861659, -0.511407495, -0.0118680345, 4.14910755e-06, -0.999929488, -0.000349195674, -0.999999881, 4.82316409e-09, -0.999929488, 0.000349170528, 0.0118680345)
498
o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
499
o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495)
500
o30.Orientation = Vector3.new(0, -89.3199997, -179.979996)
501
o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
502
o31.Parent = o30
503
o31.MeshType = Enum.MeshType.Wedge
504
o32.Name = "Joint"
505
o32.Parent = o30
506
o32.C0 = CFrame.new(-0.504759371, -0.974098802, -0.279715657, -2.24979594e-05, -0.00918593351, -0.9999578, -0.000427566702, -0.999957681, 0.00918594189, -0.999999881, 0.000427760155, 1.85696408e-05)
507
o32.Part0 = o30
508
o32.Part1 = o20
509
o33.Name = "part"
510
o33.Parent = o1
511
o33.Material = Enum.Material.Neon
512
o33.BrickColor = BrickColor.new("Institutional white")
513
o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614)
514
o33.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
515
o33.CanCollide = false
516
o33.Locked = true
517
o33.FormFactor = Enum.FormFactor.Symmetric
518
o33.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334)
519
o33.CFrame = CFrame.new(1.49197471, 2.9470253, -0.478182614, 0.999929667, -0.000322859967, 0.0118490048, 0.00042756967, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
520
o33.Color = Color3.new(0.972549, 0.972549, 0.972549)
521
o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614)
522
o33.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
523
o33.Color = Color3.new(0.972549, 0.972549, 0.972549)
524
o34.Name = "Joint"
525
o34.Parent = o33
526
o34.C0 = CFrame.new(0.00261592865, 0.0199992657, 0.46774438, 0.99999994, -4.8239599e-09, 9.31322575e-10, -4.8239599e-09, 0.99999994, 9.31322575e-10, 9.31322575e-10, 9.31322575e-10, 1)
527
o34.Part0 = o33
528
o34.Part1 = o20
529
o35.Name = "part"
530
o35.Parent = o1
531
o35.Material = Enum.Material.SmoothPlastic
532
o35.BrickColor = BrickColor.new("Really black")
533
o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215)
534
o35.Rotation = Vector3.new(-92.5699997, -74.9800034, -92.6800003)
535
o35.CanCollide = false
536
o35.Locked = true
537
o35.FormFactor = Enum.FormFactor.Symmetric
538
o35.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
539
o35.CFrame = CFrame.new(1.68771875, 2.15190101, -0.512167215, -0.0121328495, 0.258796006, -0.965855658, -0.000337170437, 0.965925634, 0.258819014, 0.999926329, 0.00346587342, -0.0116321743)
540
o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
541
o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215)
542
o35.Orientation = Vector3.new(-15, -90.6900024, -0.0199999996)
543
o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
544
o36.Parent = o35
545
o36.MeshType = Enum.MeshType.Wedge
546
o37.Name = "Joint"
547
o37.Parent = o35
548
o37.C0 = CFrame.new(0.503789365, 0.736547947, 0.385249794, -0.0239769556, 0.00850731414, 0.999676287, 0.25914979, 0.965834975, -0.00200368534, -0.965539336, 0.259017885, -0.0253624525)
549
o37.Part0 = o35
550
o37.Part1 = o20
551
o38.Name = "part"
552
o38.Parent = o1
553
o38.Material = Enum.Material.SmoothPlastic
554
o38.BrickColor = BrickColor.new("Really black")
555
o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134)
556
o38.Rotation = Vector3.new(-92.5599976, 74.9899979, 92.6299973)
557
o38.CanCollide = false
558
o38.Locked = true
559
o38.FormFactor = Enum.FormFactor.Symmetric
560
o38.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
561
o38.CFrame = CFrame.new(1.29420042, 2.14426303, -0.512318134, -0.0118680531, -0.25880447, 0.965860248, -0.000349207781, 0.965930641, 0.258818835, -0.999934316, 0.00273436401, -0.011553946)
562
o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
563
o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134)
564
o38.Orientation = Vector3.new(-15, 90.6900024, -0.0199999996)
565
o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
566
o39.Parent = o38
567
o39.MeshType = Enum.MeshType.Wedge
568
o40.Name = "Joint"
569
o40.Parent = o38
570
o40.C0 = CFrame.new(-0.504666567, 0.738809347, 0.404969215, -2.24588439e-05, -0.00918598752, -0.999962628, -0.258405656, 0.966000617, -0.00886820722, 0.966039956, 0.258394748, -0.00239532255)
571
o40.Part0 = o38
572
o40.Part1 = o20
573
o41.Name = "part"
574
o41.Parent = o1
575
o41.Material = Enum.Material.Neon
576
o41.BrickColor = BrickColor.new("Institutional white")
577
o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186)
578
o41.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
579
o41.CanCollide = false
580
o41.Locked = true
581
o41.FormFactor = Enum.FormFactor.Symmetric
582
o41.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334)
583
o41.CFrame = CFrame.new(0.96263957, 2.98702359, 0.00922585186, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168)
584
o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
585
o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186)
586
o41.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
587
o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
588
o42.Name = "Joint"
589
o42.Parent = o41
590
o42.C0 = CFrame.new(0.0131905926, -0.019384861, 0.537873149, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05)
591
o42.Part0 = o41
592
o42.Part1 = o20
593
o43.Name = "part"
594
o43.Parent = o1
595
o43.Material = Enum.Material.SmoothPlastic
596
o43.BrickColor = BrickColor.new("Really black")
597
o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743)
598
o43.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
599
o43.CanCollide = false
600
o43.Locked = true
601
o43.FormFactor = Enum.FormFactor.Symmetric
602
o43.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
603
o43.CFrame = CFrame.new(0.945154786, 2.95708537, 0.291576743, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168)
604
o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
605
o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743)
606
o43.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
607
o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
608
o44.Name = "Joint"
609
o44.Parent = o43
610
o44.C0 = CFrame.new(0.295327336, 0.0106153488, 0.558437169, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05)
611
o44.Part0 = o43
612
o44.Part1 = o20
613
o45.Name = "part"
614
o45.Parent = o1
615
o45.Material = Enum.Material.SmoothPlastic
616
o45.BrickColor = BrickColor.new("Really black")
617
o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327)
618
o45.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
619
o45.CanCollide = false
620
o45.Locked = true
621
o45.FormFactor = Enum.FormFactor.Symmetric
622
o45.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
623
o45.CFrame = CFrame.new(0.938376665, 2.95732975, -0.280635327, -0.0118459975, 0.00884199701, 0.999890685, 0.000428000465, 0.99996084, -0.0088375546, -0.999929726, 0.000323263928, -0.0118493168)
624
o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
625
o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327)
626
o45.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
627
o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
628
o46.Name = "Joint"
629
o46.Parent = o45
630
o46.C0 = CFrame.new(-0.276924908, 0.0106160641, 0.558436334, -1.27591193e-07, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675e-05)
631
o46.Part0 = o45
632
o46.Part1 = o20
633
o47.Name = "part"
634
o47.Parent = o1
635
o47.Material = Enum.Material.SmoothPlastic
636
o47.BrickColor = BrickColor.new("Really black")
637
o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152)
638
o47.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
639
o47.CanCollide = false
640
o47.Locked = true
641
o47.FormFactor = Enum.FormFactor.Symmetric
642
o47.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
643
o47.CFrame = CFrame.new(1.2103591, 3.2023201, 0.502368152, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
644
o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
645
o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152)
646
o47.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
647
o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
648
o48.Name = "Joint"
649
o48.Parent = o47
650
o48.C0 = CFrame.new(-0.295923948, -0.234791994, 0.511337459, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836)
651
o48.Part0 = o47
652
o48.Part1 = o20
653
o49.Name = "part"
654
o49.Parent = o1
655
o49.Material = Enum.Material.SmoothPlastic
656
o49.BrickColor = BrickColor.new("Really black")
657
o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359)
658
o49.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
659
o49.CanCollide = false
660
o49.Locked = true
661
o49.FormFactor = Enum.FormFactor.Symmetric
662
o49.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
663
o49.CFrame = CFrame.new(1.78257418, 3.20207596, 0.495590359, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
664
o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
665
o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359)
666
o49.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
667
o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
668
o50.Name = "Joint"
669
o50.Parent = o49
670
o50.C0 = CFrame.new(0.276331306, -0.234792948, 0.511339784, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836)
671
o50.Part0 = o49
672
o50.Part1 = o20
673
o51.Name = "part"
674
o51.Parent = o1
675
o51.Material = Enum.Material.SmoothPlastic
676
o51.BrickColor = BrickColor.new("Really black")
677
o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126)
678
o51.Rotation = Vector3.new(-179.979996, 89.3199997, 0)
679
o51.CanCollide = false
680
o51.Locked = true
681
o51.FormFactor = Enum.FormFactor.Symmetric
682
o51.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
683
o51.CFrame = CFrame.new(1.77766001, 1.98861575, 0.513848126, 0.0118700052, 4.53292159e-09, 0.999929488, -0.000348999165, -0.99999994, 4.13778162e-06, 0.999929428, -0.000349026173, -0.0118700033)
684
o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
685
o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126)
686
o51.Orientation = Vector3.new(0, 90.6800003, -179.979996)
687
o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
688
o52.Parent = o51
689
o52.MeshType = Enum.MeshType.Wedge
690
o53.Name = "Joint"
691
o53.Parent = o51
692
o53.C0 = CFrame.new(-0.527789056, -0.974092722, -0.271287918, 2.41706148e-05, 0.00848776475, 0.999963939, -0.00042344039, -0.999963939, 0.00848777313, 0.999999881, -0.000423635094, -2.05747783e-05)
693
o53.Part0 = o51
694
o53.Part1 = o20
695
o54.Name = "part"
696
o54.Parent = o1
697
o54.Material = Enum.Material.SmoothPlastic
698
o54.BrickColor = BrickColor.new("Really black")
699
o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262)
700
o54.Rotation = Vector3.new(-87.4400024, -74.9800034, -87.3700027)
701
o54.CanCollide = false
702
o54.Locked = true
703
o54.FormFactor = Enum.FormFactor.Symmetric
704
o54.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
705
o54.CFrame = CFrame.new(1.69790125, 2.1442709, 0.514756262, 0.0118700052, 0.258803964, -0.965856969, -0.000348999165, 0.965925872, 0.258818179, 0.999929428, -0.00273508951, 0.0115558673)
706
o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
707
o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262)
708
o54.Orientation = Vector3.new(-15, -89.3099976, -0.0199999996)
709
o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
710
o55.Parent = o54
711
o55.MeshType = Enum.MeshType.Wedge
712
o56.Name = "Joint"
713
o56.Parent = o54
714
o56.C0 = CFrame.new(-0.527696073, 0.740978241, 0.396828115, 2.41706148e-05, 0.00848776475, 0.999963939, 0.25923121, 0.965780377, -0.00820387714, -0.965815365, 0.25922209, -0.00217695255)
715
o56.Part0 = o54
716
o56.Part1 = o20
717
o57.Name = "part"
718
o57.Parent = o1
719
o57.Material = Enum.Material.Neon
720
o57.BrickColor = BrickColor.new("Institutional white")
721
o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318)
722
o57.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
723
o57.CanCollide = false
724
o57.Locked = true
725
o57.FormFactor = Enum.FormFactor.Symmetric
726
o57.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334)
727
o57.CFrame = CFrame.new(1.50013006, 2.94702506, 0.480624318, -0.999929786, 0.000323240965, -0.0118513182, 0.000428004656, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
728
o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
729
o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318)
730
o57.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
731
o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
732
o58.Name = "Joint"
733
o58.Parent = o57
734
o58.C0 = CFrame.new(-0.00580644608, 0.0202069283, 0.490774006, -0.999999702, 0.000855566177, -5.251728e-06, 0.000855520484, 0.999843419, -0.0176736191, -9.87201929e-06, -0.0176736191, -0.999843836)
735
o58.Part0 = o57
736
o58.Part1 = o20
737
o59.Name = "part"
738
o59.Parent = o1
739
o59.Material = Enum.Material.SmoothPlastic
740
o59.BrickColor = BrickColor.new("Really black")
741
o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277)
742
o59.Rotation = Vector3.new(-87.4300003, 74.9800034, 87.3199997)
743
o59.CanCollide = false
744
o59.Locked = true
745
o59.FormFactor = Enum.FormFactor.Symmetric
746
o59.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
747
o59.CFrame = CFrame.new(1.30438602, 2.15190077, 0.514609277, 0.0121339997, -0.258795023, 0.965856075, -0.000337000936, 0.965926051, 0.25881803, -0.999926329, -0.0034659924, 0.0116333365)
748
o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
749
o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277)
750
o59.Orientation = Vector3.new(-15, 89.3099976, -0.0199999996)
751
o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
752
o60.Parent = o59
753
o60.MeshType = Enum.MeshType.Wedge
754
o61.Name = "Joint"
755
o61.Parent = o59
756
o61.C0 = CFrame.new(0.527015865, 0.734519839, 0.392848969, 0.0239778198, -0.00918145943, -0.999670327, -0.258322775, 0.965941191, -0.0150677348, 0.965761125, 0.258598924, 0.0207893848)
757
o61.Part0 = o59
758
o61.Part1 = o20
759
o62.Name = "part"
760
o62.Parent = o1
761
o62.Material = Enum.Material.SmoothPlastic
762
o62.BrickColor = BrickColor.new("Really black")
763
o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324)
764
o62.Rotation = Vector3.new(179.979996, -89.3199997, 0)
765
o62.CanCollide = false
766
o62.Locked = true
767
o62.FormFactor = Enum.FormFactor.Symmetric
768
o62.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
769
o62.CFrame = CFrame.new(1.21292591, 1.98861599, 0.520551324, 0.011865994, 4.53292159e-09, -0.999929607, -0.000349001028, -0.99999994, -4.13636735e-06, -0.999929547, 0.000349023379, -0.011865994)
770
o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
771
o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324)
772
o62.Orientation = Vector3.new(0, -90.6800003, -179.979996)
773
o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
774
o63.Parent = o62
775
o63.MeshType = Enum.MeshType.Wedge
776
o64.Name = "Joint"
777
o64.Parent = o62
778
o64.C0 = CFrame.new(0.533925354, -0.97446084, -0.280884624, 0.0237098634, -0.00919340085, -0.999676585, -0.000431709253, -0.99995774, 0.00918574631, -0.999718845, 0.000213781706, -0.0237128306)
779
o64.Part0 = o62
780
o64.Part1 = o20
781
o65.Name = "part"
782
o65.Parent = o1
783
o65.Material = Enum.Material.Neon
784
o65.BrickColor = BrickColor.new("Institutional white")
785
o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127)
786
o65.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
787
o65.CanCollide = false
788
o65.Locked = true
789
o65.FormFactor = Enum.FormFactor.Symmetric
790
o65.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334)
791
o65.CFrame = CFrame.new(1.98767567, 2.98702312, 0.00151200127, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163)
792
o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
793
o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127)
794
o65.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
795
o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
796
o66.Name = "Joint"
797
o66.Parent = o65
798
o66.C0 = CFrame.new(-0.0176414885, -0.0198159218, 0.487568855, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05)
799
o66.Part0 = o65
800
o66.Part1 = o20
801
o67.Name = "part"
802
o67.Parent = o1
803
o67.Material = Enum.Material.SmoothPlastic
804
o67.BrickColor = BrickColor.new("Really black")
805
o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047)
806
o67.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
807
o67.CanCollide = false
808
o67.Locked = true
809
o67.FormFactor = Enum.FormFactor.Symmetric
810
o67.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
811
o67.CFrame = CFrame.new(2.01194096, 2.95732999, 0.291371047, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163)
812
o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
813
o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047)
814
o67.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
815
o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
816
o68.Name = "Joint"
817
o68.Parent = o67
818
o68.C0 = CFrame.new(-0.307754934, 0.010184288, 0.50813365, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05)
819
o68.Part0 = o67
820
o68.Part1 = o20
821
o69.Name = "part"
822
o69.Parent = o1
823
o69.Material = Enum.Material.SmoothPlastic
824
o69.BrickColor = BrickColor.new("Really black")
825
o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072)
826
o69.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
827
o69.CanCollide = false
828
o69.Locked = true
829
o69.FormFactor = Enum.FormFactor.Symmetric
830
o69.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
831
o69.CFrame = CFrame.new(2.00516462, 2.95708489, -0.280838072, 0.0118479971, -0.00884200633, -0.999890625, 0.000427999534, 0.999960899, -0.00883754436, 0.999929786, -0.000323246233, 0.0118513163)
832
o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
833
o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072)
834
o69.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
835
o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
836
o70.Name = "Joint"
837
o70.Parent = o69
838
o70.C0 = CFrame.new(0.2644943, 0.0101845264, 0.508137465, 2.49221921e-06, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284e-05)
839
o70.Part0 = o69
840
o70.Part1 = o20
841
mas.Parent = workspace
842
mas:MakeJoints()
843
local mas1 = mas:GetChildren()
844
for i=1,#mas1 do
845
	mas1[i].Parent = workspace 
846
	ypcall(function() mas1[i]:MakeJoints() end)
847
end
848
mas:Destroy()
849
for i=1,#cors do
850
coroutine.resume(cors[i])
851
end
852
853
wait()
854
855
Workspace["Model"].Parent = game.Players.LocalPlayer.Character
856
857
wz = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"])
858
wz.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
859
wz.Part1 = o20
860
wz.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
861
862
for i,v in pairs(game.Players.LocalPlayer.Character.Model:GetChildren()) do
863
	v.Anchored = false
864
	v.CanCollide = false
865
end
866
867
--------------------------
868
869
--theme song
870
871
Effects         = {} --sound effects, for advanced players.
872
local Player    = game.Players.localPlayer
873
local Character = Player.Character
874
local Humanoid  = Character.Humanoid
875
z               = Instance.new("Sound", Character)
876
z.SoundId       = "rbxassetid://170008284"--
877
z.Looped        = true --False for a one-time song.
878-
local hoodMesh=doMesh(hat,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(3,3,3))
878+
879
z.Volume        = 1.3
880
wait(.1)
881
z:Play()
882
------------------------i made my own song, question mark? on void sb offered me the two eyes, i did some optimization to the script over all.
883
-----USEFUL VARIABLES
884
local p = game.Players.LocalPlayer
885
local mouse = p:GetMouse()
886
local char = p.Character
887
888
local Head = char.Head
889
890
local junk = Instance.new("Model")
891
junk.Parent = char
892
junk.Name = "junk"
893
894
local function weldBetween(a, b)
895
    local weld = Instance.new("Weld", a)
896
    weld.Part0 = a
897
    weld.Part1 = b
898
    weld.C0 = a.CFrame:inverse() * b.CFrame
899
    return weld
900
end
901
902
Head.face.Texture ="rbxasset://textures/face.png"
903
904
local eye1 = Instance.new("Part",junk)
905
eye1.Position=Head.Position
906
eye1.Transparency = 0
907
eye1.Size=Vector3.new(0.13,0.32,0.38)
908
eye1.BrickColor=BrickColor.new("Really black")
909
eye1.Material="Neon"
910
911
local eye1m=Instance.new("SpecialMesh",eye1)
912
eye1m.MeshType="Sphere"
913
eye1m.Offset=Vector3.new(0.23,0.21,-0.45)
914
915
916
917
local eye2 = Instance.new("Part",junk)
918
eye2.Position=Head.Position
919
eye2.Transparency = 0
920
eye2.Size=eye1.Size
921
eye2.BrickColor=BrickColor.new("Really black")
922
eye2.Material= "Neon"
923
local eye2m=Instance.new("SpecialMesh",eye2)
924
eye2m.MeshType="Sphere" 
925
eye2m.Offset=Vector3.new(-0.23,0.21,-0.45)
926
local eyething2=weldBetween(Head,eye2)
927
local eyething1=weldBetween(Head,eye1)
928
local plr = game.Players.LocalPlayer.Character.Humanoid
929
----------------------------EYES UP THERE IMMORTALITY DOWN HERE
930
plr.MaxHealth = math.huge
931
wait(1)
932
plr.Health = math.huge
933
--,ebolacancer666
934
935
wait(math.randomseed(tick()))
936
local plr=game.Players.LocalPlayer;ch=plr.Character;
937
local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
938
local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck;
939
local rm=Instance.new("Weld",tor);rm.C1=CFrame.new(0,0.5,0);rm.C0=CFrame.new(1.5,0.5,0);rm.Part0=tor;rm.Part1=ra;
940
local lm=Instance.new("Weld",tor);lm.C1=CFrame.new(0,0.5,0);lm.C0=CFrame.new(-1.5,0.5,0);lm.Part0=tor;lm.Part1=la;
941
local rlm=Instance.new("Weld",tor);rlm.C1=CFrame.new(0,1,0);rlm.C0=CFrame.new(0.5,-1,0);rlm.Part0=tor;rlm.Part1=rl;
942
local llm=Instance.new("Weld",tor);llm.C1=CFrame.new(0,1,0);llm.C0=CFrame.new(-0.5,-1,0);llm.Part0=tor;llm.Part1=ll;
943
local hum=ch.Humanoid
944
for i,v in pairs(head:GetChildren()) do if v.ClassName=="Sound" then v:Destroy() end end
945
rj.C0=CFrame.new()
946
rj.C1=CFrame.new()
947
tor['Right Shoulder']:Destroy();tor['Left Shoulder']:Destroy();tor['Right Hip']:Destroy();tor['Left Hip']:Destroy();
948
neck.C0=CFrame.new(0,1,0);neck.C1=CFrame.new(0,-0.5,0);
949
rmC0=rm.C0;rmC1=rm.C1;lmC0=lm.C0;lmC1=lm.C1;nC0=neck.C0;nC1=neck.C1;rjC0=rj.C0;rjC1=rj.C1;rlmC0=rlm.C0;rlmC1=rlm.C1;llmC0=llm.C0;llmC1=llm.C1;
950
local defWS=25
951
local defJP=120
952
hum.WalkSpeed=defWS
953
hum.JumpPower=defJP
954
ch:WaitForChild("Animate"):Destroy()
955
hum:WaitForChild("Animator"):Destroy()
956
local mouse=plr:GetMouse();local cam=workspace.CurrentCamera;
957
958
for i,v in pairs(ch:GetChildren()) do 
959
	if v:IsA("Part") then
960
		v.CanCollide=false
961
	end
962
end
963
964
function findHumanoid(character)
965
	for i,v in pairs(character:GetChildren()) do
966
		if v.ClassName=="Humanoid" then
967
			return v
968
		end
969
	end
970
end
971
972
function isHumanoid(character)
973
	for i,v in pairs(character:GetChildren()) do
974
		if v.ClassName=="Humanoid" then
975
			return true
976
		end
977
	end
978
end
979
980
local bodyColor=BrickColor.new("White")
981
982
local bc=ch:WaitForChild("Body Colors")
983
bc.HeadColor=bodyColor;bc.LeftArmColor=bodyColor;bc.LeftLegColor=bodyColor;bc.RightArmColor=bodyColor;bc.RightLegColor=bodyColor;bc.TorsoColor=bodyColor;
984
head:WaitForChild("face"):Destroy()
985
986
for i,v in pairs(head:GetChildren()) do if v.ClassName=="Sound" then v:Destroy() end end
987
988
function swait(num)
989
if num==0 or num==nil then
990
game:service'RunService'.RenderStepped:wait()
991
else
992
for i=0,num do
993
game:service'RunService'.RenderStepped:wait()
994
end
995
end
996
end
997
998
function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
999
local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
1000
return p
1001
end
1002
1003
function doMesh(parent,meshType,meshId,scale)
1004
local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
1005
return m
1006
end
1007
1008
local hm=Instance.new("Model",ch);hm.Name="HelmetModel"
1009
1010
local hat=doBrick(hm,Vector3.new(0,0,0),head.CFrame*CFrame.new(0,0.1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10)
1011
local hoodMesh=doMesh(hat,"FileMesh","http://www.roblox.com/asset/?id=0",Vector3.new(3,3,3))
1012
1013
local grabPart=Instance.new("Part",ch);grabPart.Anchored=false;grabPart.CanCollide=false;grabPart.Size=Vector3.new(1,1,1);grabPart.Transparency=1;grabPart.Name="GrabPart";
1014
--local gpw=Instance.new("Weld",ch);gpw.Part0=grabPart;gpw.Part1=ra;gpw.C1=CFrame.new(0,-1.25,0.6)
1015
1016
local mainGui=nil
1017
1018
function displayGrabOptions()
1019
	local mainGui=Instance.new("ScreenGui",plr.PlayerGui)
1020
	mainGui.Name="OptionsGui"
1021
	local grabOption1=Instance.new("TextLabel",mainGui)
1022
	grabOption1.BackgroundTransparency=0.25
1023
	grabOption1.BackgroundColor3=Color3.new(255,255,255)
1024
	grabOption1.BorderSizePixel=0
1025
	grabOption1.Size=UDim2.new(0,125,0,40)
1026
	grabOption1.Position=UDim2.new(0,-125+1,0.5,40)
1027
	grabOption1.Text="F - Release"
1028
	grabOption1.Font=Enum.Font.SourceSansLight
1029
	grabOption1.FontSize=Enum.FontSize.Size24
1030
	grabOption1.TextColor3=Color3.new(255,255,255)
1031
	grabOption1.TextStrokeTransparency=0
1032
	
1033
	grabOption1:TweenPosition(UDim2.new(0,0,0.5,40),"Out","Bounce",0.5,false,nil)
1034
	
1035
	local grabOption2=Instance.new("TextLabel",mainGui)
1036
	grabOption2.BackgroundTransparency=0.25
1037
	grabOption2.BackgroundColor3=Color3.new(255,255,255)
1038
	grabOption2.BorderSizePixel=0
1039
	grabOption2.Size=UDim2.new(0,125,0,40)
1040
	grabOption2.Position=UDim2.new(0,-125+1,0.5,(40*2)+1)
1041
	grabOption2.Text="E - Soul Punch"
1042
	grabOption2.Font=Enum.Font.SourceSansLight
1043
	grabOption2.FontSize=Enum.FontSize.Size24
1044
	grabOption2.TextColor3=Color3.new(255,255,255)
1045
	grabOption2.TextStrokeTransparency=0
1046
	
1047
	grabOption2:TweenPosition(UDim2.new(0,0,0.5,(40*2)+1),"Out","Bounce",0.6,false,nil)
1048
	
1049
	local grabOption3=Instance.new("TextLabel",mainGui)
1050
	grabOption3.BackgroundTransparency=0.25
1051
	grabOption3.BackgroundColor3=Color3.new(255,255,255)
1052
	grabOption3.BorderSizePixel=0
1053
	grabOption3.Size=UDim2.new(0,125,0,40)
1054
	grabOption3.Position=UDim2.new(0,-125+1,0.5,(40*3)+2)
1055
	grabOption3.Text="R - Soul Tear"
1056
	grabOption3.Font=Enum.Font.SourceSansLight
1057
	grabOption3.FontSize=Enum.FontSize.Size24
1058
	grabOption3.TextColor3=Color3.new(255,255,255)
1059
	grabOption3.TextStrokeTransparency=0
1060
	
1061
	grabOption3:TweenPosition(UDim2.new(0,0,0.5,(40*3)+2),"Out","Bounce",0.7,false,nil)
1062
end
1063
1064
function hideGrabOptions()
1065
	if plr.PlayerGui:findFirstChild("OptionsGui",true)~=nil then
1066
		plr.PlayerGui.OptionsGui:Destroy()
1067
	end
1068
end
1069
1070
for i,v in pairs(hm:GetChildren()) do
1071
	if v:IsA("BasePart") then
1072
		local w=Instance.new("Weld",hm)
1073
		w.Part0=head
1074
		w.Part1=v
1075
		w.C0=head.CFrame:inverse()
1076
		w.C1=v.CFrame:inverse()
1077
		v.Anchored=false
1078
	end
1079
end
1080
1081
function poseJointC0(joint,JB,cf,speed)
1082
joint.C0=joint.C0:lerp(JB*cf,speed)
1083
end
1084
function poseJointC1(joint,JB,cf,speed)
1085
joint.C1=joint.C1:lerp(JB*cf,speed)
1086
end
1087
1088
local RLattacking=false
1089
local grabbing=false
1090
local grabbingMode=false
1091
local grabbedCharacter=nil
1092
local grabWeld=nil
1093
1094
local dmgDebounce=false
1095
1096
local speed=1
1097
1098
--[[temp
1099
1100
poseJointC0(rm,rmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1101
poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1102
poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1103
poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1104
poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(0),math.rad(0)),i*speed)
1105
poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1106
					
1107
poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1108
poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1109
poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1110
poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1111
poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1112
poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1113
1114
swait()
1115
]]
1116
1117
function sound(id,vol,pitch,parent)
1118
local s=Instance.new("Sound",parent)
1119
s.SoundId="http://www.roblox.com/asset/?id="..id..""
1120
s.Volume=vol
1121
s.Pitch=pitch
1122
game.Debris:AddItem(s,10)
1123
s:play()
1124
return s
1125
end
1126
1127
local EP=Instance.new("Model",ch);EP.Name="ExtraParts";
1128
1129
local souls=0
1130
local soulPower=0
1131
1132
local soulGui=Instance.new("BillboardGui",head)
1133
soulGui.Adornee=head
1134
soulGui.AlwaysOnTop=true
1135
soulGui.Size=UDim2.new(10,0,10,0)
1136
soulGui.ExtentsOffset=Vector3.new(0,1.5,0)
1137
local soulimg=Instance.new("ImageLabel",soulGui)
1138
soulimg.BackgroundTransparency=1
1139
soulimg.Position=UDim2.new(0.1,0,0,0)
1140
soulimg.Size=UDim2.new(0.8,0,0.8,0)
1141
local soulText=Instance.new("TextLabel",soulimg)
1142
soulText.BackgroundTransparency=1
1143
soulText.Position=UDim2.new(0,0,0.5,0)
1144
soulText.Size=UDim2.new(1,0,0.1,0)
1145
soulText.Font="ArialBold"
1146
soulText.FontSize="Size14"
1147
soulText.Text="+0%"
1148
soulText.TextColor3=Color3.new(255,255,255)
1149
soulText.TextScaled=true
1150
soulText.TextStrokeColor3=Color3.new(255,255,255)
1151
soulText.TextStrokeTransparency=0
1152
soulText.TextWrapped=true
1153
1154
1155
function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
1156
	local cw1=coroutine.wrap(function()
1157
		for i=1,repeatloop do
1158
			local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
1159
			local z=doMesh(x,meshType,meshId,scale)
1160
			
1161
			local cw2=coroutine.wrap(function()
1162
				for i=1,loop do
1163
					if loopTransparency then
1164
						x.Transparency=i/loop
1165
						z.Scale=z.Scale+scaleAdd
1166
						x.CFrame=x.CFrame*loopCFrame
1167
						wait()
1168
					else
1169
						z.Scale=z.Scale+scaleAdd
1170
						x.CFrame=x.CFrame*loopCFrame
1171
					end
1172
				end
1173
				x:Destroy()
1174
			end)
1175
			cw2()
1176
			swait(repeatLoopWait)
1177
		end
1178
	end)
1179
	cw1()
1180
end
1181
1182
local currentAnim=""
1183
local speed=0
1184
local doingMove=false
1185
local attacking=false
1186
1187
function anim(x)
1188
	if not doingMove then
1189
		if x=="jump" then
1190
			if currentAnim==x then return end
1191
			currentAnim=x
1192
			speed=0.45
1193
			print(x)
1194
			for i=0,0.8,0.1*speed do
1195
				if currentAnim~=x then break end
1196
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed)
1197
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed)
1198
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1199
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1200
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(8),math.rad(0),math.rad(0)),i*speed)
1201
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1202
				
1203
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1204
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1205
				poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.35,0.35),i*speed)
1206
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1207
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1208
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1209
				swait()
1210
			end
1211
			currentAnim=nil
1212
		end
1213
		if x=="descend" then
1214
			if currentAnim==x then return end
1215
			currentAnim=x
1216
			speed=0.45
1217
			print(x)
1218
			for i=0,0.67,0.1*speed do
1219
				if currentAnim~=x then break end
1220
				if grabbingMode then
1221
					poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(87)),i*speed)
1222
				end
1223
				if not grabbingMode then
1224
					poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed)
1225
				end
1226
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-13),math.rad(0),math.rad(0)),i*speed)
1227
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1228
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),i*speed)
1229
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(-24),math.rad(0),math.rad(0)),i*speed)
1230
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(24),math.rad(0),math.rad(0)),i*speed)
1231
				
1232
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1233
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1234
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1235
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1236
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1237
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1238
				swait()
1239
			end
1240
			currentAnim=nil
1241
		end
1242
		if x=="walk" then
1243
			if currentAnim==x then return end
1244
			currentAnim=x
1245
			speed=0.35
1246
			print(x)
1247
			while true do
1248
				if currentAnim~=x then break end
1249
				for i=0,0.8,0.1*speed do
1250
					if currentAnim~=x then break end
1251
					if grabbingMode then
1252
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed)
1253
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed)
1254
					end
1255
					if not grabbingMode then
1256
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed)
1257
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed)
1258
					end
1259
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed)
1260
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(55),math.rad(0),math.rad(0)),i*speed)
1261
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(12),math.rad(0)),i*speed)
1262
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(-12),math.rad(-10)),i*speed)
1263
					
1264
					if grabbingMode then
1265
						poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1266
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1267
					end
1268
					if not grabbingMode then
1269
						poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed)
1270
						poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed)
1271
					end
1272
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed)
1273
					poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed)
1274
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1275
					poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1276
					swait()
1277
				end
1278
				for i=0,0.34,0.1*speed do
1279
					if currentAnim~=x then break end
1280
					if grabbingMode then
1281
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed)
1282
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed)
1283
					end
1284
					if not grabbingMode then
1285
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed)
1286
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed)
1287
					end
1288
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),i*speed)
1289
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),i*speed)
1290
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),i*speed)
1291
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),i*speed)
1292
										
1293
					if grabbingMode then
1294
						poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1295
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1296
					end
1297
					if not grabbingMode then
1298
						poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed)
1299
						poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed)
1300
					end
1301
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.75,0.7),i*speed)
1302
					poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed)
1303
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1304
					poseJointC1(rj,rjC1,CFrame.new(0,0.3,0),i*speed)
1305
					swait()
1306
				end
1307
				for i=0,0.8,0.1*speed do
1308
					if currentAnim~=x then break end
1309
					if grabbingMode then
1310
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed)
1311
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed)
1312
					end
1313
					if not grabbingMode then
1314
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed)
1315
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed)
1316
					end
1317
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(55),math.rad(0),math.rad(0)),i*speed)
1318
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed)
1319
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(-12),math.rad(0)),i*speed)
1320
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(12),math.rad(10)),i*speed)
1321
										
1322
					if grabbingMode then
1323
						poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1324
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1325
					end
1326
					if not grabbingMode then
1327
						poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed)
1328
						poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed)
1329
					end
1330
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed)
1331
					poseJointC1(llm,llmC1,CFrame.new(-0.05,0,0),i*speed)
1332
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1333
					poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1334
					swait()
1335
				end
1336
				for i=0,0.34,0.1*speed do
1337
					if currentAnim~=x then break end
1338
					if grabbingMode then
1339
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(135),math.rad(0),math.rad(25)),i*speed)
1340
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),i*speed)
1341
					end
1342
					if not grabbingMode then
1343
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(-25)),i*speed)
1344
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(25)),i*speed)
1345
					end
1346
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)),i*speed)
1347
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),i*speed)
1348
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),i*speed)
1349
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),i*speed)
1350
										
1351
					if grabbingMode then
1352
						poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1353
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1354
					end
1355
					if not grabbingMode then
1356
						poseJointC1(rm,rmC1,CFrame.new(0,0.45,0),i*speed)
1357
						poseJointC1(lm,lmC1,CFrame.new(0,0.45,0),i*speed)
1358
					end
1359
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,0,0),i*speed)
1360
					poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.75,0.7),i*speed)
1361
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1362
					poseJointC1(rj,rjC1,CFrame.new(0,0.3,0),i*speed)
1363
					swait()
1364
				end
1365
			end
1366
		end
1367
		if x=="idle" then
1368
			if currentAnim==x then return end
1369
			currentAnim=x
1370
			speed=0.24
1371
			print(x)
1372
			for i=0,0.45,0.1*speed do
1373
				if currentAnim~=x then break end
1374
				if grabbingMode then
1375
					poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),speed)
1376
					poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),speed)
1377
				end
1378
				if not grabbingMode then
1379
					poseJointC0(rm,rmC0,CFrame.Angles(math.rad(100),math.rad(0),math.rad(45)),speed)
1380
					poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(45)),speed)
1381
				end
1382
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),speed)
1383
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(-6)),speed)
1384
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),speed)
1385
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),speed)
1386
				
1387
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),speed)
1388
				if grabbingMode then
1389
					poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed)
1390
				end
1391
				if not grabbingMode then
1392
					poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),speed)
1393
				end
1394
				poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),speed)
1395
				poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.45,0.35),speed)
1396
				poseJointC1(neck,nC1,CFrame.new(0,0,0),speed)
1397
				poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed)
1398
				swait()
1399
			end
1400
			while true do
1401
				if currentAnim~=x then break end
1402
				for i=0,0.75,0.1*speed do
1403
					if currentAnim~=x then break end
1404
					if grabbingMode then
1405
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),i*speed)
1406
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),i*speed)
1407
					end
1408
					if not grabbingMode then
1409
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(112),math.rad(0),math.rad(45)),i*speed)
1410
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(45)),i*speed)
1411
					end
1412
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),i*speed)
1413
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-24),math.rad(0),math.rad(-6)),i*speed)
1414
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),i*speed)
1415
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),i*speed)
1416
					
1417
					poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1418
					if grabbingMode then
1419
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1420
					end
1421
					if not grabbingMode then
1422
						poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),i*speed)
1423
					end
1424
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),i*speed)
1425
					poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.55,0.35),i*speed)
1426
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1427
					poseJointC1(rj,rjC1,CFrame.new(0,0.55,0),i*speed)
1428
					swait()
1429
				end
1430
				for i=0,0.75,0.1*speed do
1431
					if currentAnim~=x then break end
1432
					if grabbingMode then
1433
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(45)),i*speed)
1434
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(-12)),i*speed)
1435
					end
1436
					if not grabbingMode then
1437
						poseJointC0(rm,rmC0,CFrame.Angles(math.rad(100),math.rad(0),math.rad(45)),i*speed)
1438
						poseJointC0(lm,lmC0,CFrame.Angles(math.rad(99),math.rad(0),math.rad(45)),i*speed)
1439
					end
1440
					poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(12),math.rad(0),math.rad(12)),i*speed)
1441
					poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(-6)),i*speed)
1442
					poseJointC0(neck,nC0,CFrame.Angles(math.rad(-4),math.rad(-45),math.rad(0)),i*speed)
1443
					poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-12),math.rad(45),math.rad(0)),i*speed)
1444
					
1445
					poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1446
					if grabbingMode then
1447
						poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1448
					end
1449
					if not grabbingMode then
1450
						poseJointC1(lm,lmC1,CFrame.new(0,0.75,0),i*speed)
1451
					end
1452
					poseJointC1(rlm,rlmC1,CFrame.new(0.05,-0.45,0.45),i*speed)
1453
					poseJointC1(llm,llmC1,CFrame.new(-0.05,-0.45,0.35),i*speed)
1454
					poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1455
					poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),i*speed)
1456
					swait()
1457
				end
1458
			end
1459
		end
1460
	end
1461
	if doingMove then
1462
		if x=="spar1" then
1463
			if currentAnim==x then return end
1464
			currentAnim=x
1465
			speed=0.75
1466
			print(x)
1467
			for i=0,0.5,0.1*speed do
1468
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(75),math.rad(0),math.rad(-45)),i*speed)
1469
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45)),i*speed)
1470
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed)
1471
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-12)),i*speed)
1472
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),i*speed)
1473
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(90),math.rad(12)),i*speed)
1474
				
1475
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1476
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1477
				poseJointC1(rlm,rlmC1,CFrame.new(0,-0.2,0),i*speed)
1478
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1479
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1480
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1481
				swait()
1482
			end
1483
			attacking=true
1484
			RLattacking=true
1485
			sound(233856146,1,1,rl)
1486
			for i=0,1,0.1*speed do
1487
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(80),math.rad(0),math.rad(-45)),i*speed)
1488
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45)),i*speed)
1489
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(106.5)),i*speed)
1490
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45)),i*speed)
1491
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),i*speed)
1492
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(90),math.rad(45)),i*speed)
1493
				
1494
				poseJointC1(rm,rmC1,CFrame.new(0,0.5,0),i*speed)
1495
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1496
				poseJointC1(rlm,rlmC1,CFrame.new(0,0.2,0),i*speed)
1497
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1498
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1499
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1500
				swait()
1501
			end
1502
			attacking=false
1503
			RLattacking=false
1504
			currentAnim=nil
1505
		end
1506
		if x=="spar2" then
1507
			if currentAnim==x then return end
1508
			currentAnim=x
1509
			speed=0.75
1510
			print(x)
1511
			for i=0,0.5,0.1*speed do
1512
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),i*speed)
1513
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(45)),i*speed)
1514
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed)
1515
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),i*speed)
1516
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),i*speed)
1517
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(5),math.rad(-25),math.rad(0)),i*speed)
1518
				
1519
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1520
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1521
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1522
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1523
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1524
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1525
				swait()
1526
			end
1527
			attacking=true
1528
			RLattacking=true
1529
			sound(233856146,1,0.85,rl)
1530
			for i=0,1,0.1*speed do
1531
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(45)),i*speed)
1532
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-45)),i*speed)
1533
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(0)),i*speed)
1534
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),i*speed)
1535
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(-23),math.rad(0),math.rad(0)),i*speed)
1536
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(23),math.rad(0),math.rad(0)),i*speed)
1537
				
1538
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1539
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1540
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1541
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1542
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1543
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1544
				swait()
1545
			end
1546
			attacking=false
1547
			RLattacking=false
1548
			currentAnim=nil
1549
		end
1550
		if x=="grab" then
1551
			if currentAnim==x then return end
1552
			currentAnim=x
1553
			speed=0.75
1554
			print(x)
1555
			for i=0,0.5,0.1*speed do
1556
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed)
1557
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1558
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1559
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1560
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1561
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed)
1562
				
1563
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1564
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1565
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1566
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1567
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1568
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1569
				swait()
1570
			end
1571
			attacking=true
1572
			grabbing=true
1573
			sound(233856146,1,0.95,rl)
1574
			for i=0,1,0.1*speed do
1575
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed)
1576
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed)
1577
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1578
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1579
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed)
1580
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1581
				
1582
				poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed)
1583
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1584
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1585
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1586
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1587
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1588
				swait()
1589
			end
1590
			attacking=false
1591
			grabbing=false
1592
			currentAnim=nil
1593
		end
1594
		if x=="release" then
1595
			if currentAnim==x then return end
1596
			currentAnim=x
1597
			speed=0.75
1598
			print(x)
1599
			for i=0,0.5,0.1*speed do
1600
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed)
1601
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1602
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1603
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1604
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1605
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed)
1606
				
1607
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1608
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1609
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1610
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1611
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1612
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1613
				swait()
1614
			end
1615
			sound(233856146,1,0.95,rl)
1616
			if grabWeld~=nil then
1617
				grabWeld:Destroy()
1618
			end
1619
			local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso"))
1620
			bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1621
			bv.velocity=head.CFrame.lookVector*50+Vector3.new(0,15,0)
1622
			game.Debris:AddItem(bv,0.05)
1623
			grabbedCharacter.Humanoid.WalkSpeed=16
1624
			grabbedCharacter.Humanoid.JumpPower=50
1625
			for i=0,1,0.1*speed do
1626
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed)
1627
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed)
1628
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1629
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1630
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed)
1631
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1632
				
1633
				poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed)
1634
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1635
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1636
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1637
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1638
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1639
				swait()
1640
			end
1641
			currentAnim=nil
1642
			grabbedCharacter=nil
1643
		end
1644
		if x=="grabPose" then
1645
			if currentAnim==x then return end
1646
			currentAnim=x
1647
			speed=0.75
1648
			print(x)
1649
			for i=0,1,0.1*speed do
1650
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(125),math.rad(0),math.rad(-25)),i*speed)
1651
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed)
1652
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1653
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1654
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(13),math.rad(-35),math.rad(0)),i*speed)
1655
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1656
				
1657
				poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed)
1658
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1659
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1660
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1661
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1662
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1663
				swait()
1664
			end
1665
		end
1666
		if x=="airAttack" then
1667
			if currentAnim==x then return end
1668
			currentAnim=x
1669
			speed=0.75
1670
			print(x)
1671
			for i=0,0.5,0.1*speed do
1672
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed)
1673
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1674
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1675
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1676
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1677
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed)
1678
				
1679
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1680
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1681
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1682
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1683
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1684
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1685
				swait()
1686
			end
1687
			sound(233856146,1,0.95,rl)
1688
			if grabWeld~=nil then
1689
				grabWeld:Destroy()
1690
			end
1691
			local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso"))
1692
			bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1693
			bv.velocity=head.CFrame.lookVector*10+Vector3.new(0,30,0)
1694
			game.Debris:AddItem(bv,0.05)
1695
			local bf=Instance.new("BodyForce",grabbedCharacter:WaitForChild("Torso"))
1696
			bf.force=Vector3.new(0,750,0)*grabbedCharacter:WaitForChild("Torso"):GetMass()
1697
			game.Debris:AddItem(bf,2.5)
1698
			grabbedCharacter.Humanoid.WalkSpeed=16
1699
			grabbedCharacter.Humanoid.JumpPower=50
1700
			for i=0,1,0.1*speed do
1701
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(150),math.rad(0),math.rad(-25)),i*speed)
1702
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)),i*speed)
1703
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1704
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1705
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(17.5),math.rad(-35),math.rad(0)),i*speed)
1706
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1707
				
1708
				poseJointC1(rm,rmC1,CFrame.new(0,1,0),i*speed)
1709
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1710
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1711
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1712
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1713
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1714
				swait()
1715
			end
1716
			speed=0.2
1717
			hum.WalkSpeed=0
1718
			hum.JumpPower=0
1719
			magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(1,1,1),Vector3.new(10,10,10),5,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
1720
			coroutine.resume(coroutine.create(function()
1721
				for i=1,100 do
1722
					magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1723
					magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1724
					swait(.1)
1725
				end
1726
			end))
1727
			for i,v in pairs(grabbedCharacter:GetChildren()) do 
1728
				if v:IsA("Part") then
1729
					v.CanCollide=false
1730
				end
1731
				if v.ClassName=="Hat" then
1732
					for i,v in pairs(v:GetChildren()) do
1733
						if v:IsA("BasePart") then
1734
							v.CanCollide=false
1735
						end
1736
					end
1737
				end
1738
			end
1739
			sound(215395388,1,0.87,head)
1740
			for i=0,1.25,0.1*speed do
1741
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(12)),i*speed)
1742
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),i*speed)
1743
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),i*speed)
1744
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),i*speed)
1745
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),i*speed)
1746
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),i*speed)
1747
				
1748
				poseJointC1(rm,rmC1,CFrame.new(0,-0.65,0),i*speed)
1749
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1750
				poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),i*speed)
1751
				poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),i*speed)
1752
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1753
				poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),i*speed)
1754
				swait()
1755
			end
1756
			local bv=Instance.new("BodyVelocity",tor)
1757
			bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1758
			bv.velocity=head.CFrame.lookVector*55+Vector3.new(0,60,0)
1759
			game.Debris:AddItem(bv,0.1)
1760
			for i=0,0.25,0.1*speed do
1761
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(110),math.rad(0),math.rad(24)),speed)
1762
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-24)),speed)
1763
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
1764
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed)
1765
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(-12),math.rad(75),math.rad(0)),speed)
1766
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-75),math.rad(-75),math.rad(0)),speed)
1767
				
1768
				poseJointC1(rm,rmC1,CFrame.new(0,-0.45,0),speed)
1769
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed)
1770
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),speed)
1771
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),speed)
1772
				poseJointC1(neck,nC1,CFrame.new(0,0,0),speed)
1773
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),speed)
1774
				swait()
1775
			end
1776
			local didHit=false
1777
			coroutine.resume(coroutine.create(function()
1778
				if (grabbedCharacter:WaitForChild("Torso").Position-tor.Position).magnitude<=10 then
1779
					if not dmgDebounce then
1780
						dmgDebounce=true
1781
						sound(227194094,1,0.8,ra)
1782
						sound(215395468,2.5,0.9,head)
1783
						coroutine.resume(coroutine.create(function()
1784
							for i=1,3 do
1785
								magicBrick(Vector3.new(0,0,0),head.CFrame*CFrame.Angles(math.rad(24),0,0)*CFrame.new(0,0,-8+i*2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"SmoothPlastic",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(3,3,3),Vector3.new(2+i,2+i,0.5),6,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
1786
							end
1787
						end))
1788
						sound(206082327,2.5,1,grabbedCharacter:WaitForChild("Torso"))
1789
						grabbedCharacter.Humanoid:TakeDamage((grabbedCharacter.Humanoid.MaxHealth/5)+((grabbedCharacter.Humanoid.MaxHealth/5)*soulPower/100))
1790
						grabbedCharacter.Humanoid.PlatformStand=false
1791
						local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso"))
1792
						bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1793
						bv.velocity=head.CFrame.lookVector*100+Vector3.new(0,0,0)
1794
						souls=souls+5
1795
						game.Debris:AddItem(bv,0.05)
1796
						didHit=true
1797
						wait(0.5)
1798
						dmgDebounce=false
1799
					end
1800
				end
1801
			end))
1802
			for i=0,0.25,0.1*speed do
1803
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(120),math.rad(0),math.rad(-24)),speed)
1804
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-24)),speed)
1805
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
1806
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed)
1807
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
1808
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(-35),math.rad(45),math.rad(0)),speed)
1809
				
1810
				poseJointC1(rm,rmC1,CFrame.new(0,0.35,0),speed)
1811
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed)
1812
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),speed)
1813
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),speed)
1814
				poseJointC1(neck,nC1,CFrame.new(0,0,0),speed)
1815
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),speed)
1816
				swait()
1817
			end
1818
			currentAnim=nil
1819
			grabbedCharacter=nil
1820
		end
1821
		if x=="soultear" then
1822
			if currentAnim==x then return end
1823
			currentAnim=x
1824
			speed=0.75
1825
			print(x)
1826
			for i=0,0.5,0.1*speed do
1827
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed)
1828
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1829
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
1830
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
1831
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),i*speed)
1832
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),i*speed)
1833
				
1834
				poseJointC1(rm,rmC1,CFrame.new(0,0,0),i*speed)
1835
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),i*speed)
1836
				poseJointC1(rlm,rlmC1,CFrame.new(0,0,0),i*speed)
1837
				poseJointC1(llm,llmC1,CFrame.new(0,0,0),i*speed)
1838
				poseJointC1(neck,nC1,CFrame.new(0,0,0),i*speed)
1839
				poseJointC1(rj,rjC1,CFrame.new(0,0,0),i*speed)
1840
				swait()
1841
			end
1842
			sound(233856146,1,0.95,rl)
1843
			if grabWeld~=nil then
1844
				grabWeld:Destroy()
1845
			end
1846
			local bp=Instance.new("BodyPosition",grabbedCharacter:WaitForChild("Torso"))
1847
			bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1848
			bp.Position=tor.CFrame*CFrame.new(0,0,-3).p
1849
			game.Debris:AddItem(bp,0.5)
1850
			grabbedCharacter.Humanoid.WalkSpeed=16
1851
			grabbedCharacter.Humanoid.JumpPower=50
1852
			speed=0.2
1853
			magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=6552202",Vector3.new(1,1,1),Vector3.new(10,10,10),5,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
1854
			coroutine.resume(coroutine.create(function()
1855
				for i=1,100 do
1856
					magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1857
					magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1858
					swait(.1)
1859
				end
1860
			end))
1861
			sound(215395388,1,0.8,head)
1862
			for i=0,1.25,0.1*speed do
1863
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(12)),speed)
1864
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),speed)
1865
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
1866
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(0)),speed)
1867
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),speed)
1868
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),speed)
1869
				
1870
				poseJointC1(rm,rmC1,CFrame.new(0,-0.65,0),speed)
1871
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed)
1872
				poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),speed)
1873
				poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),speed)
1874
				poseJointC1(neck,nC1,CFrame.new(0,0,0),speed)
1875
				poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed)
1876
				swait()
1877
			end
1878
			speed=0.25
1879
			local didHit=false
1880
			coroutine.resume(coroutine.create(function()
1881
				if (grabbedCharacter:WaitForChild("Torso").Position-tor.Position).magnitude<=7.5 then
1882
					if not dmgDebounce then
1883
						dmgDebounce=true
1884
						sound(179515225,1,0.65,ra)
1885
						sound(610359515,1,0.85,ra)
1886
						grabbedCharacter.Humanoid:TakeDamage((grabbedCharacter.Humanoid.MaxHealth/4)+((grabbedCharacter.Humanoid.MaxHealth/4)*soulPower/100))
1887
						coroutine.resume(coroutine.create(function()
1888
							wait(0.085)
1889
							magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"SmoothPlastic",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(.5,.5,.5),Vector3.new(5,5,0.01),16,true,1,0,CFrame.Angles(0,0,0))
1890
							for i=1,8 do
1891
								magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1892
								magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1893
								magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0.5,-2,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=10681506",Vector3.new(10,10,10),Vector3.new(0.3,0.3,-0.3),30,true,1,0,CFrame.new(0,0,-i/12)*CFrame.Angles(0,0,0))
1894
								magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0.5,-2,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=10681506",Vector3.new(5+i/2,5+i/2,5+i/2),Vector3.new(-0.3,2+i/2,-0.3),5,true,1,0,CFrame.new(math.random(-0.5,0.5),math.random(-0.5,0.5),math.random(-0.5,0.5))*CFrame.Angles(0,0,0))
1895
								magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,2,0)*CFrame.new(math.random(1,15),math.random(1,2),math.random(1,15))*CFrame.new(-15/2,-2/2,-15/2),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),30,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1896
								wait(.025)
1897
							end
1898
						end))
1899
						local bv=Instance.new("BodyVelocity",grabbedCharacter:WaitForChild("Torso"))
1900
						bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1901
						bv.velocity=head.CFrame.lookVector*25+Vector3.new(0,70,0)
1902
						game.Debris:AddItem(bv,0.1)
1903
						souls=souls+3
1904
						if grabbedCharacter~=nil then
1905
							coroutine.resume(coroutine.create(function()
1906
								for i=1,100 do
1907
									if grabbedCharacter==nil then break end
1908
									magicBrick(Vector3.new(0,0,0),grabbedCharacter:WaitForChild("Torso").CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(2,2,2),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1909
									magicBrick(Vector3.new(0,0,0),grabbedCharacter:WaitForChild("Torso").CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("White"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(2,2,2),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
1910
									swait(.1)
1911
								end
1912
							end))
1913
						end
1914
						didHit=true
1915
						wait(0.5)
1916
						dmgDebounce=false
1917
					end
1918
				end
1919
			end))
1920
			for i=0,0.9,0.1*speed do
1921
				poseJointC0(rm,rmC0,CFrame.Angles(math.rad(145),math.rad(0),math.rad(12)),speed)
1922
				poseJointC0(lm,lmC0,CFrame.Angles(math.rad(-35),math.rad(0),math.rad(-12)),speed)
1923
				poseJointC0(rlm,rlmC0,CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),speed)
1924
				poseJointC0(llm,llmC0,CFrame.Angles(math.rad(-23.5),math.rad(0),math.rad(-5)),speed)
1925
				poseJointC0(neck,nC0,CFrame.Angles(math.rad(0),math.rad(-85),math.rad(0)),speed)
1926
				poseJointC0(rj,rjC0,CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)),speed)
1927
				
1928
				poseJointC1(rm,rmC1,CFrame.new(0,0.4,0),speed)
1929
				poseJointC1(lm,lmC1,CFrame.new(0,0,0),speed)
1930
				poseJointC1(rlm,rlmC1,CFrame.new(0,-0.45,0.3),speed)
1931
				poseJointC1(llm,llmC1,CFrame.new(0,-0.45,0.3),speed)
1932
				poseJointC1(neck,nC1,CFrame.new(0,0,0),speed)
1933
				poseJointC1(rj,rjC1,CFrame.new(0,0.45,0),speed)
1934
				swait()
1935
			end
1936
			currentAnim=nil
1937
			grabbedCharacter=nil
1938
		end
1939
	end
1940
end
1941
1942
function spar1()
1943
	if not doingMove then
1944
		doingMove=true
1945
		anim("spar1")
1946
		doingMove=false
1947
	end
1948
end
1949
1950
function spar2()
1951
	if not doingMove then
1952
		doingMove=true
1953
		anim("spar2")
1954
		doingMove=false
1955
	end
1956
end
1957
1958
function grab()
1959
	if not doingMove then
1960
		doingMove=true
1961
		hum.WalkSpeed=0
1962
		anim("grab")
1963
		doingMove=false
1964
	end
1965
end
1966
1967
function release()
1968
	if not doingMove then
1969
		doingMove=true
1970
		anim("release")
1971
		doingMove=false
1972
	end
1973
end
1974
1975
function airAttack()
1976
	if not doingMove then
1977
		doingMove=true
1978
		anim("airAttack")
1979
		doingMove=false
1980
	end
1981
end
1982
1983
function soulTear()
1984
	if not doingMove then
1985
		doingMove=true
1986
		anim("soultear")
1987
		doingMove=false
1988
	end
1989
end
1990
1991
local currentSparAttack=1
1992
1993
1994
mouse.Button1Down:connect(function()
1995
	if grabbingMode then return end
1996
	if currentSparAttack==1 then
1997
		currentSparAttack=2
1998
		spar1()
1999
	elseif currentSparAttack==2 then
2000
		currentSparAttack=1
2001
		spar2()
2002
	end
2003
end)
2004
2005
mouse.KeyDown:connect(function(k)
2006
	if k=="f" then
2007
		if not grabbingMode then
2008
			grab()
2009
		elseif grabbingMode then
2010
			grabbingMode=false
2011
			release()
2012
			hideGrabOptions()
2013
		end
2014
	end
2015
	if k=="e" then
2016
		if grabbingMode then
2017
			grabbingMode=false
2018
			airAttack()
2019
			hideGrabOptions()
2020
		end
2021
	end
2022
	if k=="r" then
2023
		if grabbingMode then
2024
			grabbingMode=false
2025
			soulTear()
2026
			hideGrabOptions()
2027
		end
2028
	end
2029
end)
2030
2031
game:GetService("RunService").RenderStepped:connect(function()
2032
	if grabbingMode then
2033
		hum.WalkSpeed=defWS/1.1
2034
		hum.JumpPower=0
2035
	end
2036
	if not grabbingMode then
2037
		hum.WalkSpeed=defWS
2038
		hum.JumpPower=defJP
2039
	end
2040
	if attacking then
2041
		if RLattacking then
2042
			for i,v in pairs(workspace:GetChildren()) do
2043
				if isHumanoid(v) and v~=ch then
2044
					local vTorso=v:WaitForChild("Torso");
2045
					if (vTorso.Position-rl.Position).magnitude<=2.5 then
2046
						if not dmgDebounce then
2047
							dmgDebounce=true
2048
							sound(694048922,5,1,vTorso)
2049
							findHumanoid(v):TakeDamage(7.5+(7.5*soulPower/100))
2050
							print(7.5+(7.5*soulPower/100))
2051
							local bv=Instance.new("BodyVelocity",v:WaitForChild("Torso"))
2052
							bv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
2053
							bv.velocity=head.CFrame.lookVector*25+Vector3.new(0,10,0)
2054
							game.Debris:AddItem(bv,0.05)
2055
							wait(0.5)
2056
							dmgDebounce=false
2057
						end
2058
					end
2059
				end
2060
			end
2061
		end
2062
		if grabbing then
2063
			for i,v in pairs(workspace:GetChildren()) do
2064
				if isHumanoid(v) and v~=ch then
2065
					if v:findFirstChild("Torso")==nil then return end
2066
					if (v.Torso.Position-ra.Position).magnitude<=5 then
2067
						if not dmgDebounce then
2068
							dmgDebounce=true
2069
							sound(200632821,5,1,v.Torso)
2070
							findHumanoid(v):TakeDamage(2)
2071
							print(findHumanoid(v).Parent.Name)
2072
							grabbingMode=true	
2073
							grabbedCharacter=v.Torso.Parent
2074
							findHumanoid(grabbedCharacter).PlatformStand=false
2075
							findHumanoid(grabbedCharacter).WalkSpeed=0
2076
							findHumanoid(grabbedCharacter).JumpPower=0
2077
							for i,v in pairs(grabbedCharacter:GetChildren()) do 
2078
								if v:IsA("Part") then
2079
									v.CanCollide=false
2080
								end
2081
								if v.ClassName=="Hat" then
2082
									for i,v in pairs(v:GetChildren()) do
2083
										if v:IsA("BasePart") then
2084
											v.CanCollide=false
2085
										end
2086
									end
2087
								end
2088
							end
2089
							grabWeld=Instance.new("Weld",grabPart)
2090
							grabWeld.Part0=v.Torso
2091
							grabWeld.Part1=grabPart
2092
							grabWeld.C0=CFrame.Angles(math.rad(-90),0,0)
2093
							
2094
							displayGrabOptions()
2095
							
2096
							wait(0.5)
2097
							dmgDebounce=false
2098
						end
2099
					end
2100
				end
2101
			end
2102
		end
2103
	end
2104
	if hum.Jump and not grabbingMode then
2105
		anim("jump")
2106
		swait(1/4)
2107
		hum.Jump=false
2108
	end
2109
	if Vector3.new(0,tor.Velocity.y,0).magnitude>=10 and currentAnim~="jump" and currentAnim~="land" and hum:GetState()==Enum.HumanoidStateType.Freefall and not hum.Jump then
2110
		anim("descend")
2111
	end
2112
	if Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude<5 and currentAnim~="land" and currentAnim~="jump" and currentAnim~="descend" and hum:GetState()~=Enum.HumanoidStateType.Jumping and hum:GetState()~=Enum.HumanoidStateType.Freefall then
2113
		anim("idle")
2114
	elseif Vector3.new(tor.Velocity.x,0,tor.Velocity.z).magnitude>=5 and currentAnim~="land" and currentAnim~="jump" and currentAnim~="descend" and hum:GetState()~=Enum.HumanoidStateType.Jumping and hum:GetState()~=Enum.HumanoidStateType.Freefall then
2115
		anim("walk")
2116
	end
2117
	if grabbingMode then
2118
		grabbedCharacter.Humanoid.PlatformStand=false
2119
		anim("grabPose")
2120
	end
2121
	if souls<=0 then souls=0 end
2122
	souls=souls-1/1000
2123
	grabPart.CFrame=ra:GetRenderCFrame()*CFrame.new(0,-1.25,-0.6)*CFrame.Angles(math.rad(-90),0,0)
2124
	soulPower=souls*5
2125
	soulText.Text="+"..math.floor(soulPower).."%"
2126
	if soulText.Text=="+-1%" then soulText.Text="+0%" end
2127
end)