SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ----edited / improved by delta1035 so rip | |
88 | --nothing but a morph and some cool text n music | |
89 | ||
90 | - | KG = Instance.new("Sound", game.Players.ShizzleGaming.Character) |
90 | + | KG = Instance.new("Sound", game.Players.silver22352.Character) |
91 | KG.Volume = 1 | |
92 | KG.SoundId = "rbxassetid://871929646" | |
93 | KG.Looped = true | |
94 | KG:Play() | |
95 | Effects = { } | |
96 | - | local Player = game.Players.ShizzleGaming |
96 | + | local Player = game.Players.silver22352 |
97 | local Character = Player.Character | |
98 | local Humanoid = Character.Humanoid | |
99 | local LeftArm = Character["Left Arm"] | |
100 | local RightArm = Character["Right Arm"] | |
101 | local LeftLeg = Character["Left Leg"] | |
102 | local RightLeg = Character["Right Leg"] | |
103 | local Head = Character.Head | |
104 | local Torso = Character.Torso | |
105 | local Camera = game.Workspace.CurrentCamera | |
106 | local RootPart = Character.HumanoidRootPart | |
107 | local RootJoint = RootPart.RootJoint | |
108 | local attack = false | |
109 | local Anim = 'Idle' | |
110 | local attacktype = 1 | |
111 | local delays = false | |
112 | local play = true | |
113 | local targetted = nil | |
114 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
115 | local velocity = RootPart.Velocity.y | |
116 | local sine = 0 | |
117 | local change = 1 | |
118 | local doe = 0 | |
119 | local Create = LoadLibrary("RbxUtility").Create | |
120 | - | P=Instance.new("ForceField", game.Players.ShizzleGaming.Character) |
120 | + | P=Instance.new("ForceField", game.Players.silver22352.Character) |
121 | P.Visible = false | |
122 | local Lighty = game:GetService"Lighting" | |
123 | local Sitting = false | |
124 | local idleC = 0 | |
125 | local m = Create("Model"){ | |
126 | Parent = Character, | |
127 | Name = "WeaponModel", | |
128 | } | |
129 | spawn(function() | |
130 | Character.Humanoid.MaxHealth = math.huge | |
131 | Character.Humanoid.Health = math.huge | |
132 | while wait() do | |
133 | Head.BrickColor = BrickColor.new("1003") | |
134 | RightArm.BrickColor = BrickColor.new("1003") | |
135 | LeftArm.BrickColor = BrickColor.new("1003") | |
136 | Torso.BrickColor = BrickColor.new("1003") | |
137 | RightLeg.BrickColor = BrickColor.new("1003") | |
138 | LeftLeg.BrickColor = BrickColor.new("1003") | |
139 | end | |
140 | end) | |
141 | ||
142 | ArtificialHB = Create("BindableEvent", script){ | |
143 | Parent = script, | |
144 | Name = "Heartbeat", | |
145 | } | |
146 | ||
147 | script:WaitForChild("Heartbeat") | |
148 | ||
149 | frame = 1 / 30 | |
150 | tf = 0 | |
151 | allowframeloss = false | |
152 | tossremainder = false | |
153 | lastframe = tick() | |
154 | script.Heartbeat:Fire() | |
155 | ||
156 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
157 | tf = tf + s | |
158 | if tf >= frame then | |
159 | if allowframeloss then | |
160 | script.Heartbeat:Fire() | |
161 | lastframe = tick() | |
162 | else | |
163 | for i = 1, math.floor(tf / frame) do | |
164 | script.Heartbeat:Fire() | |
165 | end | |
166 | lastframe = tick() | |
167 | end | |
168 | if tossremainder then | |
169 | tf = 0 | |
170 | else | |
171 | tf = tf - frame * math.floor(tf / frame) | |
172 | end | |
173 | end | |
174 | end) | |
175 | ||
176 | function swait(num) | |
177 | if num == 0 or num == nil then | |
178 | ArtificialHB.Event:wait() | |
179 | else | |
180 | for i = 0, num do | |
181 | ArtificialHB.Event:wait() | |
182 | end | |
183 | end | |
184 | end | |
185 | ||
186 | CFuncs = { | |
187 | ["Part"] = { | |
188 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
189 | local Part = Create("Part"){ | |
190 | Parent = Parent, | |
191 | Reflectance = Reflectance, | |
192 | Transparency = Transparency, | |
193 | CanCollide = false, | |
194 | Locked = true, | |
195 | BrickColor = BrickColor.new(tostring(BColor)), | |
196 | Name = Name, | |
197 | Size = Size, | |
198 | Material = Material, | |
199 | } | |
200 | RemoveOutlines(Part) | |
201 | return Part | |
202 | end; | |
203 | }; | |
204 | ||
205 | ["Mesh"] = { | |
206 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
207 | local Msh = Create(Mesh){ | |
208 | Parent = Part, | |
209 | Offset = OffSet, | |
210 | Scale = Scale, | |
211 | } | |
212 | if Mesh == "SpecialMesh" then | |
213 | Msh.MeshType = MeshType | |
214 | Msh.MeshId = MeshId | |
215 | end | |
216 | return Msh | |
217 | end; | |
218 | }; | |
219 | ||
220 | ["Mesh"] = { | |
221 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
222 | local Msh = Create(Mesh){ | |
223 | Parent = Part, | |
224 | Offset = OffSet, | |
225 | Scale = Scale, | |
226 | } | |
227 | if Mesh == "SpecialMesh" then | |
228 | Msh.MeshType = MeshType | |
229 | Msh.MeshId = MeshId | |
230 | end | |
231 | return Msh | |
232 | end; | |
233 | }; | |
234 | ||
235 | ["Weld"] = { | |
236 | Create = function(Parent, Part0, Part1, C0, C1) | |
237 | local Weld = Create("Weld"){ | |
238 | Parent = Parent, | |
239 | Part0 = Part0, | |
240 | Part1 = Part1, | |
241 | C0 = C0, | |
242 | C1 = C1, | |
243 | } | |
244 | return Weld | |
245 | end; | |
246 | }; | |
247 | ||
248 | ["Sound"] = { | |
249 | Create = function(id, par, vol, pit) | |
250 | coroutine.resume(coroutine.create(function() | |
251 | local S = Create("Sound"){ | |
252 | Volume = vol, | |
253 | Pitch = pit or 1, | |
254 | SoundId = id, | |
255 | Parent = par or workspace, | |
256 | } | |
257 | wait() | |
258 | S:play() | |
259 | game:GetService("Debris"):AddItem(S, 6) | |
260 | end)) | |
261 | end; | |
262 | }; | |
263 | ||
264 | ["ParticleEmitter"] = { | |
265 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
266 | local fp = Create("ParticleEmitter"){ | |
267 | Parent = Parent, | |
268 | Color = ColorSequence.new(Color1, Color2), | |
269 | LightEmission = LightEmission, | |
270 | Size = Size, | |
271 | Texture = Texture, | |
272 | Transparency = Transparency, | |
273 | ZOffset = ZOffset, | |
274 | Acceleration = Accel, | |
275 | Drag = Drag, | |
276 | LockedToPart = LockedToPart, | |
277 | VelocityInheritance = VelocityInheritance, | |
278 | EmissionDirection = EmissionDirection, | |
279 | Enabled = Enabled, | |
280 | Lifetime = LifeTime, | |
281 | Rate = Rate, | |
282 | Rotation = Rotation, | |
283 | RotSpeed = RotSpeed, | |
284 | Speed = Speed, | |
285 | VelocitySpread = VelocitySpread, | |
286 | } | |
287 | return fp | |
288 | end; | |
289 | }; | |
290 | ||
291 | CreateTemplate = { | |
292 | ||
293 | }; | |
294 | } | |
295 | ||
296 | function chatfunc(text) | |
297 | local chat = coroutine.wrap(function() | |
298 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
299 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
300 | end | |
301 | local naeeym2 = Instance.new("BillboardGui",Character) | |
302 | naeeym2.Size = UDim2.new(0,100,0,40) | |
303 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
304 | naeeym2.Adornee = Character.Head | |
305 | naeeym2.Name = "TalkingBillBoard" | |
306 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
307 | tecks2.BackgroundTransparency = 1 | |
308 | tecks2.BorderSizePixel = 0 | |
309 | tecks2.Text = "" | |
310 | tecks2.Font = "Fantasy" | |
311 | tecks2.TextSize = 30 | |
312 | tecks2.TextStrokeTransparency = 0 | |
313 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
314 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
315 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
316 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
317 | tecks3.BackgroundTransparency = 1 | |
318 | tecks3.BorderSizePixel = 0 | |
319 | tecks3.Text = "" | |
320 | tecks3.Font = "Fantasy" | |
321 | tecks3.TextSize = 30 | |
322 | tecks3.TextStrokeTransparency = 0 | |
323 | tecks3.TextColor3 = BrickColor.new("Hot white").Color | |
324 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
325 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
326 | spawn(function() | |
327 | while wait() do | |
328 | tecks3.TextColor3 = BrickColor.random().Color | |
329 | tecks2.TextColor3 = BrickColor.random().Color | |
330 | end | |
331 | end) | |
332 | for i = 1,string.len(text),1 do | |
333 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=515150941", Character, 5, 1) | |
334 | tecks2.Text = string.sub(text,1,i) | |
335 | tecks3.Text = string.sub(text,1,i) | |
336 | wait(0.01) | |
337 | end | |
338 | wait(2) | |
339 | for i = 1, 50 do | |
340 | swait() | |
341 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5)) | |
342 | tecks2.Rotation = tecks2.Rotation - .8 | |
343 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
344 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
345 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5)) | |
346 | tecks3.Rotation = tecks2.Rotation + .8 | |
347 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
348 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
349 | end | |
350 | naeeym2:Destroy() | |
351 | end) | |
352 | chat() | |
353 | end | |
354 | function onChatted(msg) | |
355 | chatfunc(msg) | |
356 | end | |
357 | Player.Chatted:connect(onChatted) | |
358 | ||
359 | abss = Instance.new("BillboardGui",Character) | |
360 | abss.Size = UDim2.new(10,0,10,0) | |
361 | abss.Enabled = false | |
362 | imgl = Instance.new("ImageLabel",abss) | |
363 | imgl.Position = UDim2.new(0,0,0,0) | |
364 | imgl.Size = UDim2.new(1,0,1,0) | |
365 | imgl.Image = "rbxassetid://183711814" | |
366 | imgl.BackgroundTransparency = 1 | |
367 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
368 | img2 = Instance.new("ImageLabel",abss) | |
369 | img2.Position = UDim2.new(0,0,0,0) | |
370 | img2.Size = UDim2.new(1,0,1,0) | |
371 | img2.Image = "rbxassetid://183711814" | |
372 | img2.BackgroundTransparency = 1 | |
373 | img2.ImageColor3 = Color3.new(.9,0,0) | |
374 | spawn(function() | |
375 | while wait() do | |
376 | imgl.ImageColor3 = BrickColor.new("1020") | |
377 | img2.ImageColor3 = BrickColor.new("1020") | |
378 | end | |
379 | end) | |
380 | - | Me = game.Players.ShizzleGaming |
380 | + | Me = game.Players.silver22352 |
381 | player = Me | |
382 | char = Me.Character | |
383 | chara = char | |
384 | larm = char["Left Arm"] | |
385 | rarm = char["Right Arm"] | |
386 | lleg = char["Left Leg"] | |
387 | rleg = char["Right Leg"] | |
388 | torso = char.Torso | |
389 | hed = char.Head | |
390 | lght = game.Lighting | |
391 | lichtact = false | |
392 | moosicact = false | |
393 | gotsagofest = true | |
394 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
395 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
396 | New = function(Object, Parent, Name, Data) | |
397 | local Object = Instance.new(Object) | |
398 | for Index, Value in pairs(Data or {}) do | |
399 | Object[Index] = Value | |
400 | end | |
401 | Object.Parent = Parent | |
402 | Object.Name = Name | |
403 | return Object | |
404 | end | |
405 | slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5}) | |
406 | hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5}) | |
407 | telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5}) | |
408 | burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5}) | |
409 | music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true}) | |
410 | music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true}) | |
411 | deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true}) | |
412 | deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5}) | |
413 | chara.Humanoid.WalkSpeed = 10 | |
414 | chara.Humanoid.JumpPower = 40 | |
415 | ||
416 | - | Me = game.Players.ShizzleGaming |
416 | + | Me = game.Players.silver22352 |
417 | player = Me | |
418 | char = Me.Character | |
419 | chara = char | |
420 | larm = char["Left Arm"] | |
421 | rarm = char["Right Arm"] | |
422 | lleg = char["Left Leg"] | |
423 | rleg = char["Right Leg"] | |
424 | torso = char.Torso | |
425 | hed = char.Head | |
426 | lght = game.Lighting | |
427 | lichtact = false | |
428 | moosicact = false | |
429 | gotsagofest = true | |
430 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
431 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
432 | function Teleport(pos) | |
433 | telesnd:Play() | |
434 | local ch = chara:GetChildren() | |
435 | for i = 1, #ch do | |
436 | if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
437 | local trace = Instance.new("Part",game.Workspace) | |
438 | trace.Size = ch[i].Size | |
439 | trace.Material = "Neon" | |
440 | trace.BrickColor = BrickColor.new("Really black") | |
441 | trace.Transparency = .3 | |
442 | trace.CanCollide = false | |
443 | trace.Anchored = true | |
444 | trace.CFrame = ch[i].CFrame | |
445 | if ch[i].Name == "Head" then | |
446 | mehs = Instance.new("CylinderMesh",trace) | |
447 | mehs.Scale = Vector3.new(1.25,1.25,1.25) | |
448 | end | |
449 | tracedisappear = coroutine.wrap(function() | |
450 | wait(1) | |
451 | for i = 1, 7 do | |
452 | wait(.1) | |
453 | trace.Transparency = trace.Transparency + .1 | |
454 | end | |
455 | trace:Destroy() | |
456 | end) | |
457 | tracedisappear() | |
458 | end | |
459 | end | |
460 | chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
461 | end | |
462 | function onKeyDown(key) | |
463 | if key == "z" then | |
464 | Teleport(Mouse.Hit.p + Vector3.new(0,2,0)) | |
465 | end | |
466 | end | |
467 | --Mouse Functions-- | |
468 | if Mouse then | |
469 | Mouse.KeyDown:connect(onKeyDown) | |
470 | end | |
471 | --variables added by delta--------- | |
472 | - | player = game.Players.ShizzleGaming |
472 | + | player = game.Players.silver22352 |
473 | char = player.Character | |
474 | ----------------------------------- | |
475 | char["Body Colors"].HeadColor = BrickColor.new("1003") | |
476 | char["Body Colors"].LeftArmColor = BrickColor.new("1003") | |
477 | char["Body Colors"].RightArmColor = BrickColor.new("1003") | |
478 | char["Body Colors"].TorsoColor = BrickColor.new("1003") | |
479 | char["Body Colors"].RightLegColor = BrickColor.new("1003") | |
480 | char["Body Colors"].LeftLegColor = BrickColor.new("1003") | |
481 | --------------------------------------- | |
482 | ypcall(function() | |
483 | shirt = Instance.new("Shirt", char) | |
484 | shirt.Name = "Shirt" | |
485 | pants = Instance.new("Pants", char) | |
486 | pants.Name = "Pants" | |
487 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0" | |
488 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0" | |
489 | end) | |
490 | --Scripted By coolallball | |
491 | wait() | |
492 | - | local Player=game.Players.ShizzleGaming |
492 | + | local Player=game.Players.silver22352 |
493 | repeat wait() | |
494 | until Player | |
495 | local Char=Player.Character | |
496 | repeat wait() | |
497 | until Char | |
498 | local CurrentEffects={} | |
499 | local CurrentDamages={} | |
500 | local Human=Char.Humanoid | |
501 | local LArm=Char["Left Arm"] | |
502 | local RArm=Char["Right Arm"] | |
503 | local LLeg=Char["Left Leg"] | |
504 | local RLeg=Char["Right Leg"] | |
505 | local Torso=Char.Torso | |
506 | local RS=Torso["Right Shoulder"] | |
507 | local LS=Torso["Left Shoulder"] | |
508 | local RH=Torso["Right Hip"] | |
509 | local LH=Torso["Left Hip"] | |
510 | local Head=Char.Head | |
511 | local Neck=Torso.Neck | |
512 | local RootPart=Char.HumanoidRootPart | |
513 | local RootJoint=RootPart.RootJoint | |
514 | local equipped=false | |
515 | local Debounce=false | |
516 | local Anim="Idle" | |
517 | local chat = game:GetService("Chat") | |
518 | local Lighting=game.Lighting | |
519 | local cam=workspace.CurrentCamera | |
520 | local cf=CFrame.new | |
521 | local v3=Vector3.new | |
522 | local c3=Color3.new | |
523 | local it=Instance.new | |
524 | local angles=CFrame.Angles | |
525 | local rad=math.rad | |
526 | local ran=math.random | |
527 | local huge=math.huge | |
528 | local attacking=false | |
529 | Tool=script.Parent | |
530 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
531 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
532 | LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
533 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
534 | RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
535 | ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
536 | --why do people label stuff with comments, y. | |
537 | r=game:service'RunService'.Stepped | |
538 | clerp=function(a,b,t) | |
539 | return a:lerp(b,t) | |
540 | end | |
541 | ||
542 | Inp=Player:GetChildren() | |
543 | ||
544 | Human.WalkSpeed=16 | |
545 | Human.JumpPower=50 | |
546 | ||
547 | for i=1,#Inp do | |
548 | if Inp[i]:IsA('Sound') then Inp[i]:Remove() end | |
549 | end | |
550 | ||
551 | --Functions | |
552 | ||
553 | function FindDist(a,b) | |
554 | return math.sqrt((b.p.x-a.p.x)^2+(b.p.y-a.p.y)^2+(b.p.z-a.p.z)^2) | |
555 | end | |
556 | ||
557 | Round=function(Num) | |
558 | local mid=math.ceil(Num) | |
559 | mid=mid-.5 | |
560 | if Num>=mid then | |
561 | return math.ceil(Num) | |
562 | else return math.floor(Num) | |
563 | end | |
564 | end | |
565 | ||
566 | --Damage function | |
567 | function Damage(part,min,max,range,font) | |
568 | for i,v in pairs(workspace:GetChildren()) do | |
569 | if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v.ClassName=="Model" and FindDist(part,v.Torso.CFrame)<=range and v.Name~= Player.Name then | |
570 | local dmg=Round(math.random(min,max)) | |
571 | local bil=Instance.new("BillboardGui",v:FindFirstChild("Torso")) | |
572 | bil.Adornee=v:FindFirstChild("Torso") | |
573 | bil.Size=UDim2.new(0, 500, 0, 500) | |
574 | bil.ExtentsOffset=Vector3.new(ran(-3,3),ran(-3,3),ran(-3,3)) | |
575 | local tx=Instance.new("TextLabel",bil) | |
576 | tx.Text=""..dmg.."" | |
577 | tx.Font="Fantasy" | |
578 | tx.FontSize="Size60" | |
579 | tx.TextWrapped = false | |
580 | tx.TextStrokeTransparency = 0 | |
581 | tx.TextColor = BrickColor.new("Pastel white") | |
582 | tx.TextXAlignment = "Center" | |
583 | tx.TextYAlignment = "Center" | |
584 | tx.TextWrapped = false | |
585 | tx.SizeConstraint = "RelativeXY" | |
586 | v:FindFirstChild('Humanoid'):TakeDamage(math.random(min,max)) | |
587 | spawn(function() | |
588 | for ii=1,10 do r:wait() | |
589 | tx.TextTransparency=ii/10 end | |
590 | bil:Destroy() end) | |
591 | end end end | |
592 | ||
593 | ||
594 | --Folders+More functions | |
595 | ||
596 | Effects=Instance.new("Folder",Char) | |
597 | Effects.Name="Effects" | |
598 | Sounds=Instance.new("Folder",Char) | |
599 | Sounds.Name="Sounds" | |
600 | part=function(parent,anchored,cancollide,size,cframe,col3,material,trans) | |
601 | local p=it("Part",parent) | |
602 | p.Anchored=anchored | |
603 | p.CanCollide=cancollide | |
604 | p.Size=size | |
605 | p.CFrame=cframe | |
606 | p.Color=col3 | |
607 | p.Material=material | |
608 | p.Transparency=trans | |
609 | return p | |
610 | end | |
611 | ||
612 | mesh=function(parent,ttype,scale) | |
613 | local m=it("SpecialMesh",parent) | |
614 | m.MeshType=ttype | |
615 | m.Scale=scale | |
616 | return m | |
617 | end | |
618 | ||
619 | spmesh=function(parent,id,scale) | |
620 | local m=it("SpecialMesh",parent) | |
621 | m.MeshId=id | |
622 | m.Scale=scale | |
623 | return m | |
624 | end | |
625 | ||
626 | local Smooth=function(Table) | |
627 | for _, v in pairs(Table) do | |
628 | if v.ClassName=="Part" then | |
629 | v.TopSurface,v.BottomSurface,v.BackSurface,v.FrontSurface,v.LeftSurface,v.RightSurface=10,10,10,10,10,10 end end | |
630 | end | |
631 | ||
632 | clicked=false | |
633 | xing=false | |
634 | Mouse.Button1Down:connect(function(k) | |
635 | if (Mouse.hit.p-Torso.Position).magnitude<=150 then | |
636 | clicked=true end | |
637 | end) | |
638 | ||
639 | DoStuff=function() spawn(function() | |
640 | clicked=false | |
641 | local from=part(Char,true,false,v3(1,1,1),Torso.CFrame*cf(ran(-5,5),0,ran(5,10)),c3(0,0,0),'Plastic',1) | |
642 | ||
643 | local down=Ray.new(from.Position,v3(0,-999,0)) | |
644 | ||
645 | local partt,pos=workspace:FindPartOnRayWithIgnoreList(down,Char:children(),false,true) | |
646 | if partt then | |
647 | local ransize=math.random(3,5) | |
648 | local gfxb=part(Effects,true,false,v3(ransize,ransize,ransize),CFrame.new(pos)*cf(0,-ransize/2,0),partt.Color,partt.Material,partt.Transparency) | |
649 | gfxb.TopSurface=partt.TopSurface | |
650 | gfxb.BottomSurface=partt.BottomSurface | |
651 | gfxb.LeftSurface=partt.LeftSurface | |
652 | gfxb.RightSurface=partt.RightSurface | |
653 | gfxb.BackSurface=partt.BackSurface | |
654 | gfxb.FrontSurface=partt.FrontSurface | |
655 | ||
656 | local fx=part(gfxb,false,false,v3(gfxb.Size.X+gfxb.Size.X/25,gfxb.Size.Y+gfxb.Size.X/25,gfxb.Size.Z+gfxb.Size.X/25),gfxb.CFrame,c3(1,1,0),"Neon",.85) | |
657 | spawn(function() | |
658 | while r:wait() do | |
659 | fx.CFrame=gfxb.CFrame | |
660 | end | |
661 | end) | |
662 | for _=1,70 do r:wait() | |
663 | gfxb.CFrame=gfxb.CFrame*angles(rad(1),rad(1),rad(1))+v3(0,8/70,0) | |
664 | end | |
665 | ||
666 | ||
667 | local DownFromFloaty=Ray.new(gfxb.Position,v3(0,-999,0)) | |
668 | local partt,pos=workspace:FindPartOnRayWithIgnoreList(DownFromFloaty,Char:children(),false,true) | |
669 | ||
670 | coroutine.resume(coroutine.create(function() | |
671 | repeat r:wait() spawn(function() | |
672 | if pos then | |
673 | local cir=part(Effects,true,false,v3(0,0,0),cf(pos)*angles(rad(-90),0,0),c3(1,1,0),"Plastic",0) | |
674 | local cm=spmesh(cir,"rbxassetid://3270017",v3(2,2,1)) | |
675 | for i=1,50 do r:wait() | |
676 | cm.Scale=cm.Scale:Lerp(cm.Scale+v3(.4,.4,0),.3) | |
677 | cir.Transparency=i/50 | |
678 | end | |
679 | cir:Destroy() | |
680 | end end) wait(.2) | |
681 | until clicked==true | |
682 | end)) | |
683 | ||
684 | repeat r:wait() gfxb.CFrame=gfxb.CFrame*angles(rad(1),rad(1),rad(1))+v3(0,.05*math.sin(tick()*2),0) until clicked==true | |
685 | ||
686 | local bv=Instance.new('BodyVelocity',gfxb) | |
687 | bv.maxForce=v3(huge,huge,huge) | |
688 | bv.Velocity=(Mouse.hit.p-gfxb.Position).unit*65 | |
689 | ||
690 | local reach=part(Char,true,false,v3(1,1,1),Mouse.hit,c3(0,0,0),'Plastic',1) | |
691 | ||
692 | gfxb.Anchored=false | |
693 | local waittime=0 | |
694 | repeat r:wait() | |
695 | waittime=waittime+1/60 | |
696 | until (reach.Position-gfxb.Position).Magnitude<=3 or waittime>7 | |
697 | if waittime>7 then | |
698 | gfxb:Destroy() | |
699 | reach:Destroy() | |
700 | from:Destroy() | |
701 | xing=false | |
702 | elseif waittime<7 and (reach.Position-gfxb.Position).Magnitude<=3 then | |
703 | local down1=Ray.new(gfxb.Position,v3(0,-999,0)) | |
704 | local partt1,pos1=workspace:FindPartOnRayWithIgnoreList(down1,Char:children(),false,true) | |
705 | if partt1 then | |
706 | gfxb.Anchored=true | |
707 | local ss={} | |
708 | Damage(gfxb.CFrame,40,80,gfxb.Size.x+.3) | |
709 | spawn(function() | |
710 | for p=1,15 do spawn(function() | |
711 | local b=part(Effects,false,true,v3(1,1,1),cf(pos1),partt1.Color,partt1.Material,partt1.Transparency) | |
712 | table.insert(ss,b) | |
713 | end) | |
714 | end | |
715 | end) | |
716 | spawn(function() | |
717 | for ii=1,7 do | |
718 | local s=part(Effects,true,true,v3(ran(5,8),3,ran(5,8)),cf(pos1)*cf(ran(-1,1),0,ran(-1,1))*angles(rad(ran(-10,10)),rad(ran(-10,10)),rad(ran(-10,10))),partt1.Color,partt1.Material,partt1.Transparency) | |
719 | table.insert(ss,s) | |
720 | end end) | |
721 | wait(4) | |
722 | for iv=1,#ss do spawn(function() | |
723 | for v=1,60 do r:wait() | |
724 | ss[iv].Transparency=v/60 | |
725 | gfxb.Transparency=v/60 | |
726 | fx.Transparency=.85+v/50 | |
727 | end ss[iv]:Destroy()end) | |
728 | end | |
729 | end | |
730 | gfxb:Destroy() | |
731 | else | |
732 | gfxb:Destroy() | |
733 | reach:Destroy() | |
734 | from:Destroy() | |
735 | xing=false | |
736 | end | |
737 | else warn'No floor detected.' | |
738 | end | |
739 | end) | |
740 | end | |
741 | ||
742 | ||
743 | Mouse.KeyDown:connect(function(k) | |
744 | if k=="x" and xing==false then | |
745 | xing=true | |
746 | DoStuff() | |
747 | xing=false | |
748 | end | |
749 | end) | |
750 | ||
751 | Mouse.KeyDown:connect(function(k) | |
752 | if k=="e" then | |
753 | for i=1,60 do r:wait() | |
754 | RootJoint.C0=clerp(RootJoint.C0,ROOTC0*angles(rad(30),0,rad(30)),.3) | |
755 | Neck.C0=clerp(Neck.C0,necko*angles(rad(0),0,rad(-30)),.3) | |
756 | RS.C0=clerp(RS.C0,RSC0*angles(rad(-30),0,rad(-30)),.3) | |
757 | RH.C0=clerp(RH.C0,RHC0*angles(rad(-30),rad(0),rad(-30))*cf(.2,0,0),.3) | |
758 | LS.C0=clerp(LS.C0,LSC0*angles(0,rad(-30),rad(-30)),.3) | |
759 | end | |
760 | end | |
761 | end) | |
762 | - | player = game.Players.ShizzleGaming |
762 | + | player = game.Players.silver22352 |
763 | chara = player.Character | |
764 | debby = game.Debris | |
765 | ||
766 | --Outfit and Weapons-- | |
767 | New = function(Object, Parent, Name, Data) | |
768 | local Object = Instance.new(Object) | |
769 | for Index, Value in pairs(Data or {}) do | |
770 | Object[Index] = Value | |
771 | end | |
772 | Object.Parent = Parent | |
773 | Object.Name = Name | |
774 | return Object | |
775 | end | |
776 | function LoadAnim(id) | |
777 | local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id}) | |
778 | local realanim = chara.Humanoid:LoadAnimation(anim) | |
779 | return realanim | |
780 | end | |
781 | HoldA = LoadAnim(69427262) | |
782 | HoldA:Play() | |
783 | wait(2) | |
784 | - | BEAST = game.Players.ShizzleGaming -----By raulib fellas, again. Who copies this without my permission gets civil judgement. ---Again thanks MustardFoot and Tollonis for the blood--- It works the grab and kill on R15 too! ---Thanks to ShADow0nYx for the decals and scream--- |
784 | + | BEAST = game.Players.silver22352 -----By raulib fellas, again. Who copies this without my permission gets civil judgement. ---Again thanks MustardFoot and Tollonis for the blood--- It works the grab and kill on R15 too! ---Thanks to ShADow0nYx for the decals and scream--- |
785 | inf = math.huge | |
786 | BEAST.Character.Head.face:Destroy() | |
787 | TRGT = Instance.new("ObjectValue") | |
788 | TRGT.Parent = script | |
789 | TRGT.Name = "Target" | |
790 | InvisFF = Instance.new("ForceField") | |
791 | InvisFF.Parent = BEAST.Character | |
792 | InvisFF.Visible = false | |
793 | BEAST.Character.Humanoid.MaxHealth = inf | |
794 | BEAST.Character.Humanoid.Health = inf | |
795 | BEAST.Character.Humanoid.Name = "I am the killer, MUAHAHA" | |
796 | -------Identitations on shit---------- | |
797 | Grabbed = false | |
798 | Killing = false | |
799 | RAN = false | |
800 | -------------------------------------- | |
801 | o1 = Instance.new("Model") | |
802 | o2 = Instance.new("Part") | |
803 | o3 = Instance.new("SpecialMesh") | |
804 | o4 = Instance.new("Part") | |
805 | o5 = Instance.new("SpecialMesh") | |
806 | o6 = Instance.new("Weld") | |
807 | o7 = Instance.new("CFrameValue") | |
808 | o8 = Instance.new("Part") | |
809 | o9 = Instance.new("ParticleEmitter") | |
810 | o9.LockedToPart = true | |
811 | o10 = Instance.new("Weld") | |
812 | o11 = Instance.new("CFrameValue") | |
813 | o12 = Instance.new("Part") | |
814 | o13 = Instance.new("ParticleEmitter") | |
815 | o13.LockedToPart = true | |
816 | o14 = Instance.new("Weld") | |
817 | o15 = Instance.new("CFrameValue") | |
818 | o1.Name = "NoobHead" | |
819 | o1.Parent = BEAST.Character | |
820 | o2.Name = "Top" | |
821 | o2.Parent = o1 | |
822 | o2.BrickColor = BEAST.Character.Head.BrickColor | |
823 | o2.Position = Vector3.new(-19.9953899, 10.3819218, -45.1451874) | |
824 | o2.Size = Vector3.new(1.22399998, 1.05599999, 1.22399998) | |
825 | o2.CFrame = CFrame.new(-19.9953899, 10.3819218, -45.1451874, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
826 | o2.Color = BEAST.Character.Head.Color | |
827 | o2.Position = Vector3.new(-19.9953899, 10.3819218, -45.1451874) | |
828 | o2.Color = BEAST.Character.Head.Color | |
829 | o3.Parent = o2 | |
830 | o3.MeshId = "rbxassetid://942999646" | |
831 | o3.MeshType = Enum.MeshType.FileMesh | |
832 | o4.Name = "Bottom" | |
833 | WELD = Instance.new("Weld") | |
834 | WELD.Parent = o4 | |
835 | WELD.Part1 = o4 | |
836 | WELD.Part0 = BEAST.Character.Head | |
837 | WELD.C0 = CFrame.new(0,-0.25,0) | |
838 | BEAST.Character.Head.Transparency = 1 | |
839 | o4.Parent = o1 | |
840 | o4.BrickColor = BEAST.Character.Head.BrickColor | |
841 | o4.Position = Vector3.new(-19.9953899, 10.0184422, -45.1451874) | |
842 | o4.Size = Vector3.new(1.22399998, 0.58099997, 1.22500002) | |
843 | o4.CFrame = CFrame.new(-19.9953899, 10.0184422, -45.1451874, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
844 | o4.Color = BEAST.Character.Head.Color | |
845 | o4.Position = Vector3.new(-19.9953899, 10.0184422, -45.1451874) | |
846 | o4.Color = BEAST.Character.Head.Color | |
847 | o5.Parent = o4 | |
848 | o5.MeshId = "rbxassetid://943004920" | |
849 | o5.MeshType = Enum.MeshType.FileMesh | |
850 | o6.Name = "qCFrameWeldThingy" | |
851 | o6.Parent = o4 | |
852 | o6.C1 = CFrame.new(0, 0.363479137, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
853 | o6.Part0 = o2 | |
854 | o6.Part1 = o4 | |
855 | o7.Name = "qRelativeCFrameWeldValue" | |
856 | o7.Parent = o4 | |
857 | o7.Value = CFrame.new(0, 0.363479137, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
858 | o8.Name = "ParticleEmitter" | |
859 | o8.Parent = o1 | |
860 | o8.Transparency = 1 | |
861 | o8.Position = Vector3.new(-20.1943512, 10.4078159, -45.6634293) | |
862 | o8.Rotation = Vector3.new(-21.2299995, 0, 0) | |
863 | o8.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
864 | o8.CFrame = CFrame.new(-20.1943512, 10.4078159, -45.6634293, 1, 0, 0, 0, 0.9321208, 0.362152874, 0, -0.362148494, 0.932122946) | |
865 | o8.Position = Vector3.new(-20.1943512, 10.4078159, -45.6634293) | |
866 | o8.Orientation = Vector3.new(-21.2299995, 0, 0) | |
867 | o9.Name = "Fire" | |
868 | o9.Enabled = false | |
869 | o9.Parent = o8 | |
870 | o9.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0) | |
871 | o9.Rotation = NumberRange.new(4,9) | |
872 | o9.Size = NumberSequence.new(0.25,0.25) | |
873 | o9.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
874 | o9.LightEmission = 0.86000001430511 | |
875 | o9.Texture = "http://www.roblox.com/asset/?id=248625108" | |
876 | o9.Acceleration = Vector3.new(0, 6, 0) | |
877 | o9.Lifetime = NumberRange.new(0,0.20000000298023) | |
878 | o9.Rate = inf | |
879 | o9.RotSpeed = NumberRange.new(5,9) | |
880 | o9.Speed = NumberRange.new(5,7) | |
881 | o9.VelocitySpread = 5 | |
882 | o9.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
883 | o10.Name = "qCFrameWeldThingy" | |
884 | o10.Parent = o8 | |
885 | o10.C1 = CFrame.new(0.198961258, -0.211818695, 0.473686218, 1, 0, 0, 0, 0.9321208, -0.362148494, 0, 0.362152874, 0.932122946) | |
886 | o10.Part0 = o2 | |
887 | o10.Part1 = o8 | |
888 | o11.Name = "qRelativeCFrameWeldValue" | |
889 | o11.Parent = o8 | |
890 | o11.Value = CFrame.new(0.198961258, -0.211818695, 0.473686218, 1, 0, 0, 0, 0.9321208, -0.362148494, 0, 0.362152874, 0.932122946) | |
891 | o12.Name = "ParticleEmitter" | |
892 | o12.Parent = o1 | |
893 | o12.Transparency = 1 | |
894 | o12.Position = Vector3.new(-19.7783909, 10.4078159, -45.6634293) | |
895 | o12.Rotation = Vector3.new(-21.2299995, 0, 0) | |
896 | o12.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007) | |
897 | o12.CFrame = CFrame.new(-19.7783909, 10.4078159, -45.6634293, 1, 0, 0, 0, 0.9321208, 0.362152874, 0, -0.362148494, 0.932122946) | |
898 | o12.Position = Vector3.new(-19.7783909, 10.4078159, -45.6634293) | |
899 | o12.Orientation = Vector3.new(-21.2299995, 0, 0) | |
900 | o13.Name = "Fire" | |
901 | o13.Enabled = false | |
902 | o13.Parent = o12 | |
903 | o13.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0) | |
904 | o13.Rotation = NumberRange.new(4,9) | |
905 | o13.Size = NumberSequence.new(0.25,0.25) | |
906 | o13.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
907 | o13.LightEmission = 0.86000001430511 | |
908 | o13.Texture = "http://www.roblox.com/asset/?id=248625108" | |
909 | o13.Acceleration = Vector3.new(0, 6, 0) | |
910 | o13.Lifetime = NumberRange.new(0,0.20000000298023) | |
911 | o13.Rate = inf | |
912 | o13.RotSpeed = NumberRange.new(5,9) | |
913 | o13.Speed = NumberRange.new(5,7) | |
914 | o13.VelocitySpread = 5 | |
915 | o13.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(0.364706, 0, 0)) | |
916 | o14.Name = "qCFrameWeldThingy" | |
917 | o14.Parent = o12 | |
918 | o14.C1 = CFrame.new(-0.216999054, -0.211818695, 0.473686218, 1, 0, 0, 0, 0.9321208, -0.362148494, 0, 0.362152874, 0.932122946) | |
919 | o14.Part0 = o2 | |
920 | o14.Part1 = o12 | |
921 | o15.Name = "qRelativeCFrameWeldValue" | |
922 | o15.Parent = o12 | |
923 | o15.Value = CFrame.new(-0.216999054, -0.211818695, 0.473686218, 1, 0, 0, 0, 0.9321208, -0.362148494, 0, 0.362152874, 0.932122946) | |
924 | -----EYS | |
925 | eyo1 = Instance.new("Part") | |
926 | eyo2 = Instance.new("SpecialMesh") | |
927 | eyo3 = Instance.new("Weld") | |
928 | eyo4 = Instance.new("CFrameValue") | |
929 | eyo5 = Instance.new("Part") | |
930 | eyo6 = Instance.new("SpecialMesh") | |
931 | eyo7 = Instance.new("Weld") | |
932 | eyo8 = Instance.new("CFrameValue") | |
933 | eyo1.Name = "Eye" | |
934 | eyo1.Parent = o1 | |
935 | eyo1.Position = Vector3.new(24.7383823, 1.86318994, 10.103672) | |
936 | eyo1.Rotation = Vector3.new(-0.25999999, 0.189999998, -90) | |
937 | eyo1.FormFactor = Enum.FormFactor.Symmetric | |
938 | eyo1.Size = Vector3.new(0.350000441, 0.319999933, 0.319999993) | |
939 | eyo1.CFrame = CFrame.new(24.7383823, 1.86318994, 10.103672, 7.78192862e-06, 0.99997592, 0.00339514017, -0.99998951, -9.68524728e-06, 0.00458411966, 0.00458441861, -0.00339506217, 0.999983728) | |
940 | eyo1.BottomSurface = Enum.SurfaceType.Smooth | |
941 | eyo1.TopSurface = Enum.SurfaceType.Smooth | |
942 | eyo1.Position = Vector3.new(24.7383823, 1.86318994, 10.103672) | |
943 | eyo1.Orientation = Vector3.new(-0.25999999, 0.189999998, -90) | |
944 | eyo2.Parent = eyo1 | |
945 | eyo2.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
946 | eyo2.Scale = Vector3.new(0.699999988, 0.699999988, 0.660000026) | |
947 | eyo2.TextureId = "http://www.roblox.com/asset/?id=7185305" | |
948 | eyo2.MeshType = Enum.MeshType.FileMesh | |
949 | eyo2.Scale = Vector3.new(0.699999988, 0.699999988, 0.660000026) | |
950 | eyo3.Name = "qCFrameWeldThingy" | |
951 | eyo3.Parent = eyo1 | |
952 | eyo3.C1 = CFrame.new(0.0261619687, 0.160301208, 0.393903732, 2.7723012e-05, -1, -2.49082223e-06, 0.999990821, 2.67715077e-05, -4.06522304e-07, 4.10014763e-07, -2.6402995e-06, 1) | |
953 | eyo3.Part0 = o2 | |
954 | eyo3.Part1 = eyo1 | |
955 | eyo4.Name = "qRelativeCFrameWeldValue" | |
956 | eyo4.Parent = eyo1 | |
957 | eyo4.Value = CFrame.new(0.0261619687, 0.160301208, 0.393903732, 2.7723012e-05, -1, -2.49082223e-06, 0.999990821, 2.67715077e-05, -4.06522304e-07, 4.10014763e-07, -2.6402995e-06, 1) | |
958 | eyo5.Name = "Eye" | |
959 | eyo5.Parent = o1 | |
960 | eyo5.Position = Vector3.new(25.0674343, 1.86318672, 10.1025543) | |
961 | eyo5.Rotation = Vector3.new(-0.25999999, 0.189999998, -90) | |
962 | eyo5.FormFactor = Enum.FormFactor.Symmetric | |
963 | eyo5.Size = Vector3.new(0.350000441, 0.319999933, 0.319999993) | |
964 | eyo5.CFrame = CFrame.new(25.0674343, 1.86318672, 10.1025543, 7.78192862e-06, 0.99997592, 0.00339514017, -0.99998951, -9.68524728e-06, 0.00458411966, 0.00458441861, -0.00339506217, 0.999983728) | |
965 | eyo5.BottomSurface = Enum.SurfaceType.Smooth | |
966 | eyo5.TopSurface = Enum.SurfaceType.Smooth | |
967 | eyo5.Position = Vector3.new(25.0674343, 1.86318672, 10.1025543) | |
968 | eyo5.Orientation = Vector3.new(-0.25999999, 0.189999998, -90) | |
969 | eyo6.Parent = eyo5 | |
970 | eyo6.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
971 | eyo6.Scale = Vector3.new(0.699999988, 0.699999988, 0.660000026) | |
972 | eyo6.TextureId = "http://www.roblox.com/asset/?id=7185305" | |
973 | eyo6.MeshType = Enum.MeshType.FileMesh | |
974 | eyo6.Scale = Vector3.new(0.699999988, 0.699999988, 0.660000026) | |
975 | eyo7.Name = "qCFrameWeldThingy" | |
976 | eyo7.Parent = eyo5 | |
977 | eyo7.C1 = CFrame.new(0.0261619687, -0.168758392, 0.393903732, 2.7723012e-05, -1, -2.49082223e-06, 0.999990821, 2.67715077e-05, -4.06522304e-07, 4.10014763e-07, -2.6402995e-06, 1) | |
978 | eyo7.Part0 = o2 | |
979 | eyo7.Part1 = eyo5 | |
980 | eyo8.Name = "qRelativeCFrameWeldValue" | |
981 | eyo8.Parent = eyo5 | |
982 | eyo8.Value = CFrame.new(0.0261619687, -0.168758392, 0.393903732, 2.7723012e-05, -1, -2.49082223e-06, 0.999990821, 2.67715077e-05, -4.06522304e-07, 4.10014763e-07, -2.6402995e-06, 1) | |
983 | -------- | |
984 | ||
985 | pcall(function() | |
986 | for i, v in pairs(BEAST.Character:children()) do | |
987 | if v:IsA("Accessory")then | |
988 | if v.Handle.AccessoryWeld.Part1 == BEAST.Character.Head | |
989 | then | |
990 | WELD = Instance.new("Weld") | |
991 | WELD.Parent = o4 | |
992 | WELD.Part1 = o4 | |
993 | WELD.Part0 = BEAST.Character.Head | |
994 | WELD.C0 = CFrame.new(0,-0.25,0) | |
995 | BEAST.Character.Head.Transparency = 1 | |
996 | v.Handle.AccessoryWeld.Part1 = o2 | |
997 | end | |
998 | end | |
999 | end | |
1000 | end) | |
1001 | ||
1002 | ||
1003 | Mouse.KeyDown:connect(function(key) | |
1004 | if (key == "g") and Grabbed == false and Killing == false and (Mouse.Target.Parent.Head.Position - BEAST.Character.Head.Position).magnitude < 5 then | |
1005 | pcall(function() | |
1006 | for i, v in pairs(Mouse.Target.Parent:children()) do | |
1007 | if v:IsA("Part") and v.Name == "HumanoidRootPart" then | |
1008 | v:Destroy() | |
1009 | end | |
1010 | end | |
1011 | end) | |
1012 | ||
1013 | pcall(function() | |
1014 | for i, v in pairs(TRGT.Value:children()) do | |
1015 | if v:IsA("Humanoid")then | |
1016 | v.PlatformStand = true | |
1017 | v.AutoRotate = false | |
1018 | v.WalkSpeed = 0 | |
1019 | v.JumpPower = 0 | |
1020 | end | |
1021 | end | |
1022 | end) | |
1023 | ||
1024 | TRGT.Value = Mouse.Target.Parent | |
1025 | WELD_TO_PLAYER = Instance.new("Weld") | |
1026 | WELD_TO_PLAYER.Parent = BEAST.Character["Left Arm"] | |
1027 | WELD_TO_PLAYER.Name = "ASDAFSRTHSHDTYJFHJGSDZGFTDGJFFGDHDGDG" | |
1028 | WELD_TO_PLAYER.Part0 = BEAST.Character["Left Arm"] | |
1029 | WELD_TO_PLAYER.Part1 = TRGT.Value.Head | |
1030 | ||
1031 | WELD_TO_PLAYER.C1 = CFrame.Angles(0,0,math.deg(90)) | |
1032 | WELD_TO_PLAYER.C0 = CFrame.new(0,-1.5,-.5) | |
1033 | ||
1034 | local o2 = Instance.new("Weld") | |
1035 | local o3 = Instance.new("CFrameValue") | |
1036 | local o5 = Instance.new("Weld") | |
1037 | local o6 = Instance.new("CFrameValue") | |
1038 | o2.Name = "qCFrameWeldThingy" | |
1039 | o2.Parent = BEAST.Character["Left Arm"] | |
1040 | o2.C1 = CFrame.new(1.46055746, 0.78657341, -0.997600555, 0.975721657, -0.0151646473, -0.218488649, 0.219014272, 0.0675594062, 0.97337997, 0, -0.997600019, 0.0692404509) | |
1041 | o2.C0 = CFrame.new(0,1.5,0) | |
1042 | o2.Part1 = BEAST.Character["Left Arm"] | |
1043 | o2.Part0 = BEAST.Character.Torso | |
1044 | o3.Name = "qRelativeCFrameWeldValue" | |
1045 | o3.Parent = BEAST.Character["Left Arm"] | |
1046 | o3.Value = CFrame.new(1.46055746, 0.78657341, -0.997600555, 0.975721657, -0.0151646473, -0.218488649, 0.219014272, 0.0675594062, 0.97337997, 0, -0.997600019, 0.0692404509) | |
1047 | o5.Name = "qCFrameWeldThingy" | |
1048 | o5.Part0 = BEAST.Character.Torso | |
1049 | o5.Parent = BEAST.Character["Right Arm"] | |
1050 | o5.C1 = CFrame.new(-1.49657011, 0.582841873, -0.999992371, 0.996869624, 0.000299534295, 0.0790627375, -0.0790633038, 0.00377667812, 0.996862471, 0, -0.999992847, 0.00378853758) | |
1051 | o5.C0 = CFrame.new(0,1.5,0) | |
1052 | o5.Part1 = BEAST.Character["Right Arm"] | |
1053 | o6.Name = "qRelativeCFrameWeldValue" | |
1054 | o6.Parent = BEAST.Character["Right Arm"] | |
1055 | o6.Value = CFrame.new(-1.49657011, 0.582841873, -0.999992371, 0.996869624, 0.000299534295, 0.0790627375, -0.0790633038, 0.00377667812, 0.996862471, 0, -0.999992847, 0.00378853758) | |
1056 | wait(.5) | |
1057 | Grabbed = true | |
1058 | repeat | |
1059 | wait() | |
1060 | pcall(function() | |
1061 | for i, v in pairs(TRGT.Value:children()) do | |
1062 | if v:IsA("Humanoid")then | |
1063 | AS = v | |
1064 | v.PlatformStand = true | |
1065 | end | |
1066 | end | |
1067 | end) | |
1068 | until AS.Health == 0 or Grabbed == false | |
1069 | end | |
1070 | end) | |
1071 | ||
1072 | ||
1073 | ||
1074 | Mouse.KeyDown:connect(function(key) | |
1075 | if (key == "g") and Grabbed == true and Killing == false then | |
1076 | WELD_TO_PLAYER:Destroy() | |
1077 | pcall(function() | |
1078 | for i, v in pairs(BEAST.Character["Left Arm"]:children()) do | |
1079 | if v:IsA("Weld") or v:IsA("CFrameValue")then | |
1080 | v:Destroy() | |
1081 | end | |
1082 | end | |
1083 | end) | |
1084 | ||
1085 | pcall(function() | |
1086 | for i, v in pairs(BEAST.Character["Right Arm"]:children()) do | |
1087 | if v:IsA("Weld") or v:IsA("CFrameValue")then | |
1088 | v:Destroy() | |
1089 | end | |
1090 | end | |
1091 | end) | |
1092 | ||
1093 | local LS = Instance.new("Motor6D") | |
1094 | local RS = Instance.new("Motor6D") | |
1095 | LS.Parent = BEAST.Character.Torso | |
1096 | LS.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1097 | LS.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1098 | LS.MaxVelocity = 0.10000000149012 | |
1099 | LS.Part0 = BEAST.Character.Torso | |
1100 | LS.Part1 = BEAST.Character["Left Arm"] | |
1101 | ||
1102 | RS.Name = "Right Shoulder" | |
1103 | RS.Parent = BEAST.Character.Torso | |
1104 | RS.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1105 | RS.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1106 | RS.MaxVelocity = 0.10000000149012 | |
1107 | RS.Part0 = BEAST.Character.Torso | |
1108 | RS.Part1 = BEAST.Character["Right Arm"] | |
1109 | wait(.5) | |
1110 | Grabbed = false | |
1111 | end | |
1112 | end) | |
1113 | ||
1114 | Mouse.KeyDown:connect(function(key) | |
1115 | if (key == "f") and Grabbed == true and Killing == false then | |
1116 | Killing = true | |
1117 | o6.C1 = CFrame.new(4.529953e-06, 0.700579643, 0.505683899, 1.00000536, 7.90506601e-06, 4.5709312e-06, 2.35470694e-07, 0.460277289, -0.88778156, -9.26107168e-06, 0.887776494, 0.460277677) | |
1118 | o7.Value = CFrame.new(4.529953e-06, 0.700579643, 0.505683899, 1.00000536, 7.90506601e-06, 4.5709312e-06, 2.35470694e-07, 0.460277289, -0.88778156, -9.26107168e-06, 0.887776494, 0.460277677) | |
1119 | WELD_TO_PLAYER.C1 = CFrame.Angles(0,0,math.rad(-5)) | |
1120 | WELD_TO_PLAYER.C0 = CFrame.new(1.35,.4,-.8) | |
1121 | wait(1) | |
1122 | o6.C1 = CFrame.new(-6.19888306e-06, 0.633776188, 0.255449295, 1, -1.33216381e-05, 1.1920929e-06, 1.07695132e-05, 0.753788352, -0.657117188, 7.7188015e-06, 0.657117307, 0.753788352) | |
1123 | o7.Value = CFrame.new(-6.19888306e-06, 0.633776188, 0.255449295, 1, -1.33216381e-05, 1.1920929e-06, 1.07695132e-05, 0.753788352, -0.657117188, 7.7188015e-06, 0.657117307, 0.753788352) | |
1124 | ||
1125 | pcall(function() | |
1126 | for i, v in pairs(TRGT.Value:children()) do | |
1127 | if v:IsA("BodyColors")then | |
1128 | v:Destroy() | |
1129 | end | |
1130 | end | |
1131 | end) | |
1132 | ||
1133 | SSSND = Instance.new("Sound") | |
1134 | SSSND.Parent = TRGT.Value | |
1135 | SSSND.Name = "gh" | |
1136 | SSSND.SoundId = "rbxassetid://144884872" | |
1137 | SSSND:Play() | |
1138 | pcall(function() | |
1139 | for i, v in pairs(TRGT.Value.Head:children()) do | |
1140 | if v:IsA("Decal")then | |
1141 | v.Texture = "http://www.roblox.com/asset/?id=886062561" | |
1142 | end | |
1143 | end | |
1144 | end) | |
1145 | wait(1) | |
1146 | TRGT.Value.Head.BrickColor = BrickColor.new("Maroon") | |
1147 | SND = Instance.new("Sound") | |
1148 | SND.Parent = TRGT.Value | |
1149 | SND.Name = "AH" | |
1150 | SND.SoundId = "rbxassetid://138167455" | |
1151 | SND:Play() | |
1152 | ||
1153 | bloodco = 0 | |
1154 | function bleed(frick) | |
1155 | while frick.Parent ~= nil do | |
1156 | local reeee = coroutine.wrap(function() | |
1157 | local thing = Instance.new('Part',game.Workspace) | |
1158 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
1159 | thing.CFrame = frick.CFrame | |
1160 | thing.Shape = Enum.PartType.Ball | |
1161 | thing.CFrame = frick.CFrame | |
1162 | thing.Transparency = 1 | |
1163 | thing.BrickColor = BrickColor.new('Maroon') | |
1164 | thing.Material = Enum.Material.SmoothPlastic | |
1165 | thing.Name = "Blood" | |
1166 | thing.CanCollide =false | |
1167 | local rawrxd = Instance.new('BodyForce',thing) | |
1168 | rawrxd.Force = TRGT.Value.Head.CFrame.lookVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
1169 | local coru = coroutine.wrap(function() | |
1170 | wait(0.01) | |
1171 | rawrxd:Destroy() | |
1172 | end) | |
1173 | coru() | |
1174 | local ree = Instance.new('ParticleEmitter',thing) | |
1175 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) | |
1176 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
1177 | ree.Texture = 'rbxassetid://867743272' | |
1178 | ree.Lifetime = NumberRange.new(0.4) | |
1179 | ree.Rate = 50 | |
1180 | ree.LockedToPart = true | |
1181 | ree.Speed = NumberRange.new(0, 2) | |
1182 | ||
1183 | thing.Touched:connect(function(tou) | |
1184 | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= BEAST.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then | |
1185 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
1186 | thing:Destroy() | |
1187 | if tou.Name == "BloodPuddle" then | |
1188 | local reee = tou.CFrame | |
1189 | if tou.Transparency > -0.2 then | |
1190 | tou.Transparency = tou.Transparency -0.2 | |
1191 | end | |
1192 | if tou.Size.X < 15 then | |
1193 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
1194 | tou.CFrame = reee | |
1195 | end | |
1196 | else | |
1197 | local bloodlol = Instance.new('Part',workspace) | |
1198 | bloodlol.Size=Vector3.new(1,0.2,1) | |
1199 | bloodlol.Name = "BloodPuddle" | |
1200 | bloodlol.Anchored = true | |
1201 | bloodlol.CanCollide = false | |
1202 | bloodlol.Material = Enum.Material.SmoothPlastic | |
1203 | bloodlol.BrickColor = BrickColor.new('Maroon') | |
1204 | bloodlol.Transparency = -0.2 | |
1205 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
1206 | cyl.Scale = Vector3.new(1,0.1,1) | |
1207 | bloodlol.CFrame = CFrame.new(pos) | |
1208 | end | |
1209 | end | |
1210 | end) | |
1211 | end) | |
1212 | reeee() | |
1213 | wait() | |
1214 | end | |
1215 | end | |
1216 | ||
1217 | local bleedzer = Instance.new('Part',TRGT.Value.Head) | |
1218 | bleedzer.CFrame = TRGT.Value.Head.CFrame | |
1219 | bleedzer.Size = Vector3.new(0.1,0.1,0.1) | |
1220 | bleedzer.Transparency = -0.2 | |
1221 | bleedzer.CanCollide = false | |
1222 | local weld = Instance.new('Weld',bleedzer) | |
1223 | weld.Part0 = bleedzer | |
1224 | weld.Part1 = TRGT.Value.Head | |
1225 | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) | |
1226 | local woodpekker = coroutine.wrap(function() | |
1227 | bleed(bleedzer) | |
1228 | end) | |
1229 | woodpekker() | |
1230 | wait(4.3) | |
1231 | TRGT.Value:BreakJoints() | |
1232 | pcall(function() | |
1233 | for i, v in pairs(BEAST.Character["Right Arm"]:children()) do | |
1234 | if v:IsA("Weld") or v:IsA("CFrameValue")then | |
1235 | v:Destroy() | |
1236 | end | |
1237 | end | |
1238 | end) | |
1239 | ||
1240 | pcall(function() | |
1241 | for i, v in pairs(BEAST.Character["Left Arm"]:children()) do | |
1242 | if v:IsA("Weld") or v:IsA("CFrameValue")then | |
1243 | v:Destroy() | |
1244 | end | |
1245 | end | |
1246 | end) | |
1247 | ||
1248 | local LS = Instance.new("Motor6D") | |
1249 | local RS = Instance.new("Motor6D") | |
1250 | LS.Parent = BEAST.Character.Torso | |
1251 | LS.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1252 | LS.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1253 | LS.MaxVelocity = 0.10000000149012 | |
1254 | LS.Part0 = BEAST.Character.Torso | |
1255 | LS.Part1 = BEAST.Character["Left Arm"] | |
1256 | ||
1257 | RS.Name = "Right Shoulder" | |
1258 | RS.Parent = BEAST.Character.Torso | |
1259 | RS.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1260 | RS.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
1261 | RS.MaxVelocity = 0.10000000149012 | |
1262 | RS.Part0 = BEAST.Character.Torso | |
1263 | RS.Part1 = BEAST.Character["Right Arm"] | |
1264 | wait(.5) | |
1265 | o6.C1 = CFrame.new(0, 0.363479137, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1266 | o7.Value = CFrame.new(0, 0.363479137, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1267 | Killing = false | |
1268 | Grabbed = false | |
1269 | end | |
1270 | end) | |
1271 | ||
1272 | ||
1273 | ||
1274 | Mouse.KeyDown:connect(function(key) | |
1275 | if string.byte(key) == 50 and RAN == false then | |
1276 | RAN = true | |
1277 | BEAST.Character["I am the killer, MUAHAHA"].JumpPower = 125 | |
1278 | BEAST.Character["I am the killer, MUAHAHA"].WalkSpeed = 50 | |
1279 | end | |
1280 | end) | |
1281 | ||
1282 | Mouse.KeyUp:connect(function(key) | |
1283 | if string.byte(key) == 50 and RAN == true then | |
1284 | RAN = false | |
1285 | BEAST.Character["I am the killer, MUAHAHA"].JumpPower = 50 | |
1286 | BEAST.Character["I am the killer, MUAHAHA"].WalkSpeed = 16 | |
1287 | end | |
1288 | end) | |
1289 | local naeeym = Instance.new("BillboardGui",chara) | |
1290 | naeeym.Size = UDim2.new(0,100,0,40) | |
1291 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
1292 | naeeym.Adornee = chara.Head | |
1293 | local tecks = Instance.new("TextLabel",naeeym) | |
1294 | tecks.BackgroundTransparency = 1 | |
1295 | tecks.BorderSizePixel = 0 | |
1296 | tecks.Text = "The Beast" | |
1297 | tecks.Font = "Antique" | |
1298 | tecks.FontSize = "Size36" | |
1299 | tecks.TextStrokeTransparency = 0.5 | |
1300 | tecks.TextColor3 = Color3.new(0,0,0) | |
1301 | rrer = BrickColor.new("308") | |
1302 | tecks.TextStrokeColor3 = rrer.Color | |
1303 | tecks.Size = UDim2.new(1,0,0.5,0) | |
1304 | while true do | |
1305 | wait(.01) | |
1306 | chance = math.random(0,100) | |
1307 | if chance < 10 then | |
1308 | sel = math.random(1,3) | |
1309 | if sel == 1 then | |
1310 | tecks.Text = "B33ST" | |
1311 | elseif sel == 2 then | |
1312 | tecks.Text = ":)" | |
1313 | elseif sel == 3 then | |
1314 | tecks.Text = "Who is next..? :)" | |
1315 | end | |
1316 | else tecks.Text = "The Beast" | |
1317 | if chara.Humanoid.Health > 0 then | |
1318 | chara.Humanoid.MaxHealth = math.huge | |
1319 | chara.Humanoid.Health = math.huge | |
1320 | end | |
1321 | tecks.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
1322 | end | |
1323 | end |