SHOW:
|
|
- or go back to the newest paste.
1 | p = game.Players.LocalPlayer | |
2 | - | char = p.Character |
2 | + | char = game.Players.LocalPlayer.Character |
3 | - | local char = p.Character |
3 | + | local char = game.Players.LocalPlayer.Character |
4 | torso = char.Torso | |
5 | neck = char.Torso.Neck | |
6 | hum = char.Humanoid | |
7 | Player = game:GetService("Players").LocalPlayer | |
8 | Character = game.Players.LocalPlayer.Character | |
9 | tors = Character.Torso | |
10 | root = Character.HumanoidRootPart | |
11 | lleg = Character["Left Leg"] | |
12 | hed = Character.Head | |
13 | rleg = Character["Right Leg"] | |
14 | rarm = Character["Right Arm"] | |
15 | larm = Character["Left Arm"] | |
16 | ||
17 | ypcall(function() | |
18 | for i,v in pairs(Character:children()) do | |
19 | if v:IsA("Hat") then | |
20 | v:Destroy() | |
21 | end | |
22 | end | |
23 | for i,v in pairs(Character:children()) do | |
24 | if v:IsA("Accessory") then | |
25 | v:Destroy() | |
26 | end | |
27 | end | |
28 | for i,v in pairs(Character:children()) do | |
29 | if v:IsA("Hair") then | |
30 | v:Destroy() | |
31 | end | |
32 | end | |
33 | end) | |
34 | ||
35 | CV="Hot pink" | |
36 | ||
37 | local txt = Instance.new("BillboardGui", char) | |
38 | txt.Adornee = char .Head | |
39 | txt.Name = "_status" | |
40 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
41 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
42 | local text = Instance.new("TextLabel", txt) | |
43 | text.Size = UDim2.new(10, 0, 7, 0) | |
44 | text.FontSize = "Size24" | |
45 | text.TextScaled = true | |
46 | text.TextTransparency = 0 | |
47 | text.BackgroundTransparency = 1 | |
48 | text.TextTransparency = 0 | |
49 | text.TextStrokeTransparency = 0 | |
50 | text.Font = "Highway" | |
51 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
52 | ||
53 | v=Instance.new("Part") | |
54 | v.Name = "ColorBrick" | |
55 | v.Parent=p.Character | |
56 | v.FormFactor="Symmetric" | |
57 | v.Anchored=true | |
58 | v.CanCollide=false | |
59 | v.BottomSurface="Smooth" | |
60 | v.TopSurface="Smooth" | |
61 | v.Size=Vector3.new(10,5,3) | |
62 | v.Transparency=1 | |
63 | v.CFrame=char.Torso.CFrame | |
64 | v.BrickColor=BrickColor.new(CV) | |
65 | v.Transparency=1 | |
66 | text.TextColor3 = BrickColor.new("Deep orange").Color | |
67 | v.Shape="Block" | |
68 | text.Text = "Sun God" | |
69 | ||
70 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
71 | hed.Transparency = 1 | |
72 | rleg.Transparency = 1 | |
73 | rarm.Transparency = 1 | |
74 | larm.Transparency = 1 | |
75 | lleg.Transparency = 1 | |
76 | tors.Transparency = 1 | |
77 | ||
78 | Player = game:GetService("Players").LocalPlayer | |
79 | Character = Player.Character | |
80 | rarm = Character["Right Arm"] | |
81 | larm = Character["Left Arm"] | |
82 | vt = Vector3.new | |
83 | bc = BrickColor.new | |
84 | wit = bc("Deep orange").Color | |
85 | ||
86 | local prth = Instance.new("Part",Character) | |
87 | prth.Size = vt(1.25,1.25,1.25) | |
88 | prth.CanCollide = false | |
89 | prth.Material = "Neon" | |
90 | prth.Transparency = 0.5 | |
91 | prth.BrickColor = bc("Deep orange") | |
92 | local wldh = Instance.new("Weld",Character) | |
93 | wldh.Part0 = hed | |
94 | wldh.Part1 = prth | |
95 | ||
96 | local prtrm = Instance.new("Part",Character) | |
97 | prtrm.Size = vt(2.1,2.1,1.1) | |
98 | prtrm.CanCollide = false | |
99 | prtrm.Transparency = 0.5 | |
100 | prtrm.Material = "Neon" | |
101 | prtrm.BrickColor = bc("Deep orange") | |
102 | local wldm = Instance.new("Weld",Character) | |
103 | wldm.Part0 = root | |
104 | wldm.Part1 = prtrm | |
105 | ||
106 | local prtr = Instance.new("Part",Character) | |
107 | prtr.Size = vt(1.1,2.1,1.1) | |
108 | prtr.CanCollide = false | |
109 | prtr.Transparency = 0.5 | |
110 | prtr.Material = "Neon" | |
111 | prtr.BrickColor = bc("Deep orange") | |
112 | local prtrl = Instance.new("Part",Character) | |
113 | prtrl.Size = vt(1.1,2.1,1.1) | |
114 | prtrl.CanCollide = false | |
115 | prtrl.Transparency = 0.5 | |
116 | prtrl.Material = "Neon" | |
117 | prtrl.BrickColor = bc("Deep orange") | |
118 | local eff = Instance.new("ParticleEmitter",prtr) | |
119 | eff.LightEmission = 1 | |
120 | eff.Texture = "rbxassetid://284205403" | |
121 | eff.Color = ColorSequence.new(wit) | |
122 | eff.Size = NumberSequence.new(0.5,1) | |
123 | eff.Acceleration = vt(0,25,0) | |
124 | eff.Speed = NumberRange.new(-5) | |
125 | eff.LockedToPart = false | |
126 | eff.Transparency = NumberSequence.new(0.95) | |
127 | eff.Lifetime = NumberRange.new(0.5) | |
128 | eff.Rate = 100000 | |
129 | eff.VelocitySpread = 25 | |
130 | local wld = Instance.new("Weld",Character) | |
131 | wld.Part0 = rarm | |
132 | wld.Part1 = prtr | |
133 | local wldl = Instance.new("Weld",Character) | |
134 | wldl.Part0 = rleg | |
135 | wldl.Part1 = prtrl | |
136 | ||
137 | local prtr2 = Instance.new("Part",Character) | |
138 | prtr2.Size = vt(1.1,2.1,1.1) | |
139 | prtr2.CanCollide = false | |
140 | prtr2.Transparency = 0.5 | |
141 | prtr2.Material = "Neon" | |
142 | prtr2.BrickColor = bc("Deep orange") | |
143 | local prtrl2 = Instance.new("Part",Character) | |
144 | prtrl2.Size = vt(1.1,2.1,1.1) | |
145 | prtrl2.CanCollide = false | |
146 | prtrl2.Transparency = 0.5 | |
147 | prtrl2.Material = "Neon" | |
148 | prtrl2.BrickColor = bc("Deep orange") | |
149 | local eff2 = Instance.new("ParticleEmitter",prtr2) | |
150 | eff2.LightEmission = 1 | |
151 | eff2.Texture = "rbxassetid://284205403" | |
152 | eff2.Color = ColorSequence.new(wit) | |
153 | eff2.Size = NumberSequence.new(0.5,1) | |
154 | eff2.Acceleration = vt(0,25,0) | |
155 | eff2.Speed = NumberRange.new(-5) | |
156 | eff2.LockedToPart = false | |
157 | eff2.Transparency = NumberSequence.new(0.95) | |
158 | eff2.Lifetime = NumberRange.new(0.5) | |
159 | eff2.Rate = 100000 | |
160 | eff2.VelocitySpread = 25 | |
161 | local wld2 = Instance.new("Weld",Character) | |
162 | wld2.Part0 = larm | |
163 | wld2.Part1 = prtr2 | |
164 | local wldl2 = Instance.new("Weld",Character) | |
165 | wldl2.Part0 = lleg | |
166 | wldl2.Part1 = prtrl2 | |
167 | ||
168 | local mouse = game.Players.LocalPlayer:GetMouse() | |
169 | tors = game.Players.LocalPlayer.Character.Torso | |
170 | vt = Vector3.new | |
171 | bc = BrickColor.new | |
172 | ||
173 | local Effect = Instance.new("Part",game.Lighting) | |
174 | Effect.BrickColor = bc("Deep orange") | |
175 | Effect.Transparency = 1 | |
176 | Effect.Anchored = true | |
177 | Effect.CanCollide = false | |
178 | Effect.Material = "Neon" | |
179 | Effect.Shape = "Ball" | |
180 | Effect.Size = vt(5,5,5) | |
181 | local fire1 = Instance.new("Fire",Effect) | |
182 | fire1.Name = "Fire" | |
183 | fire1.Heat = 0 | |
184 | fire1.Size = 30 | |
185 | fire1.SecondaryColor = bc("Really black").Color | |
186 | fire1.Color = bc("Deep orange").Color | |
187 | local fire2 = Instance.new("Fire",Effect) | |
188 | fire2.Name = "Fire2" | |
189 | fire2.Heat = 0 | |
190 | fire2.Size = 25 | |
191 | fire2.SecondaryColor = bc("Really black").Color | |
192 | fire2.Color = bc("Neon orange").Color | |
193 | ||
194 | function Explode(rad,par) | |
195 | local expart = Instance.new("Part",script.Parent) | |
196 | local expart2 = Instance.new("Part",script.Parent) | |
197 | local snd = Instance.new("Sound",expart) | |
198 | snd.SoundId = "rbxassetid://258057783" | |
199 | snd.Volume = 2.5 | |
200 | local partMesh = Instance.new("SpecialMesh",expart) | |
201 | partMesh.MeshType = "Sphere" | |
202 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
203 | partMesh2.MeshType = "Sphere" | |
204 | local expld = Instance.new("Explosion", script.Parent) | |
205 | expld.BlastRadius = rad | |
206 | expld.Position = par.Position | |
207 | partMesh.Scale = vt(rad,rad,rad) | |
208 | expart.Size = vt(1,1,1)*1.5 | |
209 | expart.Transparency = 0.5 | |
210 | expart.Anchored = true | |
211 | expart.Material = "Neon" | |
212 | expart.BrickColor = bc("Deep orange") | |
213 | expart.CFrame = par.CFrame | |
214 | partMesh2.Scale = vt(rad,rad,rad) | |
215 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
216 | expart2.Transparency = 0.5 | |
217 | expart2.Anchored = true | |
218 | expart2.Material = "Neon" | |
219 | expart2.BrickColor = bc("Bright orange") | |
220 | expart2.CFrame = par.CFrame | |
221 | snd:Play() | |
222 | for i = 0, 100 do | |
223 | expart.Transparency = expart.Transparency + 0.005 | |
224 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
225 | expart.CFrame = expart.CFrame | |
226 | expart2.Transparency = expart.Transparency + 0.005 | |
227 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
228 | expart2.CFrame = expart.CFrame | |
229 | wait(0) | |
230 | end | |
231 | snd.Parent = nil | |
232 | expart.Parent = nil | |
233 | expart2.Parent = nil | |
234 | expld.Parent = nil | |
235 | end | |
236 | ||
237 | function Explode2(rad,par) | |
238 | local expart = Instance.new("Part",script.Parent) | |
239 | local expart2 = Instance.new("Part",script.Parent) | |
240 | local snd = Instance.new("Sound",expart) | |
241 | snd.SoundId = "rbxassetid://165969964" | |
242 | snd.Volume = 3 | |
243 | local partMesh = Instance.new("SpecialMesh",expart) | |
244 | partMesh.MeshType = "Sphere" | |
245 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
246 | partMesh2.MeshType = "Sphere" | |
247 | local expld = Instance.new("Explosion", script.Parent) | |
248 | expld.BlastRadius = rad | |
249 | expld.Position = par.Position | |
250 | partMesh.Scale = vt(rad,rad,rad) | |
251 | expart.Size = vt(1,1,1)*1.5 | |
252 | expart.Transparency = 0.5 | |
253 | expart.Anchored = true | |
254 | expart.Material = "Neon" | |
255 | expart.BrickColor = bc("Deep orange") | |
256 | expart.CFrame = par.CFrame | |
257 | partMesh2.Scale = vt(rad,rad,rad) | |
258 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
259 | expart2.Transparency = 0.5 | |
260 | expart2.Anchored = true | |
261 | expart2.Material = "Neon" | |
262 | expart2.BrickColor = bc("Bright orange") | |
263 | expart2.CFrame = par.CFrame | |
264 | snd:Play() | |
265 | for i = 0, 100 do | |
266 | expart.Transparency = expart.Transparency + 0.005 | |
267 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
268 | expart.CFrame = expart.CFrame | |
269 | expart2.Transparency = expart.Transparency + 0.005 | |
270 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
271 | expart2.CFrame = expart.CFrame | |
272 | wait(0) | |
273 | end | |
274 | snd.Parent = nil | |
275 | expart.Parent = nil | |
276 | expart2.Parent = nil | |
277 | expld.Parent = nil | |
278 | end | |
279 | ||
280 | mouse.KeyDown:connect(function(k) | |
281 | ||
282 | k = k:lower() | |
283 | if k == "q" then | |
284 | local spart = Effect:Clone() | |
285 | spart.Parent = game.Players.LocalPlayer.Character | |
286 | spart.Transparency = 0 | |
287 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5 | |
288 | wait() | |
289 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15 | |
290 | wait() | |
291 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25 | |
292 | wait() | |
293 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35 | |
294 | wait() | |
295 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45 | |
296 | wait() | |
297 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55 | |
298 | wait() | |
299 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65 | |
300 | wait() | |
301 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75 | |
302 | wait() | |
303 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85 | |
304 | wait() | |
305 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95 | |
306 | wait() | |
307 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105 | |
308 | spart.Transparency = 1 | |
309 | spart.Fire2:Destroy() | |
310 | spart.Fire:Destroy() | |
311 | Explode(25,spart) | |
312 | spart:Destroy() | |
313 | end | |
314 | if k == "e" then | |
315 | local spart = Effect:Clone() | |
316 | spart.Parent = game.Players.LocalPlayer.Character | |
317 | spart.Transparency = 0 | |
318 | spart.Anchored = false | |
319 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0 | |
320 | spart.Position = spart.Position + vt(0,100,0) | |
321 | spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150 | |
322 | wait(1) | |
323 | spart.Transparency = 1 | |
324 | spart.Fire2:Destroy() | |
325 | spart.Fire:Destroy() | |
326 | Explode2(75,spart) | |
327 | spart:Destroy() | |
328 | end | |
329 | if k == "r" then | |
330 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
331 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275 | |
332 | wait(0.75) | |
333 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165 | |
334 | Explode(30,game.Players.LocalPlayer.Character.Torso) | |
335 | wait(0.5) | |
336 | ff:Destroy() | |
337 | end | |
338 | if k == "f" then | |
339 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
340 | for i = 0, 10 do | |
341 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0) | |
342 | wait(0) | |
343 | end | |
344 | for i = 0, 5 do | |
345 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0) | |
346 | wait(0) | |
347 | end | |
348 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
349 | wait(1.5) | |
350 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
351 | for i = 0, 10 do | |
352 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0) | |
353 | wait(0) | |
354 | end | |
355 | wait(0.25) | |
356 | Explode2(62.5,game.Players.LocalPlayer.Character.Torso) | |
357 | wait(0.5) | |
358 | ff:Destroy() | |
359 | end | |
360 | end) |