SHOW:
|
|
- or go back to the newest paste.
1 | - | --bloxwatch script lol |
1 | + | |
2 | ||
3 | Me = game.Players.LocalPlayer | |
4 | player = Me | |
5 | char = Me.Character | |
6 | chara = char | |
7 | larm = char["Left Arm"] | |
8 | rarm = char["Right Arm"] | |
9 | lleg = char["Left Leg"] | |
10 | rleg = char["Right Leg"] | |
11 | torso = char.Torso | |
12 | hed = char.Head | |
13 | mouse = player:GetMouse() | |
14 | lght = game.Lighting | |
15 | lichtact = false | |
16 | moosicact = false | |
17 | gotsagofest = true | |
18 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
19 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
20 | ||
21 | ||
22 | ||
23 | wait(2.5) | |
24 | ||
25 | chara.Humanoid.WalkSpeed = 10 | |
26 | chara.Humanoid.JumpPower = 40 | |
27 | local naeeym = Instance.new("BillboardGui",chara) | |
28 | naeeym.Size = UDim2.new(0,100,0,40) | |
29 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
30 | naeeym.Adornee = chara.Head | |
31 | local tecks = Instance.new("TextLabel",naeeym) | |
32 | tecks.BackgroundTransparency = 1 | |
33 | tecks.BorderSizePixel = 0 | |
34 | tecks.Text = "" | |
35 | tecks.Font = "Bodoni" | |
36 | tecks.FontSize = "Size36" | |
37 | tecks.TextStrokeTransparency = 0.5 | |
38 | tecks.TextColor3 = Color3.new(0,0,0) | |
39 | rrer = BrickColor.new("Really red") | |
40 | tecks.TextStrokeColor3 = rrer.Color | |
41 | tecks.Size = UDim2.new(1,0,0.5,0) | |
42 | local licht = Instance.new("PointLight",chara.Torso) | |
43 | licht.Color = tecks.TextStrokeColor3 | |
44 | licht.Range = 60 | |
45 | licht.Brightness = 1 | |
46 | licht.Enabled = false | |
47 | ||
48 | ||
49 | ------------------------------- Player ------------------------------------------------------------------- | |
50 | local z = Instance.new("Sound",char) | |
51 | z.Looped = true | |
52 | z.SoundId = "rbxassetid://203552930" | |
53 | z.Volume = 10 | |
54 | if musicOn then | |
55 | - | z.SoundId = "rbxassetid://167161785" |
55 | + | |
56 | - | z.Volume = 2.25 |
56 | + | |
57 | ||
58 | Mouse = player | |
59 | ||
60 | for i,v in pairs(chara:children()) do | |
61 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
62 | v:Destroy() | |
63 | - | local l = Instance.new("ColorCorrectionEffect",game.Lighting) |
63 | + | |
64 | end | |
65 | char.Head.face:Destroy() | |
66 | ||
67 | char["Body Colors"].HeadColor, char["Body Colors"].LeftArmColor, char["Body Colors"].LeftLegColor, char["Body Colors"].RightArmColor, char["Body Colors"].RightLegColor, char["Body Colors"].TorsoColor = BrickColor.new("Meduim stone grey"), BrickColor.new("Meduim stone grey"), BrickColor.new("Meduim stone grey"), BrickColor.new("Meduim stone grey"), BrickColor.new("Meduim stone grey"), BrickColor.new("Meduim stone grey") | |
68 | local Orbd = Instance.new("Part", char) | |
69 | Orbd.Name = "Orbd" | |
70 | Orbd.Shape = Enum.PartType.Ball | |
71 | Orbd.CanCollide = false | |
72 | - | char["Body Colors"].HeadColor, char["Body Colors"].LeftArmColor, char["Body Colors"].LeftLegColor, char["Body Colors"].RightArmColor, char["Body Colors"].RightLegColor, char["Body Colors"].TorsoColor = BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Really black") |
72 | + | Orbd.BrickColor = BrickColor.new("Meduim stone grey") |
73 | Orbd.Transparency = 0 | |
74 | Orbd.Material = "Neon" | |
75 | Orbd.Size = Vector3.new(0.1, 0.1, 0.1) | |
76 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
77 | - | Orbd.BrickColor = BrickColor.new("Really red") |
77 | + | |
78 | local Weld = Instance.new("Weld", Orbd) | |
79 | Weld.Part0 = char.Head | |
80 | Weld.Part1 = Orbd | |
81 | Weld.C1 = CFrame.new(-0.2, -0.2, 0.5) | |
82 | local glov = Instance.new("PointLight", Orbd) | |
83 | glov.Brightness = 0.25 | |
84 | glov.Range = 20 | |
85 | glov.Color = Color3.new(255, 0, 0) | |
86 | local Orbvc = Instance.new("Part", char) | |
87 | Orbvc.Name = "Orbvc" | |
88 | Orbvc.Shape = Enum.PartType.Ball | |
89 | Orbvc.CanCollide = false | |
90 | Orbvc.BrickColor = BrickColor.new("Really red") | |
91 | Orbvc.Transparency = 0 | |
92 | Orbvc.Material = "Neon" | |
93 | Orbvc.Size = Vector3.new(0.1, 0.1, 0.1) | |
94 | Orbvc.TopSurface = Enum.SurfaceType.Smooth | |
95 | Orbvc.BottomSurface = Enum.SurfaceType.Smooth | |
96 | local Weld = Instance.new("Weld", Orbvc) | |
97 | Weld.Part0 = char.Head | |
98 | Weld.Part1 = Orbvc | |
99 | Weld.C1 = CFrame.new(0.2, -0.2, 0.5) | |
100 | local glo = Instance.new("PointLight", Orbvc) | |
101 | glo.Brightness = 0.25 | |
102 | glo.Range = 20 | |
103 | glo.Color = Color3.new(255, 0, 0) | |
104 | ||
105 | local IsFreeFalling = false | |
106 | local SpinPart = Instance.new('Part') | |
107 | SpinPart.Transparency = 1 | |
108 | SpinPart.Size = Vector3.new(25,1,25) | |
109 | SpinPart.CanCollide = false | |
110 | SpinPart.FormFactor = 'Custom' | |
111 | local FX = Instance.new('ParticleEmitter',SpinPart) | |
112 | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Meduim stone grey").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Meduim stone grey").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1 | |
113 | local FX = Instance.new('ParticleEmitter',SpinPart) | |
114 | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Meduim stone grey").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Meduim stone grey").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1 | |
115 | do | |
116 | local tspin = Instance.new('BodyAngularVelocity') | |
117 | - | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1 |
117 | + | |
118 | tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge) | |
119 | - | FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1 |
119 | + | |
120 | end | |
121 | local SpinPos = Instance.new('BodyPosition') | |
122 | SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
123 | SpinPos.Parent = SpinPart | |
124 | ||
125 | function Equipped() | |
126 | IsEquipped = true | |
127 | local MyTorso = char.Torso | |
128 | if MyTorso then | |
129 | spawn(function() | |
130 | local startTime = tick() | |
131 | SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0)) | |
132 | SpinPart.Parent = MyTorso | |
133 | local fadeIn = true | |
134 | while IsEquipped do | |
135 | if not IsFreeFalling then | |
136 | SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0) | |
137 | end | |
138 | wait() | |
139 | end | |
140 | SpinPart.Parent = nil | |
141 | ||
142 | end) | |
143 | end | |
144 | end | |
145 | ||
146 | ||
147 | wait(0.01) | |
148 | Equipped() | |
149 | ||
150 | ||
151 | function start() | |
152 | print("Darkness falls across the battlefield...") | |
153 | wait() | |
154 | print("----------------------------------------") | |
155 | wait() | |
156 | print(" - Ender booted up. -") | |
157 | wait() | |
158 | print("- Ender written by yeox769. -") | |
159 | i = 0 | |
160 | while i<1 do | |
161 | wait() | |
162 | i = i + 0.01 | |
163 | end | |
164 | end | |
165 | ||
166 | delay(0,start) | |
167 | ||
168 | - | l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375 |
168 | + | |
169 | - | l.TintColor = Color3.new(1,1-i,1-i) |
169 | + | |
170 | RAC = chara.Torso["Right Shoulder"] | |
171 | LAC = chara.Torso["Left Shoulder"] | |
172 | RLC = chara.Torso["Right Hip"] | |
173 | LLC = chara.Torso["Left Hip"] | |
174 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
175 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
176 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
177 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
178 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
179 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
180 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
181 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
182 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
183 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
184 | RW = Instance.new("Weld",HC.Parent) | |
185 | RW.Part1 = HC.Parent | |
186 | RW.Part0 = chara["Right Arm"] | |
187 | RW.C0 = RWF | |
188 | LW = Instance.new("Weld",HC.Parent) | |
189 | LW.Part1 = HC.Parent | |
190 | LW.Part0 = chara["Left Arm"] | |
191 | LW.C0 = LWF | |
192 | RLW = nil | |
193 | LLW = nil | |
194 | ||
195 | ||
196 | function clerp(a,b,c) | |
197 | return a:lerp(b,c) | |
198 | end | |
199 | ||
200 | TC.C0 = TCF | |
201 | HC.C0 = HCF | |
202 | RW.C0 = RWF | |
203 | LW.C0 = LWF | |
204 | ||
205 | --Idle Clerp-- | |
206 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10)) | |
207 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10)) | |
208 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)) | |
209 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
210 | ||
211 | TC.C0 = ITCF | |
212 | HC.C0 = IHCF | |
213 | RW.C0 = IRWF | |
214 | LW.C0 = ILWF | |
215 | ||
216 | ||
217 | ||
218 | ||
219 | ||
220 | New = function(Object, Parent, Name, Data) | |
221 | local Object = Instance.new(Object) | |
222 | for Index, Value in pairs(Data or {}) do | |
223 | Object[Index] = Value | |
224 | end | |
225 | Object.Parent = Parent | |
226 | Object.Name = Name | |
227 | return Object | |
228 | end | |
229 | ||
230 | function ScatterEff(part) | |
231 | local eff1 = Instance.new("ParticleEmitter",part) | |
232 | eff1.Size = NumberSequence.new(.1) | |
233 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
234 | eff1.LightEmission = 1 | |
235 | eff1.Lifetime = NumberRange.new(1) | |
236 | eff1.Speed = NumberRange.new(1) | |
237 | eff1.Rate = 100 | |
238 | eff1.VelocitySpread = 10000 | |
239 | eff1.Texture = "rbxassetid://347504241" | |
240 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
241 | local eff2 = Instance.new("ParticleEmitter",part) | |
242 | eff2.Size = NumberSequence.new(.1) | |
243 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
244 | eff2.LightEmission = 1 | |
245 | eff2.Lifetime = NumberRange.new(1) | |
246 | eff2.Speed = NumberRange.new(1) | |
247 | eff2.Rate = 100 | |
248 | eff2.VelocitySpread = 10000 | |
249 | eff2.Texture = "rbxassetid://347504259" | |
250 | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
251 | end | |
252 | ||
253 | function BurningEff(part) | |
254 | local eff1 = Instance.new("ParticleEmitter",part) | |
255 | eff1.Size = NumberSequence.new(.1) | |
256 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
257 | eff1.LightEmission = 1 | |
258 | eff1.Lifetime = NumberRange.new(1) | |
259 | eff1.Speed = NumberRange.new(0) | |
260 | eff1.Rate = 100 | |
261 | eff1.Texture = "rbxassetid://347504241" | |
262 | eff1.Acceleration = Vector3.new(0,10,0) | |
263 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
264 | local eff2 = Instance.new("ParticleEmitter",part) | |
265 | eff2.Size = NumberSequence.new(.1) | |
266 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
267 | eff2.LightEmission = 1 | |
268 | eff2.Lifetime = NumberRange.new(1) | |
269 | eff2.Speed = NumberRange.new(0) | |
270 | eff2.Rate = 100 | |
271 | eff2.Texture = "rbxassetid://347504259" | |
272 | eff2.Acceleration = Vector3.new(0,10,0) | |
273 | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
274 | local eff3 = Instance.new("ParticleEmitter",part) | |
275 | eff3.Size = NumberSequence.new(1) | |
276 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
277 | eff3.LightEmission = 1 | |
278 | eff3.Lifetime = NumberRange.new(1) | |
279 | eff3.Speed = NumberRange.new(0) | |
280 | eff3.Rate = 100 | |
281 | eff3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
282 | eff3.Acceleration = Vector3.new(0,10,0) | |
283 | eff3.Color = ColorSequence.new(Color3.new(1,0,0)) | |
284 | end | |
285 | ||
286 | ||
287 | ||
288 | slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5}) | |
289 | hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5}) | |
290 | telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5}) | |
291 | burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5}) | |
292 | music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true}) | |
293 | music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true}) | |
294 | deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true}) | |
295 | deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5}) | |
296 | ||
297 | ||
298 | ||
299 | ||
300 | ||
301 | --Soul Steal-- | |
302 | function SoulSteal(pos) | |
303 | local soulst = coroutine.wrap(function() | |
304 | local soul = Instance.new("Part",chara) | |
305 | soul.Size = Vector3.new(0,0,0) | |
306 | soul.CanCollide = false | |
307 | soul.Anchored = false | |
308 | soul.Position = pos | |
309 | soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
310 | soul.Transparency = 1 | |
311 | local ptc = Instance.new("ParticleEmitter",soul) | |
312 | ptc.Texture = "http://www.roblox.com/asset/?id=413366101" | |
313 | ptc.Size = NumberSequence.new(.5) | |
314 | ptc.LockedToPart = true | |
315 | ptc.Speed = NumberRange.new(0) | |
316 | ptc.Lifetime = NumberRange.new(9999) | |
317 | local bodpos = Instance.new("BodyPosition",soul) | |
318 | bodpos.Position = pos | |
319 | wait(2) | |
320 | soul.Touched:connect(function(hit) | |
321 | if hit.Parent == chara then | |
322 | soul:Destroy() | |
323 | end | |
324 | end) | |
325 | while soul do | |
326 | wait(.1) | |
327 | bodpos.Position = chara.Torso.Position | |
328 | end | |
329 | end) | |
330 | soulst() | |
331 | end | |
332 | ||
333 | --Death of a Mortal-- | |
334 | function KillMortal(hitdude) | |
335 | local torsy = nil | |
336 | if hitdude:FindFirstChild("Torso")~=nil then | |
337 | torsy = hitdude.Torso | |
338 | elseif hitdude:FindFirstChild("UpperTorso")~=nil then | |
339 | torsy = hitdude.UpperTorso | |
340 | end | |
341 | local val = Instance.new("ObjectValue",hitdude) | |
342 | val.Name = "HasBeenHit" | |
343 | hitdude:BreakJoints() | |
344 | hitdude.Humanoid:Destroy() | |
345 | SoulSteal(torsy.Position) | |
346 | local chi = hitdude:GetChildren() | |
347 | for i = 1, #chi do | |
348 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
349 | local bodpos = Instance.new("BodyPosition",chi[i]) | |
350 | bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
351 | ScatterEff(chi[i]) | |
352 | chi[i].BrickColor = BrickColor.new("Really black") | |
353 | end | |
354 | end | |
355 | for i = 1, 4 do | |
356 | for i = 1, #chi do | |
357 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
358 | chi[i].Transparency = chi[i].Transparency + .25 | |
359 | wait(.01) | |
360 | end | |
361 | end | |
362 | end | |
363 | for i = 1, #chi do | |
364 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
365 | chi[i]:Destroy() | |
366 | end | |
367 | end | |
368 | end | |
369 | ||
370 | ||
371 | function Teleport(pos) | |
372 | telesnd:Play() | |
373 | local ch = chara:GetChildren() | |
374 | for i = 1, #ch do | |
375 | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
376 | local trace = Instance.new("Part",game.Workspace) | |
377 | trace.Size = ch[i].Size | |
378 | trace.Material = "Neon" | |
379 | trace.BrickColor = BrickColor.new("Really black") | |
380 | trace.Transparency = .3 | |
381 | trace.CanCollide = false | |
382 | trace.Anchored = true | |
383 | trace.CFrame = ch[i].CFrame | |
384 | if ch[i].Name == "Head" then | |
385 | mehs = Instance.new("CylinderMesh",trace) | |
386 | mehs.Scale = Vector3.new(1.25,1.25,1.25) | |
387 | end | |
388 | tracedisappear = coroutine.wrap(function() | |
389 | wait(1) | |
390 | for i = 1, 7 do | |
391 | wait(.1) | |
392 | trace.Transparency = trace.Transparency + .1 | |
393 | end | |
394 | trace:Destroy() | |
395 | end) | |
396 | tracedisappear() | |
397 | end | |
398 | end | |
399 | chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
400 | end | |
401 | ||
402 | ||
403 | function Grab(mouse) | |
404 | local hit = mouse.Target | |
405 | if hit ~= nil then | |
406 | if hit.Parent:FindFirstChild("Humanoid")~=nil then | |
407 | local torsy = nil | |
408 | if hit.Parent:FindFirstChild("Torso")~=nil then | |
409 | torsy = hit.Parent.Torso | |
410 | elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then | |
411 | torsy = hit.Parent.UpperTorso | |
412 | end | |
413 | local bodpos = Instance.new("BodyPosition",torsy) | |
414 | bodpos.Position = torsy.Position | |
415 | wait(1) | |
416 | burnsnd:Play() | |
417 | hit.Parent.Humanoid.MaxHealth = 100 | |
418 | bodpos.Position = bodpos.Position + Vector3.new(0,4,0) | |
419 | for i = 1, 10 do | |
420 | wait(.1) | |
421 | BurningEff(torsy) | |
422 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
423 | end | |
424 | KillMortal(hit.Parent) | |
425 | end | |
426 | else end | |
427 | end | |
428 | ||
429 | ||
430 | function onKeyDown(key) | |
431 | if key == "z" then | |
432 | Teleport(Mouse.Hit.p + Vector3.new(0,2,0)) | |
433 | elseif key == "x" then | |
434 | Grab(Mouse) | |
435 | end | |
436 | end | |
437 | ||
438 | --Mouse Functions-- | |
439 | Mouse = player:GetMouse() | |
440 | if Mouse then | |
441 | Mouse.KeyDown:connect(onKeyDown) | |
442 | end | |
443 | ||
444 | while true do | |
445 | wait(.01) | |
446 | chance = math.random(0,100) | |
447 | if chance < 10 then | |
448 | sel = math.random(1,3) | |
449 | if sel == 1 then | |
450 | tecks.Text = "RoboZB" | |
451 | elseif sel == 2 then | |
452 | tecks.Text = "Darkness falls upon the battlefield..." | |
453 | elseif sel == 3 then | |
454 | tecks.Text = "c077upt" | |
455 | end | |
456 | else tecks.Text = "RoboZB" | |
457 | - | tecks.Text = "BLOXWATCH" |
457 | + | |
458 | chara.Humanoid.MaxHealth = math.huge | |
459 | - | tecks.Text = "0010 10001010 101011" |
459 | + | |
460 | end | |
461 | - | tecks.Text = "B5OX W7TC8" |
461 | + | |
462 | local l = Instance.new("ColorCorrectionEffect",game.Lighting) | |
463 | - | else tecks.Text = "BLOX WATCH" |
463 | + | |
464 | l.TintColor = Color3.new(1,0,0) | |
465 | end | |
466 | tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
467 | end | |
468 | end |