SHOW:
|
|
- or go back to the newest paste.
1 | - | local Player = game:GetService("Players")[script.Parent.Parent.Name] --<=== Replace With Your Name |
1 | + | local Player = game:GetService("TameDoNotClick")[script.Parent.Parent.Name] --<=== Replace With Your Name |
2 | ||
3 | ||
4 | local Mouse,mouse,UserInputService,ContextActionService | |
5 | do | |
6 | script.Parent = Player.Character | |
7 | local CAS = {Actions={}} | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | Event.Parent = Player.Character | |
11 | local fakeEvent = function() | |
12 | local t = {_fakeEvent=true} | |
13 | t.Connect = function(self,f)self.Function=f end | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | function CAS:BindAction(name,fun,touch,...) | |
20 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
21 | end | |
22 | function CAS:UnbindAction(name) | |
23 | CAS.Actions[name] = nil | |
24 | end | |
25 | local function te(self,ev,...) | |
26 | local t = m[ev] | |
27 | if t and t._fakeEvent and t.Function then | |
28 | t.Function(...) | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | Event.OnServerEvent:Connect(function(plr,io) | |
34 | if plr~=Player then return end | |
35 | if io.isMouse then | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
39 | if io.UserInputState == Enum.UserInputState.Begin then | |
40 | m:TrigEvent("Button1Down") | |
41 | else | |
42 | m:TrigEvent("Button1Up") | |
43 | end | |
44 | else | |
45 | for n,t in pairs(CAS.Actions) do | |
46 | for _,k in pairs(t.Keys) do | |
47 | if k==io.KeyCode then | |
48 | t.Function(t.Name,io.UserInputState,io) | |
49 | end | |
50 | end | |
51 | end | |
52 | if io.UserInputState == Enum.UserInputState.Begin then | |
53 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent("InputBegan",io,false) | |
55 | else | |
56 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
57 | UIS:TrigEvent("InputEnded",io,false) | |
58 | end | |
59 | end | |
60 | end) | |
61 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
62 | end | |
63 | ||
64 | ---------Replace All "LocalPlayer" With Your Name. | |
65 | --Remove "Mouse =" or "local mouse =" at the start. | |
66 | --Replace Kermat161 At The Top Of The Script With You Name. | |
67 | -----------------------------Script In The Line's. | |
68 | ||
69 | --Stan script edited by Zalgo_exe-- | |
70 | --Stan is from a game called Identity Fraud-- | |
71 | musicOn = true | |
72 | ||
73 | Me = game.Players[script.Parent.Parent.Name] | |
74 | player = Me | |
75 | char = Me.Character | |
76 | chara = char | |
77 | larm = char["Left Arm"] | |
78 | rarm = char["Right Arm"] | |
79 | lleg = char["Left Leg"] | |
80 | rleg = char["Right Leg"] | |
81 | torso = char.Torso | |
82 | hed = char.Head | |
83 | lght = game.Lighting | |
84 | lichtact = false | |
85 | moosicact = false | |
86 | gotsagofest = true | |
87 | chara.Humanoid.DisplayDistanceType = "None" | |
88 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
89 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
90 | --lght.OutdoorAmbient = Color3.new(0,0,0) | |
91 | --lght.TimeOfDay = "00:00:00" | |
92 | --lght.FogColor = Color3.new(0,0,0) | |
93 | --lght.FogEnd = 1000 | |
94 | chara.Humanoid.Animator:Destroy() | |
95 | ||
96 | ||
97 | wait(2.5) | |
98 | ||
99 | chara.Humanoid.WalkSpeed = 0 | |
100 | chara.Humanoid.JumpPower = 0 | |
101 | local naeeym = Instance.new("BillboardGui",chara) | |
102 | naeeym.Size = UDim2.new(0,100,0,40) | |
103 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
104 | naeeym.Adornee = chara.Head | |
105 | local tecks = Instance.new("TextLabel",naeeym) | |
106 | tecks.BackgroundTransparency = 1 | |
107 | tecks.BorderSizePixel = 0 | |
108 | tecks.Text = "" | |
109 | tecks.Font = "Bodoni" | |
110 | tecks.FontSize = "Size36" | |
111 | tecks.TextStrokeTransparency = 0.5 | |
112 | tecks.TextColor3 = Color3.new(0,0,0) | |
113 | rrer = BrickColor.new("Really red") | |
114 | tecks.TextStrokeColor3 = rrer.Color | |
115 | tecks.Size = UDim2.new(1,0,0.5,0) | |
116 | local licht = Instance.new("PointLight",chara.Torso) | |
117 | licht.Color = tecks.TextStrokeColor3 | |
118 | licht.Range = 60 | |
119 | licht.Brightness = 1 | |
120 | licht.Enabled = false | |
121 | ||
122 | ||
123 | ------------------------------- Player ------------------------------------------------------------------- | |
124 | local z = Instance.new("Sound",char) | |
125 | z.Looped = true | |
126 | z.SoundId = "rbxassetid://290269649" | |
127 | z.Volume = 2.25 | |
128 | z.Pitch = 0.35 | |
129 | if musicOn then | |
130 | z:Play() | |
131 | end | |
132 | ||
133 | ||
134 | local l = Instance.new("ColorCorrectionEffect",game.Lighting) | |
135 | ||
136 | for i,v in pairs(chara:children()) do | |
137 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then | |
138 | v:Destroy() | |
139 | end | |
140 | end | |
141 | char.Head.face:Destroy() | |
142 | ||
143 | 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("Really black"), BrickColor.new("Really black"), BrickColor.new("Really black"), BrickColor.new("Really black"), BrickColor.new("Really black"), BrickColor.new("Really black") | |
144 | local Orbd = Instance.new("Part", char) | |
145 | Orbd.Name = "Orbd" | |
146 | Orbd.Shape = Enum.PartType.Ball | |
147 | Orbd.CanCollide = false | |
148 | Orbd.BrickColor = BrickColor.new("Really red") | |
149 | Orbd.Transparency = 0 | |
150 | Orbd.Material = "Neon" | |
151 | Orbd.Size = Vector3.new(0.25, 0.25, 0.25) | |
152 | Orbd.TopSurface = Enum.SurfaceType.Smooth | |
153 | Orbd.BottomSurface = Enum.SurfaceType.Smooth | |
154 | local Weld = Instance.new("Weld", Orbd) | |
155 | Weld.Part0 = char.Head | |
156 | Weld.Part1 = Orbd | |
157 | Weld.C1 = CFrame.new(-0.4, 0, 0.4) | |
158 | local Orbvc = Instance.new("Part", char) | |
159 | Orbvc.Name = "Orbvc" | |
160 | Orbvc.Shape = Enum.PartType.Ball | |
161 | Orbvc.CanCollide = false | |
162 | Orbvc.BrickColor = BrickColor.new("Really red") | |
163 | Orbvc.Transparency = 0 | |
164 | Orbvc.Material = "Neon" | |
165 | Orbvc.Size = Vector3.new(0.25, 0.25, 0.25) | |
166 | Orbvc.TopSurface = Enum.SurfaceType.Smooth | |
167 | Orbvc.BottomSurface = Enum.SurfaceType.Smooth | |
168 | local Weld = Instance.new("Weld", Orbvc) | |
169 | Weld.Part0 = char.Head | |
170 | Weld.Part1 = Orbvc | |
171 | Weld.C1 = CFrame.new(0.4, 0, 0.4) | |
172 | ||
173 | local IsFreeFalling = false | |
174 | local SpinPart = Instance.new('Part') | |
175 | SpinPart.Transparency = 1 | |
176 | SpinPart.Size = Vector3.new(25,1,25) | |
177 | SpinPart.CanCollide = false | |
178 | SpinPart.FormFactor = 'Custom' | |
179 | --local FX = Instance.new('ParticleEmitter',SpinPart) | |
180 | --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 | |
181 | --local FX = Instance.new('ParticleEmitter',SpinPart) | |
182 | --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 | |
183 | do | |
184 | local tspin = Instance.new('BodyAngularVelocity') | |
185 | tspin.angularvelocity = Vector3.new(0,1,0) | |
186 | tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge) | |
187 | tspin.Parent = SpinPart | |
188 | end | |
189 | local SpinPos = Instance.new('BodyPosition') | |
190 | SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
191 | SpinPos.Parent = SpinPart | |
192 | ||
193 | function Equipped() | |
194 | IsEquipped = true | |
195 | local MyTorso = char.Torso | |
196 | if MyTorso then | |
197 | spawn(function() | |
198 | local startTime = tick() | |
199 | SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0)) | |
200 | SpinPart.Parent = MyTorso | |
201 | local fadeIn = true | |
202 | while IsEquipped do | |
203 | if not IsFreeFalling then | |
204 | SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0) | |
205 | end | |
206 | wait() | |
207 | end | |
208 | SpinPart.Parent = nil | |
209 | ||
210 | end) | |
211 | end | |
212 | end | |
213 | ||
214 | ||
215 | wait(0.01) | |
216 | Equipped() | |
217 | ||
218 | ||
219 | function start() | |
220 | print("I have a doctor,") | |
221 | wait() | |
222 | print("My doctor helps me.") | |
223 | wait() | |
224 | print("I go to my doctor.") | |
225 | wait() | |
226 | print("People watch me.") | |
227 | wait() | |
228 | print("People watch me..") | |
229 | wait() | |
230 | print("My doctor talks to me.") | |
231 | wait() | |
232 | print("Stan, you look tired.") | |
233 | wait() | |
234 | print("How have you slept?") | |
235 | i = 0 | |
236 | --while i<1 do | |
237 | -- wait() | |
238 | -- i = i + 0.01 | |
239 | -- l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375 | |
240 | -- l.TintColor = Color3.new(1,1-i,1-i) | |
241 | --end | |
242 | end | |
243 | ||
244 | delay(0,start) | |
245 | ||
246 | TC = chara.HumanoidRootPart.RootJoint | |
247 | HC = chara.Torso.Neck | |
248 | RAC = chara.Torso["Right Shoulder"] | |
249 | LAC = chara.Torso["Left Shoulder"] | |
250 | RLC = chara.Torso["Right Hip"] | |
251 | LLC = chara.Torso["Left Hip"] | |
252 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
253 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
254 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
255 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
256 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
257 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
258 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
259 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
260 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
261 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
262 | RW = Instance.new("Weld",HC.Parent) | |
263 | RW.Part1 = HC.Parent | |
264 | RW.Part0 = chara["Right Arm"] | |
265 | RW.C0 = RWF | |
266 | LW = Instance.new("Weld",HC.Parent) | |
267 | LW.Part1 = HC.Parent | |
268 | LW.Part0 = chara["Left Arm"] | |
269 | LW.C0 = LWF | |
270 | RLW = nil | |
271 | LLW = nil | |
272 | ||
273 | ||
274 | function clerp(a,b,c) | |
275 | return a:lerp(b,c) | |
276 | end | |
277 | ||
278 | TC.C0 = TCF | |
279 | HC.C0 = HCF | |
280 | RW.C0 = RWF | |
281 | LW.C0 = LWF | |
282 | ||
283 | --Idle Clerp-- | |
284 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0)) | |
285 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(0),0,math.rad(0)) | |
286 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0)) | |
287 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(0)) | |
288 | ||
289 | TC.C0 = ITCF | |
290 | HC.C0 = IHCF | |
291 | RW.C0 = IRWF | |
292 | LW.C0 = ILWF | |
293 | ||
294 | ||
295 | ||
296 | ||
297 | ||
298 | New = function(Object, Parent, Name, Data) | |
299 | local Object = Instance.new(Object) | |
300 | for Index, Value in pairs(Data or {}) do | |
301 | Object[Index] = Value | |
302 | end | |
303 | Object.Parent = Parent | |
304 | Object.Name = Name | |
305 | return Object | |
306 | end | |
307 | ||
308 | function ScatterEff(part) | |
309 | local eff1 = Instance.new("ParticleEmitter",part) | |
310 | eff1.Size = NumberSequence.new(.1) | |
311 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
312 | eff1.LightEmission = 1 | |
313 | eff1.Lifetime = NumberRange.new(1) | |
314 | eff1.Speed = NumberRange.new(1) | |
315 | eff1.Rate = 100 | |
316 | eff1.VelocitySpread = 10000 | |
317 | eff1.Texture = "rbxassetid://347504241" | |
318 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
319 | local eff2 = Instance.new("ParticleEmitter",part) | |
320 | eff2.Size = NumberSequence.new(.1) | |
321 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
322 | eff2.LightEmission = 1 | |
323 | eff2.Lifetime = NumberRange.new(1) | |
324 | eff2.Speed = NumberRange.new(1) | |
325 | eff2.Rate = 100 | |
326 | eff2.VelocitySpread = 10000 | |
327 | eff2.Texture = "rbxassetid://347504259" | |
328 | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
329 | end | |
330 | ||
331 | function BurningEff(part) | |
332 | local eff1 = Instance.new("ParticleEmitter",part) | |
333 | eff1.Size = NumberSequence.new(.1) | |
334 | eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
335 | eff1.LightEmission = 1 | |
336 | eff1.Lifetime = NumberRange.new(1) | |
337 | eff1.Speed = NumberRange.new(0) | |
338 | eff1.Rate = 100 | |
339 | eff1.Texture = "rbxassetid://347504241" | |
340 | eff1.Acceleration = Vector3.new(0,10,0) | |
341 | eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
342 | local eff2 = Instance.new("ParticleEmitter",part) | |
343 | eff2.Size = NumberSequence.new(.1) | |
344 | eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
345 | eff2.LightEmission = 1 | |
346 | eff2.Lifetime = NumberRange.new(1) | |
347 | eff2.Speed = NumberRange.new(0) | |
348 | eff2.Rate = 100 | |
349 | eff2.Texture = "rbxassetid://347504259" | |
350 | eff2.Acceleration = Vector3.new(0,10,0) | |
351 | eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
352 | local eff3 = Instance.new("ParticleEmitter",part) | |
353 | eff3.Size = NumberSequence.new(1) | |
354 | eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
355 | eff3.LightEmission = 1 | |
356 | eff3.Lifetime = NumberRange.new(1) | |
357 | eff3.Speed = NumberRange.new(0) | |
358 | eff3.Rate = 100 | |
359 | eff3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
360 | eff3.Acceleration = Vector3.new(0,10,0) | |
361 | eff3.Color = ColorSequence.new(Color3.new(1,0,0)) | |
362 | end | |
363 | ||
364 | ||
365 | ||
366 | slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5}) | |
367 | hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5}) | |
368 | telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5}) | |
369 | burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5}) | |
370 | music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true}) | |
371 | music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true}) | |
372 | deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true}) | |
373 | deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5}) | |
374 | intimidate = New("Sound",chara.Torso,"Scream",{SoundId = "rbxassetid://172658768",PlaybackSpeed = 1,Volume = 5}) | |
375 | ||
376 | ||
377 | ||
378 | ||
379 | --Soul Steal-- | |
380 | function SoulSteal(pos) | |
381 | local soulst = coroutine.wrap(function() | |
382 | local soul = Instance.new("Part",chara) | |
383 | soul.Size = Vector3.new(0,0,0) | |
384 | soul.CanCollide = false | |
385 | soul.Anchored = false | |
386 | soul.Position = pos | |
387 | soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
388 | soul.Transparency = 1 | |
389 | local ptc = Instance.new("ParticleEmitter",soul) | |
390 | ptc.Texture = "http://www.roblox.com/asset/?id=413366101" | |
391 | ptc.Size = NumberSequence.new(.5) | |
392 | ptc.LockedToPart = true | |
393 | ptc.Speed = NumberRange.new(0) | |
394 | ptc.Lifetime = NumberRange.new(9999) | |
395 | local bodpos = Instance.new("BodyPosition",soul) | |
396 | bodpos.Position = pos | |
397 | wait(2) | |
398 | soul.Touched:connect(function(hit) | |
399 | if hit.Parent == chara then | |
400 | soul:Destroy() | |
401 | end | |
402 | end) | |
403 | while soul do | |
404 | wait(.1) | |
405 | bodpos.Position = chara.Torso.Position | |
406 | end | |
407 | end) | |
408 | soulst() | |
409 | end | |
410 | ||
411 | --Death of a Mortal-- | |
412 | function KillMortal(hitdude) | |
413 | local torsy = nil | |
414 | if hitdude:FindFirstChild("Torso")~=nil then | |
415 | torsy = hitdude.Torso | |
416 | elseif hitdude:FindFirstChild("UpperTorso")~=nil then | |
417 | torsy = hitdude.UpperTorso | |
418 | end | |
419 | local val = Instance.new("ObjectValue",hitdude) | |
420 | val.Name = "HasBeenHit" | |
421 | hitdude:BreakJoints() | |
422 | hitdude.Humanoid:Destroy() | |
423 | SoulSteal(torsy.Position) | |
424 | local chi = hitdude:GetChildren() | |
425 | for i = 1, #chi do | |
426 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
427 | local bodpos = Instance.new("BodyPosition",chi[i]) | |
428 | bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
429 | ScatterEff(chi[i]) | |
430 | chi[i].BrickColor = BrickColor.new("Really black") | |
431 | end | |
432 | end | |
433 | for i = 1, 4 do | |
434 | for i = 1, #chi do | |
435 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
436 | chi[i].Transparency = chi[i].Transparency + .25 | |
437 | wait(.01) | |
438 | end | |
439 | end | |
440 | end | |
441 | for i = 1, #chi do | |
442 | if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
443 | chi[i]:Destroy() | |
444 | end | |
445 | end | |
446 | end | |
447 | ||
448 | ||
449 | function Teleport(pos) | |
450 | local ch = chara:GetChildren() | |
451 | for i = 1, #ch do | |
452 | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
453 | local trace = Instance.new("Part",game.Workspace) | |
454 | trace.Size = ch[i].Size | |
455 | trace.Material = "Neon" | |
456 | trace.BrickColor = BrickColor.new("Really black") | |
457 | trace.Transparency = 0.3 | |
458 | trace.CanCollide = false | |
459 | trace.Anchored = true | |
460 | trace.CFrame = ch[i].CFrame | |
461 | if ch[i].Name == "Head" then | |
462 | mehs = Instance.new("CylinderMesh",trace) | |
463 | mehs.Scale = Vector3.new(1.25,1.25,1.25) | |
464 | end | |
465 | tracedisappear = coroutine.wrap(function() | |
466 | wait(0.2) | |
467 | for i = 1, 7 do | |
468 | wait() | |
469 | trace.Transparency = trace.Transparency + .1 | |
470 | end | |
471 | trace:Destroy() | |
472 | end) | |
473 | tracedisappear() | |
474 | end | |
475 | end | |
476 | end | |
477 | ||
478 | ||
479 | function Grab(mouse) | |
480 | local hit = mouse.Target | |
481 | if hit ~= nil then | |
482 | if hit.Parent:FindFirstChild("Humanoid")~=nil then | |
483 | local torsy = nil | |
484 | if hit.Parent:FindFirstChild("Torso")~=nil then | |
485 | torsy = hit.Parent.Torso | |
486 | elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then | |
487 | torsy = hit.Parent.UpperTorso | |
488 | end | |
489 | local bodpos = Instance.new("BodyPosition",torsy) | |
490 | bodpos.Position = torsy.Position | |
491 | wait(1) | |
492 | burnsnd:Play() | |
493 | hit.Parent.Humanoid.MaxHealth = 0 | |
494 | bodpos.Position = bodpos.Position + Vector3.new(0,4,0) | |
495 | for i = 1, 10 do | |
496 | wait(.1) | |
497 | BurningEff(torsy) | |
498 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 2000 | |
499 | end | |
500 | KillMortal(hit.Parent) | |
501 | end | |
502 | else end | |
503 | end | |
504 | ||
505 | isdoingaction = false | |
506 | ||
507 | --Teleport-- | |
508 | mouse.KeyDown:connect(function(key) | |
509 | if key == "e" and isdoingaction == false then | |
510 | isdoingaction = true | |
511 | Teleport() | |
512 | Orbvc.Transparency = 1 | |
513 | Orbd.Transparency = 1 | |
514 | hed.Transparency = 1 | |
515 | torso.Transparency = 1 | |
516 | larm.Transparency = 1 | |
517 | rarm.Transparency = 1 | |
518 | lleg.Transparency = 1 | |
519 | rleg.Transparency = 1 | |
520 | chara.Humanoid.WalkSpeed = 60 | |
521 | chara.Humanoid.JumpPower = 100 | |
522 | end | |
523 | ||
524 | if key == "q" and isdoingaction == false then | |
525 | isdoingaction = true | |
526 | Orbvc.Transparency = 1 | |
527 | Orbd.Transparency = 1 | |
528 | end | |
529 | end) | |
530 | ||
531 | ||
532 | --Jumpscare-- | |
533 | screamready = true | |
534 | mouse.Button1Down:connect(function() | |
535 | if screamready == true then | |
536 | local hit = mouse.Target | |
537 | screamready = false | |
538 | intimidate:Play() | |
539 | l.Contrast = 0 | |
540 | intimidate.Volume = 5 | |
541 | i = 0 | |
542 | l.TintColor = Color3.new(1,0,0) | |
543 | Grab(Mouse) | |
544 | while i<0.5 do | |
545 | wait() | |
546 | i = i + 0.01 | |
547 | l.Contrast = l.Contrast + 0.02 | |
548 | intimidate.Volume = intimidate.Volume - 0.10 | |
549 | end | |
550 | l.TintColor = Color3.new(1,1,1) | |
551 | l.Contrast = 0 | |
552 | screamready = true | |
553 | end | |
554 | end) | |
555 | ||
556 | mouse.KeyUp:connect(function(key) | |
557 | if key == "e" and isdoingaction == true then | |
558 | isdoingaction = false | |
559 | Orbvc.Transparency = 0 | |
560 | Orbd.Transparency = 0 | |
561 | hed.Transparency = 0 | |
562 | torso.Transparency = 0 | |
563 | larm.Transparency = 0 | |
564 | rarm.Transparency = 0 | |
565 | lleg.Transparency = 0 | |
566 | rleg.Transparency = 0 | |
567 | chara.Humanoid.WalkSpeed = 0 | |
568 | chara.Humanoid.JumpPower = 0 | |
569 | end | |
570 | ||
571 | if key == "q" and isdoingaction == true then | |
572 | isdoingaction = false | |
573 | Orbvc.Transparency = 0 | |
574 | Orbd.Transparency = 0 | |
575 | end | |
576 | end) | |
577 | ||
578 | --Mouse Functions-- | |
579 | while true do | |
580 | wait() | |
581 | chance = math.random(0,100) | |
582 | if chance < 10 then | |
583 | sel = math.random(1,3) | |
584 | if sel == 1 then | |
585 | tecks.Text = "" | |
586 | elseif sel == 2 then | |
587 | tecks.Text = "" | |
588 | elseif sel == 3 then | |
589 | tecks.Text = "" | |
590 | end | |
591 | else tecks.Text = "" | |
592 | if chara.Humanoid.Health > 0 then | |
593 | chara.Humanoid.MaxHealth = math.huge | |
594 | chara.Humanoid.Health = math.huge | |
595 | end | |
596 | if game.Lighting:FindFirstChild("ColorCorrection") == nil then | |
597 | local l = Instance.new("ColorCorrectionEffect",game.Lighting) | |
598 | l.Contrast,l.Saturation,l.Brightness = 2, -0.75, 0.375 | |
599 | l.TintColor = Color3.new(1,0,0) | |
600 | end | |
601 | local l = Instance.new("ColorCorrectionEffect",game.Lighting) | |
602 | ||
603 | for i,v in pairs(chara:children()) do | |
604 | if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh")then | |
605 | v:Destroy() | |
606 | end | |
607 | end | |
608 | char.Head.face:Destroy() | |
609 | tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
610 | end | |
611 | end | |
612 | ||
613 | ------------------------------------------------- |