SHOW:
|
|
- or go back to the newest paste.
1 | - | local p = game:GetService("Players").LocalPlayer |
1 | + | --https://github.com/Mokiros/roblox-FE-compatibility |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end local p = game:GetService("Players").LocalPlayer | |
6 | local char = p.Character | |
7 | local mouse = p:GetMouse() | |
8 | local larm = char["Left Arm"] | |
9 | local rarm = char["Right Arm"] | |
10 | local lleg = char["Left Leg"] | |
11 | local rleg = char["Right Leg"] | |
12 | local hed = char.Head | |
13 | local torso = char.Torso | |
14 | local hum = char.Humanoid | |
15 | local cam = game.Workspace.CurrentCamera | |
16 | local root = char.HumanoidRootPart | |
17 | local deb = false | |
18 | local shot = 0 | |
19 | local stanceToggle = "Normal" | |
20 | local l = game:GetService("Lighting") | |
21 | local rs = game:GetService("RunService").RenderStepped | |
22 | hum.DisplayDistanceType = "None" | |
23 | math.randomseed(os.time()) | |
24 | for i,v in pairs(char:children()) do | |
25 | if v:IsA("Hat") then | |
26 | v:Destroy() | |
27 | end | |
28 | end | |
29 | for i,v in pairs (hed:GetChildren()) do | |
30 | if v:IsA("Sound") then | |
31 | v:Destroy() | |
32 | end | |
33 | end | |
34 | ---------------------------------------------------- | |
35 | Debounces = { | |
36 | CanAttack = true; | |
37 | CanJoke = true; | |
38 | NoIdl = false; | |
39 | Slashing = false; | |
40 | Slashed = false; | |
41 | Slapping = false; | |
42 | Slapped = false; | |
43 | ks = false; | |
44 | } | |
45 | ---------------------------------------------------- | |
46 | function weld5(part0, part1, c0, c1) | |
47 | weeld=Instance.new("Weld", part0) | |
48 | weeld.Part0=part0 | |
49 | weeld.Part1=part1 | |
50 | weeld.C0=c0 | |
51 | weeld.C1=c1 | |
52 | return weeld | |
53 | end | |
54 | ---------------------------------------------------- | |
55 | mod4 = Instance.new("Model",char) | |
56 | ||
57 | ptez = {0.7, 0.8, 0.9, 1} | |
58 | ||
59 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
60 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
61 | local List = {} | |
62 | for i,v in pairs(workspace:GetChildren())do | |
63 | if v:IsA("Model")then | |
64 | if v:findFirstChild("Torso")then | |
65 | if v ~= char then | |
66 | if(v.Torso.Position -Position).magnitude <= Distance then | |
67 | table.insert(List,v) | |
68 | end | |
69 | end | |
70 | end | |
71 | end | |
72 | end | |
73 | return List | |
74 | end | |
75 | ---------------------------------------------------- | |
76 | GroundWave3 = function() | |
77 | local HandCF = CFrame.new(root.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0) | |
78 | local wave1 = Instance.new("Part", torso) | |
79 | wave1.BrickColor = BrickColor.new("Really black") | |
80 | wave1.Anchored = true | |
81 | wave1.CanCollide = false | |
82 | wave1.Locked = true | |
83 | wave1.Material = "Neon" | |
84 | wave1.Size = Vector3.new(1, 1, 1) | |
85 | wave1.TopSurface = "Smooth" | |
86 | wave1.BottomSurface = "Smooth" | |
87 | wave1.Transparency = 0.35 | |
88 | wave1.CFrame = HandCF | |
89 | wm = Instance.new("SpecialMesh", wave1) | |
90 | wm.Scale = Vector3.new(.1,.1,.1) | |
91 | wm.MeshType = "Sphere" | |
92 | coroutine.wrap(function() | |
93 | for i = 1, 20, 1 do | |
94 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
95 | --wave1.Size = wm.Scale | |
96 | wave1.CFrame = HandCF | |
97 | wave1.Transparency = i/20 | |
98 | wait() | |
99 | end | |
100 | wait() | |
101 | wave1:Destroy() | |
102 | end)() | |
103 | end | |
104 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
105 | local wave = Instance.new("Part", torso) | |
106 | wave.BrickColor = BrickColor.new("New Yeller") | |
107 | wave.Anchored = true | |
108 | wave.CanCollide = false | |
109 | wave.Locked = true | |
110 | wave.Size = Vector3.new(1, 1, 1) | |
111 | wave.TopSurface = "Smooth" | |
112 | wave.BottomSurface = "Smooth" | |
113 | wave.Transparency = 0.8 | |
114 | wave.CFrame = HandCF | |
115 | wm = Instance.new("SpecialMesh", wave) | |
116 | wm.MeshId = "rbxassetid://3270017" | |
117 | coroutine.wrap(function() | |
118 | for i = 1, 14, 1 do | |
119 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
120 | wave.Size = wm.Scale | |
121 | wave.CFrame = HandCF | |
122 | wave.Transparency = i/14 | |
123 | wait() | |
124 | end | |
125 | wait() | |
126 | wave:Destroy() | |
127 | end)() | |
128 | ---------------------------------------------------- | |
129 | function lerp(a, b, t) -- Linear interpolation | |
130 | return a + (b - a)*t | |
131 | end | |
132 | ||
133 | function slerp(a, b, t) --Spherical interpolation | |
134 | dot = a:Dot(b) | |
135 | if dot > 0.99999 or dot < -0.99999 then | |
136 | return t <= 0.5 and a or b | |
137 | else | |
138 | r = math.acos(dot) | |
139 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
140 | end | |
141 | end | |
142 | ||
143 | function matrixInterpolate(a, b, t) | |
144 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
145 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
146 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
147 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
148 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
149 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
150 | local t = v1:Dot(v2) | |
151 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
152 | return CFrame.new() | |
153 | end | |
154 | return CFrame.new( | |
155 | v0.x, v0.y, v0.z, | |
156 | v1.x, v1.y, v1.z, | |
157 | v2.x, v2.y, v2.z, | |
158 | v3.x, v3.y, v3.z) | |
159 | end | |
160 | ---------------------------------------------------- | |
161 | function genWeld(a,b) | |
162 | local w = Instance.new("Weld",a) | |
163 | w.Part0 = a | |
164 | w.Part1 = b | |
165 | return w | |
166 | end | |
167 | function weld(a, b) | |
168 | local weld = Instance.new("Weld") | |
169 | weld.Name = "W" | |
170 | weld.Part0 = a | |
171 | weld.Part1 = b | |
172 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
173 | weld.Parent = a | |
174 | return weld; | |
175 | end | |
176 | ---------------------------------------------------- | |
177 | function Lerp(c1,c2,al) | |
178 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
179 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
180 | for i,v in pairs(com1) do | |
181 | com1[i] = v+(com2[i]-v)*al | |
182 | end | |
183 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
184 | end | |
185 | ---------------------------------------------------- | |
186 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
187 | local wld = Instance.new("Weld", wp1) | |
188 | wld.Part0 = wp0 | |
189 | wld.Part1 = wp1 | |
190 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
191 | end | |
192 | ---------------------------------------------------- | |
193 | local AddInstance = function(Object, ...) | |
194 | local Obj = Instance.new(Object) | |
195 | for i,v in next,(...) do | |
196 | Obj[i] = v | |
197 | end | |
198 | return Obj | |
199 | end | |
200 | ---------------------------------------------------- | |
201 | larm.Size = larm.Size * 4.5 | |
202 | rarm.Size = rarm.Size * 4.5 | |
203 | lleg.Size = lleg.Size * 4.5 | |
204 | rleg.Size = rleg.Size * 4.5 | |
205 | torso.Size = torso.Size * 4.5 | |
206 | hed.Size = hed.Size * 4.5 | |
207 | root.Size = root.Size * 4.5 | |
208 | ---------------------------------------------------- | |
209 | newWeld(torso, larm, -1.5, 0.5, 0) | |
210 | larm.Weld.C1 = CFrame.new(5.2,0.5,0) | |
211 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
212 | rarm.Weld.C1 = CFrame.new(-5.2, 0.5, 0) | |
213 | newWeld(torso, hed, 0, 6.8, 0) | |
214 | newWeld(torso, lleg, -0.5, -1, 0) | |
215 | lleg.Weld.C1 = CFrame.new(1.7, 8, 0) | |
216 | newWeld(torso, rleg, 0.5, -1, 0) | |
217 | rleg.Weld.C1 = CFrame.new(-1.7, 8, 0) | |
218 | newWeld(root, torso, 0, 0, 0) | |
219 | torso.Weld.C1 = CFrame.new(0, 0, 0) | |
220 | ---------------------------------------------------- | |
221 | --local SIDz = {"167985102"}, 167161785, 148274436 | |
222 | z = Instance.new("Sound",char) | |
223 | z.SoundId = "rbxassetid://238510574"--..SIDz[math.random(1,#SIDz)] | |
224 | z.Looped = true | |
225 | z.Volume = math.huge | |
226 | z.Pitch = .72 | |
227 | wait(1) | |
228 | z:Play() | |
229 | hum.WalkSpeed = 16 | |
230 | ---------------------------------------------------- | |
231 | local Eye1 = AddInstance("Part",{ | |
232 | Name = "Eye1", | |
233 | Parent = hed, | |
234 | CFrame = hed.CFrame, | |
235 | Color = Color3.new(255,0,0), | |
236 | Material = "Neon", | |
237 | formFactor = "Symmetric", | |
238 | Size = Vector3.new(1, 1, 1), | |
239 | CanCollide = false, | |
240 | Shape = "Ball", | |
241 | TopSurface = "Smooth", | |
242 | BottomSurface = "Smooth", | |
243 | Locked = true, | |
244 | }) | |
245 | local Weld = AddInstance("Weld",{ | |
246 | Parent = Eye1, | |
247 | Part0 = hed, | |
248 | C0 = CFrame.new(-0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0), | |
249 | Part1 = Eye1, | |
250 | }) | |
251 | local Eye2 = AddInstance("Part",{ | |
252 | Name = "Eye2", | |
253 | Parent = hed, | |
254 | CFrame = hed.CFrame, | |
255 | Color = Color3.new(255,0,0), | |
256 | Material = "Neon", | |
257 | formFactor = "Symmetric", | |
258 | Size = Vector3.new(1, 1, 1), | |
259 | CanCollide = false, | |
260 | Shape = "Ball", | |
261 | TopSurface = "Smooth", | |
262 | BottomSurface = "Smooth", | |
263 | Locked = true, | |
264 | }) | |
265 | local Weld = AddInstance("Weld",{ | |
266 | Parent = Eye2, | |
267 | Part0 = hed, | |
268 | C0 = CFrame.new(0.7, 0.6, -3.8)*CFrame.Angles(0, 0, 0), | |
269 | Part1 = Eye2, | |
270 | }) | |
271 | local Reaper = AddInstance("Part",{ | |
272 | Parent = hed, | |
273 | CFrame = hed.CFrame, | |
274 | formFactor = "Symmetric", | |
275 | Size = Vector3.new(1, 1, 1), | |
276 | CanCollide = false, | |
277 | TopSurface = "Smooth", | |
278 | BottomSurface = "Smooth", | |
279 | Locked = true, | |
280 | }) | |
281 | local Weld = AddInstance("Weld",{ | |
282 | Parent = Reaper, | |
283 | Part0 = hed, | |
284 | C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, 0, 0), | |
285 | Part1 = Reaper, | |
286 | }) | |
287 | local Mesh = AddInstance("SpecialMesh",{ | |
288 | Parent = Reaper, | |
289 | MeshId = "rbxassetid://16150814", | |
290 | TextureId = "rbxassetid://16150799", | |
291 | Scale = Vector3.new(5.181, 5.181, 5.181), | |
292 | VertexColor = Vector3.new(0.3, 0.3, 0.3), | |
293 | }) | |
294 | ---------------------------------------------------- | |
295 | local o1 = AddInstance("Model",{ | |
296 | Name = "Genkadda", | |
297 | Parent = char, | |
298 | }) | |
299 | local o2 = AddInstance("Part",{ | |
300 | Name = "Handle", | |
301 | Parent = o1, | |
302 | Material = Enum.Material.Granite, | |
303 | BrickColor = BrickColor.new("Black"), | |
304 | CanCollide = false, | |
305 | Size = Vector3.new(0.54285717, 4.96428585, 1.02857149), | |
306 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
307 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
308 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
309 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
310 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
311 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
312 | Color = Color3.new(0.105882, 0.164706, 0.207843), | |
313 | Locked = true, | |
314 | }) | |
315 | local o3 = AddInstance("Part",{ | |
316 | Parent = o1, | |
317 | Material = Enum.Material.Granite, | |
318 | BrickColor = BrickColor.new("Really black"), | |
319 | CanCollide = false, | |
320 | Size = Vector3.new(0.521428645, 0.200000003, 4.92857265), | |
321 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
322 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
323 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
324 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
325 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
326 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
327 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
328 | Locked = true, | |
329 | }) | |
330 | local Weld = AddInstance("Weld",{ | |
331 | Parent = o3, | |
332 | Part0 = o2, | |
333 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
334 | Part1 = o3, | |
335 | C1 = CFrame.new(7.12578583, -2.70594311, -56.9015656, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
336 | }) | |
337 | local o6 = AddInstance("Part",{ | |
338 | Name = "8", | |
339 | Parent = o1, | |
340 | Material = Enum.Material.Neon, | |
341 | BrickColor = BrickColor.new("New Yeller"), | |
342 | CanCollide = false, | |
343 | Size = Vector3.new(0.864285767, 0.221428677, 5.65714407), | |
344 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
345 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
346 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
347 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
348 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
349 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
350 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
351 | Locked = true, | |
352 | }) | |
353 | local Weld = AddInstance("Weld",{ | |
354 | Parent = o6, | |
355 | Part0 = o2, | |
356 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
357 | Part1 = o6, | |
358 | C1 = CFrame.new(7.12578583, -2.68451595, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
359 | }) | |
360 | local o8 = AddInstance("Part",{ | |
361 | Name = "20", | |
362 | Parent = o1, | |
363 | Material = Enum.Material.Neon, | |
364 | BrickColor = BrickColor.new("New Yeller"), | |
365 | CanCollide = false, | |
366 | Size = Vector3.new(0.54285717, 0.657142878, 1.02857149), | |
367 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
368 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
369 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
370 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
371 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
372 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
373 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
374 | Locked = true, | |
375 | }) | |
376 | local Weld = AddInstance("Weld",{ | |
377 | Parent = o8, | |
378 | Part0 = o2, | |
379 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
380 | Part1 = o8, | |
381 | C1 = CFrame.new(7.12578964, 2.69762135, -56.9015579, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
382 | }) | |
383 | local o10 = AddInstance("Part",{ | |
384 | Name = "15", | |
385 | Parent = o1, | |
386 | Material = Enum.Material.Neon, | |
387 | BrickColor = BrickColor.new("New Yeller"), | |
388 | CanCollide = false, | |
389 | Size = Vector3.new(0.54285717, 0.657142937, 2.02857161), | |
390 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
391 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
392 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
393 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
394 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
395 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
396 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
397 | Locked = true, | |
398 | }) | |
399 | local Weld = AddInstance("Weld",{ | |
400 | Parent = o10, | |
401 | Part0 = o2, | |
402 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
403 | Part1 = o10, | |
404 | C1 = CFrame.new(7.12578773, 2.69762325, -55.3730087, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
405 | }) | |
406 | local o11 = AddInstance("SpecialMesh",{ | |
407 | Parent = o10, | |
408 | MeshType = Enum.MeshType.Wedge, | |
409 | }) | |
410 | o12 = AddInstance("Part",{ | |
411 | Name = "10", | |
412 | Parent = o1, | |
413 | Material = Enum.Material.Neon, | |
414 | BrickColor = BrickColor.new("New Yeller"), | |
415 | CanCollide = false, | |
416 | Size = Vector3.new(0.54285717, 0.657142878, 2.02857161), | |
417 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
418 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
419 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
420 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
421 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
422 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
423 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
424 | Locked = true, | |
425 | }) | |
426 | local Weld = AddInstance("Weld",{ | |
427 | Parent = o12, | |
428 | Part0 = o2, | |
429 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
430 | Part1 = o12, | |
431 | C1 = CFrame.new(-7.12579155, 2.69761753, 58.4300995, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494), | |
432 | }) | |
433 | local o13 = AddInstance("SpecialMesh",{ | |
434 | Parent = o12, | |
435 | MeshType = Enum.MeshType.Wedge, | |
436 | }) | |
437 | local o14 = AddInstance("Part",{ | |
438 | Name = "9", | |
439 | Parent = o1, | |
440 | Material = Enum.Material.Neon, | |
441 | BrickColor = BrickColor.new("New Yeller"), | |
442 | CanCollide = false, | |
443 | Size = Vector3.new(0.54285717, 1.11428583, 0.371428579), | |
444 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
445 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
446 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
447 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
448 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
449 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
450 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
451 | Locked = true, | |
452 | }) | |
453 | local Weld = AddInstance("Weld",{ | |
454 | Parent = o14, | |
455 | Part0 = o2, | |
456 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
457 | Part1 = o14, | |
458 | C1 = CFrame.new(7.12578201, 2.12619781, -56.2015648, -0.999990702, 0.00427558692, -0.000560841348, 0.00055476022, -0.00142335275, -0.999998868, -0.00427637994, -0.999989867, 0.00142096763), | |
459 | }) | |
460 | local o15 = AddInstance("SpecialMesh",{ | |
461 | Parent = o14, | |
462 | MeshType = Enum.MeshType.Wedge, | |
463 | }) | |
464 | o16 = AddInstance("Part",{ | |
465 | Name = "6", | |
466 | Parent = o1, | |
467 | Material = Enum.Material.Neon, | |
468 | BrickColor = BrickColor.new("New Yeller"), | |
469 | CanCollide = false, | |
470 | Size = Vector3.new(0.54285717, 1.11428583, 0.371428579), | |
471 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
472 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
473 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
474 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
475 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
476 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
477 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
478 | Locked = true, | |
479 | }) | |
480 | local Weld = AddInstance("Weld",{ | |
481 | Parent = o16, | |
482 | Part0 = o2, | |
483 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
484 | Part1 = o16, | |
485 | C1 = CFrame.new(-7.12579536, 2.12619114, 57.6015701, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237), | |
486 | }) | |
487 | local o17 = AddInstance("SpecialMesh",{ | |
488 | Parent = o16, | |
489 | MeshType = Enum.MeshType.Wedge, | |
490 | }) | |
491 | o18 = AddInstance("Part",{ | |
492 | Name = "21", | |
493 | Parent = o1, | |
494 | Material = Enum.Material.Neon, | |
495 | BrickColor = BrickColor.new("New Yeller"), | |
496 | CanCollide = false, | |
497 | Size = Vector3.new(0.564285755, 0.257142901, 0.514285743), | |
498 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
499 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
500 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
501 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
502 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
503 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
504 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
505 | Locked = true, | |
506 | }) | |
507 | local Weld = AddInstance("Weld",{ | |
508 | Parent = o18, | |
509 | Part0 = o2, | |
510 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
511 | Part1 = o18, | |
512 | C1 = CFrame.new(-7.12578964, 2.24047565, 57.1586876, 0.999990702, -0.00427576201, 0.000560841581, 0.000554759463, -0.0014235276, -0.999998868, 0.0042765555, 0.999989867, -0.00142114237), | |
513 | }) | |
514 | local o19 = AddInstance("SpecialMesh",{ | |
515 | Parent = o18, | |
516 | MeshType = Enum.MeshType.Wedge, | |
517 | }) | |
518 | o20 = AddInstance("Part",{ | |
519 | Name = "13", | |
520 | Parent = o1, | |
521 | Material = Enum.Material.Neon, | |
522 | BrickColor = BrickColor.new("New Yeller"), | |
523 | CanCollide = false, | |
524 | Size = Vector3.new(0.564285755, 0.257142901, 0.514285743), | |
525 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
526 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
527 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
528 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
529 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
530 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
531 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
532 | Locked = true, | |
533 | }) | |
534 | local Weld = AddInstance("Weld",{ | |
535 | Parent = o20, | |
536 | Part0 = o2, | |
537 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
538 | Part1 = o20, | |
539 | C1 = CFrame.new(7.1258049, 2.24045849, -56.6443939, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849), | |
540 | }) | |
541 | local o21 = AddInstance("SpecialMesh",{ | |
542 | Parent = o20, | |
543 | MeshType = Enum.MeshType.Wedge, | |
544 | }) | |
545 | o22 = AddInstance("Part",{ | |
546 | Name = "16", | |
547 | Parent = o1, | |
548 | Material = Enum.Material.Neon, | |
549 | BrickColor = BrickColor.new("New Yeller"), | |
550 | CanCollide = false, | |
551 | Size = Vector3.new(0.564285755, 1.73571444, 0.200000003), | |
552 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
553 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
554 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
555 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
556 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
557 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
558 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
559 | Locked = true, | |
560 | }) | |
561 | local Weld = AddInstance("Weld",{ | |
562 | Parent = o22, | |
563 | Part0 = o2, | |
564 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
565 | Part1 = o22, | |
566 | C1 = CFrame.new(7.1258049, 1.38688946, -56.830143, -0.999990702, 0.00427594269, -0.000560964399, 0.000554880884, -0.00142379443, -0.999998868, -0.00427673617, -0.999989867, 0.00142140849), | |
567 | }) | |
568 | local o23 = AddInstance("SpecialMesh",{ | |
569 | Parent = o22, | |
570 | Scale = Vector3.new(1, 1, 0.714285672), | |
571 | MeshType = Enum.MeshType.Wedge, | |
572 | }) | |
573 | o24 = AddInstance("Part",{ | |
574 | Name = "14", | |
575 | Parent = o1, | |
576 | Material = Enum.Material.Neon, | |
577 | BrickColor = BrickColor.new("New Yeller"), | |
578 | CanCollide = false, | |
579 | Size = Vector3.new(0.564285755, 1.73571444, 0.200000003), | |
580 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
581 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
582 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
583 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
584 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
585 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
586 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
587 | Locked = true, | |
588 | }) | |
589 | local Weld = AddInstance("Weld",{ | |
590 | Parent = o24, | |
591 | Part0 = o2, | |
592 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
593 | Part1 = o24, | |
594 | C1 = CFrame.new(-7.12580872, 1.38689709, 56.9729919, 0.999990702, -0.0042760619, 0.000560866669, 0.000554783503, -0.00142366707, -0.999998868, 0.00427685538, 0.999989867, -0.00142128149), | |
595 | }) | |
596 | local o25 = AddInstance("SpecialMesh",{ | |
597 | Parent = o24, | |
598 | Scale = Vector3.new(1, 1, 0.714285672), | |
599 | MeshType = Enum.MeshType.Wedge, | |
600 | }) | |
601 | o26 = AddInstance("Part",{ | |
602 | Name = "4", | |
603 | Parent = o1, | |
604 | Material = Enum.Material.Neon, | |
605 | BrickColor = BrickColor.new("New Yeller"), | |
606 | CanCollide = false, | |
607 | Size = Vector3.new(0.54285717, 0.657142878, 1.02857149), | |
608 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
609 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
610 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
611 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
612 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
613 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
614 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
615 | Locked = true, | |
616 | }) | |
617 | local Weld = AddInstance("Weld",{ | |
618 | Parent = o26, | |
619 | Part0 = o2, | |
620 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
621 | Part1 = o26, | |
622 | C1 = CFrame.new(-7.12579346, 2.69762135, 57.9301262, 0.999990702, -0.00427576201, 0.000560929009, 0.00055484724, -0.00142344052, -0.999998868, 0.0042765555, 0.999989867, -0.00142105494), | |
623 | }) | |
624 | local o27 = AddInstance("SpecialMesh",{ | |
625 | Parent = o26, | |
626 | MeshType = Enum.MeshType.Wedge, | |
627 | }) | |
628 | o28 = AddInstance("Part",{ | |
629 | Name = "11", | |
630 | Parent = o1, | |
631 | Material = Enum.Material.Neon, | |
632 | BrickColor = BrickColor.new("New Yeller"), | |
633 | CanCollide = false, | |
634 | Size = Vector3.new(0.864285767, 0.657142937, 1.02857149), | |
635 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
636 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
637 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
638 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
639 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
640 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
641 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
642 | Locked = true, | |
643 | }) | |
644 | local Weld = AddInstance("Weld",{ | |
645 | Parent = o28, | |
646 | Part0 = o2, | |
647 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
648 | Part1 = o28, | |
649 | C1 = CFrame.new(7.12579346, 59.387291, -2.07380676, -0.999990702, 0.00427573128, -0.000560924469, 0.00427652476, 0.999989867, -0.00142105541, 0.000554842758, -0.00142344099, -0.999998868), | |
650 | }) | |
651 | local o29 = AddInstance("SpecialMesh",{ | |
652 | Parent = o28, | |
653 | MeshType = Enum.MeshType.Wedge, | |
654 | }) | |
655 | o30 = AddInstance("Part",{ | |
656 | Name = "17", | |
657 | Parent = o1, | |
658 | Material = Enum.Material.Granite, | |
659 | BrickColor = BrickColor.new("Really black"), | |
660 | CanCollide = false, | |
661 | Size = Vector3.new(0.542999983, 20, 3.02900004), | |
662 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
663 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
664 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
665 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
666 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
667 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
668 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
669 | Locked = true, | |
670 | }) | |
671 | local Weld = AddInstance("Weld",{ | |
672 | Parent = o30, | |
673 | Part0 = o2, | |
674 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
675 | Part1 = o30, | |
676 | C1 = CFrame.new(7.1257782, -12.6132841, -56.901535, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
677 | }) | |
678 | local o32 = AddInstance("Part",{ | |
679 | Name = "3", | |
680 | Parent = o1, | |
681 | Material = Enum.Material.Neon, | |
682 | BrickColor = BrickColor.new("New Yeller"), | |
683 | CanCollide = false, | |
684 | Size = Vector3.new(0.864285767, 0.657142937, 1.02857149), | |
685 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
686 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
687 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
688 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
689 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
690 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
691 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
692 | Locked = true, | |
693 | }) | |
694 | local Weld = AddInstance("Weld",{ | |
695 | Parent = o32, | |
696 | Part0 = o2, | |
697 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
698 | Part1 = o32, | |
699 | C1 = CFrame.new(-7.12579155, -54.4158592, -2.07380486, 0.999990702, -0.00427573407, 0.000560930872, -0.00427652756, -0.999989867, 0.00142105471, 0.000554849161, -0.00142344029, -0.999998868), | |
700 | }) | |
701 | local o33 = AddInstance("SpecialMesh",{ | |
702 | Parent = o32, | |
703 | MeshType = Enum.MeshType.Wedge, | |
704 | }) | |
705 | o34 = AddInstance("Part",{ | |
706 | Name = "18", | |
707 | Parent = o1, | |
708 | Material = Enum.Material.Neon, | |
709 | BrickColor = BrickColor.new("New Yeller"), | |
710 | CanCollide = false, | |
711 | Size = Vector3.new(0.400000006, 6.11428595, 5.03142834), | |
712 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
713 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
714 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
715 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
716 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
717 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
718 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
719 | Locked = true, | |
720 | }) | |
721 | local Weld = AddInstance("Weld",{ | |
722 | Parent = o34, | |
723 | Part0 = o2, | |
724 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
725 | Part1 = o34, | |
726 | C1 = CFrame.new(-7.12446594, -25.670372, 56.9022903, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121), | |
727 | }) | |
728 | local o35 = AddInstance("SpecialMesh",{ | |
729 | Parent = o34, | |
730 | MeshType = Enum.MeshType.Wedge, | |
731 | }) | |
732 | o36 = AddInstance("Part",{ | |
733 | Name = "7", | |
734 | Parent = o1, | |
735 | Material = Enum.Material.Granite, | |
736 | BrickColor = BrickColor.new("Really black"), | |
737 | CanCollide = false, | |
738 | Size = Vector3.new(0.542999983, 4.11428595, 3.03142834), | |
739 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
740 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
741 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
742 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
743 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
744 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
745 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
746 | Locked = true, | |
747 | }) | |
748 | local Weld = AddInstance("Weld",{ | |
749 | Parent = o36, | |
750 | Part0 = o2, | |
751 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
752 | Part1 = o36, | |
753 | C1 = CFrame.new(-7.12448502, -24.6703815, 56.9065475, 0.999990761, -0.00427558692, 0.000561015506, 0.000554933562, -0.00142352702, -0.999998868, 0.00427638087, 0.999989927, -0.00142114121), | |
754 | }) | |
755 | local o37 = AddInstance("SpecialMesh",{ | |
756 | Parent = o36, | |
757 | MeshType = Enum.MeshType.Wedge, | |
758 | }) | |
759 | local o38 = AddInstance("Part",{ | |
760 | Name = "19", | |
761 | Parent = o1, | |
762 | Material = Enum.Material.Neon, | |
763 | BrickColor = BrickColor.new("New Yeller"), | |
764 | CanCollide = false, | |
765 | Size = Vector3.new(4.54285717, 5.01428556, 1.02857161), | |
766 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
767 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
768 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
769 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
770 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
771 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
772 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
773 | Locked = true, | |
774 | }) | |
775 | local Weld = AddInstance("Weld",{ | |
776 | Parent = o38, | |
777 | Part0 = o2, | |
778 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
779 | Part1 = o38, | |
780 | C1 = CFrame.new(2.95587444, -56.843811, -7.12423134, -0.000554800034, 0.00142350839, 0.999998927, -0.00427680276, -0.999989867, 0.0014211227, 0.999990702, -0.00427600928, 0.000560882385), | |
781 | }) | |
782 | local o39 = AddInstance("SpecialMesh",{ | |
783 | Parent = o38, | |
784 | MeshId = "http://www.roblox.com/asset?id=156292343", | |
785 | Scale = Vector3.new(7, 7, 15), | |
786 | MeshType = Enum.MeshType.FileMesh, | |
787 | }) | |
788 | local o40 = AddInstance("Part",{ | |
789 | Name = "12", | |
790 | Parent = o1, | |
791 | Material = Enum.Material.Neon, | |
792 | BrickColor = BrickColor.new("New Yeller"), | |
793 | CanCollide = false, | |
794 | Size = Vector3.new(4.54285717, 5.01428556, 1.02857161), | |
795 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
796 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
797 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
798 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
799 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
800 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
801 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
802 | Locked = true, | |
803 | }) | |
804 | local Weld = AddInstance("Weld",{ | |
805 | Parent = o40, | |
806 | Part0 = o2, | |
807 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
808 | Part1 = o40, | |
809 | C1 = CFrame.new(-12.5559368, 56.88451, -7.11906242, 0.000555172679, -0.00142338919, -0.999998868, 0.00427656481, 0.999989867, -0.00142100221, 0.999990702, -0.00427577086, 0.000561254215), | |
810 | }) | |
811 | local o41 = AddInstance("SpecialMesh",{ | |
812 | Parent = o40, | |
813 | MeshId = "rbxassetid://430139732", | |
814 | Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001), | |
815 | MeshType = Enum.MeshType.FileMesh, | |
816 | }) | |
817 | local o42 = AddInstance("Part",{ | |
818 | Name = "2", | |
819 | Parent = o1, | |
820 | Material = Enum.Material.Neon, | |
821 | BrickColor = BrickColor.new("New Yeller"), | |
822 | CanCollide = false, | |
823 | Size = Vector3.new(0.400000006, 20, 5.02900028), | |
824 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
825 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
826 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
827 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
828 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
829 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
830 | Color = Color3.new(0.972549, 0.972549, 0.972549), | |
831 | Locked = true, | |
832 | }) | |
833 | local Weld = AddInstance("Weld",{ | |
834 | Parent = o42, | |
835 | Part0 = o2, | |
836 | C0 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
837 | Part1 = o42, | |
838 | C1 = CFrame.new(7.1257782, -12.6132774, -56.9015694, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
839 | }) | |
840 | ---------------------------------------------------- | |
841 | local cor = AddInstance("Part",{ | |
842 | Parent = char.Genkadda, | |
843 | Name = "Thingy", | |
844 | Locked = true, | |
845 | BottomSurface = 0, | |
846 | CanCollide = false, | |
847 | Size = Vector3.new(5.5, 5.5, 5.5), | |
848 | Transparency = 1, | |
849 | TopSurface = 0, | |
850 | }) | |
851 | local corw = AddInstance("Weld",{ | |
852 | Parent = cor, | |
853 | Part0 = rarm, | |
854 | Part1 = cor, | |
855 | C0 = CFrame.new(0, -3, 0) * CFrame.Angles(0,0,0), | |
856 | C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), | |
857 | }) | |
858 | local weld1 = AddInstance("Weld",{ | |
859 | Parent = char.Genkadda, | |
860 | Part0 = cor, | |
861 | Part1 = o2, | |
862 | C0 = CFrame.new(-7, 57, 0), | |
863 | C1 = CFrame.new(7.12578773, -0.113092422, -56.9015541, -0.999990702, 0.00427567447, -0.000560928893, 0.00055484724, -0.00142344052, -0.999998868, -0.00427646795, -0.999989867, 0.00142105494), | |
864 | }) | |
865 | ---------------------------------------------------- | |
866 | function Vanish() | |
867 | for i = 1, 10 do wait() | |
868 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
869 | if v:IsA("Part") or v:IsA("WedgePart") then | |
870 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
871 | v.Transparency = v.Transparency + 0.1 | |
872 | ||
873 | end | |
874 | end | |
875 | end | |
876 | end | |
877 | end | |
878 | ---------------------------------------------------- | |
879 | function Appear() | |
880 | for i = 1, 10 do wait() | |
881 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
882 | if v:IsA("Part") or v:IsA("WedgePart") then | |
883 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
884 | v.Transparency = v.Transparency - 0.1 | |
885 | end | |
886 | end | |
887 | end | |
888 | end | |
889 | end | |
890 | ---------------------------------------------------- | |
891 | local player = game:GetService("Players").LocalPlayer | |
892 | local pchar = player.Character | |
893 | local mouse = player:GetMouse() | |
894 | local cam = workspace.CurrentCamera | |
895 | ||
896 | local keysDown = {} | |
897 | local flySpeed = 0 | |
898 | local MAX_FLY_SPEED = 80 | |
899 | ||
900 | local canFly = false | |
901 | local flyToggled = false | |
902 | ||
903 | local forward, side = 0, 0 | |
904 | local lastForward, lastSide = 0, 0 | |
905 | ||
906 | local floatBP = Instance.new("BodyPosition") | |
907 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
908 | local flyBV = Instance.new("BodyVelocity") | |
909 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
910 | local turnBG = Instance.new("BodyGyro") | |
911 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
912 | ||
913 | mouse.KeyDown:connect(function(key) | |
914 | keysDown[key] = true | |
915 | ||
916 | if key == "f" then | |
917 | flyToggled = not flyToggled | |
918 | ||
919 | if not flyToggled then | |
920 | stanceToggle = "Normal" | |
921 | floatBP.Parent = nil | |
922 | flyBV.Parent = nil | |
923 | turnBG.Parent = nil | |
924 | root.Velocity = Vector3.new() | |
925 | pchar.Humanoid.PlatformStand = false | |
926 | end | |
927 | end | |
928 | ||
929 | end) | |
930 | mouse.KeyUp:connect(function(key) | |
931 | keysDown[key] = nil | |
932 | end) | |
933 | ||
934 | local function updateFly() | |
935 | ||
936 | if not flyToggled then return end | |
937 | ||
938 | lastForward = forward | |
939 | lastSide = side | |
940 | ||
941 | forward = 0 | |
942 | side = 0 | |
943 | ||
944 | if keysDown.w then | |
945 | forward = forward + 1 | |
946 | end | |
947 | if keysDown.s then | |
948 | forward = forward - 1 | |
949 | end | |
950 | if keysDown.a then | |
951 | side = side - 1 | |
952 | end | |
953 | if keysDown.d then | |
954 | side = side + 1 | |
955 | end | |
956 | ||
957 | canFly = (forward ~= 0 or side ~= 0) | |
958 | ||
959 | if canFly then | |
960 | stanceToggle = "Floating" | |
961 | turnBG.Parent = root | |
962 | floatBP.Parent = nil | |
963 | flyBV.Parent = root | |
964 | ||
965 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
966 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
967 | else | |
968 | floatBP.position = root.Position | |
969 | floatBP.Parent = root | |
970 | ||
971 | flySpeed = flySpeed - 1 | |
972 | if flySpeed < 0 then flySpeed = 0 end | |
973 | end | |
974 | ||
975 | local camCF = cam.CoordinateFrame | |
976 | local in_forward = canFly and forward or lastForward | |
977 | local in_side = canFly and side or lastSide | |
978 | ||
979 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
980 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
981 | ||
982 | turnBG.cframe = camCF * CFrame.Angles(-math.rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
983 | 0) | |
984 | end | |
985 | ||
986 | game:service'RunService'.RenderStepped:connect(function() | |
987 | if flyToggled then | |
988 | pchar.Humanoid.PlatformStand = true | |
989 | end | |
990 | updateFly() | |
991 | end) | |
992 | ---------------------------------------------------- | |
993 | o42.Touched:connect(function(ht) | |
994 | hit = ht.Parent | |
995 | if ht and hit:IsA("Model") then | |
996 | if hit:FindFirstChild("Humanoid") then | |
997 | if hit.Name ~= p.Name then | |
998 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
999 | Debounces.Slashed = true | |
1000 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1001 | wait(.3) | |
1002 | Debounces.Slashed = false | |
1003 | end | |
1004 | end | |
1005 | end | |
1006 | elseif ht and hit:IsA("Hat") then | |
1007 | if hit.Parent.Name ~= p.Name then | |
1008 | if hit.Parent:FindFirstChild("Humanoid") then | |
1009 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1010 | Debounces.Slashed = true | |
1011 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1012 | wait(.3) | |
1013 | Debounces.Slashed = false | |
1014 | end | |
1015 | end | |
1016 | end | |
1017 | end | |
1018 | end) | |
1019 | ---------------------------------------------------- | |
1020 | ptz = {0.7, 0.8, 0.9, 1} | |
1021 | idz = {"161006212", "161006195"} | |
1022 | mouse.KeyDown:connect(function(key) | |
1023 | if key == "q" then | |
1024 | if Debounces.CanAttack == true then | |
1025 | Debounces.CanAttack = false | |
1026 | Debounces.NoIdl = true | |
1027 | Debounces.on = true | |
1028 | for i = 1, 20 do | |
1029 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,0.65,-6)*CFrame.Angles(math.rad(60),math.rad(70),math.rad(70)), 0.2) | |
1030 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-1,2.2) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
1031 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
1032 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
1033 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
1034 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
1035 | if Debounces.on == false then break end | |
1036 | rs:wait(2) | |
1037 | end | |
1038 | z = Instance.new("Sound", hed) | |
1039 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1040 | z.Pitch = ptz[math.random(1,#ptz)] | |
1041 | z.Volume = math.huge | |
1042 | wait(.01) | |
1043 | z:Play() | |
1044 | Debounces.Slashing = true | |
1045 | for i = 1, 20 do | |
1046 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, -2, 3) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
1047 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
1048 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
1049 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
1050 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
1051 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
1052 | if Debounces.on == false then break end | |
1053 | rs:wait(2) | |
1054 | end | |
1055 | Debounces.Slashing = false | |
1056 | z:Destroy() | |
1057 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1058 | if Debounces.CanAttack == false then | |
1059 | Debounces.CanAttack = true | |
1060 | Debounces.NoIdl = false | |
1061 | Debounces.on = false | |
1062 | end | |
1063 | end | |
1064 | end | |
1065 | end) | |
1066 | ---------------------------------------------------- | |
1067 | mouse.KeyDown:connect(function(key) | |
1068 | if key == "r" then | |
1069 | if Debounces.CanAttack == true then | |
1070 | Debounces.CanAttack = false | |
1071 | Debounces.NoIdl = true | |
1072 | Debounces.on = true | |
1073 | for i = 1, 20 do | |
1074 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
1075 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
1076 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
1077 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
1078 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1079 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
1080 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
1081 | if Debounces.on==false then break end | |
1082 | rs:wait(2) | |
1083 | end | |
1084 | Debounces.Slashing = true | |
1085 | z = Instance.new("Sound",hed) | |
1086 | z.SoundId = "rbxassetid://206083107" | |
1087 | z.Pitch = .75 | |
1088 | z.Volume = .65 | |
1089 | wait(0.1) | |
1090 | z:Play() | |
1091 | z1 = Instance.new("Sound", hed) | |
1092 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1093 | z1.Pitch = ptz[math.random(1,#ptz)] | |
1094 | z1.Volume = math.huge | |
1095 | wait(.01) | |
1096 | z1:Play() | |
1097 | for i = 1, 20 do | |
1098 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
1099 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
1100 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1101 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1102 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1103 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
1104 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(40), math.rad(20), math.rad(20)), 0.35) | |
1105 | if Debounces.on==false then break end | |
1106 | rs:wait(2) | |
1107 | end | |
1108 | Debounces.Slashing = false | |
1109 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1110 | if Debounces.CanAttack == false then | |
1111 | Debounces.CanAttack = true | |
1112 | Debounces.NoIdl = false | |
1113 | Debounces.on = false | |
1114 | end | |
1115 | end | |
1116 | end | |
1117 | end) | |
1118 | ------------------------------- | |
1119 | mouse.KeyDown:connect(function(key) | |
1120 | if key == "g" then | |
1121 | if Debounces.CanAttack == true then | |
1122 | Debounces.CanAttack = false | |
1123 | Debounces.NoIdl = true | |
1124 | Debounces.on = true | |
1125 | Debounces.Slashing = true | |
1126 | for i = 1, 8 do | |
1127 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8) | |
1128 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8.2, -2.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8) | |
1129 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1130 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1131 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1132 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1133 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 2, 0) * CFrame.Angles (math.rad(80), math.rad(0), math.rad(0)), 0.35) | |
1134 | if Debounces.on==false then break end | |
1135 | rs:wait(2) | |
1136 | end | |
1137 | for i = 1, 1440, 48 do | |
1138 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
1139 | rs:wait(4) | |
1140 | end | |
1141 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1142 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1143 | Debounces.Slashing = false | |
1144 | if Debounces.CanAttack == false then | |
1145 | Debounces.CanAttack = true | |
1146 | Debounces.NoIdl = false | |
1147 | Debounces.on = false | |
1148 | end | |
1149 | end | |
1150 | end | |
1151 | end) | |
1152 | ---------------------------------------------------- | |
1153 | pt = {6.6, 6.8, 7, 7.2, 7.4} | |
1154 | mouse.KeyDown:connect(function(key) | |
1155 | if key == "h" then | |
1156 | if Debounces.CanJoke == true then | |
1157 | Debounces.CanJoke = false | |
1158 | u = Instance.new("Sound",char) | |
1159 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1160 | u.Pitch = pt[math.random(1,#pt)] | |
1161 | u.Volume = math.huge | |
1162 | u2 = Instance.new("Sound",char) | |
1163 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1164 | u2.Pitch = u.Pitch | |
1165 | u2.Volume = math.huge | |
1166 | u3 = Instance.new("Sound",char) | |
1167 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1168 | u3.Pitch = u.Pitch | |
1169 | u3.Volume = math.huge | |
1170 | wait(.01) | |
1171 | u:Play() | |
1172 | u2:Play() | |
1173 | u3:Play() | |
1174 | wait(1.5) | |
1175 | u:Destroy() | |
1176 | u2:Destroy() | |
1177 | u3:Destroy() | |
1178 | if Debounces.CanJoke == false then | |
1179 | Debounces.CanJoke = true | |
1180 | end | |
1181 | end | |
1182 | end | |
1183 | end) | |
1184 | ---------------------------------------------------- | |
1185 | Melee = false | |
1186 | mouse.KeyDown:connect(function(key) | |
1187 | if key == "m" then | |
1188 | if Melee == false then | |
1189 | Melee = true | |
1190 | Vanish() | |
1191 | stanceToggle = "Melee" | |
1192 | elseif Melee == true then | |
1193 | Melee = false | |
1194 | Appear() | |
1195 | stanceToggle = "Normal" | |
1196 | end | |
1197 | end | |
1198 | end) | |
1199 | ------------------------------- | |
1200 | mouse.KeyDown:connect(function(key) | |
1201 | if string.byte(key) == 48 then | |
1202 | if Debounces.CanAttack == true then | |
1203 | if stanceToggle ~= "Floating" then | |
1204 | char.Humanoid.WalkSpeed = 80 | |
1205 | elseif Debounces.CanAttack == false then | |
1206 | elseif stanceToggle == "Floating" then | |
1207 | wait() | |
1208 | end | |
1209 | end | |
1210 | end | |
1211 | end) | |
1212 | mouse.KeyUp:connect(function(key) | |
1213 | if string.byte(key) == 48 then | |
1214 | char.Humanoid.WalkSpeed = 16 | |
1215 | end | |
1216 | end) | |
1217 | ------------------------------- | |
1218 | local animpose = "Idle" | |
1219 | local lastanimpose = "Idle" | |
1220 | local sine = 0 | |
1221 | local change = 1 | |
1222 | local val = 0 | |
1223 | local ffing = false | |
1224 | ------------------------------- | |
1225 | --[[if stanceToggle == "Sitting" then | |
1226 | if wait(math.random(1,2)) == 1 then | |
1227 | stanceToggle = "Sitting2" | |
1228 | wait(8) | |
1229 | stanceToggle = "Sitting" | |
1230 | end | |
1231 | end]]-- | |
1232 | ------------------------------- | |
1233 | game:GetService("RunService").RenderStepped:connect(function() | |
1234 | --[[if char.Humanoid.Jump == true then | |
1235 | jump = true | |
1236 | else | |
1237 | jump = false | |
1238 | end]] | |
1239 | char.Humanoid.FreeFalling:connect(function(f) | |
1240 | if f then | |
1241 | ffing = true | |
1242 | else | |
1243 | ffing = false | |
1244 | end | |
1245 | end) | |
1246 | sine = sine + change | |
1247 | if jumpn == true then | |
1248 | animpose = "Jumping" | |
1249 | elseif ffing == true then | |
1250 | animpose = "Freefalling" | |
1251 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
1252 | animpose = "Idle" | |
1253 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
1254 | animpose = "Walking" | |
1255 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
1256 | animpose = "Running" | |
1257 | end | |
1258 | if animpose ~= lastanimpose then | |
1259 | sine = 0 | |
1260 | if Debounces.NoIdl == false then | |
1261 | if stanceToggle == "Normal" then | |
1262 | for i = 1, 2 do | |
1263 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
1264 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2) | |
1265 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
1266 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
1267 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
1268 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
1269 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
1270 | end | |
1271 | elseif stanceToggle == "Floating" then | |
1272 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
1273 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
1274 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1275 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
1276 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
1277 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
1278 | wait() | |
1279 | end | |
1280 | else | |
1281 | end | |
1282 | end | |
1283 | lastanimpose = animpose | |
1284 | if Debounces.NoIdl == false then | |
1285 | if animpose == "Idle" then | |
1286 | if stanceToggle == "Normal" then | |
1287 | change = 0.5 | |
1288 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
1289 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
1290 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2) | |
1291 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
1292 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
1293 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
1294 | elseif stanceToggle == "Melee" then | |
1295 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2) | |
1296 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
1297 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1298 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1299 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1300 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1301 | elseif stanceToggle == "Floating" then | |
1302 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
1303 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
1304 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1305 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
1306 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
1307 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
1308 | end | |
1309 | elseif animpose == "Walking" then | |
1310 | if stanceToggle == "Normal" then | |
1311 | change = 1 | |
1312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
1313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2) | |
1314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
1315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
1316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
1317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
1318 | elseif stanceToggle == "Melee" then | |
1319 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
1320 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2) | |
1321 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
1322 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
1323 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
1324 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
1325 | elseif stanceToggle == "Floating" then | |
1326 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
1327 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
1328 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
1329 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
1330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
1331 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
1332 | end | |
1333 | elseif animpose == "Running" then | |
1334 | if stanceToggle == "Normal" then | |
1335 | change = 1 | |
1336 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
1337 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
1338 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-4, -0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
1339 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(4, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
1340 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
1341 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
1342 | elseif stanceToggle == "Floating" then | |
1343 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
1344 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
1345 | hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
1346 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
1347 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
1348 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
1349 | end | |
1350 | end | |
1351 | end | |
1352 | end) | |
1353 | ||
1354 | Spawn(function() | |
1355 | while wait() do | |
1356 | updateFly() | |
1357 | end | |
1358 | end) | |
1359 | ||
1360 | Spawn(function() | |
1361 | while wait(5) do | |
1362 | GroundWave3() | |
1363 | end | |
1364 | end) | |
1365 | Spawn(function() | |
1366 | while wait(0) do | |
1367 | hum.MaxHealth = 1.79769e+308 | |
1368 | hum.Health = 1.79769e+308 | |
1369 | end | |
1370 | end) | |
1371 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
1372 | --[[Part0 = Vector3 (Start pos) | |
1373 | Part1 = Vector3 (End pos) | |
1374 | Times = number (Amount of lightning parts) | |
1375 | Offset = number (Offset) | |
1376 | Color = color (brickcolor value) | |
1377 | Thickness = number (thickness) | |
1378 | Trans = number (transparency) | |
1379 | ]]-- | |
1380 | local magz = (Part0 - Part1).magnitude | |
1381 | local curpos = Part0 | |
1382 | local trz = {-Offset,Offset} | |
1383 | for i=1,Times do | |
1384 | local li = Instance.new("Part", torso) | |
1385 | li.Name = "Lightning" | |
1386 | li.TopSurface =0 | |
1387 | li.Material = "Neon" | |
1388 | li.BottomSurface = 0 | |
1389 | li.Anchored = true | |
1390 | li.Locked = true | |
1391 | li.Transparency = Trans or 0.4 | |
1392 | li.BrickColor = BrickColor.new(Color) | |
1393 | li.formFactor = "Custom" | |
1394 | li.CanCollide = false | |
1395 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
1396 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
1397 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
1398 | if Times == i then | |
1399 | local magz2 = (curpos - Part1).magnitude | |
1400 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
1401 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
1402 | else | |
1403 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
1404 | end | |
1405 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
1406 | game.Debris:AddItem(li,.1) | |
1407 | end | |
1408 | end | |
1409 | ||
1410 | BodyParts = {} -- Parts to emit lightning effects from | |
1411 | for _, v in pairs(char:GetChildren()) do | |
1412 | if v:IsA("Part") then | |
1413 | table.insert(BodyParts, v) | |
1414 | end | |
1415 | end | |
1416 | ||
1417 | Bounding = {} -- Calculate the bounding boxes | |
1418 | for _, v in pairs(BodyParts) do | |
1419 | local temp = {X=nil, Y=nil, Z=nil} | |
1420 | temp.X = v.Size.X/2 * 35 | |
1421 | temp.Y = v.Size.Y/2 * 35 | |
1422 | temp.Z = v.Size.Z/2 * 35 | |
1423 | Bounding[v.Name] = temp | |
1424 | --table.insert(Bounding, v.Name, temp) | |
1425 | end | |
1426 | ||
1427 | while wait(0) do -- Emit the Lightning effects randomly | |
1428 | local Body1 = BodyParts[math.random(#BodyParts)] | |
1429 | local Body2 = BodyParts[math.random(#BodyParts)] | |
1430 | local Pos1 = Vector3.new( | |
1431 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/35, | |
1432 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/35, | |
1433 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/35 | |
1434 | ) | |
1435 | local Pos2 = Vector3.new( | |
1436 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/35, | |
1437 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/35, | |
1438 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/35 | |
1439 | ) | |
1440 | local SPos1 = Body1.Position + Pos1 | |
1441 | local SPos2 = Body2.Position + Pos2 | |
1442 | Lightning(SPos1, SPos2, 4, 3, "New Yeller", .3, .56) | |
1443 | end |