SHOW:
|
|
- or go back to the newest paste.
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 | - | player = game.Players.Dark_Eccentric |
3 | + | local Player,game,owner = owner,game |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end | |
6 | ||
7 | wait(1.5) | |
8 | ||
9 | player = game.Players.SNEAKY_Dodge | |
10 | chara = player.Character | |
11 | debby = game.Debris | |
12 | local Mouse = player:GetMouse() | |
13 | ||
14 | --Outfit and Weapons-- | |
15 | New = function(Object, Parent, Name, Data) | |
16 | local Object = Instance.new(Object) | |
17 | for Index, Value in pairs(Data or {}) do | |
18 | Object[Index] = Value | |
19 | end | |
20 | Object.Parent = Parent | |
21 | Object.Name = Name | |
22 | return Object | |
23 | end | |
24 | Me = game.Players.LocalPlayer | |
25 | player = Me | |
26 | char = Me.Character | |
27 | chara = char | |
28 | larm = char["Left Arm"] | |
29 | rarm = char["Right Arm"] | |
30 | lleg = char["Left Leg"] | |
31 | rleg = char["Right Leg"] | |
32 | torso = char.Torso | |
33 | hed = char.Head | |
34 | mouse = player:GetMouse() | |
35 | lght = game.Lighting | |
36 | lichtact = false | |
37 | moosicact = false | |
38 | gotsagofest = true | |
39 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
40 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
41 | ||
42 | ||
43 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
44 | if v.ClassName == "Accessory" then | |
45 | v:Destroy() | |
46 | end | |
47 | end | |
48 | ||
49 | ||
50 | for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
51 | if v.ClassName == "Accessory" then | |
52 | v:Destroy() | |
53 | end | |
54 | end | |
55 | ||
56 | ||
57 | if game.Players.LocalPlayer.Character["Shirt"] then | |
58 | game.Players.LocalPlayer.Character["Shirt"].ShirtTemplate = "rbxassetid://543885922" | |
59 | end | |
60 | ||
61 | ||
62 | if game.Players.LocalPlayer.Character["Pants"] then | |
63 | game.Players.LocalPlayer.Character["Pants"].PantsTemplate = "rbxassetid://530945466" | |
64 | end | |
65 | ||
66 | ||
67 | if not game.Players.LocalPlayer.Character["Shirt"] then | |
68 | local shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) | |
69 | shirt.Name = "Shirt" | |
70 | shirt.ShirtTemplate = "rbxassetid://543885922" | |
71 | end | |
72 | ||
73 | ||
74 | if not game.Players.LocalPlayer.Character["Pants"] then | |
75 | local pants = Instance.new("Pants",game.Players.LocalPlayer.Character) | |
76 | pants.Name = "Pants" | |
77 | pants.PantsTemplate = "rbxassetid://530945466" | |
78 | end | |
79 | ||
80 | ||
81 | ||
82 | ||
83 | local p = game.Players.LocalPlayer | |
84 | local char = p.Character | |
85 | local hed = char.Head | |
86 | local arm1 = char["Right Arm"] | |
87 | local arm2 = char["Left Arm"] | |
88 | local leg1 = char["Right Leg"] | |
89 | local leg2 = char["Left Leg"] | |
90 | local tor = char.Torso | |
91 | local hrp = char.HumanoidRootPart | |
92 | ||
93 | local cooldown = false | |
94 | local attacking1 = false | |
95 | local attacking2 = false | |
96 | local emoed = false | |
97 | local transformed = false | |
98 | local dehuman = false | |
99 | local antihuman = false | |
100 | local being = false | |
101 | ||
102 | arm1.BrickColor = BrickColor.new("Light orange") | |
103 | arm2.BrickColor = BrickColor.new("Light orange") | |
104 | leg1.BrickColor = BrickColor.new("Light orange") | |
105 | leg2.BrickColor = BrickColor.new("Light orange") | |
106 | tor.BrickColor = BrickColor.new("Light orange") | |
107 | hed.BrickColor = BrickColor.new("Light orange") | |
108 | ||
109 | hed.face.Texture = "rbxassetid://1093202441" | |
110 | ||
111 | local hair1 = Instance.new("Part",char) | |
112 | hair1.Name = "Hair1" | |
113 | hair1.Size = Vector3.new(1,1,1) | |
114 | hair1.CanCollide = false | |
115 | hair1.BrickColor = BrickColor.new("Really black") | |
116 | ||
117 | local msh = Instance.new("SpecialMesh",hair1) | |
118 | msh.MeshId = "http://www.roblox.com/asset/?id=502933908" | |
119 | msh.MeshType = "FileMesh" | |
120 | msh.Scale = Vector3.new(0.011, 0.011, 0.011) | |
121 | ||
122 | local weld = Instance.new("Weld",hair1) | |
123 | weld.Part0 = hed | |
124 | weld.Part1 = hair1 | |
125 | weld.C0 = CFrame.Angles(.2,3.2,0) | |
126 | weld.C1 = CFrame.new(0,0,.2) | |
127 | ||
128 | local mouse = p:GetMouse() | |
129 | position1 = arm1.CFrame:toWorldSpace(CFrame.new(0,1,0)).p | |
130 | position2 = mouse.Hit.p | |
131 | ||
132 | local rock = false | |
133 | local rock3 = false | |
134 | local rock2 = false | |
135 | local rock4 = false | |
136 | local GroundShake = false | |
137 | local GroundShake2 = false | |
138 | ||
139 | local rad = math.rad | |
140 | ||
141 | function RenderStepped() | |
142 | ||
143 | if rock == true then | |
144 | wait(math.random(0.1,0.5)) | |
145 | local ay = Instance.new("Part",char) | |
146 | ay.Name = "NewPart2" | |
147 | ay.Size = Vector3.new(0.3,0.3,0.3) | |
148 | ay.CanCollide = false | |
149 | for i,v in pairs(workspace:GetChildren()) do | |
150 | if v:IsA("Part") then | |
151 | if v.Size.x > 150 then | |
152 | ||
153 | ||
154 | ay.BrickColor = v.BrickColor | |
155 | ay.Material = v.Material | |
156 | ay.Transparency = v.Transparency | |
157 | end | |
158 | end | |
159 | end | |
160 | ay.Position = Vector3.new(999,999,999) | |
161 | ay.CFrame = CFrame.new(hrp.Position.x+math.random(-15,15),hrp.Position.y-2,hrp.Position.z+math.random(-15,15)) | |
162 | local ys = Instance.new("BodyVelocity",ay) | |
163 | ys.Name = "GO" | |
164 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
165 | ||
166 | ys.Velocity = Vector3.new(0,6,0) | |
167 | game.Debris:AddItem(ay,math.random(3,4)) | |
168 | end | |
169 | ||
170 | if GroundShake == true then | |
171 | for i,v in pairs(workspace:GetChildren()) do | |
172 | if v:IsA("Part") then | |
173 | if v.Size.x > 150 then | |
174 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-1,1)),rad(math.random(-1,1)),rad(math.random(-1,1))) | |
175 | end | |
176 | end | |
177 | ||
178 | end | |
179 | ||
180 | end | |
181 | ||
182 | if GroundShake2 == true then | |
183 | ||
184 | for i,v in pairs(workspace:GetChildren()) do | |
185 | if v:IsA("Part") then | |
186 | if v.Size.x > 150 then | |
187 | v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-2,2)),rad(math.random(-2,2)),rad(math.random(-2,2))) | |
188 | end | |
189 | end | |
190 | end | |
191 | end | |
192 | ||
193 | end | |
194 | ||
195 | function RenderStepped2() | |
196 | ||
197 | if rock2 == true then | |
198 | wait(0.1) | |
199 | ||
200 | for i,v in pairs(char:GetChildren()) do | |
201 | if v:IsA("Part") then | |
202 | if v.Name == "NewPart2" then | |
203 | v.GO.Velocity = Vector3.new(0,-5,0) | |
204 | end | |
205 | end | |
206 | ||
207 | end | |
208 | rock2 = false | |
209 | end | |
210 | if rock3 == true then | |
211 | wait(0.1) | |
212 | for i,v in pairs(char:GetChildren()) do | |
213 | if v:IsA("Part") then | |
214 | if v.Name == "NewPart2" then | |
215 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
216 | end | |
217 | end | |
218 | end | |
219 | rock3 = false | |
220 | end | |
221 | ||
222 | if rock4 == true then | |
223 | wait(0.1) | |
224 | for i,v in pairs(char:GetChildren()) do | |
225 | if v:IsA("Part") then | |
226 | if v.Name == "NewPart2" then | |
227 | v.GO.Velocity = Vector3.new(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
228 | end | |
229 | end | |
230 | end | |
231 | end | |
232 | ||
233 | end | |
234 | ||
235 | game:GetService("RunService").RenderStepped:connect(RenderStepped) | |
236 | game:GetService("RunService").RenderStepped:connect(RenderStepped2) | |
237 | ||
238 | function cero() | |
239 | ||
240 | local part = Instance.new("Part",char) | |
241 | part.BrickColor = BrickColor.new("Medium blue") | |
242 | part.Material = Enum.Material.Metal | |
243 | part.Size = Vector3.new(2.5,2.5,2.5) | |
244 | part.CFrame = CFrame.new((position1+position2)/2,position1) | |
245 | part.Anchored = true | |
246 | part.CanCollide = false | |
247 | part.Shape = Enum.PartType.Ball | |
248 | ||
249 | local part2 = Instance.new("Part",char) | |
250 | part2.BrickColor = BrickColor.new("Medium blue") | |
251 | part2.Material = Enum.Material.Metal | |
252 | part2.Size = Vector3.new(5,5,(position1-position2).magnitude ) | |
253 | part2.CFrame = CFrame.new((position1+position2)/2,position1) | |
254 | part2.Anchored = true | |
255 | part2.CanCollide = false | |
256 | local mesh2 = Instance.new("SpecialMesh",part) | |
257 | mesh2.MeshType = Enum.MeshType.Sphere | |
258 | ||
259 | end | |
260 | ||
261 | function emo() | |
262 | ||
263 | char.Humanoid.WalkSpeed = 0 | |
264 | char.Humanoid.JumpPower = 0 | |
265 | ||
266 | if emoed == false then | |
267 | if being == false then | |
268 | emoed = true | |
269 | being = true | |
270 | end | |
271 | end | |
272 | ||
273 | local Mus1 = Instance.new("Sound",char) | |
274 | Mus1.Name = "audio" | |
275 | Mus1.SoundId = "rbxassetid://301184111" | |
276 | Mus1.Pitch = 0.7 | |
277 | Mus1.Volume = 1 | |
278 | Mus1.Looped = false | |
279 | Mus1:Play() | |
280 | ||
281 | local Mus = Instance.new("Sound",char) | |
282 | Mus.Name = "music" | |
283 | Mus.SoundId = "http://www.roblox.com/asset/?id=257295907" | |
284 | Mus.Pitch = 1 | |
285 | Mus.Volume = 1 | |
286 | Mus.Looped = true | |
287 | Mus:Play() | |
288 | ||
289 | local part = Instance.new("Part",char) | |
290 | part.Transparency = 0 | |
291 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
292 | local pw = Instance.new("Weld",part) | |
293 | pw.Part0 = tor | |
294 | pw.Part1 = part | |
295 | pw.C1 = CFrame.new(0,2.3,0) | |
296 | ||
297 | local fla = Instance.new("ParticleEmitter",part) | |
298 | fla.Name = "Flame" | |
299 | fla.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(255,255,255)) | |
300 | fla.Texture = "rbxassetid://364561471" | |
301 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
302 | fla.LightEmission = 0 | |
303 | fla.Rate = 2000 | |
304 | fla.Lifetime = NumberRange.new(2.5) | |
305 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
306 | fla.Speed = NumberRange.new(25) | |
307 | fla.SpreadAngle = Vector2.new(60,60) | |
308 | ||
309 | local fla2 = Instance.new("ParticleEmitter",part) | |
310 | fla2.Name = "Flame" | |
311 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(0,225,250)) | |
312 | fla2.Texture = "rbxassetid://364561471" | |
313 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
314 | fla2.LightEmission = 0 | |
315 | fla2.Rate = 500 | |
316 | fla2.Lifetime = NumberRange.new(2.5) | |
317 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
318 | fla2.Speed = NumberRange.new(25) | |
319 | fla2.SpreadAngle = Vector2.new(65,65) | |
320 | ||
321 | wait(4) | |
322 | fla.Rate = 0 | |
323 | fla2.Rate = 0 | |
324 | ||
325 | char.Shirt.ShirtTemplate = "rbxassetid://261998786" | |
326 | char.Pants.PantsTemplate = "rbxassetid://446143522" | |
327 | ||
328 | local lhair = Instance.new("Part",char) | |
329 | lhair.Name = "LongHair" | |
330 | lhair.Size = Vector3.new(1,1,1) | |
331 | lhair.BrickColor = BrickColor.new("Really black") | |
332 | ||
333 | local mesh = Instance.new("SpecialMesh",lhair) | |
334 | mesh.MeshId = "rbxassetid://813723553" | |
335 | mesh.Scale = Vector3.new(0.07, 0.1, 0.08) | |
336 | ||
337 | local weld = Instance.new("Weld",lhair) | |
338 | weld.Part0 = hed | |
339 | weld.part1 = lhair | |
340 | weld.C0 = CFrame.Angles(0.3,0,0) | |
341 | weld.C1 = CFrame.new(0,2.5,-2) | |
342 | ||
343 | hed.face.Texture = "rbxassetid://1093210577" | |
344 | ||
345 | wait() | |
346 | ||
347 | local g = Instance.new("ParticleEmitter",tor) | |
348 | g.Name = "Glow" | |
349 | g.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
350 | g.Texture = "rbxassetid://75202463" | |
351 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
352 | g.LightEmission = 1 | |
353 | g.Rate = 1 | |
354 | g.Lifetime = NumberRange.new(4) | |
355 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
356 | g.Speed = NumberRange.new(0.20) | |
357 | g.Rotation = NumberRange.new(-100,100) | |
358 | g.ZOffset = 2 | |
359 | ||
360 | ||
361 | local pe = Instance.new("ParticleEmitter",tor) | |
362 | pe.Name = "Sparks" | |
363 | pe.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
364 | pe.Texture = "rbxassetid://364561471" | |
365 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
366 | pe.LightEmission = 0 | |
367 | pe.Rate = 10 | |
368 | pe.Lifetime = NumberRange.new(5,10) | |
369 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
370 | pe.Speed = NumberRange.new(1) | |
371 | pe.Rotation = NumberRange.new(-100,100) | |
372 | ||
373 | ------------------------------------------Arms | |
374 | local g1 = Instance.new("ParticleEmitter",arm2) | |
375 | g1.Name = "Glow" | |
376 | g1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
377 | g1.Texture = "rbxassetid://75202463" | |
378 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
379 | g1.LightEmission = 1 | |
380 | g1.Rate = 1 | |
381 | g1.Lifetime = NumberRange.new(4) | |
382 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
383 | g1.Speed = NumberRange.new(0.05) | |
384 | g1.Rotation = NumberRange.new(-100,100) | |
385 | g1.ZOffset = 2 | |
386 | ||
387 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
388 | pe1.Name = "Sparks" | |
389 | pe1.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
390 | pe1.Texture = "rbxassetid://364561471" | |
391 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
392 | pe1.LightEmission = 0 | |
393 | pe1.Rate = 10 | |
394 | pe1.Lifetime = NumberRange.new(5,10) | |
395 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
396 | pe1.Speed = NumberRange.new(1) | |
397 | pe1.Rotation = NumberRange.new(-100,100) | |
398 | ||
399 | --------------------------------------------- | |
400 | local g2 = Instance.new("ParticleEmitter",arm1) | |
401 | g2.Name = "Glow" | |
402 | g2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
403 | g2.Texture = "rbxassetid://75202463" | |
404 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
405 | g2.LightEmission = 1 | |
406 | g2.Rate = 1 | |
407 | g2.Lifetime = NumberRange.new(4) | |
408 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
409 | g2.Speed = NumberRange.new(0.05) | |
410 | g2.Rotation = NumberRange.new(-100,100) | |
411 | g2.ZOffset = 2 | |
412 | ||
413 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
414 | pe2.Name = "Sparks" | |
415 | pe2.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
416 | pe2.Texture = "rbxassetid://364561471" | |
417 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
418 | pe2.LightEmission = 0 | |
419 | pe2.Rate = 10 | |
420 | pe2.Lifetime = NumberRange.new(5,10) | |
421 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
422 | pe2.Speed = NumberRange.new(1) | |
423 | pe2.Rotation = NumberRange.new(-100,100) | |
424 | ||
425 | -------------------------------------------Legs | |
426 | local g3 = Instance.new("ParticleEmitter",leg2) | |
427 | g3.Name = "Glow" | |
428 | g3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
429 | g3.Texture = "rbxassetid://75202463" | |
430 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
431 | g3.LightEmission = 1 | |
432 | g3.Rate = 1 | |
433 | g3.Lifetime = NumberRange.new(4) | |
434 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
435 | g3.Speed = NumberRange.new(0.05) | |
436 | g3.Rotation = NumberRange.new(-100,100) | |
437 | g3.ZOffset = 2 | |
438 | ||
439 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
440 | pe3.Name = "Sparks" | |
441 | pe3.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
442 | pe3.Texture = "rbxassetid://364561471" | |
443 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
444 | pe3.LightEmission = 0 | |
445 | pe3.Rate = 10 | |
446 | pe3.Lifetime = NumberRange.new(5,10) | |
447 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
448 | pe3.Speed = NumberRange.new(1) | |
449 | pe3.Rotation = NumberRange.new(-100,100) | |
450 | ------------------------------------------- | |
451 | local g4 = Instance.new("ParticleEmitter",leg1) | |
452 | g4.Name = "Glow" | |
453 | g4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
454 | g4.Texture = "rbxassetid://75202463" | |
455 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
456 | g4.LightEmission = 1 | |
457 | g4.Rate = 1 | |
458 | g4.Lifetime = NumberRange.new(4) | |
459 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
460 | g4.Speed = NumberRange.new(0.05) | |
461 | g4.Rotation = NumberRange.new(-100,100) | |
462 | g4.ZOffset = 2 | |
463 | ||
464 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
465 | pe4.Name = "Sparks" | |
466 | pe4.Color = ColorSequence.new(Color3.new(0,225,250),Color3.new(0,0,0)) | |
467 | pe4.Texture = "rbxassetid://364561471" | |
468 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
469 | pe4.LightEmission = 0 | |
470 | pe4.Rate = 10 | |
471 | pe4.Lifetime = NumberRange.new(5,10) | |
472 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
473 | pe4.Speed = NumberRange.new(1) | |
474 | pe4.Rotation = NumberRange.new(-100,100) | |
475 | ||
476 | char.Humanoid.WalkSpeed = 55 | |
477 | char.Humanoid.JumpPower = 75 | |
478 | ||
479 | char.audio:Stop() | |
480 | char.audio:Remove() | |
481 | ||
482 | being = false | |
483 | ||
484 | end | |
485 | ||
486 | function transform() | |
487 | IdleA = New("Animation",tool,"Idle",{AnimationId = "http://www.roblox.com/Asset?ID=94108418",}) | |
488 | IdleAnim = chara.Humanoid:LoadAnimation(IdleA) | |
489 | IdleAnim:Play() | |
490 | player = game:GetService("Players").LocalPlayer | |
491 | chara = player.Character | |
492 | chara.Humanoid.MaxHealth = 100000 | |
493 | chara.Humanoid.Health = 100000 | |
494 | debby = game.Debris | |
495 | ||
496 | --Sword Building-- | |
497 | New = function(Object, Parent, Name, Data) | |
498 | local Object = Instance.new(Object) | |
499 | for Index, Value in pairs(Data or {}) do | |
500 | Object[Index] = Value | |
501 | end | |
502 | Object.Parent = Parent | |
503 | Object.Name = Name | |
504 | return Object | |
505 | end | |
506 | rock = true | |
507 | ||
508 | char.Humanoid.WalkSpeed = 0 | |
509 | char.Humanoid.JumpPower = 0 | |
510 | ||
511 | if emoed == true then | |
512 | if being == false then | |
513 | if transformed == false then | |
514 | being = true | |
515 | transformed = true | |
516 | end | |
517 | end | |
518 | end | |
519 | ||
520 | rock3 = true | |
521 | ||
522 | arm1.Glow:Remove() | |
523 | arm1.Sparks:Remove() | |
524 | arm2.Glow:Remove() | |
525 | arm2.Sparks:Remove() | |
526 | leg1.Glow:Remove() | |
527 | leg1.Sparks:Remove() | |
528 | leg2.Glow:Remove() | |
529 | leg2.Sparks:Remove() | |
530 | tor.Glow:Remove() | |
531 | tor.Sparks:Remove() | |
532 | ||
533 | char.music:Stop() | |
534 | char.music:Remove() | |
535 | ||
536 | local Mus1 = Instance.new("Sound",char) | |
537 | Mus1.Name = "audio" | |
538 | Mus1.SoundId = "rbxassetid://301184111" | |
539 | Mus1.Pitch = 0.7 | |
540 | Mus1.Volume = 1 | |
541 | Mus1.Looped = false | |
542 | Mus1:Play() | |
543 | ||
544 | local Mus2 = Instance.new("Sound",char) | |
545 | Mus2.Name = "audio2" | |
546 | Mus2.SoundId = "rbxassetid://144947983" | |
547 | Mus2.Pitch = 1 | |
548 | Mus2.Volume = 1 | |
549 | Mus2.Looped = true | |
550 | Mus2:Play() | |
551 | ||
552 | local Mus = Instance.new("Sound",char) | |
553 | Mus.Name = "music" | |
554 | Mus.SoundId = "http://www.roblox.com/asset/?id=149312046" | |
555 | Mus.Pitch = 1 | |
556 | Mus.Volume = 2.5 | |
557 | Mus.Looped = true | |
558 | Mus:Play() | |
559 | ||
560 | local part = Instance.new("Part",char) | |
561 | part.Transparency = 0 | |
562 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
563 | local pw = Instance.new("Weld",part) | |
564 | pw.Part0 = tor | |
565 | pw.Part1 = part | |
566 | pw.C1 = CFrame.new(0,2.3,0) | |
567 | ||
568 | local fla = Instance.new("ParticleEmitter",part) | |
569 | fla.Name = "Flame" | |
570 | fla.Color = ColorSequence.new(Color3.new(25,0,0),Color3.new(255,255,255)) | |
571 | fla.Texture = "rbxassetid://364561471" | |
572 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
573 | fla.LightEmission = 0 | |
574 | fla.Rate = 2000 | |
575 | fla.Lifetime = NumberRange.new(2.5) | |
576 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
577 | fla.Speed = NumberRange.new(25) | |
578 | fla.SpreadAngle = Vector2.new(60,60) | |
579 | ||
580 | local fla2 = Instance.new("ParticleEmitter",part) | |
581 | fla2.Name = "Flame" | |
582 | fla2.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(25,0,0)) | |
583 | fla2.Texture = "rbxassetid://364561471" | |
584 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
585 | fla2.LightEmission = 0 | |
586 | fla2.Rate = 500 | |
587 | fla2.Lifetime = NumberRange.new(2.5) | |
588 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
589 | fla2.Speed = NumberRange.new(25) | |
590 | fla2.SpreadAngle = Vector2.new(65,65) | |
591 | ||
592 | wait(5.25) | |
593 | rock3 = true | |
594 | rock = false | |
595 | fla.Rate = 0 | |
596 | fla2.Rate = 0 | |
597 | ||
598 | char.Shirt.ShirtTemplate = "rbxassetid://787561907" | |
599 | char.Pants.PantsTemplate = "rbxassetid://261998839" | |
600 | ||
601 | char.LongHair.BrickColor = BrickColor.new("Black") | |
602 | char.Hair1.BrickColor = BrickColor.new("Black") | |
603 | ||
604 | hed.face.Texture = "rbxassetid://1090074847" | |
605 | ||
606 | wait() | |
607 | ||
608 | for i,v in pairs(char:GetChildren()) do | |
609 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
610 | v.BrickColor = BrickColor.new("White") | |
611 | end | |
612 | ||
613 | end | |
614 | ||
615 | local g = Instance.new("ParticleEmitter",tor) | |
616 | g.Name = "Glow" | |
617 | g.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
618 | g.Texture = "rbxassetid://75202463" | |
619 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
620 | g.LightEmission = 1 | |
621 | g.Rate = 1 | |
622 | g.Lifetime = NumberRange.new(4) | |
623 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
624 | g.Speed = NumberRange.new(0.20) | |
625 | g.Rotation = NumberRange.new(-100,100) | |
626 | g.ZOffset = 2 | |
627 | ||
628 | ||
629 | local pe = Instance.new("ParticleEmitter",tor) | |
630 | pe.Name = "Sparks" | |
631 | pe.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
632 | pe.Texture = "rbxassetid://364561471" | |
633 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
634 | pe.LightEmission = 0 | |
635 | pe.Rate = 10 | |
636 | pe.Lifetime = NumberRange.new(5,10) | |
637 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
638 | pe.Speed = NumberRange.new(1) | |
639 | pe.Rotation = NumberRange.new(-100,100) | |
640 | ||
641 | ------------------------------------------Arms | |
642 | local g1 = Instance.new("ParticleEmitter",arm2) | |
643 | g1.Name = "Glow" | |
644 | g1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
645 | g1.Texture = "rbxassetid://75202463" | |
646 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
647 | g1.LightEmission = 1 | |
648 | g1.Rate = 1 | |
649 | g1.Lifetime = NumberRange.new(4) | |
650 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
651 | g1.Speed = NumberRange.new(0.05) | |
652 | g1.Rotation = NumberRange.new(-100,100) | |
653 | g1.ZOffset = 2 | |
654 | ||
655 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
656 | pe1.Name = "Sparks" | |
657 | pe1.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
658 | pe1.Texture = "rbxassetid://364561471" | |
659 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
660 | pe1.LightEmission = 0 | |
661 | pe1.Rate = 10 | |
662 | pe1.Lifetime = NumberRange.new(5,10) | |
663 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
664 | pe1.Speed = NumberRange.new(1) | |
665 | pe1.Rotation = NumberRange.new(-100,100) | |
666 | ||
667 | --------------------------------------------- | |
668 | local g2 = Instance.new("ParticleEmitter",arm1) | |
669 | g2.Name = "Glow" | |
670 | g2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
671 | g2.Texture = "rbxassetid://75202463" | |
672 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
673 | g2.LightEmission = 1 | |
674 | g2.Rate = 1 | |
675 | g2.Lifetime = NumberRange.new(4) | |
676 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
677 | g2.Speed = NumberRange.new(0.05) | |
678 | g2.Rotation = NumberRange.new(-100,100) | |
679 | g2.ZOffset = 2 | |
680 | ||
681 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
682 | pe2.Name = "Sparks" | |
683 | pe2.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
684 | pe2.Texture = "rbxassetid://364561471" | |
685 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
686 | pe2.LightEmission = 0 | |
687 | pe2.Rate = 10 | |
688 | pe2.Lifetime = NumberRange.new(5,10) | |
689 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
690 | pe2.Speed = NumberRange.new(1) | |
691 | pe2.Rotation = NumberRange.new(-100,100) | |
692 | ||
693 | -------------------------------------------Legs | |
694 | local g3 = Instance.new("ParticleEmitter",leg2) | |
695 | g3.Name = "Glow" | |
696 | g3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
697 | g3.Texture = "rbxassetid://75202463" | |
698 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
699 | g3.LightEmission = 1 | |
700 | g3.Rate = 1 | |
701 | g3.Lifetime = NumberRange.new(4) | |
702 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
703 | g3.Speed = NumberRange.new(0.05) | |
704 | g3.Rotation = NumberRange.new(-100,100) | |
705 | g3.ZOffset = 2 | |
706 | ||
707 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
708 | pe3.Name = "Sparks" | |
709 | pe3.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
710 | pe3.Texture = "rbxassetid://364561471" | |
711 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
712 | pe3.LightEmission = 0 | |
713 | pe3.Rate = 10 | |
714 | pe3.Lifetime = NumberRange.new(5,10) | |
715 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
716 | pe3.Speed = NumberRange.new(1) | |
717 | pe3.Rotation = NumberRange.new(-100,100) | |
718 | ------------------------------------------- | |
719 | local g4 = Instance.new("ParticleEmitter",leg1) | |
720 | g4.Name = "Glow" | |
721 | g4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
722 | g4.Texture = "rbxassetid://75202463" | |
723 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
724 | g4.LightEmission = 1 | |
725 | g4.Rate = 1 | |
726 | g4.Lifetime = NumberRange.new(4) | |
727 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
728 | g4.Speed = NumberRange.new(0.05) | |
729 | g4.Rotation = NumberRange.new(-100,100) | |
730 | g4.ZOffset = 2 | |
731 | ||
732 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
733 | pe4.Name = "Sparks" | |
734 | pe4.Color = ColorSequence.new(Color3.new(100,0,0),Color3.new(0,0,0)) | |
735 | pe4.Texture = "rbxassetid://364561471" | |
736 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
737 | pe4.LightEmission = 0 | |
738 | pe4.Rate = 10 | |
739 | pe4.Lifetime = NumberRange.new(5,10) | |
740 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
741 | pe4.Speed = NumberRange.new(1) | |
742 | pe4.Rotation = NumberRange.new(-100,100) | |
743 | ||
744 | char.audio2:Stop() | |
745 | char.audio2:Remove() | |
746 | char.audio:Stop() | |
747 | char.audio:Remove() | |
748 | ||
749 | char.Humanoid.WalkSpeed = 75 | |
750 | char.Humanoid.JumpPower = 89 | |
751 | ||
752 | being = false | |
753 | ||
754 | end | |
755 | ||
756 | function antihumaned() | |
757 | function LoadAnim(id) | |
758 | local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id}) | |
759 | local realanim = chara.Humanoid:LoadAnimation(anim) | |
760 | return realanim | |
761 | end | |
762 | HoldA = LoadAnim(69427262) | |
763 | HoldA:Play() | |
764 | ||
765 | rock = true | |
766 | ||
767 | char.Humanoid.WalkSpeed = 0 | |
768 | char.Humanoid.JumpPower = 0 | |
769 | ||
770 | if emoed == true then | |
771 | if being == false then | |
772 | if transformed == true then | |
773 | if antihuman == false then | |
774 | being = true | |
775 | antihuman = true | |
776 | end | |
777 | end | |
778 | end | |
779 | end | |
780 | ||
781 | wait(.25) | |
782 | rock3 = true | |
783 | ||
784 | ||
785 | arm1.Glow:Remove() | |
786 | arm1.Sparks:Remove() | |
787 | arm2.Glow:Remove() | |
788 | arm2.Sparks:Remove() | |
789 | leg1.Glow:Remove() | |
790 | leg1.Sparks:Remove() | |
791 | leg2.Glow:Remove() | |
792 | leg2.Sparks:Remove() | |
793 | tor.Glow:Remove() | |
794 | tor.Sparks:Remove() | |
795 | ||
796 | char.music:Stop() | |
797 | char.music:Remove() | |
798 | ||
799 | local Mus1 = Instance.new("Sound",char) | |
800 | Mus1.Name = "audio" | |
801 | Mus1.SoundId = "rbxassetid://301184111" | |
802 | Mus1.Pitch = 0.7 | |
803 | Mus1.Volume = 1 | |
804 | Mus1.Looped = false | |
805 | Mus1:Play() | |
806 | ||
807 | local Mus2 = Instance.new("Sound",char) | |
808 | Mus2.Name = "audio2" | |
809 | Mus2.SoundId = "rbxassetid://682718528" | |
810 | Mus2.Pitch = 1 | |
811 | Mus2.Volume = 1 | |
812 | Mus2.Looped = true | |
813 | Mus2:Play() | |
814 | ||
815 | ||
816 | local part = Instance.new("Part",char) | |
817 | part.Transparency = 0 | |
818 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
819 | local pw = Instance.new("Weld",part) | |
820 | pw.Part0 = tor | |
821 | pw.Part1 = part | |
822 | pw.C1 = CFrame.new(0,2.3,0) | |
823 | ||
824 | local fla = Instance.new("ParticleEmitter",part) | |
825 | fla.Name = "Flame" | |
826 | fla.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
827 | fla.Texture = "rbxassetid://364561471" | |
828 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
829 | fla.LightEmission = 0 | |
830 | fla.Rate = 2000 | |
831 | fla.Lifetime = NumberRange.new(2.5) | |
832 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
833 | fla.Speed = NumberRange.new(25) | |
834 | fla.SpreadAngle = Vector2.new(60,60) | |
835 | ||
836 | local fla2 = Instance.new("ParticleEmitter",part) | |
837 | fla2.Name = "Flame" | |
838 | fla2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
839 | fla2.Texture = "rbxassetid://364561471" | |
840 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
841 | fla2.LightEmission = 0 | |
842 | fla2.Rate = 500 | |
843 | fla2.Lifetime = NumberRange.new(2.5) | |
844 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
845 | fla2.Speed = NumberRange.new(25) | |
846 | fla2.SpreadAngle = Vector2.new(65,65) | |
847 | ||
848 | wait(6.55) | |
849 | rock3 = true | |
850 | fla.Rate = 0 | |
851 | fla2.Rate = 0 | |
852 | ||
853 | char.Shirt.ShirtTemplate = "rbxassetid://662186829" | |
854 | char.Pants.PantsTemplate = "rbxassetid://662188938" | |
855 | ||
856 | char.LongHair.BrickColor = BrickColor.new("Black") | |
857 | char.Hair1.BrickColor = BrickColor.new("Black") | |
858 | ||
859 | hed.face.Texture = "rbxassetid://1080474672" | |
860 | ||
861 | wait() | |
862 | ||
863 | for i,v in pairs(char:GetChildren()) do | |
864 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
865 | v.BrickColor = BrickColor.new("Black") | |
866 | end | |
867 | ||
868 | end | |
869 | ||
870 | local g = Instance.new("ParticleEmitter",tor) | |
871 | g.Name = "Glow" | |
872 | g.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
873 | g.Texture = "rbxassetid://75202463" | |
874 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
875 | g.LightEmission = 1 | |
876 | g.Rate = 1 | |
877 | g.Lifetime = NumberRange.new(4) | |
878 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
879 | g.Speed = NumberRange.new(0.20) | |
880 | g.Rotation = NumberRange.new(-100,100) | |
881 | g.ZOffset = 2 | |
882 | ||
883 | ||
884 | local pe = Instance.new("ParticleEmitter",tor) | |
885 | pe.Name = "Sparks" | |
886 | pe.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
887 | pe.Texture = "rbxassetid://364561471" | |
888 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
889 | pe.LightEmission = 0 | |
890 | pe.Rate = 10 | |
891 | pe.Lifetime = NumberRange.new(5,10) | |
892 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
893 | pe.Speed = NumberRange.new(1) | |
894 | pe.Rotation = NumberRange.new(-100,100) | |
895 | ||
896 | ------------------------------------------Arms | |
897 | local g1 = Instance.new("ParticleEmitter",arm2) | |
898 | g1.Name = "Glow" | |
899 | g1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
900 | g1.Texture = "rbxassetid://75202463" | |
901 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
902 | g1.LightEmission = 1 | |
903 | g1.Rate = 1 | |
904 | g1.Lifetime = NumberRange.new(4) | |
905 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
906 | g1.Speed = NumberRange.new(0.05) | |
907 | g1.Rotation = NumberRange.new(-100,100) | |
908 | g1.ZOffset = 2 | |
909 | ||
910 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
911 | pe1.Name = "Sparks" | |
912 | pe1.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
913 | pe1.Texture = "rbxassetid://364561471" | |
914 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
915 | pe1.LightEmission = 0 | |
916 | pe1.Rate = 10 | |
917 | pe1.Lifetime = NumberRange.new(5,10) | |
918 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
919 | pe1.Speed = NumberRange.new(1) | |
920 | pe1.Rotation = NumberRange.new(-100,100) | |
921 | ||
922 | --------------------------------------------- | |
923 | local g2 = Instance.new("ParticleEmitter",arm1) | |
924 | g2.Name = "Glow" | |
925 | g2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
926 | g2.Texture = "rbxassetid://75202463" | |
927 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
928 | g2.LightEmission = 1 | |
929 | g2.Rate = 1 | |
930 | g2.Lifetime = NumberRange.new(4) | |
931 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
932 | g2.Speed = NumberRange.new(0.05) | |
933 | g2.Rotation = NumberRange.new(-100,100) | |
934 | g2.ZOffset = 2 | |
935 | ||
936 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
937 | pe2.Name = "Sparks" | |
938 | pe2.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
939 | pe2.Texture = "rbxassetid://364561471" | |
940 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
941 | pe2.LightEmission = 0 | |
942 | pe2.Rate = 10 | |
943 | pe2.Lifetime = NumberRange.new(5,10) | |
944 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
945 | pe2.Speed = NumberRange.new(1) | |
946 | pe2.Rotation = NumberRange.new(-100,100) | |
947 | ||
948 | -------------------------------------------Legs | |
949 | local g3 = Instance.new("ParticleEmitter",leg2) | |
950 | g3.Name = "Glow" | |
951 | g3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
952 | g3.Texture = "rbxassetid://75202463" | |
953 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
954 | g3.LightEmission = 1 | |
955 | g3.Rate = 1 | |
956 | g3.Lifetime = NumberRange.new(4) | |
957 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
958 | g3.Speed = NumberRange.new(0.05) | |
959 | g3.Rotation = NumberRange.new(-100,100) | |
960 | g3.ZOffset = 2 | |
961 | ||
962 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
963 | pe3.Name = "Sparks" | |
964 | pe3.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
965 | pe3.Texture = "rbxassetid://364561471" | |
966 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
967 | pe3.LightEmission = 0 | |
968 | pe3.Rate = 10 | |
969 | pe3.Lifetime = NumberRange.new(5,10) | |
970 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
971 | pe3.Speed = NumberRange.new(1) | |
972 | pe3.Rotation = NumberRange.new(-100,100) | |
973 | ------------------------------------------- | |
974 | local g4 = Instance.new("ParticleEmitter",leg1) | |
975 | g4.Name = "Glow" | |
976 | g4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
977 | g4.Texture = "rbxassetid://75202463" | |
978 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
979 | g4.LightEmission = 1 | |
980 | g4.Rate = 1 | |
981 | g4.Lifetime = NumberRange.new(4) | |
982 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
983 | g4.Speed = NumberRange.new(0.05) | |
984 | g4.Rotation = NumberRange.new(-100,100) | |
985 | g4.ZOffset = 2 | |
986 | ||
987 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
988 | pe4.Name = "Sparks" | |
989 | pe4.Color = ColorSequence.new(Color3.new(85, 0, 127),Color3.new(145, 0, 109)) | |
990 | pe4.Texture = "rbxassetid://364561471" | |
991 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
992 | pe4.LightEmission = 0 | |
993 | pe4.Rate = 10 | |
994 | pe4.Lifetime = NumberRange.new(5,10) | |
995 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
996 | pe4.Speed = NumberRange.new(1) | |
997 | pe4.Rotation = NumberRange.new(-100,100) | |
998 | ||
999 | char.Humanoid.WalkSpeed = 99.999 | |
1000 | char.Humanoid.JumpPower = 99.999 | |
1001 | ||
1002 | char.audio:Stop() | |
1003 | char.audio:Remove() | |
1004 | ||
1005 | being = false | |
1006 | GroundShake = false | |
1007 | ||
1008 | end | |
1009 | ||
1010 | function dehumaned() | |
1011 | ||
1012 | player = game.Players.LocalPlayer | |
1013 | chara = player.Character | |
1014 | debby = game:GetService("Debris") | |
1015 | ||
1016 | --Outfit-- | |
1017 | ||
1018 | New = function(Object, Parent, Name, Data) | |
1019 | local Object = Instance.new(Object) | |
1020 | for Index, Value in pairs(Data or {}) do | |
1021 | Object[Index] = Value | |
1022 | end | |
1023 | Object.Parent = Parent | |
1024 | Object.Name = Name | |
1025 | return Object | |
1026 | end | |
1027 | --Animations-- | |
1028 | function loada(anim) | |
1029 | local loaded = chara.Humanoid:LoadAnimation(anim) | |
1030 | return loaded | |
1031 | end | |
1032 | ||
1033 | IdleA = New("Animation",chara,"Idle",{AnimationId = "rbxassetid://169638954"}) | |
1034 | IdleAnim = loada(IdleA) | |
1035 | IdleAnim:Play() | |
1036 | ||
1037 | --Enamate-- | |
1038 | function Enamate(part) | |
1039 | local trace = Instance.new("Part",chara) | |
1040 | trace.Size = Vector3.new(1,1,1) | |
1041 | trace.TopSurface = 0 | |
1042 | trace.BottomSurface = 0 | |
1043 | trace.BrickColor = BrickColor.new("New Yeller") | |
1044 | trace.CanCollide = false | |
1045 | trace.Anchored = true | |
1046 | trace.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1047 | local tracedisp = coroutine.wrap(function() | |
1048 | for i = 1, 9 do | |
1049 | wait(.01) | |
1050 | trace.Transparency = trace.Transparency + .1 | |
1051 | end | |
1052 | wait(.01) | |
1053 | trace:Destroy() | |
1054 | end) | |
1055 | tracedisp() | |
1056 | end | |
1057 | function Enamate2(part,name) | |
1058 | if chara:FindFirstChild(name)== nil then | |
1059 | local angl = CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
1060 | local trace = Instance.new("Part",chara) | |
1061 | trace.Size = Vector3.new(1,1,1) | |
1062 | trace.Name = name | |
1063 | trace.TopSurface = 0 | |
1064 | trace.BottomSurface = 0 | |
1065 | trace.BrickColor = BrickColor.new("New Yeller") | |
1066 | trace.CanCollide = false | |
1067 | trace.Anchored = true | |
1068 | trace.CFrame = part.CFrame * angl | |
1069 | local tracem = Instance.new("SpecialMesh",trace) | |
1070 | tracem.MeshId = "rbxassetid://3270017" | |
1071 | local tracedisp = coroutine.wrap(function() | |
1072 | for i = 1, 9 do | |
1073 | wait(.01) | |
1074 | trace.Transparency = trace.Transparency + .1 | |
1075 | trace.CFrame = part.CFrame * angl | |
1076 | tracem.Scale = tracem.Scale + Vector3.new(.5,.5,0) | |
1077 | end | |
1078 | wait(.01) | |
1079 | trace:Destroy() | |
1080 | end) | |
1081 | tracedisp() | |
1082 | end | |
1083 | end | |
1084 | function Enamate3() | |
1085 | if chara:FindFirstChild("Ring")== nil then | |
1086 | local trace = Instance.new("Part",chara) | |
1087 | trace.Size = Vector3.new(1,1,1) | |
1088 | trace.Name = "Ring" | |
1089 | trace.TopSurface = 0 | |
1090 | trace.BottomSurface = 0 | |
1091 | trace.BrickColor = BrickColor.new("New Yeller") | |
1092 | trace.CanCollide = false | |
1093 | trace.Anchored = true | |
1094 | trace.CFrame = chara.Torso.CFrame | |
1095 | local tracem = Instance.new("SpecialMesh",trace) | |
1096 | tracem.MeshId = "rbxassetid://3270017" | |
1097 | local tracedisp = coroutine.wrap(function() | |
1098 | for i = 1, 99 do | |
1099 | wait(.01) | |
1100 | trace.Transparency = trace.Transparency + .01 | |
1101 | trace.CFrame = chara.Torso.CFrame | |
1102 | tracem.Scale = tracem.Scale + Vector3.new(.2,.2,0) | |
1103 | end | |
1104 | wait(.01) | |
1105 | trace:Destroy() | |
1106 | end) | |
1107 | tracedisp() | |
1108 | end | |
1109 | end | |
1110 | ||
1111 | rock2 = true | |
1112 | ||
1113 | char.Humanoid.WalkSpeed = 0 | |
1114 | char.Humanoid.JumpPower = 0 | |
1115 | ||
1116 | if emoed == true then | |
1117 | if being == false then | |
1118 | if transformed == true then | |
1119 | if antihuman == true then | |
1120 | if dehuman == false then | |
1121 | dehuman = true | |
1122 | being = true | |
1123 | end | |
1124 | end | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | ||
1129 | rock3 = true | |
1130 | wait(.25) | |
1131 | rock4 = true | |
1132 | ||
1133 | ||
1134 | arm1.Glow:Remove() | |
1135 | arm1.Sparks:Remove() | |
1136 | arm2.Glow:Remove() | |
1137 | arm2.Sparks:Remove() | |
1138 | leg1.Glow:Remove() | |
1139 | leg1.Sparks:Remove() | |
1140 | leg2.Glow:Remove() | |
1141 | leg2.Sparks:Remove() | |
1142 | tor.Glow:Remove() | |
1143 | tor.Sparks:Remove() | |
1144 | ||
1145 | char.audio2:Stop() | |
1146 | char.audio2:Remove() | |
1147 | ||
1148 | local Mus1 = Instance.new("Sound",char) | |
1149 | Mus1.Name = "audio" | |
1150 | Mus1.SoundId = "rbxassetid://301184111" | |
1151 | Mus1.Pitch = 0.7 | |
1152 | Mus1.Volume = 1 | |
1153 | Mus1.Looped = false | |
1154 | Mus1:Play() | |
1155 | ||
1156 | local Mus2 = Instance.new("Sound",char) | |
1157 | Mus2.Name = "music" | |
1158 | Mus2.SoundId = "rbxassetid://306547398" | |
1159 | Mus2.Pitch = 1 | |
1160 | Mus2.Volume = 1 | |
1161 | Mus2.Looped = true | |
1162 | Mus2:Play() | |
1163 | ||
1164 | local Mus2 = Instance.new("Sound",char) | |
1165 | Mus2.Name = "music2" | |
1166 | Mus2.SoundId = "rbxassetid://162415955" | |
1167 | Mus2.Pitch = 1 | |
1168 | Mus2.Volume = 1 | |
1169 | Mus2.Looped = true | |
1170 | Mus2:Play() | |
1171 | ||
1172 | local Mus4 = Instance.new("Sound",char) | |
1173 | Mus4.SoundId = "rbxassetid://246259756" | |
1174 | Mus4.Volume = 1.2 | |
1175 | Mus4.Pitch = 1 | |
1176 | Mus4.Looped = true | |
1177 | Mus4:Play() | |
1178 | ||
1179 | ||
1180 | local part = Instance.new("Part",char) | |
1181 | part.Transparency = 0 | |
1182 | part.Size = Vector3.new(0.06, 0.05, 0.05) | |
1183 | local pw = Instance.new("Weld",part) | |
1184 | pw.Part0 = tor | |
1185 | pw.Part1 = part | |
1186 | pw.C1 = CFrame.new(0,2.3,0) | |
1187 | ||
1188 | local fla = Instance.new("ParticleEmitter",part) | |
1189 | fla.Name = "Flame" | |
1190 | fla.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1191 | fla.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1192 | fla.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1193 | fla.LightEmission = 1 | |
1194 | fla.Rate = 2050 | |
1195 | fla.Lifetime = NumberRange.new(2.125) | |
1196 | fla.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1197 | fla.Speed = NumberRange.new(55) | |
1198 | fla.SpreadAngle = Vector2.new(80,80) | |
1199 | ||
1200 | local fla2 = Instance.new("ParticleEmitter",part) | |
1201 | fla2.Name = "Flame" | |
1202 | fla2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1203 | fla2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1204 | fla2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1205 | fla2.LightEmission = 1 | |
1206 | fla2.Rate = 525 | |
1207 | fla2.Lifetime = NumberRange.new(2.100) | |
1208 | fla2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1209 | fla2.Speed = NumberRange.new(50) | |
1210 | fla2.SpreadAngle = Vector2.new(75,75) | |
1211 | ||
1212 | local fla3 = Instance.new("ParticleEmitter",part) | |
1213 | fla3.Name = "Flame" | |
1214 | fla3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1215 | fla3.Texture = "rbxassetid://296874871" | |
1216 | fla3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1217 | fla3.LightEmission = 1 | |
1218 | fla3.Rate = 2050 | |
1219 | fla3.Lifetime = NumberRange.new(2.125) | |
1220 | fla3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1221 | fla3.Speed = NumberRange.new(55) | |
1222 | fla3.SpreadAngle = Vector2.new(80,80) | |
1223 | ||
1224 | local fla4 = Instance.new("ParticleEmitter",part) | |
1225 | fla4.Name = "Flame" | |
1226 | fla4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1227 | fla4.Texture = "rbxassetid://296874871" | |
1228 | fla4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1229 | fla4.LightEmission = 1 | |
1230 | fla4.Rate = 525 | |
1231 | fla4.Lifetime = NumberRange.new(2.100) | |
1232 | fla4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.6,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1233 | fla4.Speed = NumberRange.new(50) | |
1234 | fla4.SpreadAngle = Vector2.new(75,75) | |
1235 | ||
1236 | wait(7.75) | |
1237 | --Fly-- | |
1238 | local truflyposy = chara.Torso.Position.Y+10 | |
1239 | local flyposy = truflyposy | |
1240 | local bodfly = Instance.new("BodyPosition", chara.Torso) | |
1241 | bodfly.Name = "Fly" | |
1242 | bodfly.maxForce = Vector3.new(0,10000,0) | |
1243 | bodfly.Position = Vector3.new(0,flyposy,0) | |
1244 | ||
1245 | rock3 = true | |
1246 | fla.Rate = 0 | |
1247 | fla2.Rate = 0 | |
1248 | ||
1249 | char.Shirt.ShirtTemplate = "rbxassetid://262058940" | |
1250 | char.Pants.PantsTemplate = "rbxassetid://226411010" | |
1251 | ||
1252 | char.LongHair.BrickColor = BrickColor.new("White") | |
1253 | char.Hair1.BrickColor = BrickColor.new("White") | |
1254 | ||
1255 | local mask = Instance.new("Part",char) | |
1256 | mask.Name = "Mask" | |
1257 | mask.Size = Vector3.new(1,1,1) | |
1258 | mask.Transparency = 1 | |
1259 | ||
1260 | local maskm = Instance.new("SpecialMesh",mask) | |
1261 | maskm.MeshId = "rbxassetid://1094770887" | |
1262 | maskm.TextureId = "rbxassetid://1007553403" | |
1263 | maskm.Scale = Vector3.new(1,1,1) | |
1264 | ||
1265 | local maskw = Instance.new("Weld") | |
1266 | maskw.Part0 = hed | |
1267 | maskw.Part1 = mask | |
1268 | maskw.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) | |
1269 | maskw.Parent = mask | |
1270 | ||
1271 | hed.face.Texture = "rbxassetid://1090087827" | |
1272 | ||
1273 | wait() | |
1274 | ||
1275 | for i,v in pairs(char:GetChildren()) do | |
1276 | if v:IsA("MeshPart") or v:IsA("BasePart") and v.Name ~= "Hair1" and v.Name ~= "LongHair" and v.Name ~= "NewPart2" then | |
1277 | v.BrickColor = BrickColor.new("Really black") | |
1278 | end | |
1279 | ||
1280 | end | |
1281 | ||
1282 | local g = Instance.new("ParticleEmitter",tor) | |
1283 | g.Name = "Glow" | |
1284 | g.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1285 | g.Texture = "rbxassetid://296874871" | |
1286 | g.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1287 | g.LightEmission = 1 | |
1288 | g.Rate = 1 | |
1289 | g.Lifetime = NumberRange.new(4) | |
1290 | g.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1291 | g.Speed = NumberRange.new(0.20) | |
1292 | g.Rotation = NumberRange.new(-100,100) | |
1293 | g.ZOffset = 2 | |
1294 | ||
1295 | ||
1296 | local pe = Instance.new("ParticleEmitter",tor) | |
1297 | pe.Name = "Sparks" | |
1298 | pe.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1299 | pe.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1300 | pe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1301 | pe.LightEmission = 1 | |
1302 | pe.Rate = 10 | |
1303 | pe.Lifetime = NumberRange.new(5,10) | |
1304 | pe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1305 | pe.Speed = NumberRange.new(1) | |
1306 | pe.Rotation = NumberRange.new(-100,100) | |
1307 | ||
1308 | ------------------------------------------Arms | |
1309 | local g1 = Instance.new("ParticleEmitter",arm2) | |
1310 | g1.Name = "Glow" | |
1311 | g1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1312 | g1.Texture = "rbxassetid://296874871" | |
1313 | g1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1314 | g1.LightEmission = 1 | |
1315 | g1.Rate = 1 | |
1316 | g1.Lifetime = NumberRange.new(4) | |
1317 | g1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1318 | g1.Speed = NumberRange.new(0.05) | |
1319 | g1.Rotation = NumberRange.new(-100,100) | |
1320 | g1.ZOffset = 2 | |
1321 | ||
1322 | local pe1 = Instance.new("ParticleEmitter",arm2) | |
1323 | pe1.Name = "Sparks" | |
1324 | pe1.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1325 | pe1.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1326 | pe1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1327 | pe1.LightEmission = 1 | |
1328 | pe1.Rate = 10 | |
1329 | pe1.Lifetime = NumberRange.new(5,10) | |
1330 | pe1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1331 | pe1.Speed = NumberRange.new(1) | |
1332 | pe1.Rotation = NumberRange.new(-100,100) | |
1333 | ||
1334 | --------------------------------------------- | |
1335 | local g2 = Instance.new("ParticleEmitter",arm1) | |
1336 | g2.Name = "Glow" | |
1337 | g2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1338 | g2.Texture = "rbxassetid://296874871" | |
1339 | g2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1340 | g2.LightEmission = 1 | |
1341 | g2.Rate = 1 | |
1342 | g2.Lifetime = NumberRange.new(4) | |
1343 | g2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1344 | g2.Speed = NumberRange.new(0.05) | |
1345 | g2.Rotation = NumberRange.new(-100,100) | |
1346 | g2.ZOffset = 2 | |
1347 | ||
1348 | local pe2 = Instance.new("ParticleEmitter",arm1) | |
1349 | pe2.Name = "Sparks" | |
1350 | pe2.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1351 | pe2.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1352 | pe2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1353 | pe2.LightEmission = 1 | |
1354 | pe2.Rate = 10 | |
1355 | pe2.Lifetime = NumberRange.new(5,10) | |
1356 | pe2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1357 | pe2.Speed = NumberRange.new(1) | |
1358 | pe2.Rotation = NumberRange.new(-100,100) | |
1359 | ||
1360 | -------------------------------------------Legs | |
1361 | local g3 = Instance.new("ParticleEmitter",leg2) | |
1362 | g3.Name = "Glow" | |
1363 | g3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1364 | g3.Texture = "rbxassetid://296874871" | |
1365 | g3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1366 | g3.LightEmission = 1 | |
1367 | g3.Rate = 1 | |
1368 | g3.Lifetime = NumberRange.new(4) | |
1369 | g3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1370 | g3.Speed = NumberRange.new(0.05) | |
1371 | g3.Rotation = NumberRange.new(-100,100) | |
1372 | g3.ZOffset = 2 | |
1373 | ||
1374 | local pe3 = Instance.new("ParticleEmitter",leg2) | |
1375 | pe3.Name = "Sparks" | |
1376 | pe3.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1377 | pe3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1378 | pe3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1379 | pe3.LightEmission = 1 | |
1380 | pe3.Rate = 10 | |
1381 | pe3.Lifetime = NumberRange.new(5,10) | |
1382 | pe3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1383 | pe3.Speed = NumberRange.new(1) | |
1384 | pe3.Rotation = NumberRange.new(-100,100) | |
1385 | ------------------------------------------- | |
1386 | local g4 = Instance.new("ParticleEmitter",leg1) | |
1387 | g4.Name = "Glow" | |
1388 | g4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1389 | g4.Texture = "rbxassetid://296874871" | |
1390 | g4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1391 | g4.LightEmission = 1 | |
1392 | g4.Rate = 1 | |
1393 | g4.Lifetime = NumberRange.new(4) | |
1394 | g4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.9,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1395 | g4.Speed = NumberRange.new(0.05) | |
1396 | g4.Rotation = NumberRange.new(-100,100) | |
1397 | g4.ZOffset = 2 | |
1398 | ||
1399 | local pe4 = Instance.new("ParticleEmitter",leg1) | |
1400 | pe4.Name = "Sparks" | |
1401 | pe4.Color = ColorSequence.new(Color3.new(0,255,0),Color3.new(0,0,0)) | |
1402 | pe4.Texture = "rbxasset://textures/particles/fire_main.dds" | |
1403 | pe4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1404 | pe4.LightEmission = 1 | |
1405 | pe4.Rate = 10 | |
1406 | pe4.Lifetime = NumberRange.new(5,10) | |
1407 | pe4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1408 | pe4.Speed = NumberRange.new(1) | |
1409 | pe4.Rotation = NumberRange.new(-100,100) | |
1410 | ||
1411 | local fall = Instance.new("Part",game.Workspace) | |
1412 | fall.Name = "RainFall" | |
1413 | fall.Position = Vector3.new(0, 171.65, 0) | |
1414 | fall.Size = Vector3.new(512, 20, 512) | |
1415 | fall.BrickColor = BrickColor.new("Medium stone grey") | |
1416 | fall.Material = Enum.Material.SmoothPlastic | |
1417 | fall.Anchored = true | |
1418 | fall.CanCollide = false | |
1419 | fall.Transparency = 0 | |
1420 | ||
1421 | local CloudMesh = Instance.new('SpecialMesh',fall) | |
1422 | CloudMesh.Scale = Vector3.new(500,250,500) | |
1423 | CloudMesh.MeshId = "http://www.roblox.com/asset/?id=1095708" | |
1424 | CloudMesh.Offset = Vector3.new(0,0.9,0) | |
1425 | ||
1426 | local Rain = Instance.new('ParticleEmitter',fall) | |
1427 | Rain.Name = "rain1" | |
1428 | Rain.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1429 | Rain.Size = NumberSequence.new(10) | |
1430 | Rain.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1431 | Rain.Transparency = NumberSequence.new(-1) | |
1432 | Rain.Acceleration = Vector3.new(0,-150,0) | |
1433 | Rain.Lifetime = NumberRange.new(50,100) | |
1434 | Rain.Rate = math.huge | |
1435 | Rain.EmissionDirection = Enum.NormalId.Bottom | |
1436 | ||
1437 | local Rain2 = Instance.new('ParticleEmitter',fall) | |
1438 | Rain2.Name = "rain2" | |
1439 | Rain2.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1440 | Rain2.Size = NumberSequence.new(20) | |
1441 | Rain2.Texture = "http://www.roblox.com/asset/?id=242121575" | |
1442 | Rain2.Transparency = NumberSequence.new(-1) | |
1443 | Rain2.Acceleration = Vector3.new(0,-150,0) | |
1444 | Rain2.Lifetime = NumberRange.new(50,100) | |
1445 | Rain2.Rate = math.huge | |
1446 | Rain2.EmissionDirection = Enum.NormalId.Bottom | |
1447 | ||
1448 | local RainSound = Instance.new('Sound',fall) | |
1449 | RainSound.Name = "audio" | |
1450 | RainSound.SoundId = "rbxassetid://111816866" | |
1451 | RainSound.Looped = true | |
1452 | RainSound:Play() | |
1453 | ||
1454 | local Rain3 = Instance.new('ParticleEmitter',game.Workspace) | |
1455 | Rain3.Name = "rain1" | |
1456 | Rain3.Color = ColorSequence.new(Color3.new(252,250,255),Color3.fromRGB(252,255,250)) | |
1457 | Rain3.Size = NumberSequence.new(1) | |
1458 | Rain3.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1459 | Rain3.Transparency = NumberSequence.new(-5) | |
1460 | Rain3.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1461 | Rain3.Lifetime = NumberRange.new(1,5) | |
1462 | Rain3.Speed = NumberRange.new(0) | |
1463 | Rain3.SpreadAngle = Vector2.new(0,0) | |
1464 | Rain3.Rate = 100.9 | |
1465 | Rain3.LockedToPart = true | |
1466 | ||
1467 | local Rain4 = Instance.new('ParticleEmitter',game.Workspace) | |
1468 | Rain4.Name = "rain2" | |
1469 | Rain4.Color = ColorSequence.new(Color3.new(250,252,255),Color3.fromRGB(255,250,252)) | |
1470 | Rain4.Size = NumberSequence.new(1) | |
1471 | Rain4.Texture = "http://www.roblox.com/asset/?id=242121500" | |
1472 | Rain4.Transparency = NumberSequence.new(-5) | |
1473 | Rain4.Acceleration = Vector3.new(2.5,2.5,2.5) | |
1474 | Rain4.Lifetime = NumberRange.new(1,5) | |
1475 | Rain4.Speed = NumberRange.new(0) | |
1476 | Rain4.SpreadAngle = Vector2.new(0,0) | |
1477 | Rain4.Rate = 100.9 | |
1478 | Rain4.LockedToPart = true | |
1479 | ||
1480 | for _,v in pairs(game.Workspace:GetChildren()) do | |
1481 | if v.Name == "Baseplate" or v.Name == "Base" then | |
1482 | Rain3.Parent = v | |
1483 | Rain4.Parent = v | |
1484 | end | |
1485 | end | |
1486 | ||
1487 | local sky = Instance.new("Sky",game.Lighting) | |
1488 | sky.CelestialBodiesShown = true | |
1489 | sky.MoonAngularSize = 15 | |
1490 | sky.MoonTextureId = "rbxasset://sky/moon.jpg" | |
1491 | sky.SkyboxBk = "rbxassetid://566611187" | |
1492 | sky.SkyboxDn = "rbxassetid://566613198" | |
1493 | sky.SkyboxFt = "rbxassetid://566611142" | |
1494 | sky.SkyboxLf = "rbxassetid://566611266" | |
1495 | sky.SkyboxRt = "rbxassetid://566611300" | |
1496 | sky.SkyboxUp = "rbxassetid://566611218" | |
1497 | sky.StarCount = 3000 | |
1498 | sky.SunAngularSize = 25 | |
1499 | sky.SunTextureId = "rbxasset://sky/sun.jpg" | |
1500 | sky.Name = "HumanityRain" | |
1501 | ||
1502 | char.Humanoid.WalkSpeed = 125.175 | |
1503 | char.Humanoid.JumpPower = 150.199 | |
1504 | ||
1505 | char.audio:Stop() | |
1506 | char.audio:Remove() | |
1507 | ||
1508 | being = false | |
1509 | GroundShake = false | |
1510 | rock3 = true | |
1511 | wait(.5) | |
1512 | rock = false | |
1513 | ||
1514 | fla3.Rate = 0 | |
1515 | fla4.Rate = 0 | |
1516 | ||
1517 | end | |
1518 | ||
1519 | mouse.KeyDown:connect(function(key) | |
1520 | if key == "q" and emoed == false and being == false and transformed == false then | |
1521 | emo() | |
1522 | end | |
1523 | end) | |
1524 | ||
1525 | mouse.KeyDown:connect(function(key) | |
1526 | if key == "e" and emoed == true and being == false and transformed == false then | |
1527 | transform() | |
1528 | end | |
1529 | end) | |
1530 | ||
1531 | mouse.KeyDown:connect(function(key) | |
1532 | if key == "r" and emoed == true and being == false and transformed == true and antihuman == false then | |
1533 | antihumaned() | |
1534 | end | |
1535 | end) | |
1536 | ||
1537 | mouse.KeyDown:connect(function(key) | |
1538 | if key == "f" and emoed == true and being == false and transformed == true and antihuman == true and dehuman == false then | |
1539 | dehumaned() | |
1540 | end | |
1541 | end) | |
1542 | --[[SCRIPT NAME]]-- | |
1543 | --[[ | |
1544 | ||
1545 | Move List | |
1546 | ||
1547 | ||
1548 | --]] | |
1549 | local plr = game.Players.LocalPlayer | |
1550 | local char = plr.Character | |
1551 | local mouse = plr:GetMouse() | |
1552 | local torso = char.Torso | |
1553 | local rs = torso["Right Shoulder"] | |
1554 | local ls = torso["Left Shoulder"] | |
1555 | local rh = torso["Right Hip"] | |
1556 | local lh = torso["Left Hip"] | |
1557 | local rj = char.HumanoidRootPart.RootJoint | |
1558 | local neck = torso.Neck | |
1559 | local animpose = "Idle" | |
1560 | local attacking = false | |
1561 | local cananim = true | |
1562 | local rage = false | |
1563 | local shield = nil | |
1564 | local sprint = false | |
1565 | local canrage = true | |
1566 | local legs = false | |
1567 | local bc = char:WaitForChild("Body Colors") | |
1568 | local multiplier = 1 | |
1569 | local lac = char["Body Colors"].LeftArmColor | |
1570 | local rac = char["Body Colors"].RightArmColor | |
1571 | local rlc = char["Body Colors"].RightArmColor | |
1572 | local llc = char["Body Colors"].LeftLegColor | |
1573 | local hc = char["Body Colors"].HeadColor | |
1574 | local tc = char["Body Colors"].TorsoColor | |
1575 | local humanoid = char:FindFirstChildOfClass("Humanoid") | |
1576 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
1577 | ||
1578 | function legsonly() | |
1579 | spawn(function() | |
1580 | for i = 0, 10 do | |
1581 | wait(0.001) | |
1582 | if attacking then break end | |
1583 | end | |
1584 | if not attacking then | |
1585 | legs = false | |
1586 | end | |
1587 | end) | |
1588 | end | |
1589 | function swait(t) | |
1590 | if t == nil or t == 0 then | |
1591 | game:service('RunService').Stepped:wait(0) | |
1592 | else | |
1593 | for i = 0, t do | |
1594 | game:service('RunService').Stepped:wait(0) | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | function hurt(hit, dmg) | |
1599 | if hit.Parent then | |
1600 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
1601 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1602 | if hum then | |
1603 | if hum.Parent.Name ~= plr.Name then | |
1604 | if dmg == "Kill" or hum.Health > 100000 then | |
1605 | hit.Parent:BreakJoints() | |
1606 | return true | |
1607 | else | |
1608 | if math.random(0, 100) == 50 then | |
1609 | hum.Health = hum.Health - dmg*multiplier*2.5 | |
1610 | else | |
1611 | hum.Health = hum.Health -dmg*multiplier | |
1612 | end | |
1613 | return true | |
1614 | end | |
1615 | end | |
1616 | end | |
1617 | end | |
1618 | end | |
1619 | function getparent() | |
1620 | local par = workspace | |
1621 | if workspace:FindFirstChild("Base") then | |
1622 | par = workspace.Base | |
1623 | end | |
1624 | return par | |
1625 | end | |
1626 | function soundeffect(id, volume, speed, parent) | |
1627 | spawn(function() | |
1628 | local s = Instance.new("Sound") | |
1629 | s.SoundId = id | |
1630 | s.Volume = volume | |
1631 | s.PlaybackSpeed = speed | |
1632 | s.Parent = parent | |
1633 | s:Play() | |
1634 | repeat wait() until not s.Playing | |
1635 | s:Destroy() | |
1636 | end) | |
1637 | end | |
1638 | function gethum(obj) | |
1639 | if obj.Parent then | |
1640 | if obj.Parent:FindFirstChild("Humanoid") then | |
1641 | if obj.Parent.Name ~= plr.Name then | |
1642 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | function smooth(obj) | |
1648 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
1649 | for i,v in pairs(sides) do | |
1650 | obj[v.."Surface"] = "SmoothNoOutlines" | |
1651 | end | |
1652 | end | |
1653 | function fade(obj, dest, grow) | |
1654 | spawn(function() | |
1655 | local oldcf = obj.CFrame | |
1656 | for i = 0, 10 do | |
1657 | if grow then | |
1658 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
1659 | obj.CFrame = oldcf | |
1660 | end | |
1661 | obj.Transparency = obj.Transparency +0.1 | |
1662 | swait() | |
1663 | end | |
1664 | if dest then | |
1665 | obj:Destroy() | |
1666 | end | |
1667 | end) | |
1668 | end | |
1669 | function hand() | |
1670 | local mod = Instance.new("Model") | |
1671 | mod.Name = "Hand" | |
1672 | item1 = Instance.new('Part') | |
1673 | item1.BrickColor = BrickColor.new('Really black') | |
1674 | item1.Material = Enum.Material.Marble | |
1675 | item1.Reflectance = 0 | |
1676 | item1.Transparency = 0 | |
1677 | item1.Name = 'Part0101' | |
1678 | item1.Anchored = false | |
1679 | item1.CanCollide = false | |
1680 | item1.Locked = true | |
1681 | item1.Size = Vector3.new(0.599999964, 0.600000024, 0.699999988) smooth(item1) | |
1682 | item1.Parent = mod | |
1683 | item2 = Instance.new('SpecialMesh') | |
1684 | item2.Name = 'Mesh' | |
1685 | item2.MeshType = "Sphere" | |
1686 | item2.MeshId = '' | |
1687 | item2.Scale = Vector3.new(1, 1, 1) | |
1688 | item2.Parent = mod.Part0101 | |
1689 | item3 = Instance.new('Part') | |
1690 | item3.BrickColor = BrickColor.new('Institutional white') | |
1691 | item3.Material = Enum.Material.Marble | |
1692 | item3.Reflectance = 0 | |
1693 | item3.Transparency = 0 | |
1694 | item3.Name = 'Part2323' | |
1695 | item3.Anchored = false | |
1696 | item3.CanCollide = false | |
1697 | item3.Locked = true | |
1698 | item3.Size = Vector3.new(0.49999994, 0.800000012, 0.5) smooth(item3) | |
1699 | item3.Parent = mod | |
1700 | item4 = Instance.new('SpecialMesh') | |
1701 | item4.Name = 'Mesh' | |
1702 | item4.MeshId = '' | |
1703 | item4.MeshType = "Sphere" | |
1704 | item4.Scale = Vector3.new(1, 1, 1) | |
1705 | item4.Parent = mod.Part2323 | |
1706 | item5 = Instance.new('Part') | |
1707 | item5.BrickColor = BrickColor.new('Institutional white') | |
1708 | item5.Material = Enum.Material.Marble | |
1709 | item5.Reflectance = 0 | |
1710 | item5.Transparency = 0 | |
1711 | item5.Name = 'Part4545' | |
1712 | item5.Anchored = false | |
1713 | item5.CanCollide = false | |
1714 | item5.Locked = true | |
1715 | item5.Size = Vector3.new(0.99999994, 1.20000005, 0.5) smooth(item5) | |
1716 | item5.Parent = mod | |
1717 | item6 = Instance.new('SpecialMesh') | |
1718 | item6.Name = 'Mesh' | |
1719 | item6.MeshType = "Sphere" | |
1720 | item6.MeshId = '' | |
1721 | item6.Scale = Vector3.new(1, 1, 1) | |
1722 | item6.Parent = mod.Part4545 | |
1723 | item7 = Instance.new('Weld') | |
1724 | item7.Name = 'Weld' | |
1725 | item7.Part0 = mod.Part2323 | |
1726 | item7.Part1 = mod.Part0101 | |
1727 | item7.C0 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1728 | item7.C1 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1729 | item7.Parent = mod.Part2323 | |
1730 | item8 = Instance.new('Weld') | |
1731 | item8.Name = 'Weld' | |
1732 | item8.Part0 = mod.Part4545 | |
1733 | item8.Part1 = mod.Part2323 | |
1734 | item8.C0 = CFrame.new(16.5000019, -1.70000005, -120.75, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1735 | item8.C1 = CFrame.new(13.2298317, 10.644496, -120.75, 0.707106709, -0.707106769, 0, 0.707106769, 0.707106709, 0, 0, 0, 1) | |
1736 | item8.Parent = mod.Part4545 | |
1737 | for i,v in pairs(mod:children()) do | |
1738 | v.Anchored = false | |
1739 | end | |
1740 | return mod | |
1741 | end | |
1742 | local eagain = false | |
1743 | local vis = false | |
1744 | mouse.KeyDown:connect(function(key) | |
1745 | if key == "c" and not attacking then | |
1746 | attacking = true | |
1747 | local h = hand() | |
1748 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1749 | h.Parent = workspace | |
1750 | h.Part0101.Anchored = true | |
1751 | local bp = Instance.new("BodyPosition") | |
1752 | bp.MaxForce = huge | |
1753 | bp.P = 10000 | |
1754 | h.Part0101.Anchored = false | |
1755 | h.Part0101.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,math.rad(0)) | |
1756 | bp.Parent = h.Part0101 | |
1757 | local last | |
1758 | local exps = {} | |
1759 | repeat wait() | |
1760 | if attacking and h and bp then | |
1761 | if last then last:Destroy() end | |
1762 | if bp.Position == Vector3.new(0,0,0) then | |
1763 | h.Part0101.CFrame = char.Torso.CFrame | |
1764 | end | |
1765 | local pa = workspace | |
1766 | if workspace:FindFirstChild("Base") then | |
1767 | pa = workspace.Base | |
1768 | end | |
1769 | bp.Position = (char.Torso.CFrame*CFrame.new(5,10,0)).p | |
1770 | mouse.TargetFilter = h | |
1771 | h.Part0101.CFrame = CFrame.new(h.Part0101.CFrame.p, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
1772 | mouse.TargetFilter = nil | |
1773 | local ray = Ray.new(h.Part0101.CFrame.p, (mouse.Hit.p-h.Part0101.Position).unit * 500) | |
1774 | local ig = {char, h} | |
1775 | for i,v in pairs(exps) do | |
1776 | table.insert(ig, v) | |
1777 | end | |
1778 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, ig) | |
1779 | local p = Instance.new("Part") | |
1780 | p.Anchored = true | |
1781 | smooth(p) | |
1782 | p.Material = "Neon" | |
1783 | p.CanCollide = false | |
1784 | p.Size = Vector3.new(1,1,1) | |
1785 | p.CFrame = CFrame.new(pos) | |
1786 | local m = Instance.new("SpecialMesh") | |
1787 | m.MeshType = "Sphere" | |
1788 | table.insert(exps, p) | |
1789 | m.Parent = p | |
1790 | p.Parent = pa | |
1791 | local mag = (h.Part0101.Position-pos).magnitude | |
1792 | local p = Instance.new("Part") | |
1793 | p.Anchored = false | |
1794 | p.CanCollide = false | |
1795 | smooth(p) | |
1796 | p.Material = "Neon" | |
1797 | p.Size = Vector3.new(0.4,0.4,mag) | |
1798 | p.CFrame = h.Part0101.CFrame | |
1799 | p.CFrame = p.CFrame *CFrame.new(0,0,mag/2) | |
1800 | local b = Instance.new("BodyPosition") | |
1801 | b.MaxForce = huge | |
1802 | b.Position = p.Position | |
1803 | b.Parent = p | |
1804 | p.Parent = pa | |
1805 | p.Touched:connect(function(hit) | |
1806 | hurt(hit, 10) | |
1807 | end) | |
1808 | if hit then | |
1809 | soundeffect("rbxassetid://340722848", 0.2, 3, h.Part0101) | |
1810 | end | |
1811 | last = p | |
1812 | for i,v in pairs(exps) do | |
1813 | v.Transparency = v.Transparency + 0.1 | |
1814 | local l = v.CFrame | |
1815 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1816 | v.CFrame = l | |
1817 | if v.Transparency >= 1 then | |
1818 | v:Destroy() | |
1819 | end | |
1820 | end | |
1821 | end | |
1822 | until not attacking | |
1823 | if last then | |
1824 | fade(last, true) | |
1825 | for i,v in pairs(h:children()) do | |
1826 | fade(v, true) | |
1827 | game.Debris:AddItem(h, 1) | |
1828 | end | |
1829 | end | |
1830 | repeat swait() | |
1831 | for i,v in pairs(exps) do | |
1832 | v.Transparency = v.Transparency + 0.1 | |
1833 | local l = v.CFrame | |
1834 | v.Size = v.Size + Vector3.new(0.2,0.2,0.2) | |
1835 | v.CFrame = l | |
1836 | if v.Transparency >= 1 then | |
1837 | v:Destroy() | |
1838 | end | |
1839 | end | |
1840 | until #exps <= 0 | |
1841 | end | |
1842 | local aaaaa = false | |
1843 | if key == "z" and not attacking then | |
1844 | aaaaa = true | |
1845 | attacking = true | |
1846 | local h = hand() | |
1847 | local part = h.Part0101 | |
1848 | part.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(180),0,0) | |
1849 | local pa = workspace | |
1850 | if workspace:FindFirstChild("Base") then | |
1851 | pa = workspace.Base | |
1852 | end | |
1853 | h.Parent = pa | |
1854 | part.CFrame = char.Torso.CFrame | |
1855 | local bp = Instance.new("BodyPosition") | |
1856 | bp.MaxForce = huge | |
1857 | bp.Position = mouse.Hit.p | |
1858 | part.CFrame = CFrame.new(part.Position, mouse.Hit.p) *CFrame.Angles(math.rad(180),0,0) | |
1859 | bp.Parent = part | |
1860 | local touched = false | |
1861 | local weld | |
1862 | part.Touched:connect(function(hit) | |
1863 | if gethum(hit) then | |
1864 | if hit.Parent:FindFirstChild("Torso") then | |
1865 | h.Parent = hit.Parent | |
1866 | local w = Instance.new("Weld") | |
1867 | w.Part0 = hit.Parent.Torso | |
1868 | w.Part1 = part | |
1869 | w.C0 = CFrame.new(0,0,-0.7) *CFrame.Angles(math.rad(180),0,0) | |
1870 | w.Parent = part | |
1871 | touched = true | |
1872 | weld = w | |
1873 | end | |
1874 | end | |
1875 | end) | |
1876 | spawn(function() | |
1877 | wait(2) | |
1878 | if not touched then | |
1879 | attacking = false | |
1880 | end | |
1881 | end) | |
1882 | repeat wait() | |
1883 | ||
1884 | until (mouse.Hit.p-part.Position).magnitude < 5 or touched | |
1885 | wait(0.5) | |
1886 | if not touched then | |
1887 | for i = 1, 10 do | |
1888 | for i,v in pairs(h:children()) do | |
1889 | v.Transparency = v.Transparency + 0.1 | |
1890 | end | |
1891 | swait() | |
1892 | end | |
1893 | h:Destroy() | |
1894 | else | |
1895 | attacking = true | |
1896 | local mag = (char.Torso.Position-mouse.Hit.p).magnitude | |
1897 | if mag > 50 then | |
1898 | mag = 50 | |
1899 | end | |
1900 | local i = 0 | |
1901 | repeat wait() | |
1902 | i = i + 1 | |
1903 | if i == 100 then | |
1904 | eagain = true | |
1905 | end | |
1906 | mouse.TargetFilter = h.Parent | |
1907 | bp.Position = (CFrame.new(char.Torso.Position, mouse.Hit.p) *CFrame.new(0,0,-mag)).p | |
1908 | mouse.TargetFilter = nil | |
1909 | part.CFrame = CFrame.new(part.Position, char.Torso.Position) | |
1910 | until eagain | |
1911 | local en = part.CFrame *CFrame.new(0,0,-5) | |
1912 | for i = 0, 0.7, 0.1 do | |
1913 | part.CFrame = part.CFrame:Lerp(en, 0.5) | |
1914 | wait() | |
1915 | end | |
1916 | if weld then | |
1917 | local obj = weld.Part0 | |
1918 | weld:Destroy() | |
1919 | part.Anchored = true | |
1920 | local bv = Instance.new("BodyVelocity") | |
1921 | bv.MaxForce = huge | |
1922 | mouse.TargetFilter = h.Parent | |
1923 | bv.Velocity = CFrame.new(char.Torso.Position, mouse.Hit.p).lookVector*100 | |
1924 | mouse.TargetFilter = nil | |
1925 | bv.Parent = obj | |
1926 | game.Debris:AddItem(obj, 0.5) | |
1927 | eagain = false | |
1928 | attacking = false | |
1929 | for i = 1, 10 do | |
1930 | for i,v in pairs(h:children()) do | |
1931 | v.Transparency = v.Transparency + 0.1 | |
1932 | end | |
1933 | swait() | |
1934 | end | |
1935 | h:Destroy() | |
1936 | end | |
1937 | end | |
1938 | end | |
1939 | if key == "j" and not eagain and not aaaaa then | |
1940 | eagain = true | |
1941 | end | |
1942 | if key == "x" and not attacking then | |
1943 | local p = Instance.new("Part") | |
1944 | p.Anchored = true | |
1945 | p.CanCollide = false | |
1946 | p.BrickColor = BrickColor.new("Institutional white") | |
1947 | local size = Vector3.new(75.699, 105.576, 50) | |
1948 | p.Size = size*0.07 | |
1949 | p.Transparency = 1.3 | |
1950 | p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-10,10),-5,6) | |
1951 | local m = Instance.new("SpecialMesh") | |
1952 | m.MeshId = "rbxassetid://685461636" | |
1953 | m.Scale = Vector3.new(0.07,0.07,0.07) | |
1954 | m.Parent = p | |
1955 | local e = p.CFrame *CFrame.new(0,20,0) | |
1956 | p.Parent = getparent() | |
1957 | local dir = CFrame.new(char.Torso.CFrame.p, mouse.Hit.p).lookVector | |
1958 | for i = 0, 1, 0.1 do | |
1959 | p.Transparency = p.Transparency - 0.1 | |
1960 | p.CFrame = p.CFrame:Lerp(CFrame.new(e.p, e.p+dir), 0.5) | |
1961 | wait() | |
1962 | end | |
1963 | wait(0.2) | |
1964 | soundeffect("rbxassetid://340722848", 5, 1, char.Torso) | |
1965 | local start = p.CFrame*CFrame.new(0,0,-2) | |
1966 | mouse.TargetFilter = char | |
1967 | local s = mouse.Hit | |
1968 | local dir = CFrame.new(start.p, s.p).lookVector | |
1969 | local ray = Ray.new(start.p, (mouse.Hit.p-start.p).unit * 500) | |
1970 | local tbl = {char, p} | |
1971 | if getparent().Name == "Base" then | |
1972 | for i,v in pairs(getparent():children()) do | |
1973 | table.insert(tbl, v) | |
1974 | end | |
1975 | end | |
1976 | local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, tbl) | |
1977 | local mag = (start.p-mouse.Hit.p).magnitude | |
1978 | local part = p | |
1979 | local p = Instance.new("Part") | |
1980 | smooth(p) | |
1981 | p.Material = "Neon" | |
1982 | p.Anchored = true | |
1983 | p.CanCollide = false | |
1984 | p.CFrame = start | |
1985 | p.Size = Vector3.new(mag,5,5) | |
1986 | p.CFrame = CFrame.new(start.p, start.p+dir) *CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) *CFrame.new(mag/2,0,0) | |
1987 | local m = Instance.new("SpecialMesh") | |
1988 | mouse.TargetFilter = nil | |
1989 | m.MeshType = "Cylinder" | |
1990 | m.Parent = p | |
1991 | p.Parent = char | |
1992 | p.Touched:connect(function(hit) | |
1993 | hurt(hit, 50) | |
1994 | end) | |
1995 | for i = 1, 10 do | |
1996 | local b = p.CFrame | |
1997 | p.Size = p.Size +Vector3.new(0.1,0.1,0.1) | |
1998 | p.CFrame = b | |
1999 | p.Transparency = p.Transparency + 0.1 | |
2000 | part.Transparency = part.Transparency + 0.1 | |
2001 | wait() | |
2002 | end | |
2003 | p:Destroy() | |
2004 | part:Destroy() | |
2005 | end | |
2006 | if key == "t" and not attacking then | |
2007 | ||
2008 | end | |
2009 | if key == "c" then | |
2010 | if vis then | |
2011 | vis = false | |
2012 | for i,v in pairs(me:children()) do | |
2013 | if v:IsA("Decal") then | |
2014 | v.Transparency = 1 | |
2015 | humanoid.WalkSpeed = 100 | |
2016 | end | |
2017 | end | |
2018 | else | |
2019 | vis = true | |
2020 | for i,v in pairs(me:children()) do | |
2021 | if v:IsA("Decal") then | |
2022 | v.Transparency = 0 | |
2023 | humanoid.WalkSpeed = 16 | |
2024 | end | |
2025 | end | |
2026 | end | |
2027 | end | |
2028 | end) | |
2029 | mouse.KeyUp:connect(function(key) | |
2030 | if key == "v" and attacking then | |
2031 | attacking = false | |
2032 | end | |
2033 | end) |